@aplus-frontend/ui 0.0.1-beta.9 → 0.0.2
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/es/index.mjs +196 -138
- package/es/src/ap-action/group/index.vue.mjs +35 -27
- package/es/src/ap-action/interface.d.ts +2 -1
- package/es/src/ap-action/item/index.vue2.mjs +19 -19
- package/es/src/ap-action/item-dropdown/index.vue.mjs +34 -34
- package/es/src/ap-action/style/item.css +6 -1
- package/es/src/ap-custom-column/column-select.vue.d.ts +18 -0
- package/es/src/ap-custom-column/column-select.vue.mjs +102 -0
- package/es/src/ap-custom-column/column-select.vue2.mjs +4 -0
- package/es/src/ap-custom-column/custom-column.vue.d.ts +18 -0
- package/es/src/ap-custom-column/custom-column.vue.mjs +86 -0
- package/es/src/ap-custom-column/custom-column.vue2.mjs +4 -0
- package/es/src/ap-custom-column/index.d.ts +7 -0
- package/es/src/ap-custom-column/index.mjs +9 -0
- package/es/src/ap-custom-column/interfaces.d.ts +41 -0
- package/es/src/ap-custom-column/interfaces.mjs +1 -0
- package/es/src/ap-custom-column/storage.d.ts +8 -0
- package/es/src/ap-custom-column/storage.mjs +29 -0
- package/es/src/ap-custom-column/styles/column-select.css +44 -0
- package/es/src/ap-custom-column/styles/custom-column.css +46 -0
- package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +10 -0
- package/es/src/ap-custom-column/useCacheColumnSetting.mjs +9 -0
- package/es/src/ap-custom-column/utils.d.ts +3 -0
- package/es/src/ap-custom-column/utils.mjs +17 -0
- package/es/src/ap-download/ap-download.vue.d.ts +41 -0
- package/es/src/ap-download/ap-download.vue.mjs +56 -0
- package/es/src/ap-download/ap-download.vue2.mjs +4 -0
- package/es/src/ap-download/hooks/index.d.ts +9 -0
- package/es/src/ap-download/hooks/index.mjs +20 -0
- package/es/src/ap-download/index.d.ts +4 -0
- package/es/src/ap-download/index.mjs +2 -0
- package/es/src/ap-download/interface.d.ts +33 -0
- package/es/src/ap-download/interface.mjs +1 -0
- package/es/src/ap-download/style/ap-download.css +51 -0
- package/es/src/ap-field/checkbox/index.vue.mjs +16 -16
- package/es/src/ap-field/date/index.vue.d.ts +63 -5
- package/es/src/ap-field/date/index.vue.mjs +115 -46
- package/es/src/ap-field/date-range/index.vue.d.ts +68 -6
- package/es/src/ap-field/date-range/index.vue.mjs +137 -58
- package/es/src/ap-field/interface.d.ts +4 -8
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +6 -6
- package/es/src/ap-field/select/index.vue.d.ts +45 -179
- package/es/src/ap-field/select/index.vue.mjs +137 -66
- package/es/src/ap-field/switch/index.vue.d.ts +2 -2
- package/es/src/ap-field/switch/index.vue.mjs +31 -31
- package/es/src/ap-field/text/index.vue.d.ts +4 -1
- package/es/src/ap-field/text/index.vue.mjs +11 -10
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.mjs +8 -8
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +10 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +30 -11
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +60 -2
- package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +2 -56
- package/es/src/ap-form/ap-form-item.vue.d.ts +23 -5
- package/es/src/ap-form/ap-form-item.vue.mjs +149 -2
- package/es/src/ap-form/ap-form-item.vue2.mjs +2 -80
- package/es/src/ap-form/ap-form-list.vue.d.ts +35 -0
- package/es/src/ap-form/ap-form-list.vue.mjs +41 -0
- package/es/src/ap-form/ap-form-list.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form.vue.d.ts +66 -0
- package/es/src/ap-form/ap-form.vue.mjs +4 -0
- package/es/src/ap-form/ap-form.vue2.mjs +89 -0
- package/es/src/ap-form/context.d.ts +11 -0
- package/es/src/ap-form/context.mjs +17 -0
- package/es/src/ap-form/index.d.ts +15 -939
- package/es/src/ap-form/index.mjs +24 -11
- package/es/src/ap-form/interface.d.ts +62 -1
- package/es/src/ap-form/interface.mjs +1 -0
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +47 -0
- package/es/src/ap-form/items/checkbox/index.vue.mjs +61 -0
- package/es/src/ap-form/items/checkbox/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/date/index.vue.d.ts +65 -0
- package/es/src/ap-form/items/date/index.vue.mjs +78 -0
- package/es/src/ap-form/items/date/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/date-range/index.vue.d.ts +64 -0
- package/es/src/ap-form/items/date-range/index.vue.mjs +78 -0
- package/es/src/ap-form/items/date-range/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/index.d.ts +9 -1
- package/es/src/ap-form/items/index.mjs +8 -0
- package/es/src/ap-form/items/interface.d.ts +39 -6
- package/es/src/ap-form/items/number/index.vue.d.ts +63 -0
- package/es/src/ap-form/items/number/index.vue.mjs +84 -0
- package/es/src/ap-form/items/number/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/radio/index.vue.d.ts +50 -0
- package/es/src/ap-form/items/radio/index.vue.mjs +74 -0
- package/es/src/ap-form/items/radio/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +69 -0
- package/es/src/ap-form/items/select/index.vue.mjs +89 -0
- package/es/src/ap-form/items/select/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/switch/index.vue.d.ts +60 -0
- package/es/src/ap-form/items/switch/index.vue.mjs +68 -0
- package/es/src/ap-form/items/switch/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/text/index.vue.d.ts +0 -3
- package/es/src/ap-form/items/text/index.vue.mjs +24 -31
- package/es/src/ap-form/items/text-area/index.vue.d.ts +52 -0
- package/es/src/ap-form/items/text-area/index.vue.mjs +79 -0
- package/es/src/ap-form/items/text-area/index.vue2.mjs +4 -0
- package/es/src/ap-form/modal-form/index.vue.d.ts +378 -0
- package/es/src/ap-form/modal-form/index.vue.mjs +239 -0
- package/es/src/ap-form/modal-form/index.vue2.mjs +4 -0
- package/es/src/ap-form/search-form/index.vue.d.ts +79 -0
- package/es/src/ap-form/search-form/index.vue.mjs +209 -0
- package/es/src/ap-form/search-form/index.vue2.mjs +4 -0
- package/es/src/ap-form/style/ap-form-item.css +46 -0
- package/es/src/ap-form/style/modal-form.css +17 -0
- package/es/src/ap-form/style/search-form.css +3 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +42 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs +62 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue2.mjs +4 -0
- package/es/src/ap-layout/index.d.ts +3 -0
- package/es/src/ap-layout/index.mjs +1 -0
- package/es/src/ap-layout/interface.d.ts +4 -0
- package/es/src/ap-layout/style/ap-info-layout.css +19 -0
- package/es/src/ap-table/ap-table.vue.d.ts +193 -0
- package/es/src/ap-table/ap-table.vue.mjs +277 -0
- package/es/src/ap-table/ap-table.vue2.mjs +4 -0
- package/es/src/ap-table/components/index/index.vue.d.ts +28 -0
- package/es/src/ap-table/components/index/index.vue.mjs +4 -0
- package/es/src/ap-table/components/index/index.vue2.mjs +21 -0
- package/es/src/ap-table/components/interface.d.ts +20 -0
- package/es/src/ap-table/components/style/index.css +12 -0
- package/es/src/ap-table/components/style/pagination.css +12 -0
- package/es/src/ap-table/constants.d.ts +12340 -0
- package/es/src/ap-table/constants.mjs +55 -0
- package/es/src/ap-table/hooks/use-table-paging.d.ts +82 -0
- package/es/src/ap-table/hooks/use-table-paging.mjs +142 -0
- package/es/src/ap-table/index.d.ts +5 -0
- package/es/src/ap-table/index.mjs +6 -0
- package/es/src/ap-table/interface.d.ts +180 -0
- package/es/src/ap-table/interface.mjs +1 -0
- package/es/src/ap-table/style/ap-table.css +46 -0
- package/es/src/ap-table/utils.d.ts +32 -0
- package/es/src/ap-table/utils.mjs +63 -0
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +34 -0
- package/es/src/ap-tag/ap-tag-group.vue.mjs +137 -0
- package/es/src/ap-tag/ap-tag-group.vue2.mjs +4 -0
- package/es/src/ap-tag/ap-tag.vue.d.ts +34 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +41 -0
- package/es/src/ap-tag/ap-tag.vue2.mjs +4 -0
- package/es/src/ap-tag/index.d.ts +5 -0
- package/es/src/ap-tag/index.mjs +3 -0
- package/es/src/ap-tag/interface.d.ts +35 -0
- package/es/src/ap-tag/interface.mjs +1 -0
- package/es/src/ap-tag/style/ap-tag-group.css +6 -0
- package/es/src/ap-tag/style/ap-tag.css +40 -0
- package/es/src/ap-upload/apUpload.vue.d.ts +111 -0
- package/es/src/ap-upload/apUpload.vue.mjs +95 -0
- package/es/src/ap-upload/apUpload.vue2.mjs +4 -0
- package/es/src/ap-upload/apUploadTypes.d.ts +90 -0
- package/es/src/ap-upload/apUploadTypes.mjs +4 -0
- package/es/src/ap-upload/assets/single-file-icon.png.mjs +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue.mjs +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +197 -0
- package/es/src/ap-upload/components/Picture.vue.d.ts +4 -0
- package/es/src/ap-upload/components/Picture.vue.mjs +4 -0
- package/es/src/ap-upload/components/Picture.vue2.mjs +219 -0
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +4 -0
- package/es/src/ap-upload/components/SingleFile.vue.mjs +4 -0
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +213 -0
- package/es/src/ap-upload/hooks/useOss.d.ts +19 -0
- package/es/src/ap-upload/hooks/useOss.mjs +62 -0
- package/es/src/ap-upload/index.d.ts +5 -0
- package/es/src/ap-upload/index.mjs +11 -0
- package/es/src/ap-upload/styles/multiple-file.css +58 -0
- package/es/src/ap-upload/styles/picture.css +112 -0
- package/es/src/ap-upload/styles/single-file.css +98 -0
- package/es/src/ap-upload/styles/upload.css +6 -0
- package/es/src/ap-upload/utils/accept.d.ts +13 -0
- package/es/src/ap-upload/utils/accept.mjs +51 -0
- package/es/src/ap-upload/utils/returnData.d.ts +19 -0
- package/es/src/ap-upload/utils/returnData.mjs +21 -0
- package/es/src/basic/help.vue.d.ts +4 -4
- package/es/src/basic/index.d.ts +8 -8
- package/es/src/components.d.ts +2 -0
- package/es/src/config-provider/config-provider-props.d.ts +1 -1
- package/es/src/config-provider/config-provider.d.ts +11 -11
- package/es/src/config-provider/config-provider.mjs +26 -33
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +31 -31
- package/es/src/design-token/index.mjs +8 -2
- package/es/src/hooks/useControllableValue.mjs +11 -14
- package/es/src/icon-picker/icon-picker.vue.d.ts +1 -1
- package/es/src/icon-picker/index.d.ts +15 -15
- package/es/src/index.d.ts +7 -0
- package/es/src/index.mjs +226 -161
- package/es/src/locale/lang/en.mjs +14 -1
- package/es/src/locale/lang/zh-cn.mjs +14 -1
- package/es/src/modal/basic.vue.d.ts +1 -2
- package/es/src/modal/basic.vue2.mjs +10 -11
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/index.d.ts +2 -2
- package/es/src/modal/style/index.css +0 -103
- package/es/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +3 -3
- package/es/src/pro-form/index.d.ts +4 -1
- package/es/src/pro-form/index.mjs +12 -9
- package/es/src/pro-form/pro-form.vue.d.ts +1 -1
- package/es/src/pro-form/style/index.css +0 -3
- package/es/src/pro-form/style/table-form.css +104 -0
- package/es/src/pro-form/table-form-inner.vue.d.ts +44 -0
- package/es/src/pro-form/table-form-inner.vue.mjs +176 -0
- package/es/src/pro-form/table-form-inner.vue2.mjs +4 -0
- package/es/src/pro-form/table-form.vue.d.ts +42 -0
- package/es/src/pro-form/table-form.vue.mjs +41 -0
- package/es/src/pro-form/table-form.vue2.mjs +4 -0
- package/es/src/pro-form/types/form.d.ts +1 -1
- package/es/src/pro-form/types/table-form.d.ts +37 -0
- package/es/src/pro-form/types/table-form.mjs +1 -0
- package/es/src/pro-table/hooks/use-data-source.mjs +45 -46
- package/es/src/prompt/utils.d.ts +1 -1
- package/es/src/scroll-bar/index.d.ts +12 -12
- package/es/src/theme/antd-global-overwrite/admin/alert.css +47 -0
- package/es/src/theme/antd-global-overwrite/admin/button.css +27 -0
- package/es/src/theme/antd-global-overwrite/admin/form.css +65 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +525 -0
- package/es/src/theme/antd-global-overwrite/admin/message.css +17 -0
- package/es/src/theme/antd-global-overwrite/admin/modal.css +117 -0
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +68 -0
- package/es/src/theme/antd-global-overwrite/admin/steps.css +103 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +81 -0
- package/es/src/theme/antd-global-overwrite/aplus/alert.css +47 -0
- package/es/src/theme/antd-global-overwrite/aplus/button.css +27 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +90 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +554 -0
- package/es/src/theme/antd-global-overwrite/aplus/message.css +17 -0
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +111 -0
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +81 -0
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +103 -0
- package/es/src/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/es/src/theme/ap-action/item.css +6 -1
- package/es/src/theme/ap-download/ap-download.css +51 -0
- package/es/src/theme/ap-form/ap-form-item.css +46 -0
- package/es/src/theme/ap-form/modal-form.css +17 -0
- package/es/src/theme/ap-form/search-form.css +3 -0
- package/es/src/theme/ap-layout/ap-info-layout.css +19 -0
- package/es/src/theme/ap-table/ap-table-index.css +12 -0
- package/es/src/theme/ap-table/ap-table-pagination.css +12 -0
- package/es/src/theme/ap-table/ap-table.css +46 -0
- package/es/src/theme/ap-tag/ap-tag-group.css +6 -0
- package/es/src/theme/ap-tag/ap-tag.css +40 -0
- package/es/src/theme/ap-upload/multiple-file.css +58 -0
- package/es/src/theme/ap-upload/picture.css +112 -0
- package/es/src/theme/ap-upload/single-file.css +98 -0
- package/es/src/theme/ap-upload/upload.css +6 -0
- package/es/src/theme/custom-column/column-select.css +44 -0
- package/es/src/theme/custom-column/custom-column.css +46 -0
- package/es/src/theme/modal/index.css +0 -103
- package/es/src/theme/pro-form/form.css +0 -3
- package/es/src/theme/pro-form/table-form-inner.css +104 -0
- package/es/src/theme/work-order-modal/index.css +3 -0
- package/es/src/utils/config-provider-preset.d.ts +79 -0
- package/es/src/utils/config-provider-preset.mjs +30 -0
- package/es/src/utils/index.d.ts +16 -0
- package/es/src/utils/index.mjs +40 -20
- package/es/src/utils/slot.d.ts +7 -1
- package/es/src/utils/slot.mjs +25 -15
- package/es/src/work-order-modal/createWorkOrder.d.ts +1 -0
- package/es/src/work-order-modal/createWorkOrder.mjs +19 -0
- package/es/src/work-order-modal/help-message.vue.d.ts +3 -0
- package/es/src/work-order-modal/help-message.vue.mjs +4 -0
- package/es/src/work-order-modal/help-message.vue2.mjs +33 -0
- package/es/src/work-order-modal/index.d.ts +5 -0
- package/es/src/work-order-modal/index.mjs +7 -0
- package/es/src/work-order-modal/interfaces.d.ts +23 -0
- package/es/src/work-order-modal/interfaces.mjs +4 -0
- package/es/src/work-order-modal/style/index.css +3 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +18 -0
- package/es/src/work-order-modal/work-order-modal.vue.mjs +180 -0
- package/es/src/work-order-modal/work-order-modal.vue2.mjs +4 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/interface.d.ts +2 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/style/item.css +6 -1
- package/lib/src/ap-custom-column/column-select.vue.d.ts +18 -0
- package/lib/src/ap-custom-column/column-select.vue.js +1 -0
- package/lib/src/ap-custom-column/column-select.vue2.js +1 -0
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +18 -0
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -0
- package/lib/src/ap-custom-column/custom-column.vue2.js +1 -0
- package/lib/src/ap-custom-column/index.d.ts +7 -0
- package/lib/src/ap-custom-column/index.js +1 -0
- package/lib/src/ap-custom-column/interfaces.d.ts +41 -0
- package/lib/src/ap-custom-column/interfaces.js +1 -0
- package/lib/src/ap-custom-column/storage.d.ts +8 -0
- package/lib/src/ap-custom-column/storage.js +1 -0
- package/lib/src/ap-custom-column/styles/column-select.css +44 -0
- package/lib/src/ap-custom-column/styles/custom-column.css +46 -0
- package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +10 -0
- package/lib/src/ap-custom-column/useCacheColumnSetting.js +1 -0
- package/lib/src/ap-custom-column/utils.d.ts +3 -0
- package/lib/src/ap-custom-column/utils.js +1 -0
- package/lib/src/ap-download/ap-download.vue.d.ts +41 -0
- package/lib/src/ap-download/ap-download.vue.js +1 -0
- package/lib/src/ap-download/ap-download.vue2.js +1 -0
- package/lib/src/ap-download/hooks/index.d.ts +9 -0
- package/lib/src/ap-download/hooks/index.js +1 -0
- package/lib/src/ap-download/index.d.ts +4 -0
- package/lib/src/ap-download/index.js +1 -0
- package/lib/src/ap-download/interface.d.ts +33 -0
- package/lib/src/ap-download/interface.js +1 -0
- package/lib/src/ap-download/style/ap-download.css +51 -0
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +63 -5
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +68 -6
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/interface.d.ts +4 -8
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +45 -179
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.d.ts +2 -2
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -1
- package/lib/src/ap-field/text/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +10 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +23 -5
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue2.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +35 -0
- package/lib/src/ap-form/ap-form-list.vue.js +1 -0
- package/lib/src/ap-form/ap-form-list.vue2.js +1 -0
- package/lib/src/ap-form/ap-form.vue.d.ts +66 -0
- package/lib/src/ap-form/ap-form.vue.js +1 -0
- package/lib/src/ap-form/ap-form.vue2.js +1 -0
- package/lib/src/ap-form/context.d.ts +11 -0
- package/lib/src/ap-form/context.js +1 -0
- package/lib/src/ap-form/index.d.ts +15 -939
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +62 -1
- package/lib/src/ap-form/interface.js +1 -0
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +47 -0
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -0
- package/lib/src/ap-form/items/checkbox/index.vue2.js +1 -0
- package/lib/src/ap-form/items/date/index.vue.d.ts +65 -0
- package/lib/src/ap-form/items/date/index.vue.js +1 -0
- package/lib/src/ap-form/items/date/index.vue2.js +1 -0
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +64 -0
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -0
- package/lib/src/ap-form/items/date-range/index.vue2.js +1 -0
- package/lib/src/ap-form/items/index.d.ts +9 -1
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/interface.d.ts +39 -6
- package/lib/src/ap-form/items/number/index.vue.d.ts +63 -0
- package/lib/src/ap-form/items/number/index.vue.js +1 -0
- package/lib/src/ap-form/items/number/index.vue2.js +1 -0
- package/lib/src/ap-form/items/radio/index.vue.d.ts +50 -0
- package/lib/src/ap-form/items/radio/index.vue.js +1 -0
- package/lib/src/ap-form/items/radio/index.vue2.js +1 -0
- package/lib/src/ap-form/items/select/index.vue.d.ts +69 -0
- package/lib/src/ap-form/items/select/index.vue.js +1 -0
- package/lib/src/ap-form/items/select/index.vue2.js +1 -0
- package/lib/src/ap-form/items/switch/index.vue.d.ts +60 -0
- package/lib/src/ap-form/items/switch/index.vue.js +1 -0
- package/lib/src/ap-form/items/switch/index.vue2.js +1 -0
- package/lib/src/ap-form/items/text/index.vue.d.ts +0 -3
- package/lib/src/ap-form/items/text/index.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +52 -0
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -0
- package/lib/src/ap-form/items/text-area/index.vue2.js +1 -0
- package/lib/src/ap-form/modal-form/index.vue.d.ts +378 -0
- package/lib/src/ap-form/modal-form/index.vue.js +1 -0
- package/lib/src/ap-form/modal-form/index.vue2.js +1 -0
- package/lib/src/ap-form/search-form/index.vue.d.ts +79 -0
- package/lib/src/ap-form/search-form/index.vue.js +1 -0
- package/lib/src/ap-form/search-form/index.vue2.js +1 -0
- package/lib/src/ap-form/style/ap-form-item.css +46 -0
- package/lib/src/ap-form/style/modal-form.css +17 -0
- package/lib/src/ap-form/style/search-form.css +3 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +42 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.js +1 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue2.js +1 -0
- package/lib/src/ap-layout/index.d.ts +3 -0
- package/lib/src/ap-layout/index.js +1 -0
- package/lib/src/ap-layout/interface.d.ts +4 -0
- package/lib/src/ap-layout/style/ap-info-layout.css +19 -0
- package/lib/src/ap-table/ap-table.vue.d.ts +193 -0
- package/lib/src/ap-table/ap-table.vue.js +1 -0
- package/lib/src/ap-table/ap-table.vue2.js +1 -0
- package/lib/src/ap-table/components/index/index.vue.d.ts +28 -0
- package/lib/src/ap-table/components/index/index.vue.js +1 -0
- package/lib/src/ap-table/components/index/index.vue2.js +1 -0
- package/lib/src/ap-table/components/interface.d.ts +20 -0
- package/lib/src/ap-table/components/style/index.css +12 -0
- package/lib/src/ap-table/components/style/pagination.css +12 -0
- package/lib/src/ap-table/constants.d.ts +12340 -0
- package/lib/src/ap-table/constants.js +1 -0
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +82 -0
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -0
- package/lib/src/ap-table/index.d.ts +5 -0
- package/lib/src/ap-table/index.js +1 -0
- package/lib/src/ap-table/interface.d.ts +180 -0
- package/lib/src/ap-table/interface.js +1 -0
- package/lib/src/ap-table/style/ap-table.css +46 -0
- package/lib/src/ap-table/utils.d.ts +32 -0
- package/lib/src/ap-table/utils.js +1 -0
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +34 -0
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -0
- package/lib/src/ap-tag/ap-tag-group.vue2.js +1 -0
- package/lib/src/ap-tag/ap-tag.vue.d.ts +34 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -0
- package/lib/src/ap-tag/ap-tag.vue2.js +1 -0
- package/lib/src/ap-tag/index.d.ts +5 -0
- package/lib/src/ap-tag/index.js +1 -0
- package/lib/src/ap-tag/interface.d.ts +35 -0
- package/lib/src/ap-tag/interface.js +1 -0
- package/lib/src/ap-tag/style/ap-tag-group.css +6 -0
- package/lib/src/ap-tag/style/ap-tag.css +40 -0
- package/lib/src/ap-upload/apUpload.vue.d.ts +111 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -0
- package/lib/src/ap-upload/apUpload.vue2.js +1 -0
- package/lib/src/ap-upload/apUploadTypes.d.ts +90 -0
- package/lib/src/ap-upload/apUploadTypes.js +1 -0
- package/lib/src/ap-upload/assets/single-file-icon.png.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -0
- package/lib/src/ap-upload/components/Picture.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/Picture.vue.js +1 -0
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -0
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/SingleFile.vue.js +1 -0
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -0
- package/lib/src/ap-upload/hooks/useOss.d.ts +19 -0
- package/lib/src/ap-upload/hooks/useOss.js +1 -0
- package/lib/src/ap-upload/index.d.ts +5 -0
- package/lib/src/ap-upload/index.js +1 -0
- package/lib/src/ap-upload/styles/multiple-file.css +58 -0
- package/lib/src/ap-upload/styles/picture.css +112 -0
- package/lib/src/ap-upload/styles/single-file.css +98 -0
- package/lib/src/ap-upload/styles/upload.css +6 -0
- package/lib/src/ap-upload/utils/accept.d.ts +13 -0
- package/lib/src/ap-upload/utils/accept.js +1 -0
- package/lib/src/ap-upload/utils/returnData.d.ts +19 -0
- package/lib/src/ap-upload/utils/returnData.js +1 -0
- package/lib/src/basic/help.vue.d.ts +4 -4
- package/lib/src/basic/help.vue2.js +1 -1
- package/lib/src/basic/index.d.ts +8 -8
- package/lib/src/components.d.ts +2 -0
- package/lib/src/config-provider/config-provider-props.d.ts +1 -1
- package/lib/src/config-provider/config-provider.d.ts +11 -11
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +31 -31
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue.d.ts +1 -1
- package/lib/src/icon-picker/index.d.ts +15 -15
- package/lib/src/index.d.ts +7 -0
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +1 -2
- package/lib/src/modal/basic.vue2.js +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/index.d.ts +2 -2
- package/lib/src/modal/style/index.css +0 -103
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-cascader.vue.js +1 -1
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +3 -3
- package/lib/src/pro-form/index.d.ts +4 -1
- package/lib/src/pro-form/index.js +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
- package/lib/src/pro-form/style/index.css +0 -3
- package/lib/src/pro-form/style/table-form.css +104 -0
- package/lib/src/pro-form/table-form-inner.vue.d.ts +44 -0
- package/lib/src/pro-form/table-form-inner.vue.js +1 -0
- package/lib/src/pro-form/table-form-inner.vue2.js +1 -0
- package/lib/src/pro-form/table-form.vue.d.ts +42 -0
- package/lib/src/pro-form/table-form.vue.js +1 -0
- package/lib/src/pro-form/table-form.vue2.js +1 -0
- package/lib/src/pro-form/types/form.d.ts +1 -1
- package/lib/src/pro-form/types/table-form.d.ts +37 -0
- package/lib/src/pro-form/types/table-form.js +1 -0
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/redo-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/size-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/table-action.vue.js +1 -1
- package/lib/src/pro-table/hooks/use-data-source.js +1 -1
- package/lib/src/prompt/utils.d.ts +1 -1
- package/lib/src/scroll-bar/index.d.ts +12 -12
- package/lib/src/theme/antd-global-overwrite/admin/alert.css +47 -0
- package/lib/src/theme/antd-global-overwrite/admin/button.css +27 -0
- package/lib/src/theme/antd-global-overwrite/admin/form.css +65 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +525 -0
- package/lib/src/theme/antd-global-overwrite/admin/message.css +17 -0
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +117 -0
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +68 -0
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +103 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +81 -0
- package/lib/src/theme/antd-global-overwrite/aplus/alert.css +47 -0
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +27 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +90 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +554 -0
- package/lib/src/theme/antd-global-overwrite/aplus/message.css +17 -0
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +111 -0
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +81 -0
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +103 -0
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/lib/src/theme/ap-action/item.css +6 -1
- package/lib/src/theme/ap-download/ap-download.css +51 -0
- package/lib/src/theme/ap-form/ap-form-item.css +46 -0
- package/lib/src/theme/ap-form/modal-form.css +17 -0
- package/lib/src/theme/ap-form/search-form.css +3 -0
- package/lib/src/theme/ap-layout/ap-info-layout.css +19 -0
- package/lib/src/theme/ap-table/ap-table-index.css +12 -0
- package/lib/src/theme/ap-table/ap-table-pagination.css +12 -0
- package/lib/src/theme/ap-table/ap-table.css +46 -0
- package/lib/src/theme/ap-tag/ap-tag-group.css +6 -0
- package/lib/src/theme/ap-tag/ap-tag.css +40 -0
- package/lib/src/theme/ap-upload/multiple-file.css +58 -0
- package/lib/src/theme/ap-upload/picture.css +112 -0
- package/lib/src/theme/ap-upload/single-file.css +98 -0
- package/lib/src/theme/ap-upload/upload.css +6 -0
- package/lib/src/theme/custom-column/column-select.css +44 -0
- package/lib/src/theme/custom-column/custom-column.css +46 -0
- package/lib/src/theme/modal/index.css +0 -103
- package/lib/src/theme/pro-form/form.css +0 -3
- package/lib/src/theme/pro-form/table-form-inner.css +104 -0
- package/lib/src/theme/work-order-modal/index.css +3 -0
- package/lib/src/utils/config-provider-preset.d.ts +79 -0
- package/lib/src/utils/config-provider-preset.js +1 -0
- package/lib/src/utils/index.d.ts +16 -0
- package/lib/src/utils/index.js +1 -1
- package/lib/src/utils/slot.d.ts +7 -1
- package/lib/src/utils/slot.js +1 -1
- package/lib/src/work-order-modal/createWorkOrder.d.ts +1 -0
- package/lib/src/work-order-modal/createWorkOrder.js +1 -0
- package/lib/src/work-order-modal/help-message.vue.d.ts +3 -0
- package/lib/src/work-order-modal/help-message.vue.js +1 -0
- package/lib/src/work-order-modal/help-message.vue2.js +1 -0
- package/lib/src/work-order-modal/index.d.ts +5 -0
- package/lib/src/work-order-modal/index.js +1 -0
- package/lib/src/work-order-modal/interfaces.d.ts +23 -0
- package/lib/src/work-order-modal/interfaces.js +1 -0
- package/lib/src/work-order-modal/style/index.css +3 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +18 -0
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -0
- package/lib/src/work-order-modal/work-order-modal.vue2.js +1 -0
- package/package.json +17 -7
- package/es/src/ap-form/ap-form.d.ts +0 -1681
- package/es/src/ap-form/ap-form.mjs +0 -5
- package/lib/src/ap-form/ap-form.d.ts +0 -1681
- package/lib/src/ap-form/ap-form.js +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as _, ref as
|
|
2
|
-
import { Dropdown as
|
|
1
|
+
import { defineComponent as _, ref as v, computed as k, openBlock as t, createBlock as l, unref as r, withCtx as n, createVNode as u, createElementBlock as w, Fragment as B, renderList as b, normalizeClass as m, mergeProps as i, createElementVNode as A, normalizeProps as C, guardReactiveProps as P, renderSlot as D, createCommentVNode as I } from "vue";
|
|
2
|
+
import { Dropdown as N, Menu as $, MenuItem as h } from "ant-design-vue";
|
|
3
3
|
import { DownOutlined as V } from "@ant-design/icons-vue";
|
|
4
4
|
import "../item/index.vue.mjs";
|
|
5
5
|
import "../item-modal/index.vue2.mjs";
|
|
6
6
|
import "../item-popconfirm/index.vue2.mjs";
|
|
7
7
|
import "../../config-provider/index.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { isUndefined as z, omit as E } from "lodash-unified";
|
|
9
9
|
import "../style/item-dropdown.css";
|
|
10
|
-
import { useNamespace as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
const
|
|
10
|
+
import { useNamespace as L } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
|
+
import M from "../item-modal/index.vue.mjs";
|
|
12
|
+
import U from "../item-popconfirm/index.vue.mjs";
|
|
13
|
+
import d from "../item/index.vue2.mjs";
|
|
14
|
+
const W = /* @__PURE__ */ _({
|
|
15
15
|
name: "ApActionItemDropDown",
|
|
16
16
|
__name: "index",
|
|
17
17
|
props: {
|
|
@@ -26,42 +26,42 @@ const T = /* @__PURE__ */ _({
|
|
|
26
26
|
onClick: {},
|
|
27
27
|
loading: { type: Boolean, default: !1 }
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
31
|
-
...
|
|
29
|
+
setup(c) {
|
|
30
|
+
const f = c, p = v(!1), { e: s } = L("action-item-dropdown"), g = k(() => f.actions.filter((e) => e.visible || z(e.visible)).map((e) => ({
|
|
31
|
+
...e,
|
|
32
32
|
onAction: async (a) => {
|
|
33
|
-
var
|
|
33
|
+
var o;
|
|
34
34
|
try {
|
|
35
|
-
await ((
|
|
35
|
+
await ((o = e.onAction) == null ? void 0 : o.call(e, a));
|
|
36
36
|
} finally {
|
|
37
|
-
|
|
37
|
+
p.value = !1;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
})));
|
|
41
|
-
return (
|
|
42
|
-
open:
|
|
43
|
-
"onUpdate:open": a[0] || (a[0] = (
|
|
44
|
-
trigger:
|
|
45
|
-
placement:
|
|
41
|
+
return (e, a) => (t(), l(r(N), {
|
|
42
|
+
open: p.value,
|
|
43
|
+
"onUpdate:open": a[0] || (a[0] = (o) => p.value = o),
|
|
44
|
+
trigger: e.trigger,
|
|
45
|
+
placement: e.placement
|
|
46
46
|
}, {
|
|
47
47
|
overlay: n(() => [
|
|
48
|
-
|
|
48
|
+
u(r($), null, {
|
|
49
49
|
default: n(() => [
|
|
50
|
-
(t(!0),
|
|
50
|
+
(t(!0), w(B, null, b(g.value, (o, y) => (t(), l(r(h), {
|
|
51
51
|
key: y,
|
|
52
|
-
class:
|
|
52
|
+
class: m(r(s)("item"))
|
|
53
53
|
}, {
|
|
54
54
|
default: n(() => [
|
|
55
|
-
|
|
55
|
+
o.modalProps ? (t(), l(M, i({
|
|
56
56
|
key: 0,
|
|
57
57
|
ref_for: !0
|
|
58
|
-
},
|
|
58
|
+
}, o), null, 16)) : o.popconfirmProps ? (t(), l(U, i({
|
|
59
59
|
key: 1,
|
|
60
60
|
ref_for: !0
|
|
61
|
-
},
|
|
61
|
+
}, o), null, 16)) : (t(), l(d, i({
|
|
62
62
|
key: 2,
|
|
63
63
|
ref_for: !0
|
|
64
|
-
},
|
|
64
|
+
}, o), null, 16))
|
|
65
65
|
]),
|
|
66
66
|
_: 2
|
|
67
67
|
}, 1032, ["class"]))), 128))
|
|
@@ -70,20 +70,20 @@ const T = /* @__PURE__ */ _({
|
|
|
70
70
|
})
|
|
71
71
|
]),
|
|
72
72
|
default: n(() => [
|
|
73
|
-
|
|
74
|
-
class:
|
|
73
|
+
A("span", {
|
|
74
|
+
class: m(r(s)("wrapper"))
|
|
75
75
|
}, [
|
|
76
|
-
|
|
76
|
+
u(d, C(P(r(E)(f, ["actions", "trigger", "placement"]))), {
|
|
77
77
|
default: n(() => [
|
|
78
|
-
|
|
78
|
+
D(e.$slots, "default")
|
|
79
79
|
]),
|
|
80
80
|
_: 3
|
|
81
81
|
}, 16),
|
|
82
|
-
|
|
82
|
+
e.showIcon ? (t(), l(r(V), {
|
|
83
83
|
key: 0,
|
|
84
|
-
class:
|
|
84
|
+
class: m(r(s)("icon")),
|
|
85
85
|
style: { color: "#0070ff" }
|
|
86
|
-
}, null, 8, ["class"])) :
|
|
86
|
+
}, null, 8, ["class"])) : I("", !0)
|
|
87
87
|
], 2)
|
|
88
88
|
]),
|
|
89
89
|
_: 3
|
|
@@ -91,5 +91,5 @@ const T = /* @__PURE__ */ _({
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
export {
|
|
94
|
-
|
|
94
|
+
W as default
|
|
95
95
|
};
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
.aplus-action-item--primary {
|
|
8
8
|
color: #0070ff;
|
|
9
9
|
}
|
|
10
|
+
.aplus-action-item--primary:not(.aplus-action-item--disabled):hover {
|
|
11
|
+
color: #66a9ff;
|
|
12
|
+
}
|
|
10
13
|
.aplus-action-item--success {
|
|
11
14
|
color: #2ed1a3;
|
|
12
15
|
}
|
|
@@ -19,10 +22,12 @@
|
|
|
19
22
|
.aplus-action-item--loading {
|
|
20
23
|
opacity: 0.35;
|
|
21
24
|
transition: opacity 0.2s;
|
|
25
|
+
cursor: default;
|
|
22
26
|
}
|
|
23
27
|
.aplus-action-item--loading .btn-loading-icon {
|
|
24
28
|
margin-right: 4px;
|
|
25
29
|
}
|
|
26
30
|
.aplus-action-item--disabled {
|
|
27
|
-
color: #
|
|
31
|
+
color: #CCE2FF;
|
|
32
|
+
cursor: not-allowed;
|
|
28
33
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ColumnSelectProps, FieldInfo } from './interfaces';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<ColumnSelectProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
updateColumns: (list: FieldInfo[]) => void;
|
|
6
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ColumnSelectProps>>> & {
|
|
7
|
+
onUpdateColumns?: ((list: FieldInfo[]) => any) | undefined;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { defineComponent as w, ref as i, watch as m, computed as V, openBlock as A, createBlock as B, unref as a, normalizeClass as c, withCtx as r, createElementVNode as p, createVNode as d, createTextVNode as D, toDisplayString as h } from "vue";
|
|
2
|
+
import { Flex as f, Checkbox as G, Divider as M, CheckboxGroup as S } from "ant-design-vue";
|
|
3
|
+
import "../config-provider/index.mjs";
|
|
4
|
+
import "./styles/column-select.css";
|
|
5
|
+
import { useGlobalConfig as U } from "../config-provider/hooks/use-global-config.mjs";
|
|
6
|
+
import { useNamespace as j } from "../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
const H = /* @__PURE__ */ w({
|
|
8
|
+
__name: "column-select",
|
|
9
|
+
props: {
|
|
10
|
+
columns: {}
|
|
11
|
+
},
|
|
12
|
+
emits: ["updateColumns"],
|
|
13
|
+
setup(g, { emit: x }) {
|
|
14
|
+
const u = i(!1), v = i(!1), t = i([]), C = U("uiMode"), { b: k, e: o } = j(
|
|
15
|
+
C.value === "aplus" ? "column-select" : "column-select-admin"
|
|
16
|
+
), { columns: n } = g, b = x, _ = (e) => {
|
|
17
|
+
const s = e.target.checked;
|
|
18
|
+
t.value = s ? n.map((l) => l.dataIndex) : n.filter((l) => l.disabled && l.selected).map((l) => l.dataIndex);
|
|
19
|
+
}, I = (e) => {
|
|
20
|
+
t.value = e;
|
|
21
|
+
};
|
|
22
|
+
m(
|
|
23
|
+
n,
|
|
24
|
+
() => {
|
|
25
|
+
t.value = n.filter((e) => e.selected).map((e) => e.dataIndex);
|
|
26
|
+
},
|
|
27
|
+
{ deep: !0, immediate: !0 }
|
|
28
|
+
), m(
|
|
29
|
+
t,
|
|
30
|
+
() => {
|
|
31
|
+
v.value = t.value.length > 0 && t.value.length !== n.length, u.value = t.value.length === n.length;
|
|
32
|
+
},
|
|
33
|
+
{ deep: !0, immediate: !0 }
|
|
34
|
+
), m(
|
|
35
|
+
t,
|
|
36
|
+
() => {
|
|
37
|
+
const e = n.map((s) => ({
|
|
38
|
+
...s,
|
|
39
|
+
selected: t.value.includes(s.dataIndex)
|
|
40
|
+
}));
|
|
41
|
+
b("updateColumns", e);
|
|
42
|
+
},
|
|
43
|
+
{ deep: !0 }
|
|
44
|
+
);
|
|
45
|
+
const y = V(() => n.map((e) => ({
|
|
46
|
+
label: e.title,
|
|
47
|
+
value: e.dataIndex,
|
|
48
|
+
disabled: e.disabled
|
|
49
|
+
})));
|
|
50
|
+
return (e, s) => (A(), B(a(f), {
|
|
51
|
+
vertical: "",
|
|
52
|
+
class: c(a(k)())
|
|
53
|
+
}, {
|
|
54
|
+
default: r(() => [
|
|
55
|
+
p("p", {
|
|
56
|
+
class: c(a(o)("des"))
|
|
57
|
+
}, "请选择需要展示在表格的字段", 2),
|
|
58
|
+
d(a(f), {
|
|
59
|
+
class: c(a(o)("all")),
|
|
60
|
+
justify: "space-between",
|
|
61
|
+
align: "center"
|
|
62
|
+
}, {
|
|
63
|
+
default: r(() => {
|
|
64
|
+
var l;
|
|
65
|
+
return [
|
|
66
|
+
d(a(G), {
|
|
67
|
+
style: { padding: "0 6px;" },
|
|
68
|
+
checked: u.value,
|
|
69
|
+
"onUpdate:checked": s[0] || (s[0] = (N) => u.value = N),
|
|
70
|
+
indeterminate: v.value,
|
|
71
|
+
onChange: _
|
|
72
|
+
}, {
|
|
73
|
+
default: r(() => [
|
|
74
|
+
D("全选")
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["checked", "indeterminate"]),
|
|
78
|
+
p("span", {
|
|
79
|
+
class: c(a(o)("statistics"))
|
|
80
|
+
}, h((l = t.value) == null ? void 0 : l.length) + "/" + h(e.columns.length), 3)
|
|
81
|
+
];
|
|
82
|
+
}),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["class"]),
|
|
85
|
+
d(a(M), { style: { margin: "12px 0 4px 0" } }),
|
|
86
|
+
p("div", {
|
|
87
|
+
class: c(a(o)("content"))
|
|
88
|
+
}, [
|
|
89
|
+
d(a(S), {
|
|
90
|
+
value: t.value,
|
|
91
|
+
"onUpdate:value": I,
|
|
92
|
+
options: y.value
|
|
93
|
+
}, null, 8, ["value", "options"])
|
|
94
|
+
], 2)
|
|
95
|
+
]),
|
|
96
|
+
_: 1
|
|
97
|
+
}, 8, ["class"]));
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
export {
|
|
101
|
+
H as default
|
|
102
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CustomColumnProps, FieldInfo } from './interfaces';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<CustomColumnProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
"update:columns": (list: FieldInfo[]) => void;
|
|
6
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<CustomColumnProps>>> & {
|
|
7
|
+
"onUpdate:columns"?: ((list: FieldInfo[]) => any) | undefined;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { defineComponent as D, ref as m, computed as x, openBlock as H, createElementBlock as w, normalizeClass as B, unref as t, createVNode as o, withCtx as n, createTextVNode as E, normalizeStyle as b } from "vue";
|
|
2
|
+
import { SettingOutlined as k, CloseOutlined as G } from "@ant-design/icons-vue";
|
|
3
|
+
import { Tooltip as N, Button as T, Drawer as A } from "ant-design-vue";
|
|
4
|
+
import "./column-select.vue2.mjs";
|
|
5
|
+
import "./styles/custom-column.css";
|
|
6
|
+
import "../config-provider/index.mjs";
|
|
7
|
+
import { useGlobalConfig as I } from "../config-provider/hooks/use-global-config.mjs";
|
|
8
|
+
import { useNamespace as O } from "../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import R from "./column-select.vue.mjs";
|
|
10
|
+
const F = /* @__PURE__ */ D({
|
|
11
|
+
__name: "custom-column",
|
|
12
|
+
props: {
|
|
13
|
+
columns: {},
|
|
14
|
+
baseContainerSelector: {},
|
|
15
|
+
fullContentSelector: {}
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:columns"],
|
|
18
|
+
setup(p, { emit: d }) {
|
|
19
|
+
const f = I("uiMode"), { b: C, e: h } = O(
|
|
20
|
+
f.value === "aplus" ? "custom-column" : "custom-column-admin"
|
|
21
|
+
), { baseContainerSelector: r, columns: M, fullContentSelector: _ } = p, g = d, v = (e) => {
|
|
22
|
+
g("update:columns", e);
|
|
23
|
+
}, c = m(!1), l = m(0), S = () => {
|
|
24
|
+
var e, s;
|
|
25
|
+
if (r) {
|
|
26
|
+
const a = document.querySelector(r), u = document.querySelector(
|
|
27
|
+
_
|
|
28
|
+
);
|
|
29
|
+
a ? l.value = Math.max(
|
|
30
|
+
(e = a == null ? void 0 : a.getBoundingClientRect()) == null ? void 0 : e.top,
|
|
31
|
+
((s = u == null ? void 0 : u.getBoundingClientRect()) == null ? void 0 : s.top) || 0
|
|
32
|
+
) : l.value = 0;
|
|
33
|
+
}
|
|
34
|
+
c.value = !0;
|
|
35
|
+
}, i = () => {
|
|
36
|
+
c.value = !1;
|
|
37
|
+
}, y = x(() => window.innerHeight - l.value - 57 - 40);
|
|
38
|
+
return (e, s) => (H(), w("div", {
|
|
39
|
+
class: B(t(C)())
|
|
40
|
+
}, [
|
|
41
|
+
o(t(N), null, {
|
|
42
|
+
title: n(() => [
|
|
43
|
+
E("自定义表格")
|
|
44
|
+
]),
|
|
45
|
+
default: n(() => [
|
|
46
|
+
o(t(T), {
|
|
47
|
+
style: { minWidth: "auto" },
|
|
48
|
+
onClick: S
|
|
49
|
+
}, {
|
|
50
|
+
icon: n(() => [
|
|
51
|
+
o(t(k))
|
|
52
|
+
]),
|
|
53
|
+
_: 1
|
|
54
|
+
})
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}),
|
|
58
|
+
o(t(A), {
|
|
59
|
+
open: c.value,
|
|
60
|
+
width: 280,
|
|
61
|
+
title: "自定义表格",
|
|
62
|
+
closable: !1,
|
|
63
|
+
contentWrapperStyle: { top: `${l.value}px` },
|
|
64
|
+
bodyStyle: { overflow: "hidden", padding: "20px" },
|
|
65
|
+
mask: !0,
|
|
66
|
+
"root-class-name": t(h)("drawer"),
|
|
67
|
+
onClose: i
|
|
68
|
+
}, {
|
|
69
|
+
extra: n(() => [
|
|
70
|
+
o(t(G), { onClick: i })
|
|
71
|
+
]),
|
|
72
|
+
default: n(() => [
|
|
73
|
+
o(R, {
|
|
74
|
+
style: b({ height: `${y.value}px` }),
|
|
75
|
+
columns: e.columns,
|
|
76
|
+
onUpdateColumns: v
|
|
77
|
+
}, null, 8, ["style", "columns"])
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
}, 8, ["open", "contentWrapperStyle", "root-class-name"])
|
|
81
|
+
], 2));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export {
|
|
85
|
+
F as default
|
|
86
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as ApCustomColumn } from './custom-column.vue';
|
|
2
|
+
import { default as ApCustomSelect } from './column-select.vue';
|
|
3
|
+
|
|
4
|
+
export * from './interfaces';
|
|
5
|
+
export * from './utils';
|
|
6
|
+
export * from './useCacheColumnSetting';
|
|
7
|
+
export { ApCustomColumn, ApCustomSelect };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./custom-column.vue2.mjs";
|
|
2
|
+
import "./column-select.vue2.mjs";
|
|
3
|
+
import "./interfaces.mjs";
|
|
4
|
+
import { generateTableList as i } from "./utils.mjs";
|
|
5
|
+
import { useCacheColumnSetting as a } from "./useCacheColumnSetting.mjs";
|
|
6
|
+
export {
|
|
7
|
+
i as generateTableList,
|
|
8
|
+
a as useCacheColumnSetting
|
|
9
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BasicColumn } from 'src/pro-table';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 自定义列的字段信息
|
|
5
|
+
*/
|
|
6
|
+
export interface FieldInfo {
|
|
7
|
+
order?: number;
|
|
8
|
+
fixed?: 'left' | 'right' | null;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
dataIndex: string;
|
|
12
|
+
title: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 自定义列表组件 Props
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomColumnProps {
|
|
18
|
+
columns: FieldInfo[];
|
|
19
|
+
/**
|
|
20
|
+
* 抽屉打开高度的基准 querySelector
|
|
21
|
+
*/
|
|
22
|
+
baseContainerSelector?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 当 `baseContainerSelector`因滚动隐藏时,需要固定位置的 `querySelector`
|
|
25
|
+
*/
|
|
26
|
+
fullContentSelector?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* column select 的 props
|
|
30
|
+
*/
|
|
31
|
+
export interface ColumnSelectProps {
|
|
32
|
+
columns: FieldInfo[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 生成 filedInfoList 函数的参数
|
|
36
|
+
*/
|
|
37
|
+
export interface GenerateTableInfo {
|
|
38
|
+
list: BasicColumn[];
|
|
39
|
+
fixedKeys?: string[];
|
|
40
|
+
defaultSelect?: string[];
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 判断str是否是json字符串
|
|
3
|
+
* @param str
|
|
4
|
+
*/
|
|
5
|
+
export declare const isJSON: (str: string | null) => boolean;
|
|
6
|
+
export declare function setLocalStorage(key: string, value: any): void;
|
|
7
|
+
export declare function getLocalStorage(key: string, defaultValue?: null): any;
|
|
8
|
+
export declare function removeLocalStorage(key: string): void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const l = (t) => {
|
|
2
|
+
if (typeof t == "string")
|
|
3
|
+
try {
|
|
4
|
+
const e = JSON.parse(t);
|
|
5
|
+
return !!(typeof e == "object" && e);
|
|
6
|
+
} catch {
|
|
7
|
+
return !1;
|
|
8
|
+
}
|
|
9
|
+
else
|
|
10
|
+
return !1;
|
|
11
|
+
};
|
|
12
|
+
function n(t, e) {
|
|
13
|
+
let r = "";
|
|
14
|
+
typeof e == "object" ? r = JSON.stringify(e) : r = e, localStorage.setItem(t, r);
|
|
15
|
+
}
|
|
16
|
+
function a(t, e = null) {
|
|
17
|
+
const r = localStorage.getItem(t);
|
|
18
|
+
let o = null;
|
|
19
|
+
return r && l(r) && (o = JSON.parse(r)), o !== null ? o : e;
|
|
20
|
+
}
|
|
21
|
+
function s(t) {
|
|
22
|
+
return localStorage.removeItem(t);
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
a as getLocalStorage,
|
|
26
|
+
l as isJSON,
|
|
27
|
+
s as removeLocalStorage,
|
|
28
|
+
n as setLocalStorage
|
|
29
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.aplus-column-select-admin__des {
|
|
2
|
+
color: #999;
|
|
3
|
+
line-height: 18px;
|
|
4
|
+
}
|
|
5
|
+
.aplus-column-select-admin__statistics {
|
|
6
|
+
color: #666;
|
|
7
|
+
}
|
|
8
|
+
.aplus-column-select-admin__all .ant-checkbox-wrapper {
|
|
9
|
+
padding: 0 6px;
|
|
10
|
+
}
|
|
11
|
+
.aplus-column-select-admin__content {
|
|
12
|
+
flex: 1;
|
|
13
|
+
overflow-y: auto;
|
|
14
|
+
}
|
|
15
|
+
.aplus-column-select-admin__content .ant-checkbox-wrapper {
|
|
16
|
+
width: 100%;
|
|
17
|
+
margin: 2px 0;
|
|
18
|
+
padding: 6px;
|
|
19
|
+
}
|
|
20
|
+
.aplus-column-select-admin__content .ant-checkbox-wrapper:hover {
|
|
21
|
+
background: #f5f5f5;
|
|
22
|
+
}
|
|
23
|
+
.aplus-column-select__des {
|
|
24
|
+
line-height: 18px;
|
|
25
|
+
color: #8896b0;
|
|
26
|
+
}
|
|
27
|
+
.aplus-column-select__statistics {
|
|
28
|
+
color: #526a90;
|
|
29
|
+
}
|
|
30
|
+
.aplus-column-select__all .ant-checkbox-wrapper {
|
|
31
|
+
padding: 0 6px;
|
|
32
|
+
}
|
|
33
|
+
.aplus-column-select__content {
|
|
34
|
+
flex: 1;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
}
|
|
37
|
+
.aplus-column-select__content .ant-checkbox-wrapper {
|
|
38
|
+
width: 100%;
|
|
39
|
+
margin: 2px 0;
|
|
40
|
+
padding: 6px;
|
|
41
|
+
}
|
|
42
|
+
.aplus-column-select__content .ant-checkbox-wrapper:hover {
|
|
43
|
+
background: #f6f9fa;
|
|
44
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.aplus-custom-column-admin .ant-btn-default {
|
|
2
|
+
border-color: #d9d9d9;
|
|
3
|
+
}
|
|
4
|
+
.aplus-custom-column-admin .ant-btn-default:hover {
|
|
5
|
+
border-color: #d9d9d9;
|
|
6
|
+
background: #f5f5f5;
|
|
7
|
+
}
|
|
8
|
+
.aplus-custom-column-admin .ant-btn-default > .anticon {
|
|
9
|
+
color: #999;
|
|
10
|
+
}
|
|
11
|
+
.aplus-custom-column-admin__drawer .ant-drawer-content-wrapper {
|
|
12
|
+
border-left: 1px solid #d9d9d9;
|
|
13
|
+
box-shadow: -4px 0 12px 0 rgba(44, 54, 69, 0.1);
|
|
14
|
+
}
|
|
15
|
+
.aplus-custom-column-admin__drawer .ant-drawer-title {
|
|
16
|
+
color: #000;
|
|
17
|
+
}
|
|
18
|
+
.aplus-custom-column-admin__drawer .ant-drawer-mask {
|
|
19
|
+
background: transparent;
|
|
20
|
+
}
|
|
21
|
+
.aplus-custom-column-admin__drawer .ant-drawer-extra .anticon {
|
|
22
|
+
color: #999;
|
|
23
|
+
}
|
|
24
|
+
.aplus-custom-column .ant-btn-default {
|
|
25
|
+
border-color: #dee4ed;
|
|
26
|
+
}
|
|
27
|
+
.aplus-custom-column .ant-btn-default:hover {
|
|
28
|
+
background: #f6f9fa;
|
|
29
|
+
border-color: #dee4ed;
|
|
30
|
+
}
|
|
31
|
+
.aplus-custom-column .ant-btn-default > .anticon {
|
|
32
|
+
color: #8896b0;
|
|
33
|
+
}
|
|
34
|
+
.aplus-custom-column__drawer .ant-drawer-content-wrapper {
|
|
35
|
+
border-left: 1px solid #dee4ed;
|
|
36
|
+
box-shadow: -4px 0 12px 0 rgba(44, 54, 69, 0.1);
|
|
37
|
+
}
|
|
38
|
+
.aplus-custom-column__drawer .ant-drawer-title {
|
|
39
|
+
color: #182948;
|
|
40
|
+
}
|
|
41
|
+
.aplus-custom-column__drawer .ant-drawer-mask {
|
|
42
|
+
background: transparent;
|
|
43
|
+
}
|
|
44
|
+
.aplus-custom-column__drawer .ant-drawer-extra .anticon {
|
|
45
|
+
color: #8896b0;
|
|
46
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const s = (e) => {
|
|
2
|
+
const {
|
|
3
|
+
list: n,
|
|
4
|
+
fixedKeys: d,
|
|
5
|
+
defaultSelect: t
|
|
6
|
+
} = e;
|
|
7
|
+
return n.map((a, r) => ({
|
|
8
|
+
order: r,
|
|
9
|
+
selected: t != null && t.length ? t.includes(a.dataIndex) : !0,
|
|
10
|
+
disabled: (d == null ? void 0 : d.includes(a.dataIndex)) || !1,
|
|
11
|
+
dataIndex: a.dataIndex,
|
|
12
|
+
title: a.title
|
|
13
|
+
}));
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
s as generateTableList
|
|
17
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ApDownLoadProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApDownLoadProps>, {
|
|
5
|
+
size: string;
|
|
6
|
+
color: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApDownLoadProps>, {
|
|
9
|
+
size: string;
|
|
10
|
+
color: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}>>>, {
|
|
13
|
+
color: string;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
size: "small" | "middle" | "large";
|
|
16
|
+
}, {}>, {
|
|
17
|
+
icon?(_: {}): any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|