wyfe-ivue 1.8.1 → 1.9.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/dist/{InlineForm-HWVy4_rO.js → InlineForm-ux7u2OkU.js} +3 -3
- package/dist/{RecTableColumn-B8ONyqK0.js → RecTableColumn-DokVurlf.js} +2 -2
- package/dist/{RowForm-CDwtJZt_.js → RowForm-cAUvBTfu.js} +3 -3
- package/dist/{Selection-CQAkBlc1.js → Selection-OFLFQNcv.js} +2 -2
- package/dist/{Span-Dt6-7IaH.js → Span-DsJPZtSv.js} +1 -1
- package/dist/{el-radio-BLr3c8K8.js → el-radio-sOtVZezV.js} +1 -1
- package/dist/{index-BjNnP8Uo.js → index-B4Tr1Z04.js} +3741 -3637
- package/dist/index.es.js +8 -7
- package/dist/index.umd.cjs +19 -19
- package/dist/types/index.d.ts +75 -9
- package/dist/{useFormHook-DffgkP9A.js → useFormHook-Ci_Gj-p9.js} +2 -2
- package/dist/wyfe-ivue.css +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import { Ref } from 'vue';
|
|
|
29
29
|
import { ShallowUnwrapRef } from 'vue';
|
|
30
30
|
import { Slot } from 'vue';
|
|
31
31
|
import { TransitionProps } from 'vue';
|
|
32
|
+
import { default as UtilClass } from '../utils/UtilClass.ts';
|
|
32
33
|
import { VNode } from 'vue';
|
|
33
34
|
import { VNodeProps } from 'vue';
|
|
34
35
|
import { WatchOptions } from 'vue';
|
|
@@ -126,6 +127,7 @@ readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
|
126
127
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
127
128
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
128
129
|
readonly center: boolean;
|
|
130
|
+
readonly modelValue: boolean;
|
|
129
131
|
readonly appendToBody: boolean;
|
|
130
132
|
readonly destroyOnClose: boolean;
|
|
131
133
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -140,7 +142,6 @@ readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
|
140
142
|
readonly modalPenetrable: boolean;
|
|
141
143
|
readonly openDelay: number;
|
|
142
144
|
readonly closeDelay: number;
|
|
143
|
-
readonly modelValue: boolean;
|
|
144
145
|
readonly trapFocus: boolean;
|
|
145
146
|
readonly fullscreen: boolean;
|
|
146
147
|
readonly ariaLevel: string;
|
|
@@ -167,7 +168,7 @@ onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
|
167
168
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
168
169
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
169
170
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
170
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "showClose" | "size" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "
|
|
171
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "showClose" | "size" | "appendTo" | "center" | "modelValue" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "transition" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "ariaLevel">;
|
|
171
172
|
$attrs: {
|
|
172
173
|
[x: string]: unknown;
|
|
173
174
|
};
|
|
@@ -180,7 +181,7 @@ $slots: Readonly<{
|
|
|
180
181
|
$root: ComponentPublicInstance | null;
|
|
181
182
|
$parent: ComponentPublicInstance | null;
|
|
182
183
|
$host: Element | null;
|
|
183
|
-
$emit: ((event: "close") => void) & ((event: "
|
|
184
|
+
$emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
184
185
|
$el: any;
|
|
185
186
|
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
186
187
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -419,7 +420,7 @@ onCloseAutoFocus?: (() => any) | undefined;
|
|
|
419
420
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
420
421
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
421
422
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
422
|
-
}, "title" | "showClose" | "size" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "
|
|
423
|
+
}, "title" | "showClose" | "size" | "appendTo" | "center" | "modelValue" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "transition" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "ariaLevel" | "handleClose" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef< {
|
|
423
424
|
handleClose: () => void;
|
|
424
425
|
afterEnter: () => void;
|
|
425
426
|
afterLeave: () => void;
|
|
@@ -471,6 +472,7 @@ readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
|
471
472
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
472
473
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
473
474
|
readonly center: boolean;
|
|
475
|
+
readonly modelValue: boolean;
|
|
474
476
|
readonly appendToBody: boolean;
|
|
475
477
|
readonly destroyOnClose: boolean;
|
|
476
478
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -485,7 +487,6 @@ readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
|
485
487
|
readonly modalPenetrable: boolean;
|
|
486
488
|
readonly openDelay: number;
|
|
487
489
|
readonly closeDelay: number;
|
|
488
|
-
readonly modelValue: boolean;
|
|
489
490
|
readonly trapFocus: boolean;
|
|
490
491
|
readonly fullscreen: boolean;
|
|
491
492
|
readonly ariaLevel: string;
|
|
@@ -512,7 +513,7 @@ onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
|
512
513
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
513
514
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
514
515
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
515
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "showClose" | "size" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "
|
|
516
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "showClose" | "size" | "appendTo" | "center" | "modelValue" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "transition" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "ariaLevel">;
|
|
516
517
|
$attrs: {
|
|
517
518
|
[x: string]: unknown;
|
|
518
519
|
};
|
|
@@ -525,7 +526,7 @@ $slots: Readonly<{
|
|
|
525
526
|
$root: ComponentPublicInstance | null;
|
|
526
527
|
$parent: ComponentPublicInstance | null;
|
|
527
528
|
$host: Element | null;
|
|
528
|
-
$emit: ((event: "close") => void) & ((event: "
|
|
529
|
+
$emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
529
530
|
$el: any;
|
|
530
531
|
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
531
532
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -764,7 +765,7 @@ onCloseAutoFocus?: (() => any) | undefined;
|
|
|
764
765
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
765
766
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
766
767
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
767
|
-
}, "title" | "showClose" | "size" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "
|
|
768
|
+
}, "title" | "showClose" | "size" | "appendTo" | "center" | "modelValue" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "transition" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "ariaLevel" | "handleClose" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef< {
|
|
768
769
|
handleClose: () => void;
|
|
769
770
|
afterEnter: () => void;
|
|
770
771
|
afterLeave: () => void;
|
|
@@ -2355,6 +2356,69 @@ btnText: string;
|
|
|
2355
2356
|
extConfig: Record<string, any>;
|
|
2356
2357
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2357
2358
|
|
|
2359
|
+
export declare const UseElCheckbox: DefineComponent<ExtractPropTypes< {
|
|
2360
|
+
modelValue: {
|
|
2361
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
2362
|
+
default: () => never[];
|
|
2363
|
+
};
|
|
2364
|
+
data: any;
|
|
2365
|
+
defaultProps: {
|
|
2366
|
+
type: ObjectConstructor;
|
|
2367
|
+
default: () => {
|
|
2368
|
+
label: string;
|
|
2369
|
+
value: string;
|
|
2370
|
+
};
|
|
2371
|
+
};
|
|
2372
|
+
showCheckAll: {
|
|
2373
|
+
type: BooleanConstructor;
|
|
2374
|
+
default: boolean;
|
|
2375
|
+
};
|
|
2376
|
+
vertical: {
|
|
2377
|
+
type: BooleanConstructor;
|
|
2378
|
+
default: boolean;
|
|
2379
|
+
};
|
|
2380
|
+
isJoin: {
|
|
2381
|
+
type: BooleanConstructor;
|
|
2382
|
+
default: boolean;
|
|
2383
|
+
};
|
|
2384
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2385
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2386
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2387
|
+
modelValue: {
|
|
2388
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
2389
|
+
default: () => never[];
|
|
2390
|
+
};
|
|
2391
|
+
data: any;
|
|
2392
|
+
defaultProps: {
|
|
2393
|
+
type: ObjectConstructor;
|
|
2394
|
+
default: () => {
|
|
2395
|
+
label: string;
|
|
2396
|
+
value: string;
|
|
2397
|
+
};
|
|
2398
|
+
};
|
|
2399
|
+
showCheckAll: {
|
|
2400
|
+
type: BooleanConstructor;
|
|
2401
|
+
default: boolean;
|
|
2402
|
+
};
|
|
2403
|
+
vertical: {
|
|
2404
|
+
type: BooleanConstructor;
|
|
2405
|
+
default: boolean;
|
|
2406
|
+
};
|
|
2407
|
+
isJoin: {
|
|
2408
|
+
type: BooleanConstructor;
|
|
2409
|
+
default: boolean;
|
|
2410
|
+
};
|
|
2411
|
+
}>> & Readonly<{
|
|
2412
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2413
|
+
}>, {
|
|
2414
|
+
data: any;
|
|
2415
|
+
modelValue: string | unknown[];
|
|
2416
|
+
defaultProps: Record<string, any>;
|
|
2417
|
+
showCheckAll: boolean;
|
|
2418
|
+
vertical: boolean;
|
|
2419
|
+
isJoin: boolean;
|
|
2420
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2421
|
+
|
|
2358
2422
|
export declare const UseElDrawer: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2359
2423
|
|
|
2360
2424
|
export declare const UseElForm: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
@@ -2517,10 +2581,10 @@ value: string;
|
|
|
2517
2581
|
"onUpdate:label"?: ((...args: any[]) => any) | undefined;
|
|
2518
2582
|
}>, {
|
|
2519
2583
|
modelValue: string | number | unknown[];
|
|
2584
|
+
defaultProps: Record<string, any>;
|
|
2520
2585
|
width: string;
|
|
2521
2586
|
placeholder: string;
|
|
2522
2587
|
options: any;
|
|
2523
|
-
defaultProps: Record<string, any>;
|
|
2524
2588
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2525
2589
|
|
|
2526
2590
|
export declare const UseElTable: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
@@ -2580,4 +2644,6 @@ size: string | number;
|
|
|
2580
2644
|
clickable: boolean;
|
|
2581
2645
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2582
2646
|
|
|
2647
|
+
export { UtilClass }
|
|
2648
|
+
|
|
2583
2649
|
export { }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as Me, inject as _e, createVNode as te, Comment as ml, computed as D, createElementBlock as ee, openBlock as _, normalizeClass as L, unref as t, createCommentVNode as he, createBlock as ye, withModifiers as Ye, withCtx as re, createElementVNode as ne, Fragment as Le, getCurrentInstance as Ca, ref as X, renderList as qe, createTextVNode as ct, toDisplayString as Se, renderSlot as be, useSlots as Oa, provide as Vt, reactive as yt, watch as De, onBeforeUpdate as ar, onMounted as Kt, nextTick as Te, useAttrs as fn, withDirectives as je, isRef as nr, vShow as gt, normalizeStyle as Ot, createSlots as Jl, resolveDynamicComponent as Ct, withKeys as tt, vModelText as Ql, mergeProps as Rt, onBeforeUnmount as Da, Transition as lr, toRef as Dt, toRefs as pa, isVNode as Xl, onUpdated as es, TransitionGroup as sr, h as qt, onActivated as rr, toRaw as or, watchEffect as gl, resolveComponent as Ra, resolveDirective as ir, normalizeProps as ur, guardReactiveProps as cr } from "vue";
|
|
2
|
-
import { a3 as ts, e as dr, l as Ee, a4 as ea, a5 as bl, u as Ne, _ as Ue, a6 as fr, z as Ie, a7 as as, Q as ns, a8 as da, k as at, a9 as Hn, aa as tn, ab as dt, t as Ma, ac as vr, ad as ut, f as Ae, g as fe, C as It, U as Mt, ae as Pn, af as pr, ag as yl, ah as st, ai as Kn, aj as hr, n as _t, E as Oe, ak as Ya, al as ls, w as ra, M as vn, T as Un, am as an, an as Nt, ao as Gn, V as Zn, N as $n, q as Jn, r as pn, y as Ut, ap as Qn, aq as ss, x as Pa, ar as hn, v as bt, as as Lt, at as nn, G as xt, A as Xn, au as _a, av as ha, aw as mr, ax as rs, R as gr, p as os, O as is, ay as br, W as yr, az as kr, aA as wr, aB as Sr, aC as Cr, aD as Or, D as Dr, h as Bt, J as ta, aE as Mr, aF as ln, aG as ia, aH as jt, aI as Vn, aJ as Ht, a2 as sn, L as us, aK as In, aL as el, aM as Tn, H as tl, aN as Pr, P as kl, aO as wn, aP as $r, aQ as Vr, aR as mn, aS as Ir, aT as cs, aU as Tr, aV as ds, aW as Gt, m as Er, aX as Nr, aY as Rr, aZ as Fr, a_ as Lr, j as fa, a$ as Yt, b0 as Ar, b1 as xr, b2 as Br, b3 as Yr, b4 as _r, b5 as zr } from "./index-
|
|
3
|
-
import { a as qr } from "./el-radio-
|
|
2
|
+
import { a3 as ts, e as dr, l as Ee, a4 as ea, a5 as bl, u as Ne, _ as Ue, a6 as fr, z as Ie, a7 as as, Q as ns, a8 as da, k as at, a9 as Hn, aa as tn, ab as dt, t as Ma, ac as vr, ad as ut, f as Ae, g as fe, C as It, U as Mt, ae as Pn, af as pr, ag as yl, ah as st, ai as Kn, aj as hr, n as _t, E as Oe, ak as Ya, al as ls, w as ra, M as vn, T as Un, am as an, an as Nt, ao as Gn, V as Zn, N as $n, q as Jn, r as pn, y as Ut, ap as Qn, aq as ss, x as Pa, ar as hn, v as bt, as as Lt, at as nn, G as xt, A as Xn, au as _a, av as ha, aw as mr, ax as rs, R as gr, p as os, O as is, ay as br, W as yr, az as kr, aA as wr, aB as Sr, aC as Cr, aD as Or, D as Dr, h as Bt, J as ta, aE as Mr, aF as ln, aG as ia, aH as jt, aI as Vn, aJ as Ht, a2 as sn, L as us, aK as In, aL as el, aM as Tn, H as tl, aN as Pr, P as kl, aO as wn, aP as $r, aQ as Vr, aR as mn, aS as Ir, aT as cs, aU as Tr, aV as ds, aW as Gt, m as Er, aX as Nr, aY as Rr, aZ as Fr, a_ as Lr, j as fa, a$ as Yt, b0 as Ar, b1 as xr, b2 as Br, b3 as Yr, b4 as _r, b5 as zr } from "./index-B4Tr1Z04.js";
|
|
3
|
+
import { a as qr } from "./el-radio-sOtVZezV.js";
|
|
4
4
|
var Wr = 4;
|
|
5
5
|
function wl(e) {
|
|
6
6
|
return ts(e, Wr);
|