@pequity/squirrel 4.1.1 → 5.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/link.js +1 -5
- package/dist/cjs/p-drawer.js +2 -6
- package/dist/cjs/p-inline-date-picker.js +6 -4
- package/dist/cjs/p-loading.js +3 -3
- package/dist/es/link.js +1 -5
- package/dist/es/p-drawer.js +2 -6
- package/dist/es/p-inline-date-picker.js +6 -4
- package/dist/es/p-loading.js +4 -4
- package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +0 -1
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +14 -6
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +12 -4
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +1 -2
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +119 -21
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +9 -3
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +14 -1
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +15 -9
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +17 -8
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +9 -3
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +13 -6
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +21 -15
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +118 -21
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +23 -14
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +19 -12
- package/dist/style.css +34 -34
- package/package.json +8 -8
- package/squirrel/components/p-drawer/p-drawer.vue +4 -7
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +176 -0
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +7 -7
- package/squirrel/components/p-input-number/p-input-number.spec.js +0 -1
- package/squirrel/components/p-loading/p-loading.spec.js +36 -25
- package/squirrel/components/p-loading/p-loading.vue +22 -15
- package/squirrel/utils/link.spec.js +26 -12
- package/squirrel/utils/link.ts +1 -14
|
@@ -13,10 +13,16 @@ type Props = {
|
|
|
13
13
|
multiple?: boolean;
|
|
14
14
|
noPadding?: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
declare var __VLS_inheritedAttrs: {};
|
|
17
|
+
declare const __VLS_templateResult: {
|
|
18
|
+
slots: Partial<Record<`btn-${number}`, (_: {
|
|
19
|
+
item: BtnGroupItem;
|
|
20
|
+
isSelected: boolean | undefined;
|
|
21
|
+
}) => any>>;
|
|
22
|
+
refs: {};
|
|
23
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
20
26
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
21
27
|
modelValue: null;
|
|
22
28
|
items: () => never[];
|
|
@@ -50,29 +56,21 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
50
56
|
modelValue: string | number | null | BtnGroupItem[];
|
|
51
57
|
items: BtnGroupItem[] | readonly BtnGroupItem[];
|
|
52
58
|
itemText: string;
|
|
59
|
+
grow: boolean;
|
|
53
60
|
itemValue: string | number;
|
|
54
61
|
multiple: boolean;
|
|
55
62
|
itemTooltipText: string;
|
|
56
63
|
showTooltip: boolean;
|
|
57
64
|
highlightSelected: boolean;
|
|
58
|
-
grow: boolean;
|
|
59
65
|
noPadding: boolean;
|
|
60
66
|
}, {}>;
|
|
61
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
67
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
62
68
|
export default _default;
|
|
63
69
|
type __VLS_WithDefaults<P, D> = {
|
|
64
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
70
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
65
71
|
default: D[K];
|
|
66
72
|
}> : P[K];
|
|
67
73
|
};
|
|
68
|
-
type __VLS_Prettify<T> = {
|
|
69
|
-
[K in keyof T]: T[K];
|
|
70
|
-
} & {};
|
|
71
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
|
-
new (): {
|
|
73
|
-
$slots: S;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
74
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
77
75
|
type __VLS_TypePropsToOption<T> = {
|
|
78
76
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -82,3 +80,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
82
80
|
required: true;
|
|
83
81
|
};
|
|
84
82
|
};
|
|
83
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
type __VLS_PrettifyLocal<T> = {
|
|
89
|
+
[K in keyof T]: T[K];
|
|
90
|
+
} & {};
|
|
@@ -1,26 +1,123 @@
|
|
|
1
1
|
import { type AnyObject, type AnyValue, type ModelValue, type Size } from './p-select-list.types';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
3
|
+
declare var __VLS_inheritedAttrs: {};
|
|
4
|
+
declare const __VLS_templateResult: {
|
|
5
|
+
slots: Readonly<{
|
|
6
|
+
'selected-item'(props: {
|
|
7
|
+
item: any;
|
|
8
|
+
}): unknown;
|
|
9
|
+
'no-items'(): unknown;
|
|
10
|
+
item(props: {
|
|
11
|
+
item: any;
|
|
12
|
+
isItemSelected: boolean;
|
|
13
|
+
itemTextSplit: string[];
|
|
14
|
+
}): unknown;
|
|
15
|
+
}> & {
|
|
16
|
+
'selected-item'(props: {
|
|
17
|
+
item: any;
|
|
18
|
+
}): unknown;
|
|
19
|
+
'no-items'(): unknown;
|
|
20
|
+
item(props: {
|
|
21
|
+
item: any;
|
|
22
|
+
isItemSelected: boolean;
|
|
23
|
+
itemTextSplit: string[];
|
|
24
|
+
}): unknown;
|
|
25
|
+
};
|
|
26
|
+
refs: {
|
|
27
|
+
formControl: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
28
|
+
actionsContainer: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
29
|
+
inputSearch: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: PropType<import("../..").InputSize>;
|
|
36
|
+
default: string;
|
|
37
|
+
validator(value: import("../..").InputSize): boolean;
|
|
38
|
+
};
|
|
39
|
+
showEnterIcon: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
onEnter?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
}, unknown, {
|
|
47
|
+
query: string;
|
|
48
|
+
showEnterIconOnFocus: boolean;
|
|
49
|
+
}, {
|
|
50
|
+
searchIconClasses(): string;
|
|
51
|
+
enterIconClasses(): string;
|
|
52
|
+
clearIconClasses(): string;
|
|
53
|
+
}, {
|
|
54
|
+
clearSearch(): void;
|
|
55
|
+
keydownEnter(): void;
|
|
56
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
modelValue: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
size: {
|
|
62
|
+
type: PropType<import("../..").InputSize>;
|
|
63
|
+
default: string;
|
|
64
|
+
validator(value: import("../..").InputSize): boolean;
|
|
65
|
+
};
|
|
66
|
+
showEnterIcon: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
onEnter?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
size: "sm" | "lg" | "md";
|
|
75
|
+
modelValue: string;
|
|
76
|
+
showEnterIcon: boolean;
|
|
77
|
+
}, true, {}, {}, {
|
|
78
|
+
P: {};
|
|
79
|
+
B: {};
|
|
80
|
+
D: {};
|
|
81
|
+
C: {};
|
|
82
|
+
M: {};
|
|
83
|
+
Defaults: {};
|
|
84
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
modelValue: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
size: {
|
|
90
|
+
type: PropType<import("../..").InputSize>;
|
|
91
|
+
default: string;
|
|
92
|
+
validator(value: import("../..").InputSize): boolean;
|
|
93
|
+
};
|
|
94
|
+
showEnterIcon: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
}>> & {
|
|
99
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
onEnter?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
}, {}, {
|
|
102
|
+
query: string;
|
|
103
|
+
showEnterIconOnFocus: boolean;
|
|
104
|
+
}, {
|
|
105
|
+
searchIconClasses(): string;
|
|
106
|
+
enterIconClasses(): string;
|
|
107
|
+
clearIconClasses(): string;
|
|
108
|
+
}, {
|
|
109
|
+
clearSearch(): void;
|
|
110
|
+
keydownEnter(): void;
|
|
111
|
+
}, {
|
|
112
|
+
size: "sm" | "lg" | "md";
|
|
113
|
+
modelValue: string;
|
|
114
|
+
showEnterIcon: boolean;
|
|
115
|
+
}> | null;
|
|
116
|
+
virtualizerRef: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
117
|
+
};
|
|
118
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
23
119
|
};
|
|
120
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
24
121
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
25
122
|
modelValue: {
|
|
26
123
|
type: PropType<ModelValue>;
|
|
@@ -263,7 +360,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
263
360
|
topSectionClass: string;
|
|
264
361
|
closePopperOnSelect: boolean;
|
|
265
362
|
}, {}>;
|
|
266
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
363
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
267
364
|
export default _default;
|
|
268
365
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
269
366
|
new (): {
|
|
@@ -11,11 +11,20 @@ type Props = {
|
|
|
11
11
|
paddingBottom: number;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
declare
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
declare var __VLS_11: {};
|
|
15
|
+
declare var __VLS_inheritedAttrs: {};
|
|
16
|
+
declare const __VLS_templateResult: {
|
|
17
|
+
slots: Partial<Record<`prepend-header-cell-${string}`, (_: {
|
|
18
|
+
col: TableCol;
|
|
19
|
+
}) => any>> & Partial<Record<`subheader-cell-${string}`, (_: {}) => any>> & {
|
|
20
|
+
default?(_: typeof __VLS_11): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {
|
|
23
|
+
scrollWrapper: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
24
|
+
};
|
|
25
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
18
26
|
};
|
|
27
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
19
28
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
20
29
|
colsResizable: boolean;
|
|
21
30
|
isFirstColFixed: boolean;
|
|
@@ -55,21 +64,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
55
64
|
paddingBottom: number;
|
|
56
65
|
};
|
|
57
66
|
}, {}>;
|
|
58
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
67
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
59
68
|
export default _default;
|
|
60
69
|
type __VLS_WithDefaults<P, D> = {
|
|
61
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
70
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
62
71
|
default: D[K];
|
|
63
72
|
}> : P[K];
|
|
64
73
|
};
|
|
65
|
-
type __VLS_Prettify<T> = {
|
|
66
|
-
[K in keyof T]: T[K];
|
|
67
|
-
} & {};
|
|
68
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
-
new (): {
|
|
70
|
-
$slots: S;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
74
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
74
75
|
type __VLS_TypePropsToOption<T> = {
|
|
75
76
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -79,3 +80,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
79
80
|
required: true;
|
|
80
81
|
};
|
|
81
82
|
};
|
|
83
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
type __VLS_PrettifyLocal<T> = {
|
|
89
|
+
[K in keyof T]: T[K];
|
|
90
|
+
} & {};
|
|
@@ -3,9 +3,16 @@ type Props = {
|
|
|
3
3
|
isEditable?: boolean;
|
|
4
4
|
isSelected?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
7
|
-
|
|
6
|
+
declare var __VLS_0: {};
|
|
7
|
+
declare var __VLS_inheritedAttrs: {};
|
|
8
|
+
declare const __VLS_templateResult: {
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: typeof __VLS_0): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
8
14
|
};
|
|
15
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
9
16
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
10
17
|
isEditable: boolean;
|
|
11
18
|
isSelected: boolean;
|
|
@@ -16,21 +23,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
16
23
|
isSelected: boolean;
|
|
17
24
|
isEditable: boolean;
|
|
18
25
|
}, {}>;
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
27
|
export default _default;
|
|
21
28
|
type __VLS_WithDefaults<P, D> = {
|
|
22
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
23
30
|
default: D[K];
|
|
24
31
|
}> : P[K];
|
|
25
32
|
};
|
|
26
|
-
type __VLS_Prettify<T> = {
|
|
27
|
-
[K in keyof T]: T[K];
|
|
28
|
-
} & {};
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
34
|
type __VLS_TypePropsToOption<T> = {
|
|
36
35
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -40,3 +39,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
40
39
|
required: true;
|
|
41
40
|
};
|
|
42
41
|
};
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
type __VLS_PrettifyLocal<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
package/dist/style.css
CHANGED
|
@@ -270,7 +270,7 @@ input[type='checkbox'][data-v-01f2e2c0]:checked {
|
|
|
270
270
|
.x-white-icon[data-v-f61993bb] {
|
|
271
271
|
background-image: url("data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Remove'%20clip-path='url(%23clip0_3453_5756)'%3e%3cpath%20id='Vector'%20d='M0.219996%2010.72C0.149851%2010.7893%200.0941591%2010.8718%200.0561487%2010.9628C0.0181382%2011.0537%20-0.00143433%2011.1514%20-0.00143433%2011.25C-0.00143433%2011.3486%200.0181382%2011.4462%200.0561487%2011.5372C0.0941591%2011.6281%200.149851%2011.7107%200.219996%2011.78C0.360622%2011.9204%200.551246%2011.9993%200.749996%2011.9993C0.948747%2011.9993%201.13937%2011.9204%201.28%2011.78L5.91%207.14997C5.92166%207.13787%205.93564%207.12825%205.9511%207.12168C5.96656%207.1151%205.98319%207.11172%206%207.11172C6.0168%207.11172%206.03343%207.1151%206.04889%207.12168C6.06436%207.12825%206.07834%207.13787%206.09%207.14997L10.72%2011.78C10.8606%2011.9204%2011.0512%2011.9993%2011.25%2011.9993C11.4487%2011.9993%2011.6394%2011.9204%2011.78%2011.78C11.8501%2011.7107%2011.9058%2011.6281%2011.9438%2011.5372C11.9819%2011.4462%2012.0014%2011.3486%2012.0014%2011.25C12.0014%2011.1514%2011.9819%2011.0537%2011.9438%2010.9628C11.9058%2010.8718%2011.8501%2010.7893%2011.78%2010.72L7.15%206.08997C7.1379%206.07831%207.12828%206.06433%207.1217%206.04886C7.11513%206.0334%207.11174%206.01677%207.11174%205.99997C7.11174%205.98317%207.11513%205.96654%207.1217%205.95107C7.12828%205.93561%207.1379%205.92163%207.15%205.90997L11.78%201.27997C11.9125%201.13779%2011.9846%200.949747%2011.9812%200.755446C11.9777%200.561145%2011.899%200.37576%2011.7616%200.238347C11.6242%200.100934%2011.4388%200.0222218%2011.2445%200.0187936C11.0502%200.0153654%2010.8622%200.0874886%2010.72%200.219969L6.09%204.84997C6.07834%204.86207%206.06436%204.87169%206.04889%204.87826C6.03343%204.88483%206.0168%204.88822%206%204.88822C5.98319%204.88822%205.96656%204.88483%205.9511%204.87826C5.93564%204.87169%205.92166%204.86207%205.91%204.84997L1.28%200.219969C1.13782%200.0874886%200.949775%200.0153654%200.755474%200.0187936C0.561173%200.0222218%200.375787%200.100934%200.238374%200.238347C0.100961%200.37576%200.0222494%200.561145%200.0188212%200.755446C0.015393%200.949747%200.0875162%201.13779%200.219996%201.27997L4.85%205.90997C4.86209%205.92163%204.87172%205.93561%204.87829%205.95107C4.88486%205.96654%204.88825%205.98317%204.88825%205.99997C4.88825%206.01677%204.88486%206.0334%204.87829%206.04886C4.87172%206.06433%204.86209%206.07831%204.85%206.08997L0.219996%2010.72Z'%20fill='%23FFFFFF'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3453_5756'%3e%3crect%20width='12'%20height='12'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
|
|
272
272
|
}
|
|
273
|
-
.drawer[data-v-
|
|
273
|
+
.drawer[data-v-a1affdb7] {
|
|
274
274
|
position: fixed;
|
|
275
275
|
bottom: 0px;
|
|
276
276
|
top: 0px;
|
|
@@ -282,18 +282,18 @@ input[type='checkbox'][data-v-01f2e2c0]:checked {
|
|
|
282
282
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
283
283
|
outline: 2px solid transparent;
|
|
284
284
|
outline-offset: 2px;
|
|
285
|
-
max-width: var(--
|
|
285
|
+
max-width: var(--3e3927a8);
|
|
286
286
|
width: 100%;
|
|
287
287
|
}
|
|
288
|
-
.drawer.drawer-left[data-v-
|
|
288
|
+
.drawer.drawer-left[data-v-a1affdb7] {
|
|
289
289
|
left: 0px;
|
|
290
290
|
}
|
|
291
|
-
.drawer.drawer-right[data-v-
|
|
291
|
+
.drawer.drawer-right[data-v-a1affdb7] {
|
|
292
292
|
right: 0px;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
/* Slide from right animations */
|
|
296
|
-
@keyframes slideInRight-
|
|
296
|
+
@keyframes slideInRight-a1affdb7 {
|
|
297
297
|
0% {
|
|
298
298
|
transform: translate3d(100%, 0, 0);
|
|
299
299
|
visibility: visible;
|
|
@@ -302,12 +302,12 @@ input[type='checkbox'][data-v-01f2e2c0]:checked {
|
|
|
302
302
|
transform: translate3d(0, 0, 0);
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
.slideInRight[data-v-
|
|
306
|
-
animation-duration:
|
|
305
|
+
.slideInRight[data-v-a1affdb7] {
|
|
306
|
+
animation-duration: 0.4s;
|
|
307
307
|
animation-fill-mode: both;
|
|
308
|
-
animation-name: slideInRight-
|
|
308
|
+
animation-name: slideInRight-a1affdb7;
|
|
309
309
|
}
|
|
310
|
-
@keyframes slideOutRight-
|
|
310
|
+
@keyframes slideOutRight-a1affdb7 {
|
|
311
311
|
0% {
|
|
312
312
|
transform: translate3d(0, 0, 0);
|
|
313
313
|
}
|
|
@@ -316,14 +316,14 @@ input[type='checkbox'][data-v-01f2e2c0]:checked {
|
|
|
316
316
|
transform: translate3d(100%, 0, 0);
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
.slideOutRight[data-v-
|
|
320
|
-
animation-duration:
|
|
319
|
+
.slideOutRight[data-v-a1affdb7] {
|
|
320
|
+
animation-duration: 0.4s;
|
|
321
321
|
animation-fill-mode: both;
|
|
322
|
-
animation-name: slideOutRight-
|
|
322
|
+
animation-name: slideOutRight-a1affdb7;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
/* Slide from left animations */
|
|
326
|
-
@keyframes slideInLeft-
|
|
326
|
+
@keyframes slideInLeft-a1affdb7 {
|
|
327
327
|
0% {
|
|
328
328
|
transform: translate3d(-100%, 0, 0);
|
|
329
329
|
visibility: visible;
|
|
@@ -332,12 +332,12 @@ input[type='checkbox'][data-v-01f2e2c0]:checked {
|
|
|
332
332
|
transform: translate3d(0, 0, 0);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
.slideInLeft[data-v-
|
|
336
|
-
animation-duration:
|
|
335
|
+
.slideInLeft[data-v-a1affdb7] {
|
|
336
|
+
animation-duration: 0.4s;
|
|
337
337
|
animation-fill-mode: both;
|
|
338
|
-
animation-name: slideInLeft-
|
|
338
|
+
animation-name: slideInLeft-a1affdb7;
|
|
339
339
|
}
|
|
340
|
-
@keyframes slideOutLeft-
|
|
340
|
+
@keyframes slideOutLeft-a1affdb7 {
|
|
341
341
|
0% {
|
|
342
342
|
transform: translate3d(0, 0, 0);
|
|
343
343
|
}
|
|
@@ -346,25 +346,25 @@ input[type='checkbox'][data-v-01f2e2c0]:checked {
|
|
|
346
346
|
transform: translate3d(-100%, 0, 0);
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
.slideOutLeft[data-v-
|
|
350
|
-
animation-duration:
|
|
349
|
+
.slideOutLeft[data-v-a1affdb7] {
|
|
350
|
+
animation-duration: 0.4s;
|
|
351
351
|
animation-fill-mode: both;
|
|
352
|
-
animation-name: slideOutLeft-
|
|
352
|
+
animation-name: slideOutLeft-a1affdb7;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
/* Backdrop */
|
|
356
|
-
.fadeIn[data-v-
|
|
357
|
-
animation-name: fadeInFrames-
|
|
356
|
+
.fadeIn[data-v-a1affdb7] {
|
|
357
|
+
animation-name: fadeInFrames-a1affdb7;
|
|
358
358
|
}
|
|
359
|
-
.fadeOut[data-v-
|
|
360
|
-
animation-name: fadeOutFrames-
|
|
359
|
+
.fadeOut[data-v-a1affdb7] {
|
|
360
|
+
animation-name: fadeOutFrames-a1affdb7;
|
|
361
361
|
}
|
|
362
|
-
.fadeIn[data-v-
|
|
363
|
-
.fadeOut[data-v-
|
|
362
|
+
.fadeIn[data-v-a1affdb7],
|
|
363
|
+
.fadeOut[data-v-a1affdb7] {
|
|
364
364
|
animation-duration: 0.25s;
|
|
365
365
|
animation-fill-mode: both;
|
|
366
366
|
}
|
|
367
|
-
@keyframes fadeInFrames-
|
|
367
|
+
@keyframes fadeInFrames-a1affdb7 {
|
|
368
368
|
from {
|
|
369
369
|
opacity: 0;
|
|
370
370
|
animation-timing-function: cubic-bezier(0, 0, 1, 1);
|
|
@@ -373,7 +373,7 @@ to {
|
|
|
373
373
|
opacity: 1;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
@keyframes fadeOutFrames-
|
|
376
|
+
@keyframes fadeOutFrames-a1affdb7 {
|
|
377
377
|
from {
|
|
378
378
|
opacity: 1;
|
|
379
379
|
animation-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
|
|
@@ -381,12 +381,12 @@ from {
|
|
|
381
381
|
to {
|
|
382
382
|
opacity: 0;
|
|
383
383
|
}
|
|
384
|
-
}.fadeInDown[data-v-
|
|
384
|
+
}.fadeInDown[data-v-7af44c7f] {
|
|
385
385
|
animation-duration: 0.4s;
|
|
386
386
|
animation-fill-mode: both;
|
|
387
|
-
animation-name: fadeInDown-
|
|
387
|
+
animation-name: fadeInDown-7af44c7f;
|
|
388
388
|
}
|
|
389
|
-
@keyframes fadeInDown-
|
|
389
|
+
@keyframes fadeInDown-7af44c7f {
|
|
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-7af44c7f] {
|
|
400
400
|
animation-duration: 0.25s;
|
|
401
401
|
animation-fill-mode: both;
|
|
402
|
-
animation-name: fadeOutUp-
|
|
402
|
+
animation-name: fadeOutUp-7af44c7f;
|
|
403
403
|
}
|
|
404
|
-
@keyframes fadeOutUp-
|
|
404
|
+
@keyframes fadeOutUp-7af44c7f {
|
|
405
405
|
0% {
|
|
406
406
|
opacity: 1;
|
|
407
407
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pequity/squirrel",
|
|
3
3
|
"description": "Squirrel component library",
|
|
4
|
-
"version": "
|
|
5
|
-
"packageManager": "pnpm@9.
|
|
4
|
+
"version": "5.0.0",
|
|
5
|
+
"packageManager": "pnpm@9.9.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"preinstall": "npx only-allow pnpm",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"@storybook/theming": "^8.2.9",
|
|
72
72
|
"@storybook/vue3": "^8.2.9",
|
|
73
73
|
"@storybook/vue3-vite": "^8.2.9",
|
|
74
|
-
"@tanstack/vue-virtual": "3.10.
|
|
74
|
+
"@tanstack/vue-virtual": "3.10.6",
|
|
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": "^22.5.
|
|
79
|
-
"@vitejs/plugin-vue": "^5.1.
|
|
78
|
+
"@types/node": "^22.5.2",
|
|
79
|
+
"@vitejs/plugin-vue": "^5.1.3",
|
|
80
80
|
"@vue/compiler-sfc": "3.4.38",
|
|
81
81
|
"@vue/test-utils": "^2.4.6",
|
|
82
82
|
"@vue/vue3-jest": "^29.2.6",
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
"husky": "^9.1.5",
|
|
93
93
|
"jest": "^29.7.0",
|
|
94
94
|
"jest-environment-jsdom": "^29.7.0",
|
|
95
|
-
"lint-staged": "^15.2.
|
|
95
|
+
"lint-staged": "^15.2.10",
|
|
96
96
|
"lodash-es": "4.17.21",
|
|
97
97
|
"make-coverage-badge": "^1.2.0",
|
|
98
|
-
"postcss": "^8.4.
|
|
98
|
+
"postcss": "^8.4.44",
|
|
99
99
|
"prettier": "^3.3.3",
|
|
100
100
|
"prettier-plugin-tailwindcss": "^0.6.6",
|
|
101
101
|
"resolve-tspaths": "^0.8.19",
|
|
@@ -113,6 +113,6 @@
|
|
|
113
113
|
"vue-currency-input": "3.1.0",
|
|
114
114
|
"vue-router": "4.4.3",
|
|
115
115
|
"vue-toastification": "2.0.0-rc.5",
|
|
116
|
-
"vue-tsc": "2.
|
|
116
|
+
"vue-tsc": "2.1.4"
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -174,9 +174,6 @@ export default defineComponent({
|
|
|
174
174
|
transitionOutClass() {
|
|
175
175
|
return this.outClass || this.position === 'right' ? 'slideOutRight' : 'slideOutLeft';
|
|
176
176
|
},
|
|
177
|
-
animationDuration() {
|
|
178
|
-
return (parseInt(this.width, 10) / 1200).toFixed(2) + 's';
|
|
179
|
-
},
|
|
180
177
|
},
|
|
181
178
|
created() {
|
|
182
179
|
if (this.live) {
|
|
@@ -258,7 +255,7 @@ export default defineComponent({
|
|
|
258
255
|
}
|
|
259
256
|
}
|
|
260
257
|
.slideInRight {
|
|
261
|
-
animation-duration:
|
|
258
|
+
animation-duration: 0.4s;
|
|
262
259
|
animation-fill-mode: both;
|
|
263
260
|
animation-name: slideInRight;
|
|
264
261
|
}
|
|
@@ -273,7 +270,7 @@ export default defineComponent({
|
|
|
273
270
|
}
|
|
274
271
|
}
|
|
275
272
|
.slideOutRight {
|
|
276
|
-
animation-duration:
|
|
273
|
+
animation-duration: 0.4s;
|
|
277
274
|
animation-fill-mode: both;
|
|
278
275
|
animation-name: slideOutRight;
|
|
279
276
|
}
|
|
@@ -289,7 +286,7 @@ export default defineComponent({
|
|
|
289
286
|
}
|
|
290
287
|
}
|
|
291
288
|
.slideInLeft {
|
|
292
|
-
animation-duration:
|
|
289
|
+
animation-duration: 0.4s;
|
|
293
290
|
animation-fill-mode: both;
|
|
294
291
|
animation-name: slideInLeft;
|
|
295
292
|
}
|
|
@@ -304,7 +301,7 @@ export default defineComponent({
|
|
|
304
301
|
}
|
|
305
302
|
}
|
|
306
303
|
.slideOutLeft {
|
|
307
|
-
animation-duration:
|
|
304
|
+
animation-duration: 0.4s;
|
|
308
305
|
animation-fill-mode: both;
|
|
309
306
|
animation-name: slideOutLeft;
|
|
310
307
|
}
|