@aplus-frontend/ui 0.0.1-beta.7 → 0.0.1-beta.9
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 +163 -156
- package/es/src/ap-action/group/index.vue.mjs +22 -18
- package/es/src/ap-action/index.mjs +7 -4
- package/es/src/ap-action/interface.mjs +1 -0
- package/es/src/ap-action/item/index.vue.mjs +2 -47
- package/es/src/ap-action/item/index.vue2.mjs +47 -2
- package/es/src/ap-action/item-dropdown/index.vue.mjs +14 -11
- package/es/src/ap-action/item-modal/index.vue.mjs +9 -8
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +10 -8
- package/es/src/ap-field/checkbox/index.vue.mjs +32 -25
- package/es/src/ap-field/date/index.vue.mjs +19 -20
- 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 +3 -2
- 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.mjs +30 -32
- package/es/src/ap-field/radio/index.vue.mjs +40 -34
- package/es/src/ap-field/select/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +6 -6
- package/es/src/ap-field/text/index.vue.d.ts +5 -5
- package/es/src/ap-field/text/index.vue.mjs +29 -29
- 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.d.ts +3 -0
- package/es/src/ap-form/ap-form-item.vue.mjs +2 -74
- package/es/src/ap-form/ap-form-item.vue2.mjs +80 -2
- package/es/src/ap-form/index.d.ts +31 -1682
- package/es/src/ap-form/index.mjs +12 -7
- package/es/src/ap-form/interface.d.ts +3 -1
- package/es/src/ap-form/items/index.d.ts +3 -0
- package/es/src/ap-form/items/index.mjs +1 -0
- package/es/src/ap-form/items/interface.d.ts +12 -0
- package/es/src/ap-form/items/text/index.vue.d.ts +69 -0
- package/es/src/ap-form/items/text/index.vue.mjs +102 -0
- package/es/src/ap-form/items/text/index.vue2.mjs +4 -0
- package/es/src/ap-form/style/ap-form-item.css +4 -0
- 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.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-props.d.ts +4 -0
- package/es/src/config-provider/config-provider-props.mjs +6 -2
- package/es/src/config-provider/config-provider.d.ts +9 -0
- package/es/src/config-provider/config-provider.mjs +20 -16
- package/es/src/config-provider/hooks/use-global-config.d.ts +4 -0
- package/es/src/config-provider/hooks/use-locale.mjs +1 -0
- package/es/src/config-provider/index.d.ts +19 -0
- 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/collapse/style/header.css +1 -1
- package/es/src/container/collapse/style/index.css +1 -1
- 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.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.mjs +2 -94
- package/es/src/cropper/cropper-avatar.vue2.mjs +96 -2
- 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.mjs +8 -5
- package/es/src/cropper/interface.mjs +1 -0
- package/es/src/cropper/style/avatar.css +1 -1
- package/es/src/cropper/style/modal.css +2 -2
- package/es/src/description/description.vue.mjs +2 -169
- package/es/src/description/description.vue2.mjs +169 -2
- package/es/src/description/index.mjs +8 -5
- package/es/src/description/interface.mjs +1 -0
- package/es/src/dropdown/dropdown.vue.mjs +2 -92
- package/es/src/dropdown/dropdown.vue2.mjs +92 -2
- 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.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.mjs +2 -166
- package/es/src/icon-picker/icon-picker.vue2.mjs +168 -2
- package/es/src/icon-picker/index.mjs +7 -5
- package/es/src/icon-picker/interface.mjs +1 -0
- package/es/src/index.mjs +163 -155
- package/es/src/locale/index.mjs +7 -0
- package/es/src/locale/interface.mjs +1 -0
- package/es/src/modal/basic.vue.mjs +2 -195
- 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.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.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.mjs +10 -7
- package/es/src/modal/interface.mjs +1 -0
- package/es/src/modal/style/index.css +1 -1
- package/es/src/pro-form/component-map.mjs +56 -41
- package/es/src/pro-form/components/api-tree-select.vue.mjs +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/index.d.ts +1 -0
- package/es/src/pro-form/index.mjs +34 -34
- package/es/src/pro-form/pro-form.vue.d.ts +1 -1
- 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.d.ts +1 -1
- package/es/src/pro-table/interface.mjs +1 -0
- package/es/src/pro-table/pro-table.vue.d.ts +3 -0
- package/es/src/pro-table/pro-table.vue.mjs +69 -70
- 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.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-form/ap-form-item.css +4 -0
- package/es/src/theme/collapse-container/header.css +1 -1
- package/es/src/theme/collapse-container/index.css +1 -1
- package/es/src/theme/cropper/avatar.css +1 -1
- package/es/src/theme/cropper/modal.css +2 -2
- package/es/src/theme/modal/index.css +1 -1
- 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/group/index.vue.js +1 -1
- package/lib/src/ap-action/index.js +1 -1
- package/lib/src/ap-action/interface.js +1 -0
- package/lib/src/ap-action/item/index.vue.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/index.d.ts +12 -0
- package/lib/src/ap-field/index.js +1 -0
- package/lib/src/ap-field/interface.d.ts +3 -2
- 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.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +5 -5
- package/lib/src/ap-field/text/index.vue.js +1 -1
- 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.d.ts +3 -0
- 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/index.d.ts +31 -1682
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +3 -1
- package/lib/src/ap-form/items/index.d.ts +3 -0
- package/lib/src/ap-form/items/index.js +1 -0
- package/lib/src/ap-form/items/interface.d.ts +12 -0
- package/lib/src/ap-form/items/text/index.vue.d.ts +69 -0
- package/lib/src/ap-form/items/text/index.vue.js +1 -0
- package/lib/src/ap-form/items/text/index.vue2.js +1 -0
- package/lib/src/ap-form/style/ap-form-item.css +4 -0
- 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.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-props.d.ts +4 -0
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +9 -0
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -0
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.d.ts +19 -0
- 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/collapse/style/header.css +1 -1
- package/lib/src/container/collapse/style/index.css +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.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.js +1 -1
- package/lib/src/cropper/cropper-avatar.vue2.js +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.js +1 -1
- package/lib/src/cropper/interface.js +1 -0
- package/lib/src/cropper/style/avatar.css +1 -1
- package/lib/src/cropper/style/modal.css +2 -2
- package/lib/src/description/description.vue.js +1 -1
- package/lib/src/description/description.vue2.js +1 -1
- package/lib/src/description/index.js +1 -1
- package/lib/src/description/interface.js +1 -0
- package/lib/src/dropdown/dropdown.vue.js +1 -1
- package/lib/src/dropdown/dropdown.vue2.js +1 -1
- 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.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.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue2.js +1 -1
- package/lib/src/icon-picker/index.js +1 -1
- package/lib/src/icon-picker/interface.js +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.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.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/index.js +1 -1
- package/lib/src/modal/interface.js +1 -0
- package/lib/src/modal/style/index.css +1 -1
- package/lib/src/pro-form/component-map.js +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/index.d.ts +1 -0
- package/lib/src/pro-form/index.js +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
- 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.d.ts +1 -1
- package/lib/src/pro-table/interface.js +1 -0
- package/lib/src/pro-table/pro-table.vue.d.ts +3 -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.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-form/ap-form-item.css +4 -0
- package/lib/src/theme/collapse-container/header.css +1 -1
- package/lib/src/theme/collapse-container/index.css +1 -1
- package/lib/src/theme/cropper/avatar.css +1 -1
- package/lib/src/theme/cropper/modal.css +2 -2
- package/lib/src/theme/modal/index.css +1 -1
- 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 +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isVNode as x, defineComponent as B, ref as v, useSlots as g, computed as b, createVNode as p, mergeProps as C, unref as i, Fragment as h, openBlock as S, createBlock as _, resolveDynamicComponent as R } from "vue";
|
|
2
2
|
import { Input as V } from "ant-design-vue";
|
|
3
|
-
import "../../hooks/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import "../../hooks/index.mjs";
|
|
4
|
+
import { omit as j } from "lodash-unified";
|
|
5
|
+
import { useControllableValue as F } from "../../hooks/useControllableValue.mjs";
|
|
6
6
|
function T(u) {
|
|
7
|
-
return typeof u == "function" || Object.prototype.toString.call(u) === "[object Object]" && !
|
|
7
|
+
return typeof u == "function" || Object.prototype.toString.call(u) === "[object Object]" && !x(u);
|
|
8
8
|
}
|
|
9
|
-
const P = /* @__PURE__ */
|
|
9
|
+
const P = /* @__PURE__ */ B({
|
|
10
10
|
name: "ApFieldText",
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
@@ -84,47 +84,47 @@ const P = /* @__PURE__ */ y({
|
|
|
84
84
|
},
|
|
85
85
|
emits: ["update:value"],
|
|
86
86
|
setup(u, {
|
|
87
|
-
expose:
|
|
88
|
-
emit:
|
|
87
|
+
expose: c,
|
|
88
|
+
emit: d
|
|
89
89
|
}) {
|
|
90
|
-
const
|
|
91
|
-
|
|
90
|
+
const n = v(), t = g();
|
|
91
|
+
c({
|
|
92
92
|
focus: (e) => {
|
|
93
93
|
var o;
|
|
94
|
-
(o =
|
|
94
|
+
(o = n.value) == null || o.focus(e);
|
|
95
95
|
},
|
|
96
96
|
blur: () => {
|
|
97
97
|
var e;
|
|
98
|
-
(e =
|
|
98
|
+
(e = n.value) == null || e.blur();
|
|
99
99
|
},
|
|
100
|
-
setSelectionRange: (e, o,
|
|
101
|
-
var
|
|
102
|
-
(
|
|
100
|
+
setSelectionRange: (e, o, y) => {
|
|
101
|
+
var r;
|
|
102
|
+
(r = n.value) == null || r.setSelectionRange(e, o, y);
|
|
103
103
|
},
|
|
104
104
|
select: () => {
|
|
105
105
|
var e;
|
|
106
|
-
(e =
|
|
106
|
+
(e = n.value) == null || e.select();
|
|
107
107
|
},
|
|
108
|
-
input:
|
|
108
|
+
input: b(() => {
|
|
109
109
|
var e;
|
|
110
|
-
return (e =
|
|
110
|
+
return (e = n.value) == null ? void 0 : e.input;
|
|
111
111
|
})
|
|
112
112
|
});
|
|
113
|
-
const
|
|
114
|
-
value:
|
|
115
|
-
updateValue:
|
|
116
|
-
} =
|
|
117
|
-
function
|
|
113
|
+
const f = d, a = u, {
|
|
114
|
+
value: l,
|
|
115
|
+
updateValue: s
|
|
116
|
+
} = F(a, f);
|
|
117
|
+
function m() {
|
|
118
118
|
var e, o;
|
|
119
|
-
return
|
|
120
|
-
value:
|
|
121
|
-
"onUpdate:value":
|
|
122
|
-
ref:
|
|
119
|
+
return a.mode === "edit" ? p(V, C(j(a, ["mode", "emptyText"]), {
|
|
120
|
+
value: i(l),
|
|
121
|
+
"onUpdate:value": s,
|
|
122
|
+
ref: n
|
|
123
123
|
}), T(t) ? t : {
|
|
124
124
|
default: () => [t]
|
|
125
|
-
}) :
|
|
125
|
+
}) : p(h, null, [a.prefix || ((e = t == null ? void 0 : t.prefix) == null ? void 0 : e.call(t)), i(l) || a.emptyText, a.suffix || ((o = t == null ? void 0 : t.suffix) == null ? void 0 : o.call(t))]);
|
|
126
126
|
}
|
|
127
|
-
return (e, o) => (
|
|
127
|
+
return (e, o) => (S(), _(R(m())));
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as c, ref as f, computed as y, openBlock as r, createElementBlock as B, normalizeClass as x, unref as o, toDisplayString as v, createBlock as b, mergeProps as z } from "vue";
|
|
2
2
|
import { isNil as C } from "lodash-unified";
|
|
3
|
-
import "../../hooks/
|
|
4
|
-
import { useControllableValue as h } from "../../hooks/useControllableValue.mjs";
|
|
3
|
+
import "../../hooks/index.mjs";
|
|
5
4
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import { Input as
|
|
5
|
+
import { Input as h } from "ant-design-vue";
|
|
7
6
|
import "./style.css";
|
|
7
|
+
import { useControllableValue as g } from "../../hooks/useControllableValue.mjs";
|
|
8
8
|
import { useNamespace as A } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
const I = /* @__PURE__ */ c({
|
|
10
10
|
name: "ApFieldTextArea",
|
|
@@ -56,7 +56,7 @@ const I = /* @__PURE__ */ c({
|
|
|
56
56
|
},
|
|
57
57
|
emits: ["update:value"],
|
|
58
58
|
setup(u, { expose: p, emit: s }) {
|
|
59
|
-
const t = f(), n = u, i = s, { value: a, updateValue: d } =
|
|
59
|
+
const t = f(), n = u, i = s, { value: a, updateValue: d } = g(n, i), { b: m } = A("field-text-area");
|
|
60
60
|
return p({
|
|
61
61
|
focus: (e) => {
|
|
62
62
|
var l;
|
|
@@ -73,7 +73,7 @@ const I = /* @__PURE__ */ c({
|
|
|
73
73
|
}), (e, l) => e.mode === "read" ? (r(), B("span", {
|
|
74
74
|
key: 0,
|
|
75
75
|
class: x(o(m)())
|
|
76
|
-
}, v(o(C)(o(a)) || o(a) === "" ? e.emptyText : o(a)), 3)) : (r(), b(o(
|
|
76
|
+
}, v(o(C)(o(a)) || o(a) === "" ? e.emptyText : o(a)), 3)) : (r(), b(o(h).TextArea, z({ key: 1 }, n, {
|
|
77
77
|
value: o(a),
|
|
78
78
|
"onUpdate:value": o(d),
|
|
79
79
|
ref_key: "textAreaRef",
|
|
@@ -1,58 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Col as j, Row as B } from "ant-design-vue";
|
|
3
|
-
import { pick as N } from "lodash-unified";
|
|
4
|
-
import { apFormItemColPropKeys as P } from "../constant.mjs";
|
|
5
|
-
import { buildColSpan as h } from "./helper.mjs";
|
|
6
|
-
import "../../config-provider/index.mjs";
|
|
7
|
-
import "../style/ap-form-item-group.css";
|
|
8
|
-
import { useNamespace as F } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
-
function R(t) {
|
|
10
|
-
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !S(t);
|
|
11
|
-
}
|
|
12
|
-
const L = /* @__PURE__ */ y({
|
|
13
|
-
name: "ApFormItemGroup",
|
|
14
|
-
__name: "index",
|
|
15
|
-
props: {
|
|
16
|
-
align: {},
|
|
17
|
-
justify: {},
|
|
18
|
-
prefixCls: {},
|
|
19
|
-
gutter: {
|
|
20
|
-
default: 16
|
|
21
|
-
},
|
|
22
|
-
wrap: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: void 0
|
|
25
|
-
},
|
|
26
|
-
countPerRow: {
|
|
27
|
-
default: 3
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
setup(t) {
|
|
31
|
-
const {
|
|
32
|
-
b: p
|
|
33
|
-
} = F("ap-form-item-group"), {
|
|
34
|
-
countPerRow: l,
|
|
35
|
-
...i
|
|
36
|
-
} = t, u = C().default().map((r, c) => {
|
|
37
|
-
const e = r.props, o = N(e, P), f = o != null && o.span ? {} : h(l), d = !!(e != null && e.hidden);
|
|
38
|
-
return _(j, a({
|
|
39
|
-
key: c
|
|
40
|
-
}, f, o, {
|
|
41
|
-
class: d ? p("col-hidden") : ""
|
|
42
|
-
}), R(r) ? r : {
|
|
43
|
-
default: () => [r]
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
return (r, c) => (n(), m(s(B), a({
|
|
47
|
-
class: s(p)()
|
|
48
|
-
}, i), {
|
|
49
|
-
default: g(() => [(n(!0), k(b, null, w(s(u), (e, o) => (n(), m(x(e), {
|
|
50
|
-
key: o
|
|
51
|
-
}))), 128))]),
|
|
52
|
-
_: 1
|
|
53
|
-
}, 16, ["class"]));
|
|
54
|
-
}
|
|
55
|
-
});
|
|
1
|
+
import f from "./index.vue2.mjs";
|
|
56
2
|
export {
|
|
57
|
-
|
|
3
|
+
f as default
|
|
58
4
|
};
|
|
@@ -1,4 +1,58 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { isVNode as y, defineComponent as C, useSlots as _, createVNode as g, mergeProps as a, openBlock as n, createBlock as m, unref as s, withCtx as k, createElementBlock as b, Fragment as w, renderList as x, resolveDynamicComponent as S } from "vue";
|
|
2
|
+
import { Col as j, Row as B } from "ant-design-vue";
|
|
3
|
+
import { pick as N } from "lodash-unified";
|
|
4
|
+
import { apFormItemColPropKeys as P } from "../constant.mjs";
|
|
5
|
+
import { buildColSpan as h } from "./helper.mjs";
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
7
|
+
import "../style/ap-form-item-group.css";
|
|
8
|
+
import { useNamespace as F } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
function R(t) {
|
|
10
|
+
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !y(t);
|
|
11
|
+
}
|
|
12
|
+
const L = /* @__PURE__ */ C({
|
|
13
|
+
name: "ApFormItemGroup",
|
|
14
|
+
__name: "index",
|
|
15
|
+
props: {
|
|
16
|
+
align: {},
|
|
17
|
+
justify: {},
|
|
18
|
+
prefixCls: {},
|
|
19
|
+
gutter: {
|
|
20
|
+
default: 16
|
|
21
|
+
},
|
|
22
|
+
wrap: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: void 0
|
|
25
|
+
},
|
|
26
|
+
countPerRow: {
|
|
27
|
+
default: 3
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(t) {
|
|
31
|
+
const {
|
|
32
|
+
b: p
|
|
33
|
+
} = F("ap-form-item-group"), {
|
|
34
|
+
countPerRow: l,
|
|
35
|
+
...i
|
|
36
|
+
} = t, u = _().default().map((r, c) => {
|
|
37
|
+
const e = r.props, o = N(e, P), f = o != null && o.span ? {} : h(l), d = !!(e != null && e.hidden);
|
|
38
|
+
return g(j, a({
|
|
39
|
+
key: c
|
|
40
|
+
}, f, o, {
|
|
41
|
+
class: d ? p("col-hidden") : ""
|
|
42
|
+
}), R(r) ? r : {
|
|
43
|
+
default: () => [r]
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
return (r, c) => (n(), m(s(B), a({
|
|
47
|
+
class: s(p)()
|
|
48
|
+
}, i), {
|
|
49
|
+
default: k(() => [(n(!0), b(w, null, x(s(u), (e, o) => (n(), m(S(e), {
|
|
50
|
+
key: o
|
|
51
|
+
}))), 128))]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 16, ["class"]));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
2
56
|
export {
|
|
3
|
-
|
|
57
|
+
L as default
|
|
4
58
|
};
|
|
@@ -7,14 +7,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7
7
|
autoLink: boolean;
|
|
8
8
|
required: undefined;
|
|
9
9
|
validateFirst: undefined;
|
|
10
|
+
bordered: boolean;
|
|
10
11
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemProps>, {
|
|
11
12
|
hasFeedback: boolean;
|
|
12
13
|
colon: undefined;
|
|
13
14
|
autoLink: boolean;
|
|
14
15
|
required: undefined;
|
|
15
16
|
validateFirst: undefined;
|
|
17
|
+
bordered: boolean;
|
|
16
18
|
}>>>, {
|
|
17
19
|
required: boolean;
|
|
20
|
+
bordered: boolean;
|
|
18
21
|
colon: boolean;
|
|
19
22
|
hasFeedback: boolean;
|
|
20
23
|
autoLink: boolean;
|
|
@@ -1,76 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Form as x, Tooltip as B } from "ant-design-vue";
|
|
3
|
-
import { omit as v } from "lodash-unified";
|
|
4
|
-
import { apFormItemColPropKeys as C } from "./constant.mjs";
|
|
5
|
-
import { QuestionCircleOutlined as h } from "@ant-design/icons-vue";
|
|
6
|
-
const I = /* @__PURE__ */ i({
|
|
7
|
-
name: "ApFormItem",
|
|
8
|
-
__name: "ap-form-item",
|
|
9
|
-
props: {
|
|
10
|
-
htmlFor: {},
|
|
11
|
-
prefixCls: {},
|
|
12
|
-
label: {},
|
|
13
|
-
help: {},
|
|
14
|
-
extra: {},
|
|
15
|
-
labelCol: {},
|
|
16
|
-
wrapperCol: {},
|
|
17
|
-
hasFeedback: { type: Boolean, default: !1 },
|
|
18
|
-
colon: { type: Boolean, default: void 0 },
|
|
19
|
-
labelAlign: {},
|
|
20
|
-
prop: {},
|
|
21
|
-
name: {},
|
|
22
|
-
rules: {},
|
|
23
|
-
autoLink: { type: Boolean, default: !0 },
|
|
24
|
-
required: { type: Boolean, default: void 0 },
|
|
25
|
-
validateFirst: { type: Boolean, default: void 0 },
|
|
26
|
-
validateStatus: {},
|
|
27
|
-
validateTrigger: {},
|
|
28
|
-
messageVariables: {},
|
|
29
|
-
hidden: { type: Boolean },
|
|
30
|
-
noStyle: { type: Boolean },
|
|
31
|
-
tooltip: {},
|
|
32
|
-
span: {},
|
|
33
|
-
order: {},
|
|
34
|
-
offset: {},
|
|
35
|
-
push: {},
|
|
36
|
-
pull: {},
|
|
37
|
-
xs: {},
|
|
38
|
-
sm: {},
|
|
39
|
-
md: {},
|
|
40
|
-
lg: {},
|
|
41
|
-
xl: {},
|
|
42
|
-
xxl: {},
|
|
43
|
-
flex: {}
|
|
44
|
-
},
|
|
45
|
-
setup(a) {
|
|
46
|
-
const o = a;
|
|
47
|
-
return (r, _) => (s(), n(e(x).Item, m(d(e(v)(o, [...e(C), "tooltip"]))), f({
|
|
48
|
-
default: t(() => [
|
|
49
|
-
u(r.$slots, "default")
|
|
50
|
-
]),
|
|
51
|
-
_: 2
|
|
52
|
-
}, [
|
|
53
|
-
o.tooltip ? {
|
|
54
|
-
name: "tooltip",
|
|
55
|
-
fn: t(({ class: p }) => [
|
|
56
|
-
c("span", {
|
|
57
|
-
class: y(p)
|
|
58
|
-
}, [
|
|
59
|
-
l(e(B), {
|
|
60
|
-
title: o.tooltip
|
|
61
|
-
}, {
|
|
62
|
-
default: t(() => [
|
|
63
|
-
l(e(h), { style: { color: "#0070ff" } })
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
}, 8, ["title"])
|
|
67
|
-
], 2)
|
|
68
|
-
]),
|
|
69
|
-
key: "0"
|
|
70
|
-
} : void 0
|
|
71
|
-
]), 1040));
|
|
72
|
-
}
|
|
73
|
-
});
|
|
1
|
+
import f from "./ap-form-item.vue2.mjs";
|
|
74
2
|
export {
|
|
75
|
-
|
|
3
|
+
f as default
|
|
76
4
|
};
|
|
@@ -1,4 +1,82 @@
|
|
|
1
|
-
import f from "
|
|
1
|
+
import { defineComponent as i, openBlock as m, createBlock as n, unref as e, mergeProps as d, createSlots as f, withCtx as t, renderSlot as u, createElementVNode as c, normalizeClass as y, createVNode as a } from "vue";
|
|
2
|
+
import { Form as B, Tooltip as b } from "ant-design-vue";
|
|
3
|
+
import { omit as x } from "lodash-unified";
|
|
4
|
+
import { apFormItemColPropKeys as C } from "./constant.mjs";
|
|
5
|
+
import { QuestionCircleOutlined as h } from "@ant-design/icons-vue";
|
|
6
|
+
import "../config-provider/index.mjs";
|
|
7
|
+
import "./style/ap-form-item.css";
|
|
8
|
+
import { useNamespace as v } from "../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
const A = /* @__PURE__ */ i({
|
|
10
|
+
name: "ApFormItem",
|
|
11
|
+
__name: "ap-form-item",
|
|
12
|
+
props: {
|
|
13
|
+
htmlFor: {},
|
|
14
|
+
prefixCls: {},
|
|
15
|
+
label: {},
|
|
16
|
+
help: {},
|
|
17
|
+
extra: {},
|
|
18
|
+
labelCol: {},
|
|
19
|
+
wrapperCol: {},
|
|
20
|
+
hasFeedback: { type: Boolean, default: !1 },
|
|
21
|
+
colon: { type: Boolean, default: void 0 },
|
|
22
|
+
labelAlign: {},
|
|
23
|
+
prop: {},
|
|
24
|
+
name: {},
|
|
25
|
+
rules: {},
|
|
26
|
+
autoLink: { type: Boolean, default: !0 },
|
|
27
|
+
required: { type: Boolean, default: void 0 },
|
|
28
|
+
validateFirst: { type: Boolean, default: void 0 },
|
|
29
|
+
validateStatus: {},
|
|
30
|
+
validateTrigger: {},
|
|
31
|
+
messageVariables: {},
|
|
32
|
+
hidden: { type: Boolean },
|
|
33
|
+
noStyle: { type: Boolean },
|
|
34
|
+
tooltip: {},
|
|
35
|
+
span: {},
|
|
36
|
+
order: {},
|
|
37
|
+
offset: {},
|
|
38
|
+
push: {},
|
|
39
|
+
pull: {},
|
|
40
|
+
xs: {},
|
|
41
|
+
sm: {},
|
|
42
|
+
md: {},
|
|
43
|
+
lg: {},
|
|
44
|
+
xl: {},
|
|
45
|
+
xxl: {},
|
|
46
|
+
flex: {},
|
|
47
|
+
bordered: { type: Boolean, default: !1 }
|
|
48
|
+
},
|
|
49
|
+
setup(r) {
|
|
50
|
+
const o = r, { m: p } = v("ap-form-item");
|
|
51
|
+
return (l, g) => (m(), n(e(B).Item, d(e(x)(o, [...e(C), "tooltip"]), {
|
|
52
|
+
class: l.bordered ? e(p)("bordered") : null
|
|
53
|
+
}), f({
|
|
54
|
+
default: t(() => [
|
|
55
|
+
u(l.$slots, "default")
|
|
56
|
+
]),
|
|
57
|
+
_: 2
|
|
58
|
+
}, [
|
|
59
|
+
o.tooltip ? {
|
|
60
|
+
name: "tooltip",
|
|
61
|
+
fn: t(({ class: s }) => [
|
|
62
|
+
c("span", {
|
|
63
|
+
class: y(s)
|
|
64
|
+
}, [
|
|
65
|
+
a(e(b), {
|
|
66
|
+
title: o.tooltip
|
|
67
|
+
}, {
|
|
68
|
+
default: t(() => [
|
|
69
|
+
a(e(h), { style: { color: "#0070ff" } })
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
}, 8, ["title"])
|
|
73
|
+
], 2)
|
|
74
|
+
]),
|
|
75
|
+
key: "0"
|
|
76
|
+
} : void 0
|
|
77
|
+
]), 1040, ["class"]));
|
|
78
|
+
}
|
|
79
|
+
});
|
|
2
80
|
export {
|
|
3
|
-
|
|
81
|
+
A as default
|
|
4
82
|
};
|