@aplus-frontend/ui 0.0.1-beta.9 → 0.0.1
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 +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.mjs +54 -48
- package/es/src/ap-field/interface.d.ts +3 -3
- 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/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 +80 -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 +80 -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 +189 -0
- package/es/src/ap-table/ap-table.vue.mjs +267 -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 +11075 -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 +184 -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 +14 -0
- package/es/src/ap-table/utils.mjs +35 -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 +38 -0
- package/es/src/theme/antd-global-overwrite/admin/form.css +65 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +536 -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 +38 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +90 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +565 -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 +8 -0
- package/es/src/utils/index.mjs +29 -17
- 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 +182 -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 +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/interface.d.ts +3 -3
- 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/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 +189 -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 +11075 -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 +184 -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 +14 -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 +38 -0
- package/lib/src/theme/antd-global-overwrite/admin/form.css +65 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +536 -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 +38 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +90 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +565 -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 +8 -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
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
.aplus-ap-upload-picture .picture-context {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-gap: 16px;
|
|
4
|
+
grid-template-columns: repeat(auto-fill, 100px);
|
|
5
|
+
-webkit-user-select: none;
|
|
6
|
+
-moz-user-select: none;
|
|
7
|
+
user-select: none;
|
|
8
|
+
}
|
|
9
|
+
.aplus-ap-upload-picture .picture-context .picture-upload {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
width: 100px;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
transition: all 0.2s;
|
|
17
|
+
border: 1px dashed #dee4ed;
|
|
18
|
+
border-radius: 4px;
|
|
19
|
+
background: #f2f6f9;
|
|
20
|
+
color: #abb7cc;
|
|
21
|
+
font-size: 16px;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
aspect-ratio: 1 / 1;
|
|
24
|
+
}
|
|
25
|
+
.aplus-ap-upload-picture .picture-context .picture-upload > * + * {
|
|
26
|
+
margin-top: 8px;
|
|
27
|
+
font-size: 14px;
|
|
28
|
+
}
|
|
29
|
+
.aplus-ap-upload-picture .picture-context .picture-upload:hover {
|
|
30
|
+
border: 1px dashed #0070ff;
|
|
31
|
+
}
|
|
32
|
+
.aplus-ap-upload-picture .picture-context .picture-item {
|
|
33
|
+
width: 100px;
|
|
34
|
+
padding: 8px;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
border: 1px solid #dee4ed;
|
|
37
|
+
border-radius: 4px;
|
|
38
|
+
background: #fff;
|
|
39
|
+
aspect-ratio: 1 / 1;
|
|
40
|
+
}
|
|
41
|
+
.aplus-ap-upload-picture .picture-context .picture-item .picture-item-box {
|
|
42
|
+
position: relative;
|
|
43
|
+
width: 100%;
|
|
44
|
+
height: 100%;
|
|
45
|
+
border-radius: 2px;
|
|
46
|
+
}
|
|
47
|
+
.aplus-ap-upload-picture .picture-context .picture-item .picture-item-box > img {
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
border-radius: 2px;
|
|
51
|
+
-o-object-fit: cover;
|
|
52
|
+
object-fit: cover;
|
|
53
|
+
}
|
|
54
|
+
.aplus-ap-upload-picture .picture-context .picture-item .picture-item-box:hover > .picture-item-shadow {
|
|
55
|
+
display: block !important;
|
|
56
|
+
}
|
|
57
|
+
.aplus-ap-upload-picture .picture-context .picture-item .picture-item-box .picture-item-shadow {
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: 0;
|
|
60
|
+
left: 0;
|
|
61
|
+
width: 100%;
|
|
62
|
+
height: 100%;
|
|
63
|
+
border-radius: 2px;
|
|
64
|
+
background: rgba(0, 0, 0, 0.5);
|
|
65
|
+
color: #fff;
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
}
|
|
68
|
+
.aplus-ap-upload-picture .picture-context .picture-item .picture-item-box .picture-item-shadow .picture-item-close {
|
|
69
|
+
display: flex;
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 0;
|
|
72
|
+
right: 0;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
width: 16px;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
transform: translate(30%, -30%);
|
|
78
|
+
border: 1px solid #fff;
|
|
79
|
+
border-radius: 50%;
|
|
80
|
+
background: #ff4d4f;
|
|
81
|
+
color: #fff;
|
|
82
|
+
font-size: 10px;
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
aspect-ratio: 1 / 1;
|
|
85
|
+
}
|
|
86
|
+
.aplus-ap-upload-picture .picture-context .picture-item .picture-item-box .picture-item-shadow .picture-item-uploading {
|
|
87
|
+
position: absolute;
|
|
88
|
+
top: 50%;
|
|
89
|
+
left: 50%;
|
|
90
|
+
width: 84%;
|
|
91
|
+
transform: translate(-50%, -50%);
|
|
92
|
+
text-align: center;
|
|
93
|
+
}
|
|
94
|
+
.aplus-ap-upload-picture .picture-title {
|
|
95
|
+
margin-top: 8px;
|
|
96
|
+
color: #8896b0;
|
|
97
|
+
font-size: 14px;
|
|
98
|
+
}
|
|
99
|
+
.aplus-ap-upload-picture-admin .picture-context .picture-upload {
|
|
100
|
+
border: 1px dashed #d9d9d9;
|
|
101
|
+
background: #fafafa;
|
|
102
|
+
color: #bfbfbf;
|
|
103
|
+
}
|
|
104
|
+
.aplus-ap-upload-picture-admin .picture-context .picture-upload:hover {
|
|
105
|
+
border: 1px dashed #34b77c;
|
|
106
|
+
}
|
|
107
|
+
.aplus-ap-upload-picture-admin .picture-context .picture-item {
|
|
108
|
+
border: 1px solid #d9d9d9;
|
|
109
|
+
}
|
|
110
|
+
.aplus-ap-upload-picture-admin .picture-context .picture-title {
|
|
111
|
+
color: #999;
|
|
112
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.aplus-ap-upload-single-file {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 200px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
transition: all 0.3s;
|
|
9
|
+
border: 1px dashed #dee4ed;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
background: #f2f6f9;
|
|
12
|
+
-webkit-user-select: none;
|
|
13
|
+
-moz-user-select: none;
|
|
14
|
+
user-select: none;
|
|
15
|
+
}
|
|
16
|
+
.aplus-ap-upload-single-file > div {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
}
|
|
21
|
+
.aplus-ap-upload-single-file .state-un {
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
}
|
|
24
|
+
.aplus-ap-upload-single-file .state-un .state-un-icon {
|
|
25
|
+
display: block;
|
|
26
|
+
width: 56px;
|
|
27
|
+
}
|
|
28
|
+
.aplus-ap-upload-single-file .state-un .state-un-title {
|
|
29
|
+
margin-top: 10px;
|
|
30
|
+
color: #182948;
|
|
31
|
+
font-size: 16px;
|
|
32
|
+
line-height: 22px;
|
|
33
|
+
}
|
|
34
|
+
.aplus-ap-upload-single-file .state-un .state-un-subtitle {
|
|
35
|
+
margin-top: 4px;
|
|
36
|
+
color: #abb7cc;
|
|
37
|
+
font-size: 12px;
|
|
38
|
+
line-height: 18px;
|
|
39
|
+
}
|
|
40
|
+
.aplus-ap-upload-single-file .state-ing {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
width: min(516px, 77.24%);
|
|
44
|
+
height: 96px;
|
|
45
|
+
padding: 0 24px;
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
background: #fff;
|
|
48
|
+
}
|
|
49
|
+
.aplus-ap-upload-single-file .state-ing .left {
|
|
50
|
+
flex-shrink: 0;
|
|
51
|
+
width: 48px;
|
|
52
|
+
margin-right: 16px;
|
|
53
|
+
}
|
|
54
|
+
.aplus-ap-upload-single-file .state-ing .left img {
|
|
55
|
+
display: block;
|
|
56
|
+
width: 100%;
|
|
57
|
+
}
|
|
58
|
+
.aplus-ap-upload-single-file .state-ing .center {
|
|
59
|
+
flex: 1;
|
|
60
|
+
}
|
|
61
|
+
.aplus-ap-upload-single-file .state-ing .center .center-title {
|
|
62
|
+
display: -webkit-box;
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
font-size: 14px;
|
|
65
|
+
text-align: start;
|
|
66
|
+
text-overflow: ellipsis;
|
|
67
|
+
word-wrap: break-word;
|
|
68
|
+
word-break: break-all;
|
|
69
|
+
-webkit-box-orient: vertical;
|
|
70
|
+
-webkit-line-clamp: 2;
|
|
71
|
+
}
|
|
72
|
+
.aplus-ap-upload-single-file .state-ing .center .center-progress .ant-progress-line {
|
|
73
|
+
margin-right: 0;
|
|
74
|
+
margin-bottom: 0;
|
|
75
|
+
}
|
|
76
|
+
.aplus-ap-upload-single-file .state-ing .right {
|
|
77
|
+
flex-shrink: 0;
|
|
78
|
+
margin-left: 24px;
|
|
79
|
+
color: #ff4d4f;
|
|
80
|
+
font-size: 20px;
|
|
81
|
+
cursor: pointer !important;
|
|
82
|
+
}
|
|
83
|
+
.aplus-ap-upload-single-file-un {
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
}
|
|
86
|
+
.aplus-ap-upload-single-file-un:hover {
|
|
87
|
+
border: 1px dashed #0070ff;
|
|
88
|
+
background: rgba(0, 112, 255, 0.1);
|
|
89
|
+
}
|
|
90
|
+
.aplus-ap-upload-single-file-admin {
|
|
91
|
+
border: 1px dashed #D9D9D9;
|
|
92
|
+
}
|
|
93
|
+
.aplus-ap-upload-single-file-admin .state-un .state-un-title {
|
|
94
|
+
color: #333;
|
|
95
|
+
}
|
|
96
|
+
.aplus-ap-upload-single-file-admin .state-un .state-un-subtitle {
|
|
97
|
+
color: #BFBFBF;
|
|
98
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
.fullscreen-modal {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
}
|
|
4
|
-
.fullscreen-modal .ant-modal {
|
|
5
|
-
inset: 0 !important;
|
|
6
|
-
width: 100% !important;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
.fullscreen-modal .ant-modal-content {
|
|
11
|
-
height: 100%;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
}
|
|
14
|
-
.fullscreen-modal .ant-modal-footer {
|
|
15
|
-
margin-top: 0;
|
|
16
|
-
}
|
|
17
|
-
.aplus-basic-modal {
|
|
18
|
-
width: 520px;
|
|
19
|
-
padding-bottom: 0;
|
|
20
|
-
}
|
|
21
|
-
.aplus-basic-modal .ant-modal-body > .aplus-scrollbar {
|
|
22
|
-
padding: 20px;
|
|
23
|
-
padding-bottom: 0;
|
|
24
|
-
}
|
|
25
|
-
.aplus-basic-modal .ant-modal-title {
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
font-weight: bold;
|
|
28
|
-
}
|
|
29
|
-
.aplus-basic-modal .ant-modal-title .aplus-basic-title {
|
|
30
|
-
cursor: move !important;
|
|
31
|
-
padding-left: 0;
|
|
32
|
-
}
|
|
33
|
-
.aplus-basic-modal .ant-modal-body {
|
|
34
|
-
padding: 0;
|
|
35
|
-
}
|
|
36
|
-
.aplus-basic-modal .ant-modal-body > .aplus-scrollbar > .aplus-scrollbar__bar.is-horizontal {
|
|
37
|
-
display: none;
|
|
38
|
-
}
|
|
39
|
-
.aplus-basic-modal .ant-modal-large {
|
|
40
|
-
top: 60px;
|
|
41
|
-
}
|
|
42
|
-
.aplus-basic-modal .ant-modal-large .ant-modal--mini {
|
|
43
|
-
top: 16px;
|
|
44
|
-
}
|
|
45
|
-
.aplus-basic-modal .ant-modal-header {
|
|
46
|
-
padding: 15px 20px;
|
|
47
|
-
margin-bottom: 0;
|
|
48
|
-
border-bottom: 1px solid #dee4ed;
|
|
49
|
-
}
|
|
50
|
-
.aplus-basic-modal .ant-modal-content {
|
|
51
|
-
padding: 0 !important;
|
|
52
|
-
}
|
|
53
|
-
.aplus-basic-modal .ant-modal-footer {
|
|
54
|
-
padding: 20px;
|
|
55
|
-
margin-top: 0;
|
|
56
|
-
}
|
|
57
|
-
.aplus-basic-modal .ant-modal-footer button + button {
|
|
58
|
-
margin-left: 10px;
|
|
59
|
-
}
|
|
60
|
-
.aplus-basic-modal .ant-modal-close {
|
|
61
|
-
top: 0 !important;
|
|
62
|
-
right: 0 !important;
|
|
63
|
-
width: auto !important;
|
|
64
|
-
outline: none;
|
|
65
|
-
background: transparent !important;
|
|
66
|
-
font-weight: normal;
|
|
67
|
-
}
|
|
68
|
-
.aplus-basic-modal .ant-modal-close-x {
|
|
69
|
-
display: inline-block;
|
|
70
|
-
width: 96px;
|
|
71
|
-
height: 56px;
|
|
72
|
-
line-height: 56px !important;
|
|
73
|
-
}
|
|
74
|
-
.aplus-basic-modal .ant-modal-confirm-body .ant-modal-confirm-content > * {
|
|
75
|
-
color: #909399;
|
|
76
|
-
}
|
|
77
|
-
.aplus-basic-modal .ant-modal-confirm-confirm.error .ant-modal-confirm-body > .anticon {
|
|
78
|
-
color: #ed6f6f;
|
|
79
|
-
}
|
|
80
|
-
.aplus-basic-modal .ant-modal-confirm-btns .ant-btn:last-child {
|
|
81
|
-
margin-right: 0;
|
|
82
|
-
}
|
|
83
|
-
.aplus-basic-modal .ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
84
|
-
color: #efbd47;
|
|
85
|
-
}
|
|
86
|
-
.aplus-basic-modal .ant-modal-confirm-confirm.success .ant-modal-confirm-body > .anticon {
|
|
87
|
-
color: #34b77c;
|
|
88
|
-
}
|
|
89
|
-
@media screen and (height <= 600px) {
|
|
90
|
-
.ant-modal {
|
|
91
|
-
top: 60px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
@media screen and (height <= 540px) {
|
|
95
|
-
.ant-modal {
|
|
96
|
-
top: 30px;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
@media screen and (height <= 480px) {
|
|
100
|
-
.ant-modal {
|
|
101
|
-
top: 10px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
.aplus-pro-table-form .table-form-admin .ant-table-wrapper {
|
|
2
|
+
padding: 0;
|
|
3
|
+
}
|
|
4
|
+
.aplus-pro-table-form .table-form-admin .ant-table .ant-table-tbody > tr > td,
|
|
5
|
+
.aplus-pro-table-form .table-form-admin .ant-table .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
|
|
6
|
+
padding: 18px 16px 0px ;
|
|
7
|
+
}
|
|
8
|
+
.aplus-pro-table-form .table-form-admin .ant-table .ant-table-body .ant-table-tbody > tr.ant-table-row > td:first-child {
|
|
9
|
+
padding: 18px 16px 0 ;
|
|
10
|
+
}
|
|
11
|
+
.aplus-pro-table-form .table-form-admin .ant-table .ant-form-item {
|
|
12
|
+
margin-bottom: 18px;
|
|
13
|
+
}
|
|
14
|
+
.aplus-pro-table-form .table-form-admin .ant-table .ant-form-item .ant-form-item-explain {
|
|
15
|
+
line-height: 18px;
|
|
16
|
+
}
|
|
17
|
+
.aplus-pro-table-form .table-form-admin .ant-table .ant-form-item .ant-form-item-explain + div {
|
|
18
|
+
height: 18px ;
|
|
19
|
+
}
|
|
20
|
+
.aplus-pro-table-form .table-form-admin .ant-table .ant-table-thead > tr > th {
|
|
21
|
+
padding: 10.5px 16px !important;
|
|
22
|
+
background: #fafafa;
|
|
23
|
+
color: #182948;
|
|
24
|
+
}
|
|
25
|
+
.aplus-pro-table-form .table-form-aplus .ant-form-item {
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
}
|
|
28
|
+
.aplus-pro-table-form .table-form-aplus .ant-form-item-has-error.ant-form-item {
|
|
29
|
+
margin-bottom: 24px;
|
|
30
|
+
}
|
|
31
|
+
.aplus-pro-table-form .table-form-aplus .ant-table-tbody > tr > td,
|
|
32
|
+
.aplus-pro-table-form .table-form-aplus .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
|
|
33
|
+
padding: 16px 8px ;
|
|
34
|
+
}
|
|
35
|
+
.aplus-pro-table-form .table-form-aplus .ant-table-body .ant-table-tbody > tr.ant-table-row > td:first-child {
|
|
36
|
+
padding: 16px 8px ;
|
|
37
|
+
}
|
|
38
|
+
.aplus-pro-table-form .ant-table {
|
|
39
|
+
border-radius: 0 !important;
|
|
40
|
+
}
|
|
41
|
+
.aplus-pro-table-form .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
|
|
42
|
+
border-start-start-radius: 0;
|
|
43
|
+
}
|
|
44
|
+
.aplus-pro-table-form .ant-table .ant-table-container table > thead > tr:first-child > *:last-child {
|
|
45
|
+
border-start-end-radius: 0;
|
|
46
|
+
}
|
|
47
|
+
.aplus-pro-table-form .ant-table .ant-table-container,
|
|
48
|
+
.aplus-pro-table-form .ant-table .ant-table-thead {
|
|
49
|
+
border-start-start-radius: 0;
|
|
50
|
+
border-start-end-radius: 0;
|
|
51
|
+
}
|
|
52
|
+
.aplus-pro-table-form .ant-table .ant-table-thead > tr > th {
|
|
53
|
+
padding: 15.5px 8px !important;
|
|
54
|
+
background: #f2f6f9;
|
|
55
|
+
color: #182948;
|
|
56
|
+
text-align: left !important;
|
|
57
|
+
}
|
|
58
|
+
.aplus-pro-table-form .ant-table .ant-table-thead > tr > th::before {
|
|
59
|
+
display: none;
|
|
60
|
+
visibility: hidden;
|
|
61
|
+
width: 0;
|
|
62
|
+
}
|
|
63
|
+
.aplus-pro-table-form .ant-table .ant-table-content {
|
|
64
|
+
overflow-x: scroll;
|
|
65
|
+
}
|
|
66
|
+
.aplus-pro-table-form .ant-table-row.ant-table-row-level-0 .ant-table-cell {
|
|
67
|
+
vertical-align: top;
|
|
68
|
+
}
|
|
69
|
+
.aplus-pro-table-form--required {
|
|
70
|
+
color: #FF4D4F;
|
|
71
|
+
margin-top: 4px;
|
|
72
|
+
}
|
|
73
|
+
.aplus-pro-table-form--edit-cell {
|
|
74
|
+
width: 100%;
|
|
75
|
+
height: 100%;
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: flex-start;
|
|
78
|
+
justify-content: flex-start;
|
|
79
|
+
}
|
|
80
|
+
.aplus-pro-table-form--form-item {
|
|
81
|
+
width: 100%;
|
|
82
|
+
}
|
|
83
|
+
.aplus-pro-table-form--edit-wraper {
|
|
84
|
+
display: flex;
|
|
85
|
+
}
|
|
86
|
+
.aplus-pro-table-form--field-error .ant-input-number,
|
|
87
|
+
.aplus-pro-table-form--field-error .ant-input {
|
|
88
|
+
border-color: #ff4d4f;
|
|
89
|
+
}
|
|
90
|
+
.aplus-pro-table-form--text-cell {
|
|
91
|
+
margin-top: 5px;
|
|
92
|
+
}
|
|
93
|
+
.aplus-pro-table-form--action-cell {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
margin-top: 5px;
|
|
97
|
+
}
|
|
98
|
+
.aplus-pro-table-form--error-tip {
|
|
99
|
+
margin-left: 8px;
|
|
100
|
+
color: #FF4D4F;
|
|
101
|
+
}
|
|
102
|
+
.aplus-pro-table-form .ant-input-number {
|
|
103
|
+
width: 100% !important;
|
|
104
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { TransformCellTextProps } from 'ant-design-vue/lib/table/interface';
|
|
2
|
+
import { ConfigProviderProps } from 'ant-design-vue';
|
|
3
|
+
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
4
|
+
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
5
|
+
import { Locale } from 'ant-design-vue/es/locale';
|
|
6
|
+
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
7
|
+
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
8
|
+
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
9
|
+
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
10
|
+
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上
|
|
14
|
+
* 解决弹出框滚动问题
|
|
15
|
+
* @param trigger
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
export declare const getPopupContainer: (trigger: HTMLElement | undefined) => HTMLElement;
|
|
19
|
+
/**
|
|
20
|
+
* Table 数据渲染前可以再次改变,一般用户空数据的默认配置
|
|
21
|
+
* 解决表格空状态设置为--
|
|
22
|
+
* @param param0
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
export declare const transformCellText: ({ text }: TransformCellTextProps) => any;
|
|
26
|
+
/**
|
|
27
|
+
* 设置为 false 时,移除按钮中 2 个汉字之间的空格
|
|
28
|
+
*/
|
|
29
|
+
export declare const autoInsertSpaceInButton = false;
|
|
30
|
+
/**
|
|
31
|
+
* antdv的configProvider预设
|
|
32
|
+
*/
|
|
33
|
+
export declare const antdConfigProviderPresets: Partial<ConfigProviderProps>;
|
|
34
|
+
/**
|
|
35
|
+
* 预设和antd provider config合并 合并规则,未自定义时才使用默认预设
|
|
36
|
+
* @param config
|
|
37
|
+
* @returns
|
|
38
|
+
*/
|
|
39
|
+
export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
40
|
+
theme?: ThemeConfig | undefined;
|
|
41
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
42
|
+
csp?: CSPConfig | undefined;
|
|
43
|
+
input?: {
|
|
44
|
+
autocomplete?: string | undefined;
|
|
45
|
+
} | undefined;
|
|
46
|
+
locale?: Locale | undefined;
|
|
47
|
+
pageHeader?: {
|
|
48
|
+
ghost?: boolean | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
space?: {
|
|
51
|
+
size?: number | ButtonSize;
|
|
52
|
+
} | undefined;
|
|
53
|
+
dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
54
|
+
form?: {
|
|
55
|
+
validateMessages?: ValidateMessages | undefined;
|
|
56
|
+
requiredMark?: RequiredMark | undefined;
|
|
57
|
+
colon?: boolean | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
pagination?: {
|
|
60
|
+
showSizeChanger?: boolean | undefined;
|
|
61
|
+
} | undefined;
|
|
62
|
+
select?: {
|
|
63
|
+
showSearch?: boolean | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
wave?: {
|
|
66
|
+
disabled?: boolean | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
getPopupContainer?: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
69
|
+
prefixCls?: string | undefined;
|
|
70
|
+
iconPrefixCls?: string | undefined;
|
|
71
|
+
getTargetContainer?: (() => HTMLElement | Window) | undefined;
|
|
72
|
+
getPrefixCls?: ((suffixCls?: string | undefined, customizePrefixCls?: string | undefined) => string) | undefined;
|
|
73
|
+
renderEmpty?: __DTS_DEFAULT_0__ | undefined;
|
|
74
|
+
transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
|
|
75
|
+
autoInsertSpaceInButton?: boolean | undefined;
|
|
76
|
+
componentSize?: ButtonSize;
|
|
77
|
+
componentDisabled?: boolean | undefined;
|
|
78
|
+
virtual?: boolean | undefined;
|
|
79
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("lodash-unified");function s(e,n){var t,r;return e!=null&&e.parentElement?e.parentElement.classList.contains(n)?(t=e.parentElement)!=null&&t.parentElement?(r=e.parentElement.parentElement.className)==null?void 0:r.includes("basic-table"):!1:s(e.parentElement,n):!1}const a=e=>s(e,"ant-form")&&(e==null?void 0:e.parentNode)||(document==null?void 0:document.body),u=({text:e})=>{const n=t=>t==null||t==="";return Array.isArray(e)?n(e[0])?"--":e[0]:n(e)?"--":e},f=!1,o={getPopupContainer:a,transformCellText:u,autoInsertSpaceInButton:f};function l(e){const n={...e},t=Object.keys(o);for(const r of t)i.isUndefined(n[r])&&(n[r]=o[r]);return n}exports.antdConfigProviderPresets=o;exports.autoInsertSpaceInButton=f;exports.getPopupContainer=a;exports.mergeAntdProvideConfig=l;exports.transformCellText=u;
|
package/lib/src/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Recordable } from '../type';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* @description: Set ui mount node
|
|
3
5
|
*/
|
|
@@ -12,3 +14,9 @@ export declare function getDynamicProps<T extends Record<string, unknown>, U>(pr
|
|
|
12
14
|
*/
|
|
13
15
|
export declare function omitWhen<T extends object, K extends keyof T>(obj: T, fieldList?: K[], when?: (field: string, fieldValue: T[K]) => boolean): Omit<T, K>;
|
|
14
16
|
export declare function isPascalCase(str: string): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 递归处理reactive对象转raw object
|
|
19
|
+
* @param obj
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
export declare function convertReactiveToRaw(obj: Recordable<any>): Recordable<any>;
|
package/lib/src/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue");function u(e){return(e==null?void 0:e.parentNode)??document.body}function f(e){return typeof e<"u"}function l(e){const t={};return Object.keys(e).map(n=>{t[n]=a.unref(e[n])}),t}function y(e,t=[],n){const r=Object.assign({},e),s=Object.keys(r);for(let c=0;c<s.length;c+=1){const i=s[c];(t.includes(i)||n!=null&&n(i,r[i]))&&delete r[i]}return r}function p(e){return/^[A-Z][A-Za-z]*$/.test(e)}function o(e){if(Array.isArray(e))return e.map(t=>o(t));if(typeof e=="object"&&e!==null){const t={};for(const n in e)t[n]=o(e[n]);return a.markRaw(t)}return e}exports.convertReactiveToRaw=o;exports.getDynamicProps=l;exports.getPopupContainer=u;exports.isDef=f;exports.isPascalCase=p;exports.omitWhen=y;
|
package/lib/src/utils/slot.d.ts
CHANGED
|
@@ -5,9 +5,15 @@ type SlotOptions = FormRenderOpts;
|
|
|
5
5
|
/**
|
|
6
6
|
* @description: Get slot to prevent empty error
|
|
7
7
|
*/
|
|
8
|
-
export declare function getSlot(slots: Slots, slot?: string, data?: Record<string, any>, opts?: SlotOptions): VNode<RendererNode, RendererElement, {
|
|
8
|
+
export declare function getSlot(slots: Slots, slot?: string, data?: Record<string, any>, opts?: SlotOptions): VNode< RendererNode, RendererElement, {
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
}>[] | null;
|
|
11
|
+
/**
|
|
12
|
+
* 获取某个插槽下的唯一VNode
|
|
13
|
+
* @param slot
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare function getSingleVNode(slot: any): VNode | undefined;
|
|
11
17
|
/**
|
|
12
18
|
* extends slots
|
|
13
19
|
* @param slots
|
package/lib/src/utils/slot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@fruits-chain/utils"),l=require("lodash-unified");function c(n,e="default",i,r){if(!n||!Reflect.has(n,e))return null;if(!o.isFunction(n[e]))return console.error(`${e} is not a function!`),null;const t=n[e];if(!t)return null;const u={...i,...r};return t(u)}function f(n){if(!n||!o.isFunction(n)){console.error(`${n} is not a function!`);return}const e=n();return l.isArray(e)?e[0]:e}function s(n,e=[]){const i=Object.keys(n),r={};return i.map(t=>{if(e.includes(t))return null;r[t]=u=>c(n,t,u)}),r}exports.extendSlots=s;exports.getSingleVNode=f;exports.getSlot=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function createWorkOrderModal(api: (args?: any) => Promise<any>, getOssAccess: () => void): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue");require("./work-order-modal.vue2.js");const l=require("./work-order-modal.vue.js");function u(t,d){const o=document.getElementsByTagName("body")[0],e=document.createElement("div");o.appendChild(e),r.render(r.h(l.default,{api:t,getOssAccess:d,onModalClose:n}),e);function n(){setTimeout(()=>{r.render(null,e),o.removeChild(e)},500)}}exports.createWorkOrderModal=u;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./help-message.vue2.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@ant-design/icons-vue"),l=require("ant-design-vue"),n=e.createElementVNode("div",{class:"title"},[e.createElementVNode("div",{class:"flex"},[e.createElementVNode("div",null,"1."),e.createElementVNode("div",null,"单个文件大小限制:50MB")]),e.createElementVNode("div",{class:"flex"},[e.createElementVNode("div",null,"2."),e.createElementVNode("div",null,"单次数量限制:10个")])],-1),o=e.defineComponent({__name:"help-message",setup(r){return(c,i)=>(e.openBlock(),e.createBlock(e.unref(l.Tooltip),{placement:"right"},{title:e.withCtx(()=>[n]),default:e.withCtx(()=>[e.createVNode(e.unref(t.QuestionCircleOutlined),{style:{color:"#1890FF",fontSize:"16px",transform:"translateX(-6px)"}})]),_:1}))}});exports.default=o;
|