@aplus-frontend/ui 6.19.1 → 6.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/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.d.ts +31 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -7
- package/es/src/ap-button/ap-button.vue.mjs +24 -20
- package/es/src/ap-button/ap-confirm-button.vue.mjs +15 -11
- 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 +21 -18
- 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.d.ts +29 -29
- 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.d.ts +4 -4
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +17 -12
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +10 -10
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- 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.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +12 -12
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +14 -15
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +18 -19
- 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 +31 -31
- 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 +107 -107
- 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.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- 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 +95 -95
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +48 -20
- 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.vue.d.ts +29 -10
- 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 +18 -19
- 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 +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +41 -41
- package/es/src/ap-list/index.vue.d.ts +2 -4
- 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 +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -14
- 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 +332 -332
- 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 +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- 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 +4 -3
- package/es/src/business/ap-batch-action-group/index.d.ts +33 -11
- 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 +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +5 -5
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- 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 +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- 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 +17 -5
- 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 +10 -11
- 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 +10 -11
- 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.d.ts +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- 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/config-provider-props.d.ts +4 -5
- package/es/src/config-provider/config-provider.d.ts +8 -9
- package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +13 -14
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +37 -38
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +15 -16
- 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/utils/config-provider-preset.d.ts +5 -6
- 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 +10 -11
- 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-action/item-popconfirm/index.vue.d.ts +31 -2
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.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/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +14 -15
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +18 -19
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +48 -20
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/lib/src/ap-form/search-form/index.vue.d.ts +18 -19
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +332 -332
- 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-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +33 -11
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-table-modal/index.d.ts +17 -5
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +4 -5
- package/lib/src/config-provider/config-provider.d.ts +8 -9
- package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +13 -14
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- 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/utils/config-provider-preset.d.ts +5 -6
- 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 +10 -11
- package/package.json +4 -4
- package/theme/antd-global-overwrite/admin/alert.css +0 -37
- package/theme/antd-global-overwrite/admin/alert.less +0 -51
- package/theme/antd-global-overwrite/admin/button.css +0 -27
- package/theme/antd-global-overwrite/admin/button.less +0 -31
- package/theme/antd-global-overwrite/admin/field.css +0 -42
- package/theme/antd-global-overwrite/admin/field.less +0 -43
- package/theme/antd-global-overwrite/admin/form.css +0 -57
- package/theme/antd-global-overwrite/admin/form.less +0 -97
- package/theme/antd-global-overwrite/admin/message.css +0 -10
- package/theme/antd-global-overwrite/admin/message.less +0 -13
- package/theme/antd-global-overwrite/admin/modal.css +0 -94
- package/theme/antd-global-overwrite/admin/modal.less +0 -128
- package/theme/antd-global-overwrite/admin/pagination.css +0 -122
- package/theme/antd-global-overwrite/admin/pagination.less +0 -91
- package/theme/antd-global-overwrite/admin/steps.css +0 -127
- package/theme/antd-global-overwrite/admin/steps.less +0 -197
- package/theme/antd-global-overwrite/admin/table.css +0 -78
- package/theme/antd-global-overwrite/admin/table.less +0 -62
- package/theme/antd-global-overwrite/admin/tooltip.css +0 -3
- package/theme/antd-global-overwrite/admin/tooltip.less +0 -3
- package/theme/antd-global-overwrite/aplus/alert.css +0 -40
- package/theme/antd-global-overwrite/aplus/alert.less +0 -55
- package/theme/antd-global-overwrite/aplus/button.css +0 -27
- package/theme/antd-global-overwrite/aplus/button.less +0 -31
- package/theme/antd-global-overwrite/aplus/field.css +0 -42
- package/theme/antd-global-overwrite/aplus/field.less +0 -43
- package/theme/antd-global-overwrite/aplus/form.css +0 -87
- package/theme/antd-global-overwrite/aplus/form.less +0 -133
- package/theme/antd-global-overwrite/aplus/message.css +0 -10
- package/theme/antd-global-overwrite/aplus/message.less +0 -13
- package/theme/antd-global-overwrite/aplus/modal.css +0 -87
- package/theme/antd-global-overwrite/aplus/modal.less +0 -120
- package/theme/antd-global-overwrite/aplus/pagination.css +0 -147
- package/theme/antd-global-overwrite/aplus/pagination.less +0 -108
- package/theme/antd-global-overwrite/aplus/steps.css +0 -125
- package/theme/antd-global-overwrite/aplus/steps.less +0 -198
- package/theme/antd-global-overwrite/aplus/table.css +0 -78
- package/theme/antd-global-overwrite/aplus/table.less +0 -61
- package/theme/antd-global-overwrite/aplus/tooltip.css +0 -3
- package/theme/antd-global-overwrite/aplus/tooltip.less +0 -3
- package/theme/ap-table/ap-table-pagination.css +0 -12
- package/theme/ap-table/ap-table-pagination.less +0 -14
- package/theme/ui-mode.css +0 -60
- package/theme/ui-mode.less +0 -109
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, VNodeChild, CSSProperties, ComputedRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
-
import { ButtonType, ButtonShape
|
|
3
|
-
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
2
|
+
import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
|
|
3
|
+
import { ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
5
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
6
|
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
-
import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
|
|
7
7
|
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
8
|
+
import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
|
|
8
9
|
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
10
|
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
11
|
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
@@ -26,7 +27,7 @@ declare const ApBatchActionGroup: {
|
|
|
26
27
|
type: PropType<ButtonShape>;
|
|
27
28
|
};
|
|
28
29
|
size: {
|
|
29
|
-
type: PropType<
|
|
30
|
+
type: PropType<SizeType>;
|
|
30
31
|
};
|
|
31
32
|
loading: {
|
|
32
33
|
type: PropType<boolean | {
|
|
@@ -62,8 +63,15 @@ declare const ApBatchActionGroup: {
|
|
|
62
63
|
onMousedown: {
|
|
63
64
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
64
65
|
};
|
|
66
|
+
autoInsertSpace: BooleanConstructor;
|
|
67
|
+
iconPosition: {
|
|
68
|
+
type: PropType<ButtonIconPosition>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
72
|
+
variant: PropType<ButtonVariantType>;
|
|
65
73
|
}>>, "type" | "onClick"> & {
|
|
66
|
-
type?:
|
|
74
|
+
type?: ( ButtonType | undefined) | "borderLink";
|
|
67
75
|
borderLinkColor?: string;
|
|
68
76
|
minWidth?: boolean | number | string;
|
|
69
77
|
lazy?: boolean | number;
|
|
@@ -264,7 +272,7 @@ declare const ApBatchActionGroup: {
|
|
|
264
272
|
};
|
|
265
273
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
266
274
|
transitionName: StringConstructor;
|
|
267
|
-
placement: PropType<"top" | "bottom" | "
|
|
275
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
268
276
|
overlayClassName: StringConstructor;
|
|
269
277
|
overlayStyle: {
|
|
270
278
|
type: PropType<CSSProperties>;
|
|
@@ -327,7 +335,7 @@ declare const ApBatchActionGroup: {
|
|
|
327
335
|
type: PropType<ButtonShape>;
|
|
328
336
|
};
|
|
329
337
|
size: {
|
|
330
|
-
type: PropType<
|
|
338
|
+
type: PropType<SizeType>;
|
|
331
339
|
};
|
|
332
340
|
loading: {
|
|
333
341
|
type: PropType<boolean | {
|
|
@@ -363,8 +371,15 @@ declare const ApBatchActionGroup: {
|
|
|
363
371
|
onMousedown: {
|
|
364
372
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
365
373
|
};
|
|
374
|
+
autoInsertSpace: BooleanConstructor;
|
|
375
|
+
iconPosition: {
|
|
376
|
+
type: PropType<ButtonIconPosition>;
|
|
377
|
+
default: string;
|
|
378
|
+
};
|
|
379
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
380
|
+
variant: PropType<ButtonVariantType>;
|
|
366
381
|
}>>, "type" | "onClick"> & {
|
|
367
|
-
type?:
|
|
382
|
+
type?: ( ButtonType | undefined) | "borderLink";
|
|
368
383
|
borderLinkColor?: string;
|
|
369
384
|
minWidth?: boolean | number | string;
|
|
370
385
|
lazy?: boolean | number;
|
|
@@ -565,7 +580,7 @@ declare const ApBatchActionGroup: {
|
|
|
565
580
|
};
|
|
566
581
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
567
582
|
transitionName: StringConstructor;
|
|
568
|
-
placement: PropType<"top" | "bottom" | "
|
|
583
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
569
584
|
overlayClassName: StringConstructor;
|
|
570
585
|
overlayStyle: {
|
|
571
586
|
type: PropType<CSSProperties>;
|
|
@@ -625,7 +640,7 @@ declare const ApBatchActionGroup: {
|
|
|
625
640
|
type: PropType<ButtonShape>;
|
|
626
641
|
};
|
|
627
642
|
size: {
|
|
628
|
-
type: PropType<
|
|
643
|
+
type: PropType<SizeType>;
|
|
629
644
|
};
|
|
630
645
|
loading: {
|
|
631
646
|
type: PropType<boolean | {
|
|
@@ -661,6 +676,13 @@ declare const ApBatchActionGroup: {
|
|
|
661
676
|
onMousedown: {
|
|
662
677
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
663
678
|
};
|
|
679
|
+
autoInsertSpace: BooleanConstructor;
|
|
680
|
+
iconPosition: {
|
|
681
|
+
type: PropType<ButtonIconPosition>;
|
|
682
|
+
default: string;
|
|
683
|
+
};
|
|
684
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
685
|
+
variant: PropType<ButtonVariantType>;
|
|
664
686
|
}>>, "type" | "onClick"> & {
|
|
665
687
|
type?: ButtonProps["type"] | "borderLink";
|
|
666
688
|
borderLinkColor?: string;
|
|
@@ -863,7 +885,7 @@ declare const ApBatchActionGroup: {
|
|
|
863
885
|
};
|
|
864
886
|
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
865
887
|
transitionName: StringConstructor;
|
|
866
|
-
placement: PropType<"top" | "bottom" | "
|
|
888
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
867
889
|
overlayClassName: StringConstructor;
|
|
868
890
|
overlayStyle: {
|
|
869
891
|
type: PropType<CSSProperties>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, computed as T,
|
|
1
|
+
import { defineComponent as k, computed as T, createBlock as u, openBlock as t, unref as s, normalizeProps as P, guardReactiveProps as R, withCtx as c, createElementBlock as m, Fragment as p, renderList as i, createCommentVNode as B, mergeProps as l, resolveDynamicComponent as f, h as y } from "vue";
|
|
2
2
|
import { Space as x } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/ap-button.vue2.mjs";
|
|
4
4
|
import "../../ap-button/ap-action-button.vue2.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, useSlots as $, computed as l,
|
|
1
|
+
import { defineComponent as h, useSlots as $, computed as l, createElementBlock as o, openBlock as r, normalizeStyle as B, normalizeClass as N, unref as s, createBlock as c, createCommentVNode as P, renderSlot as d, mergeProps as b, createSlots as z, withCtx as y, isVNode as k, resolveDynamicComponent as v, toDisplayString as _ } from "vue";
|
|
2
2
|
import "../ap-title/ApTitle.vue.mjs";
|
|
3
3
|
import { omit as D } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -20,8 +20,8 @@ const w = { key: 2 }, A = { key: 2 }, I = /* @__PURE__ */ h({
|
|
|
20
20
|
return (i, E) => {
|
|
21
21
|
var u, x;
|
|
22
22
|
return r(), o("div", {
|
|
23
|
-
class:
|
|
24
|
-
style:
|
|
23
|
+
class: N([s(m)()]),
|
|
24
|
+
style: B({
|
|
25
25
|
padding: C.value
|
|
26
26
|
})
|
|
27
27
|
}, [
|
|
@@ -33,26 +33,26 @@ const w = { key: 2 }, A = { key: 2 }, I = /* @__PURE__ */ h({
|
|
|
33
33
|
}), z({ _: 2 }, [
|
|
34
34
|
t != null && t.titleSuffix || (u = e == null ? void 0 : e.titleProps) != null && u.suffix ? {
|
|
35
35
|
name: "suffix",
|
|
36
|
-
fn:
|
|
36
|
+
fn: y(() => {
|
|
37
37
|
var f, n, a;
|
|
38
38
|
return [
|
|
39
|
-
t != null && t.titleSuffix ? d(i.$slots, "titleSuffix", { key: 0 }) :
|
|
39
|
+
t != null && t.titleSuffix ? d(i.$slots, "titleSuffix", { key: 0 }) : k((f = e == null ? void 0 : e.titleProps) == null ? void 0 : f.suffix) ? (r(), c(v((n = e == null ? void 0 : e.titleProps) == null ? void 0 : n.suffix), { key: 1 })) : (r(), o("div", w, _((a = e == null ? void 0 : e.titleProps) == null ? void 0 : a.suffix), 1))
|
|
40
40
|
];
|
|
41
41
|
}),
|
|
42
42
|
key: "0"
|
|
43
43
|
} : void 0,
|
|
44
44
|
t != null && t.titlePrefix || (x = e == null ? void 0 : e.titleProps) != null && x.prefix ? {
|
|
45
45
|
name: "prefix",
|
|
46
|
-
fn:
|
|
46
|
+
fn: y(() => {
|
|
47
47
|
var f, n, a;
|
|
48
48
|
return [
|
|
49
|
-
t != null && t.titlePrefix ? d(i.$slots, "titlePrefix", { key: 0 }) :
|
|
50
|
-
|
|
49
|
+
t != null && t.titlePrefix ? d(i.$slots, "titlePrefix", { key: 0 }) : P("", !0),
|
|
50
|
+
k((f = e == null ? void 0 : e.titleProps) == null ? void 0 : f.prefix) ? (r(), c(v((n = e == null ? void 0 : e.titleProps) == null ? void 0 : n.prefix), { key: 1 })) : (r(), o("div", A, _((a = e == null ? void 0 : e.titleProps) == null ? void 0 : a.prefix), 1))
|
|
51
51
|
];
|
|
52
52
|
}),
|
|
53
53
|
key: "1"
|
|
54
54
|
} : void 0
|
|
55
|
-
]), 1040, ["class"])) :
|
|
55
|
+
]), 1040, ["class"])) : P("", !0),
|
|
56
56
|
d(i.$slots, "default")
|
|
57
57
|
], 6);
|
|
58
58
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as te, ref as T, computed as H, useTemplateRef as ne, watch as ae, toRaw as le, onMounted as se, onUnmounted as ie,
|
|
1
|
+
import { defineComponent as te, ref as T, computed as H, useTemplateRef as ne, watch as ae, toRaw as le, onMounted as se, onUnmounted as ie, createBlock as ue, openBlock as M, unref as G, withCtx as de, createElementVNode as ce, normalizeStyle as q, normalizeClass as z, createElementBlock as U, Fragment as ge, renderList as fe, renderSlot as pe } from "vue";
|
|
2
2
|
import { ApDraggableGridProps as me } from "./constans.mjs";
|
|
3
3
|
import { Spin as we } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -226,22 +226,22 @@ const ve = ["data-span", "data-index", "data-row", "data-col", "data-height", "d
|
|
|
226
226
|
ce("div", {
|
|
227
227
|
ref_key: "gridContainer",
|
|
228
228
|
ref: f,
|
|
229
|
-
class:
|
|
230
|
-
style:
|
|
229
|
+
class: z([C.value ? G(F)("loading") : G(F)(), g.customWrapper]),
|
|
230
|
+
style: q({
|
|
231
231
|
width: typeof e.gridWidth == "number" ? `${e.gridWidth}px` : e.gridWidth,
|
|
232
232
|
gap: `${e.gapWidth}px`
|
|
233
233
|
})
|
|
234
234
|
}, [
|
|
235
235
|
(M(!0), U(ge, null, fe(I.value, (o, i) => (M(), U("div", {
|
|
236
236
|
key: i,
|
|
237
|
-
class:
|
|
237
|
+
class: z([G(L)("item"), g.disableDrag ? "" : G(Q)("canDrag")]),
|
|
238
238
|
"data-span": o.span,
|
|
239
239
|
"data-index": i,
|
|
240
240
|
"data-row": o.row,
|
|
241
241
|
"data-col": o.col,
|
|
242
242
|
"data-height": o.height,
|
|
243
243
|
"data-module": o.module,
|
|
244
|
-
style:
|
|
244
|
+
style: q([Z(o)]),
|
|
245
245
|
draggable: !g.disableDrag
|
|
246
246
|
}, [
|
|
247
247
|
pe(e.$slots, "item", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApExpandAlertProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } 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,9 +23,7 @@ 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
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
}> & {
|
|
26
|
+
}>) => VNode & {
|
|
29
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
28
|
};
|
|
31
29
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W, createElementBlock as i, openBlock as a, normalizeClass as n, unref as t, createVNode as b, withCtx as m, createElementVNode as S, normalizeStyle as y, renderSlot as H, createBlock as $, toDisplayString as u, resolveDynamicComponent as I, Fragment as C, renderList as j, createCommentVNode as L, 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__ */ K({
|
|
11
11
|
__name: "ApExpandAlert",
|
|
12
12
|
props: {
|
|
13
13
|
type: { default: "warning" },
|
|
@@ -15,7 +15,7 @@ const te = ["onClick"], ce = /* @__PURE__ */ G({
|
|
|
15
15
|
prefix: { default: "" },
|
|
16
16
|
tipTitle: { default: "" },
|
|
17
17
|
mapLabel: {},
|
|
18
|
-
separator: {
|
|
18
|
+
separator: { default: "|" },
|
|
19
19
|
separatorStyle: { default: () => ({}) },
|
|
20
20
|
contentStyle: { default: () => ({}) },
|
|
21
21
|
prefixStyle: { default: () => ({}) },
|
|
@@ -28,7 +28,7 @@ const te = ["onClick"], ce = /* @__PURE__ */ G({
|
|
|
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 = g(""), d = g(null), R = c(() => ({
|
|
32
32
|
fontWeight: "400",
|
|
33
33
|
wordBreak: "break-all",
|
|
34
34
|
overflow: "hidden",
|
|
@@ -37,10 +37,10 @@ const te = ["onClick"], ce = /* @__PURE__ */ G({
|
|
|
37
37
|
webkitBoxOrient: "vertical",
|
|
38
38
|
lineHeight: "18px"
|
|
39
39
|
}));
|
|
40
|
-
function
|
|
40
|
+
function q() {
|
|
41
41
|
l.value === "1" ? (l.value = "", A("expand", "expand")) : (l.value = "1", A("expand", "collapse"));
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const F = c(() => l.value === "1" ? B("ap.apExpandAlert.expand") : B("ap.apExpandAlert.collapse")), h = g(!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__ */ G({
|
|
|
69
69
|
});
|
|
70
70
|
},
|
|
71
71
|
{ immediate: !0 }
|
|
72
|
-
),
|
|
72
|
+
), W(() => {
|
|
73
73
|
x(
|
|
74
74
|
() => p.contentStyle,
|
|
75
75
|
(e) => {
|
|
@@ -89,81 +89,81 @@ const te = ["onClick"], ce = /* @__PURE__ */ G({
|
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
91
|
});
|
|
92
|
-
const { b: T, e:
|
|
92
|
+
const { b: T, e: o, m: O } = _("ap-expand-alert"), k = `${T()}-key-${Date.now()}-${(Math.random() * 1e6).toFixed(0)}`, G = 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: n([t(T)(), `${t(O)(t(G))}`])
|
|
98
98
|
}, [
|
|
99
99
|
b(t(Q), {
|
|
100
100
|
type: V.value,
|
|
101
101
|
"show-icon": e.showIcon,
|
|
102
|
-
class:
|
|
102
|
+
class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
|
|
103
103
|
}, {
|
|
104
104
|
action: m(() => [
|
|
105
|
-
h.value ? (a(),
|
|
105
|
+
h.value ? (a(), $(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) => q())
|
|
110
110
|
}, {
|
|
111
111
|
default: m(() => [
|
|
112
|
-
|
|
113
|
-
class:
|
|
114
|
-
}, u(
|
|
112
|
+
S("span", {
|
|
113
|
+
class: n(t(o)("expandText"))
|
|
114
|
+
}, u(F.value), 3),
|
|
115
115
|
b(t(P), {
|
|
116
|
-
class:
|
|
116
|
+
class: n(N.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
|
|
117
117
|
}, null, 8, ["class"])
|
|
118
118
|
]),
|
|
119
119
|
_: 1
|
|
120
|
-
})) :
|
|
120
|
+
})) : L("", !0)
|
|
121
121
|
]),
|
|
122
122
|
message: m(() => [
|
|
123
|
-
|
|
123
|
+
S("div", {
|
|
124
124
|
ref_key: "ellipsisBoxRef",
|
|
125
125
|
ref: d,
|
|
126
|
-
style: y({ ...
|
|
127
|
-
class:
|
|
126
|
+
style: y({ ...R.value, ...e.contentStyle }),
|
|
127
|
+
class: n(t(o)("alertContent"))
|
|
128
128
|
}, [
|
|
129
|
-
|
|
129
|
+
H(e.$slots, "default", {}, () => [
|
|
130
130
|
t(E)(e.prefix) ? (a(), i("span", {
|
|
131
131
|
key: 0,
|
|
132
|
-
class:
|
|
132
|
+
class: n(t(o)("prefix")),
|
|
133
133
|
style: y(e.prefixStyle)
|
|
134
|
-
}, u(e.prefix), 7)) : (a(),
|
|
134
|
+
}, u(e.prefix), 7)) : (a(), $(I(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: n(t(o)("text"))
|
|
141
|
+
}, u(e.data), 3)) : (a(!0), i(C, { key: 3 }, j(e.data, (s, w) => (a(), i(C, { key: w }, [
|
|
142
142
|
b(t(U), {
|
|
143
143
|
title: e.tipTitle ? e.tipTitle : null
|
|
144
144
|
}, {
|
|
145
145
|
default: m(() => [
|
|
146
|
-
|
|
146
|
+
H(e.$slots, "item", {
|
|
147
147
|
record: s,
|
|
148
|
-
index:
|
|
148
|
+
index: w
|
|
149
149
|
}, () => [
|
|
150
|
-
|
|
151
|
-
class:
|
|
150
|
+
S("span", {
|
|
151
|
+
class: n(t(o)("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
|
+
w !== e.data.length - 1 ? (a(), i("span", {
|
|
159
159
|
key: 0,
|
|
160
|
-
class:
|
|
160
|
+
class: n(t(o)("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(), $(I(e.separator), { key: 1 }))
|
|
166
|
+
], 6)) : L("", !0)
|
|
167
167
|
], 64))), 128))
|
|
168
168
|
])
|
|
169
169
|
], 6)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef,
|
|
1
|
+
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, 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 | 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?:
|
|
32
|
+
rows?: string | number | undefined;
|
|
33
33
|
defaultExpand?: boolean | undefined;
|
|
34
34
|
showIcon?: boolean | undefined;
|
|
35
35
|
} & PublicProps;
|
|
@@ -51,9 +51,7 @@ 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
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}> & {
|
|
54
|
+
}>) => VNode & {
|
|
57
55
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
58
56
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
59
57
|
$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, createElementBlock as H, openBlock as c, Fragment as J, createBlock as m, createCommentVNode as S, unref as o, mergeProps as A, withCtx as u, createTextVNode as h, toDisplayString as E, 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), A({ 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"])) : S("", !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), A({
|
|
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"])) : S("", !0),
|
|
178
|
+
L.value && e.type === "group" ? (c(), m(o(le), A({ 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"])) : S("", !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, createBlock as p, openBlock as i, 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, createElementBlock as V, openBlock 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 h(), V("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 { forceStopTags as R, ApKeepAliveProps 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: _(),
|
|
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([...R, ...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, renderValue as p, isVNodeOrFunction 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
|
+
}, [d(l.value) ? p(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, createElementBlock as n, openBlock as a, 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,
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, 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,9 +38,7 @@ 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
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
}> & {
|
|
41
|
+
}>) => VNode & {
|
|
44
42
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
45
43
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
46
44
|
$props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } 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,9 +19,7 @@ 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
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}> & {
|
|
22
|
+
}>) => VNode & {
|
|
25
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
24
|
};
|
|
27
25
|
export default _default;
|