@sendelius/vue 0.2.1
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/LICENSE +18 -0
- package/README.md +7 -0
- package/dist/config/config.d.ts +16 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/core/api.d.ts +2 -0
- package/dist/core/auth.d.ts +15 -0
- package/dist/core/captcha.d.ts +1 -0
- package/dist/core/errors.d.ts +6 -0
- package/dist/core/index.d.ts +5 -0
- package/dist/core/requests.d.ts +6 -0
- package/dist/encryption/base64.d.ts +4 -0
- package/dist/encryption/encryption.d.ts +17 -0
- package/dist/encryption/index.d.ts +1 -0
- package/dist/encryption/keys.d.ts +12 -0
- package/dist/encryption/store.d.ts +39 -0
- package/dist/encryption/vault.d.ts +3 -0
- package/dist/helpers/declension.d.ts +1 -0
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/objects.d.ts +1 -0
- package/dist/helpers/title.d.ts +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/sendelius-vue.css +2 -0
- package/dist/sendelius-vue.js +14811 -0
- package/dist/ui/btn/Btn.vue.d.ts +95 -0
- package/dist/ui/cookie/Cookie.vue.d.ts +10 -0
- package/dist/ui/form/Autocomplete.vue.d.ts +96 -0
- package/dist/ui/form/Checkbox.vue.d.ts +75 -0
- package/dist/ui/form/Input.vue.d.ts +90 -0
- package/dist/ui/form/InputCity.vue.d.ts +70 -0
- package/dist/ui/form/InputDate.vue.d.ts +89 -0
- package/dist/ui/form/InputPassword.vue.d.ts +73 -0
- package/dist/ui/form/InputPhone.vue.d.ts +73 -0
- package/dist/ui/form/Select.vue.d.ts +78 -0
- package/dist/ui/index.d.ts +17 -0
- package/dist/ui/notice/Error.vue.d.ts +70 -0
- package/dist/ui/notice/Success.vue.d.ts +59 -0
- package/dist/ui/notice/Warning.vue.d.ts +59 -0
- package/dist/ui/popup/Confirm.vue.d.ts +52 -0
- package/dist/ui/popup/Popup.vue.d.ts +3 -0
- package/dist/ui/popup/usePopup.d.ts +17 -0
- package/dist/ui/progress/Progress.vue.d.ts +24 -0
- package/dist/ui/table/Table.vue.d.ts +131 -0
- package/dist/ui/table/TableFilters.vue.d.ts +3 -0
- package/dist/ui/table/TableFooter.vue.d.ts +108 -0
- package/dist/ui/table/TableHeader.vue.d.ts +90 -0
- package/dist/ui/table/TableItems.vue.d.ts +66 -0
- package/dist/ui/table/TablePagination.vue.d.ts +33 -0
- package/package.json +42 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
required: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
error: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
options: {
|
|
27
|
+
type: ArrayConstructor;
|
|
28
|
+
default: () => any[];
|
|
29
|
+
};
|
|
30
|
+
}>, {
|
|
31
|
+
focus: () => void;
|
|
32
|
+
blur: () => void;
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
+
"update:modelValue": (...args: any[]) => void;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
+
modelValue: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
label: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
required: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
error: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
options: {
|
|
57
|
+
type: ArrayConstructor;
|
|
58
|
+
default: () => any[];
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{
|
|
61
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
62
|
+
}>, {
|
|
63
|
+
label: string;
|
|
64
|
+
required: boolean;
|
|
65
|
+
modelValue: string;
|
|
66
|
+
disabled: boolean;
|
|
67
|
+
error: string;
|
|
68
|
+
options: unknown[];
|
|
69
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
type __VLS_Slots = {
|
|
71
|
+
before?: (props: {}) => any;
|
|
72
|
+
} & {
|
|
73
|
+
options?: (props: {}) => any;
|
|
74
|
+
} & {
|
|
75
|
+
after?: (props: {}) => any;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export default component;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as SndBtn } from './btn/Btn.vue';
|
|
2
|
+
export { default as SndCookie } from './cookie/Cookie.vue';
|
|
3
|
+
export { default as SndAutocomplete } from './form/Autocomplete.vue';
|
|
4
|
+
export { default as SndInput } from './form/Input.vue';
|
|
5
|
+
export { default as SndInputPhone } from './form/InputPhone.vue';
|
|
6
|
+
export { default as SndInputCity } from './form/InputCity.vue';
|
|
7
|
+
export { default as SndInputDate } from './form/InputDate.vue';
|
|
8
|
+
export { default as SndInputPassword } from './form/InputPassword.vue';
|
|
9
|
+
export { default as SndCheckbox } from './form/Checkbox.vue';
|
|
10
|
+
export { default as SndSelect } from './form/Select.vue';
|
|
11
|
+
export { default as SndWarning } from './notice/Warning.vue';
|
|
12
|
+
export { default as SndError } from './notice/Error.vue';
|
|
13
|
+
export { default as SndSuccess } from './notice/Success.vue';
|
|
14
|
+
export { default as SndPopup } from './popup/Popup.vue';
|
|
15
|
+
export { usePopup } from './popup/usePopup';
|
|
16
|
+
export { default as SndProgress } from './progress/Progress.vue';
|
|
17
|
+
export { default as SndTable } from './table/Table.vue';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
content: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
cancelAction: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
cancelText: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
cancelVariant: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: unknown) => boolean;
|
|
26
|
+
};
|
|
27
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
confirm: (...args: any[]) => void;
|
|
29
|
+
cancel: (...args: any[]) => void;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
title: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
content: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
cancelAction: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
cancelText: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
cancelVariant: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
validator: (value: unknown) => boolean;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
onConfirm?: (...args: any[]) => any;
|
|
54
|
+
onCancel?: (...args: any[]) => any;
|
|
55
|
+
}>, {
|
|
56
|
+
content: string;
|
|
57
|
+
cancelAction: boolean;
|
|
58
|
+
cancelText: string;
|
|
59
|
+
cancelVariant: string;
|
|
60
|
+
title: string;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
type __VLS_Slots = {
|
|
63
|
+
icon?: (props: {}) => any;
|
|
64
|
+
} & {
|
|
65
|
+
title?: (props: {}) => any;
|
|
66
|
+
} & {
|
|
67
|
+
content?: (props: {}) => any;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export default component;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
content: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
cancelAction: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
cancelText: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
cancelVariant: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
validator: (value: unknown) => boolean;
|
|
22
|
+
};
|
|
23
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
confirm: (...args: any[]) => void;
|
|
25
|
+
cancel: (...args: any[]) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
content: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
cancelAction: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
cancelText: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
cancelVariant: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
validator: (value: unknown) => boolean;
|
|
43
|
+
};
|
|
44
|
+
}>> & Readonly<{
|
|
45
|
+
onConfirm?: (...args: any[]) => any;
|
|
46
|
+
onCancel?: (...args: any[]) => any;
|
|
47
|
+
}>, {
|
|
48
|
+
content: string;
|
|
49
|
+
cancelAction: boolean;
|
|
50
|
+
cancelText: string;
|
|
51
|
+
cancelVariant: string;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
type __VLS_Slots = {
|
|
54
|
+
icon?: (props: {}) => any;
|
|
55
|
+
} & {
|
|
56
|
+
content?: (props: {}) => any;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export default component;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
content: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
cancelAction: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
cancelText: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
cancelVariant: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
validator: (value: unknown) => boolean;
|
|
22
|
+
};
|
|
23
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
confirm: (...args: any[]) => void;
|
|
25
|
+
cancel: (...args: any[]) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
content: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
cancelAction: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
cancelText: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
cancelVariant: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
validator: (value: unknown) => boolean;
|
|
43
|
+
};
|
|
44
|
+
}>> & Readonly<{
|
|
45
|
+
onConfirm?: (...args: any[]) => any;
|
|
46
|
+
onCancel?: (...args: any[]) => any;
|
|
47
|
+
}>, {
|
|
48
|
+
content: string;
|
|
49
|
+
cancelAction: boolean;
|
|
50
|
+
cancelText: string;
|
|
51
|
+
cancelVariant: string;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
type __VLS_Slots = {
|
|
54
|
+
icon?: (props: {}) => any;
|
|
55
|
+
} & {
|
|
56
|
+
content?: (props: {}) => any;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export default component;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
confirmText: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
cancelText: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
confirmVariant: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
validator: (value: unknown) => boolean;
|
|
14
|
+
};
|
|
15
|
+
cancelVariant: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
validator: (value: unknown) => boolean;
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
confirm: (...args: any[]) => void;
|
|
22
|
+
cancel: (...args: any[]) => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
confirmText: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
cancelText: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
confirmVariant: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
validator: (value: unknown) => boolean;
|
|
36
|
+
};
|
|
37
|
+
cancelVariant: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
validator: (value: unknown) => boolean;
|
|
41
|
+
};
|
|
42
|
+
}>> & Readonly<{
|
|
43
|
+
onConfirm?: (...args: any[]) => any;
|
|
44
|
+
onCancel?: (...args: any[]) => any;
|
|
45
|
+
}>, {
|
|
46
|
+
cancelText: string;
|
|
47
|
+
cancelVariant: string;
|
|
48
|
+
confirmText: string;
|
|
49
|
+
confirmVariant: string;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
|
|
52
|
+
export default component;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
|
|
3
|
+
export default component;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export function usePopup(): {
|
|
2
|
+
visible: import('vue').Ref<boolean, boolean>;
|
|
3
|
+
type: import('vue').Ref<string, string>;
|
|
4
|
+
title: import('vue').Ref<string, string>;
|
|
5
|
+
content: import('vue').Ref<string, string>;
|
|
6
|
+
confirmText: import('vue').Ref<string, string>;
|
|
7
|
+
cancelText: import('vue').Ref<string, string>;
|
|
8
|
+
showClose: import('vue').Ref<boolean, boolean>;
|
|
9
|
+
confirmVariant: import('vue').Ref<string, string>;
|
|
10
|
+
cancelVariant: import('vue').Ref<string, string>;
|
|
11
|
+
popupOpen: (options?: {}) => Promise<any>;
|
|
12
|
+
popupClose: (result?: any) => void;
|
|
13
|
+
popupConfirm: (contentValue: any, options?: {}) => Promise<any>;
|
|
14
|
+
popupError: (titleValue: any, options?: {}) => Promise<any>;
|
|
15
|
+
popupSuccess: (contentValue: any, options?: {}) => Promise<any>;
|
|
16
|
+
popupWarning: (contentValue: any, options?: {}) => Promise<any>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
label: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
show: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
show: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
label: string;
|
|
21
|
+
show: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
|
|
24
|
+
export default component;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
columns: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
items: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
pagination: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: {};
|
|
17
|
+
};
|
|
18
|
+
bulk: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
actions: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
bulkActions: {
|
|
27
|
+
type: ArrayConstructor;
|
|
28
|
+
default: () => any[];
|
|
29
|
+
};
|
|
30
|
+
sort: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
default: {};
|
|
33
|
+
};
|
|
34
|
+
textEmpty: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
navigate: {
|
|
39
|
+
type: FunctionConstructor;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
bulkWidth: {
|
|
43
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
actionsWidth: {
|
|
47
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
+
"update:sort": (...args: any[]) => void;
|
|
52
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
53
|
+
columns: {
|
|
54
|
+
type: ArrayConstructor;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
items: {
|
|
58
|
+
type: ArrayConstructor;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
pagination: {
|
|
62
|
+
type: ObjectConstructor;
|
|
63
|
+
default: {};
|
|
64
|
+
};
|
|
65
|
+
bulk: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
actions: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
bulkActions: {
|
|
74
|
+
type: ArrayConstructor;
|
|
75
|
+
default: () => any[];
|
|
76
|
+
};
|
|
77
|
+
sort: {
|
|
78
|
+
type: ObjectConstructor;
|
|
79
|
+
default: {};
|
|
80
|
+
};
|
|
81
|
+
textEmpty: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
navigate: {
|
|
86
|
+
type: FunctionConstructor;
|
|
87
|
+
default: any;
|
|
88
|
+
};
|
|
89
|
+
bulkWidth: {
|
|
90
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
91
|
+
default: number;
|
|
92
|
+
};
|
|
93
|
+
actionsWidth: {
|
|
94
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
95
|
+
default: number;
|
|
96
|
+
};
|
|
97
|
+
}>> & Readonly<{
|
|
98
|
+
"onUpdate:sort"?: (...args: any[]) => any;
|
|
99
|
+
}>, {
|
|
100
|
+
actions: boolean;
|
|
101
|
+
sort: Record<string, any>;
|
|
102
|
+
pagination: Record<string, any>;
|
|
103
|
+
navigate: Function;
|
|
104
|
+
bulk: boolean;
|
|
105
|
+
bulkActions: unknown[];
|
|
106
|
+
textEmpty: string;
|
|
107
|
+
bulkWidth: string | number;
|
|
108
|
+
actionsWidth: string | number;
|
|
109
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
110
|
+
type __VLS_Slots = {
|
|
111
|
+
[x: `cell-${any}`]: (props: {
|
|
112
|
+
item: unknown;
|
|
113
|
+
value: any;
|
|
114
|
+
}) => any;
|
|
115
|
+
} & {
|
|
116
|
+
iconHeaderSortDesc?: (props: {}) => any;
|
|
117
|
+
} & {
|
|
118
|
+
iconHeaderSortAsc?: (props: {}) => any;
|
|
119
|
+
} & {
|
|
120
|
+
actions?: (props: {
|
|
121
|
+
item: unknown;
|
|
122
|
+
}) => any;
|
|
123
|
+
} & {
|
|
124
|
+
iconPaginationPrev?: (props: {}) => any;
|
|
125
|
+
} & {
|
|
126
|
+
iconPaginationNext?: (props: {}) => any;
|
|
127
|
+
} & {
|
|
128
|
+
iconFooterActions?: (props: {}) => any;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export default component;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
|
|
3
|
+
export default component;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
columns: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
items: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
pagination: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: {};
|
|
17
|
+
};
|
|
18
|
+
bulk: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
actions: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
selected: {
|
|
27
|
+
type: ArrayConstructor;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
tableWrap: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
table: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
navigate: {
|
|
39
|
+
type: FunctionConstructor;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
bulkActions: {
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
default: any[];
|
|
45
|
+
};
|
|
46
|
+
}>, {
|
|
47
|
+
syncScroll: (scrollLeft: any) => void;
|
|
48
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
|
+
"update:scroll-left": (...args: any[]) => void;
|
|
50
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
51
|
+
columns: {
|
|
52
|
+
type: ArrayConstructor;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
items: {
|
|
56
|
+
type: ArrayConstructor;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
pagination: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
default: {};
|
|
62
|
+
};
|
|
63
|
+
bulk: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
actions: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
selected: {
|
|
72
|
+
type: ArrayConstructor;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
tableWrap: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
table: {
|
|
80
|
+
type: ObjectConstructor;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
navigate: {
|
|
84
|
+
type: FunctionConstructor;
|
|
85
|
+
default: any;
|
|
86
|
+
};
|
|
87
|
+
bulkActions: {
|
|
88
|
+
type: ArrayConstructor;
|
|
89
|
+
default: any[];
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{
|
|
92
|
+
"onUpdate:scroll-left"?: (...args: any[]) => any;
|
|
93
|
+
}>, {
|
|
94
|
+
actions: boolean;
|
|
95
|
+
pagination: Record<string, any>;
|
|
96
|
+
navigate: Function;
|
|
97
|
+
bulk: boolean;
|
|
98
|
+
bulkActions: unknown[];
|
|
99
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
100
|
+
type __VLS_Slots = {
|
|
101
|
+
iconFooterActions?: (props: {}) => any;
|
|
102
|
+
} & {
|
|
103
|
+
iconPaginationPrev?: (props: {}) => any;
|
|
104
|
+
} & {
|
|
105
|
+
iconPaginationNext?: (props: {}) => any;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export default component;
|