@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
package/es/src/index.mjs
CHANGED
|
@@ -1,214 +1,213 @@
|
|
|
1
|
-
import { APConfigProvider as
|
|
2
|
-
import { ApForm as
|
|
3
|
-
import { ApField as
|
|
4
|
-
import { adminToken as
|
|
5
|
-
import { ApActionItem as
|
|
1
|
+
import { APConfigProvider as A } from "./config-provider/index.mjs";
|
|
2
|
+
import { ApForm as i } from "./ap-form/index.mjs";
|
|
3
|
+
import { ApField as c } from "./ap-field/index.mjs";
|
|
4
|
+
import { adminToken as b, aplusToken as T } from "./design-token/index.mjs";
|
|
5
|
+
import { ApActionItem as C } from "./ap-action/index.mjs";
|
|
6
6
|
import "./work-order-modal/index.mjs";
|
|
7
7
|
import "./ap-tag/index.mjs";
|
|
8
8
|
import "./ap-info-layout/index.mjs";
|
|
9
9
|
import "./ap-upload/index.mjs";
|
|
10
10
|
import "./ap-download/index.mjs";
|
|
11
|
-
import { CheckCard as
|
|
12
|
-
import { ApModal as
|
|
11
|
+
import { CheckCard as D } from "./check-card/index.mjs";
|
|
12
|
+
import { ApModal as G } from "./ap-modal/index.mjs";
|
|
13
13
|
import "./ap-list/index.mjs";
|
|
14
14
|
import "./ap-button/index.mjs";
|
|
15
15
|
import "./business/index.mjs";
|
|
16
|
-
import "./ap-table/index.mjs";
|
|
16
|
+
import { ApTable as y } from "./ap-table/index.mjs";
|
|
17
17
|
import "./editable-table/index.mjs";
|
|
18
18
|
import "./ap-descriptions/index.mjs";
|
|
19
|
-
import { configProviderProps as
|
|
20
|
-
import { configProviderContextKey as
|
|
21
|
-
import { keysOf as
|
|
22
|
-
import { buildLocaleContext as
|
|
23
|
-
import { defaultNamespace as
|
|
24
|
-
import { ConfigProvider as
|
|
25
|
-
import { ApFormItemText as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { ApFieldText as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { DictCode as
|
|
61
|
-
import { createWorkOrderModal as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { NeedNameKeyDefault as
|
|
67
|
-
import { default as
|
|
68
|
-
import { ApDownLoadNeedNameKeyDefault as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { ApTransformDataHelper as
|
|
75
|
-
import { default as
|
|
76
|
-
import { useTableModal as
|
|
77
|
-
import { useTableSelectModal as
|
|
78
|
-
import { ApAttachment as
|
|
79
|
-
import { ApBatchAction as
|
|
80
|
-
import { ApBatchActionGroup as
|
|
81
|
-
import { ApButtonGroup as
|
|
82
|
-
import { ApCard as
|
|
83
|
-
import { ApExpandAlert as
|
|
84
|
-
import { ApExportGroupActionType as
|
|
85
|
-
import { ApExportGroup as
|
|
86
|
-
import { handleExportDownload as
|
|
87
|
-
import { ApImage as
|
|
88
|
-
import { ApInputRadio as
|
|
89
|
-
import { ApLabel as
|
|
90
|
-
import { locales as
|
|
91
|
-
import { ApLadder as
|
|
92
|
-
import { ApSelectLayout as
|
|
93
|
-
import { ApStatus as
|
|
94
|
-
import { ApTitle as
|
|
95
|
-
import { usePageListApTable as
|
|
96
|
-
import { useTableRefresh as
|
|
97
|
-
import { computedRecords as
|
|
98
|
-
import { ApSummary as
|
|
99
|
-
import { useTablePaging as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as Zr } from "./ap-descriptions/ap-descriptions.vue.mjs";
|
|
19
|
+
import { configProviderProps as P } from "./config-provider/config-provider-props.mjs";
|
|
20
|
+
import { configProviderContextKey as k } from "./config-provider/constants.mjs";
|
|
21
|
+
import { keysOf as M, provideGlobalConfig as R, useGlobalConfig as v } from "./config-provider/hooks/use-global-config.mjs";
|
|
22
|
+
import { buildLocaleContext as B, buildTranslator as K, localeContextKey as O, translate as W, useLocale as H } from "./config-provider/hooks/use-locale.mjs";
|
|
23
|
+
import { defaultNamespace as j, namespaceContextKey as q, useGetDerivedNamespace as z, useNamespace as J } from "./config-provider/hooks/use-namespace.mjs";
|
|
24
|
+
import { ConfigProvider as V, globalConfigCached as X } from "./config-provider/config-provider.mjs";
|
|
25
|
+
import { ApFormItemText as Z } from "./ap-form/items/text/index.mjs";
|
|
26
|
+
import { default as $ } from "./ap-form/items/text-area/index.vue.mjs";
|
|
27
|
+
import { default as eo } from "./ap-form/items/number/index.vue.mjs";
|
|
28
|
+
import { default as to } from "./ap-form/items/date/index.vue.mjs";
|
|
29
|
+
import { default as ao } from "./ap-form/items/date-range/index.vue.mjs";
|
|
30
|
+
import { default as fo } from "./ap-form/items/radio/index.vue.mjs";
|
|
31
|
+
import { default as xo } from "./ap-form/items/select/index.vue.mjs";
|
|
32
|
+
import { default as Ao } from "./ap-form/items/switch/index.vue.mjs";
|
|
33
|
+
import { default as io } from "./ap-form/items/checkbox/index.vue.mjs";
|
|
34
|
+
import { default as co } from "./ap-form/items/text/password.vue.mjs";
|
|
35
|
+
import { default as bo } from "./ap-form/item/index.vue.mjs";
|
|
36
|
+
import { default as Io } from "./ap-form/item-group/index.vue.mjs";
|
|
37
|
+
import { default as go } from "./ap-form/list/index.vue.mjs";
|
|
38
|
+
import { default as ho } from "./ap-form/search-form/index.vue.mjs";
|
|
39
|
+
import { default as So } from "./ap-form/modal-form/index.vue.mjs";
|
|
40
|
+
import { default as Lo } from "./ap-form/dependency/index.vue.mjs";
|
|
41
|
+
import { default as No } from "./ap-form/set/index.vue.mjs";
|
|
42
|
+
import { default as wo } from "./ap-form/drawer-form/index.vue.mjs";
|
|
43
|
+
import { ApFieldText as Ro } from "./ap-field/text/index.mjs";
|
|
44
|
+
import { default as Eo } from "./ap-field/checkbox/index.vue.mjs";
|
|
45
|
+
import { default as Ko } from "./ap-field/date/index.vue.mjs";
|
|
46
|
+
import { default as Wo } from "./ap-field/number/index.vue.mjs";
|
|
47
|
+
import { default as Uo } from "./ap-field/radio/index.vue.mjs";
|
|
48
|
+
import { default as qo } from "./ap-field/switch/index.vue.mjs";
|
|
49
|
+
import { default as Jo } from "./ap-field/text-area/index.vue.mjs";
|
|
50
|
+
import { default as Vo } from "./ap-field/date-range/index.vue.mjs";
|
|
51
|
+
import { default as Yo } from "./ap-field/select/index.vue.mjs";
|
|
52
|
+
import { default as _o } from "./ap-field/text/password.vue.mjs";
|
|
53
|
+
import { default as oe } from "./ap-field/slider/index.vue.mjs";
|
|
54
|
+
import { default as re } from "./ap-field/segmented/index.vue.mjs";
|
|
55
|
+
import { default as pe } from "./ap-field/rate/index.vue.mjs";
|
|
56
|
+
import { default as me } from "./ap-action/item-modal/index.vue.mjs";
|
|
57
|
+
import { default as le } from "./ap-action/item-popconfirm/index.vue.mjs";
|
|
58
|
+
import { default as xe } from "./ap-action/item-dropdown/index.vue.mjs";
|
|
59
|
+
import { default as Ae } from "./ap-action/group/index.vue.mjs";
|
|
60
|
+
import { DictCode as ie, langMap as ne } from "./work-order-modal/interfaces.mjs";
|
|
61
|
+
import { createWorkOrderModal as Fe } from "./work-order-modal/createWorkOrder.mjs";
|
|
62
|
+
import { default as Te } from "./work-order-modal/work-order-modal.vue.mjs";
|
|
63
|
+
import { default as Ce } from "./ap-tag/ap-tag.vue.mjs";
|
|
64
|
+
import { default as De } from "./ap-tag/ap-tag-group.vue.mjs";
|
|
65
|
+
import { default as Ge } from "./ap-info-layout/ApInfoLayout.vue.mjs";
|
|
66
|
+
import { NeedNameKeyDefault as ye } from "./ap-upload/apUploadTypes.mjs";
|
|
67
|
+
import { default as Pe } from "./ap-upload/apUpload.vue.mjs";
|
|
68
|
+
import { ApDownLoadNeedNameKeyDefault as ke } from "./ap-download/interface.mjs";
|
|
69
|
+
import { default as Me } from "./ap-download/ap-download.vue.mjs";
|
|
70
|
+
import { default as ve } from "./check-card/group.vue.mjs";
|
|
71
|
+
import { default as Be } from "./ap-list/index.vue.mjs";
|
|
72
|
+
import { default as Oe } from "./ap-button/ap-button.vue.mjs";
|
|
73
|
+
import { default as He } from "./ap-button/ap-action-button.vue.mjs";
|
|
74
|
+
import { ApTransformDataHelper as je } from "./utils/ap-trans-data/index.mjs";
|
|
75
|
+
import { default as ze } from "./business/ap-table-modal/index.mjs";
|
|
76
|
+
import { useTableModal as Qe } from "./business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
77
|
+
import { useTableSelectModal as Xe } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
78
|
+
import { ApAttachment as Ze } from "./business/ap-attachment/index.mjs";
|
|
79
|
+
import { ApBatchAction as $e } from "./business/ap-batch-action/index.mjs";
|
|
80
|
+
import { ApBatchActionGroup as er } from "./business/ap-batch-action-group/index.mjs";
|
|
81
|
+
import { ApButtonGroup as tr } from "./business/ap-button-group/index.mjs";
|
|
82
|
+
import { ApCard as ar } from "./business/ap-card/index.mjs";
|
|
83
|
+
import { ApExpandAlert as fr } from "./business/ap-expand-alert/index.mjs";
|
|
84
|
+
import { ApExportGroupActionType as dr } from "./business/ap-export-group/interface.mjs";
|
|
85
|
+
import { ApExportGroup as ur } from "./business/ap-export-group/index.mjs";
|
|
86
|
+
import { handleExportDownload as sr } from "./business/ap-export-group/handleExportDownload.mjs";
|
|
87
|
+
import { ApImage as nr } from "./business/ap-image/index.mjs";
|
|
88
|
+
import { ApInputRadio as Fr } from "./business/ap-input-radio/index.mjs";
|
|
89
|
+
import { ApLabel as Tr, ApLabelGroup as Ir } from "./business/ap-label/index.mjs";
|
|
90
|
+
import { locales as gr } from "./business/ap-ladder/interface.mjs";
|
|
91
|
+
import { ApLadder as hr } from "./business/ap-ladder/index.mjs";
|
|
92
|
+
import { ApSelectLayout as Sr } from "./business/ap-select-layout/index.mjs";
|
|
93
|
+
import { ApStatus as Lr, ApStatusGroup as Pr } from "./business/ap-status/index.mjs";
|
|
94
|
+
import { ApTitle as kr } from "./business/ap-title/index.mjs";
|
|
95
|
+
import { usePageListApTable as Mr } from "./business/hooks/usePageListApTable.mjs";
|
|
96
|
+
import { useTableRefresh as vr } from "./business/hooks/useTableRefresh.mjs";
|
|
97
|
+
import { computedRecords as Br, flattenColumns as Kr, formatDataIndex as Or, formatNumber as Wr } from "./business/ap-summary/utils.mjs";
|
|
98
|
+
import { ApSummary as Ur } from "./business/ap-summary/index.mjs";
|
|
99
|
+
import { useTablePaging as qr } from "./ap-table/hooks/use-table-paging.mjs";
|
|
100
|
+
import { default as Jr } from "./editable-table/index.vue.mjs";
|
|
101
|
+
import { default as Vr } from "./editable-table/form-item.vue.mjs";
|
|
102
|
+
import { default as Yr } from "./ap-descriptions/ap-descriptions.vue.mjs";
|
|
104
103
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
104
|
+
A as APConfigProvider,
|
|
105
|
+
He as ApActionButton,
|
|
106
|
+
Ae as ApActionGroup,
|
|
107
|
+
C as ApActionItem,
|
|
108
|
+
xe as ApActionItemDropdown,
|
|
109
|
+
me as ApActionItemModal,
|
|
110
|
+
le as ApActionItemPopconfirm,
|
|
111
|
+
Ze as ApAttachment,
|
|
112
|
+
$e as ApBatchAction,
|
|
113
|
+
er as ApBatchActionGroup,
|
|
114
|
+
Oe as ApButton,
|
|
115
|
+
tr as ApButtonGroup,
|
|
116
|
+
ar as ApCard,
|
|
117
|
+
Yr as ApDescriptions,
|
|
118
|
+
ke as ApDownLoadNeedNameKeyDefault,
|
|
119
|
+
Me as ApDownload,
|
|
120
|
+
fr as ApExpandAlert,
|
|
121
|
+
ur as ApExportGroup,
|
|
122
|
+
dr as ApExportGroupActionType,
|
|
123
|
+
c as ApField,
|
|
124
|
+
Eo as ApFieldCheckbox,
|
|
125
|
+
Ko as ApFieldDate,
|
|
126
|
+
Vo as ApFieldDateRange,
|
|
127
|
+
Wo as ApFieldNumber,
|
|
128
|
+
_o as ApFieldPassword,
|
|
129
|
+
Uo as ApFieldRadio,
|
|
130
|
+
pe as ApFieldRate,
|
|
131
|
+
re as ApFieldSegmented,
|
|
132
|
+
Yo as ApFieldSelect,
|
|
133
|
+
oe as ApFieldSlider,
|
|
134
|
+
qo as ApFieldSwitch,
|
|
135
|
+
Ro as ApFieldText,
|
|
136
|
+
Jo as ApFieldTextArea,
|
|
137
|
+
i as ApForm,
|
|
138
|
+
Lo as ApFormDependency,
|
|
139
|
+
wo as ApFormDrawerForm,
|
|
140
|
+
bo as ApFormItem,
|
|
141
|
+
io as ApFormItemCheckbox,
|
|
142
|
+
to as ApFormItemDate,
|
|
143
|
+
ao as ApFormItemDateRange,
|
|
144
|
+
Io as ApFormItemGroup,
|
|
145
|
+
eo as ApFormItemNumber,
|
|
146
|
+
fo as ApFormItemRadio,
|
|
147
|
+
xo as ApFormItemSelect,
|
|
148
|
+
Ao as ApFormItemSwitch,
|
|
149
|
+
Z as ApFormItemText,
|
|
150
|
+
$ as ApFormItemTextArea,
|
|
151
|
+
co as ApFormItemTextPassword,
|
|
152
|
+
go as ApFormList,
|
|
153
|
+
So as ApFormModalForm,
|
|
154
|
+
ho as ApFormSearchForm,
|
|
155
|
+
No as ApFormSet,
|
|
156
|
+
nr as ApImage,
|
|
157
|
+
Ge as ApInfoLayout,
|
|
158
|
+
Fr as ApInputRadio,
|
|
159
|
+
Tr as ApLabel,
|
|
160
|
+
Ir as ApLabelGroup,
|
|
161
|
+
hr as ApLadder,
|
|
162
|
+
Be as ApList,
|
|
163
|
+
G as ApModal,
|
|
164
|
+
Sr as ApSelectLayout,
|
|
165
|
+
Lr as ApStatus,
|
|
166
|
+
Pr as ApStatusGroup,
|
|
167
|
+
Ur as ApSummary,
|
|
168
|
+
y as ApTable,
|
|
169
|
+
ze as ApTableModal,
|
|
170
|
+
Ce as ApTag,
|
|
171
|
+
De as ApTagGroup,
|
|
172
|
+
kr as ApTitle,
|
|
173
|
+
je as ApTransformDataHelper,
|
|
174
|
+
Pe as ApUpload,
|
|
175
|
+
D as CheckCard,
|
|
176
|
+
ve as CheckCardGroup,
|
|
177
|
+
V as ConfigProvider,
|
|
178
|
+
ie as DictCode,
|
|
179
|
+
Jr as EditableTable,
|
|
180
|
+
Vr as EditableTableFormItem,
|
|
181
|
+
ye as NeedNameKeyDefault,
|
|
182
|
+
Te as WorkOrderModal,
|
|
183
|
+
b as adminToken,
|
|
184
|
+
T as aplusToken,
|
|
185
|
+
B as buildLocaleContext,
|
|
186
|
+
K as buildTranslator,
|
|
187
|
+
Br as computedRecords,
|
|
188
|
+
k as configProviderContextKey,
|
|
189
|
+
P as configProviderProps,
|
|
190
|
+
Fe as createWorkOrderModal,
|
|
191
|
+
j as defaultNamespace,
|
|
192
|
+
Kr as flattenColumns,
|
|
193
|
+
Or as formatDataIndex,
|
|
194
|
+
Wr as formatNumber,
|
|
195
|
+
X as globalConfigCached,
|
|
196
|
+
sr as handleExportDownload,
|
|
197
|
+
M as keysOf,
|
|
198
|
+
ne as langMap,
|
|
199
|
+
O as localeContextKey,
|
|
200
|
+
gr as locales,
|
|
201
|
+
q as namespaceContextKey,
|
|
202
|
+
R as provideGlobalConfig,
|
|
203
|
+
W as translate,
|
|
204
|
+
z as useGetDerivedNamespace,
|
|
205
|
+
v as useGlobalConfig,
|
|
206
|
+
H as useLocale,
|
|
207
|
+
J as useNamespace,
|
|
208
|
+
Mr as usePageListApTable,
|
|
209
|
+
Qe as useTableModal,
|
|
210
|
+
qr as useTablePaging,
|
|
211
|
+
vr as useTableRefresh,
|
|
212
|
+
Xe as useTableSelectModal
|
|
214
213
|
};
|
|
@@ -102,7 +102,9 @@ const e = {
|
|
|
102
102
|
titleSuffixOne: "You can add up to {maxCount},",
|
|
103
103
|
titleSuffixTwo: "Added",
|
|
104
104
|
titleSuffixThree: "",
|
|
105
|
-
messageMaxCount: "You can select up to {maxCount} data entries"
|
|
105
|
+
messageMaxCount: "You can select up to {maxCount} data entries",
|
|
106
|
+
clear: "Clear",
|
|
107
|
+
selected: "Selected"
|
|
106
108
|
},
|
|
107
109
|
apAttachment: {
|
|
108
110
|
downloadall: "Download All",
|
|
@@ -111,7 +111,9 @@ const e = {
|
|
|
111
111
|
titleSuffixOne: "最多可添加{maxCount}个,",
|
|
112
112
|
titleSuffixTwo: "已添加",
|
|
113
113
|
titleSuffixThree: "个",
|
|
114
|
-
messageMaxCount: "最多选择{maxCount}条数据"
|
|
114
|
+
messageMaxCount: "最多选择{maxCount}条数据",
|
|
115
|
+
clear: "清空",
|
|
116
|
+
selected: "已选"
|
|
115
117
|
},
|
|
116
118
|
apAttachment: {
|
|
117
119
|
downloadall: "下载全部",
|
package/es/src/path-map.mjs
CHANGED
|
@@ -71,6 +71,8 @@ const e = {
|
|
|
71
71
|
ApStatus: ["business", "ap-status"],
|
|
72
72
|
ApStatusGroup: ["business", "ap-status", "group"],
|
|
73
73
|
ApTableModal: ["business", "ap-table-modal"],
|
|
74
|
+
useTableModal: ["business", "ap-table-modal"],
|
|
75
|
+
useTableSelectModal: ["business", "ap-table-modal"],
|
|
74
76
|
ApTitle: ["business", "ap-title"],
|
|
75
77
|
ApSummary: ["business", "ap-summary"]
|
|
76
78
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TransformCellTextProps } from '
|
|
2
|
-
import { ConfigProviderProps } from '
|
|
3
|
-
import { ValidateMessages } from '
|
|
4
|
-
import { RequiredMark } from '
|
|
5
|
-
import { ButtonSize } from '
|
|
6
|
-
import { CSPConfig } from '
|
|
7
|
-
import { Locale } from '
|
|
8
|
-
import { ThemeConfig } from '
|
|
9
|
-
import { default as __DTS_DEFAULT_0__ } from '
|
|
10
|
-
import { TransformCellTextProps } from '
|
|
1
|
+
import { TransformCellTextProps } from '@aplus-frontend/antdv/lib/table/interface';
|
|
2
|
+
import { ConfigProviderProps } from '@aplus-frontend/antdv';
|
|
3
|
+
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
|
+
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
5
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
6
|
+
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
|
+
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
|
+
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
|
+
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
10
|
+
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
11
11
|
/**
|
|
12
12
|
* 弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上
|
|
13
13
|
* 解决弹出框滚动问题
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementVNode as e, defineComponent as r, openBlock as s, createBlock as n, unref as t, withCtx as l, toDisplayString as i, createVNode as a } from "vue";
|
|
2
2
|
import { QuestionCircleOutlined as c } from "@ant-design/icons-vue";
|
|
3
|
-
import { Tooltip as d } from "
|
|
3
|
+
import { Tooltip as d } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
5
5
|
import { useLocale as p } from "../config-provider/hooks/use-locale.mjs";
|
|
6
6
|
const _ = { class: "title" }, m = { class: "flex" }, f = /* @__PURE__ */ e("div", null, "1.", -1), u = { class: "flex" }, x = /* @__PURE__ */ e("div", null, "2.", -1), O = /* @__PURE__ */ r({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as M, ref as g, computed as F, openBlock as N, createElementBlock as E, createVNode as t, unref as e, mergeProps as L, withCtx as n, h as A } from "vue";
|
|
2
|
-
import { message as P, Modal as q, Input as I, Textarea as V } from "
|
|
2
|
+
import { message as P, Modal as q, Input as I, Textarea as V } from "@aplus-frontend/antdv";
|
|
3
3
|
import { ApForm as i } from "../ap-form/index.mjs";
|
|
4
4
|
import "./help-message.vue.mjs";
|
|
5
5
|
import "../ap-upload/index.mjs";
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./src/index.js"),d=require("./src/path-map.js");require("./src/hooks/index.js");const A=require("./src/config-provider/config-provider-props.js"),v=require("./src/config-provider/constants.js"),u=require("./src/config-provider/hooks/use-global-config.js"),e=require("./src/config-provider/hooks/use-locale.js"),t=require("./src/config-provider/hooks/use-namespace.js"),n=require("./src/config-provider/config-provider.js"),q=require("./src/config-provider/index.js"),f=require("./src/ap-form/items/text/index.js"),g=require("./src/ap-form/items/text-area/index.vue.js"),x=require("./src/ap-form/items/number/index.vue.js"),m=require("./src/ap-form/items/date/index.vue.js"),y=require("./src/ap-form/items/date-range/index.vue.js"),$=require("./src/ap-form/items/radio/index.vue.js"),b=require("./src/ap-form/items/select/index.vue.js"),T=require("./src/ap-form/items/switch/index.vue.js"),F=require("./src/ap-form/items/checkbox/index.vue.js"),C=require("./src/ap-form/items/text/password.vue.js"),D=require("./src/ap-form/index.js"),I=require("./src/ap-form/item/index.vue.js"),h=require("./src/ap-form/item-group/index.vue.js"),P=require("./src/ap-form/list/index.vue.js"),G=require("./src/ap-form/search-form/index.vue.js"),M=require("./src/ap-form/modal-form/index.vue.js"),L=require("./src/ap-form/dependency/index.vue.js"),S=require("./src/ap-form/set/index.vue.js"),N=require("./src/ap-form/drawer-form/index.vue.js"),k=require("./src/ap-field/index.js"),w=require("./src/ap-field/text/index.js"),R=require("./src/ap-field/checkbox/index.vue.js"),E=require("./src/ap-field/date/index.vue.js"),B=require("./src/ap-field/number/index.vue.js"),K=require("./src/ap-field/radio/index.vue.js"),O=require("./src/ap-field/switch/index.vue.js"),W=require("./src/ap-field/text-area/index.vue.js"),j=require("./src/ap-field/date-range/index.vue.js"),U=require("./src/ap-field/select/index.vue.js"),V=require("./src/ap-field/text/password.vue.js"),H=require("./src/ap-field/slider/index.vue.js"),z=require("./src/ap-field/segmented/index.vue.js"),J=require("./src/ap-field/rate/index.vue.js"),a=require("./src/design-token/index.js"),Q=require("./src/ap-action/index.js"),X=require("./src/ap-action/item-modal/index.vue.js"),Y=require("./src/ap-action/item-popconfirm/index.vue.js"),Z=require("./src/ap-action/item-dropdown/index.vue.js"),ee=require("./src/ap-action/group/index.vue.js"),p=require("./src/work-order-modal/interfaces.js"),te=require("./src/work-order-modal/createWorkOrder.js"),re=require("./src/work-order-modal/work-order-modal.vue.js"),ue=require("./src/ap-tag/ap-tag.vue.js"),_e=require("./src/ap-tag/ap-tag-group.vue.js"),oe=require("./src/ap-info-layout/ApInfoLayout.vue.js"),ne=require("./src/ap-upload/apUploadTypes.js"),ae=require("./src/ap-upload/apUpload.vue.js"),pe=require("./src/ap-download/interface.js"),ie=require("./src/ap-download/ap-download.vue.js"),se=require("./src/check-card/index.js"),le=require("./src/check-card/group.vue.js"),ce=require("./src/ap-modal/index.js"),de=require("./src/ap-list/index.vue.js"),Ae=require("./src/ap-button/ap-button.vue.js"),ve=require("./src/ap-button/ap-action-button.vue.js"),qe=require("./src/utils/ap-trans-data/index.js"),fe=require("./src/business/ap-table-modal/index.js"),ge=require("./src/business/ap-table-modal/hooks/use-table-modal.js"),xe=require("./src/business/ap-table-modal/hooks/use-table-select-modal.js"),me=require("./src/business/ap-attachment/index.js"),ye=require("./src/business/ap-batch-action/index.js"),$e=require("./src/business/ap-batch-action-group/index.js"),be=require("./src/business/ap-button-group/index.js"),Te=require("./src/business/ap-card/index.js"),Fe=require("./src/business/ap-expand-alert/index.js"),Ce=require("./src/business/ap-export-group/interface.js"),De=require("./src/business/ap-export-group/index.js"),Ie=require("./src/business/ap-export-group/handleExportDownload.js"),he=require("./src/business/ap-image/index.js"),Pe=require("./src/business/ap-input-radio/index.js"),i=require("./src/business/ap-label/index.js"),Ge=require("./src/business/ap-ladder/interface.js"),Me=require("./src/business/ap-ladder/index.js"),Le=require("./src/business/ap-select-layout/index.js"),s=require("./src/business/ap-status/index.js"),Se=require("./src/business/ap-title/index.js"),Ne=require("./src/business/hooks/usePageListApTable.js"),ke=require("./src/business/hooks/useTableRefresh.js"),r=require("./src/business/ap-summary/utils.js"),we=require("./src/business/ap-summary/index.js"),Re=require("./src/ap-table/hooks/use-table-paging.js"),Ee=require("./src/ap-table/index.js"),Be=require("./src/editable-table/index.vue.js"),Ke=require("./src/editable-table/form-item.vue.js"),Oe=require("./src/ap-descriptions/ap-descriptions.vue.js"),We=require("./src/hooks/useMessage.js"),je=require("./src/hooks/useControllableValue.js"),Ue={install:l=>{for(const c in o){const _=o[c];_.install&&l.use(_)}}};exports.pathMap=d.default;exports.configProviderProps=A.configProviderProps;exports.configProviderContextKey=v.configProviderContextKey;exports.keysOf=u.keysOf;exports.provideGlobalConfig=u.provideGlobalConfig;exports.useGlobalConfig=u.useGlobalConfig;exports.buildLocaleContext=e.buildLocaleContext;exports.buildTranslator=e.buildTranslator;exports.localeContextKey=e.localeContextKey;exports.translate=e.translate;exports.useLocale=e.useLocale;exports.defaultNamespace=t.defaultNamespace;exports.namespaceContextKey=t.namespaceContextKey;exports.useGetDerivedNamespace=t.useGetDerivedNamespace;exports.useNamespace=t.useNamespace;exports.ConfigProvider=n.ConfigProvider;exports.globalConfigCached=n.globalConfigCached;exports.APConfigProvider=q.APConfigProvider;exports.ApFormItemText=f.ApFormItemText;exports.ApFormItemTextArea=g.default;exports.ApFormItemNumber=x.default;exports.ApFormItemDate=m.default;exports.ApFormItemDateRange=y.default;exports.ApFormItemRadio=$.default;exports.ApFormItemSelect=b.default;exports.ApFormItemSwitch=T.default;exports.ApFormItemCheckbox=F.default;exports.ApFormItemTextPassword=C.default;exports.ApForm=D.ApForm;exports.ApFormItem=I.default;exports.ApFormItemGroup=h.default;exports.ApFormList=P.default;exports.ApFormSearchForm=G.default;exports.ApFormModalForm=M.default;exports.ApFormDependency=L.default;exports.ApFormSet=S.default;exports.ApFormDrawerForm=N.default;exports.ApField=k.ApField;exports.ApFieldText=w.ApFieldText;exports.ApFieldCheckbox=R.default;exports.ApFieldDate=E.default;exports.ApFieldNumber=B.default;exports.ApFieldRadio=K.default;exports.ApFieldSwitch=O.default;exports.ApFieldTextArea=W.default;exports.ApFieldDateRange=j.default;exports.ApFieldSelect=U.default;exports.ApFieldPassword=V.default;exports.ApFieldSlider=H.default;exports.ApFieldSegmented=z.default;exports.ApFieldRate=J.default;exports.adminToken=a.adminToken;exports.aplusToken=a.aplusToken;exports.ApActionItem=Q.ApActionItem;exports.ApActionItemModal=X.default;exports.ApActionItemPopconfirm=Y.default;exports.ApActionItemDropdown=Z.default;exports.ApActionGroup=ee.default;exports.DictCode=p.DictCode;exports.langMap=p.langMap;exports.createWorkOrderModal=te.createWorkOrderModal;exports.WorkOrderModal=re.default;exports.ApTag=ue.default;exports.ApTagGroup=_e.default;exports.ApInfoLayout=oe.default;exports.NeedNameKeyDefault=ne.NeedNameKeyDefault;exports.ApUpload=ae.default;exports.ApDownLoadNeedNameKeyDefault=pe.ApDownLoadNeedNameKeyDefault;exports.ApDownload=ie.default;exports.CheckCard=se.CheckCard;exports.CheckCardGroup=le.default;exports.ApModal=ce.ApModal;exports.ApList=de.default;exports.ApButton=Ae.default;exports.ApActionButton=ve.default;exports.ApTransformDataHelper=qe.ApTransformDataHelper;exports.ApTableModal=fe.default;exports.useTableModal=ge.useTableModal;exports.useTableSelectModal=xe.useTableSelectModal;exports.ApAttachment=me.ApAttachment;exports.ApBatchAction=ye.ApBatchAction;exports.ApBatchActionGroup=$e.ApBatchActionGroup;exports.ApButtonGroup=be.ApButtonGroup;exports.ApCard=Te.ApCard;exports.ApExpandAlert=Fe.ApExpandAlert;exports.ApExportGroupActionType=Ce.ApExportGroupActionType;exports.ApExportGroup=De.ApExportGroup;exports.handleExportDownload=Ie.handleExportDownload;exports.ApImage=he.ApImage;exports.ApInputRadio=Pe.ApInputRadio;exports.ApLabel=i.ApLabel;exports.ApLabelGroup=i.ApLabelGroup;exports.locales=Ge.locales;exports.ApLadder=Me.ApLadder;exports.ApSelectLayout=Le.ApSelectLayout;exports.ApStatus=s.ApStatus;exports.ApStatusGroup=s.ApStatusGroup;exports.ApTitle=Se.ApTitle;exports.usePageListApTable=Ne.usePageListApTable;exports.useTableRefresh=ke.useTableRefresh;exports.computedRecords=r.computedRecords;exports.flattenColumns=r.flattenColumns;exports.formatDataIndex=r.formatDataIndex;exports.formatNumber=r.formatNumber;exports.ApSummary=we.ApSummary;exports.useTablePaging=Re.useTablePaging;exports.ApTable=Ee.ApTable;exports.EditableTable=Be.default;exports.EditableTableFormItem=Ke.default;exports.ApDescriptions=Oe.default;exports.useMessage=We.useMessage;exports.useControllableValue=je.useControllableValue;exports.default=Ue;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApActionGroupProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { Trigger } from '
|
|
3
|
+
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
4
4
|
import { GroupActionTypes } from '..';
|
|
5
5
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
|
|
6
6
|
count: number;
|
|
@@ -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("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");require("../item-dropdown/index.vue2.js");require("../../config-provider/index.js");const _=require("lodash-unified"),d=require("../../config-provider/hooks/use-locale.js"),c=require("../item-dropdown/index.vue.js"),f=require("../item-modal/index.vue.js"),g=require("../item-popconfirm/index.vue.js"),m=require("../item/index.vue2.js"),k=e.defineComponent({name:"ApActionGroup",__name:"index",props:{count:{default:3},trigger:{default:()=>["hover"]},placement:{default:"bottomRight"},actions:{default:()=>[]}},setup(l){const o=l,{t:s}=d.useLocale(),n=e.computed(()=>o.actions.filter(t=>t.visible||_.isUndefined(t.visible))),i=e.computed(()=>e.unref(n).length>o.count),u=e.computed(()=>{const t=e.unref(n);return t.length<=o.count?{showActions:t,menuActions:[]}:{showActions:t.slice(0,o.count-1),menuActions:t.slice(o.count-1)}});return(t,v)=>(e.openBlock(),e.createBlock(e.unref(p.Space),{size:16,align:"center"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value.showActions,(r,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[r.actions?(e.openBlock(),e.createBlock(c.default,e.mergeProps({key:0,ref_for:!0},r),null,16)):r.modalProps?(e.openBlock(),e.createBlock(f.default,e.mergeProps({key:1,ref_for:!0},r),null,16)):r.popconfirmProps?(e.openBlock(),e.createBlock(g.default,e.mergeProps({key:2,ref_for:!0},r),null,16)):(e.openBlock(),e.createBlock(m.default,e.mergeProps({key:3,ref_for:!0},r),null,16))],64))),128)),i.value?(e.openBlock(),e.createBlock(c.default,{key:0,actions:u.value.menuActions,placement:t.placement,trigger:t.trigger,text:e.unref(s)("ap.common.more")},null,8,["actions","placement","trigger","text"])):e.createCommentVNode("",!0)]),_:1}))}});exports.default=k;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropdownProps, ModalFuncProps, PopconfirmProps } from '
|
|
1
|
+
import { DropdownProps, ModalFuncProps, PopconfirmProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { VNode } from 'vue';
|
|
3
3
|
export type ActionColor = 'primary' | 'success' | 'error' | 'warn';
|
|
4
4
|
export type ApActionItemProps = {
|
|
@@ -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 d=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const d=require("@aplus-frontend/antdv/es/button/LoadingIcon"),f=require("../../config-provider/hooks/use-namespace.js"),m={key:1},p=e.defineComponent({name:"ApActionItem",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1}},setup(s){const n=s,{b:c,m:l}=f.useNamespace("action-item"),a=e.ref(!1);function r(o){var i;e.unref(t)||n.disabled||((i=n.onClick)==null||i.call(n,o),n.onAction&&(a.value=!0,n.onAction(o).finally(()=>a.value=!1)))}const t=e.computed(()=>n.loading||e.unref(a)),u=e.computed(()=>[c(),l(n.color),n.disabled?l("disabled"):null,t.value?l("loading"):null].filter(Boolean));return(o,i)=>e.renderSlot(o.$slots,"trigger",{loading:t.value,disabled:o.disabled,onClick:r},()=>[o.visible?(e.openBlock(),e.createElementBlock("span",e.mergeProps({key:0},o.$attrs,{onClick:r,class:u.value}),[t.value?(e.openBlock(),e.createBlock(e.unref(d),{key:0,prefixCls:"btn",existIcon:!1,loading:""})):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[e.isVNode(o.text)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.text),{key:0})):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(o.text||""),1))])],16)):e.createCommentVNode("",!0)])}});exports.default=p;
|