@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,15 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { message as
|
|
1
|
+
import { defineComponent as F, ref as m, unref as u, computed as U, h as q, openBlock as $, createBlock as z, mergeProps as b, withCtx as k, createVNode as T } from "vue";
|
|
2
|
+
import { message as h, Modal as H } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../index.mjs";
|
|
4
|
-
import { cloneDeep as
|
|
5
|
-
import { transformTableParams as
|
|
4
|
+
import { cloneDeep as V, omit as S } from "lodash-unified";
|
|
5
|
+
import { transformTableParams as W } from "@aplus-frontend/utils";
|
|
6
6
|
import "./modal-title.vue.mjs";
|
|
7
|
-
import { AsyncOpenResultError as
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
7
|
+
import { AsyncOpenResultError as x } from "./interface.mjs";
|
|
8
|
+
import "./table-layout/index.vue.mjs";
|
|
9
|
+
import { useGlobalConfig as Y } from "../../config-provider/hooks/use-global-config.mjs";
|
|
10
|
+
import { useLocale as J } from "../../config-provider/hooks/use-locale.mjs";
|
|
11
|
+
import Q from "./modal-title.vue2.mjs";
|
|
12
|
+
import X from "./table-layout/index.vue2.mjs";
|
|
13
|
+
import { ApTable as Z } from "../../ap-table/index.mjs";
|
|
14
|
+
const fe = /* @__PURE__ */ F({
|
|
13
15
|
__name: "table-modal",
|
|
14
16
|
props: {
|
|
15
17
|
columns: {},
|
|
@@ -19,6 +21,9 @@ const le = /* @__PURE__ */ I({
|
|
|
19
21
|
maxCount: { default: 1 / 0 },
|
|
20
22
|
isRenderModalTitleSuffix: { type: Boolean, default: !0 },
|
|
21
23
|
renderModalTitleSuffix: {},
|
|
24
|
+
disabledCheckbox: { type: [Boolean, Function] },
|
|
25
|
+
rowSelection: {},
|
|
26
|
+
tableLayoutConfig: {},
|
|
22
27
|
prefixCls: {},
|
|
23
28
|
confirmLoading: { type: Boolean, default: void 0 },
|
|
24
29
|
title: {},
|
|
@@ -56,89 +61,126 @@ const le = /* @__PURE__ */ I({
|
|
|
56
61
|
mousePosition: {}
|
|
57
62
|
},
|
|
58
63
|
emits: ["finish"],
|
|
59
|
-
setup(
|
|
60
|
-
const e =
|
|
61
|
-
let
|
|
62
|
-
const
|
|
63
|
-
var l,
|
|
64
|
-
switch (
|
|
64
|
+
setup(B, { expose: R, emit: M }) {
|
|
65
|
+
const e = B, P = M, i = m(!1), y = m({}), d = m(null), a = m([]), C = m();
|
|
66
|
+
let c = null, n = null;
|
|
67
|
+
const K = Y("uiMode", "admin"), { t: g } = J(), _ = async (t = [], o = {}) => {
|
|
68
|
+
var l, r, s;
|
|
69
|
+
switch (a.value = [...t], i.value = !0, y.value = o == null ? void 0 : o.extraParams, C.value = o.apTableDataSources || ((l = e.apTableProps) == null ? void 0 : l.dataSource), o.refreshMode || "reset") {
|
|
65
70
|
case "reset":
|
|
66
|
-
(
|
|
71
|
+
(r = d.value) == null || r.reset();
|
|
67
72
|
break;
|
|
68
73
|
case "submit":
|
|
69
|
-
(
|
|
74
|
+
(s = d.value) == null || s.submit();
|
|
70
75
|
break;
|
|
71
76
|
case "none":
|
|
72
77
|
break;
|
|
73
78
|
}
|
|
74
|
-
return new Promise((
|
|
75
|
-
|
|
79
|
+
return new Promise((p, f) => {
|
|
80
|
+
c = p, n = f;
|
|
76
81
|
});
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
t =
|
|
82
|
+
}, w = () => {
|
|
83
|
+
i.value = !1, c = null, n == null || n(x.ModalCancel), n = null;
|
|
84
|
+
}, I = async (t) => {
|
|
85
|
+
t = W({
|
|
81
86
|
...t,
|
|
82
|
-
...
|
|
87
|
+
...y.value
|
|
83
88
|
});
|
|
84
|
-
const o = e.api, { records: l, total:
|
|
85
|
-
return {
|
|
89
|
+
const o = e.api, { records: l, total: r } = await o(t);
|
|
90
|
+
return console.log("records", l), {
|
|
86
91
|
data: l,
|
|
87
|
-
total:
|
|
92
|
+
total: r
|
|
88
93
|
};
|
|
89
|
-
},
|
|
90
|
-
if (
|
|
91
|
-
|
|
94
|
+
}, L = () => {
|
|
95
|
+
if (a.value.length > e.maxCount) {
|
|
96
|
+
n == null || n(x.ExceedMaxCount);
|
|
92
97
|
return;
|
|
93
98
|
}
|
|
94
99
|
if (e.getRowKey) {
|
|
95
|
-
const t =
|
|
96
|
-
|
|
100
|
+
const t = V(u(a)), o = t.map(e.getRowKey);
|
|
101
|
+
P("finish", o, t), c == null || c({ keys: o, rows: t });
|
|
97
102
|
} else {
|
|
98
|
-
|
|
103
|
+
n == null || n(x.NotFineGetRowKey);
|
|
99
104
|
return;
|
|
100
105
|
}
|
|
101
|
-
|
|
102
|
-
},
|
|
103
|
-
if (e.getRowKey)
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
i.value = !1;
|
|
107
|
+
}, A = U(() => {
|
|
108
|
+
if (!e.getRowKey) return;
|
|
109
|
+
const t = e.getRowKey;
|
|
110
|
+
return {
|
|
111
|
+
fixed: !0,
|
|
112
|
+
selectedRowKeys: a.value.map(t),
|
|
113
|
+
columnWidth: 50,
|
|
114
|
+
preserveSelectedRowKeys: !0,
|
|
115
|
+
onSelectAll(o, l) {
|
|
116
|
+
var s, p;
|
|
117
|
+
if (l.length > e.maxCount) {
|
|
118
|
+
h.warning(
|
|
119
|
+
g("ap.apTableModal.messageMaxCount", { maxCount: e.maxCount })
|
|
120
|
+
);
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
const r = (s = d.value) == null ? void 0 : s.dataSource;
|
|
124
|
+
if (o) {
|
|
125
|
+
const f = u(r).filter((v) => !a.value.some((E) => t(E) === t(v)));
|
|
126
|
+
a.value = a.value.concat(f);
|
|
127
|
+
} else
|
|
128
|
+
a.value = (p = a.value) == null ? void 0 : p.filter((f) => !r.some((v) => t(v) === t(f)));
|
|
129
|
+
},
|
|
130
|
+
onSelect(o, l) {
|
|
131
|
+
if (l) {
|
|
132
|
+
if (a.value.length >= e.maxCount) {
|
|
133
|
+
h.warning(
|
|
134
|
+
g("ap.apTableModal.messageMaxCount", { maxCount: e.maxCount })
|
|
113
135
|
);
|
|
114
136
|
return;
|
|
115
137
|
}
|
|
116
|
-
|
|
138
|
+
a.value.push(o);
|
|
139
|
+
} else {
|
|
140
|
+
const r = a.value.findIndex(
|
|
141
|
+
(s) => t(o) === t(s)
|
|
142
|
+
);
|
|
143
|
+
a.value.splice(r, 1);
|
|
117
144
|
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
145
|
+
},
|
|
146
|
+
getCheckboxProps: (o) => ({
|
|
147
|
+
disabled: typeof e.disabledCheckbox == "function" ? e.disabledCheckbox(o, a.value) : e.disabledCheckbox
|
|
148
|
+
// Column configuration not to be checked
|
|
149
|
+
}),
|
|
150
|
+
...e.rowSelection || {}
|
|
151
|
+
};
|
|
152
|
+
}), D = () => e.isRenderModalTitleSuffix ? q(
|
|
153
|
+
Q,
|
|
121
154
|
{
|
|
122
155
|
title: e.title,
|
|
123
|
-
count:
|
|
156
|
+
count: a.value.length || 0,
|
|
124
157
|
maxCount: e.maxCount
|
|
125
158
|
},
|
|
126
159
|
{
|
|
127
160
|
default: e.renderModalTitleSuffix ?? void 0
|
|
128
161
|
}
|
|
129
|
-
) : e.title
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
162
|
+
) : e.title, N = () => d.value, O = () => {
|
|
163
|
+
a.value = [];
|
|
164
|
+
}, G = (t) => {
|
|
165
|
+
const o = e.getRowKey;
|
|
166
|
+
if (!o) return;
|
|
167
|
+
const l = a.value.findIndex(
|
|
168
|
+
(r) => o(t) === o(r)
|
|
169
|
+
);
|
|
170
|
+
a.value.splice(l, 1);
|
|
171
|
+
};
|
|
172
|
+
return R({
|
|
173
|
+
open: _,
|
|
174
|
+
close: w,
|
|
175
|
+
getApTableInstance: N
|
|
176
|
+
}), (t, o) => ($(), z(u(H), b(
|
|
135
177
|
{
|
|
136
|
-
onOk:
|
|
137
|
-
onCancel:
|
|
138
|
-
open:
|
|
139
|
-
"onUpdate:open": o[0] || (o[0] = (l) =>
|
|
178
|
+
onOk: L,
|
|
179
|
+
onCancel: w,
|
|
180
|
+
open: i.value,
|
|
181
|
+
"onUpdate:open": o[0] || (o[0] = (l) => i.value = l)
|
|
140
182
|
},
|
|
141
|
-
|
|
183
|
+
u(S)(e, [
|
|
142
184
|
"api",
|
|
143
185
|
"getRowKey",
|
|
144
186
|
"centered",
|
|
@@ -147,32 +189,45 @@ const le = /* @__PURE__ */ I({
|
|
|
147
189
|
"maxCount",
|
|
148
190
|
"title",
|
|
149
191
|
"renderModalTitleSuffix",
|
|
150
|
-
"isRenderModalTitleSuffix"
|
|
192
|
+
"isRenderModalTitleSuffix",
|
|
193
|
+
"rowSelection",
|
|
194
|
+
"disabledCheckbox",
|
|
195
|
+
"tableLayoutConfig"
|
|
151
196
|
]),
|
|
152
197
|
{
|
|
153
|
-
title:
|
|
198
|
+
title: D(),
|
|
199
|
+
"body-style": { maxHeight: "calc(100vh - 205px)", overflowY: "scroll" },
|
|
154
200
|
centered: e.centered ?? !0
|
|
155
201
|
}
|
|
156
202
|
), {
|
|
157
|
-
default:
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
203
|
+
default: k(() => [
|
|
204
|
+
T(X, b(e.tableLayoutConfig || {}, {
|
|
205
|
+
onClear: O,
|
|
206
|
+
"selected-list": a.value,
|
|
207
|
+
onDeleteItem: G
|
|
208
|
+
}), {
|
|
209
|
+
default: k(() => [
|
|
210
|
+
T(u(Z), b({
|
|
211
|
+
scroll: { y: "100%" },
|
|
212
|
+
style: { padding: "0px" },
|
|
213
|
+
columns: t.columns,
|
|
214
|
+
request: I,
|
|
215
|
+
"row-key": t.getRowKey,
|
|
216
|
+
"row-selection": A.value,
|
|
217
|
+
bordered: u(K) === "admin"
|
|
218
|
+
}, u(S)(e.apTableProps, "dataSource"), {
|
|
219
|
+
ref_key: "apTableRef",
|
|
220
|
+
ref: d,
|
|
221
|
+
"data-source": C.value
|
|
222
|
+
}), null, 16, ["columns", "row-key", "row-selection", "bordered", "data-source"])
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
}, 16, ["selected-list"])
|
|
171
226
|
]),
|
|
172
227
|
_: 1
|
|
173
228
|
}, 16, ["open", "title", "centered"]));
|
|
174
229
|
}
|
|
175
230
|
});
|
|
176
231
|
export {
|
|
177
|
-
|
|
232
|
+
fe as default
|
|
178
233
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, computed as g, openBlock as l, createElementBlock as a, normalizeClass as o, unref as t, createElementVNode as r, renderSlot as n, Fragment as h, toDisplayString as C, createBlock as y, withCtx as k, createVNode as v, normalizeStyle as M, createCommentVNode as $ } from "vue";
|
|
2
|
-
import { Tooltip as I } from "
|
|
2
|
+
import { Tooltip as I } from "@aplus-frontend/antdv";
|
|
3
3
|
import { QuestionCircleOutlined as N } from "@ant-design/icons-vue";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { useNamespace as S } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApTableProps } from '../../';
|
|
2
2
|
import { UseTableRefreshOption } from './useTableRefresh';
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
|
-
import { TableColumnsType } from '
|
|
4
|
+
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
5
5
|
export interface UsePageListApTable extends ApTableProps {
|
|
6
6
|
/** 是否显示默认的行选择配置
|
|
7
7
|
* @default true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, computed as d, unref as o, createVNode as m, watch as W, watchEffect as $, openBlock as c, createElementBlock as z, normalizeStyle as j, normalizeClass as S, withModifiers as D, createBlock as f, renderSlot as M, resolveDynamicComponent as B, createCommentVNode as g, createElementVNode as O } from "vue";
|
|
2
|
-
import { Skeleton as U } from "
|
|
2
|
+
import { Skeleton as U } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../config-provider/index.mjs";
|
|
4
4
|
import "../hooks/index.mjs";
|
|
5
5
|
import { isFunction as N } from "lodash-unified";
|
|
@@ -2,14 +2,14 @@ import { ExtractPropTypes, PropType } from 'vue';
|
|
|
2
2
|
import { LocaleType } from '../locale/interface';
|
|
3
3
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
|
|
4
4
|
import { CssVarType } from './css-var';
|
|
5
|
-
import { default as __DTS_DEFAULT_0__ } from '
|
|
6
|
-
import { TransformCellTextProps } from '
|
|
7
|
-
import { CSPConfig } from '
|
|
8
|
-
import { Locale } from '
|
|
9
|
-
import { ButtonSize } from '
|
|
10
|
-
import { ValidateMessages } from '
|
|
11
|
-
import { RequiredMark } from '
|
|
12
|
-
import { ThemeConfig } from '
|
|
5
|
+
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
6
|
+
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
|
+
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
8
|
+
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
9
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
10
|
+
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
11
|
+
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
12
|
+
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
13
13
|
export declare const configProviderProps: () => {
|
|
14
14
|
iconPrefixCls: StringConstructor;
|
|
15
15
|
getTargetContainer: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Ref, DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ConfigProviderProps } from './config-provider-props';
|
|
3
3
|
import { CssVarType } from './css-var';
|
|
4
|
-
import { default as __DTS_DEFAULT_0__ } from '
|
|
5
|
-
import { TransformCellTextProps } from '
|
|
6
|
-
import { CSPConfig } from '
|
|
7
|
-
import { Locale } from '
|
|
8
|
-
import { ButtonSize } from '
|
|
9
|
-
import { ValidateMessages } from '
|
|
10
|
-
import { RequiredMark } from '
|
|
11
|
-
import { ThemeConfig } from '
|
|
4
|
+
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
5
|
+
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
6
|
+
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
|
+
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
9
|
+
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
10
|
+
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
11
|
+
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
12
12
|
import { LocaleType } from '../locale';
|
|
13
13
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
|
|
14
14
|
import { RecursivePartial } from '../type';
|
|
@@ -408,6 +408,7 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
408
408
|
color: {
|
|
409
409
|
font: string;
|
|
410
410
|
active: string;
|
|
411
|
+
border: string;
|
|
411
412
|
};
|
|
412
413
|
};
|
|
413
414
|
basic: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isVNode as s, ref as u, defineComponent as c, computed as m, watch as a, createVNode as p, renderSlot as g } from "vue";
|
|
2
|
-
import { ConfigProvider as C } from "
|
|
2
|
+
import { ConfigProvider as C } from "@aplus-frontend/antdv";
|
|
3
3
|
import { provideGlobalConfig as v } from "./hooks/use-global-config.mjs";
|
|
4
4
|
import { configProviderProps as V } from "./config-provider-props.mjs";
|
|
5
5
|
import { mergeAntdProvideConfig as P } from "../utils/config-provider-preset.mjs";
|
|
@@ -2,7 +2,7 @@ import { ConfigProviderProps } from './config-provider-props';
|
|
|
2
2
|
import { InjectionKey, Ref, VNode } from 'vue';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { client } from '@aplus-frontend/oss';
|
|
5
|
-
import { DefaultOptionType } from '
|
|
5
|
+
import { DefaultOptionType } from '@aplus-frontend/antdv/es/select';
|
|
6
6
|
export type ConfigProviderContext = Partial<ConfigProviderProps>;
|
|
7
7
|
export declare const configProviderContextKey: InjectionKey<Ref<ConfigProviderContext>>;
|
|
8
8
|
type CommonOptionItem = {
|
|
@@ -57,7 +57,8 @@ const F = {
|
|
|
57
57
|
"ap-batch-action": {
|
|
58
58
|
color: {
|
|
59
59
|
font: "#8896B0",
|
|
60
|
-
active: "#0070FF"
|
|
60
|
+
active: "#0070FF",
|
|
61
|
+
border: "#E9EDF3"
|
|
61
62
|
}
|
|
62
63
|
},
|
|
63
64
|
basic: {
|
|
@@ -133,7 +134,8 @@ const F = {
|
|
|
133
134
|
"ap-batch-action": {
|
|
134
135
|
color: {
|
|
135
136
|
font: "#999999",
|
|
136
|
-
active: "#34B77C"
|
|
137
|
+
active: "#34B77C",
|
|
138
|
+
border: "#E9E9E9"
|
|
137
139
|
}
|
|
138
140
|
},
|
|
139
141
|
basic: {
|
|
@@ -162,15 +164,15 @@ function s(e) {
|
|
|
162
164
|
}
|
|
163
165
|
return t(e, []), o;
|
|
164
166
|
}
|
|
165
|
-
const
|
|
167
|
+
const d = s(F), p = s(b);
|
|
166
168
|
function u(e) {
|
|
167
169
|
Object.entries(e).forEach(([o, t]) => {
|
|
168
170
|
document.documentElement.style.setProperty(o, t);
|
|
169
171
|
});
|
|
170
172
|
}
|
|
171
173
|
export {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
+
p as adminCssVar,
|
|
175
|
+
d as aplusCssVar,
|
|
174
176
|
s as generateCssVar,
|
|
175
177
|
u as setCSSVariables
|
|
176
178
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { MaybeRef } from '@aplus-frontend/utils';
|
|
2
2
|
import { App, Ref, ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { ConfigProviderContext } from '../constants';
|
|
4
|
-
import { default as __DTS_DEFAULT_0__ } from '
|
|
5
|
-
import { TransformCellTextProps } from '
|
|
6
|
-
import { CSPConfig } from '
|
|
7
|
-
import { Locale } from '
|
|
8
|
-
import { ButtonSize } from '
|
|
9
|
-
import { ValidateMessages } from '
|
|
10
|
-
import { RequiredMark } from '
|
|
11
|
-
import { ThemeConfig } from '
|
|
4
|
+
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
5
|
+
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
6
|
+
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
|
+
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
9
|
+
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
10
|
+
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
11
|
+
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
12
12
|
import { LocaleType } from '../../locale';
|
|
13
13
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig } from '..';
|
|
14
14
|
import { CssVarType } from '../css-var';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { default as __DTS_DEFAULT_0__ } from '
|
|
3
|
-
import { TransformCellTextProps } from '
|
|
4
|
-
import { CSPConfig } from '
|
|
5
|
-
import { Locale } from '
|
|
6
|
-
import { ButtonSize } from '
|
|
7
|
-
import { ValidateMessages } from '
|
|
8
|
-
import { RequiredMark } from '
|
|
9
|
-
import { ThemeConfig } from '
|
|
2
|
+
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
3
|
+
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
4
|
+
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
|
+
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
6
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
7
|
+
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
8
|
+
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
9
|
+
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
10
10
|
import { LocaleType } from '../locale';
|
|
11
11
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
|
|
12
12
|
import { RecursivePartial } from '../type';
|
|
@@ -223,6 +223,7 @@ export declare const APConfigProvider: {
|
|
|
223
223
|
color: {
|
|
224
224
|
font: string;
|
|
225
225
|
active: string;
|
|
226
|
+
border: string;
|
|
226
227
|
};
|
|
227
228
|
};
|
|
228
229
|
basic: {
|
|
@@ -447,6 +448,7 @@ export declare const APConfigProvider: {
|
|
|
447
448
|
color: {
|
|
448
449
|
font: string;
|
|
449
450
|
active: string;
|
|
451
|
+
border: string;
|
|
450
452
|
};
|
|
451
453
|
};
|
|
452
454
|
basic: {
|
|
@@ -565,6 +567,7 @@ export declare const APConfigProvider: {
|
|
|
565
567
|
color: {
|
|
566
568
|
font: string;
|
|
567
569
|
active: string;
|
|
570
|
+
border: string;
|
|
568
571
|
};
|
|
569
572
|
};
|
|
570
573
|
basic: {
|
|
@@ -794,6 +797,7 @@ export declare const APConfigProvider: {
|
|
|
794
797
|
color: {
|
|
795
798
|
font: string;
|
|
796
799
|
active: string;
|
|
800
|
+
border: string;
|
|
797
801
|
};
|
|
798
802
|
};
|
|
799
803
|
basic: {
|
|
@@ -912,6 +916,7 @@ export declare const APConfigProvider: {
|
|
|
912
916
|
color: {
|
|
913
917
|
font: string;
|
|
914
918
|
active: string;
|
|
919
|
+
border: string;
|
|
915
920
|
};
|
|
916
921
|
};
|
|
917
922
|
basic: {
|
|
@@ -1180,6 +1185,7 @@ export declare const APConfigProvider: {
|
|
|
1180
1185
|
color: {
|
|
1181
1186
|
font: string;
|
|
1182
1187
|
active: string;
|
|
1188
|
+
border: string;
|
|
1183
1189
|
};
|
|
1184
1190
|
};
|
|
1185
1191
|
basic: {
|
|
@@ -13,6 +13,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
13
13
|
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
14
14
|
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
15
15
|
setTableData: (nextTableData: RecordType[]) => void;
|
|
16
|
+
clear: () => void;
|
|
16
17
|
}>): void;
|
|
17
18
|
attrs: any;
|
|
18
19
|
slots: Readonly<{
|