From a006cf302d5b517e07b4fa1adb78ea2cde2f6dac Mon Sep 17 00:00:00 2001 From: arvinxx Date: Thu, 7 Apr 2022 00:31:43 +0800 Subject: [PATCH] =?UTF-8?q?:package:=20chore:=20=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 142 ++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 112 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index 893f3468..1d686f13 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,7 @@ "@umijs/preset-dumi": "^1.1.33", "@umijs/preset-react": "^1.8.30", "@umijs/test": "^3.2.10", + "ahooks": "^3.3.0", "antd": "^4.18.5", "babel-loader": "^8.1.0", "babel-plugin-add-module-exports": "^1.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0bb4399a..1ce3ea1e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,6 +29,7 @@ importers: '@umijs/preset-dumi': ^1.1.33 '@umijs/preset-react': ^1.8.30 '@umijs/test': ^3.2.10 + ahooks: ^3.3.0 antd: ^4.18.5 babel-loader: ^8.1.0 babel-plugin-add-module-exports: ^1.0.4 @@ -102,6 +103,7 @@ importers: '@umijs/preset-dumi': 1.1.38_0613baa00cf11f91e302af122699885c '@umijs/preset-react': 1.8.30_b627ac249ab388d59c11068f7c4dadb9 '@umijs/test': 3.5.21_canvas@2.6.1+ts-node@10.5.0 + ahooks: 3.3.0 antd: 4.18.8 babel-loader: 8.2.3_9351ded4f79a023849d74b5df047d562 babel-plugin-add-module-exports: 1.0.4 @@ -169,21 +171,27 @@ importers: packages/color-picker: specifiers: '@types/lodash': ^4.14.181 + '@types/reactcss': ^1.2.6 chroma-js: ^2.1.1 classnames: ^2.3.1 + copy-to-clipboard: ^3.3.1 lodash: ^4.17.21 reactcss: ^1.2.3 + rxjs: ^7.5.5 tinycolor2: ^1.4.2 zustand: ^3.7.1 dependencies: chroma-js: 2.4.2 classnames: 2.3.1 + copy-to-clipboard: 3.3.1 lodash: 4.17.21 reactcss: 1.2.3 + rxjs: 7.5.5 tinycolor2: 1.4.2 zustand: 3.7.1 devDependencies: '@types/lodash': 4.14.181 + '@types/reactcss': 1.2.6 packages/float-label-input: specifiers: @@ -6293,7 +6301,6 @@ packages: /@types/js-cookie/2.2.7: resolution: {integrity: sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==} - dev: false /@types/js-yaml/4.0.5: resolution: {integrity: sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==} @@ -6484,6 +6491,12 @@ packages: '@types/scheduler': 0.16.2 csstype: 3.0.10 + /@types/reactcss/1.2.6: + resolution: {integrity: sha512-qaIzpCuXNWomGR1Xq8SCFTtF4v8V27Y6f+b9+bzHiv087MylI/nTCqqdChNeWS7tslgROmYB7yeiruWX7WnqNg==} + dependencies: + '@types/react': 17.0.39 + dev: true + /@types/resize-observer-browser/0.1.7: resolution: {integrity: sha512-G9eN0Sn0ii9PWQ3Vl72jDPgeJwRWhv2Qk/nQkJuWmRmOB4HX3/BhD5SE1dZs/hzPZL/WKnvF0RHdTSG54QJFyg==} dev: false @@ -7632,6 +7645,10 @@ packages: indent-string: 4.0.0 dev: true + /ahooks-v3-count/1.0.0: + resolution: {integrity: sha512-V7uUvAwnimu6eh/PED4mCDjE7tokeZQLKlxg9lCTMPhN+NjsSbtdacByVlR1oluXQzD3MOw55wylDmQo4+S9ZQ==} + dev: true + /ahooks/2.10.14: resolution: {integrity: sha512-axWa7VoAgu7bxA56dDl0CXW4rvaQmDBiov/d3tAy0x1YNYywYMKokL8TdLgJ5zO/oXGiWmG7BxlGOQGkqE/zkQ==} engines: {node: '>=8.0.0'} @@ -7650,6 +7667,22 @@ packages: screenfull: 5.2.0 dev: false + /ahooks/3.3.0: + resolution: {integrity: sha512-X1TIXvRNgWrx9Cfxa3QDnHttnphT1otSCNjELs1Yf88cPHt6Fp96MWHx83Zhkb3wcRbWzeQHQTISDTKq4itIbw==} + engines: {node: '>=8.0.0'} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@types/js-cookie': 2.2.7 + ahooks-v3-count: 1.0.0 + dayjs: 1.10.7 + intersection-observer: 0.12.0 + js-cookie: 2.2.1 + lodash: 4.17.21 + resize-observer-polyfill: 1.5.1 + screenfull: 5.2.0 + dev: true + /ajv-errors/1.0.1_ajv@6.12.6: resolution: {integrity: sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==} peerDependencies: @@ -13270,6 +13303,10 @@ packages: engines: {node: '>= 0.10'} dev: true + /intersection-observer/0.12.0: + resolution: {integrity: sha512-2Vkz8z46Dv401zTWudDGwO7KiGHNDkMv417T5ItcNYfmvHR/1qCTVBO9vwH8zZmQ0WkA/1ARwpysR9bsnop4NQ==} + dev: true + /intersection-observer/0.7.0: resolution: {integrity: sha512-Id0Fij0HsB/vKWGeBe9PxeY45ttRiBmhFyyt/geBdDHBYNctMRTE3dC1U3ujzz3lap+hVXlEcVaB56kZP/eEUg==} dev: false @@ -14486,7 +14523,6 @@ packages: /js-cookie/2.2.1: resolution: {integrity: sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==} - dev: false /js-tokens/4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -18906,7 +18942,7 @@ packages: classnames: 2.3.1 dom-align: 1.12.2 lodash: 4.17.21 - rc-util: 5.18.1 + rc-util: 5.19.3 resize-observer-polyfill: 1.5.1 /rc-animate/2.11.1: @@ -18930,9 +18966,9 @@ packages: '@babel/runtime': 7.17.2 array-tree-filter: 2.1.0 classnames: 2.3.1 - rc-select: 14.0.0-alpha.27 + rc-select: 14.0.5 rc-tree: 5.4.3 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-checkbox/2.0.3: resolution: {integrity: sha512-sSDV5AcxK5CxBTyUNj9pb0zfhdgLLsWKHwJG18ikeGoIwklcxXvIF6cI/KGVbPLFDa8mPS5WLOlLRqbq/1/ouw==} @@ -18970,7 +19006,7 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-motion: 2.4.5 - rc-util: 5.18.1 + rc-util: 5.19.3 shallowequal: 1.1.0 /rc-dialog/8.6.0: @@ -18982,7 +19018,7 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-motion: 2.4.5 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-drawer/4.4.3: resolution: {integrity: sha512-FYztwRs3uXnFOIf1hLvFxIQP9MiZJA+0w+Os8dfDh/90X7z/HqP/Yg+noLCIeHEbKln1Tqelv8ymCAN24zPcfQ==} @@ -18992,7 +19028,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-dropdown/3.2.5: resolution: {integrity: sha512-dVO2eulOSbEf+F4OyhCY5iGiMVhUYY/qeXxL7Ex2jDBt/xc89jU07mNoowV6aWxwVOc70pxEINff0oM2ogjluA==} @@ -19052,7 +19088,7 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-dialog: 8.6.0 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-input-number/7.3.4: resolution: {integrity: sha512-W9uqSzuvJUnz8H8vsVY4kx+yK51SsAxNTwr8SNH4G3XqQNocLVmKIibKFRjocnYX1RDHMND9FFbgj2h7E7nvGA==} @@ -19062,7 +19098,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-mentions/1.6.2: resolution: {integrity: sha512-cntfJkNMq8B910rXuvnsnOV88DfmoUidnQnSIeXzWiYiUX4RL5oWUfSZzs+HAXYRU4SL1l8Mwjx95wHETiZ/fQ==} @@ -19072,10 +19108,10 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-menu: 9.2.1 + rc-menu: 9.3.2 rc-textarea: 0.3.7 rc-trigger: 5.2.10 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-menu/9.2.1: resolution: {integrity: sha512-UbEtn3rflJ8zS+etYGTVQuzy7Fm+yWXR5c0Rl6ecNTS/dPknRyWAyhJcbeR0Hu1+RdQT+0VCqrUPrgKnm4iY+w==} @@ -19091,6 +19127,20 @@ packages: rc-util: 5.18.1 shallowequal: 1.1.0 + /rc-menu/9.3.2: + resolution: {integrity: sha512-h3m45oY1INZyqphGELkdT0uiPnFzxkML8m0VMhJnk2fowtqfiT7F5tJLT3znEVaPIY80vMy1bClCkgq8U91CzQ==} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + dependencies: + '@babel/runtime': 7.17.2 + classnames: 2.3.1 + rc-motion: 2.4.5 + rc-overflow: 1.2.3 + rc-trigger: 5.2.10 + rc-util: 5.19.3 + shallowequal: 1.1.0 + /rc-motion/2.4.5: resolution: {integrity: sha512-f3uJHR4gcpeZS/s8/nYFSOrXt2Wu/h9GrEcbJmC0qmKrVNgwL1pTgrT5kW7lgG6PFeoL4yHDmpQoEKkrPtKIzQ==} peerDependencies: @@ -19099,7 +19149,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-notification/4.5.7: resolution: {integrity: sha512-zhTGUjBIItbx96SiRu3KVURcLOydLUHZCPpYEn1zvh+re//Tnq/wSxN4FKgp38n4HOgHSVxcLEeSxBMTeBBDdw==} @@ -19111,7 +19161,7 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-motion: 2.4.5 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-overflow/1.2.3: resolution: {integrity: sha512-Bz6dXTn/ww8nmu70tUQfRV0wT3BkfXY6j1lB1O38OVkDPz4xwfAcGK+LJ2zewUR5cTXkJ8hAN7YULohG8z4M7Q==} @@ -19122,7 +19172,7 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-resize-observer: 1.2.0 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-pagination/3.1.15: resolution: {integrity: sha512-4L3fot8g4E+PjWEgoVGX0noFCg+8ZFZmeLH4vsnZpB3O2T2zThtakjNxG+YvSaYtyMVT4B+GLayjKrKbXQpdAg==} @@ -19157,7 +19207,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-rate/2.9.1: resolution: {integrity: sha512-MmIU7FT8W4LYRRHJD1sgG366qKtSaKb67D0/vVvJYR0lrCuRrCiVQ5qhfT5ghVO4wuVIORGpZs7ZKaYu+KMUzA==} @@ -19168,7 +19218,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-resize-observer/1.2.0: resolution: {integrity: sha512-6W+UzT3PyDM0wVCEHfoW3qTHPTvbdSgiA43buiy8PzmeMnfgnDeb9NjdimMXMl3/TcrvvWl5RRVdp+NqcR47pQ==} @@ -19178,7 +19228,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 resize-observer-polyfill: 1.5.1 /rc-select/14.0.0-alpha.27: @@ -19196,6 +19246,21 @@ packages: rc-util: 5.18.1 rc-virtual-list: 3.4.2 + /rc-select/14.0.5: + resolution: {integrity: sha512-5X1bcktpE9++7Ef9Uq7f35kobGBNnddaDhkECjeICWIkCsl9xfYtujQiK1YEYXO5EIYoTVLV30PwN/E3mWAKOQ==} + engines: {node: '>=8.x'} + peerDependencies: + react: '*' + react-dom: '*' + dependencies: + '@babel/runtime': 7.17.2 + classnames: 2.3.1 + rc-motion: 2.4.5 + rc-overflow: 1.2.3 + rc-trigger: 5.2.10 + rc-util: 5.19.3 + rc-virtual-list: 3.4.2 + /rc-slider/8.2.0: resolution: {integrity: sha512-rnO36M3VhMoPWh1kRuCeJoluT4duAW7+5aLaAn9oLu2pKEKsuOFUh5DmA2kEo88UmvPV6nr7HHDeZuC8SNM/lA==} dependencies: @@ -19230,7 +19295,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-swipeout/2.0.11: resolution: {integrity: sha512-d37Lgn4RX4OOQyuA2BFo0rGlUwrmZk5q83srH3ixJ1Y1jidr2GKjgJDbNeGUVZPNfYBL91Elu6+xfVGftWf4Lg==} @@ -19249,7 +19314,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-table/7.23.0: resolution: {integrity: sha512-Q1gneB2+lUa8EzCCfbrq+jO1qNSwQv1RUUXKB84W/Stdp4EvGOt2+QqGyfotMNM4JUw0fgGLwY+WjnhUhnLuQQ==} @@ -19261,7 +19326,7 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-resize-observer: 1.2.0 - rc-util: 5.18.1 + rc-util: 5.19.3 shallowequal: 1.1.0 /rc-tabs/11.10.5: @@ -19274,9 +19339,9 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-dropdown: 3.3.2 - rc-menu: 9.2.1 + rc-menu: 9.3.2 rc-resize-observer: 1.2.0 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-textarea/0.3.7: resolution: {integrity: sha512-yCdZ6binKmAQB13hc/oehh0E/QRwoPP1pjF21aHBxlgXO3RzPF6dUu4LG2R4FZ1zx/fQd2L1faktulrXOM/2rw==} @@ -19287,7 +19352,7 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-resize-observer: 1.2.0 - rc-util: 5.18.1 + rc-util: 5.19.3 shallowequal: 1.1.0 /rc-tooltip/3.7.3: @@ -19315,9 +19380,9 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-select: 14.0.0-alpha.27 + rc-select: 14.0.5 rc-tree: 5.4.3 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-tree/5.4.3: resolution: {integrity: sha512-WAHV8FkBerulj9J/+61+Qn0TD/Zo37PrDG8/45WomzGTYavxFMur9YguKjQj/J+NxjVJzrJL3lvdSZsumfdbiA==} @@ -19329,7 +19394,7 @@ packages: '@babel/runtime': 7.17.2 classnames: 2.3.1 rc-motion: 2.4.5 - rc-util: 5.18.1 + rc-util: 5.19.3 rc-virtual-list: 3.4.2 /rc-trigger/2.6.5: @@ -19355,7 +19420,7 @@ packages: classnames: 2.3.1 rc-align: 4.0.11 rc-motion: 2.4.5 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-upload/4.3.3: resolution: {integrity: sha512-YoJ0phCRenMj1nzwalXzciKZ9/FAaCrFu84dS5pphwucTC8GUWClcDID/WWNGsLFcM97NqIboDqrV82rVRhW/w==} @@ -19365,7 +19430,7 @@ packages: dependencies: '@babel/runtime': 7.17.2 classnames: 2.3.1 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc-util/4.21.1: resolution: {integrity: sha512-Z+vlkSQVc1l8O2UjR3WQ+XdWlhj5q9BMQNLk2iOBch75CqPfrJyGtcWMcnhRlNuDu0Ndtt4kLVO8JI8BrABobg==} @@ -19386,6 +19451,16 @@ packages: react-is: 16.13.1 shallowequal: 1.1.0 + /rc-util/5.19.3: + resolution: {integrity: sha512-S28epi9E2s7Nir05q8Ffl3hzDLwkavTGi0PGH1cTqCmkpG1AeBEuZgQDpksYeU6IgHcds5hWIPE5PUcdFiZl8w==} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + dependencies: + '@babel/runtime': 7.17.2 + react-is: 16.13.1 + shallowequal: 1.1.0 + /rc-virtual-list/3.4.2: resolution: {integrity: sha512-OyVrrPvvFcHvV0ssz5EDZ+7Rf5qLat/+mmujjchNw5FfbJWNDwkpQ99EcVE6+FtNRmX9wFa1LGNpZLUTvp/4GQ==} engines: {node: '>=8.x'} @@ -19395,7 +19470,7 @@ packages: dependencies: classnames: 2.3.1 rc-resize-observer: 1.2.0 - rc-util: 5.18.1 + rc-util: 5.19.3 /rc/1.2.8: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} @@ -20733,6 +20808,12 @@ packages: tslib: 2.3.1 dev: true + /rxjs/7.5.5: + resolution: {integrity: sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==} + dependencies: + tslib: 2.3.1 + dev: false + /safe-buffer/5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} @@ -20836,7 +20917,6 @@ packages: /screenfull/5.2.0: resolution: {integrity: sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==} engines: {node: '>=0.10.0'} - dev: false /scroll-into-view-if-needed/2.2.29: resolution: {integrity: sha512-hxpAR6AN+Gh53AdAimHM6C8oTN1ppwVZITihix+WqalywBeFcQ6LdQP5ABNl26nX8GTEL7VT+b8lKpdqq65wXg==}