@aplus-frontend/ui 6.17.2 → 6.19.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 +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- 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 +105 -105
- 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 +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +2 -2
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +26 -19
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-grid/utils/table.mjs +31 -31
- 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 -13
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +331 -331
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +73 -78
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +45 -30
- package/es/src/ap-tag/interface.d.ts +6 -0
- package/es/src/ap-tag/utils.d.ts +1 -0
- package/es/src/ap-tag/utils.mjs +12 -0
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +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 +1 -1
- 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 +3 -19
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +395 -144
- package/es/src/business/ap-draggable-grid/constans.d.ts +0 -8
- package/es/src/business/ap-draggable-grid/constans.mjs +0 -8
- package/es/src/business/ap-draggable-grid/index.d.ts +3 -31
- package/es/src/business/ap-draggable-grid/interface.d.ts +2 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- 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 +2 -2
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +2 -2
- 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/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 +105 -105
- 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/index.vue.d.ts +2 -4
- 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-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.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/constants.d.ts +331 -331
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +6 -0
- package/lib/src/ap-tag/utils.d.ts +1 -0
- package/lib/src/ap-tag/utils.js +1 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/index.d.ts +33 -11
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -19
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/constans.d.ts +0 -8
- package/lib/src/business/ap-draggable-grid/constans.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +3 -31
- package/lib/src/business/ap-draggable-grid/interface.d.ts +2 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- 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/index.vue.d.ts +2 -4
- 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 +3 -3
- package/theme/antdv-override.css +2 -6
- package/theme/antdv-override.less +2 -6
- package/theme/ap-descriptions/ap-descriptions.css +1 -1
- package/theme/ap-descriptions/ap-descriptions.less +1 -1
- package/theme/ap-draggable-grid/ap-draggable-grid.css +4 -3
- package/theme/ap-draggable-grid/ap-draggable-grid.less +4 -2
- package/theme/ap-label/ap-label.css +1 -0
- package/theme/ap-label/ap-label.less +1 -0
- package/theme/ap-tag/ap-tag.css +3 -1
- package/theme/ap-tag/ap-tag.less +3 -1
- package/theme/index.css +11 -11
- 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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y,
|
|
1
|
+
import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y, createElementBlock as k, createBlock as C, openBlock as d, createTextVNode as B, toDisplayString as D, resolveDynamicComponent as X, normalizeStyle as z, withCtx as P, createCommentVNode as ee, isRef as ne, renderList as A, mergeProps as oe, createSlots as te, renderSlot as ae, normalizeProps as re, guardReactiveProps as le } from "vue";
|
|
2
2
|
import { ApFieldDatePresetFormats as ue, PRESET_FORMAT_MAP as R, PRESET_FORMAT_PICK_MAP as de, PRESET_FORMAT_TIME_MAP as ie } from "../date/constant.mjs";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as F, omit as _, isString as h, isFunction as se } from "lodash-unified";
|
|
@@ -227,31 +227,31 @@ const Ee = /* @__PURE__ */ q({
|
|
|
227
227
|
key: 0
|
|
228
228
|
}, [S.value ? (d(), k(y, {
|
|
229
229
|
key: 0
|
|
230
|
-
}, [
|
|
230
|
+
}, [B(D((r = S.value[0]) == null ? void 0 : r.format(v.value)) + " ", 1), (d(), C(X(Z.value))), B(" " + D((l = S.value[1]) == null ? void 0 : l.format(v.value)), 1)], 64)) : (d(), k(y, {
|
|
231
231
|
key: 1
|
|
232
|
-
}, [
|
|
232
|
+
}, [B(D(e.emptyText), 1)], 64))], 64)) : (d(), C(t(fe), {
|
|
233
233
|
key: 1,
|
|
234
234
|
compact: "",
|
|
235
235
|
style: z({
|
|
236
236
|
display: Array.isArray(n.timezone) && n.timezone.length ? "flex" : "block"
|
|
237
237
|
})
|
|
238
238
|
}, {
|
|
239
|
-
default: P(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(),
|
|
239
|
+
default: P(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(), C(t(me), {
|
|
240
240
|
key: 0,
|
|
241
241
|
value: t(u),
|
|
242
|
-
"onUpdate:value": a[0] || (a[0] = (o) =>
|
|
242
|
+
"onUpdate:value": a[0] || (a[0] = (o) => ne(u) ? u.value = o : null),
|
|
243
243
|
"default-active-first-option": "",
|
|
244
244
|
"dropdown-match-select-width": !1
|
|
245
245
|
}, {
|
|
246
|
-
default: P(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(),
|
|
246
|
+
default: P(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(), C(t(pe), {
|
|
247
247
|
key: o == null ? void 0 : o.value,
|
|
248
248
|
value: o == null ? void 0 : o.value
|
|
249
249
|
}, {
|
|
250
|
-
default: P(() => [
|
|
250
|
+
default: P(() => [B(D((o == null ? void 0 : o.label) ?? (o == null ? void 0 : o.value)), 1)]),
|
|
251
251
|
_: 2
|
|
252
252
|
}, 1032, ["value"]))), 128))]),
|
|
253
253
|
_: 1
|
|
254
|
-
}, 8, ["value"])) :
|
|
254
|
+
}, 8, ["value"])) : ee("", !0), T(t(ce).RangePicker, oe($.value, {
|
|
255
255
|
value: S.value,
|
|
256
256
|
picker: K.value,
|
|
257
257
|
format: I.value,
|
|
@@ -12,46 +12,46 @@ import "./segmented/index.vue2.mjs";
|
|
|
12
12
|
import "./rate/index.vue2.mjs";
|
|
13
13
|
import "./tree-select/index.vue2.mjs";
|
|
14
14
|
import "./interface.mjs";
|
|
15
|
-
import m from "./
|
|
16
|
-
import e from "./
|
|
17
|
-
import r from "./
|
|
18
|
-
import t from "./
|
|
19
|
-
import o from "./
|
|
20
|
-
import p from "./
|
|
21
|
-
import a from "./
|
|
22
|
-
import f from "./
|
|
23
|
-
import s from "./
|
|
24
|
-
import _ from "./
|
|
25
|
-
import c from "./
|
|
26
|
-
import d from "./
|
|
15
|
+
import m from "./tree-select/index.vue.mjs";
|
|
16
|
+
import e from "./rate/index.vue.mjs";
|
|
17
|
+
import r from "./segmented/index.vue.mjs";
|
|
18
|
+
import t from "./slider/index.vue.mjs";
|
|
19
|
+
import o from "./switch/index.vue.mjs";
|
|
20
|
+
import p from "./select/index.vue.mjs";
|
|
21
|
+
import a from "./checkbox/index.vue.mjs";
|
|
22
|
+
import f from "./radio/index.vue.mjs";
|
|
23
|
+
import s from "./date-range/index.vue.mjs";
|
|
24
|
+
import _ from "./date/index.vue.mjs";
|
|
25
|
+
import c from "./number/index.vue.mjs";
|
|
26
|
+
import d from "./text-area/index.vue.mjs";
|
|
27
27
|
const H = {
|
|
28
28
|
Text: i,
|
|
29
|
-
TextArea:
|
|
30
|
-
Number:
|
|
31
|
-
Date:
|
|
32
|
-
DateRange:
|
|
33
|
-
Radio:
|
|
34
|
-
Checkbox:
|
|
35
|
-
Select:
|
|
36
|
-
Switch:
|
|
37
|
-
Slider:
|
|
38
|
-
Segmented:
|
|
39
|
-
Rate:
|
|
40
|
-
TreeSelect:
|
|
29
|
+
TextArea: d,
|
|
30
|
+
Number: c,
|
|
31
|
+
Date: _,
|
|
32
|
+
DateRange: s,
|
|
33
|
+
Radio: f,
|
|
34
|
+
Checkbox: a,
|
|
35
|
+
Select: p,
|
|
36
|
+
Switch: o,
|
|
37
|
+
Slider: t,
|
|
38
|
+
Segmented: r,
|
|
39
|
+
Rate: e,
|
|
40
|
+
TreeSelect: m
|
|
41
41
|
};
|
|
42
42
|
export {
|
|
43
43
|
H as ApField,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
a as ApFieldCheckbox,
|
|
45
|
+
_ as ApFieldDate,
|
|
46
|
+
s as ApFieldDateRange,
|
|
47
|
+
c as ApFieldNumber,
|
|
48
|
+
f as ApFieldRadio,
|
|
49
|
+
e as ApFieldRate,
|
|
50
|
+
r as ApFieldSegmented,
|
|
51
|
+
p as ApFieldSelect,
|
|
52
|
+
t as ApFieldSlider,
|
|
53
|
+
o as ApFieldSwitch,
|
|
54
54
|
i as ApFieldText,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
d as ApFieldTextArea,
|
|
56
|
+
m as ApFieldTreeSelect
|
|
57
57
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApFieldNumberProps } from '../interface';
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
6
6
|
import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
@@ -19,8 +19,8 @@ declare function __VLS_template(): {
|
|
|
19
19
|
refs: {
|
|
20
20
|
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
21
21
|
size: {
|
|
22
|
-
type: PropType<
|
|
23
|
-
default:
|
|
22
|
+
type: PropType<SizeType>;
|
|
23
|
+
default: SizeType;
|
|
24
24
|
};
|
|
25
25
|
bordered: {
|
|
26
26
|
type: BooleanConstructor;
|
|
@@ -139,7 +139,7 @@ declare function __VLS_template(): {
|
|
|
139
139
|
default: (e: FocusEvent) => void;
|
|
140
140
|
};
|
|
141
141
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
142
|
-
size:
|
|
142
|
+
size: SizeType;
|
|
143
143
|
value: ValueType;
|
|
144
144
|
onFocus: (e: FocusEvent) => void;
|
|
145
145
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -149,13 +149,13 @@ declare function __VLS_template(): {
|
|
|
149
149
|
max: ValueType;
|
|
150
150
|
min: ValueType;
|
|
151
151
|
prefixCls: string;
|
|
152
|
+
bordered: boolean;
|
|
153
|
+
defaultValue: ValueType;
|
|
154
|
+
status: "" | "error" | "warning";
|
|
155
|
+
step: ValueType;
|
|
152
156
|
autofocus: boolean;
|
|
153
157
|
readonly: boolean;
|
|
154
|
-
status: "" | "error" | "warning";
|
|
155
|
-
defaultValue: ValueType;
|
|
156
158
|
'onUpdate:value': (value: ValueType) => void;
|
|
157
|
-
step: ValueType;
|
|
158
|
-
bordered: boolean;
|
|
159
159
|
onPressEnter: KeyboardEventHandler;
|
|
160
160
|
formatter: (value: ValueType, info: {
|
|
161
161
|
userTyping: boolean;
|
|
@@ -186,8 +186,8 @@ declare function __VLS_template(): {
|
|
|
186
186
|
Defaults: {};
|
|
187
187
|
}, Readonly< ExtractPropTypes<{
|
|
188
188
|
size: {
|
|
189
|
-
type: PropType<
|
|
190
|
-
default:
|
|
189
|
+
type: PropType<SizeType>;
|
|
190
|
+
default: SizeType;
|
|
191
191
|
};
|
|
192
192
|
bordered: {
|
|
193
193
|
type: BooleanConstructor;
|
|
@@ -306,7 +306,7 @@ declare function __VLS_template(): {
|
|
|
306
306
|
default: (e: FocusEvent) => void;
|
|
307
307
|
};
|
|
308
308
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
309
|
-
size:
|
|
309
|
+
size: SizeType;
|
|
310
310
|
value: ValueType;
|
|
311
311
|
onFocus: (e: FocusEvent) => void;
|
|
312
312
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -316,13 +316,13 @@ declare function __VLS_template(): {
|
|
|
316
316
|
max: ValueType;
|
|
317
317
|
min: ValueType;
|
|
318
318
|
prefixCls: string;
|
|
319
|
+
bordered: boolean;
|
|
320
|
+
defaultValue: ValueType;
|
|
321
|
+
status: "" | "error" | "warning";
|
|
322
|
+
step: ValueType;
|
|
319
323
|
autofocus: boolean;
|
|
320
324
|
readonly: boolean;
|
|
321
|
-
status: "" | "error" | "warning";
|
|
322
|
-
defaultValue: ValueType;
|
|
323
325
|
'onUpdate:value': (value: ValueType) => void;
|
|
324
|
-
step: ValueType;
|
|
325
|
-
bordered: boolean;
|
|
326
326
|
onPressEnter: KeyboardEventHandler;
|
|
327
327
|
formatter: (value: ValueType, info: {
|
|
328
328
|
userTyping: boolean;
|
|
@@ -361,8 +361,8 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
361
361
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
362
362
|
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
363
363
|
size: {
|
|
364
|
-
type: PropType<
|
|
365
|
-
default:
|
|
364
|
+
type: PropType<SizeType>;
|
|
365
|
+
default: SizeType;
|
|
366
366
|
};
|
|
367
367
|
bordered: {
|
|
368
368
|
type: BooleanConstructor;
|
|
@@ -481,7 +481,7 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
481
481
|
default: (e: FocusEvent) => void;
|
|
482
482
|
};
|
|
483
483
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
484
|
-
size:
|
|
484
|
+
size: SizeType;
|
|
485
485
|
value: ValueType;
|
|
486
486
|
onFocus: (e: FocusEvent) => void;
|
|
487
487
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -491,13 +491,13 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
491
491
|
max: ValueType;
|
|
492
492
|
min: ValueType;
|
|
493
493
|
prefixCls: string;
|
|
494
|
+
bordered: boolean;
|
|
495
|
+
defaultValue: ValueType;
|
|
496
|
+
status: "" | "error" | "warning";
|
|
497
|
+
step: ValueType;
|
|
494
498
|
autofocus: boolean;
|
|
495
499
|
readonly: boolean;
|
|
496
|
-
status: "" | "error" | "warning";
|
|
497
|
-
defaultValue: ValueType;
|
|
498
500
|
'onUpdate:value': (value: ValueType) => void;
|
|
499
|
-
step: ValueType;
|
|
500
|
-
bordered: boolean;
|
|
501
501
|
onPressEnter: KeyboardEventHandler;
|
|
502
502
|
formatter: (value: ValueType, info: {
|
|
503
503
|
userTyping: boolean;
|
|
@@ -528,8 +528,8 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
528
528
|
Defaults: {};
|
|
529
529
|
}, Readonly< ExtractPropTypes<{
|
|
530
530
|
size: {
|
|
531
|
-
type: PropType<
|
|
532
|
-
default:
|
|
531
|
+
type: PropType<SizeType>;
|
|
532
|
+
default: SizeType;
|
|
533
533
|
};
|
|
534
534
|
bordered: {
|
|
535
535
|
type: BooleanConstructor;
|
|
@@ -648,7 +648,7 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
648
648
|
default: (e: FocusEvent) => void;
|
|
649
649
|
};
|
|
650
650
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
651
|
-
size:
|
|
651
|
+
size: SizeType;
|
|
652
652
|
value: ValueType;
|
|
653
653
|
onFocus: (e: FocusEvent) => void;
|
|
654
654
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -658,13 +658,13 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
658
658
|
max: ValueType;
|
|
659
659
|
min: ValueType;
|
|
660
660
|
prefixCls: string;
|
|
661
|
+
bordered: boolean;
|
|
662
|
+
defaultValue: ValueType;
|
|
663
|
+
status: "" | "error" | "warning";
|
|
664
|
+
step: ValueType;
|
|
661
665
|
autofocus: boolean;
|
|
662
666
|
readonly: boolean;
|
|
663
|
-
status: "" | "error" | "warning";
|
|
664
|
-
defaultValue: ValueType;
|
|
665
667
|
'onUpdate:value': (value: ValueType) => void;
|
|
666
|
-
step: ValueType;
|
|
667
|
-
bordered: boolean;
|
|
668
668
|
onPressEnter: KeyboardEventHandler;
|
|
669
669
|
formatter: (value: ValueType, info: {
|
|
670
670
|
userTyping: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as C, computed as N, unref as t,
|
|
1
|
+
import { defineComponent as x, ref as C, computed as N, unref as t, createElementBlock as n, createBlock as D, openBlock as r, Fragment as P, createCommentVNode as d, createElementVNode as V, normalizeClass as m, renderSlot as s, toDisplayString as $, mergeProps as R, createSlots as A, renderList as I, withCtx as U, normalizeProps as z, guardReactiveProps as E } from "vue";
|
|
2
2
|
import { InputNumber as F } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as M, omit as T } from "lodash-unified";
|
|
@@ -76,21 +76,21 @@ const te = /* @__PURE__ */ x({
|
|
|
76
76
|
var e;
|
|
77
77
|
(e = l.value) == null || e.blur();
|
|
78
78
|
}
|
|
79
|
-
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(
|
|
79
|
+
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(P, { key: 0 }, [
|
|
80
80
|
e.$slots.prefix ? (r(), n("span", {
|
|
81
81
|
key: 0,
|
|
82
|
-
class:
|
|
82
|
+
class: m(t(i)("label-left"))
|
|
83
83
|
}, [
|
|
84
84
|
s(e.$slots, "prefix")
|
|
85
|
-
], 2)) :
|
|
86
|
-
|
|
85
|
+
], 2)) : d("", !0),
|
|
86
|
+
V("span", null, $(h.value), 1),
|
|
87
87
|
e.$slots.addonAfter ? (r(), n("span", {
|
|
88
88
|
key: 1,
|
|
89
|
-
class:
|
|
89
|
+
class: m(t(i)("label-right"))
|
|
90
90
|
}, [
|
|
91
91
|
s(e.$slots, "addonAfter")
|
|
92
|
-
], 2)) :
|
|
93
|
-
], 64)) : (r(),
|
|
92
|
+
], 2)) : d("", !0)
|
|
93
|
+
], 64)) : (r(), D(t(F), R({ key: 1 }, t(T)(o, ["value", "onUpdate:value"]), {
|
|
94
94
|
ref_key: "inputRef",
|
|
95
95
|
ref: l,
|
|
96
96
|
placeholder: t(B),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o,
|
|
1
|
+
import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o, createElementBlock as m, openBlock as l, Fragment as d, createTextVNode as R, toDisplayString as U, createBlock as f, mergeProps as h } from "vue";
|
|
2
2
|
import { Spin as G, RadioGroup as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as S, omit as z } from "lodash-unified";
|
|
@@ -46,8 +46,8 @@ declare function __VLS_template(): {
|
|
|
46
46
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
47
47
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
48
48
|
disabled: boolean;
|
|
49
|
-
autofocus: boolean;
|
|
50
49
|
allowClear: boolean;
|
|
50
|
+
autofocus: boolean;
|
|
51
51
|
allowHalf: boolean;
|
|
52
52
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
53
53
|
P: {};
|
|
@@ -89,8 +89,8 @@ declare function __VLS_template(): {
|
|
|
89
89
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
90
90
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
91
91
|
disabled: boolean;
|
|
92
|
-
autofocus: boolean;
|
|
93
92
|
allowClear: boolean;
|
|
93
|
+
autofocus: boolean;
|
|
94
94
|
allowHalf: boolean;
|
|
95
95
|
}> | null;
|
|
96
96
|
};
|
|
@@ -146,8 +146,8 @@ declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
|
146
146
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
147
147
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
148
148
|
disabled: boolean;
|
|
149
|
-
autofocus: boolean;
|
|
150
149
|
allowClear: boolean;
|
|
150
|
+
autofocus: boolean;
|
|
151
151
|
allowHalf: boolean;
|
|
152
152
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
153
153
|
P: {};
|
|
@@ -189,8 +189,8 @@ declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
|
189
189
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
190
190
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
191
191
|
disabled: boolean;
|
|
192
|
-
autofocus: boolean;
|
|
193
192
|
allowClear: boolean;
|
|
193
|
+
autofocus: boolean;
|
|
194
194
|
allowHalf: boolean;
|
|
195
195
|
}> | null;
|
|
196
196
|
}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, ref as b, useSlots as h, computed as y,
|
|
1
|
+
import { defineComponent as v, ref as b, useSlots as h, computed as y, createBlock as B, openBlock as C, unref as o, mergeProps as _, createSlots as x, withCtx as g, renderSlot as k } from "vue";
|
|
2
2
|
import { omit as w } from "lodash-unified";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { Rate as R } from "@aplus-frontend/antdv";
|
|
@@ -44,7 +44,7 @@ const D = /* @__PURE__ */ v({
|
|
|
44
44
|
return u({
|
|
45
45
|
focus: p,
|
|
46
46
|
blur: m
|
|
47
|
-
}), (e, t) => (
|
|
47
|
+
}), (e, t) => (C(), B(o(R), _(o(w)(a, ["mode", "defaultValue"]), {
|
|
48
48
|
ref_key: "rateRef",
|
|
49
49
|
ref: l,
|
|
50
50
|
value: o(f),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as C, ref as S, useSlots as h, onMounted as U, computed as V, unref as l, createVNode as u, Fragment as a, createBlock as d, createElementBlock as _, openBlock as r, resolveDynamicComponent as N, mergeProps as q, withCtx as z, renderSlot as F, normalizeProps as P, guardReactiveProps as T } from "vue";
|
|
2
2
|
import { Spin as O, Segmented as R } from "@aplus-frontend/antdv";
|
|
3
3
|
import { isFunction as c, isUndefined as w, isString as A, isNumber as D, omit as E } from "lodash-unified";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
5
5
|
import M from "../hooks/use-options.mjs";
|
|
6
6
|
import { useControllableValue as $ } from "../../hooks/useControllableValue.mjs";
|
|
7
|
-
const L = /* @__PURE__ */
|
|
7
|
+
const L = /* @__PURE__ */ C({
|
|
8
8
|
name: "ApFieldSegmented",
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
@@ -28,6 +28,11 @@ const L = /* @__PURE__ */ S({
|
|
|
28
28
|
motionName: {},
|
|
29
29
|
onChange: {},
|
|
30
30
|
"onUpdate:value": {},
|
|
31
|
+
vertical: {
|
|
32
|
+
type: Boolean
|
|
33
|
+
},
|
|
34
|
+
shape: {},
|
|
35
|
+
name: {},
|
|
31
36
|
emptyText: {
|
|
32
37
|
default: "--"
|
|
33
38
|
},
|
|
@@ -44,31 +49,31 @@ const L = /* @__PURE__ */ S({
|
|
|
44
49
|
} = M(o), k = y, {
|
|
45
50
|
value: p,
|
|
46
51
|
updateValue: b
|
|
47
|
-
} = $(o, k), i =
|
|
48
|
-
|
|
52
|
+
} = $(o, k), i = S(!1), x = h();
|
|
53
|
+
U(() => {
|
|
49
54
|
c(o.request) && (i.value = !0, o.request().then((e) => g(e)).finally(() => {
|
|
50
55
|
i.value = !1;
|
|
51
56
|
}));
|
|
52
57
|
});
|
|
53
|
-
const
|
|
58
|
+
const B = V(() => {
|
|
54
59
|
var f;
|
|
55
60
|
const e = l(p);
|
|
56
61
|
if (w(e))
|
|
57
|
-
return
|
|
58
|
-
const t = (f = l(m)) == null ? void 0 : f.find((
|
|
62
|
+
return u(a, null, [o.emptyText]);
|
|
63
|
+
const t = (f = l(m)) == null ? void 0 : f.find((s) => s === e || (s == null ? void 0 : s.value) === e);
|
|
59
64
|
if (A(t) || D(t))
|
|
60
|
-
return
|
|
65
|
+
return u(a, null, [t]);
|
|
61
66
|
const n = (t == null ? void 0 : t.label) || x.label;
|
|
62
|
-
return c(n) ?
|
|
67
|
+
return c(n) ? u(a, null, [n == null ? void 0 : n({
|
|
63
68
|
...t
|
|
64
|
-
})]) :
|
|
69
|
+
})]) : u(a, null, [n || o.emptyText]);
|
|
65
70
|
});
|
|
66
71
|
return (e, t) => i.value ? (r(), d(l(O), {
|
|
67
72
|
key: 0,
|
|
68
73
|
size: "small"
|
|
69
|
-
})) : (r(),
|
|
74
|
+
})) : (r(), _(a, {
|
|
70
75
|
key: 1
|
|
71
|
-
}, [e.mode === "read" ? (r(), d(N(
|
|
76
|
+
}, [e.mode === "read" ? (r(), d(N(B.value), {
|
|
72
77
|
key: 0
|
|
73
78
|
})) : (r(), d(l(R), q({
|
|
74
79
|
key: 1
|