@pequity/squirrel 6.0.14 → 6.1.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/cjs/chunks/p-action-bar.js +4 -4
- package/dist/cjs/chunks/p-btn.js +204 -0
- package/dist/cjs/chunks/p-select-btn.js +8 -8
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/p-btn.js +2 -169
- package/dist/es/chunks/p-action-bar.js +8 -8
- package/dist/es/chunks/p-btn.js +205 -0
- package/dist/es/chunks/p-select-btn.js +9 -9
- package/dist/es/index.js +62 -62
- package/dist/es/p-btn.js +2 -169
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +106 -46
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +27 -14
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +43 -12
- package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +1 -1
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +1 -1
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +15 -422
- package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +1 -3
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +13 -11
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +39 -14
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +2 -2
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +2 -2
- package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -2
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +17 -13
- package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -3
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +240 -22
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +77 -10
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +116 -14
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +37 -13
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +14 -418
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +61 -19
- package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +2 -2
- package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +23 -11
- package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +1 -1
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +1 -1
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +1 -1
- package/dist/squirrel/utils/inputClassesMixin.d.ts +1 -1
- package/package.json +25 -24
- package/squirrel/components/p-btn/p-btn.spec.js +229 -161
- package/squirrel/components/p-btn/p-btn.stories.js +32 -8
- package/squirrel/components/p-btn/p-btn.vue +106 -73
- package/squirrel/components/p-dropdown/p-dropdown.vue +0 -1
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +1 -1
- package/squirrel/components/p-select-btn/p-select-btn.spec.js +24 -5
- package/squirrel/components/p-select-btn/p-select-btn.stories.js +45 -4
- package/squirrel/components/p-select-btn/p-select-btn.vue +3 -3
|
@@ -1,231 +1,19 @@
|
|
|
1
1
|
import { type ModelValue, type Size } from '../p-select-list/p-select-list.types';
|
|
2
|
-
import { type PropType
|
|
2
|
+
import { type PropType } from 'vue';
|
|
3
3
|
type AnyValue = string | number | boolean | null | undefined | Record<string, unknown>;
|
|
4
4
|
type AnyObject = Record<string, AnyValue>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
itemTextSplit: string[];
|
|
17
|
-
}): unknown;
|
|
18
|
-
}> & {
|
|
19
|
-
'selected-item'(props: {
|
|
20
|
-
item: any;
|
|
21
|
-
}): unknown;
|
|
22
|
-
placeholder(): unknown;
|
|
23
|
-
'no-items'(): unknown;
|
|
24
|
-
item(props: {
|
|
25
|
-
item: any;
|
|
26
|
-
isItemSelected: boolean;
|
|
27
|
-
itemTextSplit: string[];
|
|
28
|
-
}): unknown;
|
|
29
|
-
};
|
|
30
|
-
refs: {
|
|
31
|
-
formControl: HTMLDivElement;
|
|
32
|
-
button: HTMLButtonElement;
|
|
33
|
-
actionsContainer: HTMLDivElement;
|
|
34
|
-
inputSearch: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
modelValue: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
size: {
|
|
40
|
-
type: PropType<import("..").Size>;
|
|
41
|
-
default: string;
|
|
42
|
-
validator(value: import("..").Size): boolean;
|
|
43
|
-
};
|
|
44
|
-
showEnterIcon: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
}>> & Readonly<{
|
|
49
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onEnter?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
}>, {}, {
|
|
52
|
-
query: string;
|
|
53
|
-
showEnterIconOnFocus: boolean;
|
|
54
|
-
}, {
|
|
55
|
-
searchIconClasses(): string;
|
|
56
|
-
enterIconClasses(): string;
|
|
57
|
-
clearIconClasses(): string;
|
|
58
|
-
}, {
|
|
59
|
-
clearSearch(): void;
|
|
60
|
-
keydownEnter(): void;
|
|
61
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").PublicProps, {
|
|
62
|
-
size: "sm" | "md" | "lg";
|
|
63
|
-
modelValue: string;
|
|
64
|
-
showEnterIcon: boolean;
|
|
65
|
-
}, true, {}, {}, {
|
|
66
|
-
PInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
67
|
-
modelValue: {
|
|
68
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
type: {
|
|
72
|
-
type: PropType<string>;
|
|
73
|
-
default: string;
|
|
74
|
-
validator(value: string): boolean;
|
|
75
|
-
};
|
|
76
|
-
label: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
errorMsg: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
required: {
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
rounded: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
}>, {}, {}, {
|
|
93
|
-
attrs(): {
|
|
94
|
-
[x: string]: unknown;
|
|
95
|
-
};
|
|
96
|
-
style(): StyleValue;
|
|
97
|
-
}, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
98
|
-
size: {
|
|
99
|
-
type: PropType<import("..").Size>;
|
|
100
|
-
default: string;
|
|
101
|
-
validator(value: import("..").Size): boolean;
|
|
102
|
-
};
|
|
103
|
-
errorMsg: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
required: {
|
|
108
|
-
type: BooleanConstructor;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
rounded: {
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
}>, {}, {}, {
|
|
116
|
-
allClasses(): {
|
|
117
|
-
input: string;
|
|
118
|
-
label: string;
|
|
119
|
-
errorMessage: string;
|
|
120
|
-
};
|
|
121
|
-
inputClasses(): string;
|
|
122
|
-
labelClasses(): string;
|
|
123
|
-
errorMsgClasses(): string;
|
|
124
|
-
selectClasses(): string;
|
|
125
|
-
textareaClasses(): string;
|
|
126
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
-
size: {
|
|
128
|
-
type: PropType<import("..").Size>;
|
|
129
|
-
default: string;
|
|
130
|
-
validator(value: import("..").Size): boolean;
|
|
131
|
-
};
|
|
132
|
-
errorMsg: {
|
|
133
|
-
type: StringConstructor;
|
|
134
|
-
default: string;
|
|
135
|
-
};
|
|
136
|
-
required: {
|
|
137
|
-
type: BooleanConstructor;
|
|
138
|
-
default: boolean;
|
|
139
|
-
};
|
|
140
|
-
rounded: {
|
|
141
|
-
type: BooleanConstructor;
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
144
|
-
}>> & Readonly<{}>, {
|
|
145
|
-
size: "sm" | "md" | "lg";
|
|
146
|
-
rounded: boolean;
|
|
147
|
-
required: boolean;
|
|
148
|
-
errorMsg: string;
|
|
149
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
150
|
-
modelValue: {
|
|
151
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
|
-
type: {
|
|
155
|
-
type: PropType<string>;
|
|
156
|
-
default: string;
|
|
157
|
-
validator(value: string): boolean;
|
|
158
|
-
};
|
|
159
|
-
label: {
|
|
160
|
-
type: StringConstructor;
|
|
161
|
-
default: string;
|
|
162
|
-
};
|
|
163
|
-
errorMsg: {
|
|
164
|
-
type: StringConstructor;
|
|
165
|
-
default: string;
|
|
166
|
-
};
|
|
167
|
-
required: {
|
|
168
|
-
type: BooleanConstructor;
|
|
169
|
-
default: boolean;
|
|
170
|
-
};
|
|
171
|
-
rounded: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
}>> & Readonly<{
|
|
176
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
177
|
-
}>, {
|
|
178
|
-
type: string;
|
|
179
|
-
label: string;
|
|
180
|
-
rounded: boolean;
|
|
181
|
-
required: boolean;
|
|
182
|
-
modelValue: string | number;
|
|
183
|
-
errorMsg: string;
|
|
184
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
185
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
186
|
-
P: {};
|
|
187
|
-
B: {};
|
|
188
|
-
D: {};
|
|
189
|
-
C: {};
|
|
190
|
-
M: {};
|
|
191
|
-
Defaults: {};
|
|
192
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
193
|
-
modelValue: {
|
|
194
|
-
type: StringConstructor;
|
|
195
|
-
default: string;
|
|
196
|
-
};
|
|
197
|
-
size: {
|
|
198
|
-
type: PropType<import("..").Size>;
|
|
199
|
-
default: string;
|
|
200
|
-
validator(value: import("..").Size): boolean;
|
|
201
|
-
};
|
|
202
|
-
showEnterIcon: {
|
|
203
|
-
type: BooleanConstructor;
|
|
204
|
-
default: boolean;
|
|
205
|
-
};
|
|
206
|
-
}>> & Readonly<{
|
|
207
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
208
|
-
onEnter?: ((...args: any[]) => any) | undefined;
|
|
209
|
-
}>, {}, {
|
|
210
|
-
query: string;
|
|
211
|
-
showEnterIconOnFocus: boolean;
|
|
212
|
-
}, {
|
|
213
|
-
searchIconClasses(): string;
|
|
214
|
-
enterIconClasses(): string;
|
|
215
|
-
clearIconClasses(): string;
|
|
216
|
-
}, {
|
|
217
|
-
clearSearch(): void;
|
|
218
|
-
keydownEnter(): void;
|
|
219
|
-
}, {
|
|
220
|
-
size: "sm" | "md" | "lg";
|
|
221
|
-
modelValue: string;
|
|
222
|
-
showEnterIcon: boolean;
|
|
223
|
-
}> | null;
|
|
224
|
-
virtualizerRef: HTMLDivElement;
|
|
225
|
-
};
|
|
226
|
-
rootEl: any;
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
'selected-item'(props: {
|
|
7
|
+
item: any;
|
|
8
|
+
}): unknown;
|
|
9
|
+
'placeholder'(): unknown;
|
|
10
|
+
'no-items'(): unknown;
|
|
11
|
+
item(props: {
|
|
12
|
+
item: any;
|
|
13
|
+
isItemSelected: boolean;
|
|
14
|
+
itemTextSplit: string[];
|
|
15
|
+
}): unknown;
|
|
227
16
|
};
|
|
228
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
229
17
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
230
18
|
modelValue: {
|
|
231
19
|
type: PropType<ModelValue>;
|
|
@@ -526,205 +314,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
526
314
|
selectedTopShown: boolean;
|
|
527
315
|
disabledBy: string;
|
|
528
316
|
creatable: boolean;
|
|
529
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
530
|
-
|
|
531
|
-
button: HTMLButtonElement;
|
|
532
|
-
actionsContainer: HTMLDivElement;
|
|
533
|
-
inputSearch: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
534
|
-
modelValue: {
|
|
535
|
-
type: StringConstructor;
|
|
536
|
-
default: string;
|
|
537
|
-
};
|
|
538
|
-
size: {
|
|
539
|
-
type: PropType<import("..").Size>;
|
|
540
|
-
default: string;
|
|
541
|
-
validator(value: import("..").Size): boolean;
|
|
542
|
-
};
|
|
543
|
-
showEnterIcon: {
|
|
544
|
-
type: BooleanConstructor;
|
|
545
|
-
default: boolean;
|
|
546
|
-
};
|
|
547
|
-
}>> & Readonly<{
|
|
548
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
549
|
-
onEnter?: ((...args: any[]) => any) | undefined;
|
|
550
|
-
}>, {}, {
|
|
551
|
-
query: string;
|
|
552
|
-
showEnterIconOnFocus: boolean;
|
|
553
|
-
}, {
|
|
554
|
-
searchIconClasses(): string;
|
|
555
|
-
enterIconClasses(): string;
|
|
556
|
-
clearIconClasses(): string;
|
|
557
|
-
}, {
|
|
558
|
-
clearSearch(): void;
|
|
559
|
-
keydownEnter(): void;
|
|
560
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").PublicProps, {
|
|
561
|
-
size: "sm" | "md" | "lg";
|
|
562
|
-
modelValue: string;
|
|
563
|
-
showEnterIcon: boolean;
|
|
564
|
-
}, true, {}, {}, {
|
|
565
|
-
PInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
566
|
-
modelValue: {
|
|
567
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
568
|
-
default: string;
|
|
569
|
-
};
|
|
570
|
-
type: {
|
|
571
|
-
type: PropType<string>;
|
|
572
|
-
default: string;
|
|
573
|
-
validator(value: string): boolean;
|
|
574
|
-
};
|
|
575
|
-
label: {
|
|
576
|
-
type: StringConstructor;
|
|
577
|
-
default: string;
|
|
578
|
-
};
|
|
579
|
-
errorMsg: {
|
|
580
|
-
type: StringConstructor;
|
|
581
|
-
default: string;
|
|
582
|
-
};
|
|
583
|
-
required: {
|
|
584
|
-
type: BooleanConstructor;
|
|
585
|
-
default: boolean;
|
|
586
|
-
};
|
|
587
|
-
rounded: {
|
|
588
|
-
type: BooleanConstructor;
|
|
589
|
-
default: boolean;
|
|
590
|
-
};
|
|
591
|
-
}>, {}, {}, {
|
|
592
|
-
attrs(): {
|
|
593
|
-
[x: string]: unknown;
|
|
594
|
-
};
|
|
595
|
-
style(): StyleValue;
|
|
596
|
-
}, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
597
|
-
size: {
|
|
598
|
-
type: PropType<import("..").Size>;
|
|
599
|
-
default: string;
|
|
600
|
-
validator(value: import("..").Size): boolean;
|
|
601
|
-
};
|
|
602
|
-
errorMsg: {
|
|
603
|
-
type: StringConstructor;
|
|
604
|
-
default: string;
|
|
605
|
-
};
|
|
606
|
-
required: {
|
|
607
|
-
type: BooleanConstructor;
|
|
608
|
-
default: boolean;
|
|
609
|
-
};
|
|
610
|
-
rounded: {
|
|
611
|
-
type: BooleanConstructor;
|
|
612
|
-
default: boolean;
|
|
613
|
-
};
|
|
614
|
-
}>, {}, {}, {
|
|
615
|
-
allClasses(): {
|
|
616
|
-
input: string;
|
|
617
|
-
label: string;
|
|
618
|
-
errorMessage: string;
|
|
619
|
-
};
|
|
620
|
-
inputClasses(): string;
|
|
621
|
-
labelClasses(): string;
|
|
622
|
-
errorMsgClasses(): string;
|
|
623
|
-
selectClasses(): string;
|
|
624
|
-
textareaClasses(): string;
|
|
625
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
626
|
-
size: {
|
|
627
|
-
type: PropType<import("..").Size>;
|
|
628
|
-
default: string;
|
|
629
|
-
validator(value: import("..").Size): boolean;
|
|
630
|
-
};
|
|
631
|
-
errorMsg: {
|
|
632
|
-
type: StringConstructor;
|
|
633
|
-
default: string;
|
|
634
|
-
};
|
|
635
|
-
required: {
|
|
636
|
-
type: BooleanConstructor;
|
|
637
|
-
default: boolean;
|
|
638
|
-
};
|
|
639
|
-
rounded: {
|
|
640
|
-
type: BooleanConstructor;
|
|
641
|
-
default: boolean;
|
|
642
|
-
};
|
|
643
|
-
}>> & Readonly<{}>, {
|
|
644
|
-
size: "sm" | "md" | "lg";
|
|
645
|
-
rounded: boolean;
|
|
646
|
-
required: boolean;
|
|
647
|
-
errorMsg: string;
|
|
648
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
649
|
-
modelValue: {
|
|
650
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
651
|
-
default: string;
|
|
652
|
-
};
|
|
653
|
-
type: {
|
|
654
|
-
type: PropType<string>;
|
|
655
|
-
default: string;
|
|
656
|
-
validator(value: string): boolean;
|
|
657
|
-
};
|
|
658
|
-
label: {
|
|
659
|
-
type: StringConstructor;
|
|
660
|
-
default: string;
|
|
661
|
-
};
|
|
662
|
-
errorMsg: {
|
|
663
|
-
type: StringConstructor;
|
|
664
|
-
default: string;
|
|
665
|
-
};
|
|
666
|
-
required: {
|
|
667
|
-
type: BooleanConstructor;
|
|
668
|
-
default: boolean;
|
|
669
|
-
};
|
|
670
|
-
rounded: {
|
|
671
|
-
type: BooleanConstructor;
|
|
672
|
-
default: boolean;
|
|
673
|
-
};
|
|
674
|
-
}>> & Readonly<{
|
|
675
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
676
|
-
}>, {
|
|
677
|
-
type: string;
|
|
678
|
-
label: string;
|
|
679
|
-
rounded: boolean;
|
|
680
|
-
required: boolean;
|
|
681
|
-
modelValue: string | number;
|
|
682
|
-
errorMsg: string;
|
|
683
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
684
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
685
|
-
P: {};
|
|
686
|
-
B: {};
|
|
687
|
-
D: {};
|
|
688
|
-
C: {};
|
|
689
|
-
M: {};
|
|
690
|
-
Defaults: {};
|
|
691
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
692
|
-
modelValue: {
|
|
693
|
-
type: StringConstructor;
|
|
694
|
-
default: string;
|
|
695
|
-
};
|
|
696
|
-
size: {
|
|
697
|
-
type: PropType<import("..").Size>;
|
|
698
|
-
default: string;
|
|
699
|
-
validator(value: import("..").Size): boolean;
|
|
700
|
-
};
|
|
701
|
-
showEnterIcon: {
|
|
702
|
-
type: BooleanConstructor;
|
|
703
|
-
default: boolean;
|
|
704
|
-
};
|
|
705
|
-
}>> & Readonly<{
|
|
706
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
707
|
-
onEnter?: ((...args: any[]) => any) | undefined;
|
|
708
|
-
}>, {}, {
|
|
709
|
-
query: string;
|
|
710
|
-
showEnterIconOnFocus: boolean;
|
|
711
|
-
}, {
|
|
712
|
-
searchIconClasses(): string;
|
|
713
|
-
enterIconClasses(): string;
|
|
714
|
-
clearIconClasses(): string;
|
|
715
|
-
}, {
|
|
716
|
-
clearSearch(): void;
|
|
717
|
-
keydownEnter(): void;
|
|
718
|
-
}, {
|
|
719
|
-
size: "sm" | "md" | "lg";
|
|
720
|
-
modelValue: string;
|
|
721
|
-
showEnterIcon: boolean;
|
|
722
|
-
}> | null;
|
|
723
|
-
virtualizerRef: HTMLDivElement;
|
|
724
|
-
}, any>;
|
|
725
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
317
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
318
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
726
319
|
export default _default;
|
|
727
|
-
type
|
|
320
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
728
321
|
new (): {
|
|
729
322
|
$slots: S;
|
|
730
323
|
};
|
|
@@ -100,7 +100,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
100
100
|
fileTypes: string[] | readonly string[];
|
|
101
101
|
maxSizeInBytes: number;
|
|
102
102
|
maxNumberOfFiles: number;
|
|
103
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
104
|
-
fileInputRef: HTMLInputElement;
|
|
105
|
-
}, HTMLDivElement>;
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
104
|
export default _default;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
+
import PIcon from '../p-icon/p-icon.vue';
|
|
1
2
|
type Props = {
|
|
2
3
|
text?: string | null;
|
|
3
4
|
};
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
5
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
6
|
+
declare var __VLS_9: {};
|
|
7
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
8
|
+
default?: (props: typeof __VLS_9) => any;
|
|
9
|
+
}>;
|
|
10
|
+
declare const __VLS_self: import("vue").DefineComponent<Props, {
|
|
11
|
+
PIcon: typeof PIcon;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
+
text: string | null;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
15
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
16
|
text: string | null;
|
|
15
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const _default:
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
19
|
export default _default;
|
|
18
|
-
type
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
21
|
new (): {
|
|
20
22
|
$slots: S;
|
|
21
23
|
};
|
|
@@ -1,25 +1,50 @@
|
|
|
1
|
-
import { type VueDatePickerProps } from '@vuepic/vue-datepicker';
|
|
1
|
+
import VueDatePicker, { type VueDatePickerProps } from '@vuepic/vue-datepicker';
|
|
2
|
+
import { type StyleValue } from 'vue';
|
|
2
3
|
type Props = {
|
|
3
4
|
label?: string;
|
|
4
5
|
errorMsg?: string;
|
|
5
6
|
required?: boolean;
|
|
6
7
|
} & VueDatePickerProps;
|
|
7
8
|
type __VLS_Props = Props;
|
|
9
|
+
declare const model: import("vue").ModelRef<string | Date | null, string, string | Date | null, string | Date | null>;
|
|
10
|
+
declare const labelClasses: import("vue").ComputedRef<string>, errorMsgClasses: import("vue").ComputedRef<string>;
|
|
11
|
+
declare const datePickerProps: import("vue").ComputedRef<VueDatePickerProps>;
|
|
12
|
+
declare const style: import("vue").ComputedRef<StyleValue>;
|
|
8
13
|
type __VLS_PublicProps = {
|
|
9
14
|
modelValue?: Date | string | null;
|
|
10
15
|
} & __VLS_Props;
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
label: string;
|
|
16
|
-
labelClasses: string;
|
|
17
|
-
}): any;
|
|
18
|
-
};
|
|
19
|
-
refs: {};
|
|
20
|
-
rootEl: any;
|
|
16
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
17
|
+
declare var __VLS_1: {
|
|
18
|
+
label: string;
|
|
19
|
+
labelClasses: string;
|
|
21
20
|
};
|
|
22
|
-
type
|
|
21
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
|
+
label?: (props: typeof __VLS_1) => any;
|
|
23
|
+
}>;
|
|
24
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
25
|
+
VueDatePicker: typeof VueDatePicker;
|
|
26
|
+
model: typeof model;
|
|
27
|
+
labelClasses: typeof labelClasses;
|
|
28
|
+
errorMsgClasses: typeof errorMsgClasses;
|
|
29
|
+
datePickerProps: typeof datePickerProps;
|
|
30
|
+
style: typeof style;
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
"update:modelValue": (value: string | Date | null) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
inline: boolean | {
|
|
37
|
+
input?: boolean;
|
|
38
|
+
};
|
|
39
|
+
label: string;
|
|
40
|
+
required: boolean;
|
|
41
|
+
errorMsg: string;
|
|
42
|
+
enableTimePicker: boolean;
|
|
43
|
+
weekStart: "0" | "1" | "2" | "3" | "4" | "5" | "6" | 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
44
|
+
autoApply: boolean;
|
|
45
|
+
hideOffsetDates: boolean;
|
|
46
|
+
modelType: "timestamp" | "iso" | "format" | string;
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
48
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
49
|
"update:modelValue": (value: string | Date | null) => any;
|
|
25
50
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -37,9 +62,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
37
62
|
hideOffsetDates: boolean;
|
|
38
63
|
modelType: "timestamp" | "iso" | "format" | string;
|
|
39
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
-
declare const _default:
|
|
65
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
41
66
|
export default _default;
|
|
42
|
-
type
|
|
67
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
68
|
new (): {
|
|
44
69
|
$slots: S;
|
|
45
70
|
};
|
|
@@ -85,8 +85,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
85
85
|
};
|
|
86
86
|
}>> & Readonly<{}>, {
|
|
87
87
|
size: "sm" | "md" | "lg";
|
|
88
|
-
rounded: boolean;
|
|
89
88
|
required: boolean;
|
|
89
|
+
rounded: boolean;
|
|
90
90
|
errorMsg: string;
|
|
91
91
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
92
|
modelValue: {
|
|
@@ -119,9 +119,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
119
119
|
}>, {
|
|
120
120
|
type: string;
|
|
121
121
|
label: string;
|
|
122
|
-
rounded: boolean;
|
|
123
122
|
required: boolean;
|
|
124
123
|
modelValue: string | number;
|
|
124
|
+
rounded: boolean;
|
|
125
125
|
errorMsg: string;
|
|
126
126
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
127
127
|
export default _default;
|
|
@@ -80,8 +80,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
80
|
};
|
|
81
81
|
}>> & Readonly<{}>, {
|
|
82
82
|
size: "sm" | "md" | "lg";
|
|
83
|
-
rounded: boolean;
|
|
84
83
|
required: boolean;
|
|
84
|
+
rounded: boolean;
|
|
85
85
|
errorMsg: string;
|
|
86
86
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
87
|
modelValue: {
|
|
@@ -145,7 +145,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
145
145
|
text: string | null;
|
|
146
146
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
147
147
|
$slots: {
|
|
148
|
-
default
|
|
148
|
+
default?: ((props: {}) => any) | undefined;
|
|
149
149
|
};
|
|
150
150
|
});
|
|
151
151
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -126,8 +126,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
126
|
};
|
|
127
127
|
}>> & Readonly<{}>, {
|
|
128
128
|
size: "sm" | "md" | "lg";
|
|
129
|
-
rounded: boolean;
|
|
130
129
|
required: boolean;
|
|
130
|
+
rounded: boolean;
|
|
131
131
|
errorMsg: string;
|
|
132
132
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
133
133
|
modelValue: {
|
|
@@ -160,9 +160,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
160
160
|
}>, {
|
|
161
161
|
type: string;
|
|
162
162
|
label: string;
|
|
163
|
-
rounded: boolean;
|
|
164
163
|
required: boolean;
|
|
165
164
|
modelValue: string | number;
|
|
165
|
+
rounded: boolean;
|
|
166
166
|
errorMsg: string;
|
|
167
167
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
168
168
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
import { isExternalLink } from '../../utils/link';
|
|
2
|
+
import { sanitizeUrl } from '../../utils/sanitization';
|
|
3
|
+
import { RouterLink, type RouterLinkProps } from 'vue-router';
|
|
4
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
|
+
declare var __VLS_1: {}, __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
}>;
|
|
11
|
+
declare const __VLS_self: import("vue").DefineComponent<RouterLinkProps, {
|
|
12
|
+
isExternalLink: typeof isExternalLink;
|
|
13
|
+
sanitizeUrl: typeof sanitizeUrl;
|
|
14
|
+
RouterLink: typeof RouterLink;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RouterLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
16
|
declare const __VLS_component: import("vue").DefineComponent<RouterLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RouterLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
declare const _default:
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
18
|
export default _default;
|
|
15
|
-
type
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
20
|
new (): {
|
|
17
21
|
$slots: S;
|
|
18
22
|
};
|