@aplus-frontend/ui 7.5.0 → 7.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +200 -198
- package/es/src/ag-grid/editable/form-item.vue.mjs +14 -14
- package/es/src/ag-grid/editable/index.vue.mjs +20 -20
- package/es/src/ag-grid/hooks/use-columns-def.mjs +32 -31
- package/es/src/ag-grid/hooks/use-editable-api.mjs +9 -8
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +26 -25
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +11 -10
- package/es/src/ag-grid/index.vue.mjs +37 -36
- package/es/src/ag-grid/renderer/number.mjs +7 -7
- package/es/src/ag-grid/style/custom-header.mjs +3 -3
- package/es/src/ag-grid/style/index.mjs +1 -1
- package/es/src/ap-action/style/index.mjs +1 -1
- package/es/src/ap-drawer/style/index.mjs +12 -12
- package/es/src/ap-field/date/index.vue.mjs +14 -14
- package/es/src/ap-field/date/read.vue2.mjs +3 -3
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/date-range/read.vue2.mjs +3 -3
- package/es/src/ap-field/hooks/use-default-placeholder.mjs +5 -4
- package/es/src/ap-field/number/helper.mjs +1 -1
- package/es/src/ap-field/number/index.vue.mjs +9 -9
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/style/checkbox.d.ts +2 -2
- package/es/src/ap-field/style/number.d.ts +2 -2
- package/es/src/ap-field/style/radio.d.ts +2 -2
- package/es/src/ap-field/style/textarea.d.ts +2 -2
- package/es/src/ap-field/switch/index.vue.mjs +4 -3
- package/es/src/ap-form/ap-form.vue2.mjs +18 -17
- package/es/src/ap-form/item/index.vue.mjs +6 -6
- package/es/src/ap-form/item-group/helper.mjs +8 -7
- package/es/src/ap-form/item-group/index.vue.mjs +15 -14
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +24 -22
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +4 -1
- package/es/src/ap-form/search-form/hooks/use-sorter.mjs +9 -8
- package/es/src/ap-form/search-form/index.vue.mjs +12 -11
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-form/style/item.mjs +15 -15
- package/es/src/ap-form/style/modal-form.mjs +2 -1
- package/es/src/ap-form/style/search-form-sorter.mjs +1 -1
- package/es/src/ap-form/style/search-form.d.ts +7 -1
- package/es/src/ap-form/style/search-form.mjs +37 -34
- package/es/src/ap-grid/editable/form-item.vue.mjs +11 -10
- package/es/src/ap-grid/editable/index.vue.mjs +42 -41
- package/es/src/ap-grid/index.vue.mjs +14 -13
- package/es/src/ap-grid/style/editable.mjs +7 -7
- package/es/src/ap-grid/style/index.mjs +11 -11
- package/es/src/ap-grid/utils/table.mjs +14 -13
- package/es/src/ap-list/hooks/use-offline-list.d.ts +2 -2
- package/es/src/ap-list/hooks/use-offline-list.mjs +13 -12
- package/es/src/ap-list/style/index.mjs +1 -1
- package/es/src/ap-pro-card/style/divider.mjs +2 -2
- package/es/src/ap-pro-card/style/index.mjs +14 -14
- package/es/src/ap-pro-card/style/operation.mjs +1 -2
- package/es/src/ap-pro-card/style/statistic.mjs +12 -12
- package/es/src/ap-pro-card/style/statistics-card.mjs +13 -13
- package/es/src/ap-pro-card/style/title.mjs +13 -33
- package/es/src/ap-table/ap-table.vue2.mjs +4 -3
- package/es/src/ap-table/constants.d.ts +5 -5
- package/es/src/ap-table/hooks/use-table-column-state.mjs +23 -22
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +4 -3
- package/es/src/ap-table/style/index-comp.d.ts +2 -1
- package/es/src/ap-table/style/index-comp.mjs +15 -12
- package/es/src/ap-table/style/index.d.ts +3 -0
- package/es/src/ap-table/style/index.mjs +14 -11
- package/es/src/ap-table/style/setting.d.ts +2 -1
- package/es/src/ap-table/style/setting.mjs +73 -61
- package/es/src/ap-table/utils.mjs +61 -62
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +15 -15
- package/es/src/business/ag-grid-modal/style/index.d.ts +3 -0
- package/es/src/business/ag-grid-modal/style/index.mjs +24 -20
- package/es/src/business/ag-grid-modal/style/selected-items.mjs +8 -8
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +26 -27
- package/es/src/business/ap-appendix/style/index.mjs +20 -21
- package/es/src/business/ap-attachment/style/index.d.ts +6 -0
- package/es/src/business/ap-attachment/style/index.mjs +28 -25
- package/es/src/business/ap-batch-action/style/index.d.ts +2 -2
- package/es/src/business/ap-batch-action/style/index.mjs +18 -18
- package/es/src/business/ap-card/style/index.d.ts +2 -2
- package/es/src/business/ap-card/style/index.mjs +8 -8
- package/es/src/business/ap-copy/style/index.mjs +16 -22
- package/es/src/business/ap-descriptions/formatter/index.mjs +1 -1
- package/es/src/business/ap-descriptions/style/index.mjs +8 -6
- package/es/src/business/ap-download/style/index.mjs +4 -4
- package/es/src/business/ap-draggable-grid/style/index.mjs +7 -7
- package/es/src/business/ap-expand-alert/style/index.mjs +30 -26
- package/es/src/business/ap-image/style/index.d.ts +2 -2
- package/es/src/business/ap-image/style/index.mjs +8 -7
- package/es/src/business/ap-input-radio/style/index.mjs +1 -1
- package/es/src/business/ap-label/style/index.d.ts +14 -0
- package/es/src/business/ap-label/style/index.mjs +29 -19
- package/es/src/business/ap-ladder/style/index.mjs +7 -6
- package/es/src/business/ap-product-info/style/index.d.ts +10 -0
- package/es/src/business/ap-product-info/style/index.mjs +35 -28
- package/es/src/business/ap-radio-group/style/index.mjs +3 -3
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +6 -6
- package/es/src/business/ap-select-layout/style/index.d.ts +6 -0
- package/es/src/business/ap-select-layout/style/index.mjs +59 -53
- package/es/src/business/ap-size-input/style/index.mjs +3 -3
- package/es/src/business/ap-status/style/index.mjs +1 -1
- package/es/src/business/ap-summary/style/index.d.ts +10 -0
- package/es/src/business/ap-summary/style/index.mjs +18 -11
- package/es/src/business/ap-table-modal/style/index.d.ts +11 -1
- package/es/src/business/ap-table-modal/style/index.mjs +17 -12
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +2 -2
- package/es/src/business/ap-tag/style/index.mjs +33 -31
- package/es/src/business/ap-title/style/index.d.ts +2 -1
- package/es/src/business/ap-title/style/index.mjs +41 -49
- package/es/src/business/ap-upload/style/index.mjs +10 -5
- package/es/src/business/ap-upload/style/multiple-file.d.ts +2 -2
- package/es/src/business/ap-upload/style/multiple-file.mjs +8 -7
- package/es/src/business/ap-upload/style/picture.d.ts +3 -2
- package/es/src/business/ap-upload/style/picture.mjs +26 -26
- package/es/src/business/ap-upload/style/single-file.d.ts +3 -2
- package/es/src/business/ap-upload/style/single-file.mjs +30 -29
- package/es/src/business/ap-upload/style/token.d.ts +19 -0
- package/es/src/business/ap-upload/style/token.mjs +9 -0
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +24 -2
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.mjs +51 -42
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-value-select-card/style/index.mjs +45 -43
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +14 -14
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +35 -34
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/ap-view/style/index.d.ts +6 -2
- package/es/src/business/ap-view/style/index.mjs +43 -35
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.mjs +23 -22
- package/es/src/business/batch-input-group/style/index.mjs +2 -2
- package/es/src/check-card/style/index.mjs +17 -17
- package/es/src/design-token/constants.mjs +9 -1
- package/es/src/design-token/interface.d.ts +139 -12
- package/es/src/editable-table/form-item.vue.mjs +4 -3
- package/es/src/editable-table/index.vue.mjs +4 -3
- package/es/src/editable-table/style/index.mjs +11 -11
- package/es/src/editable-table/utils.d.ts +1 -1
- package/es/src/editable-table/utils.mjs +27 -26
- package/es/src/highlight/index.d.ts +3 -0
- package/es/src/highlight/index.mjs +2 -0
- package/es/src/highlight/index.vue.d.ts +31 -0
- package/es/src/highlight/index.vue.mjs +49 -0
- package/es/src/highlight/index.vue2.mjs +4 -0
- package/es/src/highlight/interface.d.ts +14 -0
- package/es/src/highlight/interface.mjs +1 -0
- package/es/src/highlight/style/index.d.ts +8 -0
- package/es/src/highlight/style/index.mjs +23 -0
- package/es/src/hooks/useMessage.mjs +4 -4
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +296 -293
- package/es/src/loading-bar/index.vue2.mjs +4 -3
- package/es/src/loading-bar/style/index.mjs +10 -10
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +10 -9
- package/es/src/scroll-view/index.vue.mjs +4 -3
- package/es/src/splitter/style/index.mjs +11 -11
- package/es/src/text/index.vue.mjs +8 -7
- package/es/src/time-ago/index.vue.mjs +17 -16
- package/es/src/time-ago/useTimeAgo.mjs +31 -30
- package/es/src/utils/cssinjs/TokenUtil.d.ts +1 -0
- package/es/src/utils/cssinjs/TokenUtil.mjs +3 -0
- package/es/src/utils/decimal.d.ts +36 -0
- package/es/src/utils/decimal.mjs +45 -0
- package/es/src/utils/format.d.ts +21 -0
- package/es/src/utils/format.mjs +32 -0
- package/es/src/utils/index.d.ts +2 -1
- package/es/src/utils/index.mjs +20 -22
- package/es/src/utils/is.d.ts +54 -0
- package/es/src/utils/is.mjs +26 -0
- package/es/src/utils/slot.mjs +1 -2
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/renderer/number.js +1 -1
- package/lib/src/ag-grid/style/custom-header.js +1 -1
- package/lib/src/ag-grid/style/index.js +1 -1
- package/lib/src/ap-action/style/index.js +1 -1
- package/lib/src/ap-drawer/style/index.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/hooks/use-default-placeholder.js +1 -1
- package/lib/src/ap-field/number/helper.js +1 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/style/checkbox.d.ts +2 -2
- package/lib/src/ap-field/style/number.d.ts +2 -2
- package/lib/src/ap-field/style/radio.d.ts +2 -2
- package/lib/src/ap-field/style/textarea.d.ts +2 -2
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/helper.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-sorter.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/style/modal-form.js +1 -1
- package/lib/src/ap-form/style/search-form-sorter.js +1 -1
- package/lib/src/ap-form/style/search-form.d.ts +7 -1
- package/lib/src/ap-form/style/search-form.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/style/editable.js +1 -1
- package/lib/src/ap-grid/style/index.js +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +2 -2
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/style/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/index.js +1 -1
- package/lib/src/ap-pro-card/style/operation.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-pro-card/style/title.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/style/index-comp.d.ts +2 -1
- package/lib/src/ap-table/style/index-comp.js +1 -1
- package/lib/src/ap-table/style/index.d.ts +3 -0
- package/lib/src/ap-table/style/index.js +1 -1
- package/lib/src/ap-table/style/setting.d.ts +2 -1
- package/lib/src/ap-table/style/setting.js +1 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/style/index.d.ts +3 -0
- package/lib/src/business/ag-grid-modal/style/index.js +1 -1
- package/lib/src/business/ag-grid-modal/style/selected-items.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-appendix/style/index.js +1 -1
- package/lib/src/business/ap-attachment/style/index.d.ts +6 -0
- package/lib/src/business/ap-attachment/style/index.js +1 -1
- package/lib/src/business/ap-batch-action/style/index.d.ts +2 -2
- package/lib/src/business/ap-batch-action/style/index.js +1 -1
- package/lib/src/business/ap-card/style/index.d.ts +2 -2
- package/lib/src/business/ap-card/style/index.js +1 -1
- package/lib/src/business/ap-copy/style/index.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/style/index.js +1 -1
- package/lib/src/business/ap-download/style/index.js +1 -1
- package/lib/src/business/ap-draggable-grid/style/index.js +1 -1
- package/lib/src/business/ap-expand-alert/style/index.js +1 -1
- package/lib/src/business/ap-image/style/index.d.ts +2 -2
- package/lib/src/business/ap-image/style/index.js +1 -1
- package/lib/src/business/ap-input-radio/style/index.js +1 -1
- package/lib/src/business/ap-label/style/index.d.ts +14 -0
- package/lib/src/business/ap-label/style/index.js +1 -1
- package/lib/src/business/ap-ladder/style/index.js +1 -1
- package/lib/src/business/ap-product-info/style/index.d.ts +10 -0
- package/lib/src/business/ap-product-info/style/index.js +1 -1
- package/lib/src/business/ap-radio-group/style/index.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-select-layout/style/index.d.ts +6 -0
- package/lib/src/business/ap-select-layout/style/index.js +1 -1
- package/lib/src/business/ap-size-input/style/index.js +1 -1
- package/lib/src/business/ap-status/style/index.js +1 -1
- package/lib/src/business/ap-summary/style/index.d.ts +10 -0
- package/lib/src/business/ap-summary/style/index.js +1 -1
- package/lib/src/business/ap-table-modal/style/index.d.ts +11 -1
- package/lib/src/business/ap-table-modal/style/index.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/style/index.js +1 -1
- package/lib/src/business/ap-title/style/index.d.ts +2 -1
- package/lib/src/business/ap-title/style/index.js +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload/style/multiple-file.d.ts +2 -2
- package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
- package/lib/src/business/ap-upload/style/picture.d.ts +3 -2
- package/lib/src/business/ap-upload/style/picture.js +1 -1
- package/lib/src/business/ap-upload/style/single-file.d.ts +3 -2
- package/lib/src/business/ap-upload/style/single-file.js +1 -1
- package/lib/src/business/ap-upload/style/token.d.ts +19 -0
- package/lib/src/business/ap-upload/style/token.js +1 -0
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +24 -2
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.js +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.js +1 -1
- package/lib/src/business/ap-value-select-card/style/index.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/icons/line-delete.vue.js +1 -1
- package/lib/src/business/ap-view/icons/line-down.vue.js +1 -1
- package/lib/src/business/ap-view/icons/line-eye.vue.js +1 -1
- package/lib/src/business/ap-view/style/index.d.ts +6 -2
- package/lib/src/business/ap-view/style/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/style/index.js +1 -1
- package/lib/src/check-card/style/index.js +1 -1
- package/lib/src/design-token/constants.js +1 -1
- package/lib/src/design-token/interface.d.ts +139 -12
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/style/index.js +1 -1
- package/lib/src/editable-table/utils.d.ts +1 -1
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/highlight/index.d.ts +3 -0
- package/lib/src/highlight/index.js +1 -0
- package/lib/src/highlight/index.vue.d.ts +31 -0
- package/lib/src/highlight/index.vue.js +1 -0
- package/lib/src/highlight/index.vue2.js +1 -0
- package/lib/src/highlight/interface.d.ts +14 -0
- package/lib/src/highlight/interface.js +1 -0
- package/lib/src/highlight/style/index.d.ts +8 -0
- package/lib/src/highlight/style/index.js +1 -0
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/loading-bar/style/index.js +3 -3
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/splitter/style/index.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/time-ago/useTimeAgo.js +1 -1
- package/lib/src/utils/cssinjs/TokenUtil.d.ts +1 -0
- package/lib/src/utils/cssinjs/TokenUtil.js +1 -1
- package/lib/src/utils/decimal.d.ts +36 -0
- package/lib/src/utils/decimal.js +1 -0
- package/lib/src/utils/format.d.ts +21 -0
- package/lib/src/utils/format.js +1 -0
- package/lib/src/utils/index.d.ts +2 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/utils/is.d.ts +54 -0
- package/lib/src/utils/is.js +1 -0
- package/lib/src/utils/slot.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +6 -6
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +0 -3
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +0 -18
- package/es/src/utils/copy-text-to-clipboard.d.ts +0 -1
- package/es/src/utils/tree.d.ts +0 -38
- package/es/src/utils/uuid.d.ts +0 -2
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +0 -3
- package/lib/src/business/ap-appendix/icons/file-icon.vue.js +0 -1
- package/lib/src/utils/copy-text-to-clipboard.d.ts +0 -1
- package/lib/src/utils/tree.d.ts +0 -38
- package/lib/src/utils/uuid.d.ts +0 -2
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
|
+
import { ApUploadToken } from './token';
|
|
3
|
+
export declare const pictureStyle: GenStyleFunc<ApUploadToken>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
const { componentCls:
|
|
1
|
+
const o = (i) => {
|
|
2
|
+
const { componentCls: r } = i;
|
|
3
3
|
return {
|
|
4
|
-
[`${
|
|
4
|
+
[`${r}-picture`]: {
|
|
5
5
|
".picture-context": {
|
|
6
6
|
display: "grid",
|
|
7
|
-
gap:
|
|
7
|
+
gap: i.spaceXL,
|
|
8
8
|
gridTemplateColumns: "repeat(auto-fill, 100px)",
|
|
9
9
|
userSelect: "none",
|
|
10
10
|
".picture-upload": {
|
|
@@ -14,36 +14,36 @@ const r = (o) => {
|
|
|
14
14
|
justifyContent: "center",
|
|
15
15
|
width: "100px",
|
|
16
16
|
overflow: "hidden",
|
|
17
|
-
transition:
|
|
18
|
-
border:
|
|
19
|
-
borderRadius:
|
|
20
|
-
background:
|
|
21
|
-
color:
|
|
22
|
-
fontSize:
|
|
17
|
+
transition: `all ${i.motionDurationMid}`,
|
|
18
|
+
border: `${i.lineWidth} dashed ${i.borderColorBase}`,
|
|
19
|
+
borderRadius: i.borderRadius,
|
|
20
|
+
background: i.colorBgLayout,
|
|
21
|
+
color: i.textColor4,
|
|
22
|
+
fontSize: i.fontSizeXL,
|
|
23
23
|
cursor: "pointer",
|
|
24
24
|
aspectRatio: "1 / 1",
|
|
25
|
-
"& > * + *": { marginTop:
|
|
25
|
+
"& > * + *": { marginTop: i.spaceXS, fontSize: i.fontSize },
|
|
26
26
|
"&:hover": {
|
|
27
|
-
border:
|
|
27
|
+
border: `${i.lineWidth} dashed ${i.colorPrimary}`
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
".picture-item": {
|
|
31
|
-
width:
|
|
32
|
-
padding:
|
|
31
|
+
width: i.apUploadPictureItemWidth,
|
|
32
|
+
padding: i.space,
|
|
33
33
|
overflow: "hidden",
|
|
34
|
-
border:
|
|
35
|
-
borderRadius:
|
|
34
|
+
border: `${i.lineWidth} ${i.lineType} ${i.borderColorBase}`,
|
|
35
|
+
borderRadius: i.borderRadius,
|
|
36
36
|
background: "#fff",
|
|
37
37
|
aspectRatio: "1 / 1",
|
|
38
38
|
".picture-item-box": {
|
|
39
39
|
position: "relative",
|
|
40
40
|
width: "100%",
|
|
41
41
|
height: "100%",
|
|
42
|
-
borderRadius:
|
|
42
|
+
borderRadius: i.borderRadiusSM,
|
|
43
43
|
"& > img": {
|
|
44
44
|
width: "100%",
|
|
45
45
|
height: "100%",
|
|
46
|
-
borderRadius:
|
|
46
|
+
borderRadius: i.borderRadiusSM,
|
|
47
47
|
objectFit: "cover"
|
|
48
48
|
},
|
|
49
49
|
"&:hover > .picture-item-shadow": {
|
|
@@ -55,10 +55,10 @@ const r = (o) => {
|
|
|
55
55
|
left: 0,
|
|
56
56
|
width: "100%",
|
|
57
57
|
height: "100%",
|
|
58
|
-
borderRadius:
|
|
58
|
+
borderRadius: i.borderRadiusSM,
|
|
59
59
|
background: "rgb(0 0 0 / 50%)",
|
|
60
60
|
color: "#fff",
|
|
61
|
-
fontSize:
|
|
61
|
+
fontSize: i.fontSize,
|
|
62
62
|
".picture-item-close": {
|
|
63
63
|
display: "flex",
|
|
64
64
|
position: "absolute",
|
|
@@ -66,14 +66,14 @@ const r = (o) => {
|
|
|
66
66
|
right: 0,
|
|
67
67
|
alignItems: "center",
|
|
68
68
|
justifyContent: "center",
|
|
69
|
-
width:
|
|
69
|
+
width: i.apUploadPictureCloseIconWidth,
|
|
70
70
|
overflow: "hidden",
|
|
71
71
|
transform: "translate(30%, -30%)",
|
|
72
|
-
border:
|
|
72
|
+
border: `${i.lineWidth} ${i.lineType} #fff`,
|
|
73
73
|
borderRadius: "50%",
|
|
74
|
-
background:
|
|
74
|
+
background: i.colorError,
|
|
75
75
|
color: "#fff",
|
|
76
|
-
fontSize:
|
|
76
|
+
fontSize: i.fontSizeSM,
|
|
77
77
|
cursor: "pointer",
|
|
78
78
|
aspectRatio: "1 / 1"
|
|
79
79
|
},
|
|
@@ -91,12 +91,12 @@ const r = (o) => {
|
|
|
91
91
|
},
|
|
92
92
|
".picture-title": {
|
|
93
93
|
marginTop: "8px",
|
|
94
|
-
color:
|
|
94
|
+
color: i.textColor3,
|
|
95
95
|
fontSize: "12px"
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
export {
|
|
101
|
-
|
|
101
|
+
o as pictureStyle
|
|
102
102
|
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
|
+
import { ApUploadToken } from './token';
|
|
3
|
+
export declare const singleFileStyle: GenStyleFunc<ApUploadToken>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
const
|
|
2
|
-
const { componentCls:
|
|
1
|
+
const l = (i) => {
|
|
2
|
+
const { componentCls: r } = i, e = `${r}-single-file`;
|
|
3
3
|
return {
|
|
4
|
-
[
|
|
4
|
+
[e]: {
|
|
5
5
|
display: "flex",
|
|
6
6
|
alignItems: "center",
|
|
7
7
|
justifyContent: "center",
|
|
8
8
|
width: "100%",
|
|
9
|
-
height:
|
|
9
|
+
height: i.apUploadSingleFileContainerHeight,
|
|
10
10
|
overflow: "hidden",
|
|
11
|
-
transition:
|
|
12
|
-
border:
|
|
13
|
-
borderRadius:
|
|
14
|
-
background:
|
|
11
|
+
transition: `all ${i.motionDurationSlow}`,
|
|
12
|
+
border: `${i.lineWidth} dashed ${i.borderColorBase}`,
|
|
13
|
+
borderRadius: i.borderRadius,
|
|
14
|
+
background: i.colorBgLayout,
|
|
15
15
|
userSelect: "none",
|
|
16
16
|
"& > div": {
|
|
17
17
|
display: "flex",
|
|
@@ -22,19 +22,19 @@ const t = (e) => {
|
|
|
22
22
|
flexDirection: "column",
|
|
23
23
|
".state-un-icon": {
|
|
24
24
|
display: "block",
|
|
25
|
-
width:
|
|
25
|
+
width: i.apUploadSingleFileIconHeight
|
|
26
26
|
},
|
|
27
27
|
".state-un-title": {
|
|
28
|
-
marginTop:
|
|
29
|
-
color:
|
|
30
|
-
fontSize:
|
|
31
|
-
lineHeight:
|
|
28
|
+
marginTop: i.spaceMD,
|
|
29
|
+
color: i.textColor1,
|
|
30
|
+
fontSize: i.fontSizeLG,
|
|
31
|
+
lineHeight: i.lineHeightLG
|
|
32
32
|
},
|
|
33
33
|
".state-un-subtitle": {
|
|
34
|
-
marginTop:
|
|
35
|
-
color:
|
|
36
|
-
fontSize:
|
|
37
|
-
lineHeight:
|
|
34
|
+
marginTop: i.spaceXS,
|
|
35
|
+
color: i.textColor4,
|
|
36
|
+
fontSize: i.fontSize,
|
|
37
|
+
lineHeight: i.lineHeight
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
".state-ing": {
|
|
@@ -42,13 +42,14 @@ const t = (e) => {
|
|
|
42
42
|
alignItems: "center",
|
|
43
43
|
width: "min(516px, 77.24%)",
|
|
44
44
|
height: "96px",
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
paddingBlock: 0,
|
|
46
|
+
paddingInline: i.spaceXXL,
|
|
47
|
+
borderRadius: i.borderRadius,
|
|
47
48
|
background: "#fff",
|
|
48
49
|
".left": {
|
|
49
50
|
flexShrink: 0,
|
|
50
51
|
width: "48px",
|
|
51
|
-
marginRight:
|
|
52
|
+
marginRight: i.spaceXL,
|
|
52
53
|
img: {
|
|
53
54
|
display: "block",
|
|
54
55
|
width: "100%"
|
|
@@ -59,13 +60,13 @@ const t = (e) => {
|
|
|
59
60
|
".center-title": {
|
|
60
61
|
display: "-webkit-box",
|
|
61
62
|
overflow: "hidden",
|
|
62
|
-
fontSize:
|
|
63
|
+
fontSize: i.fontSizeLG,
|
|
63
64
|
textAlign: "start",
|
|
64
65
|
textOverflow: "ellipsis",
|
|
65
66
|
wordWrap: "break-word",
|
|
66
67
|
wordBreak: "break-all",
|
|
67
68
|
WebkitBoxOrient: "vertical",
|
|
68
|
-
WebkitLineClamp:
|
|
69
|
+
WebkitLineClamp: i.lineClamp
|
|
69
70
|
},
|
|
70
71
|
".center-progress ": {
|
|
71
72
|
".ant-progress-line": {
|
|
@@ -76,22 +77,22 @@ const t = (e) => {
|
|
|
76
77
|
},
|
|
77
78
|
".right": {
|
|
78
79
|
flexShrink: 0,
|
|
79
|
-
marginLeft:
|
|
80
|
-
color:
|
|
81
|
-
fontSize:
|
|
80
|
+
marginLeft: i.spaceXXL,
|
|
81
|
+
color: i.colorError,
|
|
82
|
+
fontSize: i.fontSizeXXL,
|
|
82
83
|
cursor: "pointer !important"
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
|
-
[`${
|
|
87
|
+
[`${e}-un`]: {
|
|
87
88
|
cursor: "pointer",
|
|
88
89
|
"&:hover": {
|
|
89
|
-
border:
|
|
90
|
-
background: `color-mix(in srgb, ${
|
|
90
|
+
border: `${i.lineWidth} dashed ${i.colorPrimary}`,
|
|
91
|
+
background: `color-mix(in srgb, ${i.colorPrimary} 10%, transparent)`
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
};
|
|
94
95
|
};
|
|
95
96
|
export {
|
|
96
|
-
|
|
97
|
+
l as singleFileStyle
|
|
97
98
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type ApUploadToken = {
|
|
2
|
+
/**
|
|
3
|
+
* 单选上传组件外部容器高度
|
|
4
|
+
*/
|
|
5
|
+
apUploadSingleFileContainerHeight: number;
|
|
6
|
+
/**
|
|
7
|
+
* 单选上传组件上传图标的高度
|
|
8
|
+
*/
|
|
9
|
+
apUploadSingleFileIconHeight: number;
|
|
10
|
+
/**
|
|
11
|
+
* 卡片上传组件项宽度
|
|
12
|
+
*/
|
|
13
|
+
apUploadPictureItemWidth: number;
|
|
14
|
+
/**
|
|
15
|
+
* 卡片上传组件项删除按钮宽度
|
|
16
|
+
*/
|
|
17
|
+
apUploadPictureCloseIconWidth: number;
|
|
18
|
+
};
|
|
19
|
+
export declare const defaultValue: ApUploadToken;
|
|
@@ -1,5 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GenStyleFunc } from '../../../../design-token/interface';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
|
-
export
|
|
3
|
+
export type ApUploadSingleToken = {
|
|
4
|
+
/**
|
|
5
|
+
* 单文件上传容器高度
|
|
6
|
+
*/
|
|
7
|
+
apUploadSingleContainerHeight: number;
|
|
8
|
+
/**
|
|
9
|
+
* 单文件上传文件卡片高度
|
|
10
|
+
*/
|
|
11
|
+
apUploadSingleItemHeight: number;
|
|
12
|
+
/**
|
|
13
|
+
* 单文件上传容器文件图标尺寸
|
|
14
|
+
*/
|
|
15
|
+
apUploadSingleContainerFileIconSize: number;
|
|
16
|
+
/**
|
|
17
|
+
* 单文件上传卡片左侧文件图标尺寸
|
|
18
|
+
*/
|
|
19
|
+
apUploadSingleItemFileIconSize: number;
|
|
20
|
+
/**
|
|
21
|
+
* 单文件上传卡片删除按钮尺寸
|
|
22
|
+
*/
|
|
23
|
+
apUploadSingleItemDeleteIconSize: number;
|
|
24
|
+
};
|
|
25
|
+
export declare const genProCardStyle: GenStyleFunc<ApUploadSingleToken>;
|
|
4
26
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
27
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
3
|
-
const { componentCls:
|
|
1
|
+
import { genComponentStyleHook as o } from "../../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const a = (e) => {
|
|
3
|
+
const { componentCls: r } = e;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
5
|
+
[r]: {
|
|
6
6
|
userSelect: "none",
|
|
7
7
|
".ant-upload-drag": {
|
|
8
|
-
background:
|
|
9
|
-
border:
|
|
10
|
-
height:
|
|
8
|
+
background: e.colorBgLayout,
|
|
9
|
+
border: `${e.lineWidth} dashed var(--ap-border-color-base)`,
|
|
10
|
+
height: e.apUploadSingleContainerHeight,
|
|
11
11
|
"&:not(.ant-upload-disabled):hover": {
|
|
12
|
-
background:
|
|
13
|
-
borderColor:
|
|
12
|
+
background: `color-mix(in srgb, ${e.colorPrimary} 10%, transparent)`,
|
|
13
|
+
borderColor: e.colorPrimary
|
|
14
14
|
},
|
|
15
15
|
".ant-upload-btn": {
|
|
16
16
|
padding: 0
|
|
@@ -19,25 +19,26 @@ const n = (o) => {
|
|
|
19
19
|
cursor: "default"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
[`${
|
|
22
|
+
[`${r}__content`]: {
|
|
23
23
|
display: "flex",
|
|
24
24
|
justifyContent: "center",
|
|
25
25
|
alignItems: "center",
|
|
26
26
|
height: "100%"
|
|
27
27
|
},
|
|
28
|
-
[`${
|
|
28
|
+
[`${r}__content-file`]: {
|
|
29
29
|
width: "min(516px, 77.24%)",
|
|
30
|
-
height:
|
|
31
|
-
background: "#
|
|
32
|
-
borderRadius:
|
|
30
|
+
height: e.apUploadSingleItemHeight,
|
|
31
|
+
background: "#fff",
|
|
32
|
+
borderRadius: e.borderRadius,
|
|
33
33
|
display: "flex",
|
|
34
34
|
alignItems: "center",
|
|
35
|
-
|
|
35
|
+
paddingInline: e.spaceXXL,
|
|
36
|
+
paddingBlock: 0,
|
|
36
37
|
"&-icon": {
|
|
37
38
|
flexShrink: 0,
|
|
38
|
-
marginRight:
|
|
39
|
+
marginRight: e.spaceXL,
|
|
39
40
|
svg: {
|
|
40
|
-
width:
|
|
41
|
+
width: e.apUploadSingleItemFileIconSize
|
|
41
42
|
}
|
|
42
43
|
},
|
|
43
44
|
"&-name": {
|
|
@@ -51,16 +52,16 @@ const n = (o) => {
|
|
|
51
52
|
},
|
|
52
53
|
"&-delete": {
|
|
53
54
|
flexShrink: 0,
|
|
54
|
-
marginLeft:
|
|
55
|
+
marginLeft: e.spaceXXL,
|
|
55
56
|
svg: {
|
|
56
|
-
width:
|
|
57
|
-
color:
|
|
58
|
-
fontSize:
|
|
57
|
+
width: e.apUploadSingleItemDeleteIconSize,
|
|
58
|
+
color: e.colorError,
|
|
59
|
+
fontSize: e.fontSizeXXL,
|
|
59
60
|
cursor: "pointer"
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
},
|
|
63
|
-
[`${
|
|
64
|
+
[`${r}__content-ing`]: {
|
|
64
65
|
"&-name": {
|
|
65
66
|
"--name-color": "var(--ap-text-color-2)",
|
|
66
67
|
".ant-progress-line": {
|
|
@@ -69,53 +70,61 @@ const n = (o) => {
|
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
},
|
|
72
|
-
[`${
|
|
73
|
+
[`${r}__content-error`]: {
|
|
73
74
|
"&-name": {
|
|
74
|
-
"--name-color":
|
|
75
|
+
"--name-color": e.colorError
|
|
75
76
|
}
|
|
76
77
|
},
|
|
77
|
-
[`${
|
|
78
|
+
[`${r}__content-done`]: {
|
|
78
79
|
"&-name": {
|
|
79
|
-
"--name-color":
|
|
80
|
+
"--name-color": e.colorPrimary
|
|
80
81
|
}
|
|
81
82
|
},
|
|
82
|
-
[`${
|
|
83
|
+
[`${r}__content-empty`]: {
|
|
83
84
|
cursor: "pointer",
|
|
84
85
|
display: "flex",
|
|
85
86
|
flexDirection: "column",
|
|
86
87
|
alignItems: "center",
|
|
87
88
|
"&-icon": {
|
|
88
89
|
svg: {
|
|
89
|
-
width:
|
|
90
|
+
width: e.apUploadSingleContainerFileIconSize
|
|
90
91
|
}
|
|
91
92
|
},
|
|
92
93
|
"&-title": {
|
|
93
|
-
marginTop:
|
|
94
|
+
marginTop: e.spaceMD,
|
|
94
95
|
color: "var(--ap-text-color-2)",
|
|
95
|
-
fontSize:
|
|
96
|
-
lineHeight:
|
|
96
|
+
fontSize: e.fontSizeXL,
|
|
97
|
+
lineHeight: e.lineHeightLG
|
|
97
98
|
},
|
|
98
99
|
"&-sub-title": {
|
|
99
|
-
marginTop:
|
|
100
|
+
marginTop: e.spaceXS,
|
|
100
101
|
color: "var(--ap-text-color-3)",
|
|
101
|
-
fontSize:
|
|
102
|
-
lineHeight:
|
|
102
|
+
fontSize: e.fontSize,
|
|
103
|
+
lineHeight: e.lineHeight
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
106
|
},
|
|
106
|
-
[`${
|
|
107
|
+
[`${r}-affix-wrapper-status-error`]: {
|
|
107
108
|
".ant-upload-drag:not(.ant-upload-disabled)": {
|
|
108
|
-
borderColor:
|
|
109
|
+
borderColor: e.colorError,
|
|
109
110
|
"&:hover": {
|
|
110
|
-
borderColor:
|
|
111
|
+
borderColor: `color-mix(in srgb, ${e.colorPrimary} 80%, transparent)`
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
};
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
]
|
|
116
|
+
}, n = o(
|
|
117
|
+
"ApUploadSingle",
|
|
118
|
+
(e) => [a(e)],
|
|
119
|
+
{
|
|
120
|
+
apUploadSingleContainerHeight: 200,
|
|
121
|
+
apUploadSingleItemHeight: 96,
|
|
122
|
+
apUploadSingleItemFileIconSize: 48,
|
|
123
|
+
apUploadSingleItemDeleteIconSize: 20,
|
|
124
|
+
apUploadSingleContainerFileIconSize: 56
|
|
125
|
+
}
|
|
126
|
+
);
|
|
118
127
|
export {
|
|
119
|
-
|
|
120
|
-
|
|
128
|
+
n as default,
|
|
129
|
+
a as genProCardStyle
|
|
121
130
|
};
|
|
@@ -8,7 +8,7 @@ const r = {}, L = {
|
|
|
8
8
|
viewBox: "0 0 20 20"
|
|
9
9
|
};
|
|
10
10
|
function i(c, o) {
|
|
11
|
-
return n(), l("svg", L, o[0] || (o[0] = [
|
|
11
|
+
return n(), l("svg", L, [...o[0] || (o[0] = [
|
|
12
12
|
e("g", null, [
|
|
13
13
|
e("g", null, [
|
|
14
14
|
e("path", {
|
|
@@ -19,7 +19,7 @@ function i(c, o) {
|
|
|
19
19
|
})
|
|
20
20
|
])
|
|
21
21
|
], -1)
|
|
22
|
-
]));
|
|
22
|
+
])]);
|
|
23
23
|
}
|
|
24
24
|
const f = /* @__PURE__ */ t(r, [["render", i]]);
|
|
25
25
|
export {
|
|
@@ -8,9 +8,9 @@ const r = {}, s = {
|
|
|
8
8
|
viewBox: "0 0 56 56"
|
|
9
9
|
};
|
|
10
10
|
function p(a, t) {
|
|
11
|
-
return i(), o("svg", s, t[0] || (t[0] = [
|
|
11
|
+
return i(), o("svg", s, [...t[0] || (t[0] = [
|
|
12
12
|
e('<defs><clipPath id="master_svg0_693_19001"><rect x="0" y="0" width="56" height="56" rx="7"></rect></clipPath><linearGradient id="master_svg1_693_19025" x1="0.5" y1="0" x2="0.5" y2="0.7987817525863647"><stop offset="0%" stop-color="#AED1FF" stop-opacity="1"></stop><stop offset="100%" stop-color="#74B1FF" stop-opacity="1"></stop></linearGradient><linearGradient id="master_svg2_693_19014" x1="0.5" y1="0" x2="0.5" y2="1"><stop offset="0.7142857182770967%" stop-color="#DBEBFF" stop-opacity="1"></stop><stop offset="100%" stop-color="#98C5FF" stop-opacity="1"></stop></linearGradient></defs><g clip-path="url(#master_svg0_693_19001)"><g><g><path d="M49.4644,10.22729L35.1706,10.22729C34.2282,10.22729,33.316,9.89456,32.595,9.287759999999999L29.1746,6.4093C28.0931,5.499102,26.7249,5,25.3113,5L5.5,5C3.29086,5,1.5,6.79086,1.5,9L1.5,45L54.4995,45L54.5,15.2852C54.5,12.49165,52.2455,10.22729,49.4644,10.22729Z" fill="url(#master_svg1_693_19025)" fill-opacity="1"></path></g><g><path d="M10.5,13L45.5,13C46.6046,13,47.5,13.895431,47.5,15L47.5,35.9999L8.5,36L8.5,15C8.5,13.895431,9.395431,13,10.5,13" fill="#FFFFFF" fill-opacity="0.30000001192092896"></path></g><g><path d="M8.5,17L47.5,17C48.6046,17,49.5,17.895431,49.5,19L49.5,41.9998L6.5,42L6.5,19C6.5,17.895431,7.395431,17,8.5,17" fill="#F9FCFF" fill-opacity="1"></path></g><g><rect x="14.5" y="21" width="15" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.30000001192092896"></rect></g><g><rect x="14.5" y="27" width="28" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.6000000238418579"></rect></g><g><path d="M1.5,37L1.5,48C1.5,50.2091,3.29086,52,5.5,52L50.5,52C52.7091,52,54.5,50.2091,54.5,48L54.5,37C54.5,35.34315,53.1569,34,51.5,34L4.5,34C2.84315,34,1.5,35.34315,1.5,37Z" fill="url(#master_svg2_693_19014)" fill-opacity="1"></path></g></g></g>', 2)
|
|
13
|
-
]));
|
|
13
|
+
])]);
|
|
14
14
|
}
|
|
15
15
|
const g = /* @__PURE__ */ l(r, [["render", p]]);
|
|
16
16
|
export {
|
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
import { genComponentStyleHook as e } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
-
const l = (
|
|
3
|
-
const { componentCls:
|
|
2
|
+
const l = (r) => {
|
|
3
|
+
const { componentCls: o } = r;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
5
|
+
[o]: {
|
|
6
6
|
position: "relative",
|
|
7
|
-
marginBlockStart:
|
|
7
|
+
marginBlockStart: r.space,
|
|
8
8
|
".ant-popover": {
|
|
9
9
|
width: "100%"
|
|
10
10
|
},
|
|
11
|
-
[`${
|
|
11
|
+
[`${o}-list`]: {
|
|
12
12
|
display: "grid",
|
|
13
13
|
gridTemplateColumns: "repeat(var(--ap-value-select-card-column-count, 5), minmax(var(--ap-value-select-card-max-width, 150px), 1fr))",
|
|
14
14
|
gridAutoRows: "1fr",
|
|
15
|
-
gap:
|
|
15
|
+
gap: r.spaceLG,
|
|
16
16
|
"&-item": {
|
|
17
17
|
position: "relative",
|
|
18
18
|
boxSizing: "border-box",
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
paddingInline: r.spaceXL,
|
|
20
|
+
paddingBlock: r.space,
|
|
21
|
+
color: r.textColor2,
|
|
22
|
+
border: `${r.lineWidth} ${r.lineType} ${r.borderColorBase}`,
|
|
23
|
+
borderRadius: r.borderRadius,
|
|
23
24
|
cursor: "pointer",
|
|
24
25
|
"&-close": {
|
|
25
26
|
position: "absolute",
|
|
26
|
-
top:
|
|
27
|
-
|
|
27
|
+
top: r.space,
|
|
28
|
+
lineHeight: r.lineHeight,
|
|
29
|
+
right: r.spaceMD,
|
|
28
30
|
zIndex: 1,
|
|
29
|
-
color:
|
|
30
|
-
fontSize:
|
|
31
|
+
color: r.textColor3,
|
|
32
|
+
fontSize: r.fontSizeLG,
|
|
31
33
|
cursor: "pointer",
|
|
32
34
|
"&:hover": {
|
|
33
|
-
color:
|
|
35
|
+
color: r.colorError
|
|
34
36
|
}
|
|
35
37
|
},
|
|
36
38
|
".label": {
|
|
37
|
-
marginBlockEnd:
|
|
38
|
-
fontSize:
|
|
39
|
-
lineHeight:
|
|
39
|
+
marginBlockEnd: r.spaceXS,
|
|
40
|
+
fontSize: r.fontSize,
|
|
41
|
+
lineHeight: r.lineHeight
|
|
40
42
|
},
|
|
41
43
|
".value": {
|
|
42
44
|
overflow: "hidden",
|
|
43
45
|
fontWeight: "bold",
|
|
44
|
-
fontSize:
|
|
46
|
+
fontSize: r.fontSizeXL,
|
|
45
47
|
whiteSpace: "nowrap",
|
|
46
48
|
textOverflow: "ellipsis"
|
|
47
49
|
},
|
|
48
50
|
"&:hover:not(.select)": {
|
|
49
|
-
border:
|
|
51
|
+
border: `${r.lineWidth} ${r.lineType} ${r.colorPrimary}`
|
|
50
52
|
},
|
|
51
53
|
"&.select": {
|
|
52
|
-
color:
|
|
54
|
+
color: r.textColor1,
|
|
53
55
|
borderColor: "transparent",
|
|
54
56
|
boxShadow: "3px 10px 30px -2px rgba(123, 121, 140, 0.15)",
|
|
55
57
|
background: "linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--ap-value-select-card-bg-color, #f5f9ff) 92%)",
|
|
@@ -58,22 +60,22 @@ const l = (o) => {
|
|
|
58
60
|
}
|
|
59
61
|
},
|
|
60
62
|
"&.all": {
|
|
61
|
-
color:
|
|
63
|
+
color: r.textColor2,
|
|
62
64
|
background: "#fff",
|
|
63
|
-
border:
|
|
65
|
+
border: `${r.lineWidth} ${r.lineType} ${r.borderColorBase}`,
|
|
64
66
|
boxShadow: "none",
|
|
65
67
|
"&:hover:not(.disabled)": {
|
|
66
|
-
borderColor:
|
|
68
|
+
borderColor: r.colorPrimary
|
|
67
69
|
},
|
|
68
70
|
"&.disabled": {
|
|
69
|
-
color:
|
|
70
|
-
background:
|
|
71
|
+
color: r.textColor3,
|
|
72
|
+
background: r.colorBg2,
|
|
71
73
|
cursor: "not-allowed",
|
|
72
|
-
border:
|
|
74
|
+
border: `${r.lineWidth} ${r.lineType} ${r.borderColorBase}`
|
|
73
75
|
},
|
|
74
76
|
"&.select": {
|
|
75
|
-
backgroundColor:
|
|
76
|
-
borderColor:
|
|
77
|
+
backgroundColor: r.colorBgControl,
|
|
78
|
+
borderColor: r.colorPrimary,
|
|
77
79
|
cursor: "pointer"
|
|
78
80
|
}
|
|
79
81
|
},
|
|
@@ -82,34 +84,34 @@ const l = (o) => {
|
|
|
82
84
|
flexDirection: "column",
|
|
83
85
|
alignItems: "center",
|
|
84
86
|
justifyContent: "center",
|
|
85
|
-
color:
|
|
87
|
+
color: r.colorPrimary,
|
|
86
88
|
background: "#fff",
|
|
87
|
-
border:
|
|
89
|
+
border: `${r.lineWidth} dashed #d1d7df`,
|
|
88
90
|
boxShadow: "none",
|
|
89
91
|
".text": {
|
|
90
|
-
fontSize:
|
|
91
|
-
marginInlineStart:
|
|
92
|
+
fontSize: r.fontSize,
|
|
93
|
+
marginInlineStart: r.spaceXS
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
96
|
}
|
|
95
97
|
},
|
|
96
|
-
[`${
|
|
98
|
+
[`${o}-title`]: {
|
|
97
99
|
display: "flex",
|
|
98
100
|
alignItems: "center",
|
|
99
|
-
marginBlockEnd:
|
|
100
|
-
color:
|
|
101
|
-
fontSize:
|
|
101
|
+
marginBlockEnd: r.spaceLG,
|
|
102
|
+
color: r.textColor2,
|
|
103
|
+
fontSize: r.fontSize,
|
|
102
104
|
"&-icon": {
|
|
103
|
-
marginRight:
|
|
104
|
-
color:
|
|
105
|
-
fontSize:
|
|
105
|
+
marginRight: r.spaceXS,
|
|
106
|
+
color: r.textColor4,
|
|
107
|
+
fontSize: r.fontSizeLG
|
|
106
108
|
}
|
|
107
109
|
}
|
|
108
110
|
}
|
|
109
111
|
};
|
|
110
|
-
},
|
|
111
|
-
l(
|
|
112
|
+
}, a = e("ApValueSelectCard", (r) => [
|
|
113
|
+
l(r)
|
|
112
114
|
]);
|
|
113
115
|
export {
|
|
114
|
-
|
|
116
|
+
a as default
|
|
115
117
|
};
|