@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 { ApFormModalFormProps } from '../interface';
|
|
2
2
|
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
|
|
3
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } 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 { Recordable } from '../../type';
|
|
5
5
|
import { ButtonSize, SizeType, ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
|
|
6
6
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
@@ -8,6 +8,7 @@ import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
|
8
8
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
9
9
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
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: {
|
|
@@ -1249,7 +1250,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1249
1250
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1250
1251
|
readonly initialValues?: Recordable | undefined;
|
|
1251
1252
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1252
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1253
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1253
1254
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1254
1255
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1255
1256
|
$attrs: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s,
|
|
1
|
+
import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, openBlock as g, createElementBlock as W, Fragment as H, withCtx as h, renderSlot as P, createTextVNode as J, toDisplayString as Q, createElementVNode as X, normalizeStyle as Y, normalizeClass as Z, createBlock as w, resolveDynamicComponent as N, createCommentVNode as ee } from "vue";
|
|
2
2
|
import { Button as V, Flex as te, Space as le, Modal as ae } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -250,7 +250,7 @@ const Re = /* @__PURE__ */ D({
|
|
|
250
250
|
"onUpdate:open": $,
|
|
251
251
|
onCancel: k
|
|
252
252
|
}), {
|
|
253
|
-
title: h(() => [
|
|
253
|
+
title: h(() => [P(e.$slots, "title", {}, () => [J(Q(a.title), 1)])]),
|
|
254
254
|
default: h(() => [u(de, b({
|
|
255
255
|
ref_key: "formRef",
|
|
256
256
|
ref: o
|
|
@@ -259,17 +259,17 @@ const Re = /* @__PURE__ */ D({
|
|
|
259
259
|
}), {
|
|
260
260
|
default: h(() => {
|
|
261
261
|
var l;
|
|
262
|
-
return [
|
|
262
|
+
return [X("div", {
|
|
263
263
|
style: Y((l = e.modalProps) == null ? void 0 : l.bodyStyle),
|
|
264
|
-
class:
|
|
265
|
-
}, [
|
|
264
|
+
class: Z(s(F)("content"))
|
|
265
|
+
}, [P(e.$slots, "default")], 6), (g(), w(N(O.value)))];
|
|
266
266
|
}),
|
|
267
267
|
_: 3
|
|
268
268
|
}, 16)]),
|
|
269
269
|
_: 3
|
|
270
|
-
}, 16, ["open", "width", "class"]), s(B) ? (g(),
|
|
270
|
+
}, 16, ["open", "width", "class"]), s(B) ? (g(), w(N(s(B)), {
|
|
271
271
|
key: 0
|
|
272
|
-
})) :
|
|
272
|
+
})) : ee("", !0)], 64));
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, useSlots as c,
|
|
1
|
+
import { defineComponent as m, useSlots as c, openBlock as B, createBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
|
|
2
2
|
import { omit as g } from "lodash-unified";
|
|
3
3
|
import { ApForm as p } from "../index.mjs";
|
|
4
4
|
const S = /* @__PURE__ */ m({
|
|
@@ -48,7 +48,7 @@ const S = /* @__PURE__ */ m({
|
|
|
48
48
|
},
|
|
49
49
|
setup(d) {
|
|
50
50
|
const i = d, u = c();
|
|
51
|
-
return (a, h) => (
|
|
51
|
+
return (a, h) => (B(), v(e(p).FormItem, o(l(i)), y({
|
|
52
52
|
default: t(() => [
|
|
53
53
|
x(e(p).ControlRender, null, {
|
|
54
54
|
default: t((r) => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as C, ref as d,
|
|
2
|
-
import { Popover as h,
|
|
1
|
+
import { defineComponent as C, ref as d, openBlock as i, createBlock as c, unref as e, withCtx as o, createElementVNode as g, normalizeClass as s, createVNode as t, createElementBlock as F, Fragment as _, renderList as B, resolveDynamicComponent as x, createTextVNode as v, toDisplayString as y } from "vue";
|
|
2
|
+
import { Popover as h, Row as L, Col as N, Divider as S, Flex as w, Button as u, Tooltip as D } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApFilterOutlined as P } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
5
5
|
import { useNamespace as R } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -32,9 +32,9 @@ const U = /* @__PURE__ */ C({
|
|
|
32
32
|
class: s([e(a)("popover-content")]),
|
|
33
33
|
style: { paddingBottom: "4px", width: "825px" }
|
|
34
34
|
}, [
|
|
35
|
-
t(e(
|
|
35
|
+
t(e(L), { gutter: 8 }, {
|
|
36
36
|
default: o(() => [
|
|
37
|
-
(i(!0), F(_, null, B(r.config, (n) => (i(), c(e(
|
|
37
|
+
(i(!0), F(_, null, B(r.config, (n) => (i(), c(e(N), {
|
|
38
38
|
key: n.key,
|
|
39
39
|
span: 8
|
|
40
40
|
}, {
|
|
@@ -47,11 +47,11 @@ const U = /* @__PURE__ */ C({
|
|
|
47
47
|
_: 1
|
|
48
48
|
})
|
|
49
49
|
], 2),
|
|
50
|
-
t(e(
|
|
50
|
+
t(e(S), { style: { margin: "0" } }),
|
|
51
51
|
g("div", {
|
|
52
52
|
class: s(e(a)("popover-footer"))
|
|
53
53
|
}, [
|
|
54
|
-
t(e(
|
|
54
|
+
t(e(w), { justify: "end" }, {
|
|
55
55
|
default: o(() => [
|
|
56
56
|
t(e(u), {
|
|
57
57
|
onClick: p[0] || (p[0] = (n) => l.value = !1)
|
|
@@ -78,7 +78,7 @@ const U = /* @__PURE__ */ C({
|
|
|
78
78
|
], 2)
|
|
79
79
|
]),
|
|
80
80
|
default: o(() => [
|
|
81
|
-
t(e(
|
|
81
|
+
t(e(D), {
|
|
82
82
|
title: e(m)("ap.apForm.search.moreFilter"),
|
|
83
83
|
placement: "top"
|
|
84
84
|
}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as S, ref as C, watch as k, unref as e,
|
|
2
|
-
import { Popover as V,
|
|
1
|
+
import { defineComponent as S, ref as C, watch as k, unref as e, openBlock as D, createBlock as P, withCtx as a, createElementVNode as s, normalizeClass as o, toDisplayString as m, createVNode as r, createTextVNode as b } from "vue";
|
|
2
|
+
import { Popover as V, Flex as _, Divider as j, Button as h, Tooltip as z } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApLayoutOutlined as A } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../../../config-provider/index.mjs";
|
|
5
5
|
import I from "vuedraggable";
|
|
@@ -43,7 +43,7 @@ const W = /* @__PURE__ */ S({
|
|
|
43
43
|
(t) => {
|
|
44
44
|
t && (c.value = [...v]);
|
|
45
45
|
}
|
|
46
|
-
), (t, u) => (
|
|
46
|
+
), (t, u) => (D(), P(e(V), {
|
|
47
47
|
open: p.value,
|
|
48
48
|
"onUpdate:open": u[1] || (u[1] = (d) => p.value = d),
|
|
49
49
|
"overlay-class-name": e(f)("popover"),
|
|
@@ -55,22 +55,22 @@ const W = /* @__PURE__ */ S({
|
|
|
55
55
|
}, {
|
|
56
56
|
content: a(() => [
|
|
57
57
|
s("div", {
|
|
58
|
-
class:
|
|
58
|
+
class: o(e(n)("header"))
|
|
59
59
|
}, [
|
|
60
60
|
s("span", {
|
|
61
|
-
class:
|
|
61
|
+
class: o(e(n)("header-title"))
|
|
62
62
|
}, m(e(i)("ap.apForm.search.sorterTitle")), 3),
|
|
63
|
-
|
|
63
|
+
r(e(_), { justify: "space-between" }, {
|
|
64
64
|
default: a(() => [
|
|
65
65
|
s("span", {
|
|
66
|
-
class:
|
|
66
|
+
class: o(e(n)("header-desc"))
|
|
67
67
|
}, m(e(i)("ap.apForm.search.sorterDesc")), 3),
|
|
68
68
|
s("div", {
|
|
69
|
-
class:
|
|
69
|
+
class: o(e(n)("header-action-wrapper")),
|
|
70
70
|
onClick: N
|
|
71
71
|
}, [
|
|
72
72
|
s("span", {
|
|
73
|
-
class:
|
|
73
|
+
class: o(e(n)("header-reset-btn"))
|
|
74
74
|
}, m(e(i)("ap.apForm.search.sorterReset")), 3)
|
|
75
75
|
], 2)
|
|
76
76
|
]),
|
|
@@ -78,26 +78,26 @@ const W = /* @__PURE__ */ S({
|
|
|
78
78
|
})
|
|
79
79
|
], 2),
|
|
80
80
|
s("div", {
|
|
81
|
-
class:
|
|
81
|
+
class: o([e(f)("popover-content"), e(n)("content")])
|
|
82
82
|
}, [
|
|
83
|
-
|
|
83
|
+
r(e(I), {
|
|
84
84
|
list: c.value,
|
|
85
|
-
class:
|
|
85
|
+
class: o(e(n)("sorter-wrapper")),
|
|
86
86
|
"item-key": T
|
|
87
87
|
}, {
|
|
88
88
|
item: a(({ element: d }) => [
|
|
89
|
-
|
|
89
|
+
r($, { item: d }, null, 8, ["item"])
|
|
90
90
|
]),
|
|
91
91
|
_: 1
|
|
92
92
|
}, 8, ["list", "class"])
|
|
93
93
|
], 2),
|
|
94
|
-
|
|
94
|
+
r(e(j), { style: { margin: "0" } }),
|
|
95
95
|
s("div", {
|
|
96
|
-
class:
|
|
96
|
+
class: o(e(f)("popover-footer"))
|
|
97
97
|
}, [
|
|
98
|
-
|
|
98
|
+
r(e(_), { justify: "end" }, {
|
|
99
99
|
default: a(() => [
|
|
100
|
-
|
|
100
|
+
r(e(h), {
|
|
101
101
|
onClick: u[0] || (u[0] = (d) => p.value = !1)
|
|
102
102
|
}, {
|
|
103
103
|
default: a(() => [
|
|
@@ -105,8 +105,8 @@ const W = /* @__PURE__ */ S({
|
|
|
105
105
|
]),
|
|
106
106
|
_: 1
|
|
107
107
|
}),
|
|
108
|
-
|
|
109
|
-
class:
|
|
108
|
+
r(e(h), {
|
|
109
|
+
class: o(e(f)("popover-footer-confirm-btn")),
|
|
110
110
|
type: "primary",
|
|
111
111
|
onClick: B
|
|
112
112
|
}, {
|
|
@@ -121,16 +121,16 @@ const W = /* @__PURE__ */ S({
|
|
|
121
121
|
], 2)
|
|
122
122
|
]),
|
|
123
123
|
default: a(() => [
|
|
124
|
-
|
|
124
|
+
r(e(z), {
|
|
125
125
|
title: e(i)("ap.apForm.search.sorterTitle"),
|
|
126
126
|
placement: "top"
|
|
127
127
|
}, {
|
|
128
128
|
default: a(() => [
|
|
129
|
-
|
|
130
|
-
class:
|
|
129
|
+
r(e(h), {
|
|
130
|
+
class: o([e(y)("trigger-btn"), { [e(y)("trigger-btn-active")]: p.value }])
|
|
131
131
|
}, {
|
|
132
132
|
icon: a(() => [
|
|
133
|
-
|
|
133
|
+
r(e(A), { size: 14 })
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["class"])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, computed as n,
|
|
1
|
+
import { defineComponent as c, computed as n, openBlock as a, createElementBlock as d, normalizeClass as r, unref as t, createElementVNode as l, createVNode as u, toDisplayString as f } from "vue";
|
|
2
2
|
import { HolderOutlined as h } from "@ant-design/icons-vue";
|
|
3
3
|
import "../../../../config-provider/index.mjs";
|
|
4
4
|
import { isBoolean as _ } from "lodash-unified";
|
|
@@ -18,7 +18,7 @@ const x = ["title"], C = /* @__PURE__ */ c({
|
|
|
18
18
|
const e = s.item.props;
|
|
19
19
|
return _(e.hidden) ? !!e.hidden : v(e.hidden);
|
|
20
20
|
}), { b: o } = b("search-form-sorter");
|
|
21
|
-
return (e, B) => (
|
|
21
|
+
return (e, B) => (a(), d("div", {
|
|
22
22
|
class: r([t(o)("sorter-item"), { [t(o)("sorter-item--hidden")]: p.value }])
|
|
23
23
|
}, [
|
|
24
24
|
l("div", null, [
|
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as w, watchEffect as a, computed as s, unref as i } from "vue";
|
|
2
2
|
import { useResizeObserver as P } from "@vueuse/core";
|
|
3
3
|
import { isUndefined as R } from "lodash-unified";
|
|
4
|
-
const c = [1, 2, 3, 4, 6, 8, 12, 24], g = { xs: 0, sm: 768, md: 1280, lg: 1728 },
|
|
5
|
-
(
|
|
6
|
-
),
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
(
|
|
10
|
-
|
|
11
|
-
return;
|
|
12
|
-
const { stop: o } = P(e.resizeTarget, (f) => {
|
|
4
|
+
const c = [1, 2, 3, 4, 6, 8, 12, 24], g = { xs: 0, sm: 768, md: 1280, lg: 1728 }, h = Object.entries(g).sort(
|
|
5
|
+
(t, r) => r[1] - t[1]
|
|
6
|
+
), v = (t) => {
|
|
7
|
+
const r = w(0);
|
|
8
|
+
a(
|
|
9
|
+
(e) => {
|
|
10
|
+
const n = R(t.resizeTarget) ? document.documentElement : t.resizeTarget, { stop: o } = P(n, (f) => {
|
|
13
11
|
const m = f[0], { width: d } = m.contentRect;
|
|
14
|
-
|
|
12
|
+
r.value = d;
|
|
15
13
|
});
|
|
16
|
-
|
|
14
|
+
e(() => {
|
|
17
15
|
o();
|
|
18
16
|
});
|
|
19
17
|
},
|
|
20
18
|
{ flush: "post" }
|
|
21
19
|
);
|
|
22
20
|
const u = s(() => {
|
|
23
|
-
for (const [
|
|
24
|
-
if (i(
|
|
25
|
-
return
|
|
21
|
+
for (const [e, n] of h)
|
|
22
|
+
if (i(r) > n)
|
|
23
|
+
return e;
|
|
26
24
|
return "md";
|
|
27
25
|
});
|
|
28
26
|
return s(() => {
|
|
29
|
-
const
|
|
30
|
-
(o) => o ===
|
|
31
|
-
),
|
|
32
|
-
return
|
|
27
|
+
const e = c.findIndex(
|
|
28
|
+
(o) => o === t.countPerRow
|
|
29
|
+
), n = i(u);
|
|
30
|
+
return n === "lg" ? c[e + 1] || t.countPerRow : n === "xs" && c[e - 1] || t.countPerRow;
|
|
33
31
|
});
|
|
34
32
|
};
|
|
35
33
|
export {
|
|
36
|
-
|
|
34
|
+
v as useCountPerRow
|
|
37
35
|
};
|
|
@@ -2,12 +2,13 @@ import { ApFormExpose, ApFormSearchFormProps } from '../interface';
|
|
|
2
2
|
import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, ComputedRef } from 'vue';
|
|
3
3
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
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 } from '..';
|
|
13
14
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -115,7 +116,7 @@ declare function __VLS_template(): {
|
|
|
115
116
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
116
117
|
readonly initialValues?: Recordable | undefined;
|
|
117
118
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
118
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
119
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
119
120
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
120
121
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
121
122
|
$attrs: {
|
|
@@ -950,7 +951,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
950
951
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
951
952
|
readonly initialValues?: Recordable | undefined;
|
|
952
953
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
953
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
954
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
954
955
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
955
956
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
956
957
|
$attrs: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as oe, defineComponent as ae, useSlots as ne, ref as L, shallowRef as U, computed as _, unref as a, watch as V, createVNode as t, Fragment as w,
|
|
1
|
+
import { isVNode as oe, defineComponent as ae, useSlots as ne, ref as L, shallowRef as U, computed as _, unref as a, watch as V, createVNode as t, Fragment as w, openBlock as f, createBlock as y, mergeProps as le, withCtx as A, resolveDynamicComponent as B, createElementBlock as re, renderList as se } from "vue";
|
|
2
2
|
import { Col as R, Flex as N, Button as W, Row as ie } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../item/index.vue2.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, useSlots as u, ref as f, watchEffect as p, cloneVNode as d, onMounted as V,
|
|
1
|
+
import { defineComponent as c, useSlots as u, ref as f, watchEffect as p, cloneVNode as d, onMounted as V, openBlock as l, createElementBlock as _, Fragment as y, renderList as F, createBlock as k, resolveDynamicComponent as h } from "vue";
|
|
2
2
|
import { useInjectForm as v } from "../context.mjs";
|
|
3
3
|
import { isFunction as w, cloneDeep as x } from "lodash-unified";
|
|
4
4
|
import { isPromise as B } from "@fruits-chain/utils";
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): void;
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
9
9
|
emit: {};
|
|
10
|
-
}>) => VNode
|
|
10
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> & {
|
|
11
13
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
14
|
};
|
|
13
15
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, useSlots as A, toRef as W, ref as h, unref as r, watch as G, nextTick as U,
|
|
1
|
+
import { defineComponent as P, useSlots as A, toRef as W, ref as h, unref as r, watch as G, nextTick as U, openBlock as $, createBlock as q, mergeProps as y, withCtx as g, createVNode as J, createSlots as Q, renderList as X, renderSlot as Y, normalizeProps as Z, guardReactiveProps as I } from "vue";
|
|
2
2
|
import { ApForm as C } from "../../ap-form/index.mjs";
|
|
3
3
|
import { isArray as w, isUndefined as M, isNumber as m, cloneDeep as ee, omit as oe } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -267,7 +267,7 @@ const Ce = /* @__PURE__ */ P({
|
|
|
267
267
|
setTableData: z,
|
|
268
268
|
clear: H,
|
|
269
269
|
removeByKey: _
|
|
270
|
-
}), (e, t) => (
|
|
270
|
+
}), (e, t) => ($(), q(r(C).FormItem, y(e.formItem, {
|
|
271
271
|
name: e.name,
|
|
272
272
|
label: e.label
|
|
273
273
|
}), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableGridExpose, EditableGridProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9,7 +9,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
11
11
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
12
|
-
}>) => VNode
|
|
12
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}> & {
|
|
13
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
16
|
};
|
|
15
17
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, useSlots as q, ref as v, watch as x, unref as u,
|
|
1
|
+
import { defineComponent as $, useSlots as q, ref as v, watch as x, unref as u, openBlock as J, createBlock as Q, withCtx as h, createVNode as b, mergeProps as X, createSlots as Y, renderList as Z, renderSlot as M, normalizeProps as ee, guardReactiveProps as te } from "vue";
|
|
2
2
|
import { ApForm as y } from "../../ap-form/index.mjs";
|
|
3
3
|
import { isEqual as ae, isArray as g, isUndefined as oe, isNumber as C, cloneDeep as le, omit as ne } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -287,7 +287,7 @@ const Re = /* @__PURE__ */ $({
|
|
|
287
287
|
clear: U,
|
|
288
288
|
setTableData: I,
|
|
289
289
|
removeByKey: K
|
|
290
|
-
}), (e, t) => (
|
|
290
|
+
}), (e, t) => (J(), Q(u(y), {
|
|
291
291
|
ref_key: "formRef",
|
|
292
292
|
ref: i,
|
|
293
293
|
"initial-values": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeTableSlots } from 'vxe-table';
|
|
2
2
|
import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
|
|
@@ -35,7 +35,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
35
35
|
}) => any;
|
|
36
36
|
};
|
|
37
37
|
emit: {};
|
|
38
|
-
}>) => VNode
|
|
38
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}> & {
|
|
39
41
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
40
42
|
};
|
|
41
43
|
export default _default;
|