@dronico/droni-kit 1.12.6 → 1.13.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/CHANGELOG.md +14 -0
- package/dist/droni-kit.cjs.js +9 -9
- package/dist/droni-kit.css +1 -1
- package/dist/droni-kit.es.js +442 -376
- package/dist/stories/Elements/DuiTable.stories.d.ts +63 -3
- package/dist/stories/Elements/DuiTable.vue.d.ts +30 -2
- package/dist/stories/Widgets/DuiNavbar.vue.d.ts +1 -0
- package/package.json +1 -1
|
@@ -37,7 +37,22 @@ declare const meta: {
|
|
|
37
37
|
};
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
loading: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
pagination: {
|
|
45
|
+
type: () => import('./DuiTable.vue').PaginationData | undefined;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
}>> & Readonly<{
|
|
49
|
+
onPaginate?: ((page: number) => any) | undefined;
|
|
50
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
+
paginate: (page: number) => any;
|
|
52
|
+
}, import('vue').PublicProps, {
|
|
53
|
+
loading: boolean;
|
|
54
|
+
pagination: import('./DuiTable.vue').PaginationData | undefined;
|
|
55
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
41
56
|
P: {};
|
|
42
57
|
B: {};
|
|
43
58
|
D: {};
|
|
@@ -79,7 +94,20 @@ declare const meta: {
|
|
|
79
94
|
};
|
|
80
95
|
required: true;
|
|
81
96
|
};
|
|
82
|
-
|
|
97
|
+
loading: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
pagination: {
|
|
102
|
+
type: () => import('./DuiTable.vue').PaginationData | undefined;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
}>> & Readonly<{
|
|
106
|
+
onPaginate?: ((page: number) => any) | undefined;
|
|
107
|
+
}>, {}, {}, {}, {}, {
|
|
108
|
+
loading: boolean;
|
|
109
|
+
pagination: import('./DuiTable.vue').PaginationData | undefined;
|
|
110
|
+
}>;
|
|
83
111
|
__isFragment?: never;
|
|
84
112
|
__isTeleport?: never;
|
|
85
113
|
__isSuspense?: never;
|
|
@@ -118,7 +146,22 @@ declare const meta: {
|
|
|
118
146
|
};
|
|
119
147
|
required: true;
|
|
120
148
|
};
|
|
121
|
-
|
|
149
|
+
loading: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
pagination: {
|
|
154
|
+
type: () => import('./DuiTable.vue').PaginationData | undefined;
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
}>> & Readonly<{
|
|
158
|
+
onPaginate?: ((page: number) => any) | undefined;
|
|
159
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
160
|
+
paginate: (page: number) => any;
|
|
161
|
+
}, string, {
|
|
162
|
+
loading: boolean;
|
|
163
|
+
pagination: import('./DuiTable.vue').PaginationData | undefined;
|
|
164
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
122
165
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
123
166
|
});
|
|
124
167
|
tags: string[];
|
|
@@ -144,8 +187,25 @@ declare const meta: {
|
|
|
144
187
|
country: string;
|
|
145
188
|
}[];
|
|
146
189
|
};
|
|
190
|
+
loading: {
|
|
191
|
+
control: {
|
|
192
|
+
type: "boolean";
|
|
193
|
+
};
|
|
194
|
+
description: string;
|
|
195
|
+
defaultValue: boolean;
|
|
196
|
+
};
|
|
197
|
+
pagination: {
|
|
198
|
+
control: {
|
|
199
|
+
type: "object";
|
|
200
|
+
};
|
|
201
|
+
description: string;
|
|
202
|
+
defaultValue: undefined;
|
|
203
|
+
};
|
|
147
204
|
};
|
|
148
205
|
};
|
|
149
206
|
export default meta;
|
|
150
207
|
type Story = StoryObj<typeof meta>;
|
|
151
208
|
export declare const Default: Story;
|
|
209
|
+
export declare const Loading: Story;
|
|
210
|
+
export declare const WithPagination: Story;
|
|
211
|
+
export declare const LoadingWithPagination: Story;
|
|
@@ -3,6 +3,11 @@ export interface TableColumn {
|
|
|
3
3
|
name: string;
|
|
4
4
|
classes?: string;
|
|
5
5
|
}
|
|
6
|
+
export interface PaginationData {
|
|
7
|
+
page: number;
|
|
8
|
+
perPage: number;
|
|
9
|
+
total: number;
|
|
10
|
+
}
|
|
6
11
|
declare function __VLS_template(): {
|
|
7
12
|
attrs: Partial<{}>;
|
|
8
13
|
slots: Partial<Record<string, (_: any) => any>>;
|
|
@@ -45,7 +50,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
45
50
|
};
|
|
46
51
|
required: true;
|
|
47
52
|
};
|
|
48
|
-
|
|
53
|
+
loading: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
pagination: {
|
|
58
|
+
type: () => PaginationData | undefined;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
|
+
paginate: (page: number) => any;
|
|
63
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
49
64
|
columns: {
|
|
50
65
|
type: {
|
|
51
66
|
(arrayLength: number): TableColumn[];
|
|
@@ -80,7 +95,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
80
95
|
};
|
|
81
96
|
required: true;
|
|
82
97
|
};
|
|
83
|
-
|
|
98
|
+
loading: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
pagination: {
|
|
103
|
+
type: () => PaginationData | undefined;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
onPaginate?: ((page: number) => any) | undefined;
|
|
108
|
+
}>, {
|
|
109
|
+
loading: boolean;
|
|
110
|
+
pagination: PaginationData | undefined;
|
|
111
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
84
112
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
85
113
|
export default _default;
|
|
86
114
|
type __VLS_WithTemplateSlots<T, S> = T & {
|