@aplus-frontend/ui 7.0.0-beta.3 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +108 -106
- package/es/src/ag-grid/hooks/use-columns-def.mjs +71 -70
- package/es/src/ag-grid/index.vue.mjs +1 -0
- package/es/src/ag-grid/interface.d.ts +1 -0
- package/es/src/ag-grid/style/custom-header.d.ts +2 -2
- package/es/src/ag-grid/style/custom-header.mjs +1 -1
- package/es/src/ag-grid/style/editable.d.ts +2 -2
- package/es/src/ag-grid/style/index.d.ts +2 -2
- package/es/src/ag-grid/style/index.mjs +0 -1
- package/es/src/ap-action/item-dropdown/index.vue.mjs +19 -18
- package/es/src/ap-action/style/dropdown-item.d.ts +2 -2
- package/es/src/ap-action/style/index.d.ts +2 -2
- package/es/src/ap-button/style/index.d.ts +2 -2
- package/es/src/ap-button/utils/index.mjs +16 -16
- package/es/src/ap-descriptions/style/index.d.ts +2 -2
- package/es/src/ap-download/ap-download.vue.d.ts +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +27 -27
- package/es/src/ap-download/interface.d.ts +4 -0
- package/es/src/ap-download/style/index.d.ts +2 -2
- package/es/src/ap-drawer/style/index.d.ts +2 -2
- package/es/src/ap-field/style/index.d.ts +2 -2
- package/es/src/ap-form/style/drawer-form.d.ts +2 -2
- package/es/src/ap-form/style/item-group.d.ts +2 -2
- package/es/src/ap-form/style/item-text-group.d.ts +2 -2
- package/es/src/ap-form/style/item.d.ts +2 -2
- package/es/src/ap-form/style/item.mjs +5 -4
- package/es/src/ap-form/style/modal-form.d.ts +2 -2
- package/es/src/ap-form/style/modal-form.mjs +11 -11
- package/es/src/ap-form/style/search-form-sorter.d.ts +2 -2
- package/es/src/ap-form/style/search-form-sorter.mjs +16 -12
- package/es/src/ap-form/style/search-form.d.ts +2 -2
- package/es/src/ap-form/style/token.d.ts +4 -0
- package/es/src/ap-grid/style/editable.d.ts +2 -2
- package/es/src/ap-grid/style/index.d.ts +2 -2
- package/es/src/ap-grid/utils/col.mjs +33 -33
- package/es/src/ap-list/style/index.d.ts +2 -2
- package/es/src/ap-modal/interface.d.ts +31 -11
- package/es/src/ap-modal/utils/createModal.mjs +52 -45
- package/es/src/ap-pro-card/style/divider.d.ts +2 -2
- package/es/src/ap-pro-card/style/index.d.ts +2 -2
- package/es/src/ap-pro-card/style/operation.d.ts +2 -2
- package/es/src/ap-pro-card/style/statistic.d.ts +2 -2
- package/es/src/ap-pro-card/style/statistics-card.d.ts +2 -2
- package/es/src/ap-pro-card/style/title.d.ts +2 -2
- package/es/src/ap-table/style/ellipsis.d.ts +2 -2
- package/es/src/ap-table/style/index-comp.d.ts +2 -2
- package/es/src/ap-table/style/index.d.ts +2 -2
- package/es/src/ap-table/style/setting.d.ts +2 -2
- package/es/src/ap-tag/style/group.d.ts +2 -2
- package/es/src/ap-tag/style/index.d.ts +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +32 -31
- package/es/src/ap-upload/style/index.d.ts +2 -2
- package/es/src/business/ag-grid-modal/interface.d.ts +1 -1
- package/es/src/business/ag-grid-modal/style/index.d.ts +2 -2
- package/es/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
- package/es/src/business/ag-grid-modal/utils.mjs +23 -23
- package/es/src/business/ag-grid-modal/wrapper/index.vue.d.ts +6 -2
- package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +29 -12
- package/es/src/business/ap-appendix/style/index.d.ts +3 -3
- package/es/src/business/ap-appendix/style/index.mjs +1 -1
- package/es/src/business/ap-attachment/ApAttachment.mjs +70 -66
- package/es/src/business/ap-attachment/style/index.d.ts +2 -2
- package/es/src/business/ap-batch-action/style/index.d.ts +3 -3
- package/es/src/business/ap-batch-action/style/index.mjs +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +50 -56
- package/es/src/business/ap-batch-action-group/style/index.d.ts +3 -0
- package/es/src/business/ap-batch-action-group/style/index.mjs +14 -0
- package/es/src/business/ap-card/style/index.d.ts +3 -3
- package/es/src/business/ap-card/style/index.mjs +8 -8
- package/es/src/business/ap-copy/style/index.d.ts +2 -2
- package/es/src/business/ap-draggable-grid/style/index.d.ts +2 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +57 -49
- package/es/src/business/ap-expand-alert/index.d.ts +5 -2
- package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/es/src/business/ap-expand-alert/style/index.d.ts +2 -2
- package/es/src/business/ap-image/style/index.d.ts +3 -3
- package/es/src/business/ap-image/style/index.mjs +6 -6
- package/es/src/business/ap-input-radio/style/index.d.ts +2 -2
- package/es/src/business/ap-label/style/index.d.ts +2 -2
- package/es/src/business/ap-ladder/style/index.d.ts +2 -2
- package/es/src/business/ap-ladder/style/index.mjs +2 -5
- package/es/src/business/ap-product-info/style/index.d.ts +2 -2
- package/es/src/business/ap-radio-group/style/index.d.ts +2 -2
- package/es/src/business/ap-select-layout/style/index.d.ts +2 -2
- package/es/src/business/ap-size-input/ApSizeInput.d.ts +20 -4
- package/es/src/business/ap-size-input/ApSizeInput.mjs +37 -40
- package/es/src/business/ap-size-input/constans.d.ts +10 -2
- package/es/src/business/ap-size-input/constans.mjs +9 -1
- package/es/src/business/ap-size-input/form-item.vue.d.ts +13 -0
- package/es/src/business/ap-size-input/form-item.vue.mjs +65 -0
- package/es/src/business/ap-size-input/form-item.vue2.mjs +4 -0
- package/es/src/business/ap-size-input/index.d.ts +33 -8
- package/es/src/business/ap-size-input/index.mjs +3 -2
- package/es/src/business/ap-size-input/interface.d.ts +7 -0
- package/es/src/business/ap-size-input/style/index.d.ts +2 -2
- package/es/src/business/ap-size-input/style/index.mjs +2 -1
- package/es/src/business/ap-status/style/index.d.ts +2 -2
- package/es/src/business/ap-summary/style/index.d.ts +2 -2
- package/es/src/business/ap-table-modal/style/index.d.ts +2 -2
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +23 -23
- package/es/src/business/ap-title/style/index.d.ts +2 -2
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
- package/es/src/business/ap-value-select-card/style/index.d.ts +2 -2
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +61 -64
- package/es/src/business/ap-view/style/index.d.ts +3 -3
- package/es/src/business/ap-view/style/index.mjs +2 -2
- package/es/src/business/batch-input-group/style/index.d.ts +2 -2
- package/es/src/business/hooks/usePageListAgGrid.mjs +7 -6
- package/es/src/check-card/style/index.d.ts +2 -2
- package/es/src/check-card/style/index.mjs +46 -51
- package/es/src/config-provider/hooks/use-token.d.ts +2 -2
- package/es/src/design-token/interface.d.ts +24 -1
- package/es/src/editable-table/style/index.d.ts +2 -2
- package/es/src/full-screen/style/index.d.ts +2 -2
- package/es/src/index.mjs +95 -93
- package/es/src/mask/style/index.d.ts +2 -2
- package/es/src/scroll-bar/style/index.d.ts +2 -2
- package/es/src/scroll-view/style/index.d.ts +2 -2
- package/es/src/splitter/style/index.d.ts +2 -2
- package/es/src/text/style/group.d.ts +2 -2
- package/es/src/text/style/index.d.ts +2 -2
- package/es/src/utils/cssinjs/index.d.ts +2 -2
- package/es/src/utils/cssinjs/index.mjs +54 -48
- package/es/src/utils/cssinjs/plugin-specificity.mjs +13 -0
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +1 -0
- package/lib/src/ag-grid/style/custom-header.d.ts +2 -2
- package/lib/src/ag-grid/style/custom-header.js +1 -1
- package/lib/src/ag-grid/style/editable.d.ts +2 -2
- package/lib/src/ag-grid/style/index.d.ts +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/style/dropdown-item.d.ts +2 -2
- package/lib/src/ap-action/style/index.d.ts +2 -2
- package/lib/src/ap-button/style/index.d.ts +2 -2
- package/lib/src/ap-button/utils/index.js +1 -1
- package/lib/src/ap-descriptions/style/index.d.ts +2 -2
- package/lib/src/ap-download/ap-download.vue.d.ts +4 -4
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/interface.d.ts +4 -0
- package/lib/src/ap-download/style/index.d.ts +2 -2
- package/lib/src/ap-drawer/style/index.d.ts +2 -2
- package/lib/src/ap-field/style/index.d.ts +2 -2
- package/lib/src/ap-form/style/drawer-form.d.ts +2 -2
- package/lib/src/ap-form/style/item-group.d.ts +2 -2
- package/lib/src/ap-form/style/item-text-group.d.ts +2 -2
- package/lib/src/ap-form/style/item.d.ts +2 -2
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/style/modal-form.d.ts +2 -2
- package/lib/src/ap-form/style/modal-form.js +1 -1
- package/lib/src/ap-form/style/search-form-sorter.d.ts +2 -2
- package/lib/src/ap-form/style/search-form-sorter.js +1 -1
- package/lib/src/ap-form/style/search-form.d.ts +2 -2
- package/lib/src/ap-form/style/token.d.ts +4 -0
- package/lib/src/ap-grid/style/editable.d.ts +2 -2
- package/lib/src/ap-grid/style/index.d.ts +2 -2
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-list/style/index.d.ts +2 -2
- package/lib/src/ap-modal/interface.d.ts +31 -11
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-pro-card/style/divider.d.ts +2 -2
- package/lib/src/ap-pro-card/style/index.d.ts +2 -2
- package/lib/src/ap-pro-card/style/operation.d.ts +2 -2
- package/lib/src/ap-pro-card/style/statistic.d.ts +2 -2
- package/lib/src/ap-pro-card/style/statistics-card.d.ts +2 -2
- package/lib/src/ap-pro-card/style/title.d.ts +2 -2
- package/lib/src/ap-table/style/ellipsis.d.ts +2 -2
- package/lib/src/ap-table/style/index-comp.d.ts +2 -2
- package/lib/src/ap-table/style/index.d.ts +2 -2
- package/lib/src/ap-table/style/setting.d.ts +2 -2
- package/lib/src/ap-tag/style/group.d.ts +2 -2
- package/lib/src/ap-tag/style/index.d.ts +2 -2
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/style/index.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/interface.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/style/index.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/wrapper/index.vue.d.ts +6 -2
- package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
- package/lib/src/business/ap-appendix/style/index.d.ts +3 -3
- package/lib/src/business/ap-appendix/style/index.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/style/index.d.ts +2 -2
- package/lib/src/business/ap-batch-action/style/index.d.ts +3 -3
- package/lib/src/business/ap-batch-action/style/index.js +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/style/index.d.ts +3 -0
- package/lib/src/business/ap-batch-action-group/style/index.js +1 -0
- package/lib/src/business/ap-card/style/index.d.ts +3 -3
- package/lib/src/business/ap-card/style/index.js +1 -1
- package/lib/src/business/ap-copy/style/index.d.ts +2 -2
- package/lib/src/business/ap-draggable-grid/style/index.d.ts +2 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +5 -2
- package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/style/index.d.ts +2 -2
- package/lib/src/business/ap-image/style/index.d.ts +3 -3
- package/lib/src/business/ap-image/style/index.js +1 -1
- package/lib/src/business/ap-input-radio/style/index.d.ts +2 -2
- package/lib/src/business/ap-label/style/index.d.ts +2 -2
- package/lib/src/business/ap-ladder/style/index.d.ts +2 -2
- package/lib/src/business/ap-ladder/style/index.js +1 -1
- package/lib/src/business/ap-product-info/style/index.d.ts +2 -2
- package/lib/src/business/ap-radio-group/style/index.d.ts +2 -2
- package/lib/src/business/ap-select-layout/style/index.d.ts +2 -2
- package/lib/src/business/ap-size-input/ApSizeInput.d.ts +20 -4
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/constans.d.ts +10 -2
- package/lib/src/business/ap-size-input/constans.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +13 -0
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -0
- package/lib/src/business/ap-size-input/form-item.vue2.js +1 -0
- package/lib/src/business/ap-size-input/index.d.ts +33 -8
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-size-input/interface.d.ts +7 -0
- package/lib/src/business/ap-size-input/style/index.d.ts +2 -2
- package/lib/src/business/ap-size-input/style/index.js +1 -1
- package/lib/src/business/ap-status/style/index.d.ts +2 -2
- package/lib/src/business/ap-summary/style/index.d.ts +2 -2
- package/lib/src/business/ap-table-modal/style/index.d.ts +2 -2
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-title/style/index.d.ts +2 -2
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
- package/lib/src/business/ap-value-select-card/style/index.d.ts +2 -2
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/style/index.d.ts +3 -3
- package/lib/src/business/ap-view/style/index.js +1 -1
- package/lib/src/business/batch-input-group/style/index.d.ts +2 -2
- package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
- package/lib/src/check-card/style/index.d.ts +2 -2
- package/lib/src/check-card/style/index.js +1 -1
- package/lib/src/config-provider/hooks/use-token.d.ts +2 -2
- package/lib/src/design-token/interface.d.ts +24 -1
- package/lib/src/editable-table/style/index.d.ts +2 -2
- package/lib/src/full-screen/style/index.d.ts +2 -2
- package/lib/src/index.js +1 -1
- package/lib/src/mask/style/index.d.ts +2 -2
- package/lib/src/scroll-bar/style/index.d.ts +2 -2
- package/lib/src/scroll-view/style/index.d.ts +2 -2
- package/lib/src/splitter/style/index.d.ts +2 -2
- package/lib/src/text/style/group.d.ts +2 -2
- package/lib/src/text/style/index.d.ts +2 -2
- package/lib/src/utils/cssinjs/index.d.ts +2 -2
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/cssinjs/plugin-specificity.js +1 -0
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -4,14 +4,14 @@ import "./src/hooks/index.mjs";
|
|
|
4
4
|
import { configProviderProps as s } from "./src/config-provider/config-provider-props.mjs";
|
|
5
5
|
import { DEFAULT_NAMESPACE as A, DEFAULT_UIMODE as i, configProviderContextKey as n } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as F, provideGlobalConfig as I, useGlobalConfig as g } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
|
-
import { buildLocaleContext as
|
|
7
|
+
import { buildLocaleContext as S, buildTranslator as b, localeContextKey as C, translate as G, useLocale as D } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
8
|
import { defaultNamespace as P, namespaceContextKey as E, useGetDerivedNamespace as R, useNamespace as L } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { ConfigProvider as v, globalConfigCached as M } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as w } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { ApFormItemText as K } from "./src/ap-form/items/text/index.mjs";
|
|
12
12
|
import { default as U } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
13
13
|
import { default as V } from "./src/ap-form/items/number/index.vue.mjs";
|
|
14
|
-
import { default as
|
|
14
|
+
import { default as _ } from "./src/ap-form/items/date/index.vue.mjs";
|
|
15
15
|
import { default as j } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
16
16
|
import { default as W } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
17
17
|
import { default as J } from "./src/ap-form/items/select/index.vue.mjs";
|
|
@@ -27,7 +27,7 @@ import { default as Ae } from "./src/ap-form/search-form/index.vue.mjs";
|
|
|
27
27
|
import { default as ne } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
28
28
|
import { default as Fe } from "./src/ap-form/dependency/index.vue.mjs";
|
|
29
29
|
import { default as ge } from "./src/ap-form/set/index.vue.mjs";
|
|
30
|
-
import { default as
|
|
30
|
+
import { default as Se } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
31
31
|
import { default as Ce } from "./src/ap-form/render/control.vue.mjs";
|
|
32
32
|
import { default as De } from "./src/ap-form/render/item.vue.mjs";
|
|
33
33
|
import { default as Pe } from "./src/ap-form/provider/index.vue.mjs";
|
|
@@ -37,7 +37,7 @@ import { default as ye } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
|
37
37
|
import { default as Be } from "./src/ap-field/date/index.vue.mjs";
|
|
38
38
|
import { default as ke } from "./src/ap-field/number/index.vue.mjs";
|
|
39
39
|
import { default as Oe } from "./src/ap-field/radio/index.vue.mjs";
|
|
40
|
-
import { default as
|
|
40
|
+
import { default as ze } from "./src/ap-field/switch/index.vue.mjs";
|
|
41
41
|
import { default as $e } from "./src/ap-field/text-area/index.vue.mjs";
|
|
42
42
|
import { default as He } from "./src/ap-field/date-range/index.vue.mjs";
|
|
43
43
|
import { default as qe } from "./src/ap-field/select/index.vue.mjs";
|
|
@@ -53,7 +53,7 @@ import { default as io } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
|
53
53
|
import { default as co } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
54
54
|
import { default as Io } from "./src/ap-action/group/index.vue.mjs";
|
|
55
55
|
import { default as To } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
56
|
-
import { default as
|
|
56
|
+
import { default as bo } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
57
57
|
import { NeedNameKeyDefault as Go } from "./src/ap-upload/apUploadTypes.mjs";
|
|
58
58
|
import { default as ho } from "./src/ap-upload/apUpload.vue.mjs";
|
|
59
59
|
import { ApDownLoadNeedNameKeyDefault as Eo } from "./src/ap-download/interface.mjs";
|
|
@@ -63,7 +63,7 @@ import { default as yo } from "./src/check-card/group.vue.mjs";
|
|
|
63
63
|
import { ApModal as Bo } from "./src/ap-modal/index.mjs";
|
|
64
64
|
import { default as ko } from "./src/ap-list/index.vue.mjs";
|
|
65
65
|
import { default as Oo } from "./src/ap-button/ap-button.vue.mjs";
|
|
66
|
-
import { default as
|
|
66
|
+
import { default as zo } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
67
67
|
import { default as $o } from "./src/ap-button/ap-confirm-button.vue.mjs";
|
|
68
68
|
import { ApDrawer as Ho } from "./src/ap-drawer/index.mjs";
|
|
69
69
|
import { ApProCard as qo, ApStatisticCard as Jo } from "./src/ap-pro-card/index.mjs";
|
|
@@ -79,7 +79,7 @@ import { ApCard as Ar } from "./src/business/ap-card/index.mjs";
|
|
|
79
79
|
import { ApExpandAlert as nr } from "./src/business/ap-expand-alert/index.mjs";
|
|
80
80
|
import { ApExportGroupActionType as Fr } from "./src/business/ap-export-group/interface.mjs";
|
|
81
81
|
import { ApExportGroup as gr } from "./src/business/ap-export-group/index.mjs";
|
|
82
|
-
import { handleExportDownload as
|
|
82
|
+
import { handleExportDownload as Sr } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
83
83
|
import { convertExportField as Cr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
84
84
|
import { ApImage as Dr } from "./src/business/ap-image/index.mjs";
|
|
85
85
|
import { ApInputRadio as Pr } from "./src/business/ap-input-radio/index.mjs";
|
|
@@ -89,7 +89,7 @@ import { ApLadder as yr } from "./src/business/ap-ladder/index.mjs";
|
|
|
89
89
|
import { ApSelectLayout as Br } from "./src/business/ap-select-layout/index.mjs";
|
|
90
90
|
import { ApStatus as kr, ApStatusGroup as Ur } from "./src/business/ap-status/index.mjs";
|
|
91
91
|
import { ApTitle as Vr } from "./src/business/ap-title/index.mjs";
|
|
92
|
-
import { usePageListApTable as
|
|
92
|
+
import { usePageListApTable as _r } from "./src/business/hooks/usePageListApTable.mjs";
|
|
93
93
|
import { useTableRefresh as jr } from "./src/business/hooks/useTableRefresh.mjs";
|
|
94
94
|
import { usePageListApGrid as Wr } from "./src/business/hooks/usePageListApGrid.mjs";
|
|
95
95
|
import { useGridRefresh as Jr } from "./src/business/hooks/useGridRefresh.mjs";
|
|
@@ -102,50 +102,51 @@ import { default as dt } from "./src/business/ap-upload-file/ap-upload-single/ap
|
|
|
102
102
|
import { default as ut } from "./src/business/batch-input-group/index.vue.mjs";
|
|
103
103
|
import { default as it } from "./src/business/batch-input-group/form-item.vue.mjs";
|
|
104
104
|
import { ApSizeInput as ct } from "./src/business/ap-size-input/index.mjs";
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import { default as Zt } from "./src/editable-table/
|
|
123
|
-
import { default as op } from "./src/
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import { default as mp } from "./src/scroll-bar/
|
|
127
|
-
import { default as xp } from "./src/scroll-
|
|
128
|
-
import { default as sp } from "./src/
|
|
129
|
-
import { default as Ap } from "./src/
|
|
130
|
-
import { default as np } from "./src/
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import { default as Cp } from "./src/ap-grid/
|
|
135
|
-
import { default as Dp } from "./src/ap-grid/editable/
|
|
136
|
-
import { default as Pp } from "./src/
|
|
137
|
-
import { default as Rp } from "./src/text/
|
|
138
|
-
import { default as Np } from "./src/
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import { default as Kp } from "./src/ag-grid/
|
|
142
|
-
import { default as Up } from "./src/ag-grid/editable/
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
105
|
+
import { default as It } from "./src/business/ap-size-input/form-item.vue.mjs";
|
|
106
|
+
import { ApProductInfo as Tt } from "./src/business/ap-product-info/index.mjs";
|
|
107
|
+
import { ApCopy as bt } from "./src/business/ap-copy/index.mjs";
|
|
108
|
+
import { ApView as Gt } from "./src/business/ap-view/index.mjs";
|
|
109
|
+
import { ApRadioGroup as ht } from "./src/business/ap-radio-group/index.mjs";
|
|
110
|
+
import { ApKeepAliveProps as Et, forceStopTags as Rt } from "./src/business/ap-keep-alive/interface.mjs";
|
|
111
|
+
import { ApKeepAlive as Nt } from "./src/business/ap-keep-alive/index.mjs";
|
|
112
|
+
import { LruCacher as Mt } from "./src/business/ap-keep-alive/cacher/lru-cacher.mjs";
|
|
113
|
+
import { useApKeepAliveInject as wt } from "./src/business/ap-keep-alive/hook.mjs";
|
|
114
|
+
import { matches as Kt } from "./src/business/ap-keep-alive/utils.mjs";
|
|
115
|
+
import { ApDraggableGrid as Ut } from "./src/business/ap-draggable-grid/index.mjs";
|
|
116
|
+
import { ApValueSelectCard as Vt } from "./src/business/ap-value-select-card/index.mjs";
|
|
117
|
+
import { useAgGridModal as _t } from "./src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs";
|
|
118
|
+
import { useAgGridSelectModal as jt } from "./src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs";
|
|
119
|
+
import { ApSelectedItems as Wt } from "./src/business/ag-grid-modal/selected-items/index.mjs";
|
|
120
|
+
import { useTablePaging as Jt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
121
|
+
import { ApTable as Xt } from "./src/ap-table/index.mjs";
|
|
122
|
+
import { default as Zt } from "./src/editable-table/index.vue.mjs";
|
|
123
|
+
import { default as op } from "./src/editable-table/form-item.vue.mjs";
|
|
124
|
+
import { default as tp } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
125
|
+
import { ensureRangeValue as ap } from "./src/scroll-bar/utils/index.mjs";
|
|
126
|
+
import { default as mp } from "./src/scroll-bar/index.vue.mjs";
|
|
127
|
+
import { default as xp } from "./src/scroll-bar/internal.vue.mjs";
|
|
128
|
+
import { default as sp } from "./src/scroll-view/index.vue.mjs";
|
|
129
|
+
import { default as Ap } from "./src/portal/index.vue.mjs";
|
|
130
|
+
import { default as np } from "./src/full-screen/index.vue.mjs";
|
|
131
|
+
import { default as Fp } from "./src/resize-observer/index.vue.mjs";
|
|
132
|
+
import { ROW_SELECTION_FIELD as gp } from "./src/ap-grid/constants.mjs";
|
|
133
|
+
import { toTreeArray as Sp } from "./src/ap-grid/utils/to-tree-array.mjs";
|
|
134
|
+
import { default as Cp } from "./src/ap-grid/index.vue.mjs";
|
|
135
|
+
import { default as Dp } from "./src/ap-grid/editable/index.vue.mjs";
|
|
136
|
+
import { default as Pp } from "./src/ap-grid/editable/form-item.vue.mjs";
|
|
137
|
+
import { default as Rp } from "./src/text/index.vue.mjs";
|
|
138
|
+
import { default as Np } from "./src/text/group.vue.mjs";
|
|
139
|
+
import { default as Mp } from "./src/mask/index.vue.mjs";
|
|
140
|
+
import { Splitter as wp } from "./src/splitter/index.mjs";
|
|
141
|
+
import { default as Kp } from "./src/ag-grid/index.vue.mjs";
|
|
142
|
+
import { default as Up } from "./src/ag-grid/editable/index.vue.mjs";
|
|
143
|
+
import { default as Vp } from "./src/ag-grid/editable/form-item.vue.mjs";
|
|
144
|
+
import { useMessage as _p } from "./src/hooks/useMessage.mjs";
|
|
145
|
+
import { useControllableValue as jp } from "./src/hooks/useControllableValue.mjs";
|
|
146
|
+
import { useManualRef as Wp } from "./src/hooks/useManualRef.mjs";
|
|
147
|
+
import { useThrottleRef as Jp } from "./src/hooks/useThrottleRef.mjs";
|
|
148
|
+
import { useFullScreen as Xp } from "./src/hooks/useFullScreen.mjs";
|
|
149
|
+
import { useResize as Zp } from "./src/hooks/useResize.mjs";
|
|
149
150
|
const a = console.log;
|
|
150
151
|
a(`APlus-UI version ${p}`);
|
|
151
152
|
const l = {
|
|
@@ -158,8 +159,8 @@ const l = {
|
|
|
158
159
|
};
|
|
159
160
|
export {
|
|
160
161
|
w as APConfigProvider,
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
Kp as AgGrid,
|
|
163
|
+
zo as ApActionButton,
|
|
163
164
|
Io as ApActionGroup,
|
|
164
165
|
xo as ApActionItem,
|
|
165
166
|
co as ApActionItemDropdown,
|
|
@@ -173,11 +174,11 @@ export {
|
|
|
173
174
|
sr as ApButtonGroup,
|
|
174
175
|
Ar as ApCard,
|
|
175
176
|
$o as ApConfirmButton,
|
|
176
|
-
|
|
177
|
-
|
|
177
|
+
bt as ApCopy,
|
|
178
|
+
tp as ApDescriptions,
|
|
178
179
|
Eo as ApDownLoadNeedNameKeyDefault,
|
|
179
180
|
Lo as ApDownload,
|
|
180
|
-
|
|
181
|
+
Ut as ApDraggableGrid,
|
|
181
182
|
Ho as ApDrawer,
|
|
182
183
|
nr as ApExpandAlert,
|
|
183
184
|
gr as ApExportGroup,
|
|
@@ -194,24 +195,25 @@ export {
|
|
|
194
195
|
eo as ApFieldSegmented,
|
|
195
196
|
qe as ApFieldSelect,
|
|
196
197
|
Ye as ApFieldSlider,
|
|
197
|
-
|
|
198
|
+
ze as ApFieldSwitch,
|
|
198
199
|
ve as ApFieldText,
|
|
199
200
|
$e as ApFieldTextArea,
|
|
200
201
|
po as ApFieldTreeSelect,
|
|
201
202
|
ae as ApForm,
|
|
202
203
|
Ce as ApFormControlRender,
|
|
203
204
|
Fe as ApFormDependency,
|
|
204
|
-
|
|
205
|
+
Se as ApFormDrawerForm,
|
|
205
206
|
me as ApFormItem,
|
|
206
207
|
it as ApFormItemBatchInput,
|
|
207
208
|
Z as ApFormItemCheckbox,
|
|
208
|
-
|
|
209
|
+
_ as ApFormItemDate,
|
|
209
210
|
j as ApFormItemDateRange,
|
|
210
211
|
xe as ApFormItemGroup,
|
|
211
212
|
V as ApFormItemNumber,
|
|
212
213
|
W as ApFormItemRadio,
|
|
213
214
|
De as ApFormItemRender,
|
|
214
215
|
J as ApFormItemSelect,
|
|
216
|
+
It as ApFormItemSizeInput,
|
|
215
217
|
X as ApFormItemSwitch,
|
|
216
218
|
K as ApFormItemText,
|
|
217
219
|
U as ApFormItemTextArea,
|
|
@@ -222,11 +224,11 @@ export {
|
|
|
222
224
|
Pe as ApFormProvider,
|
|
223
225
|
Ae as ApFormSearchForm,
|
|
224
226
|
ge as ApFormSet,
|
|
225
|
-
|
|
227
|
+
Cp as ApGrid,
|
|
226
228
|
Dr as ApImage,
|
|
227
229
|
Pr as ApInputRadio,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
+
Nt as ApKeepAlive,
|
|
231
|
+
Et as ApKeepAliveProps,
|
|
230
232
|
Rr as ApLabel,
|
|
231
233
|
Lr as ApLabelGroup,
|
|
232
234
|
yr as ApLadder,
|
|
@@ -234,94 +236,94 @@ export {
|
|
|
234
236
|
Bo as ApModal,
|
|
235
237
|
ft as ApNeedNameKeyDefault,
|
|
236
238
|
qo as ApProCard,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
+
Tt as ApProductInfo,
|
|
240
|
+
ht as ApRadioGroup,
|
|
239
241
|
Br as ApSelectLayout,
|
|
240
|
-
|
|
242
|
+
Wt as ApSelectedItems,
|
|
241
243
|
ct as ApSizeInput,
|
|
242
244
|
Jo as ApStatisticCard,
|
|
243
245
|
kr as ApStatus,
|
|
244
246
|
Ur as ApStatusGroup,
|
|
245
247
|
pt as ApSummary,
|
|
246
|
-
|
|
248
|
+
Xt as ApTable,
|
|
247
249
|
Zo as ApTableModal,
|
|
248
250
|
To as ApTag,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
251
|
+
bo as ApTagGroup,
|
|
252
|
+
Rp as ApText,
|
|
253
|
+
Np as ApTextGroup,
|
|
252
254
|
Vr as ApTitle,
|
|
253
255
|
Xo as ApTransformDataHelper,
|
|
254
256
|
ho as ApUpload,
|
|
255
257
|
dt as ApUploadSingle,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
+
Vt as ApValueSelectCard,
|
|
259
|
+
Gt as ApView,
|
|
258
260
|
ut as BatchInputGroup,
|
|
259
261
|
vo as CheckCard,
|
|
260
262
|
yo as CheckCardGroup,
|
|
261
263
|
v as ConfigProvider,
|
|
262
264
|
A as DEFAULT_NAMESPACE,
|
|
263
265
|
i as DEFAULT_UIMODE,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
266
|
+
Up as EditableAgGrid,
|
|
267
|
+
Vp as EditableAgGridFormItem,
|
|
268
|
+
Dp as EditableGrid,
|
|
269
|
+
Pp as EditableGridFormItem,
|
|
270
|
+
Zt as EditableTable,
|
|
271
|
+
op as EditableTableFormItem,
|
|
272
|
+
np as FullScreen,
|
|
273
|
+
xp as InternalScrollBar,
|
|
274
|
+
Mt as LruCacher,
|
|
275
|
+
Mp as Mask,
|
|
274
276
|
Go as NeedNameKeyDefault,
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
277
|
+
Ap as Portal,
|
|
278
|
+
gp as ROW_SELECTION_FIELD,
|
|
279
|
+
Fp as ResizeObserver,
|
|
280
|
+
mp as ScrollBar,
|
|
281
|
+
sp as ScrollView,
|
|
282
|
+
wp as Splitter,
|
|
281
283
|
fo as adminToken,
|
|
282
284
|
mo as aplusToken,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
+
S as buildLocaleContext,
|
|
286
|
+
b as buildTranslator,
|
|
285
287
|
Zr as computedRecords,
|
|
286
288
|
n as configProviderContextKey,
|
|
287
289
|
s as configProviderProps,
|
|
288
290
|
Cr as convertExportField,
|
|
289
291
|
l as default,
|
|
290
292
|
P as defaultNamespace,
|
|
291
|
-
|
|
293
|
+
ap as ensureRangeValue,
|
|
292
294
|
et as flattenColumns,
|
|
293
|
-
|
|
295
|
+
Rt as forceStopTags,
|
|
294
296
|
ot as formatDataIndex,
|
|
295
297
|
rt as formatNumber,
|
|
296
298
|
M as globalConfigCached,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
+
Sr as handleExportDownload,
|
|
300
|
+
Kt as isNameMatches,
|
|
299
301
|
F as keysOf,
|
|
300
302
|
C as localeContextKey,
|
|
301
303
|
vr as locales,
|
|
302
304
|
E as namespaceContextKey,
|
|
303
305
|
I as provideGlobalConfig,
|
|
304
|
-
|
|
306
|
+
Sp as toTreeArray,
|
|
305
307
|
G as translate,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
308
|
+
_t as useAgGridModal,
|
|
309
|
+
jt as useAgGridSelectModal,
|
|
310
|
+
wt as useApKeepAliveInject,
|
|
311
|
+
jp as useControllableValue,
|
|
312
|
+
Xp as useFullScreen,
|
|
311
313
|
R as useGetDerivedNamespace,
|
|
312
314
|
g as useGlobalConfig,
|
|
313
315
|
Jr as useGridRefresh,
|
|
314
316
|
D as useLocale,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
+
Wp as useManualRef,
|
|
318
|
+
_p as useMessage,
|
|
317
319
|
L as useNamespace,
|
|
318
320
|
Xr as usePageListAgGrid,
|
|
319
321
|
Wr as usePageListApGrid,
|
|
320
|
-
|
|
321
|
-
|
|
322
|
+
_r as usePageListApTable,
|
|
323
|
+
Zp as useResize,
|
|
322
324
|
or as useTableModal,
|
|
323
|
-
|
|
325
|
+
Jt as useTablePaging,
|
|
324
326
|
jr as useTableRefresh,
|
|
325
327
|
tr as useTableSelectModal,
|
|
326
|
-
|
|
328
|
+
Jp as useThrottleRef
|
|
327
329
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getTableRenderProps as
|
|
2
|
-
import { rendererMap as
|
|
3
|
-
import { isNumber as
|
|
4
|
-
import { ref as
|
|
1
|
+
import { getTableRenderProps as c, objectToString as D } from "../../ap-table/utils.mjs";
|
|
2
|
+
import { rendererMap as x } from "../renderer/index.mjs";
|
|
3
|
+
import { isNumber as u, isFunction as m } from "lodash-unified";
|
|
4
|
+
import { ref as P, unref as v, computed as y } from "vue";
|
|
5
5
|
import "../components/body-cell/index.vue.mjs";
|
|
6
6
|
import "../components/header-cell/index.vue.mjs";
|
|
7
7
|
import "../components/tooltip/index.vue.mjs";
|
|
@@ -12,24 +12,24 @@ import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-con
|
|
|
12
12
|
import { useNamespace as G } from "../../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
import W from "../components/body-cell/index.vue2.mjs";
|
|
14
14
|
import z from "../components/tooltip/index.vue2.mjs";
|
|
15
|
-
import
|
|
15
|
+
import h from "../components/header-cell/index.vue2.mjs";
|
|
16
16
|
function F(t) {
|
|
17
|
-
return
|
|
17
|
+
return u(t) && t > 1;
|
|
18
18
|
}
|
|
19
|
-
function M(t,
|
|
20
|
-
if (
|
|
21
|
-
return m(
|
|
22
|
-
if (
|
|
23
|
-
return
|
|
19
|
+
function M(t, a) {
|
|
20
|
+
if (a.bodyCellTooltip)
|
|
21
|
+
return m(a.bodyCellTooltip) ? a.bodyCellTooltip(t.value, t.data) : a.bodyCellTooltip;
|
|
22
|
+
if (a.renderText)
|
|
23
|
+
return a.renderText({
|
|
24
24
|
value: t.value,
|
|
25
25
|
record: t.data,
|
|
26
|
-
column:
|
|
26
|
+
column: a,
|
|
27
27
|
text: t.value
|
|
28
28
|
});
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
31
|
-
const
|
|
32
|
-
{ ...
|
|
29
|
+
const d = a.valueType || "text", p = x[d];
|
|
30
|
+
if (p) {
|
|
31
|
+
const f = c(
|
|
32
|
+
{ ...a, valueType: d },
|
|
33
33
|
{
|
|
34
34
|
value: t.value,
|
|
35
35
|
text: t.value,
|
|
@@ -39,61 +39,61 @@ function M(t, o) {
|
|
|
39
39
|
pinned: t.node?.rowPinned
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
|
-
return
|
|
42
|
+
return p(f);
|
|
43
43
|
}
|
|
44
|
-
return
|
|
44
|
+
return D(t.value);
|
|
45
45
|
}
|
|
46
|
-
const X = (t,
|
|
47
|
-
const
|
|
48
|
-
const
|
|
46
|
+
const X = (t, a, d) => {
|
|
47
|
+
const p = _("valueTypeMap"), C = P(), { em: f } = G("ag-grid"), b = (r) => {
|
|
48
|
+
const i = {
|
|
49
49
|
cellRenderer: W,
|
|
50
50
|
cellRendererParams: {
|
|
51
51
|
column: r,
|
|
52
|
-
extraValueType:
|
|
53
|
-
rowKey:
|
|
52
|
+
extraValueType: v(p),
|
|
53
|
+
rowKey: a.rowKey
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
if (r.customRender)
|
|
57
|
-
return
|
|
57
|
+
return i;
|
|
58
58
|
if (r.renderText)
|
|
59
59
|
return {
|
|
60
|
-
valueFormatter: (
|
|
61
|
-
value:
|
|
62
|
-
record:
|
|
60
|
+
valueFormatter: (o) => r.renderText({
|
|
61
|
+
value: o.value,
|
|
62
|
+
record: o.data,
|
|
63
63
|
column: r,
|
|
64
|
-
text:
|
|
64
|
+
text: o.value
|
|
65
65
|
})
|
|
66
66
|
};
|
|
67
|
-
const
|
|
67
|
+
const s = r.valueType || "text", e = x[s];
|
|
68
68
|
return e ? {
|
|
69
|
-
valueFormatter: (
|
|
70
|
-
const
|
|
71
|
-
{ ...r, valueType:
|
|
69
|
+
valueFormatter: (o) => {
|
|
70
|
+
const l = c(
|
|
71
|
+
{ ...r, valueType: s },
|
|
72
72
|
{
|
|
73
|
-
value:
|
|
74
|
-
text:
|
|
75
|
-
record:
|
|
76
|
-
column:
|
|
77
|
-
rowIndex:
|
|
78
|
-
pinned:
|
|
73
|
+
value: o.value,
|
|
74
|
+
text: o.value,
|
|
75
|
+
record: o.data,
|
|
76
|
+
column: o.column,
|
|
77
|
+
rowIndex: o.node?.rowIndex,
|
|
78
|
+
pinned: o.node?.rowPinned
|
|
79
79
|
}
|
|
80
80
|
);
|
|
81
|
-
return e(
|
|
81
|
+
return e(l);
|
|
82
82
|
}
|
|
83
|
-
} :
|
|
84
|
-
},
|
|
85
|
-
const
|
|
86
|
-
return
|
|
87
|
-
"--ag-grid-line-clamp":
|
|
88
|
-
},
|
|
89
|
-
lineClamp:
|
|
90
|
-
gridWrapperRef:
|
|
91
|
-
},
|
|
92
|
-
}, g =
|
|
93
|
-
const r =
|
|
94
|
-
function
|
|
95
|
-
return
|
|
96
|
-
const
|
|
83
|
+
} : i;
|
|
84
|
+
}, w = (r) => {
|
|
85
|
+
const i = r.valueType || "text", s = x[i], e = {}, o = r.bodyCellTooltip || !r.customRender && s && (r.ellipsis === !0 || r.ellipsis === "tooltip" || u(r.ellipsis)), l = u(r.ellipsis) && r.ellipsis > 1, n = u(r.ellipsis) ? r.ellipsis : 1;
|
|
86
|
+
return e.tooltipValueGetter = o ? (T) => M(T, r) : void 0, e.wrapText = !r.ellipsis || l, e.cellStyle = {
|
|
87
|
+
"--ag-grid-line-clamp": n
|
|
88
|
+
}, e.tooltipComponent = z, e.tooltipComponentParams = {
|
|
89
|
+
lineClamp: n,
|
|
90
|
+
gridWrapperRef: C
|
|
91
|
+
}, e;
|
|
92
|
+
}, g = y(() => {
|
|
93
|
+
const r = v(t);
|
|
94
|
+
function i(s) {
|
|
95
|
+
return s.map((e) => {
|
|
96
|
+
const o = {
|
|
97
97
|
field: S(e.dataIndex),
|
|
98
98
|
colId: I(e.key) ? String(e.key) : void 0,
|
|
99
99
|
sortable: !!e.sorter,
|
|
@@ -110,44 +110,45 @@ const X = (t, o, n) => {
|
|
|
110
110
|
pinned: e.fixed || null,
|
|
111
111
|
// undefined to null
|
|
112
112
|
colSpan: e.colSpan,
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
spanRows: e.spanRows,
|
|
114
|
+
cellClass: d((l) => {
|
|
115
|
+
const n = e.cellClass || "", T = m(n) ? n(l.data, l.node) : n;
|
|
115
116
|
return [
|
|
116
|
-
`${
|
|
117
|
-
F(e.ellipsis) ?
|
|
118
|
-
|
|
117
|
+
`${f("cell", e.align || "left")}`,
|
|
118
|
+
F(e.ellipsis) ? f("cell", "multiline") : null,
|
|
119
|
+
T
|
|
119
120
|
].flat().filter(Boolean);
|
|
120
121
|
}),
|
|
121
122
|
headerStyle: e.headerStyle,
|
|
122
123
|
headerClass: e.headerClass,
|
|
123
124
|
autoHeight: !0,
|
|
124
125
|
// 设置自动计算高度以自适应多行换行的场景
|
|
125
|
-
...
|
|
126
|
-
...
|
|
126
|
+
...w(e),
|
|
127
|
+
...b(e)
|
|
127
128
|
};
|
|
128
129
|
return e.children?.length ? {
|
|
129
|
-
...
|
|
130
|
-
headerGroupComponent:
|
|
130
|
+
...o,
|
|
131
|
+
headerGroupComponent: h,
|
|
131
132
|
headerGroupComponentParams: {
|
|
132
133
|
column: e
|
|
133
134
|
},
|
|
134
|
-
children:
|
|
135
|
-
} :
|
|
135
|
+
children: i(e.children)
|
|
136
|
+
} : o;
|
|
136
137
|
});
|
|
137
138
|
}
|
|
138
|
-
return
|
|
139
|
-
}),
|
|
139
|
+
return i(r);
|
|
140
|
+
}), R = y(
|
|
140
141
|
() => ({
|
|
141
|
-
headerComponent:
|
|
142
|
-
resizable:
|
|
142
|
+
headerComponent: h,
|
|
143
|
+
resizable: a.columnResizable,
|
|
143
144
|
suppressMovable: !0,
|
|
144
145
|
cellDataType: !1
|
|
145
146
|
})
|
|
146
147
|
);
|
|
147
148
|
return {
|
|
148
149
|
columnDefs: g,
|
|
149
|
-
defaultColDef:
|
|
150
|
-
gridWrapperRef:
|
|
150
|
+
defaultColDef: R,
|
|
151
|
+
gridWrapperRef: C
|
|
151
152
|
};
|
|
152
153
|
};
|
|
153
154
|
export {
|
|
@@ -509,6 +509,7 @@ const Ft = /* @__PURE__ */ uo({
|
|
|
509
509
|
"row-class-rules": e.rowClassRules,
|
|
510
510
|
"no-rows-overlay-component": $o,
|
|
511
511
|
"suppress-cell-focus": "",
|
|
512
|
+
"enable-cell-span": "",
|
|
512
513
|
"dom-layout": e.autoHeight ? "autoHeight" : "normal",
|
|
513
514
|
onSortChanged: Be,
|
|
514
515
|
onGridReady: r[0] || (r[0] = (a) => s.value = a.api),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genAgGridCustomHeaderCellStyle: GenStyleFunc;
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genEditableAgGridStyle: GenStyleFunc;
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
-
import {
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
3
|
export type AgGridToken = {
|
|
4
4
|
/**
|
|
5
5
|
* 卡片模式下表单容器的下边距尺寸
|
|
@@ -28,5 +28,5 @@ export type AgGridToken = {
|
|
|
28
28
|
};
|
|
29
29
|
export declare const defaultToken: AgGridToken;
|
|
30
30
|
export declare const genAgGridStyle: GenStyleFunc<AgGridToken>;
|
|
31
|
-
declare const _default: (prefixCls: string) =>
|
|
31
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
32
32
|
export default _default;
|