@pequity/squirrel 1.2.12 → 2.0.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.
- package/dist/cjs/p-loading.js +50 -17
- package/dist/cjs/usePLoading.js +27 -10
- package/dist/es/p-loading.js +51 -18
- package/dist/es/usePLoading.js +28 -11
- package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +2 -2
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +5 -4
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +9 -7
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +7 -5
- package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +4 -4
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +29 -27
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +6 -4
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +4 -4
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +6 -6
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +6 -6
- package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +5 -4
- package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -2
- package/dist/squirrel/components/p-loading/usePLoading.d.ts +7 -3
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +10 -8
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +6 -4
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +14 -11
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +8 -6
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +29 -27
- package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +4 -4
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +8 -6
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +6 -4
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +4 -4
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +4 -4
- package/dist/squirrel/utils/inputClassesMixin.d.ts +2 -2
- package/dist/squirrel/utils/object.d.ts +1 -1
- package/dist/style.css +6 -6
- package/package.json +22 -22
- package/squirrel/components/p-loading/p-loading.spec.js +71 -13
- package/squirrel/components/p-loading/p-loading.stories.js +61 -4
- package/squirrel/components/p-loading/p-loading.vue +27 -3
- package/squirrel/components/p-loading/usePLoading.ts +46 -13
- package/squirrel/components/p-select-list/p-select-list.utils.ts +1 -1
|
@@ -1,22 +1,23 @@
|
|
|
1
|
+
import { type InputSize } from '../../utils/inputClassesShared';
|
|
1
2
|
import { type PropType } from 'vue';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
modelValue: {
|
|
4
|
-
type: PropType<
|
|
5
|
+
type: PropType<number | string | null | undefined>;
|
|
5
6
|
default: null;
|
|
6
7
|
};
|
|
7
8
|
size: {
|
|
8
|
-
type: PropType<
|
|
9
|
+
type: PropType<InputSize>;
|
|
9
10
|
default: string;
|
|
10
11
|
};
|
|
11
12
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
13
|
"update:modelValue": (...args: any[]) => void;
|
|
13
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
15
|
modelValue: {
|
|
15
|
-
type: PropType<
|
|
16
|
+
type: PropType<number | string | null | undefined>;
|
|
16
17
|
default: null;
|
|
17
18
|
};
|
|
18
19
|
size: {
|
|
19
|
-
type: PropType<
|
|
20
|
+
type: PropType<InputSize>;
|
|
20
21
|
default: string;
|
|
21
22
|
};
|
|
22
23
|
}>> & {
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
size: {
|
|
9
|
-
type: PropType<
|
|
9
|
+
type: PropType<InputSize>;
|
|
10
10
|
default: string;
|
|
11
11
|
validator(value: InputSize): boolean;
|
|
12
12
|
};
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
size: {
|
|
33
|
-
type: PropType<
|
|
33
|
+
type: PropType<InputSize>;
|
|
34
34
|
default: string;
|
|
35
35
|
validator(value: InputSize): boolean;
|
|
36
36
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { type Component, type Ref } from 'vue';
|
|
1
2
|
type Options = {
|
|
2
3
|
delay?: number;
|
|
3
4
|
};
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
type Content = string | Component;
|
|
6
|
+
type UsePLoading = {
|
|
7
|
+
show: Ref<boolean>;
|
|
8
|
+
content: Content;
|
|
9
|
+
loadingShow: (content?: Content) => () => void;
|
|
7
10
|
loadingHide: () => void;
|
|
8
11
|
};
|
|
12
|
+
export declare const usePLoading: (options?: Options) => UsePLoading;
|
|
9
13
|
export {};
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { type PropType, type StyleValue } from 'vue';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
"title-wrapper"?(_: {}): any;
|
|
4
|
+
"content-wrapper"?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
"footer-wrapper"?(_: {}): any;
|
|
7
|
+
footer?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
3
10
|
name: {
|
|
4
11
|
type: StringConstructor;
|
|
5
12
|
default: string;
|
|
@@ -189,13 +196,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
189
196
|
modalStyle: StyleValue;
|
|
190
197
|
bgInClass: string;
|
|
191
198
|
bgOutClass: string;
|
|
192
|
-
}, {}
|
|
193
|
-
|
|
194
|
-
"content-wrapper"?(_: {}): any;
|
|
195
|
-
default?(_: {}): any;
|
|
196
|
-
"footer-wrapper"?(_: {}): any;
|
|
197
|
-
footer?(_: {}): any;
|
|
198
|
-
}>;
|
|
199
|
+
}, {}>;
|
|
200
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
199
201
|
export default _default;
|
|
200
202
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
201
203
|
new (): {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
"no-results"?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
2
5
|
/**
|
|
3
6
|
* The current page.
|
|
4
7
|
*/
|
|
@@ -61,9 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
61
64
|
count: number;
|
|
62
65
|
pageSize: number;
|
|
63
66
|
currentPage: number;
|
|
64
|
-
}, {}
|
|
65
|
-
|
|
66
|
-
}>;
|
|
67
|
+
}, {}>;
|
|
68
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
67
69
|
export default _default;
|
|
68
70
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
71
|
new (): {
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { type InputSize } from '../../utils/inputClassesShared';
|
|
1
2
|
import { type PropType } from 'vue';
|
|
2
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
label?(_: {
|
|
5
|
+
label: string;
|
|
6
|
+
labelClasses: string;
|
|
7
|
+
}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
3
10
|
modelValue: {
|
|
4
11
|
type: PropType<string | number | boolean | null>;
|
|
5
12
|
default: string;
|
|
@@ -21,9 +28,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
28
|
default: boolean;
|
|
22
29
|
};
|
|
23
30
|
size: {
|
|
24
|
-
type: PropType<
|
|
31
|
+
type: PropType<InputSize>;
|
|
25
32
|
default: string;
|
|
26
|
-
validator(value:
|
|
33
|
+
validator(value: InputSize): boolean;
|
|
27
34
|
};
|
|
28
35
|
itemText: {
|
|
29
36
|
type: StringConstructor;
|
|
@@ -57,9 +64,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
57
64
|
default: boolean;
|
|
58
65
|
};
|
|
59
66
|
size: {
|
|
60
|
-
type: PropType<
|
|
67
|
+
type: PropType<InputSize>;
|
|
61
68
|
default: string;
|
|
62
|
-
validator(value:
|
|
69
|
+
validator(value: InputSize): boolean;
|
|
63
70
|
};
|
|
64
71
|
itemText: {
|
|
65
72
|
type: StringConstructor;
|
|
@@ -80,12 +87,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
80
87
|
itemText: string;
|
|
81
88
|
errorMsg: string;
|
|
82
89
|
itemValue: string | number | boolean | null;
|
|
83
|
-
}, {}
|
|
84
|
-
|
|
85
|
-
label: string;
|
|
86
|
-
labelClasses: string;
|
|
87
|
-
}): any;
|
|
88
|
-
}>;
|
|
90
|
+
}, {}>;
|
|
91
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
89
92
|
export default _default;
|
|
90
93
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
91
94
|
new (): {
|
|
@@ -13,7 +13,11 @@ type Props = {
|
|
|
13
13
|
multiple?: boolean;
|
|
14
14
|
noPadding?: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare
|
|
16
|
+
declare function __VLS_template(): Partial<Record<`btn-${number}`, (_: {
|
|
17
|
+
item: BtnGroupItem;
|
|
18
|
+
isSelected: boolean | undefined;
|
|
19
|
+
}) => any>>;
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
17
21
|
modelValue: null;
|
|
18
22
|
items: () => never[];
|
|
19
23
|
itemValue: string;
|
|
@@ -43,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
47
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
44
48
|
}, {
|
|
45
49
|
size: Size;
|
|
46
|
-
modelValue: string | number | BtnGroupItem[]
|
|
50
|
+
modelValue: string | number | null | BtnGroupItem[];
|
|
47
51
|
items: BtnGroupItem[] | readonly BtnGroupItem[];
|
|
48
52
|
itemText: string;
|
|
49
53
|
itemValue: string | number;
|
|
@@ -53,10 +57,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
53
57
|
highlightSelected: boolean;
|
|
54
58
|
grow: boolean;
|
|
55
59
|
noPadding: boolean;
|
|
56
|
-
}, {}
|
|
57
|
-
|
|
58
|
-
isSelected: boolean | undefined;
|
|
59
|
-
}) => any>>>;
|
|
60
|
+
}, {}>;
|
|
61
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
60
62
|
export default _default;
|
|
61
63
|
type __VLS_WithDefaults<P, D> = {
|
|
62
64
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,6 +1,27 @@
|
|
|
1
|
-
import { type AnyObject, type AnyValue, type ModelValue } from './p-select-list.types';
|
|
1
|
+
import { type AnyObject, type AnyValue, type ModelValue, type Size } from './p-select-list.types';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): Readonly<{
|
|
4
|
+
'selected-item'(props: {
|
|
5
|
+
item: any;
|
|
6
|
+
}): unknown;
|
|
7
|
+
'no-items'(): unknown;
|
|
8
|
+
item(props: {
|
|
9
|
+
item: any;
|
|
10
|
+
isItemSelected: boolean;
|
|
11
|
+
itemTextSplit: string[];
|
|
12
|
+
}): unknown;
|
|
13
|
+
}> & {
|
|
14
|
+
'selected-item'(props: {
|
|
15
|
+
item: any;
|
|
16
|
+
}): unknown;
|
|
17
|
+
'no-items'(): unknown;
|
|
18
|
+
item(props: {
|
|
19
|
+
item: any;
|
|
20
|
+
isItemSelected: boolean;
|
|
21
|
+
itemTextSplit: string[];
|
|
22
|
+
}): unknown;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
4
25
|
modelValue: {
|
|
5
26
|
type: PropType<ModelValue>;
|
|
6
27
|
default: null;
|
|
@@ -35,9 +56,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
35
56
|
default: boolean;
|
|
36
57
|
};
|
|
37
58
|
size: {
|
|
38
|
-
type: PropType<
|
|
59
|
+
type: PropType<Size>;
|
|
39
60
|
default: string;
|
|
40
|
-
validator(value:
|
|
61
|
+
validator(value: Size): boolean;
|
|
41
62
|
};
|
|
42
63
|
/**
|
|
43
64
|
* Set property of **items**’s text value
|
|
@@ -146,9 +167,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
146
167
|
default: boolean;
|
|
147
168
|
};
|
|
148
169
|
size: {
|
|
149
|
-
type: PropType<
|
|
170
|
+
type: PropType<Size>;
|
|
150
171
|
default: string;
|
|
151
|
-
validator(value:
|
|
172
|
+
validator(value: Size): boolean;
|
|
152
173
|
};
|
|
153
174
|
/**
|
|
154
175
|
* Set property of **items**’s text value
|
|
@@ -241,27 +262,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
241
262
|
selectedTopShown: boolean;
|
|
242
263
|
topSectionClass: string;
|
|
243
264
|
closePopperOnSelect: boolean;
|
|
244
|
-
}, {}
|
|
245
|
-
|
|
246
|
-
item: any;
|
|
247
|
-
}): unknown;
|
|
248
|
-
'no-items'(): unknown;
|
|
249
|
-
item(props: {
|
|
250
|
-
item: any;
|
|
251
|
-
isItemSelected: boolean;
|
|
252
|
-
itemTextSplit: string[];
|
|
253
|
-
}): unknown;
|
|
254
|
-
}> & {
|
|
255
|
-
'selected-item'(props: {
|
|
256
|
-
item: any;
|
|
257
|
-
}): unknown;
|
|
258
|
-
'no-items'(): unknown;
|
|
259
|
-
item(props: {
|
|
260
|
-
item: any;
|
|
261
|
-
isItemSelected: boolean;
|
|
262
|
-
itemTextSplit: string[];
|
|
263
|
-
}): unknown;
|
|
264
|
-
}>;
|
|
265
|
+
}, {}>;
|
|
266
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
265
267
|
export default _default;
|
|
266
268
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
267
269
|
new (): {
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
items: {
|
|
20
|
-
type: PropType<[] |
|
|
20
|
+
type: PropType<Option[] | [] | undefined | null>;
|
|
21
21
|
default: () => never[];
|
|
22
22
|
};
|
|
23
23
|
itemText: {
|
|
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
35
|
size: {
|
|
36
|
-
type: PropType<
|
|
36
|
+
type: PropType<Size>;
|
|
37
37
|
default: string;
|
|
38
38
|
validator(value: Size): boolean;
|
|
39
39
|
};
|
|
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
53
|
default: string;
|
|
54
54
|
};
|
|
55
55
|
items: {
|
|
56
|
-
type: PropType<[] |
|
|
56
|
+
type: PropType<Option[] | [] | undefined | null>;
|
|
57
57
|
default: () => never[];
|
|
58
58
|
};
|
|
59
59
|
itemText: {
|
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
71
|
size: {
|
|
72
|
-
type: PropType<
|
|
72
|
+
type: PropType<Size>;
|
|
73
73
|
default: string;
|
|
74
74
|
validator(value: Size): boolean;
|
|
75
75
|
};
|
|
@@ -11,7 +11,12 @@ type Props = {
|
|
|
11
11
|
paddingBottom: number;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
declare
|
|
14
|
+
declare function __VLS_template(): Partial<Record<`prepend-header-cell-${string}`, (_: {
|
|
15
|
+
col: TableCol;
|
|
16
|
+
}) => any>> & Partial<Record<`subheader-cell-${string}`, (_: {}) => any>> & {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
15
20
|
colsResizable: boolean;
|
|
16
21
|
isFirstColFixed: boolean;
|
|
17
22
|
isLastColFixed: boolean;
|
|
@@ -49,11 +54,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
49
54
|
paddingTop: number;
|
|
50
55
|
paddingBottom: number;
|
|
51
56
|
};
|
|
52
|
-
}, {}
|
|
53
|
-
|
|
54
|
-
}) => any>> & Partial<Record<`subheader-cell-${string}`, (_: {}) => any>> & {
|
|
55
|
-
default?(_: {}): any;
|
|
56
|
-
}>;
|
|
57
|
+
}, {}>;
|
|
58
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
57
59
|
export default _default;
|
|
58
60
|
type __VLS_WithDefaults<P, D> = {
|
|
59
61
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -3,7 +3,10 @@ type Props = {
|
|
|
3
3
|
isEditable?: boolean;
|
|
4
4
|
isSelected?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
7
10
|
isEditable: boolean;
|
|
8
11
|
isSelected: boolean;
|
|
9
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
@@ -12,9 +15,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
15
|
}>>>, {
|
|
13
16
|
isSelected: boolean;
|
|
14
17
|
isEditable: boolean;
|
|
15
|
-
}, {}
|
|
16
|
-
|
|
17
|
-
}>;
|
|
18
|
+
}, {}>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
20
|
export default _default;
|
|
19
21
|
type __VLS_WithDefaults<P, D> = {
|
|
20
22
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -25,9 +25,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
updateValue(e: Event): void;
|
|
26
26
|
}, import("vue").DefineComponent<{
|
|
27
27
|
size: {
|
|
28
|
-
type: import("vue").PropType<"
|
|
28
|
+
type: import("vue").PropType<import("../../index.js").InputSize>;
|
|
29
29
|
default: string;
|
|
30
|
-
validator(value: "
|
|
30
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
31
31
|
};
|
|
32
32
|
errorMsg: {
|
|
33
33
|
type: StringConstructor;
|
|
@@ -50,9 +50,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
textareaClasses(): string;
|
|
51
51
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
52
|
size: {
|
|
53
|
-
type: import("vue").PropType<"
|
|
53
|
+
type: import("vue").PropType<import("../../index.js").InputSize>;
|
|
54
54
|
default: string;
|
|
55
|
-
validator(value: "
|
|
55
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
56
56
|
};
|
|
57
57
|
errorMsg: {
|
|
58
58
|
type: StringConstructor;
|
|
@@ -27,9 +27,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
change(e: Event): void;
|
|
28
28
|
}, import("vue").DefineComponent<{
|
|
29
29
|
size: {
|
|
30
|
-
type: import("vue").PropType<"
|
|
30
|
+
type: import("vue").PropType<import("../../index.js").InputSize>;
|
|
31
31
|
default: string;
|
|
32
|
-
validator(value: "
|
|
32
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
33
33
|
};
|
|
34
34
|
errorMsg: {
|
|
35
35
|
type: StringConstructor;
|
|
@@ -52,9 +52,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
textareaClasses(): string;
|
|
53
53
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
54
|
size: {
|
|
55
|
-
type: import("vue").PropType<"
|
|
55
|
+
type: import("vue").PropType<import("../../index.js").InputSize>;
|
|
56
56
|
default: string;
|
|
57
|
-
validator(value: "
|
|
57
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
58
58
|
};
|
|
59
59
|
errorMsg: {
|
|
60
60
|
type: StringConstructor;
|
|
@@ -2,7 +2,7 @@ import { type InputSize } from './inputClassesShared';
|
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
size: {
|
|
5
|
-
type: PropType<
|
|
5
|
+
type: PropType<InputSize>;
|
|
6
6
|
default: string;
|
|
7
7
|
validator(value: InputSize): boolean;
|
|
8
8
|
};
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
textareaClasses(): string;
|
|
28
28
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
size: {
|
|
30
|
-
type: PropType<
|
|
30
|
+
type: PropType<InputSize>;
|
|
31
31
|
default: string;
|
|
32
32
|
validator(value: InputSize): boolean;
|
|
33
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isObject: (val: unknown) =>
|
|
1
|
+
export declare const isObject: (val: unknown) => val is object;
|
package/dist/style.css
CHANGED
|
@@ -381,12 +381,12 @@ from {
|
|
|
381
381
|
to {
|
|
382
382
|
opacity: 0;
|
|
383
383
|
}
|
|
384
|
-
}.fadeInDown[data-v-
|
|
384
|
+
}.fadeInDown[data-v-8d505d00] {
|
|
385
385
|
animation-duration: 0.4s;
|
|
386
386
|
animation-fill-mode: both;
|
|
387
|
-
animation-name: fadeInDown-
|
|
387
|
+
animation-name: fadeInDown-8d505d00;
|
|
388
388
|
}
|
|
389
|
-
@keyframes fadeInDown-
|
|
389
|
+
@keyframes fadeInDown-8d505d00 {
|
|
390
390
|
0% {
|
|
391
391
|
opacity: 0;
|
|
392
392
|
transform: translate3d(0, -100%, 0);
|
|
@@ -396,12 +396,12 @@ to {
|
|
|
396
396
|
transform: none;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
.fadeOutUp[data-v-
|
|
399
|
+
.fadeOutUp[data-v-8d505d00] {
|
|
400
400
|
animation-duration: 0.25s;
|
|
401
401
|
animation-fill-mode: both;
|
|
402
|
-
animation-name: fadeOutUp-
|
|
402
|
+
animation-name: fadeOutUp-8d505d00;
|
|
403
403
|
}
|
|
404
|
-
@keyframes fadeOutUp-
|
|
404
|
+
@keyframes fadeOutUp-8d505d00 {
|
|
405
405
|
0% {
|
|
406
406
|
opacity: 1;
|
|
407
407
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pequity/squirrel",
|
|
3
3
|
"description": "Squirrel component library",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"packageManager": "pnpm@8.9.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
@@ -58,26 +58,26 @@
|
|
|
58
58
|
"@popperjs/core": "2.11.8",
|
|
59
59
|
"@semantic-release/changelog": "^6.0.3",
|
|
60
60
|
"@semantic-release/git": "^10.0.1",
|
|
61
|
-
"@storybook/addon-a11y": "^8.1.
|
|
62
|
-
"@storybook/addon-actions": "^8.1.
|
|
63
|
-
"@storybook/addon-essentials": "^8.1.
|
|
64
|
-
"@storybook/addon-interactions": "^8.1.
|
|
65
|
-
"@storybook/addon-links": "^8.1.
|
|
66
|
-
"@storybook/blocks": "^8.1.
|
|
61
|
+
"@storybook/addon-a11y": "^8.1.11",
|
|
62
|
+
"@storybook/addon-actions": "^8.1.11",
|
|
63
|
+
"@storybook/addon-essentials": "^8.1.11",
|
|
64
|
+
"@storybook/addon-interactions": "^8.1.11",
|
|
65
|
+
"@storybook/addon-links": "^8.1.11",
|
|
66
|
+
"@storybook/blocks": "^8.1.11",
|
|
67
67
|
"@storybook/jest": "^0.2.3",
|
|
68
|
-
"@storybook/manager-api": "^8.1.
|
|
68
|
+
"@storybook/manager-api": "^8.1.11",
|
|
69
69
|
"@storybook/test-runner": "^0.19.0",
|
|
70
70
|
"@storybook/testing-library": "^0.2.2",
|
|
71
|
-
"@storybook/theming": "^8.1.
|
|
72
|
-
"@storybook/vue3": "^8.1.
|
|
73
|
-
"@storybook/vue3-vite": "^8.1.
|
|
74
|
-
"@tanstack/vue-virtual": "3.
|
|
71
|
+
"@storybook/theming": "^8.1.11",
|
|
72
|
+
"@storybook/vue3": "^8.1.11",
|
|
73
|
+
"@storybook/vue3-vite": "^8.1.11",
|
|
74
|
+
"@tanstack/vue-virtual": "3.8.1",
|
|
75
75
|
"@types/jest": "^29.5.12",
|
|
76
76
|
"@types/jsdom": "^21.1.7",
|
|
77
77
|
"@types/lodash-es": "^4.17.12",
|
|
78
|
-
"@types/node": "^20.14.
|
|
78
|
+
"@types/node": "^20.14.10",
|
|
79
79
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
80
|
-
"@vue/compiler-sfc": "3.4.
|
|
80
|
+
"@vue/compiler-sfc": "3.4.31",
|
|
81
81
|
"@vue/test-utils": "^2.4.6",
|
|
82
82
|
"@vue/vue3-jest": "^29.2.6",
|
|
83
83
|
"autoprefixer": "^10.4.19",
|
|
@@ -86,31 +86,31 @@
|
|
|
86
86
|
"eslint": "^8.57.0",
|
|
87
87
|
"eslint-plugin-storybook": "^0.8.0",
|
|
88
88
|
"floating-vue": "5.2.2",
|
|
89
|
-
"glob": "^10.4.
|
|
89
|
+
"glob": "^10.4.3",
|
|
90
90
|
"husky": "^9.0.11",
|
|
91
91
|
"jest": "^29.7.0",
|
|
92
92
|
"jest-environment-jsdom": "^29.7.0",
|
|
93
93
|
"lint-staged": "^15.2.7",
|
|
94
94
|
"lodash-es": "4.17.21",
|
|
95
95
|
"make-coverage-badge": "^1.2.0",
|
|
96
|
-
"postcss": "^8.4.
|
|
96
|
+
"postcss": "^8.4.39",
|
|
97
97
|
"prettier": "^3.3.2",
|
|
98
98
|
"prettier-plugin-tailwindcss": "^0.6.5",
|
|
99
99
|
"resolve-tspaths": "^0.8.19",
|
|
100
|
-
"rimraf": "^5.0.
|
|
100
|
+
"rimraf": "^5.0.8",
|
|
101
101
|
"sass": "^1.77.6",
|
|
102
102
|
"semantic-release": "^24.0.0",
|
|
103
|
-
"storybook": "^8.1.
|
|
103
|
+
"storybook": "^8.1.11",
|
|
104
104
|
"svgo": "^3.3.2",
|
|
105
105
|
"tailwindcss": "^3.4.4",
|
|
106
106
|
"ts-jest": "^29.1.5",
|
|
107
|
-
"typescript": "5.
|
|
107
|
+
"typescript": "5.5.3",
|
|
108
108
|
"v-calendar": "3.1.2",
|
|
109
|
-
"vite": "^5.3.
|
|
110
|
-
"vue": "3.4.
|
|
109
|
+
"vite": "^5.3.3",
|
|
110
|
+
"vue": "3.4.31",
|
|
111
111
|
"vue-currency-input": "3.1.0",
|
|
112
112
|
"vue-router": "4.4.0",
|
|
113
113
|
"vue-toastification": "2.0.0-rc.5",
|
|
114
|
-
"vue-tsc": "2.0.
|
|
114
|
+
"vue-tsc": "2.0.26"
|
|
115
115
|
}
|
|
116
116
|
}
|