wyfe-ivue 1.8.2 → 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.
@@ -127,6 +127,7 @@ readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
127
127
  readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
128
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>;
129
129
  readonly center: boolean;
130
+ readonly modelValue: boolean;
130
131
  readonly appendToBody: boolean;
131
132
  readonly destroyOnClose: boolean;
132
133
  readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -141,7 +142,6 @@ readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
141
142
  readonly modalPenetrable: boolean;
142
143
  readonly openDelay: number;
143
144
  readonly closeDelay: number;
144
- readonly modelValue: boolean;
145
145
  readonly trapFocus: boolean;
146
146
  readonly fullscreen: boolean;
147
147
  readonly ariaLevel: string;
@@ -168,7 +168,7 @@ onCloseAutoFocus?: (() => any) | undefined | undefined;
168
168
  onResize?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
169
169
  "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
170
170
  "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
171
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "showClose" | "size" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "transition" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "ariaLevel">;
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">;
172
172
  $attrs: {
173
173
  [x: string]: unknown;
174
174
  };
@@ -181,7 +181,7 @@ $slots: Readonly<{
181
181
  $root: ComponentPublicInstance | null;
182
182
  $parent: ComponentPublicInstance | null;
183
183
  $host: Element | null;
184
- $emit: ((event: "close") => void) & ((event: "closed") => void) & ((event: "update:modelValue", value: boolean) => 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
+ $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);
185
185
  $el: any;
186
186
  $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
187
187
  readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
@@ -420,7 +420,7 @@ onCloseAutoFocus?: (() => any) | undefined;
420
420
  onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
421
421
  "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
422
422
  "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
423
- }, "title" | "showClose" | "size" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "transition" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "ariaLevel" | "handleClose" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef< {
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< {
424
424
  handleClose: () => void;
425
425
  afterEnter: () => void;
426
426
  afterLeave: () => void;
@@ -472,6 +472,7 @@ readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
472
472
  readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
473
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>;
474
474
  readonly center: boolean;
475
+ readonly modelValue: boolean;
475
476
  readonly appendToBody: boolean;
476
477
  readonly destroyOnClose: boolean;
477
478
  readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -486,7 +487,6 @@ readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
486
487
  readonly modalPenetrable: boolean;
487
488
  readonly openDelay: number;
488
489
  readonly closeDelay: number;
489
- readonly modelValue: boolean;
490
490
  readonly trapFocus: boolean;
491
491
  readonly fullscreen: boolean;
492
492
  readonly ariaLevel: string;
@@ -513,7 +513,7 @@ onCloseAutoFocus?: (() => any) | undefined | undefined;
513
513
  onResize?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
514
514
  "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
515
515
  "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
516
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "showClose" | "size" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "transition" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "ariaLevel">;
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">;
517
517
  $attrs: {
518
518
  [x: string]: unknown;
519
519
  };
@@ -526,7 +526,7 @@ $slots: Readonly<{
526
526
  $root: ComponentPublicInstance | null;
527
527
  $parent: ComponentPublicInstance | null;
528
528
  $host: Element | null;
529
- $emit: ((event: "close") => void) & ((event: "closed") => void) & ((event: "update:modelValue", value: boolean) => 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
+ $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);
530
530
  $el: any;
531
531
  $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
532
532
  readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
@@ -765,7 +765,7 @@ onCloseAutoFocus?: (() => any) | undefined;
765
765
  onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
766
766
  "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
767
767
  "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
768
- }, "title" | "showClose" | "size" | "appendTo" | "center" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "direction" | "resizable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "transition" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "ariaLevel" | "handleClose" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef< {
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< {
769
769
  handleClose: () => void;
770
770
  afterEnter: () => void;
771
771
  afterLeave: () => void;
@@ -2356,6 +2356,69 @@ btnText: string;
2356
2356
  extConfig: Record<string, any>;
2357
2357
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2358
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
+
2359
2422
  export declare const UseElDrawer: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2360
2423
 
2361
2424
  export declare const UseElForm: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
@@ -2518,10 +2581,10 @@ value: string;
2518
2581
  "onUpdate:label"?: ((...args: any[]) => any) | undefined;
2519
2582
  }>, {
2520
2583
  modelValue: string | number | unknown[];
2584
+ defaultProps: Record<string, any>;
2521
2585
  width: string;
2522
2586
  placeholder: string;
2523
2587
  options: any;
2524
- defaultProps: Record<string, any>;
2525
2588
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2526
2589
 
2527
2590
  export declare const UseElTable: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
@@ -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-DNhfyTHm.js";
3
- import { a as qr } from "./el-radio-O1z4iuzx.js";
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);