@aplus-frontend/ui 0.6.0-beta.11 → 0.6.0-beta.12
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 +79 -77
- 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 +5 -5
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- 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/dependency/index.vue.mjs +29 -24
- 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 +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- 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/index.vue.d.ts +6 -9
- 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 +5 -5
- 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 +1 -1
- 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 +27 -27
- 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 +42 -45
- 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/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-copy/ApCopy.d.ts +52 -0
- package/es/src/business/ap-copy/ApCopy.mjs +79 -0
- package/es/src/business/ap-copy/constans.d.ts +24 -0
- package/es/src/business/ap-copy/constans.mjs +25 -0
- package/es/src/business/ap-copy/index.d.ts +102 -0
- package/es/src/business/ap-copy/index.mjs +7 -0
- package/es/src/business/ap-copy/interface.d.ts +8 -0
- package/es/src/business/ap-copy/interface.mjs +1 -0
- package/es/src/business/ap-copy/style/css.d.ts +0 -0
- package/es/src/business/ap-copy/style/css.js +1 -0
- package/es/src/business/ap-copy/style/index.d.ts +0 -0
- package/es/src/business/ap-copy/style/index.js +1 -0
- 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-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/es/src/business/ap-product-info/ApProductInfo.mjs +53 -53
- package/es/src/business/ap-product-info/constans.d.ts +4 -0
- package/es/src/business/ap-product-info/constans.mjs +4 -0
- package/es/src/business/ap-product-info/index.d.ts +15 -0
- package/es/src/business/ap-product-info/interface.d.ts +1 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
- 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/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.d.ts +0 -2
- package/es/src/business/hooks/usePageListApGrid.mjs +48 -65
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +20 -18
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/components.d.ts +1 -0
- 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 +58 -56
- package/es/src/locale/lang/en.mjs +4 -0
- package/es/src/locale/lang/zh-cn.mjs +4 -0
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/path-map.mjs +1 -0
- 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-descriptions/help-message/index.vue2.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/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- 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/index.vue.d.ts +6 -9
- 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-list/index.vue.d.ts +4 -2
- 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/components/setting/modal/index.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/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-copy/ApCopy.d.ts +52 -0
- package/lib/src/business/ap-copy/ApCopy.js +1 -0
- package/lib/src/business/ap-copy/constans.d.ts +24 -0
- package/lib/src/business/ap-copy/constans.js +1 -0
- package/lib/src/business/ap-copy/index.d.ts +102 -0
- package/lib/src/business/ap-copy/index.js +1 -0
- package/lib/src/business/ap-copy/interface.d.ts +8 -0
- package/lib/src/business/ap-copy/interface.js +1 -0
- package/lib/src/business/ap-copy/style/css.cjs +1 -0
- package/lib/src/business/ap-copy/style/css.d.ts +0 -0
- package/lib/src/business/ap-copy/style/index.cjs +1 -0
- package/lib/src/business/ap-copy/style/index.d.ts +0 -0
- 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-product-info/ApProductInfo.d.ts +9 -0
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-product-info/constans.d.ts +4 -0
- package/lib/src/business/ap-product-info/constans.js +1 -1
- package/lib/src/business/ap-product-info/index.d.ts +15 -0
- package/lib/src/business/ap-product-info/interface.d.ts +1 -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-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.d.ts +0 -2
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/components.d.ts +1 -0
- 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/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/path-map.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 +3 -6
- package/theme/antd-global-overwrite/admin/index.css +11 -9
- package/theme/antd-global-overwrite/admin/modal.css +9 -6
- package/theme/antd-global-overwrite/admin/modal.less +8 -6
- package/theme/antd-global-overwrite/admin/table.css +2 -3
- package/theme/antd-global-overwrite/admin/table.less +2 -3
- package/theme/antd-global-overwrite/aplus/index.css +11 -8
- package/theme/antd-global-overwrite/aplus/modal.css +9 -6
- package/theme/antd-global-overwrite/aplus/modal.less +8 -6
- package/theme/antd-global-overwrite/aplus/table.css +2 -2
- package/theme/antd-global-overwrite/aplus/table.less +2 -2
- package/theme/ap-action/item-dropdown.css +2 -2
- package/theme/ap-action/item.css +7 -7
- package/theme/ap-action/item.less +5 -5
- package/theme/ap-appendix/ap-appendix.css +8 -8
- package/theme/ap-appendix/ap-appendix.less +6 -6
- package/theme/ap-attachment/ap-attachment.css +2 -2
- package/theme/ap-batch-action/ap-batch-action.css +5 -5
- package/theme/ap-batch-action/ap-batch-action.less +3 -3
- package/theme/ap-button/ap-button.css +2 -2
- package/theme/ap-card/ap-card.css +2 -2
- package/theme/ap-copy/ap-copy.css +94 -0
- package/theme/ap-copy/ap-copy.less +59 -0
- package/theme/ap-descriptions/ap-descriptions.css +6 -6
- package/theme/ap-descriptions/ap-descriptions.less +4 -4
- package/theme/ap-download/ap-download.css +2 -2
- package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
- package/theme/ap-field/checkbox.css +2 -2
- package/theme/ap-field/index.css +2 -2
- package/theme/ap-field/number.css +2 -2
- package/theme/ap-field/radio.css +2 -2
- package/theme/ap-field/text-area.css +2 -2
- package/theme/ap-form/ap-form-item-group.css +2 -2
- package/theme/ap-form/ap-form-item.css +6 -6
- package/theme/ap-form/ap-form-item.less +4 -4
- package/theme/ap-form/drawer-form.css +2 -2
- package/theme/ap-form/index.css +13 -13
- package/theme/ap-form/item-text-group.css +2 -2
- package/theme/ap-form/item-text.css +2 -2
- package/theme/ap-form/modal-form.css +2 -2
- package/theme/ap-form/search-form-sorter.css +6 -6
- package/theme/ap-form/search-form-sorter.less +4 -4
- package/theme/ap-form/search-form.css +13 -13
- package/theme/ap-form/search-form.less +3 -3
- package/theme/ap-grid/editable.css +2 -2
- package/theme/ap-grid/index.css +31 -23
- package/theme/ap-grid/index.less +14 -3
- package/theme/ap-group-search/ap-extension-select.css +2 -2
- package/theme/ap-group-search/ap-group-search.css +2 -2
- package/theme/ap-group-search/ap-popover-select.css +2 -2
- package/theme/ap-image/ap-image.css +2 -2
- package/theme/ap-input-radio/ap-input-radio.css +2 -2
- package/theme/ap-label/ap-label.css +2 -2
- package/theme/ap-ladder/ap-ladder.css +2 -2
- package/theme/ap-layout/ap-info-layout.css +2 -2
- package/theme/ap-list/index.css +2 -2
- package/theme/ap-product-info/ap-product-info.css +22 -32
- package/theme/ap-product-info/ap-product-info.less +28 -42
- package/theme/ap-radio-group/ap-radio-group.css +7 -7
- package/theme/ap-radio-group/ap-radio-group.less +5 -5
- package/theme/ap-select-layout/ap-select-layout.css +2 -2
- package/theme/ap-size-input/ap-size-input.css +2 -2
- package/theme/ap-status/ap-status.css +2 -2
- package/theme/ap-summary/index.css +2 -2
- package/theme/ap-table/ap-table-index.css +2 -2
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +3 -3
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +47 -36
- package/theme/ap-table/ap-table.less +14 -7
- package/theme/ap-table/setting/index.css +14 -9
- package/theme/ap-table/setting/modal.css +7 -3
- package/theme/ap-table/setting/modal.less +5 -1
- package/theme/ap-table/setting/select-group.css +2 -2
- package/theme/ap-table/setting/sortable-item-meta.css +4 -4
- package/theme/ap-table/setting/sortable-item-meta.less +2 -2
- package/theme/ap-table/setting/sortable-item.css +2 -2
- package/theme/ap-table/setting/sorter.css +7 -6
- package/theme/ap-table/setting/sorter.less +4 -4
- package/theme/ap-table-modal/index.css +47 -36
- package/theme/ap-tag/ap-tag-group.css +2 -2
- package/theme/ap-tag/ap-tag.css +3 -3
- package/theme/ap-tag/ap-tag.less +1 -1
- package/theme/ap-title/ap-title.css +2 -2
- package/theme/ap-upload/index.css +2 -2
- package/theme/ap-upload/multiple-file.css +2 -2
- package/theme/ap-upload/picture.css +2 -2
- package/theme/ap-upload/single-file.css +2 -2
- package/theme/ap-upload/upload.css +2 -2
- package/theme/ap-upload-single/index.css +6 -6
- package/theme/ap-upload-single/index.less +4 -4
- package/theme/ap-view/ap-view.css +9 -9
- package/theme/ap-view/ap-view.less +7 -7
- package/theme/batch-input-group/index.css +4 -4
- package/theme/batch-input-group/popover-input.css +4 -4
- package/theme/batch-input-group/popover-input.less +2 -2
- package/theme/check-card/index.css +7 -7
- package/theme/check-card/index.less +5 -5
- package/theme/editable-table/index.css +18 -18
- package/theme/full-screen/index.css +2 -2
- package/theme/index.css +208 -205
- package/theme/index.less +1 -0
- package/theme/mask/index.css +2 -2
- package/theme/mixins/mixins.css +2 -2
- package/theme/mixins/mixins.less +2 -2
- package/theme/scroll-bar/index.css +2 -2
- package/theme/scroll-view/index.css +2 -2
- package/theme/splitter/index.css +5 -5
- package/theme/splitter/index.less +1 -1
- package/theme/text/group.css +2 -2
- package/theme/text/index.css +6 -6
- package/theme/text/index.less +4 -4
- package/theme/ui-mode.css +36 -90
- package/theme/ui-mode.less +74 -90
- package/theme/work-order-modal/index.css +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y,
|
|
1
|
+
import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y, openBlock as d, createElementBlock as k, createTextVNode as C, toDisplayString as B, createBlock as P, resolveDynamicComponent as X, normalizeStyle as z, withCtx as D, isRef as ee, renderList as A, createCommentVNode as ne, mergeProps as oe, createSlots as te, renderSlot as ae, normalizeProps as re, guardReactiveProps as le } from "vue";
|
|
2
2
|
import { ApFieldDatePresetFormats as ue, PRESET_FORMAT_MAP as R, PRESET_FORMAT_PICK_MAP as de, PRESET_FORMAT_TIME_MAP as ie } from "../date/constant.mjs";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as F, omit as _, isString as h, isFunction as se } from "lodash-unified";
|
|
@@ -226,31 +226,31 @@ const Ee = /* @__PURE__ */ q({
|
|
|
226
226
|
key: 0
|
|
227
227
|
}, [S.value ? (d(), k(y, {
|
|
228
228
|
key: 0
|
|
229
|
-
}, [B(
|
|
229
|
+
}, [C(B((r = S.value[0]) == null ? void 0 : r.format(v.value)) + " ", 1), (d(), P(X(Z.value))), C(" " + B((l = S.value[1]) == null ? void 0 : l.format(v.value)), 1)], 64)) : (d(), k(y, {
|
|
230
230
|
key: 1
|
|
231
|
-
}, [B(
|
|
231
|
+
}, [C(B(e.emptyText), 1)], 64))], 64)) : (d(), P(t(fe), {
|
|
232
232
|
key: 1,
|
|
233
233
|
compact: "",
|
|
234
234
|
style: z({
|
|
235
235
|
display: Array.isArray(n.timezone) && n.timezone.length ? "flex" : "block"
|
|
236
236
|
})
|
|
237
237
|
}, {
|
|
238
|
-
default: D(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(),
|
|
238
|
+
default: D(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(), P(t(me), {
|
|
239
239
|
key: 0,
|
|
240
240
|
value: t(u),
|
|
241
|
-
"onUpdate:value": a[0] || (a[0] = (o) =>
|
|
241
|
+
"onUpdate:value": a[0] || (a[0] = (o) => ee(u) ? u.value = o : null),
|
|
242
242
|
"default-active-first-option": "",
|
|
243
243
|
"dropdown-match-select-width": !1
|
|
244
244
|
}, {
|
|
245
|
-
default: D(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(),
|
|
245
|
+
default: D(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(), P(t(pe), {
|
|
246
246
|
key: o == null ? void 0 : o.value,
|
|
247
247
|
value: o == null ? void 0 : o.value
|
|
248
248
|
}, {
|
|
249
|
-
default: D(() => [B(
|
|
249
|
+
default: D(() => [C(B((o == null ? void 0 : o.label) ?? (o == null ? void 0 : o.value)), 1)]),
|
|
250
250
|
_: 2
|
|
251
251
|
}, 1032, ["value"]))), 128))]),
|
|
252
252
|
_: 1
|
|
253
|
-
}, 8, ["value"])) :
|
|
253
|
+
}, 8, ["value"])) : ne("", !0), T(t(ce).RangePicker, oe($.value, {
|
|
254
254
|
value: S.value,
|
|
255
255
|
picker: K.value,
|
|
256
256
|
format: I.value,
|
|
@@ -12,46 +12,46 @@ import "./segmented/index.vue2.mjs";
|
|
|
12
12
|
import "./rate/index.vue2.mjs";
|
|
13
13
|
import "./tree-select/index.vue2.mjs";
|
|
14
14
|
import "./interface.mjs";
|
|
15
|
-
import m from "./
|
|
16
|
-
import e from "./
|
|
17
|
-
import r from "./
|
|
18
|
-
import t from "./
|
|
19
|
-
import o from "./
|
|
20
|
-
import p from "./
|
|
21
|
-
import a from "./
|
|
22
|
-
import f from "./
|
|
23
|
-
import s from "./
|
|
24
|
-
import _ from "./
|
|
25
|
-
import c from "./
|
|
26
|
-
import d from "./
|
|
15
|
+
import m from "./text-area/index.vue.mjs";
|
|
16
|
+
import e from "./number/index.vue.mjs";
|
|
17
|
+
import r from "./date/index.vue.mjs";
|
|
18
|
+
import t from "./date-range/index.vue.mjs";
|
|
19
|
+
import o from "./radio/index.vue.mjs";
|
|
20
|
+
import p from "./checkbox/index.vue.mjs";
|
|
21
|
+
import a from "./select/index.vue.mjs";
|
|
22
|
+
import f from "./switch/index.vue.mjs";
|
|
23
|
+
import s from "./slider/index.vue.mjs";
|
|
24
|
+
import _ from "./segmented/index.vue.mjs";
|
|
25
|
+
import c from "./rate/index.vue.mjs";
|
|
26
|
+
import d from "./tree-select/index.vue.mjs";
|
|
27
27
|
const H = {
|
|
28
28
|
Text: i,
|
|
29
|
-
TextArea:
|
|
30
|
-
Number:
|
|
31
|
-
Date:
|
|
32
|
-
DateRange:
|
|
33
|
-
Radio:
|
|
34
|
-
Checkbox:
|
|
35
|
-
Select:
|
|
36
|
-
Switch:
|
|
37
|
-
Slider:
|
|
38
|
-
Segmented:
|
|
39
|
-
Rate:
|
|
40
|
-
TreeSelect:
|
|
29
|
+
TextArea: m,
|
|
30
|
+
Number: e,
|
|
31
|
+
Date: r,
|
|
32
|
+
DateRange: t,
|
|
33
|
+
Radio: o,
|
|
34
|
+
Checkbox: p,
|
|
35
|
+
Select: a,
|
|
36
|
+
Switch: f,
|
|
37
|
+
Slider: s,
|
|
38
|
+
Segmented: _,
|
|
39
|
+
Rate: c,
|
|
40
|
+
TreeSelect: d
|
|
41
41
|
};
|
|
42
42
|
export {
|
|
43
43
|
H as ApField,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
p as ApFieldCheckbox,
|
|
45
|
+
r as ApFieldDate,
|
|
46
|
+
t as ApFieldDateRange,
|
|
47
|
+
e as ApFieldNumber,
|
|
48
|
+
o as ApFieldRadio,
|
|
49
|
+
c as ApFieldRate,
|
|
50
|
+
_ as ApFieldSegmented,
|
|
51
|
+
a as ApFieldSelect,
|
|
52
|
+
s as ApFieldSlider,
|
|
53
|
+
f as ApFieldSwitch,
|
|
54
54
|
i as ApFieldText,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
m as ApFieldTextArea,
|
|
56
|
+
d as ApFieldTreeSelect
|
|
57
57
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as C, computed as N, unref as t, createElementBlock as n,
|
|
1
|
+
import { defineComponent as x, ref as C, computed as N, unref as t, openBlock as r, createElementBlock as n, Fragment as D, normalizeClass as d, renderSlot as s, createCommentVNode as m, createElementVNode as P, toDisplayString as V, createBlock as $, mergeProps as R, createSlots as A, renderList as I, withCtx as U, normalizeProps as z, guardReactiveProps as E } from "vue";
|
|
2
2
|
import { InputNumber as F } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as M, omit as T } from "lodash-unified";
|
|
@@ -76,21 +76,21 @@ const te = /* @__PURE__ */ x({
|
|
|
76
76
|
var e;
|
|
77
77
|
(e = l.value) == null || e.blur();
|
|
78
78
|
}
|
|
79
|
-
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(
|
|
79
|
+
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(D, { key: 0 }, [
|
|
80
80
|
e.$slots.prefix ? (r(), n("span", {
|
|
81
81
|
key: 0,
|
|
82
|
-
class:
|
|
82
|
+
class: d(t(i)("label-left"))
|
|
83
83
|
}, [
|
|
84
84
|
s(e.$slots, "prefix")
|
|
85
|
-
], 2)) :
|
|
86
|
-
|
|
85
|
+
], 2)) : m("", !0),
|
|
86
|
+
P("span", null, V(h.value), 1),
|
|
87
87
|
e.$slots.addonAfter ? (r(), n("span", {
|
|
88
88
|
key: 1,
|
|
89
|
-
class:
|
|
89
|
+
class: d(t(i)("label-right"))
|
|
90
90
|
}, [
|
|
91
91
|
s(e.$slots, "addonAfter")
|
|
92
|
-
], 2)) :
|
|
93
|
-
], 64)) : (r(),
|
|
92
|
+
], 2)) : m("", !0)
|
|
93
|
+
], 64)) : (r(), $(t(F), R({ key: 1 }, t(T)(o, ["value", "onUpdate:value"]), {
|
|
94
94
|
ref_key: "inputRef",
|
|
95
95
|
ref: l,
|
|
96
96
|
placeholder: t(B),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o,
|
|
1
|
+
import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o, openBlock as l, createElementBlock as m, Fragment as d, createTextVNode as R, toDisplayString as U, createBlock as f, mergeProps as h } from "vue";
|
|
2
2
|
import { Spin as G, RadioGroup as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as S, omit as z } from "lodash-unified";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, ref as b, useSlots as h, computed as y,
|
|
1
|
+
import { defineComponent as v, ref as b, useSlots as h, computed as y, openBlock as B, createBlock as C, unref as o, mergeProps as _, createSlots as x, withCtx as g, renderSlot as k } from "vue";
|
|
2
2
|
import { omit as w } from "lodash-unified";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { Rate as R } from "@aplus-frontend/antdv";
|
|
@@ -44,7 +44,7 @@ const D = /* @__PURE__ */ v({
|
|
|
44
44
|
return u({
|
|
45
45
|
focus: p,
|
|
46
46
|
blur: m
|
|
47
|
-
}), (e, t) => (
|
|
47
|
+
}), (e, t) => (B(), C(o(R), _(o(w)(a, ["mode", "defaultValue"]), {
|
|
48
48
|
ref_key: "rateRef",
|
|
49
49
|
ref: l,
|
|
50
50
|
value: o(f),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, ref as B, useSlots as U, onMounted as V, computed as _, unref as l, createVNode as s, Fragment as a,
|
|
1
|
+
import { defineComponent as S, ref as B, useSlots as U, onMounted as V, computed as _, unref as l, createVNode as s, Fragment as a, openBlock as r, createBlock as d, createElementBlock as h, resolveDynamicComponent as N, mergeProps as q, withCtx as z, renderSlot as F, normalizeProps as P, guardReactiveProps as T } from "vue";
|
|
2
2
|
import { Spin as O, Segmented as R } from "@aplus-frontend/antdv";
|
|
3
3
|
import { isFunction as c, isUndefined as w, isString as A, isNumber as D, omit as E } from "lodash-unified";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, ref as B, onMounted as E, watch as U, computed as p, unref as a,
|
|
1
|
+
import { defineComponent as z, ref as B, onMounted as E, watch as U, computed as p, unref as a, openBlock as C, createElementBlock as K, toDisplayString as H, createBlock as $, mergeProps as j, createSlots as W, renderList as Y, withCtx as F, renderSlot as G, normalizeProps as J, guardReactiveProps as Q, createVNode as X } from "vue";
|
|
2
2
|
import { debounce as Z, isFunction as b, isArray as ee, isNil as te, omit as oe } from "lodash-unified";
|
|
3
3
|
import { Select as le, Spin as ae } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -220,7 +220,7 @@ const ie = { key: 0 }, he = /* @__PURE__ */ z({
|
|
|
220
220
|
focus: M,
|
|
221
221
|
blur: D,
|
|
222
222
|
request: d
|
|
223
|
-
}), (t, o) => t.mode === "read" ? (C(), K("span", ie,
|
|
223
|
+
}), (t, o) => t.mode === "read" ? (C(), K("span", ie, H(L.value), 1)) : (C(), $(a(le), j({
|
|
224
224
|
key: 1,
|
|
225
225
|
ref_key: "selectRef",
|
|
226
226
|
ref: v,
|
|
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
|
|
|
6
6
|
options: Ref<{
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
label?: any;
|
|
9
|
-
value?: string | number | null | undefined;
|
|
9
|
+
value?: (string | number | null) | undefined;
|
|
10
10
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}[], DefaultOptionType[] | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
label?: any;
|
|
15
|
-
value?: string | number | null | undefined;
|
|
15
|
+
value?: (string | number | null) | undefined;
|
|
16
16
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
}[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o,
|
|
1
|
+
import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o, openBlock as u, createElementBlock as S, Fragment as _, createTextVNode as P, toDisplayString as T, createBlock as V, mergeProps as b, createSlots as h, renderList as F, withCtx as R, renderSlot as U, normalizeProps as A, guardReactiveProps as $ } from "vue";
|
|
2
2
|
import { Slider as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as w, isArray as z, omit as D } from "lodash-unified";
|
|
@@ -57,9 +57,9 @@ const I = /* @__PURE__ */ x({
|
|
|
57
57
|
return p({
|
|
58
58
|
focus: v,
|
|
59
59
|
blur: y
|
|
60
|
-
}), (e, t) => e.mode === "read" ? (u(), S(
|
|
61
|
-
T(
|
|
62
|
-
], 64)) : (u(),
|
|
60
|
+
}), (e, t) => e.mode === "read" ? (u(), S(_, { key: 0 }, [
|
|
61
|
+
P(T(c.value), 1)
|
|
62
|
+
], 64)) : (u(), V(o(N), b(
|
|
63
63
|
{ key: 1 },
|
|
64
64
|
o(D)(a, [
|
|
65
65
|
"value",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f,
|
|
1
|
+
import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f, openBlock as h, createBlock as k, resolveDynamicComponent as E, createElementBlock as K, mergeProps as p, createSlots as v, renderList as V, withCtx as C, renderSlot as B, normalizeProps as b, guardReactiveProps as w } from "vue";
|
|
2
2
|
import { Switch as A, Popconfirm as L } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as M, isFunction as R, omit as P } from "lodash-unified";
|
|
@@ -86,9 +86,9 @@ const O = /* @__PURE__ */ z({
|
|
|
86
86
|
const n = o(d);
|
|
87
87
|
return M(n) ? s(f, null, [e.emptyText]) : n === e.checkedValue ? s(f, null, [e.checkedChildren || ((i = c.checkedChildren) == null ? void 0 : i.call(c)) || `${e.checkedValue}`]) : s(f, null, [e.unCheckedChildren || ((t = c.unCheckedChildren) == null ? void 0 : t.call(c)) || `${e.unCheckedValue}`]);
|
|
88
88
|
}), U = g(() => r(e.confirm) ? R(e.confirm) ? e.confirm(o(d)) : e.confirm : {});
|
|
89
|
-
return (n, u) => n.mode === "read" ? (h(), k(
|
|
89
|
+
return (n, u) => n.mode === "read" ? (h(), k(E($.value), {
|
|
90
90
|
key: 0
|
|
91
|
-
})) : (h(),
|
|
91
|
+
})) : (h(), K(f, {
|
|
92
92
|
key: 1
|
|
93
93
|
}, [!o(r)(n.confirm) || n.disabled ? (h(), k(o(A), p({
|
|
94
94
|
key: 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as g, defineComponent as I, ref as C, useSlots as S, computed as _, createVNode as s, mergeProps as R, unref as p,
|
|
1
|
+
import { isVNode as g, defineComponent as I, ref as C, useSlots as S, computed as _, createVNode as s, mergeProps as R, unref as p, openBlock as V, createBlock as w, resolveDynamicComponent as T } from "vue";
|
|
2
2
|
import { Input as j } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { omit as U } from "lodash-unified";
|
|
@@ -139,7 +139,7 @@ const G = /* @__PURE__ */ I({
|
|
|
139
139
|
default: () => [t]
|
|
140
140
|
}) : s("span", null, [o.prefix || ((e = t == null ? void 0 : t.prefix) == null ? void 0 : e.call(t)), p(i) || o.emptyText, o.suffix || ((n = t == null ? void 0 : t.suffix) == null ? void 0 : n.call(t))]);
|
|
141
141
|
}
|
|
142
|
-
return (e, n) => (
|
|
142
|
+
return (e, n) => (V(), w(T(h())));
|
|
143
143
|
}
|
|
144
144
|
});
|
|
145
145
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as w, Fragment as P,
|
|
1
|
+
import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, openBlock as U, createBlock as V, resolveDynamicComponent as _ } from "vue";
|
|
2
2
|
import { Input as S, Space as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { omit as I } from "lodash-unified";
|
|
@@ -152,7 +152,7 @@ const G = /* @__PURE__ */ h({
|
|
|
152
152
|
}, [n ? o(O, null, null) : o(j, null, null)])]
|
|
153
153
|
})), p;
|
|
154
154
|
}
|
|
155
|
-
return (e, n) => (
|
|
155
|
+
return (e, n) => (U(), V(_(B())));
|
|
156
156
|
}
|
|
157
157
|
});
|
|
158
158
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as I, computed as A,
|
|
1
|
+
import { defineComponent as h, ref as I, computed as A, openBlock as d, createElementBlock as C, normalizeClass as g, unref as t, toDisplayString as z, createBlock as T, mergeProps as k } from "vue";
|
|
2
2
|
import { isNil as w, omit as R } from "lodash-unified";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -82,8 +82,8 @@ const O = /* @__PURE__ */ h({
|
|
|
82
82
|
})
|
|
83
83
|
}), (e, a) => e.mode === "read" ? (d(), C("span", {
|
|
84
84
|
key: 0,
|
|
85
|
-
class:
|
|
86
|
-
},
|
|
85
|
+
class: g(t(v)())
|
|
86
|
+
}, z(t(w)(t(n)) || t(n) === "" ? e.emptyText : t(n)), 3)) : (d(), T(t(_).TextArea, k({ key: 1 }, t(R)(o, ["onUpdate:value", "value", "beforeInput"]), {
|
|
87
87
|
ref_key: "textAreaRef",
|
|
88
88
|
ref: l,
|
|
89
89
|
placeholder: t(B),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as E, defineComponent as F, useSlots as K, ref as U, computed as z, unref as o, createVNode as d, Fragment as S,
|
|
1
|
+
import { isVNode as E, defineComponent as F, useSlots as K, ref as U, computed as z, unref as o, createVNode as d, Fragment as S, openBlock as w, createBlock as C, resolveDynamicComponent as M, mergeProps as j, createSlots as q, renderList as O, withCtx as x, renderSlot as $, normalizeProps as H, guardReactiveProps as W } from "vue";
|
|
2
2
|
import { Space as G, Tag as J, TreeSelect as Q, Spin as X } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isArray as Y, omit as Z } from "lodash-unified";
|
|
@@ -220,9 +220,9 @@ const ie = /* @__PURE__ */ F({
|
|
|
220
220
|
request: h,
|
|
221
221
|
focus: P,
|
|
222
222
|
blur: L
|
|
223
|
-
}), (e, t) => e.mode === "read" ? (
|
|
223
|
+
}), (e, t) => e.mode === "read" ? (w(), C(M(I.value), {
|
|
224
224
|
key: 0
|
|
225
|
-
})) : (
|
|
225
|
+
})) : (w(), C(o(Q), j({
|
|
226
226
|
key: 1
|
|
227
227
|
}, o(Z)(a, ["onUpdate:value", "value", "treeData", "loadData"]), {
|
|
228
228
|
ref_key: "treeSelectRef",
|
|
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
checkable?: boolean | undefined;
|
|
10
10
|
disableCheckbox?: boolean | undefined;
|
|
11
|
-
children?:
|
|
11
|
+
children?: any[] | undefined;
|
|
12
12
|
} | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
value?: RawValueType | undefined;
|
|
15
15
|
title?: any;
|
|
16
16
|
label?: any;
|
|
17
17
|
key?: Key | undefined;
|
|
18
|
-
children?:
|
|
18
|
+
children?: any[] | undefined;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
20
20
|
checkable?: boolean | undefined;
|
|
21
21
|
disableCheckbox?: boolean | undefined;
|
|
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
24
24
|
disabled?: boolean | undefined;
|
|
25
25
|
checkable?: boolean | undefined;
|
|
26
26
|
disableCheckbox?: boolean | undefined;
|
|
27
|
-
children?:
|
|
27
|
+
children?: any[] | undefined;
|
|
28
28
|
} | {
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
value?: RawValueType | undefined;
|
|
31
31
|
title?: any;
|
|
32
32
|
label?: any;
|
|
33
33
|
key?: Key | undefined;
|
|
34
|
-
children?:
|
|
34
|
+
children?: any[] | undefined;
|
|
35
35
|
disabled?: boolean | undefined;
|
|
36
36
|
checkable?: boolean | undefined;
|
|
37
37
|
disableCheckbox?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
|
|
2
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
2
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
5
5
|
import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
@@ -7,6 +7,7 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
9
9
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
declare function __VLS_template(): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q,
|
|
1
|
+
import { defineComponent as Q, ref as E, reactive as X, unref as p, nextTick as Y, toRaw as _, watch as Z, onWatcherCleanup as z, computed as ee, openBlock as te, createBlock as re, mergeProps as le, withCtx as oe, renderSlot as se } from "vue";
|
|
2
2
|
import { Form as ne } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useProvideForm as ie } from "./context.mjs";
|
|
4
4
|
import { isArray as f, cloneDeep as ae, isFunction as B, isPlainObject as M, omit as ue } from "lodash-unified";
|
|
@@ -219,7 +219,7 @@ const Re = /* @__PURE__ */ Q({
|
|
|
219
219
|
registerField: j,
|
|
220
220
|
setFieldValue: U
|
|
221
221
|
}
|
|
222
|
-
}), N(x), (e, t) => (
|
|
222
|
+
}), N(x), (e, t) => (te(), re(p(ne), le({
|
|
223
223
|
ref_key: "formRef",
|
|
224
224
|
ref: u
|
|
225
225
|
}, p(ue)(l, ["initialValues", "onValuesChange", "onFinish"]), {
|
|
@@ -1,37 +1,42 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useInjectForm as
|
|
3
|
-
import { isArray as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as m, ref as _, watchEffect as g, unref as h, renderSlot as y } from "vue";
|
|
2
|
+
import { useInjectForm as V } from "../context.mjs";
|
|
3
|
+
import { isArray as d, isNumber as x, cloneDeep as b } from "lodash-unified";
|
|
4
|
+
const k = /* @__PURE__ */ m({
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
7
|
nameList: {}
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
function
|
|
11
|
-
return
|
|
9
|
+
setup(c) {
|
|
10
|
+
function f(t, n) {
|
|
11
|
+
return d(n) ? n.reduce((o, e) => o == null ? void 0 : o[e], t) : t == null ? void 0 : t[n];
|
|
12
12
|
}
|
|
13
|
-
const
|
|
14
|
-
model:
|
|
15
|
-
} =
|
|
16
|
-
function
|
|
17
|
-
let e =
|
|
18
|
-
for (let
|
|
19
|
-
const
|
|
20
|
-
|
|
13
|
+
const a = c, {
|
|
14
|
+
model: l
|
|
15
|
+
} = V(), r = _({});
|
|
16
|
+
function i(t, n, o) {
|
|
17
|
+
let e = n;
|
|
18
|
+
for (let s = 0; s < t.length; s++) {
|
|
19
|
+
const u = t[s];
|
|
20
|
+
if (s === t.length - 1)
|
|
21
|
+
e[u] = o;
|
|
22
|
+
else {
|
|
23
|
+
const p = t[s + 1];
|
|
24
|
+
(typeof e[u] != "object" || e[u] === null) && (e[u] = x(p) ? [] : {}), e = e[u];
|
|
25
|
+
}
|
|
21
26
|
}
|
|
22
27
|
}
|
|
23
|
-
return
|
|
24
|
-
const t = b(
|
|
25
|
-
for (const
|
|
26
|
-
const o = [
|
|
27
|
-
|
|
28
|
+
return g(() => {
|
|
29
|
+
const t = b(r.value);
|
|
30
|
+
for (const n of a.nameList) {
|
|
31
|
+
const o = [n].flat(1), e = f(h(l), o);
|
|
32
|
+
i(o, t, e);
|
|
28
33
|
}
|
|
29
|
-
|
|
30
|
-
}), (t,
|
|
31
|
-
values:
|
|
34
|
+
r.value = t;
|
|
35
|
+
}), (t, n) => y(t.$slots, "default", {
|
|
36
|
+
values: r.value
|
|
32
37
|
});
|
|
33
38
|
}
|
|
34
39
|
});
|
|
35
40
|
export {
|
|
36
|
-
|
|
41
|
+
k as default
|
|
37
42
|
};
|
|
@@ -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: {
|
|
@@ -1059,7 +1060,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1059
1060
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1060
1061
|
readonly initialValues?: Recordable | undefined;
|
|
1061
1062
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1062
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1063
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1063
1064
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1064
1065
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1065
1066
|
$attrs: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as K, defineComponent as Q, useSlots as Y, ref as v, computed as w, 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 v, computed as w, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b, openBlock as y, 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 V, Flex as le, Space as ae, Drawer as se } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -274,23 +274,23 @@ const je = /* @__PURE__ */ Q({
|
|
|
274
274
|
"onUpdate:open": H,
|
|
275
275
|
onCancel: R
|
|
276
276
|
}), {
|
|
277
|
-
title: g(() => [
|
|
278
|
-
footer: g(() => [(y(),
|
|
277
|
+
title: g(() => [M(e.$slots, "title", {}, () => [te(ie(n.title), 1)])]),
|
|
278
|
+
footer: g(() => [(y(), S(_(I.value)))]),
|
|
279
279
|
default: g(() => [d(ve, b({
|
|
280
280
|
ref_key: "formRef",
|
|
281
281
|
ref: a
|
|
282
282
|
}, l(ce)(n, ["drawerProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"])), {
|
|
283
|
-
default: g(() => [
|
|
283
|
+
default: g(() => [M(e.$slots, "default")]),
|
|
284
284
|
_: 3
|
|
285
285
|
}, 16), e.resize ? (y(), N("div", {
|
|
286
286
|
key: 0,
|
|
287
|
-
class:
|
|
288
|
-
onMousedown:
|
|
289
|
-
}, null, 34)) :
|
|
287
|
+
class: ne(q.value),
|
|
288
|
+
onMousedown: oe(A, ["stop", "prevent"])
|
|
289
|
+
}, null, 34)) : L("", !0)]),
|
|
290
290
|
_: 3
|
|
291
|
-
}, 16, ["open", "width"]), l(x) ? (y(),
|
|
291
|
+
}, 16, ["open", "width"]), l(x) ? (y(), S(_(l(x)), {
|
|
292
292
|
key: 0
|
|
293
|
-
})) :
|
|
293
|
+
})) : L("", !0)], 64));
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
296
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as D, useSlots as $, ref as f, onMounted as j, computed as F, unref as l, watch as q, cloneVNode as E,
|
|
1
|
+
import { defineComponent as D, useSlots as $, ref as f, onMounted as j, computed as F, unref as l, watch as q, cloneVNode as E, openBlock as g, createBlock as h, mergeProps as K, createSlots as O, withCtx as i, resolveDynamicComponent as Q, createCommentVNode as U, createElementVNode as G, normalizeClass as H, createVNode as p, normalizeStyle as J, renderList as M, renderSlot as W, normalizeProps as X, guardReactiveProps as Y } from "vue";
|
|
2
2
|
import { Form as Z, Tooltip as ee, TypographyText as oe } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useToken as le } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
4
|
import { isFunction as B, cloneDeep as te, isArray as re, omit as C } from "lodash-unified";
|
|
@@ -125,7 +125,7 @@ const Ce = /* @__PURE__ */ D({
|
|
|
125
125
|
clearValidate: A,
|
|
126
126
|
resetField: L,
|
|
127
127
|
getFieldValue: R
|
|
128
|
-
}), (e, t) => (
|
|
128
|
+
}), (e, t) => (g(), h(l(Z).Item, K(
|
|
129
129
|
{
|
|
130
130
|
ref_key: "formItemRef",
|
|
131
131
|
ref: n
|
|
@@ -141,22 +141,22 @@ const Ce = /* @__PURE__ */ D({
|
|
|
141
141
|
}
|
|
142
142
|
), O({
|
|
143
143
|
default: i(() => [
|
|
144
|
-
V.value ? (
|
|
144
|
+
V.value ? (g(), h(Q(V.value), { key: 0 })) : U("", !0)
|
|
145
145
|
]),
|
|
146
146
|
_: 2
|
|
147
147
|
}, [
|
|
148
148
|
o.tooltip ? {
|
|
149
149
|
name: "tooltip",
|
|
150
150
|
fn: i(({ class: r }) => [
|
|
151
|
-
|
|
152
|
-
class:
|
|
151
|
+
G("span", {
|
|
152
|
+
class: H(r)
|
|
153
153
|
}, [
|
|
154
154
|
p(l(ee), {
|
|
155
155
|
title: o.tooltip
|
|
156
156
|
}, {
|
|
157
157
|
default: i(() => [
|
|
158
158
|
p(l(ne), {
|
|
159
|
-
style:
|
|
159
|
+
style: J({ color: l(P).colorTextTertiary })
|
|
160
160
|
}, null, 8, ["style"])
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
@@ -176,7 +176,7 @@ const Ce = /* @__PURE__ */ D({
|
|
|
176
176
|
]),
|
|
177
177
|
key: "1"
|
|
178
178
|
} : void 0,
|
|
179
|
-
|
|
179
|
+
M(l(C)(a, "default"), (r, b) => ({
|
|
180
180
|
name: b,
|
|
181
181
|
fn: i((_) => [
|
|
182
182
|
W(e.$slots, b, X(Y(_ || {})))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as C, defineComponent as h, useSlots as w, onBeforeUpdate as k,
|
|
1
|
+
import { isVNode as C, defineComponent as h, useSlots as w, onBeforeUpdate as k, watch as _, shallowRef as B, computed as P, unref as r, createVNode as R, mergeProps as u, openBlock as s, createBlock as d, withCtx as S, createElementBlock as b, Fragment as x, renderList as N, resolveDynamicComponent as j } from "vue";
|
|
2
2
|
import { Col as v, Row as F } from "@aplus-frontend/antdv";
|
|
3
3
|
import { pick as D, isBoolean as I, omit as O } from "lodash-unified";
|
|
4
4
|
import { apFormItemColPropKeys as V } from "../constant.mjs";
|
|
@@ -33,10 +33,10 @@ const T = /* @__PURE__ */ h({
|
|
|
33
33
|
} = G("ap-form-item-group"), i = t, a = w();
|
|
34
34
|
k(() => {
|
|
35
35
|
p.value = l(a.default());
|
|
36
|
-
}),
|
|
36
|
+
}), _(() => a.default(), (o) => {
|
|
37
37
|
p.value = l(o);
|
|
38
38
|
});
|
|
39
|
-
const p =
|
|
39
|
+
const p = B(l(a.default())), f = P(() => r(p).map((o, m) => {
|
|
40
40
|
const e = o.props, n = D(e, V), g = n != null && n.span ? {} : $(i.countPerRow), y = I(e.hidden) ? !!e.hidden : E(e.hidden);
|
|
41
41
|
return {
|
|
42
42
|
key: `${m}-${A(e.name)}`,
|