Commit d7dc0934d94552aa4ba9d5889913032a95a6e715

Authored by vben
1 parent c9600208

chore(deps): update deps

CHANGELOG.en_US.md
  1 +## Wip
  2 +
  3 +### ✨ Refactor
  4 +
  5 +- Independent component configuration to `/@/settings/componentsSetting`
  6 +- `colorSetting` and `designSetting` are now merged into `designSetting`
  7 +- `ant-design-vue` component registration moved to `components/registerComponent`
  8 +- Remove the `setup` folder
  9 +- Upgrade to `vite2`
  10 +- Image preview is changed to `Image` component implementation, temporarily removing functional usage
  11 +
  12 +### ✨ Features
  13 +
  14 +- Added `mixSideTrigger` configuration. Used to configure how to open the mixed mode menu on the left. Optional `hover`, default `click`
  15 +- Added `mixSideFixed` configuration. Used to fix the left mixed mode menu
  16 +- Added `height` and `min-height` properties to the modal component
  17 +- Added `PageWrapper` component. And applied to the sample page
  18 +- Added tab folding function
  19 +- Compatible with older browsers
  20 +- tinymce new image upload
  21 +
  22 +### 🐛 Bug Fixes
  23 +
  24 +- Fix known issues with table column configuration
  25 +- Restore the `isTreeTable` property of the table
  26 +- Fix table memory overflow problem
  27 +- Fix the function of `layout` shrinking and expanding in split mode
  28 +- Fix modal height calculation error
  29 +- Fix file upload error
  30 +
1 31 ## 2.0.0-rc.15 (2020-12-31)
2 32  
3 33 ### ✨ Table destructive update
... ...
build/vite/plugin/html.ts
... ... @@ -8,6 +8,7 @@ import { GLOB_CONFIG_FILE_NAME } from '../../constant';
8 8  
9 9 export function configHtmlPlugin(env: ViteEnv, isBuild: boolean) {
10 10 const { VITE_GLOB_APP_TITLE, VITE_PUBLIC_PATH } = env;
  11 + const path = VITE_PUBLIC_PATH.endsWith('/') ? VITE_PUBLIC_PATH : `${VITE_PUBLIC_PATH}/`;
11 12 const htmlPlugin: Plugin[] = html({
12 13 minify: isBuild,
13 14 inject: {
... ... @@ -19,7 +20,7 @@ export function configHtmlPlugin(env: ViteEnv, isBuild: boolean) {
19 20 {
20 21 tag: 'script',
21 22 attrs: {
22   - src: `${VITE_PUBLIC_PATH || './'}${GLOB_CONFIG_FILE_NAME}?v=${
  23 + src: `${path || '/'}${GLOB_CONFIG_FILE_NAME}?v=${
23 24 pkg.version
24 25 }-${new Date().getTime()}`,
25 26 },
... ...
package.json
... ... @@ -60,9 +60,9 @@
60 60 "@types/sortablejs": "^1.10.6",
61 61 "@types/yargs": "^15.0.12",
62 62 "@types/zxcvbn": "^4.4.0",
63   - "@typescript-eslint/eslint-plugin": "^4.12.0",
64   - "@typescript-eslint/parser": "^4.12.0",
65   - "@vitejs/plugin-legacy": "^1.1.1",
  63 + "@typescript-eslint/eslint-plugin": "^4.13.0",
  64 + "@typescript-eslint/parser": "^4.13.0",
  65 + "@vitejs/plugin-legacy": "^1.2.0",
66 66 "@vitejs/plugin-vue": "^1.0.5",
67 67 "@vitejs/plugin-vue-jsx": "^1.0.1",
68 68 "@vue/compiler-sfc": "^3.0.5",
... ... @@ -96,7 +96,7 @@
96 96 "stylelint-order": "^4.1.0",
97 97 "ts-node": "^9.1.0",
98 98 "typescript": "^4.1.3",
99   - "vite": "^2.0.0-beta.21",
  99 + "vite": "^2.0.0-beta.22",
100 100 "vite-plugin-html": "^2.0.0-beta.5",
101 101 "vite-plugin-mock": "^2.0.0-beta.3",
102 102 "vite-plugin-purge-icons": "^0.5.0",
... ...
yarn.lock
... ... @@ -1678,61 +1678,62 @@
1678 1678 resolved "https://registry.npmjs.org/@types/zxcvbn/-/zxcvbn-4.4.0.tgz#fbc1d941cc6d9d37d18405c513ba6b294f89b609"
1679 1679 integrity sha512-GQLOT+SN20a+AI51y3fAimhyTF4Y0RG+YP3gf91OibIZ7CJmPFgoZi+ZR5a+vRbS01LbQosITWum4ATmJ1Z6Pg==
1680 1680  
1681   -"@typescript-eslint/eslint-plugin@^4.12.0":
1682   - version "4.12.0"
1683   - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.12.0.tgz#00d1b23b40b58031e6d7c04a5bc6c1a30a2e834a"
1684   - integrity sha512-wHKj6q8s70sO5i39H2g1gtpCXCvjVszzj6FFygneNFyIAxRvNSVz9GML7XpqrB9t7hNutXw+MHnLN/Ih6uyB8Q==
  1681 +"@typescript-eslint/eslint-plugin@^4.13.0":
  1682 + version "4.13.0"
  1683 + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.13.0.tgz#5f580ea520fa46442deb82c038460c3dd3524bb6"
  1684 + integrity sha512-ygqDUm+BUPvrr0jrXqoteMqmIaZ/bixYOc3A4BRwzEPTZPi6E+n44rzNZWaB0YvtukgP+aoj0i/fyx7FkM2p1w==
1685 1685 dependencies:
1686   - "@typescript-eslint/experimental-utils" "4.12.0"
1687   - "@typescript-eslint/scope-manager" "4.12.0"
  1686 + "@typescript-eslint/experimental-utils" "4.13.0"
  1687 + "@typescript-eslint/scope-manager" "4.13.0"
1688 1688 debug "^4.1.1"
1689 1689 functional-red-black-tree "^1.0.1"
  1690 + lodash "^4.17.15"
1690 1691 regexpp "^3.0.0"
1691 1692 semver "^7.3.2"
1692 1693 tsutils "^3.17.1"
1693 1694  
1694   -"@typescript-eslint/experimental-utils@4.12.0":
1695   - version "4.12.0"
1696   - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.12.0.tgz#372838e76db76c9a56959217b768a19f7129546b"
1697   - integrity sha512-MpXZXUAvHt99c9ScXijx7i061o5HEjXltO+sbYfZAAHxv3XankQkPaNi5myy0Yh0Tyea3Hdq1pi7Vsh0GJb0fA==
  1695 +"@typescript-eslint/experimental-utils@4.13.0":
  1696 + version "4.13.0"
  1697 + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.13.0.tgz#9dc9ab375d65603b43d938a0786190a0c72be44e"
  1698 + integrity sha512-/ZsuWmqagOzNkx30VWYV3MNB/Re/CGv/7EzlqZo5RegBN8tMuPaBgNK6vPBCQA8tcYrbsrTdbx3ixMRRKEEGVw==
1698 1699 dependencies:
1699 1700 "@types/json-schema" "^7.0.3"
1700   - "@typescript-eslint/scope-manager" "4.12.0"
1701   - "@typescript-eslint/types" "4.12.0"
1702   - "@typescript-eslint/typescript-estree" "4.12.0"
  1701 + "@typescript-eslint/scope-manager" "4.13.0"
  1702 + "@typescript-eslint/types" "4.13.0"
  1703 + "@typescript-eslint/typescript-estree" "4.13.0"
1703 1704 eslint-scope "^5.0.0"
1704 1705 eslint-utils "^2.0.0"
1705 1706  
1706   -"@typescript-eslint/parser@^4.12.0":
1707   - version "4.12.0"
1708   - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.12.0.tgz#e1cf30436e4f916c31fcc962158917bd9e9d460a"
1709   - integrity sha512-9XxVADAo9vlfjfoxnjboBTxYOiNY93/QuvcPgsiKvHxW6tOZx1W4TvkIQ2jB3k5M0pbFP5FlXihLK49TjZXhuQ==
  1707 +"@typescript-eslint/parser@^4.13.0":
  1708 + version "4.13.0"
  1709 + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.13.0.tgz#c413d640ea66120cfcc37f891e8cb3fd1c9d247d"
  1710 + integrity sha512-KO0J5SRF08pMXzq9+abyHnaGQgUJZ3Z3ax+pmqz9vl81JxmTTOUfQmq7/4awVfq09b6C4owNlOgOwp61pYRBSg==
1710 1711 dependencies:
1711   - "@typescript-eslint/scope-manager" "4.12.0"
1712   - "@typescript-eslint/types" "4.12.0"
1713   - "@typescript-eslint/typescript-estree" "4.12.0"
  1712 + "@typescript-eslint/scope-manager" "4.13.0"
  1713 + "@typescript-eslint/types" "4.13.0"
  1714 + "@typescript-eslint/typescript-estree" "4.13.0"
1714 1715 debug "^4.1.1"
1715 1716  
1716   -"@typescript-eslint/scope-manager@4.12.0":
1717   - version "4.12.0"
1718   - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.12.0.tgz#beeb8beca895a07b10c593185a5612f1085ef279"
1719   - integrity sha512-QVf9oCSVLte/8jvOsxmgBdOaoe2J0wtEmBr13Yz0rkBNkl5D8bfnf6G4Vhox9qqMIoG7QQoVwd2eG9DM/ge4Qg==
  1717 +"@typescript-eslint/scope-manager@4.13.0":
  1718 + version "4.13.0"
  1719 + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.13.0.tgz#5b45912a9aa26b29603d8fa28f5e09088b947141"
  1720 + integrity sha512-UpK7YLG2JlTp/9G4CHe7GxOwd93RBf3aHO5L+pfjIrhtBvZjHKbMhBXTIQNkbz7HZ9XOe++yKrXutYm5KmjWgQ==
1720 1721 dependencies:
1721   - "@typescript-eslint/types" "4.12.0"
1722   - "@typescript-eslint/visitor-keys" "4.12.0"
  1722 + "@typescript-eslint/types" "4.13.0"
  1723 + "@typescript-eslint/visitor-keys" "4.13.0"
1723 1724  
1724   -"@typescript-eslint/types@4.12.0":
1725   - version "4.12.0"
1726   - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.12.0.tgz#fb891fe7ccc9ea8b2bbd2780e36da45d0dc055e5"
1727   - integrity sha512-N2RhGeheVLGtyy+CxRmxdsniB7sMSCfsnbh8K/+RUIXYYq3Ub5+sukRCjVE80QerrUBvuEvs4fDhz5AW/pcL6g==
  1725 +"@typescript-eslint/types@4.13.0":
  1726 + version "4.13.0"
  1727 + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.13.0.tgz#6a7c6015a59a08fbd70daa8c83dfff86250502f8"
  1728 + integrity sha512-/+aPaq163oX+ObOG00M0t9tKkOgdv9lq0IQv/y4SqGkAXmhFmCfgsELV7kOCTb2vVU5VOmVwXBXJTDr353C1rQ==
1728 1729  
1729   -"@typescript-eslint/typescript-estree@4.12.0":
1730   - version "4.12.0"
1731   - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.12.0.tgz#3963418c850f564bdab3882ae23795d115d6d32e"
1732   - integrity sha512-gZkFcmmp/CnzqD2RKMich2/FjBTsYopjiwJCroxqHZIY11IIoN0l5lKqcgoAPKHt33H2mAkSfvzj8i44Jm7F4w==
  1730 +"@typescript-eslint/typescript-estree@4.13.0":
  1731 + version "4.13.0"
  1732 + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.13.0.tgz#cf6e2207c7d760f5dfd8d18051428fadfc37b45e"
  1733 + integrity sha512-9A0/DFZZLlGXn5XA349dWQFwPZxcyYyCFX5X88nWs2uachRDwGeyPz46oTsm9ZJE66EALvEns1lvBwa4d9QxMg==
1733 1734 dependencies:
1734   - "@typescript-eslint/types" "4.12.0"
1735   - "@typescript-eslint/visitor-keys" "4.12.0"
  1735 + "@typescript-eslint/types" "4.13.0"
  1736 + "@typescript-eslint/visitor-keys" "4.13.0"
1736 1737 debug "^4.1.1"
1737 1738 globby "^11.0.1"
1738 1739 is-glob "^4.0.1"
... ... @@ -1740,18 +1741,18 @@
1740 1741 semver "^7.3.2"
1741 1742 tsutils "^3.17.1"
1742 1743  
1743   -"@typescript-eslint/visitor-keys@4.12.0":
1744   - version "4.12.0"
1745   - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.12.0.tgz#a470a79be6958075fa91c725371a83baf428a67a"
1746   - integrity sha512-hVpsLARbDh4B9TKYz5cLbcdMIOAoBYgFPCSP9FFS/liSF+b33gVNq8JHY3QGhHNVz85hObvL7BEYLlgx553WCw==
  1744 +"@typescript-eslint/visitor-keys@4.13.0":
  1745 + version "4.13.0"
  1746 + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.13.0.tgz#9acb1772d3b3183182b6540d3734143dce9476fe"
  1747 + integrity sha512-6RoxWK05PAibukE7jElqAtNMq+RWZyqJ6Q/GdIxaiUj2Ept8jh8+FUVlbq9WxMYxkmEOPvCE5cRSyupMpwW31g==
1747 1748 dependencies:
1748   - "@typescript-eslint/types" "4.12.0"
  1749 + "@typescript-eslint/types" "4.13.0"
1749 1750 eslint-visitor-keys "^2.0.0"
1750 1751  
1751   -"@vitejs/plugin-legacy@^1.1.1":
1752   - version "1.1.1"
1753   - resolved "https://registry.npmjs.org/@vitejs/plugin-legacy/-/plugin-legacy-1.1.1.tgz#bb53847308d9c7b175d522a35e112f0351601742"
1754   - integrity sha512-C9WQXawRJhsm8ZiV9HGHMrP4fSMJLvjcjHyP/ruRkXHIqO4Sth7XfGinPLM8Ypeam+Tl+eXlDsAXQS2hF+L7iA==
  1752 +"@vitejs/plugin-legacy@^1.2.0":
  1753 + version "1.2.0"
  1754 + resolved "https://registry.npmjs.org/@vitejs/plugin-legacy/-/plugin-legacy-1.2.0.tgz#e6a2f7802f1a81c712f72656300fcdf7541eeab0"
  1755 + integrity sha512-eoJi1M7Or16bkRjXFtdG39c8ElvbgxUxlXFo8GO2VmgOGO42r6Ku5MJD4ZkweIM7XGunyFvmEwTYgpUVC4PiPg==
1755 1756 dependencies:
1756 1757 "@babel/standalone" "^7.12.12"
1757 1758 core-js "^3.8.2"
... ... @@ -7834,10 +7835,10 @@ vite-plugin-pwa@^0.3.5:
7834 7835 pretty-bytes "^5.5.0"
7835 7836 workbox-build "^6.0.2"
7836 7837  
7837   -vite@^2.0.0-beta.21:
7838   - version "2.0.0-beta.21"
7839   - resolved "https://registry.npmjs.org/vite/-/vite-2.0.0-beta.21.tgz#9a7233c93ed59c5b5de28c3a74f1e94b815d746e"
7840   - integrity sha512-B6OhGHwh4DTkDBxZXtGhxmDkK75M3o0sKFz/cfZ2bdqxRze870sJgH66kPuYWjgSVDdPz0NTIKBaxrbcA8wwmw==
  7838 +vite@^2.0.0-beta.22:
  7839 + version "2.0.0-beta.22"
  7840 + resolved "https://registry.npmjs.org/vite/-/vite-2.0.0-beta.22.tgz#c33a4689fe1659bfdc87a36b9e8527baea0e3119"
  7841 + integrity sha512-Mj9qTSYx0625htRTClQV4OLQhjhujgHCV/FStGNu8G9NcHp3MP56gc6+UoRgQzrAsK8HI9MKfcW+NFgljoJKyA==
7841 7842 dependencies:
7842 7843 esbuild "^0.8.26"
7843 7844 postcss "^8.2.1"
... ...