xv-webcomponents 0.1.30 → 0.1.31

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 (110) hide show
  1. package/dist/cjs/{index-782b9733.js → index-5ee1b884.js} +43 -2
  2. package/dist/cjs/index-5ee1b884.js.map +1 -0
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{utils-aa46f72a.js → utils-22c0eda0.js} +1 -16
  6. package/dist/cjs/utils-22c0eda0.js.map +1 -0
  7. package/dist/cjs/{xv-accordion-v2_28.cjs.entry.js → xv-accordion-v2_26.cjs.entry.js} +124 -429
  8. package/dist/cjs/xv-accordion-v2_26.cjs.entry.js.map +1 -0
  9. package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +1 -1
  10. package/dist/cjs/xv-webcomponents.cjs.js +2 -2
  11. package/dist/collection/collection-manifest.json +1 -3
  12. package/dist/collection/components/xv-checkbox/xv-checkbox.css +4 -1
  13. package/dist/collection/components/xv-checkbox/xv-checkbox.js +1 -1
  14. package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +1 -1
  15. package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +1 -1
  16. package/dist/collection/components/xv-dropdown/xv-dropdown.css +1 -1
  17. package/dist/collection/components/xv-dropdown/xv-dropdown.js +1 -2
  18. package/dist/collection/components/xv-dropdown/xv-dropdown.js.map +1 -1
  19. package/dist/collection/components/xv-footer/xv-footer.js +1 -1
  20. package/dist/collection/components/xv-header/xv-header.js +1 -1
  21. package/dist/collection/components/xv-link/xv-link.js +1 -1
  22. package/dist/collection/components/xv-modal/xv-modal.css +5 -4
  23. package/dist/collection/components/xv-modal/xv-modal.js +1 -1
  24. package/dist/collection/components/xv-modal/xv-modal.js.map +1 -1
  25. package/dist/collection/components/xv-notification/xv-notification.js +1 -1
  26. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +1 -1
  27. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +1 -1
  28. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
  29. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +2 -2
  30. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js.map +1 -1
  31. package/dist/collection/components/xv-table/_vars.js +9 -0
  32. package/dist/collection/components/xv-table/_vars.js.map +1 -0
  33. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +86 -0
  34. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +160 -0
  35. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js.map +1 -0
  36. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +55 -114
  37. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +28 -151
  38. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js.map +1 -1
  39. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +22 -36
  40. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +146 -118
  41. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js.map +1 -1
  42. package/dist/collection/components/xv-table/xv-table.css +83 -141
  43. package/dist/collection/components/xv-table/xv-table.js +56 -208
  44. package/dist/collection/components/xv-table/xv-table.js.map +1 -1
  45. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +3 -3
  46. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js.map +1 -1
  47. package/dist/collection/components/xv-tabs/xv-tabs.css +5 -3
  48. package/dist/collection/components/xv-tabs/xv-tabs.js +8 -36
  49. package/dist/collection/components/xv-tabs/xv-tabs.js.map +1 -1
  50. package/dist/collection/components/xv-tag/xv-tag.js +1 -1
  51. package/dist/collection/components/xv-text-input/xv-text-input.js +10 -10
  52. package/dist/collection/components/xv-text-input/xv-text-input.js.map +1 -1
  53. package/dist/collection/components/xv-tooltip/xv-tooltip.js +1 -1
  54. package/dist/esm/{index-83ab73b7.js → index-590eb7d2.js} +43 -3
  55. package/dist/esm/index-590eb7d2.js.map +1 -0
  56. package/dist/esm/index.js +1 -1
  57. package/dist/esm/loader.js +3 -3
  58. package/dist/esm/{utils-0d1c18d5.js → utils-a9c71376.js} +2 -16
  59. package/dist/esm/utils-a9c71376.js.map +1 -0
  60. package/dist/esm/{xv-accordion-v2_28.entry.js → xv-accordion-v2_26.entry.js} +124 -427
  61. package/dist/esm/xv-accordion-v2_26.entry.js.map +1 -0
  62. package/dist/esm/xv-breadcrumbs-v2.entry.js +1 -1
  63. package/dist/esm/xv-webcomponents.js +3 -3
  64. package/dist/types/components/xv-table/_vars.d.ts +15 -0
  65. package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +15 -0
  66. package/dist/types/components/xv-table/xv-table-expand/xv-table-expand.d.ts +4 -20
  67. package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +15 -46
  68. package/dist/types/components/xv-table/xv-table.d.ts +9 -32
  69. package/dist/types/components/xv-tabs/xv-tabs.d.ts +1 -10
  70. package/dist/types/components.d.ts +57 -273
  71. package/dist/xv-webcomponents/index.esm.js +1 -1
  72. package/dist/xv-webcomponents/p-612356e6.js +3 -0
  73. package/dist/xv-webcomponents/p-612356e6.js.map +1 -0
  74. package/dist/xv-webcomponents/p-c09a0bfe.entry.js +2 -0
  75. package/dist/xv-webcomponents/p-e750290d.entry.js +2 -0
  76. package/dist/xv-webcomponents/p-e750290d.entry.js.map +1 -0
  77. package/dist/xv-webcomponents/p-f98a1845.js +2 -0
  78. package/dist/xv-webcomponents/p-f98a1845.js.map +1 -0
  79. package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
  80. package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
  81. package/package.json +1 -1
  82. package/dist/cjs/index-782b9733.js.map +0 -1
  83. package/dist/cjs/utils-aa46f72a.js.map +0 -1
  84. package/dist/cjs/xv-accordion-v2_28.cjs.entry.js.map +0 -1
  85. package/dist/collection/components/xv-table/defs.js +0 -28
  86. package/dist/collection/components/xv-table/defs.js.map +0 -1
  87. package/dist/collection/components/xv-table/xv-table-col/xv-table-col.css +0 -13
  88. package/dist/collection/components/xv-table/xv-table-col/xv-table-col.js +0 -111
  89. package/dist/collection/components/xv-table/xv-table-col/xv-table-col.js.map +0 -1
  90. package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.css +0 -80
  91. package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.js +0 -172
  92. package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.js.map +0 -1
  93. package/dist/collection/components/xv-table/xv-table-toolbar/xv-table-toolbar.css +0 -47
  94. package/dist/collection/components/xv-table/xv-table-toolbar/xv-table-toolbar.js +0 -78
  95. package/dist/collection/components/xv-table/xv-table-toolbar/xv-table-toolbar.js.map +0 -1
  96. package/dist/esm/index-83ab73b7.js.map +0 -1
  97. package/dist/esm/utils-0d1c18d5.js.map +0 -1
  98. package/dist/esm/xv-accordion-v2_28.entry.js.map +0 -1
  99. package/dist/types/components/xv-table/defs.d.ts +0 -38
  100. package/dist/types/components/xv-table/xv-table-col/xv-table-col.d.ts +0 -9
  101. package/dist/types/components/xv-table/xv-table-header-row/xv-table-header-row.d.ts +0 -28
  102. package/dist/types/components/xv-table/xv-table-toolbar/xv-table-toolbar.d.ts +0 -6
  103. package/dist/xv-webcomponents/p-39bf1511.js +0 -2
  104. package/dist/xv-webcomponents/p-39bf1511.js.map +0 -1
  105. package/dist/xv-webcomponents/p-5f18d718.entry.js +0 -2
  106. package/dist/xv-webcomponents/p-840929c5.js +0 -3
  107. package/dist/xv-webcomponents/p-840929c5.js.map +0 -1
  108. package/dist/xv-webcomponents/p-cc83f7ea.entry.js +0 -2
  109. package/dist/xv-webcomponents/p-cc83f7ea.entry.js.map +0 -1
  110. /package/dist/xv-webcomponents/{p-5f18d718.entry.js.map → p-c09a0bfe.entry.js.map} +0 -0
@@ -1,37 +1,14 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- import { TABLE_COLOR_SCHEMA, TABLE_SIZE, TableSelectionEventData } from './defs';
1
+ import { SIZE_VAR } from '../../types/enum';
2
+ import { SelectRowDto } from './_vars';
3
3
  export declare class XvTable {
4
4
  el: HTMLElement;
5
- /**
6
- * Table caption description
7
- */
8
- description: string;
9
- /**
10
- * Set current color schema type of enum TABLE_COLOR_SCHEMA
11
- * Possible options 'zebra'
12
- */
13
- colorSchema: TABLE_COLOR_SCHEMA;
14
- /**
15
- * If table is expandable fields
16
- */
17
- expandable: boolean;
18
- /**
19
- * Table size
20
- * enum TABLE_SIZE
21
- */
22
- size: TABLE_SIZE;
23
- /**
24
- * Add checkbox selection to the table
25
- */
26
- selectable: boolean;
27
- selectedRows: Map<string, TableSelectionEventData>;
28
- changeSelection: EventEmitter<TableSelectionEventData[]>;
29
- handleSetColorSchema(): void;
30
- listenSelectableHandle(): void;
31
- private debouncedChangeSelection;
32
- private handleCheckedChange;
33
- private setRowProps;
5
+ size?: SIZE_VAR;
6
+ hover?: boolean;
7
+ colsSize?: (string | null)[];
8
+ selected: Map<string, SelectRowDto>;
9
+ selectedCount: number;
10
+ handleSelectRow({ detail }: CustomEvent<SelectRowDto>): void;
11
+ private setColsSizeTemplate;
34
12
  render(): any;
35
13
  componentWillLoad(): void;
36
- disconnectedCallback(): void;
37
14
  }
@@ -10,10 +10,6 @@ export declare class XvTabs {
10
10
  * Variant of tabs from TABS_VATIANT enum
11
11
  */
12
12
  variant: TABS_VATIANT;
13
- /**
14
- * for animate the tab content
15
- */
16
- height: number;
17
13
  /**
18
14
  * Emit event to outside
19
15
  */
@@ -21,14 +17,9 @@ export declare class XvTabs {
21
17
  /**
22
18
  * local variable for tab labels collection
23
19
  */
24
- private tabElements;
25
- /**
26
- * Watch active tab changes to animate content height
27
- */
28
- onActiveTabChanged(): void;
20
+ tabElements: HTMLElement[];
29
21
  private collectTabs;
30
22
  private updateTabClasses;
31
- private setHeight;
32
23
  private handleTabClick;
33
24
  render(): any;
34
25
  componentWillLoad(): void;
@@ -10,7 +10,7 @@ import { DropdownItemData } from "./components/xv-dropdown/_vars";
10
10
  import { NOTIFICATION_VARIANTS } from "./components/xv-notification/_vars";
11
11
  import { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow-menu/_vars";
12
12
  import { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./components/xv-progress-indicator/_vars";
13
- import { SORT_DIR, TABLE_COLOR_SCHEMA, TABLE_SIZE, TableSelectionEventData, TableSortData } from "./components/xv-table/defs";
13
+ import { SelectRowDto, XV_SORT_DIR } from "./components/xv-table/_vars";
14
14
  import { TABS_VATIANT } from "./components/xv-tabs/_vars";
15
15
  import { TextInputStatus } from "./components/xv-text-input/_vars";
16
16
  export { SIZE_VAR } from "./types/enum";
@@ -18,7 +18,7 @@ export { DropdownItemData } from "./components/xv-dropdown/_vars";
18
18
  export { NOTIFICATION_VARIANTS } from "./components/xv-notification/_vars";
19
19
  export { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow-menu/_vars";
20
20
  export { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./components/xv-progress-indicator/_vars";
21
- export { SORT_DIR, TABLE_COLOR_SCHEMA, TABLE_SIZE, TableSelectionEventData, TableSortData } from "./components/xv-table/defs";
21
+ export { SelectRowDto, XV_SORT_DIR } from "./components/xv-table/_vars";
22
22
  export { TABS_VATIANT } from "./components/xv-tabs/_vars";
23
23
  export { TextInputStatus } from "./components/xv-text-input/_vars";
24
24
  export namespace Components {
@@ -214,106 +214,31 @@ export namespace Components {
214
214
  "label": string;
215
215
  }
216
216
  interface XvTableV2 {
217
- /**
218
- * Set current color schema type of enum TABLE_COLOR_SCHEMA Possible options 'zebra'
219
- */
220
- "colorSchema": TABLE_COLOR_SCHEMA;
221
- /**
222
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
223
- */
224
- "color-schema"?: TABLE_COLOR_SCHEMA;
225
- /**
226
- * Table caption description
227
- */
228
- "description": string;
229
- /**
230
- * If table is expandable fields
231
- */
232
- "expandable": boolean;
233
- /**
234
- * Add checkbox selection to the table
235
- */
236
- "selectable": boolean;
237
- /**
238
- * Table size enum TABLE_SIZE
239
- */
240
- "size": TABLE_SIZE;
217
+ "colsSize"?: (string | null)[];
218
+ "hover"?: boolean;
219
+ "size"?: SIZE_VAR;
241
220
  }
242
- interface XvTableV2Col {
243
- "sort"?: SORT_DIR | '';
244
- "sortName"?: string;
245
- /**
246
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
247
- */
248
- "sort-name"?: string;
221
+ interface XvTableV2Cell {
222
+ "align"?: 'left' | 'right' | 'center';
223
+ "name"?: string;
224
+ "sort"?: XV_SORT_DIR | '';
225
+ "width"?: string;
249
226
  }
250
227
  interface XvTableV2Expand {
251
- "expanded": boolean;
252
- "toggleExpand": (expanded: boolean) => Promise<void>;
253
- }
254
- interface XvTableV2HeaderRow {
255
- /**
256
- * Checkbox row checked
257
- */
258
- "checked": boolean;
259
- /**
260
- * Checkbox row selected partially
261
- */
262
- "partial": boolean;
263
- /**
264
- * Checkbox row name
265
- */
266
- "selectionName"?: string;
267
- /**
268
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
269
- */
270
- "selection-name"?: string;
271
- /**
272
- * Is sort enabled
273
- */
274
- "sortable"?: boolean;
275
- }
276
- interface XvTableV2Row {
277
- /**
278
- * Checkbox row status
279
- */
280
- "checked"?: boolean;
281
- /**
282
- * Disabled status
283
- */
284
228
  "disabled": boolean;
285
- /**
286
- * Is row will be expandable If it's true then the next row will be collapsed
287
- */
288
- "expandable": boolean;
289
- /**
290
- * Default state of expandable
291
- */
292
- "expanded": boolean;
293
- "groupId"?: string;
294
- /**
295
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
296
- */
297
- "group-id"?: string;
298
- /**
299
- * Checkbox row with minus icon
300
- */
301
- "partial"?: boolean;
302
- /**
303
- * Checkbox row name
304
- */
305
- "selectionName"?: string;
306
- /**
307
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
308
- */
309
- "selection-name"?: string;
310
- /**
311
- * Checkbox row value
312
- */
313
- "value"?: string;
229
+ "open": boolean;
314
230
  }
315
- interface XvTableV2Toolbar {
316
- "setSelectedItems": (selected: Map<string, TableSelectionEventData>) => Promise<void>;
231
+ interface XvTableV2Row {
232
+ "checked"?: SelectRowDto['checked'];
233
+ "disabled"?: boolean;
234
+ "header"?: boolean;
235
+ "hover"?: boolean;
236
+ "name"?: SelectRowDto['name'];
237
+ "partial"?: SelectRowDto['partial'];
238
+ "readonly"?: boolean;
239
+ "required"?: boolean;
240
+ "value"?: SelectRowDto['value'];
241
+ "variant"?: 'checkbox' | 'radio' | '';
317
242
  }
318
243
  interface XvTabsV2 {
319
244
  /**
@@ -399,21 +324,9 @@ export interface XvOverflowMenuV2ItemCustomEvent<T> extends CustomEvent<T> {
399
324
  detail: T;
400
325
  target: HTMLXvOverflowMenuV2ItemElement;
401
326
  }
402
- export interface XvTableV2CustomEvent<T> extends CustomEvent<T> {
403
- detail: T;
404
- target: HTMLXvTableV2Element;
405
- }
406
- export interface XvTableV2ColCustomEvent<T> extends CustomEvent<T> {
407
- detail: T;
408
- target: HTMLXvTableV2ColElement;
409
- }
410
- export interface XvTableV2ExpandCustomEvent<T> extends CustomEvent<T> {
411
- detail: T;
412
- target: HTMLXvTableV2ExpandElement;
413
- }
414
- export interface XvTableV2HeaderRowCustomEvent<T> extends CustomEvent<T> {
327
+ export interface XvTableV2CellCustomEvent<T> extends CustomEvent<T> {
415
328
  detail: T;
416
- target: HTMLXvTableV2HeaderRowElement;
329
+ target: HTMLXvTableV2CellElement;
417
330
  }
418
331
  export interface XvTableV2RowCustomEvent<T> extends CustomEvent<T> {
419
332
  detail: T;
@@ -661,77 +574,37 @@ declare global {
661
574
  prototype: HTMLXvTabV2Element;
662
575
  new (): HTMLXvTabV2Element;
663
576
  };
664
- interface HTMLXvTableV2ElementEventMap {
665
- "changeSelection": TableSelectionEventData[];
666
- }
667
577
  interface HTMLXvTableV2Element extends Components.XvTableV2, HTMLStencilElement {
668
- addEventListener<K extends keyof HTMLXvTableV2ElementEventMap>(type: K, listener: (this: HTMLXvTableV2Element, ev: XvTableV2CustomEvent<HTMLXvTableV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
669
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
670
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
671
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
672
- removeEventListener<K extends keyof HTMLXvTableV2ElementEventMap>(type: K, listener: (this: HTMLXvTableV2Element, ev: XvTableV2CustomEvent<HTMLXvTableV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
673
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
674
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
675
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
676
578
  }
677
579
  var HTMLXvTableV2Element: {
678
580
  prototype: HTMLXvTableV2Element;
679
581
  new (): HTMLXvTableV2Element;
680
582
  };
681
- interface HTMLXvTableV2ColElementEventMap {
682
- "sortColChange": TableSortData;
583
+ interface HTMLXvTableV2CellElementEventMap {
584
+ "sortChange": { name?: string, value: XV_SORT_DIR };
683
585
  }
684
- interface HTMLXvTableV2ColElement extends Components.XvTableV2Col, HTMLStencilElement {
685
- addEventListener<K extends keyof HTMLXvTableV2ColElementEventMap>(type: K, listener: (this: HTMLXvTableV2ColElement, ev: XvTableV2ColCustomEvent<HTMLXvTableV2ColElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
586
+ interface HTMLXvTableV2CellElement extends Components.XvTableV2Cell, HTMLStencilElement {
587
+ addEventListener<K extends keyof HTMLXvTableV2CellElementEventMap>(type: K, listener: (this: HTMLXvTableV2CellElement, ev: XvTableV2CellCustomEvent<HTMLXvTableV2CellElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
686
588
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
687
589
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
688
590
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
689
- removeEventListener<K extends keyof HTMLXvTableV2ColElementEventMap>(type: K, listener: (this: HTMLXvTableV2ColElement, ev: XvTableV2ColCustomEvent<HTMLXvTableV2ColElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
591
+ removeEventListener<K extends keyof HTMLXvTableV2CellElementEventMap>(type: K, listener: (this: HTMLXvTableV2CellElement, ev: XvTableV2CellCustomEvent<HTMLXvTableV2CellElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
690
592
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
691
593
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
692
594
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
693
595
  }
694
- var HTMLXvTableV2ColElement: {
695
- prototype: HTMLXvTableV2ColElement;
696
- new (): HTMLXvTableV2ColElement;
596
+ var HTMLXvTableV2CellElement: {
597
+ prototype: HTMLXvTableV2CellElement;
598
+ new (): HTMLXvTableV2CellElement;
697
599
  };
698
- interface HTMLXvTableV2ExpandElementEventMap {
699
- "checkedChange": TableSelectionEventData;
700
- }
701
600
  interface HTMLXvTableV2ExpandElement extends Components.XvTableV2Expand, HTMLStencilElement {
702
- addEventListener<K extends keyof HTMLXvTableV2ExpandElementEventMap>(type: K, listener: (this: HTMLXvTableV2ExpandElement, ev: XvTableV2ExpandCustomEvent<HTMLXvTableV2ExpandElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
703
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
704
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
705
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
706
- removeEventListener<K extends keyof HTMLXvTableV2ExpandElementEventMap>(type: K, listener: (this: HTMLXvTableV2ExpandElement, ev: XvTableV2ExpandCustomEvent<HTMLXvTableV2ExpandElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
707
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
708
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
709
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
710
601
  }
711
602
  var HTMLXvTableV2ExpandElement: {
712
603
  prototype: HTMLXvTableV2ExpandElement;
713
604
  new (): HTMLXvTableV2ExpandElement;
714
605
  };
715
- interface HTMLXvTableV2HeaderRowElementEventMap {
716
- "sortChange": TableSortData;
717
- }
718
- interface HTMLXvTableV2HeaderRowElement extends Components.XvTableV2HeaderRow, HTMLStencilElement {
719
- addEventListener<K extends keyof HTMLXvTableV2HeaderRowElementEventMap>(type: K, listener: (this: HTMLXvTableV2HeaderRowElement, ev: XvTableV2HeaderRowCustomEvent<HTMLXvTableV2HeaderRowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
720
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
721
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
722
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
723
- removeEventListener<K extends keyof HTMLXvTableV2HeaderRowElementEventMap>(type: K, listener: (this: HTMLXvTableV2HeaderRowElement, ev: XvTableV2HeaderRowCustomEvent<HTMLXvTableV2HeaderRowElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
724
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
725
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
726
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
727
- }
728
- var HTMLXvTableV2HeaderRowElement: {
729
- prototype: HTMLXvTableV2HeaderRowElement;
730
- new (): HTMLXvTableV2HeaderRowElement;
731
- };
732
606
  interface HTMLXvTableV2RowElementEventMap {
733
- "checkedChange": { name: string, value?: string; checked: boolean };
734
- "checkedGroupChange": { name: string, value?: string; checked: boolean };
607
+ "selectRow": SelectRowDto;
735
608
  }
736
609
  interface HTMLXvTableV2RowElement extends Components.XvTableV2Row, HTMLStencilElement {
737
610
  addEventListener<K extends keyof HTMLXvTableV2RowElementEventMap>(type: K, listener: (this: HTMLXvTableV2RowElement, ev: XvTableV2RowCustomEvent<HTMLXvTableV2RowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -747,12 +620,6 @@ declare global {
747
620
  prototype: HTMLXvTableV2RowElement;
748
621
  new (): HTMLXvTableV2RowElement;
749
622
  };
750
- interface HTMLXvTableV2ToolbarElement extends Components.XvTableV2Toolbar, HTMLStencilElement {
751
- }
752
- var HTMLXvTableV2ToolbarElement: {
753
- prototype: HTMLXvTableV2ToolbarElement;
754
- new (): HTMLXvTableV2ToolbarElement;
755
- };
756
623
  interface HTMLXvTabsV2ElementEventMap {
757
624
  "tabSelect": number;
758
625
  }
@@ -825,11 +692,9 @@ declare global {
825
692
  "xv-progress-indicator-v2-item": HTMLXvProgressIndicatorV2ItemElement;
826
693
  "xv-tab-v2": HTMLXvTabV2Element;
827
694
  "xv-table-v2": HTMLXvTableV2Element;
828
- "xv-table-v2-col": HTMLXvTableV2ColElement;
695
+ "xv-table-v2-cell": HTMLXvTableV2CellElement;
829
696
  "xv-table-v2-expand": HTMLXvTableV2ExpandElement;
830
- "xv-table-v2-header-row": HTMLXvTableV2HeaderRowElement;
831
697
  "xv-table-v2-row": HTMLXvTableV2RowElement;
832
- "xv-table-v2-toolbar": HTMLXvTableV2ToolbarElement;
833
698
  "xv-tabs-v2": HTMLXvTabsV2Element;
834
699
  "xv-tag-v2": HTMLXvTagV2Element;
835
700
  "xv-text-input-v2": HTMLXvTextInputV2Element;
@@ -1054,110 +919,33 @@ declare namespace LocalJSX {
1054
919
  "label"?: string;
1055
920
  }
1056
921
  interface XvTableV2 {
1057
- /**
1058
- * Set current color schema type of enum TABLE_COLOR_SCHEMA Possible options 'zebra'
1059
- */
1060
- "colorSchema"?: TABLE_COLOR_SCHEMA;
1061
- /**
1062
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1063
- */
1064
- "color-schema"?: TABLE_COLOR_SCHEMA;
1065
- /**
1066
- * Table caption description
1067
- */
1068
- "description"?: string;
1069
- /**
1070
- * If table is expandable fields
1071
- */
1072
- "expandable"?: boolean;
1073
- "onChangeSelection"?: (event: XvTableV2CustomEvent<TableSelectionEventData[]>) => void;
1074
- /**
1075
- * Add checkbox selection to the table
1076
- */
1077
- "selectable"?: boolean;
1078
- /**
1079
- * Table size enum TABLE_SIZE
1080
- */
1081
- "size"?: TABLE_SIZE;
922
+ "colsSize"?: (string | null)[];
923
+ "hover"?: boolean;
924
+ "size"?: SIZE_VAR;
1082
925
  }
1083
- interface XvTableV2Col {
1084
- "onSortColChange"?: (event: XvTableV2ColCustomEvent<TableSortData>) => void;
1085
- "sort"?: SORT_DIR | '';
1086
- "sortName"?: string;
1087
- /**
1088
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1089
- */
1090
- "sort-name"?: string;
926
+ interface XvTableV2Cell {
927
+ "align"?: 'left' | 'right' | 'center';
928
+ "name"?: string;
929
+ "onSortChange"?: (event: XvTableV2CellCustomEvent<{ name?: string, value: XV_SORT_DIR }>) => void;
930
+ "sort"?: XV_SORT_DIR | '';
931
+ "width"?: string;
1091
932
  }
1092
933
  interface XvTableV2Expand {
1093
- "expanded"?: boolean;
1094
- "onCheckedChange"?: (event: XvTableV2ExpandCustomEvent<TableSelectionEventData>) => void;
1095
- }
1096
- interface XvTableV2HeaderRow {
1097
- /**
1098
- * Checkbox row checked
1099
- */
1100
- "checked"?: boolean;
1101
- "onSortChange"?: (event: XvTableV2HeaderRowCustomEvent<TableSortData>) => void;
1102
- /**
1103
- * Checkbox row selected partially
1104
- */
1105
- "partial"?: boolean;
1106
- /**
1107
- * Checkbox row name
1108
- */
1109
- "selectionName"?: string;
1110
- /**
1111
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1112
- */
1113
- "selection-name"?: string;
1114
- /**
1115
- * Is sort enabled
1116
- */
1117
- "sortable"?: boolean;
934
+ "disabled"?: boolean;
935
+ "open"?: boolean;
1118
936
  }
1119
937
  interface XvTableV2Row {
1120
- /**
1121
- * Checkbox row status
1122
- */
1123
- "checked"?: boolean;
1124
- /**
1125
- * Disabled status
1126
- */
938
+ "checked"?: SelectRowDto['checked'];
1127
939
  "disabled"?: boolean;
1128
- /**
1129
- * Is row will be expandable If it's true then the next row will be collapsed
1130
- */
1131
- "expandable"?: boolean;
1132
- /**
1133
- * Default state of expandable
1134
- */
1135
- "expanded"?: boolean;
1136
- "groupId"?: string;
1137
- /**
1138
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1139
- */
1140
- "group-id"?: string;
1141
- "onCheckedChange"?: (event: XvTableV2RowCustomEvent<{ name: string, value?: string; checked: boolean }>) => void;
1142
- "onCheckedGroupChange"?: (event: XvTableV2RowCustomEvent<{ name: string, value?: string; checked: boolean }>) => void;
1143
- /**
1144
- * Checkbox row with minus icon
1145
- */
1146
- "partial"?: boolean;
1147
- /**
1148
- * Checkbox row name
1149
- */
1150
- "selectionName"?: string;
1151
- /**
1152
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1153
- */
1154
- "selection-name"?: string;
1155
- /**
1156
- * Checkbox row value
1157
- */
1158
- "value"?: string;
1159
- }
1160
- interface XvTableV2Toolbar {
940
+ "header"?: boolean;
941
+ "hover"?: boolean;
942
+ "name"?: SelectRowDto['name'];
943
+ "onSelectRow"?: (event: XvTableV2RowCustomEvent<SelectRowDto>) => void;
944
+ "partial"?: SelectRowDto['partial'];
945
+ "readonly"?: boolean;
946
+ "required"?: boolean;
947
+ "value"?: SelectRowDto['value'];
948
+ "variant"?: 'checkbox' | 'radio' | '';
1161
949
  }
1162
950
  interface XvTabsV2 {
1163
951
  /**
@@ -1228,11 +1016,9 @@ declare namespace LocalJSX {
1228
1016
  "xv-progress-indicator-v2-item": XvProgressIndicatorV2Item;
1229
1017
  "xv-tab-v2": XvTabV2;
1230
1018
  "xv-table-v2": XvTableV2;
1231
- "xv-table-v2-col": XvTableV2Col;
1019
+ "xv-table-v2-cell": XvTableV2Cell;
1232
1020
  "xv-table-v2-expand": XvTableV2Expand;
1233
- "xv-table-v2-header-row": XvTableV2HeaderRow;
1234
1021
  "xv-table-v2-row": XvTableV2Row;
1235
- "xv-table-v2-toolbar": XvTableV2Toolbar;
1236
1022
  "xv-tabs-v2": XvTabsV2;
1237
1023
  "xv-tag-v2": XvTagV2;
1238
1024
  "xv-text-input-v2": XvTextInputV2;
@@ -1269,11 +1055,9 @@ declare module "@stencil/core" {
1269
1055
  "xv-progress-indicator-v2-item": LocalJSX.XvProgressIndicatorV2Item & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2ItemElement>;
1270
1056
  "xv-tab-v2": LocalJSX.XvTabV2 & JSXBase.HTMLAttributes<HTMLXvTabV2Element>;
1271
1057
  "xv-table-v2": LocalJSX.XvTableV2 & JSXBase.HTMLAttributes<HTMLXvTableV2Element>;
1272
- "xv-table-v2-col": LocalJSX.XvTableV2Col & JSXBase.HTMLAttributes<HTMLXvTableV2ColElement>;
1058
+ "xv-table-v2-cell": LocalJSX.XvTableV2Cell & JSXBase.HTMLAttributes<HTMLXvTableV2CellElement>;
1273
1059
  "xv-table-v2-expand": LocalJSX.XvTableV2Expand & JSXBase.HTMLAttributes<HTMLXvTableV2ExpandElement>;
1274
- "xv-table-v2-header-row": LocalJSX.XvTableV2HeaderRow & JSXBase.HTMLAttributes<HTMLXvTableV2HeaderRowElement>;
1275
1060
  "xv-table-v2-row": LocalJSX.XvTableV2Row & JSXBase.HTMLAttributes<HTMLXvTableV2RowElement>;
1276
- "xv-table-v2-toolbar": LocalJSX.XvTableV2Toolbar & JSXBase.HTMLAttributes<HTMLXvTableV2ToolbarElement>;
1277
1061
  "xv-tabs-v2": LocalJSX.XvTabsV2 & JSXBase.HTMLAttributes<HTMLXvTabsV2Element>;
1278
1062
  "xv-tag-v2": LocalJSX.XvTagV2 & JSXBase.HTMLAttributes<HTMLXvTagV2Element>;
1279
1063
  /**
@@ -1,2 +1,2 @@
1
- export{f as format}from"./p-39bf1511.js";
1
+ export{f as format}from"./p-f98a1845.js";
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1,3 @@
1
+ const e="xv-webcomponents";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,constructableCSS:true,cssAnnotations:true,devTools:false,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,modernPropertyDecls:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true};var n=Object.defineProperty;var r=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var s="http://www.w3.org/2000/svg";var l="http://www.w3.org/1999/xhtml";var o=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var i=(e,t)=>{e.__stencil__getHostRef=()=>t;t.t=e};var a=(e,t)=>{const n={l:0,$hostElement$:e,o:t,i:new Map};{n.u=new Promise((e=>n.v=e))}{n.p=new Promise((e=>n.h=e));e["s-p"]=[];e["s-rc"]=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var f=(e,t)=>t in e;var c=(e,t)=>(0,console.error)(e,t);var u=new Map;var v=(e,t,n)=>{const r=e.m.replace(/-/g,"_");const s=e.S;if(!s){return void 0}const l=u.get(s);if(l){return l[r]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${s}.entry.js${""}`).then((e=>{{u.set(s,e)}return e[r]}),(e=>{c(e,t.$hostElement$)}))};var d=new Map;var p="sty-id";var h="{visibility:hidden}.hydrated{visibility:inherit}";var m="slot-fb{display:contents}slot-fb[hidden]{display:none}";var y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var b=typeof window!=="undefined"?window:{};var w={l:0,$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var g=(()=>{var e;let t=false;try{(e=b.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=true}}))}catch(e){}return t})();var S=e=>Promise.resolve(e);var $=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var j=false;var k=[];var C=[];var O=(e,t)=>n=>{e.push(n);if(!j){j=true;if(t&&w.l&4){D(E)}else{w.raf(E)}}};var x=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){c(e)}}e.length=0};var E=()=>{x(k);{x(C);if(j=k.length>0){w.raf(E)}}};var D=e=>S().then(e);var T=O(C,true);var M=e=>{e=typeof e;return e==="object"||e==="function"};function R(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var F={};r(F,{err:()=>P,map:()=>A,ok:()=>L,unwrap:()=>N,unwrapErr:()=>U});var L=e=>({isOk:true,isErr:false,value:e});var P=e=>({isOk:false,isErr:true,value:e});function A(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>L(e)))}else{return L(n)}}if(e.isErr){const t=e.value;return P(t)}throw"should never get here"}var N=e=>{if(e.isOk){return e.value}else{throw e.value}};var U=e=>{if(e.isErr){return e.value}else{throw e.value}};var W=(e,t="")=>{{return()=>{}}};var z=(e,t)=>{{return()=>{}}};var H=(e,t,...n)=>{let r=null;let s=null;let l=false;let o=false;const i=[];const a=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){a(r)}else if(r!=null&&typeof r!=="boolean"){if(l=typeof e!=="function"&&!M(r)){r=String(r)}if(l&&o){i[i.length-1].j+=r}else{i.push(l?B(null,r):r)}o=l}}};a(n);if(t){if(t.key){s=t.key}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,i,V)}const f=B(e,null);f.k=t;if(i.length>0){f.C=i}{f.O=s}return f};var B=(e,t)=>{const n={l:0,D:e,j:t,T:null,C:null};{n.k=null}{n.O=null}return n};var I={};var Q=e=>e&&e.D===I;var V={forEach:(e,t)=>e.map(q).forEach(t),map:(e,t)=>e.map(q).map(t).map(G)};var q=e=>({vattrs:e.k,vchildren:e.C,vkey:e.O,vname:e.M,vtag:e.D,vtext:e.j});var G=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return H(e.vtag,t,...e.vchildren||[])}const t=B(e.vtag,e.vtext);t.k=e.vattrs;t.C=e.vchildren;t.O=e.vkey;t.M=e.vname;return t};var K=(e,t)=>{if(e!=null&&!M(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var X=e=>o(e).$hostElement$;var Y=(e,t,n)=>{const r=X(e);return{emit:e=>_(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};var _=(e,t,n)=>{const r=w.ce(t,n);e.dispatchEvent(r);return r};var J=new WeakMap;var Z=(e,t,n)=>{let r=d.get(e);if($&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}d.set(e,r)};var ee=(e,t,n)=>{var r;const s=ne(t);const l=d.get(s);if(!b.document){return s}e=e.nodeType===11?e:b.document;if(l){if(typeof l==="string"){e=e.head||e;let n=J.get(e);let o;if(!n){J.set(e,n=new Set)}if(!n.has(s)){{o=document.querySelector(`[${p}="${s}"]`)||b.document.createElement("style");o.innerHTML=l;const n=(r=w.R)!=null?r:R(b.document);if(n!=null){o.setAttribute("nonce",n)}if(!(t.l&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(o,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if($){const t=new CSSStyleSheet;t.replaceSync(l);e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");if(t){t.innerHTML=l+t.innerHTML}else{e.prepend(o)}}}else{e.append(o)}}if(t.l&1){e.insertBefore(o,null)}}if(t.l&4){o.innerHTML+=m}if(n){n.add(s)}}}else if(!e.adoptedStyleSheets.includes(l)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]}}return s};var te=e=>{const t=e.o;const n=e.$hostElement$;const r=t.l;const s=W("attachStyles",t.m);const l=ee(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10&&r&2||r&128){n["s-sc"]=l;n.classList.add(l+"-h")}s()};var ne=(e,t)=>"sc-"+e.m;var re=(e,t,n,r,s,l,o)=>{if(n===r){return}let i=f(e,t);let a=t.toLowerCase();if(t==="class"){const t=e.classList;const s=le(n);let l=le(r);{t.remove(...s.filter((e=>e&&!l.includes(e))));t.add(...l.filter((e=>e&&!s.includes(e))))}}else if(t==="style"){{for(const t in n){if(!r||r[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in r){if(!n||r[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,r[t])}else{e.style[t]=r[t]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(f(b,a)){t=a.slice(2)}else{t=a[2]+t.slice(3)}if(n||r){const s=t.endsWith(oe);t=t.replace(ie,"");if(n){w.rel(e,t,n,s)}if(r){w.ael(e,t,r,s)}}}else{const o=M(r);if((i||o&&r!==null)&&!s){try{if(!e.tagName.includes("-")){const s=r==null?"":r;if(t==="list"){i=false}else if(n==null||e[t]!=s){if(typeof e.__lookupSetter__(t)==="function"){e[t]=s}else{e.setAttribute(t,s)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!i||l&4||s)&&!o&&e.nodeType===1){r=r===true?"":r;{e.setAttribute(t,r)}}}};var se=/\s/;var le=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(se)};var oe="Capture";var ie=new RegExp(oe+"$");var ae=(e,t,n,r)=>{const s=t.T.nodeType===11&&t.T.host?t.T.host:t.T;const l=e&&e.k||{};const o=t.k||{};{for(const e of fe(Object.keys(l))){if(!(e in o)){re(s,e,l[e],void 0,n,t.l)}}}for(const e of fe(Object.keys(o))){re(s,e,l[e],o[e],n,t.l)}};function fe(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var ce;var ue=false;var ve=false;var de=(e,n,r)=>{const o=n.C[r];let i=0;let a;let f;if(o.j!==null){a=o.T=b.document.createTextNode(o.j)}else{if(!ve){ve=o.D==="svg"}if(!b.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}a=o.T=b.document.createElementNS(ve?s:l,!ue&&t.slotRelocation&&o.l&2?"slot-fb":o.D);if(ve&&o.D==="foreignObject"){ve=false}{ae(null,o,ve)}if(o.C){for(i=0;i<o.C.length;++i){f=de(e,o,i);if(f){a.appendChild(f)}}}{if(o.D==="svg"){ve=false}else if(a.tagName==="foreignObject"){ve=true}}}a["s-hn"]=ce;return a};var pe=(e,t,n,r,s,l)=>{let o=e;let i;if(o.shadowRoot&&o.tagName===ce){o=o.shadowRoot}for(;s<=l;++s){if(r[s]){i=de(null,n,s);if(i){r[s].T=i;ge(o,i,t)}}}};var he=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.T;we(t);if(e){e.remove()}}}};var me=(e,t,n,r,s=false)=>{let l=0;let o=0;let i=0;let a=0;let f=t.length-1;let c=t[0];let u=t[f];let v=r.length-1;let d=r[0];let p=r[v];let h;let m;while(l<=f&&o<=v){if(c==null){c=t[++l]}else if(u==null){u=t[--f]}else if(d==null){d=r[++o]}else if(p==null){p=r[--v]}else if(ye(c,d,s)){be(c,d,s);c=t[++l];d=r[++o]}else if(ye(u,p,s)){be(u,p,s);u=t[--f];p=r[--v]}else if(ye(c,p,s)){be(c,p,s);ge(e,c.T,u.T.nextSibling);c=t[++l];p=r[--v]}else if(ye(u,d,s)){be(u,d,s);ge(e,u.T,c.T);u=t[--f];d=r[++o]}else{i=-1;{for(a=l;a<=f;++a){if(t[a]&&t[a].O!==null&&t[a].O===d.O){i=a;break}}}if(i>=0){m=t[i];if(m.D!==d.D){h=de(t&&t[o],n,i)}else{be(m,d,s);t[i]=void 0;h=m.T}d=r[++o]}else{h=de(t&&t[o],n,o);d=r[++o]}if(h){{ge(c.T.parentNode,h,c.T)}}}}if(l>f){pe(e,r[v+1]==null?null:r[v+1].T,n,r,o,v)}else if(o>v){he(t,l,f)}};var ye=(e,t,n=false)=>{if(e.D===t.D){if(!n){return e.O===t.O}if(n&&!e.O&&t.O){e.O=t.O}return true}return false};var be=(e,n,r=false)=>{const s=n.T=e.T;const l=e.C;const o=n.C;const i=n.D;const a=n.j;if(a===null){{ve=i==="svg"?true:i==="foreignObject"?false:ve}{ae(e,n,ve)}if(l!==null&&o!==null){me(s,l,n,o,r)}else if(o!==null){if(e.j!==null){s.textContent=""}pe(s,null,n,o,0,o.length-1)}else if(!r&&t.updatable&&l!==null){he(l,0,l.length-1)}if(ve&&i==="svg"){ve=false}}else if(e.j!==a){s.data=a}};var we=e=>{{e.k&&e.k.ref&&e.k.ref(null);e.C&&e.C.map(we)}};var ge=(e,t,n)=>{{return e==null?void 0:e.insertBefore(t,n)}};var Se=(e,t,n=false)=>{const r=e.$hostElement$;const s=e.o;const l=e.F||B(null,null);const o=Q(t)?t:H(null,null,t);ce=r.tagName;if(s.L){o.k=o.k||{};s.L.map((([e,t])=>o.k[t]=r[e]))}if(n&&o.k){for(const e of Object.keys(o.k)){if(r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){o.k[e]=r[e]}}}o.D=null;o.l|=4;e.F=o;o.T=l.T=r.shadowRoot||r;ue=!!(s.l&1)&&!(s.l&128);be(l,o,n)};var $e=(e,t)=>{if(t&&!e.P&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.P=()=>{t["s-p"].splice(n-1,1);r()})))}};var je=(e,t)=>{{e.l|=16}if(e.l&4){e.l|=512;return}$e(e,e.A);const n=()=>ke(e,t);return T(n)};var ke=(e,t)=>{const n=e.$hostElement$;const r=W("scheduleUpdate",e.o.m);const s=e.t;if(!s){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let l;if(t){{e.l|=256;if(e.N){e.N.map((([e,t])=>Me(s,e,t,n)));e.N=void 0}}l=Me(s,"componentWillLoad",void 0,n)}else{l=Me(s,"componentWillUpdate",void 0,n)}l=Ce(l,(()=>Me(s,"componentWillRender",void 0,n)));r();return Ce(l,(()=>xe(e,s,t)))};var Ce=(e,t)=>Oe(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var Oe=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var xe=async(e,t,n)=>{var r;const s=e.$hostElement$;const l=W("update",e.o.m);const o=s["s-rc"];if(n){te(e)}const i=W("render",e.o.m);{Ee(e,t,s,n)}if(o){o.map((e=>e()));s["s-rc"]=void 0}i();l();{const t=(r=s["s-p"])!=null?r:[];const n=()=>De(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.l|=4;t.length=0}}};var Ee=(e,t,n,r)=>{try{t=t.render();{e.l&=~16}{e.l|=2}{{{Se(e,t,r)}}}}catch(t){c(t,e.$hostElement$)}return null};var De=e=>{const t=e.o.m;const n=e.$hostElement$;const r=W("postUpdate",t);const s=e.t;const l=e.A;Me(s,"componentDidRender",void 0,n);if(!(e.l&64)){e.l|=64;{Re(n)}Me(s,"componentDidLoad",void 0,n);r();{e.h(n);if(!l){Te()}}}else{Me(s,"componentDidUpdate",void 0,n);r()}{e.v(n)}{if(e.P){e.P();e.P=void 0}if(e.l&512){D((()=>je(e,false)))}e.l&=~(4|512)}};var Te=t=>{D((()=>_(b,"appload",{detail:{namespace:e}})))};var Me=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){c(e,r)}}return void 0};var Re=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var Fe=(e,t)=>o(e).i.get(t);var Le=(e,t,n,r)=>{const s=o(e);if(!s){throw new Error(`Couldn't find host element for "${r.m}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`)}const l=s.$hostElement$;const i=s.i.get(t);const a=s.l;const f=s.t;n=K(n,r.U[t][0]);const u=Number.isNaN(i)&&Number.isNaN(n);const v=n!==i&&!u;if((!(a&8)||i===void 0)&&v){s.i.set(t,n);if(f){if(r.W&&a&128){const e=r.W[t];if(e){e.map((e=>{try{f[e](n,i,t)}catch(e){c(e,l)}}))}}if((a&(2|16))===2){if(f.componentShouldUpdate){if(f.componentShouldUpdate(n,i,t)===false){return}}je(s,false)}}}};var Pe=(e,n,r)=>{var s,l;const i=e.prototype;if(n.l&64&&r&1){y.forEach((e=>{Object.defineProperty(i,e,{value(...t){const n=o(this);const r=n.t;if(!r){n.p.then((n=>{const r=n[e];typeof r==="function"&&r.call(n,...t)}))}else{const n=r[e];typeof n==="function"&&n.call(r,...t)}}})}))}if(n.U||(n.W||e.watchers)){if(e.watchers&&!n.W){n.W=e.watchers}const a=Object.entries((s=n.U)!=null?s:{});a.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:s,set:l}=Object.getOwnPropertyDescriptor(i,e)||{};if(s)n.U[e][0]|=2048;if(l)n.U[e][0]|=4096;if(r&1||!s){Object.defineProperty(i,e,{get(){{if((n.U[e][0]&2048)===0){return Fe(this,e)}const t=o(this);const r=t?t.t:i;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(i,e,{set(s){const i=o(this);if(l){const r=t&32?this[e]:i.$hostElement$[e];if(typeof r==="undefined"&&i.i.get(e)){s=i.i.get(e)}else if(!i.i.get(e)&&r){i.i.set(e,r)}l.apply(this,[K(s,t)]);s=t&32?this[e]:i.$hostElement$[e];Le(this,e,s,n);return}{if((r&1)===0||(n.U[e][0]&4096)===0){Le(this,e,s,n);if(r&1&&!i.t){i.p.then((()=>{if(n.U[e][0]&4096&&i.t[e]!==i.i.get(e)){i.t[e]=s}}))}return}const l=()=>{const r=i.t[e];if(!i.i.get(e)&&r){i.i.set(e,r)}i.t[e]=K(s,t);Le(this,e,i.t[e],n)};if(i.t){l()}else{i.p.then((()=>l()))}}}})}else if(r&1&&t&64){Object.defineProperty(i,e,{value(...t){var n;const r=o(this);return(n=r==null?void 0:r.u)==null?void 0:n.then((()=>{var n;return(n=r.t)==null?void 0:n[e](...t)}))}})}}));if(r&1){const r=new Map;i.attributeChangedCallback=function(e,s,l){w.jmp((()=>{var a;const f=r.get(e);if(this.hasOwnProperty(f)&&t.lazyLoad){l=this[f];delete this[f]}else if(i.hasOwnProperty(f)&&typeof this[f]==="number"&&this[f]==l){return}else if(f==null){const t=o(this);const r=t==null?void 0:t.l;if(r&&!(r&8)&&r&128&&l!==s){const r=t.t;const o=(a=n.W)==null?void 0:a[e];o==null?void 0:o.forEach((t=>{if(r[t]!=null){r[t].call(r,l,s,e)}}))}return}const c=Object.getOwnPropertyDescriptor(i,f);l=l===null&&typeof this[f]==="boolean"?false:l;if(l!==this[f]&&(!c.get||!!c.set)){this[f]=l}}))};e.observedAttributes=Array.from(new Set([...Object.keys((l=n.W)!=null?l:{}),...a.filter((([e,t])=>t[0]&15)).map((([e,t])=>{var s;const l=t[1]||e;r.set(l,e);if(t[0]&512){(s=n.L)==null?void 0:s.push([e,l])}return l}))]))}}return e};var Ae=async(e,t,n,r)=>{let s;if((t.l&32)===0){t.l|=32;const r=n.S;if(r){const r=v(n,t);if(r&&"then"in r){const e=z();s=await r;e()}else{s=r}if(!s){throw new Error(`Constructor for "${n.m}#${t.H}" was not found`)}if(!s.isProxied){{n.W=s.watchers}Pe(s,n,2);s.isProxied=true}const l=W("createInstance",n.m);{t.l|=8}try{new s(t)}catch(t){c(t,e)}{t.l&=~8}{t.l|=128}l();Ne(t.t,e)}else{s=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(s&&s.style){let e;if(typeof s.style==="string"){e=s.style}const t=ne(n);if(!d.has(t)){const r=W("registerStyles",n.m);Z(t,e,!!(n.l&1));r()}}}const l=t.A;const o=()=>je(t,true);if(l&&l["s-rc"]){l["s-rc"].push(o)}else{o()}};var Ne=(e,t)=>{{Me(e,"connectedCallback",void 0,t)}};var Ue=e=>{if((w.l&1)===0){const t=o(e);const n=t.o;const r=W("connectedCallback",n.m);if(!(t.l&1)){t.l|=1;{let n=e;while(n=n.parentNode||n.host){if(n["s-p"]){$e(t,t.A=n);break}}}if(n.U){Object.entries(n.U).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{Ae(e,t,n)}}else{Ie(e,t,n.B);if(t==null?void 0:t.t){Ne(t.t,e)}else if(t==null?void 0:t.p){t.p.then((()=>Ne(t.t,e)))}}r()}};var We=(e,t)=>{{Me(e,"disconnectedCallback",void 0,t||e)}};var ze=async e=>{if((w.l&1)===0){const t=o(e);{if(t.I){t.I.map((e=>e()));t.I=void 0}}if(t==null?void 0:t.t){We(t.t,e)}else if(t==null?void 0:t.p){t.p.then((()=>We(t.t,e)))}}if(J.has(e)){J.delete(e)}if(e.shadowRoot&&J.has(e.shadowRoot)){J.delete(e.shadowRoot)}};var He=(e,t={})=>{var n;if(!b.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=W();const s=[];const l=t.exclude||[];const i=b.customElements;const f=b.document.head;const c=f.querySelector("meta[charset]");const u=b.document.createElement("style");const v=[];let d;let p=true;Object.assign(w,t);w.$=new URL(t.resourcesUrl||"./",b.document.baseURI).href;let y=false;e.map((e=>{e[1].map((t=>{var n;const r={l:t[0],m:t[1],U:t[2],B:t[3]};if(r.l&4){y=true}{r.U=t[2]}{r.B=t[3]}{r.L=[]}{r.W=(n=t[4])!=null?n:{}}const f=r.m;const c=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;a(e,r);if(r.l&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open"})}}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${r.m}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=o(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Ie(this,e,r.B)}if(d){clearTimeout(d);d=null}if(p){v.push(this)}else{w.jmp((()=>Ue(this)))}}disconnectedCallback(){w.jmp((()=>ze(this)));w.raf((()=>{var e;const t=o(this);const n=v.findIndex((e=>e===this));if(n>-1){v.splice(n,1)}if(((e=t==null?void 0:t.F)==null?void 0:e.T)instanceof Node&&!t.F.T.isConnected){delete t.F.T}}))}componentOnReady(){return o(this).p}};if(r.l&64){c.formAssociated=true}r.S=e[0];if(!l.includes(f)&&!i.get(f)){s.push(f);i.define(f,Pe(c,r,1))}}))}));if(s.length>0){if(y){u.textContent+=m}{u.textContent+=s.sort()+h}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(n=w.R)!=null?n:R(b.document);if(e!=null){u.setAttribute("nonce",e)}f.insertBefore(u,c?c.nextSibling:f.firstChild)}}p=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{w.jmp((()=>d=setTimeout(Te,30)))}}r()};var Be=(e,t)=>t;var Ie=(e,t,n,r)=>{if(n&&b.document){n.map((([n,r,s])=>{const l=Ve(b.document,e,n);const o=Qe(t,s);const i=qe(n);w.ael(l,r,o,i);(t.I=t.I||[]).push((()=>w.rel(l,r,o,i)))}))}};var Qe=(e,t)=>n=>{var r;try{{if(e.l&256){(r=e.t)==null?void 0:r[t](n)}else{(e.N=e.N||[]).push([t,n])}}}catch(t){c(t,e.$hostElement$)}};var Ve=(e,t,n)=>{if(n&16){return e.body}return t};var qe=e=>g?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var Ge=e=>w.R=e;export{Be as F,I as H,He as b,Y as c,X as g,H as h,S as p,i as r,Ge as s};
3
+ //# sourceMappingURL=p-612356e6.js.map