@aplus-frontend/ui 6.18.0 → 6.19.1
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/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +13 -13
- package/es/src/ap-field/date-range/index.vue.mjs +16 -16
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +2 -1
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +7 -6
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +11 -11
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +7 -6
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +7 -6
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +40 -40
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/ap-table.vue2.mjs +14 -13
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +10 -10
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +73 -78
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +17 -18
- package/es/src/ap-tag/interface.d.ts +6 -0
- package/es/src/ap-tag/utils.d.ts +1 -0
- package/es/src/ap-tag/utils.mjs +12 -0
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +3 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +212 -398
- package/es/src/business/ap-draggable-grid/constans.mjs +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +5 -2
- package/es/src/business/ap-draggable-grid/interface.d.ts +3 -2
- package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
- package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.mjs +14 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +5 -17
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -4
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +5 -4
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +38 -37
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.mjs +16 -15
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +5 -5
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +5 -4
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +7 -6
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/select/index.vue.d.ts +11 -11
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +3 -3
- package/lib/src/ap-form/modal-form/index.vue.d.ts +7 -6
- package/lib/src/ap-form/search-form/index.vue.d.ts +7 -6
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +10 -10
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +6 -0
- package/lib/src/ap-tag/utils.d.ts +1 -0
- package/lib/src/ap-tag/utils.js +1 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/constans.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +5 -2
- package/lib/src/business/ap-draggable-grid/interface.d.ts +3 -2
- package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
- package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.js +1 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-table-modal/index.d.ts +5 -17
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +5 -4
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +5 -4
- package/package.json +3 -3
- package/theme/antd-global-overwrite/admin/alert.css +37 -0
- package/theme/antd-global-overwrite/admin/alert.less +51 -0
- package/theme/antd-global-overwrite/admin/button.css +27 -0
- package/theme/antd-global-overwrite/admin/button.less +31 -0
- package/theme/antd-global-overwrite/admin/field.css +42 -0
- package/theme/antd-global-overwrite/admin/field.less +43 -0
- package/theme/antd-global-overwrite/admin/form.css +57 -0
- package/theme/antd-global-overwrite/admin/form.less +97 -0
- package/theme/antd-global-overwrite/admin/message.css +10 -0
- package/theme/antd-global-overwrite/admin/message.less +13 -0
- package/theme/antd-global-overwrite/admin/modal.css +94 -0
- package/theme/antd-global-overwrite/admin/modal.less +128 -0
- package/theme/antd-global-overwrite/admin/pagination.css +122 -0
- package/theme/antd-global-overwrite/admin/pagination.less +91 -0
- package/theme/antd-global-overwrite/admin/steps.css +127 -0
- package/theme/antd-global-overwrite/admin/steps.less +197 -0
- package/theme/antd-global-overwrite/admin/table.css +78 -0
- package/theme/antd-global-overwrite/admin/table.less +62 -0
- 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 +40 -0
- package/theme/antd-global-overwrite/aplus/alert.less +55 -0
- package/theme/antd-global-overwrite/aplus/button.css +27 -0
- package/theme/antd-global-overwrite/aplus/button.less +31 -0
- package/theme/antd-global-overwrite/aplus/field.css +42 -0
- package/theme/antd-global-overwrite/aplus/field.less +43 -0
- package/theme/antd-global-overwrite/aplus/form.css +87 -0
- package/theme/antd-global-overwrite/aplus/form.less +133 -0
- package/theme/antd-global-overwrite/aplus/message.css +10 -0
- package/theme/antd-global-overwrite/aplus/message.less +13 -0
- package/theme/antd-global-overwrite/aplus/modal.css +87 -0
- package/theme/antd-global-overwrite/aplus/modal.less +120 -0
- package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
- package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
- package/theme/antd-global-overwrite/aplus/steps.css +125 -0
- package/theme/antd-global-overwrite/aplus/steps.less +198 -0
- package/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/theme/antd-global-overwrite/aplus/table.less +61 -0
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/antdv-override.css +2 -6
- package/theme/antdv-override.less +2 -6
- package/theme/ap-draggable-grid/ap-draggable-grid.css +3 -3
- package/theme/ap-draggable-grid/ap-draggable-grid.less +3 -4
- package/theme/ap-label/ap-label.css +1 -0
- package/theme/ap-label/ap-label.less +1 -0
- package/theme/ap-table/ap-table-pagination.css +12 -0
- package/theme/ap-table/ap-table-pagination.less +14 -0
- package/theme/ap-tag/ap-tag.css +5 -2
- package/theme/ap-tag/ap-tag.less +5 -2
- package/theme/index.css +11 -11
- package/theme/ui-mode.css +60 -0
- package/theme/ui-mode.less +109 -0
|
@@ -39,6 +39,7 @@ declare const ApDraggableGrid: {
|
|
|
39
39
|
onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
41
|
setGridItems: (items: ApDraggableGridItemBase[]) => void;
|
|
42
|
+
getGridItems: () => ApDraggableGridItemBase[];
|
|
42
43
|
refreshGrid: () => void;
|
|
43
44
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
44
45
|
onGridListChange: (args_0: ApDraggableGridItemBase[]) => any;
|
|
@@ -97,6 +98,7 @@ declare const ApDraggableGrid: {
|
|
|
97
98
|
onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
|
|
98
99
|
}>, {
|
|
99
100
|
setGridItems: (items: ApDraggableGridItemBase[]) => void;
|
|
101
|
+
getGridItems: () => ApDraggableGridItemBase[];
|
|
100
102
|
refreshGrid: () => void;
|
|
101
103
|
}, {}, {}, {}, {
|
|
102
104
|
request: () => Promise< ApDraggableGridItemBase[]>;
|
|
@@ -148,6 +150,7 @@ declare const ApDraggableGrid: {
|
|
|
148
150
|
onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
|
|
149
151
|
}>, {
|
|
150
152
|
setGridItems: (items: ApDraggableGridItemBase[]) => void;
|
|
153
|
+
getGridItems: () => ApDraggableGridItemBase[];
|
|
151
154
|
refreshGrid: () => void;
|
|
152
155
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
153
156
|
onGridListChange: (args_0: ApDraggableGridItemBase[]) => any;
|
|
@@ -169,8 +172,8 @@ declare const ApDraggableGrid: {
|
|
|
169
172
|
span: number;
|
|
170
173
|
row: number;
|
|
171
174
|
col: number;
|
|
172
|
-
showHeight
|
|
173
|
-
height
|
|
175
|
+
showHeight?: (number | string) | undefined;
|
|
176
|
+
height: number | string;
|
|
174
177
|
module: string;
|
|
175
178
|
};
|
|
176
179
|
index: number;
|
|
@@ -2,8 +2,8 @@ export interface ApDraggableGridItemBase {
|
|
|
2
2
|
span: number;
|
|
3
3
|
row: number;
|
|
4
4
|
col: number;
|
|
5
|
-
showHeight
|
|
6
|
-
height
|
|
5
|
+
showHeight?: number | string;
|
|
6
|
+
height: number | string;
|
|
7
7
|
module: string;
|
|
8
8
|
}
|
|
9
9
|
export interface ApDraggableGridItem extends ApDraggableGridItemBase {
|
|
@@ -12,5 +12,6 @@ export interface ApDraggableGridItem extends ApDraggableGridItemBase {
|
|
|
12
12
|
}
|
|
13
13
|
export type ApDraggableGridExpose = {
|
|
14
14
|
setGridItems: (items: ApDraggableGridItemBase[]) => void;
|
|
15
|
+
getGridItems: () => ApDraggableGridItemBase[];
|
|
15
16
|
refreshGrid: () => void;
|
|
16
17
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function e(c) {
|
|
2
|
+
const w = [...c].sort((o, s) => o.row - s.row), r = {};
|
|
3
|
+
w.forEach((o) => {
|
|
4
|
+
r[o.row] || (r[o.row] = []), r[o.row].push(o);
|
|
5
|
+
});
|
|
6
|
+
const t = [];
|
|
7
|
+
return Object.keys(r).map(Number).sort((o, s) => o - s).forEach((o) => {
|
|
8
|
+
const s = r[o].sort((n, u) => n.col - u.col);
|
|
9
|
+
t.push(...s);
|
|
10
|
+
}), t;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
e as sortItemsByRowAndCol
|
|
14
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApExpandAlertProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
@@ -23,7 +23,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
23
23
|
}): any;
|
|
24
24
|
};
|
|
25
25
|
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
26
|
-
}>) => VNode
|
|
26
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}> & {
|
|
27
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
30
|
};
|
|
29
31
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as G, computed as c, ref as w, watch as x, nextTick as f, onMounted as K, openBlock as a, createElementBlock as i, normalizeClass as o, unref as t, createVNode as b, withCtx as m, createBlock as S, createElementVNode as $, toDisplayString as u, createCommentVNode as H, normalizeStyle as y, renderSlot as I, resolveDynamicComponent as L, Fragment as C, renderList as W, createTextVNode as J } from "vue";
|
|
2
2
|
import { DownOutlined as P } from "@ant-design/icons-vue";
|
|
3
3
|
import { Alert as Q, Tooltip as U } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApActionItem as X } from "../../ap-action/index.mjs";
|
|
@@ -7,7 +7,7 @@ import { isNil as Y, isString as E } from "lodash-unified";
|
|
|
7
7
|
import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
|
|
8
8
|
import { useNamespace as _ } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { useGlobalConfig as ee } from "../../config-provider/hooks/use-global-config.mjs";
|
|
10
|
-
const te = ["onClick"], ce = /* @__PURE__ */
|
|
10
|
+
const te = ["onClick"], ce = /* @__PURE__ */ G({
|
|
11
11
|
__name: "ApExpandAlert",
|
|
12
12
|
props: {
|
|
13
13
|
type: { default: "warning" },
|
|
@@ -15,7 +15,7 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
15
15
|
prefix: { default: "" },
|
|
16
16
|
tipTitle: { default: "" },
|
|
17
17
|
mapLabel: {},
|
|
18
|
-
separator: { default: "|" },
|
|
18
|
+
separator: { type: [Object, Function, String], default: "|" },
|
|
19
19
|
separatorStyle: { default: () => ({}) },
|
|
20
20
|
contentStyle: { default: () => ({}) },
|
|
21
21
|
prefixStyle: { default: () => ({}) },
|
|
@@ -28,7 +28,7 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
28
28
|
const A = M, p = z, { t: B } = Z(), V = c(() => {
|
|
29
29
|
if (p.type != "card")
|
|
30
30
|
return p.type;
|
|
31
|
-
}), l =
|
|
31
|
+
}), l = w(""), d = w(null), F = c(() => ({
|
|
32
32
|
fontWeight: "400",
|
|
33
33
|
wordBreak: "break-all",
|
|
34
34
|
overflow: "hidden",
|
|
@@ -37,10 +37,10 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
37
37
|
webkitBoxOrient: "vertical",
|
|
38
38
|
lineHeight: "18px"
|
|
39
39
|
}));
|
|
40
|
-
function
|
|
40
|
+
function O() {
|
|
41
41
|
l.value === "1" ? (l.value = "", A("expand", "expand")) : (l.value = "1", A("expand", "collapse"));
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const R = c(() => l.value === "1" ? B("ap.apExpandAlert.expand") : B("ap.apExpandAlert.collapse")), h = w(!0), N = c(() => l.value !== "1");
|
|
44
44
|
function v(e) {
|
|
45
45
|
e ? l.value = "" : l.value = "1";
|
|
46
46
|
}
|
|
@@ -69,7 +69,7 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
69
69
|
});
|
|
70
70
|
},
|
|
71
71
|
{ immediate: !0 }
|
|
72
|
-
),
|
|
72
|
+
), K(() => {
|
|
73
73
|
x(
|
|
74
74
|
() => p.contentStyle,
|
|
75
75
|
(e) => {
|
|
@@ -89,81 +89,81 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
91
|
});
|
|
92
|
-
const { b: T, e:
|
|
92
|
+
const { b: T, e: n, m: q } = _("ap-expand-alert"), k = `${T()}-key-${Date.now()}-${(Math.random() * 1e6).toFixed(0)}`, j = ee("uiMode", "aplus");
|
|
93
93
|
return D({
|
|
94
94
|
setExpand: v
|
|
95
95
|
}), (e, r) => (a(), i("div", {
|
|
96
96
|
id: k,
|
|
97
|
-
class:
|
|
97
|
+
class: o([t(T)(), `${t(q)(t(j))}`])
|
|
98
98
|
}, [
|
|
99
99
|
b(t(Q), {
|
|
100
100
|
type: V.value,
|
|
101
101
|
"show-icon": e.showIcon,
|
|
102
|
-
class:
|
|
102
|
+
class: o([t(n)("antAlert"), e.type == "card" ? "card-alert" : ""])
|
|
103
103
|
}, {
|
|
104
104
|
action: m(() => [
|
|
105
|
-
h.value ? (a(),
|
|
105
|
+
h.value ? (a(), S(t(X), {
|
|
106
106
|
key: 0,
|
|
107
107
|
size: "small",
|
|
108
108
|
style: { "font-size": "12px", "padding-left": "16px" },
|
|
109
|
-
onClick: r[0] || (r[0] = (s) =>
|
|
109
|
+
onClick: r[0] || (r[0] = (s) => O())
|
|
110
110
|
}, {
|
|
111
111
|
default: m(() => [
|
|
112
|
-
|
|
113
|
-
class:
|
|
114
|
-
}, u(
|
|
112
|
+
$("span", {
|
|
113
|
+
class: o(t(n)("expandText"))
|
|
114
|
+
}, u(R.value), 3),
|
|
115
115
|
b(t(P), {
|
|
116
|
-
class:
|
|
116
|
+
class: o(N.value ? t(n)("expandIcon") : t(n)("collapseIcon"))
|
|
117
117
|
}, null, 8, ["class"])
|
|
118
118
|
]),
|
|
119
119
|
_: 1
|
|
120
|
-
})) :
|
|
120
|
+
})) : H("", !0)
|
|
121
121
|
]),
|
|
122
122
|
message: m(() => [
|
|
123
|
-
|
|
123
|
+
$("div", {
|
|
124
124
|
ref_key: "ellipsisBoxRef",
|
|
125
125
|
ref: d,
|
|
126
|
-
style: y({ ...
|
|
127
|
-
class:
|
|
126
|
+
style: y({ ...F.value, ...e.contentStyle }),
|
|
127
|
+
class: o(t(n)("alertContent"))
|
|
128
128
|
}, [
|
|
129
|
-
|
|
129
|
+
I(e.$slots, "default", {}, () => [
|
|
130
130
|
t(E)(e.prefix) ? (a(), i("span", {
|
|
131
131
|
key: 0,
|
|
132
|
-
class:
|
|
132
|
+
class: o(t(n)("prefix")),
|
|
133
133
|
style: y(e.prefixStyle)
|
|
134
|
-
}, u(e.prefix), 7)) : (a(),
|
|
134
|
+
}, u(e.prefix), 7)) : (a(), S(L(e.prefix), {
|
|
135
135
|
key: 1,
|
|
136
136
|
style: y(e.prefixStyle)
|
|
137
137
|
}, null, 8, ["style"])),
|
|
138
138
|
t(E)(e.data) ? (a(), i("span", {
|
|
139
139
|
key: 2,
|
|
140
|
-
class:
|
|
141
|
-
}, u(e.data), 3)) : (a(!0), i(C, { key: 3 },
|
|
140
|
+
class: o(t(n)("text"))
|
|
141
|
+
}, u(e.data), 3)) : (a(!0), i(C, { key: 3 }, W(e.data, (s, g) => (a(), i(C, { key: g }, [
|
|
142
142
|
b(t(U), {
|
|
143
143
|
title: e.tipTitle ? e.tipTitle : null
|
|
144
144
|
}, {
|
|
145
145
|
default: m(() => [
|
|
146
|
-
|
|
146
|
+
I(e.$slots, "item", {
|
|
147
147
|
record: s,
|
|
148
|
-
index:
|
|
148
|
+
index: g
|
|
149
149
|
}, () => [
|
|
150
|
-
|
|
151
|
-
class:
|
|
150
|
+
$("span", {
|
|
151
|
+
class: o(t(n)("showItem")),
|
|
152
152
|
onClick: (ae) => e.$emit("choose", s)
|
|
153
153
|
}, u(e.mapLabel ? s[e.mapLabel] : s), 11, te)
|
|
154
154
|
])
|
|
155
155
|
]),
|
|
156
156
|
_: 2
|
|
157
157
|
}, 1032, ["title"]),
|
|
158
|
-
|
|
158
|
+
g !== e.data.length - 1 ? (a(), i("span", {
|
|
159
159
|
key: 0,
|
|
160
|
-
class:
|
|
160
|
+
class: o(t(n)("spliter")),
|
|
161
161
|
style: y(e.separatorStyle)
|
|
162
162
|
}, [
|
|
163
163
|
t(E)(e.separator) ? (a(), i(C, { key: 0 }, [
|
|
164
164
|
J(u(e.separator), 1)
|
|
165
|
-
], 64)) : (a(),
|
|
166
|
-
], 6)) :
|
|
165
|
+
], 64)) : (a(), S(L(e.separator), { key: 1 }))
|
|
166
|
+
], 6)) : H("", !0)
|
|
167
167
|
], 64))), 128))
|
|
168
168
|
])
|
|
169
169
|
], 6)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
|
|
1
|
+
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, Plugin } from 'vue';
|
|
2
2
|
export * from './interface';
|
|
3
3
|
declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
@@ -20,7 +20,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
20
20
|
props: {
|
|
21
21
|
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
22
22
|
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
23
|
-
type?: "warning" | "error" | "success" | "info" | "card" | undefined
|
|
23
|
+
type?: "warning" | "error" | "success" | "info" | "card" | undefined;
|
|
24
24
|
data?: string | T[] | undefined;
|
|
25
25
|
prefix?: string | undefined;
|
|
26
26
|
tipTitle?: string | undefined;
|
|
@@ -29,7 +29,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
29
29
|
separatorStyle?: CSSProperties | undefined;
|
|
30
30
|
contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
|
|
31
31
|
prefixStyle?: CSSProperties | undefined;
|
|
32
|
-
rows?: string | number | undefined;
|
|
32
|
+
rows?: (string | number) | undefined;
|
|
33
33
|
defaultExpand?: boolean | undefined;
|
|
34
34
|
showIcon?: boolean | undefined;
|
|
35
35
|
} & PublicProps;
|
|
@@ -51,7 +51,9 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
51
51
|
}): any;
|
|
52
52
|
};
|
|
53
53
|
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
54
|
-
}>) => VNode
|
|
54
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}> & {
|
|
55
57
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
56
58
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
57
59
|
$props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, ref as M, computed as v, watch as U,
|
|
1
|
+
import { defineComponent as z, ref as M, computed as v, watch as U, openBlock as c, createElementBlock as H, Fragment as J, createBlock as m, unref as o, mergeProps as S, withCtx as u, createTextVNode as h, toDisplayString as E, createCommentVNode as A, normalizeClass as Q, createVNode as F } from "vue";
|
|
2
2
|
import { DownOutlined as W } from "@ant-design/icons-vue";
|
|
3
3
|
import { message as X, Dropdown as Y, Menu as Z, MenuItem as T } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -114,7 +114,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
114
114
|
return (l, a) => {
|
|
115
115
|
var t, i;
|
|
116
116
|
return c(), H(J, null, [
|
|
117
|
-
L.value && e.type === "button" ? (c(), m(o(K),
|
|
117
|
+
L.value && e.type === "button" ? (c(), m(o(K), S({ key: 0 }, {
|
|
118
118
|
...l.$attrs
|
|
119
119
|
}, {
|
|
120
120
|
disabled: f.value,
|
|
@@ -126,7 +126,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
126
126
|
h(E((e == null ? void 0 : e.text) ?? o(n)("ap.apExportGroup.export")), 1)
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
129
|
-
}, 16, ["disabled", "loading"])) :
|
|
129
|
+
}, 16, ["disabled", "loading"])) : A("", !0),
|
|
130
130
|
L.value && e.type === "dropdown" ? (c(), m(o(Y), {
|
|
131
131
|
key: 1,
|
|
132
132
|
open: w.value,
|
|
@@ -163,7 +163,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
163
163
|
})
|
|
164
164
|
]),
|
|
165
165
|
default: u(() => [
|
|
166
|
-
F(o(K),
|
|
166
|
+
F(o(K), S({
|
|
167
167
|
...l.$attrs
|
|
168
168
|
}, { loading: d.value }), {
|
|
169
169
|
default: u(() => [
|
|
@@ -174,8 +174,8 @@ const Ee = /* @__PURE__ */ z({
|
|
|
174
174
|
}, 16, ["loading"])
|
|
175
175
|
]),
|
|
176
176
|
_: 1
|
|
177
|
-
}, 8, ["open", "class", "disabled"])) :
|
|
178
|
-
L.value && e.type === "group" ? (c(), m(o(le),
|
|
177
|
+
}, 8, ["open", "class", "disabled"])) : A("", !0),
|
|
178
|
+
L.value && e.type === "group" ? (c(), m(o(le), S({ key: 2 }, {
|
|
179
179
|
...l.$attrs
|
|
180
180
|
}, {
|
|
181
181
|
disabled: f.value,
|
|
@@ -186,7 +186,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
186
186
|
type: ((i = e == null ? void 0 : e.buttonProps) == null ? void 0 : i.type) ?? "default"
|
|
187
187
|
},
|
|
188
188
|
"menu-list": V.value
|
|
189
|
-
}), null, 16, ["disabled", "loading", "button-props", "menu-list"])) :
|
|
189
|
+
}), null, 16, ["disabled", "loading", "button-props", "menu-list"])) : A("", !0)
|
|
190
190
|
], 64);
|
|
191
191
|
};
|
|
192
192
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, computed as c, ref as U, watchEffect as j,
|
|
1
|
+
import { defineComponent as S, computed as c, ref as U, watchEffect as j, openBlock as i, createBlock as p, unref as n, mergeProps as g, withCtx as B, renderSlot as E, normalizeProps as I, guardReactiveProps as L, createElementVNode as b, normalizeClass as D, createElementBlock as M, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as x } from "vue";
|
|
2
2
|
import { Image as z } from "@aplus-frontend/antdv";
|
|
3
3
|
import { DownloadOutlined as V } from "@ant-design/icons-vue";
|
|
4
4
|
import { injectLocaleToOss as W, getOssInstance as G, getSignatureUrl as $ } from "./hooks/useOss.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, onMounted as R,
|
|
1
|
+
import { defineComponent as g, onMounted as R, openBlock as V, createElementBlock as h, normalizeClass as b, unref as t, createVNode as i, mergeProps as I } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { Form as B, InputNumber as k, RadioGroup as x } from "@aplus-frontend/antdv";
|
|
4
4
|
import { omit as _ } from "lodash-unified";
|
|
@@ -52,7 +52,7 @@ const S = /* @__PURE__ */ g({
|
|
|
52
52
|
}
|
|
53
53
|
}), (o, a) => {
|
|
54
54
|
var l, r;
|
|
55
|
-
return
|
|
55
|
+
return V(), h("div", {
|
|
56
56
|
class: b([t(m)()])
|
|
57
57
|
}, [
|
|
58
58
|
i(t(k), I({
|
|
@@ -3,17 +3,17 @@ import I from "./keeper/index.mjs";
|
|
|
3
3
|
import { matches as D, getAliveKey as T, isNoValue as W, getVNodeObjByVNodeChild as b, getVNodeObjByVNodeArrayChildren as K, getVNodeChirldren as w, getFirstVNodeChirldren as x } from "./utils.mjs";
|
|
4
4
|
import { catchWrapper as B, measureWrapper as A } from "@aplus-frontend/utils";
|
|
5
5
|
import { LruCacher as C } from "./cacher/lru-cacher.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { ApKeepAliveProps as R, forceStopTags as _ } from "./interface.mjs";
|
|
7
7
|
import { throttle as S } from "lodash-unified";
|
|
8
8
|
import { useApKeepAliveProvide as $ } from "./hook.mjs";
|
|
9
9
|
const c = console, a = "|", te = j({
|
|
10
10
|
name: "ApKeepAlive",
|
|
11
11
|
inheritAttrs: !1,
|
|
12
|
-
props:
|
|
12
|
+
props: R(),
|
|
13
13
|
setup(o, { slots: h }) {
|
|
14
14
|
const g = M(), v = (e) => !(o.include && (!e || !D(o.include, e)) || o.exclude && e && D(o.exclude, e)), d = o.store || new C(o.max), u = E("");
|
|
15
15
|
let m = "";
|
|
16
|
-
const k = /* @__PURE__ */ new Set([...
|
|
16
|
+
const k = /* @__PURE__ */ new Set([..._, ...o.stopTags]), p = (e, n = "") => {
|
|
17
17
|
var f;
|
|
18
18
|
const t = [];
|
|
19
19
|
if (!e) return t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, createVNode as e, Fragment as t } from "vue";
|
|
2
|
-
import { convertValue as n,
|
|
2
|
+
import { convertValue as n, isVNodeOrFunction as p, renderValue as d } from "../utils.mjs";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as v } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
const f = /* @__PURE__ */ c({
|
|
@@ -38,7 +38,7 @@ const f = /* @__PURE__ */ c({
|
|
|
38
38
|
title: String(n(l.value, {
|
|
39
39
|
...l
|
|
40
40
|
}))
|
|
41
|
-
}, [
|
|
41
|
+
}, [p(l.value) ? d(l.value) : l.link ? e("a", {
|
|
42
42
|
href: l.link,
|
|
43
43
|
target: "_blank",
|
|
44
44
|
class: a("value-group-link"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, ref as V, isVNode as _, h as r, watch as w,
|
|
1
|
+
import { defineComponent as b, ref as V, isVNode as _, h as r, watch as w, openBlock as a, createElementBlock as n, normalizeClass as h, unref as l, createVNode as B, withCtx as N, Fragment as z, renderList as F, normalizeStyle as L, createBlock as x, resolveDynamicComponent as A } from "vue";
|
|
2
2
|
import { Flex as D } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem } from './interface';
|
|
2
|
-
import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, Plugin } from 'vue';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
@@ -38,7 +38,9 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
|
|
|
38
38
|
(event: "afterEnter", el: Element): void;
|
|
39
39
|
(event: "afterLeave", el: Element): void;
|
|
40
40
|
};
|
|
41
|
-
}>) => VNode
|
|
41
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}> & {
|
|
42
44
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
43
45
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
44
46
|
$props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onOnSelect?: ((value: T) => any) | undefined;
|
|
@@ -19,7 +19,9 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
|
|
|
19
19
|
(event: "afterEnter", el: Element): void;
|
|
20
20
|
(event: "afterLeave", el: Element): void;
|
|
21
21
|
};
|
|
22
|
-
}>) => VNode
|
|
22
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}> & {
|
|
23
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
26
|
};
|
|
25
27
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as d, computed as M, onMounted as O,
|
|
1
|
+
import { defineComponent as I, ref as d, computed as M, onMounted as O, openBlock as p, createElementBlock as m, normalizeClass as a, unref as t, createVNode as u, Transition as W, withCtx as v, withDirectives as g, createElementVNode as s, toDisplayString as E, createTextVNode as $, Fragment as z, renderList as R, renderSlot as x, vShow as N, createCommentVNode as j } from "vue";
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -42,7 +42,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
42
42
|
});
|
|
43
43
|
}), (n, e) => {
|
|
44
44
|
var r;
|
|
45
|
-
return
|
|
45
|
+
return p(), m("div", {
|
|
46
46
|
class: a(t(h)())
|
|
47
47
|
}, [
|
|
48
48
|
u(W, {
|
|
@@ -90,7 +90,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
90
90
|
s("div", {
|
|
91
91
|
class: a(t(i)("side", "body", "scroll"))
|
|
92
92
|
}, [
|
|
93
|
-
(
|
|
93
|
+
(p(!0), m(z, null, R(U.value, (l) => g((p(), m("div", {
|
|
94
94
|
key: l.value,
|
|
95
95
|
class: a(`${t(i)("side", "body", "scroll-item")} ${F.value === l ? "active" : ""}`),
|
|
96
96
|
onClick: (X) => V(l)
|
|
@@ -118,7 +118,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
118
118
|
s("div", {
|
|
119
119
|
class: a(t(y)("content", "header"))
|
|
120
120
|
}, [
|
|
121
|
-
f.value ? (
|
|
121
|
+
f.value ? (p(), m("div", {
|
|
122
122
|
key: 0,
|
|
123
123
|
class: a(t(i)("content", "header", "imgWrap"))
|
|
124
124
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, computed as a,
|
|
1
|
+
import { defineComponent as u, computed as a, openBlock as d, createElementBlock as i, normalizeClass as r, unref as t, normalizeStyle as s, createTextVNode as m, toDisplayString as f, createElementVNode as y, createCommentVNode as g } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const C = /* @__PURE__ */ u({
|
|
@@ -20,17 +20,17 @@ const C = /* @__PURE__ */ u({
|
|
|
20
20
|
})), p = a(() => ({
|
|
21
21
|
"background-color": e.color
|
|
22
22
|
})), { b: c, e: o } = x("ap-status");
|
|
23
|
-
return (S, _) => e.show ? (
|
|
23
|
+
return (S, _) => e.show ? (d(), i("div", {
|
|
24
24
|
key: 0,
|
|
25
|
-
class:
|
|
26
|
-
style:
|
|
25
|
+
class: r([t(c)()]),
|
|
26
|
+
style: s(n.value)
|
|
27
27
|
}, [
|
|
28
|
-
f(
|
|
28
|
+
m(f(e.text) + " ", 1),
|
|
29
29
|
y("div", {
|
|
30
|
-
class:
|
|
31
|
-
style:
|
|
30
|
+
class: r([t(o)("bg"), t(o)("primary")]),
|
|
31
|
+
style: s(p.value)
|
|
32
32
|
}, null, 6)
|
|
33
|
-
], 6)) :
|
|
33
|
+
], 6)) : g("", !0);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, computed as c, createElementBlock as o,
|
|
1
|
+
import { defineComponent as p, computed as c, openBlock as r, createElementBlock as o, normalizeClass as d, unref as m, normalizeStyle as a, Fragment as i, renderList as f, createBlock as y, createCommentVNode as _ } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import "../ApStatus.vue.mjs";
|
|
4
4
|
import { useNamespace as g } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -19,10 +19,10 @@ const w = /* @__PURE__ */ p({
|
|
|
19
19
|
})), { b: l } = g("ap-status-group");
|
|
20
20
|
return (n, S) => t.statusList ? (r(), o("div", {
|
|
21
21
|
key: 0,
|
|
22
|
-
class:
|
|
22
|
+
class: d([m(l)()]),
|
|
23
23
|
style: a(u.value)
|
|
24
24
|
}, [
|
|
25
|
-
(r(!0), o(
|
|
25
|
+
(r(!0), o(i, null, f(t.statusList, (e) => (r(), y(k, {
|
|
26
26
|
key: e.value,
|
|
27
27
|
show: e.value === n.currentValue,
|
|
28
28
|
color: e.color,
|
|
@@ -30,7 +30,7 @@ const w = /* @__PURE__ */ p({
|
|
|
30
30
|
padding: t.padding,
|
|
31
31
|
style: a(t.style)
|
|
32
32
|
}, null, 8, ["show", "color", "text", "padding", "style"]))), 128))
|
|
33
|
-
], 6)) :
|
|
33
|
+
], 6)) : _("", !0);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, computed as p, createVNode as w, Fragment as y,
|
|
1
|
+
import { defineComponent as N, computed as p, createVNode as w, Fragment as y, openBlock as m, createBlock as l, unref as r, normalizeClass as f, withCtx as x, createElementBlock as z, renderList as B, normalizeStyle as R, resolveDynamicComponent as A } from "vue";
|
|
2
2
|
import { isNil as D, get as i } from "lodash-unified";
|
|
3
3
|
import { TableSummaryRow as F, TableSummaryCell as V } from "@aplus-frontend/antdv";
|
|
4
4
|
import { flattenColumns as E, formatDataIndex as c } from "./utils.mjs";
|
|
@@ -4,8 +4,8 @@ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicP
|
|
|
4
4
|
import { ApTableModalProps, OpenOptions, OpenReturnType } from './interface';
|
|
5
5
|
import { Recordable } from '../../type';
|
|
6
6
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
7
|
-
import { ApFormSearchFormPopoverSorterItem } from '../..';
|
|
8
7
|
import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
|
|
8
|
+
import { ApFormSearchFormPopoverSorterItem } from '../..';
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
@@ -42,14 +42,8 @@ declare const ApTableModal: {
|
|
|
42
42
|
};
|
|
43
43
|
y: undefined;
|
|
44
44
|
};
|
|
45
|
-
getPaging: () =>
|
|
46
|
-
|
|
47
|
-
pageSize: number;
|
|
48
|
-
}>;
|
|
49
|
-
setPaging: (nextPaging: Partial<{
|
|
50
|
-
current: number;
|
|
51
|
-
pageSize: number;
|
|
52
|
-
}>, refreshImmediately?: boolean) => void;
|
|
45
|
+
getPaging: () => InternalPagingType;
|
|
46
|
+
setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
|
|
53
47
|
getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
|
|
54
48
|
setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
55
49
|
resetSearchFormSorterItems: () => void;
|
|
@@ -153,14 +147,8 @@ declare const ApTableModal: {
|
|
|
153
147
|
};
|
|
154
148
|
y: undefined;
|
|
155
149
|
};
|
|
156
|
-
getPaging: () =>
|
|
157
|
-
|
|
158
|
-
pageSize: number;
|
|
159
|
-
}>;
|
|
160
|
-
setPaging: (nextPaging: Partial<{
|
|
161
|
-
current: number;
|
|
162
|
-
pageSize: number;
|
|
163
|
-
}>, refreshImmediately?: boolean) => void;
|
|
150
|
+
getPaging: () => InternalPagingType;
|
|
151
|
+
setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
|
|
164
152
|
getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
|
|
165
153
|
setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
166
154
|
resetSearchFormSorterItems: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m,
|
|
1
|
+
import { defineComponent as m, openBlock as c, createElementBlock as f, createTextVNode as a, toDisplayString as t, renderSlot as d, createElementVNode as r, normalizeStyle as u, unref as o } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useLocale as p } from "../../config-provider/hooks/use-locale.mjs";
|
|
4
4
|
import { useGlobalConfig as s } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -20,7 +20,7 @@ const T = /* @__PURE__ */ m({
|
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
22
|
const { t: n } = p(), l = s("uiMode", "aplus");
|
|
23
|
-
return (i, x) => (
|
|
23
|
+
return (i, x) => (c(), f("div", null, [
|
|
24
24
|
a(t(e.title) + " ", 1),
|
|
25
25
|
d(i.$slots, "default", {
|
|
26
26
|
maxCount: e.maxCount,
|