@aplus-frontend/ui 0.6.0-beta.22 → 0.6.0-beta.24
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 +156 -158
- package/es/src/ap-drawer/index.d.ts +7 -3
- package/es/src/ap-drawer/index.mjs +5 -10
- package/es/src/ap-drawer/interface.d.ts +0 -3
- package/es/src/ap-drawer/style/css.d.ts +1 -0
- package/es/src/ap-drawer/style/css.js +1 -1
- package/es/src/ap-drawer/style/index.d.ts +1 -0
- package/es/src/ap-drawer/style/index.js +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +31 -36
- package/es/src/ap-form/set/index.vue.mjs +19 -20
- package/es/src/index.mjs +282 -285
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +7 -3
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/interface.d.ts +0 -3
- package/lib/src/ap-drawer/style/css.cjs +1 -1
- package/lib/src/ap-drawer/style/css.d.ts +1 -0
- package/lib/src/ap-drawer/style/index.cjs +1 -1
- package/lib/src/ap-drawer/style/index.d.ts +1 -0
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +5 -5
- package/theme/index.css +0 -28
- package/theme/index.less +1 -1
- package/es/src/ap-drawer/ApDrawer.vue.d.ts +0 -26
- package/es/src/ap-drawer/ApDrawer.vue.mjs +0 -78
- package/es/src/ap-drawer/ApDrawer.vue2.mjs +0 -4
- package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
- package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +0 -25
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +0 -4
- package/lib/src/ap-drawer/ApDrawer.vue.d.ts +0 -26
- package/lib/src/ap-drawer/ApDrawer.vue.js +0 -1
- package/lib/src/ap-drawer/ApDrawer.vue2.js +0 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +0 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +0 -1
package/es/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { DEFAULT_NAMESPACE as n, DEFAULT_UIMODE as c, configProviderContextKey a
|
|
|
7
7
|
import { keysOf as T, provideGlobalConfig as S, useGlobalConfig as b } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
8
8
|
import { buildLocaleContext as g, buildTranslator as D, localeContextKey as h, translate as G, useLocale as P } from "./src/config-provider/hooks/use-locale.mjs";
|
|
9
9
|
import { defaultNamespace as R, namespaceContextKey as L, useGetDerivedNamespace as M, useNamespace as v } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
10
|
-
import { ConfigProvider as
|
|
10
|
+
import { ConfigProvider as y, globalConfigCached as w } from "./src/config-provider/config-provider.mjs";
|
|
11
11
|
import { APConfigProvider as B } from "./src/config-provider/index.mjs";
|
|
12
12
|
import { ApFormItemText as O } from "./src/ap-form/items/text/index.mjs";
|
|
13
13
|
import { default as V } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
@@ -34,7 +34,7 @@ import { default as Pe } from "./src/ap-form/render/item.vue.mjs";
|
|
|
34
34
|
import { default as Re } from "./src/ap-form/provider/index.vue.mjs";
|
|
35
35
|
import { ApField as Me } from "./src/ap-field/index.mjs";
|
|
36
36
|
import { ApFieldText as Ne } from "./src/ap-field/text/index.mjs";
|
|
37
|
-
import { default as
|
|
37
|
+
import { default as we } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
38
38
|
import { default as Be } from "./src/ap-field/date/index.vue.mjs";
|
|
39
39
|
import { default as Oe } from "./src/ap-field/number/index.vue.mjs";
|
|
40
40
|
import { default as Ve } from "./src/ap-field/radio/index.vue.mjs";
|
|
@@ -59,7 +59,7 @@ import { default as Go } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
|
59
59
|
import { default as Eo } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
60
60
|
import { default as Lo } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
61
61
|
import { default as vo } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
|
|
62
|
-
import { NeedNameKeyDefault as
|
|
62
|
+
import { NeedNameKeyDefault as yo } from "./src/ap-upload/apUploadTypes.mjs";
|
|
63
63
|
import { default as ko } from "./src/ap-upload/apUpload.vue.mjs";
|
|
64
64
|
import { ApDownLoadNeedNameKeyDefault as Ko } from "./src/ap-download/interface.mjs";
|
|
65
65
|
import { default as Uo } from "./src/ap-download/ap-download.vue.mjs";
|
|
@@ -70,78 +70,77 @@ import { default as qo } from "./src/ap-list/index.vue.mjs";
|
|
|
70
70
|
import { default as Qo } from "./src/ap-button/ap-button.vue.mjs";
|
|
71
71
|
import { default as Yo } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
72
72
|
import { default as er } from "./src/ap-button/ap-confirm-button.vue.mjs";
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import { default as bt } from "./src/business/
|
|
107
|
-
import { default as gt } from "./src/business/batch-input-group/
|
|
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 { default as Yt } from "./src/editable-table/
|
|
122
|
-
import { default as ep } from "./src/
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import { default as fp } from "./src/scroll-bar/
|
|
126
|
-
import { default as lp } from "./src/scroll-
|
|
127
|
-
import { default as dp } from "./src/
|
|
128
|
-
import { default as up } from "./src/
|
|
129
|
-
import { default as ip } from "./src/
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import { default as Sp } from "./src/ap-grid/index.vue.mjs";
|
|
133
|
-
import { default as Cp } from "./src/ap-grid/editable/
|
|
134
|
-
import { default as Dp } from "./src/
|
|
135
|
-
import { default as Gp } from "./src/text/
|
|
136
|
-
import { default as Ep } from "./src/
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import { useResize as Wp } from "./src/hooks/useResize.mjs";
|
|
73
|
+
import { ApDrawer as rr } from "./src/ap-drawer/index.mjs";
|
|
74
|
+
import { ApTransformDataHelper as pr } from "./src/utils/ap-trans-data/index.mjs";
|
|
75
|
+
import { default as fr } from "./src/business/ap-table-modal/index.mjs";
|
|
76
|
+
import { useTableModal as lr } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
77
|
+
import { useTableSelectModal as dr } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
78
|
+
import { ApAttachment as ur } from "./src/business/ap-attachment/index.mjs";
|
|
79
|
+
import { ApBatchAction as ir } from "./src/business/ap-batch-action/index.mjs";
|
|
80
|
+
import { ApBatchActionGroup as cr } from "./src/business/ap-batch-action-group/index.mjs";
|
|
81
|
+
import { ApButtonGroup as Ir } from "./src/business/ap-button-group/index.mjs";
|
|
82
|
+
import { ApCard as Sr } from "./src/business/ap-card/index.mjs";
|
|
83
|
+
import { ApExpandAlert as Cr } from "./src/business/ap-expand-alert/index.mjs";
|
|
84
|
+
import { ApExportGroupActionType as Dr } from "./src/business/ap-export-group/interface.mjs";
|
|
85
|
+
import { ApExportGroup as Gr } from "./src/business/ap-export-group/index.mjs";
|
|
86
|
+
import { handleExportDownload as Er } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
87
|
+
import { convertExportField as Lr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
88
|
+
import { ApImage as vr } from "./src/business/ap-image/index.mjs";
|
|
89
|
+
import { ApInputRadio as yr } from "./src/business/ap-input-radio/index.mjs";
|
|
90
|
+
import { ApLabel as kr, ApLabelGroup as Br } from "./src/business/ap-label/index.mjs";
|
|
91
|
+
import { locales as Or } from "./src/business/ap-ladder/interface.mjs";
|
|
92
|
+
import { ApLadder as Vr } from "./src/business/ap-ladder/index.mjs";
|
|
93
|
+
import { ApSelectLayout as zr } from "./src/business/ap-select-layout/index.mjs";
|
|
94
|
+
import { ApStatus as $r, ApStatusGroup as jr } from "./src/business/ap-status/index.mjs";
|
|
95
|
+
import { ApTitle as qr } from "./src/business/ap-title/index.mjs";
|
|
96
|
+
import { usePageListApTable as Qr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
97
|
+
import { useTableRefresh as Yr } from "./src/business/hooks/useTableRefresh.mjs";
|
|
98
|
+
import { usePageListApGrid as et } from "./src/business/hooks/usePageListApGrid.mjs";
|
|
99
|
+
import { useGridRefresh as rt } from "./src/business/hooks/useGridRefresh.mjs";
|
|
100
|
+
import { computedRecords as pt, flattenColumns as at, formatDataIndex as ft, formatNumber as mt } from "./src/business/ap-summary/utils.mjs";
|
|
101
|
+
import { ApSummary as xt } from "./src/business/ap-summary/index.mjs";
|
|
102
|
+
import { ApNeedNameKeyDefault as st } from "./src/business/ap-appendix/interface.mjs";
|
|
103
|
+
import { ApAppendix as At } from "./src/business/ap-appendix/index.mjs";
|
|
104
|
+
import { ApExtensionSelect as nt, ApGroupSearch as ct, ApPopoverSelect as Ft } from "./src/business/ap-group-search/index.mjs";
|
|
105
|
+
import { default as Tt } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
106
|
+
import { default as bt } from "./src/business/batch-input-group/index.vue.mjs";
|
|
107
|
+
import { default as gt } from "./src/business/batch-input-group/form-item.vue.mjs";
|
|
108
|
+
import { ApSizeInput as ht } from "./src/business/ap-size-input/index.mjs";
|
|
109
|
+
import { ApProductInfo as Pt } from "./src/business/ap-product-info/index.mjs";
|
|
110
|
+
import { ApCopy as Rt } from "./src/business/ap-copy/index.mjs";
|
|
111
|
+
import { ApView as Mt } from "./src/business/ap-view/index.mjs";
|
|
112
|
+
import { ApRadioGroup as Nt } from "./src/business/ap-radio-group/index.mjs";
|
|
113
|
+
import { ApKeepAliveProps as wt, forceStopTags as kt } from "./src/business/ap-keep-alive/interface.mjs";
|
|
114
|
+
import { ApKeepAlive as Kt } from "./src/business/ap-keep-alive/index.mjs";
|
|
115
|
+
import { LruCacher as Ut } from "./src/business/ap-keep-alive/cacher/lru-cacher.mjs";
|
|
116
|
+
import { useApKeepAliveInject as _t } from "./src/business/ap-keep-alive/hook.mjs";
|
|
117
|
+
import { matches as Wt } from "./src/business/ap-keep-alive/utils.mjs";
|
|
118
|
+
import { useTablePaging as jt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
119
|
+
import { ApTable as qt } from "./src/ap-table/index.mjs";
|
|
120
|
+
import { default as Qt } from "./src/editable-table/index.vue.mjs";
|
|
121
|
+
import { default as Yt } from "./src/editable-table/form-item.vue.mjs";
|
|
122
|
+
import { default as ep } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
123
|
+
import { ensureRangeValue as rp } from "./src/scroll-bar/utils/index.mjs";
|
|
124
|
+
import { default as pp } from "./src/scroll-bar/index.vue.mjs";
|
|
125
|
+
import { default as fp } from "./src/scroll-bar/internal.vue.mjs";
|
|
126
|
+
import { default as lp } from "./src/scroll-view/index.vue.mjs";
|
|
127
|
+
import { default as dp } from "./src/portal/index.vue.mjs";
|
|
128
|
+
import { default as up } from "./src/full-screen/index.vue.mjs";
|
|
129
|
+
import { default as ip } from "./src/resize-observer/index.vue.mjs";
|
|
130
|
+
import { ROW_SELECTION_FIELD as cp } from "./src/ap-grid/constants.mjs";
|
|
131
|
+
import { default as Ip } from "./src/ap-grid/index.vue.mjs";
|
|
132
|
+
import { default as Sp } from "./src/ap-grid/editable/index.vue.mjs";
|
|
133
|
+
import { default as Cp } from "./src/ap-grid/editable/form-item.vue.mjs";
|
|
134
|
+
import { default as Dp } from "./src/text/index.vue.mjs";
|
|
135
|
+
import { default as Gp } from "./src/text/group.vue.mjs";
|
|
136
|
+
import { default as Ep } from "./src/mask/index.vue.mjs";
|
|
137
|
+
import { Splitter as Lp } from "./src/splitter/index.mjs";
|
|
138
|
+
import { useMessage as vp } from "./src/hooks/useMessage.mjs";
|
|
139
|
+
import { useControllableValue as yp } from "./src/hooks/useControllableValue.mjs";
|
|
140
|
+
import { useManualRef as kp } from "./src/hooks/useManualRef.mjs";
|
|
141
|
+
import { useThrottleRef as Kp } from "./src/hooks/useThrottleRef.mjs";
|
|
142
|
+
import { useFullScreen as Up } from "./src/hooks/useFullScreen.mjs";
|
|
143
|
+
import { useResize as _p } from "./src/hooks/useResize.mjs";
|
|
145
144
|
const a = console.log;
|
|
146
145
|
a(`APlus-UI version ${p}`);
|
|
147
146
|
const l = {
|
|
@@ -160,26 +159,25 @@ export {
|
|
|
160
159
|
Fo as ApActionItemDropdown,
|
|
161
160
|
Ao as ApActionItemModal,
|
|
162
161
|
no as ApActionItemPopconfirm,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
At as ApAppendix,
|
|
163
|
+
ur as ApAttachment,
|
|
164
|
+
ir as ApBatchAction,
|
|
165
|
+
cr as ApBatchActionGroup,
|
|
167
166
|
Qo as ApButton,
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
Ir as ApButtonGroup,
|
|
168
|
+
Sr as ApCard,
|
|
170
169
|
er as ApConfirmButton,
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
Rt as ApCopy,
|
|
171
|
+
ep as ApDescriptions,
|
|
173
172
|
Ko as ApDownLoadNeedNameKeyDefault,
|
|
174
173
|
Uo as ApDownload,
|
|
175
174
|
rr as ApDrawer,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
Ft as ApExtensionSelect,
|
|
175
|
+
Cr as ApExpandAlert,
|
|
176
|
+
Gr as ApExportGroup,
|
|
177
|
+
Dr as ApExportGroupActionType,
|
|
178
|
+
nt as ApExtensionSelect,
|
|
181
179
|
Me as ApField,
|
|
182
|
-
|
|
180
|
+
we as ApFieldCheckbox,
|
|
183
181
|
Be as ApFieldDate,
|
|
184
182
|
He as ApFieldDateRange,
|
|
185
183
|
Oe as ApFieldNumber,
|
|
@@ -198,7 +196,7 @@ export {
|
|
|
198
196
|
Te as ApFormDependency,
|
|
199
197
|
ge as ApFormDrawerForm,
|
|
200
198
|
xe as ApFormItem,
|
|
201
|
-
|
|
199
|
+
gt as ApFormItemBatchInput,
|
|
202
200
|
oe as ApFormItemCheckbox,
|
|
203
201
|
$ as ApFormItemDate,
|
|
204
202
|
H as ApFormItemDateRange,
|
|
@@ -217,104 +215,104 @@ export {
|
|
|
217
215
|
Re as ApFormProvider,
|
|
218
216
|
ne as ApFormSearchForm,
|
|
219
217
|
be as ApFormSet,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
218
|
+
Ip as ApGrid,
|
|
219
|
+
ct as ApGroupSearch,
|
|
220
|
+
vr as ApImage,
|
|
223
221
|
vo as ApInfoLayout,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
222
|
+
yr as ApInputRadio,
|
|
223
|
+
Kt as ApKeepAlive,
|
|
224
|
+
wt as ApKeepAliveProps,
|
|
225
|
+
kr as ApLabel,
|
|
226
|
+
Br as ApLabelGroup,
|
|
227
|
+
Vr as ApLadder,
|
|
230
228
|
qo as ApList,
|
|
231
229
|
jo as ApModal,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
230
|
+
st as ApNeedNameKeyDefault,
|
|
231
|
+
Ft as ApPopoverSelect,
|
|
232
|
+
Pt as ApProductInfo,
|
|
233
|
+
Nt as ApRadioGroup,
|
|
234
|
+
zr as ApSelectLayout,
|
|
235
|
+
ht as ApSizeInput,
|
|
236
|
+
$r as ApStatus,
|
|
237
|
+
jr as ApStatusGroup,
|
|
238
|
+
xt as ApSummary,
|
|
239
|
+
qt as ApTable,
|
|
240
|
+
fr as ApTableModal,
|
|
243
241
|
Eo as ApTag,
|
|
244
242
|
Lo as ApTagGroup,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
243
|
+
Dp as ApText,
|
|
244
|
+
Gp as ApTextGroup,
|
|
245
|
+
qr as ApTitle,
|
|
246
|
+
pr as ApTransformDataHelper,
|
|
249
247
|
ko as ApUpload,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
248
|
+
Tt as ApUploadSingle,
|
|
249
|
+
Mt as ApView,
|
|
250
|
+
bt as BatchInputGroup,
|
|
253
251
|
_o as CheckCard,
|
|
254
252
|
Wo as CheckCardGroup,
|
|
255
|
-
|
|
253
|
+
y as ConfigProvider,
|
|
256
254
|
n as DEFAULT_NAMESPACE,
|
|
257
255
|
c as DEFAULT_UIMODE,
|
|
258
256
|
bo as DictCode,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
257
|
+
Sp as EditableGrid,
|
|
258
|
+
Cp as EditableGridFormItem,
|
|
259
|
+
Qt as EditableTable,
|
|
260
|
+
Yt as EditableTableFormItem,
|
|
261
|
+
up as FullScreen,
|
|
262
|
+
fp as InternalScrollBar,
|
|
263
|
+
Ut as LruCacher,
|
|
264
|
+
Ep as Mask,
|
|
265
|
+
yo as NeedNameKeyDefault,
|
|
266
|
+
dp as Portal,
|
|
267
|
+
cp as ROW_SELECTION_FIELD,
|
|
268
|
+
ip as ResizeObserver,
|
|
269
|
+
pp as ScrollBar,
|
|
270
|
+
lp as ScrollView,
|
|
271
|
+
Lp as Splitter,
|
|
274
272
|
Go as WorkOrderModal,
|
|
275
273
|
mo as adminToken,
|
|
276
274
|
lo as aplusToken,
|
|
277
275
|
g as buildLocaleContext,
|
|
278
276
|
D as buildTranslator,
|
|
279
|
-
|
|
277
|
+
pt as computedRecords,
|
|
280
278
|
F as configProviderContextKey,
|
|
281
279
|
A as configProviderProps,
|
|
282
|
-
|
|
280
|
+
Lr as convertExportField,
|
|
283
281
|
Do as createWorkOrderModal,
|
|
284
282
|
l as default,
|
|
285
283
|
R as defaultNamespace,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
284
|
+
rp as ensureRangeValue,
|
|
285
|
+
at as flattenColumns,
|
|
286
|
+
kt as forceStopTags,
|
|
287
|
+
ft as formatDataIndex,
|
|
288
|
+
mt as formatNumber,
|
|
289
|
+
w as globalConfigCached,
|
|
290
|
+
Er as handleExportDownload,
|
|
291
|
+
Wt as isNameMatches,
|
|
294
292
|
T as keysOf,
|
|
295
293
|
Co as langMap,
|
|
296
294
|
h as localeContextKey,
|
|
297
|
-
|
|
295
|
+
Or as locales,
|
|
298
296
|
L as namespaceContextKey,
|
|
299
297
|
s as pathMap,
|
|
300
298
|
S as provideGlobalConfig,
|
|
301
299
|
G as translate,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
300
|
+
_t as useApKeepAliveInject,
|
|
301
|
+
yp as useControllableValue,
|
|
302
|
+
Up as useFullScreen,
|
|
305
303
|
M as useGetDerivedNamespace,
|
|
306
304
|
b as useGlobalConfig,
|
|
307
|
-
|
|
305
|
+
rt as useGridRefresh,
|
|
308
306
|
P as useLocale,
|
|
309
|
-
|
|
310
|
-
|
|
307
|
+
kp as useManualRef,
|
|
308
|
+
vp as useMessage,
|
|
311
309
|
v as useNamespace,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
310
|
+
et as usePageListApGrid,
|
|
311
|
+
Qr as usePageListApTable,
|
|
312
|
+
_p as useResize,
|
|
313
|
+
lr as useTableModal,
|
|
314
|
+
jt as useTablePaging,
|
|
315
|
+
Yr as useTableRefresh,
|
|
316
|
+
dr as useTableSelectModal,
|
|
317
|
+
Kp as useThrottleRef
|
|
320
318
|
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Drawer as _Drawer } from '@aplus-frontend/antdv';
|
|
2
|
+
import { CreateDrawerFunc } from './interface';
|
|
3
3
|
export * from './interface';
|
|
4
|
-
|
|
4
|
+
type ApDrawerMixedProps = typeof _Drawer & {
|
|
5
|
+
createDrawer: CreateDrawerFunc;
|
|
6
|
+
};
|
|
7
|
+
declare const ApDrawer: ApDrawerMixedProps;
|
|
8
|
+
export { ApDrawer };
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
+
import { Drawer as e } from "@aplus-frontend/antdv";
|
|
1
2
|
import "./utils/index.mjs";
|
|
2
|
-
import "./ApDrawer.vue2.mjs";
|
|
3
|
-
import "./components/ApDrawerClose.vue2.mjs";
|
|
4
3
|
import "./interface.mjs";
|
|
5
|
-
import { createDrawer as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
r.createDrawer = e;
|
|
4
|
+
import { createDrawer as a } from "./utils/createDrawer.mjs";
|
|
5
|
+
const r = e;
|
|
6
|
+
r.createDrawer = a;
|
|
9
7
|
r.name = "ApDrawer";
|
|
10
|
-
r.Close = o;
|
|
11
|
-
r.Close.name = "ApDrawerClose";
|
|
12
8
|
export {
|
|
13
|
-
r as ApDrawer
|
|
14
|
-
o as ApDrawerClose
|
|
9
|
+
r as ApDrawer
|
|
15
10
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -1,34 +1,31 @@
|
|
|
1
|
-
import { render as
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import N from "../ApDrawer.vue.mjs";
|
|
7
|
-
import T from "../components/ApDrawerClose.vue.mjs";
|
|
8
|
-
const G = (l) => {
|
|
1
|
+
import { render as x, defineComponent as D, createVNode as v, mergeProps as O, h as V } from "vue";
|
|
2
|
+
import { Drawer as E } from "@aplus-frontend/antdv";
|
|
3
|
+
import { ConfigProvider as U, globalConfigCached as A } from "../../config-provider/config-provider.mjs";
|
|
4
|
+
import { omit as N } from "lodash-unified";
|
|
5
|
+
const z = (l) => {
|
|
9
6
|
let o, c;
|
|
10
7
|
const {
|
|
11
|
-
destroyOnClose:
|
|
8
|
+
destroyOnClose: f = !0
|
|
12
9
|
} = l;
|
|
13
|
-
function
|
|
10
|
+
function h() {
|
|
14
11
|
o && o(!1), setTimeout(() => {
|
|
15
12
|
var e;
|
|
16
|
-
|
|
13
|
+
x(null, t), (e = t.parentElement) == null || e.removeChild(t);
|
|
17
14
|
}, 500);
|
|
18
15
|
}
|
|
19
|
-
function
|
|
16
|
+
function b() {
|
|
20
17
|
o && o(!0);
|
|
21
18
|
}
|
|
22
|
-
function
|
|
19
|
+
function m() {
|
|
23
20
|
o && o(!1);
|
|
24
21
|
}
|
|
25
22
|
function w(e) {
|
|
26
23
|
c && c(e);
|
|
27
24
|
}
|
|
28
|
-
const
|
|
25
|
+
const P = /* @__PURE__ */ D({
|
|
29
26
|
data() {
|
|
30
27
|
return {
|
|
31
|
-
open:
|
|
28
|
+
open: f,
|
|
32
29
|
props: l
|
|
33
30
|
};
|
|
34
31
|
},
|
|
@@ -44,44 +41,42 @@ const G = (l) => {
|
|
|
44
41
|
},
|
|
45
42
|
methods: {
|
|
46
43
|
async handleClose() {
|
|
47
|
-
var e, n, r, s,
|
|
44
|
+
var e, n, r, s, p;
|
|
48
45
|
if ((e = this.props) != null && e.onClose) {
|
|
49
|
-
const
|
|
50
|
-
await ((
|
|
46
|
+
const i = ((s = (r = (n = this.props) == null ? void 0 : n.content) == null ? void 0 : r.component) == null ? void 0 : s.exposed) ?? void 0;
|
|
47
|
+
await ((p = this.props) == null ? void 0 : p.onClose(i));
|
|
51
48
|
}
|
|
52
|
-
|
|
49
|
+
f ? h() : m();
|
|
53
50
|
}
|
|
54
51
|
},
|
|
55
52
|
render() {
|
|
56
|
-
var s,
|
|
57
|
-
const e =
|
|
58
|
-
return
|
|
53
|
+
var s, p, i;
|
|
54
|
+
const e = N(this.props, ["onClose", "extra", "footer", "visible", "onUpdate:visible", "afterVisibleChange", "onAfterVisibleOChange", "open", "onUpdate:open", "getContainer"]), n = ((i = (p = (s = this.props) == null ? void 0 : s.content) == null ? void 0 : p.component) == null ? void 0 : i.exposed) ?? void 0, r = () => f ? h() : m();
|
|
55
|
+
return v(U, A.value, {
|
|
59
56
|
default: () => {
|
|
60
|
-
var
|
|
61
|
-
return [
|
|
57
|
+
var a, u, d, C;
|
|
58
|
+
return [v(E, O({
|
|
62
59
|
open: this.open,
|
|
63
60
|
onClose: this.handleClose,
|
|
64
|
-
extra: (
|
|
65
|
-
|
|
66
|
-
}, null),
|
|
67
|
-
footer: (x = (d = this.props) == null ? void 0 : d.footer) == null ? void 0 : x.call(d, n, r)
|
|
61
|
+
extra: (u = (a = this.props) == null ? void 0 : a.extra) == null ? void 0 : u.call(a, n, r),
|
|
62
|
+
footer: (C = (d = this.props) == null ? void 0 : d.footer) == null ? void 0 : C.call(d, n, r)
|
|
68
63
|
}, e), {
|
|
69
64
|
default: () => {
|
|
70
|
-
var
|
|
71
|
-
return [(
|
|
65
|
+
var g;
|
|
66
|
+
return [(g = this.props) == null ? void 0 : g.content];
|
|
72
67
|
}
|
|
73
68
|
})];
|
|
74
69
|
}
|
|
75
70
|
});
|
|
76
71
|
}
|
|
77
|
-
}),
|
|
78
|
-
return
|
|
79
|
-
destroy:
|
|
72
|
+
}), y = l.getContainer || document.body, t = document.createElement("div");
|
|
73
|
+
return y.appendChild(t), x(V(P), t), {
|
|
74
|
+
destroy: h,
|
|
80
75
|
update: w,
|
|
81
|
-
open:
|
|
82
|
-
close:
|
|
76
|
+
open: b,
|
|
77
|
+
close: m
|
|
83
78
|
};
|
|
84
79
|
};
|
|
85
80
|
export {
|
|
86
|
-
|
|
81
|
+
z as createDrawer
|
|
87
82
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useInjectForm as
|
|
3
|
-
import { isFunction as
|
|
4
|
-
import { isPromise as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as p, useSlots as f, cloneVNode as d, onMounted as V, createElementBlock as _, openBlock as l, Fragment as y, renderList as C, createBlock as F, resolveDynamicComponent as k } from "vue";
|
|
2
|
+
import { useInjectForm as g } from "../context.mjs";
|
|
3
|
+
import { isFunction as h, cloneDeep as w } from "lodash-unified";
|
|
4
|
+
import { isPromise as x } from "@fruits-chain/utils";
|
|
5
|
+
const v = /* @__PURE__ */ p({
|
|
6
6
|
name: "ApFormSet",
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: {
|
|
@@ -12,25 +12,24 @@ const S = /* @__PURE__ */ c({
|
|
|
12
12
|
transform: {}
|
|
13
13
|
},
|
|
14
14
|
setup(s) {
|
|
15
|
-
const { internalInstance: t } =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
B(n) && (n = await n), t == null || t.registerField({
|
|
15
|
+
const { internalInstance: t } = g(), a = f(), e = s, u = () => {
|
|
16
|
+
var o;
|
|
17
|
+
return (((o = a.default) == null ? void 0 : o.call(a)) || []).map((r, i) => {
|
|
18
|
+
var m;
|
|
19
|
+
const c = e.as === "array" ? [e.name, i] : [e.name, ((m = r.props) == null ? void 0 : m.name) || ""];
|
|
20
|
+
return d(r, { name: c });
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
return V(async () => {
|
|
24
|
+
let n = h(e.initialValue) ? e.initialValue() : e.initialValue;
|
|
25
|
+
x(n) && (n = await n), t == null || t.registerField({
|
|
27
26
|
name: e.name,
|
|
28
|
-
initialValue:
|
|
27
|
+
initialValue: w(n),
|
|
29
28
|
transform: e.transform
|
|
30
29
|
});
|
|
31
|
-
}), (n,
|
|
30
|
+
}), (n, o) => (l(!0), _(y, null, C(u(), (r, i) => (l(), F(k(r), { key: i }))), 128));
|
|
32
31
|
}
|
|
33
32
|
});
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
v as default
|
|
36
35
|
};
|