@aplus-frontend/ui 7.6.0 → 7.7.0
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/ag-grid/hooks/use-columns-def.mjs +32 -31
- package/es/src/ag-grid/hooks/use-editable-api.mjs +9 -8
- package/es/src/ag-grid/hooks/use-editable-columns.mjs +26 -25
- package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +11 -10
- package/es/src/ag-grid/index.vue.mjs +22 -21
- package/es/src/ag-grid/renderer/number.mjs +7 -7
- package/es/src/ag-grid/style/custom-header.mjs +3 -3
- package/es/src/ag-grid/style/index.mjs +1 -1
- package/es/src/ap-action/style/index.mjs +1 -1
- package/es/src/ap-drawer/style/index.mjs +12 -12
- package/es/src/ap-field/hooks/use-default-placeholder.mjs +5 -4
- package/es/src/ap-field/number/helper.mjs +1 -1
- package/es/src/ap-field/number/index.vue.mjs +9 -9
- package/es/src/ap-field/number/read.vue2.mjs +5 -5
- package/es/src/ap-field/style/checkbox.d.ts +2 -2
- package/es/src/ap-field/style/number.d.ts +2 -2
- package/es/src/ap-field/style/radio.d.ts +2 -2
- package/es/src/ap-field/style/textarea.d.ts +2 -2
- package/es/src/ap-field/switch/index.vue.mjs +4 -3
- package/es/src/ap-form/ap-form.vue2.mjs +18 -17
- package/es/src/ap-form/item/index.vue.mjs +6 -6
- package/es/src/ap-form/item-group/helper.mjs +8 -7
- package/es/src/ap-form/item-group/index.vue.mjs +15 -14
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +24 -22
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +4 -1
- package/es/src/ap-form/search-form/hooks/use-sorter.mjs +9 -8
- package/es/src/ap-form/search-form/index.vue.mjs +12 -11
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-form/style/item.mjs +15 -15
- package/es/src/ap-form/style/modal-form.mjs +2 -1
- package/es/src/ap-form/style/search-form-sorter.mjs +1 -1
- package/es/src/ap-form/style/search-form.d.ts +7 -1
- package/es/src/ap-form/style/search-form.mjs +37 -34
- package/es/src/ap-grid/editable/form-item.vue.mjs +4 -3
- package/es/src/ap-grid/editable/index.vue.mjs +4 -3
- package/es/src/ap-grid/index.vue.mjs +13 -12
- package/es/src/ap-grid/style/editable.mjs +7 -7
- package/es/src/ap-grid/style/index.mjs +11 -11
- package/es/src/ap-grid/utils/table.mjs +14 -13
- package/es/src/ap-list/hooks/use-offline-list.d.ts +2 -2
- package/es/src/ap-list/hooks/use-offline-list.mjs +13 -12
- package/es/src/ap-list/style/index.mjs +1 -1
- package/es/src/ap-pro-card/style/divider.mjs +2 -2
- package/es/src/ap-pro-card/style/index.mjs +14 -14
- package/es/src/ap-pro-card/style/operation.mjs +1 -2
- package/es/src/ap-pro-card/style/statistic.mjs +12 -12
- package/es/src/ap-pro-card/style/statistics-card.mjs +13 -13
- package/es/src/ap-pro-card/style/title.mjs +13 -33
- package/es/src/ap-table/ap-table.vue2.mjs +4 -3
- package/es/src/ap-table/hooks/use-table-column-state.mjs +23 -22
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +4 -3
- package/es/src/ap-table/style/index-comp.d.ts +2 -1
- package/es/src/ap-table/style/index-comp.mjs +15 -12
- package/es/src/ap-table/style/index.d.ts +3 -0
- package/es/src/ap-table/style/index.mjs +14 -11
- package/es/src/ap-table/style/setting.d.ts +2 -1
- package/es/src/ap-table/style/setting.mjs +73 -61
- package/es/src/ap-table/utils.mjs +61 -62
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +15 -15
- package/es/src/business/ag-grid-modal/style/index.d.ts +3 -0
- package/es/src/business/ag-grid-modal/style/index.mjs +24 -20
- package/es/src/business/ag-grid-modal/style/selected-items.mjs +8 -8
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +26 -27
- package/es/src/business/ap-appendix/style/index.mjs +20 -21
- package/es/src/business/ap-attachment/style/index.d.ts +6 -0
- package/es/src/business/ap-attachment/style/index.mjs +28 -25
- package/es/src/business/ap-batch-action/style/index.d.ts +2 -2
- package/es/src/business/ap-batch-action/style/index.mjs +18 -18
- package/es/src/business/ap-card/style/index.d.ts +2 -2
- package/es/src/business/ap-card/style/index.mjs +8 -8
- package/es/src/business/ap-copy/style/index.mjs +16 -22
- package/es/src/business/ap-descriptions/formatter/index.mjs +1 -1
- package/es/src/business/ap-descriptions/style/index.mjs +6 -5
- package/es/src/business/ap-download/style/index.mjs +4 -4
- package/es/src/business/ap-draggable-grid/style/index.mjs +7 -7
- package/es/src/business/ap-expand-alert/style/index.mjs +30 -26
- package/es/src/business/ap-image/style/index.d.ts +2 -2
- package/es/src/business/ap-image/style/index.mjs +8 -7
- package/es/src/business/ap-input-radio/style/index.mjs +1 -1
- package/es/src/business/ap-label/style/index.d.ts +14 -0
- package/es/src/business/ap-label/style/index.mjs +29 -19
- package/es/src/business/ap-ladder/style/index.mjs +7 -6
- package/es/src/business/ap-product-info/style/index.d.ts +10 -0
- package/es/src/business/ap-product-info/style/index.mjs +35 -28
- package/es/src/business/ap-radio-group/style/index.mjs +3 -3
- package/es/src/business/ap-select-layout/style/index.d.ts +6 -0
- package/es/src/business/ap-select-layout/style/index.mjs +59 -53
- package/es/src/business/ap-size-input/style/index.mjs +3 -3
- package/es/src/business/ap-status/style/index.mjs +1 -1
- package/es/src/business/ap-summary/style/index.d.ts +10 -0
- package/es/src/business/ap-summary/style/index.mjs +18 -11
- package/es/src/business/ap-table-modal/style/index.d.ts +11 -1
- package/es/src/business/ap-table-modal/style/index.mjs +17 -12
- package/es/src/business/ap-tag/style/index.mjs +33 -31
- package/es/src/business/ap-title/style/index.d.ts +2 -1
- package/es/src/business/ap-title/style/index.mjs +41 -49
- package/es/src/business/ap-upload/style/index.mjs +10 -5
- package/es/src/business/ap-upload/style/multiple-file.d.ts +2 -2
- package/es/src/business/ap-upload/style/multiple-file.mjs +8 -7
- package/es/src/business/ap-upload/style/picture.d.ts +3 -2
- package/es/src/business/ap-upload/style/picture.mjs +26 -26
- package/es/src/business/ap-upload/style/single-file.d.ts +3 -2
- package/es/src/business/ap-upload/style/single-file.mjs +30 -29
- package/es/src/business/ap-upload/style/token.d.ts +19 -0
- package/es/src/business/ap-upload/style/token.mjs +9 -0
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +24 -2
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.mjs +51 -42
- package/es/src/business/ap-value-select-card/style/index.mjs +45 -43
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +14 -14
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +35 -34
- package/es/src/business/ap-view/style/index.d.ts +6 -2
- package/es/src/business/ap-view/style/index.mjs +43 -35
- package/es/src/business/batch-input-group/index.vue.mjs +23 -22
- package/es/src/business/batch-input-group/style/index.mjs +2 -2
- package/es/src/check-card/style/index.mjs +17 -17
- package/es/src/design-token/constants.mjs +9 -1
- package/es/src/design-token/interface.d.ts +137 -12
- package/es/src/editable-table/form-item.vue.mjs +4 -3
- package/es/src/editable-table/index.vue.mjs +4 -3
- package/es/src/editable-table/style/index.mjs +11 -11
- package/es/src/editable-table/utils.d.ts +1 -1
- package/es/src/editable-table/utils.mjs +27 -26
- package/es/src/hooks/useMessage.mjs +4 -4
- package/es/src/loading-bar/index.vue2.mjs +4 -3
- package/es/src/loading-bar/style/index.mjs +10 -10
- package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +10 -9
- package/es/src/scroll-view/index.vue.mjs +4 -3
- package/es/src/splitter/style/index.mjs +11 -11
- package/es/src/text/index.vue.mjs +8 -7
- package/es/src/utils/cssinjs/TokenUtil.d.ts +1 -0
- package/es/src/utils/cssinjs/TokenUtil.mjs +3 -0
- package/es/src/utils/decimal.d.ts +36 -0
- package/es/src/utils/decimal.mjs +45 -0
- package/es/src/utils/format.d.ts +21 -0
- package/es/src/utils/format.mjs +32 -0
- package/es/src/utils/index.d.ts +2 -1
- package/es/src/utils/index.mjs +20 -22
- package/es/src/utils/is.d.ts +54 -0
- package/es/src/utils/is.mjs +26 -0
- package/es/src/utils/slot.mjs +1 -2
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/renderer/number.js +1 -1
- package/lib/src/ag-grid/style/custom-header.js +1 -1
- package/lib/src/ag-grid/style/index.js +1 -1
- package/lib/src/ap-action/style/index.js +1 -1
- package/lib/src/ap-drawer/style/index.js +1 -1
- package/lib/src/ap-field/hooks/use-default-placeholder.js +1 -1
- package/lib/src/ap-field/number/helper.js +1 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/style/checkbox.d.ts +2 -2
- package/lib/src/ap-field/style/number.d.ts +2 -2
- package/lib/src/ap-field/style/radio.d.ts +2 -2
- package/lib/src/ap-field/style/textarea.d.ts +2 -2
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/helper.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- 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/hooks/use-sorter.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/style/modal-form.js +1 -1
- package/lib/src/ap-form/style/search-form-sorter.js +1 -1
- package/lib/src/ap-form/style/search-form.d.ts +7 -1
- package/lib/src/ap-form/style/search-form.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/index.vue.js +1 -1
- package/lib/src/ap-grid/style/editable.js +1 -1
- package/lib/src/ap-grid/style/index.js +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +2 -2
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/style/index.js +1 -1
- package/lib/src/ap-pro-card/style/divider.js +1 -1
- package/lib/src/ap-pro-card/style/index.js +1 -1
- package/lib/src/ap-pro-card/style/operation.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
- package/lib/src/ap-pro-card/style/title.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/style/index-comp.d.ts +2 -1
- package/lib/src/ap-table/style/index-comp.js +1 -1
- package/lib/src/ap-table/style/index.d.ts +3 -0
- package/lib/src/ap-table/style/index.js +1 -1
- package/lib/src/ap-table/style/setting.d.ts +2 -1
- package/lib/src/ap-table/style/setting.js +1 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/style/index.d.ts +3 -0
- package/lib/src/business/ag-grid-modal/style/index.js +1 -1
- package/lib/src/business/ag-grid-modal/style/selected-items.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-appendix/style/index.js +1 -1
- package/lib/src/business/ap-attachment/style/index.d.ts +6 -0
- package/lib/src/business/ap-attachment/style/index.js +1 -1
- package/lib/src/business/ap-batch-action/style/index.d.ts +2 -2
- package/lib/src/business/ap-batch-action/style/index.js +1 -1
- package/lib/src/business/ap-card/style/index.d.ts +2 -2
- package/lib/src/business/ap-card/style/index.js +1 -1
- package/lib/src/business/ap-copy/style/index.js +1 -1
- package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
- package/lib/src/business/ap-descriptions/style/index.js +1 -1
- package/lib/src/business/ap-download/style/index.js +1 -1
- package/lib/src/business/ap-draggable-grid/style/index.js +1 -1
- package/lib/src/business/ap-expand-alert/style/index.js +1 -1
- package/lib/src/business/ap-image/style/index.d.ts +2 -2
- package/lib/src/business/ap-image/style/index.js +1 -1
- package/lib/src/business/ap-input-radio/style/index.js +1 -1
- package/lib/src/business/ap-label/style/index.d.ts +14 -0
- package/lib/src/business/ap-label/style/index.js +1 -1
- package/lib/src/business/ap-ladder/style/index.js +1 -1
- package/lib/src/business/ap-product-info/style/index.d.ts +10 -0
- package/lib/src/business/ap-product-info/style/index.js +1 -1
- package/lib/src/business/ap-radio-group/style/index.js +1 -1
- package/lib/src/business/ap-select-layout/style/index.d.ts +6 -0
- package/lib/src/business/ap-select-layout/style/index.js +1 -1
- package/lib/src/business/ap-size-input/style/index.js +1 -1
- package/lib/src/business/ap-status/style/index.js +1 -1
- package/lib/src/business/ap-summary/style/index.d.ts +10 -0
- package/lib/src/business/ap-summary/style/index.js +1 -1
- package/lib/src/business/ap-table-modal/style/index.d.ts +11 -1
- package/lib/src/business/ap-table-modal/style/index.js +1 -1
- package/lib/src/business/ap-tag/style/index.js +1 -1
- package/lib/src/business/ap-title/style/index.d.ts +2 -1
- package/lib/src/business/ap-title/style/index.js +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -1
- package/lib/src/business/ap-upload/style/multiple-file.d.ts +2 -2
- package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
- package/lib/src/business/ap-upload/style/picture.d.ts +3 -2
- package/lib/src/business/ap-upload/style/picture.js +1 -1
- package/lib/src/business/ap-upload/style/single-file.d.ts +3 -2
- package/lib/src/business/ap-upload/style/single-file.js +1 -1
- package/lib/src/business/ap-upload/style/token.d.ts +19 -0
- package/lib/src/business/ap-upload/style/token.js +1 -0
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +24 -2
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.js +1 -1
- package/lib/src/business/ap-value-select-card/style/index.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/style/index.d.ts +6 -2
- package/lib/src/business/ap-view/style/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/style/index.js +1 -1
- package/lib/src/check-card/style/index.js +1 -1
- package/lib/src/design-token/constants.js +1 -1
- package/lib/src/design-token/interface.d.ts +137 -12
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/style/index.js +1 -1
- package/lib/src/editable-table/utils.d.ts +1 -1
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/loading-bar/index.vue2.js +1 -1
- package/lib/src/loading-bar/style/index.js +3 -3
- package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/splitter/style/index.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/utils/cssinjs/TokenUtil.d.ts +1 -0
- package/lib/src/utils/cssinjs/TokenUtil.js +1 -1
- package/lib/src/utils/decimal.d.ts +36 -0
- package/lib/src/utils/decimal.js +1 -0
- package/lib/src/utils/format.d.ts +21 -0
- package/lib/src/utils/format.js +1 -0
- package/lib/src/utils/index.d.ts +2 -1
- package/lib/src/utils/index.js +1 -1
- package/lib/src/utils/is.d.ts +54 -0
- package/lib/src/utils/is.js +1 -0
- package/lib/src/utils/slot.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +4 -4
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +0 -3
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +0 -18
- package/es/src/utils/copy-text-to-clipboard.d.ts +0 -1
- package/es/src/utils/tree.d.ts +0 -38
- package/es/src/utils/uuid.d.ts +0 -2
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +0 -3
- package/lib/src/business/ap-appendix/icons/file-icon.vue.js +0 -1
- package/lib/src/utils/copy-text-to-clipboard.d.ts +0 -1
- package/lib/src/utils/tree.d.ts +0 -38
- package/lib/src/utils/uuid.d.ts +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as T, ref as y, watch as $, createElementBlock as
|
|
1
|
+
import { defineComponent as T, ref as y, watch as $, createElementBlock as m, openBlock as c, normalizeClass as V, unref as e, createElementVNode as o, createCommentVNode as f, toDisplayString as r, createVNode as i, withModifiers as b, withCtx as v } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { useViewInject as B } from "../hooks/use-view-provide.mjs";
|
|
4
|
-
import { SYSTEM_VIEW_KEY as
|
|
5
|
-
import { Space as
|
|
4
|
+
import { SYSTEM_VIEW_KEY as C } from "../utils/enum.mjs";
|
|
5
|
+
import { Space as h, Popconfirm as F } from "@aplus-frontend/antdv";
|
|
6
6
|
import L from "../icons/line-delete.vue.mjs";
|
|
7
7
|
import "../../ap-tag/index.mjs";
|
|
8
8
|
import "../../../ap-form/ap-form.vue.mjs";
|
|
@@ -22,13 +22,13 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
|
|
|
22
22
|
view: {}
|
|
23
23
|
},
|
|
24
24
|
setup(N) {
|
|
25
|
-
const { b:
|
|
25
|
+
const { b: s } = j("ap-view"), d = P("ap-view"), { token: K } = Y(), { t: n } = A(), t = N, {
|
|
26
26
|
currentViewKey: D,
|
|
27
27
|
changeCurrentViewKey: S,
|
|
28
28
|
viewListCRUD: p,
|
|
29
29
|
tableKey: w,
|
|
30
30
|
menuOpen: _
|
|
31
|
-
} = B(),
|
|
31
|
+
} = B(), l = y(!1), k = y(), g = () => {
|
|
32
32
|
S(t.view.viewKey), _.value = !1;
|
|
33
33
|
}, E = () => {
|
|
34
34
|
p?.changeView?.({
|
|
@@ -36,69 +36,70 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
|
|
|
36
36
|
tableKey: w,
|
|
37
37
|
isDefault: !0
|
|
38
38
|
});
|
|
39
|
-
},
|
|
39
|
+
}, z = () => {
|
|
40
40
|
p?.removeView?.({
|
|
41
41
|
tableKey: w,
|
|
42
42
|
viewKey: t.view.viewKey
|
|
43
43
|
});
|
|
44
|
-
},
|
|
44
|
+
}, I = async () => {
|
|
45
45
|
const u = await k.value?.validate?.();
|
|
46
46
|
p?.changeView?.({
|
|
47
47
|
...t.view,
|
|
48
48
|
tableKey: w,
|
|
49
49
|
viewName: u?.viewName || t.view.viewName
|
|
50
|
-
}),
|
|
50
|
+
}), l.value = !1;
|
|
51
51
|
};
|
|
52
52
|
return $(
|
|
53
53
|
() => _.value,
|
|
54
54
|
(u) => {
|
|
55
|
-
u && (
|
|
55
|
+
u && (l.value = !1);
|
|
56
56
|
}
|
|
57
|
-
), (u, a) =>
|
|
57
|
+
), (u, a) => l.value === !1 ? (c(), m("div", {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: V({
|
|
60
|
-
[e(
|
|
61
|
-
[e(
|
|
62
|
-
|
|
60
|
+
[e(s)()]: !0,
|
|
61
|
+
[e(s)("menu-list-content")]: !0,
|
|
62
|
+
[e(s)("menu-list-content-active")]: t.view?.viewKey === e(D),
|
|
63
|
+
[e(d)]: !0
|
|
63
64
|
}),
|
|
64
65
|
onClick: g
|
|
65
66
|
}, [
|
|
66
67
|
o("div", U, [
|
|
67
68
|
o("span", {
|
|
68
69
|
title: t.view?.viewName
|
|
69
|
-
},
|
|
70
|
+
}, r(t.view?.viewName), 9, W)
|
|
70
71
|
]),
|
|
71
|
-
t.view?.viewKey !== e(
|
|
72
|
+
t.view?.viewKey !== e(C) && t.view?.isDefault ? (c(), m("div", q, [
|
|
72
73
|
i(e(O), {
|
|
73
74
|
text: e(n)("ap.apView.default"),
|
|
74
75
|
size: "small",
|
|
75
76
|
color: e(K).colorPrimary
|
|
76
77
|
}, null, 8, ["text", "color"])
|
|
77
78
|
])) : f("", !0),
|
|
78
|
-
t.view?.viewKey !== e(
|
|
79
|
+
t.view?.viewKey !== e(C) ? (c(), m("div", {
|
|
79
80
|
key: 1,
|
|
80
81
|
class: "menu-list-content-action",
|
|
81
82
|
onClick: a[1] || (a[1] = b(() => {
|
|
82
83
|
}, ["stop"]))
|
|
83
84
|
}, [
|
|
84
|
-
i(e(
|
|
85
|
-
default:
|
|
85
|
+
i(e(h), { size: 8 }, {
|
|
86
|
+
default: v(() => [
|
|
86
87
|
o("div", {
|
|
87
88
|
class: "menu-list-content-action-text",
|
|
88
|
-
onClick: a[0] || (a[0] = (R) =>
|
|
89
|
-
},
|
|
90
|
-
t.view?.isDefault ? f("", !0) : (
|
|
89
|
+
onClick: a[0] || (a[0] = (R) => l.value = !0)
|
|
90
|
+
}, r(e(n)("ap.apView.rename")), 1),
|
|
91
|
+
t.view?.isDefault ? f("", !0) : (c(), m("div", {
|
|
91
92
|
key: 0,
|
|
92
93
|
class: "menu-list-content-action-text",
|
|
93
94
|
onClick: E
|
|
94
|
-
},
|
|
95
|
+
}, r(e(n)("ap.apView.setDefault")), 1)),
|
|
95
96
|
o("div", G, [
|
|
96
97
|
i(e(F), {
|
|
97
98
|
title: e(n)("ap.apView.deleteTip"),
|
|
98
99
|
"ok-text": e(n)("ap.apView.ok"),
|
|
99
|
-
onConfirm:
|
|
100
|
+
onConfirm: z
|
|
100
101
|
}, {
|
|
101
|
-
default:
|
|
102
|
+
default: v(() => [
|
|
102
103
|
i(L)
|
|
103
104
|
]),
|
|
104
105
|
_: 1
|
|
@@ -108,9 +109,9 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
|
|
|
108
109
|
_: 1
|
|
109
110
|
})
|
|
110
111
|
])) : f("", !0)
|
|
111
|
-
], 2)) : (
|
|
112
|
+
], 2)) : (c(), m("div", {
|
|
112
113
|
key: 1,
|
|
113
|
-
class: V([e(
|
|
114
|
+
class: V([e(s)("menu-list-content"), e(s)("menu-list-content-edit"), e(d)])
|
|
114
115
|
}, [
|
|
115
116
|
i(x, {
|
|
116
117
|
ref_key: "formRef",
|
|
@@ -119,24 +120,24 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
|
|
|
119
120
|
viewName: t.view?.viewName
|
|
120
121
|
}
|
|
121
122
|
}, {
|
|
122
|
-
default:
|
|
123
|
+
default: v(() => [
|
|
123
124
|
o("div", H, [
|
|
124
|
-
i(e(
|
|
125
|
-
default:
|
|
125
|
+
i(e(h), { size: 8 }, {
|
|
126
|
+
default: v(() => [
|
|
126
127
|
i(x.FormItem, { name: "viewName" }, {
|
|
127
|
-
default:
|
|
128
|
+
default: v(() => [
|
|
128
129
|
i(e(M).Text, { maxlength: 20 })
|
|
129
130
|
]),
|
|
130
131
|
_: 1
|
|
131
132
|
}),
|
|
132
133
|
o("div", {
|
|
133
134
|
class: "menu-list-content-action-text",
|
|
134
|
-
onClick:
|
|
135
|
-
},
|
|
135
|
+
onClick: I
|
|
136
|
+
}, r(e(n)("ap.apView.save")), 1),
|
|
136
137
|
o("div", {
|
|
137
138
|
class: "menu-list-content-action-text",
|
|
138
|
-
onClick: a[2] || (a[2] = (R) =>
|
|
139
|
-
},
|
|
139
|
+
onClick: a[2] || (a[2] = (R) => l.value = !1)
|
|
140
|
+
}, r(e(n)("ap.apView.cancel")), 1)
|
|
140
141
|
]),
|
|
141
142
|
_: 1
|
|
142
143
|
})
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
|
-
export
|
|
3
|
+
export type ApViewToken = {
|
|
4
|
+
apViewPopoverWidth: number;
|
|
5
|
+
apViewMenuListWidth: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const genApViewStyle: GenStyleFunc<ApViewToken>;
|
|
4
8
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
9
|
export default _default;
|
|
@@ -1,44 +1,45 @@
|
|
|
1
1
|
import { genComponentStyleHook as n } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
-
const
|
|
3
|
-
const { componentCls:
|
|
2
|
+
const i = (e) => {
|
|
3
|
+
const { componentCls: t } = e;
|
|
4
4
|
return {
|
|
5
|
-
[
|
|
5
|
+
[t]: {
|
|
6
6
|
"& > .ant-btn": {
|
|
7
7
|
padding: 0
|
|
8
8
|
},
|
|
9
9
|
"& > .ant-dropdown-trigger": {
|
|
10
|
-
color:
|
|
10
|
+
color: e.textColor3
|
|
11
11
|
},
|
|
12
|
-
[`${
|
|
13
|
-
|
|
12
|
+
[`${t}-main-content`]: {
|
|
13
|
+
paddingInline: e.space,
|
|
14
|
+
paddingBlock: e.spaceXS,
|
|
14
15
|
display: "flex",
|
|
15
16
|
alignItems: "center",
|
|
16
17
|
justifyContent: "center",
|
|
17
18
|
"&-disabled": {
|
|
18
|
-
color:
|
|
19
|
+
color: e.textColor4,
|
|
19
20
|
cursor: "not-allowed"
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
|
-
[`${
|
|
23
|
+
[`${t}-icon`]: {
|
|
23
24
|
width: "100%",
|
|
24
25
|
height: "100%",
|
|
25
|
-
fontSize:
|
|
26
|
+
fontSize: e.fontSizeLG,
|
|
26
27
|
display: "flex",
|
|
27
28
|
justifyContent: "center",
|
|
28
29
|
alignItems: "center"
|
|
29
30
|
}
|
|
30
31
|
},
|
|
31
|
-
[`${
|
|
32
|
-
width:
|
|
32
|
+
[`${t}-main-content-popover`]: {
|
|
33
|
+
width: e.apViewPopoverWidth,
|
|
33
34
|
"&-title-content": {
|
|
34
35
|
display: "flex",
|
|
35
36
|
alignItems: "center",
|
|
36
37
|
justifyContent: "space-between",
|
|
37
|
-
marginBottom:
|
|
38
|
+
marginBottom: e.space,
|
|
38
39
|
"&-title": {
|
|
39
|
-
|
|
40
|
+
fontSize: e.fontSizeLG,
|
|
40
41
|
fontWeight: 500,
|
|
41
|
-
lineHeight:
|
|
42
|
+
lineHeight: e.lineHeightLG
|
|
42
43
|
},
|
|
43
44
|
".ant-form-item": {
|
|
44
45
|
marginBottom: 0
|
|
@@ -52,9 +53,9 @@ const o = (t) => {
|
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
},
|
|
55
|
-
[`${
|
|
56
|
+
[`${t}-overlay`]: {
|
|
56
57
|
".ant-dropdown-menu": {
|
|
57
|
-
padding:
|
|
58
|
+
padding: e.space,
|
|
58
59
|
"&-item": {
|
|
59
60
|
padding: "0 !important",
|
|
60
61
|
"&:hover": {
|
|
@@ -62,22 +63,23 @@ const o = (t) => {
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
|
-
[`${
|
|
66
|
-
width:
|
|
66
|
+
[`${t}-menu-list-content`]: {
|
|
67
|
+
width: e.apViewMenuListWidth,
|
|
67
68
|
display: "flex",
|
|
68
|
-
|
|
69
|
+
paddingBlock: e.spaceSM,
|
|
70
|
+
paddingInline: e.space,
|
|
69
71
|
alignItems: "center",
|
|
70
|
-
height:
|
|
72
|
+
height: e.calc(e.controlHeight).add(e.calc(e.lineWidth).mul(2)).equal(),
|
|
71
73
|
".menu-list-content-name": {
|
|
72
74
|
overflow: "hidden",
|
|
73
75
|
display: "block",
|
|
74
76
|
textOverflow: "ellipsis",
|
|
75
77
|
whiteSpace: "nowrap",
|
|
76
|
-
fontSize:
|
|
77
|
-
|
|
78
|
+
fontSize: e.fontSize,
|
|
79
|
+
marginInlineEnd: e.space
|
|
78
80
|
},
|
|
79
81
|
".menu-list-content-default": {
|
|
80
|
-
|
|
82
|
+
marginInlineEnd: e.space,
|
|
81
83
|
flexShrink: 0
|
|
82
84
|
},
|
|
83
85
|
".menu-list-content-action": {
|
|
@@ -88,16 +90,16 @@ const o = (t) => {
|
|
|
88
90
|
userSelect: "none",
|
|
89
91
|
"&-text": {
|
|
90
92
|
cursor: "pointer",
|
|
91
|
-
fontSize:
|
|
93
|
+
fontSize: e.fontSize,
|
|
92
94
|
display: "flex",
|
|
93
95
|
alignItems: "center",
|
|
94
|
-
color:
|
|
96
|
+
color: e.colorPrimary
|
|
95
97
|
},
|
|
96
98
|
"&-delete": {
|
|
97
99
|
cursor: "pointer",
|
|
98
100
|
display: "flex",
|
|
99
101
|
alignItems: "center",
|
|
100
|
-
color:
|
|
102
|
+
color: e.textColor3,
|
|
101
103
|
svg: {
|
|
102
104
|
outline: "none",
|
|
103
105
|
boxShadow: "none"
|
|
@@ -116,27 +118,33 @@ const o = (t) => {
|
|
|
116
118
|
},
|
|
117
119
|
"&-edit": {
|
|
118
120
|
background: "transparent !important",
|
|
119
|
-
|
|
121
|
+
paddingInline: e.space,
|
|
122
|
+
paddingBlock: 0,
|
|
120
123
|
cursor: "default"
|
|
121
124
|
},
|
|
122
125
|
"&:hover": {
|
|
123
|
-
background:
|
|
126
|
+
background: e.colorBg3,
|
|
124
127
|
".menu-list-content-action": {
|
|
125
128
|
display: "block"
|
|
126
129
|
}
|
|
127
130
|
}
|
|
128
131
|
},
|
|
129
|
-
[`${
|
|
132
|
+
[`${t}-menu-list-content-active`]: {
|
|
130
133
|
".menu-list-content-name": {
|
|
131
|
-
color:
|
|
134
|
+
color: e.colorPrimary
|
|
132
135
|
}
|
|
133
136
|
}
|
|
134
137
|
}
|
|
135
138
|
};
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
]
|
|
139
|
+
}, a = n(
|
|
140
|
+
"ApView",
|
|
141
|
+
(e) => [i(e)],
|
|
142
|
+
{
|
|
143
|
+
apViewPopoverWidth: 340,
|
|
144
|
+
apViewMenuListWidth: 250
|
|
145
|
+
}
|
|
146
|
+
);
|
|
139
147
|
export {
|
|
140
|
-
|
|
141
|
-
|
|
148
|
+
a as default,
|
|
149
|
+
i as genApViewStyle
|
|
142
150
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { defineComponent as T, ref as h, computed as
|
|
1
|
+
import { defineComponent as T, ref as h, computed as r, unref as t, createElementBlock as $, openBlock as g, normalizeStyle as B, normalizeClass as b, createVNode as c, withCtx as A, createBlock as K, createCommentVNode as M, mergeProps as D } from "vue";
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { Space as G } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { isNumber as q, omit as H } from "lodash-unified";
|
|
6
6
|
import "./popover-input/index.vue.mjs";
|
|
7
7
|
import "../../hooks/index.mjs";
|
|
8
|
-
import
|
|
9
|
-
import { useDefaultPlaceholder as
|
|
10
|
-
import { splitValue as
|
|
11
|
-
import
|
|
12
|
-
import { useControllableValue as
|
|
13
|
-
import { useLocale as
|
|
14
|
-
import { useNamespace as
|
|
8
|
+
import "../../utils/index.mjs";
|
|
9
|
+
import { useDefaultPlaceholder as Y } from "../../ap-field/hooks/use-default-placeholder.mjs";
|
|
10
|
+
import { splitValue as J } from "./utils.mjs";
|
|
11
|
+
import Q from "./style/index.mjs";
|
|
12
|
+
import { useControllableValue as W } from "../../hooks/useControllableValue.mjs";
|
|
13
|
+
import { useLocale as X } from "../../config-provider/hooks/use-locale.mjs";
|
|
14
|
+
import { useNamespace as Z } from "../../config-provider/hooks/use-namespace.mjs";
|
|
15
|
+
import { isDef as ee } from "../../utils/is.mjs";
|
|
15
16
|
import te from "../../ap-field/select/index.vue.mjs";
|
|
16
17
|
import { ApFieldText as oe } from "../../ap-field/text/index.mjs";
|
|
17
18
|
import ne from "./popover-input/index.vue2.mjs";
|
|
18
|
-
const m = "GROUP_SEARCH_ALL",
|
|
19
|
+
const m = "GROUP_SEARCH_ALL", Ve = /* @__PURE__ */ T({
|
|
19
20
|
name: "BatchInputGroup",
|
|
20
21
|
__name: "index",
|
|
21
22
|
props: {
|
|
@@ -77,43 +78,43 @@ const m = "GROUP_SEARCH_ALL", Ae = /* @__PURE__ */ T({
|
|
|
77
78
|
},
|
|
78
79
|
emits: ["update:value"],
|
|
79
80
|
setup(V, { emit: x }) {
|
|
80
|
-
const o = V, C =
|
|
81
|
+
const o = V, C = Y("Text", o), S = x, { value: a, updateValue: u } = W(
|
|
81
82
|
o,
|
|
82
83
|
S
|
|
83
|
-
), s = h(), f = h(), { t: I } =
|
|
84
|
+
), s = h(), f = h(), { t: I } = X(), { b: k, cssVar: U } = Z("batch-input-group"), d = Q("batch-input-group"), w = r(() => {
|
|
84
85
|
const e = o.popoverPlacement;
|
|
85
86
|
return {
|
|
86
87
|
"popover-left": q(e) ? `${e}px` : e === "left" ? "0px" : "unset",
|
|
87
88
|
"popover-right": e === "right" ? "0px" : "unset"
|
|
88
89
|
};
|
|
89
|
-
}), P =
|
|
90
|
+
}), P = r(() => o.options ? o.options.length > 1 && o.hasAll ? [
|
|
90
91
|
{ value: m, label: I("ap.common.all") },
|
|
91
92
|
...o.options
|
|
92
|
-
] : o.options : []), R =
|
|
93
|
-
`) : ""), E =
|
|
93
|
+
] : o.options : []), R = r(() => o.options ? o.options.map((e) => e.value) : []), N = r(() => t(a)?.value?.length ? t(a).value.join(",") : ""), j = r(() => t(a)?.value?.length ? t(a).value.join(`
|
|
94
|
+
`) : ""), E = r(() => {
|
|
94
95
|
const e = t(a)?.key;
|
|
95
96
|
if (e?.length)
|
|
96
97
|
return e.length === 1 || !o.hasAll ? e[0] : m;
|
|
97
|
-
}), F =
|
|
98
|
+
}), F = r(() => {
|
|
98
99
|
const e = t(a)?.key;
|
|
99
100
|
return !e || e?.length <= 1 ? t(C) : (o.options || []).filter((n) => e.includes(n.value)).map((n) => n.label).join("/");
|
|
100
101
|
});
|
|
101
102
|
function L(e) {
|
|
102
|
-
const l = t(a) || {}, n = e === m ? t(R) :
|
|
103
|
-
|
|
103
|
+
const l = t(a) || {}, n = e === m ? t(R) : ee(e) ? [e] : [];
|
|
104
|
+
u({
|
|
104
105
|
...l,
|
|
105
106
|
key: n
|
|
106
107
|
});
|
|
107
108
|
}
|
|
108
109
|
function O(e) {
|
|
109
110
|
const l = t(a) || {}, n = e.target.value || "";
|
|
110
|
-
let i =
|
|
111
|
+
let i = J(n, ",", ",", o.maxNum);
|
|
111
112
|
if (n !== i) {
|
|
112
113
|
const y = f.value?.$el?.querySelector("input");
|
|
113
114
|
y && (y.value = i);
|
|
114
115
|
}
|
|
115
116
|
let p = i.split(",");
|
|
116
|
-
p.length === 1 && p[0] === "" && (p = []),
|
|
117
|
+
p.length === 1 && p[0] === "" && (p = []), u({
|
|
117
118
|
...l,
|
|
118
119
|
value: p
|
|
119
120
|
});
|
|
@@ -121,14 +122,14 @@ const m = "GROUP_SEARCH_ALL", Ae = /* @__PURE__ */ T({
|
|
|
121
122
|
function _(e) {
|
|
122
123
|
const l = t(a) || {};
|
|
123
124
|
let n = e.split(/,|\n/);
|
|
124
|
-
|
|
125
|
+
u({
|
|
125
126
|
...l,
|
|
126
127
|
value: n
|
|
127
128
|
});
|
|
128
129
|
}
|
|
129
130
|
function v() {
|
|
130
131
|
const e = t(a) || {}, l = e.value?.filter(Boolean);
|
|
131
|
-
|
|
132
|
+
u({
|
|
132
133
|
...e,
|
|
133
134
|
value: l
|
|
134
135
|
});
|
|
@@ -200,5 +201,5 @@ const m = "GROUP_SEARCH_ALL", Ae = /* @__PURE__ */ T({
|
|
|
200
201
|
}
|
|
201
202
|
});
|
|
202
203
|
export {
|
|
203
|
-
|
|
204
|
+
Ve as default
|
|
204
205
|
};
|
|
@@ -9,7 +9,7 @@ const a = (o) => {
|
|
|
9
9
|
alignItems: "center",
|
|
10
10
|
[`${r}-trigger-icon`]: {
|
|
11
11
|
cursor: "pointer",
|
|
12
|
-
fontSize:
|
|
12
|
+
fontSize: o.fontSizeXL,
|
|
13
13
|
color: o.textColor2,
|
|
14
14
|
lineHeight: 0,
|
|
15
15
|
"&:hover": {
|
|
@@ -37,7 +37,7 @@ const a = (o) => {
|
|
|
37
37
|
padding: 0
|
|
38
38
|
},
|
|
39
39
|
[`${r}__popover--content`]: {
|
|
40
|
-
padding:
|
|
40
|
+
padding: o.spaceLG,
|
|
41
41
|
textarea: {
|
|
42
42
|
padding: 0,
|
|
43
43
|
resize: "none"
|
|
@@ -3,11 +3,11 @@ import { genComponentStyleHook as t } from "../../utils/cssinjs/index.mjs";
|
|
|
3
3
|
const s = (e) => {
|
|
4
4
|
const {
|
|
5
5
|
componentCls: i,
|
|
6
|
-
checkCardDisabledOutlineColor:
|
|
7
|
-
checkCardIndicatorSize:
|
|
6
|
+
checkCardDisabledOutlineColor: l,
|
|
7
|
+
checkCardIndicatorSize: c,
|
|
8
8
|
checkCardOutlineWidth: r,
|
|
9
|
-
checkCardIndicatorOffset:
|
|
10
|
-
} = e, a = e.calc(
|
|
9
|
+
checkCardIndicatorOffset: d
|
|
10
|
+
} = e, a = e.calc(c).mul(2).equal();
|
|
11
11
|
return {
|
|
12
12
|
[`${i}`]: {
|
|
13
13
|
...o(e),
|
|
@@ -18,11 +18,11 @@ const s = (e) => {
|
|
|
18
18
|
cursor: "not-allowed !important"
|
|
19
19
|
},
|
|
20
20
|
"&--bordered": {
|
|
21
|
-
outline:
|
|
21
|
+
outline: `${e.lineWidth} ${e.lineType} ${e.borderColorBase}`
|
|
22
22
|
},
|
|
23
23
|
[`&:hover:not(${i}--disabled)`]: {
|
|
24
24
|
cursor: "pointer",
|
|
25
|
-
outline:
|
|
25
|
+
outline: `${e.lineWidth} ${e.lineType} ${e.colorPrimary}`
|
|
26
26
|
},
|
|
27
27
|
"&::after": {
|
|
28
28
|
content: '""',
|
|
@@ -36,21 +36,21 @@ const s = (e) => {
|
|
|
36
36
|
borderRadius: e.calc(e.borderRadius).add("2px").equal()
|
|
37
37
|
},
|
|
38
38
|
"&--checked": {
|
|
39
|
-
outline: `${r}
|
|
39
|
+
outline: `${r} ${e.lineType} ${e.colorPrimary}`,
|
|
40
40
|
[`&:hover:not(${i}--disabled)`]: {
|
|
41
|
-
outline: `${r}
|
|
41
|
+
outline: `${r} ${e.lineType} ${e.colorPrimary}`
|
|
42
42
|
},
|
|
43
43
|
"&::after": {
|
|
44
44
|
width: a,
|
|
45
45
|
height: a,
|
|
46
|
-
insetBlockStart:
|
|
47
|
-
insetInlineEnd:
|
|
46
|
+
insetBlockStart: d,
|
|
47
|
+
insetInlineEnd: d,
|
|
48
48
|
transition: "width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), height 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), inset 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"
|
|
49
49
|
},
|
|
50
50
|
[`&${i}--disabled`]: {
|
|
51
|
-
outlineColor:
|
|
51
|
+
outlineColor: l,
|
|
52
52
|
"&::after": {
|
|
53
|
-
backgroundColor:
|
|
53
|
+
backgroundColor: l
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
},
|
|
@@ -63,7 +63,7 @@ const s = (e) => {
|
|
|
63
63
|
[`${i}__title`]: {
|
|
64
64
|
...o(e),
|
|
65
65
|
marginBottom: e.spaceXS,
|
|
66
|
-
color:
|
|
66
|
+
color: e.textColor1,
|
|
67
67
|
fontWeight: "bold",
|
|
68
68
|
"&--disabled": {
|
|
69
69
|
color: e.textColor4
|
|
@@ -71,7 +71,7 @@ const s = (e) => {
|
|
|
71
71
|
},
|
|
72
72
|
[`${i}__content`]: {
|
|
73
73
|
...o(e),
|
|
74
|
-
color:
|
|
74
|
+
color: e.textColor1,
|
|
75
75
|
"&--disabled": {
|
|
76
76
|
color: e.textColor4
|
|
77
77
|
}
|
|
@@ -84,13 +84,13 @@ const s = (e) => {
|
|
|
84
84
|
lineHeight: 1,
|
|
85
85
|
userSelect: "none",
|
|
86
86
|
"& > img": {
|
|
87
|
-
width: e.calc(
|
|
87
|
+
width: e.calc(c).sub(r).equal(),
|
|
88
88
|
verticalAlign: "top"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
|
-
},
|
|
93
|
+
}, u = t(
|
|
94
94
|
"CheckCard",
|
|
95
95
|
(e) => [s(e)],
|
|
96
96
|
{
|
|
@@ -102,5 +102,5 @@ const s = (e) => {
|
|
|
102
102
|
}
|
|
103
103
|
);
|
|
104
104
|
export {
|
|
105
|
-
|
|
105
|
+
u as default
|
|
106
106
|
};
|
|
@@ -27,10 +27,12 @@ const o = {
|
|
|
27
27
|
fontSize: 12,
|
|
28
28
|
fontSizeLG: 14,
|
|
29
29
|
fontSizeXL: 16,
|
|
30
|
+
fontSizeXXL: 20,
|
|
30
31
|
lineHeightSM: 16,
|
|
31
32
|
lineHeight: 18,
|
|
32
33
|
lineHeightLG: 22,
|
|
33
34
|
borderRadiusXS: 1,
|
|
35
|
+
borderRadiusSM: 2,
|
|
34
36
|
borderRadius: 4,
|
|
35
37
|
spaceXXS: 2,
|
|
36
38
|
spaceXS: 4,
|
|
@@ -44,7 +46,13 @@ const o = {
|
|
|
44
46
|
scrollbarThumbColorHover: "#959ca7",
|
|
45
47
|
scrollbarTrackColorHover: "#f2f6f9",
|
|
46
48
|
tableHeaderBg: "#f2f6f9",
|
|
47
|
-
lineClamp: 2
|
|
49
|
+
lineClamp: 2,
|
|
50
|
+
motionDurationFast: "0.1s",
|
|
51
|
+
motionDurationMid: "0.2s",
|
|
52
|
+
motionDurationSlow: "0.3s",
|
|
53
|
+
lineWidth: 1,
|
|
54
|
+
lineType: "solid",
|
|
55
|
+
controlHeight: 30
|
|
48
56
|
};
|
|
49
57
|
export {
|
|
50
58
|
o as defaultToken
|