@aplus-frontend/ui 7.0.0 → 7.1.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/index.mjs +108 -106
- package/es/src/ag-grid/style/custom-header.mjs +1 -1
- package/es/src/ag-grid/style/index.mjs +0 -1
- package/es/src/ap-action/item-dropdown/index.vue.mjs +12 -12
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +39 -39
- package/es/src/ap-descriptions/style/index.mjs +16 -43
- package/es/src/ap-download/ap-download.vue.mjs +43 -43
- package/es/src/ap-download/hooks/useStyle.d.ts +1 -1
- package/es/src/ap-download/hooks/useStyle.mjs +17 -14
- package/es/src/ap-download/style/index.mjs +6 -13
- package/es/src/ap-form/modal-form/index.vue.mjs +59 -60
- package/es/src/ap-form/style/item.mjs +5 -4
- package/es/src/ap-form/style/modal-form.mjs +11 -12
- package/es/src/ap-form/style/search-form-sorter.mjs +31 -27
- package/es/src/ap-form/style/token.d.ts +8 -0
- package/es/src/ap-grid/style/index.mjs +3 -3
- package/es/src/ap-pro-card/style/statistic.mjs +3 -3
- package/es/src/ap-pro-card/style/token.mjs +1 -1
- package/es/src/ap-table/style/index.mjs +2 -2
- package/es/src/ap-table/style/setting.mjs +2 -2
- package/es/src/ap-tag/ap-tag-group.vue.mjs +61 -61
- package/es/src/ap-tag/ap-tag.vue.mjs +19 -20
- package/es/src/ap-tag/style/group.mjs +2 -8
- package/es/src/ap-tag/style/index.mjs +14 -23
- package/es/src/ap-upload/apUpload.vue.mjs +42 -41
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +60 -61
- package/es/src/ap-upload/components/Picture.vue2.mjs +90 -91
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +72 -72
- package/es/src/ap-upload/style/multiple-file.mjs +13 -40
- package/es/src/ap-upload/style/picture.mjs +12 -30
- package/es/src/ap-upload/style/single-file.mjs +5 -16
- package/es/src/business/ag-grid-modal/interface.d.ts +1 -1
- 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.mjs +1 -1
- package/es/src/business/ap-attachment/ApAttachment.mjs +42 -39
- package/es/src/business/ap-copy/style/index.mjs +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +45 -46
- package/es/src/business/ap-ladder/ApLadder.mjs +20 -22
- package/es/src/business/ap-ladder/style/index.mjs +11 -39
- package/es/src/business/ap-product-info/ApProductInfo.mjs +21 -22
- package/es/src/business/ap-product-info/style/index.mjs +8 -24
- package/es/src/business/ap-radio-group/style/index.mjs +1 -1
- 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.mjs +2 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +18 -19
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +13 -13
- package/es/src/business/ap-title/style/index.mjs +1 -1
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +38 -37
- package/es/src/business/ap-value-select-card/index.vue2.mjs +36 -37
- package/es/src/business/ap-value-select-card/style/index.mjs +7 -29
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +61 -64
- package/es/src/business/ap-view/style/index.mjs +1 -1
- package/es/src/business/batch-input-group/style/index.mjs +1 -1
- 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/constants.mjs +4 -2
- package/es/src/design-token/interface.d.ts +39 -19
- package/es/src/index.mjs +95 -93
- package/es/src/scroll-bar/style/index.mjs +12 -12
- package/es/src/splitter/style/index.mjs +6 -6
- package/es/src/style/index.mjs +1 -1
- package/es/src/text/style/index.mjs +1 -1
- package/es/src/utils/cssinjs/TokenUtil.d.ts +11 -0
- package/es/src/utils/cssinjs/TokenUtil.mjs +26 -0
- package/es/src/utils/cssinjs/index.d.ts +1 -1
- package/es/src/utils/cssinjs/index.mjs +51 -50
- 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/style/custom-header.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/ap-descriptions/style/index.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/hooks/useStyle.d.ts +1 -1
- package/lib/src/ap-download/hooks/useStyle.js +1 -1
- package/lib/src/ap-download/style/index.js +1 -1
- package/lib/src/ap-form/modal-form/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/token.d.ts +8 -0
- package/lib/src/ap-grid/style/index.js +1 -1
- package/lib/src/ap-pro-card/style/statistic.js +1 -1
- package/lib/src/ap-pro-card/style/token.js +1 -1
- package/lib/src/ap-table/style/index.js +1 -1
- package/lib/src/ap-table/style/setting.js +1 -1
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/style/group.js +1 -1
- package/lib/src/ap-tag/style/index.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/ap-upload/style/multiple-file.js +1 -1
- package/lib/src/ap-upload/style/picture.js +1 -1
- package/lib/src/ap-upload/style/single-file.js +1 -1
- package/lib/src/business/ag-grid-modal/interface.d.ts +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.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-copy/style/index.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-ladder/ApLadder.js +1 -1
- package/lib/src/business/ap-ladder/style/index.js +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- 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-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.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
- package/lib/src/business/ap-title/style/index.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-value-select-card/style/index.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.js +1 -1
- 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/config-provider/hooks/use-token.d.ts +2 -2
- package/lib/src/design-token/constants.js +1 -1
- package/lib/src/design-token/interface.d.ts +39 -19
- package/lib/src/index.js +1 -1
- package/lib/src/scroll-bar/style/index.js +1 -1
- package/lib/src/splitter/style/index.js +1 -1
- package/lib/src/style/index.js +1 -1
- package/lib/src/text/style/index.js +1 -1
- package/lib/src/utils/cssinjs/TokenUtil.d.ts +11 -0
- package/lib/src/utils/cssinjs/TokenUtil.js +1 -0
- package/lib/src/utils/cssinjs/index.d.ts +1 -1
- package/lib/src/utils/cssinjs/index.js +1 -1
- 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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as w, ref as B, computed as A, createBlock as n, openBlock as r, unref as o, normalizeClass as s, withCtx as l, createElementVNode as
|
|
1
|
+
import { defineComponent as w, ref as B, computed as A, createBlock as n, openBlock as r, unref as o, normalizeClass as s, withCtx as l, createElementVNode as c, createVNode as d, normalizeProps as b, guardReactiveProps as I, renderSlot as h, createCommentVNode as C, createElementBlock as P, Fragment as D, renderList as N, mergeProps as p } from "vue";
|
|
2
2
|
import { Dropdown as $, Menu as L, MenuItem as V } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../item/index.vue.mjs";
|
|
4
4
|
import "../item-modal/index.vue2.mjs";
|
|
@@ -8,7 +8,7 @@ import "../../config-provider/index.mjs";
|
|
|
8
8
|
import { isUndefined as E, omit as F } from "lodash-unified";
|
|
9
9
|
import M from "../style/dropdown-item.mjs";
|
|
10
10
|
import { useNamespace as S } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
|
-
import
|
|
11
|
+
import y from "../item/index.vue2.mjs";
|
|
12
12
|
import U from "../item-modal/index.vue.mjs";
|
|
13
13
|
import x from "../item-popconfirm/index.vue.mjs";
|
|
14
14
|
const Z = /* @__PURE__ */ w({
|
|
@@ -29,8 +29,8 @@ const Z = /* @__PURE__ */ w({
|
|
|
29
29
|
iconFirst: { type: Boolean },
|
|
30
30
|
tooltip: {}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const m =
|
|
32
|
+
setup(g) {
|
|
33
|
+
const m = g, i = B(!1), { e: f, b: _ } = S("action-item-dropdown"), u = M("action-item-dropdown"), v = A(() => m.actions.filter((e) => e.visible || E(e.visible)).map((e) => ({
|
|
34
34
|
...e,
|
|
35
35
|
onAction: async (a) => {
|
|
36
36
|
try {
|
|
@@ -45,14 +45,14 @@ const Z = /* @__PURE__ */ w({
|
|
|
45
45
|
"onUpdate:open": a[0] || (a[0] = (t) => i.value = t),
|
|
46
46
|
trigger: e.trigger,
|
|
47
47
|
placement: e.placement,
|
|
48
|
-
class: s(o(
|
|
48
|
+
class: s(o(u))
|
|
49
49
|
}, {
|
|
50
50
|
overlay: l(() => [
|
|
51
|
-
|
|
51
|
+
d(o(L), null, {
|
|
52
52
|
default: l(() => [
|
|
53
53
|
(r(!0), P(D, null, N(v.value, (t, k) => (r(), n(o(V), {
|
|
54
54
|
key: k,
|
|
55
|
-
class: s(o(f)("item"))
|
|
55
|
+
class: s([o(u), o(f)("item")])
|
|
56
56
|
}, {
|
|
57
57
|
default: l(() => [
|
|
58
58
|
t.modalProps ? (r(), n(U, p({
|
|
@@ -61,7 +61,7 @@ const Z = /* @__PURE__ */ w({
|
|
|
61
61
|
}, t), null, 16)) : t.popconfirmProps ? (r(), n(x, p({
|
|
62
62
|
key: 1,
|
|
63
63
|
ref_for: !0
|
|
64
|
-
}, t), null, 16)) : (r(), n(
|
|
64
|
+
}, t), null, 16)) : (r(), n(y, p({
|
|
65
65
|
key: 2,
|
|
66
66
|
ref_for: !0
|
|
67
67
|
}, t), null, 16))
|
|
@@ -73,16 +73,16 @@ const Z = /* @__PURE__ */ w({
|
|
|
73
73
|
})
|
|
74
74
|
]),
|
|
75
75
|
default: l(() => [
|
|
76
|
-
|
|
77
|
-
class: s(o(
|
|
76
|
+
c("span", {
|
|
77
|
+
class: s(o(_)())
|
|
78
78
|
}, [
|
|
79
|
-
|
|
79
|
+
d(y, b(I(o(F)(m, ["actions", "trigger", "placement"]))), {
|
|
80
80
|
default: l(() => [
|
|
81
81
|
h(e.$slots, "default")
|
|
82
82
|
]),
|
|
83
83
|
_: 3
|
|
84
84
|
}, 16),
|
|
85
|
-
|
|
85
|
+
c("span", {
|
|
86
86
|
class: s(o(f)("icon"))
|
|
87
87
|
}, [
|
|
88
88
|
e.showIcon ? (r(), n(o(z), { key: 0 })) : C("", !0)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Descriptions as
|
|
3
|
-
import { mixinsAttachmentExtraProps as
|
|
4
|
-
import { get as
|
|
1
|
+
import { defineComponent as V, createElementBlock as n, openBlock as o, normalizeStyle as x, normalizeClass as y, unref as r, createVNode as B, mergeProps as E, withCtx as f, Fragment as a, renderList as _, createCommentVNode as w, createBlock as i, h as p, renderSlot as A, resolveDynamicComponent as j } from "vue";
|
|
2
|
+
import { Descriptions as z, DescriptionsItem as d } from "@aplus-frontend/antdv";
|
|
3
|
+
import { mixinsAttachmentExtraProps as F, transformValue as G, isEmptyWithType as I } from "./helper.mjs";
|
|
4
|
+
import { get as b } from "lodash-unified";
|
|
5
5
|
import "./help-message/index.vue.mjs";
|
|
6
6
|
import "../config-provider/index.mjs";
|
|
7
|
-
import
|
|
8
|
-
import { useGlobalConfig as
|
|
9
|
-
import { useNamespace as
|
|
10
|
-
import
|
|
11
|
-
const
|
|
7
|
+
import L from "./style/index.mjs";
|
|
8
|
+
import { useGlobalConfig as m } from "../config-provider/hooks/use-global-config.mjs";
|
|
9
|
+
import { useNamespace as M } from "../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
import R from "./help-message/index.vue2.mjs";
|
|
11
|
+
const $ = { key: 0 }, Z = /* @__PURE__ */ V({
|
|
12
12
|
name: "ApDescriptions",
|
|
13
13
|
__name: "ap-descriptions",
|
|
14
14
|
props: {
|
|
@@ -19,23 +19,23 @@ const W = { key: 0 }, ee = /* @__PURE__ */ B({
|
|
|
19
19
|
className: {}
|
|
20
20
|
},
|
|
21
21
|
setup(S) {
|
|
22
|
-
const l = S, g =
|
|
22
|
+
const l = S, g = m("apDescriptions"), v = m("downloadCenterTriggerConfig"), { b: C, be: k } = M("ap-descriptions"), P = L("ap-descriptions"), D = (e = {}) => {
|
|
23
23
|
let s = "";
|
|
24
24
|
return l.descriptionsProps?.layout === "vertical" && (s = "start"), {
|
|
25
25
|
justifyContent: s,
|
|
26
26
|
...e
|
|
27
27
|
};
|
|
28
|
-
},
|
|
29
|
-
const s =
|
|
28
|
+
}, c = (e) => {
|
|
29
|
+
const s = b(l.dataSource, e.field);
|
|
30
30
|
if (e.customRender)
|
|
31
31
|
return e.customRender(l.dataSource);
|
|
32
|
-
e.valueType === "attachment" && (e.extraProps =
|
|
33
|
-
fromConfig:
|
|
34
|
-
fromGlobal:
|
|
32
|
+
e.valueType === "attachment" && (e.extraProps = F(e.extraProps, {
|
|
33
|
+
fromConfig: g.value?.downloadFile,
|
|
34
|
+
fromGlobal: v.value?.trigger
|
|
35
35
|
}));
|
|
36
36
|
const t = e.format ? e.format(s, l.dataSource || {}) : s;
|
|
37
|
-
return
|
|
38
|
-
},
|
|
37
|
+
return G({ value: t, record: l.dataSource }, e);
|
|
38
|
+
}, N = (e) => e.valueType === "text" && !!e.extraProps?.ellipsis, T = (e) => {
|
|
39
39
|
if (e.visible != null) {
|
|
40
40
|
if (typeof e.visible == "boolean")
|
|
41
41
|
return e.visible;
|
|
@@ -47,28 +47,28 @@ const W = { key: 0 }, ee = /* @__PURE__ */ B({
|
|
|
47
47
|
}
|
|
48
48
|
return !0;
|
|
49
49
|
};
|
|
50
|
-
return (e, s) => (
|
|
51
|
-
class:
|
|
52
|
-
style:
|
|
50
|
+
return (e, s) => (o(), n("div", {
|
|
51
|
+
class: y([e.className, r(C)(), r(P)]),
|
|
52
|
+
style: x(e.style)
|
|
53
53
|
}, [
|
|
54
|
-
|
|
55
|
-
"label-style":
|
|
54
|
+
B(r(z), E(e.descriptionsProps, {
|
|
55
|
+
"label-style": D({ ...e.descriptionsProps?.labelStyle || {} })
|
|
56
56
|
}), {
|
|
57
|
-
default:
|
|
58
|
-
(
|
|
59
|
-
key: t.field || "empty" +
|
|
57
|
+
default: f(() => [
|
|
58
|
+
(o(!0), n(a, null, _(e.schemas, (t, u) => (o(), n(a, {
|
|
59
|
+
key: t.field || "empty" + u
|
|
60
60
|
}, [
|
|
61
|
-
|
|
62
|
-
t.valueType === "empty" ? (
|
|
61
|
+
T(t) ? (o(), n(a, { key: 0 }, [
|
|
62
|
+
t.valueType === "empty" ? (o(), i(r(d), {
|
|
63
63
|
key: 0,
|
|
64
64
|
"content-style": t.contentStyle,
|
|
65
65
|
"label-style": t.labelStyle,
|
|
66
66
|
span: t.span
|
|
67
|
-
}, null, 8, ["content-style", "label-style", "span"])) : (
|
|
67
|
+
}, null, 8, ["content-style", "label-style", "span"])) : (o(), i(r(d), {
|
|
68
68
|
key: 1,
|
|
69
|
-
class:
|
|
69
|
+
class: y(N(t) ? r(k)("item", "ellipsis") : ""),
|
|
70
70
|
label: t.label ? p(a, [
|
|
71
|
-
p(
|
|
71
|
+
p(R, {
|
|
72
72
|
helpMessage: t.helpMessage,
|
|
73
73
|
label: t.label
|
|
74
74
|
})
|
|
@@ -77,17 +77,17 @@ const W = { key: 0 }, ee = /* @__PURE__ */ B({
|
|
|
77
77
|
"content-style": t.contentStyle,
|
|
78
78
|
"label-style": t.labelStyle
|
|
79
79
|
}, {
|
|
80
|
-
default:
|
|
81
|
-
|
|
82
|
-
t.contentSlotName ?
|
|
80
|
+
default: f(() => [
|
|
81
|
+
r(I)(r(b)(e.dataSource, t.field), t) ? (o(), n("span", $, "--")) : (o(), n(a, { key: 1 }, [
|
|
82
|
+
t.contentSlotName ? A(e.$slots, t.contentSlotName, {
|
|
83
83
|
key: 0,
|
|
84
|
-
index:
|
|
85
|
-
item:
|
|
84
|
+
index: u,
|
|
85
|
+
item: c(t),
|
|
86
86
|
record: e.dataSource
|
|
87
|
-
}) : (
|
|
87
|
+
}) : (o(), i(j(
|
|
88
88
|
p(a, [
|
|
89
89
|
t.prefix,
|
|
90
|
-
|
|
90
|
+
c(t),
|
|
91
91
|
t.suffix
|
|
92
92
|
])
|
|
93
93
|
), { key: 1 }))
|
|
@@ -95,7 +95,7 @@ const W = { key: 0 }, ee = /* @__PURE__ */ B({
|
|
|
95
95
|
]),
|
|
96
96
|
_: 2
|
|
97
97
|
}, 1032, ["class", "label", "span", "content-style", "label-style"]))
|
|
98
|
-
], 64)) :
|
|
98
|
+
], 64)) : w("", !0)
|
|
99
99
|
], 64))), 128))
|
|
100
100
|
]),
|
|
101
101
|
_: 3
|
|
@@ -104,5 +104,5 @@ const W = { key: 0 }, ee = /* @__PURE__ */ B({
|
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
export {
|
|
107
|
-
|
|
107
|
+
Z as default
|
|
108
108
|
};
|