@aplus-frontend/ui 0.6.0-beta.2 → 0.6.0-beta.21
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 +307 -289
- package/es/src/ap-action/group/index.vue.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +9 -8
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/ap-drawer/ApDrawer.vue.d.ts +29 -0
- package/es/src/ap-drawer/ApDrawer.vue.mjs +91 -0
- package/es/src/ap-drawer/ApDrawer.vue2.mjs +4 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +8 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +25 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +4 -0
- package/es/src/ap-drawer/index.d.ts +3 -7
- package/es/src/ap-drawer/index.mjs +10 -5
- package/es/src/ap-drawer/interface.d.ts +4 -0
- package/es/src/ap-drawer/style/css.d.ts +0 -1
- package/es/src/ap-drawer/style/css.js +1 -1
- package/es/src/ap-drawer/style/index.d.ts +0 -1
- package/es/src/ap-drawer/style/index.js +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +36 -31
- package/es/src/ap-field/date/helper.mjs +12 -12
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.mjs +8 -7
- package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
- package/es/src/ap-field/number/index.vue.d.ts +3 -5
- package/es/src/ap-field/radio/index.vue.d.ts +2 -4
- package/es/src/ap-field/rate/index.vue.d.ts +3 -5
- package/es/src/ap-field/select/index.vue.d.ts +4 -7
- package/es/src/ap-field/slider/index.vue.d.ts +2 -4
- package/es/src/ap-field/text/index.vue2.mjs +42 -44
- package/es/src/ap-field/text/password.vue.mjs +15 -17
- package/es/src/ap-field/text-area/index.vue.d.ts +2 -2
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.mjs +31 -30
- package/es/src/ap-form/ap-form.vue2.mjs +89 -77
- package/es/src/ap-form/dependency/index.vue.mjs +29 -23
- package/es/src/ap-form/drawer-form/index.vue.d.ts +9 -7
- package/es/src/ap-form/drawer-form/index.vue.mjs +58 -49
- package/es/src/ap-form/interface.d.ts +13 -5
- package/es/src/ap-form/item/index.vue.d.ts +6 -11
- package/es/src/ap-form/item/index.vue.mjs +43 -39
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.mjs +12 -14
- 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/text/password.vue.mjs +9 -9
- package/es/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/tree-select/index.vue.mjs +12 -14
- package/es/src/ap-form/modal-form/index.vue.d.ts +9 -7
- package/es/src/ap-form/modal-form/index.vue.mjs +64 -55
- package/es/src/ap-form/provider/index.vue.mjs +6 -5
- package/es/src/ap-form/render/item.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +40 -36
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +33 -13
- package/es/src/ap-form/search-form/index.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/index.vue.mjs +99 -97
- package/es/src/ap-form/set/index.vue.mjs +7 -6
- package/es/src/ap-grid/constants.d.ts +3 -3
- package/es/src/ap-grid/constants.mjs +9 -9
- package/es/src/ap-grid/editable/form-item.vue.mjs +97 -83
- package/es/src/ap-grid/editable/index.vue.mjs +100 -86
- package/es/src/ap-grid/hooks/use-editable-columns.mjs +17 -17
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
- package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
- package/es/src/ap-grid/hooks/use-row-selection.d.ts +100 -0
- package/es/src/ap-grid/hooks/use-row-selection.mjs +122 -0
- package/es/src/ap-grid/index.vue.mjs +291 -224
- package/es/src/ap-grid/interface.d.ts +31 -2
- package/es/src/ap-grid/utils/table.mjs +31 -31
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -9
- package/es/src/ap-list/index.vue.mjs +116 -106
- package/es/src/ap-list/interface.d.ts +20 -0
- package/es/src/ap-table/ap-table.vue.d.ts +10 -2
- package/es/src/ap-table/ap-table.vue2.mjs +78 -70
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -44
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +52 -52
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +23 -4
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +152 -124
- package/es/src/ap-table/interface.d.ts +14 -1
- package/es/src/ap-table/utils.d.ts +35 -35
- package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
- package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
- package/es/src/business/ap-copy/ApCopy.d.ts +52 -0
- package/es/src/business/ap-copy/ApCopy.mjs +79 -0
- package/es/src/business/ap-copy/constans.d.ts +24 -0
- package/es/src/business/ap-copy/constans.mjs +25 -0
- package/es/src/business/ap-copy/index.d.ts +102 -0
- package/es/src/business/ap-copy/index.mjs +7 -0
- package/es/src/business/ap-copy/interface.d.ts +8 -0
- package/es/src/business/ap-copy/interface.mjs +1 -0
- package/es/src/business/ap-copy/style/css.d.ts +0 -0
- package/es/src/business/ap-copy/style/css.js +1 -0
- package/es/src/business/ap-copy/style/index.d.ts +0 -0
- package/es/src/business/ap-copy/style/index.js +1 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +94 -73
- package/es/src/business/ap-expand-alert/index.d.ts +4 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +18 -17
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
- package/es/src/business/ap-keep-alive/cacher/cacher.d.ts +10 -0
- package/es/src/business/ap-keep-alive/cacher/lru-cacher.d.ts +16 -0
- package/es/src/business/ap-keep-alive/cacher/lru-cacher.mjs +43 -0
- package/es/src/business/ap-keep-alive/hook.d.ts +10 -0
- package/es/src/business/ap-keep-alive/hook.mjs +33 -0
- package/es/src/business/ap-keep-alive/index.d.ts +107 -0
- package/es/src/business/ap-keep-alive/index.mjs +13 -0
- package/es/src/business/ap-keep-alive/interface.d.ts +36 -0
- package/es/src/business/ap-keep-alive/interface.mjs +54 -0
- package/es/src/business/ap-keep-alive/keep-alive.d.ts +54 -0
- package/es/src/business/ap-keep-alive/keep-alive.mjs +154 -0
- package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
- package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.mjs +21 -0
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +27 -0
- package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
- package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
- package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
- package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.mjs +12 -0
- package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.mjs +18 -0
- package/es/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
- package/es/src/business/ap-keep-alive/keeper/index.mjs +28 -0
- package/es/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/step-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
- package/es/src/business/ap-keep-alive/keeper/tab-keeper.mjs +17 -0
- package/es/src/business/ap-keep-alive/utils.d.ts +22 -0
- package/es/src/business/ap-keep-alive/utils.mjs +41 -0
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +15 -16
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-label/interface.d.ts +2 -3
- package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +3 -3
- package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/es/src/business/ap-product-info/ApProductInfo.mjs +53 -54
- package/es/src/business/ap-product-info/constans.d.ts +4 -0
- package/es/src/business/ap-product-info/constans.mjs +4 -0
- package/es/src/business/ap-product-info/index.d.ts +15 -0
- package/es/src/business/ap-product-info/interface.d.ts +1 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +19 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue.mjs +4 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +60 -0
- package/es/src/business/ap-radio-group/index.d.ts +60 -0
- package/es/src/business/ap-radio-group/index.mjs +8 -0
- package/es/src/business/ap-radio-group/interface.d.ts +11 -0
- package/es/src/business/ap-radio-group/interface.mjs +1 -0
- package/es/src/business/ap-radio-group/style/css.d.ts +0 -0
- package/es/src/business/ap-radio-group/style/css.js +1 -0
- package/es/src/business/ap-radio-group/style/index.d.ts +0 -0
- package/es/src/business/ap-radio-group/style/index.js +1 -0
- package/es/src/business/ap-status/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
- package/es/src/business/ap-table-modal/index.d.ts +32 -5
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +43 -42
- package/es/src/business/ap-view/ap-view.vue.d.ts +5 -1
- package/es/src/business/ap-view/ap-view.vue2.mjs +162 -129
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +55 -51
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +79 -73
- package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/es/src/business/ap-view/index.d.ts +15 -3
- package/es/src/business/ap-view/interface.d.ts +11 -0
- package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/form-item.vue.mjs +14 -13
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.mjs +10 -9
- package/es/src/business/hooks/usePageListApGrid.mjs +33 -28
- package/es/src/business/hooks/usePageListApTable.d.ts +4 -1
- package/es/src/business/index.d.ts +3 -0
- package/es/src/business/index.mjs +36 -30
- package/es/src/check-card/group.vue.d.ts +1 -1
- package/es/src/components.d.ts +1 -0
- package/es/src/config-provider/config-provider-props.d.ts +0 -5
- package/es/src/config-provider/config-provider-props.mjs +0 -4
- package/es/src/config-provider/config-provider.d.ts +0 -138
- package/es/src/config-provider/config-provider.mjs +21 -26
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/es/src/config-provider/index.d.ts +0 -652
- package/es/src/editable-table/form-item.vue.d.ts +2 -14
- package/es/src/editable-table/form-item.vue.mjs +86 -78
- package/es/src/editable-table/index.vue.d.ts +2 -16
- package/es/src/editable-table/index.vue.mjs +91 -83
- package/es/src/editable-table/interface.d.ts +7 -0
- package/es/src/full-screen/interface.d.ts +5 -6
- package/es/src/index.mjs +269 -253
- package/es/src/locale/lang/en.mjs +4 -0
- package/es/src/locale/lang/zh-cn.mjs +4 -0
- package/es/src/mask/index.vue.mjs +21 -20
- package/es/src/path-map.mjs +3 -1
- package/es/src/resize-observer/interface.d.ts +2 -3
- package/es/src/scroll-bar/interface.d.ts +7 -7
- package/es/src/scroll-view/interface.d.ts +2 -3
- package/es/src/splitter/SplitBar.vue2.mjs +1 -0
- package/es/src/splitter/Splitter.vue2.mjs +1 -0
- package/es/src/tests/mock-resize-observer.d.ts +2 -0
- package/es/src/tests/utils.d.ts +8 -0
- package/es/src/text/group.vue.mjs +7 -6
- package/es/src/text/index.vue.mjs +20 -19
- package/es/src/version.d.ts +2 -0
- package/es/src/version.mjs +4 -0
- package/es/src/work-order-modal/createWorkOrder.d.ts +2 -1
- package/es/src/work-order-modal/createWorkOrder.mjs +19 -15
- package/es/src/work-order-modal/interfaces.d.ts +4 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +120 -105
- package/es/test/setup.d.ts +5 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-drawer/ApDrawer.vue.d.ts +29 -0
- package/lib/src/ap-drawer/ApDrawer.vue.js +1 -0
- package/lib/src/ap-drawer/ApDrawer.vue2.js +1 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +8 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +1 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -0
- package/lib/src/ap-drawer/index.d.ts +3 -7
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/interface.d.ts +4 -0
- package/lib/src/ap-drawer/style/css.cjs +1 -1
- package/lib/src/ap-drawer/style/css.d.ts +0 -1
- package/lib/src/ap-drawer/style/index.cjs +1 -1
- package/lib/src/ap-drawer/style/index.d.ts +0 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/date/helper.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +3 -5
- package/lib/src/ap-field/radio/index.vue.d.ts +2 -4
- package/lib/src/ap-field/rate/index.vue.d.ts +3 -5
- package/lib/src/ap-field/select/index.vue.d.ts +4 -7
- package/lib/src/ap-field/slider/index.vue.d.ts +2 -4
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +2 -2
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +9 -7
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/interface.d.ts +13 -5
- package/lib/src/ap-form/item/index.vue.d.ts +6 -11
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- 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/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +9 -7
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/provider/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- 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-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +2 -2
- 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-grid/constants.d.ts +3 -3
- package/lib/src/ap-grid/constants.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/hooks/use-editable-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.d.ts +100 -0
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -0
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +31 -2
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -9
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +20 -0
- package/lib/src/ap-table/ap-table.vue.d.ts +10 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +52 -52
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +23 -4
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +14 -1
- package/lib/src/ap-table/utils.d.ts +35 -35
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
- package/lib/src/business/ap-copy/ApCopy.d.ts +52 -0
- package/lib/src/business/ap-copy/ApCopy.js +1 -0
- package/lib/src/business/ap-copy/constans.d.ts +24 -0
- package/lib/src/business/ap-copy/constans.js +1 -0
- package/lib/src/business/ap-copy/index.d.ts +102 -0
- package/lib/src/business/ap-copy/index.js +1 -0
- package/lib/src/business/ap-copy/interface.d.ts +8 -0
- package/lib/src/business/ap-copy/interface.js +1 -0
- package/lib/src/business/ap-copy/style/css.cjs +1 -0
- package/lib/src/business/ap-copy/style/css.d.ts +0 -0
- package/lib/src/business/ap-copy/style/index.cjs +1 -0
- package/lib/src/business/ap-copy/style/index.d.ts +0 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-keep-alive/cacher/cacher.d.ts +10 -0
- package/lib/src/business/ap-keep-alive/cacher/lru-cacher.d.ts +16 -0
- package/lib/src/business/ap-keep-alive/cacher/lru-cacher.js +1 -0
- package/lib/src/business/ap-keep-alive/hook.d.ts +10 -0
- package/lib/src/business/ap-keep-alive/hook.js +1 -0
- package/lib/src/business/ap-keep-alive/index.d.ts +107 -0
- package/lib/src/business/ap-keep-alive/index.js +1 -0
- package/lib/src/business/ap-keep-alive/interface.d.ts +36 -0
- package/lib/src/business/ap-keep-alive/interface.js +1 -0
- package/lib/src/business/ap-keep-alive/keep-alive.d.ts +54 -0
- package/lib/src/business/ap-keep-alive/keep-alive.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
- package/lib/src/business/ap-keep-alive/keeper/index.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/step-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
- package/lib/src/business/ap-keep-alive/keeper/tab-keeper.js +1 -0
- package/lib/src/business/ap-keep-alive/utils.d.ts +22 -0
- package/lib/src/business/ap-keep-alive/utils.js +1 -0
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-label/interface.d.ts +2 -3
- package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +3 -3
- package/lib/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-product-info/constans.d.ts +4 -0
- package/lib/src/business/ap-product-info/constans.js +1 -1
- package/lib/src/business/ap-product-info/index.d.ts +15 -0
- package/lib/src/business/ap-product-info/interface.d.ts +1 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +19 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.js +1 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -0
- package/lib/src/business/ap-radio-group/index.d.ts +60 -0
- package/lib/src/business/ap-radio-group/index.js +1 -0
- package/lib/src/business/ap-radio-group/interface.d.ts +11 -0
- package/lib/src/business/ap-radio-group/interface.js +1 -0
- package/lib/src/business/ap-radio-group/style/css.cjs +1 -0
- package/lib/src/business/ap-radio-group/style/css.d.ts +0 -0
- package/lib/src/business/ap-radio-group/style/index.cjs +1 -0
- package/lib/src/business/ap-radio-group/style/index.d.ts +0 -0
- package/lib/src/business/ap-status/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
- package/lib/src/business/ap-table-modal/index.d.ts +32 -5
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue.d.ts +5 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +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.vue.d.ts +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/lib/src/business/ap-view/index.d.ts +15 -3
- package/lib/src/business/ap-view/interface.d.ts +11 -0
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.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/hooks/usePageListApGrid.js +1 -1
- package/lib/src/business/hooks/usePageListApTable.d.ts +4 -1
- package/lib/src/business/index.d.ts +3 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -1
- package/lib/src/components.d.ts +1 -0
- package/lib/src/config-provider/config-provider-props.d.ts +0 -5
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +0 -138
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/lib/src/config-provider/index.d.ts +0 -652
- package/lib/src/editable-table/form-item.vue.d.ts +2 -14
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -16
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -0
- package/lib/src/full-screen/interface.d.ts +5 -6
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/resize-observer/interface.d.ts +2 -3
- package/lib/src/scroll-bar/interface.d.ts +7 -7
- package/lib/src/scroll-view/interface.d.ts +2 -3
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/tests/mock-resize-observer.d.ts +2 -0
- package/lib/src/tests/utils.d.ts +8 -0
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/version.d.ts +2 -0
- package/lib/src/version.js +1 -0
- package/lib/src/work-order-modal/createWorkOrder.d.ts +2 -1
- package/lib/src/work-order-modal/createWorkOrder.js +1 -1
- package/lib/src/work-order-modal/interfaces.d.ts +4 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/lib/test/setup.d.ts +5 -0
- package/package.json +18 -14
- package/theme/antd-global-overwrite/admin/alert.css +6 -19
- package/theme/antd-global-overwrite/admin/alert.less +25 -36
- package/theme/antd-global-overwrite/admin/button.css +13 -13
- package/theme/antd-global-overwrite/admin/button.less +24 -24
- package/theme/antd-global-overwrite/admin/field.css +39 -0
- package/theme/antd-global-overwrite/admin/field.less +39 -0
- package/theme/antd-global-overwrite/admin/index.css +89 -646
- package/theme/antd-global-overwrite/admin/index.less +2 -3
- package/theme/antd-global-overwrite/admin/message.css +2 -9
- package/theme/antd-global-overwrite/admin/message.less +2 -10
- package/theme/antd-global-overwrite/admin/modal.css +15 -48
- package/theme/antd-global-overwrite/admin/modal.less +13 -54
- package/theme/antd-global-overwrite/admin/table.css +11 -251
- package/theme/antd-global-overwrite/admin/table.less +4 -132
- package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/alert.css +9 -19
- package/theme/antd-global-overwrite/aplus/alert.less +27 -34
- package/theme/antd-global-overwrite/aplus/button.css +20 -20
- package/theme/antd-global-overwrite/aplus/button.less +24 -24
- package/theme/antd-global-overwrite/aplus/field.css +33 -0
- package/theme/antd-global-overwrite/aplus/field.less +32 -0
- package/theme/antd-global-overwrite/aplus/index.css +91 -690
- package/theme/antd-global-overwrite/aplus/index.less +1 -3
- package/theme/antd-global-overwrite/aplus/message.css +2 -9
- package/theme/antd-global-overwrite/aplus/message.less +2 -10
- package/theme/antd-global-overwrite/aplus/modal.css +15 -49
- package/theme/antd-global-overwrite/aplus/modal.less +14 -58
- package/theme/antd-global-overwrite/aplus/table.css +11 -236
- package/theme/antd-global-overwrite/aplus/table.less +4 -134
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-action/item-dropdown.css +19 -1
- package/theme/ap-action/item.css +37 -8
- package/theme/ap-action/item.less +18 -6
- package/theme/ap-appendix/ap-appendix.css +27 -9
- package/theme/ap-appendix/ap-appendix.less +8 -8
- package/theme/ap-attachment/ap-attachment.css +21 -2
- package/theme/ap-attachment/ap-attachment.less +2 -2
- package/theme/ap-batch-action/ap-batch-action.css +22 -4
- package/theme/ap-batch-action/ap-batch-action.less +3 -3
- package/theme/ap-button/ap-button.css +19 -1
- package/theme/ap-card/ap-card.css +20 -2
- package/theme/ap-card/ap-card.less +1 -1
- package/theme/ap-copy/ap-copy.css +96 -0
- package/theme/ap-copy/ap-copy.less +61 -0
- package/theme/ap-descriptions/ap-descriptions.css +25 -5
- package/theme/ap-descriptions/ap-descriptions.less +6 -4
- package/theme/ap-download/ap-download.css +19 -1
- package/theme/ap-drawer/ap-drawer.css +75 -0
- package/theme/ap-drawer/ap-drawer.less +42 -0
- package/theme/ap-expand-alert/ap-expand-alert.css +21 -2
- package/theme/ap-expand-alert/ap-expand-alert.less +2 -1
- package/theme/ap-field/checkbox.css +19 -1
- package/theme/ap-field/index.css +19 -1
- package/theme/ap-field/number.css +19 -1
- package/theme/ap-field/radio.css +19 -1
- package/theme/ap-field/text-area.css +19 -1
- package/theme/ap-form/ap-form-item-group.css +19 -1
- package/theme/ap-form/ap-form-item.css +30 -9
- package/theme/ap-form/ap-form-item.less +15 -9
- package/theme/ap-form/drawer-form.css +19 -1
- package/theme/ap-form/index.css +51 -18
- package/theme/ap-form/item-text-group.css +19 -1
- package/theme/ap-form/item-text.css +19 -1
- package/theme/ap-form/modal-form.css +19 -1
- package/theme/ap-form/search-form-sorter.css +28 -9
- package/theme/ap-form/search-form-sorter.less +5 -4
- package/theme/ap-form/search-form.css +51 -18
- package/theme/ap-form/search-form.less +12 -1
- package/theme/ap-grid/editable.css +19 -1
- package/theme/ap-grid/index.css +118 -31
- package/theme/ap-grid/index.less +34 -5
- package/theme/ap-group-search/ap-extension-select.css +19 -1
- package/theme/ap-group-search/ap-group-search.css +19 -1
- package/theme/ap-group-search/ap-popover-select.css +19 -1
- package/theme/ap-image/ap-image.css +19 -1
- package/theme/ap-input-radio/ap-input-radio.css +19 -1
- package/theme/ap-label/ap-label.css +19 -1
- package/theme/ap-ladder/ap-ladder.css +20 -1
- package/theme/ap-ladder/ap-ladder.less +1 -0
- package/theme/ap-layout/ap-info-layout.css +19 -1
- package/theme/ap-list/index.css +19 -1
- package/theme/ap-product-info/ap-product-info.css +39 -31
- package/theme/ap-product-info/ap-product-info.less +28 -42
- package/theme/ap-radio-group/ap-radio-group.css +65 -0
- package/theme/ap-radio-group/ap-radio-group.less +25 -0
- package/theme/ap-select-layout/ap-select-layout.css +19 -1
- package/theme/ap-size-input/ap-size-input.css +19 -1
- package/theme/ap-status/ap-status.css +20 -2
- package/theme/ap-status/ap-status.less +1 -1
- package/theme/ap-summary/index.css +19 -1
- package/theme/ap-table/ap-table-index.css +19 -1
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +20 -2
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +127 -50
- package/theme/ap-table/ap-table.less +24 -11
- package/theme/ap-table/setting/index.css +35 -13
- package/theme/ap-table/setting/modal.css +26 -5
- package/theme/ap-table/setting/modal.less +6 -3
- package/theme/ap-table/setting/select-group.css +21 -2
- package/theme/ap-table/setting/select-group.less +2 -1
- package/theme/ap-table/setting/sortable-item-meta.css +21 -3
- package/theme/ap-table/setting/sortable-item-meta.less +2 -2
- package/theme/ap-table/setting/sortable-item.css +19 -1
- package/theme/ap-table/setting/sorter.css +24 -6
- package/theme/ap-table/setting/sorter.less +4 -4
- package/theme/ap-table-modal/index.css +142 -63
- package/theme/ap-table-modal/index.less +15 -13
- package/theme/ap-tag/ap-tag-group.css +21 -3
- package/theme/ap-tag/ap-tag-group.less +2 -3
- package/theme/ap-tag/ap-tag.css +23 -5
- package/theme/ap-tag/ap-tag.less +4 -4
- package/theme/ap-title/ap-title.css +24 -4
- package/theme/ap-title/ap-title.less +5 -3
- package/theme/ap-upload/index.css +24 -6
- package/theme/ap-upload/multiple-file.css +20 -2
- package/theme/ap-upload/multiple-file.less +1 -1
- package/theme/ap-upload/picture.css +21 -3
- package/theme/ap-upload/picture.less +2 -2
- package/theme/ap-upload/single-file.css +21 -3
- package/theme/ap-upload/single-file.less +2 -2
- package/theme/ap-upload/upload.css +19 -1
- package/theme/ap-upload-single/index.css +23 -5
- package/theme/ap-upload-single/index.less +4 -4
- package/theme/ap-view/ap-view.css +26 -8
- package/theme/ap-view/ap-view.less +7 -7
- package/theme/batch-input-group/index.css +22 -3
- package/theme/batch-input-group/popover-input.css +22 -3
- package/theme/batch-input-group/popover-input.less +3 -2
- package/theme/check-card/index.css +27 -9
- package/theme/check-card/index.less +5 -5
- package/theme/editable-table/index.css +69 -25
- package/theme/full-screen/index.css +19 -1
- package/theme/index.css +439 -163
- package/theme/index.less +4 -0
- package/theme/mask/index.css +19 -1
- package/theme/mixins/config.less +1 -1
- package/theme/mixins/mixins.css +19 -1
- package/theme/mixins/mixins.less +25 -0
- package/theme/scroll-bar/index.css +19 -1
- package/theme/scroll-view/index.css +19 -1
- package/theme/splitter/index.css +24 -6
- package/theme/splitter/index.less +1 -1
- package/theme/text/group.css +19 -1
- package/theme/text/index.css +24 -6
- package/theme/text/index.less +4 -4
- package/theme/ui-mode.css +58 -0
- package/theme/ui-mode.less +107 -0
- package/theme/work-order-modal/index.css +19 -1
- package/es/src/config-provider/css-var.d.ts +0 -139
- package/es/src/config-provider/css-var.mjs +0 -278
- package/lib/src/config-provider/css-var.d.ts +0 -139
- package/lib/src/config-provider/css-var.js +0 -1
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { RecursivePartial } from '../type';
|
|
2
|
-
declare const aplusCssVarObj: {
|
|
3
|
-
'ap-form': {
|
|
4
|
-
bordered: {
|
|
5
|
-
'border-color': {
|
|
6
|
-
base: string;
|
|
7
|
-
hover: string;
|
|
8
|
-
active: string;
|
|
9
|
-
};
|
|
10
|
-
'shadow-color': string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
'ap-action': {
|
|
14
|
-
color: {
|
|
15
|
-
primary: {
|
|
16
|
-
base: string;
|
|
17
|
-
hover: string;
|
|
18
|
-
};
|
|
19
|
-
success: string;
|
|
20
|
-
error: string;
|
|
21
|
-
warn: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
'check-card': {
|
|
25
|
-
outline: {
|
|
26
|
-
color: string;
|
|
27
|
-
};
|
|
28
|
-
hover: {
|
|
29
|
-
outline: {
|
|
30
|
-
color: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
checked: {
|
|
34
|
-
outline: {
|
|
35
|
-
color: string;
|
|
36
|
-
};
|
|
37
|
-
bg: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
'ap-table': {
|
|
41
|
-
header: {
|
|
42
|
-
bg: string;
|
|
43
|
-
};
|
|
44
|
-
pagination: {
|
|
45
|
-
total: {
|
|
46
|
-
color: string;
|
|
47
|
-
count: {
|
|
48
|
-
color: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
setting: {
|
|
53
|
-
button: {
|
|
54
|
-
color: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
'ap-batch-action': {
|
|
59
|
-
color: {
|
|
60
|
-
font: string;
|
|
61
|
-
active: string;
|
|
62
|
-
border: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
basic: {
|
|
66
|
-
color: {
|
|
67
|
-
primary: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
'ap-descriptions': {
|
|
71
|
-
item: {
|
|
72
|
-
'padding-bottom': string;
|
|
73
|
-
'label-width': string;
|
|
74
|
-
};
|
|
75
|
-
'last-row-item': {
|
|
76
|
-
'padding-bottom': string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
'ap-appendix': {
|
|
80
|
-
area: {
|
|
81
|
-
color: {
|
|
82
|
-
border: string;
|
|
83
|
-
font: string;
|
|
84
|
-
'font-hover': string;
|
|
85
|
-
'font-disabled': string;
|
|
86
|
-
icon: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
'ap-upload-single': {
|
|
91
|
-
color: {
|
|
92
|
-
main: string;
|
|
93
|
-
sub: string;
|
|
94
|
-
border: string;
|
|
95
|
-
primary: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
'batch-input-group': {
|
|
99
|
-
trigger: {
|
|
100
|
-
color: string;
|
|
101
|
-
'color-disabled': string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
'ap-text': {
|
|
105
|
-
label: {
|
|
106
|
-
color: string;
|
|
107
|
-
};
|
|
108
|
-
content: {
|
|
109
|
-
color: {
|
|
110
|
-
major: string;
|
|
111
|
-
minor: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
'ap-view': {
|
|
116
|
-
icon: {
|
|
117
|
-
color: string;
|
|
118
|
-
};
|
|
119
|
-
bg: {
|
|
120
|
-
color: string;
|
|
121
|
-
};
|
|
122
|
-
message: {
|
|
123
|
-
color: string;
|
|
124
|
-
};
|
|
125
|
-
border: {
|
|
126
|
-
color: string;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
export type CssVarType = RecursivePartial<typeof aplusCssVarObj>;
|
|
131
|
-
export declare function generateCssVar(cssVarRawObj: CssVarType): Record<string, any>;
|
|
132
|
-
export declare const aplusCssVar: Record<string, any>;
|
|
133
|
-
export declare const adminCssVar: Record<string, any>;
|
|
134
|
-
/**
|
|
135
|
-
* 多次设置css变量(这种方式如果css变量过多可能会有性能问题)
|
|
136
|
-
* @param variables
|
|
137
|
-
*/
|
|
138
|
-
export declare function setCSSVariables(variables: Record<string, any>): void;
|
|
139
|
-
export {};
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
const b = {
|
|
2
|
-
"ap-form": {
|
|
3
|
-
bordered: {
|
|
4
|
-
"border-color": {
|
|
5
|
-
base: "#DEE4ED",
|
|
6
|
-
hover: "#66A9FF",
|
|
7
|
-
active: "#66A9FF"
|
|
8
|
-
},
|
|
9
|
-
"shadow-color": "rgba(5, 155, 255, 0.1)"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"ap-action": {
|
|
13
|
-
color: {
|
|
14
|
-
primary: {
|
|
15
|
-
base: "#0070FF",
|
|
16
|
-
hover: "#66A9FF"
|
|
17
|
-
},
|
|
18
|
-
success: "#2ED1A3",
|
|
19
|
-
error: "#FF4D4F",
|
|
20
|
-
warn: "#FFA940"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"check-card": {
|
|
24
|
-
outline: {
|
|
25
|
-
color: "#E9EDF3"
|
|
26
|
-
},
|
|
27
|
-
hover: {
|
|
28
|
-
outline: {
|
|
29
|
-
color: "#0070FF"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
checked: {
|
|
33
|
-
outline: {
|
|
34
|
-
color: "#0070FF"
|
|
35
|
-
},
|
|
36
|
-
bg: "#0070FF"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"ap-table": {
|
|
40
|
-
header: {
|
|
41
|
-
bg: "#F2F6F9"
|
|
42
|
-
},
|
|
43
|
-
pagination: {
|
|
44
|
-
total: {
|
|
45
|
-
color: "#526A90",
|
|
46
|
-
count: {
|
|
47
|
-
color: "#182948"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
setting: {
|
|
52
|
-
button: {
|
|
53
|
-
color: "#8896B0"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"ap-batch-action": {
|
|
58
|
-
color: {
|
|
59
|
-
font: "#8896B0",
|
|
60
|
-
active: "#0070FF",
|
|
61
|
-
border: "#E9EDF3"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
basic: {
|
|
65
|
-
color: {
|
|
66
|
-
primary: "#0070ff"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"ap-descriptions": {
|
|
70
|
-
item: {
|
|
71
|
-
"padding-bottom": "16px",
|
|
72
|
-
"label-width": "auto"
|
|
73
|
-
},
|
|
74
|
-
"last-row-item": {
|
|
75
|
-
"padding-bottom": "0px"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"ap-appendix": {
|
|
79
|
-
area: {
|
|
80
|
-
color: {
|
|
81
|
-
border: "#DEE4ED",
|
|
82
|
-
font: "#182948",
|
|
83
|
-
"font-hover": "#0070FF",
|
|
84
|
-
"font-disabled": "#ABB7CC",
|
|
85
|
-
icon: "#ABB7CC"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"ap-upload-single": {
|
|
90
|
-
color: {
|
|
91
|
-
main: "#182948",
|
|
92
|
-
sub: "#ABB7CC",
|
|
93
|
-
border: "#DEE4ED",
|
|
94
|
-
primary: "#0070FF"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"batch-input-group": {
|
|
98
|
-
trigger: {
|
|
99
|
-
color: "#526a90",
|
|
100
|
-
"color-disabled": "rgba(24, 41, 72, 0.25)"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"ap-text": {
|
|
104
|
-
label: {
|
|
105
|
-
color: "#8896b0"
|
|
106
|
-
},
|
|
107
|
-
content: {
|
|
108
|
-
color: {
|
|
109
|
-
major: "#182948",
|
|
110
|
-
minor: "#8896B0"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"ap-view": {
|
|
115
|
-
icon: {
|
|
116
|
-
color: "#8896B0"
|
|
117
|
-
},
|
|
118
|
-
bg: {
|
|
119
|
-
color: "#F6F9FA"
|
|
120
|
-
},
|
|
121
|
-
message: {
|
|
122
|
-
color: "#abb7cc"
|
|
123
|
-
},
|
|
124
|
-
border: {
|
|
125
|
-
color: "#DEE4ED"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}, F = {
|
|
129
|
-
"ap-form": {
|
|
130
|
-
bordered: {
|
|
131
|
-
"border-color": {
|
|
132
|
-
base: "#D9D9D9",
|
|
133
|
-
hover: "#85D4B0",
|
|
134
|
-
active: "#85D4B0"
|
|
135
|
-
},
|
|
136
|
-
"shadow-color": "rgba(11, 166, 66, 0.09)"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"ap-action": {
|
|
140
|
-
color: {
|
|
141
|
-
primary: {
|
|
142
|
-
base: "#1890FF",
|
|
143
|
-
hover: "#5EB1FF"
|
|
144
|
-
},
|
|
145
|
-
success: "#52C41A",
|
|
146
|
-
error: "#FF4D4F",
|
|
147
|
-
warn: "#FAAD14"
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"check-card": {
|
|
151
|
-
outline: {
|
|
152
|
-
color: "#D9D9D9"
|
|
153
|
-
},
|
|
154
|
-
hover: {
|
|
155
|
-
outline: {
|
|
156
|
-
color: "#34B77C"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
checked: {
|
|
160
|
-
outline: {
|
|
161
|
-
color: "#34B77C"
|
|
162
|
-
},
|
|
163
|
-
bg: "#34B77C"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"ap-table": {
|
|
167
|
-
header: {
|
|
168
|
-
bg: "#FAFAFA"
|
|
169
|
-
},
|
|
170
|
-
pagination: {
|
|
171
|
-
total: {
|
|
172
|
-
color: "#666666",
|
|
173
|
-
count: {
|
|
174
|
-
color: "#333333"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
setting: {
|
|
179
|
-
button: {
|
|
180
|
-
color: "#999999"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"ap-batch-action": {
|
|
185
|
-
color: {
|
|
186
|
-
font: "#999999",
|
|
187
|
-
active: "#34B77C",
|
|
188
|
-
border: "#E9E9E9"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
basic: {
|
|
192
|
-
color: {
|
|
193
|
-
primary: "#34b77c"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"ap-descriptions": {
|
|
197
|
-
item: {
|
|
198
|
-
"padding-bottom": "16px",
|
|
199
|
-
"label-width": "auto"
|
|
200
|
-
},
|
|
201
|
-
"last-row-item": {
|
|
202
|
-
"padding-bottom": "0px"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"ap-appendix": {
|
|
206
|
-
area: {
|
|
207
|
-
color: {
|
|
208
|
-
border: "#D9D9D9",
|
|
209
|
-
font: "#333333",
|
|
210
|
-
"font-hover": "#1890FF",
|
|
211
|
-
"font-disabled": "#BFBFBF",
|
|
212
|
-
icon: "#BFBFBF"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"ap-upload-single": {
|
|
217
|
-
color: {
|
|
218
|
-
main: "#333333",
|
|
219
|
-
sub: "#BFBFBF",
|
|
220
|
-
border: "#D9D9D9",
|
|
221
|
-
primary: "#34b77c"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"batch-input-group": {
|
|
225
|
-
trigger: {
|
|
226
|
-
color: "#999999",
|
|
227
|
-
"color-disabled": "rgba(0, 0, 0, 0.25)"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
"ap-text": {
|
|
231
|
-
label: {
|
|
232
|
-
color: "#999999"
|
|
233
|
-
},
|
|
234
|
-
content: {
|
|
235
|
-
color: {
|
|
236
|
-
major: "#333333",
|
|
237
|
-
minor: "#999999"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
"ap-view": {
|
|
242
|
-
icon: {
|
|
243
|
-
color: "#999999"
|
|
244
|
-
},
|
|
245
|
-
bg: {
|
|
246
|
-
color: "#fafafa"
|
|
247
|
-
},
|
|
248
|
-
message: {
|
|
249
|
-
color: "#bfbfbf"
|
|
250
|
-
},
|
|
251
|
-
border: {
|
|
252
|
-
color: "#d9d9d9"
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
function n(a) {
|
|
257
|
-
const o = {};
|
|
258
|
-
function r(t, i) {
|
|
259
|
-
const s = Object.keys(t);
|
|
260
|
-
for (const c of s) {
|
|
261
|
-
const e = t[c], l = [...i, c];
|
|
262
|
-
e !== null && typeof e == "object" ? r(e, l) : o[`--${l.join("-")}`] = e;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
return r(a, []), o;
|
|
266
|
-
}
|
|
267
|
-
const d = n(b), p = n(F);
|
|
268
|
-
function u(a) {
|
|
269
|
-
Object.entries(a).forEach(([o, r]) => {
|
|
270
|
-
document.documentElement.style.setProperty(o, r);
|
|
271
|
-
});
|
|
272
|
-
}
|
|
273
|
-
export {
|
|
274
|
-
p as adminCssVar,
|
|
275
|
-
d as aplusCssVar,
|
|
276
|
-
n as generateCssVar,
|
|
277
|
-
u as setCSSVariables
|
|
278
|
-
};
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { RecursivePartial } from '../type';
|
|
2
|
-
declare const aplusCssVarObj: {
|
|
3
|
-
'ap-form': {
|
|
4
|
-
bordered: {
|
|
5
|
-
'border-color': {
|
|
6
|
-
base: string;
|
|
7
|
-
hover: string;
|
|
8
|
-
active: string;
|
|
9
|
-
};
|
|
10
|
-
'shadow-color': string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
'ap-action': {
|
|
14
|
-
color: {
|
|
15
|
-
primary: {
|
|
16
|
-
base: string;
|
|
17
|
-
hover: string;
|
|
18
|
-
};
|
|
19
|
-
success: string;
|
|
20
|
-
error: string;
|
|
21
|
-
warn: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
'check-card': {
|
|
25
|
-
outline: {
|
|
26
|
-
color: string;
|
|
27
|
-
};
|
|
28
|
-
hover: {
|
|
29
|
-
outline: {
|
|
30
|
-
color: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
checked: {
|
|
34
|
-
outline: {
|
|
35
|
-
color: string;
|
|
36
|
-
};
|
|
37
|
-
bg: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
'ap-table': {
|
|
41
|
-
header: {
|
|
42
|
-
bg: string;
|
|
43
|
-
};
|
|
44
|
-
pagination: {
|
|
45
|
-
total: {
|
|
46
|
-
color: string;
|
|
47
|
-
count: {
|
|
48
|
-
color: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
setting: {
|
|
53
|
-
button: {
|
|
54
|
-
color: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
'ap-batch-action': {
|
|
59
|
-
color: {
|
|
60
|
-
font: string;
|
|
61
|
-
active: string;
|
|
62
|
-
border: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
basic: {
|
|
66
|
-
color: {
|
|
67
|
-
primary: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
'ap-descriptions': {
|
|
71
|
-
item: {
|
|
72
|
-
'padding-bottom': string;
|
|
73
|
-
'label-width': string;
|
|
74
|
-
};
|
|
75
|
-
'last-row-item': {
|
|
76
|
-
'padding-bottom': string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
'ap-appendix': {
|
|
80
|
-
area: {
|
|
81
|
-
color: {
|
|
82
|
-
border: string;
|
|
83
|
-
font: string;
|
|
84
|
-
'font-hover': string;
|
|
85
|
-
'font-disabled': string;
|
|
86
|
-
icon: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
'ap-upload-single': {
|
|
91
|
-
color: {
|
|
92
|
-
main: string;
|
|
93
|
-
sub: string;
|
|
94
|
-
border: string;
|
|
95
|
-
primary: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
'batch-input-group': {
|
|
99
|
-
trigger: {
|
|
100
|
-
color: string;
|
|
101
|
-
'color-disabled': string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
'ap-text': {
|
|
105
|
-
label: {
|
|
106
|
-
color: string;
|
|
107
|
-
};
|
|
108
|
-
content: {
|
|
109
|
-
color: {
|
|
110
|
-
major: string;
|
|
111
|
-
minor: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
'ap-view': {
|
|
116
|
-
icon: {
|
|
117
|
-
color: string;
|
|
118
|
-
};
|
|
119
|
-
bg: {
|
|
120
|
-
color: string;
|
|
121
|
-
};
|
|
122
|
-
message: {
|
|
123
|
-
color: string;
|
|
124
|
-
};
|
|
125
|
-
border: {
|
|
126
|
-
color: string;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
export type CssVarType = RecursivePartial<typeof aplusCssVarObj>;
|
|
131
|
-
export declare function generateCssVar(cssVarRawObj: CssVarType): Record<string, any>;
|
|
132
|
-
export declare const aplusCssVar: Record<string, any>;
|
|
133
|
-
export declare const adminCssVar: Record<string, any>;
|
|
134
|
-
/**
|
|
135
|
-
* 多次设置css变量(这种方式如果css变量过多可能会有性能问题)
|
|
136
|
-
* @param variables
|
|
137
|
-
*/
|
|
138
|
-
export declare function setCSSVariables(variables: Record<string, any>): void;
|
|
139
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b={"ap-form":{bordered:{"border-color":{base:"#DEE4ED",hover:"#66A9FF",active:"#66A9FF"},"shadow-color":"rgba(5, 155, 255, 0.1)"}},"ap-action":{color:{primary:{base:"#0070FF",hover:"#66A9FF"},success:"#2ED1A3",error:"#FF4D4F",warn:"#FFA940"}},"check-card":{outline:{color:"#E9EDF3"},hover:{outline:{color:"#0070FF"}},checked:{outline:{color:"#0070FF"},bg:"#0070FF"}},"ap-table":{header:{bg:"#F2F6F9"},pagination:{total:{color:"#526A90",count:{color:"#182948"}}},setting:{button:{color:"#8896B0"}}},"ap-batch-action":{color:{font:"#8896B0",active:"#0070FF",border:"#E9EDF3"}},basic:{color:{primary:"#0070ff"}},"ap-descriptions":{item:{"padding-bottom":"16px","label-width":"auto"},"last-row-item":{"padding-bottom":"0px"}},"ap-appendix":{area:{color:{border:"#DEE4ED",font:"#182948","font-hover":"#0070FF","font-disabled":"#ABB7CC",icon:"#ABB7CC"}}},"ap-upload-single":{color:{main:"#182948",sub:"#ABB7CC",border:"#DEE4ED",primary:"#0070FF"}},"batch-input-group":{trigger:{color:"#526a90","color-disabled":"rgba(24, 41, 72, 0.25)"}},"ap-text":{label:{color:"#8896b0"},content:{color:{major:"#182948",minor:"#8896B0"}}},"ap-view":{icon:{color:"#8896B0"},bg:{color:"#F6F9FA"},message:{color:"#abb7cc"},border:{color:"#DEE4ED"}}},d={"ap-form":{bordered:{"border-color":{base:"#D9D9D9",hover:"#85D4B0",active:"#85D4B0"},"shadow-color":"rgba(11, 166, 66, 0.09)"}},"ap-action":{color:{primary:{base:"#1890FF",hover:"#5EB1FF"},success:"#52C41A",error:"#FF4D4F",warn:"#FAAD14"}},"check-card":{outline:{color:"#D9D9D9"},hover:{outline:{color:"#34B77C"}},checked:{outline:{color:"#34B77C"},bg:"#34B77C"}},"ap-table":{header:{bg:"#FAFAFA"},pagination:{total:{color:"#666666",count:{color:"#333333"}}},setting:{button:{color:"#999999"}}},"ap-batch-action":{color:{font:"#999999",active:"#34B77C",border:"#E9E9E9"}},basic:{color:{primary:"#34b77c"}},"ap-descriptions":{item:{"padding-bottom":"16px","label-width":"auto"},"last-row-item":{"padding-bottom":"0px"}},"ap-appendix":{area:{color:{border:"#D9D9D9",font:"#333333","font-hover":"#1890FF","font-disabled":"#BFBFBF",icon:"#BFBFBF"}}},"ap-upload-single":{color:{main:"#333333",sub:"#BFBFBF",border:"#D9D9D9",primary:"#34b77c"}},"batch-input-group":{trigger:{color:"#999999","color-disabled":"rgba(0, 0, 0, 0.25)"}},"ap-text":{label:{color:"#999999"},content:{color:{major:"#333333",minor:"#999999"}}},"ap-view":{icon:{color:"#999999"},bg:{color:"#fafafa"},message:{color:"#bfbfbf"},border:{color:"#d9d9d9"}}};function t(a){const o={};function r(c,i){const s=Object.keys(c);for(const l of s){const e=c[l],n=[...i,l];e!==null&&typeof e=="object"?r(e,n):o[`--${n.join("-")}`]=e}}return r(a,[]),o}const F=t(b),p=t(d);function u(a){Object.entries(a).forEach(([o,r])=>{document.documentElement.style.setProperty(o,r)})}exports.adminCssVar=p;exports.aplusCssVar=F;exports.generateCssVar=t;exports.setCSSVariables=u;
|