@aplus-frontend/ui 0.6.0-beta.10 → 0.6.0-beta.12
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 +296 -289
- 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.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +5 -5
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +36 -36
- 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.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- 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.mjs +3 -3
- package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +2 -1
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/dependency/index.vue.mjs +29 -24
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +13 -13
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- 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.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 +6 -6
- 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.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- 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.vue2.mjs +7 -7
- 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 +6 -9
- 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 +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +2 -2
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +5 -5
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- 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 +27 -27
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- 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 +42 -45
- 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 +5 -5
- 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-table/utils.d.ts +5 -5
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- 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 +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-copy/ApCopy.d.ts +52 -0
- package/es/src/business/ap-copy/ApCopy.mjs +79 -0
- package/es/src/business/ap-copy/constans.d.ts +24 -0
- package/es/src/business/ap-copy/constans.mjs +25 -0
- package/es/src/business/ap-copy/index.d.ts +102 -0
- package/es/src/business/ap-copy/index.mjs +7 -0
- package/es/src/business/ap-copy/interface.d.ts +8 -0
- package/es/src/business/ap-copy/interface.mjs +1 -0
- package/es/src/business/ap-copy/style/css.d.ts +0 -0
- package/es/src/business/ap-copy/style/css.js +1 -0
- package/es/src/business/ap-copy/style/index.d.ts +0 -0
- package/es/src/business/ap-copy/style/index.js +1 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- 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-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/es/src/business/ap-product-info/ApProductInfo.mjs +53 -53
- package/es/src/business/ap-product-info/constans.d.ts +4 -0
- package/es/src/business/ap-product-info/constans.mjs +4 -0
- package/es/src/business/ap-product-info/index.d.ts +15 -0
- package/es/src/business/ap-product-info/interface.d.ts +1 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +17 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue.mjs +4 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +60 -0
- package/es/src/business/ap-radio-group/index.d.ts +55 -0
- package/es/src/business/ap-radio-group/index.mjs +8 -0
- package/es/src/business/ap-radio-group/interface.d.ts +11 -0
- package/es/src/business/ap-radio-group/interface.mjs +1 -0
- package/es/src/business/ap-radio-group/style/css.d.ts +0 -0
- package/es/src/business/ap-radio-group/style/css.js +1 -0
- package/es/src/business/ap-radio-group/style/index.d.ts +0 -0
- package/es/src/business/ap-radio-group/style/index.js +1 -0
- 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/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 +3 -2
- 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 +3 -2
- 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.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/business/hooks/usePageListApGrid.mjs +34 -26
- package/es/src/business/index.d.ts +2 -0
- package/es/src/business/index.mjs +24 -20
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/components.d.ts +1 -0
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/index.mjs +180 -176
- package/es/src/locale/lang/en.mjs +4 -0
- package/es/src/locale/lang/zh-cn.mjs +4 -0
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/path-map.mjs +3 -1
- 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 +4 -4
- package/es/src/version.d.ts +2 -0
- package/es/src/version.mjs +4 -0
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/index.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
- package/lib/src/ap-form/dependency/index.vue.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/search-form/index.vue.d.ts +6 -9
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- 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/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +5 -5
- 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-table/utils.d.ts +5 -5
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-copy/ApCopy.d.ts +52 -0
- package/lib/src/business/ap-copy/ApCopy.js +1 -0
- package/lib/src/business/ap-copy/constans.d.ts +24 -0
- package/lib/src/business/ap-copy/constans.js +1 -0
- package/lib/src/business/ap-copy/index.d.ts +102 -0
- package/lib/src/business/ap-copy/index.js +1 -0
- package/lib/src/business/ap-copy/interface.d.ts +8 -0
- package/lib/src/business/ap-copy/interface.js +1 -0
- package/lib/src/business/ap-copy/style/css.cjs +1 -0
- package/lib/src/business/ap-copy/style/css.d.ts +0 -0
- package/lib/src/business/ap-copy/style/index.cjs +1 -0
- package/lib/src/business/ap-copy/style/index.d.ts +0 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-product-info/constans.d.ts +4 -0
- package/lib/src/business/ap-product-info/constans.js +1 -1
- package/lib/src/business/ap-product-info/index.d.ts +15 -0
- package/lib/src/business/ap-product-info/interface.d.ts +1 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +17 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.js +1 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -0
- package/lib/src/business/ap-radio-group/index.d.ts +55 -0
- package/lib/src/business/ap-radio-group/index.js +1 -0
- package/lib/src/business/ap-radio-group/interface.d.ts +11 -0
- package/lib/src/business/ap-radio-group/interface.js +1 -0
- package/lib/src/business/ap-radio-group/style/css.cjs +1 -0
- package/lib/src/business/ap-radio-group/style/css.d.ts +0 -0
- package/lib/src/business/ap-radio-group/style/index.cjs +1 -0
- package/lib/src/business/ap-radio-group/style/index.d.ts +0 -0
- 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-view/components/main-button-content.vue.d.ts +3 -2
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/business/index.d.ts +2 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/components.d.ts +1 -0
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- 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/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +2 -0
- package/lib/src/version.js +1 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
- package/package.json +5 -6
- package/theme/antd-global-overwrite/admin/alert.css +6 -19
- package/theme/antd-global-overwrite/admin/alert.less +25 -36
- package/theme/antd-global-overwrite/admin/button.css +13 -13
- package/theme/antd-global-overwrite/admin/button.less +24 -24
- package/theme/antd-global-overwrite/admin/field.css +27 -0
- package/theme/antd-global-overwrite/admin/field.less +23 -0
- package/theme/antd-global-overwrite/admin/index.css +80 -454
- package/theme/antd-global-overwrite/admin/index.less +1 -3
- package/theme/antd-global-overwrite/admin/message.css +2 -9
- package/theme/antd-global-overwrite/admin/message.less +2 -10
- package/theme/antd-global-overwrite/admin/modal.css +12 -32
- package/theme/antd-global-overwrite/admin/modal.less +10 -36
- package/theme/antd-global-overwrite/admin/table.css +20 -75
- package/theme/antd-global-overwrite/admin/table.less +3 -7
- package/theme/antd-global-overwrite/aplus/alert.css +9 -19
- package/theme/antd-global-overwrite/aplus/alert.less +27 -34
- package/theme/antd-global-overwrite/aplus/button.css +20 -20
- package/theme/antd-global-overwrite/aplus/button.less +24 -24
- package/theme/antd-global-overwrite/aplus/field.css +21 -0
- package/theme/antd-global-overwrite/aplus/field.less +16 -0
- package/theme/antd-global-overwrite/aplus/index.css +81 -511
- package/theme/antd-global-overwrite/aplus/index.less +0 -3
- package/theme/antd-global-overwrite/aplus/message.css +2 -9
- package/theme/antd-global-overwrite/aplus/message.less +2 -10
- package/theme/antd-global-overwrite/aplus/modal.css +13 -40
- package/theme/antd-global-overwrite/aplus/modal.less +12 -46
- package/theme/antd-global-overwrite/aplus/table.css +18 -66
- package/theme/antd-global-overwrite/aplus/table.less +3 -6
- package/theme/ap-action/item-dropdown.css +2 -2
- package/theme/ap-action/item.css +7 -7
- package/theme/ap-action/item.less +5 -5
- package/theme/ap-appendix/ap-appendix.css +8 -8
- package/theme/ap-appendix/ap-appendix.less +6 -6
- package/theme/ap-attachment/ap-attachment.css +2 -2
- package/theme/ap-batch-action/ap-batch-action.css +5 -5
- package/theme/ap-batch-action/ap-batch-action.less +3 -3
- package/theme/ap-button/ap-button.css +2 -2
- package/theme/ap-card/ap-card.css +2 -2
- package/theme/ap-copy/ap-copy.css +94 -0
- package/theme/ap-copy/ap-copy.less +59 -0
- package/theme/ap-descriptions/ap-descriptions.css +6 -6
- package/theme/ap-descriptions/ap-descriptions.less +4 -4
- package/theme/ap-download/ap-download.css +2 -2
- package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
- package/theme/ap-field/checkbox.css +2 -2
- package/theme/ap-field/index.css +2 -2
- package/theme/ap-field/number.css +2 -2
- package/theme/ap-field/radio.css +2 -2
- package/theme/ap-field/text-area.css +2 -2
- package/theme/ap-form/ap-form-item-group.css +2 -2
- package/theme/ap-form/ap-form-item.css +7 -7
- package/theme/ap-form/ap-form-item.less +5 -5
- package/theme/ap-form/drawer-form.css +2 -2
- package/theme/ap-form/index.css +14 -14
- package/theme/ap-form/item-text-group.css +2 -2
- package/theme/ap-form/item-text.css +2 -2
- package/theme/ap-form/modal-form.css +2 -2
- package/theme/ap-form/search-form-sorter.css +6 -6
- package/theme/ap-form/search-form-sorter.less +4 -4
- package/theme/ap-form/search-form.css +14 -14
- package/theme/ap-form/search-form.less +3 -3
- package/theme/ap-grid/editable.css +2 -2
- package/theme/ap-grid/index.css +32 -24
- package/theme/ap-grid/index.less +14 -3
- package/theme/ap-group-search/ap-extension-select.css +2 -2
- package/theme/ap-group-search/ap-group-search.css +2 -2
- package/theme/ap-group-search/ap-popover-select.css +2 -2
- package/theme/ap-image/ap-image.css +2 -2
- package/theme/ap-input-radio/ap-input-radio.css +2 -2
- package/theme/ap-label/ap-label.css +2 -2
- package/theme/ap-ladder/ap-ladder.css +2 -2
- package/theme/ap-layout/ap-info-layout.css +2 -2
- package/theme/ap-list/index.css +2 -2
- package/theme/ap-product-info/ap-product-info.css +22 -32
- package/theme/ap-product-info/ap-product-info.less +28 -42
- package/theme/ap-radio-group/ap-radio-group.css +64 -0
- package/theme/ap-radio-group/ap-radio-group.less +23 -0
- package/theme/ap-select-layout/ap-select-layout.css +2 -2
- package/theme/ap-size-input/ap-size-input.css +2 -2
- package/theme/ap-status/ap-status.css +2 -2
- package/theme/ap-summary/index.css +2 -2
- package/theme/ap-table/ap-table-index.css +2 -2
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +3 -3
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +48 -37
- package/theme/ap-table/ap-table.less +14 -7
- package/theme/ap-table/setting/index.css +14 -9
- package/theme/ap-table/setting/modal.css +7 -3
- package/theme/ap-table/setting/modal.less +5 -1
- package/theme/ap-table/setting/select-group.css +2 -2
- package/theme/ap-table/setting/sortable-item-meta.css +4 -4
- package/theme/ap-table/setting/sortable-item-meta.less +2 -2
- package/theme/ap-table/setting/sortable-item.css +2 -2
- package/theme/ap-table/setting/sorter.css +7 -6
- package/theme/ap-table/setting/sorter.less +4 -4
- package/theme/ap-table-modal/index.css +48 -37
- package/theme/ap-tag/ap-tag-group.css +2 -2
- package/theme/ap-tag/ap-tag.css +3 -3
- package/theme/ap-tag/ap-tag.less +1 -1
- package/theme/ap-title/ap-title.css +2 -2
- package/theme/ap-upload/index.css +2 -2
- package/theme/ap-upload/multiple-file.css +2 -2
- package/theme/ap-upload/picture.css +2 -2
- package/theme/ap-upload/single-file.css +2 -2
- package/theme/ap-upload/upload.css +2 -2
- package/theme/ap-upload-single/index.css +6 -6
- package/theme/ap-upload-single/index.less +4 -4
- package/theme/ap-view/ap-view.css +9 -9
- package/theme/ap-view/ap-view.less +7 -7
- package/theme/batch-input-group/index.css +4 -4
- package/theme/batch-input-group/popover-input.css +4 -4
- package/theme/batch-input-group/popover-input.less +2 -2
- package/theme/check-card/index.css +7 -7
- package/theme/check-card/index.less +5 -5
- package/theme/editable-table/index.css +19 -19
- package/theme/full-screen/index.css +2 -2
- package/theme/index.css +224 -195
- package/theme/index.less +2 -0
- package/theme/mask/index.css +2 -2
- package/theme/mixins/mixins.css +2 -2
- package/theme/mixins/mixins.less +2 -2
- package/theme/scroll-bar/index.css +2 -2
- package/theme/scroll-view/index.css +2 -2
- package/theme/splitter/index.css +5 -5
- package/theme/splitter/index.less +1 -1
- package/theme/text/group.css +2 -2
- package/theme/text/index.css +6 -6
- package/theme/text/index.less +4 -4
- package/theme/ui-mode.css +38 -84
- package/theme/ui-mode.less +76 -84
- package/theme/work-order-modal/index.css +2 -2
|
@@ -17,6 +17,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
17
17
|
type: PropType< ApProductInfoValue[]>;
|
|
18
18
|
default: () => never[];
|
|
19
19
|
};
|
|
20
|
+
disableCopy: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
20
24
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
21
25
|
title: {
|
|
22
26
|
type: StringConstructor;
|
|
@@ -34,10 +38,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
34
38
|
type: PropType< ApProductInfoValue[]>;
|
|
35
39
|
default: () => never[];
|
|
36
40
|
};
|
|
41
|
+
disableCopy: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
37
45
|
}>> & Readonly<{}>, {
|
|
38
46
|
values: ApProductInfoValue[];
|
|
39
47
|
title: string;
|
|
40
48
|
preview: boolean;
|
|
49
|
+
disableCopy: boolean;
|
|
41
50
|
imgSrc: string;
|
|
42
51
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
43
52
|
export default _default;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ApProductInfoProps as
|
|
1
|
+
import { defineComponent as v, h as f, createVNode as l, createTextVNode as p } from "vue";
|
|
2
|
+
import { ApProductInfoProps as y } from "./constans.mjs";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
|
-
import { Tooltip as p } from "@aplus-frontend/antdv";
|
|
5
4
|
import { ApImage as m } from "../ap-image/index.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
5
|
+
import { ApCopy as n } from "../ap-copy/index.mjs";
|
|
6
|
+
import { useNamespace as b } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
import { useGlobalConfig as h } from "../../config-provider/hooks/use-global-config.mjs";
|
|
8
|
+
const N = /* @__PURE__ */ v({
|
|
9
9
|
name: "ApProductInfo",
|
|
10
|
-
props:
|
|
11
|
-
setup(
|
|
10
|
+
props: y(),
|
|
11
|
+
setup(a) {
|
|
12
12
|
const {
|
|
13
|
-
b:
|
|
14
|
-
e:
|
|
15
|
-
m:
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class:
|
|
24
|
-
}, [
|
|
25
|
-
|
|
13
|
+
b: s,
|
|
14
|
+
e: o,
|
|
15
|
+
m: r
|
|
16
|
+
} = b("ap-product-info"), u = (e) => typeof e.value == "function" ? e.value() : f(n, {
|
|
17
|
+
text: e.value,
|
|
18
|
+
textStyle: e.link ? "link" : "minor",
|
|
19
|
+
link: e.link,
|
|
20
|
+
disableCopy: a.disableCopy
|
|
21
|
+
}, e.value), c = h("uiMode");
|
|
22
|
+
return () => l("div", {
|
|
23
|
+
class: [s(), `${r(c.value)}`]
|
|
24
|
+
}, [l("div", {
|
|
25
|
+
class: o("img")
|
|
26
|
+
}, [l(m, {
|
|
27
|
+
src: a.imgSrc,
|
|
26
28
|
width: 44,
|
|
27
29
|
height: 44,
|
|
28
|
-
preview:
|
|
29
|
-
}, null)]),
|
|
30
|
-
class: [
|
|
31
|
-
}, [
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
preview: a.preview
|
|
31
|
+
}, null)]), l("div", {
|
|
32
|
+
class: [o("content")]
|
|
33
|
+
}, [l(n, {
|
|
34
|
+
disableCopy: a.disableCopy
|
|
35
|
+
}, {
|
|
36
|
+
default: () => [a.title]
|
|
37
|
+
}), l("div", {
|
|
38
|
+
class: o("row-container")
|
|
39
|
+
}, [a.values.map((e, t) => {
|
|
40
|
+
const i = e.col === 2, d = e.col !== 2 && t % 2 === 0;
|
|
41
|
+
return l("div", {
|
|
42
|
+
key: t,
|
|
43
|
+
class: [o("row-item"), r(i ? "full" : "half")]
|
|
44
|
+
}, [l("div", {
|
|
45
|
+
key: t,
|
|
46
|
+
class: [o("item")]
|
|
47
|
+
}, [e.label && l("div", {
|
|
48
|
+
class: o("label")
|
|
49
|
+
}, [e.label, l("span", null, [p(":")])]), l("div", {
|
|
50
|
+
class: [o("value"), !i && r("overflow")],
|
|
51
|
+
title: typeof e.value != "function" ? String(e.value || "") : ""
|
|
52
|
+
}, [typeof e.value == "function" ? e.value() : u(e)])]), d && l("div", {
|
|
53
|
+
class: o("divider"),
|
|
34
54
|
style: {
|
|
35
|
-
|
|
55
|
+
right: 0
|
|
36
56
|
}
|
|
37
|
-
}, [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}) : e("div", {
|
|
42
|
-
class: t("title")
|
|
43
|
-
}, [s("--")]), o.values && e("div", {
|
|
44
|
-
class: t("row-divider")
|
|
45
|
-
}, [o.values.map((l, n) => e(f, null, [e("div", {
|
|
46
|
-
key: n,
|
|
47
|
-
class: [t("item"), l.col === 2 && i("full-width"), n % 2 === 0 || l.col == 2 ? i("left") : i("right")]
|
|
48
|
-
}, [l.label && e("div", {
|
|
49
|
-
class: t("label")
|
|
50
|
-
}, [l.label, e("span", null, [s(":")])]), e("div", {
|
|
51
|
-
class: [t("value"), l.link && i("link")],
|
|
52
|
-
title: typeof l.value != "function" ? a(l.value) : "",
|
|
53
|
-
onClick: () => {
|
|
54
|
-
l.link && window.open(l.link, "_blank");
|
|
55
|
-
}
|
|
56
|
-
}, [typeof l.value == "function" ? l.value() : a(l.value)])]), l.col == 1 && n % 2 == 0 ? e("div", {
|
|
57
|
-
class: t("divider")
|
|
58
|
-
}, [e("div", {
|
|
59
|
-
class: t("divider-vertical")
|
|
60
|
-
}, null)]) : null]))])])]);
|
|
57
|
+
}, [l("div", {
|
|
58
|
+
class: o("divider-vertical")
|
|
59
|
+
}, null)])]);
|
|
60
|
+
})])])]);
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
export {
|
|
64
|
-
|
|
64
|
+
N as default
|
|
65
65
|
};
|
|
@@ -19,10 +19,15 @@ declare const ApProductInfo: {
|
|
|
19
19
|
type: PropType< ApProductInfoValue[]>;
|
|
20
20
|
default: () => never[];
|
|
21
21
|
};
|
|
22
|
+
disableCopy: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
22
26
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
23
27
|
values: ApProductInfoValue[];
|
|
24
28
|
title: string;
|
|
25
29
|
preview: boolean;
|
|
30
|
+
disableCopy: boolean;
|
|
26
31
|
imgSrc: string;
|
|
27
32
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
28
33
|
P: {};
|
|
@@ -48,10 +53,15 @@ declare const ApProductInfo: {
|
|
|
48
53
|
type: PropType< ApProductInfoValue[]>;
|
|
49
54
|
default: () => never[];
|
|
50
55
|
};
|
|
56
|
+
disableCopy: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
51
60
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
52
61
|
values: ApProductInfoValue[];
|
|
53
62
|
title: string;
|
|
54
63
|
preview: boolean;
|
|
64
|
+
disableCopy: boolean;
|
|
55
65
|
imgSrc: string;
|
|
56
66
|
}>;
|
|
57
67
|
__isFragment?: never;
|
|
@@ -74,10 +84,15 @@ declare const ApProductInfo: {
|
|
|
74
84
|
type: PropType< ApProductInfoValue[]>;
|
|
75
85
|
default: () => never[];
|
|
76
86
|
};
|
|
87
|
+
disableCopy: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
77
91
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
78
92
|
values: ApProductInfoValue[];
|
|
79
93
|
title: string;
|
|
80
94
|
preview: boolean;
|
|
95
|
+
disableCopy: boolean;
|
|
81
96
|
imgSrc: string;
|
|
82
97
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
83
98
|
$props: {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RadioOptionType, RadioOptionStyleType } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
value: string | number;
|
|
5
|
+
options: RadioOptionType[];
|
|
6
|
+
optionStyle?: RadioOptionStyleType;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
9
|
+
"update:value": (value: string | number) => any;
|
|
10
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
value: string | number;
|
|
14
|
+
options: RadioOptionType[];
|
|
15
|
+
optionStyle: RadioOptionStyleType;
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { defineComponent as k, isVNode as S, h as a, openBlock as r, createElementBlock as l, normalizeClass as m, unref as o, createVNode as b, withCtx as V, Fragment as _, renderList as w, normalizeStyle as B, createBlock as N, resolveDynamicComponent as z } from "vue";
|
|
2
|
+
import { Flex as F } from "@aplus-frontend/antdv";
|
|
3
|
+
import "../../config-provider/index.mjs";
|
|
4
|
+
import "../../hooks/index.mjs";
|
|
5
|
+
import { useNamespace as L } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
|
+
import { useControllableValue as x } from "../../hooks/useControllableValue.mjs";
|
|
7
|
+
const D = ["onClick"], J = /* @__PURE__ */ k({
|
|
8
|
+
__name: "ap-radio-group",
|
|
9
|
+
props: {
|
|
10
|
+
value: { default: "" },
|
|
11
|
+
options: { default: () => [] },
|
|
12
|
+
optionStyle: { default: () => ({
|
|
13
|
+
height: 28,
|
|
14
|
+
gap: 8
|
|
15
|
+
}) }
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:value"],
|
|
18
|
+
setup(c, { emit: f }) {
|
|
19
|
+
const d = c, h = (e) => S(e) ? a(e) : typeof e == "function" ? a("span", e()) : a("span", e), g = f, { b: y, e: i } = L("ap-radio-group"), { value: v, updateValue: C } = x(
|
|
20
|
+
d,
|
|
21
|
+
g,
|
|
22
|
+
{
|
|
23
|
+
defaultValue: ""
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
return (e, E) => {
|
|
27
|
+
var n;
|
|
28
|
+
return r(), l("div", {
|
|
29
|
+
class: m([o(y)()])
|
|
30
|
+
}, [
|
|
31
|
+
b(o(F), {
|
|
32
|
+
gap: (n = e.optionStyle) == null ? void 0 : n.gap,
|
|
33
|
+
wrap: "wrap"
|
|
34
|
+
}, {
|
|
35
|
+
default: V(() => [
|
|
36
|
+
(r(!0), l(_, null, w(e.options.filter((t) => t.visible !== !1), (t) => {
|
|
37
|
+
var p, s, u;
|
|
38
|
+
return r(), l("div", {
|
|
39
|
+
key: t.value,
|
|
40
|
+
class: m([o(i)("item"), o(v) === t.value ? o(i)("item--active") : ""]),
|
|
41
|
+
style: B({
|
|
42
|
+
height: ((p = e.optionStyle) == null ? void 0 : p.height) + "px",
|
|
43
|
+
lineHeight: ((s = e.optionStyle) == null ? void 0 : s.height) + "px",
|
|
44
|
+
color: (u = e.optionStyle) == null ? void 0 : u.color
|
|
45
|
+
}),
|
|
46
|
+
onClick: (H) => o(C)(t.value)
|
|
47
|
+
}, [
|
|
48
|
+
(r(), N(z(h(t.label))))
|
|
49
|
+
], 14, D);
|
|
50
|
+
}), 128))
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 8, ["gap"])
|
|
54
|
+
], 2);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export {
|
|
59
|
+
J as default
|
|
60
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
import { RadioOptionType, RadioOptionStyleType } from './interface';
|
|
3
|
+
export * from './interface';
|
|
4
|
+
declare const ApRadioGroup: {
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
|
+
value: string | number;
|
|
7
|
+
options: RadioOptionType[];
|
|
8
|
+
optionStyle?: RadioOptionStyleType;
|
|
9
|
+
}> & Readonly<{
|
|
10
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
"update:value": (value: string | number) => any;
|
|
13
|
+
}, PublicProps, {
|
|
14
|
+
value: string | number;
|
|
15
|
+
options: RadioOptionType[];
|
|
16
|
+
optionStyle: RadioOptionStyleType;
|
|
17
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
18
|
+
P: {};
|
|
19
|
+
B: {};
|
|
20
|
+
D: {};
|
|
21
|
+
C: {};
|
|
22
|
+
M: {};
|
|
23
|
+
Defaults: {};
|
|
24
|
+
}, Readonly<{
|
|
25
|
+
value: string | number;
|
|
26
|
+
options: RadioOptionType[];
|
|
27
|
+
optionStyle?: RadioOptionStyleType;
|
|
28
|
+
}> & Readonly<{
|
|
29
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, {
|
|
31
|
+
value: string | number;
|
|
32
|
+
options: RadioOptionType[];
|
|
33
|
+
optionStyle: RadioOptionStyleType;
|
|
34
|
+
}>;
|
|
35
|
+
__isFragment?: never;
|
|
36
|
+
__isTeleport?: never;
|
|
37
|
+
__isSuspense?: never;
|
|
38
|
+
} & ComponentOptionsBase<Readonly<{
|
|
39
|
+
value: string | number;
|
|
40
|
+
options: RadioOptionType[];
|
|
41
|
+
optionStyle?: RadioOptionStyleType;
|
|
42
|
+
}> & Readonly<{
|
|
43
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
44
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
45
|
+
"update:value": (value: string | number) => any;
|
|
46
|
+
}, string, {
|
|
47
|
+
value: string | number;
|
|
48
|
+
options: RadioOptionType[];
|
|
49
|
+
optionStyle: RadioOptionStyleType;
|
|
50
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
51
|
+
$props: {
|
|
52
|
+
onClick?: () => void;
|
|
53
|
+
};
|
|
54
|
+
}));
|
|
55
|
+
export { ApRadioGroup };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export interface RadioOptionType {
|
|
3
|
+
label: string | number | (() => any) | VNode;
|
|
4
|
+
value: string | number;
|
|
5
|
+
visible?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export type RadioOptionStyleType = {
|
|
8
|
+
gap?: number;
|
|
9
|
+
height?: number;
|
|
10
|
+
color?: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-radio-group/ap-radio-group.css';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-radio-group/ap-radio-group.less';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem } from './interface';
|
|
2
|
-
import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, Plugin } from 'vue';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
@@ -38,7 +38,9 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
|
|
|
38
38
|
(event: "afterEnter", el: Element): void;
|
|
39
39
|
(event: "afterLeave", el: Element): void;
|
|
40
40
|
};
|
|
41
|
-
}>) => VNode
|
|
41
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}> & {
|
|
42
44
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
43
45
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
44
46
|
$props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onOnSelect?: ((value: T) => any) | undefined;
|
|
@@ -19,7 +19,9 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
|
|
|
19
19
|
(event: "afterEnter", el: Element): void;
|
|
20
20
|
(event: "afterLeave", el: Element): void;
|
|
21
21
|
};
|
|
22
|
-
}>) => VNode
|
|
22
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}> & {
|
|
23
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
26
|
};
|
|
25
27
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as d, computed as M, onMounted as O,
|
|
1
|
+
import { defineComponent as I, ref as d, computed as M, onMounted as O, openBlock as p, createElementBlock as m, normalizeClass as a, unref as t, createVNode as u, Transition as W, withCtx as v, withDirectives as g, createElementVNode as s, toDisplayString as E, createTextVNode as $, Fragment as z, renderList as R, renderSlot as x, vShow as N, createCommentVNode as j } from "vue";
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -42,7 +42,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
42
42
|
});
|
|
43
43
|
}), (n, e) => {
|
|
44
44
|
var r;
|
|
45
|
-
return
|
|
45
|
+
return p(), m("div", {
|
|
46
46
|
class: a(t(h)())
|
|
47
47
|
}, [
|
|
48
48
|
u(W, {
|
|
@@ -90,7 +90,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
90
90
|
s("div", {
|
|
91
91
|
class: a(t(i)("side", "body", "scroll"))
|
|
92
92
|
}, [
|
|
93
|
-
(
|
|
93
|
+
(p(!0), m(z, null, R(U.value, (l) => g((p(), m("div", {
|
|
94
94
|
key: l.value,
|
|
95
95
|
class: a(`${t(i)("side", "body", "scroll-item")} ${F.value === l ? "active" : ""}`),
|
|
96
96
|
onClick: (X) => V(l)
|
|
@@ -118,7 +118,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
118
118
|
s("div", {
|
|
119
119
|
class: a(t(y)("content", "header"))
|
|
120
120
|
}, [
|
|
121
|
-
f.value ? (
|
|
121
|
+
f.value ? (p(), m("div", {
|
|
122
122
|
key: 0,
|
|
123
123
|
class: a(t(i)("content", "header", "imgWrap"))
|
|
124
124
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, computed as a,
|
|
1
|
+
import { defineComponent as u, computed as a, openBlock as d, createElementBlock as i, normalizeClass as r, unref as t, normalizeStyle as s, createTextVNode as m, toDisplayString as f, createElementVNode as y, createCommentVNode as g } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const C = /* @__PURE__ */ u({
|
|
@@ -20,17 +20,17 @@ const C = /* @__PURE__ */ u({
|
|
|
20
20
|
})), p = a(() => ({
|
|
21
21
|
"background-color": e.color
|
|
22
22
|
})), { b: c, e: o } = x("ap-status");
|
|
23
|
-
return (S, _) => e.show ? (
|
|
23
|
+
return (S, _) => e.show ? (d(), i("div", {
|
|
24
24
|
key: 0,
|
|
25
|
-
class:
|
|
26
|
-
style:
|
|
25
|
+
class: r([t(c)()]),
|
|
26
|
+
style: s(n.value)
|
|
27
27
|
}, [
|
|
28
|
-
f(
|
|
28
|
+
m(f(e.text) + " ", 1),
|
|
29
29
|
y("div", {
|
|
30
|
-
class:
|
|
31
|
-
style:
|
|
30
|
+
class: r([t(o)("bg"), t(o)("primary")]),
|
|
31
|
+
style: s(p.value)
|
|
32
32
|
}, null, 6)
|
|
33
|
-
], 6)) :
|
|
33
|
+
], 6)) : g("", !0);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, computed as c, createElementBlock as o,
|
|
1
|
+
import { defineComponent as p, computed as c, openBlock as r, createElementBlock as o, normalizeClass as d, unref as m, normalizeStyle as a, Fragment as i, renderList as f, createBlock as y, createCommentVNode as _ } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import "../ApStatus.vue.mjs";
|
|
4
4
|
import { useNamespace as g } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -19,10 +19,10 @@ const w = /* @__PURE__ */ p({
|
|
|
19
19
|
})), { b: l } = g("ap-status-group");
|
|
20
20
|
return (n, S) => t.statusList ? (r(), o("div", {
|
|
21
21
|
key: 0,
|
|
22
|
-
class:
|
|
22
|
+
class: d([m(l)()]),
|
|
23
23
|
style: a(u.value)
|
|
24
24
|
}, [
|
|
25
|
-
(r(!0), o(
|
|
25
|
+
(r(!0), o(i, null, f(t.statusList, (e) => (r(), y(k, {
|
|
26
26
|
key: e.value,
|
|
27
27
|
show: e.value === n.currentValue,
|
|
28
28
|
color: e.color,
|
|
@@ -30,7 +30,7 @@ const w = /* @__PURE__ */ p({
|
|
|
30
30
|
padding: t.padding,
|
|
31
31
|
style: a(t.style)
|
|
32
32
|
}, null, 8, ["show", "color", "text", "padding", "style"]))), 128))
|
|
33
|
-
], 6)) :
|
|
33
|
+
], 6)) : _("", !0);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, computed as p, createVNode as w, Fragment as y,
|
|
1
|
+
import { defineComponent as N, computed as p, createVNode as w, Fragment as y, openBlock as m, createBlock as l, unref as r, normalizeClass as f, withCtx as x, createElementBlock as z, renderList as B, normalizeStyle as R, resolveDynamicComponent as A } from "vue";
|
|
2
2
|
import { isNil as D, get as i } from "lodash-unified";
|
|
3
3
|
import { TableSummaryRow as F, TableSummaryCell as V } from "@aplus-frontend/antdv";
|
|
4
4
|
import { flattenColumns as E, formatDataIndex as c } from "./utils.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m,
|
|
1
|
+
import { defineComponent as m, openBlock as c, createElementBlock as f, createTextVNode as a, toDisplayString as t, renderSlot as d, createElementVNode as r, normalizeStyle as u, unref as o } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useLocale as p } from "../../config-provider/hooks/use-locale.mjs";
|
|
4
4
|
import { useGlobalConfig as s } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -20,7 +20,7 @@ const T = /* @__PURE__ */ m({
|
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
22
|
const { t: n } = p(), l = s("uiMode", "aplus");
|
|
23
|
-
return (i, x) => (
|
|
23
|
+
return (i, x) => (c(), f("div", null, [
|
|
24
24
|
a(t(e.title) + " ", 1),
|
|
25
25
|
d(i.$slots, "default", {
|
|
26
26
|
maxCount: e.maxCount,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v,
|
|
1
|
+
import { defineComponent as v, openBlock as l, createElementBlock as o, normalizeClass as a, unref as t, Fragment as i, createVNode as m, withCtx as n, createBlock as s, resolveDynamicComponent as p, h, createElementVNode as c, renderSlot as b, createCommentVNode as T, createTextVNode as $, toDisplayString as B, renderList as M } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { ApTitle as k } from "../../ap-title/index.mjs";
|
|
4
4
|
import { Button as V, Empty as I } from "@aplus-frontend/antdv";
|
|
@@ -30,29 +30,29 @@ const O = /* @__PURE__ */ v({
|
|
|
30
30
|
key: 0,
|
|
31
31
|
class: a(t(r)("table-layout-left"))
|
|
32
32
|
}, [
|
|
33
|
-
|
|
33
|
+
m(t(k), { style: { "margin-bottom": "16px" } }, {
|
|
34
34
|
prefix: n(() => [
|
|
35
|
-
(l(), s(
|
|
35
|
+
(l(), s(p(h(i, [e.leftTitle]))))
|
|
36
36
|
]),
|
|
37
37
|
_: 1
|
|
38
38
|
}),
|
|
39
|
-
|
|
39
|
+
c("div", {
|
|
40
40
|
class: a(t(r)("table-layout-left-content"))
|
|
41
41
|
}, [
|
|
42
|
-
|
|
42
|
+
b(e.$slots, "default")
|
|
43
43
|
], 2)
|
|
44
|
-
], 2)) :
|
|
45
|
-
|
|
44
|
+
], 2)) : T("", !0),
|
|
45
|
+
c("div", {
|
|
46
46
|
class: a(t(r)("table-layout-right"))
|
|
47
47
|
}, [
|
|
48
|
-
|
|
48
|
+
m(t(k), {
|
|
49
49
|
title: `${t(d)("ap.apTableModal.selected")} (${e.selectedList.length})`
|
|
50
50
|
}, {
|
|
51
51
|
prefix: n(() => [
|
|
52
|
-
(l(), s(
|
|
52
|
+
(l(), s(p(h(i, [N(e.selectedList.length)]))))
|
|
53
53
|
]),
|
|
54
54
|
suffix: n(() => [
|
|
55
|
-
|
|
55
|
+
m(t(V), {
|
|
56
56
|
type: "link",
|
|
57
57
|
style: { padding: "0px", height: "22px", "border-width": "0px" },
|
|
58
58
|
onClick: L
|
|
@@ -65,21 +65,21 @@ const O = /* @__PURE__ */ v({
|
|
|
65
65
|
]),
|
|
66
66
|
_: 1
|
|
67
67
|
}, 8, ["title"]),
|
|
68
|
-
|
|
68
|
+
c("div", {
|
|
69
69
|
class: a(t(r)("table-layout-right-content"))
|
|
70
70
|
}, [
|
|
71
71
|
(l(!0), o(i, null, M(e.selectedList, (y) => {
|
|
72
72
|
var g;
|
|
73
|
-
return l(), s(
|
|
73
|
+
return l(), s(p((g = e.renderSelectedItem) == null ? void 0 : g.call(e, y, { deleteItem: C })), { key: y });
|
|
74
74
|
}), 128)),
|
|
75
75
|
e.selectedList.length === 0 ? (l(), s(t(I), {
|
|
76
76
|
key: 0,
|
|
77
77
|
image: t(I).PRESENTED_IMAGE_SIMPLE,
|
|
78
78
|
style: { "margin-top": "100px" }
|
|
79
|
-
}, null, 8, ["image"])) :
|
|
79
|
+
}, null, 8, ["image"])) : T("", !0)
|
|
80
80
|
], 2)
|
|
81
81
|
], 2)
|
|
82
|
-
], 64)) :
|
|
82
|
+
], 64)) : b(e.$slots, "default", { key: 1 })
|
|
83
83
|
], 2));
|
|
84
84
|
}
|
|
85
85
|
});
|