@aplus-frontend/ui 0.6.0-beta.21 → 0.6.0-beta.23
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 +124 -124
- 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.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- 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 +1 -1
- package/es/src/ap-drawer/index.d.ts +7 -3
- package/es/src/ap-drawer/index.mjs +5 -10
- package/es/src/ap-drawer/interface.d.ts +0 -4
- package/es/src/ap-drawer/style/css.d.ts +1 -0
- package/es/src/ap-drawer/style/css.js +1 -1
- package/es/src/ap-drawer/style/index.d.ts +1 -0
- package/es/src/ap-drawer/style/index.js +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +31 -36
- 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.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- 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.mjs +3 -3
- package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +2 -1
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +75 -83
- package/es/src/ap-form/item-group/index.vue.mjs +34 -35
- 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.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 +6 -6
- 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.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- 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.vue2.mjs +7 -7
- 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/hooks/use-count-per-row.mjs +18 -20
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
- 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 +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +2 -2
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +45 -45
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-list/index.vue.mjs +34 -34
- package/es/src/ap-list/interface.d.ts +4 -3
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/ap-table.vue2.mjs +61 -61
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- 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 +5 -5
- 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-table/hooks/use-table-paging-ng.d.ts +3 -3
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +15 -15
- package/es/src/ap-table/interface.d.ts +3 -3
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
- 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 +2 -2
- 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 +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- 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/index.d.ts +2 -1
- package/es/src/business/ap-keep-alive/index.mjs +11 -9
- package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +7 -7
- package/es/src/business/ap-keep-alive/utils.d.ts +1 -0
- package/es/src/business/ap-keep-alive/utils.mjs +10 -9
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +36 -30
- package/es/src/business/ap-radio-group/index.d.ts +6 -0
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- 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 +4 -16
- 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 +3 -2
- 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 +3 -2
- 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.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/business/hooks/usePageListApGrid.mjs +1 -1
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +4 -2
- 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/index.mjs +278 -279
- 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 +4 -4
- 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 +3 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/index.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +7 -3
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/interface.d.ts +0 -4
- package/lib/src/ap-drawer/style/css.cjs +1 -1
- package/lib/src/ap-drawer/style/css.d.ts +1 -0
- package/lib/src/ap-drawer/style/index.cjs +1 -1
- package/lib/src/ap-drawer/style/index.d.ts +1 -0
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +4 -3
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +5 -5
- 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-table/hooks/use-table-paging-ng.d.ts +3 -3
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +3 -3
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-keep-alive/index.d.ts +2 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/utils.d.ts +1 -0
- package/lib/src/business/ap-keep-alive/utils.js +1 -1
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
- package/lib/src/business/ap-radio-group/index.d.ts +6 -0
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-table-modal/index.d.ts +4 -16
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/index.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
- package/package.json +5 -5
- package/theme/antd-global-overwrite/admin/alert.css +1 -1
- package/theme/antd-global-overwrite/admin/field.css +3 -0
- package/theme/antd-global-overwrite/admin/field.less +4 -0
- package/theme/antd-global-overwrite/admin/index.css +10 -1
- package/theme/antd-global-overwrite/admin/modal.css +6 -0
- package/theme/antd-global-overwrite/admin/modal.less +8 -0
- package/theme/antd-global-overwrite/aplus/alert.css +1 -1
- package/theme/antd-global-overwrite/aplus/field.css +3 -0
- package/theme/antd-global-overwrite/aplus/field.less +4 -0
- package/theme/antd-global-overwrite/aplus/index.css +11 -2
- package/theme/antd-global-overwrite/aplus/modal.css +7 -1
- package/theme/antd-global-overwrite/aplus/modal.less +9 -1
- package/theme/ap-action/item-dropdown.css +1 -1
- package/theme/ap-action/item.css +2 -2
- package/theme/ap-appendix/ap-appendix.css +2 -2
- package/theme/ap-attachment/ap-attachment.css +2 -2
- package/theme/ap-batch-action/ap-batch-action.css +1 -1
- package/theme/ap-button/ap-button.css +1 -1
- package/theme/ap-card/ap-card.css +1 -1
- package/theme/ap-copy/ap-copy.css +1 -1
- package/theme/ap-descriptions/ap-descriptions.css +1 -1
- package/theme/ap-download/ap-download.css +4 -4
- package/theme/ap-drawer/ap-drawer.css +5 -6
- package/theme/ap-drawer/ap-drawer.less +4 -7
- package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
- package/theme/ap-field/checkbox.css +1 -1
- package/theme/ap-field/index.css +1 -1
- package/theme/ap-field/number.css +1 -1
- package/theme/ap-field/radio.css +1 -1
- package/theme/ap-field/text-area.css +1 -1
- package/theme/ap-form/ap-form-item-group.css +1 -1
- package/theme/ap-form/ap-form-item.css +4 -1
- package/theme/ap-form/ap-form-item.less +3 -0
- package/theme/ap-form/drawer-form.css +1 -1
- package/theme/ap-form/index.css +8 -5
- package/theme/ap-form/item-text-group.css +1 -1
- package/theme/ap-form/item-text.css +1 -1
- package/theme/ap-form/modal-form.css +1 -1
- package/theme/ap-form/search-form-sorter.css +5 -5
- package/theme/ap-form/search-form.css +8 -5
- package/theme/ap-grid/editable.css +1 -1
- package/theme/ap-grid/index.css +16 -11
- package/theme/ap-grid/index.less +2 -2
- package/theme/ap-group-search/ap-extension-select.css +1 -1
- package/theme/ap-group-search/ap-group-search.css +1 -1
- package/theme/ap-group-search/ap-popover-select.css +1 -1
- package/theme/ap-image/ap-image.css +1 -1
- package/theme/ap-input-radio/ap-input-radio.css +1 -1
- package/theme/ap-label/ap-label.css +1 -1
- package/theme/ap-ladder/ap-ladder.css +4 -4
- package/theme/ap-layout/ap-info-layout.css +1 -1
- package/theme/ap-list/index.css +1 -1
- package/theme/ap-product-info/ap-product-info.css +1 -1
- package/theme/ap-radio-group/ap-radio-group.css +2 -1
- package/theme/ap-radio-group/ap-radio-group.less +1 -0
- package/theme/ap-select-layout/ap-select-layout.css +3 -3
- package/theme/ap-size-input/ap-size-input.css +1 -1
- package/theme/ap-status/ap-status.css +1 -1
- package/theme/ap-summary/index.css +1 -1
- package/theme/ap-table/ap-table-index.css +1 -1
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +1 -1
- package/theme/ap-table/ap-table.css +12 -9
- package/theme/ap-table/setting/index.css +3 -3
- package/theme/ap-table/setting/modal.css +2 -2
- package/theme/ap-table/setting/select-group.css +1 -1
- package/theme/ap-table/setting/sortable-item-meta.css +1 -1
- package/theme/ap-table/setting/sortable-item.css +1 -1
- package/theme/ap-table/setting/sorter.css +2 -2
- package/theme/ap-table-modal/index.css +12 -9
- package/theme/ap-tag/ap-tag-group.css +1 -1
- package/theme/ap-tag/ap-tag.css +4 -4
- package/theme/ap-title/ap-title.css +1 -1
- package/theme/ap-upload/index.css +2 -2
- package/theme/ap-upload/multiple-file.css +1 -1
- package/theme/ap-upload/picture.css +1 -1
- package/theme/ap-upload/single-file.css +2 -2
- package/theme/ap-upload/upload.css +1 -1
- package/theme/ap-upload-single/index.css +1 -1
- package/theme/ap-view/ap-view.css +1 -1
- package/theme/batch-input-group/index.css +1 -1
- package/theme/batch-input-group/popover-input.css +1 -1
- package/theme/check-card/index.css +4 -4
- package/theme/editable-table/index.css +9 -6
- package/theme/full-screen/index.css +1 -1
- package/theme/index.css +46 -39
- package/theme/mask/index.css +1 -1
- package/theme/mixins/config.less +3 -3
- package/theme/mixins/mixins.css +1 -1
- package/theme/scroll-bar/index.css +1 -1
- package/theme/scroll-view/index.css +1 -1
- package/theme/splitter/index.css +2 -2
- package/theme/text/group.css +1 -1
- package/theme/text/index.css +2 -2
- package/theme/ui-mode.css +2 -0
- package/theme/ui-mode.less +2 -0
- package/theme/work-order-modal/index.css +1 -1
- package/es/src/ap-drawer/ApDrawer.vue.d.ts +0 -29
- package/es/src/ap-drawer/ApDrawer.vue.mjs +0 -91
- package/es/src/ap-drawer/ApDrawer.vue2.mjs +0 -4
- package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
- package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +0 -25
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +0 -4
- package/lib/src/ap-drawer/ApDrawer.vue.d.ts +0 -29
- package/lib/src/ap-drawer/ApDrawer.vue.js +0 -1
- package/lib/src/ap-drawer/ApDrawer.vue2.js +0 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +0 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
|
|
2
2
|
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
|
|
3
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
4
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
5
5
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
@@ -8,6 +8,7 @@ import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
|
8
8
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
9
9
|
import { Recordable } from '../../type';
|
|
10
10
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
11
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
13
14
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -117,7 +118,7 @@ declare function __VLS_template(): {
|
|
|
117
118
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
118
119
|
readonly initialValues?: Recordable | undefined;
|
|
119
120
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
120
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
121
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
121
122
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
122
123
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
123
124
|
$attrs: {
|
|
@@ -1061,7 +1062,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1061
1062
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1062
1063
|
readonly initialValues?: Recordable | undefined;
|
|
1063
1064
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1064
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1065
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1065
1066
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1066
1067
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1067
1068
|
$attrs: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as K, defineComponent as Q, useSlots as Y, ref as h, computed as V, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b,
|
|
1
|
+
import { isVNode as K, defineComponent as Q, useSlots as Y, ref as h, computed as V, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b, openBlock as F, createElementBlock as N, Fragment as ee, withCtx as g, renderSlot as M, createTextVNode as te, toDisplayString as ie, createBlock as S, resolveDynamicComponent as _, normalizeClass as ne, withModifiers as oe, createCommentVNode as L } from "vue";
|
|
2
2
|
import { Button as w, Flex as ae, Space as le, Drawer as se } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -283,23 +283,23 @@ const je = /* @__PURE__ */ Q({
|
|
|
283
283
|
"onUpdate:open": H,
|
|
284
284
|
onCancel: O
|
|
285
285
|
}), {
|
|
286
|
-
title: g(() => [
|
|
287
|
-
footer: g(() => [(F(),
|
|
286
|
+
title: g(() => [M(e.$slots, "title", {}, () => [te(ie(n.title), 1)])]),
|
|
287
|
+
footer: g(() => [(F(), S(_(A.value)))]),
|
|
288
288
|
default: g(() => [d(he, b({
|
|
289
289
|
ref_key: "formRef",
|
|
290
290
|
ref: a
|
|
291
291
|
}, l(me)(n, ["drawerProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"])), {
|
|
292
|
-
default: g(() => [
|
|
292
|
+
default: g(() => [M(e.$slots, "default")]),
|
|
293
293
|
_: 3
|
|
294
294
|
}, 16), e.resize ? (F(), N("div", {
|
|
295
295
|
key: 0,
|
|
296
|
-
class:
|
|
297
|
-
onMousedown:
|
|
298
|
-
}, null, 34)) :
|
|
296
|
+
class: ne(q.value),
|
|
297
|
+
onMousedown: oe(I, ["stop", "prevent"])
|
|
298
|
+
}, null, 34)) : L("", !0)]),
|
|
299
299
|
_: 3
|
|
300
|
-
}, 16, ["open", "width"]), l(x) ? (F(),
|
|
300
|
+
}, 16, ["open", "width"]), l(x) ? (F(), S(_(l(x)), {
|
|
301
301
|
key: 0
|
|
302
|
-
})) :
|
|
302
|
+
})) : L("", !0)], 64));
|
|
303
303
|
}
|
|
304
304
|
});
|
|
305
305
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as D, useSlots as
|
|
2
|
-
import { Form as
|
|
3
|
-
import { useToken as
|
|
4
|
-
import { isFunction as
|
|
5
|
-
import { apFormItemColPropKeys as
|
|
6
|
-
import { QuestionCircleOutlined as
|
|
1
|
+
import { defineComponent as D, useSlots as L, ref as b, onMounted as _, computed as $, unref as l, cloneVNode as j, openBlock as v, createBlock as F, mergeProps as q, createSlots as E, withCtx as i, resolveDynamicComponent as K, createElementVNode as O, normalizeClass as Q, createVNode as p, normalizeStyle as U, renderList as Y, renderSlot as G, normalizeProps as H, guardReactiveProps as J } from "vue";
|
|
2
|
+
import { Form as M, Tooltip as W, TypographyText as X } from "@aplus-frontend/antdv";
|
|
3
|
+
import { useToken as Z } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
|
+
import { isFunction as V, cloneDeep as ee, isArray as oe, omit as g } from "lodash-unified";
|
|
5
|
+
import { apFormItemColPropKeys as le } from "../constant.mjs";
|
|
6
|
+
import { QuestionCircleOutlined as te } from "@ant-design/icons-vue";
|
|
7
7
|
import "../../config-provider/index.mjs";
|
|
8
|
-
import { useInjectForm as
|
|
9
|
-
import { isPromise as
|
|
10
|
-
import {
|
|
11
|
-
import { useNamespace as
|
|
12
|
-
const
|
|
8
|
+
import { useInjectForm as re } from "../context.mjs";
|
|
9
|
+
import { isPromise as ae } from "@fruits-chain/utils";
|
|
10
|
+
import { getValidVNodeList as ne } from "../../utils/slot.mjs";
|
|
11
|
+
import { useNamespace as ie } from "../../config-provider/hooks/use-namespace.mjs";
|
|
12
|
+
const Ve = /* @__PURE__ */ D({
|
|
13
13
|
name: "ApFormItem",
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -54,110 +54,102 @@ const Ce = /* @__PURE__ */ D({
|
|
|
54
54
|
transform: {},
|
|
55
55
|
description: {}
|
|
56
56
|
},
|
|
57
|
-
setup(
|
|
58
|
-
const o =
|
|
59
|
-
|
|
60
|
-
let e =
|
|
61
|
-
|
|
57
|
+
setup(B, { expose: h }) {
|
|
58
|
+
const o = B, s = L(), { model: u, updateModel: f, internalInstance: m } = re(), { m: c, b: x } = ie("ap-form-item"), d = b(!1), a = b(), [, C] = Z();
|
|
59
|
+
_(async () => {
|
|
60
|
+
let e = V(o.initialValue) ? o.initialValue() : o.initialValue;
|
|
61
|
+
ae(e) && (e = await e), m == null || m.registerField({
|
|
62
62
|
name: o.name,
|
|
63
|
-
initialValue:
|
|
63
|
+
initialValue: ee(e),
|
|
64
64
|
transform: o.transform
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
const y =
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
(e)
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
67
|
+
const y = $(() => o.name ? oe(o.name) ? o.name.reduce((e, t) => e == null ? void 0 : e[t], l(u)) : u == null ? void 0 : u.value[o.name] : null);
|
|
68
|
+
function k() {
|
|
69
|
+
var r, n;
|
|
70
|
+
const e = ((r = s.default) == null ? void 0 : r.call(s)) || [];
|
|
71
|
+
if (!o.name)
|
|
72
|
+
return e[0];
|
|
73
|
+
const t = ne(e)[0];
|
|
74
|
+
return t ? j(t, {
|
|
75
|
+
[o.valuePropName]: l(y),
|
|
76
|
+
[`onUpdate:${o.valuePropName}`]: N,
|
|
77
|
+
bordered: o.bordered ? !1 : (n = t == null ? void 0 : t.props) == null ? void 0 : n.bordered,
|
|
78
|
+
onFocus: P,
|
|
79
|
+
onBlur: S
|
|
80
|
+
}) : null;
|
|
79
81
|
}
|
|
80
|
-
function
|
|
81
|
-
f.
|
|
82
|
+
function N(e) {
|
|
83
|
+
f == null || f(o.name, e);
|
|
82
84
|
}
|
|
83
|
-
function
|
|
84
|
-
|
|
85
|
+
function P() {
|
|
86
|
+
d.value = !0;
|
|
85
87
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
const e = t(v);
|
|
91
|
-
return e ? E(e, {
|
|
92
|
-
[o.valuePropName]: t(y),
|
|
93
|
-
[`onUpdate:${o.valuePropName}`]: S,
|
|
94
|
-
bordered: o.bordered ? !1 : (r = e == null ? void 0 : e.props) == null ? void 0 : r.bordered,
|
|
95
|
-
onFocus: w,
|
|
96
|
-
onBlur: T
|
|
97
|
-
}) : null;
|
|
98
|
-
});
|
|
99
|
-
function I() {
|
|
88
|
+
function S() {
|
|
89
|
+
d.value = !1;
|
|
90
|
+
}
|
|
91
|
+
function T() {
|
|
100
92
|
var e;
|
|
101
|
-
(e =
|
|
93
|
+
(e = a.value) == null || e.onFieldBlur();
|
|
102
94
|
}
|
|
103
|
-
function
|
|
95
|
+
function w() {
|
|
104
96
|
var e;
|
|
105
|
-
(e =
|
|
97
|
+
(e = a.value) == null || e.onFieldChange();
|
|
106
98
|
}
|
|
107
|
-
function
|
|
99
|
+
function I() {
|
|
108
100
|
var e;
|
|
109
|
-
(e =
|
|
101
|
+
(e = a.value) == null || e.clearValidate();
|
|
110
102
|
}
|
|
111
|
-
function
|
|
103
|
+
function z() {
|
|
112
104
|
var e;
|
|
113
|
-
(e =
|
|
105
|
+
(e = a.value) == null || e.resetField();
|
|
114
106
|
}
|
|
115
107
|
function R(e = !1) {
|
|
116
|
-
const
|
|
108
|
+
const t = l(y);
|
|
117
109
|
if (!e || !o.transform)
|
|
118
|
-
return
|
|
119
|
-
const r =
|
|
120
|
-
return o.transform ? r(
|
|
110
|
+
return t;
|
|
111
|
+
const r = V(o.transform) ? o.transform : o.transform.transformer;
|
|
112
|
+
return o.transform ? r(t) : t;
|
|
121
113
|
}
|
|
122
|
-
return
|
|
123
|
-
onFieldBlur:
|
|
124
|
-
onFieldChange:
|
|
125
|
-
clearValidate:
|
|
126
|
-
resetField:
|
|
114
|
+
return h({
|
|
115
|
+
onFieldBlur: T,
|
|
116
|
+
onFieldChange: w,
|
|
117
|
+
clearValidate: I,
|
|
118
|
+
resetField: z,
|
|
127
119
|
getFieldValue: R
|
|
128
|
-
}), (e,
|
|
120
|
+
}), (e, t) => (v(), F(l(M).Item, q(
|
|
129
121
|
{
|
|
130
122
|
ref_key: "formItemRef",
|
|
131
|
-
ref:
|
|
123
|
+
ref: a
|
|
132
124
|
},
|
|
133
|
-
|
|
125
|
+
l(g)(o, [...l(le), "tooltip", "label", "description"]),
|
|
134
126
|
{
|
|
135
127
|
class: {
|
|
136
|
-
[
|
|
137
|
-
[
|
|
138
|
-
[
|
|
128
|
+
[l(c)("bordered")]: e.bordered,
|
|
129
|
+
[l(c)("focused")]: e.bordered && d.value,
|
|
130
|
+
[l(x)()]: !0
|
|
139
131
|
},
|
|
140
132
|
colon: e.bordered ? !1 : o.colon
|
|
141
133
|
}
|
|
142
|
-
),
|
|
134
|
+
), E({
|
|
143
135
|
default: i(() => [
|
|
144
|
-
|
|
136
|
+
(v(), F(K(k())))
|
|
145
137
|
]),
|
|
146
138
|
_: 2
|
|
147
139
|
}, [
|
|
148
140
|
o.tooltip ? {
|
|
149
141
|
name: "tooltip",
|
|
150
142
|
fn: i(({ class: r }) => [
|
|
151
|
-
|
|
152
|
-
class:
|
|
143
|
+
O("span", {
|
|
144
|
+
class: Q(r)
|
|
153
145
|
}, [
|
|
154
|
-
p(
|
|
146
|
+
p(l(W), {
|
|
155
147
|
title: o.tooltip
|
|
156
148
|
}, {
|
|
157
149
|
default: i(() => [
|
|
158
|
-
p(
|
|
159
|
-
style:
|
|
160
|
-
color:
|
|
150
|
+
p(l(te), {
|
|
151
|
+
style: U({
|
|
152
|
+
color: l(C).colorTextTertiary,
|
|
161
153
|
fontSize: "14px",
|
|
162
154
|
transform: "translateY(1px)"
|
|
163
155
|
})
|
|
@@ -172,7 +164,7 @@ const Ce = /* @__PURE__ */ D({
|
|
|
172
164
|
e.label ? {
|
|
173
165
|
name: "label",
|
|
174
166
|
fn: i(() => [
|
|
175
|
-
p(
|
|
167
|
+
p(l(X), {
|
|
176
168
|
content: e.label,
|
|
177
169
|
ellipsis: { tooltip: e.label },
|
|
178
170
|
style: { "min-width": "0px", flex: "1" }
|
|
@@ -180,15 +172,15 @@ const Ce = /* @__PURE__ */ D({
|
|
|
180
172
|
]),
|
|
181
173
|
key: "1"
|
|
182
174
|
} : void 0,
|
|
183
|
-
Y(
|
|
184
|
-
name:
|
|
185
|
-
fn: i((
|
|
186
|
-
|
|
175
|
+
Y(l(g)(s, "default"), (r, n) => ({
|
|
176
|
+
name: n,
|
|
177
|
+
fn: i((A) => [
|
|
178
|
+
G(e.$slots, n, H(J(A || {})))
|
|
187
179
|
])
|
|
188
180
|
}))
|
|
189
181
|
]), 1040, ["class", "colon"]));
|
|
190
182
|
}
|
|
191
183
|
});
|
|
192
184
|
export {
|
|
193
|
-
|
|
185
|
+
Ve as default
|
|
194
186
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { isVNode as C, defineComponent as
|
|
2
|
-
import { Col as
|
|
3
|
-
import { pick as
|
|
4
|
-
import { apFormItemColPropKeys as
|
|
5
|
-
import { genRealChildren as
|
|
1
|
+
import { isVNode as C, defineComponent as _, useSlots as k, unref as r, createVNode as w, mergeProps as u, openBlock as i, createBlock as l, withCtx as P, createElementBlock as R, Fragment as S, renderList as b, resolveDynamicComponent as h } from "vue";
|
|
2
|
+
import { Col as x, Row as B } from "@aplus-frontend/antdv";
|
|
3
|
+
import { pick as N, isBoolean as j, omit as F } from "lodash-unified";
|
|
4
|
+
import { apFormItemColPropKeys as D } from "../constant.mjs";
|
|
5
|
+
import { genRealChildren as I, buildColSpan as O, getStringName as V } from "./helper.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import { isDef as
|
|
8
|
-
import { useNamespace as
|
|
9
|
-
function
|
|
10
|
-
return typeof
|
|
7
|
+
import { isDef as $ } from "../../utils/index.mjs";
|
|
8
|
+
import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
function A(o) {
|
|
10
|
+
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !C(o);
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const M = /* @__PURE__ */ _({
|
|
13
13
|
name: "ApFormItemGroup",
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -27,30 +27,29 @@ const T = /* @__PURE__ */ h({
|
|
|
27
27
|
default: 3
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
setup(
|
|
31
|
-
const {
|
|
32
|
-
b:
|
|
33
|
-
} =
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
default: S(() => [(s(!0), b(x, null, N(f.value, (e) => (s(), d(j(e.node), {
|
|
30
|
+
setup(o) {
|
|
31
|
+
const m = o, p = k(), {
|
|
32
|
+
b: s
|
|
33
|
+
} = v("ap-form-item-group");
|
|
34
|
+
function d() {
|
|
35
|
+
var a;
|
|
36
|
+
const c = I(((a = p.default) == null ? void 0 : a.call(p)) || []);
|
|
37
|
+
return r(c).map((e, f) => {
|
|
38
|
+
const t = e.props, n = N(t, D), g = n != null && n.span ? {} : O(m.countPerRow), y = j(t.hidden) ? !!t.hidden : $(t.hidden);
|
|
39
|
+
return {
|
|
40
|
+
key: `${f}-${V(t.name)}`,
|
|
41
|
+
node: w(x, u(g, n, {
|
|
42
|
+
class: y ? s("col-hidden") : ""
|
|
43
|
+
}), A(e) ? e : {
|
|
44
|
+
default: () => [e]
|
|
45
|
+
})
|
|
46
|
+
};
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
return (c, a) => (i(), l(r(B), u({
|
|
50
|
+
class: r(s)()
|
|
51
|
+
}, r(F)(m, ["countPerRow"])), {
|
|
52
|
+
default: P(() => [(i(!0), R(S, null, b(d(), (e) => (i(), l(h(e.node), {
|
|
54
53
|
key: e.key
|
|
55
54
|
}))), 128))]),
|
|
56
55
|
_: 1
|
|
@@ -58,5 +57,5 @@ const T = /* @__PURE__ */ h({
|
|
|
58
57
|
}
|
|
59
58
|
});
|
|
60
59
|
export {
|
|
61
|
-
|
|
60
|
+
M as default
|
|
62
61
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, useSlots as m,
|
|
1
|
+
import { defineComponent as f, useSlots as m, openBlock as u, createBlock as c, normalizeProps as a, guardReactiveProps as t, unref as o, createSlots as b, withCtx as r, createVNode as B, mergeProps as _, renderList as v, renderSlot as x } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as i } from "lodash-unified";
|
|
@@ -52,7 +52,7 @@ const w = /* @__PURE__ */ f({
|
|
|
52
52
|
},
|
|
53
53
|
setup(d) {
|
|
54
54
|
const s = d, n = m();
|
|
55
|
-
return (e, h) => (
|
|
55
|
+
return (e, h) => (u(), c(y, a(t(o(i)(s, ["field", "disabled"]))), b({
|
|
56
56
|
default: r(() => [
|
|
57
57
|
B(o(g), _({ disabled: e.disabled }, e.field), null, 16, ["disabled"])
|
|
58
58
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, useSlots as B, computed as v,
|
|
1
|
+
import { defineComponent as h, useSlots as B, computed as v, openBlock as y, createBlock as x, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as s, withCtx as i, createVNode as g, renderList as p, renderSlot as f } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/date/index.vue2.mjs";
|
|
4
4
|
import { isUndefined as F, omit as m, pick as S } from "lodash-unified";
|
|
@@ -63,7 +63,7 @@ const L = /* @__PURE__ */ h({
|
|
|
63
63
|
bordered: e.bordered ? !1 : F((o = e.field) == null ? void 0 : o.bordered) ? !0 : e.field.bordered
|
|
64
64
|
};
|
|
65
65
|
});
|
|
66
|
-
return (o, P) => (
|
|
66
|
+
return (o, P) => (y(), x(k, a(t(r(m)(e, ["field", "placeholder", "disabled"]))), s({
|
|
67
67
|
default: i(() => [
|
|
68
68
|
g(C, a(t(b.value)), s({ _: 2 }, [
|
|
69
69
|
p(r(m)(n, r(u)), (_, l) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as g, computed as v,
|
|
1
|
+
import { defineComponent as B, useSlots as g, computed as v, openBlock as y, createBlock as x, normalizeProps as r, guardReactiveProps as t, unref as o, createSlots as p, withCtx as i, createVNode as F, renderList as f, renderSlot as m } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
4
|
import { isUndefined as S, omit as u, pick as k } from "lodash-unified";
|
|
@@ -63,7 +63,7 @@ const I = /* @__PURE__ */ B({
|
|
|
63
63
|
bordered: e.bordered ? !1 : S((l = e.field) == null ? void 0 : l.bordered) ? !0 : (d = e.field) == null ? void 0 : d.bordered
|
|
64
64
|
};
|
|
65
65
|
});
|
|
66
|
-
return (l, d) => (
|
|
66
|
+
return (l, d) => (y(), x(C, r(t(o(u)(e, ["field", "placeholder", "disabled"]))), p({
|
|
67
67
|
default: i(() => [
|
|
68
68
|
F(o(P), r(t(_.value)), p({ _: 2 }, [
|
|
69
69
|
f(o(u)(s, o(c)), (h, a) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y, useSlots as B, ref as _,
|
|
1
|
+
import { defineComponent as y, useSlots as B, ref as _, openBlock as g, createBlock as x, normalizeProps as t, guardReactiveProps as s, unref as l, createSlots as d, withCtx as n, createVNode as k, mergeProps as N, renderList as i, renderSlot as u } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/number/index.vue2.mjs";
|
|
4
4
|
import { omit as f, pick as S } from "lodash-unified";
|
|
@@ -64,7 +64,7 @@ const T = /* @__PURE__ */ y({
|
|
|
64
64
|
var e;
|
|
65
65
|
(e = r.value) == null || e.blur();
|
|
66
66
|
}
|
|
67
|
-
}), (e, R) => (
|
|
67
|
+
}), (e, R) => (g(), x(C, t(s(l(f)(h, ["field", "placeholder", "disabled"]))), d({
|
|
68
68
|
default: n(() => [
|
|
69
69
|
k(F, N({
|
|
70
70
|
ref_key: "inputNumberRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, useSlots as m, ref as c,
|
|
1
|
+
import { defineComponent as u, useSlots as m, ref as c, openBlock as b, createBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as _, withCtx as s, createVNode as y, mergeProps as B, renderList as x, renderSlot as g } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as h } from "lodash-unified";
|
|
@@ -61,7 +61,7 @@ const q = /* @__PURE__ */ u({
|
|
|
61
61
|
var e;
|
|
62
62
|
(e = o.value) == null || e.blur();
|
|
63
63
|
}
|
|
64
|
-
}), (e, P) => (
|
|
64
|
+
}), (e, P) => (b(), v(k, a(t(r(h)(n, ["field", "disabled"]))), _({
|
|
65
65
|
default: s(() => [
|
|
66
66
|
y(r(C), B({
|
|
67
67
|
ref_key: "radioRef",
|
|
@@ -124,12 +124,12 @@ declare function __VLS_template(): {
|
|
|
124
124
|
readonly emptyText?: string | undefined;
|
|
125
125
|
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
126
126
|
readonly multiple?: boolean | undefined;
|
|
127
|
-
readonly value?:
|
|
127
|
+
readonly value?: SelectProps["value"];
|
|
128
128
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
129
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
129
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
130
130
|
readonly refetchOnFocus?: boolean | undefined;
|
|
131
131
|
readonly lazy?: boolean | undefined;
|
|
132
|
-
readonly addAll?: boolean | number | undefined;
|
|
132
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
133
133
|
readonly params?: Recordable | undefined;
|
|
134
134
|
readonly searchDelay?: number | undefined;
|
|
135
135
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -755,12 +755,12 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
755
755
|
readonly emptyText?: string | undefined;
|
|
756
756
|
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
757
757
|
readonly multiple?: boolean | undefined;
|
|
758
|
-
readonly value?:
|
|
758
|
+
readonly value?: SelectProps["value"];
|
|
759
759
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
760
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
760
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
761
761
|
readonly refetchOnFocus?: boolean | undefined;
|
|
762
762
|
readonly lazy?: boolean | undefined;
|
|
763
|
-
readonly addAll?: boolean | number | undefined;
|
|
763
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
764
764
|
readonly params?: Recordable | undefined;
|
|
765
765
|
readonly searchDelay?: number | undefined;
|
|
766
766
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as x, ref as g, computed as S,
|
|
1
|
+
import { defineComponent as B, useSlots as x, ref as g, computed as S, openBlock as k, createBlock as F, normalizeProps as d, guardReactiveProps as n, unref as l, createSlots as f, withCtx as i, createVNode as C, mergeProps as P, renderList as u, renderSlot as c } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
4
|
import { isUndefined as q, omit as m, pick as $ } from "lodash-unified";
|
|
@@ -76,7 +76,7 @@ const E = /* @__PURE__ */ B({
|
|
|
76
76
|
var e;
|
|
77
77
|
(e = t.value) == null || e.request();
|
|
78
78
|
}
|
|
79
|
-
}), (e, a) => (
|
|
79
|
+
}), (e, a) => (k(), F(N, d(n(l(m)(o, ["field", "placeholder", "disabled"]))), f({
|
|
80
80
|
default: i(() => [
|
|
81
81
|
C(l(R), P(h.value, {
|
|
82
82
|
ref_key: "selectRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, useSlots as B,
|
|
1
|
+
import { defineComponent as b, useSlots as B, openBlock as h, createBlock as v, normalizeProps as t, guardReactiveProps as r, unref as o, createSlots as d, withCtx as i, createVNode as y, mergeProps as g, renderList as n, renderSlot as p } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/switch/index.vue2.mjs";
|
|
4
4
|
import { omit as m, pick as x } from "lodash-unified";
|
|
@@ -53,7 +53,7 @@ const I = /* @__PURE__ */ b({
|
|
|
53
53
|
},
|
|
54
54
|
setup(u) {
|
|
55
55
|
const c = u, s = B();
|
|
56
|
-
return (a, C) => (
|
|
56
|
+
return (a, C) => (h(), v(S, t(r(o(m)(c, ["field", "disabled"]))), d({
|
|
57
57
|
default: i(() => [
|
|
58
58
|
y(k, g({ disabled: a.disabled }, a.field), d({ _: 2 }, [
|
|
59
59
|
n(o(m)(s, o(f)), (_, e) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
1
|
+
import { defineComponent as a, openBlock as m, createBlock as s, unref as o, mergeProps as c, withCtx as n, renderSlot as u } from "vue";
|
|
2
2
|
import { Input as l } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as f } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -11,7 +11,7 @@ const B = /* @__PURE__ */ a({
|
|
|
11
11
|
},
|
|
12
12
|
setup(t) {
|
|
13
13
|
const { b: p } = f("ap-form-item-text-group"), r = t;
|
|
14
|
-
return (e, i) => (
|
|
14
|
+
return (e, i) => (m(), s(o(l).Group, c({
|
|
15
15
|
class: e.$props.compact ? o(p)("compact") : null
|
|
16
16
|
}, r), {
|
|
17
17
|
default: n(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as x, ref as S, computed as _,
|
|
1
|
+
import { defineComponent as B, useSlots as x, ref as S, computed as _, openBlock as k, createBlock as F, normalizeProps as n, guardReactiveProps as p, unref as t, createSlots as u, withCtx as i, createVNode as R, mergeProps as C, renderList as f, renderSlot as c } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import { ApField as P } from "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as m, pick as A } from "lodash-unified";
|
|
@@ -75,7 +75,7 @@ const E = /* @__PURE__ */ B({
|
|
|
75
75
|
var e;
|
|
76
76
|
return (e = l.value) == null ? void 0 : e.input;
|
|
77
77
|
})
|
|
78
|
-
}), (e, a) => (
|
|
78
|
+
}), (e, a) => (k(), F(N, n(p(t(m)(y, ["field", "disabled", "placeholder"]))), u({
|
|
79
79
|
default: i(() => [
|
|
80
80
|
R(t(g), C({
|
|
81
81
|
ref_key: "inputRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as _, ref as g,
|
|
1
|
+
import { defineComponent as B, useSlots as _, ref as g, openBlock as x, createBlock as k, normalizeProps as t, guardReactiveProps as s, unref as o, createSlots as n, withCtx as d, createVNode as F, mergeProps as P, renderList as i, renderSlot as f } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import { ApField as S } from "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as u, pick as w } from "lodash-unified";
|
|
@@ -63,7 +63,7 @@ const z = /* @__PURE__ */ B({
|
|
|
63
63
|
var e;
|
|
64
64
|
(e = a.value) == null || e.blur();
|
|
65
65
|
}
|
|
66
|
-
}), (e, R) => (
|
|
66
|
+
}), (e, R) => (x(), k(C, t(s(o(u)(v, ["field", "disabled", "placeholder"]))), n({
|
|
67
67
|
default: d(() => [
|
|
68
68
|
F(o(h).Password, P({
|
|
69
69
|
ref_key: "inputRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, useSlots as b, ref as x, computed as h,
|
|
1
|
+
import { defineComponent as c, useSlots as b, ref as x, computed as h, openBlock as v, createBlock as y, normalizeProps as r, guardReactiveProps as t, unref as s, createSlots as B, withCtx as d, createVNode as A, mergeProps as g, renderList as _, renderSlot as k } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import { ApField as C } from "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as F } from "lodash-unified";
|
|
@@ -65,7 +65,7 @@ const $ = /* @__PURE__ */ c({
|
|
|
65
65
|
var e;
|
|
66
66
|
return (e = l.value) == null ? void 0 : e.resizableTextArea;
|
|
67
67
|
})
|
|
68
|
-
}), (e, o) => (
|
|
68
|
+
}), (e, o) => (v(), y(S, r(t(s(F)(f, ["field", "disabled", "placeholder"]))), B({
|
|
69
69
|
default: d(() => [
|
|
70
70
|
A(s(p), g({
|
|
71
71
|
ref_key: "textAreaRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as x, ref as S, computed as g,
|
|
1
|
+
import { defineComponent as B, useSlots as x, ref as S, computed as g, openBlock as k, createBlock as F, normalizeProps as n, guardReactiveProps as i, unref as l, createSlots as u, withCtx as p, createVNode as C, mergeProps as P, renderList as c, renderSlot as m } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
4
|
import { isUndefined as q, omit as b, pick as $ } from "lodash-unified";
|
|
@@ -76,7 +76,7 @@ const E = /* @__PURE__ */ B({
|
|
|
76
76
|
var d;
|
|
77
77
|
(d = a.value) == null || d.request(e, r);
|
|
78
78
|
}
|
|
79
|
-
}), (e, r) => (
|
|
79
|
+
}), (e, r) => (k(), F(N, n(i(l(b)(o, ["field", "placeholder", "disabled"]))), u({
|
|
80
80
|
default: p(() => [
|
|
81
81
|
C(l(R), P(y.value, {
|
|
82
82
|
ref_key: "treeSelectRef",
|