@aplus-frontend/ui 0.0.1-beta.6 → 0.0.1-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +157 -142
- package/es/src/ap-action/constant.d.ts +0 -0
- package/es/src/ap-action/group/index.vue.d.ts +38 -0
- package/es/src/ap-action/group/index.vue.mjs +68 -0
- package/es/src/ap-action/group/index.vue2.mjs +4 -0
- package/es/src/ap-action/index.d.ts +14 -0
- package/es/src/ap-action/index.mjs +20 -0
- package/es/src/ap-action/interface.d.ts +81 -0
- package/es/src/ap-action/interface.mjs +1 -0
- package/es/src/ap-action/item/index.vue.d.ts +44 -0
- package/es/src/ap-action/item/index.vue.mjs +4 -0
- package/es/src/ap-action/item/index.vue2.mjs +49 -0
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
- package/es/src/ap-action/item-dropdown/index.vue.mjs +95 -0
- package/es/src/ap-action/item-dropdown/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-modal/index.vue.d.ts +41 -0
- package/es/src/ap-action/item-modal/index.vue.mjs +35 -0
- package/es/src/ap-action/item-modal/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +39 -0
- package/es/src/ap-action/item-popconfirm/index.vue2.mjs +4 -0
- package/es/src/ap-action/style/item-dropdown.css +11 -0
- package/es/src/ap-action/style/item.css +28 -0
- package/es/src/ap-field/checkbox/index.vue.mjs +32 -25
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +19 -20
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.mjs +9 -9
- package/es/src/ap-field/index.d.ts +12 -0
- package/es/src/ap-field/index.mjs +42 -0
- package/es/src/ap-field/interface.d.ts +6 -4
- package/es/src/ap-field/interface.mjs +1 -0
- package/es/src/ap-field/number/helper.mjs +2 -2
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.mjs +30 -32
- package/es/src/ap-field/radio/index.vue.mjs +40 -34
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.d.ts +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +69 -40
- package/es/src/ap-field/text/index.vue.d.ts +3 -3
- package/es/src/ap-field/text/index.vue.mjs +29 -29
- package/es/src/ap-field/text-area/index.vue.d.ts +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +5 -5
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +2 -56
- package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +56 -2
- package/es/src/ap-form/ap-form-item.vue.mjs +2 -74
- package/es/src/ap-form/ap-form-item.vue2.mjs +74 -2
- package/es/src/ap-form/components/interface.d.ts +0 -0
- package/es/src/ap-form/index.d.ts +87 -1758
- package/es/src/ap-form/index.mjs +11 -7
- package/es/src/base-button/button.vue.mjs +2 -58
- package/es/src/base-button/button.vue2.mjs +59 -2
- package/es/src/base-button/index.d.ts +28 -28
- package/es/src/base-button/index.mjs +8 -8
- package/es/src/base-button/interface.mjs +1 -0
- package/es/src/base-button/modal-button.vue.mjs +12 -11
- package/es/src/base-button/pop-confirm-button.vue.mjs +15 -14
- package/es/src/basic/arrow.vue.mjs +2 -38
- package/es/src/basic/arrow.vue2.mjs +38 -2
- package/es/src/basic/help.vue.mjs +2 -96
- package/es/src/basic/help.vue2.mjs +96 -2
- package/es/src/basic/index.mjs +11 -7
- package/es/src/basic/interface.mjs +1 -0
- package/es/src/basic/title.vue.mjs +2 -32
- package/es/src/basic/title.vue2.mjs +33 -2
- package/es/src/config-provider/config-provider.d.ts +4 -4
- package/es/src/config-provider/config-provider.mjs +4 -4
- package/es/src/config-provider/hooks/use-locale.mjs +1 -0
- package/es/src/config-provider/index.d.ts +12 -12
- package/es/src/config-provider/index.mjs +26 -13
- package/es/src/container/collapse/header.vue.mjs +2 -49
- package/es/src/container/collapse/header.vue2.mjs +49 -2
- package/es/src/container/collapse/index.vue.mjs +2 -85
- package/es/src/container/collapse/index.vue2.mjs +86 -2
- package/es/src/container/index.mjs +8 -5
- package/es/src/container/interface.mjs +1 -0
- package/es/src/container/scroll-container.vue.mjs +2 -60
- package/es/src/container/scroll-container.vue2.mjs +60 -2
- package/es/src/count-down/button.vue.mjs +2 -44
- package/es/src/count-down/button.vue2.mjs +44 -2
- package/es/src/count-down/index.d.ts +12 -12
- package/es/src/count-down/index.mjs +8 -5
- package/es/src/count-down/input.vue.mjs +2 -44
- package/es/src/count-down/input.vue2.mjs +45 -2
- package/es/src/count-down/interface.mjs +1 -0
- package/es/src/cropper/cropper-avatar.vue.d.ts +1 -1
- package/es/src/cropper/cropper-avatar.vue.mjs +2 -94
- package/es/src/cropper/cropper-avatar.vue2.mjs +96 -2
- package/es/src/cropper/cropper-image.vue.d.ts +1 -1
- package/es/src/cropper/cropper-image.vue.mjs +2 -129
- package/es/src/cropper/cropper-image.vue2.mjs +129 -2
- package/es/src/cropper/cropper-modal.vue.mjs +2 -270
- package/es/src/cropper/cropper-modal.vue2.mjs +271 -2
- package/es/src/cropper/index.d.ts +42 -42
- package/es/src/cropper/index.mjs +8 -5
- package/es/src/cropper/interface.mjs +1 -0
- package/es/src/description/description.vue.d.ts +1 -1
- package/es/src/description/description.vue.mjs +2 -169
- package/es/src/description/description.vue2.mjs +169 -2
- package/es/src/description/index.d.ts +3 -3
- package/es/src/description/index.mjs +8 -5
- package/es/src/description/interface.mjs +1 -0
- package/es/src/dropdown/dropdown.vue.d.ts +1 -1
- package/es/src/dropdown/dropdown.vue.mjs +2 -92
- package/es/src/dropdown/dropdown.vue2.mjs +92 -2
- package/es/src/dropdown/index.d.ts +7 -7
- package/es/src/dropdown/index.mjs +5 -3
- package/es/src/dropdown/interface.mjs +1 -0
- package/es/src/hooks/index.mjs +6 -0
- package/es/src/hooks/useMessage.mjs +1 -1
- package/es/src/icon/icon.vue.mjs +2 -66
- package/es/src/icon/icon.vue2.mjs +67 -2
- package/es/src/icon/index.d.ts +41 -41
- package/es/src/icon/index.mjs +8 -5
- package/es/src/icon/interface.mjs +1 -0
- package/es/src/icon/svg-icon.vue.mjs +2 -32
- package/es/src/icon/svg-icon.vue2.mjs +32 -2
- package/es/src/icon-picker/icon-picker.vue.d.ts +3 -3
- package/es/src/icon-picker/icon-picker.vue.mjs +2 -166
- package/es/src/icon-picker/icon-picker.vue2.mjs +168 -2
- package/es/src/icon-picker/index.d.ts +45 -45
- package/es/src/icon-picker/index.mjs +7 -5
- package/es/src/icon-picker/interface.mjs +1 -0
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +161 -145
- package/es/src/locale/index.mjs +7 -0
- package/es/src/locale/interface.mjs +1 -0
- package/es/src/modal/basic.vue.d.ts +4 -3
- package/es/src/modal/basic.vue.mjs +2 -191
- package/es/src/modal/basic.vue2.mjs +199 -2
- package/es/src/modal/components/modal-close.vue.mjs +2 -72
- package/es/src/modal/components/modal-close.vue2.mjs +72 -2
- package/es/src/modal/components/modal-footer.vue.d.ts +2 -2
- package/es/src/modal/components/modal-footer.vue.mjs +2 -43
- package/es/src/modal/components/modal-footer.vue2.mjs +43 -2
- package/es/src/modal/components/modal-header.vue.mjs +1 -18
- package/es/src/modal/components/modal-header.vue2.mjs +18 -1
- package/es/src/modal/components/modal-wrapper.vue.mjs +2 -99
- package/es/src/modal/components/modal-wrapper.vue2.mjs +102 -2
- package/es/src/modal/components/modal.d.ts +2 -2
- package/es/src/modal/components/modal.mjs +6 -6
- package/es/src/modal/hooks/use-modal-drag.mjs +1 -1
- package/es/src/modal/hooks/use-modal.mjs +8 -8
- package/es/src/modal/index.d.ts +10 -11
- package/es/src/modal/index.mjs +10 -8
- package/es/src/modal/interface.mjs +1 -0
- package/es/src/modal/props.mjs +1 -1
- package/es/src/modal/style/index.css +29 -30
- package/es/src/pro-form/component-map.mjs +56 -41
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -1
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/components/form-action.vue.mjs +2 -105
- package/es/src/pro-form/components/form-action.vue2.mjs +105 -2
- package/es/src/pro-form/components/form-item.vue.mjs +2 -352
- package/es/src/pro-form/components/form-item.vue2.mjs +352 -2
- package/es/src/pro-form/components/interface.mjs +1 -0
- package/es/src/pro-form/hooks/use-break-point.mjs +21 -20
- package/es/src/pro-form/hooks/use-component-register.d.ts +4 -0
- package/es/src/pro-form/hooks/use-component-register.mjs +13 -0
- package/es/src/pro-form/hooks/use-form-events.mjs +1 -1
- package/es/src/pro-form/hooks/use-form-values.mjs +1 -1
- package/es/src/pro-form/hooks/use-form.mjs +4 -4
- package/es/src/pro-form/hooks/use-label-width.d.ts +8 -8
- package/es/src/pro-form/index.d.ts +1 -0
- package/es/src/pro-form/index.mjs +34 -34
- package/es/src/pro-form/pro-form.vue.d.ts +2 -2
- package/es/src/pro-form/pro-form.vue.mjs +39 -37
- package/es/src/pro-form/types/form-item.mjs +1 -0
- package/es/src/pro-form/types/form.d.ts +8 -8
- package/es/src/pro-table/component-map.mjs +29 -37
- package/es/src/pro-table/components/editable/editable-cell.vue.mjs +2 -378
- package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +378 -2
- package/es/src/pro-table/components/editable/index.mjs +7 -6
- package/es/src/pro-table/components/header-cell.vue.mjs +2 -43
- package/es/src/pro-table/components/header-cell.vue2.mjs +44 -2
- package/es/src/pro-table/components/settings/column-setting.vue.mjs +2 -307
- package/es/src/pro-table/components/settings/column-setting.vue2.mjs +308 -2
- package/es/src/pro-table/components/settings/full-screen-setting.vue.mjs +2 -30
- package/es/src/pro-table/components/settings/full-screen-setting.vue2.mjs +30 -2
- package/es/src/pro-table/components/settings/index.vue.mjs +2 -59
- package/es/src/pro-table/components/settings/index.vue2.mjs +63 -2
- package/es/src/pro-table/components/settings/redo-setting.vue.mjs +2 -26
- package/es/src/pro-table/components/settings/redo-setting.vue2.mjs +26 -2
- package/es/src/pro-table/components/settings/size-setting.vue.mjs +2 -71
- package/es/src/pro-table/components/settings/size-setting.vue2.mjs +71 -2
- package/es/src/pro-table/components/table-action.vue.mjs +2 -2
- package/es/src/pro-table/components/table-footer.vue.mjs +2 -61
- package/es/src/pro-table/components/table-footer.vue2.mjs +61 -2
- package/es/src/pro-table/components/table-header.vue.mjs +2 -86
- package/es/src/pro-table/components/table-header.vue2.mjs +89 -2
- package/es/src/pro-table/components/table-selection-bar.vue.mjs +2 -40
- package/es/src/pro-table/components/table-selection-bar.vue2.mjs +40 -2
- package/es/src/pro-table/components/table-title.vue.mjs +2 -41
- package/es/src/pro-table/components/table-title.vue2.mjs +41 -2
- package/es/src/pro-table/hooks/use-columns.mjs +5 -5
- package/es/src/pro-table/hooks/use-data-source.mjs +1 -1
- package/es/src/pro-table/hooks/use-pagination.mjs +4 -4
- package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -1
- package/es/src/pro-table/hooks/use-table-footer.mjs +8 -7
- package/es/src/pro-table/hooks/use-table-header.mjs +12 -11
- package/es/src/pro-table/index.mjs +12 -0
- package/es/src/pro-table/interface.mjs +1 -0
- package/es/src/pro-table/pro-table.vue.mjs +55 -56
- package/es/src/pro-table/types/pagination.mjs +1 -0
- package/es/src/pro-table/types/table-action.mjs +1 -0
- package/es/src/pro-table/types/table.mjs +1 -0
- package/es/src/prompt/dialog.vue.mjs +2 -61
- package/es/src/prompt/dialog.vue2.mjs +58 -2
- package/es/src/prompt/index.mjs +9 -8
- package/es/src/prompt/utils.d.ts +3 -3
- package/es/src/scroll-bar/bar-item.mjs +4 -4
- package/es/src/scroll-bar/index.mjs +5 -3
- package/es/src/scroll-bar/interface.mjs +1 -0
- package/es/src/scroll-bar/scroll-bar.vue.mjs +2 -84
- package/es/src/scroll-bar/scroll-bar.vue2.mjs +84 -2
- package/es/src/strength-meter/index.d.ts +12 -12
- package/es/src/strength-meter/index.mjs +5 -3
- package/es/src/strength-meter/interface.mjs +1 -0
- package/es/src/strength-meter/strength-meter.vue.mjs +2 -61
- package/es/src/strength-meter/strength-meter.vue2.mjs +61 -2
- package/es/src/theme/ap-action/item-dropdown.css +11 -0
- package/es/src/theme/ap-action/item.css +28 -0
- package/es/src/theme/modal/index.css +29 -30
- package/es/src/transition/index.mjs +21 -24
- package/es/src/type.d.ts +1 -0
- package/es/src/utils/index.d.ts +1 -0
- package/es/src/utils/index.mjs +21 -8
- package/es/src/utils/tree.mjs +103 -13
- package/es/src/utils/uuid.mjs +15 -9
- package/lib/index.js +1 -1
- package/lib/src/ap-action/constant.d.ts +0 -0
- package/lib/src/ap-action/group/index.vue.d.ts +38 -0
- package/lib/src/ap-action/group/index.vue.js +1 -0
- package/lib/src/ap-action/group/index.vue2.js +1 -0
- package/lib/src/ap-action/index.d.ts +14 -0
- package/lib/src/ap-action/index.js +1 -0
- package/lib/src/ap-action/interface.d.ts +81 -0
- package/lib/src/ap-action/interface.js +1 -0
- package/lib/src/ap-action/item/index.vue.d.ts +44 -0
- package/lib/src/ap-action/item/index.vue.js +1 -0
- package/lib/src/ap-action/item/index.vue2.js +1 -0
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -0
- package/lib/src/ap-action/item-dropdown/index.vue2.js +1 -0
- package/lib/src/ap-action/item-modal/index.vue.d.ts +41 -0
- package/lib/src/ap-action/item-modal/index.vue.js +1 -0
- package/lib/src/ap-action/item-modal/index.vue2.js +1 -0
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -0
- package/lib/src/ap-action/item-popconfirm/index.vue2.js +1 -0
- package/lib/src/ap-action/style/item-dropdown.css +11 -0
- package/lib/src/ap-action/style/item.css +28 -0
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/index.d.ts +12 -0
- package/lib/src/ap-field/index.js +1 -0
- package/lib/src/ap-field/interface.d.ts +6 -4
- package/lib/src/ap-field/interface.js +1 -0
- package/lib/src/ap-field/number/helper.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.d.ts +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +3 -3
- package/lib/src/ap-field/text/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +2 -2
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue2.js +1 -1
- package/lib/src/ap-form/components/interface.d.ts +0 -0
- package/lib/src/ap-form/index.d.ts +87 -1758
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/base-button/button.vue.js +1 -1
- package/lib/src/base-button/button.vue2.js +1 -1
- package/lib/src/base-button/index.d.ts +28 -28
- package/lib/src/base-button/index.js +1 -1
- package/lib/src/base-button/interface.js +1 -0
- package/lib/src/base-button/modal-button.vue.js +1 -1
- package/lib/src/base-button/pop-confirm-button.vue.js +1 -1
- package/lib/src/basic/arrow.vue.js +1 -1
- package/lib/src/basic/arrow.vue2.js +1 -1
- package/lib/src/basic/help.vue.js +1 -1
- package/lib/src/basic/help.vue2.js +1 -1
- package/lib/src/basic/index.js +1 -1
- package/lib/src/basic/interface.js +1 -0
- package/lib/src/basic/title.vue.js +1 -1
- package/lib/src/basic/title.vue2.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +4 -4
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +12 -12
- package/lib/src/config-provider/index.js +1 -1
- package/lib/src/container/collapse/header.vue.js +1 -1
- package/lib/src/container/collapse/header.vue2.js +1 -1
- package/lib/src/container/collapse/index.vue.js +1 -1
- package/lib/src/container/collapse/index.vue2.js +1 -1
- package/lib/src/container/index.js +1 -1
- package/lib/src/container/interface.js +1 -0
- package/lib/src/container/scroll-container.vue.js +1 -1
- package/lib/src/container/scroll-container.vue2.js +1 -1
- package/lib/src/count-down/button.vue.js +1 -1
- package/lib/src/count-down/button.vue2.js +1 -1
- package/lib/src/count-down/index.d.ts +12 -12
- package/lib/src/count-down/index.js +1 -1
- package/lib/src/count-down/input.vue.js +1 -1
- package/lib/src/count-down/input.vue2.js +1 -1
- package/lib/src/count-down/interface.js +1 -0
- package/lib/src/cropper/cropper-avatar.vue.d.ts +1 -1
- package/lib/src/cropper/cropper-avatar.vue.js +1 -1
- package/lib/src/cropper/cropper-avatar.vue2.js +1 -1
- package/lib/src/cropper/cropper-image.vue.d.ts +1 -1
- package/lib/src/cropper/cropper-image.vue.js +1 -1
- package/lib/src/cropper/cropper-image.vue2.js +1 -1
- package/lib/src/cropper/cropper-modal.vue.js +1 -1
- package/lib/src/cropper/cropper-modal.vue2.js +1 -1
- package/lib/src/cropper/index.d.ts +42 -42
- package/lib/src/cropper/index.js +1 -1
- package/lib/src/cropper/interface.js +1 -0
- package/lib/src/description/description.vue.d.ts +1 -1
- package/lib/src/description/description.vue.js +1 -1
- package/lib/src/description/description.vue2.js +1 -1
- package/lib/src/description/index.d.ts +3 -3
- package/lib/src/description/index.js +1 -1
- package/lib/src/description/interface.js +1 -0
- package/lib/src/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/src/dropdown/dropdown.vue.js +1 -1
- package/lib/src/dropdown/dropdown.vue2.js +1 -1
- package/lib/src/dropdown/index.d.ts +7 -7
- package/lib/src/dropdown/index.js +1 -1
- package/lib/src/dropdown/interface.js +1 -0
- package/lib/src/hooks/index.js +1 -0
- package/lib/src/icon/icon.vue.js +1 -1
- package/lib/src/icon/icon.vue2.js +1 -1
- package/lib/src/icon/index.d.ts +41 -41
- package/lib/src/icon/index.js +1 -1
- package/lib/src/icon/interface.js +1 -0
- package/lib/src/icon/svg-icon.vue.js +1 -1
- package/lib/src/icon/svg-icon.vue2.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue.d.ts +3 -3
- package/lib/src/icon-picker/icon-picker.vue.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue2.js +1 -1
- package/lib/src/icon-picker/index.d.ts +45 -45
- package/lib/src/icon-picker/index.js +1 -1
- package/lib/src/icon-picker/interface.js +1 -0
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/locale/index.js +1 -0
- package/lib/src/locale/interface.js +1 -0
- package/lib/src/modal/basic.vue.d.ts +4 -3
- package/lib/src/modal/basic.vue.js +1 -1
- package/lib/src/modal/basic.vue2.js +1 -1
- package/lib/src/modal/components/modal-close.vue.js +1 -1
- package/lib/src/modal/components/modal-close.vue2.js +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +2 -2
- package/lib/src/modal/components/modal-footer.vue.js +1 -1
- package/lib/src/modal/components/modal-footer.vue2.js +1 -1
- package/lib/src/modal/components/modal-header.vue.js +1 -1
- package/lib/src/modal/components/modal-header.vue2.js +1 -1
- package/lib/src/modal/components/modal-wrapper.vue.js +1 -1
- package/lib/src/modal/components/modal-wrapper.vue2.js +1 -1
- package/lib/src/modal/components/modal.d.ts +2 -2
- package/lib/src/modal/index.d.ts +10 -11
- package/lib/src/modal/index.js +1 -1
- package/lib/src/modal/interface.js +1 -0
- package/lib/src/modal/props.js +1 -1
- package/lib/src/modal/style/index.css +29 -30
- package/lib/src/pro-form/component-map.js +1 -1
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/components/form-action.vue.js +1 -1
- package/lib/src/pro-form/components/form-action.vue2.js +1 -1
- package/lib/src/pro-form/components/form-item.vue.js +1 -1
- package/lib/src/pro-form/components/form-item.vue2.js +1 -1
- package/lib/src/pro-form/components/interface.js +1 -0
- package/lib/src/pro-form/hooks/use-break-point.js +1 -1
- package/lib/src/pro-form/hooks/use-component-register.d.ts +4 -0
- package/lib/src/pro-form/hooks/use-component-register.js +1 -0
- package/lib/src/pro-form/hooks/use-label-width.d.ts +8 -8
- package/lib/src/pro-form/index.d.ts +1 -0
- package/lib/src/pro-form/index.js +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +2 -2
- package/lib/src/pro-form/pro-form.vue.js +1 -1
- package/lib/src/pro-form/types/form-item.js +1 -0
- package/lib/src/pro-form/types/form.d.ts +8 -8
- package/lib/src/pro-table/component-map.js +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.js +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/editable/index.js +1 -1
- package/lib/src/pro-table/components/header-cell.vue.js +1 -1
- package/lib/src/pro-table/components/header-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/full-screen-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/index.vue.js +1 -1
- package/lib/src/pro-table/components/settings/index.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/redo-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/redo-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/size-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/size-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/table-action.vue.js +1 -1
- package/lib/src/pro-table/components/table-footer.vue.js +1 -1
- package/lib/src/pro-table/components/table-footer.vue2.js +1 -1
- package/lib/src/pro-table/components/table-header.vue.js +1 -1
- package/lib/src/pro-table/components/table-header.vue2.js +1 -1
- package/lib/src/pro-table/components/table-selection-bar.vue.js +1 -1
- package/lib/src/pro-table/components/table-selection-bar.vue2.js +1 -1
- package/lib/src/pro-table/components/table-title.vue.js +1 -1
- package/lib/src/pro-table/components/table-title.vue2.js +1 -1
- package/lib/src/pro-table/hooks/use-table-footer.js +1 -1
- package/lib/src/pro-table/hooks/use-table-header.js +1 -1
- package/lib/src/pro-table/index.js +1 -0
- package/lib/src/pro-table/interface.js +1 -0
- package/lib/src/pro-table/pro-table.vue.js +1 -1
- package/lib/src/pro-table/types/pagination.js +1 -0
- package/lib/src/pro-table/types/table-action.js +1 -0
- package/lib/src/pro-table/types/table.js +1 -0
- package/lib/src/prompt/dialog.vue.js +1 -1
- package/lib/src/prompt/dialog.vue2.js +1 -1
- package/lib/src/prompt/index.js +1 -1
- package/lib/src/prompt/utils.d.ts +3 -3
- package/lib/src/scroll-bar/index.js +1 -1
- package/lib/src/scroll-bar/interface.js +1 -0
- package/lib/src/scroll-bar/scroll-bar.vue.js +1 -1
- package/lib/src/scroll-bar/scroll-bar.vue2.js +1 -1
- package/lib/src/strength-meter/index.d.ts +12 -12
- package/lib/src/strength-meter/index.js +1 -1
- package/lib/src/strength-meter/interface.js +1 -0
- package/lib/src/strength-meter/strength-meter.vue.js +1 -1
- package/lib/src/strength-meter/strength-meter.vue2.js +1 -1
- package/lib/src/theme/ap-action/item-dropdown.css +11 -0
- package/lib/src/theme/ap-action/item.css +28 -0
- package/lib/src/theme/modal/index.css +29 -30
- package/lib/src/transition/index.js +1 -1
- package/lib/src/type.d.ts +1 -0
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/index.js +1 -1
- package/lib/src/utils/tree.js +1 -1
- package/lib/src/utils/uuid.js +1 -1
- package/package.json +2 -2
|
@@ -1,53 +1,68 @@
|
|
|
1
|
-
import { Input as t, InputNumber as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { StrengthMeter as
|
|
10
|
-
import { IconPicker as
|
|
11
|
-
import { CountdownInput as
|
|
12
|
-
import { BasicTitle as
|
|
13
|
-
import { CropperAvatar as
|
|
1
|
+
import { Input as t, InputNumber as m, AutoComplete as c, Select as a, TreeSelect as n, Switch as u, Radio as f, Checkbox as i, Cascader as k, Slider as d, Rate as P, Transfer as T, DatePicker as r, TimePicker as s, Divider as l } from "ant-design-vue";
|
|
2
|
+
import "./components/api-radio-group.vue2.mjs";
|
|
3
|
+
import "./components/radio-button-group.vue2.mjs";
|
|
4
|
+
import "./components/api-select.vue2.mjs";
|
|
5
|
+
import "./components/api-tree.vue2.mjs";
|
|
6
|
+
import "./components/api-tree-select.vue2.mjs";
|
|
7
|
+
import "./components/api-cascader.vue2.mjs";
|
|
8
|
+
import "./components/api-transfer.vue2.mjs";
|
|
9
|
+
import { StrengthMeter as S } from "../strength-meter/index.mjs";
|
|
10
|
+
import { IconPicker as _ } from "../icon-picker/index.mjs";
|
|
11
|
+
import { CountdownInput as A } from "../count-down/index.mjs";
|
|
12
|
+
import { BasicTitle as C } from "../basic/index.mjs";
|
|
13
|
+
import { CropperAvatar as I } from "../cropper/index.mjs";
|
|
14
|
+
import h from "./components/api-select.vue.mjs";
|
|
15
|
+
import R from "./components/api-tree.vue.mjs";
|
|
16
|
+
import G from "./components/api-tree-select.vue.mjs";
|
|
17
|
+
import w from "./components/api-radio-group.vue.mjs";
|
|
18
|
+
import g from "./components/radio-button-group.vue.mjs";
|
|
19
|
+
import x from "./components/api-cascader.vue.mjs";
|
|
20
|
+
import M from "./components/api-transfer.vue.mjs";
|
|
14
21
|
const e = /* @__PURE__ */ new Map();
|
|
15
22
|
e.set("Input", t);
|
|
16
23
|
e.set("InputGroup", t.Group);
|
|
17
24
|
e.set("InputPassword", t.Password);
|
|
18
25
|
e.set("InputSearch", t.Search);
|
|
19
26
|
e.set("InputTextArea", t.TextArea);
|
|
20
|
-
e.set("InputNumber",
|
|
21
|
-
e.set("AutoComplete",
|
|
22
|
-
e.set("Select",
|
|
23
|
-
e.set("ApiSelect",
|
|
24
|
-
e.set("ApiTree",
|
|
25
|
-
e.set("TreeSelect",
|
|
26
|
-
e.set("ApiTreeSelect",
|
|
27
|
-
e.set("ApiRadioGroup",
|
|
28
|
-
e.set("Switch",
|
|
29
|
-
e.set("RadioButtonGroup",
|
|
30
|
-
e.set("RadioGroup",
|
|
31
|
-
e.set("Checkbox",
|
|
32
|
-
e.set("CheckboxGroup",
|
|
33
|
-
e.set("ApiCascader",
|
|
34
|
-
e.set("Cascader",
|
|
35
|
-
e.set("Slider",
|
|
36
|
-
e.set("Rate",
|
|
37
|
-
e.set("Transfer",
|
|
38
|
-
e.set("ApiTransfer",
|
|
27
|
+
e.set("InputNumber", m);
|
|
28
|
+
e.set("AutoComplete", c);
|
|
29
|
+
e.set("Select", a);
|
|
30
|
+
e.set("ApiSelect", h);
|
|
31
|
+
e.set("ApiTree", R);
|
|
32
|
+
e.set("TreeSelect", n);
|
|
33
|
+
e.set("ApiTreeSelect", G);
|
|
34
|
+
e.set("ApiRadioGroup", w);
|
|
35
|
+
e.set("Switch", u);
|
|
36
|
+
e.set("RadioButtonGroup", g);
|
|
37
|
+
e.set("RadioGroup", f.Group);
|
|
38
|
+
e.set("Checkbox", i);
|
|
39
|
+
e.set("CheckboxGroup", i.Group);
|
|
40
|
+
e.set("ApiCascader", x);
|
|
41
|
+
e.set("Cascader", k);
|
|
42
|
+
e.set("Slider", d);
|
|
43
|
+
e.set("Rate", P);
|
|
44
|
+
e.set("Transfer", T);
|
|
45
|
+
e.set("ApiTransfer", M);
|
|
39
46
|
e.set("DatePicker", r);
|
|
40
47
|
e.set("MonthPicker", r.MonthPicker);
|
|
41
48
|
e.set("RangePicker", r.RangePicker);
|
|
42
49
|
e.set("WeekPicker", r.WeekPicker);
|
|
43
|
-
e.set("TimePicker",
|
|
44
|
-
e.set("TimeRangePicker",
|
|
45
|
-
e.set("StrengthMeter",
|
|
46
|
-
e.set("IconPicker",
|
|
47
|
-
e.set("InputCountDown",
|
|
48
|
-
e.set("Divider",
|
|
49
|
-
e.set("CropperAvatar",
|
|
50
|
-
e.set("BasicTitle",
|
|
50
|
+
e.set("TimePicker", s);
|
|
51
|
+
e.set("TimeRangePicker", s.TimeRangePicker);
|
|
52
|
+
e.set("StrengthMeter", S);
|
|
53
|
+
e.set("IconPicker", _);
|
|
54
|
+
e.set("InputCountDown", A);
|
|
55
|
+
e.set("Divider", l);
|
|
56
|
+
e.set("CropperAvatar", I);
|
|
57
|
+
e.set("BasicTitle", C);
|
|
58
|
+
function V(o, p) {
|
|
59
|
+
e.set(o, p);
|
|
60
|
+
}
|
|
61
|
+
function X(o) {
|
|
62
|
+
e.delete(o);
|
|
63
|
+
}
|
|
51
64
|
export {
|
|
52
|
-
|
|
65
|
+
V as add,
|
|
66
|
+
e as componentMap,
|
|
67
|
+
X as del
|
|
53
68
|
};
|
|
@@ -21,8 +21,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
21
21
|
immediate: boolean;
|
|
22
22
|
}>>> & {
|
|
23
23
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
25
24
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
immediate: boolean;
|
|
28
28
|
params: string | Record<string, any>;
|
|
@@ -37,11 +37,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
37
37
|
options: () => never[];
|
|
38
38
|
}>>> & {
|
|
39
39
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
41
40
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
options: ApiSelectOption[];
|
|
44
43
|
immediate: boolean;
|
|
44
|
+
options: ApiSelectOption[];
|
|
45
45
|
params: Record<string, any>;
|
|
46
46
|
resultField: string;
|
|
47
47
|
labelField: string;
|
|
@@ -27,12 +27,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
27
27
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
disabled: boolean;
|
|
30
|
-
showSearch: boolean;
|
|
31
30
|
immediate: boolean;
|
|
32
31
|
resultField: string;
|
|
33
32
|
labelField: string;
|
|
34
33
|
valueField: string;
|
|
35
34
|
alwaysLoad: boolean;
|
|
35
|
+
showSearch: boolean;
|
|
36
36
|
showSelectAll: boolean;
|
|
37
37
|
}, {}>;
|
|
38
38
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import { defineComponent as k, useAttrs as w, ref as u, computed as B, unref as
|
|
|
2
2
|
import { TreeSelect as x } from "ant-design-vue";
|
|
3
3
|
import { get as z } from "lodash-unified";
|
|
4
4
|
import { LoadingOutlined as I } from "@ant-design/icons-vue";
|
|
5
|
-
import {
|
|
5
|
+
import { isArray as m, isFunction as M } from "@fruits-chain/utils";
|
|
6
6
|
const H = /* @__PURE__ */ k({
|
|
7
7
|
name: "ApApiTreeSelect",
|
|
8
8
|
__name: "api-tree-select",
|
|
@@ -14,8 +14,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
14
14
|
resultField: string;
|
|
15
15
|
}>>> & {
|
|
16
16
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
18
17
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
immediate: boolean;
|
|
21
21
|
resultField: string;
|
|
@@ -1,107 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Col as F, Form as R } from "ant-design-vue";
|
|
3
|
-
import { BaseButton as B } from "../../base-button/index.mjs";
|
|
4
|
-
import { BasicArrow as G } from "../../basic/index.mjs";
|
|
5
|
-
import { useFormContext as P } from "../hooks/use-form-context.mjs";
|
|
6
|
-
import "../../config-provider/index.mjs";
|
|
7
|
-
import "./style/form-action.css";
|
|
8
|
-
import { useLocale as q } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
|
-
import { useNamespace as D } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
-
const X = /* @__PURE__ */ T({
|
|
11
|
-
name: "BasicFormAction",
|
|
12
|
-
__name: "form-action",
|
|
13
|
-
props: {
|
|
14
|
-
showActionButtonGroup: { type: Boolean, default: !0 },
|
|
15
|
-
showResetButton: { type: Boolean, default: !0 },
|
|
16
|
-
showSubmitButton: { type: Boolean, default: !0 },
|
|
17
|
-
showAdvancedButton: { type: Boolean, default: !0 },
|
|
18
|
-
resetButtonOptions: { default: () => ({}) },
|
|
19
|
-
submitButtonOptions: {},
|
|
20
|
-
actionColOptions: { default: () => ({}) },
|
|
21
|
-
actionSpan: { default: 6 },
|
|
22
|
-
isAdvanced: { type: Boolean },
|
|
23
|
-
hideAdvanceBtn: { type: Boolean }
|
|
24
|
-
},
|
|
25
|
-
emits: ["toggle-advanced"],
|
|
26
|
-
setup(h, { emit: O }) {
|
|
27
|
-
const r = h, b = O, { t: n } = q(), { em: c } = D("form-action"), { resetAction: k, submitAction: w } = P(), f = u(() => {
|
|
28
|
-
const { showAdvancedButton: t, actionSpan: A, actionColOptions: x } = r, g = 24 - A, N = t ? { span: g < 6 ? 24 : g } : {};
|
|
29
|
-
return {
|
|
30
|
-
style: { textAlign: "right" },
|
|
31
|
-
span: t ? 6 : 4,
|
|
32
|
-
...N,
|
|
33
|
-
...x
|
|
34
|
-
};
|
|
35
|
-
}), v = u(() => Object.assign(
|
|
36
|
-
{
|
|
37
|
-
text: n("ap.common.resetText")
|
|
38
|
-
},
|
|
39
|
-
r.resetButtonOptions
|
|
40
|
-
)), y = u(() => Object.assign(
|
|
41
|
-
{
|
|
42
|
-
text: n("ap.common.queryText")
|
|
43
|
-
},
|
|
44
|
-
r.submitButtonOptions
|
|
45
|
-
));
|
|
46
|
-
function S() {
|
|
47
|
-
b("toggle-advanced");
|
|
48
|
-
}
|
|
49
|
-
return (t, A) => t.showActionButtonGroup ? (a(), s(e(F), z(p({ key: 0 }, f.value)), {
|
|
50
|
-
default: o(() => [
|
|
51
|
-
V("div", {
|
|
52
|
-
style: $([{ width: "100%" }, { textAlign: f.value.style.textAlign }])
|
|
53
|
-
}, [
|
|
54
|
-
C(e(R).Item, null, {
|
|
55
|
-
default: o(() => [
|
|
56
|
-
i(t.$slots, "resetBefore"),
|
|
57
|
-
t.showResetButton ? (a(), s(e(B), p({
|
|
58
|
-
key: 0,
|
|
59
|
-
type: "default",
|
|
60
|
-
class: e(c)("button", "space")
|
|
61
|
-
}, v.value, { onClick: e(k) }), {
|
|
62
|
-
default: o(() => [
|
|
63
|
-
m(d(v.value.text), 1)
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
}, 16, ["class", "onClick"])) : l("", !0),
|
|
67
|
-
i(t.$slots, "submitBefore"),
|
|
68
|
-
t.showSubmitButton ? (a(), s(e(B), p({
|
|
69
|
-
key: 1,
|
|
70
|
-
type: "primary",
|
|
71
|
-
class: e(c)("button", "space")
|
|
72
|
-
}, y.value, { onClick: e(w) }), {
|
|
73
|
-
default: o(() => [
|
|
74
|
-
m(d(y.value.text), 1)
|
|
75
|
-
]),
|
|
76
|
-
_: 1
|
|
77
|
-
}, 16, ["class", "onClick"])) : l("", !0),
|
|
78
|
-
i(t.$slots, "advanceBefore"),
|
|
79
|
-
t.showAdvancedButton && !t.hideAdvanceBtn ? (a(), s(e(B), {
|
|
80
|
-
key: 2,
|
|
81
|
-
type: "link",
|
|
82
|
-
size: "small",
|
|
83
|
-
onClick: S
|
|
84
|
-
}, {
|
|
85
|
-
default: o(() => [
|
|
86
|
-
m(d(t.isAdvanced ? e(n)("ap.common.closeText") : e(n)("ap.common.expandText")) + " ", 1),
|
|
87
|
-
C(e(G), {
|
|
88
|
-
class: j(e(c)("item", "space")),
|
|
89
|
-
expand: !t.isAdvanced,
|
|
90
|
-
up: ""
|
|
91
|
-
}, null, 8, ["class", "expand"])
|
|
92
|
-
]),
|
|
93
|
-
_: 1
|
|
94
|
-
})) : l("", !0),
|
|
95
|
-
i(t.$slots, "advanceAfter")
|
|
96
|
-
]),
|
|
97
|
-
_: 3
|
|
98
|
-
})
|
|
99
|
-
], 4)
|
|
100
|
-
]),
|
|
101
|
-
_: 3
|
|
102
|
-
}, 16)) : l("", !0);
|
|
103
|
-
}
|
|
104
|
-
});
|
|
1
|
+
import f from "./form-action.vue2.mjs";
|
|
105
2
|
export {
|
|
106
|
-
|
|
3
|
+
f as default
|
|
107
4
|
};
|
|
@@ -1,4 +1,107 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as T, computed as u, openBlock as a, createBlock as s, unref as e, normalizeProps as z, mergeProps as p, withCtx as o, createElementVNode as V, normalizeStyle as $, createVNode as C, renderSlot as i, createTextVNode as m, toDisplayString as d, createCommentVNode as l, normalizeClass as j } from "vue";
|
|
2
|
+
import { Col as F, Form as R } from "ant-design-vue";
|
|
3
|
+
import { BaseButton as B } from "../../base-button/index.mjs";
|
|
4
|
+
import { BasicArrow as G } from "../../basic/index.mjs";
|
|
5
|
+
import { useFormContext as P } from "../hooks/use-form-context.mjs";
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
7
|
+
import "./style/form-action.css";
|
|
8
|
+
import { useLocale as q } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
|
+
import { useNamespace as D } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
const X = /* @__PURE__ */ T({
|
|
11
|
+
name: "BasicFormAction",
|
|
12
|
+
__name: "form-action",
|
|
13
|
+
props: {
|
|
14
|
+
showActionButtonGroup: { type: Boolean, default: !0 },
|
|
15
|
+
showResetButton: { type: Boolean, default: !0 },
|
|
16
|
+
showSubmitButton: { type: Boolean, default: !0 },
|
|
17
|
+
showAdvancedButton: { type: Boolean, default: !0 },
|
|
18
|
+
resetButtonOptions: { default: () => ({}) },
|
|
19
|
+
submitButtonOptions: {},
|
|
20
|
+
actionColOptions: { default: () => ({}) },
|
|
21
|
+
actionSpan: { default: 6 },
|
|
22
|
+
isAdvanced: { type: Boolean },
|
|
23
|
+
hideAdvanceBtn: { type: Boolean }
|
|
24
|
+
},
|
|
25
|
+
emits: ["toggle-advanced"],
|
|
26
|
+
setup(h, { emit: O }) {
|
|
27
|
+
const r = h, b = O, { t: n } = q(), { em: c } = D("form-action"), { resetAction: k, submitAction: w } = P(), f = u(() => {
|
|
28
|
+
const { showAdvancedButton: t, actionSpan: A, actionColOptions: x } = r, g = 24 - A, N = t ? { span: g < 6 ? 24 : g } : {};
|
|
29
|
+
return {
|
|
30
|
+
style: { textAlign: "right" },
|
|
31
|
+
span: t ? 6 : 4,
|
|
32
|
+
...N,
|
|
33
|
+
...x
|
|
34
|
+
};
|
|
35
|
+
}), v = u(() => Object.assign(
|
|
36
|
+
{
|
|
37
|
+
text: n("ap.common.resetText")
|
|
38
|
+
},
|
|
39
|
+
r.resetButtonOptions
|
|
40
|
+
)), y = u(() => Object.assign(
|
|
41
|
+
{
|
|
42
|
+
text: n("ap.common.queryText")
|
|
43
|
+
},
|
|
44
|
+
r.submitButtonOptions
|
|
45
|
+
));
|
|
46
|
+
function S() {
|
|
47
|
+
b("toggle-advanced");
|
|
48
|
+
}
|
|
49
|
+
return (t, A) => t.showActionButtonGroup ? (a(), s(e(F), z(p({ key: 0 }, f.value)), {
|
|
50
|
+
default: o(() => [
|
|
51
|
+
V("div", {
|
|
52
|
+
style: $([{ width: "100%" }, { textAlign: f.value.style.textAlign }])
|
|
53
|
+
}, [
|
|
54
|
+
C(e(R).Item, null, {
|
|
55
|
+
default: o(() => [
|
|
56
|
+
i(t.$slots, "resetBefore"),
|
|
57
|
+
t.showResetButton ? (a(), s(e(B), p({
|
|
58
|
+
key: 0,
|
|
59
|
+
type: "default",
|
|
60
|
+
class: e(c)("button", "space")
|
|
61
|
+
}, v.value, { onClick: e(k) }), {
|
|
62
|
+
default: o(() => [
|
|
63
|
+
m(d(v.value.text), 1)
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 16, ["class", "onClick"])) : l("", !0),
|
|
67
|
+
i(t.$slots, "submitBefore"),
|
|
68
|
+
t.showSubmitButton ? (a(), s(e(B), p({
|
|
69
|
+
key: 1,
|
|
70
|
+
type: "primary",
|
|
71
|
+
class: e(c)("button", "space")
|
|
72
|
+
}, y.value, { onClick: e(w) }), {
|
|
73
|
+
default: o(() => [
|
|
74
|
+
m(d(y.value.text), 1)
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 16, ["class", "onClick"])) : l("", !0),
|
|
78
|
+
i(t.$slots, "advanceBefore"),
|
|
79
|
+
t.showAdvancedButton && !t.hideAdvanceBtn ? (a(), s(e(B), {
|
|
80
|
+
key: 2,
|
|
81
|
+
type: "link",
|
|
82
|
+
size: "small",
|
|
83
|
+
onClick: S
|
|
84
|
+
}, {
|
|
85
|
+
default: o(() => [
|
|
86
|
+
m(d(t.isAdvanced ? e(n)("ap.common.closeText") : e(n)("ap.common.expandText")) + " ", 1),
|
|
87
|
+
C(e(G), {
|
|
88
|
+
class: j(e(c)("item", "space")),
|
|
89
|
+
expand: !t.isAdvanced,
|
|
90
|
+
up: ""
|
|
91
|
+
}, null, 8, ["class", "expand"])
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
})) : l("", !0),
|
|
95
|
+
i(t.$slots, "advanceAfter")
|
|
96
|
+
]),
|
|
97
|
+
_: 3
|
|
98
|
+
})
|
|
99
|
+
], 4)
|
|
100
|
+
]),
|
|
101
|
+
_: 3
|
|
102
|
+
}, 16)) : l("", !0);
|
|
103
|
+
}
|
|
104
|
+
});
|
|
2
105
|
export {
|
|
3
|
-
|
|
106
|
+
X as default
|
|
4
107
|
};
|