vben
2020-11-15 abb0cfae0616c8ed85a75eaf61d490275b984ed0
CHANGELOG.en_US.md
@@ -1,3 +1,261 @@
## 2.0.0-rc.10 (2020-11-13)
### ✨ Refactor
- Refactor hook, introduce `@vueuse`, delete existing `hook`, optimize existing hook
- ʻUseEvent` renamed ->ʻuseEventListener`
- Delete the four types `SelectOptGroup`, `SelectOption`, `Transfer`, and `Radio` from the form `ComponentType`. Modify the `RadioButtonGroup` component
### ✨ Features
- `componentsProps` support function type of form item
- Added tag display to the menu, supporting 4 types of colors and dot display
- New menu and top bar color selection color matching
- Add sample result page
- New file download example
### ⚡ Wip
- Upload components (not completed, testing...)
### ⚡ Performance Improvements
- Optimize settingDrawer code
- Optimize the switching speed of multiple tabs
- Add form customization and dynamic capabilities
### 🐛 Bug Fixes
- Fixed multiple rich text editors showing only one
- Fixed the problem of not redirecting to the original page after logging in again after expiration
- Fix window system dynamic introduction error
- Fix page type error
- Fixed an error when the form switch and checkBox were used separately
## 2.0.0-rc.9 (2020-11-9)
### ✨ Features
- Menu trigger can select location
- Add an example of rich text embedded form
- Added `required` attribute to form component schema. Simplified configuration
- The second parameter of openModal and openDrawer can be passed internally instead of `transferModalData`
- Routes with parameters can be cached
### ✨ Refactor
- Refactored the logic of the menu generated by the background
- Route Module structural transformation
### ⚡ Performance Improvements
- Menu performance continues to be optimized and smoother
- Optimize lazy loading components and examples
- layout style fine-tuning
### 🎫 Chores
- Delete menu background image
- Update the version of ʻant-design-vue`to`beta15`
- Update `vite` version to `rc.9`
- Exception page adjustment
- `BasicTitle` Color blocks are not displayed by default
### 🐛 Bug Fixes
- Fix table type problem after upgrade
- Fix the problem that the last submenu continues to be displayed when the menu is divided and there is no data in the left menu
- Fix the issue of ʻuseMessage` type
- Fix the problem that the form item setting `disabled` does not take effect
- Fix that ʻuseECharts`can't adapt when`resize`, and an error is reported
- Fix that `resize` is not deleted after ʻuseWatermark` is cleared
- Fix form verification problem
- Fixed the problem that the multi-level header configuration does not take effect
## 2.0.0-rc.8 (2020-11-2)
### ✨ Features
- Global loading add text
- Right-click menu supports multiple levels
### 🎫 Chores
- Login cache changed from sessionStorage to LocalStorage
### ⚡ Performance Improvements
- Update ʻant-design-vue`to`beta.12`
- Layout interface layout style adjustment
- Optimize lazy loading components
- Optimize table rendering performance
- Add animation to form folding search icon
- routeModule can ignore the layout configuration. Convenient to configure the first-level menu
### 🐛 Bug Fixes
- Fix table type error
- Fix bug in mock paging tool
- Fix the folding problem of the search form when the table is opened
- Fix the problem of fixed column style when the table size is samll
- Fixed the error report when closing multiple tabs
- Fix message type error
## 2.0.0-rc.7 (2020-10-31)
### ✨ Features
- The form component now supports directly passing in the model to directly perform the set operation, please refer to **Component -> Popup Extension -> Open Popup and Pass Data**
- The useModalInner of modal now supports the incoming callback function to receive the value passed in from the external `transferModalData`
  - Used to handle the setting values ​​of components such as forms when the pop-up window is opened. Refer to **Component -> Popup Extension -> Open Popup and Pass Data**
  - The value of `receiveModalDataRef` is temporarily reserved. Use as little as possible. It may be deleted later.
- The drawer’s useDrawerInner now supports the incoming callback function to receive the value passed in from the external `transferModalData`,,
  - Used to handle the setting values ​​of components such as forms for opening the drawer Refer to **Component->Drawer Extension->Open the drawer and transfer data**
  - The value of `receiveModalDataRef` is temporarily reserved. Use as little as possible. It may be deleted later.
### ✨ Refactor
- Form code optimization and reconstruction
### ⚡ Performance Improvements
- Modal slot can be overwritten
- Optimize table embedding height calculation problem
### 🎫 Chores
- Add some notes
- pwa icon supplement
- Type adjustment
- Upgrade ʻant-design-vue`to`beta.11`, and modify the known issues brought about, and some issues will be resolved after discovery
### 🐛 Bug Fixes
- Fix the timeout error of local proxy post interface to https address
- Fix modal full screen height calculation problem when footer is not displayed
- Fix the error that the verification information is not deleted when the form is reset
- Fix the style problem of the split mode of the top menu
- Fix the invalidation of table expansion icon animation
## 2.0.0-rc.6 (2020-10-28)
### ✨ Features
- Added `pwa` function, which can be turned on in `.env.production`
- Button component extends `preIcon` and `postIcon` attributes to add icons before and after the text
- Restore the breadcrumb display icon function
### 🎫 Chores
- Upgrade vite version to `v1.0.0.rc8`
- vite.config.ts internal plugins extraction
- Build directory structure adjustment
- Dependency update
- Documentation update
- Modify the default route switching animation
### ⚡ Performance Improvements
- `setTitle` logic adjustment
- The sessionStorage and LocalStorage cache settings used by the system expire in `7` days by default
### ✨ Refactor
- Separate `vite-plugin-html` and modify the logic of inserting html
### 🐛 Bug Fixes
- Fix the warning problem of multiple registration components during hot update
- Fix the login tab page appears after login
- Fix the problem of routing switch parameter disappearance
- Fix the useMessage icon style problem
## # 2.0.0-rc.5 (2020-10-26)
### ✨ Features
- Update component documentation
- Breadcrumbs support display icon
- Added tinymce rich text component
- Add submitOnReset to the form to control whether to re-initiate the request when reset
- Added `sortFn` to the table to support custom sorting
- Added animation components and examples
- Added lazy loading/delay loading components and examples
### ✨ Refactor
- The detailType of the Drawer component is changed to isDetail
### 🎫 Chores
- Remove the optional chain syntax in the code
- Form reset logic modification
- Turn off multi-tab page tabs animation
- Upgrade vite version to `v1.0.0.rc6`
- Delete Chinese path warning. rc6 has been fixed
### 🐛 Bug Fixes
- Fix the automatic height and display footer display problems of drawer components
- Reset to default value after repairing form query
- Fix the problem of displaying the collapsed menu when there are no child nodes
- Fix the problem of breadcrumb display style
- Fixed the problem of multiple open drag and drop failure when destroyOnClose=true in modal
- Fixed multiple action columns in the table
# 2.0.0-rc.4 (2020-10-21)
### ✨ Features
- New configuration toolbar for tables
- New message notification module
### 🎫 Chores
- The table does not show borders by default
- Dependency update
- Update vue to `v3.0.2`
- Interface style fine-tuning
### ⚡ Performance Improvements
- Optimize the size of the first screen
- Optimize the TableAction component
- Reduce the folding width of the menu
### 🐛 Bug Fixes
- Fix the problem of the menu name when the first level menu is folded
- Fix the problem that the preview command is not packaged
- Fix the problem that the form actionColOptions parameter does not take effect
- Fix the problem that the loading does not take effect when refreshing the form
# 2.0.0-rc.3 (2020-10-19)
### ✨ Features
- Added excel component and excel/xml/csv/html export example
- Added excel import example
- Added global error handling
- Added markdown components and examples
- The menu name can be displayed when adding a new folding menu
### Docs
- add project doc
### 🎫 Chores
- update deps
### 🐛 Bug Fixes
- Fix the adaptive problem of the top menu
- Fix window system packaging error
# 2.0.0-rc.2 (2020-10-17)
### ✨ Features