prlg-ui 1.7.71 → 1.7.73
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/{Image-2-mgHdPj.js → Image-BsSn6o0I.js} +1 -1
- package/dist/{Image-CqM7NFLO.cjs → Image-CjfBGj9v.cjs} +1 -1
- package/dist/blocks/index.cjs.js +1 -1
- package/dist/blocks/index.es.js +3 -3
- package/dist/index.d.ts +178 -116
- package/dist/{parseFileSize.util-BTDZr2sf.cjs → parseFileSize.util-7Ku5i6Tm.cjs} +1 -1
- package/dist/{parseFileSize.util-BoDbFdVW.js → parseFileSize.util-DOIlswb-.js} +1 -1
- package/dist/prlg-ui.cjs.js +1 -1
- package/dist/prlg-ui.css +1 -1
- package/dist/prlg-ui.es.js +1948 -2514
- package/dist/uploadFile.util-68_41dVg.cjs +1 -0
- package/dist/{uploadFile.util-CorOn5lO.js → uploadFile.util-DjmeAGuX.js} +79 -79
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.es.js +2 -2
- package/dist/utils/parseFileSize.util.ts +1 -1
- package/package.json +2 -7
- package/dist/uploadFile.util-Du5cumgy.cjs +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -35,13 +35,7 @@ import { WritableComputedRef } from 'vue';
|
|
|
35
35
|
|
|
36
36
|
declare const __VLS_component: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
|
|
38
|
-
declare const __VLS_component_10: DefineComponent<
|
|
39
|
-
remove: () => any;
|
|
40
|
-
}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
|
|
41
|
-
onRemove?: (() => any) | undefined;
|
|
42
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
|
-
|
|
44
|
-
declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_13, {
|
|
38
|
+
declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_13, {
|
|
45
39
|
isOpen: ModelRef<boolean | undefined, string, boolean | undefined, boolean | undefined>;
|
|
46
40
|
open: () => void;
|
|
47
41
|
close: () => void;
|
|
@@ -54,13 +48,13 @@ onClose?: (() => any) | undefined;
|
|
|
54
48
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
55
49
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
56
50
|
|
|
57
|
-
declare const
|
|
51
|
+
declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
58
52
|
"update:open": (value: boolean) => any;
|
|
59
53
|
}, string, PublicProps, Readonly<__VLS_PublicProps_14> & Readonly<{
|
|
60
54
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
61
55
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
62
56
|
|
|
63
|
-
declare const
|
|
57
|
+
declare const __VLS_component_12: DefineComponent<ExtractPropTypes< {
|
|
64
58
|
placement: {
|
|
65
59
|
type: PropType<Placement>;
|
|
66
60
|
default: string;
|
|
@@ -132,24 +126,26 @@ floating: HTMLDivElement;
|
|
|
132
126
|
'second-screen': HTMLDivElement;
|
|
133
127
|
}, HTMLDivElement>;
|
|
134
128
|
|
|
135
|
-
declare const
|
|
129
|
+
declare const __VLS_component_13: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
136
130
|
|
|
137
|
-
declare const
|
|
131
|
+
declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
138
132
|
contentRef: HTMLDivElement;
|
|
139
133
|
}, HTMLDivElement>;
|
|
140
134
|
|
|
141
|
-
declare const
|
|
135
|
+
declare const __VLS_component_15: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
142
136
|
|
|
143
|
-
declare const
|
|
137
|
+
declare const __VLS_component_16: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
144
138
|
|
|
145
|
-
declare const
|
|
139
|
+
declare const __VLS_component_17: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
146
140
|
|
|
147
|
-
declare const
|
|
141
|
+
declare const __VLS_component_18: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
148
142
|
"update:value": (value: string | number) => any;
|
|
149
143
|
}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
|
|
150
144
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
151
145
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
152
146
|
|
|
147
|
+
declare const __VLS_component_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
148
|
+
|
|
153
149
|
declare const __VLS_component_2: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
154
150
|
"update:currentPage": (value: number) => any;
|
|
155
151
|
"update:perPage": (value: number) => any;
|
|
@@ -167,34 +163,55 @@ index: number;
|
|
|
167
163
|
"onUpdate:currentPage"?: ((value: number) => any) | undefined;
|
|
168
164
|
"onUpdate:perPage"?: ((value: number) => any) | undefined;
|
|
169
165
|
"onUpdate:selectedRows"?: ((value: DataItem | DataItem[]) => any) | undefined;
|
|
170
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
166
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
167
|
+
tableBodyRef: CreateComponentPublicInstanceWithMixins<Readonly<TableBodyProps> & Readonly<{
|
|
168
|
+
onToggleRow?: ((value: DataItem) => any) | undefined;
|
|
169
|
+
onToggleGroup?: ((value: string) => any) | undefined;
|
|
170
|
+
onRowClickHandler?: ((value: {
|
|
171
|
+
data: DataItem;
|
|
172
|
+
index: number;
|
|
173
|
+
}) => any) | undefined;
|
|
174
|
+
}>, {
|
|
175
|
+
handleScroll: (scrollElement?: HTMLElement) => void;
|
|
176
|
+
updateContainerHeight: (scrollContainer?: HTMLElement) => void;
|
|
177
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
178
|
+
toggleRow: (value: DataItem) => any;
|
|
179
|
+
toggleGroup: (value: string) => any;
|
|
180
|
+
rowClickHandler: (value: {
|
|
181
|
+
data: DataItem;
|
|
182
|
+
index: number;
|
|
183
|
+
}) => any;
|
|
184
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
185
|
+
virtualScrollBody: HTMLTableSectionElement;
|
|
186
|
+
}, any, ComponentProvideOptions, {
|
|
187
|
+
P: {};
|
|
188
|
+
B: {};
|
|
189
|
+
D: {};
|
|
190
|
+
C: {};
|
|
191
|
+
M: {};
|
|
192
|
+
Defaults: {};
|
|
193
|
+
}, Readonly<TableBodyProps> & Readonly<{
|
|
194
|
+
onToggleRow?: ((value: DataItem) => any) | undefined;
|
|
195
|
+
onToggleGroup?: ((value: string) => any) | undefined;
|
|
196
|
+
onRowClickHandler?: ((value: {
|
|
197
|
+
data: DataItem;
|
|
198
|
+
index: number;
|
|
199
|
+
}) => any) | undefined;
|
|
200
|
+
}>, {
|
|
201
|
+
handleScroll: (scrollElement?: HTMLElement) => void;
|
|
202
|
+
updateContainerHeight: (scrollContainer?: HTMLElement) => void;
|
|
203
|
+
}, {}, {}, {}, {}> | null;
|
|
204
|
+
}, any>;
|
|
171
205
|
|
|
172
206
|
declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
173
207
|
|
|
174
|
-
declare const __VLS_component_21: DefineComponent<
|
|
175
|
-
|
|
176
|
-
declare const __VLS_component_22: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
208
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
177
209
|
|
|
178
|
-
declare const
|
|
210
|
+
declare const __VLS_component_22: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
179
211
|
|
|
180
212
|
declare const __VLS_component_3: DefineComponent<ColumnProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ColumnProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
181
213
|
|
|
182
|
-
declare const __VLS_component_4: DefineComponent<
|
|
183
|
-
scrollToIndex: (index: number) => Promise<void>;
|
|
184
|
-
scrollToTop: () => void;
|
|
185
|
-
scrollToBottom: () => void;
|
|
186
|
-
updateItemHeights: () => Promise<void>;
|
|
187
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
188
|
-
gap: number;
|
|
189
|
-
estimatedItemHeight: number;
|
|
190
|
-
buffer: number;
|
|
191
|
-
keyField: string;
|
|
192
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
193
|
-
containerRef: HTMLDivElement;
|
|
194
|
-
itemRefs: HTMLDivElement[];
|
|
195
|
-
}, HTMLDivElement>;
|
|
196
|
-
|
|
197
|
-
declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
214
|
+
declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
198
215
|
"update:modelValue": (value: any) => any;
|
|
199
216
|
} & {
|
|
200
217
|
change: (value?: string | number | object | undefined) => any;
|
|
@@ -203,7 +220,7 @@ onChange?: ((value?: string | number | object | undefined) => any) | undefined;
|
|
|
203
220
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
204
221
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
205
222
|
|
|
206
|
-
declare const
|
|
223
|
+
declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
207
224
|
"update:modelValue": (value: any) => any;
|
|
208
225
|
} & {
|
|
209
226
|
change: (value?: string | undefined) => any;
|
|
@@ -212,9 +229,9 @@ onChange?: ((value?: string | undefined) => any) | undefined;
|
|
|
212
229
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
213
230
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
214
231
|
|
|
215
|
-
declare const
|
|
232
|
+
declare const __VLS_component_6: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
216
233
|
|
|
217
|
-
declare const
|
|
234
|
+
declare const __VLS_component_7: DefineComponent<ExtractPropTypes< {
|
|
218
235
|
type: {
|
|
219
236
|
type: PropType<"error" | "warning" | "info">;
|
|
220
237
|
default: string;
|
|
@@ -233,7 +250,13 @@ outlined: boolean;
|
|
|
233
250
|
type: "error" | "info" | "warning";
|
|
234
251
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
235
252
|
|
|
236
|
-
declare const
|
|
253
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
254
|
+
|
|
255
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
256
|
+
remove: () => any;
|
|
257
|
+
}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
|
|
258
|
+
onRemove?: (() => any) | undefined;
|
|
259
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
237
260
|
|
|
238
261
|
declare type __VLS_Props = {
|
|
239
262
|
items: MenuItem[];
|
|
@@ -412,7 +435,7 @@ declare type __VLS_Props_8 = {
|
|
|
412
435
|
formatter?: (value: number) => number;
|
|
413
436
|
};
|
|
414
437
|
|
|
415
|
-
declare type __VLS_Props_9 =
|
|
438
|
+
declare type __VLS_Props_9 = Props;
|
|
416
439
|
|
|
417
440
|
declare type __VLS_PublicProps = {
|
|
418
441
|
'currentPage'?: number;
|
|
@@ -482,15 +505,6 @@ declare function __VLS_template(): {
|
|
|
482
505
|
};
|
|
483
506
|
|
|
484
507
|
declare function __VLS_template_10(): {
|
|
485
|
-
attrs: Partial<{}>;
|
|
486
|
-
slots: {
|
|
487
|
-
default?(_: {}): any;
|
|
488
|
-
};
|
|
489
|
-
refs: {};
|
|
490
|
-
rootEl: HTMLDivElement;
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
declare function __VLS_template_11(): {
|
|
494
508
|
attrs: Partial<{}>;
|
|
495
509
|
slots: {
|
|
496
510
|
default?(_: {}): any;
|
|
@@ -499,7 +513,7 @@ declare function __VLS_template_11(): {
|
|
|
499
513
|
rootEl: any;
|
|
500
514
|
};
|
|
501
515
|
|
|
502
|
-
declare function
|
|
516
|
+
declare function __VLS_template_11(): {
|
|
503
517
|
attrs: Partial<{}>;
|
|
504
518
|
slots: Readonly<{
|
|
505
519
|
default(scope: {
|
|
@@ -516,7 +530,7 @@ declare function __VLS_template_12(): {
|
|
|
516
530
|
rootEl: any;
|
|
517
531
|
};
|
|
518
532
|
|
|
519
|
-
declare function
|
|
533
|
+
declare function __VLS_template_12(): {
|
|
520
534
|
attrs: Partial<{}>;
|
|
521
535
|
slots: {
|
|
522
536
|
trigger?(_: {}): any;
|
|
@@ -543,7 +557,7 @@ declare function __VLS_template_13(): {
|
|
|
543
557
|
rootEl: HTMLDivElement;
|
|
544
558
|
};
|
|
545
559
|
|
|
546
|
-
declare function
|
|
560
|
+
declare function __VLS_template_13(): {
|
|
547
561
|
attrs: Partial<{}>;
|
|
548
562
|
slots: {
|
|
549
563
|
default?(_: {}): any;
|
|
@@ -552,7 +566,7 @@ declare function __VLS_template_14(): {
|
|
|
552
566
|
rootEl: HTMLDivElement;
|
|
553
567
|
};
|
|
554
568
|
|
|
555
|
-
declare function
|
|
569
|
+
declare function __VLS_template_14(): {
|
|
556
570
|
attrs: Partial<{}>;
|
|
557
571
|
slots: {
|
|
558
572
|
default?(_: {}): any;
|
|
@@ -563,7 +577,7 @@ declare function __VLS_template_15(): {
|
|
|
563
577
|
rootEl: HTMLDivElement;
|
|
564
578
|
};
|
|
565
579
|
|
|
566
|
-
declare function
|
|
580
|
+
declare function __VLS_template_15(): {
|
|
567
581
|
attrs: Partial<{}>;
|
|
568
582
|
slots: {
|
|
569
583
|
default?(_: {}): any;
|
|
@@ -572,6 +586,15 @@ declare function __VLS_template_16(): {
|
|
|
572
586
|
rootEl: HTMLButtonElement;
|
|
573
587
|
};
|
|
574
588
|
|
|
589
|
+
declare function __VLS_template_16(): {
|
|
590
|
+
attrs: Partial<{}>;
|
|
591
|
+
slots: {
|
|
592
|
+
default?(_: {}): any;
|
|
593
|
+
};
|
|
594
|
+
refs: {};
|
|
595
|
+
rootEl: HTMLDivElement;
|
|
596
|
+
};
|
|
597
|
+
|
|
575
598
|
declare function __VLS_template_17(): {
|
|
576
599
|
attrs: Partial<{}>;
|
|
577
600
|
slots: {
|
|
@@ -602,8 +625,46 @@ declare function __VLS_template_19(): {
|
|
|
602
625
|
declare function __VLS_template_2(): {
|
|
603
626
|
attrs: Partial<{}>;
|
|
604
627
|
slots: Readonly<TableSlots> & TableSlots;
|
|
605
|
-
refs: {
|
|
606
|
-
|
|
628
|
+
refs: {
|
|
629
|
+
tableBodyRef: CreateComponentPublicInstanceWithMixins<Readonly<TableBodyProps> & Readonly<{
|
|
630
|
+
onToggleRow?: ((value: DataItem) => any) | undefined;
|
|
631
|
+
onToggleGroup?: ((value: string) => any) | undefined;
|
|
632
|
+
onRowClickHandler?: ((value: {
|
|
633
|
+
data: DataItem;
|
|
634
|
+
index: number;
|
|
635
|
+
}) => any) | undefined;
|
|
636
|
+
}>, {
|
|
637
|
+
handleScroll: (scrollElement?: HTMLElement) => void;
|
|
638
|
+
updateContainerHeight: (scrollContainer?: HTMLElement) => void;
|
|
639
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
640
|
+
toggleRow: (value: DataItem) => any;
|
|
641
|
+
toggleGroup: (value: string) => any;
|
|
642
|
+
rowClickHandler: (value: {
|
|
643
|
+
data: DataItem;
|
|
644
|
+
index: number;
|
|
645
|
+
}) => any;
|
|
646
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
647
|
+
virtualScrollBody: HTMLTableSectionElement;
|
|
648
|
+
}, any, ComponentProvideOptions, {
|
|
649
|
+
P: {};
|
|
650
|
+
B: {};
|
|
651
|
+
D: {};
|
|
652
|
+
C: {};
|
|
653
|
+
M: {};
|
|
654
|
+
Defaults: {};
|
|
655
|
+
}, Readonly<TableBodyProps> & Readonly<{
|
|
656
|
+
onToggleRow?: ((value: DataItem) => any) | undefined;
|
|
657
|
+
onToggleGroup?: ((value: string) => any) | undefined;
|
|
658
|
+
onRowClickHandler?: ((value: {
|
|
659
|
+
data: DataItem;
|
|
660
|
+
index: number;
|
|
661
|
+
}) => any) | undefined;
|
|
662
|
+
}>, {
|
|
663
|
+
handleScroll: (scrollElement?: HTMLElement) => void;
|
|
664
|
+
updateContainerHeight: (scrollContainer?: HTMLElement) => void;
|
|
665
|
+
}, {}, {}, {}, {}> | null;
|
|
666
|
+
};
|
|
667
|
+
rootEl: any;
|
|
607
668
|
};
|
|
608
669
|
|
|
609
670
|
declare function __VLS_template_20(): {
|
|
@@ -616,15 +677,6 @@ declare function __VLS_template_20(): {
|
|
|
616
677
|
};
|
|
617
678
|
|
|
618
679
|
declare function __VLS_template_21(): {
|
|
619
|
-
attrs: Partial<{}>;
|
|
620
|
-
slots: {
|
|
621
|
-
default?(_: {}): any;
|
|
622
|
-
};
|
|
623
|
-
refs: {};
|
|
624
|
-
rootEl: HTMLDivElement;
|
|
625
|
-
};
|
|
626
|
-
|
|
627
|
-
declare function __VLS_template_22(): {
|
|
628
680
|
attrs: Partial<{}>;
|
|
629
681
|
slots: {
|
|
630
682
|
default?(_: {}): any;
|
|
@@ -633,7 +685,7 @@ declare function __VLS_template_22(): {
|
|
|
633
685
|
rootEl: HTMLButtonElement;
|
|
634
686
|
};
|
|
635
687
|
|
|
636
|
-
declare function
|
|
688
|
+
declare function __VLS_template_22(): {
|
|
637
689
|
attrs: Partial<{}>;
|
|
638
690
|
slots: {
|
|
639
691
|
default?(_: {}): any;
|
|
@@ -652,25 +704,19 @@ declare function __VLS_template_3(): {
|
|
|
652
704
|
declare function __VLS_template_4(): {
|
|
653
705
|
attrs: Partial<{}>;
|
|
654
706
|
slots: {
|
|
655
|
-
|
|
656
|
-
item: any;
|
|
657
|
-
index: number;
|
|
658
|
-
}): any;
|
|
659
|
-
};
|
|
660
|
-
refs: {
|
|
661
|
-
containerRef: HTMLDivElement;
|
|
662
|
-
itemRefs: HTMLDivElement[];
|
|
707
|
+
label?(_: {}): any;
|
|
663
708
|
};
|
|
664
|
-
|
|
709
|
+
refs: {};
|
|
710
|
+
rootEl: HTMLLabelElement;
|
|
665
711
|
};
|
|
666
712
|
|
|
667
713
|
declare function __VLS_template_5(): {
|
|
668
714
|
attrs: Partial<{}>;
|
|
669
715
|
slots: {
|
|
670
|
-
|
|
716
|
+
default?(_: {}): any;
|
|
671
717
|
};
|
|
672
718
|
refs: {};
|
|
673
|
-
rootEl:
|
|
719
|
+
rootEl: HTMLDivElement;
|
|
674
720
|
};
|
|
675
721
|
|
|
676
722
|
declare function __VLS_template_6(): {
|
|
@@ -739,8 +785,6 @@ declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
|
|
|
739
785
|
|
|
740
786
|
declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
|
|
741
787
|
|
|
742
|
-
declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
|
|
743
|
-
|
|
744
788
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
745
789
|
|
|
746
790
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -845,12 +889,6 @@ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
|
|
|
845
889
|
};
|
|
846
890
|
};
|
|
847
891
|
|
|
848
|
-
declare type __VLS_WithTemplateSlots_23<T, S> = T & {
|
|
849
|
-
new (): {
|
|
850
|
-
$slots: S;
|
|
851
|
-
};
|
|
852
|
-
};
|
|
853
|
-
|
|
854
892
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
855
893
|
new (): {
|
|
856
894
|
$slots: S;
|
|
@@ -893,13 +931,13 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
893
931
|
};
|
|
894
932
|
};
|
|
895
933
|
|
|
896
|
-
export declare const Accordion:
|
|
934
|
+
export declare const Accordion: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
897
935
|
|
|
898
|
-
export declare const AccordionContent:
|
|
936
|
+
export declare const AccordionContent: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
899
937
|
|
|
900
|
-
export declare const AccordionHeader:
|
|
938
|
+
export declare const AccordionHeader: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
901
939
|
|
|
902
|
-
export declare const AccordionPanel:
|
|
940
|
+
export declare const AccordionPanel: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
903
941
|
|
|
904
942
|
export declare const Badge: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
905
943
|
|
|
@@ -921,7 +959,7 @@ declare type ButtonProps = {
|
|
|
921
959
|
full?: boolean;
|
|
922
960
|
};
|
|
923
961
|
|
|
924
|
-
export declare const Checkbox:
|
|
962
|
+
export declare const Checkbox: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
925
963
|
|
|
926
964
|
export declare const ChipCheckbox: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
927
965
|
"update:modelValue": (value: any) => any;
|
|
@@ -929,6 +967,14 @@ export declare const ChipCheckbox: DefineComponent<__VLS_PublicProps_4, {}, {},
|
|
|
929
967
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
930
968
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
931
969
|
|
|
970
|
+
declare type CollapsedGroups = {
|
|
971
|
+
has: (value: string) => boolean;
|
|
972
|
+
add: (value: string) => CollapsedGroups;
|
|
973
|
+
delete: (value: string) => boolean;
|
|
974
|
+
clear: () => void;
|
|
975
|
+
size: number;
|
|
976
|
+
};
|
|
977
|
+
|
|
932
978
|
export declare const Column: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
933
979
|
|
|
934
980
|
declare type Column_2 = {
|
|
@@ -1032,9 +1078,9 @@ declare type DataItem = Record<string, any>;
|
|
|
1032
1078
|
|
|
1033
1079
|
export declare const DataTable: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1034
1080
|
|
|
1035
|
-
export declare const Divider:
|
|
1081
|
+
export declare const Divider: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1036
1082
|
|
|
1037
|
-
export declare const Drawer:
|
|
1083
|
+
export declare const Drawer: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1038
1084
|
|
|
1039
1085
|
declare type DrawerProps = {
|
|
1040
1086
|
position?: 'left' | 'right' | 'bottom' | 'top';
|
|
@@ -1066,7 +1112,7 @@ onRemove?: ((file: IFile) => any) | undefined;
|
|
|
1066
1112
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1067
1113
|
export { File_2 as File }
|
|
1068
1114
|
|
|
1069
|
-
export declare const IconField:
|
|
1115
|
+
export declare const IconField: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1070
1116
|
|
|
1071
1117
|
declare interface IFile {
|
|
1072
1118
|
id: string;
|
|
@@ -1172,9 +1218,9 @@ declare type MenuItem = {
|
|
|
1172
1218
|
disabled?: boolean;
|
|
1173
1219
|
};
|
|
1174
1220
|
|
|
1175
|
-
export declare const Message:
|
|
1221
|
+
export declare const Message: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1176
1222
|
|
|
1177
|
-
export declare const Modal:
|
|
1223
|
+
export declare const Modal: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1178
1224
|
|
|
1179
1225
|
declare type OffsetValue = number | {
|
|
1180
1226
|
/**
|
|
@@ -1191,7 +1237,7 @@ declare type OffsetValue = number | {
|
|
|
1191
1237
|
alignmentAxis?: number | null;
|
|
1192
1238
|
};
|
|
1193
1239
|
|
|
1194
|
-
export declare const OverlayBadge:
|
|
1240
|
+
export declare const OverlayBadge: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1195
1241
|
|
|
1196
1242
|
export declare const Paginator: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1197
1243
|
"update:currentPage": (value: number) => any;
|
|
@@ -1208,21 +1254,13 @@ declare interface PaginatorProps {
|
|
|
1208
1254
|
perPageOptions?: number[];
|
|
1209
1255
|
}
|
|
1210
1256
|
|
|
1211
|
-
export declare const Popover:
|
|
1257
|
+
export declare const Popover: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1212
1258
|
|
|
1213
1259
|
declare type PopoverCloseMode = 'outside' | 'button-only';
|
|
1214
1260
|
|
|
1215
1261
|
declare type Position = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
|
|
1216
1262
|
|
|
1217
1263
|
declare interface Props {
|
|
1218
|
-
items: any[];
|
|
1219
|
-
gap?: number;
|
|
1220
|
-
estimatedItemHeight?: number;
|
|
1221
|
-
buffer?: number;
|
|
1222
|
-
keyField?: string;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
declare interface Props_2 {
|
|
1226
1264
|
mask: string;
|
|
1227
1265
|
error?: boolean;
|
|
1228
1266
|
errorText?: string;
|
|
@@ -1232,7 +1270,7 @@ declare interface Props_2 {
|
|
|
1232
1270
|
definitions?: Record<string, RegExp>;
|
|
1233
1271
|
}
|
|
1234
1272
|
|
|
1235
|
-
export declare const Radio:
|
|
1273
|
+
export declare const Radio: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1236
1274
|
|
|
1237
1275
|
export declare const SelectButton: DefineComponent<__VLS_PublicProps_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1238
1276
|
"update:modelValue": (value: any) => any;
|
|
@@ -1343,7 +1381,26 @@ export declare const Switch: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {
|
|
|
1343
1381
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1344
1382
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1345
1383
|
|
|
1346
|
-
export declare const Tab:
|
|
1384
|
+
export declare const Tab: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1385
|
+
|
|
1386
|
+
declare interface TableBodyProps {
|
|
1387
|
+
columns: Column_2[];
|
|
1388
|
+
data: DataItem[];
|
|
1389
|
+
selectedRows: DataItem[] | DataItem;
|
|
1390
|
+
size: TableSize;
|
|
1391
|
+
rowGroupMode: TableRowGroupMode | undefined;
|
|
1392
|
+
groupRowsBy: string | undefined;
|
|
1393
|
+
collapsedGroups: CollapsedGroups;
|
|
1394
|
+
colorHovered: boolean;
|
|
1395
|
+
scroller?: {
|
|
1396
|
+
enable: boolean;
|
|
1397
|
+
height: number;
|
|
1398
|
+
} | undefined;
|
|
1399
|
+
virtualScroll?: {
|
|
1400
|
+
enable: boolean;
|
|
1401
|
+
itemHeight: number;
|
|
1402
|
+
} | undefined;
|
|
1403
|
+
}
|
|
1347
1404
|
|
|
1348
1405
|
declare type TableProps = {
|
|
1349
1406
|
/** Тема */
|
|
@@ -1376,7 +1433,14 @@ declare type TableProps = {
|
|
|
1376
1433
|
scroller?: {
|
|
1377
1434
|
enable: boolean;
|
|
1378
1435
|
height: number;
|
|
1379
|
-
};
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
/** Виртуальный скролл */
|
|
1438
|
+
virtualScroll?: {
|
|
1439
|
+
enable: boolean;
|
|
1440
|
+
itemHeight: number;
|
|
1441
|
+
} | undefined;
|
|
1442
|
+
/** Максимальная высота таблицы для скролла */
|
|
1443
|
+
maxHeight?: string | number | undefined;
|
|
1380
1444
|
};
|
|
1381
1445
|
|
|
1382
1446
|
declare type TableRowGroupMode = 'rowspan' | 'subheader';
|
|
@@ -1387,15 +1451,15 @@ declare type TableSlots = {
|
|
|
1387
1451
|
default(): any;
|
|
1388
1452
|
};
|
|
1389
1453
|
|
|
1390
|
-
export declare const TabList:
|
|
1454
|
+
export declare const TabList: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1391
1455
|
|
|
1392
|
-
export declare const TabPanel:
|
|
1456
|
+
export declare const TabPanel: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1393
1457
|
|
|
1394
|
-
export declare const TabPanels:
|
|
1458
|
+
export declare const TabPanels: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1395
1459
|
|
|
1396
|
-
export declare const Tabs:
|
|
1460
|
+
export declare const Tabs: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1397
1461
|
|
|
1398
|
-
export declare const Tag:
|
|
1462
|
+
export declare const Tag: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1399
1463
|
|
|
1400
1464
|
export declare const Textarea: DefineComponent<__VLS_PublicProps_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1401
1465
|
"update:modelValue": (value: string) => any;
|
|
@@ -1545,8 +1609,6 @@ export declare const useConfirmPopup: () => ConfirmPopupService;
|
|
|
1545
1609
|
|
|
1546
1610
|
export declare function useToast(): ToastServiceMethods;
|
|
1547
1611
|
|
|
1548
|
-
export declare const VirtualScroller: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1549
|
-
|
|
1550
1612
|
export { }
|
|
1551
1613
|
|
|
1552
1614
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const d=require("vue"),s=new WeakMap;function f(t){const n=d.unref(t);return n?.$el??n}function p(t){return typeof t=="string"?document.querySelector(t):f(t)}function g(t,n,r={}){const e=p(t);if(!e)return()=>{};const u=s.get(e);u&&(u(),s.delete(e));const i=c=>{const a=c.target instanceof Node?c.target:null;if(!a)return;const m=(d.toValue(r.ignore)??[]).map(o=>typeof o=="string"?document.querySelector(o):f(o)).filter(o=>o!=null);e.contains(a)||m.some(o=>o.contains(a))||n(c)};document.addEventListener("mousedown",i,{capture:!0}),document.addEventListener("touchstart",i,{capture:!0});const l=()=>{document.removeEventListener("mousedown",i,{capture:!0}),document.removeEventListener("touchstart",i,{capture:!0}),s.delete(e)};return s.set(e,l),l}const v=t=>{const n=["b","kb","mb","gb","tb"],r=t.match(/[a-zA-Z]+/)?.[0]||"b",e=parseFloat(t.replace(r,"")),u=n.indexOf(r.toLowerCase());return e*Math.pow(1024,u)};function w(t){if(isNaN(t)||t<0)return"0 Б";const n=["Б","КБ","МБ","ГБ","ТБ"];let r=0,e=t;for(;e>=1024&&r<n.length-1;)e=e/1024,r++;return`${e%1===0?e:e.toFixed(
|
|
1
|
+
"use strict";const d=require("vue"),s=new WeakMap;function f(t){const n=d.unref(t);return n?.$el??n}function p(t){return typeof t=="string"?document.querySelector(t):f(t)}function g(t,n,r={}){const e=p(t);if(!e)return()=>{};const u=s.get(e);u&&(u(),s.delete(e));const i=c=>{const a=c.target instanceof Node?c.target:null;if(!a)return;const m=(d.toValue(r.ignore)??[]).map(o=>typeof o=="string"?document.querySelector(o):f(o)).filter(o=>o!=null);e.contains(a)||m.some(o=>o.contains(a))||n(c)};document.addEventListener("mousedown",i,{capture:!0}),document.addEventListener("touchstart",i,{capture:!0});const l=()=>{document.removeEventListener("mousedown",i,{capture:!0}),document.removeEventListener("touchstart",i,{capture:!0}),s.delete(e)};return s.set(e,l),l}const v=t=>{const n=["b","kb","mb","gb","tb"],r=t.match(/[a-zA-Z]+/)?.[0]||"b",e=parseFloat(t.replace(r,"")),u=n.indexOf(r.toLowerCase());return e*Math.pow(1024,u)};function w(t){if(isNaN(t)||t<0)return"0 Б";const n=["Б","КБ","МБ","ГБ","ТБ"];let r=0,e=t;for(;e>=1024&&r<n.length-1;)e=e/1024,r++;return`${e%1===0?e:e.toFixed(0)} ${n[r]}`}exports.formatFileSize=w;exports.onClickOutside=g;exports.parseFileSize=v;
|