@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,48 +1,44 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
3
|
-
const { componentCls:
|
|
1
|
+
import { genComponentStyleHook as r } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const a = (i) => {
|
|
3
|
+
const { componentCls: e, apSelectLayoutSideWidth: l } = i;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
5
|
+
[e]: {
|
|
6
6
|
display: "flex",
|
|
7
7
|
width: "100%",
|
|
8
8
|
height: "100%",
|
|
9
|
-
[`${
|
|
9
|
+
[`${e}-side`]: {
|
|
10
10
|
display: "flex",
|
|
11
11
|
flexDirection: "column",
|
|
12
|
-
width:
|
|
13
|
-
minWidth:
|
|
14
|
-
maxWidth:
|
|
15
|
-
marginInlineEnd:
|
|
12
|
+
width: l,
|
|
13
|
+
minWidth: l,
|
|
14
|
+
maxWidth: l,
|
|
15
|
+
marginInlineEnd: i.spaceXL,
|
|
16
16
|
overflow: "hidden",
|
|
17
17
|
backgroundColor: "#fff",
|
|
18
18
|
"&__header": {
|
|
19
19
|
display: "flex",
|
|
20
20
|
alignItems: "center",
|
|
21
21
|
justifyContent: "space-between",
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
paddingInline: i.spaceXL,
|
|
23
|
+
paddingBlock: i.spaceLG,
|
|
24
|
+
borderBottom: `${i.lineWidth} ${i.lineType} ${i.borderColorBase}`,
|
|
24
25
|
overflow: "hidden",
|
|
25
26
|
whiteSpace: "nowrap",
|
|
26
27
|
"& > h3": {
|
|
27
28
|
margin: 0,
|
|
28
|
-
color:
|
|
29
|
-
fontSize:
|
|
29
|
+
color: i.textColor1,
|
|
30
|
+
fontSize: i.fontSize,
|
|
30
31
|
fontWeight: "bold",
|
|
31
|
-
lineHeight:
|
|
32
|
+
lineHeight: i.lineHeightLG
|
|
32
33
|
},
|
|
33
34
|
"&--imgWrap": {
|
|
34
|
-
borderRadius:
|
|
35
|
+
borderRadius: i.borderRadiusSM,
|
|
35
36
|
cursor: "pointer",
|
|
36
|
-
fontSize:
|
|
37
|
-
color:
|
|
37
|
+
fontSize: i.fontSizeXXL,
|
|
38
|
+
color: i.textColor3,
|
|
38
39
|
display: "flex",
|
|
39
|
-
height: "20px",
|
|
40
40
|
"&:hover": {
|
|
41
|
-
background:
|
|
42
|
-
},
|
|
43
|
-
"& > img": {
|
|
44
|
-
width: "24px",
|
|
45
|
-
height: "24px"
|
|
41
|
+
background: i.colorBg3
|
|
46
42
|
}
|
|
47
43
|
}
|
|
48
44
|
},
|
|
@@ -50,42 +46,48 @@ const t = (e) => {
|
|
|
50
46
|
position: "relative",
|
|
51
47
|
flex: 1,
|
|
52
48
|
"&--search": {
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
marginBlock: i.spaceMD,
|
|
50
|
+
paddingInline: i.spaceXL
|
|
55
51
|
},
|
|
56
52
|
"&--scroll": {
|
|
57
53
|
position: "absolute",
|
|
58
|
-
|
|
54
|
+
insetBlockStart: i.calc(i.controlHeight).add(i.calc(i.spaceMD).mul(2)).add(i.calc(i.lineWidth).mul(2)).equal(),
|
|
55
|
+
insetBlockEnd: 0,
|
|
56
|
+
insetInlineStart: 0,
|
|
57
|
+
insetInlineEnd: 0,
|
|
59
58
|
overflowY: "auto",
|
|
60
|
-
|
|
59
|
+
paddingInline: i.spaceXL
|
|
61
60
|
},
|
|
62
61
|
"&--scroll-item": {
|
|
63
|
-
marginBottom:
|
|
64
|
-
|
|
62
|
+
marginBottom: i.space,
|
|
63
|
+
paddingInline: i.spaceLG,
|
|
64
|
+
paddingBlock: i.space,
|
|
65
65
|
overflow: "hidden",
|
|
66
|
-
color:
|
|
67
|
-
lineHeight:
|
|
68
|
-
width:
|
|
66
|
+
color: i.textColor1,
|
|
67
|
+
lineHeight: i.lineHeightLG,
|
|
68
|
+
width: i.calc(i.apSelectLayoutSideWidth).sub(
|
|
69
|
+
i.calc(i.controlHeight).add(i.calc(i.lineWidth).mul(2))
|
|
70
|
+
).equal(),
|
|
69
71
|
textOverflow: "ellipsis",
|
|
70
72
|
textWrap: "nowrap",
|
|
71
73
|
cursor: "pointer",
|
|
72
|
-
borderRadius:
|
|
74
|
+
borderRadius: i.borderRadius,
|
|
73
75
|
"&:hover": {
|
|
74
|
-
background:
|
|
76
|
+
background: i.colorBg3
|
|
75
77
|
},
|
|
76
78
|
"&.active": {
|
|
77
|
-
backgroundColor:
|
|
78
|
-
color:
|
|
79
|
+
backgroundColor: i.calc(i.colorPrimary).colorOpacity(10),
|
|
80
|
+
color: i.colorPrimary,
|
|
79
81
|
fontWeight: "bold",
|
|
80
82
|
"& > .ant-typography": {
|
|
81
|
-
color:
|
|
83
|
+
color: i.colorPrimary
|
|
82
84
|
}
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
88
|
},
|
|
87
89
|
".v-enter-active, .v-leave-active": {
|
|
88
|
-
transition:
|
|
90
|
+
transition: `all ${i.motionDurationMid}, background 0s`
|
|
89
91
|
},
|
|
90
92
|
".v-enter-from, .v-leave-to": {
|
|
91
93
|
width: 0,
|
|
@@ -93,7 +95,7 @@ const t = (e) => {
|
|
|
93
95
|
maxWidth: 0,
|
|
94
96
|
marginInlineEnd: 0
|
|
95
97
|
},
|
|
96
|
-
[`${
|
|
98
|
+
[`${e}-content`]: {
|
|
97
99
|
flex: 1,
|
|
98
100
|
overflowX: "hidden",
|
|
99
101
|
display: "flex",
|
|
@@ -101,35 +103,39 @@ const t = (e) => {
|
|
|
101
103
|
"&__header": {
|
|
102
104
|
display: "flex",
|
|
103
105
|
alignItems: "center",
|
|
104
|
-
height:
|
|
105
|
-
|
|
106
|
+
height: i.controlHeight,
|
|
107
|
+
paddingBlockStart: i.spaceXL,
|
|
108
|
+
paddingInlineStart: i.spaceXL,
|
|
106
109
|
boxSizing: "content-box",
|
|
107
110
|
background: "#fff",
|
|
108
111
|
"&--imgWrap": {
|
|
109
|
-
|
|
110
|
-
borderRadius:
|
|
112
|
+
marginInlineEnd: i.spaceMD,
|
|
113
|
+
borderRadius: i.borderRadiusSM,
|
|
111
114
|
cursor: "pointer",
|
|
112
|
-
fontSize:
|
|
115
|
+
fontSize: i.fontSizeXXL,
|
|
113
116
|
display: "flex",
|
|
114
|
-
|
|
115
|
-
color: "#999",
|
|
117
|
+
color: i.textColor3,
|
|
116
118
|
"&:hover": {
|
|
117
|
-
background:
|
|
119
|
+
background: i.colorBg3
|
|
118
120
|
}
|
|
119
121
|
},
|
|
120
122
|
"&--title": {
|
|
121
123
|
margin: 0,
|
|
122
|
-
fontSize:
|
|
124
|
+
fontSize: i.fontSizeLG,
|
|
123
125
|
fontWeight: "bold",
|
|
124
|
-
lineHeight:
|
|
126
|
+
lineHeight: i.lineHeightLG
|
|
125
127
|
}
|
|
126
128
|
}
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
131
|
};
|
|
130
|
-
},
|
|
131
|
-
|
|
132
|
-
]
|
|
132
|
+
}, d = r(
|
|
133
|
+
"ApSelectLayout",
|
|
134
|
+
(i) => [a(i)],
|
|
135
|
+
{
|
|
136
|
+
apSelectLayoutSideWidth: 214
|
|
137
|
+
}
|
|
138
|
+
);
|
|
133
139
|
export {
|
|
134
|
-
|
|
140
|
+
d as default
|
|
135
141
|
};
|
|
@@ -3,11 +3,11 @@ const n = (e) => ({
|
|
|
3
3
|
[e.componentCls]: {
|
|
4
4
|
display: "flex",
|
|
5
5
|
alignItems: "center",
|
|
6
|
-
gap:
|
|
6
|
+
gap: e.space
|
|
7
7
|
}
|
|
8
|
-
}),
|
|
8
|
+
}), o = t("ApSizeInput", (e) => [
|
|
9
9
|
n(e)
|
|
10
10
|
]);
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
o as default
|
|
13
13
|
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
+
export type ApSummaryToken = {
|
|
3
|
+
/**
|
|
4
|
+
* 表格总结栏高度
|
|
5
|
+
*/
|
|
6
|
+
apSummaryItemHeight: number;
|
|
7
|
+
/**
|
|
8
|
+
* 表格总结栏高度(较小)
|
|
9
|
+
*/
|
|
10
|
+
apSummartItemHeightSM: number;
|
|
11
|
+
};
|
|
2
12
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
13
|
export default _default;
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
3
|
-
const { componentCls: t } =
|
|
1
|
+
import { genComponentStyleHook as m } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const r = (a) => {
|
|
3
|
+
const { componentCls: t } = a;
|
|
4
4
|
return {
|
|
5
5
|
[t]: {
|
|
6
6
|
[`${t}__item`]: {
|
|
7
|
-
height:
|
|
8
|
-
|
|
7
|
+
height: a.apSummaryItemHeight,
|
|
8
|
+
paddingInline: `${a.spaceLG} !important`,
|
|
9
|
+
paddingBlock: `${a.space} !important`,
|
|
9
10
|
backgroundColor: "var(--ap-summary-background, #f9ecc7) !important",
|
|
10
|
-
color:
|
|
11
|
+
color: a.textColor1,
|
|
11
12
|
fontWeight: "bolder",
|
|
12
13
|
"&--small": {
|
|
13
|
-
height:
|
|
14
|
-
|
|
14
|
+
height: a.apSummartItemHeightSM,
|
|
15
|
+
paddingInline: `${a.spaceLG} !important`,
|
|
16
|
+
paddingBlock: `${a.spaceXS} !important`,
|
|
15
17
|
backgroundColor: "var(--ap-summary-background, #E6EDFF) !important"
|
|
16
18
|
}
|
|
17
19
|
}
|
|
18
20
|
}
|
|
19
21
|
};
|
|
20
|
-
}, p =
|
|
21
|
-
|
|
22
|
-
]
|
|
22
|
+
}, p = m(
|
|
23
|
+
"ApSummary",
|
|
24
|
+
(a) => [r(a)],
|
|
25
|
+
{
|
|
26
|
+
apSummaryItemHeight: 38,
|
|
27
|
+
apSummartItemHeightSM: 28
|
|
28
|
+
}
|
|
29
|
+
);
|
|
23
30
|
export {
|
|
24
31
|
p as default
|
|
25
32
|
};
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
|
-
export
|
|
3
|
+
export type ApTableModalToken = {
|
|
4
|
+
/**
|
|
5
|
+
* 右侧已选列表宽度
|
|
6
|
+
*/
|
|
7
|
+
apTableModalRightWidth: number;
|
|
8
|
+
/**
|
|
9
|
+
* 右侧已选列表最大高度
|
|
10
|
+
*/
|
|
11
|
+
apTableModalRightMaxHeight: number;
|
|
12
|
+
};
|
|
13
|
+
export declare const genApTableModalStyle: GenStyleFunc<ApTableModalToken>;
|
|
4
14
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
15
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
1
|
+
import { genComponentStyleHook as t } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const l = (e) => ({
|
|
3
3
|
[`${e.componentCls}`]: {
|
|
4
4
|
[`${e.componentCls}--table-layout`]: {
|
|
5
5
|
display: "flex",
|
|
@@ -12,7 +12,7 @@ const t = (e) => ({
|
|
|
12
12
|
"&-left": {
|
|
13
13
|
flex: 1,
|
|
14
14
|
minWidth: 0,
|
|
15
|
-
paddingInlineEnd:
|
|
15
|
+
paddingInlineEnd: e.spaceXL,
|
|
16
16
|
boxSizing: "border-box",
|
|
17
17
|
display: "flex",
|
|
18
18
|
flexDirection: "column",
|
|
@@ -24,9 +24,9 @@ const t = (e) => ({
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"&-right": {
|
|
27
|
-
maxHeight:
|
|
28
|
-
width:
|
|
29
|
-
|
|
27
|
+
maxHeight: e.apTableModalRightMaxHeight,
|
|
28
|
+
width: e.apTableModalRightWidth,
|
|
29
|
+
paddingInlineStart: e.spaceXL,
|
|
30
30
|
position: "relative",
|
|
31
31
|
display: "flex",
|
|
32
32
|
flexDirection: "column",
|
|
@@ -37,7 +37,7 @@ const t = (e) => ({
|
|
|
37
37
|
"&::before": {
|
|
38
38
|
content: '""',
|
|
39
39
|
height: "calc(100% + 16px)",
|
|
40
|
-
width:
|
|
40
|
+
width: e.lineWidth,
|
|
41
41
|
backgroundColor: e.borderColorBase,
|
|
42
42
|
position: "absolute",
|
|
43
43
|
left: 0,
|
|
@@ -46,10 +46,15 @@ const t = (e) => ({
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
}),
|
|
50
|
-
|
|
51
|
-
]
|
|
49
|
+
}), i = t(
|
|
50
|
+
"ApTable.Modal",
|
|
51
|
+
(e) => [l(e)],
|
|
52
|
+
{
|
|
53
|
+
apTableModalRightWidth: 410,
|
|
54
|
+
apTableModalRightMaxHeight: 640
|
|
55
|
+
}
|
|
56
|
+
);
|
|
52
57
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
58
|
+
i as default,
|
|
59
|
+
l as genApTableModalStyle
|
|
55
60
|
};
|
|
@@ -106,7 +106,7 @@ const xe = /* @__PURE__ */ j({
|
|
|
106
106
|
cursor: "pointer"
|
|
107
107
|
})
|
|
108
108
|
}, {
|
|
109
|
-
component: v(() => o[0] || (o[0] = [
|
|
109
|
+
component: v(() => [...o[0] || (o[0] = [
|
|
110
110
|
t("svg", {
|
|
111
111
|
xmlns: "http://www.w3.org/2000/svg",
|
|
112
112
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -160,7 +160,7 @@ const xe = /* @__PURE__ */ j({
|
|
|
160
160
|
])
|
|
161
161
|
])
|
|
162
162
|
], -1)
|
|
163
|
-
])),
|
|
163
|
+
])]),
|
|
164
164
|
_: 1
|
|
165
165
|
}, 8, ["style"])) : c.value && r.value.symbol === "text" ? (a(), _("span", {
|
|
166
166
|
key: 1,
|
|
@@ -1,64 +1,66 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
3
|
-
const { componentCls: e } =
|
|
1
|
+
import { genComponentStyleHook as a } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const o = (i) => {
|
|
3
|
+
const { componentCls: e } = i, l = `${e}-wrapper`, r = `${e}-inner-wrapper`;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
5
|
+
[l]: {
|
|
6
6
|
textWrap: "nowrap",
|
|
7
7
|
whiteSpace: "nowrap",
|
|
8
8
|
display: "inline-flex",
|
|
9
9
|
maxWidth: "100%",
|
|
10
|
-
[
|
|
11
|
-
borderRadius:
|
|
10
|
+
[r]: {
|
|
11
|
+
borderRadius: i.borderRadius,
|
|
12
12
|
boxSizing: "border-box",
|
|
13
13
|
overflow: "hidden",
|
|
14
14
|
textOverflow: "ellipsis",
|
|
15
15
|
width: "100%",
|
|
16
16
|
"&--large": {
|
|
17
|
-
padding:
|
|
18
|
-
lineHeight:
|
|
19
|
-
fontSize:
|
|
17
|
+
padding: i.spaceSM,
|
|
18
|
+
lineHeight: i.lineHeightLG,
|
|
19
|
+
fontSize: i.fontSizeLG
|
|
20
20
|
},
|
|
21
21
|
"&--middle": {
|
|
22
|
-
lineHeight:
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
lineHeight: i.lineHeight,
|
|
23
|
+
paddingInline: i.spaceSM,
|
|
24
|
+
paddingBlock: i.calc(i.spaceSM).div(2).equal(),
|
|
25
|
+
fontSize: i.fontSize
|
|
25
26
|
},
|
|
26
27
|
"&--small": {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
paddingInline: i.spaceXS,
|
|
29
|
+
paddingBlock: 0,
|
|
30
|
+
lineHeight: i.lineHeight,
|
|
31
|
+
fontSize: i.fontSize,
|
|
32
|
+
borderRadius: i.borderRadiusSM
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
},
|
|
34
|
-
[`${
|
|
36
|
+
[`${l}-purely`]: {
|
|
35
37
|
"& > *": {
|
|
36
38
|
backgroundColor: "var(--tag-main-color-background)",
|
|
37
|
-
color:
|
|
39
|
+
color: i.textColor1
|
|
38
40
|
},
|
|
39
|
-
[`${
|
|
40
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
41
|
+
[`${r}--disabled`]: {
|
|
42
|
+
backgroundColor: `color-mix(in srgb, ${i.textColor3} 15%, white)`
|
|
41
43
|
}
|
|
42
44
|
},
|
|
43
|
-
[`${
|
|
45
|
+
[`${l}-border`]: {
|
|
44
46
|
"& > *": {
|
|
45
|
-
outline:
|
|
46
|
-
outlineOffset:
|
|
47
|
+
outline: `${i.lineWidth} ${i.lineType} var(--tag-main-color)`,
|
|
48
|
+
outlineOffset: i.calc(i.lineWidth).mul(-1).equal(),
|
|
47
49
|
backgroundColor: "var(--tag-main-color-opacity)",
|
|
48
50
|
color: "var(--tag-main-color)"
|
|
49
51
|
},
|
|
50
|
-
[`${
|
|
51
|
-
outline:
|
|
52
|
-
outlineOffset:
|
|
53
|
-
backgroundColor: `color-mix(in srgb, ${
|
|
54
|
-
color:
|
|
52
|
+
[`${r}--disabled`]: {
|
|
53
|
+
outline: `${i.lineWidth} ${i.lineType} ${i.borderColorBase}`,
|
|
54
|
+
outlineOffset: i.calc(i.lineWidth).mul(-1).equal(),
|
|
55
|
+
backgroundColor: `color-mix(in srgb, ${i.textColor2} 6%, white)`,
|
|
56
|
+
color: i.textColor2
|
|
55
57
|
}
|
|
56
58
|
}
|
|
57
59
|
};
|
|
58
|
-
}, n =
|
|
59
|
-
|
|
60
|
+
}, n = a("ApTag", (i) => [
|
|
61
|
+
o(i)
|
|
60
62
|
]);
|
|
61
63
|
export {
|
|
62
64
|
n as default,
|
|
63
|
-
|
|
65
|
+
o as genApTagStyle
|
|
64
66
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { GenStyleFunc } from '../../../design-token/interface';
|
|
1
|
+
import { GenStyleFunc, StyleMixin } from '../../../design-token/interface';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
|
+
export declare const genTitlePrefix: StyleMixin;
|
|
3
4
|
export declare const genApTitleStyle: GenStyleFunc;
|
|
4
5
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
6
|
export default _default;
|
|
@@ -1,6 +1,31 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
3
|
-
|
|
1
|
+
import { genComponentStyleHook as i } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const a = (e) => ({
|
|
3
|
+
normal: {
|
|
4
|
+
position: "absolute",
|
|
5
|
+
content: '""',
|
|
6
|
+
left: 0,
|
|
7
|
+
top: "50%",
|
|
8
|
+
transform: "translateY(-50%)",
|
|
9
|
+
width: "3px",
|
|
10
|
+
height: "14px",
|
|
11
|
+
backgroundColor: e.colorPrimary,
|
|
12
|
+
borderRadius: "0px 4px 4px 0px",
|
|
13
|
+
zIndex: 1
|
|
14
|
+
},
|
|
15
|
+
admin: {
|
|
16
|
+
top: "50%",
|
|
17
|
+
transform: "translateY(-50%)",
|
|
18
|
+
width: "8px",
|
|
19
|
+
height: "8px",
|
|
20
|
+
borderRadius: "50%",
|
|
21
|
+
borderWidth: "2px",
|
|
22
|
+
borderStyle: "solid",
|
|
23
|
+
borderColor: e.colorPrimary,
|
|
24
|
+
background: "#fff",
|
|
25
|
+
zIndex: 1
|
|
26
|
+
}
|
|
27
|
+
}), l = (e) => {
|
|
28
|
+
const { componentCls: t } = e, { admin: o, normal: r } = a(e);
|
|
4
29
|
return {
|
|
5
30
|
[t]: {
|
|
6
31
|
position: "relative",
|
|
@@ -8,20 +33,10 @@ const r = (e) => {
|
|
|
8
33
|
display: "flex",
|
|
9
34
|
alignItems: "center",
|
|
10
35
|
justifyContent: "space-between",
|
|
11
|
-
|
|
36
|
+
// tips: 保证图标和文字间的距离始终为token.spaceSM
|
|
37
|
+
paddingInlineStart: e.calc(e.spaceSM).add("3px").equal(),
|
|
12
38
|
fontSize: e.fontSize,
|
|
13
|
-
"&::before":
|
|
14
|
-
position: "absolute",
|
|
15
|
-
content: '""',
|
|
16
|
-
left: 0,
|
|
17
|
-
top: "50%",
|
|
18
|
-
transform: "translateY(-50%)",
|
|
19
|
-
width: "3px",
|
|
20
|
-
height: "14px",
|
|
21
|
-
backgroundColor: e.colorPrimary,
|
|
22
|
-
borderRadius: "0px 4px 4px 0px",
|
|
23
|
-
zIndex: 1
|
|
24
|
-
},
|
|
39
|
+
"&::before": r,
|
|
25
40
|
[`${t}__prefix`]: {
|
|
26
41
|
fontWeight: "bold",
|
|
27
42
|
color: e.textColor1,
|
|
@@ -29,47 +44,24 @@ const r = (e) => {
|
|
|
29
44
|
alignItems: "center",
|
|
30
45
|
".anticon-question-circle": {
|
|
31
46
|
fontSize: e.fontSizeLG,
|
|
32
|
-
marginInlineStart:
|
|
33
|
-
color:
|
|
47
|
+
marginInlineStart: e.spaceXS,
|
|
48
|
+
color: e.textColor3
|
|
34
49
|
}
|
|
35
50
|
},
|
|
36
51
|
"&--admin": {
|
|
37
|
-
paddingLeft: "
|
|
38
|
-
"&::before":
|
|
39
|
-
top: "50%",
|
|
40
|
-
transform: "translateY(-50%)",
|
|
41
|
-
width: "8px",
|
|
42
|
-
height: "8px",
|
|
43
|
-
borderRadius: "50%",
|
|
44
|
-
borderWidth: "2px",
|
|
45
|
-
borderStyle: "solid",
|
|
46
|
-
borderColor: e.colorPrimary,
|
|
47
|
-
background: "#fff",
|
|
48
|
-
zIndex: 1
|
|
49
|
-
},
|
|
50
|
-
[t]: {
|
|
51
|
-
"&__prefix": {
|
|
52
|
-
fontWeight: "bold",
|
|
53
|
-
color: "#333",
|
|
54
|
-
display: "flex",
|
|
55
|
-
alignItems: "center",
|
|
56
|
-
".anticon-question-circle": {
|
|
57
|
-
fontSize: e.fontSizeLG,
|
|
58
|
-
marginLeft: "5px",
|
|
59
|
-
color: "#999"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
52
|
+
paddingLeft: e.calc(e.spaceSM).add("8px").equal(),
|
|
53
|
+
"&::before": o
|
|
63
54
|
},
|
|
64
55
|
[`${t}__suffix`]: {
|
|
65
|
-
color:
|
|
56
|
+
color: e.textColor2
|
|
66
57
|
}
|
|
67
58
|
}
|
|
68
59
|
};
|
|
69
|
-
},
|
|
70
|
-
|
|
60
|
+
}, d = i("ApTitle", (e) => [
|
|
61
|
+
l(e)
|
|
71
62
|
]);
|
|
72
63
|
export {
|
|
73
|
-
|
|
74
|
-
|
|
64
|
+
d as default,
|
|
65
|
+
l as genApTitleStyle,
|
|
66
|
+
a as genTitlePrefix
|
|
75
67
|
};
|
|
@@ -2,11 +2,16 @@ import { genComponentStyleHook as o } from "../../../utils/cssinjs/index.mjs";
|
|
|
2
2
|
import { singleFileStyle as t } from "./single-file.mjs";
|
|
3
3
|
import { multipleFileStyle as l } from "./multiple-file.mjs";
|
|
4
4
|
import { pictureStyle as m } from "./picture.mjs";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import { defaultValue as r } from "./token.mjs";
|
|
6
|
+
const y = o(
|
|
7
|
+
"ApUpload",
|
|
8
|
+
(e) => [
|
|
9
|
+
t(e),
|
|
10
|
+
l(e),
|
|
11
|
+
m(e)
|
|
12
|
+
],
|
|
13
|
+
r
|
|
14
|
+
);
|
|
10
15
|
export {
|
|
11
16
|
y as default
|
|
12
17
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const multipleFileStyle: GenStyleFunc
|
|
1
|
+
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
|
+
export declare const multipleFileStyle: GenStyleFunc;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = (l) => {
|
|
2
2
|
const { componentCls: o } = l;
|
|
3
3
|
return {
|
|
4
4
|
[`${o}-multiple-file`]: {
|
|
@@ -8,10 +8,11 @@ const a = (l) => {
|
|
|
8
8
|
".file-btn": {
|
|
9
9
|
display: "flex",
|
|
10
10
|
alignItems: "center",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
paddingBlock: l.space,
|
|
12
|
+
paddingInline: l.spaceLG,
|
|
13
|
+
transition: `all ${l.motionDurationSlow}`,
|
|
14
|
+
border: `${l.lineWidth} ${l.lineType} ${l.borderColorBase}`,
|
|
15
|
+
borderRadius: l.borderRadius,
|
|
15
16
|
color: l.textColor1,
|
|
16
17
|
"&:hover": {
|
|
17
18
|
borderColor: l.colorPrimary,
|
|
@@ -19,7 +20,7 @@ const a = (l) => {
|
|
|
19
20
|
}
|
|
20
21
|
},
|
|
21
22
|
".sub-title": {
|
|
22
|
-
paddingLeft:
|
|
23
|
+
paddingLeft: l.spaceXL,
|
|
23
24
|
color: l.textColor3,
|
|
24
25
|
fontSize: l.fontSize
|
|
25
26
|
}
|
|
@@ -62,5 +63,5 @@ const a = (l) => {
|
|
|
62
63
|
};
|
|
63
64
|
};
|
|
64
65
|
export {
|
|
65
|
-
|
|
66
|
+
t as multipleFileStyle
|
|
66
67
|
};
|