fast-element-plus 1.0.21 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/CONTRIBUTING.md +83 -0
- package/README.md +74 -115
- package/README.zh.md +74 -115
- package/SECURITY.md +34 -0
- package/dist/_virtual/_rolldown/runtime.mjs +13 -0
- package/dist/component.d.ts +4 -0
- package/dist/component.mjs +56 -0
- package/dist/component.mjs.map +1 -0
- package/dist/components/avatar/index.d.ts +15 -0
- package/dist/components/avatar/index.mjs +9 -0
- package/dist/components/avatar/index.mjs.map +1 -0
- package/dist/components/avatar/src/avatar.d.ts +128 -0
- package/dist/components/avatar/src/avatar.mjs +64 -0
- package/dist/components/avatar/src/avatar.mjs.map +1 -0
- package/dist/components/button/index.d.ts +14 -0
- package/dist/components/button/index.mjs +9 -0
- package/dist/components/button/index.mjs.map +1 -0
- package/dist/components/button/src/button.d.ts +180 -0
- package/dist/components/button/src/button.mjs +108 -0
- package/dist/components/button/src/button.mjs.map +1 -0
- package/dist/components/carNumber/index.d.ts +8 -0
- package/dist/components/carNumber/index.mjs +10 -0
- package/dist/components/carNumber/index.mjs.map +1 -0
- package/dist/components/carNumber/src/carNumber.d.ts +230 -0
- package/dist/components/carNumber/src/carNumber.mjs +149 -0
- package/dist/components/carNumber/src/carNumber.mjs.map +1 -0
- package/dist/components/carNumber/src/common.d.ts +15 -0
- package/dist/components/carNumber/src/common.mjs +97 -0
- package/dist/components/carNumber/src/common.mjs.map +1 -0
- package/dist/components/contextMenu/index.d.ts +8 -0
- package/dist/components/contextMenu/index.mjs +9 -0
- package/dist/components/contextMenu/index.mjs.map +1 -0
- package/dist/components/contextMenu/src/contextMenu.d.ts +32 -0
- package/dist/components/contextMenu/src/contextMenu.mjs +79 -0
- package/dist/components/contextMenu/src/contextMenu.mjs.map +1 -0
- package/dist/components/contextMenu/src/contextMenu.type.d.ts +31 -0
- package/dist/components/dialog/index.d.ts +14 -0
- package/dist/components/dialog/index.mjs +9 -0
- package/dist/components/dialog/index.mjs.map +1 -0
- package/dist/components/dialog/src/dialog.d.ts +472 -0
- package/dist/components/dialog/src/dialog.mjs +287 -0
- package/dist/components/dialog/src/dialog.mjs.map +1 -0
- package/dist/components/drawer/index.d.ts +15 -0
- package/dist/components/drawer/index.mjs +9 -0
- package/dist/components/drawer/index.mjs.map +1 -0
- package/dist/components/drawer/src/drawer.d.ts +470 -0
- package/dist/components/drawer/src/drawer.mjs +297 -0
- package/dist/components/drawer/src/drawer.mjs.map +1 -0
- package/dist/components/form/index.d.ts +23 -0
- package/dist/components/form/index.mjs +13 -0
- package/dist/components/form/index.mjs.map +1 -0
- package/dist/components/form/src/form.d.ts +208 -0
- package/dist/components/form/src/form.mjs +120 -0
- package/dist/components/form/src/form.mjs.map +1 -0
- package/dist/components/form/src/formItem.d.ts +208 -0
- package/dist/components/form/src/formItem.mjs +86 -0
- package/dist/components/form/src/formItem.mjs.map +1 -0
- package/dist/components/form/utils/form.d.ts +83 -0
- package/dist/components/form/utils/form.mjs +176 -0
- package/dist/components/form/utils/form.mjs.map +1 -0
- package/dist/components/formItemTip/index.d.ts +12 -0
- package/dist/components/formItemTip/index.mjs +9 -0
- package/dist/components/formItemTip/index.mjs.map +1 -0
- package/dist/components/formItemTip/src/formItemTip.d.ts +24 -0
- package/dist/components/formItemTip/src/formItemTip.mjs +30 -0
- package/dist/components/formItemTip/src/formItemTip.mjs.map +1 -0
- package/dist/components/icon/index.d.ts +12 -0
- package/dist/components/icon/index.mjs +9 -0
- package/dist/components/icon/index.mjs.map +1 -0
- package/dist/components/icon/src/icon.d.ts +40 -0
- package/dist/components/icon/src/icon.mjs +54 -0
- package/dist/components/icon/src/icon.mjs.map +1 -0
- package/dist/components/iconSelector/index.d.ts +7 -0
- package/dist/components/iconSelector/index.mjs +9 -0
- package/dist/components/iconSelector/index.mjs.map +1 -0
- package/dist/components/iconSelector/src/iconSelector.d.ts +35 -0
- package/dist/components/iconSelector/src/iconSelector.mjs +147 -0
- package/dist/components/iconSelector/src/iconSelector.mjs.map +1 -0
- package/dist/components/image/index.d.ts +12 -0
- package/dist/components/image/index.mjs +9 -0
- package/dist/components/image/index.mjs.map +1 -0
- package/dist/components/image/src/image.d.ts +277 -0
- package/dist/components/image/src/image.mjs +97 -0
- package/dist/components/image/src/image.mjs.map +1 -0
- package/dist/components/index.d.ts +22 -0
- package/dist/components/index.mjs +124 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/components/inputDialogPage/index.d.ts +14 -0
- package/dist/components/inputDialogPage/index.mjs +9 -0
- package/dist/components/inputDialogPage/index.mjs.map +1 -0
- package/dist/components/inputDialogPage/src/inputDialogPage.d.ts +134 -0
- package/dist/components/inputDialogPage/src/inputDialogPage.mjs +154 -0
- package/dist/components/inputDialogPage/src/inputDialogPage.mjs.map +1 -0
- package/dist/components/layoutGrid/index.d.ts +17 -0
- package/dist/components/layoutGrid/index.mjs +12 -0
- package/dist/components/layoutGrid/index.mjs.map +1 -0
- package/dist/components/layoutGrid/src/layoutGrid.d.ts +61 -0
- package/dist/components/layoutGrid/src/layoutGrid.mjs +163 -0
- package/dist/components/layoutGrid/src/layoutGrid.mjs.map +1 -0
- package/dist/components/layoutGrid/src/layoutGrid.type.d.ts +7 -0
- package/dist/components/layoutGrid/src/layoutGridItem.d.ts +101 -0
- package/dist/components/layoutGrid/src/layoutGridItem.mjs +85 -0
- package/dist/components/layoutGrid/src/layoutGridItem.mjs.map +1 -0
- package/dist/components/select/index.d.ts +23 -0
- package/dist/components/select/index.mjs +12 -0
- package/dist/components/select/index.mjs.map +1 -0
- package/dist/components/select/src/select.d.ts +618 -0
- package/dist/components/select/src/select.mjs +349 -0
- package/dist/components/select/src/select.mjs.map +1 -0
- package/dist/components/select/src/select.type.d.ts +32 -0
- package/dist/components/select/src/selectOption.d.ts +59 -0
- package/dist/components/select/src/selectOption.mjs +69 -0
- package/dist/components/select/src/selectOption.mjs.map +1 -0
- package/dist/components/selectPage/index.d.ts +14 -0
- package/dist/components/selectPage/index.mjs +9 -0
- package/dist/components/selectPage/index.mjs.map +1 -0
- package/dist/components/selectPage/src/selectPage.d.ts +583 -0
- package/dist/components/selectPage/src/selectPage.mjs +388 -0
- package/dist/components/selectPage/src/selectPage.mjs.map +1 -0
- package/dist/components/selectV2/index.d.ts +15 -0
- package/dist/components/selectV2/index.mjs +9 -0
- package/dist/components/selectV2/index.mjs.map +1 -0
- package/dist/components/selectV2/src/selectV2.d.ts +1477 -0
- package/dist/components/selectV2/src/selectV2.mjs +649 -0
- package/dist/components/selectV2/src/selectV2.mjs.map +1 -0
- package/dist/components/table/images/artwork.mjs +6 -0
- package/dist/components/table/images/artwork.mjs.map +1 -0
- package/dist/components/table/images/notImage.mjs +6 -0
- package/dist/components/table/images/notImage.mjs.map +1 -0
- package/dist/components/table/index.d.ts +34 -0
- package/dist/components/table/index.mjs +25 -0
- package/dist/components/table/index.mjs.map +1 -0
- package/dist/components/table/src/page.type.d.ts +145 -0
- package/dist/components/table/src/page.type.mjs +45 -0
- package/dist/components/table/src/page.type.mjs.map +1 -0
- package/dist/components/table/src/table.d.ts +1522 -0
- package/dist/components/table/src/table.mjs +1012 -0
- package/dist/components/table/src/table.mjs.map +1 -0
- package/dist/components/table/src/table.state.d.ts +113 -0
- package/dist/components/table/src/table.type.d.ts +266 -0
- package/dist/components/table/src/table.type.mjs +20 -0
- package/dist/components/table/src/table.type.mjs.map +1 -0
- package/dist/components/table/src/tableColumn.d.ts +666 -0
- package/dist/components/table/src/tableColumn.mjs +604 -0
- package/dist/components/table/src/tableColumn.mjs.map +1 -0
- package/dist/components/table/src/tableColumnSettingDialog.d.ts +18 -0
- package/dist/components/table/src/tableColumnSettingDialog.mjs +307 -0
- package/dist/components/table/src/tableColumnSettingDialog.mjs.map +1 -0
- package/dist/components/table/src/tablePagination.d.ts +24 -0
- package/dist/components/table/src/tablePagination.mjs +58 -0
- package/dist/components/table/src/tablePagination.mjs.map +1 -0
- package/dist/components/table/src/tableSearchForm.d.ts +86 -0
- package/dist/components/table/src/tableSearchForm.mjs +229 -0
- package/dist/components/table/src/tableSearchForm.mjs.map +1 -0
- package/dist/components/table/src/tableSearchFormItem.d.ts +35 -0
- package/dist/components/table/src/tableSearchFormItem.mjs +216 -0
- package/dist/components/table/src/tableSearchFormItem.mjs.map +1 -0
- package/dist/components/table/src/useTable.d.ts +44 -0
- package/dist/components/table/src/useTable.mjs +408 -0
- package/dist/components/table/src/useTable.mjs.map +1 -0
- package/dist/components/table/utils/table.d.ts +46 -0
- package/dist/components/table/utils/table.mjs +113 -0
- package/dist/components/table/utils/table.mjs.map +1 -0
- package/dist/components/tree/index.d.ts +15 -0
- package/dist/components/tree/index.mjs +9 -0
- package/dist/components/tree/index.mjs.map +1 -0
- package/dist/components/tree/src/tree.d.ts +579 -0
- package/dist/components/tree/src/tree.mjs +339 -0
- package/dist/components/tree/src/tree.mjs.map +1 -0
- package/dist/components/tree/src/tree.props.d.ts +33 -0
- package/dist/components/tree/src/tree.type.d.ts +38 -0
- package/dist/components/treeSelect/index.d.ts +14 -0
- package/dist/components/treeSelect/index.mjs +9 -0
- package/dist/components/treeSelect/index.mjs.map +1 -0
- package/dist/components/treeSelect/src/treeSelect.d.ts +1036 -0
- package/dist/components/treeSelect/src/treeSelect.mjs +463 -0
- package/dist/components/treeSelect/src/treeSelect.mjs.map +1 -0
- package/dist/components/upload/index.d.ts +14 -0
- package/dist/components/upload/index.mjs +9 -0
- package/dist/components/upload/index.mjs.map +1 -0
- package/dist/components/upload/src/upload.d.ts +488 -0
- package/dist/components/upload/src/upload.mjs +136 -0
- package/dist/components/upload/src/upload.mjs.map +1 -0
- package/dist/components/upload/src/useUpload.d.ts +35 -0
- package/dist/components/upload/src/useUpload.mjs +170 -0
- package/dist/components/upload/src/useUpload.mjs.map +1 -0
- package/dist/components/upload/utils/upload.d.ts +34 -0
- package/dist/components/upload/utils/upload.mjs +108 -0
- package/dist/components/upload/utils/upload.mjs.map +1 -0
- package/dist/components/uploadImage/index.d.ts +14 -0
- package/dist/components/uploadImage/index.mjs +9 -0
- package/dist/components/uploadImage/index.mjs.map +1 -0
- package/dist/components/uploadImage/src/uploadImage.d.ts +538 -0
- package/dist/components/uploadImage/src/uploadImage.mjs +203 -0
- package/dist/components/uploadImage/src/uploadImage.mjs.map +1 -0
- package/dist/components/uploadImages/index.d.ts +15 -0
- package/dist/components/uploadImages/index.mjs +9 -0
- package/dist/components/uploadImages/index.mjs.map +1 -0
- package/dist/components/uploadImages/src/uploadImages.d.ts +507 -0
- package/dist/components/uploadImages/src/uploadImages.mjs +186 -0
- package/dist/components/uploadImages/src/uploadImages.mjs.map +1 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/mime.d.ts +59 -0
- package/dist/constants/mime.mjs +64 -0
- package/dist/constants/mime.mjs.map +1 -0
- package/dist/constants/regex.d.ts +76 -0
- package/dist/constants/regex.mjs +81 -0
- package/dist/constants/regex.mjs.map +1 -0
- package/dist/directive.d.ts +4 -0
- package/dist/directive.mjs +20 -0
- package/dist/directive.mjs.map +1 -0
- package/dist/directives/click-copy/index.d.ts +3 -0
- package/dist/directives/click-copy/index.mjs +39 -0
- package/dist/directives/click-copy/index.mjs.map +1 -0
- package/dist/directives/click-debounce/index.d.ts +7 -0
- package/dist/directives/click-debounce/index.mjs +17 -0
- package/dist/directives/click-debounce/index.mjs.map +1 -0
- package/dist/directives/click-draggable/index.d.ts +3 -0
- package/dist/directives/click-draggable/index.mjs +31 -0
- package/dist/directives/click-draggable/index.mjs.map +1 -0
- package/dist/directives/click-icon-copy/index.d.ts +3 -0
- package/dist/directives/click-icon-copy/index.mjs +47 -0
- package/dist/directives/click-icon-copy/index.mjs.map +1 -0
- package/dist/directives/click-longpress/index.d.ts +3 -0
- package/dist/directives/click-longpress/index.mjs +31 -0
- package/dist/directives/click-longpress/index.mjs.map +1 -0
- package/dist/directives/click-throttle/index.d.ts +7 -0
- package/dist/directives/click-throttle/index.mjs +26 -0
- package/dist/directives/click-throttle/index.mjs.map +1 -0
- package/dist/directives/index.d.ts +6 -0
- package/dist/element-plus.d.ts +8 -0
- package/dist/element-plus.mjs +172 -0
- package/dist/element-plus.mjs.map +1 -0
- package/dist/global.d.ts +58 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/use-loading/index.d.ts +7 -0
- package/dist/hooks/use-loading/index.mjs +43 -0
- package/dist/hooks/use-loading/index.mjs.map +1 -0
- package/dist/hooks/use-overlay/index.d.ts +11 -0
- package/dist/hooks/use-overlay/index.mjs +33 -0
- package/dist/hooks/use-overlay/index.mjs.map +1 -0
- package/dist/hooks/use-screenFull/index.d.ts +15 -0
- package/dist/hooks/use-screenFull/index.mjs +56 -0
- package/dist/hooks/use-screenFull/index.mjs.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.global.min.js +23 -0
- package/dist/index.global.min.js.map +1 -0
- package/dist/index.mjs +71 -0
- package/dist/index.mjs.map +1 -0
- package/dist/make-installer.d.ts +8 -0
- package/dist/make-installer.mjs +28 -0
- package/dist/make-installer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.mjs +100 -0
- package/dist/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.mjs +25 -0
- package/dist/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.mjs +1997 -0
- package/dist/node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.mjs +30 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.mjs +30 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.mjs +30 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.mjs +26 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.mjs +118 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.mjs +31 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.mjs +26 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.mjs +61 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.mjs +37 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.mjs +47 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.mjs +29 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.mjs +31 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.mjs +30 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.mjs +57 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.mjs +77 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.mjs +56 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.mjs +38 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.mjs +45 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.mjs +66 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.mjs +28 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_parent.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_parent.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.mjs +29 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.mjs +29 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.mjs +40 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/flatten.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/flatten.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.mjs +36 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.mjs +29 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBoolean.mjs +29 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBoolean.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.mjs +31 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.mjs +37 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.mjs +34 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.mjs +36 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNil.mjs +28 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNil.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNull.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNull.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNumber.mjs +38 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNumber.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.mjs +34 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.mjs +32 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.mjs +54 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isString.mjs +30 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.mjs +29 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isUndefined.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isUndefined.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.mjs +39 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.mjs +34 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/last.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/last.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.mjs +65 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/omit.mjs +52 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/omit.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.mjs +26 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.mjs +30 -0
- package/dist/node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.mjs.map +1 -0
- package/dist/node_modules/.pnpm/screenfull@6.0.2/node_modules/screenfull/index.mjs +120 -0
- package/dist/node_modules/.pnpm/screenfull@6.0.2/node_modules/screenfull/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.mjs +1925 -0
- package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.mjs.map +1 -0
- package/dist/utils/async/index.d.ts +35 -0
- package/dist/utils/async/index.mjs +94 -0
- package/dist/utils/async/index.mjs.map +1 -0
- package/dist/utils/date/index.d.ts +74 -0
- package/dist/utils/date/index.mjs +190 -0
- package/dist/utils/date/index.mjs.map +1 -0
- package/dist/utils/dom/index.d.ts +9 -0
- package/dist/utils/dom/index.mjs +35 -0
- package/dist/utils/dom/index.mjs.map +1 -0
- package/dist/utils/index.d.ts +10 -0
- package/dist/utils/string/index.d.ts +20 -0
- package/dist/utils/string/index.mjs +101 -0
- package/dist/utils/string/index.mjs.map +1 -0
- package/dist/utils/vue/emits.d.ts +23 -0
- package/dist/utils/vue/emits.mjs +47 -0
- package/dist/utils/vue/emits.mjs.map +1 -0
- package/dist/utils/vue/expose.d.ts +8 -0
- package/dist/utils/vue/expose.mjs +16 -0
- package/dist/utils/vue/expose.mjs.map +1 -0
- package/dist/utils/vue/func.d.ts +10 -0
- package/dist/utils/vue/func.mjs +16 -0
- package/dist/utils/vue/func.mjs.map +1 -0
- package/dist/utils/vue/index.d.ts +13 -0
- package/dist/utils/vue/install.d.ts +47 -0
- package/dist/utils/vue/install.mjs +123 -0
- package/dist/utils/vue/install.mjs.map +1 -0
- package/dist/utils/vue/props.d.ts +19 -0
- package/dist/utils/vue/props.mjs +41 -0
- package/dist/utils/vue/props.mjs.map +1 -0
- package/dist/utils/vue/render.d.ts +8 -0
- package/dist/utils/vue/render.mjs +17 -0
- package/dist/utils/vue/render.mjs.map +1 -0
- package/dist/utils/vue/slots.d.ts +18 -0
- package/dist/utils/vue/slots.mjs +13 -0
- package/dist/utils/vue/slots.mjs.map +1 -0
- package/dist/utils/vue/with.d.ts +8 -0
- package/dist/utils/vue/with.mjs +15 -0
- package/dist/utils/vue/with.mjs.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.mjs +7 -0
- package/dist/version.mjs.map +1 -0
- package/package.json +91 -101
- package/dist/index.full.js +0 -27745
- package/dist/index.full.js.map +0 -1
- package/dist/index.full.min.js +0 -11042
- package/dist/index.full.min.js.map +0 -1
- package/dist/index.full.min.mjs +0 -11033
- package/dist/index.full.min.mjs.map +0 -1
- package/dist/index.full.mjs +0 -27737
- package/dist/index.full.mjs.map +0 -1
- package/dist/styles/index.css +0 -1003
- package/dist/styles/index.css.map +0 -1
- package/es/_virtual/_rolldown/runtime.mjs +0 -1
- package/es/component.d.ts +0 -3
- package/es/component.mjs +0 -2
- package/es/component.mjs.map +0 -1
- package/es/components/avatar/index.d.ts +0 -14
- package/es/components/avatar/index.mjs +0 -2
- package/es/components/avatar/index.mjs.map +0 -1
- package/es/components/avatar/src/avatar.d.ts +0 -125
- package/es/components/avatar/src/avatar.mjs +0 -2
- package/es/components/avatar/src/avatar.mjs.map +0 -1
- package/es/components/button/index.d.ts +0 -15
- package/es/components/button/index.mjs +0 -2
- package/es/components/button/index.mjs.map +0 -1
- package/es/components/button/src/button.d.ts +0 -177
- package/es/components/button/src/button.mjs +0 -2
- package/es/components/button/src/button.mjs.map +0 -1
- package/es/components/carNumber/index.d.ts +0 -9
- package/es/components/carNumber/index.mjs +0 -2
- package/es/components/carNumber/index.mjs.map +0 -1
- package/es/components/carNumber/src/carNumber.d.ts +0 -228
- package/es/components/carNumber/src/carNumber.mjs +0 -2
- package/es/components/carNumber/src/carNumber.mjs.map +0 -1
- package/es/components/carNumber/src/common.d.ts +0 -15
- package/es/components/carNumber/src/common.mjs +0 -2
- package/es/components/carNumber/src/common.mjs.map +0 -1
- package/es/components/contextMenu/index.d.ts +0 -9
- package/es/components/contextMenu/index.mjs +0 -2
- package/es/components/contextMenu/index.mjs.map +0 -1
- package/es/components/contextMenu/src/contextMenu.d.ts +0 -32
- package/es/components/contextMenu/src/contextMenu.mjs +0 -2
- package/es/components/contextMenu/src/contextMenu.mjs.map +0 -1
- package/es/components/contextMenu/src/contextMenu.type.d.ts +0 -33
- package/es/components/dialog/index.d.ts +0 -14
- package/es/components/dialog/index.mjs +0 -2
- package/es/components/dialog/index.mjs.map +0 -1
- package/es/components/dialog/src/dialog.d.ts +0 -454
- package/es/components/dialog/src/dialog.mjs +0 -2
- package/es/components/dialog/src/dialog.mjs.map +0 -1
- package/es/components/drawer/index.d.ts +0 -14
- package/es/components/drawer/index.mjs +0 -2
- package/es/components/drawer/index.mjs.map +0 -1
- package/es/components/drawer/src/drawer.d.ts +0 -458
- package/es/components/drawer/src/drawer.mjs +0 -2
- package/es/components/drawer/src/drawer.mjs.map +0 -1
- package/es/components/form/index.d.ts +0 -23
- package/es/components/form/index.mjs +0 -2
- package/es/components/form/index.mjs.map +0 -1
- package/es/components/form/src/form.d.ts +0 -194
- package/es/components/form/src/form.mjs +0 -2
- package/es/components/form/src/form.mjs.map +0 -1
- package/es/components/form/src/formItem.d.ts +0 -204
- package/es/components/form/src/formItem.mjs +0 -2
- package/es/components/form/src/formItem.mjs.map +0 -1
- package/es/components/form/utils/form.d.ts +0 -81
- package/es/components/form/utils/form.mjs +0 -2
- package/es/components/form/utils/form.mjs.map +0 -1
- package/es/components/formItemTip/index.d.ts +0 -12
- package/es/components/formItemTip/index.mjs +0 -2
- package/es/components/formItemTip/index.mjs.map +0 -1
- package/es/components/formItemTip/src/formItemTip.d.ts +0 -22
- package/es/components/formItemTip/src/formItemTip.mjs +0 -2
- package/es/components/formItemTip/src/formItemTip.mjs.map +0 -1
- package/es/components/icon/index.d.ts +0 -12
- package/es/components/icon/index.mjs +0 -2
- package/es/components/icon/index.mjs.map +0 -1
- package/es/components/icon/src/icon.d.ts +0 -39
- package/es/components/icon/src/icon.mjs +0 -2
- package/es/components/icon/src/icon.mjs.map +0 -1
- package/es/components/iconSelector/index.d.ts +0 -7
- package/es/components/iconSelector/index.mjs +0 -2
- package/es/components/iconSelector/index.mjs.map +0 -1
- package/es/components/iconSelector/src/iconSelector.d.ts +0 -23
- package/es/components/iconSelector/src/iconSelector.mjs +0 -2
- package/es/components/iconSelector/src/iconSelector.mjs.map +0 -1
- package/es/components/image/index.d.ts +0 -12
- package/es/components/image/index.mjs +0 -2
- package/es/components/image/index.mjs.map +0 -1
- package/es/components/image/src/image.d.ts +0 -232
- package/es/components/image/src/image.mjs +0 -2
- package/es/components/image/src/image.mjs.map +0 -1
- package/es/components/index.d.ts +0 -22
- package/es/components/index.mjs +0 -2
- package/es/components/index.mjs.map +0 -1
- package/es/components/inputDialogPage/index.d.ts +0 -14
- package/es/components/inputDialogPage/index.mjs +0 -2
- package/es/components/inputDialogPage/index.mjs.map +0 -1
- package/es/components/inputDialogPage/src/inputDialogPage.d.ts +0 -132
- package/es/components/inputDialogPage/src/inputDialogPage.mjs +0 -2
- package/es/components/inputDialogPage/src/inputDialogPage.mjs.map +0 -1
- package/es/components/layoutGrid/index.d.ts +0 -16
- package/es/components/layoutGrid/index.mjs +0 -2
- package/es/components/layoutGrid/index.mjs.map +0 -1
- package/es/components/layoutGrid/src/layoutGrid.d.ts +0 -60
- package/es/components/layoutGrid/src/layoutGrid.mjs +0 -2
- package/es/components/layoutGrid/src/layoutGrid.mjs.map +0 -1
- package/es/components/layoutGrid/src/layoutGrid.type.d.ts +0 -12
- package/es/components/layoutGrid/src/layoutGrid.type.mjs +0 -0
- package/es/components/layoutGrid/src/layoutGridItem.d.ts +0 -100
- package/es/components/layoutGrid/src/layoutGridItem.mjs +0 -2
- package/es/components/layoutGrid/src/layoutGridItem.mjs.map +0 -1
- package/es/components/select/index.d.ts +0 -22
- package/es/components/select/index.mjs +0 -2
- package/es/components/select/index.mjs.map +0 -1
- package/es/components/select/src/select.d.ts +0 -1206
- package/es/components/select/src/select.mjs +0 -2
- package/es/components/select/src/select.mjs.map +0 -1
- package/es/components/select/src/select.type.d.ts +0 -28
- package/es/components/select/src/select.type.mjs +0 -0
- package/es/components/select/src/selectOption.d.ts +0 -99
- package/es/components/select/src/selectOption.mjs +0 -2
- package/es/components/select/src/selectOption.mjs.map +0 -1
- package/es/components/selectPage/index.d.ts +0 -14
- package/es/components/selectPage/index.mjs +0 -2
- package/es/components/selectPage/index.mjs.map +0 -1
- package/es/components/selectPage/src/selectPage.d.ts +0 -609
- package/es/components/selectPage/src/selectPage.mjs +0 -2
- package/es/components/selectPage/src/selectPage.mjs.map +0 -1
- package/es/components/selectV2/index.d.ts +0 -14
- package/es/components/selectV2/index.mjs +0 -2
- package/es/components/selectV2/index.mjs.map +0 -1
- package/es/components/selectV2/src/selectV2.d.ts +0 -1399
- package/es/components/selectV2/src/selectV2.mjs +0 -2
- package/es/components/selectV2/src/selectV2.mjs.map +0 -1
- package/es/components/table/images/artwork.mjs +0 -2
- package/es/components/table/images/artwork.mjs.map +0 -1
- package/es/components/table/images/index.d.ts +0 -4
- package/es/components/table/images/notImage.mjs +0 -2
- package/es/components/table/images/notImage.mjs.map +0 -1
- package/es/components/table/index.d.ts +0 -35
- package/es/components/table/index.mjs +0 -2
- package/es/components/table/index.mjs.map +0 -1
- package/es/components/table/src/page.type.d.ts +0 -145
- package/es/components/table/src/page.type.mjs +0 -2
- package/es/components/table/src/page.type.mjs.map +0 -1
- package/es/components/table/src/table.d.ts +0 -1439
- package/es/components/table/src/table.mjs +0 -2
- package/es/components/table/src/table.mjs.map +0 -1
- package/es/components/table/src/table.state.d.ts +0 -111
- package/es/components/table/src/table.state.mjs +0 -0
- package/es/components/table/src/table.type.d.ts +0 -261
- package/es/components/table/src/table.type.mjs +0 -2
- package/es/components/table/src/table.type.mjs.map +0 -1
- package/es/components/table/src/tableColumn.d.ts +0 -658
- package/es/components/table/src/tableColumn.mjs +0 -2
- package/es/components/table/src/tableColumn.mjs.map +0 -1
- package/es/components/table/src/tableColumnSettingDialog.d.ts +0 -18
- package/es/components/table/src/tableColumnSettingDialog.mjs +0 -2
- package/es/components/table/src/tableColumnSettingDialog.mjs.map +0 -1
- package/es/components/table/src/tablePagination.d.ts +0 -24
- package/es/components/table/src/tablePagination.mjs +0 -2
- package/es/components/table/src/tablePagination.mjs.map +0 -1
- package/es/components/table/src/tableSearchForm.d.ts +0 -88
- package/es/components/table/src/tableSearchForm.mjs +0 -2
- package/es/components/table/src/tableSearchForm.mjs.map +0 -1
- package/es/components/table/src/tableSearchFormItem.d.ts +0 -37
- package/es/components/table/src/tableSearchFormItem.mjs +0 -2
- package/es/components/table/src/tableSearchFormItem.mjs.map +0 -1
- package/es/components/table/src/useTable.d.ts +0 -32
- package/es/components/table/src/useTable.mjs +0 -2
- package/es/components/table/src/useTable.mjs.map +0 -1
- package/es/components/table/utils/table.d.ts +0 -45
- package/es/components/table/utils/table.mjs +0 -2
- package/es/components/table/utils/table.mjs.map +0 -1
- package/es/components/tree/index.d.ts +0 -15
- package/es/components/tree/index.mjs +0 -2
- package/es/components/tree/index.mjs.map +0 -1
- package/es/components/tree/src/tree.d.ts +0 -562
- package/es/components/tree/src/tree.mjs +0 -2
- package/es/components/tree/src/tree.mjs.map +0 -1
- package/es/components/tree/src/tree.props.d.ts +0 -81
- package/es/components/tree/src/tree.props.mjs +0 -2
- package/es/components/tree/src/tree.props.mjs.map +0 -1
- package/es/components/tree/src/tree.type.d.ts +0 -36
- package/es/components/tree/src/tree.type.mjs +0 -0
- package/es/components/treeSelect/index.d.ts +0 -14
- package/es/components/treeSelect/index.mjs +0 -2
- package/es/components/treeSelect/index.mjs.map +0 -1
- package/es/components/treeSelect/src/treeSelect.d.ts +0 -965
- package/es/components/treeSelect/src/treeSelect.mjs +0 -2
- package/es/components/treeSelect/src/treeSelect.mjs.map +0 -1
- package/es/components/upload/index.d.ts +0 -15
- package/es/components/upload/index.mjs +0 -2
- package/es/components/upload/index.mjs.map +0 -1
- package/es/components/upload/src/upload.d.ts +0 -529
- package/es/components/upload/src/upload.mjs +0 -2
- package/es/components/upload/src/upload.mjs.map +0 -1
- package/es/components/upload/src/useUpload.d.ts +0 -65
- package/es/components/upload/src/useUpload.mjs +0 -2
- package/es/components/upload/src/useUpload.mjs.map +0 -1
- package/es/components/upload/utils/upload.d.ts +0 -30
- package/es/components/upload/utils/upload.mjs +0 -2
- package/es/components/upload/utils/upload.mjs.map +0 -1
- package/es/components/uploadImage/index.d.ts +0 -14
- package/es/components/uploadImage/index.mjs +0 -2
- package/es/components/uploadImage/index.mjs.map +0 -1
- package/es/components/uploadImage/src/uploadImage.d.ts +0 -579
- package/es/components/uploadImage/src/uploadImage.mjs +0 -2
- package/es/components/uploadImage/src/uploadImage.mjs.map +0 -1
- package/es/components/uploadImages/index.d.ts +0 -14
- package/es/components/uploadImages/index.mjs +0 -2
- package/es/components/uploadImages/index.mjs.map +0 -1
- package/es/components/uploadImages/src/uploadImages.d.ts +0 -548
- package/es/components/uploadImages/src/uploadImages.mjs +0 -2
- package/es/components/uploadImages/src/uploadImages.mjs.map +0 -1
- package/es/constants/index.d.ts +0 -2
- package/es/constants/index.mjs +0 -1
- package/es/constants/mime.d.ts +0 -61
- package/es/constants/mime.mjs +0 -2
- package/es/constants/mime.mjs.map +0 -1
- package/es/constants/regex.d.ts +0 -78
- package/es/constants/regex.mjs +0 -2
- package/es/constants/regex.mjs.map +0 -1
- package/es/directive.d.ts +0 -2
- package/es/directive.mjs +0 -2
- package/es/directive.mjs.map +0 -1
- package/es/directives/click-copy/index.d.ts +0 -2
- package/es/directives/click-copy/index.mjs +0 -2
- package/es/directives/click-copy/index.mjs.map +0 -1
- package/es/directives/click-debounce/index.d.ts +0 -2
- package/es/directives/click-debounce/index.mjs +0 -2
- package/es/directives/click-debounce/index.mjs.map +0 -1
- package/es/directives/click-draggable/index.d.ts +0 -2
- package/es/directives/click-draggable/index.mjs +0 -2
- package/es/directives/click-draggable/index.mjs.map +0 -1
- package/es/directives/click-icon-copy/index.d.ts +0 -2
- package/es/directives/click-icon-copy/index.mjs +0 -2
- package/es/directives/click-icon-copy/index.mjs.map +0 -1
- package/es/directives/click-longpress/index.d.ts +0 -2
- package/es/directives/click-longpress/index.mjs +0 -2
- package/es/directives/click-longpress/index.mjs.map +0 -1
- package/es/directives/click-throttle/index.d.ts +0 -2
- package/es/directives/click-throttle/index.mjs +0 -2
- package/es/directives/click-throttle/index.mjs.map +0 -1
- package/es/directives/index.d.ts +0 -6
- package/es/directives/index.mjs +0 -1
- package/es/element-plus.d.ts +0 -2
- package/es/element-plus.mjs +0 -2
- package/es/element-plus.mjs.map +0 -1
- package/es/hooks/index.d.ts +0 -3
- package/es/hooks/index.mjs +0 -1
- package/es/hooks/use-loading/index.d.ts +0 -4
- package/es/hooks/use-loading/index.mjs +0 -2
- package/es/hooks/use-loading/index.mjs.map +0 -1
- package/es/hooks/use-overlay/index.d.ts +0 -4
- package/es/hooks/use-overlay/index.mjs +0 -2
- package/es/hooks/use-overlay/index.mjs.map +0 -1
- package/es/hooks/use-screenFull/index.d.ts +0 -7
- package/es/hooks/use-screenFull/index.mjs +0 -2
- package/es/hooks/use-screenFull/index.mjs.map +0 -1
- package/es/index.d.ts +0 -14
- package/es/index.es.d.ts +0 -6
- package/es/index.mjs +0 -2
- package/es/index.mjs.map +0 -1
- package/es/make-installer.d.ts +0 -6
- package/es/make-installer.mjs +0 -2
- package/es/make-installer.mjs.map +0 -1
- package/es/version.d.ts +0 -1
- package/es/version.mjs +0 -2
- package/es/version.mjs.map +0 -1
- package/global.d.ts +0 -2
- package/lib/_virtual/_rolldown/runtime.js +0 -1
- package/lib/component.d.ts +0 -3
- package/lib/component.js +0 -2
- package/lib/component.js.map +0 -1
- package/lib/components/avatar/index.d.ts +0 -14
- package/lib/components/avatar/index.js +0 -2
- package/lib/components/avatar/index.js.map +0 -1
- package/lib/components/avatar/src/avatar.d.ts +0 -125
- package/lib/components/avatar/src/avatar.js +0 -2
- package/lib/components/avatar/src/avatar.js.map +0 -1
- package/lib/components/button/index.d.ts +0 -15
- package/lib/components/button/index.js +0 -2
- package/lib/components/button/index.js.map +0 -1
- package/lib/components/button/src/button.d.ts +0 -177
- package/lib/components/button/src/button.js +0 -2
- package/lib/components/button/src/button.js.map +0 -1
- package/lib/components/carNumber/index.d.ts +0 -9
- package/lib/components/carNumber/index.js +0 -2
- package/lib/components/carNumber/index.js.map +0 -1
- package/lib/components/carNumber/src/carNumber.d.ts +0 -228
- package/lib/components/carNumber/src/carNumber.js +0 -2
- package/lib/components/carNumber/src/carNumber.js.map +0 -1
- package/lib/components/carNumber/src/common.d.ts +0 -15
- package/lib/components/carNumber/src/common.js +0 -2
- package/lib/components/carNumber/src/common.js.map +0 -1
- package/lib/components/contextMenu/index.d.ts +0 -9
- package/lib/components/contextMenu/index.js +0 -2
- package/lib/components/contextMenu/index.js.map +0 -1
- package/lib/components/contextMenu/src/contextMenu.d.ts +0 -32
- package/lib/components/contextMenu/src/contextMenu.js +0 -2
- package/lib/components/contextMenu/src/contextMenu.js.map +0 -1
- package/lib/components/contextMenu/src/contextMenu.type.d.ts +0 -33
- package/lib/components/contextMenu/src/contextMenu.type.js +0 -0
- package/lib/components/dialog/index.d.ts +0 -14
- package/lib/components/dialog/index.js +0 -2
- package/lib/components/dialog/index.js.map +0 -1
- package/lib/components/dialog/src/dialog.d.ts +0 -454
- package/lib/components/dialog/src/dialog.js +0 -2
- package/lib/components/dialog/src/dialog.js.map +0 -1
- package/lib/components/drawer/index.d.ts +0 -14
- package/lib/components/drawer/index.js +0 -2
- package/lib/components/drawer/index.js.map +0 -1
- package/lib/components/drawer/src/drawer.d.ts +0 -458
- package/lib/components/drawer/src/drawer.js +0 -2
- package/lib/components/drawer/src/drawer.js.map +0 -1
- package/lib/components/form/index.d.ts +0 -23
- package/lib/components/form/index.js +0 -2
- package/lib/components/form/index.js.map +0 -1
- package/lib/components/form/src/form.d.ts +0 -194
- package/lib/components/form/src/form.js +0 -2
- package/lib/components/form/src/form.js.map +0 -1
- package/lib/components/form/src/formItem.d.ts +0 -204
- package/lib/components/form/src/formItem.js +0 -2
- package/lib/components/form/src/formItem.js.map +0 -1
- package/lib/components/form/utils/form.d.ts +0 -81
- package/lib/components/form/utils/form.js +0 -2
- package/lib/components/form/utils/form.js.map +0 -1
- package/lib/components/formItemTip/index.d.ts +0 -12
- package/lib/components/formItemTip/index.js +0 -2
- package/lib/components/formItemTip/index.js.map +0 -1
- package/lib/components/formItemTip/src/formItemTip.d.ts +0 -22
- package/lib/components/formItemTip/src/formItemTip.js +0 -2
- package/lib/components/formItemTip/src/formItemTip.js.map +0 -1
- package/lib/components/icon/index.d.ts +0 -12
- package/lib/components/icon/index.js +0 -2
- package/lib/components/icon/index.js.map +0 -1
- package/lib/components/icon/src/icon.d.ts +0 -39
- package/lib/components/icon/src/icon.js +0 -2
- package/lib/components/icon/src/icon.js.map +0 -1
- package/lib/components/iconSelector/index.d.ts +0 -7
- package/lib/components/iconSelector/index.js +0 -2
- package/lib/components/iconSelector/index.js.map +0 -1
- package/lib/components/iconSelector/src/iconSelector.d.ts +0 -23
- package/lib/components/iconSelector/src/iconSelector.js +0 -2
- package/lib/components/iconSelector/src/iconSelector.js.map +0 -1
- package/lib/components/image/index.d.ts +0 -12
- package/lib/components/image/index.js +0 -2
- package/lib/components/image/index.js.map +0 -1
- package/lib/components/image/src/image.d.ts +0 -232
- package/lib/components/image/src/image.js +0 -2
- package/lib/components/image/src/image.js.map +0 -1
- package/lib/components/index.d.ts +0 -22
- package/lib/components/index.js +0 -2
- package/lib/components/index.js.map +0 -1
- package/lib/components/inputDialogPage/index.d.ts +0 -14
- package/lib/components/inputDialogPage/index.js +0 -2
- package/lib/components/inputDialogPage/index.js.map +0 -1
- package/lib/components/inputDialogPage/src/inputDialogPage.d.ts +0 -132
- package/lib/components/inputDialogPage/src/inputDialogPage.js +0 -2
- package/lib/components/inputDialogPage/src/inputDialogPage.js.map +0 -1
- package/lib/components/layoutGrid/index.d.ts +0 -16
- package/lib/components/layoutGrid/index.js +0 -2
- package/lib/components/layoutGrid/index.js.map +0 -1
- package/lib/components/layoutGrid/src/layoutGrid.d.ts +0 -60
- package/lib/components/layoutGrid/src/layoutGrid.js +0 -2
- package/lib/components/layoutGrid/src/layoutGrid.js.map +0 -1
- package/lib/components/layoutGrid/src/layoutGrid.type.d.ts +0 -12
- package/lib/components/layoutGrid/src/layoutGrid.type.js +0 -0
- package/lib/components/layoutGrid/src/layoutGridItem.d.ts +0 -100
- package/lib/components/layoutGrid/src/layoutGridItem.js +0 -2
- package/lib/components/layoutGrid/src/layoutGridItem.js.map +0 -1
- package/lib/components/select/index.d.ts +0 -22
- package/lib/components/select/index.js +0 -2
- package/lib/components/select/index.js.map +0 -1
- package/lib/components/select/src/select.d.ts +0 -1206
- package/lib/components/select/src/select.js +0 -2
- package/lib/components/select/src/select.js.map +0 -1
- package/lib/components/select/src/select.type.d.ts +0 -28
- package/lib/components/select/src/select.type.js +0 -0
- package/lib/components/select/src/selectOption.d.ts +0 -99
- package/lib/components/select/src/selectOption.js +0 -2
- package/lib/components/select/src/selectOption.js.map +0 -1
- package/lib/components/selectPage/index.d.ts +0 -14
- package/lib/components/selectPage/index.js +0 -2
- package/lib/components/selectPage/index.js.map +0 -1
- package/lib/components/selectPage/src/selectPage.d.ts +0 -609
- package/lib/components/selectPage/src/selectPage.js +0 -2
- package/lib/components/selectPage/src/selectPage.js.map +0 -1
- package/lib/components/selectV2/index.d.ts +0 -14
- package/lib/components/selectV2/index.js +0 -2
- package/lib/components/selectV2/index.js.map +0 -1
- package/lib/components/selectV2/src/selectV2.d.ts +0 -1399
- package/lib/components/selectV2/src/selectV2.js +0 -2
- package/lib/components/selectV2/src/selectV2.js.map +0 -1
- package/lib/components/table/images/artwork.js +0 -2
- package/lib/components/table/images/artwork.js.map +0 -1
- package/lib/components/table/images/index.d.ts +0 -4
- package/lib/components/table/images/notImage.js +0 -2
- package/lib/components/table/images/notImage.js.map +0 -1
- package/lib/components/table/index.d.ts +0 -35
- package/lib/components/table/index.js +0 -2
- package/lib/components/table/index.js.map +0 -1
- package/lib/components/table/src/page.type.d.ts +0 -145
- package/lib/components/table/src/page.type.js +0 -2
- package/lib/components/table/src/page.type.js.map +0 -1
- package/lib/components/table/src/table.d.ts +0 -1439
- package/lib/components/table/src/table.js +0 -2
- package/lib/components/table/src/table.js.map +0 -1
- package/lib/components/table/src/table.state.d.ts +0 -111
- package/lib/components/table/src/table.state.js +0 -0
- package/lib/components/table/src/table.type.d.ts +0 -261
- package/lib/components/table/src/table.type.js +0 -2
- package/lib/components/table/src/table.type.js.map +0 -1
- package/lib/components/table/src/tableColumn.d.ts +0 -658
- package/lib/components/table/src/tableColumn.js +0 -2
- package/lib/components/table/src/tableColumn.js.map +0 -1
- package/lib/components/table/src/tableColumnSettingDialog.d.ts +0 -18
- package/lib/components/table/src/tableColumnSettingDialog.js +0 -2
- package/lib/components/table/src/tableColumnSettingDialog.js.map +0 -1
- package/lib/components/table/src/tablePagination.d.ts +0 -24
- package/lib/components/table/src/tablePagination.js +0 -2
- package/lib/components/table/src/tablePagination.js.map +0 -1
- package/lib/components/table/src/tableSearchForm.d.ts +0 -88
- package/lib/components/table/src/tableSearchForm.js +0 -2
- package/lib/components/table/src/tableSearchForm.js.map +0 -1
- package/lib/components/table/src/tableSearchFormItem.d.ts +0 -37
- package/lib/components/table/src/tableSearchFormItem.js +0 -2
- package/lib/components/table/src/tableSearchFormItem.js.map +0 -1
- package/lib/components/table/src/useTable.d.ts +0 -32
- package/lib/components/table/src/useTable.js +0 -2
- package/lib/components/table/src/useTable.js.map +0 -1
- package/lib/components/table/utils/table.d.ts +0 -45
- package/lib/components/table/utils/table.js +0 -2
- package/lib/components/table/utils/table.js.map +0 -1
- package/lib/components/tree/index.d.ts +0 -15
- package/lib/components/tree/index.js +0 -2
- package/lib/components/tree/index.js.map +0 -1
- package/lib/components/tree/src/tree.d.ts +0 -562
- package/lib/components/tree/src/tree.js +0 -2
- package/lib/components/tree/src/tree.js.map +0 -1
- package/lib/components/tree/src/tree.props.d.ts +0 -81
- package/lib/components/tree/src/tree.props.js +0 -2
- package/lib/components/tree/src/tree.props.js.map +0 -1
- package/lib/components/tree/src/tree.type.d.ts +0 -36
- package/lib/components/tree/src/tree.type.js +0 -0
- package/lib/components/treeSelect/index.d.ts +0 -14
- package/lib/components/treeSelect/index.js +0 -2
- package/lib/components/treeSelect/index.js.map +0 -1
- package/lib/components/treeSelect/src/treeSelect.d.ts +0 -965
- package/lib/components/treeSelect/src/treeSelect.js +0 -2
- package/lib/components/treeSelect/src/treeSelect.js.map +0 -1
- package/lib/components/upload/index.d.ts +0 -15
- package/lib/components/upload/index.js +0 -2
- package/lib/components/upload/index.js.map +0 -1
- package/lib/components/upload/src/upload.d.ts +0 -529
- package/lib/components/upload/src/upload.js +0 -2
- package/lib/components/upload/src/upload.js.map +0 -1
- package/lib/components/upload/src/useUpload.d.ts +0 -65
- package/lib/components/upload/src/useUpload.js +0 -2
- package/lib/components/upload/src/useUpload.js.map +0 -1
- package/lib/components/upload/utils/upload.d.ts +0 -30
- package/lib/components/upload/utils/upload.js +0 -2
- package/lib/components/upload/utils/upload.js.map +0 -1
- package/lib/components/uploadImage/index.d.ts +0 -14
- package/lib/components/uploadImage/index.js +0 -2
- package/lib/components/uploadImage/index.js.map +0 -1
- package/lib/components/uploadImage/src/uploadImage.d.ts +0 -579
- package/lib/components/uploadImage/src/uploadImage.js +0 -2
- package/lib/components/uploadImage/src/uploadImage.js.map +0 -1
- package/lib/components/uploadImages/index.d.ts +0 -14
- package/lib/components/uploadImages/index.js +0 -2
- package/lib/components/uploadImages/index.js.map +0 -1
- package/lib/components/uploadImages/src/uploadImages.d.ts +0 -548
- package/lib/components/uploadImages/src/uploadImages.js +0 -2
- package/lib/components/uploadImages/src/uploadImages.js.map +0 -1
- package/lib/constants/index.d.ts +0 -2
- package/lib/constants/index.js +0 -1
- package/lib/constants/mime.d.ts +0 -61
- package/lib/constants/mime.js +0 -2
- package/lib/constants/mime.js.map +0 -1
- package/lib/constants/regex.d.ts +0 -78
- package/lib/constants/regex.js +0 -2
- package/lib/constants/regex.js.map +0 -1
- package/lib/directive.d.ts +0 -2
- package/lib/directive.js +0 -2
- package/lib/directive.js.map +0 -1
- package/lib/directives/click-copy/index.d.ts +0 -2
- package/lib/directives/click-copy/index.js +0 -2
- package/lib/directives/click-copy/index.js.map +0 -1
- package/lib/directives/click-debounce/index.d.ts +0 -2
- package/lib/directives/click-debounce/index.js +0 -2
- package/lib/directives/click-debounce/index.js.map +0 -1
- package/lib/directives/click-draggable/index.d.ts +0 -2
- package/lib/directives/click-draggable/index.js +0 -2
- package/lib/directives/click-draggable/index.js.map +0 -1
- package/lib/directives/click-icon-copy/index.d.ts +0 -2
- package/lib/directives/click-icon-copy/index.js +0 -2
- package/lib/directives/click-icon-copy/index.js.map +0 -1
- package/lib/directives/click-longpress/index.d.ts +0 -2
- package/lib/directives/click-longpress/index.js +0 -2
- package/lib/directives/click-longpress/index.js.map +0 -1
- package/lib/directives/click-throttle/index.d.ts +0 -2
- package/lib/directives/click-throttle/index.js +0 -2
- package/lib/directives/click-throttle/index.js.map +0 -1
- package/lib/directives/index.d.ts +0 -6
- package/lib/directives/index.js +0 -1
- package/lib/element-plus.d.ts +0 -2
- package/lib/element-plus.js +0 -2
- package/lib/element-plus.js.map +0 -1
- package/lib/hooks/index.d.ts +0 -3
- package/lib/hooks/index.js +0 -1
- package/lib/hooks/use-loading/index.d.ts +0 -4
- package/lib/hooks/use-loading/index.js +0 -2
- package/lib/hooks/use-loading/index.js.map +0 -1
- package/lib/hooks/use-overlay/index.d.ts +0 -4
- package/lib/hooks/use-overlay/index.js +0 -2
- package/lib/hooks/use-overlay/index.js.map +0 -1
- package/lib/hooks/use-screenFull/index.d.ts +0 -7
- package/lib/hooks/use-screenFull/index.js +0 -2
- package/lib/hooks/use-screenFull/index.js.map +0 -1
- package/lib/index.d.ts +0 -14
- package/lib/index.es.d.ts +0 -6
- package/lib/index.js +0 -2
- package/lib/index.js.map +0 -1
- package/lib/make-installer.d.ts +0 -6
- package/lib/make-installer.js +0 -2
- package/lib/make-installer.js.map +0 -1
- package/lib/version.d.ts +0 -1
- package/lib/version.js +0 -2
- package/lib/version.js.map +0 -1
- package/styles/common/animation.scss +0 -46
- package/styles/common/common.scss +0 -44
- package/styles/common/loading.scss +0 -29
- package/styles/common/overlay.scss +0 -12
- package/styles/components/carNumber.scss +0 -44
- package/styles/components/contextMenu.scss +0 -34
- package/styles/components/dialog.scss +0 -88
- package/styles/components/drawer.scss +0 -87
- package/styles/components/form.scss +0 -44
- package/styles/components/formItemTip.scss +0 -7
- package/styles/components/image.scss +0 -19
- package/styles/components/select.scss +0 -35
- package/styles/components/selectPage.scss +0 -44
- package/styles/components/selectV2.scss +0 -22
- package/styles/components/table.scss +0 -440
- package/styles/components/tree.scss +0 -115
- package/styles/components/uploadImage.scss +0 -61
- package/styles/components/uploadImages.scss +0 -9
- package/styles/index.scss +0 -19
- package/types/components.d.ts +0 -145
- package/types/env.d.ts +0 -17
- /package/{es/components/contextMenu/src/contextMenu.type.mjs → dist/global.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableColumn.mjs","names":[],"sources":["../../../../src/components/table/src/tableColumn.tsx"],"sourcesContent":["import { Fragment, computed, defineComponent, h, inject, resolveComponent, watch } from \"vue\";\nimport { CopyDocument } from \"@element-plus/icons-vue\";\nimport { ElIcon, ElImage, ElMessage, ElTableColumn, ElTag, ElText, dayjs, useGlobalSize } from \"element-plus\";\nimport { isArray, isFunction, isNil, isNumber, isObject, isString } from \"lodash-unified\";\nimport { copy as copyToClipboard, definePropType, formatChineseRelativeTime, makeSlots, useProps, useRender } from \"../../../utils\";\nimport FaImage from \"../../image\";\nimport artwork from \"../images/artwork.png\";\nimport notImage from \"../images/notImage.png\";\nimport { tableUtil } from \"../utils/table\";\nimport { getTableDefaultSlots } from \"./table.type\";\nimport { enumMapKey, tableStateKey } from \"./useTable\";\nimport type { FaTableRow } from \"./table.state\";\nimport type {\n\tFaTableColumnCtx,\n\tFaTableColumnDateFormat,\n\tFaTableColumnType,\n\tFaTableDefaultSlotsResult,\n\tFaTableEnumColumnCtx,\n\tFaTableEnumColumnType,\n} from \"./table.type\";\nimport type { TableColumnCtx } from \"element-plus\";\nimport type { ComputedRef, PropType, VNode } from \"vue\";\n\ntype DefaultRow = FaTableRow;\n\n/** FaTableColumn 的运行时 Props 定义。 */\nexport const tableColumnProps = {\n\t/**\n\t * @description type of the column. If set to `selection`, the column will display checkbox. If set to `index`, the column will display index of the row (staring from 1). If set to `expand`, the column will display expand icon\n\t */\n\ttype: {\n\t\ttype: String,\n\t\tdefault: \"default\",\n\t},\n\t/**\n\t * @description column label\n\t */\n\tlabel: String,\n\t/**\n\t * @description class name of cells in the column\n\t */\n\tclassName: String,\n\t/**\n\t * @description class name of the label of this column\n\t */\n\tlabelClassName: String,\n\t/**\n\t * @description\n\t */\n\tproperty: String,\n\t/**\n\t * @description field name. You can also use its alias: `property`\n\t */\n\tprop: String,\n\t/**\n\t * @description column width\n\t */\n\twidth: {\n\t\ttype: [String, Number],\n\t\tdefault: \"\",\n\t},\n\t/**\n\t * @description column minimum width. Columns with `width` has a fixed width, while columns with `min-width` has a width that is distributed in proportion\n\t */\n\tminWidth: {\n\t\ttype: [String, Number],\n\t\tdefault: \"\",\n\t},\n\t/**\n\t * @description render function for table header of this column\n\t */\n\trenderHeader: Function as PropType<TableColumnCtx<DefaultRow>[\"renderHeader\"]>,\n\t/**\n\t * @description whether column can be sorted. Remote sorting can be done by setting this attribute to 'custom' and listening to the `sort-change` event of Table\n\t */\n\tsortable: {\n\t\ttype: [Boolean, String],\n\t\tdefault: false,\n\t},\n\t/**\n\t * @description sorting method, works when `sortable` is `true`. Should return a number, just like Array.sort\n\t */\n\tsortMethod: Function as PropType<TableColumnCtx<DefaultRow>[\"sortMethod\"]>,\n\t/**\n\t * @description specify which property to sort by, works when `sortable` is `true` and `sort-method` is `undefined`. If set to an Array, the column will sequentially sort by the next property if the previous one is equal\n\t */\n\tsortBy: [String, Function, Array] as PropType<TableColumnCtx<DefaultRow>[\"sortBy\"]>,\n\t/**\n\t * @description whether column width can be resized, works when `border` of `el-table` is `true`\n\t */\n\tresizable: {\n\t\ttype: Boolean,\n\t\tdefault: true,\n\t},\n\t/**\n\t * @description column's key. If you need to use the filter-change event, you need this attribute to identify which column is being filtered\n\t */\n\tcolumnKey: String,\n\t/**\n\t * @description alignment, the value should be 'left' \\/ 'center' \\/ 'right'\n\t */\n\talign: String,\n\t/**\n\t * @description alignment of the table header. If omitted, the value of the above `align` attribute will be applied, the value should be 'left' \\/ 'center' \\/ 'right'\n\t */\n\theaderAlign: String,\n\t/**\n\t * @description whether to hide extra content and show them in a tooltip when hovering on the cell\n\t */\n\tshowOverflowTooltip: {\n\t\ttype: [Boolean, Object] as PropType<TableColumnCtx<DefaultRow>[\"showOverflowTooltip\"]>,\n\t\tdefault: undefined,\n\t},\n\t/** @description function that formats cell tooltip content, works when show-overflow-tooltip is enabled */\n\ttooltipFormatter: Function as PropType<TableColumnCtx<DefaultRow>[\"tooltipFormatter\"]>,\n\t/**\n\t * @description whether column is fixed at left / right. Will be fixed at left if `true`\n\t */\n\tfixed: [Boolean, String],\n\t/**\n\t * @description function that formats cell content\n\t */\n\tformatter: Function as PropType<TableColumnCtx<DefaultRow>[\"formatter\"]>,\n\t/**\n\t * @description function that determines if a certain row can be selected, works when `type` is 'selection'\n\t */\n\tselectable: Function as PropType<TableColumnCtx<DefaultRow>[\"selectable\"]>,\n\t/**\n\t * @description whether to reserve selection after data refreshing, works when `type` is 'selection'. Note that `row-key` is required for this to work\n\t */\n\treserveSelection: Boolean,\n\t/**\n\t * @description data filtering method. If `filter-multiple` is on, this method will be called multiple times for each row, and a row will display if one of the calls returns `true`\n\t */\n\tfilterMethod: Function as PropType<TableColumnCtx<DefaultRow>[\"filterMethod\"]>,\n\t/**\n\t * @description filter value for selected data, might be useful when table header is rendered with `render-header`\n\t */\n\tfilteredValue: Array as PropType<TableColumnCtx<DefaultRow>[\"filteredValue\"]>,\n\t/**\n\t * @description an array of data filtering options. For each element in this array, `text` and `value` are required\n\t */\n\tfilters: Array as PropType<TableColumnCtx<DefaultRow>[\"filters\"]>,\n\t/**\n\t * @description placement for the filter dropdown\n\t */\n\tfilterPlacement: String,\n\t/**\n\t * @description whether data filtering supports multiple options\n\t */\n\tfilterMultiple: {\n\t\ttype: Boolean,\n\t\tdefault: true,\n\t},\n\t/**\n\t * @description className for the filter dropdown\n\t */\n\tfilterClassName: String,\n\t/**\n\t * @description customize indices for each row, works on columns with `type=index`\n\t */\n\tindex: [Number, Function] as PropType<TableColumnCtx<DefaultRow>[\"index\"]>,\n\t/**\n\t * @description the order of the sorting strategies used when sorting the data, works when `sortable` is `true`. Accepts an array, as the user clicks on the header, the column is sorted in order of the elements in the array\n\t */\n\tsortOrders: {\n\t\ttype: Array as PropType<TableColumnCtx<DefaultRow>[\"sortOrders\"]>,\n\t\tdefault: (): TableColumnCtx<DefaultRow>[\"sortOrders\"] => {\n\t\t\treturn [\"ascending\", \"descending\", null];\n\t\t},\n\t\tvalidator: (val: TableColumnCtx<DefaultRow>[\"sortOrders\"]): boolean => {\n\t\t\treturn (val ?? []).every((order) => order === \"ascending\" || order === \"descending\" || order === null);\n\t\t},\n\t},\n};\n\n/** FaTableColumn 插槽返回的行列上下文。 */\nexport interface FaTableColumnSlotsResult {\n\t/** @description slots为表格内容的时候才会返回 */\n\trow?: DefaultRow;\n\t/** @description slot为表头内容的时候返回 'TableColumnCtx<any>' 否则返回 'FaTableColumnCtx' */\n\tcolumn?: TableColumnCtx<DefaultRow> | FaTableColumnCtx;\n\t$index?: number;\n}\n\ntype FaTableColumnDefaultSlots = Record<string, FaTableDefaultSlotsResult & FaTableColumnSlotsResult>;\n\n/** FaTableColumn 的固定插槽和动态命名插槽。 */\nexport type FaTableColumnSlots = Record<string, unknown> & {\n\t/** @description 默认内容插槽 */\n\tdefault: FaTableDefaultSlotsResult & { row: DefaultRow; column: FaTableColumnCtx; $index: number };\n\t/** @description 自定义表头的内容 */\n\theader: FaTableDefaultSlotsResult & { column: FaTableColumnCtx; $index: number };\n\t/** @description 自定义 filter 图标 */\n\tfilterIcon: FaTableDefaultSlotsResult & { filterOpened: boolean };\n\t/** @description 展开列的自定义内容 */\n\texpand: FaTableDefaultSlotsResult & { expanded: boolean };\n} & FaTableColumnDefaultSlots;\n\nexport default defineComponent({\n\tname: \"FaTableColumn\",\n\tprops: {\n\t\t...tableColumnProps,\n\t\t/**\n\t\t * @description type of the column. If set to `selection`, the column will display checkbox. If set to `index`, the column will display index of the row (staring from 1). If set to `expand`, the column will display expand icon\n\t\t */\n\t\ttype: {\n\t\t\ttype: definePropType<FaTableColumnType>(String),\n\t\t\tdefault: \"default\",\n\t\t},\n\t\t/**\n\t\t * @description column width\n\t\t */\n\t\twidth: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: \"auto\",\n\t\t},\n\t\t/** @description alignment, the value should be 'left' \\/ 'center' \\/ 'right' */\n\t\talign: {\n\t\t\ttype: String,\n\t\t\tdefault: \"left\",\n\t\t},\n\t\t/** @description alignment of the table header. If omitted, the value of the above `align` attribute will be applied, the value should be 'left' \\/ 'center' \\/ 'right' */\n\t\theaderAlign: {\n\t\t\ttype: String,\n\t\t\tdefault: \"left\",\n\t\t},\n\t\t/** @description 是否显示在表格当中 */\n\t\tshow: Boolean,\n\t\t/** @description 小页面的宽度,如果为空,则继承默认宽度 */\n\t\tsmallWidth: {\n\t\t\ttype: [String, Number],\n\t\t},\n\t\t/** @description 自适应宽度 */\n\t\tautoWidth: Boolean,\n\t\t/** @description 插槽名称 */\n\t\tslot: String,\n\t\t/** @description 表格头部插槽名称 */\n\t\theaderSlot: String,\n\t\t/** @description 自定义表头内容渲染(tsx语法) */\n\t\theaderRender: {\n\t\t\ttype: definePropType<({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number } & FaTableDefaultSlotsResult) => VNode[]>(\n\t\t\t\tFunction\n\t\t\t),\n\t\t},\n\t\t/** @description 自定义单元格内容渲染(tsx语法) */\n\t\trender: {\n\t\t\ttype: definePropType<\n\t\t\t\t({ row, column, $index }: { row: DefaultRow; column: FaTableColumnCtx; $index: number } & FaTableDefaultSlotsResult) => VNode[]\n\t\t\t>(Function),\n\t\t},\n\t\t/** @description 多级表头 */\n\t\t_children: {\n\t\t\ttype: definePropType<FaTableColumnCtx[]>(Array),\n\t\t},\n\t\t/** @description 隐藏图片 */\n\t\thideImage: Boolean,\n\t\t/** @description 复制 */\n\t\tcopy: Boolean,\n\t\t/** @description 是否为 Link Button */\n\t\tlink: Boolean,\n\t\t/** @description 合并行字段 */\n\t\tspanProp: String,\n\t\t/** @description Link 按钮的点击事件,优先级最高 */\n\t\tclick: {\n\t\t\ttype: definePropType<({ row, $index }: { row: DefaultRow; $index?: number } & FaTableDefaultSlotsResult) => void>(Function),\n\t\t},\n\t\t/** @description 点击Emits事件回调 */\n\t\tclickEmit: String,\n\t\t/** @description 图片列是否显示为原图,默认 false 显示缩略图 */\n\t\toriginalImage: Boolean,\n\t\t/** @description 显示时间格式化字符串 */\n\t\tdateFix: Boolean,\n\t\t/** @description 显示在页面中的日期格式 */\n\t\tdateFormat: {\n\t\t\ttype: definePropType<FaTableColumnDateFormat>(String),\n\t\t},\n\t\t/** @description 是否是标签展示 */\n\t\ttag: Boolean,\n\t\t/** @description 枚举类型(渲染值的字典) */\n\t\tenum: {\n\t\t\ttype: definePropType<FaTableEnumColumnType>([String, Array, Function]),\n\t\t},\n\t\t/** @description 数据删除字段,如果为 true 会显示遮罩层 */\n\t\tdataDeleteField: String,\n\t\t/** @description 时间信息字段 */\n\t\ttimeInfoField: {\n\t\t\ttype: definePropType<{ userName?: string; time?: string }>(Object),\n\t\t\tdefault: () => ({\n\t\t\t\tuserName: \"createdUserName\",\n\t\t\t\ttime: \"createdTime\",\n\t\t\t}),\n\t\t},\n\t},\n\temits: {\n\t\t/** @description 图片预览 */\n\t\timagePreview: (url: string): boolean => isString(url),\n\t\t/** @description 自定义单元格点击事件 */\n\t\tcustomCellClick: (emitName: string, { row, column, $index }: { row: DefaultRow; column: FaTableColumnCtx; $index: number }): boolean =>\n\t\t\t(isNil(emitName) || isString(emitName)) && isObject(row) && isObject(column) && isNumber($index),\n\t},\n\tslots: makeSlots<FaTableColumnSlots>(),\n\tsetup(props, { slots, emit }) {\n\t\tconst _globalSize = useGlobalSize();\n\t\tconst tableState = inject(tableStateKey);\n\t\tconst enumMap = inject(enumMapKey);\n\t\tif (tableState === undefined || enumMap === undefined) {\n\t\t\tthrow new Error(\"FaTableColumn 必须在 FaTable 内部渲染。\");\n\t\t}\n\n\t\tconst columnCtx = computed(() => props as unknown as FaTableColumnCtx);\n\n\t\t/** 获取ClassName */\n\t\tconst getClassName = (): string => {\n\t\t\tlet className = \"\";\n\t\t\tif (props.type === \"timeInfo\") {\n\t\t\t\tclassName += \"fa-table__line-height-normal-column\";\n\t\t\t}\n\t\t\tif (props.type === \"date\" || props.type === \"time\" || props.type === \"dateTime\") {\n\t\t\t\tif (props.dateFix) {\n\t\t\t\t\tclassName += \"fa-table__line-height-normal-column\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (props.className) {\n\t\t\t\treturn `${className} ${props.className}`;\n\t\t\t}\n\t\t\treturn className;\n\t\t};\n\n\t\t/** 获取宽度 */\n\t\tconst getWidth = (defAttr: string): string | number => {\n\t\t\tif (props.autoWidth) {\n\t\t\t\treturn computed(() => {\n\t\t\t\t\tconst findInfo = tableState.autoColumnWidth.find((f) => f.prop === props.prop);\n\t\t\t\t\tif (findInfo) {\n\t\t\t\t\t\treturn `${findInfo.width}px`;\n\t\t\t\t\t}\n\t\t\t\t\treturn \"auto\";\n\t\t\t\t}).value;\n\t\t\t}\n\t\t\tif (_globalSize.value === \"small\") {\n\t\t\t\treturn props.smallWidth ?? props.width ?? props.minWidth ?? defAttr ?? \"auto\";\n\t\t\t}\n\t\t\treturn props.width ?? props.minWidth ?? defAttr ?? \"auto\";\n\t\t};\n\n\t\t/** 表头自动宽度渲染 */\n\t\tconst autoWidthHeaderRender = (el: VNode[]): VNode[] => {\n\t\t\tif (props.autoWidth) {\n\t\t\t\treturn [\n\t\t\t\t\t<div class={[\"fa-table__auto-width-column__cell-header\", `__fa-table__auto-width-column__cell-header__${props.prop}`]}>{el}</div>,\n\t\t\t\t];\n\t\t\t} else {\n\t\t\t\treturn el;\n\t\t\t}\n\t\t};\n\n\t\t/** 自动宽度渲染 */\n\t\tconst autoWidthRender = (el: VNode[]): VNode[] => {\n\t\t\tif (props.autoWidth) {\n\t\t\t\treturn [<div class={[\"fa-table__auto-width-column__cell\", `__fa-table__auto-width-column__cell__${props.prop}`]}>{el}</div>];\n\t\t\t} else {\n\t\t\t\treturn el;\n\t\t\t}\n\t\t};\n\n\t\t/** 表头渲染 */\n\t\tconst headerRender = ({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number }): VNode[] => {\n\t\t\tif (props.headerRender) {\n\t\t\t\treturn autoWidthHeaderRender(props.headerRender({ column, $index, ...getTableDefaultSlots(tableState) }));\n\t\t\t} else if (props.headerSlot) {\n\t\t\t\treturn autoWidthHeaderRender(slots[props.headerSlot]?.({ column, $index, ...getTableDefaultSlots(tableState) }) ?? []);\n\t\t\t} else {\n\t\t\t\treturn autoWidthHeaderRender([<span>{props.label}</span>]);\n\t\t\t}\n\t\t};\n\n\t\t/** 复制渲染 */\n\t\tconst displayText = (value: unknown): string => {\n\t\t\tif (typeof value === \"string\") return value;\n\t\t\tif (typeof value === \"number\" || typeof value === \"bigint\" || typeof value === \"boolean\") return String(value);\n\t\t\treturn \"\";\n\t\t};\n\n\t\tconst copyRender = (value: unknown, copy?: boolean): VNode[] => {\n\t\t\tif (!(props.copy || copy) || !value) return [];\n\n\t\t\treturn [\n\t\t\t\t<ElIcon\n\t\t\t\t\tclass=\"fa__copy-icon\"\n\t\t\t\t\ttitle=\"复制\"\n\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\tvoid copyToClipboard(displayText(value)).then(\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tElMessage({\n\t\t\t\t\t\t\t\t\ttype: \"success\",\n\t\t\t\t\t\t\t\t\tmessage: \"复制成功\",\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tElMessage({\n\t\t\t\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\t\t\t\tmessage: \"复制失败\",\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<CopyDocument />\n\t\t\t\t</ElIcon>,\n\t\t\t];\n\t\t};\n\n\t\t/** 渲染单元格数据 */\n\t\tconst renderCellData = ({ row }: { row: DefaultRow }): unknown => {\n\t\t\tconst cellValue = tableUtil.handleRowAccordingToProp(row, props.prop ?? \"\");\n\n\t\t\tlet enumData: FaTableEnumColumnCtx[] | undefined;\n\n\t\t\tif (isString(props.enum)) {\n\t\t\t\tenumData = enumMap.get(props.enum);\n\t\t\t} else if (isArray(props.enum)) {\n\t\t\t\tenumData = props.enum;\n\t\t\t} else if (isFunction(props.enum)) {\n\t\t\t\tenumData = props.enum({ row });\n\t\t\t}\n\n\t\t\tif (enumData) {\n\t\t\t\treturn tableUtil.filterEnum(cellValue, enumData);\n\t\t\t} else {\n\t\t\t\treturn tableUtil.formatValue(cellValue);\n\t\t\t}\n\t\t};\n\n\t\t/** 格式化渲染 */\n\t\tconst formatterRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, cellValue: unknown, index: number): VNode | string => {\n\t\t\tif (column.formatter) {\n\t\t\t\treturn column.formatter(row, column, cellValue, index);\n\t\t\t} else {\n\t\t\t\treturn displayText(cellValue);\n\t\t\t}\n\t\t};\n\n\t\t/** 时间信息列渲染 */\n\t\tconst timeInfoRender = (row: DefaultRow, _column: TableColumnCtx<DefaultRow>, _$index: number): VNode[] => {\n\t\t\tconst userName = displayText(row[props.timeInfoField?.userName ?? \"createdUserName\"]);\n\t\t\tconst time = displayText(row[props.timeInfoField?.time ?? \"createdTime\"]);\n\t\t\treturn [\n\t\t\t\t<Fragment>\n\t\t\t\t\t<div style=\"white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\" title={time}>\n\t\t\t\t\t\t{userName && <span style=\"margin-right: 5px;\">{userName}</span>}\n\t\t\t\t\t\t<span>{time}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t{time && (\n\t\t\t\t\t\t<ElTag type=\"info\" round effect=\"light\" size=\"small\">\n\t\t\t\t\t\t\t{formatChineseRelativeTime(time)}\n\t\t\t\t\t\t</ElTag>\n\t\t\t\t\t)}\n\t\t\t\t</Fragment>,\n\t\t\t];\n\t\t};\n\n\t\t/** 标签列渲染 */\n\t\tconst tagRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, $index: number): VNode[] => {\n\t\t\tconst renderValue = formatterRender(row, column, renderCellData({ row }), $index);\n\n\t\t\tlet enumData: FaTableEnumColumnCtx[] | undefined;\n\n\t\t\tif (isString(props.enum)) {\n\t\t\t\tenumData = enumMap.get(props.enum);\n\t\t\t} else if (isArray(props.enum)) {\n\t\t\t\tenumData = props.enum;\n\t\t\t} else if (isFunction(props.enum)) {\n\t\t\t\tenumData = props.enum({ row });\n\t\t\t}\n\n\t\t\tconst enumValue = tableUtil.handleRowAccordingToProp(row, props.prop ?? \"\");\n\t\t\tconst type = enumData?.find((item) => item.value === enumValue)?.type ?? \"info\";\n\t\t\treturn [\n\t\t\t\t<Fragment>\n\t\t\t\t\t{copyRender(renderValue)}\n\t\t\t\t\t{renderValue ? <ElTag type={type}>{renderValue}</ElTag> : null}\n\t\t\t\t</Fragment>,\n\t\t\t];\n\t\t};\n\n\t\t/** 时间列渲染 */\n\t\tconst dateRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, $index: number): VNode[] => {\n\t\t\tlet dateFormat;\n\t\t\tswitch (props.type) {\n\t\t\t\tcase \"date\":\n\t\t\t\t\tdateFormat = \"YYYY-MM-DD\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"time\":\n\t\t\t\t\tdateFormat = \"HH:mm:ss\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"dateTime\":\n\t\t\t\t\tdateFormat = \"YYYY-MM-DD HH:mm:ss\";\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconst rawValue = row[props.prop ?? \"\"];\n\t\t\tconst renderValue = rawValue\n\t\t\t\t? formatterRender(row, column, dayjs(displayText(rawValue)).format(props.dateFormat ?? dateFormat), $index)\n\t\t\t\t: null;\n\t\t\treturn [\n\t\t\t\t<Fragment>\n\t\t\t\t\t{copyRender(renderValue)}\n\t\t\t\t\t{renderValue}\n\t\t\t\t\t{props.dateFix && renderValue && (\n\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t<ElTag type=\"info\" round effect=\"light\" size=\"small\">\n\t\t\t\t\t\t\t\t{formatChineseRelativeTime(displayText(renderValue))}\n\t\t\t\t\t\t\t</ElTag>\n\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t)}\n\t\t\t\t</Fragment>,\n\t\t\t];\n\t\t};\n\n\t\t/** 数值列渲染 */\n\t\tconst numberRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, $index: number): VNode[] => {\n\t\t\tconst renderValue = row[props.prop ?? \"\"];\n\t\t\tif (!renderValue || !isNumber(renderValue)) {\n\t\t\t\treturn [<Fragment>{formatterRender(row, column, renderValue, $index)}</Fragment>];\n\t\t\t}\n\t\t\tlet useGrouping = false;\n\t\t\tlet maximumFractionDigits = 2;\n\t\t\tswitch (props.type) {\n\t\t\t\tcase \"d2\":\n\t\t\t\t\tmaximumFractionDigits = 2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"d4\":\n\t\t\t\t\tmaximumFractionDigits = 4;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"d6\":\n\t\t\t\t\tmaximumFractionDigits = 6;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gd2\":\n\t\t\t\t\tmaximumFractionDigits = 2;\n\t\t\t\t\tuseGrouping = true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gd4\":\n\t\t\t\t\tmaximumFractionDigits = 4;\n\t\t\t\t\tuseGrouping = true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gd6\":\n\t\t\t\t\tmaximumFractionDigits = 6;\n\t\t\t\t\tuseGrouping = true;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\treturn [\n\t\t\t\t<Fragment>\n\t\t\t\t\t{formatterRender(\n\t\t\t\t\t\trow,\n\t\t\t\t\t\tcolumn,\n\t\t\t\t\t\trenderValue.toLocaleString(\"zh-CN\", {\n\t\t\t\t\t\t\tminimumFractionDigits: 2,\n\t\t\t\t\t\t\tmaximumFractionDigits,\n\t\t\t\t\t\t\tuseGrouping,\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t$index\n\t\t\t\t\t)}\n\t\t\t\t</Fragment>,\n\t\t\t];\n\t\t};\n\n\t\t/** 链接列渲染 */\n\t\tconst linkRender = (row: DefaultRow, column: TableColumnCtx<DefaultRow>, $index: number): VNode[] => {\n\t\t\tconst renderValue = formatterRender(row, column, row[props.prop ?? \"\"], $index);\n\t\t\treturn autoWidthRender([\n\t\t\t\t<Fragment>\n\t\t\t\t\t{copyRender(renderValue)}\n\t\t\t\t\t{renderValue && (\n\t\t\t\t\t\t<ElText\n\t\t\t\t\t\t\tclass={\"el-link is-hover-underline fa-table__link-column__text\"}\n\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\t// 数据删除拦截点击\n\t\t\t\t\t\t\t\tif (props.dataDeleteField && row[props.dataDeleteField] === true) return;\n\t\t\t\t\t\t\t\tif (props.click) {\n\t\t\t\t\t\t\t\t\tprops.click({ row, $index, ...getTableDefaultSlots(tableState) });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\temit(\"customCellClick\", props.clickEmit ?? \"\", {\n\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\tcolumn: columnCtx.value,\n\t\t\t\t\t\t\t\t\t\t$index,\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{renderValue}\n\t\t\t\t\t\t</ElText>\n\t\t\t\t\t)}\n\t\t\t\t</Fragment>,\n\t\t\t]);\n\t\t};\n\n\t\tconst defaultRender = ({ row, column, $index }: { row: DefaultRow; column: TableColumnCtx<DefaultRow>; $index: number }): VNode[] => {\n\t\t\tif (props.type === \"timeInfo\") {\n\t\t\t\treturn timeInfoRender(row, column, $index);\n\t\t\t}\n\t\t\tif (props.tag) {\n\t\t\t\treturn tagRender(row, column, $index);\n\t\t\t}\n\t\t\tif (props.type === \"date\" || props.type === \"time\" || props.type === \"dateTime\") {\n\t\t\t\treturn dateRender(row, column, $index);\n\t\t\t}\n\t\t\tif (\n\t\t\t\tprops.type === \"d2\" ||\n\t\t\t\tprops.type === \"d4\" ||\n\t\t\t\tprops.type === \"d6\" ||\n\t\t\t\tprops.type === \"gd2\" ||\n\t\t\t\tprops.type === \"gd4\" ||\n\t\t\t\tprops.type === \"gd6\"\n\t\t\t) {\n\t\t\t\treturn numberRender(row, column, $index);\n\t\t\t}\n\t\t\tif (props.link) {\n\t\t\t\treturn linkRender(row, column, $index);\n\t\t\t}\n\t\t\tif (props.render) {\n\t\t\t\treturn autoWidthRender(props.render({ row, column: columnCtx.value, $index, ...getTableDefaultSlots(tableState) }));\n\t\t\t}\n\t\t\tif (props.slot) {\n\t\t\t\treturn autoWidthRender(slots[props.slot]?.({ row, column: columnCtx.value, $index, ...getTableDefaultSlots(tableState) }) ?? []);\n\t\t\t}\n\t\t\tconst renderValue = formatterRender(row, column, row[props.prop ?? \"\"], $index);\n\t\t\treturn autoWidthRender([\n\t\t\t\t<Fragment>\n\t\t\t\t\t{copyRender(renderValue)}\n\t\t\t\t\t{renderValue}\n\t\t\t\t</Fragment>,\n\t\t\t]);\n\t\t};\n\n\t\tlet elTableColumnProps: ComputedRef<TableColumnCtx<DefaultRow>> = useProps(props, tableColumnProps, [\n\t\t\t\"type\",\n\t\t\t\"width\",\n\t\t\t\"minWidth\",\n\t\t\t\"sortable\",\n\t\t\t\"sortOrders\",\n\t\t\t\"resizable\",\n\t\t\t\"showOverflowTooltip\",\n\t\t]) as unknown as ComputedRef<TableColumnCtx<DefaultRow>>;\n\n\t\twatch(\n\t\t\t() => props,\n\t\t\t() => {\n\t\t\t\telTableColumnProps = useProps(props, tableColumnProps, [\n\t\t\t\t\t\"type\",\n\t\t\t\t\t\"className\",\n\t\t\t\t\t\"minWidth\",\n\t\t\t\t\t\"sortable\",\n\t\t\t\t\t\"sortOrders\",\n\t\t\t\t\t\"resizable\",\n\t\t\t\t\t\"showOverflowTooltip\",\n\t\t\t\t]) as unknown as ComputedRef<TableColumnCtx<DefaultRow>>;\n\t\t\t}\n\t\t);\n\n\t\tuseRender(() => (\n\t\t\t<Fragment>\n\t\t\t\t{\n\t\t\t\t\t// 如果有配置多级表头的数据,则递归该组件\n\t\t\t\t\tprops._children?.length ? (\n\t\t\t\t\t\t<ElTableColumn\n\t\t\t\t\t\t\t{...elTableColumnProps.value}\n\t\t\t\t\t\t\tclassName={getClassName()}\n\t\t\t\t\t\t\tminWidth={getWidth(\"auto\")}\n\t\t\t\t\t\t\tsortable={props.sortable ? \"custom\" : false}\n\t\t\t\t\t\t\tsortOrders={props.sortOrders ?? [\"descending\", \"ascending\", null]}\n\t\t\t\t\t\t\tresizable={props.resizable && !props.autoWidth}\n\t\t\t\t\t\t\tshowOverflowTooltip={(props.showOverflowTooltip ?? true) && !props.autoWidth && props.type === \"default\"}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\theader: ({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\theaderRender({ column, $index }),\n\t\t\t\t\t\t\t\tdefault: () =>\n\t\t\t\t\t\t\t\t\t(props._children ?? []).map((col: FaTableColumnCtx) =>\n\t\t\t\t\t\t\t\t\t\th(\n\t\t\t\t\t\t\t\t\t\t\tresolveComponent(\"FaTableColumn\"),\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t...col,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\tslots\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t) : props.type === \"image\" ? (\n\t\t\t\t\t\t<ElTableColumn\n\t\t\t\t\t\t\t{...elTableColumnProps.value}\n\t\t\t\t\t\t\talign=\"center\"\n\t\t\t\t\t\t\tclassName=\"fa-table__image-column\"\n\t\t\t\t\t\t\tminWidth=\"50px\"\n\t\t\t\t\t\t\tsortable={false}\n\t\t\t\t\t\t\tresizable={false}\n\t\t\t\t\t\t\tshowOverflowTooltip={false}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\theader: ({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\theaderRender({ column, $index }),\n\t\t\t\t\t\t\t\tdefault: ({ row }: { row: DefaultRow; column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\trow[props.prop ?? \"\"] ? (\n\t\t\t\t\t\t\t\t\t\tprops.hideImage ? (\n\t\t\t\t\t\t\t\t\t\t\t<ElImage\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"fa-image\"\n\t\t\t\t\t\t\t\t\t\t\t\tlazy\n\t\t\t\t\t\t\t\t\t\t\t\tsrc={artwork}\n\t\t\t\t\t\t\t\t\t\t\t\tfit=\"cover\"\n\t\t\t\t\t\t\t\t\t\t\t\tpreviewSrcList={[displayText(row[props.prop ?? \"\"])]}\n\t\t\t\t\t\t\t\t\t\t\t\tcloseOnPressEscape\n\t\t\t\t\t\t\t\t\t\t\t\thideOnClickModal\n\t\t\t\t\t\t\t\t\t\t\t\tpreviewTeleported\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<FaImage lazy src={displayText(row[props.prop ?? \"\"])} fit=\"cover\" original={props.originalImage} thumb />\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t<ElImage class=\"fa-image\" lazy src={notImage} fit=\"cover\" />\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t// 其他正常的列\n\t\t\t\t\t\t<ElTableColumn\n\t\t\t\t\t\t\t{...elTableColumnProps.value}\n\t\t\t\t\t\t\ttype={props.type === \"selection\" || props.type === \"index\" || props.type === \"expand\" ? props.type : \"default\"}\n\t\t\t\t\t\t\tclassName={getClassName()}\n\t\t\t\t\t\t\tminWidth={getWidth(\"auto\")}\n\t\t\t\t\t\t\tsortable={props.sortable ? \"custom\" : false}\n\t\t\t\t\t\t\tsortOrders={props.sortOrders ?? [\"descending\", \"ascending\", null]}\n\t\t\t\t\t\t\tresizable={props.resizable && !props.autoWidth}\n\t\t\t\t\t\t\tshowOverflowTooltip={(props.showOverflowTooltip ?? true) && !props.autoWidth && props.type === \"default\"}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\theader: ({ column, $index }: { column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\tslots.header\n\t\t\t\t\t\t\t\t\t\t? slots.header({ column: columnCtx.value, $index, ...getTableDefaultSlots(tableState) })\n\t\t\t\t\t\t\t\t\t\t: headerRender({ column, $index }),\n\t\t\t\t\t\t\t\tdefault: ({ row, column, $index }: { row: DefaultRow; column: TableColumnCtx<DefaultRow>; $index: number }) =>\n\t\t\t\t\t\t\t\t\tslots.default\n\t\t\t\t\t\t\t\t\t\t? slots.default({ row, column: columnCtx.value, $index, ...getTableDefaultSlots(tableState) })\n\t\t\t\t\t\t\t\t\t\t: defaultRender({ row, column, $index }),\n\t\t\t\t\t\t\t\tfilterIcon: ({ filterOpened }: { filterOpened: boolean }) =>\n\t\t\t\t\t\t\t\t\tslots.filterIcon?.({ filterOpened, ...getTableDefaultSlots(tableState) }),\n\t\t\t\t\t\t\t\texpand: ({ expanded }: { expanded: boolean }) => slots.expand?.({ expanded, ...getTableDefaultSlots(tableState) }),\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t</Fragment>\n\t\t));\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBwD,SAAA,QAAA,GAAA;CAAA,OAAA,OAAA,MAAA,cAAA,OAAA,UAAA,SAAA,KAAA,CAAA,MAAA,qBAAA,CAAA,QAAA,CAAA;AAAA;;AAKxD,MAAa,mBAAmB;;;;CAI/B,MAAM;EACL,MAAM;EACN,SAAS;CACV;;;;CAIA,OAAO;;;;CAIP,WAAW;;;;CAIX,gBAAgB;;;;CAIhB,UAAU;;;;CAIV,MAAM;;;;CAIN,OAAO;EACN,MAAM,CAAC,QAAQ,MAAM;EACrB,SAAS;CACV;;;;CAIA,UAAU;EACT,MAAM,CAAC,QAAQ,MAAM;EACrB,SAAS;CACV;;;;CAIA,cAAc;;;;CAId,UAAU;EACT,MAAM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A,IAIJ,YAAA,eAAA,WAEK,mBAAmB,OAAK;GAAA,QACtB,MAAM,SAAS,eAAe,MAAM,SAAS,WAAW,MAAM,SAAS,WAAW,MAAM,OAAO;GAAS,aACnG,aAAa;GAAC,YACf,SAAS,MAAM;GAAC,YAChB,MAAM,WAAW,WAAW;GAAK,cAC/B,MAAM,cAAc;IAAC;IAAc;IAAa;GAAI;GAAC,aACtD,MAAM,aAAa,CAAC,MAAM;GAAS,wBACxB,MAAM,uBAAuB,SAAS,CAAC,MAAM,aAAa,MAAM,SAAS;EAAS,CAAA,GAAA;GAGvG,SAAS,EAAE,QAAQ,aAClB,MAAM,SACH,MAAM,OAAO;IAAE,QAAQ,UAAU;IAAO;IAAQ,GAAG,qBAAqB,UAAU;GAAE,CAAC,IACrF,aAAa;IAAE;IAAQ;GAAO,CAAC;GACnC,UAAU,EAAE,KAAK,QAAQ,aACxB,MAAM,UACH,MAAM,QAAQ;IAAE;IAAK,QAAQ,UAAU;IAAO;IAAQ,GAAG,qBAAqB,UAAU;GAAE,CAAC,IAC3F,cAAc;IAAE;IAAK;IAAQ;GAAO,CAAC;GACzC,aAAa,EAAE,mBACd,MAAM,aAAa;IAAE;IAAc,GAAG,qBAAqB,UAAU;GAAE,CAAC;GACzE,SAAS,EAAE,eAAsC,MAAM,SAAS;IAAE;IAAU,GAAG,qBAAqB,UAAU;GAAE,CAAC;EAAC,CAAA,CAGpH,CAAA,CAGH;CACF;AACD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { FaTableColumnCtx } from "./table.type";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
/** @description 改变 */
|
|
4
|
+
change: {
|
|
5
|
+
type: import("vue").PropType<(columns: FaTableColumnCtx[]) => Promise<void>>;
|
|
6
|
+
};
|
|
7
|
+
}>, {
|
|
8
|
+
/** @description 打开 */
|
|
9
|
+
open: () => void;
|
|
10
|
+
/** @description 列改变 */
|
|
11
|
+
change: () => Promise<void>;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
/** @description 改变 */
|
|
14
|
+
change: {
|
|
15
|
+
type: import("vue").PropType<(columns: FaTableColumnCtx[]) => Promise<void>>;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { randomString } from "../../../utils/string/index.mjs";
|
|
2
|
+
import { useExpose } from "../../../utils/vue/expose.mjs";
|
|
3
|
+
import { definePropType } from "../../../utils/vue/props.mjs";
|
|
4
|
+
import { useRender } from "../../../utils/vue/render.mjs";
|
|
5
|
+
import { withDefineType } from "../../../utils/vue/with.mjs";
|
|
6
|
+
import { FaDialog } from "../../dialog/index.mjs";
|
|
7
|
+
import { tableStateKey } from "./useTable.mjs";
|
|
8
|
+
import { Sortable } from "../../../node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.mjs";
|
|
9
|
+
import { Fragment, createTextVNode, createVNode, defineComponent, inject, mergeProps, onBeforeUnmount, reactive, ref } from "vue";
|
|
10
|
+
import { ElInput, ElInputNumber, ElMessage, ElNotification, ElRadio, ElRadioGroup, ElSwitch, ElTable, ElTableColumn, ElText } from "element-plus";
|
|
11
|
+
//#region src/components/table/src/tableColumnSettingDialog.tsx
|
|
12
|
+
var tableColumnSettingDialog_default = defineComponent({
|
|
13
|
+
name: "FaTableColumnsSettingDialog",
|
|
14
|
+
props: {
|
|
15
|
+
/** @description 改变 */
|
|
16
|
+
change: { type: definePropType(Function) } },
|
|
17
|
+
setup(props, { expose }) {
|
|
18
|
+
const tableState = inject(tableStateKey);
|
|
19
|
+
if (tableState === void 0) throw new Error("FaTableColumnsSettingDialog 必须在 FaTable 内部渲染。");
|
|
20
|
+
const state = reactive({
|
|
21
|
+
tableKey: randomString(8),
|
|
22
|
+
sortableInstance: withDefineType(),
|
|
23
|
+
change: false
|
|
24
|
+
});
|
|
25
|
+
const faDialogRef = ref();
|
|
26
|
+
const indexMethod = (index) => {
|
|
27
|
+
return index + 1;
|
|
28
|
+
};
|
|
29
|
+
const tableRowDrop = () => {
|
|
30
|
+
const tBody = document.querySelector(`.fa-table__column-setting-${state.tableKey} .el-table__body-wrapper tbody`);
|
|
31
|
+
if (!tBody) return;
|
|
32
|
+
if (state.sortableInstance) state.sortableInstance.destroy();
|
|
33
|
+
state.sortableInstance = new Sortable(tBody, {
|
|
34
|
+
animation: 150,
|
|
35
|
+
delay: 0,
|
|
36
|
+
onEnd(evt) {
|
|
37
|
+
const { newIndex, oldIndex } = evt;
|
|
38
|
+
if (newIndex !== void 0 && oldIndex !== void 0 && newIndex !== oldIndex) {
|
|
39
|
+
state.change = true;
|
|
40
|
+
const curRow = tableState.orgColumns.splice(oldIndex, 1)[0];
|
|
41
|
+
if (curRow) tableState.orgColumns.splice(newIndex, 0, curRow);
|
|
42
|
+
tableState.orgColumns = tableState.orgColumns.map((item, index) => {
|
|
43
|
+
return {
|
|
44
|
+
...item,
|
|
45
|
+
order: index + 1
|
|
46
|
+
};
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
const open = () => {
|
|
53
|
+
state.change = false;
|
|
54
|
+
faDialogRef.value?.open(() => {
|
|
55
|
+
tableRowDrop();
|
|
56
|
+
ElNotification({
|
|
57
|
+
message: "点击保存才会进行数据缓存,点击取消为本此生效",
|
|
58
|
+
type: "info"
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
const destroySortable = () => {
|
|
63
|
+
state.sortableInstance?.destroy();
|
|
64
|
+
state.sortableInstance = void 0;
|
|
65
|
+
};
|
|
66
|
+
onBeforeUnmount(destroySortable);
|
|
67
|
+
const handleChange = async () => {
|
|
68
|
+
if (state.change) await props.change?.(tableState.orgColumns);
|
|
69
|
+
else ElMessage.info("列配置未发生变化");
|
|
70
|
+
};
|
|
71
|
+
const handleConfirmClick = () => {
|
|
72
|
+
faDialogRef.value?.close(handleChange);
|
|
73
|
+
};
|
|
74
|
+
const handleOrderChange = () => {
|
|
75
|
+
state.change = true;
|
|
76
|
+
let orderColumns = tableState.orgColumns.filter((f) => !f?.pureSearch);
|
|
77
|
+
orderColumns = orderColumns.sort((a, b) => {
|
|
78
|
+
if (a.order !== b.order) return (a.order ?? 0) - (b.order ?? 0);
|
|
79
|
+
else return orderColumns.indexOf(b) - orderColumns.indexOf(a);
|
|
80
|
+
});
|
|
81
|
+
tableState.orgColumns = [...orderColumns, ...tableState.orgColumns.filter((f) => f?.pureSearch)];
|
|
82
|
+
tableState.orgColumns.forEach((item, index) => {
|
|
83
|
+
item.order = index + 1;
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
const handleColumnChange = () => {
|
|
87
|
+
state.change = true;
|
|
88
|
+
};
|
|
89
|
+
const autoWidthDisabled = (row, switchEl = false) => {
|
|
90
|
+
const result = {};
|
|
91
|
+
if (row?.type) switch (row?.type) {
|
|
92
|
+
case "expand":
|
|
93
|
+
result.disabled = true;
|
|
94
|
+
result.placeholder = "暂不支持宽度配置";
|
|
95
|
+
break;
|
|
96
|
+
case "image":
|
|
97
|
+
result.disabled = true;
|
|
98
|
+
result.placeholder = "图片列无需配置";
|
|
99
|
+
break;
|
|
100
|
+
case "date":
|
|
101
|
+
case "time":
|
|
102
|
+
case "dateTime":
|
|
103
|
+
result.disabled = true;
|
|
104
|
+
result.placeholder = "时间/日期列无需配置";
|
|
105
|
+
break;
|
|
106
|
+
case "timeInfo":
|
|
107
|
+
result.disabled = true;
|
|
108
|
+
result.placeholder = "当前列无需配置";
|
|
109
|
+
}
|
|
110
|
+
else if (row?.tag) {
|
|
111
|
+
result.disabled = true;
|
|
112
|
+
result.placeholder = "标签列无需配置";
|
|
113
|
+
} else if (row?.autoWidth) {
|
|
114
|
+
result.disabled = true;
|
|
115
|
+
result.placeholder = "自动列宽无需配置";
|
|
116
|
+
}
|
|
117
|
+
if (!result.disabled) return {};
|
|
118
|
+
if (switchEl) delete result.placeholder;
|
|
119
|
+
return result;
|
|
120
|
+
};
|
|
121
|
+
const pureSearchDisabled = (row, switchEl = false, orderEl = false, _radioEl = false) => {
|
|
122
|
+
const result = {};
|
|
123
|
+
if (row?.pureSearch) {
|
|
124
|
+
result.disabled = true;
|
|
125
|
+
result.placeholder = "搜索列无需配置";
|
|
126
|
+
}
|
|
127
|
+
if (!result.disabled) return {};
|
|
128
|
+
if (switchEl) delete result.placeholder;
|
|
129
|
+
if (orderEl) result.placeholder = "999";
|
|
130
|
+
return result;
|
|
131
|
+
};
|
|
132
|
+
useRender(() => createVNode(FaDialog, {
|
|
133
|
+
"ref": faDialogRef,
|
|
134
|
+
"class": "fa-table__column-setting-dialog",
|
|
135
|
+
"onConfirmClick": handleConfirmClick,
|
|
136
|
+
"showFullscreen": false,
|
|
137
|
+
"confirmButtonText": state.change ? "保存更改" : "确认",
|
|
138
|
+
"fullHeight": true,
|
|
139
|
+
"onClosed": destroySortable
|
|
140
|
+
}, {
|
|
141
|
+
header: () => createVNode(Fragment, null, [createTextVNode("列表配置(留空则恢复默认配置)"), createVNode(ElText, { "type": "info" }, { default: () => [createTextVNode("点击保存才会进行数据缓存,点击取消为本次生效")] })]),
|
|
142
|
+
default: () => createVNode(ElTable, {
|
|
143
|
+
"class": ["fa-table__column-setting", `fa-table__column-setting-${state.tableKey}`],
|
|
144
|
+
"data": tableState.orgColumns,
|
|
145
|
+
"rowKey": "prop",
|
|
146
|
+
"border": true
|
|
147
|
+
}, { default: () => createVNode(Fragment, null, [
|
|
148
|
+
createVNode(ElTableColumn, {
|
|
149
|
+
"type": "index",
|
|
150
|
+
"fixed": "left",
|
|
151
|
+
"align": "center",
|
|
152
|
+
"width": 45,
|
|
153
|
+
"index": indexMethod
|
|
154
|
+
}, null),
|
|
155
|
+
createVNode(ElTableColumn, {
|
|
156
|
+
"label": "列显示名称",
|
|
157
|
+
"minWidth": 200
|
|
158
|
+
}, { default: ({ row }) => row.type === "image" ? createVNode(ElInput, {
|
|
159
|
+
"disabled": true,
|
|
160
|
+
"readonly": true,
|
|
161
|
+
"modelValue": row.label,
|
|
162
|
+
"onUpdate:modelValue": ($event) => row.label = $event,
|
|
163
|
+
"placeholder": "请输入列显示名称",
|
|
164
|
+
"onChange": handleColumnChange
|
|
165
|
+
}, null) : createVNode(ElInput, mergeProps({
|
|
166
|
+
"modelValue": row.label,
|
|
167
|
+
"onUpdate:modelValue": ($event) => row.label = $event,
|
|
168
|
+
"placeholder": "请输入列显示名称"
|
|
169
|
+
}, pureSearchDisabled(row), { "onChange": handleColumnChange }), null) }),
|
|
170
|
+
createVNode(ElTableColumn, {
|
|
171
|
+
"label": "固定",
|
|
172
|
+
"width": 230
|
|
173
|
+
}, { default: ({ row }) => createVNode(ElRadioGroup, mergeProps({
|
|
174
|
+
"modelValue": row.fixed,
|
|
175
|
+
"onUpdate:modelValue": ($event) => row.fixed = $event
|
|
176
|
+
}, pureSearchDisabled(row, false, false, true), { "onChange": handleColumnChange }), { default: () => [
|
|
177
|
+
createVNode(ElRadio, { "value": false }, { default: () => [createTextVNode("无")] }),
|
|
178
|
+
createVNode(ElRadio, { "value": "left" }, { default: () => [createTextVNode("左侧")] }),
|
|
179
|
+
createVNode(ElRadio, { "value": "right" }, { default: () => [createTextVNode("右侧")] })
|
|
180
|
+
] }) }),
|
|
181
|
+
createVNode(ElTableColumn, {
|
|
182
|
+
"label": "宽度",
|
|
183
|
+
"width": 200
|
|
184
|
+
}, { default: ({ row }) => createVNode(ElInputNumber, mergeProps({
|
|
185
|
+
"modelValue": row.width,
|
|
186
|
+
"onUpdate:modelValue": ($event) => row.width = $event,
|
|
187
|
+
"min": 1,
|
|
188
|
+
"max": 999,
|
|
189
|
+
"stepStrictly": true,
|
|
190
|
+
"controls": false,
|
|
191
|
+
"placeholder": "请输入宽度"
|
|
192
|
+
}, autoWidthDisabled(row), pureSearchDisabled(row), { "onChange": handleColumnChange }), { suffix: () => createVNode("span", null, [createTextVNode("px")]) }) }),
|
|
193
|
+
createVNode(ElTableColumn, {
|
|
194
|
+
"label": "小的宽度",
|
|
195
|
+
"width": 200
|
|
196
|
+
}, { default: ({ row }) => createVNode(ElInputNumber, mergeProps({
|
|
197
|
+
"modelValue": row.smallWidth,
|
|
198
|
+
"onUpdate:modelValue": ($event) => row.smallWidth = $event,
|
|
199
|
+
"min": 1,
|
|
200
|
+
"max": 999,
|
|
201
|
+
"stepStrictly": true,
|
|
202
|
+
"controls": false,
|
|
203
|
+
"placeholder": "请输入小的宽度"
|
|
204
|
+
}, autoWidthDisabled(row), pureSearchDisabled(row), { "onChange": handleColumnChange }), { suffix: () => createVNode("span", null, [createTextVNode("px")]) }) }),
|
|
205
|
+
createVNode(ElTableColumn, {
|
|
206
|
+
"label": "顺序",
|
|
207
|
+
"width": 100
|
|
208
|
+
}, { default: ({ row }) => createVNode(ElInputNumber, mergeProps({
|
|
209
|
+
"style": "width: auto;",
|
|
210
|
+
"modelValue": row.order,
|
|
211
|
+
"onUpdate:modelValue": ($event) => row.order = $event,
|
|
212
|
+
"min": 1,
|
|
213
|
+
"max": 999,
|
|
214
|
+
"stepStrictly": true,
|
|
215
|
+
"controls": false,
|
|
216
|
+
"placeholder": "请输入顺序"
|
|
217
|
+
}, pureSearchDisabled(row, false, true), { "onChange": handleOrderChange }), null) }),
|
|
218
|
+
createVNode(ElTableColumn, {
|
|
219
|
+
"label": "排序",
|
|
220
|
+
"width": 65
|
|
221
|
+
}, { default: ({ row }) => createVNode(ElSwitch, mergeProps({
|
|
222
|
+
"modelValue": row.sortable,
|
|
223
|
+
"onUpdate:modelValue": ($event) => row.sortable = $event,
|
|
224
|
+
"inlinePrompt": true,
|
|
225
|
+
"activeText": "是",
|
|
226
|
+
"inactiveText": "否",
|
|
227
|
+
"disabled": (row.disabledSortable ?? false) || row.type === "image"
|
|
228
|
+
}, pureSearchDisabled(row, true), { "onChange": handleColumnChange }), null) }),
|
|
229
|
+
createVNode(ElTableColumn, {
|
|
230
|
+
"label": "复制",
|
|
231
|
+
"width": 65
|
|
232
|
+
}, { default: ({ row }) => createVNode(ElSwitch, mergeProps({
|
|
233
|
+
"modelValue": row.copy,
|
|
234
|
+
"onUpdate:modelValue": ($event) => row.copy = $event,
|
|
235
|
+
"inlinePrompt": true,
|
|
236
|
+
"activeText": "是",
|
|
237
|
+
"inactiveText": "否",
|
|
238
|
+
"disabled": !!row?.type || !!row?.slot
|
|
239
|
+
}, pureSearchDisabled(row, true), { "onChange": handleColumnChange }), null) }),
|
|
240
|
+
createVNode(ElTableColumn, {
|
|
241
|
+
"label": "自动宽度",
|
|
242
|
+
"width": 85
|
|
243
|
+
}, { default: ({ row }) => createVNode(ElSwitch, mergeProps({
|
|
244
|
+
"modelValue": row.autoWidth,
|
|
245
|
+
"onUpdate:modelValue": ($event) => row.autoWidth = $event,
|
|
246
|
+
"inlinePrompt": true,
|
|
247
|
+
"activeText": "是",
|
|
248
|
+
"inactiveText": "否",
|
|
249
|
+
"disabled": !!row?.type
|
|
250
|
+
}, pureSearchDisabled(row, true), { "onChange": handleColumnChange }), null) }),
|
|
251
|
+
createVNode(ElTableColumn, {
|
|
252
|
+
"label": "显示",
|
|
253
|
+
"width": 75
|
|
254
|
+
}, { default: ({ row }) => createVNode(ElSwitch, {
|
|
255
|
+
"modelValue": row.show,
|
|
256
|
+
"onUpdate:modelValue": ($event) => row.show = $event,
|
|
257
|
+
"inlinePrompt": true,
|
|
258
|
+
"activeText": "显示",
|
|
259
|
+
"inactiveText": "隐藏",
|
|
260
|
+
"onChange": handleColumnChange
|
|
261
|
+
}, null) }),
|
|
262
|
+
createVNode(ElTableColumn, {
|
|
263
|
+
"label": "搜索框名称",
|
|
264
|
+
"minWidth": 200
|
|
265
|
+
}, { default: ({ row }) => row.search ? createVNode(ElInput, {
|
|
266
|
+
"modelValue": row.search.label,
|
|
267
|
+
"onUpdate:modelValue": ($event) => row.search.label = $event,
|
|
268
|
+
"placeholder": "请输入搜索框名称",
|
|
269
|
+
"onChange": handleColumnChange
|
|
270
|
+
}, null) : createVNode(ElInput, {
|
|
271
|
+
"disabled": true,
|
|
272
|
+
"placeholder": "当前列暂无搜索项配置"
|
|
273
|
+
}, null) }),
|
|
274
|
+
createVNode(ElTableColumn, {
|
|
275
|
+
"label": "搜索框顺序",
|
|
276
|
+
"width": 200
|
|
277
|
+
}, { default: ({ row }) => row.search ? createVNode(ElInputNumber, {
|
|
278
|
+
"modelValue": row.search.order,
|
|
279
|
+
"onUpdate:modelValue": ($event) => row.search.order = $event,
|
|
280
|
+
"min": 1,
|
|
281
|
+
"max": 999,
|
|
282
|
+
"stepStrictly": true,
|
|
283
|
+
"controls": false,
|
|
284
|
+
"placeholder": "请输入搜索框顺序",
|
|
285
|
+
"onChange": handleColumnChange
|
|
286
|
+
}, null) : createVNode(ElInputNumber, {
|
|
287
|
+
"disabled": true,
|
|
288
|
+
"min": 1,
|
|
289
|
+
"max": 999,
|
|
290
|
+
"stepStrictly": true,
|
|
291
|
+
"controls": false,
|
|
292
|
+
"placeholder": "当前列暂无搜索项配置"
|
|
293
|
+
}, null) })
|
|
294
|
+
]) })
|
|
295
|
+
}));
|
|
296
|
+
return useExpose(expose, {
|
|
297
|
+
/** @description 打开 */
|
|
298
|
+
open,
|
|
299
|
+
/** @description 列改变 */
|
|
300
|
+
change: handleChange
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
//#endregion
|
|
305
|
+
export { tableColumnSettingDialog_default as default };
|
|
306
|
+
|
|
307
|
+
//# sourceMappingURL=tableColumnSettingDialog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableColumnSettingDialog.mjs","names":[],"sources":["../../../../src/components/table/src/tableColumnSettingDialog.tsx"],"sourcesContent":["import { Fragment, defineComponent, inject, onBeforeUnmount, reactive, ref } from \"vue\";\nimport { ElInput, ElInputNumber, ElMessage, ElNotification, ElRadio, ElRadioGroup, ElSwitch, ElTable, ElTableColumn, ElText } from \"element-plus\";\nimport Sortable from \"sortablejs\";\nimport { definePropType, randomString, useExpose, useRender, withDefineType } from \"../../../utils\";\nimport { FaDialog } from \"../../dialog\";\nimport { tableStateKey } from \"./useTable\";\nimport type { FaTableColumnCtx } from \"./table.type\";\nimport type { FaDialogInstance } from \"../../dialog\";\nimport type { TableColumnCtx } from \"element-plus\";\nimport type { SortableEvent } from \"sortablejs\";\n\nexport default defineComponent({\n\tname: \"FaTableColumnsSettingDialog\",\n\tprops: {\n\t\t/** @description 改变 */\n\t\tchange: {\n\t\t\ttype: definePropType<(columns: FaTableColumnCtx[]) => Promise<void>>(Function),\n\t\t},\n\t},\n\tsetup(props, { expose }) {\n\t\tconst tableState = inject(tableStateKey);\n\t\tif (tableState === undefined) throw new Error(\"FaTableColumnsSettingDialog 必须在 FaTable 内部渲染。\");\n\n\t\tconst state = reactive({\n\t\t\ttableKey: randomString(8),\n\t\t\tsortableInstance: withDefineType<Sortable | undefined>(),\n\t\t\tchange: false,\n\t\t});\n\n\t\tconst faDialogRef = ref<FaDialogInstance>();\n\n\t\tconst indexMethod = (index: number): number => {\n\t\t\treturn index + 1;\n\t\t};\n\n\t\t// /**\n\t\t// * 处理固定行ClassName\n\t\t// */\n\t\t// const handleFixedRowClassName = (row: FaTableColumnCtx) => {\n\t\t// \tif (row.fixed) {\n\t\t// \t\treturn \"fa-table__setting-fixed-column\";\n\t\t// \t}\n\t\t// };\n\n\t\tconst tableRowDrop = (): void => {\n\t\t\tconst tBody = document.querySelector<HTMLElement>(`.fa-table__column-setting-${state.tableKey} .el-table__body-wrapper tbody`);\n\t\t\tif (!tBody) return;\n\n\t\t\t// 销毁现有Sortable实例(如果存在)\n\t\t\tif (state.sortableInstance) {\n\t\t\t\tstate.sortableInstance.destroy();\n\t\t\t}\n\n\t\t\tstate.sortableInstance = new Sortable(tBody, {\n\t\t\t\t// ms, number 单位:ms,定义排序动画的时间\n\t\t\t\tanimation: 150,\n\t\t\t\tdelay: 0,\n\t\t\t\t// filter: \".fa-table__setting-fixed-column\",\n\t\t\t\t// onMove(evt: any) {\n\t\t\t\t// \tconst { related } = evt;\n\t\t\t\t// \treturn !related.classList.contains(\"fa-table__setting-fixed-column\");\n\t\t\t\t// },\n\t\t\t\tonEnd(evt: SortableEvent): void {\n\t\t\t\t\tconst { newIndex, oldIndex } = evt;\n\t\t\t\t\tif (newIndex !== undefined && oldIndex !== undefined && newIndex !== oldIndex) {\n\t\t\t\t\t\tstate.change = true;\n\t\t\t\t\t\tconst curRow = tableState.orgColumns.splice(oldIndex, 1)[0];\n\t\t\t\t\t\tif (curRow) tableState.orgColumns.splice(newIndex, 0, curRow);\n\t\t\t\t\t\ttableState.orgColumns = tableState.orgColumns.map((item, index) => {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t...item,\n\t\t\t\t\t\t\t\torder: index + 1,\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t});\n\t\t};\n\n\t\tconst open = (): void => {\n\t\t\tstate.change = false;\n\t\t\tfaDialogRef.value?.open(() => {\n\t\t\t\ttableRowDrop();\n\t\t\t\tElNotification({\n\t\t\t\t\tmessage: \"点击保存才会进行数据缓存,点击取消为本此生效\",\n\t\t\t\t\ttype: \"info\",\n\t\t\t\t});\n\t\t\t});\n\t\t};\n\n\t\tconst destroySortable = (): void => {\n\t\t\tstate.sortableInstance?.destroy();\n\t\t\tstate.sortableInstance = undefined;\n\t\t};\n\n\t\tonBeforeUnmount(destroySortable);\n\n\t\tconst handleChange = async (): Promise<void> => {\n\t\t\tif (state.change) {\n\t\t\t\tawait props.change?.(tableState.orgColumns);\n\t\t\t} else {\n\t\t\t\tElMessage.info(\"列配置未发生变化\");\n\t\t\t}\n\t\t};\n\n\t\tconst handleConfirmClick = (): void => {\n\t\t\tfaDialogRef.value?.close(handleChange);\n\t\t};\n\n\t\tconst handleOrderChange = (): void => {\n\t\t\tstate.change = true;\n\t\t\tlet orderColumns = tableState.orgColumns.filter((f) => !f?.pureSearch);\n\t\t\torderColumns = orderColumns.sort((a, b) => {\n\t\t\t\tif (a.order !== b.order) {\n\t\t\t\t\treturn (a.order ?? 0) - (b.order ?? 0);\n\t\t\t\t} else {\n\t\t\t\t\treturn orderColumns.indexOf(b) - orderColumns.indexOf(a);\n\t\t\t\t}\n\t\t\t});\n\t\t\ttableState.orgColumns = [...orderColumns, ...tableState.orgColumns.filter((f) => f?.pureSearch)];\n\t\t\ttableState.orgColumns.forEach((item, index) => {\n\t\t\t\titem.order = index + 1;\n\t\t\t});\n\t\t};\n\n\t\tconst handleColumnChange = (): void => {\n\t\t\tstate.change = true;\n\t\t};\n\n\t\tconst autoWidthDisabled = (row: FaTableColumnCtx, switchEl = false): { disabled?: boolean; placeholder?: string } => {\n\t\t\tconst result: { disabled?: boolean; placeholder?: string } = {};\n\t\t\tif (row?.type) {\n\t\t\t\tswitch (row?.type) {\n\t\t\t\t\tcase \"expand\":\n\t\t\t\t\t\tresult.disabled = true;\n\t\t\t\t\t\tresult.placeholder = \"暂不支持宽度配置\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"image\":\n\t\t\t\t\t\tresult.disabled = true;\n\t\t\t\t\t\tresult.placeholder = \"图片列无需配置\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"date\":\n\t\t\t\t\tcase \"time\":\n\t\t\t\t\tcase \"dateTime\":\n\t\t\t\t\t\tresult.disabled = true;\n\t\t\t\t\t\tresult.placeholder = \"时间/日期列无需配置\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"timeInfo\":\n\t\t\t\t\t\tresult.disabled = true;\n\t\t\t\t\t\tresult.placeholder = \"当前列无需配置\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else if (row?.tag) {\n\t\t\t\tresult.disabled = true;\n\t\t\t\tresult.placeholder = \"标签列无需配置\";\n\t\t\t} else if (row?.autoWidth) {\n\t\t\t\tresult.disabled = true;\n\t\t\t\tresult.placeholder = \"自动列宽无需配置\";\n\t\t\t}\n\t\t\tif (!result.disabled) return {};\n\t\t\tif (switchEl) {\n\t\t\t\tdelete result.placeholder;\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\n\t\tconst pureSearchDisabled = (\n\t\t\trow: FaTableColumnCtx,\n\t\t\tswitchEl = false,\n\t\t\torderEl = false,\n\t\t\t_radioEl = false\n\t\t): { disabled?: boolean; placeholder?: string } => {\n\t\t\tconst result: { disabled?: boolean; placeholder?: string } = {};\n\t\t\tif (row?.pureSearch) {\n\t\t\t\tresult.disabled = true;\n\t\t\t\tresult.placeholder = \"搜索列无需配置\";\n\t\t\t}\n\t\t\tif (!result.disabled) return {};\n\t\t\tif (switchEl) {\n\t\t\t\tdelete result.placeholder;\n\t\t\t}\n\t\t\tif (orderEl) {\n\t\t\t\tresult.placeholder = \"999\";\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\n\t\tuseRender(() => (\n\t\t\t<FaDialog\n\t\t\t\tref={faDialogRef}\n\t\t\t\tclass=\"fa-table__column-setting-dialog\"\n\t\t\t\tonConfirmClick={handleConfirmClick}\n\t\t\t\tshowFullscreen={false}\n\t\t\t\tconfirmButtonText={state.change ? \"保存更改\" : \"确认\"}\n\t\t\t\tfullHeight\n\t\t\t\tonClosed={destroySortable}\n\t\t\t>\n\t\t\t\t{{\n\t\t\t\t\theader: () => (\n\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t列表配置(留空则恢复默认配置)\n\t\t\t\t\t\t\t<ElText type=\"info\">点击保存才会进行数据缓存,点击取消为本次生效</ElText>\n\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t),\n\t\t\t\t\tdefault: () => (\n\t\t\t\t\t\t<ElTable\n\t\t\t\t\t\t\tclass={[\"fa-table__column-setting\", `fa-table__column-setting-${state.tableKey}`]}\n\t\t\t\t\t\t\tdata={tableState.orgColumns}\n\t\t\t\t\t\t\trowKey=\"prop\"\n\t\t\t\t\t\t\tborder\n\t\t\t\t\t\t\t// rowClassName={handleFixedRowClassName}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\tdefault: () => (\n\t\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn type=\"index\" fixed=\"left\" align=\"center\" width={45} index={indexMethod} />\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"列显示名称\" minWidth={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\trow.type === \"image\" ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInput\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treadonly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入列显示名称\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInput\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入列显示名称\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"固定\" width={230}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElRadioGroup\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.fixed}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, false, false, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElRadio value={false}>无</ElRadio>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElRadio value=\"left\">左侧</ElRadio>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElRadio value=\"right\">右侧</ElRadio>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</ElRadioGroup>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"宽度\" width={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.width}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入宽度\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...autoWidthDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsuffix: () => <span>px</span>,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t</ElInputNumber>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"小的宽度\" width={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.smallWidth}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入小的宽度\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...autoWidthDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsuffix: () => <span>px</span>,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t</ElInputNumber>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"顺序\" width={100}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"width: auto;\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.order}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入顺序\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, false, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleOrderChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"排序\" width={65}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElSwitch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.sortable}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinlinePrompt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveText=\"是\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinactiveText=\"否\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled={(row.disabledSortable ?? false) || row.type === \"image\"}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"复制\" width={65}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElSwitch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.copy}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinlinePrompt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveText=\"是\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinactiveText=\"否\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled={!!row?.type || !!row?.slot}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"自动宽度\" width={85}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElSwitch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.autoWidth}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinlinePrompt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveText=\"是\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinactiveText=\"否\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled={!!row?.type}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...pureSearchDisabled(row, true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"显示\" width={75}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ElSwitch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.show}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinlinePrompt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveText=\"显示\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinactiveText=\"隐藏\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"搜索框名称\" minWidth={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\trow.search ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInput\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.search.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入搜索框名称\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInput disabled placeholder=\"当前列暂无搜索项配置\" />\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t\t<ElTableColumn label=\"搜索框顺序\" width={200}>\n\t\t\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\t\t\tdefault: ({\n\t\t\t\t\t\t\t\t\t\t\t\t\trow,\n\t\t\t\t\t\t\t\t\t\t\t\t}: {\n\t\t\t\t\t\t\t\t\t\t\t\t\trow: FaTableColumnCtx;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: TableColumnCtx<Record<string, unknown>>;\n\t\t\t\t\t\t\t\t\t\t\t\t\t$index: number;\n\t\t\t\t\t\t\t\t\t\t\t\t}) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\trow.search ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvModel={row.search.order}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入搜索框顺序\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={handleColumnChange}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ElInputNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin={1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax={999}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstepStrictly\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrols={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"当前列暂无搜索项配置\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t</ElTableColumn>\n\t\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t</ElTable>\n\t\t\t\t\t),\n\t\t\t\t}}\n\t\t\t</FaDialog>\n\t\t));\n\n\t\treturn useExpose(expose, {\n\t\t\t/** @description 打开 */\n\t\t\topen,\n\t\t\t/** @description 列改变 */\n\t\t\tchange: handleChange,\n\t\t});\n\t},\n});\n"],"mappings":";;;;;;;;;;;AAWA,IAAA,mCAAe,gBAAgB;CAC9B,MAAM;CACN,OAAO;;AAEN,QAAQ,EACP,MAAM,eAA+D,QAAQ,EAC9E,EACD;CACA,MAAM,OAAO,EAAE,UAAU;EACxB,MAAM,aAAa,OAAO,aAAa;EACvC,IAAI,eAAe,KAAA,GAAW,MAAM,IAAI,MAAM,+CAA+C;EAE7F,MAAM,QAAQ,SAAS;GACtB,UAAU,aAAa,CAAC;GACxB,kBAAkB,eAAqC;GACvD,QAAQ;EACT,CAAC;EAED,MAAM,cAAc,IAAsB;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AAA,YAGoC;IAAG,GAAA,EAExC,UAAU,EACT,UAMA,IAAI,SAAM,YAAA,SAAA;KAAA,cAEA,IAAI,OAAO;KAAK,wBAAA,WAAhB,IAAI,OAAO,QAAK;KAAA,eAAA;KAAA,YAEd;IAAkB,GAAA,IAAA,IAAA,YAAA,SAAA;KAAA,YAAA;KAAA,eAAA;IAAA,GAAA,IAAA,EAI7B,CAAA;IAAA,YAAA,eAAA;KAAA,SAAA;KAAA,SAGgC;IAAG,GAAA,EAErC,UAAU,EACT,UAMA,IAAI,SAAM,YAAA,eAAA;KAAA,cAEA,IAAI,OAAO;KAAK,wBAAA,WAAhB,IAAI,OAAO,QAAK;KAAA,OACnB;KAAC,OACD;KAAG,gBAAA;KAAA,YAEE;KAAK,eAAA;KAAA,YAEL;IAAkB,GAAA,IAAA,IAAA,YAAA,eAAA;KAAA,YAAA;KAAA,OAKvB;KAAC,OACD;KAAG,gBAAA;KAAA,YAEE;KAAK,eAAA;IAAA,GAAA,IAAA,EAGhB,CAAA;GAAA,CAAA,EAIL,CAAA;EAGH,CAAA,CAGH;EAED,OAAO,UAAU,QAAQ;;GAExB;;GAEA,QAAQ;EACT,CAAC;CACF;AACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/** @description 页码 */
|
|
3
|
+
pageSizes: {
|
|
4
|
+
type: import("vue").PropType<number[]>;
|
|
5
|
+
default: number[];
|
|
6
|
+
};
|
|
7
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
/** @description 页码改变 */
|
|
9
|
+
sizeChange: (pageSize: number) => boolean;
|
|
10
|
+
/** @description 当前页数改变 */
|
|
11
|
+
currentChange: (currentPage: number) => boolean;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
/** @description 页码 */
|
|
14
|
+
pageSizes: {
|
|
15
|
+
type: import("vue").PropType<number[]>;
|
|
16
|
+
default: number[];
|
|
17
|
+
};
|
|
18
|
+
}>> & Readonly<{
|
|
19
|
+
onCurrentChange?: ((currentPage: number) => any) | undefined;
|
|
20
|
+
onSizeChange?: ((pageSize: number) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
pageSizes: number[];
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { definePropType } from "../../../utils/vue/props.mjs";
|
|
2
|
+
import { useRender } from "../../../utils/vue/render.mjs";
|
|
3
|
+
import isNumber from "../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNumber.mjs";
|
|
4
|
+
import isNull from "../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isNull.mjs";
|
|
5
|
+
import { tableStateKey } from "./useTable.mjs";
|
|
6
|
+
import { createVNode, defineComponent, inject, mergeProps } from "vue";
|
|
7
|
+
import { ElNotification, ElPagination } from "element-plus";
|
|
8
|
+
//#region src/components/table/src/tablePagination.tsx
|
|
9
|
+
var tablePagination_default = defineComponent({
|
|
10
|
+
name: "FaTablePagination",
|
|
11
|
+
props: {
|
|
12
|
+
/** @description 页码 */
|
|
13
|
+
pageSizes: {
|
|
14
|
+
type: definePropType(Array),
|
|
15
|
+
default: [
|
|
16
|
+
20,
|
|
17
|
+
30,
|
|
18
|
+
50,
|
|
19
|
+
100
|
|
20
|
+
]
|
|
21
|
+
} },
|
|
22
|
+
emits: {
|
|
23
|
+
/** @description 页码改变 */
|
|
24
|
+
sizeChange: (pageSize) => isNumber(pageSize) || isNull(pageSize),
|
|
25
|
+
/** @description 当前页数改变 */
|
|
26
|
+
currentChange: (currentPage) => isNumber(currentPage) || isNull(currentPage)
|
|
27
|
+
},
|
|
28
|
+
setup(props, { emit }) {
|
|
29
|
+
const tableState = inject(tableStateKey);
|
|
30
|
+
if (tableState === void 0) throw new Error("FaTablePagination 必须在 FaTable 内部渲染。");
|
|
31
|
+
const handleSizeChange = (pageSize) => {
|
|
32
|
+
if (pageSize > 100) ElNotification({
|
|
33
|
+
title: "欢迎",
|
|
34
|
+
message: "当前页码已经超过100条/页,可能会造成页面卡顿。",
|
|
35
|
+
type: "warning",
|
|
36
|
+
duration: 2e3
|
|
37
|
+
});
|
|
38
|
+
emit("sizeChange", pageSize);
|
|
39
|
+
};
|
|
40
|
+
useRender(() => createVNode(ElPagination, mergeProps({
|
|
41
|
+
"onUpdate:currentPage": (currentPage) => emit("currentChange", currentPage),
|
|
42
|
+
"onUpdate:pageSize": handleSizeChange
|
|
43
|
+
}, {
|
|
44
|
+
"class": "fa-table-pagination",
|
|
45
|
+
"size": "small",
|
|
46
|
+
"currentPage": tableState.tablePagination.pageIndex,
|
|
47
|
+
"pageSize": tableState.tablePagination.pageSize,
|
|
48
|
+
"pageSizes": props.pageSizes,
|
|
49
|
+
"background": true,
|
|
50
|
+
"layout": "jumper, prev, pager, next, sizes, total",
|
|
51
|
+
"total": tableState.tablePagination.totalRows
|
|
52
|
+
}), null));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
//#endregion
|
|
56
|
+
export { tablePagination_default as default };
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=tablePagination.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tablePagination.mjs","names":["onUpdate:currentPage"],"sources":["../../../../src/components/table/src/tablePagination.tsx"],"sourcesContent":["import { defineComponent, inject } from \"vue\";\nimport { ElNotification, ElPagination } from \"element-plus\";\nimport { isNull, isNumber } from \"lodash-unified\";\nimport { definePropType, useRender } from \"../../../utils\";\nimport { tableStateKey } from \"./useTable\";\n\nexport default defineComponent({\n\tname: \"FaTablePagination\",\n\tprops: {\n\t\t/** @description 页码 */\n\t\tpageSizes: {\n\t\t\ttype: definePropType<number[]>(Array),\n\t\t\tdefault: [20, 30, 50, 100],\n\t\t},\n\t},\n\temits: {\n\t\t/** @description 页码改变 */\n\t\tsizeChange: (pageSize: number) => isNumber(pageSize) || isNull(pageSize),\n\t\t/** @description 当前页数改变 */\n\t\tcurrentChange: (currentPage: number) => isNumber(currentPage) || isNull(currentPage),\n\t},\n\tsetup(props, { emit }) {\n\t\tconst tableState = inject(tableStateKey);\n\t\tif (tableState === undefined) {\n\t\t\tthrow new Error(\"FaTablePagination 必须在 FaTable 内部渲染。\");\n\t\t}\n\n\t\tconst handleSizeChange = (pageSize: number): void => {\n\t\t\tif (pageSize > 100) {\n\t\t\t\tElNotification({\n\t\t\t\t\ttitle: \"欢迎\",\n\t\t\t\t\tmessage: \"当前页码已经超过100条/页,可能会造成页面卡顿。\",\n\t\t\t\t\ttype: \"warning\",\n\t\t\t\t\tduration: 2000,\n\t\t\t\t});\n\t\t\t}\n\t\t\temit(\"sizeChange\", pageSize);\n\t\t};\n\n\t\tuseRender(() => (\n\t\t\t<ElPagination\n\t\t\t\t{...{\n\t\t\t\t\t\"onUpdate:currentPage\": (currentPage: number) => emit(\"currentChange\", currentPage),\n\t\t\t\t\t\"onUpdate:pageSize\": handleSizeChange,\n\t\t\t\t}}\n\t\t\t\tclass=\"fa-table-pagination\"\n\t\t\t\tsize=\"small\"\n\t\t\t\tcurrentPage={tableState.tablePagination.pageIndex}\n\t\t\t\tpageSize={tableState.tablePagination.pageSize}\n\t\t\t\tpageSizes={props.pageSizes}\n\t\t\t\tbackground\n\t\t\t\tlayout=\"jumper, prev, pager, next, sizes, total\"\n\t\t\t\ttotal={tableState.tablePagination.totalRows}\n\t\t\t/>\n\t\t));\n\t},\n});\n"],"mappings":";;;;;;;;AAMA,IAAA,0BAAe,gBAAgB;CAC9B,MAAM;CACN,OAAO;;AAEN,WAAW;EACV,MAAM,eAAyB,KAAK;EACpC,SAAS;GAAC;GAAI;GAAI;GAAI;EAAG;CAC1B,EACD;CACA,OAAO;;EAEN,aAAa,aAAqB,SAAS,QAAQ,KAAK,OAAO,QAAQ;;EAEvE,gBAAgB,gBAAwB,SAAS,WAAW,KAAK,OAAO,WAAW;CACpF;CACA,MAAM,OAAO,EAAE,QAAQ;EACtB,MAAM,aAAa,OAAO,aAAa;EACvC,IAAI,eAAe,KAAA,GAClB,MAAM,IAAI,MAAM,qCAAqC;EAGtD,MAAM,oBAAoB,aAA2B;GACpD,IAAI,WAAW,KACd,eAAe;IACd,OAAO;IACP,SAAS;IACT,MAAM;IACN,UAAU;GACX,CAAC;GAEF,KAAK,cAAc,QAAQ;EAC5B;EAEA,gBAAU,YAAA,cAAA,WAAA;GAGP,yBAAyB,gBAAwB,KAAK,iBAAiB,WAAW;GAClF,qBAAqB;EAAgB,GAAA;GAAA,SAAA;GAAA,QAAA;GAAA,eAIzB,WAAW,gBAAgB;GAAS,YACvC,WAAW,gBAAgB;GAAQ,aAClC,MAAM;GAAS,cAAA;GAAA,UAAA;GAAA,SAGnB,WAAW,gBAAgB;EAAS,CAAA,GAAA,IAAA,CAE5C;CACF;AACD,CAAC"}
|