@mobileaction/action-kit 1.58.10 → 1.58.11
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/dist/action-kit.mjs +183 -176
- package/dist/{annotations-C9tX3aIM.js → annotations-DM2A5eMO.js} +1 -1
- package/dist/components/chatbot/components/MaChatbotInputArea.vue.d.ts +2 -2
- package/dist/components/input-2/MaInputBase.vue.d.ts +32 -0
- package/dist/components/input-2/composables/useInput.d.ts +22 -0
- package/dist/components/input-2/currency-input/MaCurrencyInput.test.d.ts +1 -0
- package/dist/components/input-2/currency-input/MaCurrencyInput.vue.d.ts +40 -0
- package/dist/components/input-2/currency-input/useCurrencyFormatter.d.ts +13 -0
- package/dist/components/input-2/currency-input/useCurrencyFormatter.test.d.ts +1 -0
- package/dist/components/input-2/index.d.ts +8 -0
- package/dist/components/input-2/number-input/MaNumberInput.test.d.ts +1 -0
- package/dist/components/input-2/number-input/MaNumberInput.vue.d.ts +43 -0
- package/dist/components/input-2/number-input/useNumberFormatter.d.ts +14 -0
- package/dist/components/input-2/password-input/MaPasswordInput.test.d.ts +1 -0
- package/dist/components/input-2/password-input/MaPasswordInput.vue.d.ts +41 -0
- package/dist/components/input-2/stories/MaCurrencyInput.stories.d.ts +11 -0
- package/dist/components/input-2/stories/MaNumberInput.stories.d.ts +11 -0
- package/dist/components/input-2/stories/MaPasswordInput.stories.d.ts +9 -0
- package/dist/components/input-2/stories/MaTextInput.stories.d.ts +9 -0
- package/dist/components/input-2/stories/MaTextarea.stories.d.ts +10 -0
- package/dist/components/input-2/text-input/MaTextInput.test.d.ts +1 -0
- package/dist/components/input-2/text-input/MaTextInput.vue.d.ts +41 -0
- package/dist/components/input-2/textarea/MaTextarea.test.d.ts +1 -0
- package/dist/components/input-2/textarea/MaTextarea.vue.d.ts +43 -0
- package/dist/components/input-2/types.d.ts +100 -0
- package/dist/components/input-2/utils/numericUtils.d.ts +23 -0
- package/dist/components/input-2/utils/numericUtils.test.d.ts +1 -0
- package/dist/config/plugin.d.ts +3 -0
- package/dist/{export-data-CSPBGEQv.js → export-data-CqSgvfSB.js} +1 -1
- package/dist/{exporting-DxZCG94E.js → exporting-DT_T9PYA.js} +1 -1
- package/dist/{funnel-B5nxcTav.js → funnel-BCr5S0Yc.js} +1 -1
- package/dist/index-B52EWw0h.js +25092 -0
- package/dist/index.d.ts +1 -0
- package/dist/locales/types.d.ts +3 -0
- package/dist/{map--TvE6hJT.js → map-BCotpnQj.js} +1 -1
- package/dist/{offline-exporting-Bd2QG1kN.js → offline-exporting-ZD4LRbP1.js} +1 -1
- package/dist/resize-CXC_ucKO.js +21 -0
- package/dist/resize-CulZQfki.js +7 -0
- package/dist/{stock-BpBZxUQH.js → stock-BOILhy1M.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{venn-CfpiyG6H.js → venn-Clyt7boD.js} +1 -1
- package/dist/{wordcloud-Y-LTPDvu.js → wordcloud-6uCpertT.js} +1 -1
- package/package.json +1 -1
- package/dist/index-Buk0st-_.js +0 -24121
package/dist/action-kit.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { e, j as
|
|
2
|
-
import { SelectOptGroup as
|
|
1
|
+
import { e, j as t, k as o, z as M, A as n, a as i, b as c, c as r, d as p, f as b, B as l, h as u, i as S, l as T, m as d, n as m, o as I, C, p as y, q as g, r as P, s as B, t as A, D as h, u as z, v, w as D, L as O, x as w, _ as L, y as k, E as R, M as E, F as _, G as x, H as N, I as f, J as F, K, N as G, O as V, P as H, Q as U, R as W, S as J, T as j, U as q, V as Q, W as Z, X, Y, Z as $, $ as aa, a0 as sa, a1 as ea, a2 as ta, a3 as oa, a4 as Ma, a5 as na, a6 as ia, a7 as ca, a8 as ra, a9 as pa, aa as ba, ab as la, ac as ua, ad as Sa, ae as Ta, af as da, ag as ma, ah as Ia, ai as Ca, aj as ya, ak as ga, al as Pa, am as Ba, an as Aa, ao as ha, ap as za, aq as va, ar as Da, as as Oa, at as wa, au as La, av as ka, aw as Ra, ax as Ea, ay as _a, az as xa, aA as Na, aB as fa, aC as Fa, aD as Ka, aE as Ga, aF as Va, aG as Ha, aH as Ua, aI as Wa, aJ as Ja, aK as ja, aL as qa, aM as Qa, aN as Za, aO as Xa, aP as Ya, aQ as $a, aR as as, aS as ss, aT as es, aU as ts, aV as os, aW as Ms, aX as ns, aY as is, aZ as cs, a_ as rs, a$ as ps, b0 as bs, b1 as ls, b2 as us, b3 as Ss, b4 as Ts, b5 as ds, b6 as ms, b7 as Is, b8 as Cs, b9 as ys, ba as gs, bb as Ps, bc as Bs, bd as As, be as hs, bf as zs, bg as vs, bh as Ds, bi as Os, bj as ws, bk as Ls, bl as ks, bm as Rs, bn as Es, bo as _s, bp as xs, bq as Ns, br as fs, bs as Fs, bt as Ks, bu as Gs, bv as Vs, bw as Hs, bx as Us, by as Ws, bz as Js, bA as js, bB as qs, bC as Qs, bD as Zs, bE as Xs, bF as Ys, bG as $s, bH as ae, bI as se, bJ as ee, bK as te, bL as oe, bM as Me, bN as ne, bO as ie, bP as ce, bQ as re, bR as pe, bS as be, bT as le, bU as ue, bV as Se, bW as Te, bX as de, bY as me, bZ as Ie, b_ as Ce, b$ as ye, c0 as ge, c1 as Pe, c2 as Be, c3 as Ae, c4 as he, c5 as ze, c6 as ve, c7 as De, c8 as Oe, c9 as we, ca as Le, cb as ke, cc as Re, cd as Ee, ce as _e, cf as xe, cg as Ne, ch as fe, ci as Fe, cj as Ke, ck as Ge, cl as Ve, cm as He, cn as Ue, co as We, cp as Je, cq as je, cr as qe, cs as Qe, ct as Ze, cu as Xe, cv as Ye, cw as $e, cx as at, cy as st, cz as et, cA as tt, cB as ot, cC as Mt, cD as nt, cE as it, cF as ct, cG as rt, cH as pt, cI as bt, cJ as lt, cK as ut, cL as St, cM as Tt, cN as dt, cO as mt, cP as It, cQ as Ct } from "./index-B52EWw0h.js";
|
|
2
|
+
import { SelectOptGroup as gt } from "ant-design-vue";
|
|
3
3
|
export {
|
|
4
4
|
e as ACTION_KIT_LOCALE_EN,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
t as ACTION_KIT_LOCALE_JA,
|
|
6
|
+
o as ACTION_KIT_LOCALE_KO,
|
|
7
7
|
M as ACTION_KIT_LOCALE_ZH,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
n as ASSETS,
|
|
9
|
+
i as ActionKit,
|
|
10
10
|
c as ActionKitSymbol,
|
|
11
11
|
r as Animations,
|
|
12
12
|
p as AppIconPlatforms,
|
|
@@ -22,25 +22,25 @@ export {
|
|
|
22
22
|
y as CheckboxPlacementRight,
|
|
23
23
|
g as CheckboxPlacements,
|
|
24
24
|
P as CollapseItemState,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
B as CollapseModes,
|
|
26
|
+
A as ConfirmModal2Types,
|
|
27
27
|
h as DEVICE_WIDTH,
|
|
28
28
|
z as DeviceTypes,
|
|
29
29
|
v as DisplayModes,
|
|
30
30
|
D as DisplayTypes,
|
|
31
31
|
O as LinkButtonColors,
|
|
32
32
|
w as LinkButtonSizes,
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
L as MaActionSheet,
|
|
34
|
+
k as MaActionSheetItem,
|
|
35
35
|
R as MaAlert,
|
|
36
36
|
E as MaAlertSizeList,
|
|
37
37
|
_ as MaAlertTypeList,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
x as MaAlertVariantList,
|
|
39
|
+
N as MaAnimation,
|
|
40
|
+
f as MaAppIcon,
|
|
41
|
+
F as MaAppTrackButton,
|
|
42
|
+
K as MaAvatar,
|
|
43
|
+
G as MaBadge,
|
|
44
44
|
V as MaBadgePropIconAlignments,
|
|
45
45
|
H as MaBadgePropSizes,
|
|
46
46
|
U as MaBadgePropTypes,
|
|
@@ -48,19 +48,19 @@ export {
|
|
|
48
48
|
J as MaBadgeShape,
|
|
49
49
|
j as MaBreadcrumb,
|
|
50
50
|
q as MaBreadcrumbItem,
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
Q as MaBreadcrumbSeparators,
|
|
52
|
+
Z as MaButton,
|
|
53
53
|
X as MaCard,
|
|
54
54
|
Y as MaCardAlignments,
|
|
55
55
|
$ as MaCardIconColors,
|
|
56
56
|
aa as MaCardSizes,
|
|
57
57
|
sa as MaCascader,
|
|
58
58
|
ea as MaChart,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
ta as MaChatbot,
|
|
60
|
+
oa as MaChatbotSymbol,
|
|
61
61
|
Ma as MaCheckbox,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
na as MaCheckbox2,
|
|
63
|
+
ia as MaCheckbox2Card,
|
|
64
64
|
ca as MaCheckbox2Group,
|
|
65
65
|
ra as MaCheckboxGroup,
|
|
66
66
|
pa as MaCollapse,
|
|
@@ -70,163 +70,170 @@ export {
|
|
|
70
70
|
Sa as MaContentScroller,
|
|
71
71
|
Ta as MaCountryRadio,
|
|
72
72
|
da as MaCountrySelect,
|
|
73
|
-
ma as
|
|
74
|
-
Ia as
|
|
75
|
-
Ca as
|
|
76
|
-
ya as
|
|
77
|
-
ga as
|
|
78
|
-
Pa as
|
|
73
|
+
ma as MaCurrencyInput,
|
|
74
|
+
Ia as MaDatePicker,
|
|
75
|
+
Ca as MaDatePicker2,
|
|
76
|
+
ya as MaDevicePreviewAppDetailPreview,
|
|
77
|
+
ga as MaDevicePreviewAppTodayTabPreview,
|
|
78
|
+
Pa as MaDevicePreviewProductPages,
|
|
79
|
+
Ba as MaDevicePreviewSearchResults,
|
|
79
80
|
Aa as MaDevicePreviewSearchTab,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
ha as MaDevicePreviewTodayTab,
|
|
82
|
+
za as MaDrawer,
|
|
83
|
+
va as MaDropdown,
|
|
84
|
+
Da as MaDropdownPlacements,
|
|
85
|
+
Oa as MaDropdownTriggers,
|
|
86
|
+
wa as MaEllipsis,
|
|
87
|
+
La as MaEmpty,
|
|
87
88
|
ka as MaEmptyIcons,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
Ra as MaEmptySizes,
|
|
90
|
+
Ea as MaEmptyVariants,
|
|
91
|
+
_a as MaFlagIconRatios,
|
|
92
|
+
xa as MaForm,
|
|
93
|
+
Na as MaForm2,
|
|
94
|
+
fa as MaFormItem,
|
|
94
95
|
Fa as MaFormItem2,
|
|
95
|
-
|
|
96
|
+
Ka as MaFormItem2Label,
|
|
96
97
|
Ga as MaFormItem2Message,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
98
|
+
Va as MaFormLayouts,
|
|
99
|
+
Ha as MaIcon,
|
|
100
|
+
Ua as MaIconButton,
|
|
101
|
+
Wa as MaIconSizeClassNames,
|
|
102
|
+
Ja as MaIconSizes,
|
|
103
|
+
ja as MaImage,
|
|
104
|
+
qa as MaImage2,
|
|
105
|
+
Qa as MaImageGroup,
|
|
105
106
|
Za as MaImageGroup2,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
os as
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
is as
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
As as
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
ks as
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
Zs as
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
oe as
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
ie as
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
Ae as
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
ke as
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
Fe as
|
|
204
|
-
|
|
205
|
-
Ge as
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
Ze as
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
107
|
+
Xa as MaImagePreview,
|
|
108
|
+
Ya as MaInput,
|
|
109
|
+
$a as MaInputBase,
|
|
110
|
+
as as MaInputBaseSizes,
|
|
111
|
+
ss as MaInputCurrencies,
|
|
112
|
+
es as MaInputNumber,
|
|
113
|
+
ts as MaInputSizes,
|
|
114
|
+
os as MaInputTypes,
|
|
115
|
+
Ms as MaKeywordInput,
|
|
116
|
+
ns as MaLinkButton,
|
|
117
|
+
is as MaMenu,
|
|
118
|
+
cs as MaMenuButtonPropSizes,
|
|
119
|
+
rs as MaMenuItem,
|
|
120
|
+
ps as MaModal,
|
|
121
|
+
bs as MaModal2,
|
|
122
|
+
ls as MaModalTypeIcon,
|
|
123
|
+
us as MaModalTypes,
|
|
124
|
+
Ss as MaNotification,
|
|
125
|
+
Ts as MaNumberInput,
|
|
126
|
+
ds as MaNumericInput,
|
|
127
|
+
ms as MaPagination,
|
|
128
|
+
Is as MaPaginationModes,
|
|
129
|
+
Cs as MaPaginationSizes,
|
|
130
|
+
ys as MaPasswordInput,
|
|
131
|
+
gs as MaPopconfirm,
|
|
132
|
+
Ps as MaPopconfirm2,
|
|
133
|
+
Bs as MaPopover,
|
|
134
|
+
As as MaPopover2,
|
|
135
|
+
hs as MaProgress,
|
|
136
|
+
zs as MaProgressCircleSizes,
|
|
137
|
+
vs as MaProgressColors,
|
|
138
|
+
Ds as MaProgressPercentAlignments,
|
|
139
|
+
Os as MaProgressTypes,
|
|
140
|
+
ws as MaRadio,
|
|
141
|
+
Ls as MaRadioCard,
|
|
142
|
+
ks as MaRadioGroup,
|
|
143
|
+
Rs as MaRadioTypes,
|
|
144
|
+
Es as MaRate,
|
|
145
|
+
_s as MaRateColors,
|
|
146
|
+
xs as MaRateSizes,
|
|
147
|
+
Ns as MaResult,
|
|
148
|
+
fs as MaSelect,
|
|
149
|
+
Fs as MaSelect2,
|
|
150
|
+
Ks as MaSelect2Option,
|
|
151
|
+
Gs as MaSelect2OptionGroup,
|
|
152
|
+
gt as MaSelectOptGroup,
|
|
153
|
+
Vs as MaSelectOption,
|
|
154
|
+
Hs as MaSideMenuAddNewAppButton,
|
|
155
|
+
Us as MaSideMenuAppButton,
|
|
156
|
+
Ws as MaSideMenuButton,
|
|
157
|
+
Js as MaSideMenuButton2,
|
|
158
|
+
js as MaSideMenuIconButton,
|
|
159
|
+
qs as MaSideMenuItem,
|
|
160
|
+
Qs as MaSideMenuItem2,
|
|
161
|
+
Zs as MaSideMenuItemColors,
|
|
162
|
+
Xs as MaSideMenuRoundIconButton,
|
|
163
|
+
Ys as MaSlider,
|
|
164
|
+
$s as MaSocialButton,
|
|
165
|
+
ae as MaSpin,
|
|
166
|
+
se as MaSpinColors,
|
|
167
|
+
ee as MaSpinSizes,
|
|
168
|
+
te as MaSpinTypes,
|
|
169
|
+
oe as MaStep,
|
|
170
|
+
Me as MaStepItem,
|
|
171
|
+
ne as MaStepItems,
|
|
172
|
+
ie as MaStepSizes,
|
|
173
|
+
ce as MaSteps,
|
|
174
|
+
re as MaStepsDirections,
|
|
175
|
+
pe as MaSwitch,
|
|
176
|
+
be as MaTabButton2,
|
|
177
|
+
le as MaTabIconAlignMents,
|
|
178
|
+
ue as MaTabPane,
|
|
179
|
+
Se as MaTabPane2,
|
|
180
|
+
Te as MaTabPanePlacements,
|
|
181
|
+
de as MaTabPositions,
|
|
182
|
+
me as MaTabTypes,
|
|
183
|
+
Ie as MaTabs,
|
|
184
|
+
Ce as MaTabs2,
|
|
185
|
+
ye as MaTabsSizes,
|
|
186
|
+
ge as MaTabsTypes,
|
|
187
|
+
Pe as MaTagInput,
|
|
188
|
+
Be as MaTextInput,
|
|
189
|
+
Ae as MaTextarea,
|
|
190
|
+
he as MaToggle,
|
|
191
|
+
ze as MaTooltip,
|
|
192
|
+
ve as MaTooltip2,
|
|
193
|
+
De as MaTrackButton,
|
|
194
|
+
Oe as MaTree,
|
|
195
|
+
we as MaTypography,
|
|
196
|
+
Le as MaUpload,
|
|
197
|
+
ke as MaUploadFileStatus,
|
|
198
|
+
Re as MaUploadSizes,
|
|
199
|
+
Ee as MaUploadTypes,
|
|
200
|
+
_e as MaWatchlistButton,
|
|
201
|
+
xe as ModalManager,
|
|
202
|
+
Ne as ModalPositions,
|
|
203
|
+
fe as MultiSelectOptionCheckbox,
|
|
204
|
+
Fe as MultiSelectOptions,
|
|
205
|
+
Ke as NumericInputSizes,
|
|
206
|
+
Ge as PageTypes,
|
|
207
|
+
Ve as Popconfirm2Variants,
|
|
208
|
+
He as Popover2Placements,
|
|
209
|
+
Ue as Popover2TriggerTypes,
|
|
210
|
+
We as SCALE_FACTORS,
|
|
211
|
+
Je as SearchResultsDisplayTypes,
|
|
212
|
+
je as SelectModes,
|
|
213
|
+
qe as SelectOptionTypeRadio,
|
|
214
|
+
Qe as SelectOptionTypes,
|
|
215
|
+
Ze as SelectSizes,
|
|
216
|
+
Xe as SocialButtonBrands,
|
|
217
|
+
Ye as SocialButtonVariants,
|
|
218
|
+
$e as SwitchTypes,
|
|
219
|
+
at as ToggleSizes,
|
|
220
|
+
st as Tooltip2Types,
|
|
221
|
+
et as TooltipPlacements,
|
|
222
|
+
tt as TooltipTriggerTypes,
|
|
223
|
+
ot as TooltipTypes,
|
|
224
|
+
Mt as TrackButtonSizes,
|
|
225
|
+
nt as TreeModes,
|
|
226
|
+
it as TypographyTags,
|
|
227
|
+
ct as TypographyTypes,
|
|
228
|
+
rt as TypographyWeights,
|
|
229
|
+
pt as createMaChatbot,
|
|
230
|
+
bt as currencyOptions,
|
|
231
|
+
lt as currencySymbols,
|
|
232
|
+
ut as loadIcon,
|
|
233
|
+
St as maChartDefaultOptions,
|
|
234
|
+
Tt as maCountry,
|
|
235
|
+
dt as modalManager,
|
|
236
|
+
mt as useActionKit,
|
|
237
|
+
It as useMaChatbot,
|
|
238
|
+
Ct as useModal
|
|
232
239
|
};
|
|
@@ -10,12 +10,12 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
10
10
|
};
|
|
11
11
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
stop: () => any;
|
|
13
|
-
send: () => any;
|
|
14
13
|
"update:modelValue": (value: string) => any;
|
|
14
|
+
send: () => any;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
16
|
onStop?: () => any;
|
|
17
|
-
onSend?: () => any;
|
|
18
17
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
18
|
+
onSend?: () => any;
|
|
19
19
|
}>, {
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
placeholder: string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { MaInputBaseProps } from './types';
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_8: {}, __VLS_13: {}, __VLS_18: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
addonBefore?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
prefix?: (props: typeof __VLS_3) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
} & {
|
|
10
|
+
suffix?: (props: typeof __VLS_13) => any;
|
|
11
|
+
} & {
|
|
12
|
+
addonAfter?: (props: typeof __VLS_18) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<MaInputBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
clear: () => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<MaInputBaseProps> & Readonly<{
|
|
17
|
+
onClear?: () => any;
|
|
18
|
+
}>, {
|
|
19
|
+
size: import("./types").MaInputBaseSize;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
readonly: boolean;
|
|
22
|
+
clearable: boolean;
|
|
23
|
+
focused: boolean;
|
|
24
|
+
hasValue: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare function useInput(props: {
|
|
2
|
+
id?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
readonly?: boolean;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
}, emit: {
|
|
7
|
+
(event: 'focus', payload: FocusEvent): void;
|
|
8
|
+
(event: 'blur', payload: FocusEvent): void;
|
|
9
|
+
}): {
|
|
10
|
+
isFocused: import("vue").Ref<boolean, boolean>;
|
|
11
|
+
inputEl: import("vue").Ref<HTMLInputElement | HTMLTextAreaElement, HTMLInputElement | HTMLTextAreaElement>;
|
|
12
|
+
inputId: import("vue").ComputedRef<string>;
|
|
13
|
+
inputBindings: import("vue").ComputedRef<{
|
|
14
|
+
id: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
readonly: boolean;
|
|
17
|
+
'aria-invalid': true;
|
|
18
|
+
class: string;
|
|
19
|
+
}>;
|
|
20
|
+
onFocus: (event: FocusEvent) => void;
|
|
21
|
+
onBlur: (event: FocusEvent) => void;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { MaCurrencyInputProps } from '../types';
|
|
2
|
+
type __VLS_Props = MaCurrencyInputProps;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
modelValue?: number | null;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_12: {}, __VLS_14: {}, __VLS_16: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
suffix?: (props: typeof __VLS_12) => any;
|
|
9
|
+
} & {
|
|
10
|
+
addonBefore?: (props: typeof __VLS_14) => any;
|
|
11
|
+
} & {
|
|
12
|
+
addonAfter?: (props: typeof __VLS_16) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
15
|
+
focus: () => void;
|
|
16
|
+
blur: () => void;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
clear: () => any;
|
|
19
|
+
blur: (event: FocusEvent) => any;
|
|
20
|
+
focus: (event: FocusEvent) => any;
|
|
21
|
+
"update:modelValue": (value: number) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
+
onClear?: () => any;
|
|
24
|
+
onBlur?: (event: FocusEvent) => any;
|
|
25
|
+
onFocus?: (event: FocusEvent) => any;
|
|
26
|
+
"onUpdate:modelValue"?: (value: number) => any;
|
|
27
|
+
}>, {
|
|
28
|
+
size: import("..").MaInputBaseSize;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
readonly: boolean;
|
|
31
|
+
currency: string;
|
|
32
|
+
clearable: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ComputedRef, MaybeRef } from 'vue';
|
|
2
|
+
import type { NumericSeparators } from '../utils/numericUtils';
|
|
3
|
+
export interface UseCurrencyFormatterOptions {
|
|
4
|
+
currency: MaybeRef<string>;
|
|
5
|
+
}
|
|
6
|
+
export interface UseCurrencyFormatterReturn {
|
|
7
|
+
format: (value: number) => string;
|
|
8
|
+
parsePasted: (pastedValue: string) => number;
|
|
9
|
+
currencySymbol: ComputedRef<string>;
|
|
10
|
+
separators: ComputedRef<NumericSeparators>;
|
|
11
|
+
resolvedFractionDigits: ComputedRef<number>;
|
|
12
|
+
}
|
|
13
|
+
export declare function useCurrencyFormatter(options: UseCurrencyFormatterOptions): UseCurrencyFormatterReturn;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as MaCurrencyInput } from './currency-input/MaCurrencyInput.vue';
|
|
2
|
+
export { default as MaInputBase } from './MaInputBase.vue';
|
|
3
|
+
export { default as MaNumberInput } from './number-input/MaNumberInput.vue';
|
|
4
|
+
export { default as MaPasswordInput } from './password-input/MaPasswordInput.vue';
|
|
5
|
+
export { default as MaTextInput } from './text-input/MaTextInput.vue';
|
|
6
|
+
export { default as MaTextarea } from './textarea/MaTextarea.vue';
|
|
7
|
+
export type { MaCurrencyInputProps, MaInputBaseProps, MaInputBaseSize, MaInputExpose, MaNumberInputProps, MaPasswordInputProps, MaTextareaProps, MaTextInputProps, } from './types';
|
|
8
|
+
export { MaInputBaseSizes } from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { MaNumberInputProps } from '../types';
|
|
2
|
+
type __VLS_Props = MaNumberInputProps;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
modelValue?: number | null;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
prefix?: (props: typeof __VLS_9) => any;
|
|
9
|
+
} & {
|
|
10
|
+
suffix?: (props: typeof __VLS_11) => any;
|
|
11
|
+
} & {
|
|
12
|
+
addonBefore?: (props: typeof __VLS_13) => any;
|
|
13
|
+
} & {
|
|
14
|
+
addonAfter?: (props: typeof __VLS_15) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
17
|
+
focus: () => void;
|
|
18
|
+
blur: () => void;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
clear: () => any;
|
|
21
|
+
blur: (event: FocusEvent) => any;
|
|
22
|
+
focus: (event: FocusEvent) => any;
|
|
23
|
+
"update:modelValue": (value: number) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
+
onClear?: () => any;
|
|
26
|
+
onBlur?: (event: FocusEvent) => any;
|
|
27
|
+
onFocus?: (event: FocusEvent) => any;
|
|
28
|
+
"onUpdate:modelValue"?: (value: number) => any;
|
|
29
|
+
}>, {
|
|
30
|
+
size: import("..").MaInputBaseSize;
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
step: number;
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
locale: string;
|
|
35
|
+
clearable: boolean;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComputedRef, MaybeRef } from 'vue';
|
|
2
|
+
import type { NumericSeparators } from '../utils/numericUtils';
|
|
3
|
+
export interface UseNumberFormatterOptions {
|
|
4
|
+
locale: MaybeRef<string | undefined>;
|
|
5
|
+
precision: MaybeRef<number | undefined>;
|
|
6
|
+
formatter: MaybeRef<((value: number) => string) | undefined>;
|
|
7
|
+
parser: MaybeRef<((displayValue: string) => number | null) | undefined>;
|
|
8
|
+
}
|
|
9
|
+
export interface UseNumberFormatterReturn {
|
|
10
|
+
format: (value: number) => string;
|
|
11
|
+
parse: (displayValue: string) => number | null;
|
|
12
|
+
separators: ComputedRef<NumericSeparators>;
|
|
13
|
+
}
|
|
14
|
+
export declare function useNumberFormatter(options: UseNumberFormatterOptions): UseNumberFormatterReturn;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|