@hantera/design-system 20250526.0.0-develop.2 → 20250707.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/entry.d.ts +538 -147
  2. package/package.json +1 -1
package/dist/entry.d.ts CHANGED
@@ -24,39 +24,74 @@ import { WatchOptions } from 'vue';
24
24
  import { WatchStopHandle } from 'vue';
25
25
 
26
26
  declare const __VLS_component: DefineComponent< {
27
- label: string;
28
- onClick?: any;
27
+ label?: string;
29
28
  disabled?: boolean;
30
- primary?: boolean;
31
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
32
- click: () => any;
33
- }, string, PublicProps, Readonly<{
34
- label: string;
35
- onClick?: any;
29
+ buttonStyle?: "primary" | "warning" | "danger" | "silent";
30
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
31
+ label?: string;
36
32
  disabled?: boolean;
37
- primary?: boolean;
38
- }> & Readonly<{
39
- onClick?: (() => any) | undefined;
40
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
33
+ buttonStyle?: "primary" | "warning" | "danger" | "silent";
34
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
41
35
 
42
36
  declare const __VLS_component_10: DefineComponent< {
43
- loading: boolean;
37
+ href: string;
44
38
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
45
- loading: boolean;
39
+ href: string;
46
40
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
47
41
 
48
42
  declare const __VLS_component_11: DefineComponent< {
49
- cacheKey: string;
43
+ loading: boolean;
50
44
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
51
- cacheKey: string;
45
+ loading: boolean;
52
46
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
53
47
 
54
48
  declare const __VLS_component_12: DefineComponent< {
49
+ selectedValues: string[];
50
+ availableSets: DataColumnValuesEnumSet[];
51
+ onAdd?: any;
52
+ onRemove?: any;
53
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
54
+ add: (value: DataColumnValuesEnumValue) => any;
55
+ remove: (value: DataColumnValuesEnumValue) => any;
56
+ }, string, PublicProps, Readonly<{
57
+ selectedValues: string[];
58
+ availableSets: DataColumnValuesEnumSet[];
59
+ onAdd?: any;
60
+ onRemove?: any;
61
+ }> & Readonly<{
62
+ onAdd?: ((value: DataColumnValuesEnumValue) => any) | undefined;
63
+ onRemove?: ((value: DataColumnValuesEnumValue) => any) | undefined;
64
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
65
+
66
+ declare const __VLS_component_13: DefineComponent< {
67
+ cacheKey?: string;
68
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
69
+ cacheKey?: string;
70
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
71
+
72
+ declare const __VLS_component_14: DefineComponent< {
73
+ provider: InspectorProvider;
74
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
75
+ provider: InspectorProvider;
76
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
77
+
78
+ declare const __VLS_component_15: DefineComponent< {
79
+ cacheKey?: string;
80
+ provider: DataProvider;
81
+ detailComponent: any;
82
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
83
+ cacheKey?: string;
84
+ provider: DataProvider;
85
+ detailComponent: any;
86
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
87
+
88
+ declare const __VLS_component_16: DefineComponent< {
55
89
  type: string;
56
90
  data: any;
57
91
  metadata?: Record<string, any>;
58
92
  handleSelector?: string;
59
93
  allowDrag: boolean;
94
+ mode?: "hit" | "closest";
60
95
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
61
96
  dropped: (zone: DropZoneRef) => any;
62
97
  }, string, PublicProps, Readonly<{
@@ -65,15 +100,17 @@ data: any;
65
100
  metadata?: Record<string, any>;
66
101
  handleSelector?: string;
67
102
  allowDrag: boolean;
103
+ mode?: "hit" | "closest";
68
104
  }> & Readonly<{
69
105
  onDropped?: ((zone: DropZoneRef) => any) | undefined;
70
106
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
71
107
 
72
- declare const __VLS_component_13: DefineComponent< {
108
+ declare const __VLS_component_17: DefineComponent< {
73
109
  type: string;
74
110
  data: any;
75
111
  metadata?: Record<string, any>;
76
112
  handleSelector?: string;
113
+ mode?: "hit" | "closest";
77
114
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
78
115
  dropped: (zone: DropZoneRef) => any;
79
116
  dropBefore: (payload: DragPayload) => any;
@@ -83,13 +120,14 @@ type: string;
83
120
  data: any;
84
121
  metadata?: Record<string, any>;
85
122
  handleSelector?: string;
123
+ mode?: "hit" | "closest";
86
124
  }> & Readonly<{
87
125
  onDropped?: ((zone: DropZoneRef) => any) | undefined;
88
126
  onDropBefore?: ((payload: DragPayload) => any) | undefined;
89
127
  onDropAfter?: ((payload: DragPayload) => any) | undefined;
90
128
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
91
129
 
92
- declare const __VLS_component_14: DefineComponent< {
130
+ declare const __VLS_component_18: DefineComponent< {
93
131
  accepts: string | string[];
94
132
  metadata?: Record<string, any>;
95
133
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -101,21 +139,31 @@ metadata?: Record<string, any>;
101
139
  onDrop?: ((payload: DragPayload) => any) | undefined;
102
140
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
103
141
 
104
- declare const __VLS_component_15: DefineComponent< {
142
+ declare const __VLS_component_19: DefineComponent< {
105
143
  target?: DropDownTarget | null;
106
144
  }, {
107
- open: typeof open_4;
145
+ open: typeof open_3;
108
146
  close: typeof close_3;
109
147
  isOpen: typeof isOpen;
110
148
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
111
149
  close: () => any;
150
+ open: () => any;
112
151
  }, string, PublicProps, Readonly<{
113
152
  target?: DropDownTarget | null;
114
153
  }> & Readonly<{
115
154
  onClose?: (() => any) | undefined;
155
+ onOpen?: (() => any) | undefined;
116
156
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
117
157
 
118
- declare const __VLS_component_16: DefineComponent< {
158
+ declare const __VLS_component_2: DefineComponent< {
159
+ to: string;
160
+ label?: string;
161
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
162
+ to: string;
163
+ label?: string;
164
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
165
+
166
+ declare const __VLS_component_20: DefineComponent< {
119
167
  disabled?: boolean;
120
168
  title?: string;
121
169
  onClick?: any;
@@ -129,7 +177,7 @@ onClick?: any;
129
177
  onClick?: ((preventClose: () => void) => any) | undefined;
130
178
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
131
179
 
132
- declare const __VLS_component_17: DefineComponent< {
180
+ declare const __VLS_component_21: DefineComponent< {
133
181
  selected: boolean;
134
182
  closeOnClick?: boolean;
135
183
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -141,13 +189,13 @@ closeOnClick?: boolean;
141
189
  onClick?: (() => any) | undefined;
142
190
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
143
191
 
144
- declare const __VLS_component_18: DefineComponent< {
192
+ declare const __VLS_component_22: DefineComponent< {
145
193
  title?: string;
146
194
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
147
195
  title?: string;
148
196
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
149
197
 
150
- declare const __VLS_component_19: DefineComponent< {
198
+ declare const __VLS_component_23: DefineComponent< {
151
199
  modelValue: string | number;
152
200
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
153
201
  "update:modelValue": (value: string | number) => any;
@@ -157,15 +205,7 @@ modelValue: string | number;
157
205
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
158
206
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
159
207
 
160
- declare const __VLS_component_2: DefineComponent< {
161
- to: string;
162
- label?: string;
163
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
164
- to: string;
165
- label?: string;
166
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
167
-
168
- declare const __VLS_component_20: DefineComponent< {
208
+ declare const __VLS_component_24: DefineComponent< {
169
209
  label?: string;
170
210
  count?: number;
171
211
  value: string | number;
@@ -213,9 +253,7 @@ label?: string;
213
253
  contentClass?: string | Record<string, any> | Array<string>;
214
254
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
255
 
216
- declare const __VLS_component_6: DefineComponent< {}, {
217
- open: typeof open_3;
218
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
256
+ declare const __VLS_component_6: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
219
257
 
220
258
  declare const __VLS_component_7: DefineComponent< {
221
259
  label?: string;
@@ -243,25 +281,33 @@ disabled?: boolean;
243
281
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
244
282
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
245
283
 
246
- declare const __VLS_component_9: DefineComponent< {
247
- href: string;
248
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
249
- href: string;
250
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
284
+ declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
285
+ "update:modelValue": (modelValue: any) => any;
286
+ } & {
287
+ "update:modelValue": (value: any) => any;
288
+ }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
289
+ "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
290
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
251
291
 
252
292
  declare type __VLS_PublicProps = {
253
293
  modelValue: any;
254
294
  } & typeof __VLS_typeProps;
255
295
 
256
296
  declare type __VLS_PublicProps_2 = {
297
+ modelValue?: any;
298
+ } & typeof __VLS_typeProps_2;
299
+
300
+ declare type __VLS_PublicProps_3 = {
257
301
  modelValue?: {
258
302
  start: Date;
259
303
  end: Date;
260
304
  } | Date;
261
- } & typeof __VLS_typeProps_2;
305
+ } & typeof __VLS_typeProps_3;
262
306
 
263
307
  declare function __VLS_template(): {
264
308
  slots: {
309
+ label?(_: {}): any;
310
+ icon?(_: {}): any;
265
311
  default?(_: {}): any;
266
312
  };
267
313
  refs: {
@@ -272,6 +318,7 @@ declare function __VLS_template(): {
272
318
  $props: {
273
319
  readonly target?: (DropDownTarget | null) | undefined;
274
320
  readonly onClose?: (() => any) | undefined;
321
+ readonly onOpen?: (() => any) | undefined;
275
322
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
276
323
  $attrs: {
277
324
  [x: string]: unknown;
@@ -285,18 +332,20 @@ declare function __VLS_template(): {
285
332
  $root: ComponentPublicInstance | null;
286
333
  $parent: ComponentPublicInstance | null;
287
334
  $host: Element | null;
288
- $emit: (event: "close") => void;
335
+ $emit: ((event: "close") => void) & ((event: "open") => void);
289
336
  $el: any;
290
337
  $options: ComponentOptionsBase<Readonly<{
291
338
  target?: DropDownTarget | null;
292
339
  }> & Readonly<{
293
340
  onClose?: (() => any) | undefined;
341
+ onOpen?: (() => any) | undefined;
294
342
  }>, {
295
343
  open: () => void;
296
344
  close: () => void;
297
345
  isOpen: () => boolean;
298
346
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
299
347
  close: () => any;
348
+ open: () => any;
300
349
  }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
301
350
  beforeCreate?: (() => void) | (() => void)[];
302
351
  created?: (() => void) | (() => void)[];
@@ -321,6 +370,7 @@ declare function __VLS_template(): {
321
370
  target?: DropDownTarget | null;
322
371
  }> & Readonly<{
323
372
  onClose?: (() => any) | undefined;
373
+ onOpen?: (() => any) | undefined;
324
374
  }>, "close" | "open" | "isOpen"> & ShallowUnwrapRef< {
325
375
  open: () => void;
326
376
  close: () => void;
@@ -343,6 +393,92 @@ declare function __VLS_template_10(): {
343
393
  };
344
394
 
345
395
  declare function __VLS_template_11(): {
396
+ slots: {
397
+ default?(_: {}): any;
398
+ };
399
+ refs: {};
400
+ attrs: Partial<{}>;
401
+ };
402
+
403
+ declare function __VLS_template_12(): {
404
+ slots: {
405
+ dropdown?(_: {}): any;
406
+ };
407
+ refs: {
408
+ addButton: HTMLButtonElement;
409
+ addDropdown: ({
410
+ $: ComponentInternalInstance;
411
+ $data: {};
412
+ $props: {
413
+ readonly target?: (DropDownTarget | null) | undefined;
414
+ readonly onClose?: (() => any) | undefined;
415
+ readonly onOpen?: (() => any) | undefined;
416
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
417
+ $attrs: {
418
+ [x: string]: unknown;
419
+ };
420
+ $refs: {
421
+ [x: string]: unknown;
422
+ };
423
+ $slots: Readonly<{
424
+ [name: string]: Slot<any> | undefined;
425
+ }>;
426
+ $root: ComponentPublicInstance | null;
427
+ $parent: ComponentPublicInstance | null;
428
+ $host: Element | null;
429
+ $emit: ((event: "close") => void) & ((event: "open") => void);
430
+ $el: any;
431
+ $options: ComponentOptionsBase<Readonly<{
432
+ target?: DropDownTarget | null;
433
+ }> & Readonly<{
434
+ onClose?: (() => any) | undefined;
435
+ onOpen?: (() => any) | undefined;
436
+ }>, {
437
+ open: () => void;
438
+ close: () => void;
439
+ isOpen: () => boolean;
440
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
441
+ close: () => any;
442
+ open: () => any;
443
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
444
+ beforeCreate?: (() => void) | (() => void)[];
445
+ created?: (() => void) | (() => void)[];
446
+ beforeMount?: (() => void) | (() => void)[];
447
+ mounted?: (() => void) | (() => void)[];
448
+ beforeUpdate?: (() => void) | (() => void)[];
449
+ updated?: (() => void) | (() => void)[];
450
+ activated?: (() => void) | (() => void)[];
451
+ deactivated?: (() => void) | (() => void)[];
452
+ beforeDestroy?: (() => void) | (() => void)[];
453
+ beforeUnmount?: (() => void) | (() => void)[];
454
+ destroyed?: (() => void) | (() => void)[];
455
+ unmounted?: (() => void) | (() => void)[];
456
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
457
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
458
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
459
+ };
460
+ $forceUpdate: () => void;
461
+ $nextTick: nextTick;
462
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
463
+ } & Readonly<{}> & Omit<Readonly<{
464
+ target?: DropDownTarget | null;
465
+ }> & Readonly<{
466
+ onClose?: (() => any) | undefined;
467
+ onOpen?: (() => any) | undefined;
468
+ }>, "close" | "open" | "isOpen"> & ShallowUnwrapRef< {
469
+ open: () => void;
470
+ close: () => void;
471
+ isOpen: () => boolean;
472
+ }> & {} & ComponentCustomProperties & {} & {
473
+ $slots: {
474
+ default?(_: {}): any;
475
+ };
476
+ }) | null;
477
+ };
478
+ attrs: Partial<{}>;
479
+ };
480
+
481
+ declare function __VLS_template_13(): {
346
482
  slots: {
347
483
  sidebar?(_: {}): any;
348
484
  content?(_: {}): any;
@@ -351,7 +487,29 @@ declare function __VLS_template_11(): {
351
487
  attrs: Partial<{}>;
352
488
  };
353
489
 
354
- declare function __VLS_template_12(): {
490
+ declare function __VLS_template_14(): {
491
+ slots: {
492
+ header?(_: {}): any;
493
+ };
494
+ refs: {
495
+ layoutElem: HTMLDivElement;
496
+ sidebarElem: HTMLDivElement;
497
+ };
498
+ attrs: Partial<{}>;
499
+ };
500
+
501
+ declare function __VLS_template_15(): {
502
+ slots: {
503
+ "list-toolbar"?(_: {}): any;
504
+ "detail-toolbar"?(_: {}): any;
505
+ };
506
+ refs: {
507
+ containerElem: HTMLDivElement;
508
+ };
509
+ attrs: Partial<{}>;
510
+ };
511
+
512
+ declare function __VLS_template_16(): {
355
513
  slots: {
356
514
  default?(_: {}): any;
357
515
  };
@@ -361,7 +519,7 @@ declare function __VLS_template_12(): {
361
519
  attrs: Partial<{}>;
362
520
  };
363
521
 
364
- declare function __VLS_template_13(): {
522
+ declare function __VLS_template_17(): {
365
523
  slots: {
366
524
  default?(_: {}): any;
367
525
  };
@@ -371,7 +529,7 @@ declare function __VLS_template_13(): {
371
529
  attrs: Partial<{}>;
372
530
  };
373
531
 
374
- declare function __VLS_template_14(): {
532
+ declare function __VLS_template_18(): {
375
533
  slots: {
376
534
  default?(_: {}): any;
377
535
  };
@@ -381,7 +539,7 @@ declare function __VLS_template_14(): {
381
539
  attrs: Partial<{}>;
382
540
  };
383
541
 
384
- declare function __VLS_template_15(): {
542
+ declare function __VLS_template_19(): {
385
543
  slots: {
386
544
  default?(_: {}): any;
387
545
  };
@@ -391,15 +549,18 @@ declare function __VLS_template_15(): {
391
549
  attrs: Partial<{}>;
392
550
  };
393
551
 
394
- declare function __VLS_template_16(): {
552
+ declare function __VLS_template_2(): {
395
553
  slots: {
396
554
  default?(_: {}): any;
555
+ dropdown?(_: {}): any;
556
+ };
557
+ refs: {
558
+ element: HTMLLIElement;
397
559
  };
398
- refs: {};
399
560
  attrs: Partial<{}>;
400
561
  };
401
562
 
402
- declare function __VLS_template_17(): {
563
+ declare function __VLS_template_20(): {
403
564
  slots: {
404
565
  default?(_: {}): any;
405
566
  };
@@ -407,7 +568,7 @@ declare function __VLS_template_17(): {
407
568
  attrs: Partial<{}>;
408
569
  };
409
570
 
410
- declare function __VLS_template_18(): {
571
+ declare function __VLS_template_21(): {
411
572
  slots: {
412
573
  default?(_: {}): any;
413
574
  };
@@ -415,28 +576,25 @@ declare function __VLS_template_18(): {
415
576
  attrs: Partial<{}>;
416
577
  };
417
578
 
418
- declare function __VLS_template_19(): {
579
+ declare function __VLS_template_22(): {
419
580
  slots: {
420
- actions?(_: {}): any;
421
581
  default?(_: {}): any;
422
- filler?(_: {}): any;
423
582
  };
424
583
  refs: {};
425
584
  attrs: Partial<{}>;
426
585
  };
427
586
 
428
- declare function __VLS_template_2(): {
587
+ declare function __VLS_template_23(): {
429
588
  slots: {
589
+ actions?(_: {}): any;
430
590
  default?(_: {}): any;
431
- dropdown?(_: {}): any;
432
- };
433
- refs: {
434
- element: HTMLLIElement;
591
+ filler?(_: {}): any;
435
592
  };
593
+ refs: {};
436
594
  attrs: Partial<{}>;
437
595
  };
438
596
 
439
- declare function __VLS_template_20(): {
597
+ declare function __VLS_template_24(): {
440
598
  slots: {
441
599
  content?(_: {}): any;
442
600
  default?(_: {}): any;
@@ -448,6 +606,7 @@ declare function __VLS_template_20(): {
448
606
  $props: {
449
607
  readonly target?: (DropDownTarget | null) | undefined;
450
608
  readonly onClose?: (() => any) | undefined;
609
+ readonly onOpen?: (() => any) | undefined;
451
610
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
452
611
  $attrs: {
453
612
  [x: string]: unknown;
@@ -461,18 +620,20 @@ declare function __VLS_template_20(): {
461
620
  $root: ComponentPublicInstance | null;
462
621
  $parent: ComponentPublicInstance | null;
463
622
  $host: Element | null;
464
- $emit: (event: "close") => void;
623
+ $emit: ((event: "close") => void) & ((event: "open") => void);
465
624
  $el: any;
466
625
  $options: ComponentOptionsBase<Readonly<{
467
626
  target?: DropDownTarget | null;
468
627
  }> & Readonly<{
469
628
  onClose?: (() => any) | undefined;
629
+ onOpen?: (() => any) | undefined;
470
630
  }>, {
471
631
  open: () => void;
472
632
  close: () => void;
473
633
  isOpen: () => boolean;
474
634
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
475
635
  close: () => any;
636
+ open: () => any;
476
637
  }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
477
638
  beforeCreate?: (() => void) | (() => void)[];
478
639
  created?: (() => void) | (() => void)[];
@@ -497,6 +658,7 @@ declare function __VLS_template_20(): {
497
658
  target?: DropDownTarget | null;
498
659
  }> & Readonly<{
499
660
  onClose?: (() => any) | undefined;
661
+ onOpen?: (() => any) | undefined;
500
662
  }>, "close" | "open" | "isOpen"> & ShallowUnwrapRef< {
501
663
  open: () => void;
502
664
  close: () => void;
@@ -540,73 +702,7 @@ declare function __VLS_template_6(): {
540
702
  slots: {
541
703
  default?(_: {}): any;
542
704
  };
543
- refs: {
544
- button: HTMLDivElement;
545
- dropdown: ({
546
- $: ComponentInternalInstance;
547
- $data: {};
548
- $props: {
549
- readonly target?: (DropDownTarget | null) | undefined;
550
- readonly onClose?: (() => any) | undefined;
551
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
552
- $attrs: {
553
- [x: string]: unknown;
554
- };
555
- $refs: {
556
- [x: string]: unknown;
557
- };
558
- $slots: Readonly<{
559
- [name: string]: Slot<any> | undefined;
560
- }>;
561
- $root: ComponentPublicInstance | null;
562
- $parent: ComponentPublicInstance | null;
563
- $host: Element | null;
564
- $emit: (event: "close") => void;
565
- $el: any;
566
- $options: ComponentOptionsBase<Readonly<{
567
- target?: DropDownTarget | null;
568
- }> & Readonly<{
569
- onClose?: (() => any) | undefined;
570
- }>, {
571
- open: () => void;
572
- close: () => void;
573
- isOpen: () => boolean;
574
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
575
- close: () => any;
576
- }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
577
- beforeCreate?: (() => void) | (() => void)[];
578
- created?: (() => void) | (() => void)[];
579
- beforeMount?: (() => void) | (() => void)[];
580
- mounted?: (() => void) | (() => void)[];
581
- beforeUpdate?: (() => void) | (() => void)[];
582
- updated?: (() => void) | (() => void)[];
583
- activated?: (() => void) | (() => void)[];
584
- deactivated?: (() => void) | (() => void)[];
585
- beforeDestroy?: (() => void) | (() => void)[];
586
- beforeUnmount?: (() => void) | (() => void)[];
587
- destroyed?: (() => void) | (() => void)[];
588
- unmounted?: (() => void) | (() => void)[];
589
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
590
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
591
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
592
- };
593
- $forceUpdate: () => void;
594
- $nextTick: nextTick;
595
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
596
- } & Readonly<{}> & Omit<Readonly<{
597
- target?: DropDownTarget | null;
598
- }> & Readonly<{
599
- onClose?: (() => any) | undefined;
600
- }>, "close" | "open" | "isOpen"> & ShallowUnwrapRef< {
601
- open: () => void;
602
- close: () => void;
603
- isOpen: () => boolean;
604
- }> & {} & ComponentCustomProperties & {} & {
605
- $slots: {
606
- default?(_: {}): any;
607
- };
608
- }) | null;
609
- };
705
+ refs: {};
610
706
  attrs: Partial<{}>;
611
707
  };
612
708
 
@@ -663,6 +759,14 @@ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
663
759
 
664
760
  declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
665
761
 
762
+ declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
763
+
764
+ declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
765
+
766
+ declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
767
+
768
+ declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
769
+
666
770
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
667
771
 
668
772
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -686,6 +790,12 @@ declare let __VLS_typeProps: {
686
790
  };
687
791
 
688
792
  declare let __VLS_typeProps_2: {
793
+ modelValue: any;
794
+ value: any;
795
+ disabled?: boolean;
796
+ };
797
+
798
+ declare let __VLS_typeProps_3: {
689
799
  minDate?: Date;
690
800
  maxDate?: Date;
691
801
  startOfWeek?: number;
@@ -771,6 +881,30 @@ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
771
881
  };
772
882
  };
773
883
 
884
+ declare type __VLS_WithTemplateSlots_21<T, S> = T & {
885
+ new (): {
886
+ $slots: S;
887
+ };
888
+ };
889
+
890
+ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
891
+ new (): {
892
+ $slots: S;
893
+ };
894
+ };
895
+
896
+ declare type __VLS_WithTemplateSlots_23<T, S> = T & {
897
+ new (): {
898
+ $slots: S;
899
+ };
900
+ };
901
+
902
+ declare type __VLS_WithTemplateSlots_24<T, S> = T & {
903
+ new (): {
904
+ $slots: S;
905
+ };
906
+ };
907
+
774
908
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
775
909
  new (): {
776
910
  $slots: S;
@@ -823,6 +957,8 @@ export declare const ContextMenuButton: __VLS_WithTemplateSlots_6<typeof __VLS_c
823
957
 
824
958
  export declare interface ContextMenuItem {
825
959
  label: string;
960
+ checked?: boolean;
961
+ icon?: IconName;
826
962
  shortcut?: string;
827
963
  /**
828
964
  * If set to true, the item will only be shown if the shift keys is pressed when the context menu is opened.
@@ -839,17 +975,168 @@ export declare interface ContextMenuSection extends Array<ContextMenuItem> {
839
975
  key?: string;
840
976
  }
841
977
 
842
- export declare interface ContextMenuSections extends Array<ContextMenuSection> {
978
+ export declare type ContextMenuSections = ContextMenuSection[];
979
+
980
+ export declare interface DataColumn {
981
+ key: string;
982
+ /**
983
+ * The index of this column's value in the DataRow.values
984
+ */
985
+ valueIdx: number;
986
+ label: string;
987
+ canFilter?: boolean;
988
+ canSort?: boolean;
989
+ /**
990
+ * Whether this column is used to sort the records
991
+ */
992
+ sort?: 'asc' | 'desc';
993
+ size?: number;
994
+ filters?: DataColumnFilter[];
995
+ /**
996
+ * Defines the type of values. Determines rendering and which filters are available.
997
+ * @default { type: 'text' }
998
+ */
999
+ values?: DataColumnValues;
1000
+ }
1001
+
1002
+ export declare type DataColumnFilter = DataColumnFilterValue | DataColumnFilterRange;
1003
+
1004
+ export declare interface DataColumnFilterRange {
1005
+ from: any;
1006
+ to: any;
1007
+ }
1008
+
1009
+ export declare interface DataColumnFilterValue {
1010
+ type: 'all' | 'any' | 'not';
1011
+ value: any;
1012
+ }
1013
+
1014
+ export declare interface DataColumnOption {
1015
+ /**
1016
+ * The key of the column. Used to track if this option is selected, so it must match the key in DataProvider.columns
1017
+ */
1018
+ key: string;
1019
+ label: string;
1020
+ }
1021
+
1022
+ export declare interface DataColumnOptionSet {
1023
+ setLabel: string;
1024
+ columns: DataColumnOption[];
1025
+ }
1026
+
1027
+ export declare type DataColumnValues = DataColumnValuesText | DataColumnValuesEnum | DataColumnValuesNumber | DataColumnValuesBoolean | DataColumnValuesDateTime;
1028
+
1029
+ export declare interface DataColumnValuesBoolean {
1030
+ type: 'boolean';
1031
+ }
1032
+
1033
+ export declare interface DataColumnValuesDateTime {
1034
+ type: 'dateTime';
1035
+ min?: Date;
1036
+ max?: Date;
843
1037
  }
844
1038
 
845
- export declare const DatePicker: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1039
+ export declare interface DataColumnValuesEnum {
1040
+ type: 'enum';
1041
+ isArray: boolean;
1042
+ enums: DataColumnValuesEnumSet[];
1043
+ }
1044
+
1045
+ export declare interface DataColumnValuesEnumSet {
1046
+ label?: string;
1047
+ values: DataColumnValuesEnumValue[];
1048
+ }
1049
+
1050
+ export declare interface DataColumnValuesEnumValue {
1051
+ key: string;
1052
+ label?: string;
1053
+ hue?: number;
1054
+ }
1055
+
1056
+ export declare interface DataColumnValuesNumber {
1057
+ type: 'number';
1058
+ min?: default_2 | number;
1059
+ max?: default_2 | number;
1060
+ }
1061
+
1062
+ export declare interface DataColumnValuesText {
1063
+ type: 'text';
1064
+ isArray: boolean;
1065
+ }
1066
+
1067
+ export declare interface DataError {
1068
+ code: string;
1069
+ message: string;
1070
+ }
1071
+
1072
+ export declare interface DataProvider {
1073
+ refresh(): Promise<void>;
1074
+ loadMore(): Promise<void>;
1075
+ errors?: ComputedRef<DataError[] | undefined>;
1076
+ setSort?: (column: DataColumn, direction?: 'asc' | 'desc') => void;
1077
+ setFilters?: (column: DataColumn, filters?: DataColumnFilter[]) => void;
1078
+ /**
1079
+ * If implemented, allows users to configure columns of the table. When a user chose a new column,
1080
+ * addColumn() is called.
1081
+ */
1082
+ columnOptions?: ComputedRef<DataColumnOptionSet[]>;
1083
+ addColumn?: (columnOption: DataColumnOption) => void;
1084
+ removeColumn?: (columnOption: DataColumnOption) => void;
1085
+ setColumnOrder?: (column: DataColumn, newIndex: number) => void;
1086
+ setColumnSize?: (columnKey: string, size?: number) => void;
1087
+ isLoading: ComputedRef<boolean>;
1088
+ allLoaded: ComputedRef<boolean>;
1089
+ rows: ComputedRef<DataRow[]>;
1090
+ columns: ComputedRef<DataColumn[]>;
1091
+ totalCount?: ComputedRef<{
1092
+ count: number;
1093
+ /**
1094
+ * If the totalCount is capped, a '+' will be rendered after the value
1095
+ */
1096
+ cap?: number;
1097
+ } | undefined>;
1098
+ }
1099
+
1100
+ export declare interface DataRow {
1101
+ key: string;
1102
+ /**
1103
+ * If specified, will color the row in the given hue. CSS custom properties can be specified as strings.
1104
+ */
1105
+ hue?: number | string;
1106
+ values: any[];
1107
+ }
1108
+
1109
+ export declare const DataTable: DefineComponent< {
1110
+ provider: DataProvider;
1111
+ contextMenuProvider?: DataTableContextMenuProvider;
1112
+ selected?: Set<string>;
1113
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1114
+ "update:selected": (val: Set<string>) => any;
1115
+ defaultAction: () => any;
1116
+ }, string, PublicProps, Readonly<{
1117
+ provider: DataProvider;
1118
+ contextMenuProvider?: DataTableContextMenuProvider;
1119
+ selected?: Set<string>;
1120
+ }> & Readonly<{
1121
+ "onUpdate:selected"?: ((val: Set<string>) => any) | undefined;
1122
+ onDefaultAction?: (() => any) | undefined;
1123
+ }>, {
1124
+ selected: Set<string>;
1125
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1126
+
1127
+ export declare interface DataTableContextMenuProvider {
1128
+ forHeader(column: DataColumn): ContextMenuSections;
1129
+ forRow(row: DataRow): ContextMenuSections;
1130
+ }
1131
+
1132
+ export declare const DatePicker: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
846
1133
  "update:modelValue": (modelValue: Date | {
847
1134
  start: Date;
848
1135
  end: Date;
849
1136
  }) => any;
850
1137
  } & {
851
1138
  "update:selectionState": (value: "single" | "start" | "end") => any;
852
- }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
1139
+ }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
853
1140
  "onUpdate:modelValue"?: ((modelValue: Date | {
854
1141
  start: Date;
855
1142
  end: Date;
@@ -906,29 +1193,41 @@ export declare interface DecimalInputValue {
906
1193
  declare const _default: Plugin_2<[]>;
907
1194
  export default _default;
908
1195
 
909
- export declare const Draggable: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1196
+ export declare const Draggable: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
910
1197
 
911
- export declare const DraggableListItem: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1198
+ export declare const DraggableListItem: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
912
1199
 
913
1200
  export declare interface DragPayload {
914
1201
  type: string;
1202
+ /**
1203
+ * 'hit' requires the pointer to enter a drop zone
1204
+ *
1205
+ * 'closest' selects the closest compatible drop zone
1206
+ *
1207
+ * Default value is 'hit'
1208
+ */
1209
+ mode?: 'hit' | 'closest';
915
1210
  data: any;
916
1211
  sourceElement?: HTMLElement | null;
917
1212
  metadata?: Record<string, any>;
918
1213
  onDrop?: (zone: DropZoneRef) => void;
1214
+ /**
1215
+ * If set, handler will be called if the drag operation did not move the item.
1216
+ */
1217
+ onClick?: () => void;
919
1218
  }
920
1219
 
921
1220
  export declare const DropdownButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
922
1221
 
923
- export declare const DropdownCheckbox: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1222
+ export declare const DropdownCheckbox: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
924
1223
 
925
1224
  export declare const DropdownDivider: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
926
1225
 
927
- export declare const DropdownGroup: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1226
+ export declare const DropdownGroup: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
928
1227
 
929
- export declare const DropdownItem: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1228
+ export declare const DropdownItem: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
930
1229
 
931
- export declare const DropdownMenu: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1230
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
932
1231
 
933
1232
  export declare type DropDownTarget = Element | DropDownTargetPoint;
934
1233
 
@@ -937,7 +1236,7 @@ export declare interface DropDownTargetPoint {
937
1236
  y: number;
938
1237
  }
939
1238
 
940
- export declare const DropZone: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1239
+ export declare const DropZone: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
941
1240
 
942
1241
  export declare interface DropZoneRef {
943
1242
  accepts: string | string[];
@@ -946,9 +1245,11 @@ export declare interface DropZoneRef {
946
1245
  onDrop?: (payload: DragPayload) => void;
947
1246
  }
948
1247
 
1248
+ export declare const EnumsBar: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1249
+
949
1250
  export declare const Expandable: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
950
1251
 
951
- export declare const ExternalLink: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1252
+ export declare const ExternalLink: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
952
1253
 
953
1254
  export declare const FloatingPanel: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
954
1255
 
@@ -960,8 +1261,20 @@ declare function focus_4(): void;
960
1261
 
961
1262
  declare function focus_5(): void;
962
1263
 
1264
+ export declare const Icon: DefineComponent< {
1265
+ name: IconName;
1266
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
1267
+ name: IconName;
1268
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1269
+
963
1270
  export declare const IconArrow: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
964
1271
 
1272
+ export declare const IconArrows: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1273
+
1274
+ export declare const IconCheck: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1275
+
1276
+ export declare const IconChevron: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1277
+
965
1278
  export declare const IconClose: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
966
1279
 
967
1280
  export declare const IconFilter: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -970,6 +1283,8 @@ export declare const IconHamburger: DefineComponent< {}, {}, {}, {}, {}, Comp
970
1283
 
971
1284
  export declare const IconInbound: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
972
1285
 
1286
+ export declare type IconName = 'close' | 'check' | 'plus' | 'chevron' | 'folder' | 'outbound' | 'inbound' | 'question' | 'reload' | 'filter' | 'redo' | 'undo' | 'hamburger' | 'warning' | 'arrow' | 'arrows' | 'square' | 'squareSplitHorizontal' | 'squareSplitVertical';
1287
+
973
1288
  export declare const IconOutbound: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
974
1289
 
975
1290
  export declare const IconPlus: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -980,6 +1295,12 @@ export declare const IconRedo: DefineComponent< {}, {}, {}, {}, {}, Component
980
1295
 
981
1296
  export declare const IconReload: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
982
1297
 
1298
+ export declare const IconSquare: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1299
+
1300
+ export declare const IconSquareSplitHorizontal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1301
+
1302
+ export declare const IconSquareSplitVertical: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1303
+
983
1304
  export declare const IconUndo: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
984
1305
 
985
1306
  export declare const IconWarning: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1010,18 +1331,62 @@ onFocus?: ((value: Event) => any) | undefined;
1010
1331
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1011
1332
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1012
1333
 
1334
+ export declare const InspectorLayout: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1335
+
1336
+ /**
1337
+ * Defines the provider that provides InspectorLayout with content to render
1338
+ */
1339
+ export declare interface InspectorProvider {
1340
+ /**
1341
+ * If set, a state indicator is displayed in the header
1342
+ */
1343
+ state?: {
1344
+ label: string;
1345
+ hue?: number | string;
1346
+ };
1347
+ /**
1348
+ * If set, adds the title to the header
1349
+ */
1350
+ title?: string;
1351
+ /**
1352
+ * If set, adds the labels to the header
1353
+ */
1354
+ labels?: (string | {
1355
+ label: string;
1356
+ tooltip?: string;
1357
+ })[];
1358
+ /**
1359
+ * An HTML tag name, a Component name or Component class reference to render as summary.
1360
+ */
1361
+ summary: string | object;
1362
+ /**
1363
+ * The currently selected tab. 0 means select first tab which is summary
1364
+ * or first tab depending on viewport size.
1365
+ */
1366
+ selectedTab: string | number;
1367
+ tabs: {
1368
+ key: string;
1369
+ label: string;
1370
+ count?: number;
1371
+ /**
1372
+ * An HTML tag name, a Component name or Component class reference to render as tab's content.
1373
+ */
1374
+ component: string | object;
1375
+ }[];
1376
+ }
1377
+
1013
1378
  declare function isOpen(): boolean;
1014
1379
 
1380
+ export declare const ListDetailLayout: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1381
+
1015
1382
  export declare const ListLink: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1016
1383
 
1017
- export declare const LoadingArea: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1384
+ export declare const LoadingArea: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1018
1385
 
1019
1386
  declare function open_2(): void;
1020
1387
 
1021
1388
  declare function open_3(): void;
1022
1389
 
1023
- declare function open_4(): void;
1024
-
1025
1390
  declare function openModal(): void;
1026
1391
 
1027
1392
  export declare const Panel: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
@@ -1063,6 +1428,8 @@ isValid: boolean;
1063
1428
  defaultCountry: string;
1064
1429
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1065
1430
 
1431
+ export declare const RadioButton: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1432
+
1066
1433
  export declare const RemoveButton: DefineComponent< {
1067
1434
  /**
1068
1435
  * If this button is used on an "inverted" background, set to true to increase contrast
@@ -1111,13 +1478,13 @@ declare function setError_3(message?: string): void;
1111
1478
  */
1112
1479
  declare function setError_4(message?: string): void;
1113
1480
 
1114
- export declare const SidebarLayout: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1481
+ export declare const SidebarLayout: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1115
1482
 
1116
1483
  export declare const Spinner: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1117
1484
 
1118
- export declare const TabBar: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1485
+ export declare const TabBar: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1119
1486
 
1120
- export declare const TabItem: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1487
+ export declare const TabItem: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1121
1488
 
1122
1489
  export declare const TextInput: DefineComponent<__VLS_PublicProps, {
1123
1490
  setError: typeof setError;
@@ -1208,8 +1575,9 @@ export declare interface TreeNode {
1208
1575
  id: string;
1209
1576
  children?: TreeNode[];
1210
1577
  label: string | ComputedRef<string>;
1578
+ style?: 'header';
1211
1579
  tags?: TreeNodeTag[] | ComputedRef<TreeNodeTag[]>;
1212
- icon?: string;
1580
+ icon?: IconName;
1213
1581
  onRename?: (newName: string, context: {
1214
1582
  node: TreeNode;
1215
1583
  parentNode?: TreeNode;
@@ -1221,11 +1589,34 @@ export declare interface TreeNode {
1221
1589
  onClick?: () => void;
1222
1590
  isSelected?: () => boolean;
1223
1591
  contextMenu?: ContextMenuSections;
1592
+ dropZone?: {
1593
+ accepts: string | string[];
1594
+ metadata?: Record<string, any>;
1595
+ onDrop: (payload: DragPayload) => void;
1596
+ };
1597
+ draggable?: {
1598
+ type: string;
1599
+ data: any;
1600
+ metadata?: Record<string, any>;
1601
+ };
1602
+ /**
1603
+ * Automatic sorting of children.
1604
+ *
1605
+ * none = Display in actual order
1606
+ * az = Alphabetical
1607
+ * caz = Alphabetical but entries with children comes first
1608
+ */
1609
+ sort?: 'none' | 'az' | 'caz';
1224
1610
  }
1225
1611
 
1226
1612
  export declare interface TreeNodeTag {
1227
1613
  value: string;
1228
- style: 'primary' | 'secondary' | 'tertiary';
1614
+ style: 'primary' | 'secondary' | 'tertiary' | 'hue';
1615
+ /**
1616
+ * If style is hue, this determines the hue value
1617
+ */
1618
+ hue?: number;
1619
+ title?: string;
1229
1620
  }
1230
1621
 
1231
1622
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hantera/design-system",
3
- "version": "20250526.0.0-develop.2",
3
+ "version": "20250707.0.0-develop.1",
4
4
  "types": "./dist/entry.d.ts",
5
5
  "scripts": {
6
6
  "build": "cpx ../../design-system/dist/**/*.d.ts ./dist -C"