@pequity/squirrel 6.0.13 → 6.1.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.
Files changed (61) hide show
  1. package/dist/cjs/chunks/p-action-bar.js +4 -4
  2. package/dist/cjs/chunks/p-btn.js +204 -0
  3. package/dist/cjs/chunks/p-select-btn.js +5 -4
  4. package/dist/cjs/index.js +28 -23
  5. package/dist/cjs/inputClasses.js +6 -4
  6. package/dist/cjs/p-btn.js +2 -169
  7. package/dist/es/chunks/p-action-bar.js +8 -8
  8. package/dist/es/chunks/p-btn.js +205 -0
  9. package/dist/es/chunks/p-select-btn.js +5 -4
  10. package/dist/es/index.js +65 -60
  11. package/dist/es/inputClasses.js +6 -4
  12. package/dist/es/p-btn.js +2 -169
  13. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +106 -46
  14. package/dist/squirrel/components/p-card/p-card.vue.d.ts +27 -14
  15. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +43 -12
  16. package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +1 -1
  17. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +1 -1
  18. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +15 -422
  19. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +1 -3
  20. package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +13 -11
  21. package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +39 -14
  22. package/dist/squirrel/components/p-input/p-input.vue.d.ts +2 -2
  23. package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +2 -2
  24. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -2
  25. package/dist/squirrel/components/p-link/p-link.vue.d.ts +17 -13
  26. package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -3
  27. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +240 -22
  28. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +77 -10
  29. package/dist/squirrel/components/p-select/p-select.vue.d.ts +116 -14
  30. package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +37 -13
  31. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +14 -418
  32. package/dist/squirrel/components/p-table/p-table.vue.d.ts +61 -19
  33. package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +1 -1
  34. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
  35. package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +23 -11
  36. package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +1 -1
  37. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +1 -1
  38. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +1 -1
  39. package/dist/squirrel/utils/inputClasses.d.ts +75 -25
  40. package/dist/squirrel/utils/inputClassesMixin.d.ts +1 -1
  41. package/dist/squirrel.css +2 -9
  42. package/package.json +25 -24
  43. package/squirrel/assets/squirrel.css +1 -1
  44. package/squirrel/components/p-action-bar/p-action-bar.stories.js +1 -2
  45. package/squirrel/components/p-btn/p-btn.spec.js +227 -161
  46. package/squirrel/components/p-btn/p-btn.stories.js +32 -8
  47. package/squirrel/components/p-btn/p-btn.vue +106 -73
  48. package/squirrel/components/p-dropdown/p-dropdown.vue +0 -1
  49. package/squirrel/components/p-file-upload/p-file-upload.vue +6 -16
  50. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +1 -1
  51. package/squirrel/components/p-select/p-select.spec.js +1 -1
  52. package/squirrel/components/p-select-btn/p-select-btn.stories.js +45 -4
  53. package/squirrel/components/p-select-btn/p-select-btn.vue +2 -2
  54. package/squirrel/components/p-tabs/p-tabs.stories.js +2 -2
  55. package/squirrel/composables/useInputClasses.spec.js +3 -3
  56. package/squirrel/utils/inputClasses.ts +6 -4
  57. package/squirrel/utils/inputClassesMixin.spec.js +3 -3
  58. package/squirrel/assets/file-upload-drag-over-icon.svg +0 -5
  59. package/squirrel/assets/file-upload-upload-icon.svg +0 -5
  60. package/squirrel/assets/file-upload-x-icon-hover.svg +0 -8
  61. package/squirrel/assets/file-upload-x-icon.svg +0 -8
@@ -1,231 +1,19 @@
1
1
  import { type ModelValue, type Size } from '../p-select-list/p-select-list.types';
2
- import { type PropType, type StyleValue } from 'vue';
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
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: Readonly<{
8
- 'selected-item'(props: {
9
- item: any;
10
- }): unknown;
11
- placeholder(): unknown;
12
- 'no-items'(): unknown;
13
- item(props: {
14
- item: any;
15
- isItemSelected: boolean;
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
- formControl: HTMLDivElement;
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 __VLS_WithTemplateSlots<T, S> = T & {
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 function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
19
  export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
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 function __VLS_template(): {
12
- attrs: Partial<{}>;
13
- slots: {
14
- label?(_: {
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 __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
65
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
41
66
  export default _default;
42
- type __VLS_WithTemplateSlots<T, S> = T & {
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?(_: {}): any;
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 { type RouterLinkProps } from 'vue-router';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: any;
10
- };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
18
  export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
19
+ type __VLS_WithSlots<T, S> = T & {
16
20
  new (): {
17
21
  $slots: S;
18
22
  };