@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,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as Ae, useSlots as $e, ref as w, computed as s, unref as l, createVNode as m, Fragment as re, watch as k,
|
|
2
|
-
import { Divider as
|
|
3
|
-
import { useToken as
|
|
4
|
-
import { ApForm as
|
|
1
|
+
import { defineComponent as Ae, useSlots as $e, ref as w, computed as s, unref as l, toRef as De, createVNode as m, Fragment as re, watch as k, openBlock as y, createElementBlock as B, normalizeClass as g, normalizeStyle as K, mergeProps as v, createSlots as oe, withCtx as R, renderList as ae, createBlock as te, resolveDynamicComponent as je, renderSlot as C, createCommentVNode as le, createElementVNode as L, normalizeProps as We, guardReactiveProps as _e } from "vue";
|
|
2
|
+
import { Divider as He, Table as Ue } from "@aplus-frontend/antdv";
|
|
3
|
+
import { useToken as qe } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
|
+
import { ApForm as Me } from "../ap-form/index.mjs";
|
|
5
5
|
import { noRenderAsFormItemValueList as ne } from "./constants.mjs";
|
|
6
6
|
import "../config-provider/index.mjs";
|
|
7
|
-
import { useTablePaging as
|
|
8
|
-
import { isUndefined as b, omit as se, isBoolean as
|
|
9
|
-
import { getColumnOrder as de, updateFormProps as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { getScrollbarSize as
|
|
7
|
+
import { useTablePaging as Ge } from "./hooks/use-table-paging-ng.mjs";
|
|
8
|
+
import { isUndefined as b, omit as se, isBoolean as Je } from "lodash-unified";
|
|
9
|
+
import { getColumnOrder as de, updateFormProps as Qe, getFieldProps as Xe, getSearchFormItemRenderNode as Ye, recursionApColumns as ue, apColumnToColumn as Ze, getTableTitle as er, getTableRenderType as rr, getTableRenderProps as or, getTableCellRenderNode as ar, falseToUndefined as tr, objectToString as lr } from "./utils.mjs";
|
|
10
|
+
import nr from "./hooks/use-table-content-height.mjs";
|
|
11
|
+
import sr from "./hooks/use-table-row-selection.mjs";
|
|
12
|
+
import { getScrollbarSize as dr, isDef as ie } from "../utils/index.mjs";
|
|
13
13
|
import "./components/setting/modal/index.vue.mjs";
|
|
14
14
|
import "./components/paragraph-ellipsis/index.vue.mjs";
|
|
15
|
-
import { useProvideApTable as
|
|
15
|
+
import { useProvideApTable as ur } from "./context.mjs";
|
|
16
16
|
import "../scroll-bar/index.mjs";
|
|
17
|
-
import { useStickyScroll as
|
|
18
|
-
import { getValidVNodeList as
|
|
19
|
-
import { useNamespace as
|
|
20
|
-
import { useGlobalConfig as
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
const
|
|
17
|
+
import { useStickyScroll as ir } from "./hooks/use-sticky-scroll.mjs";
|
|
18
|
+
import { getValidVNodeList as cr } from "../utils/slot.mjs";
|
|
19
|
+
import { useNamespace as fr } from "../config-provider/hooks/use-namespace.mjs";
|
|
20
|
+
import { useGlobalConfig as pr } from "../config-provider/hooks/use-global-config.mjs";
|
|
21
|
+
import mr from "./components/paragraph-ellipsis/index.vue2.mjs";
|
|
22
|
+
import yr from "./components/setting/modal/index.vue2.mjs";
|
|
23
|
+
import gr from "../scroll-bar/index.vue.mjs";
|
|
24
|
+
const Dr = /* @__PURE__ */ Ae({
|
|
25
25
|
name: "ApTable",
|
|
26
26
|
__name: "ap-table",
|
|
27
27
|
props: {
|
|
@@ -150,28 +150,28 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
150
150
|
}) {
|
|
151
151
|
const r = ce;
|
|
152
152
|
let O = 0;
|
|
153
|
-
const c = $e(), [, pe] =
|
|
153
|
+
const c = $e(), [, pe] = qe(), {
|
|
154
154
|
e: z,
|
|
155
155
|
b: f,
|
|
156
156
|
be: A,
|
|
157
157
|
m: me,
|
|
158
158
|
cssVar: ye
|
|
159
|
-
} =
|
|
159
|
+
} = fr("ap-table"), $ = pr("valueTypeMap"), {
|
|
160
160
|
height: ge,
|
|
161
161
|
contentRef: be
|
|
162
|
-
} =
|
|
162
|
+
} = nr(), D = w(), j = w(), {
|
|
163
163
|
isStickyMode: W,
|
|
164
164
|
scrollBarRef: i
|
|
165
|
-
} =
|
|
166
|
-
|
|
165
|
+
} = ir(D), N = w(r.size), u = w([]), _ = w([]), H = dr();
|
|
166
|
+
ur({
|
|
167
167
|
columns: s(() => u.value),
|
|
168
168
|
columnsBackup: s(() => _.value),
|
|
169
|
-
size: s(() =>
|
|
169
|
+
size: s(() => N.value),
|
|
170
170
|
updateColumns(e) {
|
|
171
171
|
u.value = e;
|
|
172
172
|
},
|
|
173
173
|
updateSize(e) {
|
|
174
|
-
|
|
174
|
+
N.value = e;
|
|
175
175
|
},
|
|
176
176
|
dataSource: s(() => l(S).records),
|
|
177
177
|
getSearchFormValues: Q,
|
|
@@ -185,7 +185,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
185
185
|
let n = de(t.order);
|
|
186
186
|
return de(d.order) - n;
|
|
187
187
|
})) == null ? void 0 : o.map((t) => {
|
|
188
|
-
const d =
|
|
188
|
+
const d = Qe(t, Xe(t.fieldProps, {})), n = {
|
|
189
189
|
...t,
|
|
190
190
|
fieldProps: {
|
|
191
191
|
label: t.title,
|
|
@@ -197,7 +197,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
197
197
|
},
|
|
198
198
|
renderNode: void 0
|
|
199
199
|
};
|
|
200
|
-
return n.renderNode =
|
|
200
|
+
return n.renderNode = Ye(n, l($)), n;
|
|
201
201
|
})) || [];
|
|
202
202
|
}), Se = s(() => ue(l(u), (e) => {
|
|
203
203
|
if (e.sorter === !0)
|
|
@@ -207,7 +207,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
207
207
|
return e.key || (e == null ? void 0 : e.dataIndex);
|
|
208
208
|
}).filter(Boolean)), we = s(() => b(r.dataSource) ? S.records : r.dataSource), ve = s(() => {
|
|
209
209
|
var a;
|
|
210
|
-
return ie(r.manual) ? r.manual :
|
|
210
|
+
return ie(r.manual) ? r.manual : cr(((a = c.searchFormExtra) == null ? void 0 : a.call(c)) || []).some((o) => {
|
|
211
211
|
var t;
|
|
212
212
|
return ((t = o.type) == null ? void 0 : t.name) === "ApView";
|
|
213
213
|
});
|
|
@@ -215,13 +215,13 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
215
215
|
rowSelection: T,
|
|
216
216
|
selectedRows: x,
|
|
217
217
|
...F
|
|
218
|
-
} =
|
|
218
|
+
} = sr({
|
|
219
219
|
fixed: !0,
|
|
220
220
|
...r.rowSelection === !0 ? {} : r.rowSelection,
|
|
221
221
|
rowKey: r.rowKey,
|
|
222
222
|
dataSource: we
|
|
223
223
|
}), {
|
|
224
|
-
formRef:
|
|
224
|
+
formRef: P,
|
|
225
225
|
submit: I,
|
|
226
226
|
reset: V,
|
|
227
227
|
tableProps: q,
|
|
@@ -233,7 +233,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
233
233
|
filteredInfo: xe,
|
|
234
234
|
setPaging: Fe,
|
|
235
235
|
getPaging: ke
|
|
236
|
-
} =
|
|
236
|
+
} = Ge({
|
|
237
237
|
async request(e) {
|
|
238
238
|
var o, t;
|
|
239
239
|
if (!T.value.preserveSelectedRowKeys && b(r.dataSource) && F.clearAll(), !b(r.dataSource))
|
|
@@ -249,7 +249,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
249
249
|
},
|
|
250
250
|
filterFields: he,
|
|
251
251
|
sortFields: Se,
|
|
252
|
-
|
|
252
|
+
params: De(r, "params"),
|
|
253
253
|
defaultData: r.defaultData,
|
|
254
254
|
manual: l(ve),
|
|
255
255
|
formatParams: r.beforeSearchSubmit,
|
|
@@ -260,23 +260,23 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
260
260
|
function a(t, d) {
|
|
261
261
|
return t.map((n) => ({
|
|
262
262
|
resizable: ie(n.resizable) ? n.resizable : r.columnResizable,
|
|
263
|
-
...se(
|
|
263
|
+
...se(Ze(n), ["ellipsis"]),
|
|
264
264
|
// tips: 此函数内部依赖查询&筛选的相应式值
|
|
265
265
|
...M(n),
|
|
266
266
|
fixed: d ? d.fixed : n.fixed,
|
|
267
|
-
title:
|
|
267
|
+
title: er(n, A("table-header", "title"), c.headerCell, l(pe).colorTextTertiary),
|
|
268
268
|
customRender({
|
|
269
269
|
value: p,
|
|
270
270
|
...h
|
|
271
271
|
}) {
|
|
272
272
|
var Z, ee;
|
|
273
|
-
const X =
|
|
273
|
+
const X = rr(n), Ke = or({
|
|
274
274
|
...n,
|
|
275
275
|
valueType: X
|
|
276
276
|
}, {
|
|
277
277
|
value: p,
|
|
278
278
|
...h
|
|
279
|
-
}), Le =
|
|
279
|
+
}), Le = ar(X, Ke, h.record, l($)), Y = ((Z = n.renderText) == null ? void 0 : Z.call(n, {
|
|
280
280
|
value: p,
|
|
281
281
|
...h
|
|
282
282
|
})) || p, Oe = n.renderText ? m(re, null, [(ee = n.renderText) == null ? void 0 : ee.call(n, {
|
|
@@ -315,7 +315,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
315
315
|
}, {
|
|
316
316
|
deep: !0
|
|
317
317
|
});
|
|
318
|
-
const
|
|
318
|
+
const Ne = s(() => {
|
|
319
319
|
var a, o;
|
|
320
320
|
if (r.adaptive && (S.total > 0 || ((a = r.dataSource) == null ? void 0 : a.length)))
|
|
321
321
|
return {
|
|
@@ -324,7 +324,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
324
324
|
};
|
|
325
325
|
if (r.scroll)
|
|
326
326
|
return r.scroll;
|
|
327
|
-
}),
|
|
327
|
+
}), Pe = s(() => {
|
|
328
328
|
var e;
|
|
329
329
|
if (r.tableLayout)
|
|
330
330
|
return r.tableLayout;
|
|
@@ -340,10 +340,10 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
340
340
|
...a,
|
|
341
341
|
// tips 如果是前端分页,则默认会走缓存
|
|
342
342
|
preserveSelectedRowKeys: b(r.dataSource) ? a.preserveSelectedRowKeys : !0
|
|
343
|
-
} :
|
|
343
|
+
} : tr(r.rowSelection),
|
|
344
344
|
loading: b(r.loading) ? e.loading : r.loading,
|
|
345
345
|
pagination: r.pagination === !1 ? !1 : e.pagination,
|
|
346
|
-
scroll: l(
|
|
346
|
+
scroll: l(Ne)
|
|
347
347
|
};
|
|
348
348
|
}), Ie = s(() => {
|
|
349
349
|
var e;
|
|
@@ -352,11 +352,11 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
352
352
|
function Ve(e, a, o) {
|
|
353
353
|
if (ne.includes(e.valueType))
|
|
354
354
|
return o;
|
|
355
|
-
const t =
|
|
356
|
-
return e.copyable || e.ellipsis ? m(
|
|
355
|
+
const t = lr(a);
|
|
356
|
+
return e.copyable || e.ellipsis ? m(mr, {
|
|
357
357
|
copyable: e.copyable,
|
|
358
358
|
rawValue: t,
|
|
359
|
-
ellipsis: e.ellipsis ?
|
|
359
|
+
ellipsis: e.ellipsis ? Je(e.ellipsis) ? {
|
|
360
360
|
tooltip: o,
|
|
361
361
|
rows: 1
|
|
362
362
|
} : {
|
|
@@ -376,12 +376,12 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
376
376
|
});
|
|
377
377
|
function J(e) {
|
|
378
378
|
var a, o, t;
|
|
379
|
-
(t = (o = (a =
|
|
379
|
+
(t = (o = (a = P.value) == null ? void 0 : a.apForm) == null ? void 0 : o.setFieldsValue) == null || t.call(o, e);
|
|
380
380
|
}
|
|
381
381
|
function Q(e = !1) {
|
|
382
382
|
var o, t, d;
|
|
383
383
|
const a = e ? "getFieldsValueTransformed" : "getFieldsValue";
|
|
384
|
-
return (d = (t = (o =
|
|
384
|
+
return (d = (t = (o = P.value) == null ? void 0 : o.apForm) == null ? void 0 : t[a]) == null ? void 0 : d.call(t, !0);
|
|
385
385
|
}
|
|
386
386
|
function Ee() {
|
|
387
387
|
return l(u);
|
|
@@ -424,15 +424,15 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
424
424
|
key: 0,
|
|
425
425
|
class: g(e.card ? l(z)("search-wrapper") : null),
|
|
426
426
|
style: K(e.searchFormWrapperStyle)
|
|
427
|
-
}, [m(l(
|
|
427
|
+
}, [m(l(Me).SearchForm, v(e.searchForm || {}, {
|
|
428
428
|
ref_key: "formRef",
|
|
429
|
-
ref:
|
|
429
|
+
ref: P,
|
|
430
430
|
"custom-reset": "",
|
|
431
431
|
"submit-loading": l(q).loading,
|
|
432
432
|
onSubmit: l(I),
|
|
433
433
|
onReset: l(V)
|
|
434
|
-
}),
|
|
435
|
-
default: R(() => [(y(!0), B(re, null,
|
|
434
|
+
}), oe({
|
|
435
|
+
default: R(() => [(y(!0), B(re, null, ae(U.value, (o) => (y(), te(je(o.renderNode.Comp), v({
|
|
436
436
|
key: o.dataIndex,
|
|
437
437
|
item: o,
|
|
438
438
|
ref_for: !0
|
|
@@ -445,7 +445,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
445
445
|
name: "extra",
|
|
446
446
|
fn: R(() => [C(e.$slots, "searchFormExtra")]),
|
|
447
447
|
key: "0"
|
|
448
|
-
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) :
|
|
448
|
+
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : le("", !0), L("div", {
|
|
449
449
|
ref_key: "contentRef",
|
|
450
450
|
ref: be,
|
|
451
451
|
class: g([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
|
|
@@ -461,26 +461,26 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
461
461
|
selectedRows: l(x),
|
|
462
462
|
selectedRowKeys: l(T).selectedRowKeys,
|
|
463
463
|
shownColumns: u.value
|
|
464
|
-
}, F))], 2), c.title ? (y(),
|
|
464
|
+
}, F))], 2), c.title ? (y(), te(l(He), {
|
|
465
465
|
key: 0,
|
|
466
466
|
type: "vertical"
|
|
467
|
-
})) :
|
|
467
|
+
})) : le("", !0), m(yr, {
|
|
468
468
|
config: e.settings === !0 ? {} : e.settings
|
|
469
469
|
}, null, 8, ["config"])], 2)) : C(e.$slots, "title", v({
|
|
470
470
|
key: 1,
|
|
471
471
|
selectedRows: l(x),
|
|
472
472
|
selectedRowKeys: l(T).selectedRowKeys,
|
|
473
473
|
shownColumns: u.value
|
|
474
|
-
}, F))], 2), m(l(
|
|
474
|
+
}, F))], 2), m(l(Ue), v({
|
|
475
475
|
ref_key: "antdTableRef",
|
|
476
476
|
ref: j,
|
|
477
477
|
class: l(f)("table")
|
|
478
478
|
}, G.value, {
|
|
479
|
-
size:
|
|
480
|
-
"table-layout":
|
|
479
|
+
size: N.value,
|
|
480
|
+
"table-layout": Pe.value,
|
|
481
481
|
columns: u.value,
|
|
482
482
|
onResizeColumn: a[0] || (a[0] = (o, t) => t.width = o)
|
|
483
|
-
}),
|
|
483
|
+
}), oe({
|
|
484
484
|
summary: R(() => [C(e.$slots, "summary", {
|
|
485
485
|
columns: u.value,
|
|
486
486
|
records: G.value.dataSource,
|
|
@@ -491,7 +491,7 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
491
491
|
name: "bottomPaginationTop",
|
|
492
492
|
fn: R(() => {
|
|
493
493
|
var o, t;
|
|
494
|
-
return [m(l(
|
|
494
|
+
return [m(l(gr), {
|
|
495
495
|
ref_key: "scrollBarRef",
|
|
496
496
|
ref: i,
|
|
497
497
|
"scroll-container": (t = (o = j.value) == null ? void 0 : o.table) == null ? void 0 : t.scrollBodyRef,
|
|
@@ -501,12 +501,12 @@ const $r = /* @__PURE__ */ Ae({
|
|
|
501
501
|
}, null, 8, ["scroll-container"])];
|
|
502
502
|
}),
|
|
503
503
|
key: "0"
|
|
504
|
-
} : void 0,
|
|
504
|
+
} : void 0, ae(l(se)(c, ["title", "searchFormExtra", "headerCell", "summary"]), (o, t) => ({
|
|
505
505
|
name: t,
|
|
506
|
-
fn: R((d) => [C(e.$slots, t,
|
|
506
|
+
fn: R((d) => [C(e.$slots, t, We(_e(d || {})))])
|
|
507
507
|
}))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
|
|
508
508
|
}
|
|
509
509
|
});
|
|
510
510
|
export {
|
|
511
|
-
|
|
511
|
+
Dr as default
|
|
512
512
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n,
|
|
1
|
+
import { defineComponent as n, openBlock as o, createBlock as t, resolveDynamicComponent as r } from "vue";
|
|
2
2
|
const s = /* @__PURE__ */ n({
|
|
3
3
|
name: "ApTableDynamicComponent",
|
|
4
4
|
inheritAttrs: !1,
|
|
@@ -7,7 +7,7 @@ const s = /* @__PURE__ */ n({
|
|
|
7
7
|
customRender: { type: Function }
|
|
8
8
|
},
|
|
9
9
|
setup(p) {
|
|
10
|
-
return (e, a) => (
|
|
10
|
+
return (e, a) => (o(), t(r(e.customRender(e.$attrs))));
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, computed as l,
|
|
1
|
+
import { defineComponent as n, computed as l, openBlock as s, createElementBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const _ = /* @__PURE__ */ n({
|
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ n({
|
|
|
10
10
|
},
|
|
11
11
|
setup(e) {
|
|
12
12
|
const o = e, { m: a } = c("ap-table-index"), r = l(() => [o.bordered ? a("bordered") : null].filter(Boolean));
|
|
13
|
-
return (t, i) => (
|
|
13
|
+
return (t, i) => (s(), p("div", {
|
|
14
14
|
class: d(r.value)
|
|
15
15
|
}, m(t.value), 3));
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as _, computed as B,
|
|
1
|
+
import { defineComponent as x, ref as _, computed as B, openBlock as i, createElementBlock as f, mergeProps as E, unref as o, createElementVNode as O, normalizeClass as y, createVNode as b, createSlots as N, withCtx as m, createBlock as c, resolveDynamicComponent as v, h as w, createCommentVNode as V } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { Tooltip as h } from "@aplus-frontend/antdv";
|
|
4
4
|
import { CopyOutlined as j, CheckOutlined as S } from "@ant-design/icons-vue";
|
|
@@ -65,7 +65,7 @@ const G = /* @__PURE__ */ x({
|
|
|
65
65
|
O("div", {
|
|
66
66
|
class: y([o(u)("content")])
|
|
67
67
|
}, [
|
|
68
|
-
b(o(h), null,
|
|
68
|
+
b(o(h), null, N({
|
|
69
69
|
default: m(() => {
|
|
70
70
|
var s;
|
|
71
71
|
return [
|
|
@@ -98,7 +98,7 @@ const G = /* @__PURE__ */ x({
|
|
|
98
98
|
]),
|
|
99
99
|
_: 1
|
|
100
100
|
}, 8, ["title"])
|
|
101
|
-
], 2)) :
|
|
101
|
+
], 2)) : V("", !0)
|
|
102
102
|
], 16);
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, ref as y, unref as e, computed as L, useSlots as M, createVNode as l, cloneVNode as P,
|
|
1
|
+
import { defineComponent as G, ref as y, unref as e, computed as L, useSlots as M, createVNode as l, cloneVNode as P, openBlock as T, createElementBlock as q, Fragment as H, createBlock as J, resolveDynamicComponent as Q, createCommentVNode as W, withCtx as r, createElementVNode as s, normalizeClass as i, toDisplayString as c, createTextVNode as S, isRef as X } from "vue";
|
|
2
2
|
import { Button as x, Modal as Y, RadioGroup as Z, RadioButton as B, Divider as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import { getSingleVNode as ee } from "../../../../utils/slot.mjs";
|
|
4
4
|
import { useInjectApTable as te } from "../../../context.mjs";
|
|
@@ -58,9 +58,9 @@ const Te = /* @__PURE__ */ G({
|
|
|
58
58
|
const p = h(o.value);
|
|
59
59
|
E(p), I(p), (n = (t = m.config) == null ? void 0 : t.onChange) == null || n.call(t, p);
|
|
60
60
|
}
|
|
61
|
-
return (p, t) => (T(), q(H, null, [e(k) ? (T(), J(
|
|
61
|
+
return (p, t) => (T(), q(H, null, [e(k) ? (T(), J(Q(e(k)), {
|
|
62
62
|
key: 0
|
|
63
|
-
})) :
|
|
63
|
+
})) : W("", !0), l(e(Y), {
|
|
64
64
|
open: u.value,
|
|
65
65
|
"onUpdate:open": t[2] || (t[2] = (n) => u.value = n),
|
|
66
66
|
title: e(a)("ap.apTable.setting.title"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, ref as U, computed as p, unref as l, watch as x,
|
|
1
|
+
import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, openBlock as s, createElementBlock as v, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
|
|
2
2
|
import { Checkbox as b, Row as F, Col as I } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../../config-provider/index.mjs";
|
|
4
4
|
import { useInjectApTable as R } from "../../../context.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, ref as c,
|
|
1
|
+
import { defineComponent as f, ref as c, openBlock as n, createElementBlock as u, normalizeClass as m, unref as r, createVNode as i, withCtx as k, createBlock as y, createCommentVNode as p } from "vue";
|
|
2
2
|
import "./item.vue.mjs";
|
|
3
3
|
import "../../../../config-provider/index.mjs";
|
|
4
4
|
import V from "vuedraggable";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as E,
|
|
1
|
+
import { defineComponent as E, openBlock as s, createElementBlock as g, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
|
|
2
2
|
import { Space as O, Tooltip as m } from "@aplus-frontend/antdv";
|
|
3
3
|
import { HolderOutlined as D, VerticalAlignTopOutlined as k, VerticalAlignMiddleOutlined as z, DeleteOutlined as A } from "@ant-design/icons-vue";
|
|
4
4
|
import "../../../../config-provider/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, ref as L, unref as n, computed as O, watch as $,
|
|
1
|
+
import { defineComponent as A, ref as L, unref as n, computed as O, watch as $, openBlock as c, createElementBlock as y, normalizeClass as d, createVNode as m, withCtx as v, createElementVNode as g, toDisplayString as k, createTextVNode as q, createBlock as b, createCommentVNode as p } from "vue";
|
|
2
2
|
import { Flex as G, Button as H, Divider as J } from "@aplus-frontend/antdv";
|
|
3
3
|
import N from "vuedraggable";
|
|
4
4
|
import "../sortable/index.vue.mjs";
|
|
@@ -112,8 +112,8 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
|
|
|
112
112
|
align: "center",
|
|
113
113
|
justify: "space-between"
|
|
114
114
|
}, {
|
|
115
|
-
default:
|
|
116
|
-
|
|
115
|
+
default: v(() => [
|
|
116
|
+
g("span", {
|
|
117
117
|
class: d(n(r)("header-title"))
|
|
118
118
|
}, k(n(h)("ap.apTable.setting.selectCount", { count: z.value })), 3),
|
|
119
119
|
m(n(H), {
|
|
@@ -122,7 +122,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
|
|
|
122
122
|
style: { padding: "0" },
|
|
123
123
|
onClick: x.onReset
|
|
124
124
|
}, {
|
|
125
|
-
default:
|
|
125
|
+
default: v(() => [
|
|
126
126
|
q(k(n(h)("ap.apTable.setting.reset")), 1)
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
@@ -131,11 +131,11 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
|
|
|
131
131
|
_: 1
|
|
132
132
|
}, 8, ["class"]),
|
|
133
133
|
m(n(J), { style: { margin: "0px" } }),
|
|
134
|
-
|
|
134
|
+
g("div", {
|
|
135
135
|
class: d(n(r)("content"))
|
|
136
136
|
}, [
|
|
137
137
|
i.value.length ? (c(), y("div", W, [
|
|
138
|
-
|
|
138
|
+
g("span", {
|
|
139
139
|
class: d(n(r)("section-title"))
|
|
140
140
|
}, k(n(h)("ap.apTable.setting.fixToLeft")), 3),
|
|
141
141
|
m(n(N), {
|
|
@@ -143,7 +143,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
|
|
|
143
143
|
"item-key": "key",
|
|
144
144
|
"onUpdate:modelValue": D
|
|
145
145
|
}, {
|
|
146
|
-
item:
|
|
146
|
+
item: v(({ element: o }) => [
|
|
147
147
|
C(o) ? (c(), b(R, {
|
|
148
148
|
key: 0,
|
|
149
149
|
value: o
|
|
@@ -153,7 +153,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
|
|
|
153
153
|
}, 8, ["model-value"])
|
|
154
154
|
])) : p("", !0),
|
|
155
155
|
s.value.length ? (c(), y("div", X, [
|
|
156
|
-
|
|
156
|
+
g("span", {
|
|
157
157
|
class: d(n(r)("section-title"))
|
|
158
158
|
}, k(n(h)("ap.apTable.setting.unFixed")), 3),
|
|
159
159
|
m(n(N), {
|
|
@@ -161,7 +161,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
|
|
|
161
161
|
"item-key": "key",
|
|
162
162
|
"onUpdate:modelValue": E
|
|
163
163
|
}, {
|
|
164
|
-
item:
|
|
164
|
+
item: v(({ element: o }) => [
|
|
165
165
|
C(o) ? (c(), b(R, {
|
|
166
166
|
key: 0,
|
|
167
167
|
value: o
|
|
@@ -171,7 +171,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
|
|
|
171
171
|
}, 8, ["model-value"])
|
|
172
172
|
])) : p("", !0),
|
|
173
173
|
u.value.length ? (c(), y("div", Y, [
|
|
174
|
-
|
|
174
|
+
g("span", {
|
|
175
175
|
class: d(n(r)("section-title"))
|
|
176
176
|
}, k(n(h)("ap.apTable.setting.fixToRight")), 3),
|
|
177
177
|
m(n(N), {
|
|
@@ -179,7 +179,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
|
|
|
179
179
|
"item-key": "key",
|
|
180
180
|
"onUpdate:modelValue": j
|
|
181
181
|
}, {
|
|
182
|
-
item:
|
|
182
|
+
item: v(({ element: o }) => [
|
|
183
183
|
C(o) ? (c(), b(R, {
|
|
184
184
|
key: 0,
|
|
185
185
|
value: o
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, computed as w, unref as o,
|
|
1
|
+
import { defineComponent as x, computed as w, unref as o, openBlock as c, createElementBlock as i, createVNode as s, withCtx as d, Fragment as m, renderList as B, createBlock as u, mergeProps as I, resolveDynamicComponent as L } from "vue";
|
|
2
2
|
import { Row as N, Col as k, Checkbox as P } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../select-group/index.vue.mjs";
|
|
4
4
|
import { useInjectApTable as U } from "../../../context.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, computed as o,
|
|
1
|
+
import { defineComponent as n, computed as o, openBlock as u, createBlock as a, unref as m, normalizeProps as p, mergeProps as l, createCommentVNode as c } from "vue";
|
|
2
2
|
import { Badge as s } from "@aplus-frontend/antdv";
|
|
3
3
|
const _ = /* @__PURE__ */ n({
|
|
4
4
|
name: "ApTableStatus",
|
|
@@ -9,7 +9,7 @@ const _ = /* @__PURE__ */ n({
|
|
|
9
9
|
},
|
|
10
10
|
setup(t) {
|
|
11
11
|
const e = t, r = o(() => e.valueEnum[e.value]);
|
|
12
|
-
return (d, f) => r.value ? (
|
|
12
|
+
return (d, f) => r.value ? (u(), a(m(s), p(l({ key: 0 }, r.value)), null, 16)) : c("", !0);
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
export {
|
|
@@ -11,7 +11,7 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
11
11
|
import { OnCleanup } from '@vue/reactivity';
|
|
12
12
|
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
13
13
|
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
14
|
-
import { RadioChangeEvent, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
|
|
14
|
+
import { RadioChangeEvent, SelectProps, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
|
|
15
15
|
import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
|
|
16
16
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
17
17
|
import { RenderDOMFunc, DropdownRender, CustomTagProps, DisplayValueType } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
@@ -950,14 +950,14 @@ export declare const apTableFormItemMap: {
|
|
|
950
950
|
readonly onClickOption?: ((e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>) | undefined;
|
|
951
951
|
readonly labelInValue?: boolean | undefined;
|
|
952
952
|
readonly emptyText?: string | undefined;
|
|
953
|
-
readonly request?: ((value?: string, extraParams?: Recordable) => Promise<
|
|
953
|
+
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
954
954
|
readonly multiple?: boolean | undefined;
|
|
955
|
-
readonly value?:
|
|
955
|
+
readonly value?: SelectProps["value"];
|
|
956
956
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
957
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
957
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
958
958
|
readonly refetchOnFocus?: boolean | undefined;
|
|
959
959
|
readonly lazy?: boolean | undefined;
|
|
960
|
-
readonly addAll?: boolean | number | undefined;
|
|
960
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
961
961
|
readonly params?: Recordable | undefined;
|
|
962
962
|
readonly searchDelay?: number | undefined;
|
|
963
963
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|