@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,64 +1,58 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
1
|
+
import { genComponentStyleHook as e } from "../../../utils/cssinjs/index.mjs";
|
|
2
2
|
const r = (o) => {
|
|
3
|
-
const { componentCls:
|
|
3
|
+
const { componentCls: t } = o;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
5
|
+
[t]: {
|
|
6
6
|
display: "flex",
|
|
7
7
|
alignItems: "center",
|
|
8
8
|
width: "100%",
|
|
9
9
|
".copy-btn": {
|
|
10
10
|
opacity: 0,
|
|
11
|
-
transition:
|
|
11
|
+
transition: `opacity ${o.motionDurationMid} ease`
|
|
12
12
|
},
|
|
13
13
|
"&:hover": {
|
|
14
14
|
".copy-btn": {
|
|
15
15
|
opacity: 1
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
[`${
|
|
18
|
+
[`${t}__text`]: {
|
|
19
19
|
overflow: "hidden",
|
|
20
20
|
textOverflow: "ellipsis",
|
|
21
21
|
whiteSpace: "nowrap",
|
|
22
|
-
|
|
23
|
-
lineHeight: "18px"
|
|
22
|
+
lineHeight: o.lineHeight
|
|
24
23
|
},
|
|
25
|
-
[`${
|
|
24
|
+
[`${t}--text-major`]: {
|
|
26
25
|
color: o.textColor1
|
|
27
26
|
},
|
|
28
|
-
[`${
|
|
27
|
+
[`${t}--text-minor`]: {
|
|
29
28
|
color: o.textColor3
|
|
30
29
|
},
|
|
31
|
-
[`${
|
|
30
|
+
[`${t}--text-link`]: {
|
|
32
31
|
color: o.colorLink,
|
|
33
32
|
cursor: "pointer",
|
|
34
33
|
"&:hover": {
|
|
35
34
|
color: o.colorLinkHover
|
|
36
35
|
}
|
|
37
36
|
},
|
|
38
|
-
[`${
|
|
37
|
+
[`${t}__copy-btn`]: {
|
|
39
38
|
flexShrink: 0,
|
|
40
|
-
|
|
41
|
-
marginInlineStart: "4px",
|
|
39
|
+
marginInlineStart: o.spaceXS,
|
|
42
40
|
display: "flex",
|
|
43
41
|
alignItems: "center",
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
height: "14px",
|
|
48
|
-
lineHeight: "14px"
|
|
49
|
-
},
|
|
42
|
+
fontSize: o.fontSizeLG,
|
|
43
|
+
color: o.textColor4,
|
|
44
|
+
cursor: "pointer",
|
|
50
45
|
"&:hover": {
|
|
51
46
|
".user-frontend-icon": {
|
|
52
|
-
cursor: "pointer",
|
|
53
47
|
color: o.colorLink
|
|
54
48
|
}
|
|
55
49
|
}
|
|
56
50
|
}
|
|
57
51
|
}
|
|
58
52
|
};
|
|
59
|
-
},
|
|
53
|
+
}, l = e("ApCopy", (o) => [
|
|
60
54
|
r(o)
|
|
61
55
|
]);
|
|
62
56
|
export {
|
|
63
|
-
|
|
57
|
+
l as default
|
|
64
58
|
};
|
|
@@ -3,7 +3,7 @@ import { getTimeFormatToZone as d, toThousand as g } from "@aplus-frontend/utils
|
|
|
3
3
|
import { isBoolean as h, merge as p, get as c, debounce as Y } from "lodash-unified";
|
|
4
4
|
import { formatString as A } from "./utils.mjs";
|
|
5
5
|
import { TypographyParagraph as b } from "@aplus-frontend/antdv";
|
|
6
|
-
import { toDecimalMark as M } from "
|
|
6
|
+
import { toDecimalMark as M } from "../../../utils/format.mjs";
|
|
7
7
|
function S({
|
|
8
8
|
value: t
|
|
9
9
|
}, n) {
|
|
@@ -11,7 +11,7 @@ const e = (t) => {
|
|
|
11
11
|
paddingBlockEnd: "var(--ap-descriptions-item-padding-bottom, 16px)"
|
|
12
12
|
},
|
|
13
13
|
"th.ant-descriptions-item": {
|
|
14
|
-
paddingBlockEnd:
|
|
14
|
+
paddingBlockEnd: t.spaceXS
|
|
15
15
|
},
|
|
16
16
|
".ant-descriptions-row:last-child": {
|
|
17
17
|
".ant-descriptions-item": {
|
|
@@ -19,7 +19,8 @@ const e = (t) => {
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
".ant-descriptions-item-label::after": {
|
|
22
|
-
|
|
22
|
+
marginInlineStart: t.spaceXS,
|
|
23
|
+
marginInlineEnd: t.spaceLG
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
[`${i}-item__ellipsis`]: {
|
|
@@ -30,7 +31,8 @@ const e = (t) => {
|
|
|
30
31
|
flexShrink: 1,
|
|
31
32
|
minWidth: 0,
|
|
32
33
|
".ant-typography": {
|
|
33
|
-
marginBlockEnd: 0
|
|
34
|
+
marginBlockEnd: 0,
|
|
35
|
+
flex: 1
|
|
34
36
|
},
|
|
35
37
|
".ant-typography-ellipsis": {
|
|
36
38
|
maxWidth: "100%"
|
|
@@ -49,7 +51,7 @@ const e = (t) => {
|
|
|
49
51
|
color: t.textColor3,
|
|
50
52
|
".ap-descriptions-item-content__help": {
|
|
51
53
|
fontSize: t.fontSizeLG,
|
|
52
|
-
marginInlineStart:
|
|
54
|
+
marginInlineStart: t.spaceXS,
|
|
53
55
|
color: t.textColor3
|
|
54
56
|
},
|
|
55
57
|
".ant-typography": {
|
|
@@ -66,9 +68,9 @@ const e = (t) => {
|
|
|
66
68
|
}
|
|
67
69
|
}
|
|
68
70
|
};
|
|
69
|
-
},
|
|
71
|
+
}, a = n("ApDescriptions", (t) => [
|
|
70
72
|
e(t)
|
|
71
73
|
]);
|
|
72
74
|
export {
|
|
73
|
-
|
|
75
|
+
a as default
|
|
74
76
|
};
|
|
@@ -14,12 +14,12 @@ const r = (o) => {
|
|
|
14
14
|
cursor: "pointer",
|
|
15
15
|
alignItems: "center",
|
|
16
16
|
".spin": {
|
|
17
|
-
marginInlineEnd:
|
|
17
|
+
marginInlineEnd: o.spaceXS
|
|
18
18
|
},
|
|
19
19
|
".icon": {
|
|
20
20
|
position: "relative",
|
|
21
21
|
fontSize: o.fontSizeXL,
|
|
22
|
-
marginInlineEnd:
|
|
22
|
+
marginInlineEnd: o.spaceXS
|
|
23
23
|
},
|
|
24
24
|
".text": {
|
|
25
25
|
color: "var(--download-main-color)"
|
|
@@ -48,9 +48,9 @@ const r = (o) => {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
},
|
|
51
|
+
}, t = l("ApDownload", (o) => [
|
|
52
52
|
r(o)
|
|
53
53
|
]);
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
t as default
|
|
56
56
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
1
|
+
import { genComponentStyleHook as i } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const o = (r) => {
|
|
3
3
|
const { componentCls: e } = r;
|
|
4
4
|
return {
|
|
5
5
|
[e]: {
|
|
@@ -23,12 +23,12 @@ const i = (r) => {
|
|
|
23
23
|
transition: "all 0.5s ease",
|
|
24
24
|
overflow: "hidden",
|
|
25
25
|
boxSizing: "border-box",
|
|
26
|
-
border:
|
|
26
|
+
border: `${r.lineWidth} ${r.lineType} #fff`
|
|
27
27
|
},
|
|
28
28
|
[`${e}--canDrag`]: {
|
|
29
29
|
cursor: "pointer",
|
|
30
30
|
"&:hover": {
|
|
31
|
-
border:
|
|
31
|
+
border: `${r.lineWidth} ${r.lineType} ${r.colorPrimary}`
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
[`${e}--dragging`]: {
|
|
@@ -41,12 +41,12 @@ const i = (r) => {
|
|
|
41
41
|
zIndex: 999
|
|
42
42
|
},
|
|
43
43
|
[`${e}__overlay`]: {
|
|
44
|
-
border:
|
|
44
|
+
border: `${r.lineWidth} ${r.lineType} ${r.colorPrimary}`
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
}, d =
|
|
49
|
-
|
|
48
|
+
}, d = i("ApDraggableGrid", (r) => [
|
|
49
|
+
o(r)
|
|
50
50
|
]);
|
|
51
51
|
export {
|
|
52
52
|
d as default
|
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
3
|
-
const { componentCls:
|
|
1
|
+
import { genComponentStyleHook as l } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const i = (n) => {
|
|
3
|
+
const { componentCls: o, namespace: t, spaceXS: r, motionDurationSlow: e } = n, a = `.${t}-action-item`;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
fontSize:
|
|
5
|
+
[o]: {
|
|
6
|
+
[a]: {
|
|
7
|
+
fontSize: n.fontSize
|
|
8
8
|
},
|
|
9
|
-
[`${
|
|
10
|
-
fontSize:
|
|
11
|
-
marginInline:
|
|
9
|
+
[`${o}__expandText`]: {
|
|
10
|
+
fontSize: n.fontSize,
|
|
11
|
+
marginInline: r
|
|
12
12
|
},
|
|
13
|
-
[`${
|
|
14
|
-
transition:
|
|
13
|
+
[`${o}__expandIcon`]: {
|
|
14
|
+
transition: `all ${e}`,
|
|
15
15
|
transform: "rotateZ(180deg)"
|
|
16
16
|
},
|
|
17
|
-
[`${
|
|
18
|
-
transition:
|
|
17
|
+
[`${o}__collapseIcon`]: {
|
|
18
|
+
transition: `all ${e}`,
|
|
19
19
|
transform: "rotateZ(0deg)"
|
|
20
20
|
},
|
|
21
|
-
[`${
|
|
21
|
+
[`${o}__prefix`]: {
|
|
22
22
|
display: "inline-block"
|
|
23
23
|
},
|
|
24
|
-
[`${
|
|
25
|
-
color:
|
|
24
|
+
[`${o}__showItem`]: {
|
|
25
|
+
color: n.colorLink,
|
|
26
26
|
cursor: "pointer",
|
|
27
27
|
whiteSpace: "nowrap",
|
|
28
28
|
"&:hover": {
|
|
29
|
-
color:
|
|
29
|
+
color: n.colorLinkHover
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
[`${
|
|
33
|
-
color:
|
|
34
|
-
|
|
32
|
+
[`${o}__spliter`]: {
|
|
33
|
+
color: n.borderColorBase,
|
|
34
|
+
paddingInline: n.space,
|
|
35
|
+
paddingBlock: 0
|
|
35
36
|
},
|
|
36
|
-
[`${
|
|
37
|
+
[`${o}__antAlert.ant-alert`]: {
|
|
37
38
|
alignItems: "flex-start",
|
|
38
|
-
lineHeight:
|
|
39
|
+
lineHeight: n.lineHeight,
|
|
39
40
|
".ant-alert-icon": {
|
|
40
|
-
fontSize:
|
|
41
|
+
fontSize: n.fontSizeLG,
|
|
41
42
|
transform: "translateY(2px)",
|
|
42
43
|
display: "block"
|
|
43
44
|
}
|
|
@@ -45,12 +46,15 @@ const r = (e) => {
|
|
|
45
46
|
".card-alert": {
|
|
46
47
|
backgroundColor: "transparent !important",
|
|
47
48
|
border: "none"
|
|
49
|
+
},
|
|
50
|
+
".ant-alert-close-icon": {
|
|
51
|
+
lineHeight: "unset"
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
};
|
|
51
|
-
},
|
|
52
|
-
|
|
55
|
+
}, c = l("ApExpandAlert", (n) => [
|
|
56
|
+
i(n)
|
|
53
57
|
]);
|
|
54
58
|
export {
|
|
55
|
-
|
|
59
|
+
c as default
|
|
56
60
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
|
-
export declare const genApImageStyle: GenStyleFunc
|
|
3
|
+
export declare const genApImageStyle: GenStyleFunc;
|
|
4
4
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
1
|
+
import { genComponentStyleHook as n } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const t = (e) => {
|
|
3
3
|
const { componentCls: o } = e;
|
|
4
4
|
return {
|
|
5
5
|
[`${o}-toolbar`]: {
|
|
6
6
|
display: "flex",
|
|
7
7
|
alignItems: "center",
|
|
8
|
-
|
|
8
|
+
paddingInline: e.spaceXXL,
|
|
9
|
+
paddingBlock: 0,
|
|
9
10
|
backgroundColor: "rgba(0, 0, 0, 0.1)",
|
|
10
11
|
borderRadius: "100px"
|
|
11
12
|
}
|
|
12
13
|
};
|
|
13
|
-
},
|
|
14
|
-
|
|
14
|
+
}, l = n("ApImage", (e) => [
|
|
15
|
+
t(e)
|
|
15
16
|
]);
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
l as default,
|
|
19
|
+
t as genApImageStyle
|
|
19
20
|
};
|
|
@@ -1,3 +1,17 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
+
export type ApLabelToken = {
|
|
3
|
+
/**
|
|
4
|
+
* 自定义绿色
|
|
5
|
+
*/
|
|
6
|
+
apLabelColorCustomGreen: string;
|
|
7
|
+
/**
|
|
8
|
+
* 自定义红色
|
|
9
|
+
*/
|
|
10
|
+
apLabelColorCustomRed: string;
|
|
11
|
+
/**
|
|
12
|
+
* 自定义蓝色
|
|
13
|
+
*/
|
|
14
|
+
apLabelColorCustomBlue: string;
|
|
15
|
+
};
|
|
2
16
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
17
|
export default _default;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { genComponentStyleHook as t } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
-
const
|
|
3
|
-
const {
|
|
2
|
+
const c = (o) => {
|
|
3
|
+
const {
|
|
4
|
+
componentCls: e,
|
|
5
|
+
apLabelColorCustomGreen: l,
|
|
6
|
+
apLabelColorCustomBlue: r,
|
|
7
|
+
apLabelColorCustomRed: a
|
|
8
|
+
} = o;
|
|
4
9
|
return {
|
|
5
10
|
[e]: {
|
|
6
11
|
display: "flex",
|
|
7
12
|
flexDirection: "column",
|
|
8
13
|
alignItems: "start",
|
|
9
|
-
fontSize:
|
|
14
|
+
fontSize: o.fontSizeLG,
|
|
10
15
|
[`${e}__content`]: {
|
|
11
16
|
display: "flex",
|
|
12
17
|
flexDirection: "row",
|
|
@@ -17,33 +22,38 @@ const r = (o) => {
|
|
|
17
22
|
}
|
|
18
23
|
},
|
|
19
24
|
[`${e}__custom`]: {
|
|
20
|
-
marginBlockStart:
|
|
25
|
+
marginBlockStart: o.spaceXXS,
|
|
21
26
|
width: "100%",
|
|
22
27
|
".ant-tag": {
|
|
23
|
-
|
|
24
|
-
lineHeight: "24px"
|
|
28
|
+
lineHeight: o.lineHeightLG
|
|
25
29
|
},
|
|
26
30
|
".ant-tag-green": {
|
|
27
|
-
color:
|
|
28
|
-
borderColor:
|
|
29
|
-
background:
|
|
31
|
+
color: l,
|
|
32
|
+
borderColor: l,
|
|
33
|
+
background: o.calc(l).colorOpacity(6)
|
|
30
34
|
},
|
|
31
35
|
".ant-tag-red": {
|
|
32
|
-
color:
|
|
33
|
-
borderColor:
|
|
34
|
-
backgroundColor:
|
|
36
|
+
color: a,
|
|
37
|
+
borderColor: a,
|
|
38
|
+
backgroundColor: o.calc(a).colorOpacity(6)
|
|
35
39
|
},
|
|
36
40
|
".ant-tag-blue": {
|
|
37
|
-
color:
|
|
38
|
-
borderColor:
|
|
39
|
-
backgroundColor:
|
|
41
|
+
color: r,
|
|
42
|
+
borderColor: r,
|
|
43
|
+
backgroundColor: o.calc(r).colorOpacity(6)
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
46
|
}
|
|
43
47
|
};
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
]
|
|
48
|
+
}, i = t(
|
|
49
|
+
"ApLabel",
|
|
50
|
+
(o) => [c(o)],
|
|
51
|
+
{
|
|
52
|
+
apLabelColorCustomGreen: "#34b77c",
|
|
53
|
+
apLabelColorCustomRed: "#FF4D4F",
|
|
54
|
+
apLabelColorCustomBlue: "#1890ff"
|
|
55
|
+
}
|
|
56
|
+
);
|
|
47
57
|
export {
|
|
48
|
-
|
|
58
|
+
i as default
|
|
49
59
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
1
|
+
import { genComponentStyleHook as i } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const o = (l) => {
|
|
3
3
|
const { componentCls: e } = l;
|
|
4
4
|
return {
|
|
5
5
|
[e]: {
|
|
@@ -26,7 +26,8 @@ const i = (l) => {
|
|
|
26
26
|
},
|
|
27
27
|
[`${e}__value-group-label-semicolon`]: {
|
|
28
28
|
display: "inline-block",
|
|
29
|
-
|
|
29
|
+
paddingInlineStart: l.spaceXXS,
|
|
30
|
+
paddingInlineEnd: l.spaceXS
|
|
30
31
|
},
|
|
31
32
|
[`${e}__value-group-value`]: {
|
|
32
33
|
color: l.textColor1,
|
|
@@ -102,7 +103,7 @@ const i = (l) => {
|
|
|
102
103
|
[`${e}__help-message`]: {
|
|
103
104
|
display: "flex",
|
|
104
105
|
alignItems: "center",
|
|
105
|
-
marginInlineStart:
|
|
106
|
+
marginInlineStart: l.spaceXS
|
|
106
107
|
},
|
|
107
108
|
[`${e}__major`]: {
|
|
108
109
|
lineHeight: l.lineHeight,
|
|
@@ -131,8 +132,8 @@ const i = (l) => {
|
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
134
|
};
|
|
134
|
-
}, t =
|
|
135
|
-
|
|
135
|
+
}, t = i("ApLadder", (l) => [
|
|
136
|
+
o(l)
|
|
136
137
|
]);
|
|
137
138
|
export {
|
|
138
139
|
t as default
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
+
export type ApProductInfoToken = {
|
|
3
|
+
/**
|
|
4
|
+
* 商品信息卡片图片尺寸
|
|
5
|
+
*/
|
|
6
|
+
apProductInfoImageSize: number;
|
|
7
|
+
/**
|
|
8
|
+
* 商品信息卡最大宽度
|
|
9
|
+
*/
|
|
10
|
+
apProductInfoMaxWidth: number;
|
|
11
|
+
};
|
|
2
12
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
13
|
export default _default;
|
|
@@ -1,75 +1,82 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
3
|
-
const { componentCls:
|
|
1
|
+
import { genComponentStyleHook as e } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const o = (i) => {
|
|
3
|
+
const { componentCls: l } = i;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
5
|
+
[l]: {
|
|
6
6
|
display: "flex",
|
|
7
|
-
[`${
|
|
8
|
-
width:
|
|
9
|
-
height:
|
|
10
|
-
marginInlineEnd:
|
|
7
|
+
[`${l}__img`]: {
|
|
8
|
+
width: i.apProductInfoImageSize,
|
|
9
|
+
height: i.apProductInfoImageSize,
|
|
10
|
+
marginInlineEnd: i.space,
|
|
11
11
|
flexShrink: 0
|
|
12
12
|
},
|
|
13
|
-
[`${
|
|
13
|
+
[`${l}__content`]: {
|
|
14
14
|
flex: 1,
|
|
15
15
|
display: "flex",
|
|
16
16
|
flexDirection: "column",
|
|
17
17
|
overflow: "hidden"
|
|
18
18
|
},
|
|
19
|
-
[`${
|
|
19
|
+
[`${l}__row-container `]: {
|
|
20
20
|
display: "flex",
|
|
21
21
|
flexWrap: "wrap"
|
|
22
22
|
},
|
|
23
|
-
[`${
|
|
23
|
+
[`${l}__row-item`]: {
|
|
24
24
|
position: "relative",
|
|
25
25
|
display: "flex"
|
|
26
26
|
},
|
|
27
|
-
[`${
|
|
28
|
-
width:
|
|
27
|
+
[`${l}__divider`]: {
|
|
28
|
+
width: i.lineWidth,
|
|
29
29
|
position: "relative",
|
|
30
30
|
height: "12px",
|
|
31
31
|
top: "50%",
|
|
32
|
-
|
|
32
|
+
marginBlockStart: i.calc(i.spaceSM).mul(-1).equal(),
|
|
33
|
+
marginInlineEnd: i.spaceXL,
|
|
33
34
|
zIndex: 1
|
|
34
35
|
},
|
|
35
|
-
[`${
|
|
36
|
-
width:
|
|
36
|
+
[`${l}__divider-vertical`]: {
|
|
37
|
+
width: i.lineWidth,
|
|
37
38
|
height: "100%",
|
|
38
|
-
backgroundColor:
|
|
39
|
+
backgroundColor: i.colorBg1,
|
|
39
40
|
position: "absolute",
|
|
40
41
|
transform: "translateX(-50%)"
|
|
41
42
|
},
|
|
42
|
-
[`${
|
|
43
|
+
[`${l}__item`]: {
|
|
43
44
|
display: "flex",
|
|
44
45
|
alignItems: "baseline"
|
|
45
46
|
},
|
|
46
|
-
[`${
|
|
47
|
+
[`${l}--full`]: {
|
|
47
48
|
width: "100%"
|
|
48
49
|
},
|
|
49
|
-
[`${
|
|
50
|
+
[`${l}__label`]: {
|
|
50
51
|
color: i.textColor3,
|
|
51
52
|
flexShrink: 0,
|
|
52
53
|
span: {
|
|
53
54
|
display: "inline-block",
|
|
54
|
-
|
|
55
|
+
paddingInline: i.spaceXXS,
|
|
56
|
+
paddingBlock: 0
|
|
55
57
|
}
|
|
56
58
|
},
|
|
57
|
-
[`${
|
|
58
|
-
maxWidth:
|
|
59
|
+
[`${l}__value`]: {
|
|
60
|
+
maxWidth: i.apProductInfoMaxWidth,
|
|
59
61
|
color: i.textColor3,
|
|
60
62
|
overflow: "hidden",
|
|
61
63
|
textOverflow: "ellipsis",
|
|
62
64
|
whiteSpace: "nowrap"
|
|
63
65
|
},
|
|
64
|
-
[`${
|
|
66
|
+
[`${l}--link`]: {
|
|
65
67
|
color: i.colorLink,
|
|
66
68
|
cursor: "pointer"
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
};
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
]
|
|
72
|
+
}, r = e(
|
|
73
|
+
"ApProductInfo",
|
|
74
|
+
(i) => [o(i)],
|
|
75
|
+
{
|
|
76
|
+
apProductInfoImageSize: 44,
|
|
77
|
+
apProductInfoMaxWidth: 300
|
|
78
|
+
}
|
|
79
|
+
);
|
|
73
80
|
export {
|
|
74
|
-
|
|
81
|
+
r as default
|
|
75
82
|
};
|
|
@@ -11,7 +11,7 @@ const i = (o) => {
|
|
|
11
11
|
paddingInline: o.spaceLG,
|
|
12
12
|
borderRadius: o.borderRadius,
|
|
13
13
|
color: o.textColor2,
|
|
14
|
-
transition:
|
|
14
|
+
transition: `all ${o.motionDurationSlow} ease-in-out`,
|
|
15
15
|
willChange: "background-color",
|
|
16
16
|
"&:hover": {
|
|
17
17
|
backgroundColor: o.colorBg2
|
|
@@ -23,7 +23,7 @@ const i = (o) => {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
},
|
|
26
|
+
}, e = a(
|
|
27
27
|
"ApRadioGroup",
|
|
28
28
|
(o) => [i(o)],
|
|
29
29
|
{
|
|
@@ -31,5 +31,5 @@ const i = (o) => {
|
|
|
31
31
|
}
|
|
32
32
|
);
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
e as default
|
|
35
35
|
};
|
|
@@ -57,9 +57,9 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
57
57
|
open: k.value,
|
|
58
58
|
"onUpdate:open": n[0] || (n[0] = (l) => k.value = l)
|
|
59
59
|
}, {
|
|
60
|
-
title: c(() => n[3] || (n[3] = [
|
|
61
|
-
A("收起")
|
|
62
|
-
])),
|
|
60
|
+
title: c(() => [...n[3] || (n[3] = [
|
|
61
|
+
A("收起", -1)
|
|
62
|
+
])]),
|
|
63
63
|
default: c(() => [
|
|
64
64
|
u(e(G), { onClick: F })
|
|
65
65
|
]),
|
|
@@ -118,9 +118,9 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
118
118
|
open: T.value,
|
|
119
119
|
"onUpdate:open": n[2] || (n[2] = (l) => T.value = l)
|
|
120
120
|
}, {
|
|
121
|
-
title: c(() => n[4] || (n[4] = [
|
|
122
|
-
A("展开")
|
|
123
|
-
])),
|
|
121
|
+
title: c(() => [...n[4] || (n[4] = [
|
|
122
|
+
A("展开", -1)
|
|
123
|
+
])]),
|
|
124
124
|
default: c(() => [
|
|
125
125
|
u(e(H), { onClick: F })
|
|
126
126
|
]),
|