@aplus-frontend/ui 0.2.0-beta.5 → 0.2.1
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 +1 -1
- package/es/src/ap-action/group/index.vue.d.ts +1 -1
- package/es/src/ap-action/group/index.vue.mjs +1 -1
- package/es/src/ap-action/interface.d.ts +1 -1
- package/es/src/ap-action/item/index.vue2.mjs +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.mjs +1 -1
- package/es/src/ap-action/item-modal/index.vue.d.ts +1 -1
- package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +8 -8
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/es/src/ap-button/ap-action-button.vue.mjs +1 -0
- package/es/src/ap-button/ap-button.vue.d.ts +4 -1
- package/es/src/ap-button/ap-button.vue.mjs +47 -66
- package/es/src/ap-button/interface.d.ts +2 -1
- package/es/src/ap-button/utils/index.d.ts +3 -0
- package/es/src/ap-button/utils/index.mjs +33 -0
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +1 -1
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +2 -2
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
- package/es/src/ap-descriptions/interface.d.ts +2 -2
- package/es/src/ap-download/ap-download.vue.d.ts +1 -1
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-download/interface.d.ts +1 -1
- package/es/src/ap-field/checkbox/helper.d.ts +3 -3
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +24 -23
- package/es/src/ap-field/date/constant.d.ts +1 -1
- package/es/src/ap-field/date/helper.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.mjs +1 -1
- package/es/src/ap-field/date-range/index.vue.mjs +1 -1
- package/es/src/ap-field/hooks/use-options.d.ts +8 -0
- package/es/src/ap-field/hooks/use-options.mjs +22 -0
- package/es/src/ap-field/interface.d.ts +5 -5
- package/es/src/ap-field/number/index.vue.d.ts +4 -4
- package/es/src/ap-field/number/index.vue.mjs +1 -1
- package/es/src/ap-field/radio/helper.d.ts +1 -1
- package/es/src/ap-field/radio/index.vue.mjs +26 -25
- package/es/src/ap-field/rate/index.vue.d.ts +3 -3
- package/es/src/ap-field/rate/index.vue.mjs +1 -1
- package/es/src/ap-field/segmented/index.vue.mjs +37 -33
- package/es/src/ap-field/select/index.vue.d.ts +6 -6
- package/es/src/ap-field/select/index.vue.mjs +74 -73
- package/es/src/ap-field/slider/index.vue.d.ts +4 -4
- package/es/src/ap-field/slider/index.vue.mjs +1 -1
- package/es/src/ap-field/switch/index.vue.mjs +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue2.mjs +1 -1
- package/es/src/ap-field/text/input-password-props.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.mjs +1 -1
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.mjs +1 -1
- package/es/src/ap-form/ap-form.vue.d.ts +7 -7
- package/es/src/ap-form/ap-form.vue2.mjs +1 -1
- package/es/src/ap-form/context.d.ts +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +6 -6
- package/es/src/ap-form/drawer-form/index.vue.mjs +1 -1
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/interface.d.ts +3 -3
- package/es/src/ap-form/item/index.vue.d.ts +4 -4
- package/es/src/ap-form/item/index.vue.mjs +2 -2
- package/es/src/ap-form/item-group/index.vue.d.ts +2 -2
- package/es/src/ap-form/item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/items/interface.d.ts +1 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/group.vue2.mjs +1 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +4 -4
- package/es/src/ap-form/modal-form/index.vue.d.ts +8 -8
- package/es/src/ap-form/modal-form/index.vue.mjs +1 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/index.d.ts +1 -1
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/interface.d.ts +1 -1
- package/es/src/ap-modal/utils/createModal.mjs +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.mjs +2 -428
- package/es/src/ap-table/ap-table.vue2.mjs +428 -2
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +16 -1
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +23 -21
- package/es/src/ap-table/components/setting/select-group/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 +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/utils.d.ts +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +30 -30
- package/es/src/ap-table/context.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.mjs +75 -71
- package/es/src/ap-table/hooks/use-table-paging.d.ts +3 -3
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/index.d.ts +6 -1
- package/es/src/ap-table/index.mjs +9 -3
- package/es/src/ap-table/interface.d.ts +3 -3
- package/es/src/ap-table/utils.d.ts +8 -7
- package/es/src/ap-table/utils.mjs +1 -1
- package/es/src/ap-tag/ap-tag-group.vue.mjs +1 -1
- package/es/src/ap-tag/interface.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.mjs +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +1 -1
- package/es/src/ap-upload/components/Picture.vue2.mjs +1 -1
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +1 -1
- package/es/src/business/ap-attachment/ApAttachment.d.ts +1 -1
- package/es/src/business/ap-attachment/ApAttachment.mjs +1 -1
- package/es/src/business/ap-attachment/index.d.ts +1 -1
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +8 -3
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +42 -29
- package/es/src/business/ap-batch-action/index.d.ts +8 -3
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +14 -13
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +12 -8
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-button-group/index.d.ts +13 -5
- package/es/src/business/ap-button-group/interface.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +1 -1
- package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +42 -40
- package/es/src/business/ap-export-group/handleExportDownload.mjs +1 -1
- package/es/src/business/ap-export-group/interface.d.ts +1 -1
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/index.d.ts +2 -2
- package/es/src/business/ap-input-radio/interface.d.ts +1 -1
- package/es/src/business/ap-label/ApLabel.d.ts +2 -2
- package/es/src/business/ap-label/ApLabel.mjs +1 -1
- package/es/src/business/ap-label/constans.d.ts +2 -2
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +1 -1
- package/es/src/business/ap-label/index.d.ts +2 -2
- package/es/src/business/ap-label/interface.d.ts +3 -3
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +5 -5
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
- package/es/src/business/ap-ladder/index.d.ts +5 -5
- package/es/src/business/ap-ladder/interface.d.ts +1 -1
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +1 -1
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-summary/interface.d.ts +2 -2
- package/es/src/business/ap-summary/utils.d.ts +1 -1
- package/es/src/business/ap-summary/utils.mjs +16 -16
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +43 -6
- package/es/src/business/ap-table-modal/interface.d.ts +17 -2
- package/es/src/business/ap-table-modal/style/css.js +1 -1
- package/es/src/business/ap-table-modal/style/index.js +1 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +57 -0
- package/es/src/business/ap-table-modal/table-layout/index.vue.mjs +4 -0
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +74 -0
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +134 -79
- package/es/src/business/ap-title/ApTitle.vue2.mjs +1 -1
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/es/src/check-card/index.vue2.mjs +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +8 -8
- package/es/src/config-provider/config-provider-props.mjs +1 -1
- package/es/src/config-provider/config-provider.d.ts +9 -8
- package/es/src/config-provider/config-provider.mjs +1 -1
- package/es/src/config-provider/constants.d.ts +1 -1
- package/es/src/config-provider/css-var.d.ts +1 -0
- package/es/src/config-provider/css-var.mjs +7 -5
- package/es/src/config-provider/hooks/use-global-config.d.ts +8 -8
- package/es/src/config-provider/index.d.ts +14 -8
- package/es/src/design-token/index.d.ts +1 -1
- package/es/src/editable-table/form-item.vue.d.ts +1 -0
- package/es/src/editable-table/form-item.vue.mjs +60 -55
- package/es/src/editable-table/hooks/use-get-columns.d.ts +1 -1
- package/es/src/editable-table/hooks/use-get-columns.mjs +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.mjs +1 -1
- package/es/src/editable-table/interface.d.ts +6 -6
- package/es/src/editable-table/utils.mjs +69 -69
- package/es/src/hooks/useMessage.d.ts +4 -4
- package/es/src/hooks/useMessage.mjs +1 -1
- package/es/src/index.mjs +201 -202
- package/es/src/locale/lang/en.mjs +3 -1
- package/es/src/locale/lang/zh-cn.mjs +3 -1
- package/es/src/path-map.mjs +2 -0
- package/es/src/utils/config-provider-preset.d.ts +10 -10
- package/es/src/work-order-modal/help-message.vue2.mjs +1 -1
- package/es/src/work-order-modal/interfaces.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/interface.d.ts +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +8 -8
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +4 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/interface.d.ts +2 -1
- package/lib/src/ap-button/utils/index.d.ts +3 -0
- package/lib/src/ap-button/utils/index.js +1 -0
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +2 -2
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-descriptions/interface.d.ts +2 -2
- package/lib/src/ap-download/ap-download.vue.d.ts +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/interface.d.ts +1 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +3 -3
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/constant.d.ts +1 -1
- package/lib/src/ap-field/date/helper.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-options.d.ts +8 -0
- package/lib/src/ap-field/hooks/use-options.js +1 -0
- package/lib/src/ap-field/interface.d.ts +5 -5
- package/lib/src/ap-field/number/index.vue.d.ts +4 -4
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/helper.d.ts +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +3 -3
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +6 -6
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +4 -4
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/input-password-props.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +7 -7
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/context.d.ts +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +6 -6
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/interface.d.ts +3 -3
- package/lib/src/ap-form/item/index.vue.d.ts +4 -4
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.d.ts +2 -2
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/interface.d.ts +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/group.vue2.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +4 -4
- package/lib/src/ap-form/modal-form/index.vue.d.ts +8 -8
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.js +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-modal/index.d.ts +1 -1
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/interface.d.ts +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +16 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/utils.d.ts +1 -1
- package/lib/src/ap-table/components/status/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +30 -30
- package/lib/src/ap-table/context.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +3 -3
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/index.d.ts +6 -1
- package/lib/src/ap-table/index.js +1 -1
- package/lib/src/ap-table/interface.d.ts +3 -3
- package/lib/src/ap-table/utils.d.ts +8 -7
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.d.ts +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/index.d.ts +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +8 -3
- package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -1
- package/lib/src/business/ap-batch-action/index.d.ts +8 -3
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +12 -8
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
- package/lib/src/business/ap-button-group/index.d.ts +13 -5
- package/lib/src/business/ap-button-group/interface.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
- package/lib/src/business/ap-export-group/interface.d.ts +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/index.d.ts +2 -2
- package/lib/src/business/ap-input-radio/interface.d.ts +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +2 -2
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +2 -2
- package/lib/src/business/ap-label/interface.d.ts +3 -3
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +5 -5
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +5 -5
- package/lib/src/business/ap-ladder/interface.d.ts +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/interface.d.ts +2 -2
- package/lib/src/business/ap-summary/utils.d.ts +1 -1
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +43 -6
- package/lib/src/business/ap-table-modal/interface.d.ts +17 -2
- package/lib/src/business/ap-table-modal/style/css.js +1 -1
- package/lib/src/business/ap-table-modal/style/index.js +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +57 -0
- package/lib/src/business/ap-table-modal/table-layout/index.vue.js +1 -0
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +8 -8
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +9 -8
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +1 -1
- package/lib/src/config-provider/css-var.d.ts +1 -0
- package/lib/src/config-provider/css-var.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +8 -8
- package/lib/src/config-provider/index.d.ts +14 -8
- package/lib/src/design-token/index.d.ts +1 -1
- package/lib/src/editable-table/form-item.vue.d.ts +1 -0
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -6
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/hooks/useMessage.d.ts +4 -4
- package/lib/src/hooks/useMessage.js +1 -1
- 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/utils/config-provider-preset.d.ts +10 -10
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/interfaces.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRecordParams, SummaryColumnType, ValueType } from './interface';
|
|
2
|
-
import { DataIndex, Key } from '
|
|
2
|
+
import { DataIndex, Key } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
3
3
|
import { ApColumnType } from '../../ap-table/interface';
|
|
4
4
|
export declare const flattenColumns: (columns?: SummaryColumnType) => ApColumnType[];
|
|
5
5
|
export declare const formatDataIndex: (dataIndex?: DataIndex | Key) => string | number | readonly (string | number)[];
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { flatten as k, uniqBy as I, get as s, set as
|
|
2
|
-
import { toThousand as
|
|
1
|
+
import { flatten as k, uniqBy as j, isNil as I, get as s, set as R } from "lodash-unified";
|
|
2
|
+
import { toThousand as V, toFixed as S, addNumber as T } from "@aplus-frontend/utils";
|
|
3
3
|
const b = (t) => {
|
|
4
4
|
var e, d;
|
|
5
5
|
return t != null && t.children && ((e = t == null ? void 0 : t.children) == null ? void 0 : e.length) > 0 ? k((d = t.children) == null ? void 0 : d.map((n) => b(n))) : [t];
|
|
6
|
-
},
|
|
6
|
+
}, q = (t) => k(
|
|
7
7
|
t == null ? void 0 : t.map((e) => b(e))
|
|
8
|
-
), u = (t) => Object.prototype.toString.call(t) === "[object Array]" ? t.map((e) => String(e)).join(".") : t
|
|
9
|
-
function
|
|
8
|
+
), u = (t) => Object.prototype.toString.call(t) === "[object Array]" ? t.map((e) => String(e)).join(".") : t ?? "", D = (t, e, d) => d ? V(t, e) : S(t, e);
|
|
9
|
+
function E(t) {
|
|
10
10
|
var y;
|
|
11
|
-
const { records: e, columns: d, configList: n, exclude:
|
|
11
|
+
const { records: e, columns: d, configList: n, exclude: i } = t;
|
|
12
12
|
if (e.length === 0)
|
|
13
13
|
return {};
|
|
14
|
-
const
|
|
15
|
-
let a = (y =
|
|
14
|
+
const c = q(d);
|
|
15
|
+
let a = (y = c == null ? void 0 : c.filter((r) => r.valueType === "number")) == null ? void 0 : y.map((r) => ({
|
|
16
16
|
key: r.key || "",
|
|
17
17
|
dataIndex: r.dataIndex
|
|
18
18
|
}));
|
|
19
|
-
n && (n == null ? void 0 : n.length) > 0 && (a =
|
|
20
|
-
(r) => !
|
|
19
|
+
n && (n == null ? void 0 : n.length) > 0 && (a = j(a == null ? void 0 : a.concat(n), "key")), i && i.length > 0 && (a = a.filter(
|
|
20
|
+
(r) => !i.includes(r.key)
|
|
21
21
|
));
|
|
22
22
|
const x = {};
|
|
23
23
|
return e.reduce((r, h) => (a.forEach((o) => {
|
|
24
24
|
var p;
|
|
25
|
-
if (s(h, u(o.dataIndex || o.key))) {
|
|
26
|
-
const
|
|
27
|
-
|
|
25
|
+
if (!I(s(h, u(o.dataIndex || o.key)))) {
|
|
26
|
+
const f = o.dataIndex || o.key, g = s(r, u(f)) || 0, l = s(h, u(f)) || 0, N = (p = T(g, l)) == null ? void 0 : p.toNumber();
|
|
27
|
+
R(r, f, +N);
|
|
28
28
|
}
|
|
29
29
|
}), r), x);
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
E as computedRecords,
|
|
33
|
+
q as flattenColumns,
|
|
34
34
|
u as formatDataIndex,
|
|
35
|
-
|
|
35
|
+
D as formatNumber
|
|
36
36
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OpenOptions, UseCreateTableModalProps, OpenReturnType } from '../interface';
|
|
2
2
|
import { Recordable } from '../../../type';
|
|
3
|
-
import { TableColumnsType } from '
|
|
3
|
+
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
4
4
|
export declare function useCreateTableModal(props: UseCreateTableModalProps): {
|
|
5
5
|
readonly openModal: <T>(selected?: any[], options?: OpenOptions) => Promise< OpenReturnType<T> | undefined>;
|
|
6
6
|
readonly closeModal: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApTableModalProps, OpenOptions } from '../interface';
|
|
2
2
|
import { Recordable } from '../../../type';
|
|
3
|
-
import { TableColumnsType } from '
|
|
3
|
+
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
4
4
|
/** 函数式调用弹框表格 */
|
|
5
5
|
export declare function useTableModal<TableRowType = Record<string, any>>(props: ApTableModalProps<TableRowType>): {
|
|
6
6
|
reloadApTableData: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OpenOptions, UseTableSelectModalProps, OpenReturnType } from '../interface';
|
|
2
2
|
import { Recordable } from '../../../type';
|
|
3
|
-
import { TableColumnsType } from '
|
|
3
|
+
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
4
4
|
export declare function useTableSelectModal<TableRowType = Record<string, any>>(props: UseTableSelectModalProps<TableRowType>): {
|
|
5
5
|
reloadApTableData: () => void;
|
|
6
6
|
resetApTableData: () => void;
|
|
@@ -2,14 +2,15 @@ import { useTableModal } from './hooks/use-table-modal';
|
|
|
2
2
|
import { useTableSelectModal } from './hooks/use-table-select-modal';
|
|
3
3
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, VNodeChild, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
4
4
|
import { ApColumnType, ApTableProps } from '../..';
|
|
5
|
-
import { LegacyButtonType, ButtonHTMLType } from '
|
|
6
|
-
import { ButtonType, ButtonShape, ButtonSize } from '
|
|
5
|
+
import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
6
|
+
import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
7
7
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
8
|
-
import { MouseEventHandler } from '
|
|
9
|
-
import { VueNode } from '
|
|
10
|
-
import {
|
|
8
|
+
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
9
|
+
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
10
|
+
import { TableRowSelection } from '@aplus-frontend/antdv/es/table/interface';
|
|
11
|
+
import { TableLayoutConfig, OpenOptions, OpenReturnType } from './interface';
|
|
11
12
|
import { Recordable } from '../../type';
|
|
12
|
-
import { TableColumnsType } from '
|
|
13
|
+
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
*/
|
|
@@ -247,6 +248,9 @@ declare const ApTableModal: {
|
|
|
247
248
|
type: PropType<number>;
|
|
248
249
|
default: number;
|
|
249
250
|
};
|
|
251
|
+
rowSelection: {
|
|
252
|
+
type: PropType<TableRowSelection<any>>;
|
|
253
|
+
};
|
|
250
254
|
getRowKey: {
|
|
251
255
|
type: PropType<(record: any) => string | number>;
|
|
252
256
|
};
|
|
@@ -263,6 +267,12 @@ declare const ApTableModal: {
|
|
|
263
267
|
count: number;
|
|
264
268
|
}) => VNodeChild>;
|
|
265
269
|
};
|
|
270
|
+
disabledCheckbox: {
|
|
271
|
+
type: PropType<boolean | ((record: any, selectRows: any[]) => boolean)>;
|
|
272
|
+
};
|
|
273
|
+
tableLayoutConfig: {
|
|
274
|
+
type: PropType<TableLayoutConfig>;
|
|
275
|
+
};
|
|
266
276
|
}>> & {
|
|
267
277
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
268
278
|
}, {
|
|
@@ -522,6 +532,9 @@ declare const ApTableModal: {
|
|
|
522
532
|
type: PropType<number>;
|
|
523
533
|
default: number;
|
|
524
534
|
};
|
|
535
|
+
rowSelection: {
|
|
536
|
+
type: PropType<TableRowSelection<any>>;
|
|
537
|
+
};
|
|
525
538
|
getRowKey: {
|
|
526
539
|
type: PropType<(record: any) => string | number>;
|
|
527
540
|
};
|
|
@@ -538,6 +551,12 @@ declare const ApTableModal: {
|
|
|
538
551
|
count: number;
|
|
539
552
|
}) => VNodeChild>;
|
|
540
553
|
};
|
|
554
|
+
disabledCheckbox: {
|
|
555
|
+
type: PropType<boolean | ((record: any, selectRows: any[]) => boolean)>;
|
|
556
|
+
};
|
|
557
|
+
tableLayoutConfig: {
|
|
558
|
+
type: PropType<TableLayoutConfig>;
|
|
559
|
+
};
|
|
541
560
|
}>> & {
|
|
542
561
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
543
562
|
}, {
|
|
@@ -797,6 +816,9 @@ declare const ApTableModal: {
|
|
|
797
816
|
type: PropType<number>;
|
|
798
817
|
default: number;
|
|
799
818
|
};
|
|
819
|
+
rowSelection: {
|
|
820
|
+
type: PropType<TableRowSelection<any>>;
|
|
821
|
+
};
|
|
800
822
|
getRowKey: {
|
|
801
823
|
type: PropType<(record: any) => string | number>;
|
|
802
824
|
};
|
|
@@ -813,6 +835,12 @@ declare const ApTableModal: {
|
|
|
813
835
|
count: number;
|
|
814
836
|
}) => VNodeChild>;
|
|
815
837
|
};
|
|
838
|
+
disabledCheckbox: {
|
|
839
|
+
type: PropType<boolean | ((record: any, selectRows: any[]) => boolean)>;
|
|
840
|
+
};
|
|
841
|
+
tableLayoutConfig: {
|
|
842
|
+
type: PropType<TableLayoutConfig>;
|
|
843
|
+
};
|
|
816
844
|
}>> & {
|
|
817
845
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
818
846
|
}, {
|
|
@@ -1091,6 +1119,9 @@ declare const ApTableModal: {
|
|
|
1091
1119
|
type: PropType<number>;
|
|
1092
1120
|
default: number;
|
|
1093
1121
|
};
|
|
1122
|
+
rowSelection: {
|
|
1123
|
+
type: PropType<TableRowSelection<any>>;
|
|
1124
|
+
};
|
|
1094
1125
|
getRowKey: {
|
|
1095
1126
|
type: PropType<(record: any) => string | number>;
|
|
1096
1127
|
};
|
|
@@ -1107,6 +1138,12 @@ declare const ApTableModal: {
|
|
|
1107
1138
|
count: number;
|
|
1108
1139
|
}) => VNodeChild>;
|
|
1109
1140
|
};
|
|
1141
|
+
disabledCheckbox: {
|
|
1142
|
+
type: PropType<boolean | ((record: any, selectRows: any[]) => boolean)>;
|
|
1143
|
+
};
|
|
1144
|
+
tableLayoutConfig: {
|
|
1145
|
+
type: PropType<TableLayoutConfig>;
|
|
1146
|
+
};
|
|
1110
1147
|
}>> & {
|
|
1111
1148
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
1112
1149
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VNodeChild } from 'vue';
|
|
1
|
+
import { VNode, VNodeChild } from 'vue';
|
|
2
2
|
import { ApColumnType, ApTableProps } from '../../index';
|
|
3
|
-
import { ModalProps } from '
|
|
3
|
+
import { ModalProps, TableProps } from '@aplus-frontend/antdv';
|
|
4
4
|
/** table-modal的props类型 */
|
|
5
5
|
export interface ApTableModalProps<TableRowType = any> extends Omit<ModalProps, 'onOk' | 'open' | 'close' | 'visible'> {
|
|
6
6
|
columns: ApColumnType[];
|
|
@@ -18,6 +18,12 @@ export interface ApTableModalProps<TableRowType = any> extends Omit<ModalProps,
|
|
|
18
18
|
isRenderModalTitleSuffix?: boolean;
|
|
19
19
|
/** 渲染table-modal的后缀函数 */
|
|
20
20
|
renderModalTitleSuffix?: ModalTitleSlots['default'];
|
|
21
|
+
/** 禁用选项 */
|
|
22
|
+
disabledCheckbox?: boolean | ((record: TableRowType, selectRows: TableRowType[]) => boolean);
|
|
23
|
+
/** 其他row-selection选项 */
|
|
24
|
+
rowSelection?: TableProps['rowSelection'];
|
|
25
|
+
/** 表格布局配置 */
|
|
26
|
+
tableLayoutConfig?: TableLayoutConfig;
|
|
21
27
|
}
|
|
22
28
|
/** useCreateTableModal参数类型 */
|
|
23
29
|
export interface UseCreateTableModalProps extends ApTableModalProps {
|
|
@@ -61,3 +67,12 @@ export interface ModalTitleSlots {
|
|
|
61
67
|
count: number;
|
|
62
68
|
}) => VNodeChild;
|
|
63
69
|
}
|
|
70
|
+
/** table-layout Props */
|
|
71
|
+
export interface TableLayoutConfig {
|
|
72
|
+
/** 左侧标题 */
|
|
73
|
+
leftTitle?: string;
|
|
74
|
+
/** 已经选择item渲染, renderSelectedItem有值才为复杂布局 */
|
|
75
|
+
renderSelectedItem?: (record: any, actions: {
|
|
76
|
+
deleteItem: (record: any) => void;
|
|
77
|
+
}) => VNode;
|
|
78
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import '@aplus-frontend/ui-theme/dist/ap-table/
|
|
1
|
+
import '@aplus-frontend/ui-theme/dist/ap-table-modal/index.css';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import '@aplus-frontend/ui-theme/src/ap-table/
|
|
1
|
+
import '@aplus-frontend/ui-theme/src/ap-table-modal/index.less';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { TableLayoutConfig } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TableLayoutConfig & {
|
|
13
|
+
selectedList: any[];
|
|
14
|
+
}>, {
|
|
15
|
+
leftTitle: string;
|
|
16
|
+
selectedList: () => never[];
|
|
17
|
+
layoutType: string;
|
|
18
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
|
+
clear: () => void;
|
|
20
|
+
deleteItem: (record: any) => void;
|
|
21
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TableLayoutConfig & {
|
|
22
|
+
selectedList: any[];
|
|
23
|
+
}>, {
|
|
24
|
+
leftTitle: string;
|
|
25
|
+
selectedList: () => never[];
|
|
26
|
+
layoutType: string;
|
|
27
|
+
}>>> & {
|
|
28
|
+
onClear?: (() => any) | undefined;
|
|
29
|
+
onDeleteItem?: ((record: any) => any) | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
leftTitle: string;
|
|
32
|
+
selectedList: any[];
|
|
33
|
+
}, {}>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithDefaults<P, D> = {
|
|
37
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
38
|
+
default: D[K];
|
|
39
|
+
}> : P[K];
|
|
40
|
+
};
|
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
+
type __VLS_TypePropsToOption<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
+
} : {
|
|
46
|
+
type: PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_PrettifyLocal<T> = {
|
|
56
|
+
[K in keyof T]: T[K];
|
|
57
|
+
} & {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as k, openBlock as o, createElementBlock as s, normalizeClass as a, unref as t, Fragment as c, createElementVNode as r, createVNode as n, renderSlot as u, withCtx as f, createTextVNode as I, toDisplayString as v, renderList as C, createBlock as S, resolveDynamicComponent as T } from "vue";
|
|
2
|
+
import "../../../config-provider/index.mjs";
|
|
3
|
+
import "../../index.mjs";
|
|
4
|
+
import { Button as L } from "@aplus-frontend/antdv";
|
|
5
|
+
import { useLocale as B } from "../../../config-provider/hooks/use-locale.mjs";
|
|
6
|
+
import { useNamespace as N } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
import { ApTitle as y } from "../../ap-title/index.mjs";
|
|
8
|
+
const j = /* @__PURE__ */ k({
|
|
9
|
+
__name: "index",
|
|
10
|
+
props: {
|
|
11
|
+
leftTitle: { default: "" },
|
|
12
|
+
renderSelectedItem: {},
|
|
13
|
+
selectedList: { default: () => [] }
|
|
14
|
+
},
|
|
15
|
+
emits: ["clear", "deleteItem"],
|
|
16
|
+
setup($, { emit: b }) {
|
|
17
|
+
const { t: i } = B(), d = b, h = () => {
|
|
18
|
+
d("clear");
|
|
19
|
+
}, g = (e) => {
|
|
20
|
+
d("deleteItem", e);
|
|
21
|
+
}, { m: l } = N("ap-table-modal");
|
|
22
|
+
return (e, V) => (o(), s("div", {
|
|
23
|
+
class: a([t(l)("table-layout"), { "complex-layout": !!e.renderSelectedItem }])
|
|
24
|
+
}, [
|
|
25
|
+
e.renderSelectedItem ? (o(), s(c, { key: 0 }, [
|
|
26
|
+
r("div", {
|
|
27
|
+
class: a(t(l)("table-layout-left"))
|
|
28
|
+
}, [
|
|
29
|
+
n(t(y), {
|
|
30
|
+
style: { "margin-bottom": "16px" },
|
|
31
|
+
title: e.leftTitle
|
|
32
|
+
}, null, 8, ["title"]),
|
|
33
|
+
r("div", {
|
|
34
|
+
class: a(t(l)("table-layout-left-content"))
|
|
35
|
+
}, [
|
|
36
|
+
u(e.$slots, "default")
|
|
37
|
+
], 2)
|
|
38
|
+
], 2),
|
|
39
|
+
r("div", {
|
|
40
|
+
class: a(t(l)("table-layout-right"))
|
|
41
|
+
}, [
|
|
42
|
+
n(t(y), {
|
|
43
|
+
title: `${t(i)("ap.apTableModal.selected")} (${e.selectedList.length})`
|
|
44
|
+
}, {
|
|
45
|
+
suffix: f(() => [
|
|
46
|
+
n(t(L), {
|
|
47
|
+
type: "link",
|
|
48
|
+
style: { padding: "0px", height: "22px", "border-width": "0px" },
|
|
49
|
+
onClick: h
|
|
50
|
+
}, {
|
|
51
|
+
default: f(() => [
|
|
52
|
+
I(v(t(i)("ap.apTableModal.clear")), 1)
|
|
53
|
+
]),
|
|
54
|
+
_: 1
|
|
55
|
+
})
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
}, 8, ["title"]),
|
|
59
|
+
r("div", {
|
|
60
|
+
class: a(t(l)("table-layout-right-content"))
|
|
61
|
+
}, [
|
|
62
|
+
(o(!0), s(c, null, C(e.selectedList, (m) => {
|
|
63
|
+
var p;
|
|
64
|
+
return o(), S(T((p = e.renderSelectedItem) == null ? void 0 : p.call(e, m, { deleteItem: g })), { key: m });
|
|
65
|
+
}), 128))
|
|
66
|
+
], 2)
|
|
67
|
+
], 2)
|
|
68
|
+
], 64)) : u(e.$slots, "default", { key: 1 })
|
|
69
|
+
], 2));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
j as default
|
|
74
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenOptions, OpenReturnType, ApTableModalProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
|
-
import { TableColumnsType } from '
|
|
4
|
+
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
5
5
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTableModalProps<any>>, {
|
|
6
6
|
confirmLoading: undefined;
|
|
7
7
|
closable: undefined;
|