@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,28 +1,29 @@
|
|
|
1
|
-
import { singleRow as
|
|
2
|
-
import { genComponentStyleHook as
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { singleRow as a, resetComponent as t } from "../../style/index.mjs";
|
|
2
|
+
import { genComponentStyleHook as n } from "../../utils/cssinjs/index.mjs";
|
|
3
|
+
import { defaultValue as r } from "./index.mjs";
|
|
4
|
+
const o = (e) => {
|
|
5
|
+
const { componentCls: l, namespace: i } = e;
|
|
5
6
|
return {
|
|
6
|
-
[
|
|
7
|
-
[`${
|
|
7
|
+
[l]: {
|
|
8
|
+
[`${l}-wrapper`]: {
|
|
8
9
|
display: "flex",
|
|
9
10
|
flexDirection: "row",
|
|
10
11
|
flexWrap: "nowrap",
|
|
11
12
|
height: "100%",
|
|
12
|
-
paddingBlockEnd:
|
|
13
|
-
[`.${
|
|
14
|
-
...
|
|
13
|
+
paddingBlockEnd: e.spaceLG,
|
|
14
|
+
[`.${i}-ap-table-table-header__title`]: {
|
|
15
|
+
...a(e)
|
|
15
16
|
},
|
|
16
|
-
[`.${
|
|
17
|
-
...
|
|
17
|
+
[`.${i}-ap-grid-table-header__title`]: {
|
|
18
|
+
...a(e),
|
|
18
19
|
fontWeight: "normal",
|
|
19
20
|
color: e.textColor1
|
|
20
21
|
},
|
|
21
|
-
[`.${
|
|
22
|
-
...
|
|
22
|
+
[`.${i}-ag-grid-table-header__title`]: {
|
|
23
|
+
...a(e)
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
|
-
[`${
|
|
26
|
+
[`${l}-left`]: {
|
|
26
27
|
flex: 1,
|
|
27
28
|
flexShrink: 1,
|
|
28
29
|
minWidth: 0,
|
|
@@ -59,47 +60,49 @@ const r = (e) => {
|
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
},
|
|
62
|
-
[`${
|
|
63
|
-
width:
|
|
63
|
+
[`${l}-right`]: {
|
|
64
|
+
width: e.apTableSettingRightWidth
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
};
|
|
67
|
-
},
|
|
68
|
-
const { componentCls:
|
|
68
|
+
}, c = (e) => {
|
|
69
|
+
const { componentCls: l } = e;
|
|
69
70
|
return {
|
|
70
|
-
[
|
|
71
|
-
[`${
|
|
71
|
+
[l]: {
|
|
72
|
+
[`${l}-select-group`]: {
|
|
72
73
|
"&-header": {
|
|
73
74
|
backgroundColor: "#F2F6F9",
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
paddingInline: e.spaceLG,
|
|
76
|
+
paddingBlock: e.spaceXS,
|
|
77
|
+
borderRadius: e.borderRadius,
|
|
78
|
+
marginBlockEnd: e.spaceLG,
|
|
79
|
+
marginInline: e.calc(e.spaceLG).mul(-1).equal(),
|
|
78
80
|
display: "flex"
|
|
79
81
|
}
|
|
80
82
|
}
|
|
81
83
|
}
|
|
82
84
|
};
|
|
83
85
|
}, p = (e) => {
|
|
84
|
-
const { componentCls:
|
|
86
|
+
const { componentCls: l } = e, i = `${l}-sortable-item-meta`;
|
|
85
87
|
return {
|
|
86
|
-
[
|
|
87
|
-
[
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
[l]: {
|
|
89
|
+
[i]: {
|
|
90
|
+
paddingInline: e.space,
|
|
91
|
+
paddingBlock: e.spaceSM,
|
|
92
|
+
marginBlockStart: e.spaceXS,
|
|
90
93
|
display: "flex",
|
|
91
94
|
flexDirection: "row",
|
|
92
95
|
flexWrap: "nowrap",
|
|
93
96
|
justifyContent: "space-between",
|
|
94
97
|
alignItems: "center",
|
|
95
98
|
"&:hover": {
|
|
96
|
-
backgroundColor:
|
|
97
|
-
borderRadius:
|
|
99
|
+
backgroundColor: e.calc(e.colorPrimary).colorOpacity(8),
|
|
100
|
+
borderRadius: e.borderRadiusSM,
|
|
98
101
|
cursor: "pointer",
|
|
99
|
-
[`${
|
|
102
|
+
[`${i}-right`]: {
|
|
100
103
|
display: "block"
|
|
101
104
|
},
|
|
102
|
-
[`${
|
|
105
|
+
[`${i}-left__holder`]: {
|
|
103
106
|
color: `${e.colorPrimary} !important`
|
|
104
107
|
}
|
|
105
108
|
},
|
|
@@ -114,7 +117,7 @@ const r = (e) => {
|
|
|
114
117
|
alignItems: "center",
|
|
115
118
|
width: "16px",
|
|
116
119
|
height: "16px",
|
|
117
|
-
|
|
120
|
+
marginInlineEnd: e.spaceXS,
|
|
118
121
|
flexShrink: 0
|
|
119
122
|
},
|
|
120
123
|
"&__label-wrapper": {
|
|
@@ -125,10 +128,10 @@ const r = (e) => {
|
|
|
125
128
|
},
|
|
126
129
|
"&-right": {
|
|
127
130
|
display: "none",
|
|
128
|
-
|
|
131
|
+
paddingInlineStart: e.spaceLG
|
|
129
132
|
},
|
|
130
133
|
".is-level2": {
|
|
131
|
-
|
|
134
|
+
marginInlineStart: e.spaceXL
|
|
132
135
|
},
|
|
133
136
|
"&-action-item": {
|
|
134
137
|
"&:hover": {
|
|
@@ -138,10 +141,10 @@ const r = (e) => {
|
|
|
138
141
|
}
|
|
139
142
|
}
|
|
140
143
|
};
|
|
141
|
-
},
|
|
142
|
-
const { componentCls:
|
|
144
|
+
}, d = (e) => {
|
|
145
|
+
const { componentCls: l } = e;
|
|
143
146
|
return {
|
|
144
|
-
[
|
|
147
|
+
[l]: {
|
|
145
148
|
[`${e.componentCls}-sortable-item`]: {
|
|
146
149
|
".is-hidden": {
|
|
147
150
|
display: "none"
|
|
@@ -149,25 +152,27 @@ const r = (e) => {
|
|
|
149
152
|
}
|
|
150
153
|
}
|
|
151
154
|
};
|
|
152
|
-
},
|
|
153
|
-
const { componentCls:
|
|
155
|
+
}, s = (e) => {
|
|
156
|
+
const { componentCls: l } = e;
|
|
154
157
|
return {
|
|
155
|
-
[
|
|
158
|
+
[l]: {
|
|
156
159
|
[`${e.componentCls}-sorter`]: {
|
|
157
160
|
display: "flex",
|
|
158
161
|
flexDirection: "column",
|
|
159
162
|
height: "100%",
|
|
160
163
|
"&-section-title": {
|
|
161
|
-
fontSize:
|
|
162
|
-
lineHeight:
|
|
164
|
+
fontSize: e.fontSize,
|
|
165
|
+
lineHeight: e.lineHeight,
|
|
163
166
|
color: e.textColor3,
|
|
164
|
-
|
|
165
|
-
|
|
167
|
+
paddingInline: e.space,
|
|
168
|
+
paddingBlock: e.spaceXXS,
|
|
169
|
+
margin: e.spaceXS
|
|
166
170
|
},
|
|
167
171
|
"&-header": {
|
|
168
|
-
|
|
172
|
+
paddingInline: "20px",
|
|
173
|
+
paddingBlock: e.spaceLG,
|
|
169
174
|
"&-title": {
|
|
170
|
-
...
|
|
175
|
+
...t(e),
|
|
171
176
|
fontWeight: "bold",
|
|
172
177
|
color: e.textColor1
|
|
173
178
|
}
|
|
@@ -175,23 +180,30 @@ const r = (e) => {
|
|
|
175
180
|
"&-content": {
|
|
176
181
|
flex: 1,
|
|
177
182
|
overflowY: "auto",
|
|
178
|
-
|
|
183
|
+
paddingBlockStart: e.space,
|
|
184
|
+
paddingInlineEnd: e.spaceLG,
|
|
185
|
+
paddingBlockEnd: 0,
|
|
186
|
+
paddingInlineStart: e.space
|
|
179
187
|
}
|
|
180
188
|
}
|
|
181
189
|
}
|
|
182
190
|
};
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
191
|
+
}, h = n(
|
|
192
|
+
"ApTable.Setting",
|
|
193
|
+
(e) => [
|
|
194
|
+
o(e),
|
|
195
|
+
c(e),
|
|
196
|
+
d(e),
|
|
197
|
+
p(e),
|
|
198
|
+
s(e)
|
|
199
|
+
],
|
|
200
|
+
r
|
|
201
|
+
);
|
|
190
202
|
export {
|
|
191
|
-
|
|
192
|
-
|
|
203
|
+
h as default,
|
|
204
|
+
c as genTableSettingSelectGroupStyle,
|
|
193
205
|
p as genTableSettingSortableItemMetaStyle,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
206
|
+
d as genTableSettingSortableItemStyle,
|
|
207
|
+
s as genTableSettingSorterStyle,
|
|
208
|
+
o as genTableSettingStyle
|
|
197
209
|
};
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { isVNode as T, createVNode as s, mergeProps as a, cloneVNode as h, createTextVNode as C, Fragment as
|
|
2
|
-
import { isObject as
|
|
1
|
+
import { isVNode as T, createVNode as s, mergeProps as a, cloneVNode as h, createTextVNode as C, Fragment as x } from "vue";
|
|
2
|
+
import { isObject as f, isArray as u, isUndefined as E, isFunction as y, omit as j, isBoolean as v, isString as O, isEqual as F, sortBy as m, isPlainObject as g, every as N, isEmpty as R } from "lodash-unified";
|
|
3
3
|
import { apTableRenderItemMap as P, apTableFormItemMap as S } from "./constants.mjs";
|
|
4
|
-
import { isType as I } from "@fruits-chain/utils";
|
|
5
4
|
import "../ap-form/index.mjs";
|
|
6
|
-
import { Tooltip as
|
|
7
|
-
import { QuestionCircleOutlined as
|
|
8
|
-
import
|
|
9
|
-
function
|
|
5
|
+
import { Tooltip as I } from "@aplus-frontend/antdv";
|
|
6
|
+
import { QuestionCircleOutlined as A } from "@ant-design/icons-vue";
|
|
7
|
+
import V from "../ap-form/item/index.vue.mjs";
|
|
8
|
+
function w(e) {
|
|
10
9
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !T(e);
|
|
11
10
|
}
|
|
12
|
-
const
|
|
11
|
+
const M = (e, t, n) => {
|
|
13
12
|
let o = {};
|
|
14
|
-
return
|
|
15
|
-
|
|
13
|
+
return f(e) ? Object.keys(e).forEach((r) => {
|
|
14
|
+
f(e[r]) ? o[r] = M(e[r], t[r], n) : o[r] = n(e[r], t);
|
|
16
15
|
}) : o = n(e, t), o;
|
|
17
|
-
},
|
|
16
|
+
}, L = (e, t) => {
|
|
18
17
|
switch (e) {
|
|
19
18
|
case "dayjs":
|
|
20
19
|
return t.valueOf();
|
|
@@ -35,15 +34,15 @@ const _ = (e, t, n) => {
|
|
|
35
34
|
return t;
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
|
-
function
|
|
37
|
+
function Q(e) {
|
|
39
38
|
return u(e) ? e.join(".") : e;
|
|
40
39
|
}
|
|
41
|
-
function
|
|
40
|
+
function _(e) {
|
|
42
41
|
const t = Object.prototype.toString.call(e).match(/^\[object (.*)\]$/)[1].toLowerCase();
|
|
43
42
|
return t === "string" && typeof e == "object" ? "object" : e === null ? "null" : e === void 0 ? "undefined" : t;
|
|
44
43
|
}
|
|
45
|
-
const
|
|
46
|
-
if (
|
|
44
|
+
const q = (e) => {
|
|
45
|
+
if (_(e) === "map")
|
|
47
46
|
return e;
|
|
48
47
|
const t = /* @__PURE__ */ new Map();
|
|
49
48
|
for (const [n, o] of Object.entries(e || {})) {
|
|
@@ -52,7 +51,7 @@ const W = (e) => {
|
|
|
52
51
|
}
|
|
53
52
|
return t;
|
|
54
53
|
}, b = (e) => {
|
|
55
|
-
const t = [], n =
|
|
54
|
+
const t = [], n = q(e);
|
|
56
55
|
return n.forEach((o, r) => {
|
|
57
56
|
const i = n.get(r) || n.get(`${r}`);
|
|
58
57
|
if (i) {
|
|
@@ -72,21 +71,21 @@ const W = (e) => {
|
|
|
72
71
|
});
|
|
73
72
|
}
|
|
74
73
|
}), t;
|
|
75
|
-
},
|
|
76
|
-
function
|
|
77
|
-
return !e || !
|
|
74
|
+
}, z = (e) => E(e) || e < 0 ? 0 : e;
|
|
75
|
+
function W(e, t) {
|
|
76
|
+
return !e || !y(e) ? e : e(t);
|
|
78
77
|
}
|
|
79
|
-
function
|
|
78
|
+
function G(e) {
|
|
80
79
|
let t = e.valueType || "text";
|
|
81
80
|
return e.valueEnum && (t = "status"), t;
|
|
82
81
|
}
|
|
83
|
-
function
|
|
82
|
+
function X(e, t, n, o) {
|
|
84
83
|
const r = P[e];
|
|
85
84
|
return r ? s(r, a(t, {
|
|
86
85
|
mode: "read"
|
|
87
86
|
}), null) : o?.[e]?.render?.(t.value, n, t) || t.value;
|
|
88
87
|
}
|
|
89
|
-
function
|
|
88
|
+
function Y(e, t) {
|
|
90
89
|
if (e.customRenderFormItem)
|
|
91
90
|
return () => {
|
|
92
91
|
const r = e.customRenderFormItem(e);
|
|
@@ -104,39 +103,39 @@ function ee(e, t) {
|
|
|
104
103
|
const o = t?.[e.valueType];
|
|
105
104
|
return () => {
|
|
106
105
|
const r = o?.renderFormItem?.(e.fieldProps.field);
|
|
107
|
-
return r ? s(
|
|
106
|
+
return r ? s(V, a(e.fieldProps, {
|
|
108
107
|
span: e.span
|
|
109
|
-
}),
|
|
108
|
+
}), w(r) ? r : {
|
|
110
109
|
default: () => [r]
|
|
111
110
|
}) : null;
|
|
112
111
|
};
|
|
113
112
|
}
|
|
114
|
-
function
|
|
115
|
-
const n =
|
|
113
|
+
function Z(e, t) {
|
|
114
|
+
const n = W(e.fieldProps, t), o = n?.field || n || {}, r = e.valueType === "switch", i = e.valueType === "index", c = r ? {
|
|
116
115
|
checked: t.value
|
|
117
116
|
} : {
|
|
118
117
|
value: i ? t.index + 1 : t.value
|
|
119
118
|
};
|
|
120
119
|
return e.valueEnum && (o.valueEnum = e.valueEnum), {
|
|
121
|
-
...
|
|
122
|
-
...
|
|
120
|
+
...j(o, ["request"]),
|
|
121
|
+
...c
|
|
123
122
|
};
|
|
124
123
|
}
|
|
125
|
-
function
|
|
124
|
+
function ee(e) {
|
|
126
125
|
const t = {
|
|
127
126
|
...e
|
|
128
127
|
};
|
|
129
|
-
return
|
|
128
|
+
return v(e.filters) && e.filters && e.valueEnum && (t.filters = b(e.valueEnum)), t;
|
|
130
129
|
}
|
|
131
|
-
function
|
|
130
|
+
function te(e, t) {
|
|
132
131
|
const n = t || {};
|
|
133
132
|
return e.valueEnum && !n.field?.options && (n.field = {
|
|
134
133
|
...n.field,
|
|
135
134
|
options: b(e.valueEnum)
|
|
136
135
|
}), n;
|
|
137
136
|
}
|
|
138
|
-
function
|
|
139
|
-
if (!
|
|
137
|
+
function ne(e) {
|
|
138
|
+
if (!f(e))
|
|
140
139
|
return e;
|
|
141
140
|
try {
|
|
142
141
|
return JSON.stringify(e);
|
|
@@ -144,14 +143,14 @@ function oe(e) {
|
|
|
144
143
|
return e;
|
|
145
144
|
}
|
|
146
145
|
}
|
|
147
|
-
function
|
|
146
|
+
function re(e, t, n, o) {
|
|
148
147
|
const r = n?.({
|
|
149
148
|
title: e.title,
|
|
150
149
|
column: e
|
|
151
150
|
}), i = r?.filter((l) => l.type !== Symbol.for("v-cmt")) || [];
|
|
152
151
|
if (r && i.length > 0)
|
|
153
152
|
return r;
|
|
154
|
-
const
|
|
153
|
+
const p = O(e.title) ? s("span", {
|
|
155
154
|
class: t,
|
|
156
155
|
style: {
|
|
157
156
|
textAlign: e.align || "left"
|
|
@@ -162,28 +161,28 @@ function ie(e, t, n, o) {
|
|
|
162
161
|
color: "#FF4D4F",
|
|
163
162
|
paddingRight: "2px"
|
|
164
163
|
}
|
|
165
|
-
}, [C("*")]) : null, e.title]) : e.title,
|
|
166
|
-
return
|
|
164
|
+
}, [C("*")]) : null, e.title]) : e.title, d = e.tooltip ? y(e.tooltip) ? e.tooltip(e) : s(x, null, [e.tooltip]) : null;
|
|
165
|
+
return d ? s("span", {
|
|
167
166
|
style: {
|
|
168
167
|
display: "inline-flex",
|
|
169
168
|
alignItems: "center",
|
|
170
169
|
maxWidth: "100%"
|
|
171
170
|
}
|
|
172
|
-
}, [
|
|
173
|
-
title:
|
|
171
|
+
}, [p, s(I, {
|
|
172
|
+
title: d,
|
|
174
173
|
placement: "bottom",
|
|
175
174
|
getPopupContainer: (l) => l.closest(".ant-table") || l.closest(".ant-modal") || l.closest(".vxe-table") || document.body
|
|
176
175
|
}, {
|
|
177
|
-
default: () => [s(
|
|
176
|
+
default: () => [s(A, {
|
|
178
177
|
style: {
|
|
179
178
|
paddingInline: "4px",
|
|
180
179
|
color: o,
|
|
181
180
|
verticalAlign: "middle"
|
|
182
181
|
}
|
|
183
182
|
}, null)]
|
|
184
|
-
})]) :
|
|
183
|
+
})]) : p;
|
|
185
184
|
}
|
|
186
|
-
function
|
|
185
|
+
function oe(e, t) {
|
|
187
186
|
const n = [];
|
|
188
187
|
function o(r) {
|
|
189
188
|
for (const i of r)
|
|
@@ -191,36 +190,36 @@ function se(e, t) {
|
|
|
191
190
|
}
|
|
192
191
|
return o(e), n;
|
|
193
192
|
}
|
|
194
|
-
function
|
|
193
|
+
function ie(e, t) {
|
|
195
194
|
if (u(e) && u(t))
|
|
196
195
|
return F(m(e), m(t));
|
|
197
|
-
if (
|
|
196
|
+
if (g(e) && g(t)) {
|
|
198
197
|
const n = (o) => N(o, (r) => r == null) || R(o);
|
|
199
198
|
if (n(e) && n(t))
|
|
200
199
|
return !0;
|
|
201
200
|
}
|
|
202
201
|
}
|
|
203
|
-
function
|
|
202
|
+
function se(e) {
|
|
204
203
|
if (e !== !1)
|
|
205
204
|
return e;
|
|
206
205
|
}
|
|
207
206
|
export {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
207
|
+
ee as apColumnToColumn,
|
|
208
|
+
Q as dataIndexToStr,
|
|
209
|
+
se as falseToUndefined,
|
|
210
|
+
M as formatParamsValueType,
|
|
211
|
+
z as getColumnOrder,
|
|
212
|
+
W as getFieldProps,
|
|
213
|
+
Y as getSearchFormItemRenderNode,
|
|
214
|
+
X as getTableCellRenderNode,
|
|
215
|
+
Z as getTableRenderProps,
|
|
216
|
+
G as getTableRenderType,
|
|
217
|
+
re as getTableTitle,
|
|
218
|
+
ie as isEqualCustom,
|
|
219
|
+
q as objectToMap,
|
|
220
|
+
ne as objectToString,
|
|
221
|
+
L as parseFieldValue,
|
|
222
|
+
oe as recursionApColumns,
|
|
223
|
+
te as updateFormProps,
|
|
225
224
|
b as valueEnumToArray
|
|
226
225
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as M, computed as O, createElementBlock as m, renderSlot as a, openBlock as n, normalizeStyle as g, normalizeClass as o, unref as e, createElementVNode as s, createBlock as v, createCommentVNode as h, withCtx as i, resolveDynamicComponent as V, h as w, Fragment as b, createVNode as p, createTextVNode as S, toDisplayString as T, renderList as L } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { ApTitle as k } from "../../ap-title/index.mjs";
|
|
4
|
-
import { Button as
|
|
5
|
-
import { useAgGridModalInject as
|
|
6
|
-
import
|
|
7
|
-
import { useLocale as
|
|
8
|
-
import { useNamespace as
|
|
9
|
-
const
|
|
4
|
+
import { Button as j, Empty as C } from "@aplus-frontend/antdv";
|
|
5
|
+
import { useAgGridModalInject as x } from "../hooks/use-ag-grid-instance.mjs";
|
|
6
|
+
import D from "../style/index.mjs";
|
|
7
|
+
import { useLocale as z } from "../../../config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { useNamespace as G } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
const U = /* @__PURE__ */ M({
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: {
|
|
12
12
|
leftTitle: { type: [String, Object, Number, Boolean, null, Array], default: "" },
|
|
@@ -16,7 +16,7 @@ const Q = /* @__PURE__ */ I({
|
|
|
16
16
|
layoutType: { default: void 0 }
|
|
17
17
|
},
|
|
18
18
|
setup(B) {
|
|
19
|
-
const { t: f } =
|
|
19
|
+
const { t: f } = z(), d = x(), r = O(() => d?.selectedRows?.value || []), y = B, E = () => {
|
|
20
20
|
if (y.dividerOffset != null)
|
|
21
21
|
return {
|
|
22
22
|
"--ag-grid-modal-layout-divider-offset": `${y.dividerOffset}px`
|
|
@@ -25,10 +25,10 @@ const Q = /* @__PURE__ */ I({
|
|
|
25
25
|
d?.clearAllSelected();
|
|
26
26
|
}, u = (t) => {
|
|
27
27
|
d?.removeSelected(t);
|
|
28
|
-
}, { e: A, m: l } =
|
|
29
|
-
return (t,
|
|
28
|
+
}, { e: A, m: l, b: N } = G("ag-grid-modal"), I = D("ag-grid-modal");
|
|
29
|
+
return (t, P) => t.layoutType === "two-column" ? (n(), m("div", {
|
|
30
30
|
key: 0,
|
|
31
|
-
class: o([e(l)("table-layout"), t.bordered ? e(l)("bordered") : "", e(
|
|
31
|
+
class: o([e(N)(), e(l)("table-layout"), t.bordered ? e(l)("bordered") : "", e(I)]),
|
|
32
32
|
style: g(E())
|
|
33
33
|
}, [
|
|
34
34
|
s("div", {
|
|
@@ -39,7 +39,7 @@ const Q = /* @__PURE__ */ I({
|
|
|
39
39
|
style: { "margin-bottom": "16px" }
|
|
40
40
|
}, {
|
|
41
41
|
prefix: i(() => [
|
|
42
|
-
(n(), v(
|
|
42
|
+
(n(), v(V(w(b, [t.leftTitle]))))
|
|
43
43
|
]),
|
|
44
44
|
_: 1
|
|
45
45
|
})) : h("", !0),
|
|
@@ -62,7 +62,7 @@ const Q = /* @__PURE__ */ I({
|
|
|
62
62
|
])
|
|
63
63
|
]),
|
|
64
64
|
suffix: i(() => [
|
|
65
|
-
p(e(
|
|
65
|
+
p(e(j), {
|
|
66
66
|
type: "link",
|
|
67
67
|
style: { padding: "0px", height: "22px", "border-width": "0px" },
|
|
68
68
|
onClick: $
|
|
@@ -78,7 +78,7 @@ const Q = /* @__PURE__ */ I({
|
|
|
78
78
|
s("div", {
|
|
79
79
|
class: o(e(l)("table-layout-right-content"))
|
|
80
80
|
}, [
|
|
81
|
-
(n(!0), m(b, null,
|
|
81
|
+
(n(!0), m(b, null, L(r.value, (c) => a(t.$slots, "renderSelectedItem", {
|
|
82
82
|
key: c,
|
|
83
83
|
record: c,
|
|
84
84
|
actions: { deleteItem: u, deleteCurrent: () => u(c) }
|
|
@@ -103,5 +103,5 @@ const Q = /* @__PURE__ */ I({
|
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
105
|
export {
|
|
106
|
-
|
|
106
|
+
U as default
|
|
107
107
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const l = (
|
|
3
|
-
const { componentCls:
|
|
1
|
+
import { genComponentStyleHook as d } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const l = (e) => {
|
|
3
|
+
const { componentCls: o } = e, i = `${o}--table-layout`;
|
|
4
4
|
return {
|
|
5
|
-
[`${
|
|
6
|
-
border:
|
|
7
|
-
padding:
|
|
8
|
-
borderRadius:
|
|
5
|
+
[`${o}--bordered`]: {
|
|
6
|
+
border: `${e.lineWidth} ${e.lineType} ${e.colorBg1}`,
|
|
7
|
+
padding: e.spaceXL,
|
|
8
|
+
borderRadius: e.borderRadius,
|
|
9
9
|
"--ag-grid-modal-layout-divider-offset": "32px"
|
|
10
10
|
},
|
|
11
|
-
[
|
|
11
|
+
[i]: {
|
|
12
12
|
boxSizing: "border-box",
|
|
13
13
|
display: "flex",
|
|
14
14
|
flex: 1,
|
|
15
15
|
justifyContent: "space-between",
|
|
16
16
|
height: "100%",
|
|
17
|
-
[`${
|
|
17
|
+
[`${i}-left`]: {
|
|
18
18
|
flex: 1,
|
|
19
19
|
minWidth: 0,
|
|
20
|
-
paddingInlineEnd:
|
|
20
|
+
paddingInlineEnd: e.spaceXL,
|
|
21
21
|
boxSizing: "border-box",
|
|
22
22
|
display: "flex",
|
|
23
23
|
flexDirection: "column",
|
|
@@ -25,10 +25,10 @@ const l = (o) => {
|
|
|
25
25
|
flex: 1
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
[`${
|
|
28
|
+
[`${i}-right`]: {
|
|
29
29
|
maxHeight: "100%",
|
|
30
|
-
width:
|
|
31
|
-
paddingInlineStart:
|
|
30
|
+
width: e.agGridModalRightWidth,
|
|
31
|
+
paddingInlineStart: e.spaceXL,
|
|
32
32
|
position: "relative",
|
|
33
33
|
display: "flex",
|
|
34
34
|
flexDirection: "column",
|
|
@@ -36,7 +36,7 @@ const l = (o) => {
|
|
|
36
36
|
flexGrow: 1,
|
|
37
37
|
height: 0,
|
|
38
38
|
overflowY: "hidden",
|
|
39
|
-
paddingTop:
|
|
39
|
+
paddingTop: e.space,
|
|
40
40
|
"&:hover": {
|
|
41
41
|
overflowY: "auto"
|
|
42
42
|
}
|
|
@@ -44,8 +44,8 @@ const l = (o) => {
|
|
|
44
44
|
"&::before": {
|
|
45
45
|
content: '""',
|
|
46
46
|
height: "calc(100% + var(--ag-grid-modal-layout-divider-offset,16px))",
|
|
47
|
-
width:
|
|
48
|
-
backgroundColor:
|
|
47
|
+
width: e.lineWidth,
|
|
48
|
+
backgroundColor: e.colorBg1,
|
|
49
49
|
position: "absolute",
|
|
50
50
|
left: 0,
|
|
51
51
|
top: "-16px"
|
|
@@ -53,9 +53,13 @@ const l = (o) => {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
]
|
|
56
|
+
}, a = d(
|
|
57
|
+
"ApTableModal",
|
|
58
|
+
(e) => [l(e)],
|
|
59
|
+
{
|
|
60
|
+
agGridModalRightWidth: 410
|
|
61
|
+
}
|
|
62
|
+
);
|
|
59
63
|
export {
|
|
60
|
-
|
|
64
|
+
a as default
|
|
61
65
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
const
|
|
1
|
+
import { genComponentStyleHook as r } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
+
const c = (e) => {
|
|
3
3
|
const { componentCls: o } = e, t = `${o}__del-icon`;
|
|
4
4
|
return {
|
|
5
5
|
[o]: {
|
|
@@ -7,9 +7,9 @@ const r = (e) => {
|
|
|
7
7
|
display: "flex",
|
|
8
8
|
justifyContent: "space-between",
|
|
9
9
|
alignItems: "center",
|
|
10
|
-
padding:
|
|
11
|
-
gap:
|
|
12
|
-
borderRadius:
|
|
10
|
+
padding: e.space,
|
|
11
|
+
gap: e.spaceXL,
|
|
12
|
+
borderRadius: e.borderRadius,
|
|
13
13
|
"&:hover": {
|
|
14
14
|
backgroundColor: e.colorBg2,
|
|
15
15
|
[t]: {
|
|
@@ -31,9 +31,9 @@ const r = (e) => {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
},
|
|
35
|
-
|
|
34
|
+
}, n = r("ApSelectedItems", (e) => [
|
|
35
|
+
c(e)
|
|
36
36
|
]);
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
n as default
|
|
39
39
|
};
|