@pequity/squirrel 1.2.11 → 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-checkbox.js +21 -11
- package/dist/cjs/p-loading.js +50 -17
- package/dist/cjs/usePLoading.js +27 -10
- package/dist/es/p-checkbox.js +22 -12
- 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 +7 -7
- package/package.json +22 -22
- package/squirrel/components/p-checkbox/p-checkbox.vue +16 -2
- 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
|
@@ -52,9 +52,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
}): void;
|
|
53
53
|
}, import("vue").DefineComponent<{
|
|
54
54
|
size: {
|
|
55
|
-
type: PropType<"
|
|
55
|
+
type: 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;
|
|
@@ -77,9 +77,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
77
77
|
textareaClasses(): string;
|
|
78
78
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
79
|
size: {
|
|
80
|
-
type: PropType<"
|
|
80
|
+
type: PropType<import("../../index.js").InputSize>;
|
|
81
81
|
default: string;
|
|
82
|
-
validator(value: "
|
|
82
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
83
83
|
};
|
|
84
84
|
errorMsg: {
|
|
85
85
|
type: StringConstructor;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
type: {
|
|
14
|
-
type: PropType<
|
|
14
|
+
type: PropType<InputType>;
|
|
15
15
|
default: string;
|
|
16
16
|
validator(value: InputType): boolean;
|
|
17
17
|
};
|
|
@@ -38,9 +38,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
style(): StyleValue;
|
|
39
39
|
}, {}, import("vue").DefineComponent<{
|
|
40
40
|
size: {
|
|
41
|
-
type: PropType<"
|
|
41
|
+
type: PropType<import("../../index.js").InputSize>;
|
|
42
42
|
default: string;
|
|
43
|
-
validator(value: "
|
|
43
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
44
44
|
};
|
|
45
45
|
errorMsg: {
|
|
46
46
|
type: StringConstructor;
|
|
@@ -63,9 +63,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
textareaClasses(): string;
|
|
64
64
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
65
|
size: {
|
|
66
|
-
type: PropType<"
|
|
66
|
+
type: PropType<import("../../index.js").InputSize>;
|
|
67
67
|
default: string;
|
|
68
|
-
validator(value: "
|
|
68
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
69
69
|
};
|
|
70
70
|
errorMsg: {
|
|
71
71
|
type: StringConstructor;
|
|
@@ -90,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
default: string;
|
|
91
91
|
};
|
|
92
92
|
type: {
|
|
93
|
-
type: PropType<
|
|
93
|
+
type: PropType<InputType>;
|
|
94
94
|
default: string;
|
|
95
95
|
validator(value: InputType): boolean;
|
|
96
96
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PropType, type StyleValue } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
|
-
type: PropType<
|
|
4
|
+
type: PropType<number | string | null | undefined>;
|
|
5
5
|
default: null;
|
|
6
6
|
};
|
|
7
7
|
label: {
|
|
@@ -33,9 +33,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
focus: () => void;
|
|
34
34
|
}, unknown, {}, {}, import("vue").DefineComponent<{
|
|
35
35
|
size: {
|
|
36
|
-
type: PropType<"
|
|
36
|
+
type: PropType<import("../../index.js").InputSize>;
|
|
37
37
|
default: string;
|
|
38
|
-
validator(value: "
|
|
38
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
39
39
|
};
|
|
40
40
|
errorMsg: {
|
|
41
41
|
type: StringConstructor;
|
|
@@ -58,9 +58,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
textareaClasses(): string;
|
|
59
59
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
size: {
|
|
61
|
-
type: PropType<"
|
|
61
|
+
type: PropType<import("../../index.js").InputSize>;
|
|
62
62
|
default: string;
|
|
63
|
-
validator(value: "
|
|
63
|
+
validator(value: import("../../index.js").InputSize): boolean;
|
|
64
64
|
};
|
|
65
65
|
errorMsg: {
|
|
66
66
|
type: StringConstructor;
|
|
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
errorMsg: string;
|
|
82
82
|
}, {}>, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
modelValue: {
|
|
84
|
-
type: PropType<
|
|
84
|
+
type: PropType<number | string | null | undefined>;
|
|
85
85
|
default: null;
|
|
86
86
|
};
|
|
87
87
|
label: {
|
|
@@ -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
|
@@ -256,7 +256,7 @@ div[id^=popper_].dropdown .v-popper__inner .dropdown-menu .dropdown-divider {
|
|
|
256
256
|
--tw-content: "";
|
|
257
257
|
content: var(--tw-content);
|
|
258
258
|
}
|
|
259
|
-
input[type='checkbox'][data-v-
|
|
259
|
+
input[type='checkbox'][data-v-01f2e2c0]:checked {
|
|
260
260
|
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
|
|
261
261
|
}
|
|
262
262
|
|
|
@@ -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
|
}
|