@aplus-frontend/ui 0.6.0-beta.0 → 0.6.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +1 -1
- package/es/src/ap-field/date/helper.mjs +12 -12
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +57 -58
- package/es/src/ap-form/interface.d.ts +8 -0
- package/es/src/ap-form/item/index.vue.d.ts +1 -1
- package/es/src/ap-form/item/index.vue.mjs +33 -28
- package/es/src/ap-form/items/checkbox/index.vue.mjs +1 -0
- package/es/src/ap-form/items/date/index.vue.mjs +8 -7
- package/es/src/ap-form/items/date-range/index.vue.mjs +1 -0
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/number/index.vue.mjs +9 -8
- package/es/src/ap-form/items/radio/index.vue.mjs +1 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.mjs +7 -6
- package/es/src/ap-form/items/switch/index.vue.mjs +1 -0
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +8 -7
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +1 -0
- package/es/src/ap-form/items/text-area/index.vue.mjs +1 -0
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/tree-select/index.vue.mjs +6 -5
- package/es/src/ap-form/render/item.vue.d.ts +1 -1
- package/es/src/ap-form/render/item.vue.mjs +5 -4
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +41 -37
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +8 -8
- package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
- package/es/src/ap-form/search-form/index.vue.mjs +91 -89
- package/es/src/ap-grid/constants.d.ts +3 -3
- package/es/src/ap-grid/constants.mjs +9 -9
- package/es/src/ap-grid/editable/form-item.vue.mjs +95 -84
- package/es/src/ap-grid/editable/index.vue.mjs +90 -79
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
- package/es/src/ap-grid/index.vue.mjs +171 -148
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/table.mjs +32 -32
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue2.mjs +209 -198
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +30 -30
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +147 -130
- package/es/src/ap-table/utils.d.ts +14 -14
- package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
- package/es/src/ap-tag/interface.d.ts +4 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +93 -73
- package/es/src/business/ap-expand-alert/index.d.ts +4 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +109 -99
- package/es/src/business/ap-export-group/index.d.ts +3 -0
- package/es/src/business/ap-export-group/interface.d.ts +7 -2
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +3 -3
- package/es/src/business/ap-status/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
- package/es/src/business/ap-view/ap-view.vue2.mjs +136 -117
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +60 -48
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +86 -80
- package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/es/src/business/ap-view/index.d.ts +3 -0
- package/es/src/business/ap-view/interface.d.ts +8 -0
- package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/form-item.vue.mjs +1 -0
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/hooks/usePageListApGrid.mjs +3 -5
- package/es/src/check-card/group.vue.d.ts +1 -1
- package/es/src/check-card/index.vue2.mjs +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +0 -5
- package/es/src/config-provider/config-provider-props.mjs +0 -4
- package/es/src/config-provider/config-provider.d.ts +0 -138
- package/es/src/config-provider/config-provider.mjs +21 -26
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/es/src/config-provider/index.d.ts +0 -652
- package/es/src/design-token/index.mjs +9 -3
- package/es/src/editable-table/form-item.vue.d.ts +2 -14
- package/es/src/editable-table/form-item.vue.mjs +85 -77
- package/es/src/editable-table/index.vue.d.ts +2 -16
- package/es/src/editable-table/index.vue.mjs +86 -78
- package/es/src/editable-table/interface.d.ts +7 -0
- package/es/src/locale/lang/en.mjs +1 -1
- package/es/src/locale/lang/zh-cn.mjs +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-field/date/helper.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/interface.d.ts +8 -0
- package/lib/src/ap-form/item/index.vue.d.ts +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +1 -1
- package/lib/src/ap-form/render/item.vue.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/constants.d.ts +3 -3
- package/lib/src/ap-grid/constants.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +30 -30
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/utils.d.ts +14 -14
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +4 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +3 -0
- package/lib/src/business/ap-export-group/interface.d.ts +7 -2
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +3 -3
- package/lib/src/business/ap-status/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/lib/src/business/ap-view/index.d.ts +3 -0
- package/lib/src/business/ap-view/interface.d.ts +8 -0
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +0 -5
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +0 -138
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/lib/src/config-provider/index.d.ts +0 -652
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/editable-table/form-item.vue.d.ts +2 -14
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -16
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -0
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +4 -4
- package/theme/antd-global-overwrite/admin/index.css +14 -27
- package/theme/antd-global-overwrite/admin/index.less +1 -0
- package/theme/antd-global-overwrite/admin/modal.css +8 -24
- package/theme/antd-global-overwrite/admin/modal.less +9 -24
- package/theme/antd-global-overwrite/admin/table.css +3 -3
- package/theme/antd-global-overwrite/admin/table.less +3 -3
- package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/index.css +13 -20
- package/theme/antd-global-overwrite/aplus/index.less +1 -0
- package/theme/antd-global-overwrite/aplus/modal.css +7 -17
- package/theme/antd-global-overwrite/aplus/modal.less +8 -18
- package/theme/antd-global-overwrite/aplus/table.css +3 -3
- package/theme/antd-global-overwrite/aplus/table.less +3 -3
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-action/item-dropdown.css +24 -6
- package/theme/ap-action/item-dropdown.less +1 -1
- package/theme/ap-action/item.css +25 -7
- package/theme/ap-action/item.less +1 -1
- package/theme/ap-appendix/ap-appendix.css +28 -8
- package/theme/ap-appendix/ap-appendix.less +6 -4
- package/theme/ap-attachment/ap-attachment.css +28 -9
- package/theme/ap-attachment/ap-attachment.less +6 -6
- package/theme/ap-batch-action/ap-batch-action.css +28 -7
- package/theme/ap-batch-action/ap-batch-action.less +6 -3
- package/theme/ap-button/ap-button.css +22 -4
- package/theme/ap-card/ap-card.css +22 -4
- package/theme/ap-descriptions/ap-descriptions.css +27 -9
- package/theme/ap-descriptions/ap-descriptions.less +5 -5
- package/theme/ap-download/ap-download.css +29 -14
- package/theme/ap-download/ap-download.less +8 -11
- package/theme/ap-expand-alert/ap-expand-alert.css +24 -6
- package/theme/ap-expand-alert/ap-expand-alert.less +5 -5
- package/theme/ap-field/checkbox.css +23 -5
- package/theme/ap-field/checkbox.less +2 -1
- package/theme/ap-field/index.css +24 -6
- package/theme/ap-field/number.css +22 -4
- package/theme/ap-field/radio.css +23 -5
- package/theme/ap-field/radio.less +1 -1
- package/theme/ap-field/text-area.css +22 -4
- package/theme/ap-form/ap-form-item-group.css +22 -4
- package/theme/ap-form/ap-form-item.css +33 -10
- package/theme/ap-form/ap-form-item.less +17 -9
- package/theme/ap-form/drawer-form.css +22 -4
- package/theme/ap-form/index.css +61 -26
- package/theme/ap-form/item-text-group.css +22 -4
- package/theme/ap-form/item-text.css +22 -4
- package/theme/ap-form/modal-form.css +22 -4
- package/theme/ap-form/search-form-sorter.css +36 -17
- package/theme/ap-form/search-form-sorter.less +8 -7
- package/theme/ap-form/search-form.css +61 -26
- package/theme/ap-form/search-form.less +17 -6
- package/theme/ap-grid/editable.css +24 -6
- package/theme/ap-grid/editable.less +3 -2
- package/theme/ap-grid/index.css +117 -43
- package/theme/ap-grid/index.less +35 -11
- package/theme/ap-group-search/ap-extension-select.css +22 -4
- package/theme/ap-group-search/ap-group-search.css +22 -4
- package/theme/ap-group-search/ap-popover-select.css +22 -4
- package/theme/ap-image/ap-image.css +22 -4
- package/theme/ap-input-radio/ap-input-radio.css +22 -4
- package/theme/ap-label/ap-label.css +22 -4
- package/theme/ap-ladder/ap-ladder.css +26 -7
- package/theme/ap-ladder/ap-ladder.less +4 -3
- package/theme/ap-layout/ap-info-layout.css +22 -4
- package/theme/ap-list/index.css +23 -5
- package/theme/ap-list/index.less +2 -1
- package/theme/ap-product-info/ap-product-info.css +22 -4
- package/theme/ap-select-layout/ap-select-layout.css +30 -12
- package/theme/ap-select-layout/ap-select-layout.less +8 -8
- package/theme/ap-size-input/ap-size-input.css +22 -4
- package/theme/ap-status/ap-status.css +24 -7
- package/theme/ap-status/ap-status.less +2 -4
- package/theme/ap-summary/index.css +25 -7
- package/theme/ap-summary/index.less +3 -3
- package/theme/ap-table/ap-table-index.css +27 -9
- package/theme/ap-table/ap-table-index.less +5 -5
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +22 -4
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +109 -55
- package/theme/ap-table/ap-table.less +11 -9
- package/theme/ap-table/setting/index.css +30 -13
- package/theme/ap-table/setting/modal.css +26 -9
- package/theme/ap-table/setting/modal.less +1 -2
- package/theme/ap-table/setting/select-group.css +24 -5
- package/theme/ap-table/setting/select-group.less +2 -1
- package/theme/ap-table/setting/sortable-item-meta.css +22 -4
- package/theme/ap-table/setting/sortable-item.css +22 -4
- package/theme/ap-table/setting/sorter.css +24 -7
- package/theme/ap-table-modal/index.css +109 -55
- package/theme/ap-tag/ap-tag-group.css +24 -6
- package/theme/ap-tag/ap-tag-group.less +4 -5
- package/theme/ap-tag/ap-tag.css +45 -18
- package/theme/ap-tag/ap-tag.less +37 -24
- package/theme/ap-title/ap-title.css +29 -9
- package/theme/ap-title/ap-title.less +7 -5
- package/theme/ap-upload/index.css +30 -12
- package/theme/ap-upload/multiple-file.css +24 -6
- package/theme/ap-upload/multiple-file.less +2 -2
- package/theme/ap-upload/picture.css +26 -8
- package/theme/ap-upload/picture.less +4 -4
- package/theme/ap-upload/single-file.css +24 -6
- package/theme/ap-upload/single-file.less +2 -2
- package/theme/ap-upload/upload.css +22 -4
- package/theme/ap-upload-single/index.css +22 -4
- package/theme/ap-view/ap-view.css +26 -4
- package/theme/ap-view/ap-view.less +4 -0
- package/theme/batch-input-group/index.css +25 -6
- package/theme/batch-input-group/popover-input.css +23 -4
- package/theme/batch-input-group/popover-input.less +1 -0
- package/theme/check-card/index.css +44 -26
- package/theme/check-card/index.less +17 -15
- package/theme/editable-table/index.css +77 -40
- package/theme/editable-table/index.less +9 -7
- package/theme/full-screen/index.css +22 -4
- package/theme/index.css +390 -182
- package/theme/index.less +1 -0
- package/theme/mask/index.css +22 -4
- package/theme/mixins/config.less +27 -5
- package/theme/mixins/mixins.css +22 -4
- package/theme/mixins/mixins.less +25 -0
- package/theme/scroll-bar/index.css +22 -4
- package/theme/scroll-view/index.css +22 -4
- package/theme/splitter/index.css +29 -11
- package/theme/text/group.css +22 -4
- package/theme/text/index.css +25 -7
- package/theme/ui-mode.css +94 -0
- package/theme/ui-mode.less +95 -0
- package/theme/work-order-modal/index.css +22 -4
- package/es/src/config-provider/css-var.d.ts +0 -139
- package/es/src/config-provider/css-var.mjs +0 -278
- package/lib/src/config-provider/css-var.d.ts +0 -139
- package/lib/src/config-provider/css-var.js +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Col as R, Flex as
|
|
1
|
+
import { isVNode as oe, defineComponent as ae, useSlots as ne, ref as L, shallowRef as U, computed as _, unref as n, watch as V, createVNode as t, Fragment as w, createBlock as x, openBlock as d, mergeProps as le, withCtx as A, resolveDynamicComponent as B, createElementBlock as re, renderList as se } from "vue";
|
|
2
|
+
import { Col as R, Flex as N, Button as M, Row as ie } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../item/index.vue2.mjs";
|
|
5
|
-
import { genRealChildren as
|
|
5
|
+
import { genRealChildren as W } from "../item-group/helper.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import { isArray as
|
|
8
|
-
import { isDef as
|
|
9
|
-
import { execFunc as
|
|
7
|
+
import { isArray as ue, isBoolean as ce, omit as pe } from "lodash-unified";
|
|
8
|
+
import { isDef as D } from "../../utils/index.mjs";
|
|
9
|
+
import { execFunc as q, diffFormItem as de } from "./utils.mjs";
|
|
10
10
|
import "./components/popover-filter.vue.mjs";
|
|
11
|
-
import { useCountPerRow as
|
|
11
|
+
import { useCountPerRow as fe } from "./hooks/use-count-per-row.mjs";
|
|
12
12
|
import "./components/popover-sorter/index.vue.mjs";
|
|
13
|
-
import { useNamespace as
|
|
14
|
-
import { useLocale as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
function
|
|
20
|
-
return typeof f == "function" || Object.prototype.toString.call(f) === "[object Object]" && !
|
|
13
|
+
import { useNamespace as me } from "../../config-provider/hooks/use-namespace.mjs";
|
|
14
|
+
import { useLocale as he } from "../../config-provider/hooks/use-locale.mjs";
|
|
15
|
+
import z from "../item/index.vue.mjs";
|
|
16
|
+
import xe from "./components/popover-filter.vue2.mjs";
|
|
17
|
+
import ye from "./components/popover-sorter/index.vue2.mjs";
|
|
18
|
+
import ge from "../ap-form.vue2.mjs";
|
|
19
|
+
function ve(f) {
|
|
20
|
+
return typeof f == "function" || Object.prototype.toString.call(f) === "[object Object]" && !oe(f);
|
|
21
21
|
}
|
|
22
|
-
const s = 24,
|
|
22
|
+
const s = 24, Ue = /* @__PURE__ */ ae({
|
|
23
23
|
name: "ApFormSearchForm",
|
|
24
24
|
__name: "index",
|
|
25
25
|
props: {
|
|
@@ -111,138 +111,140 @@ const s = 24, Le = /* @__PURE__ */ te({
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
setup(f, {
|
|
114
|
-
expose:
|
|
114
|
+
expose: H
|
|
115
115
|
}) {
|
|
116
116
|
var P;
|
|
117
|
-
const i =
|
|
117
|
+
const i = ne(), o = f, {
|
|
118
118
|
b: m
|
|
119
|
-
} =
|
|
120
|
-
t:
|
|
121
|
-
} =
|
|
122
|
-
function
|
|
123
|
-
var
|
|
124
|
-
|
|
119
|
+
} = me("ap-form-search-form"), {
|
|
120
|
+
t: k
|
|
121
|
+
} = he(), G = fe(o), y = L();
|
|
122
|
+
function I() {
|
|
123
|
+
var a;
|
|
124
|
+
const e = (a = y.value) == null ? void 0 : a.getFieldsValueTransformed(!0);
|
|
125
|
+
q(o.onSubmit, e);
|
|
125
126
|
}
|
|
126
|
-
function
|
|
127
|
+
function J() {
|
|
127
128
|
var e, a;
|
|
128
|
-
o.customReset || (a = (e = y.value) == null ? void 0 : e.resetFields) == null || a.call(e),
|
|
129
|
+
o.customReset || (a = (e = y.value) == null ? void 0 : e.resetFields) == null || a.call(e), q(o.onReset);
|
|
129
130
|
}
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}),
|
|
131
|
+
const K = (e) => D(e) ? (ue(e) ? e : [e]).join("") : Date.now();
|
|
132
|
+
let T = [];
|
|
133
|
+
const u = U(W(i.default())), b = L(!1), c = U((P = i.extra) == null ? void 0 : P.call(i)), E = _(() => Math.floor(s / n(G)));
|
|
134
|
+
V(() => i.default(), (e) => {
|
|
135
|
+
T = u.value, u.value = de(T, W(e)), b.value = !1;
|
|
136
|
+
}), V(() => {
|
|
136
137
|
var e;
|
|
137
138
|
return (e = i.extra) == null ? void 0 : e.call(i);
|
|
138
139
|
}, (e) => {
|
|
139
|
-
|
|
140
|
+
c.value = e;
|
|
140
141
|
});
|
|
141
|
-
const
|
|
142
|
-
const e =
|
|
143
|
-
let v = 0,
|
|
144
|
-
const
|
|
145
|
-
e.forEach((
|
|
146
|
-
const p =
|
|
147
|
-
if (ce(p.hidden) ? !!p.hidden :
|
|
148
|
-
a.push(
|
|
142
|
+
const l = _(() => {
|
|
143
|
+
const e = u.value, a = [], r = [], g = [], h = n(E);
|
|
144
|
+
let v = 0, S = 0;
|
|
145
|
+
const Y = s * o.maxRows - h * (n(c) && !o.extraInAction ? 2 : 1);
|
|
146
|
+
e.forEach((F, te) => {
|
|
147
|
+
const p = F.props;
|
|
148
|
+
if (ce(p.hidden) ? !!p.hidden : D(p.hidden))
|
|
149
|
+
a.push(F);
|
|
149
150
|
else {
|
|
150
151
|
let C = p.span || h;
|
|
151
|
-
const
|
|
152
|
-
node:
|
|
152
|
+
const $ = {
|
|
153
|
+
node: F,
|
|
153
154
|
span: C,
|
|
154
|
-
key: `ApFormSearchFormItem-${
|
|
155
|
-
},
|
|
156
|
-
|
|
155
|
+
key: `ApFormSearchFormItem-${te}-${K(p.name)}-${p._signal}`
|
|
156
|
+
}, j = s - v % s;
|
|
157
|
+
j < C && (C += j), v += C, v > Y ? r.push($) : (S = v, g.push($));
|
|
157
158
|
}
|
|
158
159
|
});
|
|
159
|
-
const
|
|
160
|
+
const O = s - (S + h) % s, Z = S % s < h, ee = O < h ? s : O;
|
|
160
161
|
return {
|
|
161
162
|
hideNode: t(w, null, [a]),
|
|
162
163
|
nodes: g,
|
|
163
|
-
collapseNodes:
|
|
164
|
-
extraSpan:
|
|
165
|
-
lastRowOnlyIncludeActionAndExtra:
|
|
164
|
+
collapseNodes: r,
|
|
165
|
+
extraSpan: ee,
|
|
166
|
+
lastRowOnlyIncludeActionAndExtra: Z
|
|
166
167
|
};
|
|
167
168
|
});
|
|
168
|
-
function
|
|
169
|
-
|
|
169
|
+
function Q(e) {
|
|
170
|
+
u.value = [...e], b.value = !0;
|
|
170
171
|
}
|
|
171
|
-
const
|
|
172
|
+
const X = _(() => {
|
|
172
173
|
let e;
|
|
173
174
|
const a = t(R, {
|
|
174
175
|
span: n(E),
|
|
175
176
|
key: "actionWrapper"
|
|
176
177
|
}, {
|
|
177
|
-
default: () => [t(
|
|
178
|
-
default: () => [t(
|
|
178
|
+
default: () => [t(z, null, {
|
|
179
|
+
default: () => [t(N, {
|
|
179
180
|
wrap: "wrap",
|
|
180
|
-
justify:
|
|
181
|
+
justify: l.value.lastRowOnlyIncludeActionAndExtra && !(n(c) && o.extraInAction) ? "flex-end" : "space-between"
|
|
181
182
|
}, {
|
|
182
|
-
default: () => [t(
|
|
183
|
+
default: () => [t(N, {
|
|
183
184
|
gap: 8,
|
|
184
185
|
wrap: "wrap"
|
|
185
186
|
}, {
|
|
186
187
|
default: () => [t("div", {
|
|
187
188
|
class: m("column-setting-trigger-wrapper")
|
|
188
|
-
}, [
|
|
189
|
-
onSubmit:
|
|
190
|
-
config:
|
|
189
|
+
}, [l.value.collapseNodes.length ? t(xe, {
|
|
190
|
+
onSubmit: I,
|
|
191
|
+
config: l.value.collapseNodes,
|
|
191
192
|
submitLoading: o.submitLoading
|
|
192
|
-
}, null) : null, o.sortable &&
|
|
193
|
-
children:
|
|
194
|
-
onClickConfirm:
|
|
195
|
-
|
|
193
|
+
}, null) : null, o.sortable && u.value.length ? t(ye, {
|
|
194
|
+
children: u.value,
|
|
195
|
+
onClickConfirm: Q,
|
|
196
|
+
sorted: b.value
|
|
197
|
+
}, null) : null]), t(M, {
|
|
196
198
|
type: "primary",
|
|
197
|
-
onClick:
|
|
199
|
+
onClick: I,
|
|
198
200
|
loading: o.submitLoading,
|
|
199
201
|
htmlType: "submit",
|
|
200
202
|
class: m("action-btn")
|
|
201
203
|
}, {
|
|
202
|
-
default: () => [o.searchText ||
|
|
203
|
-
}), t(
|
|
204
|
-
onClick:
|
|
204
|
+
default: () => [o.searchText || k("ap.apForm.search.search")]
|
|
205
|
+
}), t(M, {
|
|
206
|
+
onClick: J,
|
|
205
207
|
type: "text",
|
|
206
208
|
class: [m("action-btn"), m("action-btn-reset")]
|
|
207
209
|
}, {
|
|
208
|
-
default: () => [o.resetText ||
|
|
210
|
+
default: () => [o.resetText || k("ap.apForm.search.reset")]
|
|
209
211
|
})]
|
|
210
|
-
}), o.extraInAction ? n(
|
|
212
|
+
}), o.extraInAction ? n(c) : null]
|
|
211
213
|
})]
|
|
212
214
|
})]
|
|
213
|
-
}),
|
|
214
|
-
span:
|
|
215
|
+
}), r = !o.extraInAction && n(c) ? t(R, {
|
|
216
|
+
span: l.value.extraSpan,
|
|
215
217
|
key: "extraNode"
|
|
216
218
|
}, {
|
|
217
|
-
default: () => [t(
|
|
218
|
-
default: () => [t(
|
|
219
|
-
justify:
|
|
220
|
-
},
|
|
219
|
+
default: () => [t(z, null, {
|
|
220
|
+
default: () => [t(N, {
|
|
221
|
+
justify: l.value.extraSpan === s || l.value.lastRowOnlyIncludeActionAndExtra ? "start" : "flex-end"
|
|
222
|
+
}, ve(e = n(c)) ? e : {
|
|
221
223
|
default: () => [e]
|
|
222
224
|
})]
|
|
223
225
|
})]
|
|
224
226
|
}) : null, g = t(R, {
|
|
225
|
-
span:
|
|
227
|
+
span: l.value.extraSpan
|
|
226
228
|
}, null);
|
|
227
|
-
return
|
|
229
|
+
return l.value.lastRowOnlyIncludeActionAndExtra ? t(w, null, [r || g, a]) : t(w, null, [a, r]);
|
|
228
230
|
});
|
|
229
|
-
return
|
|
231
|
+
return H({
|
|
230
232
|
apForm: _(() => n(y))
|
|
231
|
-
}), (e, a) => (d(), x(
|
|
233
|
+
}), (e, a) => (d(), x(ge, le({
|
|
232
234
|
ref_key: "apForm",
|
|
233
235
|
ref: y,
|
|
234
236
|
class: n(m)()
|
|
235
|
-
}, n(
|
|
236
|
-
default:
|
|
237
|
-
gutter:
|
|
237
|
+
}, n(pe)(o, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
|
|
238
|
+
default: A(() => [(d(), x(B(l.value.hideNode))), t(n(ie), {
|
|
239
|
+
gutter: 8
|
|
238
240
|
}, {
|
|
239
|
-
default:
|
|
240
|
-
key:
|
|
241
|
-
span:
|
|
241
|
+
default: A(() => [(d(!0), re(w, null, se(l.value.nodes, (r) => (d(), x(n(R), {
|
|
242
|
+
key: r.key,
|
|
243
|
+
span: r.span
|
|
242
244
|
}, {
|
|
243
|
-
default:
|
|
245
|
+
default: A(() => [(d(), x(B(r.node)))]),
|
|
244
246
|
_: 2
|
|
245
|
-
}, 1032, ["span"]))), 128)), (d(), x(
|
|
247
|
+
}, 1032, ["span"]))), 128)), (d(), x(B(X.value)))]),
|
|
246
248
|
_: 1
|
|
247
249
|
})]),
|
|
248
250
|
_: 1
|
|
@@ -250,5 +252,5 @@ const s = 24, Le = /* @__PURE__ */ te({
|
|
|
250
252
|
}
|
|
251
253
|
});
|
|
252
254
|
export {
|
|
253
|
-
|
|
255
|
+
Ue as default
|
|
254
256
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const sizeMap: {
|
|
2
2
|
readonly mini: "small";
|
|
3
3
|
readonly small: "small";
|
|
4
|
-
readonly medium: "
|
|
4
|
+
readonly medium: "middle";
|
|
5
5
|
};
|
|
6
6
|
export declare const sizeReverseMap: {
|
|
7
|
-
readonly small: "
|
|
8
|
-
readonly middle:
|
|
7
|
+
readonly small: "mini";
|
|
8
|
+
readonly middle: "medium";
|
|
9
9
|
};
|
|
10
10
|
export declare const ROW_SELECTION_FIELD = "_ap-grid-row-selection-field";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
mini: "small",
|
|
3
3
|
small: "small",
|
|
4
|
-
medium: "
|
|
5
|
-
},
|
|
6
|
-
small: "
|
|
7
|
-
middle:
|
|
8
|
-
},
|
|
4
|
+
medium: "middle"
|
|
5
|
+
}, i = {
|
|
6
|
+
small: "mini",
|
|
7
|
+
middle: "medium"
|
|
8
|
+
}, l = "_ap-grid-row-selection-field";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
l as ROW_SELECTION_FIELD,
|
|
11
|
+
e as sizeMap,
|
|
12
|
+
i as sizeReverseMap
|
|
13
13
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as A, useSlots as H, toRef as W, ref as h, unref as r, watch as G, nextTick as U, createBlock as $, openBlock as q, mergeProps as y, withCtx as g, createVNode as J, createSlots as Q, renderList as X, renderSlot as Y, normalizeProps as Z, guardReactiveProps as I } from "vue";
|
|
2
2
|
import { ApForm as C } from "../../ap-form/index.mjs";
|
|
3
|
-
import { isArray as
|
|
3
|
+
import { isArray as w, isUndefined as M, isNumber as m, cloneDeep as ee, omit as oe } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { isDef as
|
|
6
|
-
import { useGetEditableColumns as
|
|
5
|
+
import { isDef as b } from "../../utils/index.mjs";
|
|
6
|
+
import { useGetEditableColumns as te } from "../hooks/use-editable-columns.mjs";
|
|
7
7
|
import "../index.vue2.mjs";
|
|
8
|
-
import { useInjectForm as
|
|
9
|
-
import { useNamespace as
|
|
10
|
-
import { useGlobalConfig as
|
|
8
|
+
import { useInjectForm as ae } from "../../ap-form/context.mjs";
|
|
9
|
+
import { useNamespace as le } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
import { useGlobalConfig as fe } from "../../config-provider/hooks/use-global-config.mjs";
|
|
11
11
|
import ne from "../index.vue.mjs";
|
|
12
|
-
const
|
|
12
|
+
const Ce = /* @__PURE__ */ A({
|
|
13
13
|
name: "EditableGrid",
|
|
14
14
|
__name: "form-item",
|
|
15
15
|
props: {
|
|
@@ -108,6 +108,9 @@ const ye = /* @__PURE__ */ P({
|
|
|
108
108
|
loadingConfig: {},
|
|
109
109
|
headerCellConfig: {},
|
|
110
110
|
footerCellConfig: {},
|
|
111
|
+
round: {
|
|
112
|
+
type: Boolean
|
|
113
|
+
},
|
|
111
114
|
rowSelection: {
|
|
112
115
|
type: Boolean,
|
|
113
116
|
default: void 0
|
|
@@ -122,7 +125,7 @@ const ye = /* @__PURE__ */ P({
|
|
|
122
125
|
tableWrapperStyle: {},
|
|
123
126
|
wrapperStyle: {},
|
|
124
127
|
size: {
|
|
125
|
-
default: "
|
|
128
|
+
default: "mini"
|
|
126
129
|
},
|
|
127
130
|
adaptive: {
|
|
128
131
|
type: Boolean,
|
|
@@ -154,126 +157,134 @@ const ye = /* @__PURE__ */ P({
|
|
|
154
157
|
default: () => ({})
|
|
155
158
|
}
|
|
156
159
|
},
|
|
157
|
-
setup(
|
|
158
|
-
expose:
|
|
160
|
+
setup(x, {
|
|
161
|
+
expose: R
|
|
159
162
|
}) {
|
|
160
|
-
const
|
|
161
|
-
b:
|
|
162
|
-
} =
|
|
163
|
-
function
|
|
164
|
-
return
|
|
163
|
+
const B = H(), l = x, {
|
|
164
|
+
b: S
|
|
165
|
+
} = le("editable-grid");
|
|
166
|
+
function F(e, t) {
|
|
167
|
+
return w(t) ? t.reduce((f, a) => f == null ? void 0 : f[a], e) : e == null ? void 0 : e[t];
|
|
165
168
|
}
|
|
166
169
|
const {
|
|
167
|
-
internalInstance:
|
|
168
|
-
model:
|
|
169
|
-
} =
|
|
170
|
-
|
|
171
|
-
var
|
|
172
|
-
await
|
|
170
|
+
internalInstance: o,
|
|
171
|
+
model: v
|
|
172
|
+
} = ae(), p = W(l.name), d = h(F(r(v), p.value) || []), N = C.useWatch(p);
|
|
173
|
+
G(() => N.value, async (e) => {
|
|
174
|
+
var t;
|
|
175
|
+
await U(), d.value = e, (t = l.onChange) == null || t.call(l, e);
|
|
173
176
|
}, {
|
|
174
177
|
deep: !0
|
|
175
178
|
});
|
|
176
|
-
const c = h(),
|
|
177
|
-
function
|
|
178
|
-
var
|
|
179
|
-
const
|
|
180
|
-
if (
|
|
179
|
+
const c = h(), D = fe("valueTypeMap"), V = te(l, D);
|
|
180
|
+
function L(e, t) {
|
|
181
|
+
var n;
|
|
182
|
+
const f = ((n = r(d)) == null ? void 0 : n.length) || 0;
|
|
183
|
+
if (b(l.maxLength) && f >= l.maxLength)
|
|
181
184
|
return;
|
|
182
185
|
const a = {
|
|
183
186
|
...e || {}
|
|
184
187
|
};
|
|
185
|
-
|
|
186
|
-
if (!
|
|
187
|
-
|
|
188
|
+
o == null || o.setFieldValue(l.name, a, !0, (s, u) => {
|
|
189
|
+
if (!s[u]) {
|
|
190
|
+
s[u] = [a];
|
|
188
191
|
return;
|
|
189
192
|
}
|
|
190
|
-
|
|
193
|
+
M(t) ? s[u].push(a) : s[u].splice(t, 0, a);
|
|
191
194
|
});
|
|
192
195
|
}
|
|
193
|
-
function
|
|
194
|
-
var
|
|
195
|
-
const
|
|
196
|
-
if (
|
|
196
|
+
function T(e, t = "suffix") {
|
|
197
|
+
var s;
|
|
198
|
+
const f = ((s = r(d)) == null ? void 0 : s.length) || 0, a = m(e) ? e : e.length;
|
|
199
|
+
if (b(l.maxLength) && f + a > l.maxLength)
|
|
197
200
|
return;
|
|
198
|
-
const
|
|
199
|
-
|
|
200
|
-
if (!
|
|
201
|
-
|
|
201
|
+
const n = m(e) ? new Array(e).fill(0).map(() => ({})) : ee(e);
|
|
202
|
+
o == null || o.setFieldValue(l.name, n, !0, (u, i) => {
|
|
203
|
+
if (!u[i]) {
|
|
204
|
+
u[i] = [...n];
|
|
202
205
|
return;
|
|
203
206
|
}
|
|
204
|
-
|
|
207
|
+
t === "suffix" ? u[i].push(...n) : u[i].unshift(...n);
|
|
205
208
|
});
|
|
206
209
|
}
|
|
207
|
-
function
|
|
208
|
-
const
|
|
209
|
-
|
|
210
|
-
|
|
210
|
+
function k(e) {
|
|
211
|
+
const t = new Set(m(e) ? [e] : e);
|
|
212
|
+
o == null || o.setFieldValue(l.name, void 0, !0, (f, a) => {
|
|
213
|
+
f[a] = f[a].filter((n, s) => !t.has(s));
|
|
211
214
|
});
|
|
212
215
|
}
|
|
213
|
-
function T() {
|
|
214
|
-
return u(d);
|
|
215
|
-
}
|
|
216
216
|
function _(e) {
|
|
217
|
-
var
|
|
218
|
-
|
|
217
|
+
var f;
|
|
218
|
+
const t = new Set(w(e) ? e : [e]);
|
|
219
|
+
t.size !== 0 && ((f = o == null ? void 0 : o.setFieldValue) == null || f.call(o, l.name, void 0, !0, (a, n) => {
|
|
220
|
+
a[n] = a[n].filter((s) => !t.has(s[l.rowKey]));
|
|
221
|
+
}));
|
|
219
222
|
}
|
|
220
|
-
function j(
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
function j() {
|
|
224
|
+
return r(d);
|
|
225
|
+
}
|
|
226
|
+
function E(e) {
|
|
227
|
+
var t;
|
|
228
|
+
return (t = r(d)) == null ? void 0 : t[e];
|
|
229
|
+
}
|
|
230
|
+
function O(e, t, f = !0) {
|
|
231
|
+
o == null || o.setFieldValue(l.name, void 0, !0, (a, n) => {
|
|
232
|
+
if (!(!a[n] || !a[n][e])) {
|
|
233
|
+
if (!f) {
|
|
234
|
+
const s = Object.keys(a[n][e]);
|
|
235
|
+
for (const u of s)
|
|
236
|
+
u !== l.rowKey && delete a[n][e][u];
|
|
227
237
|
}
|
|
228
|
-
Object.assign(a[
|
|
229
|
-
...
|
|
238
|
+
Object.assign(a[n][e], {
|
|
239
|
+
...t
|
|
230
240
|
});
|
|
231
241
|
}
|
|
232
242
|
});
|
|
233
243
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
244
|
+
function z(e) {
|
|
245
|
+
o == null || o.setFieldValue(l.name, e);
|
|
236
246
|
}
|
|
237
|
-
function
|
|
238
|
-
var
|
|
239
|
-
const
|
|
240
|
-
(
|
|
247
|
+
function K(e) {
|
|
248
|
+
var f;
|
|
249
|
+
const t = e === "end" ? d.value.length - 1 : e;
|
|
250
|
+
(f = c.value) == null || f.scrollToRow(t);
|
|
241
251
|
}
|
|
242
|
-
function
|
|
252
|
+
function P() {
|
|
243
253
|
var e;
|
|
244
|
-
(e =
|
|
254
|
+
(e = o == null ? void 0 : o.setFieldValue) == null || e.call(o, l.name, []);
|
|
245
255
|
}
|
|
246
|
-
return
|
|
247
|
-
add:
|
|
248
|
-
remove:
|
|
249
|
-
getRowData:
|
|
250
|
-
getRowsData:
|
|
251
|
-
setRowData:
|
|
252
|
-
addMultiple:
|
|
253
|
-
scrollTo:
|
|
254
|
-
setTableData:
|
|
255
|
-
clear:
|
|
256
|
-
|
|
256
|
+
return R({
|
|
257
|
+
add: L,
|
|
258
|
+
remove: k,
|
|
259
|
+
getRowData: E,
|
|
260
|
+
getRowsData: j,
|
|
261
|
+
setRowData: O,
|
|
262
|
+
addMultiple: T,
|
|
263
|
+
scrollTo: K,
|
|
264
|
+
setTableData: z,
|
|
265
|
+
clear: P,
|
|
266
|
+
removeByKey: _
|
|
267
|
+
}), (e, t) => (q(), $(r(C).FormItem, y(e.formItem, {
|
|
257
268
|
name: e.name,
|
|
258
269
|
label: e.label
|
|
259
270
|
}), {
|
|
260
|
-
default:
|
|
271
|
+
default: g(() => [J(ne, y(r(oe)(l, ["name", "value", "onUpdate:value", "maxLength", "onChange", "defaultValue", "formItem"]), {
|
|
261
272
|
ref_key: "tableRef",
|
|
262
273
|
ref: c,
|
|
263
|
-
class:
|
|
264
|
-
columns:
|
|
274
|
+
class: r(S)(),
|
|
275
|
+
columns: r(V),
|
|
265
276
|
"data-source": d.value,
|
|
266
277
|
"search-form": !1
|
|
267
|
-
}),
|
|
278
|
+
}), Q({
|
|
268
279
|
_: 2
|
|
269
|
-
}, [
|
|
280
|
+
}, [X(B, (f, a) => ({
|
|
270
281
|
name: a,
|
|
271
|
-
fn:
|
|
282
|
+
fn: g((n) => [Y(e.$slots, a, Z(I(n || {})))])
|
|
272
283
|
}))]), 1040, ["class", "columns", "data-source"])]),
|
|
273
284
|
_: 3
|
|
274
285
|
}, 16, ["name", "label"]));
|
|
275
286
|
}
|
|
276
287
|
});
|
|
277
288
|
export {
|
|
278
|
-
|
|
289
|
+
Ce as default
|
|
279
290
|
};
|