@aplus-frontend/ui 6.19.0 → 6.19.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/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -31
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +7 -11
- package/es/src/ap-button/ap-button.vue.mjs +20 -24
- package/es/src/ap-button/ap-confirm-button.vue.mjs +11 -15
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +18 -21
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +13 -13
- package/es/src/ap-field/date-range/index.vue.mjs +16 -16
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.d.ts +29 -29
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +4 -4
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +12 -17
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +10 -10
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +12 -12
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +15 -14
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +19 -18
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +20 -48
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +10 -29
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +19 -18
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +40 -40
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/ap-table.vue2.mjs +14 -13
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/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 +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +332 -332
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +30 -46
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +3 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +11 -33
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +212 -398
- package/es/src/business/ap-draggable-grid/constans.mjs +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +5 -2
- package/es/src/business/ap-draggable-grid/interface.d.ts +3 -2
- package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
- package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.mjs +14 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +5 -17
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +11 -10
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -10
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/config-provider-props.d.ts +5 -4
- package/es/src/config-provider/config-provider.d.ts +9 -8
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -4
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/config-provider/index.d.ts +14 -13
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +38 -37
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.mjs +16 -15
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +5 -5
- package/es/src/utils/config-provider-preset.d.ts +6 -5
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +11 -10
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -31
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +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/index.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +15 -14
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +19 -18
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +20 -48
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +10 -29
- package/lib/src/ap-form/search-form/index.vue.d.ts +19 -18
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +332 -332
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +11 -33
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/constans.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +5 -2
- package/lib/src/business/ap-draggable-grid/interface.d.ts +3 -2
- package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
- package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.js +1 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-table-modal/index.d.ts +5 -17
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +11 -10
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -10
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +5 -4
- package/lib/src/config-provider/config-provider.d.ts +9 -8
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -4
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/config-provider/index.d.ts +14 -13
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/config-provider-preset.d.ts +6 -5
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +11 -10
- package/package.json +1 -1
- package/theme/antd-global-overwrite/admin/alert.css +37 -0
- package/theme/antd-global-overwrite/admin/alert.less +51 -0
- package/theme/antd-global-overwrite/admin/button.css +27 -0
- package/theme/antd-global-overwrite/admin/button.less +31 -0
- package/theme/antd-global-overwrite/admin/field.css +42 -0
- package/theme/antd-global-overwrite/admin/field.less +43 -0
- package/theme/antd-global-overwrite/admin/form.css +57 -0
- package/theme/antd-global-overwrite/admin/form.less +97 -0
- package/theme/antd-global-overwrite/admin/message.css +10 -0
- package/theme/antd-global-overwrite/admin/message.less +13 -0
- package/theme/antd-global-overwrite/admin/modal.css +94 -0
- package/theme/antd-global-overwrite/admin/modal.less +128 -0
- package/theme/antd-global-overwrite/admin/pagination.css +122 -0
- package/theme/antd-global-overwrite/admin/pagination.less +91 -0
- package/theme/antd-global-overwrite/admin/steps.css +127 -0
- package/theme/antd-global-overwrite/admin/steps.less +197 -0
- package/theme/antd-global-overwrite/admin/table.css +78 -0
- package/theme/antd-global-overwrite/admin/table.less +62 -0
- package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/alert.css +40 -0
- package/theme/antd-global-overwrite/aplus/alert.less +55 -0
- package/theme/antd-global-overwrite/aplus/button.css +27 -0
- package/theme/antd-global-overwrite/aplus/button.less +31 -0
- package/theme/antd-global-overwrite/aplus/field.css +42 -0
- package/theme/antd-global-overwrite/aplus/field.less +43 -0
- package/theme/antd-global-overwrite/aplus/form.css +87 -0
- package/theme/antd-global-overwrite/aplus/form.less +133 -0
- package/theme/antd-global-overwrite/aplus/message.css +10 -0
- package/theme/antd-global-overwrite/aplus/message.less +13 -0
- package/theme/antd-global-overwrite/aplus/modal.css +87 -0
- package/theme/antd-global-overwrite/aplus/modal.less +120 -0
- package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
- package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
- package/theme/antd-global-overwrite/aplus/steps.css +125 -0
- package/theme/antd-global-overwrite/aplus/steps.less +198 -0
- package/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/theme/antd-global-overwrite/aplus/table.less +61 -0
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-draggable-grid/ap-draggable-grid.css +3 -3
- package/theme/ap-draggable-grid/ap-draggable-grid.less +3 -4
- package/theme/ap-table/ap-table-pagination.css +12 -0
- package/theme/ap-table/ap-table-pagination.less +14 -0
- package/theme/ap-tag/ap-tag.css +4 -3
- package/theme/ap-tag/ap-tag.less +4 -3
- package/theme/index.css +7 -6
- package/theme/ui-mode.css +60 -0
- package/theme/ui-mode.less +109 -0
|
@@ -3,57 +3,57 @@ import "../ap-field/index.mjs";
|
|
|
3
3
|
import "../ap-form/index.mjs";
|
|
4
4
|
import "./components/index/index.vue.mjs";
|
|
5
5
|
import "./components/status/index.vue.mjs";
|
|
6
|
-
import o from "../ap-form/items/
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import i from "../ap-form/items/switch/index.vue.mjs";
|
|
6
|
+
import o from "../ap-form/items/date/index.vue.mjs";
|
|
7
|
+
import r from "../ap-form/items/date-range/index.vue.mjs";
|
|
8
|
+
import t from "../ap-form/items/number/index.vue.mjs";
|
|
9
|
+
import i from "../ap-form/items/radio/index.vue.mjs";
|
|
11
10
|
import f from "../ap-form/items/select/index.vue.mjs";
|
|
12
|
-
import a from "../ap-form/items/
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import { ApFieldText as
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
11
|
+
import a from "../ap-form/items/switch/index.vue.mjs";
|
|
12
|
+
import { ApFormItemText as m } from "../ap-form/items/text/index.mjs";
|
|
13
|
+
import e from "../ap-form/items/text-area/index.vue.mjs";
|
|
14
|
+
import _ from "../ap-form/items/checkbox/index.vue.mjs";
|
|
15
|
+
import s from "../ap-form/items/tree-select/index.vue.mjs";
|
|
16
|
+
import c from "../ap-field/date/index.vue.mjs";
|
|
17
|
+
import p from "../ap-field/date-range/index.vue.mjs";
|
|
18
|
+
import n from "../ap-field/number/index.vue.mjs";
|
|
19
|
+
import $ from "../ap-field/radio/index.vue.mjs";
|
|
20
|
+
import d from "../ap-field/select/index.vue.mjs";
|
|
21
|
+
import x from "../ap-field/switch/index.vue.mjs";
|
|
22
|
+
import { ApFieldText as l } from "../ap-field/text/index.mjs";
|
|
23
|
+
import b from "../ap-field/text-area/index.vue.mjs";
|
|
24
|
+
import h from "../ap-field/checkbox/index.vue.mjs";
|
|
25
|
+
import w from "../ap-action/group/index.vue.mjs";
|
|
26
|
+
import A from "./components/index/index.vue2.mjs";
|
|
27
|
+
import u from "./components/status/index.vue2.mjs";
|
|
28
|
+
import F from "../ap-field/text/password.vue.mjs";
|
|
29
|
+
import I from "../ap-field/tree-select/index.vue.mjs";
|
|
30
30
|
const Z = {
|
|
31
|
-
date:
|
|
32
|
-
dateRange:
|
|
33
|
-
number:
|
|
34
|
-
radio:
|
|
31
|
+
date: o,
|
|
32
|
+
dateRange: r,
|
|
33
|
+
number: t,
|
|
34
|
+
radio: i,
|
|
35
35
|
select: f,
|
|
36
|
-
switch:
|
|
36
|
+
switch: a,
|
|
37
37
|
text: m,
|
|
38
|
-
textArea:
|
|
39
|
-
checkbox:
|
|
38
|
+
textArea: e,
|
|
39
|
+
checkbox: _,
|
|
40
40
|
password: m.Password,
|
|
41
|
-
treeSelect:
|
|
41
|
+
treeSelect: s
|
|
42
42
|
}, mm = {
|
|
43
|
-
date:
|
|
44
|
-
dateRange:
|
|
45
|
-
number:
|
|
46
|
-
radio:
|
|
47
|
-
select:
|
|
48
|
-
switch:
|
|
49
|
-
text:
|
|
50
|
-
textArea:
|
|
51
|
-
checkbox:
|
|
52
|
-
action:
|
|
53
|
-
index:
|
|
54
|
-
status:
|
|
55
|
-
password:
|
|
56
|
-
treeSelect:
|
|
43
|
+
date: c,
|
|
44
|
+
dateRange: p,
|
|
45
|
+
number: n,
|
|
46
|
+
radio: $,
|
|
47
|
+
select: d,
|
|
48
|
+
switch: x,
|
|
49
|
+
text: l,
|
|
50
|
+
textArea: b,
|
|
51
|
+
checkbox: h,
|
|
52
|
+
action: w,
|
|
53
|
+
index: A,
|
|
54
|
+
status: u,
|
|
55
|
+
password: F,
|
|
56
|
+
treeSelect: I
|
|
57
57
|
}, om = [
|
|
58
58
|
"action",
|
|
59
59
|
"index"
|
|
@@ -4,18 +4,18 @@ export declare const useTableColumnState: (columnSetting: ApTableSettingType, pe
|
|
|
4
4
|
columnState: Ref<{
|
|
5
5
|
key: string | number;
|
|
6
6
|
show?: boolean | undefined;
|
|
7
|
-
fixed?: "left" | "right" | undefined;
|
|
7
|
+
fixed?: ("left" | "right") | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
label?: any;
|
|
10
|
-
children?:
|
|
10
|
+
children?: any[] | undefined;
|
|
11
11
|
order?: number | undefined;
|
|
12
12
|
}[], ApColumnState[] | {
|
|
13
13
|
key: string | number;
|
|
14
14
|
show?: boolean | undefined;
|
|
15
|
-
fixed?: "left" | "right" | undefined;
|
|
15
|
+
fixed?: ("left" | "right") | undefined;
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
label?: any;
|
|
18
|
-
children?:
|
|
18
|
+
children?: any[] | undefined;
|
|
19
19
|
order?: number | undefined;
|
|
20
20
|
}[]>;
|
|
21
21
|
selectAll: () => void;
|
|
@@ -2,7 +2,7 @@ import { ref as P, shallowRef as W, unref as i, computed as X, watchEffect as q
|
|
|
2
2
|
import { isDef as H } from "../../utils/index.mjs";
|
|
3
3
|
import L, { customCloneColumnStates as T, getColumnStateString as Q } from "../components/setting/utils.mjs";
|
|
4
4
|
import { useInjectApTable as U } from "../context.mjs";
|
|
5
|
-
import { isObject as N, mergeWith as F, isBoolean as V,
|
|
5
|
+
import { isObject as N, mergeWith as F, isBoolean as V, isString as Y, omit as Z, isNumber as B } from "lodash-unified";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
7
|
import { useToken as $ } from "@aplus-frontend/antdv/es/theme/internal";
|
|
8
8
|
import { getTableTitle as K } from "../utils.mjs";
|
|
@@ -46,7 +46,7 @@ const he = (r, o, n) => {
|
|
|
46
46
|
var y, A;
|
|
47
47
|
const b = (m == null ? void 0 : m[f.key]) || {}, g = {
|
|
48
48
|
key: f.key,
|
|
49
|
-
label:
|
|
49
|
+
label: Y(f.title) ? K(
|
|
50
50
|
f,
|
|
51
51
|
a("table-header", "title"),
|
|
52
52
|
void 0,
|
|
@@ -60,7 +60,7 @@ const he = (r, o, n) => {
|
|
|
60
60
|
G
|
|
61
61
|
),
|
|
62
62
|
disabled: !1,
|
|
63
|
-
...
|
|
63
|
+
...Z(b, ["children", "fixed"])
|
|
64
64
|
};
|
|
65
65
|
return g.children = (A = f.children) != null && A.length ? d(
|
|
66
66
|
f.children,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, ref as C, computed as n, unref as f, watch as L, nextTick as A, onMounted as F, onUnmounted as I,
|
|
1
|
+
import { defineComponent as G, ref as C, computed as n, unref as f, watch as L, nextTick as A, onMounted as F, onUnmounted as I, openBlock as a, createBlock as d, mergeProps as b, withCtx as g, renderSlot as U, createTextVNode as q, toDisplayString as w, createElementVNode as t, normalizeClass as k, normalizeStyle as _, createElementBlock as W, Fragment as H, renderList as J, createCommentVNode as K } from "vue";
|
|
2
2
|
import { Tooltip as O } from "@aplus-frontend/antdv";
|
|
3
3
|
import Q from "@ant-design/icons-vue";
|
|
4
4
|
import "./ap-tag.vue2.mjs";
|
|
@@ -74,8 +74,8 @@ const ve = /* @__PURE__ */ G({
|
|
|
74
74
|
s.value && $(s.value);
|
|
75
75
|
}), (e, l) => (a(), d(f(O), b({ trigger: "hover" }, M.value), {
|
|
76
76
|
title: g(() => [
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
U(e.$slots, "tooltip", { tags: e.list }, () => [
|
|
78
|
+
q(w(P.value), 1)
|
|
79
79
|
])
|
|
80
80
|
]),
|
|
81
81
|
default: g(() => [
|
|
@@ -83,12 +83,12 @@ const ve = /* @__PURE__ */ G({
|
|
|
83
83
|
ref_key: "container",
|
|
84
84
|
ref: s,
|
|
85
85
|
class: k(D.value),
|
|
86
|
-
style:
|
|
86
|
+
style: _({
|
|
87
87
|
pointerEvents: p.value ? "auto" : "none"
|
|
88
88
|
// opacity: isUpdating ? '0' : '1'
|
|
89
89
|
})
|
|
90
90
|
}, [
|
|
91
|
-
(a(!0),
|
|
91
|
+
(a(!0), W(H, null, J(e.list, (u, r) => (a(), d(le, b({ ref_for: !0 }, u, {
|
|
92
92
|
key: r,
|
|
93
93
|
style: {
|
|
94
94
|
display: r >= c.value ? "none" : "inline-block",
|
|
@@ -97,7 +97,7 @@ const ve = /* @__PURE__ */ G({
|
|
|
97
97
|
}), null, 16, ["style"]))), 128)),
|
|
98
98
|
p.value && i.value.symbol === "icon" ? (a(), d(f(Q), {
|
|
99
99
|
key: 0,
|
|
100
|
-
style:
|
|
100
|
+
style: _({
|
|
101
101
|
color: e.ellipsisColor || i.value.iconColor,
|
|
102
102
|
cursor: "pointer"
|
|
103
103
|
})
|
|
@@ -158,11 +158,11 @@ const ve = /* @__PURE__ */ G({
|
|
|
158
158
|
], -1)
|
|
159
159
|
])),
|
|
160
160
|
_: 1
|
|
161
|
-
}, 8, ["style"])) : p.value && i.value.symbol === "text" ? (a(),
|
|
161
|
+
}, 8, ["style"])) : p.value && i.value.symbol === "text" ? (a(), W("span", {
|
|
162
162
|
key: 1,
|
|
163
163
|
class: k(N.value),
|
|
164
164
|
style: { cursor: "pointer" }
|
|
165
|
-
},
|
|
165
|
+
}, w(i.value.text), 3)) : K("", !0)
|
|
166
166
|
], 6)
|
|
167
167
|
]),
|
|
168
168
|
_: 3
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as S, computed as n, openBlock as $, createElementBlock as b, normalizeStyle as w, normalizeClass as i, createElementVNode as B, toDisplayString as _ } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { useNamespace as _ } from "../config-provider/hooks/use-namespace.mjs";
|
|
7
|
-
const H = /* @__PURE__ */ b({
|
|
3
|
+
import { useGlobalConfig as z } from "../config-provider/hooks/use-global-config.mjs";
|
|
4
|
+
import { useNamespace as v } from "../config-provider/hooks/use-namespace.mjs";
|
|
5
|
+
const I = ["title"], N = /* @__PURE__ */ S({
|
|
8
6
|
name: "ApTag",
|
|
9
7
|
__name: "ap-tag",
|
|
10
8
|
props: {
|
|
@@ -16,49 +14,35 @@ const H = /* @__PURE__ */ b({
|
|
|
16
14
|
fixedWidth: { type: Boolean, default: !1 }
|
|
17
15
|
},
|
|
18
16
|
setup(o) {
|
|
19
|
-
const
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
return `#${
|
|
17
|
+
const e = o, l = z("uiMode"), { b: r, bm: a } = v("tag");
|
|
18
|
+
function p(t, s) {
|
|
19
|
+
t.length === 4 && (t = `#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`);
|
|
20
|
+
const m = parseInt(t.slice(1, 3), 16), f = parseInt(t.slice(3, 5), 16), g = parseInt(t.slice(5, 7), 16), y = Math.round(s * 255).toString(16).padStart(2, "0");
|
|
21
|
+
return `#${m.toString(16).padStart(2, "0")}${f.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${y}`;
|
|
24
22
|
}
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
"--tag-main-color":
|
|
28
|
-
"--tag-main-color-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
()
|
|
41
|
-
const e = t.type === "border" ? 2 : 0;
|
|
42
|
-
let a = Math.ceil(
|
|
43
|
-
M(t.size === "large" ? 14 : 12, t.text)
|
|
44
|
-
);
|
|
45
|
-
t.size === "large" || t.size === "middle" ? a += 12 : a += 8, p.value = a + e;
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
immediate: !0
|
|
49
|
-
}
|
|
50
|
-
), (e, a) => (z(), W("span", {
|
|
51
|
-
style: v(d.value),
|
|
52
|
-
class: l(u.value)
|
|
23
|
+
const c = n(() => ({
|
|
24
|
+
"--tag-main-color": e.color,
|
|
25
|
+
"--tag-main-color-opacity": p(e.color, 0.06),
|
|
26
|
+
"--tag-main-color-background": p(e.color, 0.15)
|
|
27
|
+
})), d = n(() => [
|
|
28
|
+
r("wrapper"),
|
|
29
|
+
r(`wrapper-${e.type}`),
|
|
30
|
+
a("wrapper", e.size)
|
|
31
|
+
].filter(Boolean)), u = n(() => {
|
|
32
|
+
const t = [r("inner-wrapper"), a("inner-wrapper", e.size)];
|
|
33
|
+
return e.disabled && (l.value === "aplus" ? t.push(a("inner-wrapper", "disabled")) : t.push(a("inner-wrapper", "disabled-admin"))), t;
|
|
34
|
+
});
|
|
35
|
+
return (t, s) => ($(), b("span", {
|
|
36
|
+
style: w(c.value),
|
|
37
|
+
title: t.text,
|
|
38
|
+
class: i(d.value)
|
|
53
39
|
}, [
|
|
54
|
-
B(
|
|
55
|
-
class:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}, null, 8, ["class", "ellipsis", "content"])
|
|
59
|
-
], 6));
|
|
40
|
+
B("span", {
|
|
41
|
+
class: i(u.value)
|
|
42
|
+
}, _(t.text), 3)
|
|
43
|
+
], 14, I));
|
|
60
44
|
}
|
|
61
45
|
});
|
|
62
46
|
export {
|
|
63
|
-
|
|
47
|
+
N as default
|
|
64
48
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, ref as g, computed as v, provide as t,
|
|
1
|
+
import { defineComponent as A, ref as g, computed as v, provide as t, openBlock as y, createElementBlock as R, normalizeClass as U, unref as $, createBlock as k, resolveDynamicComponent as T, mergeProps as B, createSlots as L, renderList as q, withCtx as P, renderSlot as V, normalizeProps as w, guardReactiveProps as D } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import "./components/SingleFile.vue.mjs";
|
|
4
4
|
import "./components/MultipleFile.vue.mjs";
|
|
@@ -8,9 +8,9 @@ import { injectLocaleToOss as I } from "./hooks/useOss.mjs";
|
|
|
8
8
|
import { Form as H } from "@aplus-frontend/antdv";
|
|
9
9
|
import { useLocale as J } from "../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import { useNamespace as K } from "../config-provider/hooks/use-namespace.mjs";
|
|
11
|
-
import Q from "./components/
|
|
11
|
+
import Q from "./components/SingleFile.vue2.mjs";
|
|
12
12
|
import W from "./components/MultipleFile.vue2.mjs";
|
|
13
|
-
import X from "./components/
|
|
13
|
+
import X from "./components/Picture.vue2.mjs";
|
|
14
14
|
import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.mjs";
|
|
15
15
|
const pe = /* @__PURE__ */ A({
|
|
16
16
|
name: "AplusFileUpload",
|
|
@@ -91,9 +91,9 @@ const pe = /* @__PURE__ */ A({
|
|
|
91
91
|
const { t: u, lang: F } = J();
|
|
92
92
|
G(u), I(u, F);
|
|
93
93
|
const { b: M } = K("ap-upload"), n = g(null), e = S, N = x, _ = {
|
|
94
|
-
singleFile:
|
|
94
|
+
singleFile: Q,
|
|
95
95
|
multipleFile: W,
|
|
96
|
-
picture:
|
|
96
|
+
picture: X
|
|
97
97
|
}, s = H.useInjectFormItemContext(), E = v({
|
|
98
98
|
get() {
|
|
99
99
|
return e.value;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UploadFile, UploadChangeParam } from '@aplus-frontend/antdv';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
|
-
import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
|
|
3
|
+
import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadChangeParam, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
|
|
4
4
|
import { UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
|
|
5
5
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
declare function setValue(val: (string | Record<string, any>)[]): void;
|
|
@@ -189,9 +189,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
189
189
|
multiple: boolean;
|
|
190
190
|
disabled: boolean;
|
|
191
191
|
method: "post" | "POST" | "PUT" | "PATCH" | "put" | "patch";
|
|
192
|
+
remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
|
|
192
193
|
locale: UploadLocale;
|
|
193
194
|
action: string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>);
|
|
194
|
-
remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
|
|
195
195
|
capture: boolean | "user" | "environment";
|
|
196
196
|
iconRender: (opt: {
|
|
197
197
|
file: UploadFile<any>;
|
|
@@ -415,9 +415,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
415
415
|
multiple: boolean;
|
|
416
416
|
disabled: boolean;
|
|
417
417
|
method: "post" | "POST" | "PUT" | "PATCH" | "put" | "patch";
|
|
418
|
+
remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
|
|
418
419
|
locale: UploadLocale;
|
|
419
420
|
action: string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>);
|
|
420
|
-
remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
|
|
421
421
|
capture: boolean | "user" | "environment";
|
|
422
422
|
iconRender: (opt: {
|
|
423
423
|
file: UploadFile<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, inject as s, ref as H, watch as J, nextTick as K,
|
|
1
|
+
import { defineComponent as G, inject as s, ref as H, watch as J, nextTick as K, openBlock as h, createElementBlock as C, normalizeClass as Q, unref as n, createVNode as U, withCtx as b, createElementVNode as S, createTextVNode as X, toDisplayString as L, withModifiers as Y, createBlock as Z, resolveDynamicComponent as ee, createCommentVNode as te } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { getPath as oe, getName as se, getReturnData as M } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as ae, getOssInstance as ne } from "../hooks/useOss.mjs";
|
|
@@ -201,8 +201,8 @@ const de = { class: "multiple-file-context" }, fe = { key: 0 }, ge = { key: 1 },
|
|
|
201
201
|
}, ["stop"]))
|
|
202
202
|
}, [
|
|
203
203
|
typeof n(f) == "string" ? (h(), C("div", fe, L(n(f) || `${n(r)("ap.apUpload.supportExtension")}:${n(ce)(n(y))}`), 1)) : n(f) ? (h(), C("div", ge, [
|
|
204
|
-
(h(), ee(
|
|
205
|
-
])) :
|
|
204
|
+
(h(), Z(ee(n(f))))
|
|
205
|
+
])) : te("", !0)
|
|
206
206
|
])
|
|
207
207
|
])
|
|
208
208
|
]),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Oss } from '../hooks/useOss';
|
|
2
|
-
import { actionResponse } from '@aplus-frontend/oss';
|
|
3
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
declare function setValue(val?: (string | Record<string, any>)[]): void;
|
|
5
4
|
interface UploadFile extends File {
|
|
@@ -18,7 +17,13 @@ declare function __VLS_template(): {
|
|
|
18
17
|
pictureContext?(_: {
|
|
19
18
|
fileList: {
|
|
20
19
|
oss: {
|
|
21
|
-
pauseUpload: (() => Promise<
|
|
20
|
+
pauseUpload: (() => Promise<{
|
|
21
|
+
status: number;
|
|
22
|
+
previewUrl?: string;
|
|
23
|
+
saveUrl?: string;
|
|
24
|
+
originalFileName?: string;
|
|
25
|
+
message: string;
|
|
26
|
+
}>) | undefined;
|
|
22
27
|
};
|
|
23
28
|
}[];
|
|
24
29
|
remove: typeof handleRemove;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, inject as c, ref as $, watch as Z, nextTick as F,
|
|
1
|
+
import { defineComponent as Y, inject as c, ref as $, watch as Z, nextTick as F, openBlock as g, createElementBlock as h, normalizeClass as ee, unref as i, createElementVNode as d, renderSlot as te, Fragment as ne, renderList as ae, withDirectives as se, createVNode as k, createCommentVNode as I, vShow as oe, toDisplayString as C } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { getPath as ie, getName as re, getReturnData as M } from "../utils/returnData.mjs";
|
|
4
4
|
import { CloseOutlined as ce, PlusOutlined as ue } from "@ant-design/icons-vue";
|
|
@@ -191,7 +191,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
191
191
|
);
|
|
192
192
|
return o.value.splice(a, 1), Promise.resolve(!0);
|
|
193
193
|
}
|
|
194
|
-
return (e, a) => (
|
|
194
|
+
return (e, a) => (g(), h("div", {
|
|
195
195
|
class: ee({
|
|
196
196
|
[i(S)()]: !0,
|
|
197
197
|
[i(S)("admin")]: i(B) === "admin"
|
|
@@ -218,7 +218,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
218
218
|
}),
|
|
219
219
|
remove: R
|
|
220
220
|
}, () => [
|
|
221
|
-
(
|
|
221
|
+
(g(!0), h(ne, null, ae(i(o), (t) => (g(), h("div", {
|
|
222
222
|
key: t.uid,
|
|
223
223
|
class: "picture-item"
|
|
224
224
|
}, [
|
|
@@ -234,7 +234,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
234
234
|
}, [
|
|
235
235
|
k(i(ce))
|
|
236
236
|
], 8, Ue),
|
|
237
|
-
t.status === "uploading" ? (
|
|
237
|
+
t.status === "uploading" ? (g(), h("div", ke, [
|
|
238
238
|
k(i(me), {
|
|
239
239
|
percent: t.percent,
|
|
240
240
|
"stroke-color": "#ffffff",
|
|
@@ -249,7 +249,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
249
249
|
])
|
|
250
250
|
]))), 128))
|
|
251
251
|
]),
|
|
252
|
-
i(p) === void 0 || i(o).length < i(p) ? (
|
|
252
|
+
i(p) === void 0 || i(o).length < i(p) ? (g(), h("div", {
|
|
253
253
|
key: 0,
|
|
254
254
|
class: "picture-upload",
|
|
255
255
|
onClick: G
|
|
@@ -259,7 +259,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
259
259
|
])) : I("", !0)
|
|
260
260
|
]),
|
|
261
261
|
d("div", Ce, [
|
|
262
|
-
i(E) ? (
|
|
262
|
+
i(E) ? (g(), h("div", Se, C(i(E)), 1)) : (g(), h("div", Ee, C(`${i(l)("ap.apUpload.supportExtension")}:${i(de)(i(w))},${i(l)(
|
|
263
263
|
"ap.apUpload.maxUploadPictureSize",
|
|
264
264
|
{ maxSize: i(U) }
|
|
265
265
|
)}`), 1))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as oe, inject as o, ref as _, watch as le, computed as se,
|
|
1
|
+
import { defineComponent as oe, inject as o, ref as _, watch as le, computed as se, openBlock as k, createElementBlock as z, normalizeClass as re, unref as a, createElementVNode as i, toDisplayString as A, createCommentVNode as b, normalizeStyle as ie, createBlock as ce, withModifiers as ue, createVNode as pe } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { getName as ve, getReturnData as I } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as de, useOssInit as fe } from "../hooks/useOss.mjs";
|
|
@@ -184,13 +184,13 @@ const we = ["accept"], De = {
|
|
|
184
184
|
class: "state-un-icon",
|
|
185
185
|
src: a(j)
|
|
186
186
|
}, null, 8, Ue),
|
|
187
|
-
i("div", Fe,
|
|
188
|
-
i("div", Ce,
|
|
187
|
+
i("div", Fe, A(a(J)), 1),
|
|
188
|
+
i("div", Ce, A(typeof a(F) == "string" && a(F).length > 0 ? a(F) : `${a(r)("ap.apUpload.supportExtension")}:${a(ge)(
|
|
189
189
|
a(D)
|
|
190
190
|
)},${a(r)("ap.apUpload.maxWarnUploadFileSize", {
|
|
191
191
|
maxSize: a(U)
|
|
192
192
|
})}`), 1)
|
|
193
|
-
])) :
|
|
193
|
+
])) : b("", !0),
|
|
194
194
|
[2, 3].includes(s.value) ? (k(), z("div", Ee, [
|
|
195
195
|
i("div", Se, [
|
|
196
196
|
i("img", { src: a(j) }, null, 8, Ne)
|
|
@@ -201,9 +201,9 @@ const we = ["accept"], De = {
|
|
|
201
201
|
style: ie({
|
|
202
202
|
color: P.value ? "#0070FF" : "#182948"
|
|
203
203
|
})
|
|
204
|
-
},
|
|
204
|
+
}, A((c = n.value) == null ? void 0 : c.name), 5),
|
|
205
205
|
i("div", ze, [
|
|
206
|
-
P.value ?
|
|
206
|
+
P.value ? b("", !0) : (k(), ce(a(he), {
|
|
207
207
|
key: 0,
|
|
208
208
|
percent: m.value,
|
|
209
209
|
size: 4,
|
|
@@ -219,7 +219,7 @@ const we = ["accept"], De = {
|
|
|
219
219
|
}, [
|
|
220
220
|
pe(a(_e))
|
|
221
221
|
])
|
|
222
|
-
])) :
|
|
222
|
+
])) : b("", !0)
|
|
223
223
|
], 34);
|
|
224
224
|
};
|
|
225
225
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, computed as d, ref as V,
|
|
1
|
+
import { defineComponent as T, computed as d, ref as V, openBlock as s, createElementBlock as u, mergeProps as S, unref as t, renderSlot as p, createVNode as g, withCtx as v, createElementVNode as c, normalizeClass as n, createBlock as C, createCommentVNode as h, Fragment as j, renderList as D, createSlots as E, createTextVNode as U, toDisplayString as z } from "vue";
|
|
2
2
|
import G from "./icons/file-icon.vue.mjs";
|
|
3
3
|
import { Tooltip as P, TypographyText as q } from "@aplus-frontend/antdv";
|
|
4
4
|
import { IconVariantDownload as H } from "@aplus-frontend/icon";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { openBlock as t, createElementBlock as e, createStaticVNode as r } from "vue";
|
|
2
2
|
import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
3
|
const i = {}, o = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8,7 +8,7 @@ const i = {}, o = {
|
|
|
8
8
|
viewBox: "0 0 16 16"
|
|
9
9
|
};
|
|
10
10
|
function c(n, Q) {
|
|
11
|
-
return
|
|
11
|
+
return t(), e("svg", o, Q[0] || (Q[0] = [
|
|
12
12
|
r('<defs><clipPath id="master_svg0_183_82058/183_76208"><rect x="0" y="0" width="16" height="16" rx="0"></rect></clipPath></defs><g clip-path="url(#master_svg0_183_82058/183_76208)"><g><rect x="0" y="0" width="16" height="16" rx="0" fill="#FFFFFF" fill-opacity="0.009999999776482582" style="mix-blend-mode:passthrough;"></rect></g><g><path d="M6.4678965625,11.32002357421875L11.4176265625,6.37025357421875Q11.4879565625,6.29993357421875,11.5260165625,6.20804357421875Q11.5640765625,6.11616357421875,11.5640765625,6.0167035742187505Q11.5640765625,5.967463574218749,11.5544665625,5.91916357421875Q11.5448565625,5.87086357421875,11.5260165625,5.82536357421875Q11.5071665625,5.77986357421875,11.4798065625,5.7389235742187505Q11.4524465625,5.69797357421875,11.4176265625,5.66315357421875Q11.3828065625,5.62833357421875,11.3418565625,5.6009735742187505Q11.3009165625,5.57361357421875,11.2554165625,5.55476357421875Q11.2099165625,5.535923574218749,11.1616165625,5.52631357421875Q11.1133165625,5.5167035742187505,11.0640765625,5.5167035742187505Q10.9646165625,5.5167035742187505,10.8727365625,5.55476357421875Q10.7808465625,5.59282357421875,10.7105265625,5.66315357421875L10.7102665625,5.66341357421875L5.7607865625,10.612923574218751Q5.4072265625,10.96648357421875,5.0536665625,10.612923574218751Q4.7001265624999995,10.25935357421875,5.0536765625,9.905773574218749L10.9462265625,4.01326057421875Q11.3855665625,3.57391357421875,12.0068765625,3.57391357421875Q12.6282265625,3.57391357421875,13.0675265625,4.01326157421875Q13.5069265625,4.45258357421875,13.5069265625,5.07391357421875Q13.5069265625,5.69523357421875,13.0675265625,6.13459357421875L7.1749865625,12.02712357421875Q6.4427665625,12.75934357421875,5.4072265625,12.75934357421875Q4.3716865625,12.75934357421875,3.6394565625,12.02712357421875Q2.9072265625,11.29489357421875,2.9072265625,10.25935357421875Q2.9072265625,9.22382357421875,3.6394565625,8.49159357421875L8.5891965625,3.5418455742187502Q8.6595265625,3.47151957421875,8.6975865625,3.37963357421875Q8.735646562500001,3.28774857421875,8.735646562500001,3.18829257421875Q8.735646562500001,3.13904677421875,8.7260365625,3.09074737421875Q8.7164265625,3.04244787421875,8.6975865625,2.99695077421875Q8.6787365625,2.95145357421875,8.651376562500001,2.91050757421875Q8.6240165625,2.86956157421875,8.5891965625,2.83473957421875Q8.5543765625,2.79991757421875,8.513426562500001,2.77255757421875Q8.472476562499999,2.74519857421875,8.4269865625,2.72635257421875Q8.381486562500001,2.70750757421875,8.3331865625,2.69789957421875Q8.284886562499999,2.68829257421875,8.235646562500001,2.68829257421875Q8.1361865625,2.68829257421875,8.0442965625,2.72635257421875Q7.9524165625,2.76441257421875,7.8820865625,2.83473957421875L7.8816965625,2.83512857421875L2.9323545625,7.78448357421875Q1.9072265625,8.80960357421875,1.9072265625,10.25935357421875Q1.9072265625,11.70910357421875,2.9323525625,12.73422357421875Q3.9574765625,13.75931357421875,5.4072265625,13.75931357421875Q6.8569765625,13.75931357421875,7.8820965625,12.73422357421875L13.7746265625,6.8416835742187505Q14.5069265625,6.10944357421875,14.5069265625,5.07391357421875Q14.5069265625,4.03837257421875,13.7746265625,3.30615057421875Q13.0424265625,2.57391357421875,12.0068765625,2.57391357421875Q10.9713365625,2.57391357421875,10.239126562500001,3.30615157421875L4.3465365625,9.19870357421875Q3.9072365625,9.638043574218749,3.9072365625,10.25935357421875Q3.9072365625,10.880663574218751,4.3465565625,11.32002357421875Q4.7859065625,11.75937357421875,5.4072265625,11.75937357421875Q6.0285465625,11.75937357421875,6.4678965625,11.32002357421875Z" fill-rule="evenodd" fill="currentColor" fill-opacity="1"></path></g></g>', 2)
|
|
13
13
|
]));
|
|
14
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, useSlots as D, computed as E, ref as N, watch as K,
|
|
1
|
+
import { defineComponent as x, useSlots as D, computed as E, ref as N, watch as K, openBlock as R, createElementBlock as V, normalizeClass as f, unref as t, withDirectives as T, createElementVNode as c, renderSlot as m, vShow as z, createTextVNode as v, toDisplayString as n, createVNode as O, withCtx as j, createCommentVNode as q } from "vue";
|
|
2
2
|
import { Button as F } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as G } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -33,7 +33,7 @@ const J = {
|
|
|
33
33
|
{
|
|
34
34
|
immediate: !0
|
|
35
35
|
}
|
|
36
|
-
), (e, l) => (
|
|
36
|
+
), (e, l) => (R(), V("div", {
|
|
37
37
|
class: f([t(r)()])
|
|
38
38
|
}, [
|
|
39
39
|
T(c("div", {
|
|
@@ -49,24 +49,24 @@ const J = {
|
|
|
49
49
|
class: f(t(r)("body"))
|
|
50
50
|
}, [
|
|
51
51
|
m(e.$slots, "prefix"),
|
|
52
|
-
o.showSelected ? (
|
|
52
|
+
o.showSelected ? (R(), V("div", J, [
|
|
53
53
|
c("div", M, [
|
|
54
54
|
v(n(t(d)("ap.apBatchAction.selected")) + " ", 1),
|
|
55
55
|
c("span", null, n(b.value), 1),
|
|
56
56
|
v(" " + n(t(d)("ap.apBatchAction.piecesOfData")), 1)
|
|
57
57
|
]),
|
|
58
58
|
c("div", P, [
|
|
59
|
-
|
|
59
|
+
O(t(F), {
|
|
60
60
|
type: "link",
|
|
61
61
|
onClick: l[0] || (l[0] = (h) => o.clearAll && o.clearAll())
|
|
62
62
|
}, {
|
|
63
|
-
default:
|
|
63
|
+
default: j(() => [
|
|
64
64
|
v(n(t(d)("ap.apBatchAction.empty")), 1)
|
|
65
65
|
]),
|
|
66
66
|
_: 1
|
|
67
67
|
})
|
|
68
68
|
])
|
|
69
|
-
])) :
|
|
69
|
+
])) : q("", !0),
|
|
70
70
|
m(e.$slots, "suffix")
|
|
71
71
|
], 2)
|
|
72
72
|
], 2));
|