@mobileaction/action-kit 1.59.0-beta.20260807102802 → 1.59.0-beta.20260809144416
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 +1 -1
- package/dist/{annotations-B2BaKgdY.js → annotations-B5lA-0pY.js} +1 -1
- package/dist/components/input-2/stories/MaTextInput.stories.d.ts +20 -0
- package/dist/components/input-2/stories/MaTextInput.stories.test.d.ts +1 -0
- package/dist/components/input-2/text-input/MaTextInput.formwerk.test.d.ts +1 -0
- package/dist/components/input-2/text-input/MaTextInput.vue.d.ts +16 -6
- package/dist/components/input-2/types.d.ts +3 -5
- package/dist/{export-data-DjrS3VzF.js → export-data-C5Wb7jQZ.js} +1 -1
- package/dist/{exporting-BVYhxmbB.js → exporting-BM-HqHVT.js} +1 -1
- package/dist/{funnel-DV6Y_R3E.js → funnel-UT9H_vvC.js} +1 -1
- package/dist/{index-B7Kwo9Jd.js → index-B6cXk0VH.js} +5381 -5349
- package/dist/{map-wDdXr2zx.js → map-DA3zc2Ri.js} +1 -1
- package/dist/{offline-exporting-Ci6ifB4q.js → offline-exporting-DqqHzP7s.js} +1 -1
- package/dist/{stock-Czhr7Bv_.js → stock-DQ0iL05g.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{venn-DIVUSrJk.js → venn-B7KM-fLV.js} +1 -1
- package/dist/{wordcloud-CtdnVlbd.js → wordcloud-D577R1W_.js} +1 -1
- package/package.json +3 -2
package/dist/action-kit.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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 l, B as b, 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 A, t as B, 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 x, G as _, 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 Z, W as Q, 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 la, ab as ba, 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 Aa, an as Ba, 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 xa, az as _a, 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 Za, aN as Qa, 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 ls, b1 as bs, 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 As, bd as Bs, 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 xs, bp as _s, 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 Zs, bD as Qs, 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 le, bT as be, 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 Ae, c3 as Be, 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 xe, cf as _e, 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 Ze, ct as Qe, 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 lt, cJ as bt, cK as ut, cL as St, cM as Tt, cN as dt, cO as mt } from "./index-
|
|
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 l, B as b, 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 A, t as B, 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 x, G as _, 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 Z, W as Q, 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 la, ab as ba, 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 Aa, an as Ba, 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 xa, az as _a, 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 Za, aN as Qa, 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 ls, b1 as bs, 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 As, bd as Bs, 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 xs, bp as _s, 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 Zs, bD as Qs, 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 le, bT as be, 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 Ae, c3 as Be, 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 xe, cf as _e, 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 Ze, ct as Qe, 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 lt, cJ as bt, cK as ut, cL as St, cM as Tt, cN as dt, cO as mt } from "./index-B6cXk0VH.js";
|
|
2
2
|
export * from "@formwerk/core";
|
|
3
3
|
import { SelectOptGroup as yt } from "ant-design-vue";
|
|
4
4
|
export {
|
|
@@ -7,3 +7,23 @@ export declare const Basic: Story;
|
|
|
7
7
|
export declare const WithIcon: Story;
|
|
8
8
|
export declare const Clearable: Story;
|
|
9
9
|
export declare const States: Story;
|
|
10
|
+
/**
|
|
11
|
+
* MaTextInput registers itself as a Formwerk field, so validation needs no
|
|
12
|
+
* wrapper component and no per-field composable — just props.
|
|
13
|
+
*/
|
|
14
|
+
export declare const FormwerkHtmlConstraints: Story;
|
|
15
|
+
/**
|
|
16
|
+
* Same component, validated by a Standard Schema instead of HTML attributes.
|
|
17
|
+
*/
|
|
18
|
+
export declare const FormwerkSchema: Story;
|
|
19
|
+
/**
|
|
20
|
+
* The full replacement for a vee-validate form: one `useForm`, fields that
|
|
21
|
+
* register themselves by `name`, and a submit handler that only runs when valid.
|
|
22
|
+
*/
|
|
23
|
+
export declare const FormwerkForm: Story;
|
|
24
|
+
/**
|
|
25
|
+
* Browser-generated constraint messages come out in the *browser's* language,
|
|
26
|
+
* not the app's — a real problem for a product that ships en/ja/ko/zh. Turning
|
|
27
|
+
* HTML5 validation off keeps the constraint but hands you the message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const FormwerkDisableHtmlValidation: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import type { MaTextInputProps } from '../types';
|
|
2
|
-
type __VLS_Props = MaTextInputProps;
|
|
3
|
-
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
-
modelValue?: string;
|
|
5
|
-
};
|
|
6
2
|
declare var __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
|
|
7
3
|
type __VLS_Slots = {} & {
|
|
8
4
|
prefix?: (props: typeof __VLS_9) => any;
|
|
@@ -13,21 +9,35 @@ type __VLS_Slots = {} & {
|
|
|
13
9
|
} & {
|
|
14
10
|
addonAfter?: (props: typeof __VLS_15) => any;
|
|
15
11
|
};
|
|
16
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<MaTextInputProps, {
|
|
17
13
|
focus: () => void;
|
|
18
14
|
blur: () => void;
|
|
15
|
+
controlId: string;
|
|
16
|
+
labelProps: import("vue").Ref<import("@formwerk/core").AriaLabelProps, import("@formwerk/core").AriaLabelProps>;
|
|
17
|
+
descriptionProps: import("vue").Ref<import("@formwerk/core").AriaDescriptionProps, import("@formwerk/core").AriaDescriptionProps>;
|
|
18
|
+
errorMessageProps: import("vue").Ref<import("@formwerk/core").AriaErrorMessageProps, import("@formwerk/core").AriaErrorMessageProps>;
|
|
19
|
+
errorMessage: import("vue").Ref<string, string>;
|
|
20
|
+
errors: import("vue").Ref<string[], string[]>;
|
|
21
|
+
isDirty: import("vue").Ref<boolean, boolean>;
|
|
22
|
+
isTouched: import("vue").Ref<boolean, boolean>;
|
|
23
|
+
isValid: import("vue").Ref<boolean, boolean>;
|
|
24
|
+
setErrors: (messages: import("@formwerk/core").Arrayable<string>) => void;
|
|
25
|
+
setTouched: (touched: boolean) => void;
|
|
26
|
+
setValue: (value: string) => void;
|
|
27
|
+
validate: (mutate?: boolean) => Promise<import("@formwerk/core").ValidationResult>;
|
|
19
28
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
29
|
clear: () => any;
|
|
21
30
|
blur: (event: FocusEvent) => any;
|
|
22
31
|
focus: (event: FocusEvent) => any;
|
|
23
32
|
"update:modelValue": (value: string) => any;
|
|
24
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<MaTextInputProps> & Readonly<{
|
|
25
34
|
onClear?: () => any;
|
|
26
35
|
onBlur?: (event: FocusEvent) => any;
|
|
27
36
|
onFocus?: (event: FocusEvent) => any;
|
|
28
37
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
29
38
|
}>, {
|
|
30
39
|
size: import("..").MaInputBaseSize;
|
|
40
|
+
type: import("@formwerk/core").TextInputDOMType;
|
|
31
41
|
disabled: boolean;
|
|
32
42
|
readonly: boolean;
|
|
33
43
|
clearable: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TextFieldProps } from '@formwerk/core';
|
|
1
2
|
export declare const MaInputBaseSizes: {
|
|
2
3
|
readonly sm: "sm";
|
|
3
4
|
readonly md: "md";
|
|
@@ -61,13 +62,10 @@ export interface MaCurrencyInputProps extends Omit<MaInputBaseProps, 'focused' |
|
|
|
61
62
|
/** Placeholder for the native input element */
|
|
62
63
|
placeholder?: string;
|
|
63
64
|
}
|
|
64
|
-
export interface MaTextInputProps extends Omit<MaInputBaseProps, 'focused' | 'hasValue'> {
|
|
65
|
+
export interface MaTextInputProps extends Omit<MaInputBaseProps, 'focused' | 'hasValue'>, Omit<TextFieldProps, 'label'> {
|
|
65
66
|
/** Custom id for the native input element. Auto-generated if not provided. */
|
|
66
67
|
id?: string;
|
|
67
|
-
|
|
68
|
-
autocomplete?: string;
|
|
69
|
-
/** Placeholder for the native input element */
|
|
70
|
-
placeholder?: string;
|
|
68
|
+
label?: string;
|
|
71
69
|
}
|
|
72
70
|
export interface MaNumberInputProps extends Omit<MaInputBaseProps, 'focused' | 'hasValue'> {
|
|
73
71
|
/** Custom id for the native input element. Auto-generated if not provided. */
|