@indielayer/ui 1.9.0 → 1.9.2
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/docs/pages/component/table/usage.vue +6 -1
- package/docs/pages/component/table/virtual.vue +1 -1
- package/docs/pages/typography.vue +14 -12
- package/lib/components/accordion/Accordion.vue.d.ts +4 -4
- package/lib/components/accordion/AccordionItem.vue.d.ts +6 -6
- package/lib/components/accordion/AccordionItem.vue.js +51 -51
- package/lib/components/alert/Alert.vue.d.ts +8 -8
- package/lib/components/alert/Alert.vue2.js +20 -20
- package/lib/components/avatar/Avatar.vue.d.ts +4 -4
- package/lib/components/badge/Badge.vue.d.ts +4 -4
- package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +4 -4
- package/lib/components/button/Button.vue.d.ts +5 -5
- package/lib/components/button/ButtonGroup.vue.d.ts +4 -4
- package/lib/components/card/Card.vue.d.ts +4 -4
- package/lib/components/carousel/Carousel.vue.d.ts +7 -7
- package/lib/components/carousel/CarouselSlide.vue.d.ts +4 -4
- package/lib/components/checkbox/Checkbox.vue.d.ts +6 -6
- package/lib/components/checkbox/Checkbox.vue2.js +60 -60
- package/lib/components/container/Container.vue.d.ts +4 -4
- package/lib/components/datepicker/Datepicker.vue.d.ts +6 -6
- package/lib/components/datepicker/Datepicker.vue.js +3 -3
- package/lib/components/divider/Divider.vue.d.ts +4 -4
- package/lib/components/drawer/Drawer.vue.d.ts +6 -6
- package/lib/components/drawer/Drawer.vue.js +1 -1
- package/lib/components/form/Form.vue.d.ts +5 -5
- package/lib/components/formGroup/FormGroup.vue.d.ts +6 -6
- package/lib/components/formGroup/FormGroup.vue.js +7 -7
- package/lib/components/icon/Icon.vue.d.ts +4 -4
- package/lib/components/image/Image.vue.d.ts +3 -3
- package/lib/components/input/Input.vue.d.ts +6 -6
- package/lib/components/inputFooter/InputFooter.vue.d.ts +3 -3
- package/lib/components/label/Label.vue.d.ts +4 -4
- package/lib/components/link/Link.vue.d.ts +4 -4
- package/lib/components/loader/Loader.vue.d.ts +4 -4
- package/lib/components/menu/Menu.vue.d.ts +5 -5
- package/lib/components/menu/MenuItem.vue.d.ts +5 -5
- package/lib/components/menu/MenuItem.vue2.js +1 -1
- package/lib/components/modal/Modal.vue.d.ts +6 -6
- package/lib/components/modal/Modal.vue.js +1 -1
- package/lib/components/notifications/Notifications.vue.d.ts +5 -5
- package/lib/components/pagination/Pagination.vue.d.ts +5 -5
- package/lib/components/pagination/Pagination.vue.js +41 -41
- package/lib/components/pagination/PaginationItem.vue.d.ts +6 -6
- package/lib/components/popover/Popover.vue.d.ts +8 -8
- package/lib/components/popover/Popover.vue.js +1 -1
- package/lib/components/popover/PopoverContainer.vue.d.ts +4 -4
- package/lib/components/progress/Progress.vue.d.ts +4 -4
- package/lib/components/qrCode/QrCode.vue.d.ts +4 -4
- package/lib/components/radio/Radio.vue.d.ts +6 -6
- package/lib/components/radio/Radio.vue2.js +63 -63
- package/lib/components/scroll/Scroll.vue.d.ts +6 -6
- package/lib/components/scroll/Scroll.vue2.js +1 -1
- package/lib/components/select/Select.vue.d.ts +6 -6
- package/lib/components/select/Select.vue.js +1 -1
- package/lib/components/skeleton/Skeleton.vue.d.ts +4 -4
- package/lib/components/skeleton/Skeleton.vue.js +17 -17
- package/lib/components/slider/Slider.vue.d.ts +6 -6
- package/lib/components/spacer/Spacer.d.ts +1 -1
- package/lib/components/spinner/Spinner.vue.d.ts +4 -4
- package/lib/components/stepper/Stepper.vue.d.ts +5 -5
- package/lib/components/tab/Tab.vue.d.ts +5 -5
- package/lib/components/tab/Tab.vue.js +1 -1
- package/lib/components/tab/TabGroup.vue.d.ts +5 -5
- package/lib/components/tab/TabGroup.vue.js +2 -2
- package/lib/components/table/Table.vue.d.ts +41 -24
- package/lib/components/table/Table.vue.js +123 -116
- package/lib/components/table/TableBody.d.ts +1 -1
- package/lib/components/table/TableCell.vue.d.ts +4 -4
- package/lib/components/table/TableHead.vue.d.ts +4 -4
- package/lib/components/table/TableHeader.vue.d.ts +4 -4
- package/lib/components/table/TableHeader.vue.js +39 -39
- package/lib/components/table/TableRow.vue.d.ts +8 -4
- package/lib/components/table/TableRow.vue.js +3 -2
- package/lib/components/table/theme/TableRow.base.theme.js +1 -1
- package/lib/components/tag/Tag.vue.d.ts +5 -5
- package/lib/components/textarea/Textarea.vue.d.ts +6 -6
- package/lib/components/textarea/Textarea.vue.js +6 -6
- package/lib/components/themeProvider/ThemeProvider.vue.d.ts +3 -3
- package/lib/components/toggle/Toggle.vue.d.ts +6 -6
- package/lib/components/tooltip/ToggleTip.vue.d.ts +3 -3
- package/lib/components/tooltip/Tooltip.vue.d.ts +4 -4
- package/lib/components/tooltip/Tooltip.vue.js +1 -1
- package/lib/composables/useInputtable.d.ts +26 -6
- package/lib/composables/useVirtualList.js +1 -1
- package/lib/index.js +1 -1
- package/lib/index.umd.js +4 -4
- package/lib/node_modules/.pnpm/{@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_ → @vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_}/node_modules/@vueuse/core/index.js +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/components/table/Table.vue +10 -4
- package/src/components/table/TableRow.vue +1 -0
- package/src/components/table/theme/TableRow.base.theme.ts +4 -0
- package/src/version.ts +1 -1
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9_typescript@5.2.2_ → @vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -0
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9_typescript@5.2.2_ → @vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -0
- /package/lib/node_modules/.pnpm/{@vueuse_shared@10.2.0_vue@3.3.9_typescript@5.2.2_ → @vueuse_shared@10.2.0_vue@3.5.10_typescript@5.2.2_}/node_modules/@vueuse/shared/index.js +0 -0
- /package/lib/node_modules/.pnpm/{floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.3.9_typescript@5.2.2_ → floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.5.10_typescript@5.2.2_}/node_modules/floating-vue/dist/floating-vue.js +0 -0
|
@@ -51,7 +51,7 @@ export type SliderProps = ExtractPublicPropTypes<typeof sliderProps>;
|
|
|
51
51
|
type InternalClasses = 'wrapper' | 'input' | 'track' | 'progress';
|
|
52
52
|
export interface SliderTheme extends ThemeComponent<SliderProps, InternalClasses> {
|
|
53
53
|
}
|
|
54
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
55
55
|
min: {
|
|
56
56
|
type: (StringConstructor | NumberConstructor)[];
|
|
57
57
|
default: number;
|
|
@@ -97,13 +97,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
97
97
|
readonly type: StringConstructor;
|
|
98
98
|
readonly default: string | undefined;
|
|
99
99
|
};
|
|
100
|
-
}
|
|
100
|
+
}>, {
|
|
101
101
|
focus: () => void | undefined;
|
|
102
102
|
blur: () => void | undefined;
|
|
103
103
|
reset: () => void;
|
|
104
104
|
validate: (val?: any) => boolean;
|
|
105
105
|
setError: (val: string) => void;
|
|
106
|
-
},
|
|
106
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
107
107
|
min: {
|
|
108
108
|
type: (StringConstructor | NumberConstructor)[];
|
|
109
109
|
default: number;
|
|
@@ -149,9 +149,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
149
149
|
readonly type: StringConstructor;
|
|
150
150
|
readonly default: string | undefined;
|
|
151
151
|
};
|
|
152
|
-
}>> & {
|
|
152
|
+
}>> & Readonly<{
|
|
153
153
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
154
|
-
}
|
|
154
|
+
}>, {
|
|
155
155
|
disabled: boolean;
|
|
156
156
|
color: string;
|
|
157
157
|
loading: boolean;
|
|
@@ -166,7 +166,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
166
166
|
max: string | number;
|
|
167
167
|
min: string | number;
|
|
168
168
|
step: string | number;
|
|
169
|
-
}, {}>, {
|
|
169
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
170
170
|
prefix?(_: {
|
|
171
171
|
value: number;
|
|
172
172
|
}): any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare const spinnerProps: {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export type SpinnerProps = ExtractPublicPropTypes<typeof spinnerProps>;
|
|
14
|
-
declare const _default: import("vue").DefineComponent<{
|
|
14
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
icon: {
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
readonly default: "md";
|
|
22
22
|
readonly validator: (value: string) => boolean;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
24
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
icon: {
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
default: string;
|
|
@@ -31,8 +31,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
readonly default: "md";
|
|
32
32
|
readonly validator: (value: string) => boolean;
|
|
33
33
|
};
|
|
34
|
-
}
|
|
34
|
+
}>> & Readonly<{}>, {
|
|
35
35
|
icon: string;
|
|
36
36
|
size: import("../../composables/useCommon").Size;
|
|
37
|
-
}, {}>;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
38
|
export default _default;
|
|
@@ -50,7 +50,7 @@ export type StepperProps = ExtractPublicPropTypes<typeof stepperProps>;
|
|
|
50
50
|
type InternalClasses = 'wrapper' | 'list' | 'scroller' | 'content' | 'step' | 'label' | 'icon';
|
|
51
51
|
export interface StepperTheme extends ThemeComponent<StepperProps, InternalClasses> {
|
|
52
52
|
}
|
|
53
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
54
54
|
modelValue: (StringConstructor | NumberConstructor)[];
|
|
55
55
|
steps: {
|
|
56
56
|
type: PropType<StepperStep[]>;
|
|
@@ -83,7 +83,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
83
83
|
readonly default: "md";
|
|
84
84
|
readonly validator: (value: string) => boolean;
|
|
85
85
|
};
|
|
86
|
-
}
|
|
86
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
87
|
modelValue: (StringConstructor | NumberConstructor)[];
|
|
88
88
|
steps: {
|
|
89
89
|
type: PropType<StepperStep[]>;
|
|
@@ -116,9 +116,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
116
116
|
readonly default: "md";
|
|
117
117
|
readonly validator: (value: string) => boolean;
|
|
118
118
|
};
|
|
119
|
-
}>> & {
|
|
119
|
+
}>> & Readonly<{
|
|
120
120
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
121
|
-
}
|
|
121
|
+
}>, {
|
|
122
122
|
color: string;
|
|
123
123
|
size: import("../../composables/useCommon").Size;
|
|
124
124
|
variant: "line";
|
|
@@ -126,7 +126,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
126
126
|
grow: boolean;
|
|
127
127
|
fullWidth: boolean;
|
|
128
128
|
interactive: boolean;
|
|
129
|
-
}, {}>, {
|
|
129
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
130
130
|
default?(_: {}): any;
|
|
131
131
|
}>;
|
|
132
132
|
export default _default;
|
|
@@ -29,7 +29,7 @@ type InternalExtraData = {
|
|
|
29
29
|
} & Pick<TabGroupInjection, 'state'>['state'];
|
|
30
30
|
export interface TabTheme extends ThemeComponent<TabProps, InternalClasses, InternalExtraData> {
|
|
31
31
|
}
|
|
32
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
33
33
|
value: {
|
|
34
34
|
type: (StringConstructor | NumberConstructor)[];
|
|
35
35
|
};
|
|
@@ -48,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
48
48
|
readonly default: "md";
|
|
49
49
|
readonly validator: (value: string) => boolean;
|
|
50
50
|
};
|
|
51
|
-
}
|
|
51
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
52
|
value: {
|
|
53
53
|
type: (StringConstructor | NumberConstructor)[];
|
|
54
54
|
};
|
|
@@ -67,15 +67,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
67
67
|
readonly default: "md";
|
|
68
68
|
readonly validator: (value: string) => boolean;
|
|
69
69
|
};
|
|
70
|
-
}>> & {
|
|
70
|
+
}>> & Readonly<{
|
|
71
71
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
72
|
-
}
|
|
72
|
+
}>, {
|
|
73
73
|
disabled: boolean;
|
|
74
74
|
tag: string;
|
|
75
75
|
removable: boolean;
|
|
76
76
|
size: Size;
|
|
77
77
|
exact: boolean;
|
|
78
|
-
}, {}>, {
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
79
79
|
tab?(_: {
|
|
80
80
|
label: string | undefined;
|
|
81
81
|
value: string | number | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as R, computed as s, ref as d, inject as j, reactive as D, onMounted as E, openBlock as c, createBlock as m, resolveDynamicComponent as L, normalizeStyle as V, unref as o, normalizeClass as v, withCtx as M, renderSlot as g, createElementVNode as z, createCommentVNode as p, toDisplayString as O, Teleport as P, createElementBlock as X } from "vue";
|
|
2
|
-
import { useMutationObserver as F } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.
|
|
2
|
+
import { useMutationObserver as F } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { injectTabGroupKey as G } from "../../composables/keys.js";
|
|
4
4
|
import { useCommon as T } from "../../composables/useCommon.js";
|
|
5
5
|
import { useTheme as I } from "../../composables/useTheme.js";
|
|
@@ -52,7 +52,7 @@ export type TabGroupProps = ExtractPublicPropTypes<typeof tabGroupProps>;
|
|
|
52
52
|
type InternalClasses = 'wrapper' | 'list' | 'tracker' | 'scroller';
|
|
53
53
|
export interface TabGroupTheme extends ThemeComponent<TabGroupProps, InternalClasses> {
|
|
54
54
|
}
|
|
55
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
55
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
56
56
|
modelValue: (StringConstructor | NumberConstructor)[];
|
|
57
57
|
variant: {
|
|
58
58
|
type: PropType<"block" | "line">;
|
|
@@ -78,7 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
78
78
|
readonly default: "md";
|
|
79
79
|
readonly validator: (value: string) => boolean;
|
|
80
80
|
};
|
|
81
|
-
}
|
|
81
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
82
82
|
modelValue: (StringConstructor | NumberConstructor)[];
|
|
83
83
|
variant: {
|
|
84
84
|
type: PropType<"block" | "line">;
|
|
@@ -104,9 +104,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
104
104
|
readonly default: "md";
|
|
105
105
|
readonly validator: (value: string) => boolean;
|
|
106
106
|
};
|
|
107
|
-
}>> & {
|
|
107
|
+
}>> & Readonly<{
|
|
108
108
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
109
|
-
}
|
|
109
|
+
}>, {
|
|
110
110
|
color: string;
|
|
111
111
|
size: Size;
|
|
112
112
|
align: "left" | "right" | "center";
|
|
@@ -115,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
115
115
|
variant: "block" | "line";
|
|
116
116
|
grow: boolean;
|
|
117
117
|
fullWidth: boolean;
|
|
118
|
-
}, {}>, {
|
|
118
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
119
119
|
default?(_: {}): any;
|
|
120
120
|
}>;
|
|
121
121
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as B, ref as r, watchEffect as z, reactive as E, computed as o, provide as V, watch as G, onMounted as N, openBlock as $, createElementBlock as q, createElementVNode as f, normalizeClass as v, unref as n, normalizeStyle as F, createVNode as L, withCtx as M, renderSlot as O, withDirectives as W, vShow as X, nextTick as j } from "vue";
|
|
2
|
-
import { useMutationObserver as D, useResizeObserver as K } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.
|
|
2
|
+
import { useMutationObserver as D, useResizeObserver as K } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { injectTabGroupKey as P } from "../../composables/keys.js";
|
|
4
4
|
import { useCommon as b } from "../../composables/useCommon.js";
|
|
5
5
|
import { useColors as A } from "../../composables/useColors.js";
|
|
6
6
|
import { useTheme as H } from "../../composables/useTheme.js";
|
|
7
7
|
import I from "../scroll/Scroll.vue.js";
|
|
8
|
-
import { useThrottleFn as J } from "../../node_modules/.pnpm/@vueuse_shared@10.2.0_vue@3.
|
|
8
|
+
import { useThrottleFn as J } from "../../node_modules/.pnpm/@vueuse_shared@10.2.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/shared/index.js";
|
|
9
9
|
const Q = {
|
|
10
10
|
...b.validators(),
|
|
11
11
|
variant: ["line", "block"],
|
|
@@ -46,6 +46,7 @@ declare const tableProps: {
|
|
|
46
46
|
type: NumberConstructor;
|
|
47
47
|
default: number;
|
|
48
48
|
};
|
|
49
|
+
keyProp: StringConstructor;
|
|
49
50
|
};
|
|
50
51
|
export type TableHeader = {
|
|
51
52
|
sortable?: boolean;
|
|
@@ -62,8 +63,8 @@ type InternalClasses = 'wrapper' | 'table' | 'loadingWrapper';
|
|
|
62
63
|
export interface TableTheme extends ThemeComponent<TableProps, InternalClasses> {
|
|
63
64
|
}
|
|
64
65
|
declare const _default: <T>(__VLS_props: Partial<{
|
|
65
|
-
sort: string[];
|
|
66
66
|
error: boolean;
|
|
67
|
+
sort: string[];
|
|
67
68
|
items: T[];
|
|
68
69
|
loading: boolean;
|
|
69
70
|
fixed: boolean;
|
|
@@ -80,8 +81,8 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
80
81
|
stickyHeader: boolean;
|
|
81
82
|
expandable: boolean;
|
|
82
83
|
}> & Omit<{
|
|
83
|
-
readonly sort: string[];
|
|
84
84
|
readonly error: boolean;
|
|
85
|
+
readonly sort: string[];
|
|
85
86
|
readonly items: T[];
|
|
86
87
|
readonly loading: boolean;
|
|
87
88
|
readonly fixed: boolean;
|
|
@@ -99,8 +100,9 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
99
100
|
readonly expandable: boolean;
|
|
100
101
|
readonly virtualListOffsetTop?: number | undefined;
|
|
101
102
|
readonly virtualListOffsetBottom?: number | undefined;
|
|
102
|
-
|
|
103
|
-
"
|
|
103
|
+
readonly keyProp?: string | undefined;
|
|
104
|
+
readonly "onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
readonly "onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
104
106
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
105
107
|
items: {
|
|
106
108
|
type: PropType<T[]>;
|
|
@@ -145,13 +147,16 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
145
147
|
type: NumberConstructor;
|
|
146
148
|
default: number;
|
|
147
149
|
};
|
|
148
|
-
|
|
150
|
+
keyProp: StringConstructor;
|
|
151
|
+
}>> & Readonly<{
|
|
149
152
|
"onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
150
153
|
"onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
151
|
-
}
|
|
154
|
+
}>, "error" | "sort" | "items" | "loading" | "fixed" | "virtualList" | "virtualListItemHeight" | "virtualListOverscan" | "headers" | "loadingSkeleton" | "loadingLines" | "dense" | "striped" | "pointer" | "scrollable" | "stickyHeader" | "expandable"> & {
|
|
155
|
+
selected?: number | number[] | undefined;
|
|
156
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
152
157
|
props: Partial<{
|
|
153
|
-
sort: string[];
|
|
154
158
|
error: boolean;
|
|
159
|
+
sort: string[];
|
|
155
160
|
items: T[];
|
|
156
161
|
loading: boolean;
|
|
157
162
|
fixed: boolean;
|
|
@@ -168,8 +173,8 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
168
173
|
stickyHeader: boolean;
|
|
169
174
|
expandable: boolean;
|
|
170
175
|
}> & Omit<{
|
|
171
|
-
readonly sort: string[];
|
|
172
176
|
readonly error: boolean;
|
|
177
|
+
readonly sort: string[];
|
|
173
178
|
readonly items: T[];
|
|
174
179
|
readonly loading: boolean;
|
|
175
180
|
readonly fixed: boolean;
|
|
@@ -187,8 +192,9 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
187
192
|
readonly expandable: boolean;
|
|
188
193
|
readonly virtualListOffsetTop?: number | undefined;
|
|
189
194
|
readonly virtualListOffsetBottom?: number | undefined;
|
|
190
|
-
|
|
191
|
-
"
|
|
195
|
+
readonly keyProp?: string | undefined;
|
|
196
|
+
readonly "onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
197
|
+
readonly "onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
192
198
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
193
199
|
items: {
|
|
194
200
|
type: PropType<T[]>;
|
|
@@ -233,10 +239,13 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
233
239
|
type: NumberConstructor;
|
|
234
240
|
default: number;
|
|
235
241
|
};
|
|
236
|
-
|
|
242
|
+
keyProp: StringConstructor;
|
|
243
|
+
}>> & Readonly<{
|
|
237
244
|
"onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
238
245
|
"onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
239
|
-
}
|
|
246
|
+
}>, "error" | "sort" | "items" | "loading" | "fixed" | "virtualList" | "virtualListItemHeight" | "virtualListOverscan" | "headers" | "loadingSkeleton" | "loadingLines" | "dense" | "striped" | "pointer" | "scrollable" | "stickyHeader" | "expandable"> & {
|
|
247
|
+
selected?: number | number[] | undefined;
|
|
248
|
+
};
|
|
240
249
|
expose(exposed: {}): void;
|
|
241
250
|
attrs: any;
|
|
242
251
|
slots: Partial<Record<string, (_: {
|
|
@@ -257,8 +266,8 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
257
266
|
emit: (event: "update:sort" | "click-row", ...args: any[]) => void;
|
|
258
267
|
}, "emit" | "attrs" | "slots"> | undefined, __VLS_setup?: {
|
|
259
268
|
props: Partial<{
|
|
260
|
-
sort: string[];
|
|
261
269
|
error: boolean;
|
|
270
|
+
sort: string[];
|
|
262
271
|
items: T[];
|
|
263
272
|
loading: boolean;
|
|
264
273
|
fixed: boolean;
|
|
@@ -275,8 +284,8 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
275
284
|
stickyHeader: boolean;
|
|
276
285
|
expandable: boolean;
|
|
277
286
|
}> & Omit<{
|
|
278
|
-
readonly sort: string[];
|
|
279
287
|
readonly error: boolean;
|
|
288
|
+
readonly sort: string[];
|
|
280
289
|
readonly items: T[];
|
|
281
290
|
readonly loading: boolean;
|
|
282
291
|
readonly fixed: boolean;
|
|
@@ -294,8 +303,9 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
294
303
|
readonly expandable: boolean;
|
|
295
304
|
readonly virtualListOffsetTop?: number | undefined;
|
|
296
305
|
readonly virtualListOffsetBottom?: number | undefined;
|
|
297
|
-
|
|
298
|
-
"
|
|
306
|
+
readonly keyProp?: string | undefined;
|
|
307
|
+
readonly "onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
308
|
+
readonly "onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
299
309
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
300
310
|
items: {
|
|
301
311
|
type: PropType<T[]>;
|
|
@@ -340,10 +350,13 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
340
350
|
type: NumberConstructor;
|
|
341
351
|
default: number;
|
|
342
352
|
};
|
|
343
|
-
|
|
353
|
+
keyProp: StringConstructor;
|
|
354
|
+
}>> & Readonly<{
|
|
344
355
|
"onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
345
356
|
"onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
346
|
-
}
|
|
357
|
+
}>, "error" | "sort" | "items" | "loading" | "fixed" | "virtualList" | "virtualListItemHeight" | "virtualListOverscan" | "headers" | "loadingSkeleton" | "loadingLines" | "dense" | "striped" | "pointer" | "scrollable" | "stickyHeader" | "expandable"> & {
|
|
358
|
+
selected?: number | number[] | undefined;
|
|
359
|
+
};
|
|
347
360
|
expose(exposed: {}): void;
|
|
348
361
|
attrs: any;
|
|
349
362
|
slots: Partial<Record<string, (_: {
|
|
@@ -367,8 +380,8 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
367
380
|
}> & {
|
|
368
381
|
__ctx?: {
|
|
369
382
|
props: Partial<{
|
|
370
|
-
sort: string[];
|
|
371
383
|
error: boolean;
|
|
384
|
+
sort: string[];
|
|
372
385
|
items: T[];
|
|
373
386
|
loading: boolean;
|
|
374
387
|
fixed: boolean;
|
|
@@ -385,8 +398,8 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
385
398
|
stickyHeader: boolean;
|
|
386
399
|
expandable: boolean;
|
|
387
400
|
}> & Omit<{
|
|
388
|
-
readonly sort: string[];
|
|
389
401
|
readonly error: boolean;
|
|
402
|
+
readonly sort: string[];
|
|
390
403
|
readonly items: T[];
|
|
391
404
|
readonly loading: boolean;
|
|
392
405
|
readonly fixed: boolean;
|
|
@@ -404,8 +417,9 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
404
417
|
readonly expandable: boolean;
|
|
405
418
|
readonly virtualListOffsetTop?: number | undefined;
|
|
406
419
|
readonly virtualListOffsetBottom?: number | undefined;
|
|
407
|
-
|
|
408
|
-
"
|
|
420
|
+
readonly keyProp?: string | undefined;
|
|
421
|
+
readonly "onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
422
|
+
readonly "onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
409
423
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
410
424
|
items: {
|
|
411
425
|
type: PropType<T[]>;
|
|
@@ -450,10 +464,13 @@ declare const _default: <T>(__VLS_props: Partial<{
|
|
|
450
464
|
type: NumberConstructor;
|
|
451
465
|
default: number;
|
|
452
466
|
};
|
|
453
|
-
|
|
467
|
+
keyProp: StringConstructor;
|
|
468
|
+
}>> & Readonly<{
|
|
454
469
|
"onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
455
470
|
"onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
456
|
-
}
|
|
471
|
+
}>, "error" | "sort" | "items" | "loading" | "fixed" | "virtualList" | "virtualListItemHeight" | "virtualListOverscan" | "headers" | "loadingSkeleton" | "loadingLines" | "dense" | "striped" | "pointer" | "scrollable" | "stickyHeader" | "expandable"> & {
|
|
472
|
+
selected?: number | number[] | undefined;
|
|
473
|
+
};
|
|
457
474
|
expose(exposed: {}): void;
|
|
458
475
|
attrs: any;
|
|
459
476
|
slots: Partial<Record<string, (_: {
|