@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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const v=require("../utils/returnData.js"),S=require("@ant-design/icons-vue"),y=require("../hooks/useOss.js"),j=require("../utils/accept.js"),l=require("@aplus-frontend/antdv"),T=require("lodash-unified"),L=require("../../config-provider/hooks/use-locale.js"),M=require("../../config-provider/hooks/use-namespace.js"),G=["accept"],H={class:"picture-context"},J={class:"picture-item-box"},K=["src"],Q={class:"picture-item-shadow"},W=["onClick"],X={key:0,class:"picture-item-uploading"},Y={class:"picture-title"},Z={key:0},F={key:1},ee=e.defineComponent({__name:"Picture",setup(te,{expose:q}){const{t:r}=L.useLocale(),{b:_}=M.useNamespace("ap-upload-picture"),{put:V}=y.useOss(),P=e.inject("theme"),b=e.inject("dirName"),h=e.inject("accept")||"image/*",k=e.inject("maxSize")??5,x=e.inject("title"),u=e.inject("maxCount")??10,f=e.inject("uploadingCount"),w=e.inject("beforeUpload"),C=e.inject("customRequest"),N=e.inject("getOssAccess"),m=e.ref(null),i=e.inject("value"),g=e.inject("needName");let o=e.ref([]);const p=[];e.watch(()=>i==null?void 0:i.value,async function(t){var s;!((s=o==null?void 0:o.value)!=null&&s.length)&&t&&U(t)},{immediate:!0});function U(t){if(!t){i.value=void 0,p.splice(0,p.length),o.value=[];return}e.nextTick(async()=>{const s=[];for(let n of t){const a=v.getPath(g,n),c=v.getName(g,n),d=await y.getOssInstance(N),z=await d.getSignatureUrl(a),O={...typeof n=="string"?{}:n,...new File([n],c,{}),uid:`${new Date().getTime()}-${Math.random()}`,thumbUrl:z,status:"success",percent:100,path:a};s.push(O),d.destroy()}if(u&&s.length>u){l.message.warning(r("ap.apUpload.fileInitializationException",{maxCount:u}));return}s.forEach(n=>{o.value.push(n),p.push({uid:n.uid,path:n.path})}),i.value=t})}q({setValue:U});function A(){var t;(t=m.value)==null||t.click()}function I(t){const s=t.target;D(s==null?void 0:s.files)}function D(t){if(t!=null&&t.length)for(let s=0;s<t.length;s++)R(t[s]);m.value&&(m.value.value="")}let E;function R(t){if(u&&u>1&&o.value.length>=u)return clearTimeout(E),E=setTimeout(()=>{l.message.warning(r("ap.apUpload.maxUploadPicture",{maxCount:u}))}),!1;if(typeof w=="function"){if(w(t)===!1)return!1}else{if(t.size>k*1024*1024)return l.message.warning(r("ap.apUpload.maxUploadFileSize",{maxSize:k})),!1;if(!/image\/\w+/.test(t.type)||!j.fileMatchesAccept(t,h))return l.message.warning(r("ap.apUpload.pictureFormatNotSupported")),!1}const s=new FileReader;s.readAsDataURL(t),s.onload=function(){const n={...t,uid:`${new Date().getTime()}-${Math.random()}`,thumbUrl:this.result,status:"uploading",percent:0};$(n,t)},s.onerror=function(){l.message.warning(r("ap.apUpload.imageParsingFailed"))}}async function $(t,s){if(f.value++,typeof C=="function"){C({onProgress:n=>{const a=o.value.find(c=>c.uid===t.uid);a&&(a.percent=n)},onError:n=>{l.message.warning(n||r("ap.apUpload.networkAnomaly"));const a=o.value.findIndex(c=>c.uid===t.uid);a>-1&&o.value.splice(a,1),f.value--},onSuccess:n=>{const a=o.value.find(c=>c.uid===t.uid);a&&(a.status="success",a.path=n),i.value=[...i.value||[],v.getReturnData(g,n,s.name)],p.push({uid:t.uid,path:n}),f.value--},file:s});return}try{const n=await y.getOssInstance(N);t.oss=n,o.value.push(t),V({file:s,dirName:b,oss:n,successCallBack(a){const c=o.value.find(d=>d.uid===t.uid);c&&(c.status="success",c.path=a),i.value=[...i.value||[],v.getReturnData(g,a,s.name)],p.push({uid:t.uid,path:a}),f.value--},errorCallBack(a){l.message.warning(a||r("ap.apUpload.networkAnomaly"));const c=o.value.findIndex(d=>d.uid===t.uid);c>-1&&o.value.splice(c,1),f.value--},progressCallBack(a){const c=o.value.find(d=>d.uid===t.uid);c&&(c.percent=a)}})}catch(n){l.message.warning(typeof(n==null?void 0:n.message)=="string"?n.message:r("ap.apUpload.networkAnomaly"));const a=o.value.findIndex(c=>c.uid===t.uid);a>-1&&o.value.splice(a,1),f.value--}}function B(t){var n;if(t.path){if(Array.isArray(i.value)){const a=p.findIndex(c=>c.uid===t.uid);a>=0&&(i==null||i.value.splice(a,1),p.splice(a,1)),i.value.length===0&&(i.value=void 0)}}else(n=t==null?void 0:t.oss)==null||n.pauseUpload();const s=o.value.findIndex(a=>a.uid===t.uid);return o.value.splice(s,1),Promise.resolve(!0)}return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({[e.unref(_)()]:!0,[e.unref(_)("admin")]:e.unref(P)==="admin"})},[e.createElementVNode("input",{style:{display:"none"},type:"file",ref_key:"fileRef",ref:m,accept:e.unref(h),onChange:I},null,40,G),e.createElementVNode("div",H,[e.renderSlot(t.$slots,"pictureContext",{fileList:e.unref(o).map(n=>{var a;return{...e.unref(T.omit)(n,"oss"),oss:{pauseUpload:(a=n==null?void 0:n.oss)==null?void 0:a.pauseUpload}}}),remove:B},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),n=>(e.openBlock(),e.createElementBlock("div",{key:n.uid,class:"picture-item"},[e.createElementVNode("div",J,[e.createElementVNode("img",{src:n.thumbUrl,alt:""},null,8,K),e.withDirectives(e.createElementVNode("div",Q,[e.createElementVNode("div",{class:"picture-item-close",onClick:a=>B(n)},[e.createVNode(e.unref(S.CloseOutlined))],8,W),n.status==="uploading"?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(e.unref(l.Progress),{percent:n.percent,strokeColor:"#ffffff",trailColor:"rgba(255, 255, 255, 0.3)",size:4,showInfo:!1},null,8,["percent"])])):e.createCommentVNode("",!0)],512),[[e.vShow,n.status==="uploading"]])])]))),128))]),e.unref(u)===void 0||e.unref(o).length<e.unref(u)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"picture-upload",onClick:A},[e.createVNode(e.unref(S.PlusOutlined)),e.createElementVNode("div",null,e.toDisplayString(e.unref(r)("ap.apUpload.update")),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y,[e.unref(x)?(e.openBlock(),e.createElementBlock("div",Z,e.toDisplayString(e.unref(x)),1)):(e.openBlock(),e.createElementBlock("div",F,e.toDisplayString(`${e.unref(r)("ap.apUpload.supportExtension")}:${e.unref(j.getAcceptText)(e.unref(h))},${e.unref(r)("ap.apUpload.maxUploadPictureSize",{maxSize:e.unref(k)})}`),1))])],2))}});exports.default=ee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const w=require("../utils/returnData.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const w=require("../utils/returnData.js"),z=require("../hooks/useOss.js"),V=require("../utils/accept.js"),r=require("@aplus-frontend/antdv"),Q=require("@ant-design/icons-vue"),O=require("../assets/single-file-icon.png.js"),X=require("../../config-provider/hooks/use-locale.js"),Y=require("../../config-provider/hooks/use-namespace.js"),Z=["accept"],ee={key:0,class:"state-un"},te=["src"],ne={class:"state-un-title"},ae={class:"state-un-subtitle"},oe={key:1,class:"state-ing"},le={class:"left"},se=["src"],re={class:"center"},ce={class:"center-progress"},ue=e.defineComponent({__name:"SingleFile",setup(ie,{expose:P}){const{t:s}=X.useLocale(),{b:m}=Y.useNamespace("ap-upload-single-file"),{put:T,client:F}=z.useOss(),g=e.inject("theme"),L=e.inject("dirName"),h=e.inject("accept")||"*",_=e.inject("maxSize")??500,R=e.inject("title")||s("ap.apUpload.clickOrDragUpload"),k=e.inject("subTitle"),a=e.inject("value"),y=e.inject("needName"),u=e.inject("uploadingCount"),S=e.inject("beforeUpload"),U=e.inject("customRequest"),I=e.inject("getOssAccess"),o=e.ref(null);e.watch(()=>a==null?void 0:a.value,function(t){o.value===null&&t&&j(t)},{immediate:!0});function j(t){t?setTimeout(()=>{const n=w.getName(y,t);l.value=3,o.value=new File([t],n,{}),a.value=t}):(l.value=1,o.value=null,a.value=void 0)}P({setValue:j});const l=e.ref(1),d=e.ref(0),f=e.ref(null),B=e.computed(()=>o.value&&(a==null?void 0:a.value));function M(){var t;l.value===1&&((t=f.value)==null||t.click())}function q(t){t.preventDefault(),t.stopPropagation()}function $(t){t.dataTransfer.dropEffect="copy",t.preventDefault(),t.stopPropagation()}function G(t){A(t)}function W(t){if(t.preventDefault(),t.stopPropagation(),l.value!==1)return;var n=t.dataTransfer,c=[],b=0,x=n.files.length;function i(){b===x-1&&G(c),b++}if(n.items!==void 0)for(var D=0;D<n.items.length;D++){var N=n.items[D];if(N.kind==="file"&&N.webkitGetAsEntry().isFile){var K=N.getAsFile();c.push(K),i()}}else for(let E=0;E<x;E++){var v=n.files[E];if(v.type)c.push(v),i();else try{var C=new FileReader;C.readAsDataURL(v.slice(0,3)),C.addEventListener("load",function(p){console.warn(p,"load"),c.push(v),i()},!1),C.addEventListener("error",function(p){console.warn(p,"error"),r.message.warning(s("ap.apUpload.foldersNotSupported")),i()},!1)}catch(p){console.warn(p),r.message.warning(s("ap.apUpload.foldersNotSupported")),i()}}}function H(t){const n=t.target;A(n==null?void 0:n.files),f.value&&(f.value.value="")}async function A(t){if(t!=null&&t.length){if(typeof S=="function"){if(S(t[0])===!1)return}else{if(t[0].size>_*1024*1024){r.message.warning(s("ap.apUpload.maxUploadFileSize",{maxSize:_}));return}if(!V.fileMatchesAccept(t[0],h)){r.message.warning(s("ap.apUpload.fileFormatNotSupported"));return}}if(o.value=t[0],l.value=2,d.value=0,u.value++,typeof U=="function"){U({onProgress:n=>{d.value=n},onError:n=>{r.message.warning(n||s("ap.apUpload.networkAnomaly")),l.value=1,o.value=null,u.value--},onSuccess:n=>{a.value=w.getReturnData(y,n,o.value.name),l.value=3,u.value--},file:t[0]});return}try{await z.useOssInit(I),T({file:o.value,dirName:L,oss:F,successCallBack(n){a.value=w.getReturnData(y,n,o.value.name),l.value=3,u.value--},errorCallBack(n){r.message.warning(n||s("ap.apUpload.networkAnomaly")),l.value=1,o.value=null,u.value--},progressCallBack(n){d.value=n}})}catch(n){r.message.warning(typeof(n==null?void 0:n.message)=="string"?n.message:s("ap.apUpload.networkAnomaly")),l.value=1,o.value=null,u.value--}}}function J(){o.value&&!(a!=null&&a.value)&&F.pauseUpload(),l.value=1,o.value=null,a.value=void 0}return(t,n)=>{var c;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({[e.unref(m)()]:!0,[e.unref(m)("admin")]:e.unref(g)==="admin",[e.unref(m)("un")]:l.value===1}),onClick:M,onDragenter:q,onDragover:$,onDragleave:q,onDrop:W},[e.createElementVNode("input",{style:{display:"none"},type:"file",ref_key:"fileRef",ref:f,accept:e.unref(h),onChange:H},null,40,Z),l.value===1?(e.openBlock(),e.createElementBlock("div",ee,[e.createElementVNode("img",{class:"state-un-icon",src:e.unref(O.default)},null,8,te),e.createElementVNode("div",ne,e.toDisplayString(e.unref(R)),1),e.createElementVNode("div",ae,e.toDisplayString(typeof e.unref(k)=="string"&&e.unref(k).length>0?e.unref(k):`${e.unref(s)("ap.apUpload.supportExtension")}:${e.unref(V.getAcceptText)(e.unref(h))},${e.unref(s)("ap.apUpload.maxWarnUploadFileSize",{maxSize:e.unref(_)})}`),1)])):e.createCommentVNode("",!0),[2,3].includes(l.value)?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("div",le,[e.createElementVNode("img",{src:e.unref(O.default)},null,8,se)]),e.createElementVNode("div",re,[e.createElementVNode("div",{class:"center-title",style:e.normalizeStyle({color:B.value?"#0070FF":"#182948"})},e.toDisplayString((c=o.value)==null?void 0:c.name),5),e.createElementVNode("div",ce,[B.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(r.Progress),{key:0,percent:d.value,size:4,showInfo:!1,trailColor:e.unref(g)==="admin"?"#D9D9D9":"#DEE4ED",strokeColor:e.unref(g)==="admin"?"#34B77C":"#0070FF"},null,8,["percent","trailColor","strokeColor"]))])]),e.createElementVNode("div",{class:"right",onClick:e.withModifiers(J,["stop"])},[e.createVNode(e.unref(Q.DeleteOutlined))])])):e.createCommentVNode("",!0)],34)}}});exports.default=ue;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AttachmentItemProps, ApAttachmentProps } from './interface';
|
|
2
2
|
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import { TooltipPlacement } from '
|
|
3
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
4
4
|
declare const _default: DefineComponent<{
|
|
5
5
|
attachmentList: {
|
|
6
6
|
type: PropType<Array<AttachmentItemProps>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),A=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),A=require("@aplus-frontend/antdv");require("../../config-provider/index.js");const _=require("./constans.js"),f=require("../../ap-download/utils/getFileInfo.js"),k=require("../../ap-download/hooks/index.js"),G=require("lodash-unified"),v=require("@ant-design/icons-vue"),U=require("../../config-provider/hooks/use-namespace.js"),g=require("../../config-provider/hooks/use-global-config.js"),j=require("../../config-provider/hooks/use-locale.js"),z=e.defineComponent({name:"ApAttachment",props:_.ApAttachmentProps(),setup(t){const{b:F,e:a}=U.useNamespace("ap-attachment"),w=g.useGlobalConfig("uiMode"),b=g.useGlobalConfig("apUpload"),N=g.useGlobalConfig("downloadCenterTriggerConfig"),{lang:y,t:r}=j.useLocale(),n=e.ref(!1),c=e.ref(""),d=e.useSlots(),O=e.computed(()=>y.value==="zh-cn"?"zh_CN":"en_US"),s=e.computed(()=>t.attachmentList.length===1),h=e.computed(()=>t.attachmentList.length>0?t.attachmentList[0].fileName:""),q=e.computed(()=>s.value?h.value:r("ap.apAttachment.downloadall")),p=e.computed(()=>t.color?t.color:w.value==="aplus"?"#0070FF":"#1890FF"),T=e.computed(()=>({width:s.value?"auto":"266px"})),V=e.computed(()=>({"--download-main-color":p.value,"--download-main-color-opacity":f.getHexWithOpacity(p.value,.6)})),x=e.computed(()=>{var l;return t.getOssAccess||((l=b.value)==null?void 0:l.getOssAccess)}),I=e.computed(()=>{const l=d.default?d.default()[0]:null;return l?e.cloneVNode(l,{style:{"font-size":"16px"}}):null}),m=async(l,i)=>{var o,C;if(!t.disabled){n.value=!0,i&&(c.value=i);try{const u=G.isArray(e.toRaw(l))?e.toRaw(l):[e.toRaw(l)];if((o=N.value)!=null&&o.trigger){const M=f.getFileInfo(t.needName,u).map(L=>({objectName:L.path,fileName:L.fileName}));(C=N.value)==null||C.trigger(M)}else await(await k.useOssInit(x.value,e.unref(O))).downloadFile(f.getFileInfo(t.needName,u))}catch(u){console.error(u)}finally{n.value=!1,c.value=""}}},P=l=>l&&l.length>0?e.createVNode("ul",{class:[a("file-list")],style:V.value},[l.map((i,o)=>e.createVNode("li",{key:o,class:[a("file-item")],onClick:()=>m(i,o+1)},[n.value&&c.value===o+1?e.createVNode("span",{class:[a("spin")]},[e.createVNode(v.LoadingOutlined,{spin:!0},null)]):null,i.fileName])),e.createVNode("li",{class:[a("down-load-all")],onClick:()=>m(t.attachmentList,"all")},[n.value&&c.value==="all"?e.createVNode("span",{class:[a("spin")]},[e.createVNode(v.LoadingOutlined,{spin:!0},null)]):null,r("ap.apAttachment.downloadall")])]):null;return()=>{var l;return((l=t.attachmentList)==null?void 0:l.length)>0&&e.createVNode("div",{class:[F()],style:[T.value,V.value]},[e.createVNode(A.Tooltip,{title:q.value,placement:t.textToolTipPlacement,color:t.toolTipBgColor},{default:()=>[e.createVNode("div",{class:[a("content")],onClick:()=>m(s.value?t.attachmentList[0]:t.attachmentList,"global")},[n.value&&c.value==="global"?e.createVNode("div",{class:[a("spin")]},[e.createVNode(v.LoadingOutlined,{spin:!0},null)]):null,d.default?e.createVNode("div",{class:[a("text-render")]},[I.value,e.createTextVNode(" ")]):null,e.createVNode("div",{class:[a("text-inner")]},[h.value])])]}),e.createVNode(A.Popover,{content:P(t.attachmentList),placement:t.fileMorePopoverPlacement,color:"#fff"},{default:()=>[!s.value&&e.createVNode("div",{class:[a("more")]},[r("ap.apAttachment.more")])]})])}}});exports.default=z;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
2
|
import { AttachmentItemProps, ApAttachmentProps } from './interface';
|
|
3
|
-
import { TooltipPlacement } from '
|
|
3
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
declare const ApAttachment: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApDownLoadProps } from '../../ap-download/interface';
|
|
2
|
-
import { TooltipPlacement } from '
|
|
2
|
+
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
|
|
3
3
|
export type AttachmentItemProps = {
|
|
4
4
|
fileName: string;
|
|
5
5
|
filePath: string;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { ApBatchActionProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
slots: {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
header: () => void;
|
|
6
|
+
prefix: () => void;
|
|
7
|
+
suffix: () => void;
|
|
8
|
+
}> & {
|
|
9
|
+
header: () => void;
|
|
10
|
+
prefix: () => void;
|
|
11
|
+
suffix: () => void;
|
|
7
12
|
};
|
|
8
13
|
refs: {};
|
|
9
14
|
attrs: Partial<{}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@aplus-frontend/antdv");require("../../config-provider/index.js");const u=require("../../config-provider/hooks/use-namespace.js"),p=require("../../config-provider/hooks/use-locale.js"),m={class:"selected-desc"},f={class:"selected-desc-conut"},y={class:"selected-desc-clean"},v=e.defineComponent({__name:"ApBatchAction",props:{selectedRowKeys:{},clearAll:{type:Function}},setup(r){const{b:s}=u.useNamespace("ap-batch-action"),{t:o}=p.useLocale(),n=r,c=e.useSlots().header,a=e.computed(()=>{var t;return((t=n.selectedRowKeys)==null?void 0:t.length)||0}),i=e.computed(()=>{const t=c==null?void 0:c();return Array.isArray(t)&&t.length>0});return(t,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(s)()])},[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(s)("header"))},[e.renderSlot(t.$slots,"header")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s)("body"))},[e.renderSlot(t.$slots,"prefix"),e.createElementVNode("div",m,[e.createElementVNode("div",f,[e.createTextVNode(e.toDisplayString(e.unref(o)("ap.apBatchAction.selected"))+" ",1),e.createElementVNode("span",null,e.toDisplayString(a.value),1),e.createTextVNode(" "+e.toDisplayString(e.unref(o)("ap.apBatchAction.piecesOfData")),1)]),e.createElementVNode("div",y,[e.createVNode(e.unref(d.Button),{type:"link",onClick:l[0]||(l[0]=h=>n.clearAll&&n.clearAll())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("ap.apBatchAction.empty")),1)]),_:1})])]),e.renderSlot(t.$slots,"suffix")],2)],2))}});exports.default=v;
|
|
@@ -41,9 +41,14 @@ declare const ApBatchAction: {
|
|
|
41
41
|
type: PropType<() => void>;
|
|
42
42
|
};
|
|
43
43
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
44
|
-
$slots: {
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
$slots: Readonly<{
|
|
45
|
+
header: () => void;
|
|
46
|
+
prefix: () => void;
|
|
47
|
+
suffix: () => void;
|
|
48
|
+
}> & {
|
|
49
|
+
header: () => void;
|
|
50
|
+
prefix: () => void;
|
|
51
|
+
suffix: () => void;
|
|
47
52
|
};
|
|
48
53
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
49
54
|
$props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("@aplus-frontend/antdv");require("../../ap-button/index.js");require("./MenuItemGroup.vue.js");require("../../config-provider/index.js");const w=require("@ant-design/icons-vue"),g=require("@aplus-frontend/hooks"),P=require("../../config-provider/hooks/use-namespace.js"),q=require("../../config-provider/hooks/use-locale.js"),L=require("../../config-provider/hooks/use-global-config.js"),m=require("./MenuItemGroup.vue2.js"),C=require("../../ap-button/ap-button.vue.js"),k=e.defineComponent({__name:"ApBatchActionGroup",props:{selectedRows:{},buttonProps:{},menuList:{}},setup(v){const{b:l}=P.useNamespace("ap-batch-action-group"),{t:f}=q.useLocale(),t=v,b=L.useGlobalConfig("uiMode"),{hasPermission:_}=g.usePermission(),c=e.computed(()=>{var o;return((o=t==null?void 0:t.buttonProps)==null?void 0:o.dropdownType)||"default"}),n=e.computed(()=>{var o;return((o=t==null?void 0:t.buttonProps)==null?void 0:o.type)||"borderLink"}),d=e.computed(()=>{var o;return((o=t==null?void 0:t.buttonProps)==null?void 0:o.content)||f("ap.apApBatchActionGroup.batchOperation")}),y=e.computed(()=>(t==null?void 0:t.selectedRows)||[]),s=e.computed(()=>{var o;return((o=t==null?void 0:t.buttonProps)==null?void 0:o.disabled)??(Array.isArray(t.selectedRows)?y.value.length===0:!1)}),h=e.computed(()=>{const o={aplus:"#0070FF",admin:"#34b77c"};return n.value==="borderLink"?s.value?void 0:o[b.value]||o.aplus:void 0}),r=e.computed(()=>{var o;return((o=t==null?void 0:t.menuList)==null?void 0:o.filter(u=>{let a=u==null?void 0:u.ifShow;return!(u!=null&&u.ifShow)&&(u!=null&&u.auth)&&(a=()=>_(u.auth)),(a==null?void 0:a())??!0}))||[]});function i(){return t!=null&&t.buttonProps?{...t.buttonProps,type:n.value==="borderLink"?"default":n.value}:{}}return(o,u)=>r.value.length&&c.value==="dropdown"?(e.openBlock(),e.createBlock(e.unref(p.DropdownButton),e.mergeProps({key:0,class:[e.unref(l)()]},{...o.$attrs,...i(),disabled:s.value}),{overlay:e.withCtx(()=>[e.createVNode(m.default,e.mergeProps({...t},{menuList:r.value}),null,16,["menuList"])]),default:e.withCtx(()=>[e.createElementVNode("span",{style:e.normalizeStyle({color:h.value})},e.toDisplayString(d.value),5)]),_:1},16,["class"])):r.value.length&&c.value==="default"?(e.openBlock(),e.createBlock(e.unref(p.Dropdown),{key:1,class:e.normalizeClass([e.unref(l)()]),disabled:s.value},{overlay:e.withCtx(()=>[e.createVNode(m.default,e.mergeProps({...t},{menuList:r.value}),null,16,["menuList"])]),default:e.withCtx(()=>[e.createVNode(e.unref(C.default),e.normalizeProps(e.guardReactiveProps({...o.$attrs,...i(),type:n.value})),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.value)+" ",1),e.createVNode(e.unref(w.DownOutlined))]),_:1},16)]),_:1},8,["class","disabled"])):e.createCommentVNode("",!0)}});exports.default=k;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@ant-design/icons-vue"),s=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@ant-design/icons-vue"),s=require("@aplus-frontend/antdv"),f={style:{display:"flex","align-items":"center"}},p=e.defineComponent({__name:"MenuItemGroup",props:{selectedRows:{},buttonProps:{},menuList:{}},setup(a){const r=a,c=e.ref({});async function t(l,u){var o;const n=(l==null?void 0:l.id)||u;c.value[n]=!0;try{await((o=l==null?void 0:l.onClick)==null?void 0:o.call(l,{selectedRows:r==null?void 0:r.selectedRows}))}finally{c.value[n]=!1}}return(l,u)=>(e.openBlock(),e.createBlock(e.unref(s.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.menuList,(n,o)=>(e.openBlock(),e.createBlock(e.unref(s.MenuItem),e.mergeProps({key:(n==null?void 0:n.id)||o,ref_for:!0},{...n,onClick:()=>t(n,o),disabled:c.value[(n==null?void 0:n.id)||o]??(n==null?void 0:n.disabled)??!1}),{default:e.withCtx(()=>[e.createElementVNode("div",f,[e.withDirectives(e.createVNode(e.unref(d.LoadingOutlined),{style:{"margin-right":"10px"}},null,512),[[e.vShow,c.value[(n==null?void 0:n.id)||o]]]),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.h(e.Fragment,[n==null?void 0:n.content]))))])]),_:2},1040))),128))]),_:1}))}});exports.default=p;
|
|
@@ -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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("@aplus-frontend/antdv");require("../../ap-button/ap-button.vue2.js");require("../../ap-button/ap-action-button.vue2.js");require("../ap-batch-action-group/ApBatchActionGroup.vue.js");require("../ap-export-group/ApExportGroup.vue.js");const l=require("lodash-unified"),d=require("@aplus-frontend/hooks"),k=require("../../ap-button/ap-button.vue.js"),v=require("../../ap-button/ap-action-button.vue.js"),y=require("../ap-batch-action-group/ApBatchActionGroup.vue2.js"),B=require("../ap-export-group/ApExportGroup.vue2.js"),i=e.defineComponent({__name:"ApButtonGroup",props:{spaceProps:{},selectedRows:{},selectedRowKeys:{},groupList:{}},setup(a){const{hasPermission:s}=d.usePermission(),u=a,c=e.computed(()=>u.groupList);function n(t){let o=t==null?void 0:t.ifShow;return!(t!=null&&t.ifShow)&&(t!=null&&t.auth)&&(o=()=>s(t.auth)),(o==null?void 0:o())??!0}return(t,o)=>(e.openBlock(),e.createBlock(e.unref(_.Space),e.normalizeProps(e.guardReactiveProps(u.spaceProps??{})),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(r,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[r.valueType==="button"&&n(r)?(e.openBlock(),e.createBlock(k.default,e.mergeProps({key:0,ref_for:!0},{...e.unref(l.omit)(r,["valueType","ifShow","auth"])}),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.h(e.Fragment,[r==null?void 0:r.content]))))]),_:2},1040)):r.valueType==="actionButton"&&n(r)?(e.openBlock(),e.createBlock(v.default,e.mergeProps({key:1,ref_for:!0},{...e.unref(l.omit)(r,["valueType","ifShow","auth"])}),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.h(e.Fragment,[r==null?void 0:r.content]))))]),_:2},1040)):r.valueType==="batchActionGroup"?(e.openBlock(),e.createBlock(y.default,e.mergeProps({key:2,ref_for:!0},{...e.unref(l.omit)(r,["valueType"]),selectedRows:u==null?void 0:u.selectedRows}),null,16)):r.valueType==="exportGroup"?(e.openBlock(),e.createBlock(B.default,e.mergeProps({key:3,ref_for:!0},{...e.unref(l.omit)(r,["valueType"]),selectedRowKeys:u==null?void 0:u.selectedRowKeys}),null,16)):e.createCommentVNode("",!0)],64))),128))]),_:1},16))}});exports.default=i;
|
|
@@ -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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("@ant-design/icons-vue"),m=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("@ant-design/icons-vue"),m=require("@aplus-frontend/antdv"),z=require("../../ap-action/index.js");require("../../config-provider/index.js");const c=require("lodash-unified"),N=require("../../config-provider/hooks/use-locale.js"),T=require("../../config-provider/hooks/use-namespace.js"),q=require("../../config-provider/hooks/use-global-config.js"),V=["onClick"],A=e.defineComponent({__name:"ApExpandAlert",props:{type:{default:"warning"},data:{default:()=>[]},prefix:{default:""},tipTitle:{default:""},mapLabel:{},separator:{default:"|"},separatorStyle:{default:()=>({})},contentStyle:{default:()=>({})},prefixStyle:{default:()=>({})},rows:{default:2},defaultExpand:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0}},emits:["choose","expand"],setup(y,{expose:k,emit:v}){const B=v,n=y,{t:d}=N.useLocale(),g=e.computed(()=>{if(n.type!="card")return n.type}),l=e.ref(""),r=e.ref(null),h=e.computed(()=>({fontWeight:"400",wordBreak:"break-all",overflow:"hidden",display:"-webkit-box",webkitLineClamp:l.value,webkitBoxOrient:"vertical",lineHeight:"22px"}));function C(){l.value==="1"?l.value="":l.value="1",B("expand")}const w=e.computed(()=>l.value==="1"?d("ap.apExpandAlert.expand"):d("ap.apExpandAlert.collapse")),i=e.ref(!0),f=e.computed(()=>l.value!=="1");function u(t){t?l.value="":l.value="1"}e.watch(()=>n.data,()=>{l.value="",e.nextTick(()=>{if(r.value){const t=Number(r.value.clientHeight),s=Number(parseInt(r.value.style.lineHeight));t<s*Number(n.rows)&&f.value?i.value=!1:i.value=!0}})},{immediate:!0}),e.watch(()=>n.defaultExpand,t=>{t?e.nextTick(()=>{u(t)}):e.nextTick(()=>{u(t)})},{immediate:!0});const{b:S,e:a,m:x}=T.useNamespace("ap-expand-alert"),E=q.useGlobalConfig("uiMode","aplus");return k({setExpand:u}),(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(S)(),`${e.unref(x)(e.unref(E))}`])},[e.createVNode(e.unref(m.Alert),{type:g.value,"show-icon":t.showIcon,class:e.normalizeClass([e.unref(a)("antAlert"),t.type=="card"?"card-alert":""])},{action:e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock(e.unref(z.ApActionItem),{key:0,size:"small",onClick:s[0]||(s[0]=o=>C()),style:{"font-size":"12px","padding-left":"16px"}},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(a)("expandText"))},e.toDisplayString(w.value),3),e.createVNode(e.unref(b.DownOutlined),{class:e.normalizeClass(f.value?e.unref(a)("expandIcon"):e.unref(a)("collapseIcon"))},null,8,["class"])]),_:1})):e.createCommentVNode("",!0)]),message:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({...h.value,...t.contentStyle}),class:e.normalizeClass(e.unref(a)("alertContent")),ref_key:"ellipsisBoxRef",ref:r},[e.renderSlot(t.$slots,"default",{},()=>[e.unref(c.isString)(t.prefix)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(a)("prefix")),style:e.normalizeStyle(t.prefixStyle)},e.toDisplayString(t.prefix),7)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.prefix),{key:1,style:e.normalizeStyle(t.prefixStyle)},null,8,["style"])),e.unref(c.isString)(t.data)?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(e.unref(a)("text"))},e.toDisplayString(t.data),3)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(t.data,(o,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createVNode(e.unref(m.Tooltip),{title:t.tipTitle?t.tipTitle:null},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"item",{record:o,index:p},()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(a)("showItem")),onClick:D=>t.$emit("choose",o)},e.toDisplayString(t.mapLabel?o[t.mapLabel]:o),11,V)])]),_:2},1032,["title"]),p!==t.data.length-1?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(a)("spliter")),style:e.normalizeStyle(t.separatorStyle)},[e.unref(c.isString)(t.separator)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.separator),1)],64)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.separator),{key:1}))],6)):e.createCommentVNode("",!0)],64))),128))])],6)]),_:3},8,["type","show-icon","class"])],2))}});exports.default=A;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),A=require("@ant-design/icons-vue"),a=require("@aplus-frontend/antdv");require("../../config-provider/index.js");const l=require("./interface.js"),_=require("@aplus-frontend/hooks"),q=require("./handleExportDownload.js"),S=require("../../config-provider/hooks/use-namespace.js"),k=require("../../config-provider/hooks/use-locale.js"),G=require("../../config-provider/hooks/use-global-config.js"),T=e.defineComponent({__name:"ApExportGroup",props:{selectedRowKeys:{},disabled:{type:Boolean},auth:{},ifShow:{type:Function},text:{},idKey:{},request:{type:Function},getRequestParams:{type:Function},getInitialParams:{type:Function},beforeRequest:{type:Function}},setup(x){const{hasPermission:m}=_.usePermission(),t=x,{b:w}=S.useNamespace("ap-export-group"),{t:i}=k.useLocale(),h=G.useGlobalConfig("uiMode"),b=e.computed(()=>{const o={aplus:"#0070FF",admin:"#34b77c"};return d.value?"":o[h.value]||o.aplus}),d=e.computed(()=>!!(t!=null&&t.disabled)),g={textAlign:"center"},c=e.ref(!1),f=e.computed(()=>(t==null?void 0:t.selectedRowKeys)||[]),v=e.computed(()=>{let o=t==null?void 0:t.ifShow;return!(t!=null&&t.ifShow)&&(t!=null&&t.auth)&&(o=()=>m(t.auth)),(o==null?void 0:o())??!0});async function C({key:o}){var y,p;const{getRequestParams:u,request:n}=t||{};let s={};o===l.ApExportGroupActionType.SELECT?s={[(t==null?void 0:t.idKey)||"ids"]:f.value}:o===l.ApExportGroupActionType.ALL&&(s=(u==null?void 0:u())||{});const E=((y=t==null?void 0:t.getInitialParams)==null?void 0:y.call(t))||{};try{c.value=!0;let r={...s,...E};r=((p=t==null?void 0:t.beforeRequest)==null?void 0:p.call(t,r))||r,await q.handleExportDownload(async()=>await(n==null?void 0:n(r)))}finally{c.value=!1}}return(o,u)=>v.value?(e.openBlock(),e.createBlock(e.unref(a.Dropdown),{key:0,class:e.normalizeClass([e.unref(w)()]),overlayStyle:g,disabled:d.value},{overlay:e.withCtx(()=>[e.createVNode(e.unref(a.Menu),{onClick:C},{default:e.withCtx(()=>{var n;return[(e.openBlock(),e.createBlock(e.unref(a.MenuItem),{key:e.unref(l.ApExportGroupActionType).SELECT,disabled:((n=f.value)==null?void 0:n.length)===0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("ap.apExportGroup.exportSelected")),1)]),_:1},8,["disabled"])),(e.openBlock(),e.createBlock(e.unref(a.MenuItem),{key:e.unref(l.ApExportGroupActionType).ALL},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("ap.apExportGroup.exportAll")),1)]),_:1}))]}),_:1})]),default:e.withCtx(()=>[e.createVNode(e.unref(a.Button),e.mergeProps({...o.$attrs},{style:{color:b.value},loading:c.value}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString((t==null?void 0:t.text)??e.unref(i)("ap.apExportGroup.export"))+" ",1),e.createVNode(e.unref(A.DownOutlined))]),_:1},16,["style","loading"])]),_:1},8,["class","disabled"])):e.createCommentVNode("",!0)}});exports.default=T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@aplus-frontend/utils"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@aplus-frontend/utils"),e=require("@aplus-frontend/antdv");async function l(o){const t=await(o==null?void 0:o());Object.prototype.toString.call(t==null?void 0:t.data)==="[object Blob]"&&n.formatFileNameAndDownloadFile(t).catch(a=>{e.Modal.error({title:a,centered:!0})})}exports.handleExportDownload=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("@aplus-frontend/antdv"),c=require("./hooks/useOss.js");require("../../config-provider/index.js");const k=require("./imgs/admin-fallback.jpg.js"),O=require("./imgs/aplus-fallback.jpg.js"),q=require("lodash-unified"),n=require("../../config-provider/hooks/use-global-config.js"),h=require("../../config-provider/hooks/use-locale.js"),_=e.defineComponent({__name:"ApImage",props:{getOssAccess:{},width:{},height:{},alt:{},fallback:{},src:{},preview:{type:[Boolean,Object],default:!0}},setup(u){const s=u,l={aplus:O.default,admin:k.default},i=n.useGlobalConfig("uiMode"),f=n.useGlobalConfig("apUpload"),{t:d,lang:g}=h.useLocale(),p=e.computed(()=>{var a;return s.getOssAccess||((a=f.value)==null?void 0:a.getOssAccess)}),v=e.computed(()=>l[i.value]||l.aplus),b=e.computed(()=>(s==null?void 0:s.fallback)||v.value),t=e.ref("");return c.injectLocaleToOss(d,g),e.watchEffect(async()=>{var a;if(s!=null&&s.src){if(!((a=s.src)!=null&&a.startsWith("Frontend-Upload"))){t.value=s.src;return}try{const r=await c.getOssInstance(p.value),o=await c.getSignatureUrl({oss:r,fileName:s.src});o&&(t.value=o)}catch{t.value=""}}}),(a,r)=>(e.openBlock(),e.createBlock(e.unref(m.Image),e.normalizeProps(e.guardReactiveProps({...e.unref(q.omit)(s,["src","getOssAccess"]),fallback:b.value,src:t.value})),null,16))}});exports.default=_;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const u=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const u=require("@aplus-frontend/antdv"),f=require("lodash-unified"),g=require("../../config-provider/hooks/use-namespace.js"),V=e.defineComponent({name:"ApInputRadio",__name:"ApInputRadio",props:{disabled:{type:Boolean},stringMode:{type:Boolean,default:!0},precision:{},max:{},min:{},step:{},bordered:{type:Boolean,default:!0},autofocus:{type:Boolean},decimalSeparator:{},controls:{type:Boolean,default:!0},formatter:{},onInput:{},onChange:{},onPressEnter:{},onStep:{},onBlur:{},onFocus:{},value:{},options:{},onInputRadioChange:{},setRadioValCallback:{}},emits:["update:value","InputRadioChange"],setup(s,{emit:p}){const d=u.Form.useInjectFormItemContext(),a=s,{b:c,e:m}=g.useNamespace("ap-input-radio"),r=p,n=o=>{let t={...a.value,...o};r("update:value",t),r("InputRadioChange",t),d.onFieldChange()},v=o=>{n({inputVal:o})},C=o=>{const t=o.target.value;if(a.setRadioValCallback){let l=a.setRadioValCallback(t);n({inputVal:l,radioVal:t})}else n({radioVal:t})};return e.onMounted(()=>{if(a.setRadioValCallback){let o=a.setRadioValCallback(a.value.radioVal);n({inputVal:o})}}),(o,t)=>{var l,i;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(c)()])},[e.createVNode(e.unref(u.InputNumber),e.mergeProps({class:e.unref(m)("input-number")},e.unref(f.omit)(a,["value","options"]),{value:a.value?(l=a.value)==null?void 0:l.inputVal:"",onChange:v}),null,16,["class","value"]),e.createVNode(e.unref(u.RadioGroup),{value:a.value?(i=a.value)==null?void 0:i.radioVal:"",options:a.options,onChange:C},null,8,["value","options"])],2)}}});exports.default=V;
|
|
@@ -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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@aplus-frontend/antdv"),c=require("@aplus-frontend/icon");require("../../config-provider/index.js");const d=require("./constans.js"),m=require("lodash-unified"),f=require("../../config-provider/hooks/use-namespace.js"),A=e.defineComponent({name:"ApLabel",props:d.ApLabelProps(),setup(t){const{b:i,e:u}=f.useNamespace("ap-label"),n=e.useSlots(),o=e.computed(()=>({color:t.iconColor,"font-size":t.iconSize+"px","margin-left":"4px",display:"inline-flex",cursor:"pointer"})),r=(a,l)=>a?e.createVNode(s.Tooltip,{title:a,placement:l.placement||"top",color:l.toolTipBgColor},{default:()=>[l.iconType==="question"&&e.createVNode(c.IconApAdLineAnnotation,{style:o.value},null),l.iconType==="warning"&&e.createVNode(c.IconApAdFillWarn,{style:o.value},null),l.iconType==="ellipsis"&&e.createVNode(c.IconApAdFillExecution,{style:o.value},null),l.iconType==="success"&&e.createVNode(c.IconApAdFillSuccessful,{style:o.value},null)]}):null;return()=>e.createVNode("div",null,[t.show?e.createVNode("div",{class:[i()]},[e.createVNode("div",{class:[u("content")]},[e.createVNode(s.Badge,e.mergeProps(m.omit(t,["helpMessage","placement","iconColor"]),{status:t.status?t.status:"default"}),null),n.default?n.default():r(t.helpMessage,t)]),n.custom?e.createVNode("div",{class:[u("custom")]},[n.custom()]):null]):null])}});exports.default=A;
|
|
@@ -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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/antdv/es/badge/Badge"),t=()=>({value:{type:String,default:void 0},tagValue:{type:String,default:void 0},columns:{type:Array,default:null},record:{type:Object,default:null}}),o=()=>({...e.badgeProps(),helpMessage:{type:String,default:void 0},placement:{type:String,default:"top"},iconColor:{type:String,default:"#FF4D4F"},iconType:{type:String,default:"question"},iconSize:{type:Number,default:16},show:{type:Boolean,default:!0},toolTipBgColor:{type:String}});exports.ApLabelGroupProps=t;exports.ApLabelProps=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("vue");require("../../../config-provider/index.js");const o=require("../ApLabel.js"),a=require("lodash-unified"),l=require("../constans.js"),s=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("vue");require("../../../config-provider/index.js");const o=require("../ApLabel.js"),a=require("lodash-unified"),l=require("../constans.js"),s=require("@aplus-frontend/antdv"),c=require("../../../config-provider/hooks/use-namespace.js"),{b:d}=c.useNamespace("ap-label-group"),i=u.defineComponent({name:"ApLabelGroup",props:l.ApLabelGroupProps(),setup(r){const n=e=>(r.tagValue||r.tagValue===0)&&e.tagConfig&&e.tagConfig.length>0?()=>e.tagConfig.filter(t=>r.tagValue===t.value).map(t=>u.createVNode(s.Tag,a.omit(t,["text"]),{default:()=>[t.text]})):e.customRender?()=>u.createVNode("div",null,[e.customRender(r.record)]):null;return()=>u.createVNode("div",{class:d()},[r.columns?r.columns.map((e,t)=>u.createVNode(o.default,u.mergeProps({key:t,show:r.value===e.value},a.omit(e,["value","tagConfig","customRender"])),{custom:n(e)})):u.createVNode("div",null,[u.createTextVNode("columns数组不能为空")])])}});exports.default=i;
|
|
@@ -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: {};
|