wyfe-ivue 1.9.0 → 1.10.1
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-EPf4hFTl.js} +3 -3
- package/dist/{RecTableColumn-DokVurlf.js → RecTableColumn-A6WPkbYS.js} +2 -2
- package/dist/{RowForm-cAUvBTfu.js → RowForm-DyehW4XB.js} +120 -119
- package/dist/{Selection-OFLFQNcv.js → Selection-CU0WcnW8.js} +2 -2
- package/dist/{Span-DsJPZtSv.js → Span-Dt5bBZ4L.js} +1 -1
- package/dist/{el-radio-sOtVZezV.js → el-radio-BCWPD3ua.js} +1 -1
- package/dist/{index-B4Tr1Z04.js → index-CbICvRRu.js} +2578 -2508
- package/dist/index.es.js +10 -9
- package/dist/index.umd.cjs +19 -19
- package/dist/types/index.d.ts +83 -31
- package/dist/{useFormHook-Ci_Gj-p9.js → useFormHook-CW3qhyoo.js} +2 -2
- package/dist/wyfe-ivue.css +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { FormValidateCallback } from 'element-plus';
|
|
|
21
21
|
import { FormValidationResult } from 'element-plus';
|
|
22
22
|
import { GlobalComponents } from 'vue';
|
|
23
23
|
import { GlobalDirectives } from 'vue';
|
|
24
|
+
import { iVueUtils } from '../utils/iVueUtils.ts';
|
|
24
25
|
import { nextTick } from 'vue';
|
|
25
26
|
import { OnCleanup } from '@vue/reactivity';
|
|
26
27
|
import { PropType } from 'vue';
|
|
@@ -29,19 +30,49 @@ import { Ref } from 'vue';
|
|
|
29
30
|
import { ShallowUnwrapRef } from 'vue';
|
|
30
31
|
import { Slot } from 'vue';
|
|
31
32
|
import { TransitionProps } from 'vue';
|
|
32
|
-
import { default as UtilClass } from '../utils/UtilClass.ts';
|
|
33
33
|
import { VNode } from 'vue';
|
|
34
34
|
import { VNodeProps } from 'vue';
|
|
35
35
|
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 {
|
|
@@ -2291,6 +2340,7 @@ declare interface IRadioConfig {
|
|
|
2291
2340
|
label: string;
|
|
2292
2341
|
value: string | number;
|
|
2293
2342
|
}>;
|
|
2343
|
+
disabled?: Boolean;
|
|
2294
2344
|
onChange?: (...args: any) => any;
|
|
2295
2345
|
}
|
|
2296
2346
|
|
|
@@ -2318,6 +2368,10 @@ declare interface ITableColumn {
|
|
|
2318
2368
|
};
|
|
2319
2369
|
}
|
|
2320
2370
|
|
|
2371
|
+
export { iVueUtils }
|
|
2372
|
+
|
|
2373
|
+
export declare const UseCrudTable: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2374
|
+
|
|
2321
2375
|
export declare const UseElButton: DefineComponent<ExtractPropTypes< {
|
|
2322
2376
|
btnText: {
|
|
2323
2377
|
type: StringConstructor;
|
|
@@ -2351,14 +2405,14 @@ default: () => {};
|
|
|
2351
2405
|
}>> & Readonly<{
|
|
2352
2406
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
2353
2407
|
}>, {
|
|
2408
|
+
extConfig: Record<string, any>;
|
|
2354
2409
|
type: string;
|
|
2355
2410
|
btnText: string;
|
|
2356
|
-
extConfig: Record<string, any>;
|
|
2357
2411
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2358
2412
|
|
|
2359
2413
|
export declare const UseElCheckbox: DefineComponent<ExtractPropTypes< {
|
|
2360
2414
|
modelValue: {
|
|
2361
|
-
type: (
|
|
2415
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2362
2416
|
default: () => never[];
|
|
2363
2417
|
};
|
|
2364
2418
|
data: any;
|
|
@@ -2385,7 +2439,7 @@ default: boolean;
|
|
|
2385
2439
|
"update:modelValue": (...args: any[]) => void;
|
|
2386
2440
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2387
2441
|
modelValue: {
|
|
2388
|
-
type: (
|
|
2442
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2389
2443
|
default: () => never[];
|
|
2390
2444
|
};
|
|
2391
2445
|
data: any;
|
|
@@ -2419,9 +2473,9 @@ vertical: boolean;
|
|
|
2419
2473
|
isJoin: boolean;
|
|
2420
2474
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2421
2475
|
|
|
2422
|
-
export declare const UseElDrawer:
|
|
2476
|
+
export declare const UseElDrawer: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2423
2477
|
|
|
2424
|
-
export declare const UseElForm:
|
|
2478
|
+
export declare const UseElForm: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2425
2479
|
|
|
2426
2480
|
export declare const UseElInput: DefineComponent<ExtractPropTypes< {
|
|
2427
2481
|
modelValue: {
|
|
@@ -2441,23 +2495,23 @@ type: BooleanConstructor;
|
|
|
2441
2495
|
default: boolean;
|
|
2442
2496
|
};
|
|
2443
2497
|
prefixContent: {
|
|
2444
|
-
type: (
|
|
2498
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2445
2499
|
default: string;
|
|
2446
2500
|
};
|
|
2447
2501
|
suffixContent: {
|
|
2448
|
-
type: (
|
|
2502
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2449
2503
|
default: string;
|
|
2450
2504
|
};
|
|
2451
2505
|
prependContent: {
|
|
2452
|
-
type: (
|
|
2506
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2453
2507
|
default: string;
|
|
2454
2508
|
};
|
|
2455
2509
|
appendContent: {
|
|
2456
|
-
type: (
|
|
2510
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2457
2511
|
default: string;
|
|
2458
2512
|
};
|
|
2459
2513
|
unit: {
|
|
2460
|
-
type: (
|
|
2514
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2461
2515
|
default: string;
|
|
2462
2516
|
};
|
|
2463
2517
|
resize: {
|
|
@@ -2488,23 +2542,23 @@ type: BooleanConstructor;
|
|
|
2488
2542
|
default: boolean;
|
|
2489
2543
|
};
|
|
2490
2544
|
prefixContent: {
|
|
2491
|
-
type: (
|
|
2545
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2492
2546
|
default: string;
|
|
2493
2547
|
};
|
|
2494
2548
|
suffixContent: {
|
|
2495
|
-
type: (
|
|
2549
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2496
2550
|
default: string;
|
|
2497
2551
|
};
|
|
2498
2552
|
prependContent: {
|
|
2499
|
-
type: (
|
|
2553
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2500
2554
|
default: string;
|
|
2501
2555
|
};
|
|
2502
2556
|
appendContent: {
|
|
2503
|
-
type: (
|
|
2557
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2504
2558
|
default: string;
|
|
2505
2559
|
};
|
|
2506
2560
|
unit: {
|
|
2507
|
-
type: (
|
|
2561
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
2508
2562
|
default: string;
|
|
2509
2563
|
};
|
|
2510
2564
|
resize: {
|
|
@@ -2533,7 +2587,7 @@ placeholder: string;
|
|
|
2533
2587
|
|
|
2534
2588
|
export declare const UseElSelect: DefineComponent<ExtractPropTypes< {
|
|
2535
2589
|
modelValue: {
|
|
2536
|
-
type: (
|
|
2590
|
+
type: (NumberConstructor | ArrayConstructor | StringConstructor)[];
|
|
2537
2591
|
default: string;
|
|
2538
2592
|
};
|
|
2539
2593
|
options: any;
|
|
@@ -2557,7 +2611,7 @@ value: string;
|
|
|
2557
2611
|
"update:label": (...args: any[]) => void;
|
|
2558
2612
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2559
2613
|
modelValue: {
|
|
2560
|
-
type: (
|
|
2614
|
+
type: (NumberConstructor | ArrayConstructor | StringConstructor)[];
|
|
2561
2615
|
default: string;
|
|
2562
2616
|
};
|
|
2563
2617
|
options: any;
|
|
@@ -2587,7 +2641,7 @@ placeholder: string;
|
|
|
2587
2641
|
options: any;
|
|
2588
2642
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2589
2643
|
|
|
2590
|
-
export declare const UseElTable:
|
|
2644
|
+
export declare const UseElTable: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2591
2645
|
|
|
2592
2646
|
export declare const UseRender: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2593
2647
|
|
|
@@ -2597,12 +2651,12 @@ type: StringConstructor;
|
|
|
2597
2651
|
required: boolean;
|
|
2598
2652
|
};
|
|
2599
2653
|
size: {
|
|
2600
|
-
type: (
|
|
2654
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
2601
2655
|
default: number;
|
|
2602
2656
|
validator(val: any): any;
|
|
2603
2657
|
};
|
|
2604
2658
|
color: {
|
|
2605
|
-
type: (
|
|
2659
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2606
2660
|
validator(val: any): any;
|
|
2607
2661
|
};
|
|
2608
2662
|
margin: {
|
|
@@ -2621,12 +2675,12 @@ type: StringConstructor;
|
|
|
2621
2675
|
required: boolean;
|
|
2622
2676
|
};
|
|
2623
2677
|
size: {
|
|
2624
|
-
type: (
|
|
2678
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
2625
2679
|
default: number;
|
|
2626
2680
|
validator(val: any): any;
|
|
2627
2681
|
};
|
|
2628
2682
|
color: {
|
|
2629
|
-
type: (
|
|
2683
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2630
2684
|
validator(val: any): any;
|
|
2631
2685
|
};
|
|
2632
2686
|
margin: {
|
|
@@ -2644,6 +2698,4 @@ size: string | number;
|
|
|
2644
2698
|
clickable: boolean;
|
|
2645
2699
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2646
2700
|
|
|
2647
|
-
export { UtilClass }
|
|
2648
|
-
|
|
2649
2701
|
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-CbICvRRu.js";
|
|
3
|
+
import { a as qr } from "./el-radio-BCWPD3ua.js";
|
|
4
4
|
var Wr = 4;
|
|
5
5
|
function wl(e) {
|
|
6
6
|
return ts(e, Wr);
|