@aplus-frontend/ui 0.6.0-beta.0 → 0.6.0-beta.10
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.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +1 -1
- package/es/src/ap-field/date/helper.mjs +12 -12
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +57 -58
- package/es/src/ap-form/interface.d.ts +8 -0
- package/es/src/ap-form/item/index.vue.d.ts +1 -1
- package/es/src/ap-form/item/index.vue.mjs +33 -28
- package/es/src/ap-form/items/checkbox/index.vue.mjs +1 -0
- package/es/src/ap-form/items/date/index.vue.mjs +8 -7
- package/es/src/ap-form/items/date-range/index.vue.mjs +1 -0
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/number/index.vue.mjs +9 -8
- package/es/src/ap-form/items/radio/index.vue.mjs +1 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.mjs +7 -6
- package/es/src/ap-form/items/switch/index.vue.mjs +1 -0
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +8 -7
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +1 -0
- package/es/src/ap-form/items/text-area/index.vue.mjs +1 -0
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/tree-select/index.vue.mjs +6 -5
- package/es/src/ap-form/render/item.vue.d.ts +1 -1
- package/es/src/ap-form/render/item.vue.mjs +5 -4
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +41 -37
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +8 -8
- package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
- package/es/src/ap-form/search-form/index.vue.mjs +91 -89
- package/es/src/ap-grid/constants.d.ts +3 -3
- package/es/src/ap-grid/constants.mjs +9 -9
- package/es/src/ap-grid/editable/form-item.vue.mjs +95 -84
- package/es/src/ap-grid/editable/index.vue.mjs +90 -79
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
- package/es/src/ap-grid/index.vue.mjs +171 -148
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-grid/utils/table.mjs +32 -32
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue2.mjs +209 -198
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +30 -30
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +147 -130
- package/es/src/ap-table/utils.d.ts +14 -14
- package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
- package/es/src/ap-tag/interface.d.ts +4 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +93 -73
- package/es/src/business/ap-expand-alert/index.d.ts +4 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +109 -99
- package/es/src/business/ap-export-group/index.d.ts +3 -0
- package/es/src/business/ap-export-group/interface.d.ts +7 -2
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +3 -3
- package/es/src/business/ap-status/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
- package/es/src/business/ap-view/ap-view.vue2.mjs +136 -117
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +60 -48
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +86 -80
- package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/es/src/business/ap-view/index.d.ts +3 -0
- package/es/src/business/ap-view/interface.d.ts +8 -0
- package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/form-item.vue.mjs +1 -0
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/hooks/usePageListApGrid.mjs +3 -5
- package/es/src/check-card/group.vue.d.ts +1 -1
- package/es/src/check-card/index.vue2.mjs +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +0 -5
- package/es/src/config-provider/config-provider-props.mjs +0 -4
- package/es/src/config-provider/config-provider.d.ts +0 -138
- package/es/src/config-provider/config-provider.mjs +21 -26
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/es/src/config-provider/index.d.ts +0 -652
- package/es/src/design-token/index.mjs +9 -3
- package/es/src/editable-table/form-item.vue.d.ts +2 -14
- package/es/src/editable-table/form-item.vue.mjs +85 -77
- package/es/src/editable-table/index.vue.d.ts +2 -16
- package/es/src/editable-table/index.vue.mjs +86 -78
- package/es/src/editable-table/interface.d.ts +7 -0
- package/es/src/locale/lang/en.mjs +1 -1
- package/es/src/locale/lang/zh-cn.mjs +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-field/date/helper.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/interface.d.ts +8 -0
- package/lib/src/ap-form/item/index.vue.d.ts +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/render/item.vue.d.ts +1 -1
- package/lib/src/ap-form/render/item.vue.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/constants.d.ts +3 -3
- package/lib/src/ap-grid/constants.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +30 -30
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/utils.d.ts +14 -14
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +4 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +3 -0
- package/lib/src/business/ap-export-group/interface.d.ts +7 -2
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +3 -3
- package/lib/src/business/ap-status/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/lib/src/business/ap-view/index.d.ts +3 -0
- package/lib/src/business/ap-view/interface.d.ts +8 -0
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +0 -5
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +0 -138
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/lib/src/config-provider/index.d.ts +0 -652
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/editable-table/form-item.vue.d.ts +2 -14
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -16
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -0
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +4 -4
- package/theme/antd-global-overwrite/admin/index.css +14 -27
- package/theme/antd-global-overwrite/admin/index.less +1 -0
- package/theme/antd-global-overwrite/admin/modal.css +8 -24
- package/theme/antd-global-overwrite/admin/modal.less +9 -24
- package/theme/antd-global-overwrite/admin/table.css +3 -3
- package/theme/antd-global-overwrite/admin/table.less +3 -3
- 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/index.css +13 -20
- package/theme/antd-global-overwrite/aplus/index.less +1 -0
- package/theme/antd-global-overwrite/aplus/modal.css +7 -17
- package/theme/antd-global-overwrite/aplus/modal.less +8 -18
- package/theme/antd-global-overwrite/aplus/table.css +3 -3
- package/theme/antd-global-overwrite/aplus/table.less +3 -3
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-action/item-dropdown.css +24 -6
- package/theme/ap-action/item-dropdown.less +1 -1
- package/theme/ap-action/item.css +25 -7
- package/theme/ap-action/item.less +1 -1
- package/theme/ap-appendix/ap-appendix.css +28 -8
- package/theme/ap-appendix/ap-appendix.less +6 -4
- package/theme/ap-attachment/ap-attachment.css +28 -9
- package/theme/ap-attachment/ap-attachment.less +6 -6
- package/theme/ap-batch-action/ap-batch-action.css +28 -7
- package/theme/ap-batch-action/ap-batch-action.less +6 -3
- package/theme/ap-button/ap-button.css +22 -4
- package/theme/ap-card/ap-card.css +22 -4
- package/theme/ap-descriptions/ap-descriptions.css +27 -9
- package/theme/ap-descriptions/ap-descriptions.less +5 -5
- package/theme/ap-download/ap-download.css +29 -14
- package/theme/ap-download/ap-download.less +8 -11
- package/theme/ap-expand-alert/ap-expand-alert.css +24 -6
- package/theme/ap-expand-alert/ap-expand-alert.less +5 -5
- package/theme/ap-field/checkbox.css +23 -5
- package/theme/ap-field/checkbox.less +2 -1
- package/theme/ap-field/index.css +24 -6
- package/theme/ap-field/number.css +22 -4
- package/theme/ap-field/radio.css +23 -5
- package/theme/ap-field/radio.less +1 -1
- package/theme/ap-field/text-area.css +22 -4
- package/theme/ap-form/ap-form-item-group.css +22 -4
- package/theme/ap-form/ap-form-item.css +33 -10
- package/theme/ap-form/ap-form-item.less +17 -9
- package/theme/ap-form/drawer-form.css +22 -4
- package/theme/ap-form/index.css +61 -26
- package/theme/ap-form/item-text-group.css +22 -4
- package/theme/ap-form/item-text.css +22 -4
- package/theme/ap-form/modal-form.css +22 -4
- package/theme/ap-form/search-form-sorter.css +36 -17
- package/theme/ap-form/search-form-sorter.less +8 -7
- package/theme/ap-form/search-form.css +61 -26
- package/theme/ap-form/search-form.less +17 -6
- package/theme/ap-grid/editable.css +24 -6
- package/theme/ap-grid/editable.less +3 -2
- package/theme/ap-grid/index.css +117 -43
- package/theme/ap-grid/index.less +35 -11
- package/theme/ap-group-search/ap-extension-select.css +22 -4
- package/theme/ap-group-search/ap-group-search.css +22 -4
- package/theme/ap-group-search/ap-popover-select.css +22 -4
- package/theme/ap-image/ap-image.css +22 -4
- package/theme/ap-input-radio/ap-input-radio.css +22 -4
- package/theme/ap-label/ap-label.css +22 -4
- package/theme/ap-ladder/ap-ladder.css +26 -7
- package/theme/ap-ladder/ap-ladder.less +4 -3
- package/theme/ap-layout/ap-info-layout.css +22 -4
- package/theme/ap-list/index.css +23 -5
- package/theme/ap-list/index.less +2 -1
- package/theme/ap-product-info/ap-product-info.css +22 -4
- package/theme/ap-select-layout/ap-select-layout.css +30 -12
- package/theme/ap-select-layout/ap-select-layout.less +8 -8
- package/theme/ap-size-input/ap-size-input.css +22 -4
- package/theme/ap-status/ap-status.css +24 -7
- package/theme/ap-status/ap-status.less +2 -4
- package/theme/ap-summary/index.css +25 -7
- package/theme/ap-summary/index.less +3 -3
- package/theme/ap-table/ap-table-index.css +27 -9
- package/theme/ap-table/ap-table-index.less +5 -5
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +22 -4
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +109 -55
- package/theme/ap-table/ap-table.less +11 -9
- package/theme/ap-table/setting/index.css +30 -13
- package/theme/ap-table/setting/modal.css +26 -9
- package/theme/ap-table/setting/modal.less +1 -2
- package/theme/ap-table/setting/select-group.css +24 -5
- package/theme/ap-table/setting/select-group.less +2 -1
- package/theme/ap-table/setting/sortable-item-meta.css +22 -4
- package/theme/ap-table/setting/sortable-item.css +22 -4
- package/theme/ap-table/setting/sorter.css +24 -7
- package/theme/ap-table-modal/index.css +109 -55
- package/theme/ap-tag/ap-tag-group.css +24 -6
- package/theme/ap-tag/ap-tag-group.less +4 -5
- package/theme/ap-tag/ap-tag.css +45 -18
- package/theme/ap-tag/ap-tag.less +37 -24
- package/theme/ap-title/ap-title.css +29 -9
- package/theme/ap-title/ap-title.less +7 -5
- package/theme/ap-upload/index.css +30 -12
- package/theme/ap-upload/multiple-file.css +24 -6
- package/theme/ap-upload/multiple-file.less +2 -2
- package/theme/ap-upload/picture.css +26 -8
- package/theme/ap-upload/picture.less +4 -4
- package/theme/ap-upload/single-file.css +24 -6
- package/theme/ap-upload/single-file.less +2 -2
- package/theme/ap-upload/upload.css +22 -4
- package/theme/ap-upload-single/index.css +22 -4
- package/theme/ap-view/ap-view.css +26 -4
- package/theme/ap-view/ap-view.less +4 -0
- package/theme/batch-input-group/index.css +25 -6
- package/theme/batch-input-group/popover-input.css +23 -4
- package/theme/batch-input-group/popover-input.less +1 -0
- package/theme/check-card/index.css +44 -26
- package/theme/check-card/index.less +17 -15
- package/theme/editable-table/index.css +77 -40
- package/theme/editable-table/index.less +9 -7
- package/theme/full-screen/index.css +22 -4
- package/theme/index.css +390 -182
- package/theme/index.less +1 -0
- package/theme/mask/index.css +22 -4
- package/theme/mixins/config.less +27 -5
- package/theme/mixins/mixins.css +22 -4
- package/theme/mixins/mixins.less +25 -0
- package/theme/scroll-bar/index.css +22 -4
- package/theme/scroll-view/index.css +22 -4
- package/theme/splitter/index.css +29 -11
- package/theme/text/group.css +22 -4
- package/theme/text/index.css +25 -7
- package/theme/ui-mode.css +94 -0
- package/theme/ui-mode.less +95 -0
- package/theme/work-order-modal/index.css +22 -4
- package/es/src/config-provider/css-var.d.ts +0 -139
- package/es/src/config-provider/css-var.mjs +0 -278
- package/lib/src/config-provider/css-var.d.ts +0 -139
- package/lib/src/config-provider/css-var.js +0 -1
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import { EditableColumnType, EditableTableFormItemProps } from './interface';
|
|
2
|
-
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
1
|
+
import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
|
|
3
2
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
|
-
import { UnwrapRefSimple } from '@vue/reactivity';
|
|
5
3
|
declare const _default: <RecordType = any>(__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<{
|
|
6
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
7
|
-
expose(exposed: ShallowUnwrapRef<
|
|
8
|
-
add: (defaultValue?: any, insertIndex?: number) => void;
|
|
9
|
-
remove: (index: number | number[]) => void;
|
|
10
|
-
getRowData: (index: number) => RecordType | UnwrapRefSimple<RecordType>;
|
|
11
|
-
getRowsData: () => RecordType[] | UnwrapRefSimple<RecordType>[];
|
|
12
|
-
setRowData: (index: number, payload: any, merge?: boolean) => void;
|
|
13
|
-
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
14
|
-
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
15
|
-
setTableData: (nextTableData: RecordType[]) => void;
|
|
16
|
-
clear: () => void;
|
|
17
|
-
}>): void;
|
|
5
|
+
expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
|
|
18
6
|
attrs: any;
|
|
19
7
|
slots: Readonly<{
|
|
20
8
|
default: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),j=require("@aplus-frontend/antdv"),p=require("../ap-form/index.js"),d=require("lodash-unified");require("../config-provider/index.js");const k=require("../ap-form/context.js"),h=require("../utils/index.js"),A=require("./hooks/use-get-columns.js"),z=require("./utils.js"),K=require("../config-provider/hooks/use-namespace.js"),O=require("../config-provider/hooks/use-global-config.js"),G=o.defineComponent({name:"EditableTableInner",__name:"form-item",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"small"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},onFieldChange:{},label:{},name:{},formItem:{default:()=>({})}},setup(g,{expose:x}){const l=g;function b(e,u){return d.isArray(u)?u.reduce((n,a)=>n==null?void 0:n[a],e):e==null?void 0:e[u]}const{internalInstance:t,model:w}=k.useInjectForm(),i=o.ref(b(o.unref(w),l.name)||[]),y=o.useSlots(),C=o.toRef(l,"name"),R=p.ApForm.useWatch(C);o.watch(()=>R.value,async e=>{var u;await o.nextTick(),i.value=e,(u=l.onChange)==null||u.call(l,e)},{deep:!0});const{b:B}=K.useNamespace("editable-table"),m=o.ref(),F=O.useGlobalConfig("valueTypeMap"),T=A.default(l,F);function v(e,u){var s;const n=((s=o.unref(i))==null?void 0:s.length)||0;if(h.isDef(l.maxLength)&&n>=l.maxLength)return;const a={...e||{}};t==null||t.setFieldValue(l.name,a,!0,(r,f)=>{if(!r[f]){r[f]=[a];return}d.isUndefined(u)?r[f].push(a):r[f].splice(u,0,a)})}function D(e,u="suffix"){var r;const n=((r=o.unref(i))==null?void 0:r.length)||0,a=d.isNumber(e)?e:e.length;if(h.isDef(l.maxLength)&&n+a>l.maxLength)return;const s=d.isNumber(e)?new Array(e).fill(0).map(()=>({})):d.cloneDeep(e);t==null||t.setFieldValue(l.name,s,!0,(f,c)=>{if(!f[c]){f[c]=[...s];return}u==="suffix"?f[c].push(...s):f[c].unshift(...s)})}function q(e){const u=new Set(d.isNumber(e)?[e]:e);t==null||t.setFieldValue(l.name,void 0,!0,(n,a)=>{n[a]=n[a].filter((s,r)=>!u.has(r))})}function N(e){var n;const u=new Set(d.isArray(e)?e:[e]);u.size!==0&&((n=t==null?void 0:t.setFieldValue)==null||n.call(t,l.name,void 0,!0,(a,s)=>{a[s]=a[s].filter(r=>!u.has(r[l.rowKey]))}))}function S(){return o.unref(i)}function V(e){var u;return(u=o.unref(i))==null?void 0:u[e]}function L(e,u,n=!0){t==null||t.setFieldValue(l.name,void 0,!0,(a,s)=>{!a[s]||!a[s][e]||(a[s][e]={...n?a[s][e]:{},...u})})}function _(e){t==null||t.setFieldValue(l.name,e)}function E(e,u){var a;const n=e==="end"?i.value.length-1:e;z.scrollToRowIndex(n,(a=m.value)==null?void 0:a.$el,u)}function P(){var e;(e=t==null?void 0:t.setFieldValue)==null||e.call(t,l.name,[])}return x({add:v,remove:q,getRowData:V,getRowsData:S,setRowData:L,addMultiple:D,scrollTo:E,setTableData:_,clear:P,removeByKey:N}),(e,u)=>(o.openBlock(),o.createBlock(o.unref(p.ApForm).FormItem,o.mergeProps(e.formItem,{name:e.name,label:e.label}),{default:o.withCtx(()=>[o.createVNode(o.unref(j.Table),o.mergeProps(o.unref(d.omit)(l,["name","maxLength","onChange"]),{ref_key:"tableRef",ref:m,class:o.unref(B)(),columns:o.unref(T),"data-source":i.value}),o.createSlots({_:2},[o.renderList(o.unref(d.omit)(y,["headerCell"]),(n,a)=>({name:a,fn:o.withCtx(s=>[o.renderSlot(e.$slots,a,o.normalizeProps(o.guardReactiveProps(s||{})))])}))]),1040,["class","columns","data-source"])]),_:3},16,["name","label"]))}});exports.default=G;
|
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
import { EditableTableProps, EditableColumnType } from './interface';
|
|
2
|
-
import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
|
|
1
|
+
import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
|
|
3
2
|
import { Recordable } from '../type';
|
|
4
|
-
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
5
3
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
6
4
|
declare const _default: <RecordType extends Recordable = any>(__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<{
|
|
7
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
9
7
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType> & Partial<{}>> & PublicProps;
|
|
10
|
-
expose(exposed: ShallowUnwrapRef<
|
|
11
|
-
resetFields: () => void;
|
|
12
|
-
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
13
|
-
add: (defaultValue?: Partial<RecordType>, insertIndex?: number) => void;
|
|
14
|
-
remove: (index: number | number[]) => void;
|
|
15
|
-
getRowData: (index: number) => RecordType;
|
|
16
|
-
getRowsData: () => RecordType[];
|
|
17
|
-
setRowData: (index: number, payload: any, merge?: boolean) => void;
|
|
18
|
-
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
19
|
-
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
20
|
-
clear: () => void;
|
|
21
|
-
setTableData: (nextTableData: RecordType[]) => void;
|
|
22
|
-
}>): void;
|
|
8
|
+
expose(exposed: ShallowUnwrapRef<EditableTableExpose>): void;
|
|
23
9
|
attrs: any;
|
|
24
10
|
slots: Readonly<{
|
|
25
11
|
default: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),K=require("@aplus-frontend/antdv"),v=require("../ap-form/index.js"),f=require("lodash-unified");require("../config-provider/index.js");require("../hooks/index.js");const g=require("../utils/index.js"),O=require("./utils.js"),U=require("./hooks/use-get-columns.js"),G=require("../config-provider/hooks/use-namespace.js"),$=require("../hooks/useControllableValue.js"),H=require("../config-provider/hooks/use-global-config.js"),W=t.defineComponent({name:"EditableTable",__name:"index",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"small"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},name:{default:"ap-editable-table-inner-name"},onFieldChange:{}},emits:["update:value"],setup(w,{expose:y,emit:C}){const o=w,{b}=G.useNamespace("editable-table"),R=t.useSlots(),F=C,x=t.ref(),{value:p,updateValue:B}=$.useControllableValue(o,F),i=t.ref(),V=H.useGlobalConfig("valueTypeMap"),h=v.ApForm.useWatch(o.name,i);t.watch(()=>h.value,e=>{var n;B(e),(n=o.onChange)==null||n.call(o,e)},{deep:!0,flush:"post"}),t.watch(p,e=>{var n;e!==t.unref(h)&&(f.isEqual(e,t.unref(h))||(n=i.value)==null||n.setFieldValue(o.name,e))},{deep:!0});const q=U.default(o,V);function N(){var e;(e=i.value)==null||e.resetFields()}function T(e){return e?(f.isArray(e)?e:[e]).map(a=>f.isArray(a)?[o.name,...a]:[o.name,a]):void 0}async function S(e,n){var l;const a=await((l=i.value)==null?void 0:l.validateFields(T(e),n));return a==null?void 0:a[o.name]}function _(e,n){var u,r,s;const a=((u=t.unref(p))==null?void 0:u.length)||0;if(g.isDef(o.maxLength)&&a>=o.maxLength)return;const l={...e||{}};(s=(r=i.value)==null?void 0:r.setFieldValue)==null||s.call(r,o.name,l,!0,(d,c)=>{if(!d[c]){d[c]=[l];return}f.isUndefined(n)?d[c].push(l):d[c].splice(n,0,l)})}function A(e,n="suffix"){var r,s,d;const a=((r=t.unref(p))==null?void 0:r.length)||0,l=f.isNumber(e)?e:e.length;if(g.isDef(o.maxLength)&&a+l>o.maxLength)return;const u=f.isNumber(e)?new Array(e).fill(0).map(()=>({})):f.cloneDeep(e);(d=(s=i.value)==null?void 0:s.setFieldValue)==null||d.call(s,o.name,u,!0,(c,m)=>{if(!c[m]){c[m]=[...u];return}n==="suffix"?c[m].push(...u):c[m].unshift(...u)})}function D(e){var a,l;const n=new Set(f.isNumber(e)?[e]:e);(l=(a=i.value)==null?void 0:a.setFieldValue)==null||l.call(a,o.name,void 0,!0,(u,r)=>{u[r]=u[r].filter((s,d)=>!n.has(d))})}function L(e){var a,l;const n=new Set(f.isArray(e)?e:[e]);n.size!==0&&((l=(a=i.value)==null?void 0:a.setFieldValue)==null||l.call(a,o.name,void 0,!0,(u,r)=>{u[r]=u[r].filter(s=>!n.has(s[o.rowKey]))}))}function E(){return t.unref(p)}function k(e){var n;(n=i.value)==null||n.setFieldValue(o.name,e)}function P(e){var n;return(n=t.unref(p))==null?void 0:n[e]}function j(e,n,a=!0){var l,u;(u=(l=i.value)==null?void 0:l.setFieldValue)==null||u.call(l,o.name,void 0,!0,(r,s)=>{!r[s]||!r[s][e]||(r[s][e]={...a?r[s][e]:{},...n})})}function z(e,n){var l;const a=e==="end"?p.value.length-1:e;O.scrollToRowIndex(a,(l=x.value)==null?void 0:l.$el,n)}function I(){var e,n;(n=(e=i.value)==null?void 0:e.setFieldValue)==null||n.call(e,o.name,[])}return y({resetFields:N,validateFields:S,add:_,remove:D,getRowData:P,getRowsData:E,setRowData:j,addMultiple:A,scrollTo:z,clear:I,setTableData:k,removeByKey:L}),(e,n)=>(t.openBlock(),t.createBlock(t.unref(v.ApForm),{ref_key:"formRef",ref:i,"initial-values":{[o.name]:t.unref(p)}},{default:t.withCtx(()=>[t.createVNode(t.unref(v.ApForm).FormItem,{name:e.name,"no-style":""},{default:t.withCtx(()=>[t.createVNode(t.unref(K.Table),t.mergeProps(t.unref(f.omit)(o,["name","value","onUpdate:value","maxLength","onChange"]),{ref_key:"tableRef",ref:x,class:t.unref(b)(),columns:t.unref(q),"data-source":t.unref(p)}),t.createSlots({_:2},[t.renderList(t.unref(f.omit)(R,["headerCell"]),(a,l)=>({name:l,fn:t.withCtx(u=>[t.renderSlot(e.$slots,l,t.normalizeProps(t.guardReactiveProps(u||{})))])}))]),1040,["class","columns","data-source"])]),_:3},8,["name"])]),_:3},8,["initial-values"]))}});exports.default=W;
|
|
@@ -7,6 +7,7 @@ import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
|
|
|
7
7
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
8
8
|
import { Recordable } from '../type';
|
|
9
9
|
import { ApFormItemProps } from '../ap-form';
|
|
10
|
+
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
10
11
|
export type EditableColumnType<RecordType = any, ExtraValueType = 'text', ValueType extends ApTableValueTypes = ApTableValueTypes, MergedValueType extends ExtraValueType | ValueType = ExtraValueType | ValueType> = MergedValueType extends ExtraValueType | ValueType ? Omit<ColumnType<RecordType>, 'children' | 'customRender' | 'ellipsis'> & {
|
|
11
12
|
children?: EditableColumnType<RecordType, ExtraValueType, ValueType, MergedValueType>[];
|
|
12
13
|
/**
|
|
@@ -138,6 +139,12 @@ export type EditableTableExpose<ModelType = any, RecordType = any> = {
|
|
|
138
139
|
* @returns
|
|
139
140
|
*/
|
|
140
141
|
remove: (index: number | number[]) => void;
|
|
142
|
+
/**
|
|
143
|
+
* 通过key删除数据
|
|
144
|
+
* @param key
|
|
145
|
+
* @returns
|
|
146
|
+
*/
|
|
147
|
+
removeByKey: (key: Key | Key[]) => void;
|
|
141
148
|
/**
|
|
142
149
|
* 清空所有数据
|
|
143
150
|
* @returns
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vxe-table/es/locale/lang/en-US"),t={name:"en",ap:{common:{okText:"OK",cancelText:"Cancel",resetText:"Reset",queryText:"Search",expandText:"Unfold",closeText:"Put away",inputText:"Please enter",chooseText:"Please choose",redo:"Refresh",back:"Back",more:"More",all:"All"},field:{startDateText:"Start date",endDateText:"End date",today:"Today",yesterday:"Yesterday",thisWeek:"This week",lastWeek:"Last week",thisMonth:"This month",lastMonth:"Last month",thisYear:"This year",lastYear:"Last year",lastXDays:"Last {day} days"},apForm:{search:{search:"Search",reset:"Reset",moreFilter:"More Filters",sorterTitle:"Customize filter layout",sorterDesc:"Drag to sort. Top items appear first.",sorterReset:"Restore Defaults",sorterConfirmBtn:"Confirm"}},apTable:{pagination:{totalLeftPrefix:"Total",totalLeftSuffix:"items",totalRightPrefix:"Page",totalRightSuffix:" "},setting:{title:"Custom Table",selectAll:"Select All",unSelectAll:"Deselect All",selectAllTip:"Please select the columns to display in the table.",sizeSmall:"Small",sizeNormal:"Normal",selectCount:"Selected fields ({count})",reset:"Reset",fixToLeft:"Fixed on the left",fixToRight:"Fixed on the right",unFixed:"Not fixed",delete:"Delete"},paragraphEllipsis:{copy:"Copy",copySuccess:"Copied successfully"}},apUpload:{update:"Upload",pictureType:"Image type",videoType:"Video type",audioType:"Audio type",documentType:"Document type",allTypes:"All types",networkAnomaly:"Network abnormality",FailedToObtainOssTemporaryPermissions:"Failed to obtain temporary OSS permissions",pleasePass:"Please pass in",supportExtension:"Support extensions",uploadFile:"Upload files",fileInitializationException:"If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",maxUploadFiles:"Upload a maximum of {maxCount} files",maxUploadPicture:"Upload a maximum of {maxCount} images",maxUploadFileSize:"The file size does not exceed {maxSize}MB",maxWarnUploadFileSize:"The file size is smaller than {maxSize}MB",maxUploadPictureSize:"The image size is smaller than {maxSize}MB",fileFormatNotSupported:"Files in this format are not supported",pictureFormatNotSupported:"Images in this format are not supported",imageParsingFailed:"Image parsing failed",clickOrDragUpload:"Click or drag the file",foldersNotSupported:"Do not support uploading folders"},apExportGroup:{exportError:"Export error",exportSelected:"Export selected",exportAll:"Export all",export:"Export
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vxe-table/es/locale/lang/en-US"),t={name:"en",ap:{common:{okText:"OK",cancelText:"Cancel",resetText:"Reset",queryText:"Search",expandText:"Unfold",closeText:"Put away",inputText:"Please enter",chooseText:"Please choose",redo:"Refresh",back:"Back",more:"More",all:"All"},field:{startDateText:"Start date",endDateText:"End date",today:"Today",yesterday:"Yesterday",thisWeek:"This week",lastWeek:"Last week",thisMonth:"This month",lastMonth:"Last month",thisYear:"This year",lastYear:"Last year",lastXDays:"Last {day} days"},apForm:{search:{search:"Search",reset:"Reset",moreFilter:"More Filters",sorterTitle:"Customize filter layout",sorterDesc:"Drag to sort. Top items appear first.",sorterReset:"Restore Defaults",sorterConfirmBtn:"Confirm"}},apTable:{pagination:{totalLeftPrefix:"Total",totalLeftSuffix:"items",totalRightPrefix:"Page",totalRightSuffix:" "},setting:{title:"Custom Table",selectAll:"Select All",unSelectAll:"Deselect All",selectAllTip:"Please select the columns to display in the table.",sizeSmall:"Small",sizeNormal:"Normal",selectCount:"Selected fields ({count})",reset:"Reset",fixToLeft:"Fixed on the left",fixToRight:"Fixed on the right",unFixed:"Not fixed",delete:"Delete"},paragraphEllipsis:{copy:"Copy",copySuccess:"Copied successfully"}},apUpload:{update:"Upload",pictureType:"Image type",videoType:"Video type",audioType:"Audio type",documentType:"Document type",allTypes:"All types",networkAnomaly:"Network abnormality",FailedToObtainOssTemporaryPermissions:"Failed to obtain temporary OSS permissions",pleasePass:"Please pass in",supportExtension:"Support extensions",uploadFile:"Upload files",fileInitializationException:"If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",maxUploadFiles:"Upload a maximum of {maxCount} files",maxUploadPicture:"Upload a maximum of {maxCount} images",maxUploadFileSize:"The file size does not exceed {maxSize}MB",maxWarnUploadFileSize:"The file size is smaller than {maxSize}MB",maxUploadPictureSize:"The image size is smaller than {maxSize}MB",fileFormatNotSupported:"Files in this format are not supported",pictureFormatNotSupported:"Images in this format are not supported",imageParsingFailed:"Image parsing failed",clickOrDragUpload:"Click or drag the file",foldersNotSupported:"Do not support uploading folders"},apExportGroup:{exportError:"Export error",exportSelected:"Export selected",exportAll:"Export all",export:"Export",exportSuccess:"The task has been submitted,please go to the download center to check the progress"},apBatchAction:{selected:"Selected",piecesOfData:"Pieces of data",empty:"Empty"},apApBatchActionGroup:{batchOperation:"Batch operation"},workOrderModal:{createTickets:"Create ticket",submit:"Confirm",cancel:"Cancel",ticketsTitle:"Ticket Title",noEmpty:"No empty",pleaseEntry:"please enter (Within 300 words)",ticketsType:"Ticket Type",ticketsDetail:"Ticket Detail",ticketsLevel:"Priority",operationSuccess:"operate successfully",fileSizeMax:"Single file size limit",fileCountMax:"Limit the number to {x} at a time",fileLabel:"File Upload"},apTableModal:{titleSuffixOne:"You can add up to {maxCount},",titleSuffixTwo:"Added",titleSuffixThree:"",messageMaxCount:"You can select up to {maxCount} data entries",clear:"Clear",selected:"Selected"},apAttachment:{downloadall:"Download All",more:"More"},apSizeInput:{length:"Length",width:"Width",height:"Height"},apExpandAlert:{expand:"Expand",collapse:"Collapse"},apAppendix:{downloadAll:"Download All",downloadFile:"Download file",appendix:"Appendix"},apGroupSearch:{defaultPlaceholder:"Please input",close:"Close",clear:"Clear",confirm:"Confirm",tokenSeparatorsPlaceholder:"A maximum of 200 entries can be entered in batches, separated by commas and newlines"},batchInputGroup:{popoverInputPlaceholder:"A maximum of 200 entries can be entered in batches, separated by newlines"},apSummary:{total:"Total"},apView:{systemView:"System view",saveView:"Save view",maxTip:"The maximum number of views that can be saved has been reached. Please delete them before saving a new view",saveNewView:"Save as new wiew",newView:"New view",setDefault:"Default",viewName:"View name",notEmpty:"Cannot be empty",cancel:"Cancel",save:"Save",default:"Default",rename:"Rename",deleteTip:"Are you sure you want to delete this view?",ok:"Ok"},...e}};exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vxe-table/es/locale/lang/zh-CN"),t={name:"zh-cn",ap:{common:{okText:"确认",cancelText:"取消",resetText:"重置",queryText:"查询",expandText:"展开",closeText:"收起",inputText:"请输入",chooseText:"请选择",redo:"刷新",back:"返回",more:"更多",all:"全部"},field:{startDateText:"开始日期",endDateText:"结束日期",today:"今天",yesterday:"昨天",thisWeek:"本周",lastWeek:"上周",thisMonth:"本月",lastMonth:"上月",thisYear:"今年",lastYear:"去年",lastXDays:"近{day}天"},modal:{restore:"还原",maximize:"最大化",close:"关闭"},countdown:{normalText:"获取验证码",sendText:"{sec}秒后重新获取"},apForm:{search:{search:"查询",reset:"重置",moreFilter:"更多筛选",sorterTitle:"筛选条件自定义布局",sorterDesc:"可拖动排序,越靠前的筛选项会优先展示在列表页",sorterReset:"恢复默认",sorterConfirmBtn:"确定"}},apTable:{pagination:{totalLeftPrefix:"共",totalLeftSuffix:"条记录",totalRightPrefix:"第",totalRightSuffix:"页"},setting:{title:"自定义表格",selectAll:"全选",unSelectAll:"取消全选",selectAllTip:"请选择需要展示在表格的字段",sizeSmall:"紧凑",sizeNormal:"正常",selectCount:"已选字段({count})",reset:"重置",fixToLeft:"固定在左侧",fixToRight:"固定在右侧",unFixed:"不固定",delete:"删除"},paragraphEllipsis:{copy:"复制",copySuccess:"复制成功"}},apUpload:{update:"上传",pictureType:"图片类型",videoType:"视频类型",audioType:"音频类型",documentType:"文档类型",allTypes:"全部类型",networkAnomaly:"网络异常",FailedToObtainOssTemporaryPermissions:"获取oss临时权限失败",pleasePass:"请传入",supportExtension:"支持扩展名",uploadFile:"上传文件",fileInitializationException:"文件初始化个数超过{maxCount}个,后续上传的文件会与数据不同步",maxUploadFiles:"最多上传{maxCount}个文件",maxUploadPicture:"最多上传{maxCount}张图片",maxUploadFileSize:"文件大小不超过{maxSize}MB",maxWarnUploadFileSize:"文件大小小于{maxSize}MB",maxUploadPictureSize:"图片大小小于{maxSize}MB",fileFormatNotSupported:"不支持该格式的文件",pictureFormatNotSupported:"不支持该格式的图片",imageParsingFailed:"图片解析失败",clickOrDragUpload:"点击或将文件拖拽到这里上传",foldersNotSupported:"不支持上传文件夹"},apExportGroup:{exportError:"导出失败",exportSelected:"导出所选",exportAll:"导出全部",export:"导出
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vxe-table/es/locale/lang/zh-CN"),t={name:"zh-cn",ap:{common:{okText:"确认",cancelText:"取消",resetText:"重置",queryText:"查询",expandText:"展开",closeText:"收起",inputText:"请输入",chooseText:"请选择",redo:"刷新",back:"返回",more:"更多",all:"全部"},field:{startDateText:"开始日期",endDateText:"结束日期",today:"今天",yesterday:"昨天",thisWeek:"本周",lastWeek:"上周",thisMonth:"本月",lastMonth:"上月",thisYear:"今年",lastYear:"去年",lastXDays:"近{day}天"},modal:{restore:"还原",maximize:"最大化",close:"关闭"},countdown:{normalText:"获取验证码",sendText:"{sec}秒后重新获取"},apForm:{search:{search:"查询",reset:"重置",moreFilter:"更多筛选",sorterTitle:"筛选条件自定义布局",sorterDesc:"可拖动排序,越靠前的筛选项会优先展示在列表页",sorterReset:"恢复默认",sorterConfirmBtn:"确定"}},apTable:{pagination:{totalLeftPrefix:"共",totalLeftSuffix:"条记录",totalRightPrefix:"第",totalRightSuffix:"页"},setting:{title:"自定义表格",selectAll:"全选",unSelectAll:"取消全选",selectAllTip:"请选择需要展示在表格的字段",sizeSmall:"紧凑",sizeNormal:"正常",selectCount:"已选字段({count})",reset:"重置",fixToLeft:"固定在左侧",fixToRight:"固定在右侧",unFixed:"不固定",delete:"删除"},paragraphEllipsis:{copy:"复制",copySuccess:"复制成功"}},apUpload:{update:"上传",pictureType:"图片类型",videoType:"视频类型",audioType:"音频类型",documentType:"文档类型",allTypes:"全部类型",networkAnomaly:"网络异常",FailedToObtainOssTemporaryPermissions:"获取oss临时权限失败",pleasePass:"请传入",supportExtension:"支持扩展名",uploadFile:"上传文件",fileInitializationException:"文件初始化个数超过{maxCount}个,后续上传的文件会与数据不同步",maxUploadFiles:"最多上传{maxCount}个文件",maxUploadPicture:"最多上传{maxCount}张图片",maxUploadFileSize:"文件大小不超过{maxSize}MB",maxWarnUploadFileSize:"文件大小小于{maxSize}MB",maxUploadPictureSize:"图片大小小于{maxSize}MB",fileFormatNotSupported:"不支持该格式的文件",pictureFormatNotSupported:"不支持该格式的图片",imageParsingFailed:"图片解析失败",clickOrDragUpload:"点击或将文件拖拽到这里上传",foldersNotSupported:"不支持上传文件夹"},apExportGroup:{exportError:"导出失败",exportSelected:"导出所选",exportAll:"导出全部",export:"导出",exportSuccess:"任务已提交,前往下载中心查看进度"},apBatchAction:{selected:"已选",piecesOfData:"条数据",empty:"清空"},apApBatchActionGroup:{batchOperation:"批量操作"},workOrderModal:{createTickets:"创建工单",submit:"确定",cancel:"取消",ticketsTitle:"工单标题",noEmpty:"不可为空",pleaseEntry:"请输入(300字以内)",ticketsType:"工单类型",ticketsDetail:"工单详情",ticketsLevel:"优先级",operationSuccess:"操作成功",fileSizeMax:"单个文件大小限制",fileCountMax:"单次数量限制 {x} 个",fileLabel:"上传附件"},apTableModal:{titleSuffixOne:"最多可添加{maxCount}个,",titleSuffixTwo:"已添加",titleSuffixThree:"个",messageMaxCount:"最多选择{maxCount}条数据",clear:"清空",selected:"已选"},apAttachment:{downloadall:"下载全部",more:"更多"},apSizeInput:{length:"长",width:"宽",height:"高"},apExpandAlert:{expand:"展开",collapse:"收起"},apAppendix:{downloadAll:"下载全部",downloadFile:"下载文件",appendix:"附件"},apGroupSearch:{defaultPlaceholder:"请输入",close:"关闭",clear:"清空",confirm:"确定",tokenSeparatorsPlaceholder:"支持批量输入,可用逗号、换行符号分隔,最多输入200条"},batchInputGroup:{popoverInputPlaceholder:"支持批量输入,可用换行符分隔,最多输入200条"},apSummary:{total:"合计"},apView:{systemView:"系统视图",saveView:"保存视图",maxTip:"视图已达保存上限,请先删除后再保存新视图",saveNewView:"保存新视图",newView:"新视图",setDefault:"设为默认",viewName:"视图名称",notEmpty:"不可为空",cancel:"取消",save:"保存",default:"默认",rename:"重命名",deleteTip:"确定删除该视图吗?",ok:"确定"},...e}};exports.default=t;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.6.0-beta.
|
|
3
|
+
"version": "0.6.0-beta.10",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
67
67
|
"vuedraggable": "^4.1.0",
|
|
68
68
|
"@aplus-frontend/hooks": "1.0.7",
|
|
69
|
-
"@aplus-frontend/utils": "1.0.
|
|
69
|
+
"@aplus-frontend/utils": "1.0.57"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
|
-
"@aplus-frontend/antdv": "^1.1.
|
|
72
|
+
"@aplus-frontend/antdv": "^1.1.5",
|
|
73
73
|
"@aplus-frontend/icon": "^1.2.3",
|
|
74
74
|
"@aplus-frontend/oss": "^1.1.2",
|
|
75
75
|
"vue": "^3.5.13",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"vxe-table": "4.11.29"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@aplus-frontend/antdv": "^1.1.
|
|
80
|
+
"@aplus-frontend/antdv": "^1.1.5",
|
|
81
81
|
"@aplus-frontend/icon": "^1.2.3",
|
|
82
82
|
"@aplus-frontend/oss": "^1.1.2",
|
|
83
83
|
"@types/sortablejs": "^1.15.8",
|
|
@@ -166,8 +166,8 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
166
166
|
.ant-modal-root .ant-modal .ant-modal-close-x {
|
|
167
167
|
display: inline-block;
|
|
168
168
|
width: 96px;
|
|
169
|
-
height:
|
|
170
|
-
line-height:
|
|
169
|
+
height: 47px;
|
|
170
|
+
line-height: 47px;
|
|
171
171
|
text-align: start;
|
|
172
172
|
}
|
|
173
173
|
.ant-modal-root .ant-modal .ant-modal-close-x > div {
|
|
@@ -188,24 +188,11 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
188
188
|
}
|
|
189
189
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-header {
|
|
190
190
|
margin-bottom: 0;
|
|
191
|
-
padding:
|
|
191
|
+
padding: 12px 20px;
|
|
192
192
|
border-bottom: 1px solid #E9E9E9;
|
|
193
193
|
}
|
|
194
|
-
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-header .ant-modal-title {
|
|
195
|
-
color: #333333;
|
|
196
|
-
font-weight: normal;
|
|
197
|
-
font-size: 16px;
|
|
198
|
-
line-height: 24px;
|
|
199
|
-
}
|
|
200
|
-
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-header .ant-modal-title > span {
|
|
201
|
-
padding-left: 0;
|
|
202
|
-
color: #333333;
|
|
203
|
-
font-weight: normal;
|
|
204
|
-
font-size: 16px;
|
|
205
|
-
line-height: 24px;
|
|
206
|
-
}
|
|
207
194
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-body {
|
|
208
|
-
padding: 20px !important;
|
|
195
|
+
padding: 16px 20px !important;
|
|
209
196
|
}
|
|
210
197
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-body > .scrollbar {
|
|
211
198
|
padding: 0;
|
|
@@ -222,14 +209,11 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
222
209
|
}
|
|
223
210
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-footer {
|
|
224
211
|
margin-top: 0;
|
|
225
|
-
padding:
|
|
226
|
-
border-top:
|
|
212
|
+
padding: 0 20px 12px;
|
|
213
|
+
border-top: none;
|
|
227
214
|
}
|
|
228
215
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-footer button {
|
|
229
|
-
min-width:
|
|
230
|
-
}
|
|
231
|
-
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body {
|
|
232
|
-
padding: 32px 32px 28px !important;
|
|
216
|
+
min-width: 72px;
|
|
233
217
|
}
|
|
234
218
|
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-body > .anticon {
|
|
235
219
|
margin-inline-end: 16px;
|
|
@@ -258,7 +242,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
258
242
|
padding-top: 24px;
|
|
259
243
|
}
|
|
260
244
|
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns button {
|
|
261
|
-
min-width:
|
|
245
|
+
min-width: 72px;
|
|
262
246
|
}
|
|
263
247
|
.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
|
|
264
248
|
color: #06c687;
|
|
@@ -793,7 +777,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
793
777
|
[class*='-basic-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar,
|
|
794
778
|
[class*='-ap-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar,
|
|
795
779
|
[class*='-pro-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar {
|
|
796
|
-
bottom:
|
|
780
|
+
bottom: 48px;
|
|
797
781
|
}
|
|
798
782
|
[class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
|
|
799
783
|
[class*='-ap-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
|
|
@@ -817,7 +801,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
817
801
|
bottom: 0;
|
|
818
802
|
z-index: 90;
|
|
819
803
|
margin: 0;
|
|
820
|
-
padding:
|
|
804
|
+
padding: 12px 0;
|
|
821
805
|
background-color: #ffffff;
|
|
822
806
|
}
|
|
823
807
|
[class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
@@ -838,5 +822,8 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
838
822
|
[class*='-basic-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
839
823
|
[class*='-ap-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
840
824
|
[class*='-pro-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination {
|
|
841
|
-
padding-top:
|
|
825
|
+
padding-top: 4px;
|
|
826
|
+
}
|
|
827
|
+
.ant-tooltip div[role='tooltip'] {
|
|
828
|
+
padding-block: 6px;
|
|
842
829
|
}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
.ant-modal-root .ant-modal .ant-modal-close-x {
|
|
16
16
|
display: inline-block;
|
|
17
17
|
width: 96px;
|
|
18
|
-
height:
|
|
19
|
-
line-height:
|
|
18
|
+
height: 47px;
|
|
19
|
+
line-height: 47px;
|
|
20
20
|
text-align: start;
|
|
21
21
|
}
|
|
22
22
|
.ant-modal-root .ant-modal .ant-modal-close-x > div {
|
|
@@ -37,24 +37,11 @@
|
|
|
37
37
|
}
|
|
38
38
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-header {
|
|
39
39
|
margin-bottom: 0;
|
|
40
|
-
padding:
|
|
40
|
+
padding: 12px 20px;
|
|
41
41
|
border-bottom: 1px solid #E9E9E9;
|
|
42
42
|
}
|
|
43
|
-
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-header .ant-modal-title {
|
|
44
|
-
color: #333333;
|
|
45
|
-
font-weight: normal;
|
|
46
|
-
font-size: 16px;
|
|
47
|
-
line-height: 24px;
|
|
48
|
-
}
|
|
49
|
-
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-header .ant-modal-title > span {
|
|
50
|
-
padding-left: 0;
|
|
51
|
-
color: #333333;
|
|
52
|
-
font-weight: normal;
|
|
53
|
-
font-size: 16px;
|
|
54
|
-
line-height: 24px;
|
|
55
|
-
}
|
|
56
43
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-body {
|
|
57
|
-
padding: 20px !important;
|
|
44
|
+
padding: 16px 20px !important;
|
|
58
45
|
}
|
|
59
46
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-body > .scrollbar {
|
|
60
47
|
padding: 0;
|
|
@@ -71,14 +58,11 @@
|
|
|
71
58
|
}
|
|
72
59
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-footer {
|
|
73
60
|
margin-top: 0;
|
|
74
|
-
padding:
|
|
75
|
-
border-top:
|
|
61
|
+
padding: 0 20px 12px;
|
|
62
|
+
border-top: none;
|
|
76
63
|
}
|
|
77
64
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-footer button {
|
|
78
|
-
min-width:
|
|
79
|
-
}
|
|
80
|
-
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body {
|
|
81
|
-
padding: 32px 32px 28px !important;
|
|
65
|
+
min-width: 72px;
|
|
82
66
|
}
|
|
83
67
|
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-body > .anticon {
|
|
84
68
|
margin-inline-end: 16px;
|
|
@@ -107,7 +91,7 @@
|
|
|
107
91
|
padding-top: 24px;
|
|
108
92
|
}
|
|
109
93
|
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns button {
|
|
110
|
-
min-width:
|
|
94
|
+
min-width: 72px;
|
|
111
95
|
}
|
|
112
96
|
.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
|
|
113
97
|
color: #06c687;
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
.ant-modal-close-x {
|
|
20
20
|
display: inline-block;
|
|
21
21
|
width: 96px;
|
|
22
|
-
height:
|
|
23
|
-
line-height:
|
|
22
|
+
height: 47px;
|
|
23
|
+
line-height: 47px;
|
|
24
24
|
text-align: start;
|
|
25
25
|
|
|
26
26
|
& > div {
|
|
@@ -45,27 +45,12 @@
|
|
|
45
45
|
|
|
46
46
|
.ant-modal-header {
|
|
47
47
|
margin-bottom: 0;
|
|
48
|
-
padding:
|
|
48
|
+
padding: 12px 20px;
|
|
49
49
|
border-bottom: 1px solid#E9E9E9;
|
|
50
|
-
|
|
51
|
-
.ant-modal-title {
|
|
52
|
-
color: #333333;
|
|
53
|
-
font-weight: normal;
|
|
54
|
-
font-size: 16px;
|
|
55
|
-
line-height: 24px;
|
|
56
|
-
|
|
57
|
-
& > span {
|
|
58
|
-
padding-left: 0;
|
|
59
|
-
color: #333333;
|
|
60
|
-
font-weight: normal;
|
|
61
|
-
font-size: 16px;
|
|
62
|
-
line-height: 24px;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
50
|
}
|
|
66
51
|
|
|
67
52
|
.ant-modal-body {
|
|
68
|
-
padding: 20px !important;
|
|
53
|
+
padding: 16px 20px !important;
|
|
69
54
|
|
|
70
55
|
& > .scrollbar {
|
|
71
56
|
padding: 0;
|
|
@@ -87,11 +72,11 @@
|
|
|
87
72
|
|
|
88
73
|
.ant-modal-footer {
|
|
89
74
|
margin-top: 0;
|
|
90
|
-
padding:
|
|
91
|
-
border-top:
|
|
75
|
+
padding: 0 20px 12px;
|
|
76
|
+
border-top: none;
|
|
92
77
|
|
|
93
78
|
button {
|
|
94
|
-
min-width:
|
|
79
|
+
min-width: 72px;
|
|
95
80
|
}
|
|
96
81
|
}
|
|
97
82
|
}
|
|
@@ -100,7 +85,7 @@
|
|
|
100
85
|
.ant-modal-confirm {
|
|
101
86
|
.ant-modal-content {
|
|
102
87
|
.ant-modal-body {
|
|
103
|
-
padding: 32px 32px 28px !important;
|
|
88
|
+
// padding: 32px 32px 28px !important;
|
|
104
89
|
|
|
105
90
|
.ant-modal-confirm-body {
|
|
106
91
|
& > .anticon {
|
|
@@ -135,7 +120,7 @@
|
|
|
135
120
|
padding-top: 24px;
|
|
136
121
|
|
|
137
122
|
button {
|
|
138
|
-
min-width:
|
|
123
|
+
min-width: 72px;
|
|
139
124
|
}
|
|
140
125
|
}
|
|
141
126
|
}
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
[class*='-basic-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar,
|
|
270
270
|
[class*='-ap-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar,
|
|
271
271
|
[class*='-pro-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar {
|
|
272
|
-
bottom:
|
|
272
|
+
bottom: 48px;
|
|
273
273
|
}
|
|
274
274
|
[class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
|
|
275
275
|
[class*='-ap-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
bottom: 0;
|
|
294
294
|
z-index: 90;
|
|
295
295
|
margin: 0;
|
|
296
|
-
padding:
|
|
296
|
+
padding: 12px 0;
|
|
297
297
|
background-color: #ffffff;
|
|
298
298
|
}
|
|
299
299
|
[class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
@@ -314,5 +314,5 @@
|
|
|
314
314
|
[class*='-basic-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
315
315
|
[class*='-ap-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
316
316
|
[class*='-pro-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination {
|
|
317
|
-
padding-top:
|
|
317
|
+
padding-top: 4px;
|
|
318
318
|
}
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
|
|
168
168
|
&:has(ul.ant-pagination) {
|
|
169
169
|
.@{sb} {
|
|
170
|
-
bottom:
|
|
170
|
+
bottom: 48px;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -176,13 +176,13 @@
|
|
|
176
176
|
bottom: 0;
|
|
177
177
|
z-index: 90;
|
|
178
178
|
margin: 0;
|
|
179
|
-
padding:
|
|
179
|
+
padding: 12px 0;
|
|
180
180
|
background-color: #ffffff;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
&:has(.@{sb}) {
|
|
184
184
|
ul.ant-pagination {
|
|
185
|
-
padding-top:
|
|
185
|
+
padding-top: 4px;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
}
|
|
@@ -196,8 +196,8 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
196
196
|
.ant-modal-root .ant-modal .ant-modal-close-x {
|
|
197
197
|
display: inline-block;
|
|
198
198
|
width: 96px;
|
|
199
|
-
height:
|
|
200
|
-
line-height:
|
|
199
|
+
height: 47px;
|
|
200
|
+
line-height: 47px;
|
|
201
201
|
text-align: start;
|
|
202
202
|
}
|
|
203
203
|
.ant-modal-root .ant-modal .ant-modal-close-x > div {
|
|
@@ -218,18 +218,11 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
218
218
|
}
|
|
219
219
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-header {
|
|
220
220
|
margin-bottom: 0;
|
|
221
|
-
padding:
|
|
221
|
+
padding: 12px 20px;
|
|
222
222
|
border-bottom: 1px solid #E9EDF3;
|
|
223
223
|
}
|
|
224
|
-
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-header .ant-modal-title > span {
|
|
225
|
-
padding-left: 0;
|
|
226
|
-
color: #182948;
|
|
227
|
-
font-weight: bold;
|
|
228
|
-
font-size: 16px;
|
|
229
|
-
line-height: 24px;
|
|
230
|
-
}
|
|
231
224
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-body {
|
|
232
|
-
padding: 20px !important;
|
|
225
|
+
padding: 16px 20px !important;
|
|
233
226
|
}
|
|
234
227
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-body > .scrollbar {
|
|
235
228
|
padding: 0;
|
|
@@ -246,14 +239,11 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
246
239
|
}
|
|
247
240
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-footer {
|
|
248
241
|
margin-top: 0;
|
|
249
|
-
padding: 0 20px
|
|
242
|
+
padding: 0 20px 12px;
|
|
250
243
|
border-top: none;
|
|
251
244
|
}
|
|
252
245
|
.ant-modal-root .ant-modal .ant-modal-content .ant-modal-footer button {
|
|
253
|
-
min-width:
|
|
254
|
-
}
|
|
255
|
-
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body {
|
|
256
|
-
padding: 32px 32px 28px !important;
|
|
246
|
+
min-width: 72px;
|
|
257
247
|
}
|
|
258
248
|
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-body > .anticon {
|
|
259
249
|
margin-inline-end: 16px;
|
|
@@ -282,7 +272,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
282
272
|
padding-top: 24px;
|
|
283
273
|
}
|
|
284
274
|
.ant-modal-root .ant-modal-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns button {
|
|
285
|
-
min-width:
|
|
275
|
+
min-width: 72px;
|
|
286
276
|
}
|
|
287
277
|
.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
|
|
288
278
|
color: #06c687;
|
|
@@ -825,7 +815,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
825
815
|
[class*='-basic-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar,
|
|
826
816
|
[class*='-ap-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar,
|
|
827
817
|
[class*='-pro-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(ul.ant-pagination) .aplus-scroll-bar {
|
|
828
|
-
bottom:
|
|
818
|
+
bottom: 48px;
|
|
829
819
|
}
|
|
830
820
|
[class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
|
|
831
821
|
[class*='-ap-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
|
|
@@ -849,7 +839,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
849
839
|
bottom: 0;
|
|
850
840
|
z-index: 90;
|
|
851
841
|
margin: 0;
|
|
852
|
-
padding:
|
|
842
|
+
padding: 12px 0;
|
|
853
843
|
background-color: #ffffff;
|
|
854
844
|
}
|
|
855
845
|
[class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
@@ -870,7 +860,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
870
860
|
[class*='-basic-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
871
861
|
[class*='-ap-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination,
|
|
872
862
|
[class*='-pro-table'].ap-table--sticky .ant-table-wrapper .ant-spin-container:has(.aplus-scroll-bar) ul.ant-pagination {
|
|
873
|
-
padding-top:
|
|
863
|
+
padding-top: 4px;
|
|
874
864
|
}
|
|
875
865
|
.ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner {
|
|
876
866
|
border-color: #d3d7de;
|
|
@@ -878,3 +868,6 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
|
|
|
878
868
|
.ant-radio:not(.ant-radio-checked) .ant-radio-inner {
|
|
879
869
|
border-color: #d3d7de;
|
|
880
870
|
}
|
|
871
|
+
.ant-tooltip div[role='tooltip'] {
|
|
872
|
+
padding-block: 6px;
|
|
873
|
+
}
|