wyfe-ivue 1.9.0 → 1.10.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-ux7u2OkU.js → InlineForm-D6idMOTs.js} +3 -3
- package/dist/{RecTableColumn-DokVurlf.js → RecTableColumn-DJiNSDV-.js} +2 -2
- package/dist/{RowForm-cAUvBTfu.js → RowForm-CTFajvVu.js} +3 -3
- package/dist/{Selection-OFLFQNcv.js → Selection-DbAQNNxd.js} +2 -2
- package/dist/{Span-DsJPZtSv.js → Span-DGbpdsGY.js} +1 -1
- package/dist/{el-radio-sOtVZezV.js → el-radio-NqjDP204.js} +1 -1
- package/dist/{index-B4Tr1Z04.js → index-Dkaq7Lln.js} +2558 -2487
- package/dist/index.es.js +10 -9
- package/dist/index.umd.cjs +19 -19
- package/dist/types/index.d.ts +79 -28
- package/dist/{useFormHook-Ci_Gj-p9.js → useFormHook-BJNMhkNh.js} +2 -2
- package/dist/wyfe-ivue.css +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -36,12 +36,43 @@ import { WatchOptions } from 'vue';
|
|
|
36
36
|
import { WatchStopHandle } from 'vue';
|
|
37
37
|
|
|
38
38
|
declare const __VLS_component: DefineComponent<ExtractPropTypes< {
|
|
39
|
+
configs: {
|
|
40
|
+
type: ArrayConstructor;
|
|
41
|
+
required: boolean;
|
|
42
|
+
};
|
|
43
|
+
tableMarginTop: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
useBottomSlot: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
52
|
+
configs: {
|
|
53
|
+
type: ArrayConstructor;
|
|
54
|
+
required: boolean;
|
|
55
|
+
};
|
|
56
|
+
tableMarginTop: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
useBottomSlot: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{}>, {
|
|
65
|
+
tableMarginTop: string;
|
|
66
|
+
useBottomSlot: boolean;
|
|
67
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
68
|
+
|
|
69
|
+
declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
|
|
39
70
|
title: {
|
|
40
71
|
type: StringConstructor;
|
|
41
72
|
default: string;
|
|
42
73
|
};
|
|
43
74
|
size: {
|
|
44
|
-
type: (
|
|
75
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
45
76
|
default: number;
|
|
46
77
|
};
|
|
47
78
|
appendToBody: {
|
|
@@ -788,7 +819,7 @@ type: StringConstructor;
|
|
|
788
819
|
default: string;
|
|
789
820
|
};
|
|
790
821
|
size: {
|
|
791
|
-
type: (
|
|
822
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
792
823
|
default: number;
|
|
793
824
|
};
|
|
794
825
|
appendToBody: {
|
|
@@ -854,7 +885,7 @@ showFooter: boolean;
|
|
|
854
885
|
edRef: unknown;
|
|
855
886
|
}, any>;
|
|
856
887
|
|
|
857
|
-
declare const
|
|
888
|
+
declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
|
|
858
889
|
formMode: {
|
|
859
890
|
type: StringConstructor;
|
|
860
891
|
default: string;
|
|
@@ -1518,7 +1549,7 @@ formRight?(_: {}): any;
|
|
|
1518
1549
|
}) | null;
|
|
1519
1550
|
}, HTMLDivElement>;
|
|
1520
1551
|
|
|
1521
|
-
declare const
|
|
1552
|
+
declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
|
|
1522
1553
|
tableColumns: {
|
|
1523
1554
|
type: PropType<ITableColumn[]>;
|
|
1524
1555
|
required: boolean;
|
|
@@ -1673,6 +1704,16 @@ declare type __VLS_Props = {
|
|
|
1673
1704
|
};
|
|
1674
1705
|
|
|
1675
1706
|
declare function __VLS_template(): {
|
|
1707
|
+
attrs: Partial<{}>;
|
|
1708
|
+
slots: Partial<Record<number, (_: any) => any>> & {
|
|
1709
|
+
crudBetween?(_: {}): any;
|
|
1710
|
+
crudBottom?(_: {}): any;
|
|
1711
|
+
};
|
|
1712
|
+
refs: {};
|
|
1713
|
+
rootEl: HTMLDivElement;
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
declare function __VLS_template_2(): {
|
|
1676
1717
|
attrs: Partial<{}>;
|
|
1677
1718
|
slots: {
|
|
1678
1719
|
default?(_: {}): any;
|
|
@@ -1683,7 +1724,7 @@ declare function __VLS_template(): {
|
|
|
1683
1724
|
rootEl: any;
|
|
1684
1725
|
};
|
|
1685
1726
|
|
|
1686
|
-
declare function
|
|
1727
|
+
declare function __VLS_template_3(): {
|
|
1687
1728
|
attrs: Partial<{}>;
|
|
1688
1729
|
slots: Partial<Record<number, (_: any) => any>>;
|
|
1689
1730
|
refs: {
|
|
@@ -2200,7 +2241,7 @@ declare function __VLS_template_2(): {
|
|
|
2200
2241
|
rootEl: HTMLDivElement;
|
|
2201
2242
|
};
|
|
2202
2243
|
|
|
2203
|
-
declare function
|
|
2244
|
+
declare function __VLS_template_4(): {
|
|
2204
2245
|
attrs: Partial<{}>;
|
|
2205
2246
|
slots: Readonly<{
|
|
2206
2247
|
[key: string]: any;
|
|
@@ -2219,6 +2260,8 @@ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
|
2219
2260
|
|
|
2220
2261
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
2221
2262
|
|
|
2263
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
2264
|
+
|
|
2222
2265
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
2223
2266
|
new (): {
|
|
2224
2267
|
$slots: S;
|
|
@@ -2237,6 +2280,12 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
|
2237
2280
|
};
|
|
2238
2281
|
};
|
|
2239
2282
|
|
|
2283
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
2284
|
+
new (): {
|
|
2285
|
+
$slots: S;
|
|
2286
|
+
};
|
|
2287
|
+
};
|
|
2288
|
+
|
|
2240
2289
|
declare type contentType = string | VNode | Component;
|
|
2241
2290
|
|
|
2242
2291
|
declare interface IFormColumn {
|
|
@@ -2318,6 +2367,8 @@ declare interface ITableColumn {
|
|
|
2318
2367
|
};
|
|
2319
2368
|
}
|
|
2320
2369
|
|
|
2370
|
+
export declare const UseCrudTable: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2371
|
+
|
|
2321
2372
|
export declare const UseElButton: DefineComponent<ExtractPropTypes< {
|
|
2322
2373
|
btnText: {
|
|
2323
2374
|
type: StringConstructor;
|
|
@@ -2351,14 +2402,14 @@ default: () => {};
|
|
|
2351
2402
|
}>> & Readonly<{
|
|
2352
2403
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
2353
2404
|
}>, {
|
|
2405
|
+
extConfig: Record<string, any>;
|
|
2354
2406
|
type: string;
|
|
2355
2407
|
btnText: string;
|
|
2356
|
-
extConfig: Record<string, any>;
|
|
2357
2408
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2358
2409
|
|
|
2359
2410
|
export declare const UseElCheckbox: DefineComponent<ExtractPropTypes< {
|
|
2360
2411
|
modelValue: {
|
|
2361
|
-
type: (
|
|
2412
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2362
2413
|
default: () => never[];
|
|
2363
2414
|
};
|
|
2364
2415
|
data: any;
|
|
@@ -2385,7 +2436,7 @@ default: boolean;
|
|
|
2385
2436
|
"update:modelValue": (...args: any[]) => void;
|
|
2386
2437
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2387
2438
|
modelValue: {
|
|
2388
|
-
type: (
|
|
2439
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2389
2440
|
default: () => never[];
|
|
2390
2441
|
};
|
|
2391
2442
|
data: any;
|
|
@@ -2419,9 +2470,9 @@ vertical: boolean;
|
|
|
2419
2470
|
isJoin: boolean;
|
|
2420
2471
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2421
2472
|
|
|
2422
|
-
export declare const UseElDrawer:
|
|
2473
|
+
export declare const UseElDrawer: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2423
2474
|
|
|
2424
|
-
export declare const UseElForm:
|
|
2475
|
+
export declare const UseElForm: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2425
2476
|
|
|
2426
2477
|
export declare const UseElInput: DefineComponent<ExtractPropTypes< {
|
|
2427
2478
|
modelValue: {
|
|
@@ -2441,23 +2492,23 @@ type: BooleanConstructor;
|
|
|
2441
2492
|
default: boolean;
|
|
2442
2493
|
};
|
|
2443
2494
|
prefixContent: {
|
|
2444
|
-
type: (
|
|
2495
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2445
2496
|
default: string;
|
|
2446
2497
|
};
|
|
2447
2498
|
suffixContent: {
|
|
2448
|
-
type: (
|
|
2499
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2449
2500
|
default: string;
|
|
2450
2501
|
};
|
|
2451
2502
|
prependContent: {
|
|
2452
|
-
type: (
|
|
2503
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2453
2504
|
default: string;
|
|
2454
2505
|
};
|
|
2455
2506
|
appendContent: {
|
|
2456
|
-
type: (
|
|
2507
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2457
2508
|
default: string;
|
|
2458
2509
|
};
|
|
2459
2510
|
unit: {
|
|
2460
|
-
type: (
|
|
2511
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2461
2512
|
default: string;
|
|
2462
2513
|
};
|
|
2463
2514
|
resize: {
|
|
@@ -2488,23 +2539,23 @@ type: BooleanConstructor;
|
|
|
2488
2539
|
default: boolean;
|
|
2489
2540
|
};
|
|
2490
2541
|
prefixContent: {
|
|
2491
|
-
type: (
|
|
2542
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2492
2543
|
default: string;
|
|
2493
2544
|
};
|
|
2494
2545
|
suffixContent: {
|
|
2495
|
-
type: (
|
|
2546
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2496
2547
|
default: string;
|
|
2497
2548
|
};
|
|
2498
2549
|
prependContent: {
|
|
2499
|
-
type: (
|
|
2550
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2500
2551
|
default: string;
|
|
2501
2552
|
};
|
|
2502
2553
|
appendContent: {
|
|
2503
|
-
type: (
|
|
2554
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2504
2555
|
default: string;
|
|
2505
2556
|
};
|
|
2506
2557
|
unit: {
|
|
2507
|
-
type: (
|
|
2558
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2508
2559
|
default: string;
|
|
2509
2560
|
};
|
|
2510
2561
|
resize: {
|
|
@@ -2533,7 +2584,7 @@ placeholder: string;
|
|
|
2533
2584
|
|
|
2534
2585
|
export declare const UseElSelect: DefineComponent<ExtractPropTypes< {
|
|
2535
2586
|
modelValue: {
|
|
2536
|
-
type: (
|
|
2587
|
+
type: (NumberConstructor | ArrayConstructor | StringConstructor)[];
|
|
2537
2588
|
default: string;
|
|
2538
2589
|
};
|
|
2539
2590
|
options: any;
|
|
@@ -2557,7 +2608,7 @@ value: string;
|
|
|
2557
2608
|
"update:label": (...args: any[]) => void;
|
|
2558
2609
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2559
2610
|
modelValue: {
|
|
2560
|
-
type: (
|
|
2611
|
+
type: (NumberConstructor | ArrayConstructor | StringConstructor)[];
|
|
2561
2612
|
default: string;
|
|
2562
2613
|
};
|
|
2563
2614
|
options: any;
|
|
@@ -2587,7 +2638,7 @@ placeholder: string;
|
|
|
2587
2638
|
options: any;
|
|
2588
2639
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2589
2640
|
|
|
2590
|
-
export declare const UseElTable:
|
|
2641
|
+
export declare const UseElTable: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2591
2642
|
|
|
2592
2643
|
export declare const UseRender: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2593
2644
|
|
|
@@ -2597,12 +2648,12 @@ type: StringConstructor;
|
|
|
2597
2648
|
required: boolean;
|
|
2598
2649
|
};
|
|
2599
2650
|
size: {
|
|
2600
|
-
type: (
|
|
2651
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
2601
2652
|
default: number;
|
|
2602
2653
|
validator(val: any): any;
|
|
2603
2654
|
};
|
|
2604
2655
|
color: {
|
|
2605
|
-
type: (
|
|
2656
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2606
2657
|
validator(val: any): any;
|
|
2607
2658
|
};
|
|
2608
2659
|
margin: {
|
|
@@ -2621,12 +2672,12 @@ type: StringConstructor;
|
|
|
2621
2672
|
required: boolean;
|
|
2622
2673
|
};
|
|
2623
2674
|
size: {
|
|
2624
|
-
type: (
|
|
2675
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
2625
2676
|
default: number;
|
|
2626
2677
|
validator(val: any): any;
|
|
2627
2678
|
};
|
|
2628
2679
|
color: {
|
|
2629
|
-
type: (
|
|
2680
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2630
2681
|
validator(val: any): any;
|
|
2631
2682
|
};
|
|
2632
2683
|
margin: {
|
|
@@ -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-Dkaq7Lln.js";
|
|
3
|
+
import { a as qr } from "./el-radio-NqjDP204.js";
|
|
4
4
|
var Wr = 4;
|
|
5
5
|
function wl(e) {
|
|
6
6
|
return ts(e, Wr);
|