@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,18 +1,18 @@
|
|
|
1
1
|
import { ApFormModalFormProps } from '../interface';
|
|
2
2
|
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
|
|
3
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity
|
|
3
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
4
|
import { Recordable } from '../../type';
|
|
5
|
+
import { SizeType, ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
6
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
6
7
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
8
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
9
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
9
10
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
10
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
|
-
import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
14
13
|
import { OnCleanup } from '@vue/reactivity';
|
|
15
|
-
import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
14
|
+
import { LegacyButtonType, ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
15
|
+
import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
|
|
16
16
|
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
17
17
|
type ApModalFormSlots = {
|
|
18
18
|
trigger: any;
|
|
@@ -28,7 +28,7 @@ declare function __VLS_template(): {
|
|
|
28
28
|
$: ComponentInternalInstance;
|
|
29
29
|
$data: {};
|
|
30
30
|
$props: {
|
|
31
|
-
readonly size?:
|
|
31
|
+
readonly size?: SizeType;
|
|
32
32
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
33
33
|
readonly layout?: string | undefined;
|
|
34
34
|
readonly disabled?: boolean | undefined;
|
|
@@ -118,7 +118,7 @@ declare function __VLS_template(): {
|
|
|
118
118
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
119
119
|
readonly initialValues?: Recordable | undefined;
|
|
120
120
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
121
|
-
readonly syncToUrl?:
|
|
121
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
122
122
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
123
123
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
124
124
|
$attrs: {
|
|
@@ -323,8 +323,8 @@ declare function __VLS_template(): {
|
|
|
323
323
|
default: string | string[];
|
|
324
324
|
};
|
|
325
325
|
size: {
|
|
326
|
-
type: PropType<
|
|
327
|
-
default:
|
|
326
|
+
type: PropType<ButtonSize>;
|
|
327
|
+
default: ButtonSize;
|
|
328
328
|
};
|
|
329
329
|
disabled: {
|
|
330
330
|
type: BooleanConstructor;
|
|
@@ -351,7 +351,7 @@ declare function __VLS_template(): {
|
|
|
351
351
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
352
352
|
};
|
|
353
353
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
354
|
-
size:
|
|
354
|
+
size: ButtonSize;
|
|
355
355
|
onSubmit: (e: Event) => void;
|
|
356
356
|
disabled: boolean;
|
|
357
357
|
validateTrigger: string | string[];
|
|
@@ -643,8 +643,8 @@ declare function __VLS_template(): {
|
|
|
643
643
|
default: string | string[];
|
|
644
644
|
};
|
|
645
645
|
size: {
|
|
646
|
-
type: PropType<
|
|
647
|
-
default:
|
|
646
|
+
type: PropType<ButtonSize>;
|
|
647
|
+
default: ButtonSize;
|
|
648
648
|
};
|
|
649
649
|
disabled: {
|
|
650
650
|
type: BooleanConstructor;
|
|
@@ -671,7 +671,7 @@ declare function __VLS_template(): {
|
|
|
671
671
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
672
672
|
};
|
|
673
673
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
674
|
-
size:
|
|
674
|
+
size: ButtonSize;
|
|
675
675
|
onSubmit: (e: Event) => void;
|
|
676
676
|
disabled: boolean;
|
|
677
677
|
validateTrigger: string | string[];
|
|
@@ -958,6 +958,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
958
958
|
onMousedown: {
|
|
959
959
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
960
960
|
};
|
|
961
|
+
autoInsertSpace: BooleanConstructor;
|
|
962
|
+
iconPosition: {
|
|
963
|
+
type: PropType<ButtonIconPosition>;
|
|
964
|
+
default: string;
|
|
965
|
+
};
|
|
966
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
967
|
+
variant: PropType<ButtonVariantType>;
|
|
961
968
|
}>>>;
|
|
962
969
|
default: Partial< ExtractPropTypes<{
|
|
963
970
|
prefixCls: StringConstructor;
|
|
@@ -1006,6 +1013,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1006
1013
|
onMousedown: {
|
|
1007
1014
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1008
1015
|
};
|
|
1016
|
+
autoInsertSpace: BooleanConstructor;
|
|
1017
|
+
iconPosition: {
|
|
1018
|
+
type: PropType<ButtonIconPosition>;
|
|
1019
|
+
default: string;
|
|
1020
|
+
};
|
|
1021
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
1022
|
+
variant: PropType<ButtonVariantType>;
|
|
1009
1023
|
}>>;
|
|
1010
1024
|
};
|
|
1011
1025
|
cancelButtonProps: {
|
|
@@ -1056,6 +1070,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1056
1070
|
onMousedown: {
|
|
1057
1071
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1058
1072
|
};
|
|
1073
|
+
autoInsertSpace: BooleanConstructor;
|
|
1074
|
+
iconPosition: {
|
|
1075
|
+
type: PropType<ButtonIconPosition>;
|
|
1076
|
+
default: string;
|
|
1077
|
+
};
|
|
1078
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
1079
|
+
variant: PropType<ButtonVariantType>;
|
|
1059
1080
|
}>>>;
|
|
1060
1081
|
default: Partial< ExtractPropTypes<{
|
|
1061
1082
|
prefixCls: StringConstructor;
|
|
@@ -1104,6 +1125,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1104
1125
|
onMousedown: {
|
|
1105
1126
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1106
1127
|
};
|
|
1128
|
+
autoInsertSpace: BooleanConstructor;
|
|
1129
|
+
iconPosition: {
|
|
1130
|
+
type: PropType<ButtonIconPosition>;
|
|
1131
|
+
default: string;
|
|
1132
|
+
};
|
|
1133
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
1134
|
+
variant: PropType<ButtonVariantType>;
|
|
1107
1135
|
}>>;
|
|
1108
1136
|
};
|
|
1109
1137
|
destroyOnClose: {
|
|
@@ -1160,7 +1188,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1160
1188
|
$: ComponentInternalInstance;
|
|
1161
1189
|
$data: {};
|
|
1162
1190
|
$props: {
|
|
1163
|
-
readonly size?:
|
|
1191
|
+
readonly size?: SizeType;
|
|
1164
1192
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
1165
1193
|
readonly layout?: string | undefined;
|
|
1166
1194
|
readonly disabled?: boolean | undefined;
|
|
@@ -1250,7 +1278,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1250
1278
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1251
1279
|
readonly initialValues?: Recordable | undefined;
|
|
1252
1280
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1253
|
-
readonly syncToUrl?:
|
|
1281
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1254
1282
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1255
1283
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1256
1284
|
$attrs: {
|
|
@@ -1455,8 +1483,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1455
1483
|
default: string | string[];
|
|
1456
1484
|
};
|
|
1457
1485
|
size: {
|
|
1458
|
-
type: PropType<
|
|
1459
|
-
default:
|
|
1486
|
+
type: PropType<ButtonSize>;
|
|
1487
|
+
default: ButtonSize;
|
|
1460
1488
|
};
|
|
1461
1489
|
disabled: {
|
|
1462
1490
|
type: BooleanConstructor;
|
|
@@ -1483,7 +1511,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1483
1511
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1484
1512
|
};
|
|
1485
1513
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1486
|
-
size:
|
|
1514
|
+
size: ButtonSize;
|
|
1487
1515
|
onSubmit: (e: Event) => void;
|
|
1488
1516
|
disabled: boolean;
|
|
1489
1517
|
validateTrigger: string | string[];
|
|
@@ -1775,8 +1803,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1775
1803
|
default: string | string[];
|
|
1776
1804
|
};
|
|
1777
1805
|
size: {
|
|
1778
|
-
type: PropType<
|
|
1779
|
-
default:
|
|
1806
|
+
type: PropType<ButtonSize>;
|
|
1807
|
+
default: ButtonSize;
|
|
1780
1808
|
};
|
|
1781
1809
|
disabled: {
|
|
1782
1810
|
type: BooleanConstructor;
|
|
@@ -1803,7 +1831,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1803
1831
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1804
1832
|
};
|
|
1805
1833
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1806
|
-
size:
|
|
1834
|
+
size: ButtonSize;
|
|
1807
1835
|
onSubmit: (e: Event) => void;
|
|
1808
1836
|
disabled: boolean;
|
|
1809
1837
|
validateTrigger: string | string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s,
|
|
1
|
+
import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, createElementBlock as W, openBlock as g, Fragment as H, createBlock as P, createCommentVNode as J, withCtx as h, createElementVNode as Q, normalizeClass as X, normalizeStyle as Y, renderSlot as w, resolveDynamicComponent as N, createTextVNode as Z, toDisplayString as ee } from "vue";
|
|
2
2
|
import { Button as V, Flex as te, Space as le, Modal as ae } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -250,7 +250,7 @@ const Re = /* @__PURE__ */ D({
|
|
|
250
250
|
"onUpdate:open": $,
|
|
251
251
|
onCancel: k
|
|
252
252
|
}), {
|
|
253
|
-
title: h(() => [
|
|
253
|
+
title: h(() => [w(e.$slots, "title", {}, () => [Z(ee(a.title), 1)])]),
|
|
254
254
|
default: h(() => [u(de, b({
|
|
255
255
|
ref_key: "formRef",
|
|
256
256
|
ref: o
|
|
@@ -259,17 +259,17 @@ const Re = /* @__PURE__ */ D({
|
|
|
259
259
|
}), {
|
|
260
260
|
default: h(() => {
|
|
261
261
|
var l;
|
|
262
|
-
return [
|
|
262
|
+
return [Q("div", {
|
|
263
263
|
style: Y((l = e.modalProps) == null ? void 0 : l.bodyStyle),
|
|
264
|
-
class:
|
|
265
|
-
}, [
|
|
264
|
+
class: X(s(F)("content"))
|
|
265
|
+
}, [w(e.$slots, "default")], 6), (g(), P(N(O.value)))];
|
|
266
266
|
}),
|
|
267
267
|
_: 3
|
|
268
268
|
}, 16)]),
|
|
269
269
|
_: 3
|
|
270
|
-
}, 16, ["open", "width", "class"]), s(B) ? (g(),
|
|
270
|
+
}, 16, ["open", "width", "class"]), s(B) ? (g(), P(N(s(B)), {
|
|
271
271
|
key: 0
|
|
272
|
-
})) :
|
|
272
|
+
})) : J("", !0)], 64));
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, useSlots as c,
|
|
1
|
+
import { defineComponent as m, useSlots as c, createBlock as B, openBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
|
|
2
2
|
import { omit as g } from "lodash-unified";
|
|
3
3
|
import { ApForm as d } from "../index.mjs";
|
|
4
4
|
const S = /* @__PURE__ */ m({
|
|
@@ -49,7 +49,7 @@ const S = /* @__PURE__ */ m({
|
|
|
49
49
|
},
|
|
50
50
|
setup(p) {
|
|
51
51
|
const i = p, u = c();
|
|
52
|
-
return (a, h) => (
|
|
52
|
+
return (a, h) => (v(), B(e(d).FormItem, o(l(i)), y({
|
|
53
53
|
default: t(() => [
|
|
54
54
|
x(e(d).ControlRender, null, {
|
|
55
55
|
default: t((r) => [
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ApFormSearchFormPopoverFilterProps } from '../../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
|
-
import { ButtonType, ButtonShape
|
|
4
|
-
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
3
|
+
import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
|
|
4
|
+
import { ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
5
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
6
|
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
6
7
|
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
8
|
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
@@ -17,7 +18,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
17
18
|
type: PropType<ButtonShape>;
|
|
18
19
|
};
|
|
19
20
|
size: {
|
|
20
|
-
type: PropType<
|
|
21
|
+
type: PropType<SizeType>;
|
|
21
22
|
};
|
|
22
23
|
loading: {
|
|
23
24
|
type: PropType<boolean | {
|
|
@@ -53,15 +54,24 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
53
54
|
onMousedown: {
|
|
54
55
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
55
56
|
};
|
|
57
|
+
autoInsertSpace: BooleanConstructor;
|
|
58
|
+
iconPosition: {
|
|
59
|
+
type: PropType<ButtonIconPosition>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
63
|
+
variant: PropType<ButtonVariantType>;
|
|
56
64
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
57
65
|
block: boolean;
|
|
58
66
|
disabled: boolean;
|
|
59
|
-
|
|
60
|
-
ghost: boolean;
|
|
61
|
-
htmlType: ButtonHTMLType;
|
|
67
|
+
autoInsertSpace: boolean;
|
|
62
68
|
loading: boolean | {
|
|
63
69
|
delay?: number;
|
|
64
70
|
};
|
|
71
|
+
danger: boolean;
|
|
72
|
+
htmlType: ButtonHTMLType;
|
|
73
|
+
ghost: boolean;
|
|
74
|
+
iconPosition: ButtonIconPosition;
|
|
65
75
|
}, true, {}, CustomSlotsType<{
|
|
66
76
|
icon: any;
|
|
67
77
|
default: any;
|
|
@@ -83,7 +93,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
83
93
|
type: PropType<ButtonShape>;
|
|
84
94
|
};
|
|
85
95
|
size: {
|
|
86
|
-
type: PropType<
|
|
96
|
+
type: PropType<SizeType>;
|
|
87
97
|
};
|
|
88
98
|
loading: {
|
|
89
99
|
type: PropType<boolean | {
|
|
@@ -119,15 +129,24 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
119
129
|
onMousedown: {
|
|
120
130
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
121
131
|
};
|
|
132
|
+
autoInsertSpace: BooleanConstructor;
|
|
133
|
+
iconPosition: {
|
|
134
|
+
type: PropType<ButtonIconPosition>;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
138
|
+
variant: PropType<ButtonVariantType>;
|
|
122
139
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
123
140
|
block: boolean;
|
|
124
141
|
disabled: boolean;
|
|
125
|
-
|
|
126
|
-
ghost: boolean;
|
|
127
|
-
htmlType: ButtonHTMLType;
|
|
142
|
+
autoInsertSpace: boolean;
|
|
128
143
|
loading: boolean | {
|
|
129
144
|
delay?: number;
|
|
130
145
|
};
|
|
146
|
+
danger: boolean;
|
|
147
|
+
htmlType: ButtonHTMLType;
|
|
148
|
+
ghost: boolean;
|
|
149
|
+
iconPosition: ButtonIconPosition;
|
|
131
150
|
}> | null;
|
|
132
151
|
}, any>;
|
|
133
152
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as h, ref as y, toRef as w,
|
|
2
|
-
import { Popover as P,
|
|
1
|
+
import { defineComponent as h, ref as y, toRef as w, createBlock as u, openBlock as s, unref as e, withCtx as o, createVNode as t, normalizeClass as a, withDirectives as x, createElementVNode as f, toDisplayString as g, vShow as R, createElementBlock as S, Fragment as D, renderList as L, resolveDynamicComponent as N, createTextVNode as b } from "vue";
|
|
2
|
+
import { Popover as P, Tooltip as T, Button as d, Row as V, Col as z, Divider as A, Flex as E } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApFilterOutlined as I } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
5
5
|
import { useCollapseInputCount as j } from "../hooks/use-collapse-input-count.mjs";
|
|
@@ -34,14 +34,14 @@ const Q = /* @__PURE__ */ h({
|
|
|
34
34
|
class: a([e(i)("popover-content")]),
|
|
35
35
|
style: { paddingBottom: "4px", width: "825px" }
|
|
36
36
|
}, [
|
|
37
|
-
t(e(
|
|
37
|
+
t(e(V), { gutter: 8 }, {
|
|
38
38
|
default: o(() => [
|
|
39
|
-
(s(!0),
|
|
39
|
+
(s(!0), S(D, null, L(r.config, (n) => (s(), u(e(z), {
|
|
40
40
|
key: n.key,
|
|
41
41
|
span: 8
|
|
42
42
|
}, {
|
|
43
43
|
default: o(() => [
|
|
44
|
-
(s(), u(
|
|
44
|
+
(s(), u(N(n.node)))
|
|
45
45
|
]),
|
|
46
46
|
_: 2
|
|
47
47
|
}, 1024))), 128))
|
|
@@ -49,11 +49,11 @@ const Q = /* @__PURE__ */ h({
|
|
|
49
49
|
_: 1
|
|
50
50
|
})
|
|
51
51
|
], 2),
|
|
52
|
-
t(e(
|
|
52
|
+
t(e(A), { style: { margin: "0" } }),
|
|
53
53
|
f("div", {
|
|
54
54
|
class: a(e(i)("popover-footer"))
|
|
55
55
|
}, [
|
|
56
|
-
t(e(
|
|
56
|
+
t(e(E), { justify: "end" }, {
|
|
57
57
|
default: o(() => [
|
|
58
58
|
t(e(d), {
|
|
59
59
|
onClick: l[0] || (l[0] = (n) => p.value = !1)
|
|
@@ -80,7 +80,7 @@ const Q = /* @__PURE__ */ h({
|
|
|
80
80
|
], 2)
|
|
81
81
|
]),
|
|
82
82
|
default: o(() => [
|
|
83
|
-
t(e(
|
|
83
|
+
t(e(T), {
|
|
84
84
|
title: e(m)("ap.apForm.search.moreFilter"),
|
|
85
85
|
placement: "top"
|
|
86
86
|
}, {
|
|
@@ -91,10 +91,10 @@ const Q = /* @__PURE__ */ h({
|
|
|
91
91
|
class: a([e(c)("trigger-btn"), { [e(c)("trigger-btn-active")]: p.value }])
|
|
92
92
|
}, {
|
|
93
93
|
icon: o(() => [
|
|
94
|
-
|
|
94
|
+
x(f("sup", {
|
|
95
95
|
class: a(e(c)("trigger-btn-badge"))
|
|
96
96
|
}, g(e(v)), 3), [
|
|
97
|
-
[
|
|
97
|
+
[R, e(v) !== 0]
|
|
98
98
|
]),
|
|
99
99
|
t(e(I), { size: 14 })
|
|
100
100
|
]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as D, ref as y, watch as k, unref as e,
|
|
2
|
-
import { Popover as S,
|
|
1
|
+
import { defineComponent as D, ref as y, watch as k, unref as e, createBlock as L, openBlock as P, withCtx as r, createVNode as t, normalizeClass as o, createElementVNode as n, toDisplayString as m, createTextVNode as b } from "vue";
|
|
2
|
+
import { Popover as S, Tooltip as V, Button as g, Flex as _, Divider as j } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApLayoutOutlined as z } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../../../config-provider/index.mjs";
|
|
5
5
|
import A from "vuedraggable";
|
|
@@ -41,7 +41,7 @@ const M = /* @__PURE__ */ D({
|
|
|
41
41
|
}
|
|
42
42
|
), w({
|
|
43
43
|
getCachedList: () => h
|
|
44
|
-
}), (a, u) => (
|
|
44
|
+
}), (a, u) => (P(), L(e(S), {
|
|
45
45
|
open: p.value,
|
|
46
46
|
"onUpdate:open": u[1] || (u[1] = (d) => p.value = d),
|
|
47
47
|
"overlay-class-name": e(f)("popover"),
|
|
@@ -53,25 +53,25 @@ const M = /* @__PURE__ */ D({
|
|
|
53
53
|
}, {
|
|
54
54
|
content: r(() => [
|
|
55
55
|
n("div", {
|
|
56
|
-
class:
|
|
56
|
+
class: o(e(s)("header"))
|
|
57
57
|
}, [
|
|
58
58
|
n("span", {
|
|
59
|
-
class:
|
|
59
|
+
class: o(e(s)("header-title"))
|
|
60
60
|
}, m(e(c)("ap.apForm.search.sorterTitle")), 3),
|
|
61
|
-
|
|
61
|
+
t(e(_), {
|
|
62
62
|
justify: "space-between",
|
|
63
63
|
align: "center"
|
|
64
64
|
}, {
|
|
65
65
|
default: r(() => [
|
|
66
66
|
n("span", {
|
|
67
|
-
class:
|
|
67
|
+
class: o(e(s)("header-desc"))
|
|
68
68
|
}, m(e(c)("ap.apForm.search.sorterDesc")), 3),
|
|
69
69
|
n("div", {
|
|
70
|
-
class:
|
|
70
|
+
class: o(e(s)("header-action-wrapper")),
|
|
71
71
|
onClick: N
|
|
72
72
|
}, [
|
|
73
73
|
n("span", {
|
|
74
|
-
class:
|
|
74
|
+
class: o(e(s)("header-reset-btn"))
|
|
75
75
|
}, m(e(c)("ap.apForm.search.sorterReset")), 3)
|
|
76
76
|
], 2)
|
|
77
77
|
]),
|
|
@@ -79,26 +79,26 @@ const M = /* @__PURE__ */ D({
|
|
|
79
79
|
})
|
|
80
80
|
], 2),
|
|
81
81
|
n("div", {
|
|
82
|
-
class:
|
|
82
|
+
class: o([e(f)("popover-content"), e(s)("content")])
|
|
83
83
|
}, [
|
|
84
|
-
|
|
84
|
+
t(e(A), {
|
|
85
85
|
list: i.value,
|
|
86
|
-
class:
|
|
86
|
+
class: o(e(s)("sorter-wrapper")),
|
|
87
87
|
"item-key": "name"
|
|
88
88
|
}, {
|
|
89
89
|
item: r(({ element: d }) => [
|
|
90
|
-
|
|
90
|
+
t($, { item: d }, null, 8, ["item"])
|
|
91
91
|
]),
|
|
92
92
|
_: 1
|
|
93
93
|
}, 8, ["list", "class"])
|
|
94
94
|
], 2),
|
|
95
|
-
|
|
95
|
+
t(e(j), { style: { margin: "0" } }),
|
|
96
96
|
n("div", {
|
|
97
|
-
class:
|
|
97
|
+
class: o(e(f)("popover-footer"))
|
|
98
98
|
}, [
|
|
99
|
-
|
|
99
|
+
t(e(_), { justify: "end" }, {
|
|
100
100
|
default: r(() => [
|
|
101
|
-
|
|
101
|
+
t(e(g), {
|
|
102
102
|
onClick: u[0] || (u[0] = (d) => p.value = !1)
|
|
103
103
|
}, {
|
|
104
104
|
default: r(() => [
|
|
@@ -106,8 +106,8 @@ const M = /* @__PURE__ */ D({
|
|
|
106
106
|
]),
|
|
107
107
|
_: 1
|
|
108
108
|
}),
|
|
109
|
-
|
|
110
|
-
class:
|
|
109
|
+
t(e(g), {
|
|
110
|
+
class: o(e(f)("popover-footer-confirm-btn")),
|
|
111
111
|
type: "primary",
|
|
112
112
|
onClick: T
|
|
113
113
|
}, {
|
|
@@ -122,16 +122,16 @@ const M = /* @__PURE__ */ D({
|
|
|
122
122
|
], 2)
|
|
123
123
|
]),
|
|
124
124
|
default: r(() => [
|
|
125
|
-
|
|
125
|
+
t(e(V), {
|
|
126
126
|
title: e(c)("ap.apForm.search.sorterTitle"),
|
|
127
127
|
placement: "top"
|
|
128
128
|
}, {
|
|
129
129
|
default: r(() => [
|
|
130
|
-
|
|
131
|
-
class:
|
|
130
|
+
t(e(g), {
|
|
131
|
+
class: o([e(C)("trigger-btn"), { [e(C)("trigger-btn-active")]: p.value }])
|
|
132
132
|
}, {
|
|
133
133
|
icon: r(() => [
|
|
134
|
-
|
|
134
|
+
t(e(z), { size: 14 })
|
|
135
135
|
]),
|
|
136
136
|
_: 1
|
|
137
137
|
}, 8, ["class"])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i,
|
|
1
|
+
import { defineComponent as i, createElementBlock as l, openBlock as m, normalizeClass as o, unref as e, createElementVNode as s, createVNode as a, toDisplayString as n } from "vue";
|
|
2
2
|
import { HolderOutlined as c } from "@ant-design/icons-vue";
|
|
3
3
|
import "../../../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as p } from "../../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -10,7 +10,7 @@ const d = ["title"], N = /* @__PURE__ */ i({
|
|
|
10
10
|
},
|
|
11
11
|
setup(f) {
|
|
12
12
|
const { b: t } = p("search-form-sorter");
|
|
13
|
-
return (r, u) => (
|
|
13
|
+
return (r, u) => (m(), l("div", {
|
|
14
14
|
class: o([e(t)("sorter-item"), { [e(t)("sorter-item--hidden")]: r.item.isHidden }])
|
|
15
15
|
}, [
|
|
16
16
|
s("div", null, [
|