@aplus-frontend/ui 0.5.15 → 0.5.16
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 +41 -39
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +239 -236
- package/es/src/mask/index.d.ts +2 -0
- package/es/src/mask/index.mjs +1 -0
- package/es/src/mask/index.vue.d.ts +31 -0
- package/es/src/mask/index.vue.mjs +116 -0
- package/es/src/mask/index.vue2.mjs +4 -0
- package/es/src/mask/interface.d.ts +21 -0
- package/es/src/mask/utils.d.ts +2 -0
- package/es/src/mask/utils.mjs +21 -0
- package/lib/index.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/mask/index.d.ts +2 -0
- package/lib/src/mask/index.js +1 -0
- package/lib/src/mask/index.vue.d.ts +31 -0
- package/lib/src/mask/index.vue.js +1 -0
- package/lib/src/mask/index.vue2.js +1 -0
- package/lib/src/mask/interface.d.ts +21 -0
- package/lib/src/mask/utils.d.ts +2 -0
- package/lib/src/mask/utils.js +6 -0
- package/package.json +1 -1
- package/theme/index.css +54 -0
- package/theme/index.less +1 -0
- package/theme/mask/index.css +54 -0
- package/theme/mask/index.less +28 -0
- package/theme/mixins/animations.css +24 -0
- package/theme/mixins/animations.less +38 -0
package/es/index.mjs
CHANGED
|
@@ -5,10 +5,10 @@ import { configProviderProps as d } from "./src/config-provider/config-provider-
|
|
|
5
5
|
import { DEFAULT_NAMESPACE as s, DEFAULT_UIMODE as A, configProviderContextKey as i } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as I } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
7
|
import { buildLocaleContext as T, buildTranslator as S, localeContextKey as C, translate as g, useLocale as D } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
-
import { defaultNamespace as h, namespaceContextKey as P, useGetDerivedNamespace as E, useNamespace as
|
|
9
|
-
import { ConfigProvider as
|
|
8
|
+
import { defaultNamespace as h, namespaceContextKey as P, useGetDerivedNamespace as E, useNamespace as M } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { ConfigProvider as L, globalConfigCached as N } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as w } from "./src/config-provider/index.mjs";
|
|
11
|
-
import { ApFormItemText as
|
|
11
|
+
import { ApFormItemText as v } from "./src/ap-form/items/text/index.mjs";
|
|
12
12
|
import { default as K } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
13
13
|
import { default as U } from "./src/ap-form/items/number/index.vue.mjs";
|
|
14
14
|
import { default as V } from "./src/ap-form/items/date/index.vue.mjs";
|
|
@@ -32,10 +32,10 @@ import { default as Ce } from "./src/ap-form/render/item.vue.mjs";
|
|
|
32
32
|
import { default as De } from "./src/ap-form/provider/index.vue.mjs";
|
|
33
33
|
import { ApField as he } from "./src/ap-field/index.mjs";
|
|
34
34
|
import { ApFieldText as Ee } from "./src/ap-field/text/index.mjs";
|
|
35
|
-
import { default as
|
|
35
|
+
import { default as Re } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
36
36
|
import { default as Ne } from "./src/ap-field/date/index.vue.mjs";
|
|
37
37
|
import { default as we } from "./src/ap-field/number/index.vue.mjs";
|
|
38
|
-
import { default as
|
|
38
|
+
import { default as ve } from "./src/ap-field/radio/index.vue.mjs";
|
|
39
39
|
import { default as Ke } from "./src/ap-field/switch/index.vue.mjs";
|
|
40
40
|
import { default as Ue } from "./src/ap-field/text-area/index.vue.mjs";
|
|
41
41
|
import { default as Ve } from "./src/ap-field/date-range/index.vue.mjs";
|
|
@@ -57,11 +57,11 @@ import { default as So } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
|
57
57
|
import { default as go } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
58
58
|
import { default as Go } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
|
|
59
59
|
import { NeedNameKeyDefault as Po } from "./src/ap-upload/apUploadTypes.mjs";
|
|
60
|
-
import { default as
|
|
61
|
-
import { ApDownLoadNeedNameKeyDefault as
|
|
60
|
+
import { default as Mo } from "./src/ap-upload/apUpload.vue.mjs";
|
|
61
|
+
import { ApDownLoadNeedNameKeyDefault as Lo } from "./src/ap-download/interface.mjs";
|
|
62
62
|
import { default as yo } from "./src/ap-download/ap-download.vue.mjs";
|
|
63
|
-
import { CheckCard as
|
|
64
|
-
import { default as
|
|
63
|
+
import { CheckCard as ko } from "./src/check-card/index.mjs";
|
|
64
|
+
import { default as Bo } from "./src/check-card/group.vue.mjs";
|
|
65
65
|
import { ApModal as Oo } from "./src/ap-modal/index.mjs";
|
|
66
66
|
import { default as zo } from "./src/ap-list/index.vue.mjs";
|
|
67
67
|
import { default as Wo } from "./src/ap-button/ap-button.vue.mjs";
|
|
@@ -84,10 +84,10 @@ import { handleExportDownload as Sr } from "./src/business/ap-export-group/handl
|
|
|
84
84
|
import { convertExportField as gr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
85
85
|
import { ApImage as Gr } from "./src/business/ap-image/index.mjs";
|
|
86
86
|
import { ApInputRadio as Pr } from "./src/business/ap-input-radio/index.mjs";
|
|
87
|
-
import { ApLabel as
|
|
87
|
+
import { ApLabel as Mr, ApLabelGroup as Rr } from "./src/business/ap-label/index.mjs";
|
|
88
88
|
import { locales as Nr } from "./src/business/ap-ladder/interface.mjs";
|
|
89
89
|
import { ApLadder as wr } from "./src/business/ap-ladder/index.mjs";
|
|
90
|
-
import { ApSelectLayout as
|
|
90
|
+
import { ApSelectLayout as vr } from "./src/business/ap-select-layout/index.mjs";
|
|
91
91
|
import { ApStatus as Kr, ApStatusGroup as Or } from "./src/business/ap-status/index.mjs";
|
|
92
92
|
import { ApTitle as zr } from "./src/business/ap-title/index.mjs";
|
|
93
93
|
import { usePageListApTable as Wr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
@@ -108,10 +108,10 @@ import { default as Ct } from "./src/editable-table/index.vue.mjs";
|
|
|
108
108
|
import { default as Dt } from "./src/editable-table/form-item.vue.mjs";
|
|
109
109
|
import { default as ht } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
110
110
|
import { ensureRangeValue as Et } from "./src/scroll-bar/utils/index.mjs";
|
|
111
|
-
import { default as
|
|
111
|
+
import { default as Rt } from "./src/scroll-bar/index.vue.mjs";
|
|
112
112
|
import { default as Nt } from "./src/scroll-bar/internal.vue.mjs";
|
|
113
113
|
import { default as wt } from "./src/scroll-view/index.vue.mjs";
|
|
114
|
-
import { default as
|
|
114
|
+
import { default as vt } from "./src/portal/index.vue.mjs";
|
|
115
115
|
import { default as Kt } from "./src/full-screen/index.vue.mjs";
|
|
116
116
|
import { default as Ut } from "./src/resize-observer/index.vue.mjs";
|
|
117
117
|
import { default as Vt } from "./src/ap-grid/index.vue.mjs";
|
|
@@ -119,12 +119,13 @@ import { default as _t } from "./src/ap-grid/editable/index.vue.mjs";
|
|
|
119
119
|
import { default as $t } from "./src/ap-grid/editable/form-item.vue.mjs";
|
|
120
120
|
import { default as qt } from "./src/text/index.vue.mjs";
|
|
121
121
|
import { default as Qt } from "./src/text/group.vue.mjs";
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
122
|
+
import { default as Yt } from "./src/mask/index.vue.mjs";
|
|
123
|
+
import { useMessage as ep } from "./src/hooks/useMessage.mjs";
|
|
124
|
+
import { useControllableValue as rp } from "./src/hooks/useControllableValue.mjs";
|
|
125
|
+
import { useManualRef as pp } from "./src/hooks/useManualRef.mjs";
|
|
126
|
+
import { useThrottleRef as fp } from "./src/hooks/useThrottleRef.mjs";
|
|
127
|
+
import { useFullScreen as lp } from "./src/hooks/useFullScreen.mjs";
|
|
128
|
+
import { useResize as dp } from "./src/hooks/useResize.mjs";
|
|
128
129
|
const a = {
|
|
129
130
|
install: (r) => {
|
|
130
131
|
for (const t in o) {
|
|
@@ -150,7 +151,7 @@ export {
|
|
|
150
151
|
Ar as ApCard,
|
|
151
152
|
jo as ApConfirmButton,
|
|
152
153
|
ht as ApDescriptions,
|
|
153
|
-
|
|
154
|
+
Lo as ApDownLoadNeedNameKeyDefault,
|
|
154
155
|
yo as ApDownload,
|
|
155
156
|
Jo as ApDrawer,
|
|
156
157
|
nr as ApExpandAlert,
|
|
@@ -158,12 +159,12 @@ export {
|
|
|
158
159
|
Fr as ApExportGroupActionType,
|
|
159
160
|
ft as ApExtensionSelect,
|
|
160
161
|
he as ApField,
|
|
161
|
-
|
|
162
|
+
Re as ApFieldCheckbox,
|
|
162
163
|
Ne as ApFieldDate,
|
|
163
164
|
Ve as ApFieldDateRange,
|
|
164
165
|
we as ApFieldNumber,
|
|
165
166
|
$e as ApFieldPassword,
|
|
166
|
-
|
|
167
|
+
ve as ApFieldRadio,
|
|
167
168
|
Ye as ApFieldRate,
|
|
168
169
|
Qe as ApFieldSegmented,
|
|
169
170
|
_e as ApFieldSelect,
|
|
@@ -186,7 +187,7 @@ export {
|
|
|
186
187
|
Ce as ApFormItemRender,
|
|
187
188
|
q as ApFormItemSelect,
|
|
188
189
|
Q as ApFormItemSwitch,
|
|
189
|
-
|
|
190
|
+
v as ApFormItemText,
|
|
190
191
|
K as ApFormItemTextArea,
|
|
191
192
|
ee as ApFormItemTextPassword,
|
|
192
193
|
le as ApFormList,
|
|
@@ -199,14 +200,14 @@ export {
|
|
|
199
200
|
Gr as ApImage,
|
|
200
201
|
Go as ApInfoLayout,
|
|
201
202
|
Pr as ApInputRadio,
|
|
202
|
-
|
|
203
|
-
|
|
203
|
+
Mr as ApLabel,
|
|
204
|
+
Rr as ApLabelGroup,
|
|
204
205
|
wr as ApLadder,
|
|
205
206
|
zo as ApList,
|
|
206
207
|
Oo as ApModal,
|
|
207
208
|
rt as ApNeedNameKeyDefault,
|
|
208
209
|
lt as ApPopoverSelect,
|
|
209
|
-
|
|
210
|
+
vr as ApSelectLayout,
|
|
210
211
|
ct as ApSizeInput,
|
|
211
212
|
Kr as ApStatus,
|
|
212
213
|
Or as ApStatusGroup,
|
|
@@ -219,12 +220,12 @@ export {
|
|
|
219
220
|
Qt as ApTextGroup,
|
|
220
221
|
zr as ApTitle,
|
|
221
222
|
Xo as ApTransformDataHelper,
|
|
222
|
-
|
|
223
|
+
Mo as ApUpload,
|
|
223
224
|
dt as ApUploadSingle,
|
|
224
225
|
st as BatchInputGroup,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
ko as CheckCard,
|
|
227
|
+
Bo as CheckCardGroup,
|
|
228
|
+
L as ConfigProvider,
|
|
228
229
|
s as DEFAULT_NAMESPACE,
|
|
229
230
|
A as DEFAULT_UIMODE,
|
|
230
231
|
io as DictCode,
|
|
@@ -234,10 +235,11 @@ export {
|
|
|
234
235
|
Dt as EditableTableFormItem,
|
|
235
236
|
Kt as FullScreen,
|
|
236
237
|
Nt as InternalScrollBar,
|
|
238
|
+
Yt as Mask,
|
|
237
239
|
Po as NeedNameKeyDefault,
|
|
238
|
-
|
|
240
|
+
vt as Portal,
|
|
239
241
|
Ut as ResizeObserver,
|
|
240
|
-
|
|
242
|
+
Rt as ScrollBar,
|
|
241
243
|
wt as ScrollView,
|
|
242
244
|
bo as WorkOrderModal,
|
|
243
245
|
eo as adminToken,
|
|
@@ -265,20 +267,20 @@ export {
|
|
|
265
267
|
l as pathMap,
|
|
266
268
|
F as provideGlobalConfig,
|
|
267
269
|
g as translate,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
+
rp as useControllableValue,
|
|
271
|
+
lp as useFullScreen,
|
|
270
272
|
E as useGetDerivedNamespace,
|
|
271
273
|
I as useGlobalConfig,
|
|
272
274
|
D as useLocale,
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
275
|
+
pp as useManualRef,
|
|
276
|
+
ep as useMessage,
|
|
277
|
+
M as useNamespace,
|
|
276
278
|
jr as usePageListApGrid,
|
|
277
279
|
Wr as usePageListApTable,
|
|
278
|
-
|
|
280
|
+
dp as useResize,
|
|
279
281
|
or as useTableModal,
|
|
280
282
|
It as useTablePaging,
|
|
281
283
|
Hr as useTableRefresh,
|
|
282
284
|
tr as useTableSelectModal,
|
|
283
|
-
|
|
285
|
+
fp as useThrottleRef
|
|
284
286
|
};
|
package/es/src/index.d.ts
CHANGED