@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
|
@@ -4,8 +4,8 @@ import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
|
4
4
|
import { GroupActionTypes } from '..';
|
|
5
5
|
declare const _default: DefineComponent<ApActionGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionGroupProps> & Readonly<{}>, {
|
|
6
6
|
placement: "top" | "topLeft" | "bottom" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter";
|
|
7
|
-
count: number;
|
|
8
7
|
trigger: Trigger | Trigger[];
|
|
9
8
|
actions: GroupActionTypes[];
|
|
9
|
+
count: number;
|
|
10
10
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_component: DefineComponent<ApActionItemDropdownProps, {}, {}
|
|
|
16
16
|
visible: boolean;
|
|
17
17
|
color: ActionColor;
|
|
18
18
|
disabled: boolean;
|
|
19
|
-
trigger: Trigger | Trigger[];
|
|
20
19
|
loading: boolean;
|
|
20
|
+
trigger: Trigger | Trigger[];
|
|
21
21
|
actions: MixedActionTypes[];
|
|
22
22
|
showIcon: boolean;
|
|
23
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, createElementBlock as i, openBlock as r, normalizeStyle as E, normalizeClass as d, unref as l, createVNode as _, mergeProps as w, withCtx as b, Fragment as p, renderList as
|
|
1
|
+
import { defineComponent as B, createElementBlock as i, openBlock as r, normalizeStyle as E, normalizeClass as d, unref as l, createVNode as _, mergeProps as w, withCtx as b, Fragment as p, renderList as A, createBlock as c, createCommentVNode as M, h as u, renderSlot as j, resolveDynamicComponent as z } from "vue";
|
|
2
2
|
import { Descriptions as F, DescriptionsItem as m } from "@aplus-frontend/antdv";
|
|
3
3
|
import { mixinsAttachmentExtraProps as G, transformValue as L, isEmptyWithType as R } from "./helper.mjs";
|
|
4
4
|
import { get as S } from "lodash-unified";
|
|
@@ -8,6 +8,7 @@ import { useGlobalConfig as f } from "../config-provider/hooks/use-global-config
|
|
|
8
8
|
import { useNamespace as $ } from "../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import I from "./help-message/index.vue2.mjs";
|
|
10
10
|
const O = { key: 0 }, Z = /* @__PURE__ */ B({
|
|
11
|
+
name: "ApDescriptions",
|
|
11
12
|
__name: "ap-descriptions",
|
|
12
13
|
props: {
|
|
13
14
|
descriptionsProps: {},
|
|
@@ -17,7 +18,7 @@ const O = { key: 0 }, Z = /* @__PURE__ */ B({
|
|
|
17
18
|
className: {}
|
|
18
19
|
},
|
|
19
20
|
setup(g) {
|
|
20
|
-
const n = g, v = f("uiMode", "admin"), C = f("apDescriptions"), k = f("downloadCenterTriggerConfig"), { m: P, b:
|
|
21
|
+
const n = g, v = f("uiMode", "admin"), C = f("apDescriptions"), k = f("downloadCenterTriggerConfig"), { m: P, b: D, be: N } = $("ap-descriptions"), T = (e = {}) => {
|
|
21
22
|
var s;
|
|
22
23
|
let o = "";
|
|
23
24
|
return ((s = n.descriptionsProps) == null ? void 0 : s.layout) === "vertical" && (o = "start"), {
|
|
@@ -53,14 +54,14 @@ const O = { key: 0 }, Z = /* @__PURE__ */ B({
|
|
|
53
54
|
return (e, o) => {
|
|
54
55
|
var s;
|
|
55
56
|
return r(), i("div", {
|
|
56
|
-
class: d([e.className, l(
|
|
57
|
+
class: d([e.className, l(D)(), l(P)(l(v))]),
|
|
57
58
|
style: E(e.style)
|
|
58
59
|
}, [
|
|
59
60
|
_(l(F), w(e.descriptionsProps, {
|
|
60
61
|
"label-style": T({ ...((s = e.descriptionsProps) == null ? void 0 : s.labelStyle) || {} })
|
|
61
62
|
}), {
|
|
62
63
|
default: b(() => [
|
|
63
|
-
(r(!0), i(p, null,
|
|
64
|
+
(r(!0), i(p, null, A(e.schemas, (t, a) => (r(), i(p, {
|
|
64
65
|
key: t.field || "empty" + a
|
|
65
66
|
}, [
|
|
66
67
|
t.valueType === "empty" ? (r(), c(l(m), {
|
|
@@ -70,7 +71,7 @@ const O = { key: 0 }, Z = /* @__PURE__ */ B({
|
|
|
70
71
|
span: t.span
|
|
71
72
|
}, null, 8, ["content-style", "label-style", "span"])) : x(t) ? (r(), c(l(m), {
|
|
72
73
|
key: 1,
|
|
73
|
-
class: d(V(t) ? l(
|
|
74
|
+
class: d(V(t) ? l(N)("item", "ellipsis") : ""),
|
|
74
75
|
label: t.label ? u(p, [
|
|
75
76
|
u(I, {
|
|
76
77
|
helpMessage: t.helpMessage,
|
|
@@ -83,12 +84,12 @@ const O = { key: 0 }, Z = /* @__PURE__ */ B({
|
|
|
83
84
|
}, {
|
|
84
85
|
default: b(() => [
|
|
85
86
|
l(R)(l(S)(e.dataSource, t.field), t) ? (r(), i("span", O, "--")) : (r(), i(p, { key: 1 }, [
|
|
86
|
-
t.contentSlotName ?
|
|
87
|
+
t.contentSlotName ? j(e.$slots, t.contentSlotName, {
|
|
87
88
|
key: 0,
|
|
88
89
|
index: a,
|
|
89
90
|
item: y(t),
|
|
90
91
|
record: e.dataSource
|
|
91
|
-
}) : (r(), c(
|
|
92
|
+
}) : (r(), c(z(
|
|
92
93
|
u(p, [
|
|
93
94
|
t.prefix,
|
|
94
95
|
y(t),
|
|
@@ -98,7 +99,7 @@ const O = { key: 0 }, Z = /* @__PURE__ */ B({
|
|
|
98
99
|
], 64))
|
|
99
100
|
]),
|
|
100
101
|
_: 2
|
|
101
|
-
}, 1032, ["class", "label", "span", "content-style", "label-style"])) :
|
|
102
|
+
}, 1032, ["class", "label", "span", "content-style", "label-style"])) : M("", !0)
|
|
102
103
|
], 64))), 128))
|
|
103
104
|
]),
|
|
104
105
|
_: 3
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ApDrawerMixedProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<ApDrawerMixedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:open": (value: boolean) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<ApDrawerMixedProps> & Readonly<{
|
|
15
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
mask: boolean;
|
|
18
|
+
closable: boolean;
|
|
19
|
+
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
20
|
+
rootStyle: CSSProperties;
|
|
21
|
+
outSideClick: boolean;
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent as d, h as m, watch as u, onBeforeUnmount as f, createBlock as y, openBlock as C, unref as t, mergeProps as k, withCtx as h, renderSlot as B } from "vue";
|
|
2
|
+
import { Drawer as S } from "@aplus-frontend/antdv";
|
|
3
|
+
import "../config-provider/index.mjs";
|
|
4
|
+
import "./components/ApDrawerClose.vue2.mjs";
|
|
5
|
+
import { omit as b } from "lodash-unified";
|
|
6
|
+
import { useGlobalConfig as w } from "../config-provider/hooks/use-global-config.mjs";
|
|
7
|
+
import { useNamespace as x } from "../config-provider/hooks/use-namespace.mjs";
|
|
8
|
+
import v from "./components/ApDrawerClose.vue.mjs";
|
|
9
|
+
const U = /* @__PURE__ */ d({
|
|
10
|
+
name: "ApDrawer",
|
|
11
|
+
__name: "ApDrawer",
|
|
12
|
+
props: {
|
|
13
|
+
autofocus: { type: Boolean },
|
|
14
|
+
closable: { type: Boolean, default: !1 },
|
|
15
|
+
closeIcon: {},
|
|
16
|
+
destroyOnClose: { type: Boolean },
|
|
17
|
+
forceRender: { type: Boolean },
|
|
18
|
+
getContainer: { type: [String, Boolean, Function], default: () => document.body },
|
|
19
|
+
maskClosable: { type: Boolean },
|
|
20
|
+
mask: { type: Boolean, default: !1 },
|
|
21
|
+
maskStyle: {},
|
|
22
|
+
rootClassName: {},
|
|
23
|
+
rootStyle: { default: () => ({
|
|
24
|
+
top: "0px"
|
|
25
|
+
}) },
|
|
26
|
+
size: {},
|
|
27
|
+
drawerStyle: {},
|
|
28
|
+
headerStyle: {},
|
|
29
|
+
bodyStyle: {},
|
|
30
|
+
contentWrapperStyle: {},
|
|
31
|
+
title: {},
|
|
32
|
+
visible: { type: Boolean },
|
|
33
|
+
open: { type: Boolean },
|
|
34
|
+
width: {},
|
|
35
|
+
height: {},
|
|
36
|
+
zIndex: {},
|
|
37
|
+
prefixCls: {},
|
|
38
|
+
push: {},
|
|
39
|
+
placement: {},
|
|
40
|
+
keyboard: { type: Boolean },
|
|
41
|
+
extra: {},
|
|
42
|
+
footer: {},
|
|
43
|
+
footerStyle: {},
|
|
44
|
+
level: {},
|
|
45
|
+
levelMove: {},
|
|
46
|
+
handle: {},
|
|
47
|
+
afterVisibleChange: {},
|
|
48
|
+
onAfterVisibleChange: {},
|
|
49
|
+
onAfterOpenChange: {},
|
|
50
|
+
"onUpdate:visible": {},
|
|
51
|
+
"onUpdate:open": {},
|
|
52
|
+
onClose: {},
|
|
53
|
+
createDrawer: {},
|
|
54
|
+
outSideClick: { type: Boolean, default: !0 }
|
|
55
|
+
},
|
|
56
|
+
emits: ["update:open"],
|
|
57
|
+
setup(l, { emit: s }) {
|
|
58
|
+
const r = s, i = w("uiMode"), { b: c } = x("ap-drawer"), p = m(v, {
|
|
59
|
+
onClose: () => {
|
|
60
|
+
r("update:open", !1);
|
|
61
|
+
}
|
|
62
|
+
}), e = l, n = (o) => {
|
|
63
|
+
if (!e.open || !e.outSideClick) return;
|
|
64
|
+
const a = document.querySelector(".ant-drawer-open");
|
|
65
|
+
if (!a) return;
|
|
66
|
+
!a.contains(o.target) && (e.onClose ? e.onClose(o) : r("update:open", !1));
|
|
67
|
+
};
|
|
68
|
+
return u(
|
|
69
|
+
() => e.open,
|
|
70
|
+
(o) => {
|
|
71
|
+
o && e.outSideClick ? setTimeout(() => {
|
|
72
|
+
document.addEventListener("click", n);
|
|
73
|
+
}, 0) : document.removeEventListener("click", n);
|
|
74
|
+
},
|
|
75
|
+
{ immediate: !0 }
|
|
76
|
+
), f(() => {
|
|
77
|
+
document.removeEventListener("click", n);
|
|
78
|
+
}), (o, a) => (C(), y(t(S), k(t(b)(e, ["class", "extra", "outSideClick"]), {
|
|
79
|
+
class: t(c)(t(i)),
|
|
80
|
+
extra: e.extra ? e.extra : t(p)
|
|
81
|
+
}), {
|
|
82
|
+
default: h(() => [
|
|
83
|
+
B(o.$slots, "default")
|
|
84
|
+
]),
|
|
85
|
+
_: 3
|
|
86
|
+
}, 16, ["class", "extra"]));
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
export {
|
|
90
|
+
U as default
|
|
91
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as p, createElementBlock as a, openBlock as l, normalizeClass as m, unref as r, createVNode as c } from "vue";
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
|
+
import { IconApAdLineCloseDrawer as i } from "@aplus-frontend/icon";
|
|
4
|
+
import { useNamespace as C } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
|
+
const _ = /* @__PURE__ */ p({
|
|
6
|
+
name: "ApDrawerClose",
|
|
7
|
+
__name: "ApDrawerClose",
|
|
8
|
+
props: {
|
|
9
|
+
onClose: { type: Function, default: () => {
|
|
10
|
+
} }
|
|
11
|
+
},
|
|
12
|
+
setup(n) {
|
|
13
|
+
const { b: s } = C("ap-drawer"), e = n;
|
|
14
|
+
return (f, o) => (l(), a("div", {
|
|
15
|
+
class: m([r(s)("close")]),
|
|
16
|
+
onClick: o[0] || (o[0] = //@ts-ignore
|
|
17
|
+
(...t) => e.onClose && e.onClose(...t))
|
|
18
|
+
}, [
|
|
19
|
+
c(r(i))
|
|
20
|
+
], 2));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
_ as default
|
|
25
|
+
};
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { default as ApDrawer } from './ApDrawer.vue';
|
|
2
|
+
import { default as ApDrawerClose } from './components/ApDrawerClose.vue';
|
|
3
3
|
export * from './interface';
|
|
4
|
-
|
|
5
|
-
createDrawer: CreateDrawerFunc;
|
|
6
|
-
};
|
|
7
|
-
declare const ApDrawer: ApDrawerMixedProps;
|
|
8
|
-
export { ApDrawer };
|
|
4
|
+
export { ApDrawer, ApDrawerClose };
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import { Drawer as e } from "@aplus-frontend/antdv";
|
|
2
1
|
import "./utils/index.mjs";
|
|
2
|
+
import "./ApDrawer.vue2.mjs";
|
|
3
|
+
import "./components/ApDrawerClose.vue2.mjs";
|
|
3
4
|
import "./interface.mjs";
|
|
4
|
-
import { createDrawer as
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import { createDrawer as e } from "./utils/createDrawer.mjs";
|
|
6
|
+
import r from "./ApDrawer.vue.mjs";
|
|
7
|
+
import o from "./components/ApDrawerClose.vue.mjs";
|
|
8
|
+
r.createDrawer = e;
|
|
7
9
|
r.name = "ApDrawer";
|
|
10
|
+
r.Close = o;
|
|
11
|
+
r.Close.name = "ApDrawerClose";
|
|
8
12
|
export {
|
|
9
|
-
r as ApDrawer
|
|
13
|
+
r as ApDrawer,
|
|
14
|
+
o as ApDrawerClose
|
|
10
15
|
};
|
|
@@ -14,3 +14,7 @@ export type CreateDrawerFuncReturn = {
|
|
|
14
14
|
close: () => void;
|
|
15
15
|
};
|
|
16
16
|
export type CreateDrawerFunc = (props: CreateDrawerFuncProps) => CreateDrawerFuncReturn;
|
|
17
|
+
export type ApDrawerMixedProps = DrawerProps & {
|
|
18
|
+
createDrawer?: CreateDrawerFunc;
|
|
19
|
+
outSideClick?: boolean;
|
|
20
|
+
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-drawer/ap-drawer.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-drawer/ap-drawer.less';
|
|
@@ -1,31 +1,34 @@
|
|
|
1
|
-
import { render as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { render as b, defineComponent as O, createVNode as u, mergeProps as V, h as D } from "vue";
|
|
2
|
+
import "../ApDrawer.vue2.mjs";
|
|
3
|
+
import "../components/ApDrawerClose.vue2.mjs";
|
|
4
|
+
import { ConfigProvider as E, globalConfigCached as U } from "../../config-provider/config-provider.mjs";
|
|
5
|
+
import { omit as A } from "lodash-unified";
|
|
6
|
+
import N from "../ApDrawer.vue.mjs";
|
|
7
|
+
import T from "../components/ApDrawerClose.vue.mjs";
|
|
8
|
+
const G = (l) => {
|
|
6
9
|
let o, c;
|
|
7
10
|
const {
|
|
8
|
-
destroyOnClose:
|
|
11
|
+
destroyOnClose: m = !0
|
|
9
12
|
} = l;
|
|
10
|
-
function
|
|
13
|
+
function f() {
|
|
11
14
|
o && o(!1), setTimeout(() => {
|
|
12
15
|
var e;
|
|
13
|
-
|
|
16
|
+
b(null, t), (e = t.parentElement) == null || e.removeChild(t);
|
|
14
17
|
}, 500);
|
|
15
18
|
}
|
|
16
|
-
function
|
|
19
|
+
function P() {
|
|
17
20
|
o && o(!0);
|
|
18
21
|
}
|
|
19
|
-
function
|
|
22
|
+
function h() {
|
|
20
23
|
o && o(!1);
|
|
21
24
|
}
|
|
22
25
|
function w(e) {
|
|
23
26
|
c && c(e);
|
|
24
27
|
}
|
|
25
|
-
const
|
|
28
|
+
const y = /* @__PURE__ */ O({
|
|
26
29
|
data() {
|
|
27
30
|
return {
|
|
28
|
-
open:
|
|
31
|
+
open: m,
|
|
29
32
|
props: l
|
|
30
33
|
};
|
|
31
34
|
},
|
|
@@ -41,42 +44,44 @@ const z = (l) => {
|
|
|
41
44
|
},
|
|
42
45
|
methods: {
|
|
43
46
|
async handleClose() {
|
|
44
|
-
var e, n, r, s,
|
|
47
|
+
var e, n, r, s, i;
|
|
45
48
|
if ((e = this.props) != null && e.onClose) {
|
|
46
|
-
const
|
|
47
|
-
await ((
|
|
49
|
+
const p = ((s = (r = (n = this.props) == null ? void 0 : n.content) == null ? void 0 : r.component) == null ? void 0 : s.exposed) ?? void 0;
|
|
50
|
+
await ((i = this.props) == null ? void 0 : i.onClose(p));
|
|
48
51
|
}
|
|
49
|
-
|
|
52
|
+
m ? f() : h();
|
|
50
53
|
}
|
|
51
54
|
},
|
|
52
55
|
render() {
|
|
53
|
-
var s,
|
|
54
|
-
const e =
|
|
55
|
-
return
|
|
56
|
+
var s, i, p;
|
|
57
|
+
const e = A(this.props, ["onClose", "extra", "footer", "visible", "onUpdate:visible", "afterVisibleChange", "onAfterVisibleOChange", "open", "onUpdate:open", "getContainer"]), n = ((p = (i = (s = this.props) == null ? void 0 : s.content) == null ? void 0 : i.component) == null ? void 0 : p.exposed) ?? void 0, r = () => m ? f() : h();
|
|
58
|
+
return u(E, U.value, {
|
|
56
59
|
default: () => {
|
|
57
|
-
var a,
|
|
58
|
-
return [
|
|
60
|
+
var C, a, g, d, x;
|
|
61
|
+
return [u(N, V({
|
|
59
62
|
open: this.open,
|
|
60
63
|
onClose: this.handleClose,
|
|
61
|
-
extra: (
|
|
62
|
-
|
|
64
|
+
extra: (C = this.props) != null && C.extra ? (g = (a = this.props) == null ? void 0 : a.extra) == null ? void 0 : g.call(a, n, r) : u(T, {
|
|
65
|
+
onClose: () => this.handleClose()
|
|
66
|
+
}, null),
|
|
67
|
+
footer: (x = (d = this.props) == null ? void 0 : d.footer) == null ? void 0 : x.call(d, n, r)
|
|
63
68
|
}, e), {
|
|
64
69
|
default: () => {
|
|
65
|
-
var
|
|
66
|
-
return [(
|
|
70
|
+
var v;
|
|
71
|
+
return [(v = this.props) == null ? void 0 : v.content];
|
|
67
72
|
}
|
|
68
73
|
})];
|
|
69
74
|
}
|
|
70
75
|
});
|
|
71
76
|
}
|
|
72
|
-
}),
|
|
73
|
-
return
|
|
74
|
-
destroy:
|
|
77
|
+
}), _ = l.getContainer || document.body, t = document.createElement("div");
|
|
78
|
+
return _.appendChild(t), b(D(y), t), {
|
|
79
|
+
destroy: f,
|
|
75
80
|
update: w,
|
|
76
|
-
open:
|
|
77
|
-
close:
|
|
81
|
+
open: P,
|
|
82
|
+
close: h
|
|
78
83
|
};
|
|
79
84
|
};
|
|
80
85
|
export {
|
|
81
|
-
|
|
86
|
+
G as createDrawer
|
|
82
87
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { getUtcTimestamp as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
if (!
|
|
1
|
+
import { getUtcTimestamp as f } from "@aplus-frontend/utils";
|
|
2
|
+
import m from "dayjs";
|
|
3
|
+
const a = (e, o, r = !0) => {
|
|
4
|
+
if (!e)
|
|
5
5
|
return null;
|
|
6
|
-
let t =
|
|
7
|
-
return t = t.millisecond(
|
|
6
|
+
let t = e.clone();
|
|
7
|
+
return t = t.millisecond(r ? 0 : 999), o.indexOf("ss") === -1 && (t = t.second(r ? 0 : 59)), o.indexOf("mm") === -1 && (t = t.minute(r ? 0 : 59)), o.indexOf("HH") === -1 && (t = t.hour(r ? 0 : 23)), o.indexOf("DD") === -1 && (t = t.date(r ? 1 : t.daysInMonth())), o.indexOf("MM") === -1 && (t = t.month(r ? 0 : 12)), t.valueOf();
|
|
8
8
|
};
|
|
9
|
-
function d(
|
|
10
|
-
return (
|
|
11
|
-
const
|
|
12
|
-
return
|
|
9
|
+
function d(e) {
|
|
10
|
+
return (o, r, t = !0) => {
|
|
11
|
+
const n = r ? a(o, r, t) : o.valueOf();
|
|
12
|
+
return e ? f(m(n), e) : n;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
const l = (
|
|
15
|
+
const l = (e) => e && e.valueOf();
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
a as formatDay,
|
|
18
18
|
d as formatDayWithTimezone,
|
|
19
19
|
l as formatValue
|
|
20
20
|
};
|
|
@@ -33,8 +33,8 @@ declare const __VLS_component: DefineComponent<ApFieldDateProps, {}, {}, {}, {},
|
|
|
33
33
|
mode: FieldMode;
|
|
34
34
|
open: boolean;
|
|
35
35
|
disabled: boolean;
|
|
36
|
-
bordered: boolean;
|
|
37
36
|
autofocus: boolean;
|
|
37
|
+
bordered: boolean;
|
|
38
38
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
39
39
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
40
40
|
[key: string]: any;
|
|
@@ -41,8 +41,8 @@ declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}
|
|
|
41
41
|
[key: string]: any;
|
|
42
42
|
}> | null;
|
|
43
43
|
disabled: boolean | [boolean, boolean];
|
|
44
|
-
bordered: boolean;
|
|
45
44
|
autofocus: boolean;
|
|
45
|
+
bordered: boolean;
|
|
46
46
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
47
47
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
48
48
|
[key: string]: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y, createElementBlock as k, createBlock as C, openBlock as d, createTextVNode as B, toDisplayString as
|
|
1
|
+
import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y, createElementBlock as k, createBlock as C, openBlock as d, createTextVNode as B, toDisplayString as D, resolveDynamicComponent as X, normalizeStyle as z, withCtx as P, createCommentVNode as ee, isRef as ne, renderList as A, mergeProps as oe, createSlots as te, renderSlot as ae, normalizeProps as re, guardReactiveProps as le } from "vue";
|
|
2
2
|
import { ApFieldDatePresetFormats as ue, PRESET_FORMAT_MAP as R, PRESET_FORMAT_PICK_MAP as de, PRESET_FORMAT_TIME_MAP as ie } from "../date/constant.mjs";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as F, omit as _, isString as h, isFunction as se } from "lodash-unified";
|
|
@@ -13,6 +13,7 @@ import { useDefaultPresets as Se } from "../hooks/use-default-presets.mjs";
|
|
|
13
13
|
import { useDateTimezone as ke } from "../hooks/use-date-timezone.mjs";
|
|
14
14
|
import { useControllableValue as Ce } from "../../hooks/useControllableValue.mjs";
|
|
15
15
|
const Ee = /* @__PURE__ */ q({
|
|
16
|
+
name: "ApFieldDateRange",
|
|
16
17
|
__name: "index",
|
|
17
18
|
props: {
|
|
18
19
|
mode: {
|
|
@@ -226,27 +227,27 @@ const Ee = /* @__PURE__ */ q({
|
|
|
226
227
|
key: 0
|
|
227
228
|
}, [S.value ? (d(), k(y, {
|
|
228
229
|
key: 0
|
|
229
|
-
}, [B(
|
|
230
|
+
}, [B(D((r = S.value[0]) == null ? void 0 : r.format(v.value)) + " ", 1), (d(), C(X(Z.value))), B(" " + D((l = S.value[1]) == null ? void 0 : l.format(v.value)), 1)], 64)) : (d(), k(y, {
|
|
230
231
|
key: 1
|
|
231
|
-
}, [B(
|
|
232
|
+
}, [B(D(e.emptyText), 1)], 64))], 64)) : (d(), C(t(fe), {
|
|
232
233
|
key: 1,
|
|
233
234
|
compact: "",
|
|
234
235
|
style: z({
|
|
235
236
|
display: Array.isArray(n.timezone) && n.timezone.length ? "flex" : "block"
|
|
236
237
|
})
|
|
237
238
|
}, {
|
|
238
|
-
default:
|
|
239
|
+
default: P(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(), C(t(me), {
|
|
239
240
|
key: 0,
|
|
240
241
|
value: t(u),
|
|
241
242
|
"onUpdate:value": a[0] || (a[0] = (o) => ne(u) ? u.value = o : null),
|
|
242
243
|
"default-active-first-option": "",
|
|
243
244
|
"dropdown-match-select-width": !1
|
|
244
245
|
}, {
|
|
245
|
-
default:
|
|
246
|
+
default: P(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(), C(t(pe), {
|
|
246
247
|
key: o == null ? void 0 : o.value,
|
|
247
248
|
value: o == null ? void 0 : o.value
|
|
248
249
|
}, {
|
|
249
|
-
default:
|
|
250
|
+
default: P(() => [B(D((o == null ? void 0 : o.label) ?? (o == null ? void 0 : o.value)), 1)]),
|
|
250
251
|
_: 2
|
|
251
252
|
}, 1032, ["value"]))), 128))]),
|
|
252
253
|
_: 1
|
|
@@ -262,7 +263,7 @@ const Ee = /* @__PURE__ */ q({
|
|
|
262
263
|
_: 2
|
|
263
264
|
}, [A(t(_)(e.$slots, "readModeSeparator"), (o, p) => ({
|
|
264
265
|
name: p,
|
|
265
|
-
fn:
|
|
266
|
+
fn: P((c) => [ae(e.$slots, p, re(le(c || {})))])
|
|
266
267
|
}))]), 1040, ["value", "picker", "format"])]),
|
|
267
268
|
_: 3
|
|
268
269
|
}, 8, ["style"]));
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ref as o, watch as m } from "vue";
|
|
2
|
+
import { isUndefined as u } from "lodash-unified";
|
|
3
|
+
const n = (e) => {
|
|
4
|
+
var r;
|
|
5
|
+
return Array.isArray(e) ? (r = e[0]) == null ? void 0 : r.value : e;
|
|
6
|
+
}, c = (e) => {
|
|
7
|
+
const r = o(n(e.timezone));
|
|
8
|
+
return m(
|
|
9
|
+
() => e.timezone,
|
|
10
|
+
(t, i) => {
|
|
11
|
+
u(i) && (r.value = n(t));
|
|
12
|
+
}
|
|
13
|
+
), {
|
|
14
|
+
currentTimezone: r
|
|
15
|
+
};
|
|
16
|
+
};
|
|
8
17
|
export {
|
|
9
|
-
|
|
18
|
+
c as useDateTimezone
|
|
10
19
|
};
|
|
@@ -13,8 +13,6 @@ type ApFieldNumberSlots = {
|
|
|
13
13
|
upIcon?: any;
|
|
14
14
|
downIcon?: any;
|
|
15
15
|
};
|
|
16
|
-
declare function focus(): void;
|
|
17
|
-
declare function blur(): void;
|
|
18
16
|
declare function __VLS_template(): {
|
|
19
17
|
attrs: Partial<{}>;
|
|
20
18
|
slots: Readonly<ApFieldNumberSlots> & ApFieldNumberSlots;
|
|
@@ -344,8 +342,8 @@ declare function __VLS_template(): {
|
|
|
344
342
|
};
|
|
345
343
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
346
344
|
declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
347
|
-
focus:
|
|
348
|
-
blur:
|
|
345
|
+
focus: () => void;
|
|
346
|
+
blur: () => void;
|
|
349
347
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
350
348
|
"update:value": (...args: any[]) => void;
|
|
351
349
|
}, string, PublicProps, Readonly<ApFieldNumberProps> & Readonly<{
|
|
@@ -353,8 +351,8 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
353
351
|
}>, {
|
|
354
352
|
step: ValueType;
|
|
355
353
|
disabled: boolean;
|
|
356
|
-
bordered: boolean;
|
|
357
354
|
keyboard: boolean;
|
|
355
|
+
bordered: boolean;
|
|
358
356
|
max: ValueType;
|
|
359
357
|
min: ValueType;
|
|
360
358
|
controls: boolean;
|
|
@@ -6,11 +6,9 @@ import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
|
6
6
|
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
7
7
|
import { RadioChangeEvent } from '@aplus-frontend/antdv';
|
|
8
8
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
|
-
declare function focus(): void;
|
|
10
|
-
declare function blur(): void;
|
|
11
9
|
declare const _default: DefineComponent<ApFieldRadioProps, {
|
|
12
|
-
focus:
|
|
13
|
-
blur:
|
|
10
|
+
focus: () => void;
|
|
11
|
+
blur: () => void;
|
|
14
12
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
13
|
"update:value": (...args: any[]) => void;
|
|
16
14
|
}, string, PublicProps, Readonly<ApFieldRadioProps> & Readonly<{
|