@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,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as A, computed as n, openBlock as v, createBlock as y, unref as a, mergeProps as m, withCtx as r, createVNode as c, createElementVNode as C, normalizeStyle as D, toDisplayString as h, normalizeClass as N, normalizeProps as R, guardReactiveProps as T, createTextVNode as
|
|
2
|
-
import { DropdownButton as
|
|
1
|
+
import { defineComponent as A, computed as n, openBlock as v, createBlock as y, unref as a, mergeProps as m, withCtx as r, createVNode as c, createElementVNode as C, normalizeStyle as D, toDisplayString as h, normalizeClass as N, normalizeProps as R, guardReactiveProps as T, createTextVNode as V, createCommentVNode as $ } from "vue";
|
|
2
|
+
import { DropdownButton as x, Dropdown as z } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/index.mjs";
|
|
4
4
|
import "./MenuItemGroup.vue.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import { DownOutlined as
|
|
7
|
-
import { usePermission as
|
|
8
|
-
import { useNamespace as
|
|
6
|
+
import { DownOutlined as G } from "@ant-design/icons-vue";
|
|
7
|
+
import { usePermission as M } from "@aplus-frontend/hooks";
|
|
8
|
+
import { useNamespace as S } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { useLocale as F } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import { useGlobalConfig as O } from "../../config-provider/hooks/use-global-config.mjs";
|
|
11
11
|
import w from "./MenuItemGroup.vue2.mjs";
|
|
@@ -18,7 +18,7 @@ const ee = /* @__PURE__ */ A({
|
|
|
18
18
|
menuList: {}
|
|
19
19
|
},
|
|
20
20
|
setup(P) {
|
|
21
|
-
const { b: i } =
|
|
21
|
+
const { b: i } = S("ap-batch-action-group"), { t: L } = F(), e = P, _ = O("uiMode"), { hasPermission: g } = M(), p = n(
|
|
22
22
|
() => {
|
|
23
23
|
var t;
|
|
24
24
|
return ((t = e == null ? void 0 : e.buttonProps) == null ? void 0 : t.dropdownType) || "default";
|
|
@@ -31,7 +31,7 @@ const ee = /* @__PURE__ */ A({
|
|
|
31
31
|
), f = n(
|
|
32
32
|
() => {
|
|
33
33
|
var t;
|
|
34
|
-
return ((t = e == null ? void 0 : e.buttonProps) == null ? void 0 : t.content) ||
|
|
34
|
+
return ((t = e == null ? void 0 : e.buttonProps) == null ? void 0 : t.content) || L("ap.apApBatchActionGroup.batchOperation");
|
|
35
35
|
}
|
|
36
36
|
), k = n(() => (e == null ? void 0 : e.selectedRows) || []), d = n(
|
|
37
37
|
() => {
|
|
@@ -43,7 +43,7 @@ const ee = /* @__PURE__ */ A({
|
|
|
43
43
|
aplus: "#0070FF",
|
|
44
44
|
admin: "#34b77c"
|
|
45
45
|
};
|
|
46
|
-
return u.value === "borderLink" ? d.value ? void 0 : t[
|
|
46
|
+
return u.value === "borderLink" ? d.value ? void 0 : t[_.value] || t.aplus : void 0;
|
|
47
47
|
}), l = n(() => {
|
|
48
48
|
var t;
|
|
49
49
|
return ((t = e == null ? void 0 : e.menuList) == null ? void 0 : t.filter((o) => {
|
|
@@ -57,10 +57,11 @@ const ee = /* @__PURE__ */ A({
|
|
|
57
57
|
type: u.value === "borderLink" ? "default" : u.value
|
|
58
58
|
} : {};
|
|
59
59
|
}
|
|
60
|
-
return (t, o) => l.value.length && p.value === "dropdown" ? (v(), y(a(
|
|
60
|
+
return (t, o) => l.value.length && p.value === "dropdown" ? (v(), y(a(x), m({
|
|
61
61
|
key: 0,
|
|
62
62
|
class: [a(i)()]
|
|
63
63
|
}, {
|
|
64
|
+
...t.$attrs,
|
|
64
65
|
...b(),
|
|
65
66
|
disabled: d.value
|
|
66
67
|
}), {
|
|
@@ -77,7 +78,7 @@ const ee = /* @__PURE__ */ A({
|
|
|
77
78
|
}, h(f.value), 5)
|
|
78
79
|
]),
|
|
79
80
|
_: 1
|
|
80
|
-
}, 16, ["class"])) : l.value.length && p.value === "default" ? (v(), y(a(
|
|
81
|
+
}, 16, ["class"])) : l.value.length && p.value === "default" ? (v(), y(a(z), {
|
|
81
82
|
key: 1,
|
|
82
83
|
class: N([a(i)()]),
|
|
83
84
|
disabled: d.value
|
|
@@ -94,14 +95,14 @@ const ee = /* @__PURE__ */ A({
|
|
|
94
95
|
type: u.value
|
|
95
96
|
})), {
|
|
96
97
|
default: r(() => [
|
|
97
|
-
|
|
98
|
-
c(a(
|
|
98
|
+
V(h(f.value) + " ", 1),
|
|
99
|
+
c(a(G))
|
|
99
100
|
]),
|
|
100
101
|
_: 1
|
|
101
102
|
}, 16)
|
|
102
103
|
]),
|
|
103
104
|
_: 1
|
|
104
|
-
}, 8, ["class", "disabled"])) :
|
|
105
|
+
}, 8, ["class", "disabled"])) : $("", !0);
|
|
105
106
|
}
|
|
106
107
|
});
|
|
107
108
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, ref as h, openBlock as s, createBlock as a, unref as u, withCtx as d, createElementBlock as v, Fragment as t, renderList as y, mergeProps as k, createElementVNode as w, withDirectives as g, createVNode as C, vShow as b, resolveDynamicComponent as L, h as M } from "vue";
|
|
2
2
|
import { LoadingOutlined as B } from "@ant-design/icons-vue";
|
|
3
|
-
import { Menu as R, MenuItem as x } from "
|
|
3
|
+
import { Menu as R, MenuItem as x } from "@aplus-frontend/antdv";
|
|
4
4
|
const D = { style: { display: "flex", "align-items": "center" } }, P = /* @__PURE__ */ _({
|
|
5
5
|
__name: "MenuItemGroup",
|
|
6
6
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { ButtonType, ButtonShape, ButtonSize } from '
|
|
3
|
-
import { ButtonHTMLType } from '
|
|
2
|
+
import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
3
|
+
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
-
import { MouseEventHandler, FocusEventHandler } from '
|
|
6
|
-
import { ButtonProps, ItemType, MenuTheme, MenuMode } from '
|
|
7
|
-
import { DropdownArrowOptions, Trigger, Align } from '
|
|
8
|
-
import { Key } from '
|
|
9
|
-
import { CSSMotionProps } from '
|
|
10
|
-
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '
|
|
5
|
+
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
+
import { ButtonProps, ItemType, MenuTheme, MenuMode } from '@aplus-frontend/antdv';
|
|
7
|
+
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
8
|
+
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
|
+
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
|
+
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
11
11
|
import { ApBatchActionGroupMenuProps } from './interface';
|
|
12
12
|
export * from './interface';
|
|
13
13
|
declare const ApBatchActionGroup: {
|
|
@@ -69,6 +69,7 @@ declare const ApBatchActionGroup: {
|
|
|
69
69
|
type?: ButtonProps["type"] | "borderLink";
|
|
70
70
|
borderLinkColor?: string;
|
|
71
71
|
minWidth?: boolean | number | string;
|
|
72
|
+
lazy?: boolean | number;
|
|
72
73
|
onClick?: () => any | Promise<any>;
|
|
73
74
|
} & {
|
|
74
75
|
content?: string;
|
|
@@ -365,6 +366,7 @@ declare const ApBatchActionGroup: {
|
|
|
365
366
|
type?: ButtonProps["type"] | "borderLink";
|
|
366
367
|
borderLinkColor?: string;
|
|
367
368
|
minWidth?: boolean | number | string;
|
|
369
|
+
lazy?: boolean | number;
|
|
368
370
|
onClick?: () => any | Promise<any>;
|
|
369
371
|
} & {
|
|
370
372
|
content?: string;
|
|
@@ -668,6 +670,7 @@ declare const ApBatchActionGroup: {
|
|
|
668
670
|
type?: ButtonProps["type"] | "borderLink";
|
|
669
671
|
borderLinkColor?: string;
|
|
670
672
|
minWidth?: boolean | number | string;
|
|
673
|
+
lazy?: boolean | number;
|
|
671
674
|
onClick?: () => any | Promise<any>;
|
|
672
675
|
} & {
|
|
673
676
|
content?: string;
|
|
@@ -968,6 +971,7 @@ declare const ApBatchActionGroup: {
|
|
|
968
971
|
type?: ButtonProps["type"] | "borderLink";
|
|
969
972
|
borderLinkColor?: string;
|
|
970
973
|
minWidth?: boolean | number | string;
|
|
974
|
+
lazy?: boolean | number;
|
|
971
975
|
onClick?: () => any | Promise<any>;
|
|
972
976
|
} & {
|
|
973
977
|
content?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ButtonProps, MenuItemProps } from '
|
|
1
|
+
import { ButtonProps, MenuItemProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { ApButtonProps } from '../../ap-button/interface';
|
|
3
|
-
import { DropdownButtonProps } from '
|
|
3
|
+
import { DropdownButtonProps } from '@aplus-frontend/antdv/es/dropdown';
|
|
4
4
|
import { VNodeChild } from 'vue';
|
|
5
5
|
type ApBatchActionGroupButtonType = ButtonProps['type'] | 'borderLink';
|
|
6
6
|
type MixinButton<T> = Omit<T, 'type'> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, computed as T, openBlock as t, createBlock as u, unref as s, normalizeProps as P, guardReactiveProps as R, withCtx as c, createElementBlock as m, Fragment as p, renderList as i, mergeProps as l, resolveDynamicComponent as f, h as y, createCommentVNode as B } from "vue";
|
|
2
|
-
import { Space as x } from "
|
|
2
|
+
import { Space as x } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/ap-button.vue2.mjs";
|
|
4
4
|
import "../../ap-button/ap-action-button.vue2.mjs";
|
|
5
5
|
import "../ap-batch-action-group/ApBatchActionGroup.vue.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, VNodeChild, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { SpaceSize } from '
|
|
2
|
+
import { SpaceSize } from '@aplus-frontend/antdv/es/space';
|
|
3
3
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { ButtonType, ButtonShape, ButtonSize } from '
|
|
5
|
-
import { ButtonHTMLType } from '
|
|
6
|
-
import { MouseEventHandler } from '
|
|
7
|
-
import { ButtonProps } from '
|
|
4
|
+
import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
5
|
+
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
6
|
+
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
|
+
import { ButtonProps } from '@aplus-frontend/antdv';
|
|
8
8
|
import { ApBatchActionGroupProps, ApExportGroupProps } from '..';
|
|
9
9
|
export * from './interface';
|
|
10
10
|
declare const ApButtonGroup: {
|
|
@@ -85,6 +85,7 @@ declare const ApButtonGroup: {
|
|
|
85
85
|
type?: ButtonProps["type"] | "borderLink";
|
|
86
86
|
borderLinkColor?: string;
|
|
87
87
|
minWidth?: boolean | number | string;
|
|
88
|
+
lazy?: boolean | number;
|
|
88
89
|
onClick?: () => any | Promise<any>;
|
|
89
90
|
} & {
|
|
90
91
|
content?: VNodeChild;
|
|
@@ -143,6 +144,7 @@ declare const ApButtonGroup: {
|
|
|
143
144
|
type?: ButtonProps["type"] | "borderLink";
|
|
144
145
|
borderLinkColor?: string;
|
|
145
146
|
minWidth?: boolean | number | string;
|
|
147
|
+
lazy?: boolean | number;
|
|
146
148
|
onClick?: () => any | Promise<any>;
|
|
147
149
|
} & {
|
|
148
150
|
content?: VNodeChild;
|
|
@@ -231,6 +233,7 @@ declare const ApButtonGroup: {
|
|
|
231
233
|
type?: ButtonProps["type"] | "borderLink";
|
|
232
234
|
borderLinkColor?: string;
|
|
233
235
|
minWidth?: boolean | number | string;
|
|
236
|
+
lazy?: boolean | number;
|
|
234
237
|
onClick?: () => any | Promise<any>;
|
|
235
238
|
} & {
|
|
236
239
|
content?: VNodeChild;
|
|
@@ -289,6 +292,7 @@ declare const ApButtonGroup: {
|
|
|
289
292
|
type?: ButtonProps["type"] | "borderLink";
|
|
290
293
|
borderLinkColor?: string;
|
|
291
294
|
minWidth?: boolean | number | string;
|
|
295
|
+
lazy?: boolean | number;
|
|
292
296
|
onClick?: () => any | Promise<any>;
|
|
293
297
|
} & {
|
|
294
298
|
content?: VNodeChild;
|
|
@@ -384,6 +388,7 @@ declare const ApButtonGroup: {
|
|
|
384
388
|
type?: ButtonProps["type"] | "borderLink";
|
|
385
389
|
borderLinkColor?: string;
|
|
386
390
|
minWidth?: boolean | number | string;
|
|
391
|
+
lazy?: boolean | number;
|
|
387
392
|
onClick?: () => any | Promise<any>;
|
|
388
393
|
} & {
|
|
389
394
|
content?: VNodeChild;
|
|
@@ -442,6 +447,7 @@ declare const ApButtonGroup: {
|
|
|
442
447
|
type?: ButtonProps["type"] | "borderLink";
|
|
443
448
|
borderLinkColor?: string;
|
|
444
449
|
minWidth?: boolean | number | string;
|
|
450
|
+
lazy?: boolean | number;
|
|
445
451
|
onClick?: () => any | Promise<any>;
|
|
446
452
|
} & {
|
|
447
453
|
content?: VNodeChild;
|
|
@@ -534,6 +540,7 @@ declare const ApButtonGroup: {
|
|
|
534
540
|
type?: ButtonProps["type"] | "borderLink";
|
|
535
541
|
borderLinkColor?: string;
|
|
536
542
|
minWidth?: boolean | number | string;
|
|
543
|
+
lazy?: boolean | number;
|
|
537
544
|
onClick?: () => any | Promise<any>;
|
|
538
545
|
} & {
|
|
539
546
|
content?: VNodeChild;
|
|
@@ -592,6 +599,7 @@ declare const ApButtonGroup: {
|
|
|
592
599
|
type?: ButtonProps["type"] | "borderLink";
|
|
593
600
|
borderLinkColor?: string;
|
|
594
601
|
minWidth?: boolean | number | string;
|
|
602
|
+
lazy?: boolean | number;
|
|
595
603
|
onClick?: () => any | Promise<any>;
|
|
596
604
|
} & {
|
|
597
605
|
content?: VNodeChild;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SpaceProps } from '
|
|
1
|
+
import { SpaceProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { ApButtonProps } from '../../ap-button';
|
|
3
3
|
import { ApBatchActionGroupProps } from '../ap-batch-action-group/interface';
|
|
4
4
|
import { ApExportGroupProps } from '../ap-export-group/interface';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as W, computed as f, ref as h, watch as T, nextTick as w, openBlock as a, createElementBlock as n, normalizeClass as s, unref as t, createVNode as x, withCtx as m, createBlock as g, createElementVNode as b, toDisplayString as p, createCommentVNode as A, normalizeStyle as c, renderSlot as N, resolveDynamicComponent as I, Fragment as C, renderList as j, createTextVNode as q } from "vue";
|
|
2
2
|
import { DownOutlined as J } from "@ant-design/icons-vue";
|
|
3
|
-
import { Alert as K, Tooltip as P } from "
|
|
3
|
+
import { Alert as K, Tooltip as P } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApActionItem as Q } from "../../ap-action/index.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
6
|
import { isString as E } from "lodash-unified";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as G, computed as i, ref as M, openBlock as m, createBlock as f, unref as o, normalizeClass as D, withCtx as n, createVNode as y, createTextVNode as p, toDisplayString as x, mergeProps as K, createCommentVNode as R } from "vue";
|
|
2
2
|
import { DownOutlined as B } from "@ant-design/icons-vue";
|
|
3
|
-
import { Dropdown as N, Menu as T, MenuItem as
|
|
3
|
+
import { Dropdown as N, Menu as T, MenuItem as g, Button as I } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { ApExportGroupActionType as u } from "./interface.mjs";
|
|
6
6
|
import { usePermission as V } from "@aplus-frontend/hooks";
|
|
7
7
|
import { handleExportDownload as q } from "./handleExportDownload.mjs";
|
|
8
8
|
import { useNamespace as z } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { useLocale as O } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
|
-
import { useGlobalConfig as
|
|
11
|
-
const te = /* @__PURE__ */
|
|
10
|
+
import { useGlobalConfig as $ } from "../../config-provider/hooks/use-global-config.mjs";
|
|
11
|
+
const te = /* @__PURE__ */ G({
|
|
12
12
|
__name: "ApExportGroup",
|
|
13
13
|
props: {
|
|
14
14
|
selectedRowKeys: {},
|
|
@@ -22,63 +22,63 @@ const te = /* @__PURE__ */ M({
|
|
|
22
22
|
getInitialParams: { type: Function },
|
|
23
23
|
beforeRequest: { type: Function }
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const { hasPermission:
|
|
27
|
-
const
|
|
25
|
+
setup(C) {
|
|
26
|
+
const { hasPermission: E } = V(), e = C, { b: _ } = z("ap-export-group"), { t: c } = O(), L = $("uiMode"), S = i(() => {
|
|
27
|
+
const t = {
|
|
28
28
|
aplus: "#0070FF",
|
|
29
29
|
admin: "#34b77c"
|
|
30
30
|
};
|
|
31
|
-
return b.value ? "" :
|
|
32
|
-
}), b =
|
|
31
|
+
return b.value ? "" : t[L.value] || t.aplus;
|
|
32
|
+
}), b = i(() => !!(e != null && e.disabled)), A = {
|
|
33
33
|
textAlign: "center"
|
|
34
|
-
},
|
|
35
|
-
let
|
|
36
|
-
return !(e != null && e.ifShow) && (e != null && e.auth) && (
|
|
34
|
+
}, s = M(!1), w = i(() => (e == null ? void 0 : e.selectedRowKeys) || []), F = i(() => {
|
|
35
|
+
let t = e == null ? void 0 : e.ifShow;
|
|
36
|
+
return !(e != null && e.ifShow) && (e != null && e.auth) && (t = () => E(e.auth)), (t == null ? void 0 : t()) ?? !0;
|
|
37
37
|
});
|
|
38
|
-
async function
|
|
38
|
+
async function P({ key: t }) {
|
|
39
39
|
var h, v;
|
|
40
40
|
const { getRequestParams: l, request: a } = e || {};
|
|
41
|
-
let
|
|
42
|
-
|
|
41
|
+
let d = {};
|
|
42
|
+
t === u.SELECT ? d = {
|
|
43
43
|
[(e == null ? void 0 : e.idKey) || "ids"]: w.value
|
|
44
|
-
} :
|
|
45
|
-
const
|
|
44
|
+
} : t === u.ALL && (d = (l == null ? void 0 : l()) || {});
|
|
45
|
+
const k = ((h = e == null ? void 0 : e.getInitialParams) == null ? void 0 : h.call(e)) || {};
|
|
46
46
|
try {
|
|
47
|
-
|
|
48
|
-
let
|
|
49
|
-
...
|
|
50
|
-
...
|
|
47
|
+
s.value = !0;
|
|
48
|
+
let r = {
|
|
49
|
+
...d,
|
|
50
|
+
...k
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
r = ((v = e == null ? void 0 : e.beforeRequest) == null ? void 0 : v.call(e, r)) || r, await q(async () => await (a == null ? void 0 : a(r)));
|
|
53
53
|
} finally {
|
|
54
|
-
|
|
54
|
+
s.value = !1;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
return (
|
|
57
|
+
return (t, l) => F.value ? (m(), f(o(N), {
|
|
58
58
|
key: 0,
|
|
59
|
-
class: D([
|
|
59
|
+
class: D([o(_)()]),
|
|
60
60
|
overlayStyle: A,
|
|
61
61
|
disabled: b.value
|
|
62
62
|
}, {
|
|
63
63
|
overlay: n(() => [
|
|
64
|
-
y(
|
|
64
|
+
y(o(T), { onClick: P }, {
|
|
65
65
|
default: n(() => {
|
|
66
66
|
var a;
|
|
67
67
|
return [
|
|
68
|
-
(m(), f(
|
|
69
|
-
key:
|
|
68
|
+
(m(), f(o(g), {
|
|
69
|
+
key: o(u).SELECT,
|
|
70
70
|
disabled: ((a = w.value) == null ? void 0 : a.length) === 0
|
|
71
71
|
}, {
|
|
72
72
|
default: n(() => [
|
|
73
|
-
x(
|
|
73
|
+
p(x(o(c)("ap.apExportGroup.exportSelected")), 1)
|
|
74
74
|
]),
|
|
75
75
|
_: 1
|
|
76
76
|
}, 8, ["disabled"])),
|
|
77
|
-
(m(), f(
|
|
78
|
-
key:
|
|
77
|
+
(m(), f(o(g), {
|
|
78
|
+
key: o(u).ALL
|
|
79
79
|
}, {
|
|
80
80
|
default: n(() => [
|
|
81
|
-
x(
|
|
81
|
+
p(x(o(c)("ap.apExportGroup.exportAll")), 1)
|
|
82
82
|
]),
|
|
83
83
|
_: 1
|
|
84
84
|
}))
|
|
@@ -88,18 +88,20 @@ const te = /* @__PURE__ */ M({
|
|
|
88
88
|
})
|
|
89
89
|
]),
|
|
90
90
|
default: n(() => [
|
|
91
|
-
y(
|
|
92
|
-
|
|
93
|
-
color: L.value
|
|
94
|
-
}),
|
|
95
|
-
loading: d.value
|
|
91
|
+
y(o(I), K({
|
|
92
|
+
...t.$attrs
|
|
96
93
|
}, {
|
|
94
|
+
style: {
|
|
95
|
+
color: S.value
|
|
96
|
+
},
|
|
97
|
+
loading: s.value
|
|
98
|
+
}), {
|
|
97
99
|
default: n(() => [
|
|
98
|
-
x(
|
|
99
|
-
y(
|
|
100
|
+
p(x((e == null ? void 0 : e.text) ?? o(c)("ap.apExportGroup.export")) + " ", 1),
|
|
101
|
+
y(o(B))
|
|
100
102
|
]),
|
|
101
103
|
_: 1
|
|
102
|
-
},
|
|
104
|
+
}, 16, ["style", "loading"])
|
|
103
105
|
]),
|
|
104
106
|
_: 1
|
|
105
107
|
}, 8, ["class", "disabled"])) : R("", !0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { formatFileNameAndDownloadFile as n } from "@aplus-frontend/utils";
|
|
2
|
-
import { Modal as r } from "
|
|
2
|
+
import { Modal as r } from "@aplus-frontend/antdv";
|
|
3
3
|
async function i(t) {
|
|
4
4
|
const o = await (t == null ? void 0 : t());
|
|
5
5
|
Object.prototype.toString.call(o == null ? void 0 : o.data) === "[object Blob]" && n(o).catch((a) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, computed as s, ref as k, watchEffect as A, openBlock as O, createBlock as h, unref as l, normalizeProps as _, guardReactiveProps as w } from "vue";
|
|
2
|
-
import { Image as U } from "
|
|
2
|
+
import { Image as U } from "@aplus-frontend/antdv";
|
|
3
3
|
import { injectLocaleToOss as y, getOssInstance as B, getSignatureUrl as C } from "./hooks/useOss.mjs";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import F from "./imgs/admin-fallback.jpg.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, onMounted as g, openBlock as R, createElementBlock as V, normalizeClass as b, unref as t, createVNode as i, mergeProps as h } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { Form as I, InputNumber as B, RadioGroup as k } from "
|
|
3
|
+
import { Form as I, InputNumber as B, RadioGroup as k } from "@aplus-frontend/antdv";
|
|
4
4
|
import { omit as _ } from "lodash-unified";
|
|
5
5
|
import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
const G = /* @__PURE__ */ f({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { ValueType } from '
|
|
3
|
-
import { KeyboardEventHandler } from '
|
|
2
|
+
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
3
|
+
import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
4
4
|
import { ApInputRadioOptions } from './interface';
|
|
5
5
|
export * from './interface';
|
|
6
6
|
declare const ApInputRadio: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputNumberProps } from '
|
|
1
|
+
import { InputNumberProps } from '@aplus-frontend/antdv/es/input-number';
|
|
2
2
|
type ApInputProps = Pick<InputNumberProps, 'disabled' | 'stringMode' | 'precision' | 'max' | 'min' | 'step' | 'bordered' | 'autofocus' | 'decimalSeparator' | 'controls' | 'formatter' | 'onInput' | 'onChange' | 'onPressEnter' | 'onStep' | 'onBlur' | 'onFocus'>;
|
|
3
3
|
export type ApInputValType = {
|
|
4
4
|
value?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VNode, DefineComponent, PropType, CSSProperties, ComponentOptionsMixin, PublicProps, ExtractPropTypes, RendererNode, RendererElement } from 'vue';
|
|
2
|
-
import { TooltipPlacement } from '
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
3
3
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { LiteralUnion } from '
|
|
4
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
5
5
|
declare const _default: DefineComponent<{
|
|
6
6
|
helpMessage: {
|
|
7
7
|
type: PropType<VNode | string | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, useSlots as r, computed as m, createVNode as e, mergeProps as d } from "vue";
|
|
2
|
-
import { Tooltip as f, Badge as p } from "
|
|
2
|
+
import { Tooltip as f, Badge as p } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApAdLineAnnotation as A, IconApAdFillWarn as y, IconApAdFillExecution as v, IconApAdFillSuccessful as b } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { ApLabelProps as g } from "./constans.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropType, VNode, CSSProperties } from 'vue';
|
|
2
2
|
import { ApLabelGroupItemProps } from './interface';
|
|
3
|
-
import { TooltipPlacement } from '
|
|
3
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
-
import { LiteralUnion } from '
|
|
5
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
export declare const ApLabelGroupProps: () => {
|
|
7
7
|
value: {
|
|
8
8
|
type: PropType<string | number | undefined>;
|
|
@@ -3,7 +3,7 @@ import "../../../config-provider/index.mjs";
|
|
|
3
3
|
import f from "../ApLabel.mjs";
|
|
4
4
|
import { omit as t } from "lodash-unified";
|
|
5
5
|
import { ApLabelGroupProps as s } from "../constans.mjs";
|
|
6
|
-
import { Tag as c } from "
|
|
6
|
+
import { Tag as c } from "@aplus-frontend/antdv";
|
|
7
7
|
import { useNamespace as g } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
const {
|
|
9
9
|
b: p
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, VNode, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, RendererNode, RendererElement, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { TooltipPlacement } from '
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
3
3
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { LiteralUnion } from '
|
|
4
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
5
5
|
import { ApLabelGroupItemProps } from './interface';
|
|
6
6
|
export * from './interface';
|
|
7
7
|
declare const ApLabel: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BadgeProps } from '
|
|
2
|
-
import { TooltipPlacement } from '
|
|
3
|
-
import { TagProps } from '
|
|
1
|
+
import { BadgeProps } from '@aplus-frontend/antdv';
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
3
|
+
import { TagProps } from '@aplus-frontend/antdv/es/tag';
|
|
4
4
|
import { VNode, VNodeChild } from 'vue';
|
|
5
5
|
type Recordable = Record<string, any>;
|
|
6
6
|
export type ApLabelProps = BadgeProps & Partial<{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ApLadderProps, ApLadderSlots, ApLadderLabelValue } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties } from 'vue';
|
|
3
3
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { TriggerType } from '
|
|
5
|
-
import { TooltipPlacement, AdjustOverflow } from '
|
|
6
|
-
import { LiteralUnion } from '
|
|
7
|
-
import { PresetColorType } from '
|
|
8
|
-
import { AlignType, BuildInPlacements } from '
|
|
4
|
+
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
5
|
+
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
6
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
7
|
+
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
8
|
+
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
10
|
slots: Readonly<ApLadderSlots> & ApLadderSlots;
|
|
11
11
|
refs: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as q, useSlots as H, ref as R, computed as h, unref as l, onMounted as J, openBlock as t, createElementBlock as r, normalizeClass as u, createBlock as $, normalizeProps as w, mergeProps as E, createSlots as M, withCtx as b, Fragment as y, createElementVNode as p, normalizeStyle as m, toDisplayString as i, renderSlot as N, createCommentVNode as f, renderList as z, createTextVNode as K } from "vue";
|
|
2
|
-
import { Tooltip as O } from "
|
|
2
|
+
import { Tooltip as O } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { locales as Q } from "./interface.mjs";
|
|
5
5
|
import { useNamespace as U } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
2
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
3
|
-
import { TriggerType } from '
|
|
4
|
-
import { TooltipPlacement, AdjustOverflow } from '
|
|
5
|
-
import { LiteralUnion } from '
|
|
6
|
-
import { PresetColorType } from '
|
|
7
|
-
import { AlignType, BuildInPlacements } from '
|
|
3
|
+
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
4
|
+
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
5
|
+
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
|
+
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
7
|
+
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
8
8
|
import { ApLadderLabelValue, ApLadderSlots } from './interface';
|
|
9
9
|
export * from './interface';
|
|
10
10
|
declare const ApLadder: {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as M, ref as r, computed as O, onMounted as U, openBloc
|
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { Tooltip as V, TypographyText as J } from "
|
|
5
|
+
import { Tooltip as V, TypographyText as J } from "@aplus-frontend/antdv";
|
|
6
6
|
import { debounce as K } from "lodash-unified";
|
|
7
7
|
import { useNamespace as P } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import { ApFieldText as Q } from "../../ap-field/text/index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, computed as S, openBlock as o, createBlock as u, unref as n, normalizeClass as i, withCtx as c, createElementBlock as g, Fragment as T, renderList as _, normalizeStyle as C, createTextVNode as b, toDisplayString as L } from "vue";
|
|
2
2
|
import { isNil as N, get as w } from "lodash-unified";
|
|
3
|
-
import { TableSummaryRow as B, TableSummaryCell as z } from "
|
|
3
|
+
import { TableSummaryRow as B, TableSummaryCell as z } from "@aplus-frontend/antdv";
|
|
4
4
|
import { flattenColumns as A, formatDataIndex as D } from "./utils.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
6
|
import { isNumeric as F, toThousand as I, toFixed as v } from "@aplus-frontend/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ColumnsType } from '
|
|
2
|
-
import { AlignType, DataIndex, Key } from '
|
|
1
|
+
import { ColumnsType } from '@aplus-frontend/antdv/es/table';
|
|
2
|
+
import { AlignType, DataIndex, Key } from '@aplus-frontend/antdv/es/vc-table/interface';
|
|
3
3
|
import { ApColumnType } from 'src/ap-table';
|
|
4
4
|
export type SummaryColumnType = ApColumnType[] | ColumnsType;
|
|
5
5
|
export type ValueType = {
|