@omnia/fx 8.0.48-dev → 8.0.49-dev
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/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +565 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +24 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +7 -0
- package/package.json +2 -2
@@ -0,0 +1,565 @@
|
|
1
|
+
import { DataTableHeader, IDataTableRowRenderer, SelectItemKey, SortItem } from "@omnia/fx/ux";
|
2
|
+
import { VDataTableServerSlots } from "../../ComponentTypings";
|
3
|
+
export interface ODataTableServerSlots extends Omit<VDataTableServerSlots, "item"> {
|
4
|
+
item?: (row: IDataTableRowRenderer) => void;
|
5
|
+
}
|
6
|
+
declare const _default: {
|
7
|
+
new (...args: any[]): {
|
8
|
+
$: import("vue").ComponentInternalInstance;
|
9
|
+
$data: {};
|
10
|
+
$props: Partial<{
|
11
|
+
container?: any;
|
12
|
+
blueprint?: any;
|
13
|
+
colorSchemaType?: any;
|
14
|
+
blueprintType?: any;
|
15
|
+
colors?: any;
|
16
|
+
}> & Omit<{
|
17
|
+
readonly container?: any;
|
18
|
+
readonly blueprint?: any;
|
19
|
+
readonly colorSchemaType?: any;
|
20
|
+
readonly blueprintType?: any;
|
21
|
+
readonly colors?: any;
|
22
|
+
readonly headers?: DataTableHeader[] | DataTableHeader[][];
|
23
|
+
readonly height?: string | number;
|
24
|
+
readonly page?: number;
|
25
|
+
readonly expanded?: string[];
|
26
|
+
readonly "onUpdate:modelValue"?: (value: string[]) => any;
|
27
|
+
readonly "v-model"?: string[];
|
28
|
+
readonly modelValue?: string[];
|
29
|
+
readonly items?: any[];
|
30
|
+
readonly "v-slots"?: {
|
31
|
+
default?: import("../../DefineVueTypings").Slot<any[]>;
|
32
|
+
} & ODataTableServerSlots;
|
33
|
+
readonly loading?: boolean;
|
34
|
+
readonly hover?: boolean;
|
35
|
+
readonly sortBy?: SortItem[];
|
36
|
+
readonly mustSort?: boolean;
|
37
|
+
readonly showSelect?: boolean;
|
38
|
+
readonly itemSelectable?: SelectItemKey;
|
39
|
+
readonly showExpand?: boolean;
|
40
|
+
readonly itemsPerPage?: number;
|
41
|
+
readonly "onUpdate:expanded"?: (value: string[]) => any;
|
42
|
+
"onUpdate:sortBy"?: ((value: SortItem[]) => any) & ((item: SortItem[]) => any);
|
43
|
+
"onUpdate:page"?: ((value: number) => any) & ((page: number) => any);
|
44
|
+
readonly itemsLength?: number;
|
45
|
+
readonly clickable?: boolean;
|
46
|
+
readonly "v-model:expanded"?: string[];
|
47
|
+
readonly "v-model:sortBy"?: SortItem[];
|
48
|
+
readonly "v-model:page"?: number;
|
49
|
+
onDoc$?: (description?: string) => any;
|
50
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
51
|
+
"v-slots": import("vue").Prop<{
|
52
|
+
default?: import("../../DefineVueTypings").Slot<any[]>;
|
53
|
+
} & ODataTableServerSlots>;
|
54
|
+
height: {
|
55
|
+
type: import("vue").PropType<string | number>;
|
56
|
+
};
|
57
|
+
showExpand: {
|
58
|
+
type: import("vue").PropType<boolean>;
|
59
|
+
required: false;
|
60
|
+
};
|
61
|
+
expanded: {
|
62
|
+
type: import("vue").PropType<string[]>;
|
63
|
+
required: false;
|
64
|
+
};
|
65
|
+
"onUpdate:modelValue": {
|
66
|
+
type: import("vue").PropType<(value: string[]) => any>;
|
67
|
+
};
|
68
|
+
"v-model": {
|
69
|
+
type: import("vue").PropType<string[]>;
|
70
|
+
required: false;
|
71
|
+
};
|
72
|
+
modelValue: {
|
73
|
+
type: import("vue").PropType<string[]>;
|
74
|
+
required: false;
|
75
|
+
};
|
76
|
+
"onUpdate:expanded": {
|
77
|
+
type: import("vue").PropType<(value: string[]) => any>;
|
78
|
+
};
|
79
|
+
"v-model:expanded": {
|
80
|
+
type: import("vue").PropType<string[]>;
|
81
|
+
required: false;
|
82
|
+
};
|
83
|
+
clickable: {
|
84
|
+
type: import("vue").PropType<boolean>;
|
85
|
+
required: false;
|
86
|
+
};
|
87
|
+
hover: {
|
88
|
+
type: import("vue").PropType<boolean>;
|
89
|
+
required: false;
|
90
|
+
};
|
91
|
+
"onUpdate:sortBy": {
|
92
|
+
type: import("vue").PropType<(value: SortItem[]) => any>;
|
93
|
+
};
|
94
|
+
"v-model:sortBy": {
|
95
|
+
type: import("vue").PropType<SortItem[]>;
|
96
|
+
required: false;
|
97
|
+
};
|
98
|
+
sortBy: {
|
99
|
+
type: import("vue").PropType<SortItem[]>;
|
100
|
+
required: false;
|
101
|
+
};
|
102
|
+
itemSelectable: {
|
103
|
+
type: import("vue").PropType<SelectItemKey>;
|
104
|
+
};
|
105
|
+
itemsLength: {
|
106
|
+
type: import("vue").PropType<number>;
|
107
|
+
required: false;
|
108
|
+
};
|
109
|
+
loading: {
|
110
|
+
type: import("vue").PropType<boolean>;
|
111
|
+
required: false;
|
112
|
+
};
|
113
|
+
page: {
|
114
|
+
type: import("vue").PropType<number>;
|
115
|
+
required: false;
|
116
|
+
};
|
117
|
+
"onUpdate:page": {
|
118
|
+
type: import("vue").PropType<(value: number) => any>;
|
119
|
+
};
|
120
|
+
"v-model:page": {
|
121
|
+
type: import("vue").PropType<number>;
|
122
|
+
required: false;
|
123
|
+
};
|
124
|
+
showSelect: {
|
125
|
+
type: import("vue").PropType<boolean>;
|
126
|
+
required: false;
|
127
|
+
};
|
128
|
+
mustSort: {
|
129
|
+
type: import("vue").PropType<boolean>;
|
130
|
+
required: false;
|
131
|
+
};
|
132
|
+
itemsPerPage: {
|
133
|
+
type: import("vue").PropType<number>;
|
134
|
+
required: false;
|
135
|
+
};
|
136
|
+
headers: {
|
137
|
+
type: import("vue").PropType<DataTableHeader[] | DataTableHeader[][]>;
|
138
|
+
required: false;
|
139
|
+
};
|
140
|
+
items: {
|
141
|
+
type: import("vue").PropType<any[]>;
|
142
|
+
required: false;
|
143
|
+
};
|
144
|
+
colorSchemaType?: any;
|
145
|
+
container?: any;
|
146
|
+
colors?: any;
|
147
|
+
blueprintType?: any;
|
148
|
+
blueprint?: any;
|
149
|
+
}>> & {
|
150
|
+
onDoc$?: (description?: string) => any;
|
151
|
+
"onUpdate:sortBy"?: (item: SortItem[]) => any;
|
152
|
+
"onUpdate:page"?: (page: number) => any;
|
153
|
+
}, "container" | "blueprint" | "colorSchemaType" | "blueprintType" | "colors">;
|
154
|
+
$attrs: {
|
155
|
+
[x: string]: unknown;
|
156
|
+
};
|
157
|
+
$refs: {
|
158
|
+
[x: string]: unknown;
|
159
|
+
};
|
160
|
+
$slots: Readonly<{
|
161
|
+
[name: string]: import("vue").Slot<any>;
|
162
|
+
}>;
|
163
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
164
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
165
|
+
$emit: ((event: "doc$", description?: string) => void) & ((event: "update:sortBy", item: SortItem[]) => void) & ((event: "update:page", page: number) => void);
|
166
|
+
$el: any;
|
167
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
168
|
+
"v-slots": import("vue").Prop<{
|
169
|
+
default?: import("../../DefineVueTypings").Slot<any[]>;
|
170
|
+
} & ODataTableServerSlots>;
|
171
|
+
height: {
|
172
|
+
type: import("vue").PropType<string | number>;
|
173
|
+
};
|
174
|
+
showExpand: {
|
175
|
+
type: import("vue").PropType<boolean>;
|
176
|
+
required: false;
|
177
|
+
};
|
178
|
+
expanded: {
|
179
|
+
type: import("vue").PropType<string[]>;
|
180
|
+
required: false;
|
181
|
+
};
|
182
|
+
"onUpdate:modelValue": {
|
183
|
+
type: import("vue").PropType<(value: string[]) => any>;
|
184
|
+
};
|
185
|
+
"v-model": {
|
186
|
+
type: import("vue").PropType<string[]>;
|
187
|
+
required: false;
|
188
|
+
};
|
189
|
+
modelValue: {
|
190
|
+
type: import("vue").PropType<string[]>;
|
191
|
+
required: false;
|
192
|
+
};
|
193
|
+
"onUpdate:expanded": {
|
194
|
+
type: import("vue").PropType<(value: string[]) => any>;
|
195
|
+
};
|
196
|
+
"v-model:expanded": {
|
197
|
+
type: import("vue").PropType<string[]>;
|
198
|
+
required: false;
|
199
|
+
};
|
200
|
+
clickable: {
|
201
|
+
type: import("vue").PropType<boolean>;
|
202
|
+
required: false;
|
203
|
+
};
|
204
|
+
hover: {
|
205
|
+
type: import("vue").PropType<boolean>;
|
206
|
+
required: false;
|
207
|
+
};
|
208
|
+
"onUpdate:sortBy": {
|
209
|
+
type: import("vue").PropType<(value: SortItem[]) => any>;
|
210
|
+
};
|
211
|
+
"v-model:sortBy": {
|
212
|
+
type: import("vue").PropType<SortItem[]>;
|
213
|
+
required: false;
|
214
|
+
};
|
215
|
+
sortBy: {
|
216
|
+
type: import("vue").PropType<SortItem[]>;
|
217
|
+
required: false;
|
218
|
+
};
|
219
|
+
itemSelectable: {
|
220
|
+
type: import("vue").PropType<SelectItemKey>;
|
221
|
+
};
|
222
|
+
itemsLength: {
|
223
|
+
type: import("vue").PropType<number>;
|
224
|
+
required: false;
|
225
|
+
};
|
226
|
+
loading: {
|
227
|
+
type: import("vue").PropType<boolean>;
|
228
|
+
required: false;
|
229
|
+
};
|
230
|
+
page: {
|
231
|
+
type: import("vue").PropType<number>;
|
232
|
+
required: false;
|
233
|
+
};
|
234
|
+
"onUpdate:page": {
|
235
|
+
type: import("vue").PropType<(value: number) => any>;
|
236
|
+
};
|
237
|
+
"v-model:page": {
|
238
|
+
type: import("vue").PropType<number>;
|
239
|
+
required: false;
|
240
|
+
};
|
241
|
+
showSelect: {
|
242
|
+
type: import("vue").PropType<boolean>;
|
243
|
+
required: false;
|
244
|
+
};
|
245
|
+
mustSort: {
|
246
|
+
type: import("vue").PropType<boolean>;
|
247
|
+
required: false;
|
248
|
+
};
|
249
|
+
itemsPerPage: {
|
250
|
+
type: import("vue").PropType<number>;
|
251
|
+
required: false;
|
252
|
+
};
|
253
|
+
headers: {
|
254
|
+
type: import("vue").PropType<DataTableHeader[] | DataTableHeader[][]>;
|
255
|
+
required: false;
|
256
|
+
};
|
257
|
+
items: {
|
258
|
+
type: import("vue").PropType<any[]>;
|
259
|
+
required: false;
|
260
|
+
};
|
261
|
+
colorSchemaType?: any;
|
262
|
+
container?: any;
|
263
|
+
colors?: any;
|
264
|
+
blueprintType?: any;
|
265
|
+
blueprint?: any;
|
266
|
+
}>> & {
|
267
|
+
onDoc$?: (description?: string) => any;
|
268
|
+
"onUpdate:sortBy"?: (item: SortItem[]) => any;
|
269
|
+
"onUpdate:page"?: (page: number) => any;
|
270
|
+
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
271
|
+
"update:page": (page: number) => void;
|
272
|
+
doc$(description?: string): {
|
273
|
+
"update:page": (page: number) => void;
|
274
|
+
};
|
275
|
+
"update:sortBy": (item: SortItem[]) => void;
|
276
|
+
}, string, {
|
277
|
+
container?: any;
|
278
|
+
blueprint?: any;
|
279
|
+
colorSchemaType?: any;
|
280
|
+
blueprintType?: any;
|
281
|
+
colors?: any;
|
282
|
+
}, {}, string, {}> & {
|
283
|
+
beforeCreate?: (() => void) | (() => void)[];
|
284
|
+
created?: (() => void) | (() => void)[];
|
285
|
+
beforeMount?: (() => void) | (() => void)[];
|
286
|
+
mounted?: (() => void) | (() => void)[];
|
287
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
288
|
+
updated?: (() => void) | (() => void)[];
|
289
|
+
activated?: (() => void) | (() => void)[];
|
290
|
+
deactivated?: (() => void) | (() => void)[];
|
291
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
292
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
293
|
+
destroyed?: (() => void) | (() => void)[];
|
294
|
+
unmounted?: (() => void) | (() => void)[];
|
295
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
296
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
297
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
298
|
+
};
|
299
|
+
$forceUpdate: () => void;
|
300
|
+
$nextTick: typeof import("vue").nextTick;
|
301
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
302
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
303
|
+
"v-slots": import("vue").Prop<{
|
304
|
+
default?: import("../../DefineVueTypings").Slot<any[]>;
|
305
|
+
} & ODataTableServerSlots>;
|
306
|
+
height: {
|
307
|
+
type: import("vue").PropType<string | number>;
|
308
|
+
};
|
309
|
+
showExpand: {
|
310
|
+
type: import("vue").PropType<boolean>;
|
311
|
+
required: false;
|
312
|
+
};
|
313
|
+
expanded: {
|
314
|
+
type: import("vue").PropType<string[]>;
|
315
|
+
required: false;
|
316
|
+
};
|
317
|
+
"onUpdate:modelValue": {
|
318
|
+
type: import("vue").PropType<(value: string[]) => any>;
|
319
|
+
};
|
320
|
+
"v-model": {
|
321
|
+
type: import("vue").PropType<string[]>;
|
322
|
+
required: false;
|
323
|
+
};
|
324
|
+
modelValue: {
|
325
|
+
type: import("vue").PropType<string[]>;
|
326
|
+
required: false;
|
327
|
+
};
|
328
|
+
"onUpdate:expanded": {
|
329
|
+
type: import("vue").PropType<(value: string[]) => any>;
|
330
|
+
};
|
331
|
+
"v-model:expanded": {
|
332
|
+
type: import("vue").PropType<string[]>;
|
333
|
+
required: false;
|
334
|
+
};
|
335
|
+
clickable: {
|
336
|
+
type: import("vue").PropType<boolean>;
|
337
|
+
required: false;
|
338
|
+
};
|
339
|
+
hover: {
|
340
|
+
type: import("vue").PropType<boolean>;
|
341
|
+
required: false;
|
342
|
+
};
|
343
|
+
"onUpdate:sortBy": {
|
344
|
+
type: import("vue").PropType<(value: SortItem[]) => any>;
|
345
|
+
};
|
346
|
+
"v-model:sortBy": {
|
347
|
+
type: import("vue").PropType<SortItem[]>;
|
348
|
+
required: false;
|
349
|
+
};
|
350
|
+
sortBy: {
|
351
|
+
type: import("vue").PropType<SortItem[]>;
|
352
|
+
required: false;
|
353
|
+
};
|
354
|
+
itemSelectable: {
|
355
|
+
type: import("vue").PropType<SelectItemKey>;
|
356
|
+
};
|
357
|
+
itemsLength: {
|
358
|
+
type: import("vue").PropType<number>;
|
359
|
+
required: false;
|
360
|
+
};
|
361
|
+
loading: {
|
362
|
+
type: import("vue").PropType<boolean>;
|
363
|
+
required: false;
|
364
|
+
};
|
365
|
+
page: {
|
366
|
+
type: import("vue").PropType<number>;
|
367
|
+
required: false;
|
368
|
+
};
|
369
|
+
"onUpdate:page": {
|
370
|
+
type: import("vue").PropType<(value: number) => any>;
|
371
|
+
};
|
372
|
+
"v-model:page": {
|
373
|
+
type: import("vue").PropType<number>;
|
374
|
+
required: false;
|
375
|
+
};
|
376
|
+
showSelect: {
|
377
|
+
type: import("vue").PropType<boolean>;
|
378
|
+
required: false;
|
379
|
+
};
|
380
|
+
mustSort: {
|
381
|
+
type: import("vue").PropType<boolean>;
|
382
|
+
required: false;
|
383
|
+
};
|
384
|
+
itemsPerPage: {
|
385
|
+
type: import("vue").PropType<number>;
|
386
|
+
required: false;
|
387
|
+
};
|
388
|
+
headers: {
|
389
|
+
type: import("vue").PropType<DataTableHeader[] | DataTableHeader[][]>;
|
390
|
+
required: false;
|
391
|
+
};
|
392
|
+
items: {
|
393
|
+
type: import("vue").PropType<any[]>;
|
394
|
+
required: false;
|
395
|
+
};
|
396
|
+
colorSchemaType?: any;
|
397
|
+
container?: any;
|
398
|
+
colors?: any;
|
399
|
+
blueprintType?: any;
|
400
|
+
blueprint?: any;
|
401
|
+
}>> & {
|
402
|
+
onDoc$?: (description?: string) => any;
|
403
|
+
"onUpdate:sortBy"?: (item: SortItem[]) => any;
|
404
|
+
"onUpdate:page"?: (page: number) => any;
|
405
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
406
|
+
__isFragment?: never;
|
407
|
+
__isTeleport?: never;
|
408
|
+
__isSuspense?: never;
|
409
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
410
|
+
"v-slots": import("vue").Prop<{
|
411
|
+
default?: import("../../DefineVueTypings").Slot<any[]>;
|
412
|
+
} & ODataTableServerSlots>;
|
413
|
+
height: {
|
414
|
+
type: import("vue").PropType<string | number>;
|
415
|
+
};
|
416
|
+
showExpand: {
|
417
|
+
type: import("vue").PropType<boolean>;
|
418
|
+
required: false;
|
419
|
+
};
|
420
|
+
expanded: {
|
421
|
+
type: import("vue").PropType<string[]>;
|
422
|
+
required: false;
|
423
|
+
};
|
424
|
+
"onUpdate:modelValue": {
|
425
|
+
type: import("vue").PropType<(value: string[]) => any>;
|
426
|
+
};
|
427
|
+
"v-model": {
|
428
|
+
type: import("vue").PropType<string[]>;
|
429
|
+
required: false;
|
430
|
+
};
|
431
|
+
modelValue: {
|
432
|
+
type: import("vue").PropType<string[]>;
|
433
|
+
required: false;
|
434
|
+
};
|
435
|
+
"onUpdate:expanded": {
|
436
|
+
type: import("vue").PropType<(value: string[]) => any>;
|
437
|
+
};
|
438
|
+
"v-model:expanded": {
|
439
|
+
type: import("vue").PropType<string[]>;
|
440
|
+
required: false;
|
441
|
+
};
|
442
|
+
clickable: {
|
443
|
+
type: import("vue").PropType<boolean>;
|
444
|
+
required: false;
|
445
|
+
};
|
446
|
+
hover: {
|
447
|
+
type: import("vue").PropType<boolean>;
|
448
|
+
required: false;
|
449
|
+
};
|
450
|
+
"onUpdate:sortBy": {
|
451
|
+
type: import("vue").PropType<(value: SortItem[]) => any>;
|
452
|
+
};
|
453
|
+
"v-model:sortBy": {
|
454
|
+
type: import("vue").PropType<SortItem[]>;
|
455
|
+
required: false;
|
456
|
+
};
|
457
|
+
sortBy: {
|
458
|
+
type: import("vue").PropType<SortItem[]>;
|
459
|
+
required: false;
|
460
|
+
};
|
461
|
+
itemSelectable: {
|
462
|
+
type: import("vue").PropType<SelectItemKey>;
|
463
|
+
};
|
464
|
+
itemsLength: {
|
465
|
+
type: import("vue").PropType<number>;
|
466
|
+
required: false;
|
467
|
+
};
|
468
|
+
loading: {
|
469
|
+
type: import("vue").PropType<boolean>;
|
470
|
+
required: false;
|
471
|
+
};
|
472
|
+
page: {
|
473
|
+
type: import("vue").PropType<number>;
|
474
|
+
required: false;
|
475
|
+
};
|
476
|
+
"onUpdate:page": {
|
477
|
+
type: import("vue").PropType<(value: number) => any>;
|
478
|
+
};
|
479
|
+
"v-model:page": {
|
480
|
+
type: import("vue").PropType<number>;
|
481
|
+
required: false;
|
482
|
+
};
|
483
|
+
showSelect: {
|
484
|
+
type: import("vue").PropType<boolean>;
|
485
|
+
required: false;
|
486
|
+
};
|
487
|
+
mustSort: {
|
488
|
+
type: import("vue").PropType<boolean>;
|
489
|
+
required: false;
|
490
|
+
};
|
491
|
+
itemsPerPage: {
|
492
|
+
type: import("vue").PropType<number>;
|
493
|
+
required: false;
|
494
|
+
};
|
495
|
+
headers: {
|
496
|
+
type: import("vue").PropType<DataTableHeader[] | DataTableHeader[][]>;
|
497
|
+
required: false;
|
498
|
+
};
|
499
|
+
items: {
|
500
|
+
type: import("vue").PropType<any[]>;
|
501
|
+
required: false;
|
502
|
+
};
|
503
|
+
colorSchemaType?: any;
|
504
|
+
container?: any;
|
505
|
+
colors?: any;
|
506
|
+
blueprintType?: any;
|
507
|
+
blueprint?: any;
|
508
|
+
}>> & {
|
509
|
+
onDoc$?: (description?: string) => any;
|
510
|
+
"onUpdate:sortBy"?: (item: SortItem[]) => any;
|
511
|
+
"onUpdate:page"?: (page: number) => any;
|
512
|
+
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
513
|
+
"update:page": (page: number) => void;
|
514
|
+
doc$(description?: string): {
|
515
|
+
"update:page": (page: number) => void;
|
516
|
+
};
|
517
|
+
"update:sortBy": (item: SortItem[]) => void;
|
518
|
+
}, string, {
|
519
|
+
container?: any;
|
520
|
+
blueprint?: any;
|
521
|
+
colorSchemaType?: any;
|
522
|
+
blueprintType?: any;
|
523
|
+
colors?: any;
|
524
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
525
|
+
propsDefinition: Omit<Readonly<{
|
526
|
+
container?: any;
|
527
|
+
blueprint?: any;
|
528
|
+
colorSchemaType?: any;
|
529
|
+
blueprintType?: any;
|
530
|
+
colors?: any;
|
531
|
+
} & {
|
532
|
+
headers?: DataTableHeader[] | DataTableHeader[][];
|
533
|
+
height?: string | number;
|
534
|
+
page?: number;
|
535
|
+
expanded?: string[];
|
536
|
+
"onUpdate:modelValue"?: (value: string[]) => any;
|
537
|
+
"v-model"?: string[];
|
538
|
+
modelValue?: string[];
|
539
|
+
items?: any[];
|
540
|
+
"v-slots"?: {
|
541
|
+
default?: import("../../DefineVueTypings").Slot<any[]>;
|
542
|
+
} & ODataTableServerSlots;
|
543
|
+
loading?: boolean;
|
544
|
+
hover?: boolean;
|
545
|
+
sortBy?: SortItem[];
|
546
|
+
mustSort?: boolean;
|
547
|
+
showSelect?: boolean;
|
548
|
+
itemSelectable?: SelectItemKey;
|
549
|
+
showExpand?: boolean;
|
550
|
+
itemsPerPage?: number;
|
551
|
+
"onUpdate:expanded"?: (value: string[]) => any;
|
552
|
+
"onUpdate:sortBy"?: (value: SortItem[]) => any;
|
553
|
+
"onUpdate:page"?: (value: number) => any;
|
554
|
+
itemsLength?: number;
|
555
|
+
clickable?: boolean;
|
556
|
+
"v-model:expanded"?: string[];
|
557
|
+
"v-model:sortBy"?: SortItem[];
|
558
|
+
"v-model:page"?: number;
|
559
|
+
}>, "onDoc$" | "onUpdate:sortBy" | "onUpdate:page"> & {
|
560
|
+
onDoc$?: (description?: string) => any;
|
561
|
+
"onUpdate:sortBy"?: (item: SortItem[]) => any;
|
562
|
+
"onUpdate:page"?: (page: number) => any;
|
563
|
+
};
|
564
|
+
};
|
565
|
+
export default _default;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { IDataTableRowRenderer } from "@omnia/fx/ux";
|
2
|
+
import { VNodeChild } from "vue";
|
3
|
+
export declare class DataTableRowRenderer implements IDataTableRowRenderer {
|
4
|
+
value: any;
|
5
|
+
index: any;
|
6
|
+
cells: Array<{
|
7
|
+
node: VNodeChild;
|
8
|
+
colSpan: number;
|
9
|
+
classes?: string;
|
10
|
+
styles?: string;
|
11
|
+
}>;
|
12
|
+
actions: Array<VNodeChild>;
|
13
|
+
click: () => void;
|
14
|
+
preselect: any;
|
15
|
+
navigation: boolean;
|
16
|
+
cssRowClasses: string;
|
17
|
+
constructor(value: any, index: any);
|
18
|
+
select(selected: boolean): this;
|
19
|
+
classes(classes: string): this;
|
20
|
+
onClick(callback: () => void): this;
|
21
|
+
disableNavigation(): this;
|
22
|
+
addCell(node: VNodeChild, colSpan?: number, classes?: string, styles?: string): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
23
|
+
addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
24
|
+
}
|
@@ -175,6 +175,7 @@ import wcf12317feb91b4efebc337cfe39fabe1c from './ux/oxide/chip/Chip';
|
|
175
175
|
import wc28370f0312764e82b4c29237f943710a from './ux/oxide/colorpicker/ColorPicker';
|
176
176
|
import wcd116618a12d0439f8da809535809c260 from './ux/oxide/column/Column';
|
177
177
|
import wc27c00720f7fb46bbb39286a2cb94797c from './ux/oxide/datatable/DataTable';
|
178
|
+
import wc810f65f430374ef2a142907a707f650f from './ux/oxide/datatable/DataTableServer';
|
178
179
|
import wcb10a0917fdc744c890d9b472ee3b3c99 from './ux/oxide/datepicker/DatePicker';
|
179
180
|
import wcdc1c89b3d0c24b7aa1050f19a0f962b3 from './ux/oxide/dialog/Dialog';
|
180
181
|
import wcc0415286cfac41349dd264dc1621c463 from './ux/oxide/divider/Divider';
|
@@ -534,6 +535,7 @@ declare global {
|
|
534
535
|
"o-color-picker": typeof wc28370f0312764e82b4c29237f943710a.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc28370f0312764e82b4c29237f943710a.propsDefinition>;
|
535
536
|
"o-col": typeof wcd116618a12d0439f8da809535809c260.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcd116618a12d0439f8da809535809c260.propsDefinition>;
|
536
537
|
"o-data-table": typeof wc27c00720f7fb46bbb39286a2cb94797c.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc27c00720f7fb46bbb39286a2cb94797c.propsDefinition>;
|
538
|
+
"o-data-table-server": typeof wc810f65f430374ef2a142907a707f650f.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc810f65f430374ef2a142907a707f650f.propsDefinition>;
|
537
539
|
"o-date-picker": typeof wcb10a0917fdc744c890d9b472ee3b3c99.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcb10a0917fdc744c890d9b472ee3b3c99.propsDefinition>;
|
538
540
|
"o-dialog": typeof wcdc1c89b3d0c24b7aa1050f19a0f962b3.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcdc1c89b3d0c24b7aa1050f19a0f962b3.propsDefinition>;
|
539
541
|
"o-divider": typeof wcc0415286cfac41349dd264dc1621c463.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcc0415286cfac41349dd264dc1621c463.propsDefinition>;
|
@@ -1595,6 +1597,11 @@ declare global {
|
|
1595
1597
|
$props: typeof wc27c00720f7fb46bbb39286a2cb94797c.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc27c00720f7fb46bbb39286a2cb94797c.propsDefinition>;
|
1596
1598
|
};
|
1597
1599
|
};
|
1600
|
+
"ODataTableServer": {
|
1601
|
+
new (...args: any[]): {
|
1602
|
+
$props: typeof wc810f65f430374ef2a142907a707f650f.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc810f65f430374ef2a142907a707f650f.propsDefinition>;
|
1603
|
+
};
|
1604
|
+
};
|
1598
1605
|
"ODatePicker": {
|
1599
1606
|
new (...args: any[]): {
|
1600
1607
|
$props: typeof wcb10a0917fdc744c890d9b472ee3b3c99.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcb10a0917fdc744c890d9b472ee3b3c99.propsDefinition>;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.49-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.49-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|