@pequity/squirrel 5.4.1 → 5.4.3
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 +10 -11
- package/dist/cjs/chunks/p-date-picker.js +108 -0
- package/dist/cjs/chunks/p-dropdown-select.js +7 -8
- package/dist/cjs/chunks/p-inline-date-picker.js +112 -0
- package/dist/cjs/chunks/p-input-percent.js +3 -5
- package/dist/cjs/chunks/p-pagination-info.js +1 -1
- package/dist/cjs/chunks/p-pagination.js +12 -16
- package/dist/cjs/index.js +55 -53
- package/dist/cjs/p-btn.js +8 -5
- package/dist/cjs/p-chips.js +3 -5
- package/dist/cjs/p-date-picker.js +2 -138
- package/dist/cjs/p-info-icon.js +1 -3
- package/dist/cjs/p-inline-date-picker.js +2 -143
- package/dist/cjs/p-table-td.js +3 -5
- package/dist/es/chunks/p-action-bar.js +10 -11
- package/dist/es/chunks/p-date-picker.js +109 -0
- package/dist/es/chunks/p-dropdown-select.js +7 -8
- package/dist/es/chunks/p-inline-date-picker.js +113 -0
- package/dist/es/chunks/p-input-percent.js +3 -5
- package/dist/es/chunks/p-pagination-info.js +1 -1
- package/dist/es/chunks/p-pagination.js +12 -16
- package/dist/es/index.js +104 -102
- package/dist/es/p-btn.js +8 -5
- package/dist/es/p-chips.js +4 -6
- package/dist/es/p-date-picker.js +2 -138
- package/dist/es/p-info-icon.js +2 -4
- package/dist/es/p-inline-date-picker.js +2 -143
- package/dist/es/p-table-td.js +4 -6
- package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +5 -14
- package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +4 -4
- package/dist/squirrel/components/p-avatar/p-avatar.vue.d.ts +5 -5
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +40 -5
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +4 -4
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +5 -5
- package/dist/squirrel/components/p-chips/p-chips.vue.d.ts +5 -5
- package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +4 -4
- package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +35 -128
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +37 -5
- package/dist/squirrel/components/p-dropdown/p-dropdown.vue.d.ts +5 -5
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +128 -29
- package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +5 -5
- package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +1 -10
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -23
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +9 -9
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +40 -10
- package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +5 -5
- package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +121 -5
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +1 -10
- package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -1
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -5
- package/dist/squirrel/components/p-pagination/p-pagination.vue.d.ts +5 -5
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +4 -4
- package/dist/squirrel/components/p-progress-bar/p-progress-bar.vue.d.ts +3 -3
- package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +4 -4
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +5 -5
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +4 -45
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +143 -29
- package/dist/squirrel/components/p-select-list/useSelectList.d.ts +4 -4
- package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +5 -5
- package/dist/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue.d.ts +4 -4
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +10 -47
- package/dist/squirrel/components/p-table/usePTableColResize.d.ts +4 -4
- package/dist/squirrel/components/p-table/usePTableRowVirtualizer.d.ts +10 -4
- package/dist/squirrel/components/p-table-header-cell/p-table-filter-icon.vue.d.ts +4 -4
- package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +48 -5
- package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +4 -4
- package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +5 -5
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -25
- package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +5 -5
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +9 -9
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +9 -9
- package/dist/squirrel/composables/useInputClasses.d.ts +1 -1
- package/dist/squirrel/utils/inputClassesMixin.d.ts +4 -4
- package/package.json +25 -25
- package/squirrel/components/p-btn/p-btn.spec.js +33 -4
- package/squirrel/components/p-btn/p-btn.vue +5 -2
- package/squirrel/components/p-date-picker/p-date-picker.vue +79 -86
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +12 -14
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +87 -99
- package/squirrel/components/p-select-list/p-select-list.spec.js +26 -0
- package/squirrel/components/p-select-list/p-select-list.vue +8 -1
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +0 -154
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
appendTo: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
default: string;
|
|
65
65
|
validator: (value: string) => boolean;
|
|
66
66
|
};
|
|
67
|
-
}
|
|
67
|
+
}>, {}, {
|
|
68
68
|
id: string | null;
|
|
69
69
|
show: boolean;
|
|
70
70
|
mount: boolean;
|
|
@@ -145,7 +145,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
145
145
|
default: string;
|
|
146
146
|
validator: (value: string) => boolean;
|
|
147
147
|
};
|
|
148
|
-
}>> & {
|
|
148
|
+
}>> & Readonly<{
|
|
149
149
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
150
150
|
"onBefore-open"?: ((...args: any[]) => any) | undefined;
|
|
151
151
|
onOpening?: ((...args: any[]) => any) | undefined;
|
|
@@ -153,7 +153,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
153
153
|
"onBefore-close"?: ((...args: any[]) => any) | undefined;
|
|
154
154
|
onClosing?: ((...args: any[]) => any) | undefined;
|
|
155
155
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
156
|
-
}
|
|
156
|
+
}>, {
|
|
157
157
|
zIndex: number;
|
|
158
158
|
width: string;
|
|
159
159
|
title: string;
|
|
@@ -170,5 +170,37 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
170
|
closeLabel: string;
|
|
171
171
|
showBackdrop: boolean;
|
|
172
172
|
enableClose: boolean;
|
|
173
|
-
}, {}
|
|
173
|
+
}, {}, {
|
|
174
|
+
PAlert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
175
|
+
type: {
|
|
176
|
+
type: import("vue").PropType<"error" | "info" | "success" | "warning">;
|
|
177
|
+
default: string;
|
|
178
|
+
validator(value: "error" | "info" | "success" | "warning"): boolean;
|
|
179
|
+
};
|
|
180
|
+
}>, {}, {}, {
|
|
181
|
+
classes(): string;
|
|
182
|
+
svgColor(): undefined;
|
|
183
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
184
|
+
type: {
|
|
185
|
+
type: import("vue").PropType<"error" | "info" | "success" | "warning">;
|
|
186
|
+
default: string;
|
|
187
|
+
validator(value: "error" | "info" | "success" | "warning"): boolean;
|
|
188
|
+
};
|
|
189
|
+
}>> & Readonly<{}>, {
|
|
190
|
+
type: "error" | "info" | "success" | "warning";
|
|
191
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
192
|
+
PCloseBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
193
|
+
variant: {
|
|
194
|
+
type: import("vue").PropType<"transparent" | "gray" | "dark">;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
198
|
+
variant: {
|
|
199
|
+
type: import("vue").PropType<"transparent" | "gray" | "dark">;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
}>> & Readonly<{}>, {
|
|
203
|
+
variant: "transparent" | "gray" | "dark";
|
|
204
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
205
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
174
206
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ListKeyboardNavigationInstance } from '../../utils/listKeyboardNavigation';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/**
|
|
5
5
|
* Enables navigation for `.dropdown-item` using the up/down keys.
|
|
6
6
|
* This can be set to false when we're creating a generic popover.
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
type: PropType<HTMLElement | null | undefined>;
|
|
35
35
|
default: null;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
37
|
+
}>, {}, {
|
|
38
38
|
defaultAttrs: {
|
|
39
39
|
triggers: string[];
|
|
40
40
|
'auto-hide': boolean;
|
|
@@ -84,10 +84,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
type: PropType<HTMLElement | null | undefined>;
|
|
85
85
|
default: null;
|
|
86
86
|
};
|
|
87
|
-
}
|
|
88
|
-
reference: HTMLElement | null | undefined;
|
|
87
|
+
}>> & Readonly<{}>, {
|
|
89
88
|
enableArrowNavigation: boolean;
|
|
90
89
|
enableCloseOnEsc: boolean;
|
|
91
90
|
triggerStyle: Record<string, any>;
|
|
92
|
-
|
|
91
|
+
reference: HTMLElement | null | undefined;
|
|
92
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
93
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
1
|
+
import { type PropType, type StyleValue } from 'vue';
|
|
2
2
|
import { type ModelValue, type Size } from '../p-select-list/p-select-list.types';
|
|
3
3
|
type AnyValue = string | number | boolean | null | undefined | Record<string, unknown>;
|
|
4
4
|
type AnyObject = Record<string, AnyValue>;
|
|
@@ -28,7 +28,7 @@ declare function __VLS_template(): {
|
|
|
28
28
|
formControl: HTMLDivElement;
|
|
29
29
|
button: HTMLButtonElement;
|
|
30
30
|
actionsContainer: HTMLDivElement;
|
|
31
|
-
inputSearch: import("vue").
|
|
31
|
+
inputSearch: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
32
32
|
modelValue: {
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
default: string;
|
|
@@ -42,10 +42,10 @@ declare function __VLS_template(): {
|
|
|
42
42
|
type: BooleanConstructor;
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
|
-
}>> & {
|
|
45
|
+
}>> & Readonly<{
|
|
46
46
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
}
|
|
48
|
+
}>, {}, {
|
|
49
49
|
query: string;
|
|
50
50
|
showEnterIconOnFocus: boolean;
|
|
51
51
|
}, {
|
|
@@ -55,28 +55,127 @@ declare function __VLS_template(): {
|
|
|
55
55
|
}, {
|
|
56
56
|
clearSearch(): void;
|
|
57
57
|
keydownEnter(): void;
|
|
58
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").
|
|
59
|
-
modelValue: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
size: {
|
|
64
|
-
type: PropType<import("../..").InputSize>;
|
|
65
|
-
default: string;
|
|
66
|
-
validator(value: import("../..").InputSize): boolean;
|
|
67
|
-
};
|
|
68
|
-
showEnterIcon: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
}>> & {
|
|
73
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
74
|
-
onEnter?: ((...args: any[]) => any) | undefined;
|
|
75
|
-
}, {
|
|
58
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").PublicProps, {
|
|
76
59
|
size: "sm" | "lg" | "md";
|
|
77
60
|
modelValue: string;
|
|
78
61
|
showEnterIcon: boolean;
|
|
79
62
|
}, true, {}, {}, {
|
|
63
|
+
PInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
64
|
+
modelValue: {
|
|
65
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
type: {
|
|
69
|
+
type: PropType<string>;
|
|
70
|
+
default: string;
|
|
71
|
+
validator(value: string): boolean;
|
|
72
|
+
};
|
|
73
|
+
label: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
errorMsg: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
required: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
rounded: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
}>, {}, {}, {
|
|
90
|
+
attrs(): {
|
|
91
|
+
[x: string]: unknown;
|
|
92
|
+
};
|
|
93
|
+
style(): StyleValue;
|
|
94
|
+
}, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
95
|
+
size: {
|
|
96
|
+
type: PropType<import("../..").InputSize>;
|
|
97
|
+
default: string;
|
|
98
|
+
validator(value: import("../..").InputSize): boolean;
|
|
99
|
+
};
|
|
100
|
+
errorMsg: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
required: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
rounded: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
}>, {}, {
|
|
113
|
+
errorMsgClasses: string;
|
|
114
|
+
}, {
|
|
115
|
+
inputClasses(): string;
|
|
116
|
+
labelClasses(): string;
|
|
117
|
+
selectClasses(): string;
|
|
118
|
+
textareaClasses(): string;
|
|
119
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
120
|
+
size: {
|
|
121
|
+
type: PropType<import("../..").InputSize>;
|
|
122
|
+
default: string;
|
|
123
|
+
validator(value: import("../..").InputSize): boolean;
|
|
124
|
+
};
|
|
125
|
+
errorMsg: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
required: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
rounded: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{}>, {
|
|
138
|
+
size: "sm" | "lg" | "md";
|
|
139
|
+
rounded: boolean;
|
|
140
|
+
required: boolean;
|
|
141
|
+
errorMsg: string;
|
|
142
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
+
modelValue: {
|
|
144
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
type: {
|
|
148
|
+
type: PropType<string>;
|
|
149
|
+
default: string;
|
|
150
|
+
validator(value: string): boolean;
|
|
151
|
+
};
|
|
152
|
+
label: {
|
|
153
|
+
type: StringConstructor;
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
errorMsg: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
160
|
+
required: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
164
|
+
rounded: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
}>> & Readonly<{
|
|
169
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
170
|
+
}>, {
|
|
171
|
+
type: string;
|
|
172
|
+
label: string;
|
|
173
|
+
rounded: boolean;
|
|
174
|
+
required: boolean;
|
|
175
|
+
modelValue: string | number;
|
|
176
|
+
errorMsg: string;
|
|
177
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
178
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
80
179
|
P: {};
|
|
81
180
|
B: {};
|
|
82
181
|
D: {};
|
|
@@ -97,10 +196,10 @@ declare function __VLS_template(): {
|
|
|
97
196
|
type: BooleanConstructor;
|
|
98
197
|
default: boolean;
|
|
99
198
|
};
|
|
100
|
-
}>> & {
|
|
199
|
+
}>> & Readonly<{
|
|
101
200
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
102
201
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
103
|
-
}
|
|
202
|
+
}>, {}, {
|
|
104
203
|
query: string;
|
|
105
204
|
showEnterIconOnFocus: boolean;
|
|
106
205
|
}, {
|
|
@@ -120,7 +219,7 @@ declare function __VLS_template(): {
|
|
|
120
219
|
attrs: Partial<{}>;
|
|
121
220
|
};
|
|
122
221
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
123
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
222
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
124
223
|
modelValue: {
|
|
125
224
|
type: PropType<ModelValue>;
|
|
126
225
|
default: null;
|
|
@@ -236,7 +335,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
236
335
|
type: BooleanConstructor;
|
|
237
336
|
default: boolean;
|
|
238
337
|
};
|
|
239
|
-
}
|
|
338
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
240
339
|
select: (...args: any[]) => void;
|
|
241
340
|
"update:modelValue": (...args: any[]) => void;
|
|
242
341
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -355,10 +454,10 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
355
454
|
type: BooleanConstructor;
|
|
356
455
|
default: boolean;
|
|
357
456
|
};
|
|
358
|
-
}>> & {
|
|
457
|
+
}>> & Readonly<{
|
|
359
458
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
360
459
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
361
|
-
}
|
|
460
|
+
}>, {
|
|
362
461
|
size: "sm" | "lg" | "md";
|
|
363
462
|
label: string;
|
|
364
463
|
required: boolean;
|
|
@@ -379,7 +478,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
379
478
|
multiple: boolean;
|
|
380
479
|
placeholderSearch: string;
|
|
381
480
|
selectedTopShown: boolean;
|
|
382
|
-
}, {}>;
|
|
481
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
383
482
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
384
483
|
export default _default;
|
|
385
484
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FileUploadFile } from './p-file-upload.types';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: PropType<FileUploadFile | FileUploadFile[]>;
|
|
6
6
|
default: () => never[];
|
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
type: NumberConstructor;
|
|
42
42
|
default: number;
|
|
43
43
|
};
|
|
44
|
-
}
|
|
44
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
45
|
"update:modelValue": (...args: any[]) => void;
|
|
46
46
|
"file-removed": (...args: any[]) => void;
|
|
47
47
|
"file-added": (...args: any[]) => void;
|
|
@@ -86,11 +86,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
86
|
type: NumberConstructor;
|
|
87
87
|
default: number;
|
|
88
88
|
};
|
|
89
|
-
}>> & {
|
|
89
|
+
}>> & Readonly<{
|
|
90
90
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
"onFile-removed"?: ((...args: any[]) => any) | undefined;
|
|
92
92
|
"onFile-added"?: ((...args: any[]) => any) | undefined;
|
|
93
|
-
}
|
|
93
|
+
}>, {
|
|
94
94
|
label: string;
|
|
95
95
|
disabled: boolean;
|
|
96
96
|
required: boolean;
|
|
@@ -100,5 +100,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
100
|
fileTypes: string[] | readonly string[];
|
|
101
101
|
maxSizeInBytes: number;
|
|
102
102
|
maxNumberOfFiles: number;
|
|
103
|
-
}, {}>;
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
104
104
|
export default _default;
|
|
@@ -4,14 +4,5 @@ import 'iconify-icon';
|
|
|
4
4
|
interface Props extends /* @vue-ignore */ Omit<IconifyIconAttributes, 'icon'> {
|
|
5
5
|
icon: IconifyIconAttributes['icon'] | PIconAlias;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: import("vue").DefineComponent<
|
|
7
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToOption<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -9,34 +9,13 @@ declare function __VLS_template(): {
|
|
|
9
9
|
attrs: Partial<{}>;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
13
|
-
text: null;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
15
|
-
text: null;
|
|
16
|
-
}>>>, {
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
13
|
text: string | null;
|
|
18
|
-
}, {}>;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
16
|
export default _default;
|
|
21
|
-
type __VLS_WithDefaults<P, D> = {
|
|
22
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
23
|
-
default: D[K];
|
|
24
|
-
}> : P[K];
|
|
25
|
-
};
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToOption<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
18
|
new (): {
|
|
37
19
|
$slots: S;
|
|
38
20
|
};
|
|
39
21
|
};
|
|
40
|
-
type __VLS_PrettifyLocal<T> = {
|
|
41
|
-
[K in keyof T]: T[K];
|
|
42
|
-
} & {};
|
|
@@ -5,7 +5,7 @@ declare const INPUT_TYPES: {
|
|
|
5
5
|
};
|
|
6
6
|
type InputTypeKeys = keyof typeof INPUT_TYPES;
|
|
7
7
|
type InputType = (typeof INPUT_TYPES)[InputTypeKeys];
|
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
9
|
modelValue: {
|
|
10
10
|
type: (StringConstructor | NumberConstructor)[];
|
|
11
11
|
default: string;
|
|
@@ -31,12 +31,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
type: BooleanConstructor;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
|
-
}
|
|
34
|
+
}>, {}, {}, {
|
|
35
35
|
attrs(): {
|
|
36
36
|
[x: string]: unknown;
|
|
37
37
|
};
|
|
38
38
|
style(): StyleValue;
|
|
39
|
-
}, {}, import("vue").DefineComponent<{
|
|
39
|
+
}, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
40
40
|
size: {
|
|
41
41
|
type: PropType<import("../../index.js").InputSize>;
|
|
42
42
|
default: string;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
type: BooleanConstructor;
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
|
-
}
|
|
57
|
+
}>, {}, {
|
|
58
58
|
errorMsgClasses: string;
|
|
59
59
|
}, {
|
|
60
60
|
inputClasses(): string;
|
|
@@ -79,12 +79,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
79
|
type: BooleanConstructor;
|
|
80
80
|
default: boolean;
|
|
81
81
|
};
|
|
82
|
-
}
|
|
82
|
+
}>> & Readonly<{}>, {
|
|
83
83
|
size: "sm" | "lg" | "md";
|
|
84
84
|
rounded: boolean;
|
|
85
85
|
required: boolean;
|
|
86
86
|
errorMsg: string;
|
|
87
|
-
}, {}>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
88
|
modelValue: {
|
|
89
89
|
type: (StringConstructor | NumberConstructor)[];
|
|
90
90
|
default: string;
|
|
@@ -110,14 +110,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
type: BooleanConstructor;
|
|
111
111
|
default: boolean;
|
|
112
112
|
};
|
|
113
|
-
}>> & {
|
|
113
|
+
}>> & Readonly<{
|
|
114
114
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
}
|
|
115
|
+
}>, {
|
|
116
116
|
type: string;
|
|
117
117
|
label: string;
|
|
118
118
|
rounded: boolean;
|
|
119
119
|
required: boolean;
|
|
120
120
|
modelValue: string | number;
|
|
121
121
|
errorMsg: string;
|
|
122
|
-
}, {}>;
|
|
122
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
123
123
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, type StyleValue } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: PropType<number | string | null | undefined>;
|
|
5
5
|
default: null;
|
|
@@ -24,14 +24,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: StringConstructor;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
28
|
-
inputRef: import("vue").Ref<any>;
|
|
27
|
+
}>, {
|
|
28
|
+
inputRef: import("vue").Ref<any, any>;
|
|
29
29
|
computedAttrs: import("vue").ComputedRef<{
|
|
30
30
|
[x: string]: unknown;
|
|
31
31
|
}>;
|
|
32
32
|
style: import("vue").ComputedRef<StyleValue>;
|
|
33
33
|
focus: () => void;
|
|
34
|
-
},
|
|
34
|
+
}, {}, {}, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
35
35
|
size: {
|
|
36
36
|
type: PropType<import("../../index.js").InputSize>;
|
|
37
37
|
default: string;
|
|
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
type: BooleanConstructor;
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
|
-
}
|
|
52
|
+
}>, {}, {
|
|
53
53
|
errorMsgClasses: string;
|
|
54
54
|
}, {
|
|
55
55
|
inputClasses(): string;
|
|
@@ -74,12 +74,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
74
|
type: BooleanConstructor;
|
|
75
75
|
default: boolean;
|
|
76
76
|
};
|
|
77
|
-
}
|
|
77
|
+
}>> & Readonly<{}>, {
|
|
78
78
|
size: "sm" | "lg" | "md";
|
|
79
79
|
rounded: boolean;
|
|
80
80
|
required: boolean;
|
|
81
81
|
errorMsg: string;
|
|
82
|
-
}, {}>, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
82
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
modelValue: {
|
|
84
84
|
type: PropType<number | string | null | undefined>;
|
|
85
85
|
default: null;
|
|
@@ -104,15 +104,45 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
type: StringConstructor;
|
|
105
105
|
default: string;
|
|
106
106
|
};
|
|
107
|
-
}>> & {
|
|
107
|
+
}>> & Readonly<{
|
|
108
108
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
110
|
-
}
|
|
110
|
+
}>, {
|
|
111
111
|
label: string;
|
|
112
112
|
required: boolean;
|
|
113
113
|
modelValue: string | number | null | undefined;
|
|
114
114
|
errorMsg: string;
|
|
115
115
|
selectOnClick: boolean;
|
|
116
116
|
tooltipText: string;
|
|
117
|
-
}, {}
|
|
117
|
+
}, {}, {
|
|
118
|
+
PInfoIcon: {
|
|
119
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
120
|
+
text?: string | null;
|
|
121
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
122
|
+
text: string | null;
|
|
123
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
124
|
+
P: {};
|
|
125
|
+
B: {};
|
|
126
|
+
D: {};
|
|
127
|
+
C: {};
|
|
128
|
+
M: {};
|
|
129
|
+
Defaults: {};
|
|
130
|
+
}, Readonly<{
|
|
131
|
+
text?: string | null;
|
|
132
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
133
|
+
text: string | null;
|
|
134
|
+
}>;
|
|
135
|
+
__isFragment?: never;
|
|
136
|
+
__isTeleport?: never;
|
|
137
|
+
__isSuspense?: never;
|
|
138
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
139
|
+
text?: string | null;
|
|
140
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
141
|
+
text: string | null;
|
|
142
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
143
|
+
$slots: {
|
|
144
|
+
default?(_: {}): any;
|
|
145
|
+
};
|
|
146
|
+
});
|
|
147
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
118
148
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type InputSize } from '../../utils/inputClassesShared';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: PropType<number | string | null | undefined>;
|
|
6
6
|
default: null;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
type: PropType<InputSize>;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (...args: any[]) => void;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
modelValue: {
|
|
@@ -20,10 +20,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: PropType<InputSize>;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
-
}>> & {
|
|
23
|
+
}>> & Readonly<{
|
|
24
24
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
}
|
|
25
|
+
}>, {
|
|
26
26
|
size: "sm" | "lg" | "md";
|
|
27
27
|
modelValue: string | number | null | undefined;
|
|
28
|
-
}, {}>;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
29
|
export default _default;
|