@vc-shell/framework 1.0.56 → 1.0.57
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/framework.mjs +126 -57
- package/dist/index.css +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/shared/app-switcher/components/index.d.ts +1 -1
- package/dist/types/shared/app-switcher/components/index.d.ts.map +1 -1
- package/dist/types/shared/app-switcher/components/vc-app-switcher/index.d.ts +22 -0
- package/dist/types/shared/app-switcher/components/vc-app-switcher/index.d.ts.map +1 -0
- package/dist/types/shared/app-switcher/index.d.ts +6 -0
- package/dist/types/shared/app-switcher/index.d.ts.map +1 -1
- package/dist/types/shared/assets/components/assets-details/index.d.ts +46 -0
- package/dist/types/shared/assets/components/assets-details/index.d.ts.map +1 -0
- package/dist/types/shared/assets/components/index.d.ts +1 -1
- package/dist/types/shared/assets/components/index.d.ts.map +1 -1
- package/dist/types/shared/assets/index.d.ts +6 -0
- package/dist/types/shared/assets/index.d.ts.map +1 -1
- package/dist/types/shared/blade-navigation/components/index.d.ts +1 -1
- package/dist/types/shared/blade-navigation/components/index.d.ts.map +1 -1
- package/dist/types/shared/blade-navigation/components/vc-blade-navigation/index.d.ts +66 -0
- package/dist/types/shared/blade-navigation/components/vc-blade-navigation/index.d.ts.map +1 -0
- package/dist/types/shared/blade-navigation/index.d.ts +6 -0
- package/dist/types/shared/blade-navigation/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-badge/index.d.ts +106 -9
- package/dist/types/ui/components/atoms/vc-badge/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-button/index.d.ts +153 -6
- package/dist/types/ui/components/atoms/vc-button/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-card/index.d.ts +163 -7
- package/dist/types/ui/components/atoms/vc-card/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-checkbox/index.d.ts +143 -7
- package/dist/types/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-col/index.d.ts +81 -6
- package/dist/types/ui/components/atoms/vc-col/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-container/index.d.ts +112 -6
- package/dist/types/ui/components/atoms/vc-container/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-hint/index.d.ts +51 -6
- package/dist/types/ui/components/atoms/vc-hint/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-icon/index.d.ts +26 -7
- package/dist/types/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-image/index.d.ts +67 -7
- package/dist/types/ui/components/atoms/vc-image/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-info-row/index.d.ts +33 -7
- package/dist/types/ui/components/atoms/vc-info-row/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-label/index.d.ts +95 -7
- package/dist/types/ui/components/atoms/vc-label/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-link/index.d.ts +103 -6
- package/dist/types/ui/components/atoms/vc-link/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-loading/index.d.ts +9 -7
- package/dist/types/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-progress/index.d.ts +100 -6
- package/dist/types/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-row/index.d.ts +51 -6
- package/dist/types/ui/components/atoms/vc-row/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-status/index.d.ts +116 -6
- package/dist/types/ui/components/atoms/vc-status/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-status-icon/index.d.ts +9 -7
- package/dist/types/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-switch/index.d.ts +39 -7
- package/dist/types/ui/components/atoms/vc-switch/index.d.ts.map +1 -1
- package/dist/types/ui/components/atoms/vc-widget/index.d.ts +31 -7
- package/dist/types/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
- package/dist/types/ui/components/index.d.ts +39 -39
- package/dist/types/ui/components/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-breadcrumbs/index.d.ts +33 -7
- package/dist/types/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-code-editor/index.d.ts +188 -6
- package/dist/types/ui/components/molecules/vc-code-editor/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-editor/index.d.ts +204 -6
- package/dist/types/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-file-upload/index.d.ts +175 -6
- package/dist/types/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-form/index.d.ts +51 -6
- package/dist/types/ui/components/molecules/vc-form/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-input/index.d.ts +375 -46
- package/dist/types/ui/components/molecules/vc-input/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-input-currency/index.d.ts +365 -12
- package/dist/types/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-notification/index.d.ts +101 -6
- package/dist/types/ui/components/molecules/vc-notification/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-pagination/index.d.ts +36 -7
- package/dist/types/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-rating/index.d.ts +156 -6
- package/dist/types/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-select/index.d.ts +566 -69
- package/dist/types/ui/components/molecules/vc-select/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-slider/index.d.ts +159 -10
- package/dist/types/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-textarea/index.d.ts +204 -6
- package/dist/types/ui/components/molecules/vc-textarea/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-app/index.d.ts +302 -9
- package/dist/types/ui/components/organisms/vc-app/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-blade/index.d.ts +201 -7
- package/dist/types/ui/components/organisms/vc-blade/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-dynamic-property/index.d.ts +59 -7
- package/dist/types/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-gallery/index.d.ts +157 -7
- package/dist/types/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-login-form/index.d.ts +113 -6
- package/dist/types/ui/components/organisms/vc-login-form/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-popup/index.d.ts +129 -6
- package/dist/types/ui/components/organisms/vc-popup/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -15
- package/dist/types/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-table/index.d.ts +649 -27
- package/dist/types/ui/components/organisms/vc-table/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-table/vc-table.stories.d.ts +69 -70
- package/dist/types/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-table/vc-table.vue.d.ts +31 -25
- package/dist/types/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/dist/types/ui/types/index.d.ts +46 -0
- package/dist/types/ui/types/index.d.ts.map +1 -0
- package/package.json +6 -6
- package/shared/app-switcher/components/index.ts +1 -1
- package/shared/app-switcher/components/vc-app-switcher/index.ts +3 -0
- package/shared/app-switcher/index.ts +7 -0
- package/shared/assets/components/assets-details/index.ts +3 -0
- package/shared/assets/components/index.ts +1 -1
- package/shared/assets/index.ts +7 -0
- package/shared/blade-navigation/components/index.ts +1 -1
- package/shared/blade-navigation/components/vc-blade-navigation/index.ts +3 -0
- package/shared/blade-navigation/index.ts +7 -0
- package/ui/components/atoms/vc-badge/index.ts +10 -9
- package/ui/components/atoms/vc-button/index.ts +7 -6
- package/ui/components/atoms/vc-card/index.ts +8 -7
- package/ui/components/atoms/vc-checkbox/index.ts +8 -7
- package/ui/components/atoms/vc-col/index.ts +7 -6
- package/ui/components/atoms/vc-container/index.ts +7 -6
- package/ui/components/atoms/vc-hint/index.ts +7 -6
- package/ui/components/atoms/vc-icon/index.ts +2 -8
- package/ui/components/atoms/vc-image/index.ts +2 -8
- package/ui/components/atoms/vc-info-row/index.ts +2 -8
- package/ui/components/atoms/vc-label/index.ts +8 -7
- package/ui/components/atoms/vc-link/index.ts +7 -6
- package/ui/components/atoms/vc-loading/index.ts +2 -8
- package/ui/components/atoms/vc-progress/index.ts +7 -6
- package/ui/components/atoms/vc-row/index.ts +7 -6
- package/ui/components/atoms/vc-status/index.ts +7 -6
- package/ui/components/atoms/vc-status-icon/index.ts +2 -8
- package/ui/components/atoms/vc-switch/index.ts +2 -8
- package/ui/components/atoms/vc-widget/index.ts +2 -8
- package/ui/components/index.ts +39 -39
- package/ui/components/molecules/vc-breadcrumbs/index.ts +2 -8
- package/ui/components/molecules/vc-code-editor/index.ts +7 -6
- package/ui/components/molecules/vc-editor/index.ts +7 -6
- package/ui/components/molecules/vc-file-upload/index.ts +7 -6
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +18 -4
- package/ui/components/molecules/vc-form/index.ts +7 -6
- package/ui/components/molecules/vc-input/index.ts +57 -56
- package/ui/components/molecules/vc-input-currency/index.ts +15 -14
- package/ui/components/molecules/vc-notification/index.ts +7 -6
- package/ui/components/molecules/vc-pagination/index.ts +2 -8
- package/ui/components/molecules/vc-rating/index.ts +7 -6
- package/ui/components/molecules/vc-select/index.ts +84 -84
- package/ui/components/molecules/vc-slider/index.ts +10 -9
- package/ui/components/molecules/vc-textarea/index.ts +7 -6
- package/ui/components/organisms/vc-app/index.ts +10 -9
- package/ui/components/organisms/vc-app/vc-app.vue +7 -0
- package/ui/components/organisms/vc-blade/index.ts +8 -7
- package/ui/components/organisms/vc-dynamic-property/index.ts +2 -8
- package/ui/components/organisms/vc-gallery/index.ts +2 -8
- package/ui/components/organisms/vc-login-form/index.ts +7 -6
- package/ui/components/organisms/vc-popup/index.ts +7 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +1 -4
- package/ui/components/organisms/vc-table/index.ts +16 -14
- package/ui/components/organisms/vc-table/vc-table.vue +118 -49
- package/ui/types/index.ts +53 -0
- package/dist/types/ui/services/components.d.ts +0 -2
- package/dist/types/ui/services/components.d.ts.map +0 -1
- package/dist/types/ui/services/types/components.d.ts +0 -14
- package/dist/types/ui/services/types/components.d.ts.map +0 -1
- package/dist/types/ui/services/types/index.d.ts +0 -7
- package/dist/types/ui/services/types/index.d.ts.map +0 -1
- package/dist/types/ui/services/types/ts-helpers.d.ts +0 -8
- package/dist/types/ui/services/types/ts-helpers.d.ts.map +0 -1
- package/ui/services/components.ts +0 -40
- package/ui/services/types/components.ts +0 -14
- package/ui/services/types/index.ts +0 -9
- package/ui/services/types/ts-helpers.ts +0 -18
|
@@ -8,10 +8,7 @@ declare const _default: {
|
|
|
8
8
|
footer: boolean;
|
|
9
9
|
header: boolean;
|
|
10
10
|
expanded: boolean;
|
|
11
|
-
|
|
12
|
-
items: string[] | {
|
|
13
|
-
id?: string;
|
|
14
|
-
}[];
|
|
11
|
+
items: import("./vc-table.vue").TableItemType[];
|
|
15
12
|
totalCount: number;
|
|
16
13
|
pages: number;
|
|
17
14
|
currentPage: number;
|
|
@@ -44,13 +41,9 @@ declare const _default: {
|
|
|
44
41
|
columns: {
|
|
45
42
|
type: import("vue").PropType<import("../../../..").ITableColumns[]>;
|
|
46
43
|
required: true;
|
|
47
|
-
} & {
|
|
48
|
-
default: () => any[];
|
|
49
44
|
};
|
|
50
45
|
items: {
|
|
51
|
-
type: import("vue").PropType<
|
|
52
|
-
id?: string;
|
|
53
|
-
}[]>;
|
|
46
|
+
type: import("vue").PropType<import("./vc-table.vue").TableItemType[]>;
|
|
54
47
|
required: true;
|
|
55
48
|
} & {
|
|
56
49
|
default: () => any[];
|
|
@@ -113,9 +106,7 @@ declare const _default: {
|
|
|
113
106
|
default: boolean;
|
|
114
107
|
};
|
|
115
108
|
itemActionBuilder: {
|
|
116
|
-
type: import("vue").PropType<(item:
|
|
117
|
-
id?: string;
|
|
118
|
-
}) => import("../../../..").IActionBuilderResult[]>;
|
|
109
|
+
type: import("vue").PropType<(item: import("./vc-table.vue").TableItem) => import("../../../..").IActionBuilderResult[]>;
|
|
119
110
|
};
|
|
120
111
|
multiselect: {
|
|
121
112
|
type: import("vue").PropType<boolean>;
|
|
@@ -129,6 +120,9 @@ declare const _default: {
|
|
|
129
120
|
scrolling: {
|
|
130
121
|
type: import("vue").PropType<boolean>;
|
|
131
122
|
};
|
|
123
|
+
reorderableRows: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
};
|
|
132
126
|
stateKey: {
|
|
133
127
|
type: import("vue").PropType<string>;
|
|
134
128
|
required: true;
|
|
@@ -136,13 +130,16 @@ declare const _default: {
|
|
|
136
130
|
}>> & {
|
|
137
131
|
onHeaderClick?: (value: Record<string, unknown>) => any;
|
|
138
132
|
"onScroll:ptr"?: () => any;
|
|
139
|
-
onItemClick?: (item:
|
|
140
|
-
id?: string;
|
|
141
|
-
}) => any;
|
|
133
|
+
onItemClick?: (item: import("./vc-table.vue").TableItem) => any;
|
|
142
134
|
onPaginationClick?: (page: number) => any;
|
|
143
135
|
onSelectionChanged?: (values: Record<string, boolean>) => any;
|
|
144
136
|
"onSearch:change"?: (value: string) => any;
|
|
145
|
-
|
|
137
|
+
"onRow:reorder"?: (args: {
|
|
138
|
+
dragIndex: number;
|
|
139
|
+
dropIndex: number;
|
|
140
|
+
value: import("./vc-table.vue").TableItemType[];
|
|
141
|
+
}) => any;
|
|
142
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "footer" | "header" | "expanded" | "items" | "totalCount" | "pages" | "currentPage" | "totalLabel" | "searchPlaceholder" | "empty" | "notfound" | "activeFilterCount" | "resizableColumns" | "reorderableColumns">;
|
|
146
143
|
$attrs: {
|
|
147
144
|
[x: string]: unknown;
|
|
148
145
|
};
|
|
@@ -154,9 +151,11 @@ declare const _default: {
|
|
|
154
151
|
}>;
|
|
155
152
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
156
153
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
157
|
-
$emit: ((event: "scroll:ptr") => void) & ((event: "itemClick", item: {
|
|
158
|
-
|
|
159
|
-
|
|
154
|
+
$emit: ((event: "scroll:ptr") => void) & ((event: "itemClick", item: import("./vc-table.vue").TableItem) => void) & ((event: "paginationClick", page: number) => void) & ((event: "selectionChanged", values: Record<string, boolean>) => void) & ((event: "search:change", value: string) => void) & ((event: "headerClick", value: Record<string, unknown>) => void) & ((event: "row:reorder", args: {
|
|
155
|
+
dragIndex: number;
|
|
156
|
+
dropIndex: number;
|
|
157
|
+
value: import("./vc-table.vue").TableItemType[];
|
|
158
|
+
}) => void);
|
|
160
159
|
$el: any;
|
|
161
160
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
162
161
|
sort: {
|
|
@@ -180,13 +179,9 @@ declare const _default: {
|
|
|
180
179
|
columns: {
|
|
181
180
|
type: import("vue").PropType<import("../../../..").ITableColumns[]>;
|
|
182
181
|
required: true;
|
|
183
|
-
} & {
|
|
184
|
-
default: () => any[];
|
|
185
182
|
};
|
|
186
183
|
items: {
|
|
187
|
-
type: import("vue").PropType<
|
|
188
|
-
id?: string;
|
|
189
|
-
}[]>;
|
|
184
|
+
type: import("vue").PropType<import("./vc-table.vue").TableItemType[]>;
|
|
190
185
|
required: true;
|
|
191
186
|
} & {
|
|
192
187
|
default: () => any[];
|
|
@@ -249,9 +244,7 @@ declare const _default: {
|
|
|
249
244
|
default: boolean;
|
|
250
245
|
};
|
|
251
246
|
itemActionBuilder: {
|
|
252
|
-
type: import("vue").PropType<(item:
|
|
253
|
-
id?: string;
|
|
254
|
-
}) => import("../../../..").IActionBuilderResult[]>;
|
|
247
|
+
type: import("vue").PropType<(item: import("./vc-table.vue").TableItem) => import("../../../..").IActionBuilderResult[]>;
|
|
255
248
|
};
|
|
256
249
|
multiselect: {
|
|
257
250
|
type: import("vue").PropType<boolean>;
|
|
@@ -265,6 +258,9 @@ declare const _default: {
|
|
|
265
258
|
scrolling: {
|
|
266
259
|
type: import("vue").PropType<boolean>;
|
|
267
260
|
};
|
|
261
|
+
reorderableRows: {
|
|
262
|
+
type: import("vue").PropType<boolean>;
|
|
263
|
+
};
|
|
268
264
|
stateKey: {
|
|
269
265
|
type: import("vue").PropType<string>;
|
|
270
266
|
required: true;
|
|
@@ -272,12 +268,15 @@ declare const _default: {
|
|
|
272
268
|
}>> & {
|
|
273
269
|
onHeaderClick?: (value: Record<string, unknown>) => any;
|
|
274
270
|
"onScroll:ptr"?: () => any;
|
|
275
|
-
onItemClick?: (item:
|
|
276
|
-
id?: string;
|
|
277
|
-
}) => any;
|
|
271
|
+
onItemClick?: (item: import("./vc-table.vue").TableItem) => any;
|
|
278
272
|
onPaginationClick?: (page: number) => any;
|
|
279
273
|
onSelectionChanged?: (values: Record<string, boolean>) => any;
|
|
280
274
|
"onSearch:change"?: (value: string) => any;
|
|
275
|
+
"onRow:reorder"?: (args: {
|
|
276
|
+
dragIndex: number;
|
|
277
|
+
dropIndex: number;
|
|
278
|
+
value: import("./vc-table.vue").TableItemType[];
|
|
279
|
+
}) => any;
|
|
281
280
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
282
281
|
paginationClick: (page: number) => void;
|
|
283
282
|
} & {
|
|
@@ -287,19 +286,20 @@ declare const _default: {
|
|
|
287
286
|
} & {
|
|
288
287
|
headerClick: (value: Record<string, unknown>) => void;
|
|
289
288
|
} & {
|
|
290
|
-
itemClick: (item:
|
|
291
|
-
id?: string;
|
|
292
|
-
}) => void;
|
|
289
|
+
itemClick: (item: import("./vc-table.vue").TableItem) => void;
|
|
293
290
|
} & {
|
|
294
291
|
"scroll:ptr": () => void;
|
|
292
|
+
} & {
|
|
293
|
+
"row:reorder": (args: {
|
|
294
|
+
dragIndex: number;
|
|
295
|
+
dropIndex: number;
|
|
296
|
+
value: import("./vc-table.vue").TableItemType[];
|
|
297
|
+
}) => void;
|
|
295
298
|
}, string, {
|
|
296
299
|
footer: boolean;
|
|
297
300
|
header: boolean;
|
|
298
301
|
expanded: boolean;
|
|
299
|
-
|
|
300
|
-
items: string[] | {
|
|
301
|
-
id?: string;
|
|
302
|
-
}[];
|
|
302
|
+
items: import("./vc-table.vue").TableItemType[];
|
|
303
303
|
totalCount: number;
|
|
304
304
|
pages: number;
|
|
305
305
|
currentPage: number;
|
|
@@ -352,13 +352,9 @@ declare const _default: {
|
|
|
352
352
|
columns: {
|
|
353
353
|
type: import("vue").PropType<import("../../../..").ITableColumns[]>;
|
|
354
354
|
required: true;
|
|
355
|
-
} & {
|
|
356
|
-
default: () => any[];
|
|
357
355
|
};
|
|
358
356
|
items: {
|
|
359
|
-
type: import("vue").PropType<
|
|
360
|
-
id?: string;
|
|
361
|
-
}[]>;
|
|
357
|
+
type: import("vue").PropType<import("./vc-table.vue").TableItemType[]>;
|
|
362
358
|
required: true;
|
|
363
359
|
} & {
|
|
364
360
|
default: () => any[];
|
|
@@ -421,9 +417,7 @@ declare const _default: {
|
|
|
421
417
|
default: boolean;
|
|
422
418
|
};
|
|
423
419
|
itemActionBuilder: {
|
|
424
|
-
type: import("vue").PropType<(item:
|
|
425
|
-
id?: string;
|
|
426
|
-
}) => import("../../../..").IActionBuilderResult[]>;
|
|
420
|
+
type: import("vue").PropType<(item: import("./vc-table.vue").TableItem) => import("../../../..").IActionBuilderResult[]>;
|
|
427
421
|
};
|
|
428
422
|
multiselect: {
|
|
429
423
|
type: import("vue").PropType<boolean>;
|
|
@@ -437,6 +431,9 @@ declare const _default: {
|
|
|
437
431
|
scrolling: {
|
|
438
432
|
type: import("vue").PropType<boolean>;
|
|
439
433
|
};
|
|
434
|
+
reorderableRows: {
|
|
435
|
+
type: import("vue").PropType<boolean>;
|
|
436
|
+
};
|
|
440
437
|
stateKey: {
|
|
441
438
|
type: import("vue").PropType<string>;
|
|
442
439
|
required: true;
|
|
@@ -444,12 +441,15 @@ declare const _default: {
|
|
|
444
441
|
}>> & {
|
|
445
442
|
onHeaderClick?: (value: Record<string, unknown>) => any;
|
|
446
443
|
"onScroll:ptr"?: () => any;
|
|
447
|
-
onItemClick?: (item:
|
|
448
|
-
id?: string;
|
|
449
|
-
}) => any;
|
|
444
|
+
onItemClick?: (item: import("./vc-table.vue").TableItem) => any;
|
|
450
445
|
onPaginationClick?: (page: number) => any;
|
|
451
446
|
onSelectionChanged?: (values: Record<string, boolean>) => any;
|
|
452
447
|
"onSearch:change"?: (value: string) => any;
|
|
448
|
+
"onRow:reorder"?: (args: {
|
|
449
|
+
dragIndex: number;
|
|
450
|
+
dropIndex: number;
|
|
451
|
+
value: import("./vc-table.vue").TableItemType[];
|
|
452
|
+
}) => any;
|
|
453
453
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
454
454
|
__isFragment?: never;
|
|
455
455
|
__isTeleport?: never;
|
|
@@ -476,13 +476,9 @@ declare const _default: {
|
|
|
476
476
|
columns: {
|
|
477
477
|
type: import("vue").PropType<import("../../../..").ITableColumns[]>;
|
|
478
478
|
required: true;
|
|
479
|
-
} & {
|
|
480
|
-
default: () => any[];
|
|
481
479
|
};
|
|
482
480
|
items: {
|
|
483
|
-
type: import("vue").PropType<
|
|
484
|
-
id?: string;
|
|
485
|
-
}[]>;
|
|
481
|
+
type: import("vue").PropType<import("./vc-table.vue").TableItemType[]>;
|
|
486
482
|
required: true;
|
|
487
483
|
} & {
|
|
488
484
|
default: () => any[];
|
|
@@ -545,9 +541,7 @@ declare const _default: {
|
|
|
545
541
|
default: boolean;
|
|
546
542
|
};
|
|
547
543
|
itemActionBuilder: {
|
|
548
|
-
type: import("vue").PropType<(item:
|
|
549
|
-
id?: string;
|
|
550
|
-
}) => import("../../../..").IActionBuilderResult[]>;
|
|
544
|
+
type: import("vue").PropType<(item: import("./vc-table.vue").TableItem) => import("../../../..").IActionBuilderResult[]>;
|
|
551
545
|
};
|
|
552
546
|
multiselect: {
|
|
553
547
|
type: import("vue").PropType<boolean>;
|
|
@@ -561,6 +555,9 @@ declare const _default: {
|
|
|
561
555
|
scrolling: {
|
|
562
556
|
type: import("vue").PropType<boolean>;
|
|
563
557
|
};
|
|
558
|
+
reorderableRows: {
|
|
559
|
+
type: import("vue").PropType<boolean>;
|
|
560
|
+
};
|
|
564
561
|
stateKey: {
|
|
565
562
|
type: import("vue").PropType<string>;
|
|
566
563
|
required: true;
|
|
@@ -568,12 +565,15 @@ declare const _default: {
|
|
|
568
565
|
}>> & {
|
|
569
566
|
onHeaderClick?: (value: Record<string, unknown>) => any;
|
|
570
567
|
"onScroll:ptr"?: () => any;
|
|
571
|
-
onItemClick?: (item:
|
|
572
|
-
id?: string;
|
|
573
|
-
}) => any;
|
|
568
|
+
onItemClick?: (item: import("./vc-table.vue").TableItem) => any;
|
|
574
569
|
onPaginationClick?: (page: number) => any;
|
|
575
570
|
onSelectionChanged?: (values: Record<string, boolean>) => any;
|
|
576
571
|
"onSearch:change"?: (value: string) => any;
|
|
572
|
+
"onRow:reorder"?: (args: {
|
|
573
|
+
dragIndex: number;
|
|
574
|
+
dropIndex: number;
|
|
575
|
+
value: import("./vc-table.vue").TableItemType[];
|
|
576
|
+
}) => any;
|
|
577
577
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
578
578
|
paginationClick: (page: number) => void;
|
|
579
579
|
} & {
|
|
@@ -583,19 +583,20 @@ declare const _default: {
|
|
|
583
583
|
} & {
|
|
584
584
|
headerClick: (value: Record<string, unknown>) => void;
|
|
585
585
|
} & {
|
|
586
|
-
itemClick: (item:
|
|
587
|
-
id?: string;
|
|
588
|
-
}) => void;
|
|
586
|
+
itemClick: (item: import("./vc-table.vue").TableItem) => void;
|
|
589
587
|
} & {
|
|
590
588
|
"scroll:ptr": () => void;
|
|
589
|
+
} & {
|
|
590
|
+
"row:reorder": (args: {
|
|
591
|
+
dragIndex: number;
|
|
592
|
+
dropIndex: number;
|
|
593
|
+
value: import("./vc-table.vue").TableItemType[];
|
|
594
|
+
}) => void;
|
|
591
595
|
}, string, {
|
|
592
596
|
footer: boolean;
|
|
593
597
|
header: boolean;
|
|
594
598
|
expanded: boolean;
|
|
595
|
-
|
|
596
|
-
items: string[] | {
|
|
597
|
-
id?: string;
|
|
598
|
-
}[];
|
|
599
|
+
items: import("./vc-table.vue").TableItemType[];
|
|
599
600
|
totalCount: number;
|
|
600
601
|
pages: number;
|
|
601
602
|
currentPage: number;
|
|
@@ -608,7 +609,7 @@ declare const _default: {
|
|
|
608
609
|
reorderableColumns: boolean;
|
|
609
610
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
610
611
|
$slots: Record<string, (_: {}) => any> & Record<string, (_: {
|
|
611
|
-
item:
|
|
612
|
+
item: import("./vc-table.vue").TableItemType;
|
|
612
613
|
cell: import("../../../..").ITableColumns;
|
|
613
614
|
}) => any> & {
|
|
614
615
|
header: (_: {}) => any;
|
|
@@ -616,9 +617,7 @@ declare const _default: {
|
|
|
616
617
|
closePanel: () => void;
|
|
617
618
|
}) => any;
|
|
618
619
|
'mobile-item': (_: {
|
|
619
|
-
item:
|
|
620
|
-
id?: string;
|
|
621
|
-
};
|
|
620
|
+
item: import("./vc-table.vue").TableItemType;
|
|
622
621
|
}) => any;
|
|
623
622
|
notfound: (_: {}) => any;
|
|
624
623
|
empty: (_: {}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table.stories.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-table/vc-table.stories.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vc-table.stories.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-table/vc-table.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAGE;AAwBF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
|
@@ -5,14 +5,16 @@ export interface StatusImage {
|
|
|
5
5
|
action?: string;
|
|
6
6
|
clickHandler?: () => void;
|
|
7
7
|
}
|
|
8
|
+
export interface TableItem {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
id?: string;
|
|
11
|
+
actions?: IActionBuilderResult[];
|
|
12
|
+
}
|
|
13
|
+
export type TableItemType = TableItem | string;
|
|
8
14
|
export interface Props {
|
|
9
15
|
columns: ITableColumns[];
|
|
10
|
-
items:
|
|
11
|
-
|
|
12
|
-
}[] | string[];
|
|
13
|
-
itemActionBuilder?: (item: {
|
|
14
|
-
id?: string;
|
|
15
|
-
}) => IActionBuilderResult[];
|
|
16
|
+
items: TableItemType[];
|
|
17
|
+
itemActionBuilder?: (item: TableItem) => IActionBuilderResult[];
|
|
16
18
|
sort?: string;
|
|
17
19
|
multiselect?: boolean;
|
|
18
20
|
expanded?: boolean;
|
|
@@ -32,6 +34,7 @@ export interface Props {
|
|
|
32
34
|
scrolling?: boolean;
|
|
33
35
|
resizableColumns?: boolean;
|
|
34
36
|
reorderableColumns?: boolean;
|
|
37
|
+
reorderableRows?: boolean;
|
|
35
38
|
stateKey: string;
|
|
36
39
|
}
|
|
37
40
|
export interface Emits {
|
|
@@ -39,13 +42,15 @@ export interface Emits {
|
|
|
39
42
|
(event: "selectionChanged", values: Record<string, boolean>): void;
|
|
40
43
|
(event: "search:change", value: string): void;
|
|
41
44
|
(event: "headerClick", value: Record<string, unknown>): void;
|
|
42
|
-
(event: "itemClick", item:
|
|
43
|
-
id?: string;
|
|
44
|
-
}): void;
|
|
45
|
+
(event: "itemClick", item: TableItem): void;
|
|
45
46
|
(event: "scroll:ptr"): void;
|
|
47
|
+
(event: "row:reorder", args: {
|
|
48
|
+
dragIndex: number;
|
|
49
|
+
dropIndex: number;
|
|
50
|
+
value: TableItemType[];
|
|
51
|
+
}): void;
|
|
46
52
|
}
|
|
47
53
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
48
|
-
columns: () => any[];
|
|
49
54
|
items: () => any[];
|
|
50
55
|
totalLabel: string;
|
|
51
56
|
totalCount: number;
|
|
@@ -73,13 +78,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
73
78
|
} & {
|
|
74
79
|
headerClick: (value: Record<string, unknown>) => void;
|
|
75
80
|
} & {
|
|
76
|
-
itemClick: (item:
|
|
77
|
-
id?: string;
|
|
78
|
-
}) => void;
|
|
81
|
+
itemClick: (item: TableItem) => void;
|
|
79
82
|
} & {
|
|
80
83
|
"scroll:ptr": () => void;
|
|
84
|
+
} & {
|
|
85
|
+
"row:reorder": (args: {
|
|
86
|
+
dragIndex: number;
|
|
87
|
+
dropIndex: number;
|
|
88
|
+
value: TableItemType[];
|
|
89
|
+
}) => void;
|
|
81
90
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
82
|
-
columns: () => any[];
|
|
83
91
|
items: () => any[];
|
|
84
92
|
totalLabel: string;
|
|
85
93
|
totalCount: number;
|
|
@@ -101,20 +109,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
101
109
|
}>>> & {
|
|
102
110
|
onHeaderClick?: (value: Record<string, unknown>) => any;
|
|
103
111
|
"onScroll:ptr"?: () => any;
|
|
104
|
-
onItemClick?: (item:
|
|
105
|
-
id?: string;
|
|
106
|
-
}) => any;
|
|
112
|
+
onItemClick?: (item: TableItem) => any;
|
|
107
113
|
onPaginationClick?: (page: number) => any;
|
|
108
114
|
onSelectionChanged?: (values: Record<string, boolean>) => any;
|
|
109
115
|
"onSearch:change"?: (value: string) => any;
|
|
116
|
+
"onRow:reorder"?: (args: {
|
|
117
|
+
dragIndex: number;
|
|
118
|
+
dropIndex: number;
|
|
119
|
+
value: TableItemType[];
|
|
120
|
+
}) => any;
|
|
110
121
|
}, {
|
|
111
122
|
footer: boolean;
|
|
112
123
|
header: boolean;
|
|
113
124
|
expanded: boolean;
|
|
114
|
-
|
|
115
|
-
items: string[] | {
|
|
116
|
-
id?: string;
|
|
117
|
-
}[];
|
|
125
|
+
items: TableItemType[];
|
|
118
126
|
totalCount: number;
|
|
119
127
|
pages: number;
|
|
120
128
|
currentPage: number;
|
|
@@ -126,7 +134,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
126
134
|
resizableColumns: boolean;
|
|
127
135
|
reorderableColumns: boolean;
|
|
128
136
|
}>, Record<string, (_: {}) => any> & Record<string, (_: {
|
|
129
|
-
item:
|
|
137
|
+
item: TableItemType;
|
|
130
138
|
cell: ITableColumns;
|
|
131
139
|
}) => any> & {
|
|
132
140
|
header: (_: {}) => any;
|
|
@@ -134,9 +142,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
134
142
|
closePanel: () => void;
|
|
135
143
|
}) => any;
|
|
136
144
|
'mobile-item': (_: {
|
|
137
|
-
item:
|
|
138
|
-
id?: string;
|
|
139
|
-
};
|
|
145
|
+
item: TableItemType;
|
|
140
146
|
}) => any;
|
|
141
147
|
notfound: (_: {}) => any;
|
|
142
148
|
empty: (_: {}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAI/E,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as VcShellComponents from "./../components";
|
|
2
|
+
declare module "@vue/runtime-core" {
|
|
3
|
+
interface GlobalComponents {
|
|
4
|
+
VcBadge: (typeof VcShellComponents)["VcBadge"];
|
|
5
|
+
VcButton: (typeof VcShellComponents)["VcButton"];
|
|
6
|
+
VcCard: (typeof VcShellComponents)["VcCard"];
|
|
7
|
+
VcCheckbox: (typeof VcShellComponents)["VcCheckbox"];
|
|
8
|
+
VcCol: (typeof VcShellComponents)["VcCol"];
|
|
9
|
+
VcContainer: (typeof VcShellComponents)["VcContainer"];
|
|
10
|
+
VcHint: (typeof VcShellComponents)["VcHint"];
|
|
11
|
+
VcIcon: (typeof VcShellComponents)["VcIcon"];
|
|
12
|
+
VcImage: (typeof VcShellComponents)["VcImage"];
|
|
13
|
+
VcInfoRow: (typeof VcShellComponents)["VcInfoRow"];
|
|
14
|
+
VcLabel: (typeof VcShellComponents)["VcLabel"];
|
|
15
|
+
VcLink: (typeof VcShellComponents)["VcLink"];
|
|
16
|
+
VcLoading: (typeof VcShellComponents)["VcLoading"];
|
|
17
|
+
VcProgress: (typeof VcShellComponents)["VcProgress"];
|
|
18
|
+
VcRow: (typeof VcShellComponents)["VcRow"];
|
|
19
|
+
VcStatus: (typeof VcShellComponents)["VcStatus"];
|
|
20
|
+
VcStatusIcon: (typeof VcShellComponents)["VcStatusIcon"];
|
|
21
|
+
VcSwitch: (typeof VcShellComponents)["VcSwitch"];
|
|
22
|
+
VcWidget: (typeof VcShellComponents)["VcWidget"];
|
|
23
|
+
VcBreadcrumbs: (typeof VcShellComponents)["VcBreadcrumbs"];
|
|
24
|
+
VcCodeEditor: (typeof VcShellComponents)["VcCodeEditor"];
|
|
25
|
+
VcEditor: (typeof VcShellComponents)["VcEditor"];
|
|
26
|
+
VcFileUpload: (typeof VcShellComponents)["VcFileUpload"];
|
|
27
|
+
VcForm: (typeof VcShellComponents)["VcForm"];
|
|
28
|
+
VcInput: (typeof VcShellComponents)["VcInput"];
|
|
29
|
+
VcInputCurrency: (typeof VcShellComponents)["VcInputCurrency"];
|
|
30
|
+
VcNotification: (typeof VcShellComponents)["VcNotification"];
|
|
31
|
+
VcPagination: (typeof VcShellComponents)["VcPagination"];
|
|
32
|
+
VcRating: (typeof VcShellComponents)["VcRating"];
|
|
33
|
+
VcSelect: (typeof VcShellComponents)["VcSelect"];
|
|
34
|
+
VcSlider: (typeof VcShellComponents)["VcSlider"];
|
|
35
|
+
VcTextarea: (typeof VcShellComponents)["VcTextarea"];
|
|
36
|
+
VcApp: (typeof VcShellComponents)["VcApp"];
|
|
37
|
+
VcBlade: (typeof VcShellComponents)["VcBlade"];
|
|
38
|
+
VcDynamicProperty: (typeof VcShellComponents)["VcDynamicProperty"];
|
|
39
|
+
VcGallery: (typeof VcShellComponents)["VcGallery"];
|
|
40
|
+
VcLoginForm: (typeof VcShellComponents)["VcLoginForm"];
|
|
41
|
+
VcPopup: (typeof VcShellComponents)["VcPopup"];
|
|
42
|
+
VcTable: (typeof VcShellComponents)["VcTable"];
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../ui/types/index.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"main": "./dist/framework.mjs",
|
|
5
5
|
"module": "./dist/framework.mjs",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"./*": "./*"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
|
-
"build": "
|
|
28
|
+
"build": "yarn build:lib & yarn build:types",
|
|
29
|
+
"build:lib": "vite build",
|
|
29
30
|
"build:types": "vue-tsc --declaration --emitDeclarationOnly --outDir dist/types",
|
|
30
31
|
"dev": "vite",
|
|
31
32
|
"development": "vite build --watch -m development",
|
|
@@ -56,9 +57,8 @@
|
|
|
56
57
|
"vuedraggable": "^4.1.0"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
60
|
-
"@vc-shell/config-generator": "^1.0.
|
|
61
|
-
"@vue-macros/volar": "^0.8.1",
|
|
60
|
+
"@vc-shell/api-client-generator": "^1.0.57",
|
|
61
|
+
"@vc-shell/config-generator": "^1.0.57",
|
|
62
62
|
"sass": "^1.49.0",
|
|
63
63
|
"typescript": "^4.9.5",
|
|
64
64
|
"url-pattern": "^1.0.3"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"access": "public",
|
|
68
68
|
"registry": "https://registry.npmjs.org/"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "ca294492c2aa439befaba5ee3899dd867c50e35b"
|
|
71
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { VcAppSwitcher } from "./vc-app-switcher";
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { createModule } from "../../core/plugins/modularity";
|
|
2
2
|
import * as components from "./components";
|
|
3
3
|
|
|
4
|
+
// Declare globally
|
|
5
|
+
declare module "@vue/runtime-core" {
|
|
6
|
+
export interface GlobalComponents {
|
|
7
|
+
VcAppSwitcher: (typeof components)["VcAppSwitcher"];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
4
11
|
export default createModule(components);
|
|
5
12
|
|
|
6
13
|
export * from "./components";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AssetsDetails } from "./assets-details";
|
package/shared/assets/index.ts
CHANGED
|
@@ -2,6 +2,13 @@ import { createModule } from "../../core/plugins/modularity";
|
|
|
2
2
|
import * as components from "./components";
|
|
3
3
|
import * as locales from "./locales";
|
|
4
4
|
|
|
5
|
+
// Declare globally
|
|
6
|
+
declare module "@vue/runtime-core" {
|
|
7
|
+
export interface GlobalComponents {
|
|
8
|
+
AssetsDetails: (typeof components)["AssetsDetails"];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
5
12
|
export default createModule(components, locales);
|
|
6
13
|
|
|
7
14
|
export * from "./components";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { VcBladeNavigation } from "./vc-blade-navigation";
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { createModule } from "../../core/plugins/modularity";
|
|
2
2
|
import * as components from "./components";
|
|
3
3
|
|
|
4
|
+
// Declare globally
|
|
5
|
+
declare module "@vue/runtime-core" {
|
|
6
|
+
export interface GlobalComponents {
|
|
7
|
+
VcBladeNavigation: (typeof components)["VcBladeNavigation"];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
4
11
|
export default createModule(components);
|
|
5
12
|
|
|
6
13
|
export * from "./components";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { VNode } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import { GlobalComponentConstructor } from "./../../../services/types/ts-helpers";
|
|
2
|
+
import _Badge from "./vc-badge.vue";
|
|
4
3
|
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
export const VcBadge = _Badge as typeof _Badge & {
|
|
5
|
+
new (): {
|
|
6
|
+
$slots: {
|
|
7
|
+
/**
|
|
8
|
+
* Slot for component content
|
|
9
|
+
* */
|
|
10
|
+
default: () => VNode[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
10
13
|
};
|
|
11
|
-
|
|
12
|
-
export const VcBadge: GlobalComponentConstructor<typeof Badge, VcBadgeSlots> = Badge;
|