xv-webcomponents 1.3.49-qa.0 → 1.3.51-qa.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/cjs/{index-BNc1Ov5g.js → index-SeExY50a.js} +2 -17
  2. package/dist/cjs/{index-BNc1Ov5g.js.map → index-SeExY50a.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/xv-accordion-v2_45.cjs.entry.js +271 -185
  6. package/dist/cjs/xv-accordion-v2_45.cjs.entry.js.map +1 -1
  7. package/dist/cjs/xv-webcomponents.cjs.js +1 -1
  8. package/dist/collection/components/xv-header/xv-header.css +185 -221
  9. package/dist/collection/components/xv-header/xv-header.js +269 -159
  10. package/dist/collection/components/xv-header/xv-header.js.map +1 -1
  11. package/dist/collection/components/xv-image-viewer/xv-image-viewer.js +1 -1
  12. package/dist/collection/components/xv-link/xv-link.js +1 -1
  13. package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +2 -2
  14. package/dist/collection/components/xv-modal/xv-modal.js +1 -1
  15. package/dist/collection/components/xv-notification/xv-notification.js +1 -1
  16. package/dist/collection/components/xv-number-input/xv-number-input.js +2 -2
  17. package/dist/collection/components/xv-overflow-menu/_vars.js +0 -1
  18. package/dist/collection/components/xv-overflow-menu/_vars.js.map +1 -1
  19. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.css +0 -8
  20. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +4 -25
  21. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js.map +1 -1
  22. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.css +0 -3
  23. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +4 -4
  24. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js.map +1 -1
  25. package/dist/collection/components/xv-pagination/xv-pagination.js +1 -1
  26. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
  27. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +1 -1
  28. package/dist/collection/components/xv-radio/xv-radio.js +2 -2
  29. package/dist/collection/components/xv-slider/xv-slider.js +1 -1
  30. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +1 -1
  31. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +1 -1
  32. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +1 -1
  33. package/dist/collection/components/xv-table/xv-table.js +1 -1
  34. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
  35. package/dist/collection/components/xv-tag/xv-tag.js +1 -1
  36. package/dist/collection/components/xv-tag/xv-tag.js.map +1 -1
  37. package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +2 -2
  38. package/dist/collection/components/xv-text-input/xv-text-input.js +2 -2
  39. package/dist/collection/components/xv-textarea/xv-textarea.js +2 -2
  40. package/dist/collection/components/xv-tile/xv-tile.js +2 -2
  41. package/dist/collection/components/xv-toggle/xv-toggle.js +1 -1
  42. package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +1 -1
  43. package/dist/collection/components/xv-tooltip/xv-tooltip.js +2 -2
  44. package/dist/esm/{index-_tZy78IZ.js → index-ZFbwGttR.js} +3 -17
  45. package/dist/esm/{index-_tZy78IZ.js.map → index-ZFbwGttR.js.map} +1 -1
  46. package/dist/esm/index.js +1 -1
  47. package/dist/esm/loader.js +1 -1
  48. package/dist/esm/xv-accordion-v2_45.entry.js +271 -185
  49. package/dist/esm/xv-accordion-v2_45.entry.js.map +1 -1
  50. package/dist/esm/xv-webcomponents.js +1 -1
  51. package/dist/types/components/xv-header/xv-header.d.ts +47 -36
  52. package/dist/types/components/xv-overflow-menu/_vars.d.ts +1 -2
  53. package/dist/types/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.d.ts +0 -1
  54. package/dist/types/components/xv-overflow-menu/xv-overflow-menu.d.ts +1 -1
  55. package/dist/types/components.d.ts +10 -10
  56. package/dist/xv-webcomponents/index.esm.js +1 -1
  57. package/dist/xv-webcomponents/p-5864b74b.entry.js +2 -0
  58. package/dist/xv-webcomponents/p-5864b74b.entry.js.map +1 -0
  59. package/dist/xv-webcomponents/p-ZFbwGttR.js +2 -0
  60. package/dist/xv-webcomponents/{p-_tZy78IZ.js.map → p-ZFbwGttR.js.map} +1 -1
  61. package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
  62. package/package.json +1 -1
  63. package/dist/xv-webcomponents/p-89a2be01.entry.js +0 -2
  64. package/dist/xv-webcomponents/p-89a2be01.entry.js.map +0 -1
  65. package/dist/xv-webcomponents/p-_tZy78IZ.js +0 -2
@@ -42,7 +42,7 @@ export class XvTableRow {
42
42
  }
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: '0de73cc52a73cfd005a776a0de4cf3bfb92a5eac' }, this.variant !== undefined && (h("xv-table-v2-cell", { key: '065754071fc26028130f14118e49cb89fd71f91c', class: "cell-control" }, this.variant === 'checkbox' && (h("xv-checkbox-v2", { key: '2215eddf787adcf8ceda6fb36cfb895f3a1ce221', name: this.name, partial: this.partial, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly, onEventChange: this.checkHandle })), this.variant === 'radio' && (h("input", { key: 'afe2b22e10b2b4dbe87cc2e9b7381a644e220d39', type: "radio", name: this.name, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly })))), h("slot", { key: '6078b9b3c60ffe9cae9e3f19103fbebca72c3c2b' })));
45
+ return (h(Host, { key: 'cddf0d200527519f0a28d537ffb3c17c3fc8056e' }, this.variant !== undefined && (h("xv-table-v2-cell", { key: '74058aab7fbbefa23747272bf556f1c5ac3a897c', class: "cell-control" }, this.variant === 'checkbox' && (h("xv-checkbox-v2", { key: 'd13fe98367c1fbb7749fdb56242758f76a5f5b21', name: this.name, partial: this.partial, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly, onEventChange: this.checkHandle })), this.variant === 'radio' && (h("input", { key: '03f9caeaa2421e98586812972098cf6d1272d3a4', type: "radio", name: this.name, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly })))), h("slot", { key: 'b61ec75d949c9ee81c56f56be345f2603ab72c81' })));
46
46
  }
47
47
  componentWillLoad() {
48
48
  this.setInitialAttrs();
@@ -31,7 +31,7 @@ export class XvTable {
31
31
  .join(' ') + ' repeat(auto-fit, minmax(0, 1fr))');
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'b743e6cb7f78bd68253c2e2fedc61ac79f397f9a', class: { batchVisible: !!this.selectedCount } }, h("slot", { key: 'a11783a1f2dba0cb6ba36e49a42f717d0c055af1', name: "title" }, !!this.el.title && h("h2", { key: 'd3e4b6fdad90a45aa7c18d6efdf0a20799616b9e', class: "xv-table-title" }, this.el.title)), h("slot", { key: '9b44fc82aeac5a501a22dd835d9a06e1952373b0', name: "toolbar" }), h("div", { key: 'fbfa9f064d41b687d9e4783f1d94855aafeb6b15', class: "xv-table" }, h("div", { key: '3a158763aa28d2e4d1c216dabf4f64b9d50bccb5', class: "batch-actions" }, h(Fragment, { key: '30222784e2a8d6bdd4d0946dae268bcfbeb56254' }, h("div", { key: 'ecac84a733667cb2b2b865a3c65c0d89fa9ba475', class: "batch-actions_content" }, h("slot", { key: '50adc76f147c6a8eeb97ae631394cf597be06fdb', name: "batch" })), h("p", { key: 'd75f83a8fda54958b72d7e8442c57818e1339b7f', class: "batch-actions_count" }, !!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`))), h("div", { key: 'eaf3e8d6a00c63feda645f38b620dee8806ba9b5', class: "xv-table_wrapper" }, h("slot", { key: 'ff9857d97799335bdceea9e1cb1fe9f762981290' }), h("slot", { key: '55a07612317bf1378c5f15e74bb6bc5fe447bdfd', name: "footer" })), !!this.loading && (h("div", { key: '66e5bd20c6a803a6d1ad339f0928c50cdb773db1', class: "xv-table_loading" }, h("xv-loader-v2", { key: '5d52bd89e5a43955e678644654dc20cb759ccaaf', size: SIZE_VAR.LG }))))));
34
+ return (h(Host, { key: '7716cc675c8843b9ef2456dabd1007802ea12fed', class: { batchVisible: !!this.selectedCount } }, h("slot", { key: 'ad22e90ce3d5800a6a986b009c3005904e1f7e57', name: "title" }, !!this.el.title && h("h2", { key: '16050528fb7c64b1c133756e30978eb69b5d3f9c', class: "xv-table-title" }, this.el.title)), h("slot", { key: '07031a85052e40799133c9d158a2872c4432eb27', name: "toolbar" }), h("div", { key: '199e19a9cce2673706023010da12fd0b2bf4bca6', class: "xv-table" }, h("div", { key: '56b95d0b115cfc5897a37c1976e030f183fc8754', class: "batch-actions" }, h(Fragment, { key: 'bb5b2f489a22b45bbb2717c9064f9d1c5c010dab' }, h("div", { key: '6f2c54560d44e3aee5c41af8910754c885113bed', class: "batch-actions_content" }, h("slot", { key: '58cdeb009bce437a46d242be2011af15cd0dce25', name: "batch" })), h("p", { key: 'a7981b13ae1db2a677788aa7c9b3f917675606d7', class: "batch-actions_count" }, !!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`))), h("div", { key: 'f1ae8bd6bea1507caac3e38493f24b3025934aac', class: "xv-table_wrapper" }, h("slot", { key: 'a241c060c564fcc3bfd2fbe0f7538db14996b825' }), h("slot", { key: '691818c0985242cc5a46cbc7edb08c768483f88a', name: "footer" })), !!this.loading && (h("div", { key: 'e9a6ba7d7ac61981e25b873838a7211e15c9bd17', class: "xv-table_loading" }, h("xv-loader-v2", { key: 'e02aae10086eb72a6be3adbdadf3d42328cd1935', size: SIZE_VAR.LG }))))));
35
35
  }
36
36
  componentWillLoad() {
37
37
  this.setColsSizeTemplate();
@@ -6,7 +6,7 @@ export class XvTab {
6
6
  this.loading = false;
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: 'd149accdf62abb162fd68f8ad68e8ddd48c2783a', disabled: this.disabled, name: this.name }, this.loading ? h("xv-loader-v2", { size: SIZE_VAR.LG }) : h("slot", null)));
9
+ return (h(Host, { key: '45576975c3fc396278b128e1896436f825ec3b47', disabled: this.disabled, name: this.name }, this.loading ? h("xv-loader-v2", { size: SIZE_VAR.LG }) : h("slot", null)));
10
10
  }
11
11
  static get is() { return "xv-tab-v2"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ export class XvTag {
13
13
  this.closeClick.emit(e);
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'a37b4eb01f313c5516f0f6440577a7085165a557', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, h("div", { key: 'b07980686bdbc8d0eb37aeb2aa70f60a4027dded', class: "xv-tag_content", part: "details-content" }, h("slot", { key: 'de0955a2f758d1481335be5cdfc471e851010925' })), this.closeable && (h("button", { key: 'bd4f4d6b17acbd6c028bbe1185d94b62ee9b36e7', onClick: this.closeHandler.bind(this), class: "xv-tag_close" }))));
16
+ return (h(Host, { key: '39ecc255f5a885f4cd9550e9820a4bdb3049c2e5', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, h("div", { key: '207b75ac857070e38803f48786ae0c726e8ee5fa', class: "xv-tag_content" }, h("slot", { key: 'd429ab65a7aac955ade0259275755bff4a9f7fef' })), this.closeable && (h("button", { key: '68562a9802ec6496d66730bc2388226c35872e43', onClick: this.closeHandler.bind(this), class: "xv-tag_close" }))));
17
17
  }
18
18
  static get is() { return "xv-tag-v2"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"xv-tag.js","sourceRoot":"","sources":["../../../src/components/xv-tag/xv-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAO9E,MAAM,OAAO,KAAK;IALlB;QAMU,SAAI,GAAuB,IAAI,CAAC;QAChC,UAAK,GAAW,EAAE,CAAC;QACnB,OAAE,GAAW,EAAE,CAAC;QAChB,aAAQ,GAAY,KAAK,CAAC;QAC1B,cAAS,GAAY,KAAK,CAAC;KAwBpC;IArBC,YAAY,CAAC,CAAe;QAC1B,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO;QAE1B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC1B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,EACjD,KAAK,EAAE,UAAU,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE;YAE/D,4DAAK,KAAK,EAAC,gBAAgB,EAAC,IAAI,EAAC,iBAAiB;gBAChD,8DAAa,CACT;YACL,IAAI,CAAC,SAAS,IAAI,CACjB,+DAAQ,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,EAAC,cAAc,GAAU,CAC9E,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'xv-tag-v2',\n styleUrl: 'xv-tag.scss',\n shadow: true,\n})\nexport class XvTag {\n @Prop() size: 'sm' | 'md' | 'lg' = 'md';\n @Prop() color: string = '';\n @Prop() bg: string = '';\n @Prop() disabled: boolean = false;\n @Prop() closeable: boolean = false;\n @Event() closeClick: EventEmitter<PointerEvent>;\n\n closeHandler(e: PointerEvent) {\n if (this.disabled) return;\n\n this.closeClick.emit(e);\n }\n\n render() {\n return (\n <Host\n style={{ color: this.color, background: this.bg }}\n class={`xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}`}\n >\n <div class=\"xv-tag_content\" part=\"details-content\">\n <slot></slot>\n </div>\n {this.closeable && (\n <button onClick={this.closeHandler.bind(this)} class=\"xv-tag_close\"></button>\n )}\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"xv-tag.js","sourceRoot":"","sources":["../../../src/components/xv-tag/xv-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAO9E,MAAM,OAAO,KAAK;IALlB;QAMU,SAAI,GAAuB,IAAI,CAAC;QAChC,UAAK,GAAW,EAAE,CAAC;QACnB,OAAE,GAAW,EAAE,CAAC;QAChB,aAAQ,GAAY,KAAK,CAAC;QAC1B,cAAS,GAAY,KAAK,CAAC;KAwBpC;IArBC,YAAY,CAAC,CAAe;QAC1B,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO;QAE1B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC1B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,EACjD,KAAK,EAAE,UAAU,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE;YAE/D,4DAAK,KAAK,EAAC,gBAAgB;gBACzB,8DAAa,CACT;YACL,IAAI,CAAC,SAAS,IAAI,CACjB,+DAAQ,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,EAAC,cAAc,GAAU,CAC9E,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'xv-tag-v2',\n styleUrl: 'xv-tag.scss',\n shadow: true,\n})\nexport class XvTag {\n @Prop() size: 'sm' | 'md' | 'lg' = 'md';\n @Prop() color: string = '';\n @Prop() bg: string = '';\n @Prop() disabled: boolean = false;\n @Prop() closeable: boolean = false;\n @Event() closeClick: EventEmitter<PointerEvent>;\n\n closeHandler(e: PointerEvent) {\n if (this.disabled) return;\n\n this.closeClick.emit(e);\n }\n\n render() {\n return (\n <Host\n style={{ color: this.color, background: this.bg }}\n class={`xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}`}\n >\n <div class=\"xv-tag_content\">\n <slot></slot>\n </div>\n {this.closeable && (\n <button onClick={this.closeHandler.bind(this)} class=\"xv-tag_close\"></button>\n )}\n </Host>\n );\n }\n}\n"]}
@@ -233,12 +233,12 @@ export class XvTagCombobox {
233
233
  const suggestionsVisible = this.open && this.filtered.length > 0;
234
234
  const ariaOwns = suggestionsVisible ? `${this.uid}-listbox` : undefined;
235
235
  const activedesc = this.highlighted >= 0 ? this.optionId(this.highlighted) : undefined;
236
- return (h(Host, { key: 'e9c98748c657ee17d43668759fc8a175b6ca4aa9', class: "xv-combobox", part: "root", size: this.size }, this.label && h("label", { key: 'eee7b4a6d3833e2c2f5f892cc9a58433579e1b93', class: "label" }, this.label), h("div", { key: '4e7936715a9fbcef4ffb86605d19c06275e65346', class: {
236
+ return (h(Host, { key: '248844f1d19bfd8dc9782bbff94b16712ca155ad', class: "xv-combobox", part: "root", size: this.size }, this.label && h("label", { key: 'e8c36dfdc570481a7a746c753056f2e03503588e', class: "label" }, this.label), h("div", { key: '5add00e0c9147d07abbe7927445b4762bab7f4c1', class: {
237
237
  'control': true,
238
238
  'control--disabled': this.disabled,
239
239
  'control--error': !!this.error,
240
240
  'control--readonly': !!this.readonly,
241
- }, onClick: () => this.blockClick() }, h("div", { key: '47acd027d93616a7623798c40872c1e5f8bf8252', class: "control-chips", role: "list" }, this.selected.map((s, i) => (h("xv-tag-v2", { role: "listitem", part: "chip", "data-value": s.value, size: this.COMPARE_TAG_SIZE[this.size], disabled: this.disabled, bg: (s === null || s === void 0 ? void 0 : s.bg) || 'var(--layer-accent-01, #F7F7F7)', color: (s === null || s === void 0 ? void 0 : s.color) || 'var(--text-primary, #333)', closeable: !this.readonly, onCloseClick: ({ detail }) => this.removeTag(i, detail) }, s.label))), h("input", { key: '3e02455aa4c89af40667044444364cfc8d263ce0', ref: (el) => (this.inputEl = el), class: "control-input", readonly: this.readonly, placeholder: this.selected.length ? '' : this.placeholder, value: this.inputValue, onInput: (e) => this.onInput(e), onKeyDown: (e) => this.onKeyDown(e), onFocus: () => { this.onOpen(); this.recomputeFiltered(); }, "aria-autocomplete": "list", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": ariaOwns, "aria-activedescendant": activedesc, disabled: this.disabled }))), this.error && typeof this.error === 'string' && (h("p", { key: '18cba1e304b0dacd5df3118a8794fe09b71aede2', class: "message message--error" }, this.error)), this.warning && typeof this.warning === 'string' && (h("p", { key: '2032c0202a41dadef5953846137da54b13e6578d', class: "message message--warning" }, this.warning)), suggestionsVisible && (h("ul", { key: '00b2cd133ee4ba091d23cad83f5ea9f653949098', id: `${this.uid}-listbox`, class: "suggestions", role: "listbox", part: "listbox" }, this.filtered.map((opt, idx) => (h("li", { id: this.optionId(idx), class: { 'suggestions-opt': true, 'suggestions-opt--highlight': idx === this.highlighted }, role: "option", "aria-selected": idx === this.highlighted, onMouseEnter: () => this.onOptionMouseEnter(idx), onMouseDown: (ev) => ev.preventDefault(), onClick: () => this.selectOption(opt) }, h("div", { class: "suggestions-opt-content" }, opt.bg ? h("span", { class: "suggestions-opt-content--color", style: { background: opt.bg } }) : null, h("span", { class: "suggestions-opt-content--label" }, this.highlightLabel(opt.label).map((seg, i) => typeof seg === 'string' ? h("span", { key: i }, seg) : h("strong", { key: i }, seg.match)))))))))));
241
+ }, onClick: () => this.blockClick() }, h("div", { key: '9399260d3ff5cef212284a2a98ad7908dd79765f', class: "control-chips", role: "list" }, this.selected.map((s, i) => (h("xv-tag-v2", { role: "listitem", part: "chip", "data-value": s.value, size: this.COMPARE_TAG_SIZE[this.size], disabled: this.disabled, bg: (s === null || s === void 0 ? void 0 : s.bg) || 'var(--layer-accent-01, #F7F7F7)', color: (s === null || s === void 0 ? void 0 : s.color) || 'var(--text-primary, #333)', closeable: !this.readonly, onCloseClick: ({ detail }) => this.removeTag(i, detail) }, s.label))), h("input", { key: 'e486c5f99aa56da911715dbe798895384766b9f4', ref: (el) => (this.inputEl = el), class: "control-input", readonly: this.readonly, placeholder: this.selected.length ? '' : this.placeholder, value: this.inputValue, onInput: (e) => this.onInput(e), onKeyDown: (e) => this.onKeyDown(e), onFocus: () => { this.onOpen(); this.recomputeFiltered(); }, "aria-autocomplete": "list", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": ariaOwns, "aria-activedescendant": activedesc, disabled: this.disabled }))), this.error && typeof this.error === 'string' && (h("p", { key: '538a321bb0dcebf87705fee5ee848c6062578896', class: "message message--error" }, this.error)), this.warning && typeof this.warning === 'string' && (h("p", { key: '9a6740243b2b175b7b16b7854ece3726446f234c', class: "message message--warning" }, this.warning)), suggestionsVisible && (h("ul", { key: 'f1d25020b463835e62a326bf79bfbd57093311e2', id: `${this.uid}-listbox`, class: "suggestions", role: "listbox", part: "listbox" }, this.filtered.map((opt, idx) => (h("li", { id: this.optionId(idx), class: { 'suggestions-opt': true, 'suggestions-opt--highlight': idx === this.highlighted }, role: "option", "aria-selected": idx === this.highlighted, onMouseEnter: () => this.onOptionMouseEnter(idx), onMouseDown: (ev) => ev.preventDefault(), onClick: () => this.selectOption(opt) }, h("div", { class: "suggestions-opt-content" }, opt.bg ? h("span", { class: "suggestions-opt-content--color", style: { background: opt.bg } }) : null, h("span", { class: "suggestions-opt-content--label" }, this.highlightLabel(opt.label).map((seg, i) => typeof seg === 'string' ? h("span", { key: i }, seg) : h("strong", { key: i }, seg.match)))))))))));
242
242
  }
243
243
  static get is() { return "xv-tag-combobox"; }
244
244
  static get encapsulation() { return "shadow"; }
@@ -23,13 +23,13 @@ export class XvTextInput {
23
23
  };
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '164bc6ac236fe63b427915b066c905523dabcf8f', class: { disabled: !!this.disabled } }, h("label", { key: '883a089d1854e374f7e45f4e8868be0e2e16f3fa', class: "control" }, this.label && h("span", { key: '8800e213dd308b5a66b5dad823d136250a3a0593', class: "control_label" }, this.label), h("div", { key: '082b781c49dd1635044ef7fafd35e01634111337', class: {
26
+ return (h(Host, { key: 'b4b7cc7c90c57e840102729dc32704c41bf2c734', class: { disabled: !!this.disabled } }, h("label", { key: 'b92cb0583c9f0b0889f76ccfa84ab71f4c01a8fe', class: "control" }, this.label && h("span", { key: '6d997a6a353774faeb2d66e91e60a55d4093fe8e', class: "control_label" }, this.label), h("div", { key: 'ad336acc8bb808b7ba5d2e8e13f3a2a911b9b776', class: {
27
27
  'control_input': true,
28
28
  readonly: !!this.readonly,
29
29
  [this.size]: true,
30
30
  error: !!this.error,
31
31
  warning: !!this.warning,
32
- } }, h("input", { key: 'c968f46c647ad8953d71563bf5495c271ee4f624', autocomplete: this.autocomplete, type: (this.type === 'password' && this.isPasswordVisible && 'text') || this.type, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, value: this.value }), h("div", { key: 'd00734b8adf3f814744d15cc5650464bf6880bd5', class: "control_input__icons" }, this.loading && h("xv-loader-v2", { key: '58a444a3757abda9da51b3acbff43057468e1021', size: SIZE_VAR.XS }), !!this.error ? (h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, this.type === 'password' && (h("button", { key: 'b953dad356e5844a1d2db579b7413c79642cd953', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, h("svg", { key: '335121ef7c3b2b0b109ea88365ad8d1fb455e00d', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 512", width: 16, height: 16 }, this.isPasswordVisible ? (h("path", { fill: "currentColor", d: "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z" })) : (h("path", { fill: "currentColor", d: "M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z" })))))))), this.helper && h("p", { key: '896c36af7eb2412b8119b5bb0173d71f8cc75ae2', class: "message" }, this.helper), typeof this.error === 'string' ? (h("p", { class: "message error" }, this.error)) : typeof this.warning === 'string' ? (h("p", { class: "message warning" }, this.warning)) : null));
32
+ } }, h("input", { key: '278d092fb96f89df8dc0fb39437ad7396b501dad', autocomplete: this.autocomplete, type: (this.type === 'password' && this.isPasswordVisible && 'text') || this.type, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, value: this.value }), h("div", { key: '6e1fd43277d83b7daa0d070bed4f2b0b59fa7bb9', class: "control_input__icons" }, this.loading && h("xv-loader-v2", { key: 'db021043efe93ef1a9fda937c22350a38b51fa3d', size: SIZE_VAR.XS }), !!this.error ? (h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, this.type === 'password' && (h("button", { key: '1b40b117be9b186e146481f27f93ee9af986401f', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, h("svg", { key: '123f9e9df7a4ec3f1262171bc18061831b2ffc3e', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 512", width: 16, height: 16 }, this.isPasswordVisible ? (h("path", { fill: "currentColor", d: "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z" })) : (h("path", { fill: "currentColor", d: "M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z" })))))))), this.helper && h("p", { key: '58728928ba761cf58f7dd3c80b68fe3aa3ac7058', class: "message" }, this.helper), typeof this.error === 'string' ? (h("p", { class: "message error" }, this.error)) : typeof this.warning === 'string' ? (h("p", { class: "message warning" }, this.warning)) : null));
33
33
  }
34
34
  static get is() { return "xv-text-input-v2"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -20,12 +20,12 @@ export class XvTextarea {
20
20
  this.value && this.internals.setFormValue(this.value);
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: '8d5eff2e4e4da031934c00fe4e685d6501abbade', class: { disabled: !!this.disabled } }, h("label", { key: 'bf09100bf712b8be988af103085bc142bd16637f', class: "control" }, (this.label || this.max) && (h("p", { key: '610aab06d936dad9327fe33d8e69116305c4cc9c', class: "control_label" }, h("span", { key: 'bb949fe316bc8e9ccd7068ebde51fc58851ac876' }, this.label, this.info && h("xv-tooltip-v2", { key: '8dc7d558330513cec0690f97ba7a3692950f04f4', message: this.info })), this.max !== undefined && !this.counterHide && (h("span", { key: '4d203da382d4a37c55a7511f39aced9dcb11468b', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), h("div", { key: '31c6eea2318adc4360665a48bdb77c431a5d24f0', class: {
23
+ return (h(Host, { key: 'f0a5fa2a78a5c5636be60f73c33238e9f6b807fa', class: { disabled: !!this.disabled } }, h("label", { key: 'c9fefb7f9010d21bde9d7882111ae104d335fa75', class: "control" }, (this.label || this.max) && (h("p", { key: 'e384704f9e756c1ce17633efb1511608db54570f', class: "control_label" }, h("span", { key: 'f96021e67d6da90b6b6aa441aa04810468ca7bdc' }, this.label, this.info && h("xv-tooltip-v2", { key: '8d433d7fb077cbd43e72f9336e12e20dce831417', message: this.info })), this.max !== undefined && !this.counterHide && (h("span", { key: 'ff65f36243750bcfd40cd10ff147ab07b80fbf34', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), h("div", { key: '925a665ad37af81f92c93df21a26da3f024dabb1', class: {
24
24
  'control_input': true,
25
25
  readonly: !!this.readonly,
26
26
  error: !!this.error,
27
27
  warning: this.warning !== undefined,
28
- } }, h("textarea", { key: '8afe23bdb9856f7c1b4fcafef24dce201f330872', class: { 'no-resize': !!this.noResize }, name: this.name, rows: this.rows, value: this.value, maxLength: this.max, disabled: this.disabled, readOnly: this.readonly, placeholder: this.placeholder, onInput: this.onInput }), h("div", { key: '6182942268a376b1d2c3bd0df50170534614cb80', class: "control_input__icons" }, this._renderIcon()))), this.helper && h("p", { key: 'de53b2b40ca7b18f3a589181d832cffbd7cc076b', class: "message" }, this.helper), typeof this.error === 'string' ? (h("p", { class: "message error" }, this.error)) : typeof this.warning === 'string' ? (h("p", { class: "message warning" }, this.warning)) : null));
28
+ } }, h("textarea", { key: '2759a04b5e1feb74d453723cb4bcf2f9f372db62', class: { 'no-resize': !!this.noResize }, name: this.name, rows: this.rows, value: this.value, maxLength: this.max, disabled: this.disabled, readOnly: this.readonly, placeholder: this.placeholder, onInput: this.onInput }), h("div", { key: '8382cc4eddd6cab1040f986fb280ee27b5843e9a', class: "control_input__icons" }, this._renderIcon()))), this.helper && h("p", { key: '7266da6a80e0a3d4668c818cd81068eebf2257e7', class: "message" }, this.helper), typeof this.error === 'string' ? (h("p", { class: "message error" }, this.error)) : typeof this.warning === 'string' ? (h("p", { class: "message warning" }, this.warning)) : null));
29
29
  }
30
30
  _renderIcon() {
31
31
  if (this.loading)
@@ -28,7 +28,7 @@ export class XvTile {
28
28
  this.checked = !this.checked;
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '6c656b4d347a88ccacee485bfba9de35560fea07', class: "xv-tile--host" }, h("label", { key: 'a055c606ebf82290d36b5a8dd490072efafc1242', class: {
31
+ return (h(Host, { key: '4cc80f2f28de04a904e0328409867d925baafa94', class: "xv-tile--host" }, h("label", { key: 'c7e334b1b8399b73ca18f6ef5ec825e4e2a9a141', class: {
32
32
  [this.el.className]: !!this.el.className,
33
33
  'xv-tile': true,
34
34
  [`xv-tile--variant-${this.variant}`]: !!this.variant,
@@ -36,7 +36,7 @@ export class XvTile {
36
36
  'xv-tile--disabled': !!this.disabled,
37
37
  'selected': !!this.checked,
38
38
  'xv-tile--error': !!this.error,
39
- } }, h("div", { key: 'be0abd627f7f2de1bf715eba12e7cf4616b4685e', class: "xv-tile_content" }, this.label && h("p", { key: 'e8f327d2d1e4cafd6eb7dda73d1b1c48e5ba7454', class: "xv-tile_content__title" }, this.label), h("slot", { key: 'fa876cbfd4ab9cff961629a1cd78fe75b825ba6e' })), this.variant === 'selectable' && (h("div", { key: '6f83ef53185aaf4a666496b5058a36ae77393a40', class: "xv-tile_control" }, this.multiple ? (h("input", { type: "checkbox", disabled: this.disabled, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })) : (h("input", { type: "radio", disabled: this.disabled, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })))), (this.variant === 'clickable' || this.variant === 'expandable') && (h("div", { key: '1f150f0f8119f5a774069ea4123a9a367aae5715', class: "xv-tile_footer" }, h("button", { key: '742abcae6db543415a77c96625528277e3f322e7', class: { 'xv-tile_footer__icon': true, [`icon--${this.variant}`]: true, open: this.checked } }))), h("div", { key: '421cc381086f8453a875a808516e8b0396526440', class: { 'xv-tile_expandable': true, open: this.checked } }, h("slot", { key: '1854b00e8c0eb50846f74538278504ddc5182f0e', name: "expandable" })))));
39
+ } }, h("div", { key: '6ed2d0c29b40fb3097973ba3aa1b2d35b3738961', class: "xv-tile_content" }, this.label && h("p", { key: '0e7619751eb383ab27babe8b3199cf873f6aef36', class: "xv-tile_content__title" }, this.label), h("slot", { key: 'd5c2b6b0ccc45c0649aaee04118e0f301d179c67' })), this.variant === 'selectable' && (h("div", { key: '7be9998819c2a414fba48149f135d65ec8b2adcd', class: "xv-tile_control" }, this.multiple ? (h("input", { type: "checkbox", disabled: this.disabled, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })) : (h("input", { type: "radio", disabled: this.disabled, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })))), (this.variant === 'clickable' || this.variant === 'expandable') && (h("div", { key: '08716e30404eafc9c72a7ec6836912ba3bad332b', class: "xv-tile_footer" }, h("button", { key: '55cae2eed31ea2becb45ca048f62d014ed3238dd', class: { 'xv-tile_footer__icon': true, [`icon--${this.variant}`]: true, open: this.checked } }))), h("div", { key: '3b18c8e2cc66268cca0c501059dca6e3b171aa32', class: { 'xv-tile_expandable': true, open: this.checked } }, h("slot", { key: '72e2493d598126ee8b61e60503cd107823b761e2', name: "expandable" })))));
40
40
  }
41
41
  static get is() { return "xv-tile"; }
42
42
  static get originalStyleUrls() {
@@ -15,7 +15,7 @@ export class XvToggle {
15
15
  };
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'ad3351f571ebd98eb8e26b5769cef52c5653098f', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && h("span", { key: 'aa480bd42e6e032a608a3a7050f37eb104020317', class: "label" }, this.label), h("label", { key: '4737ea9e544184bc34e572111056d7d81b507c37', class: "control" }, h("slot", { key: '2d77197624b779dd15697085525d22d66b7611c7', name: "before" }), h("div", { key: '6ec501914704ad7b79b08c0ffad5dfbbb2f60ce9', class: "control_input" }, h("input", { key: 'feda1b3c93a50e72492036437b5298a04065dbf4', type: "checkbox", readonly: this.readonly, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, onChange: this.onChange }), h("span", { key: 'f75c06817b4387168bdd68eff85acd1830069d63', class: "toggle" })), h("slot", { key: '1f04da836c60924b430f5709ae72ffe67dae8695', name: "after" }))));
18
+ return (h(Host, { key: 'a91bab2e1cb3b326aacdffebd7484133d3022b9c', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && h("span", { key: '4d7bd057beb626b5a9604a4208dc6e9fd3544991', class: "label" }, this.label), h("label", { key: 'af5d7f7f1e8715207ff9fa970e9e3203af77c5c2', class: "control" }, h("slot", { key: 'f50eea57a567ad02add4d6c472a26f353c8fe5e4', name: "before" }), h("div", { key: '6cbff8947c2311feb34d40ec6c86931011749013', class: "control_input" }, h("input", { key: '94225b2886d94d6d71b1f3f614288493eef8b931', type: "checkbox", readonly: this.readonly, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, onChange: this.onChange }), h("span", { key: 'a9aa76bf5184cb5847af7fcbd5f1afb45e2d8e3f', class: "toggle" })), h("slot", { key: '1edcb5d43fe633c4290034f714b784def32af4b9', name: "after" }))));
19
19
  }
20
20
  static get is() { return "xv-toggle"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -67,7 +67,7 @@ export class XvToggleTip {
67
67
  }
68
68
  ;
69
69
  render() {
70
- return (h(Host, { key: 'aeb4cada0d3d41eabaf519bba0ee701070ece727', class: "xv-toggle-tip" }, h("div", { key: 'c8dc233bc609834090c80d26afc2d8bf308e73ac', class: { 'trigger': true, 'trigger--block': this.block }, role: "button", tabindex: "0", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": "popover", onClick: () => this.setPopover(!this.open), ref: (el) => (this.triggerEl = el) }, h("slot", { key: 'd45bf653f97d531b71d1874750e79b05c1e9e83a', name: "trigger" }, h("svg", { key: '34e93a7ecb4f74b7a8824bdc7133cc7be2d48577', class: "trigger_icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: 'bcf6a3232c69ad5326fff024799353c3dbce3ee1', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))), h("div", { key: 'edbe3beda0b168d35fd22b55d97b85fc20299c58', class: { popover: true, autoSize: !!this.autoSize }, role: "tooltip", tabindex: "-1", ref: (el) => (this.popoverEl = el) }, h("div", { key: '123b30a585695a7390305253020c406481480fb3', class: "popover-tip", part: "tip", "data-popper-arrow": "" }), h("div", { key: '4a23a84faec918f0d218de94ace42ca98f7bee0c', class: "popover-content" }, h("slot", { key: '147391a336b8c0a9309b3e7121b0b2127f63e681', name: "header" }), h("slot", { key: 'a9f19208dc23ca09dc813e2506a741e10e1b9536', name: "body" }), h("slot", { key: '397005b042ddf6f137ced24c2585561b8e691c3e', name: "footer" })))));
70
+ return (h(Host, { key: '3c739d4705b36559629165525c0dda77c272c24e', class: "xv-toggle-tip" }, h("div", { key: '1fc3ee89a209d6a1b5d039d895b34ea84a4b4e6d', class: { 'trigger': true, 'trigger--block': this.block }, role: "button", tabindex: "0", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": "popover", onClick: () => this.setPopover(!this.open), ref: (el) => (this.triggerEl = el) }, h("slot", { key: 'b36abdded7eddca0515a37f9016793fdab1b1393', name: "trigger" }, h("svg", { key: '0faddc6bdb33f18d9f733afee20a8919cf643c34', class: "trigger_icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: 'a69e4b476e1708f6f69eee3a0e51a9bc4f8e3d94', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))), h("div", { key: 'f146c31db8cb603bca3e15870e6eebdda3254aeb', class: { popover: true, autoSize: !!this.autoSize }, role: "tooltip", tabindex: "-1", ref: (el) => (this.popoverEl = el) }, h("div", { key: 'a781e59259726f1ee196a972b32cc01df889259f', class: "popover-tip", part: "tip", "data-popper-arrow": "" }), h("div", { key: '3f5047e2528a4381b97fab2b8cc4c955ec6bdb70', class: "popover-content" }, h("slot", { key: '15bb742151b348040106bfbe92aa8a3f1fe34072', name: "header" }), h("slot", { key: '2056830e6f0081037ed2fc916a751f42585d9540', name: "body" }), h("slot", { key: '92f903d1edebf0984151cfbc18d2d4eb355f1b0f', name: "footer" })))));
71
71
  }
72
72
  disconnectedCallback() {
73
73
  this.destroyPopper();
@@ -38,11 +38,11 @@ export class XvTooltip {
38
38
  this.destroyTooltip();
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: '5db9824c3ae9703d632fb3edb5c1900556312404', role: "tooltip", class: {
41
+ return (h(Host, { key: '5d248dd7c9a1fc5fbd701a8ae0e1d4a98498af11', role: "tooltip", class: {
42
42
  'xv-tooltip-wrapper': true,
43
43
  [`xv-tooltip-wrapper__block`]: !!this.block,
44
44
  [`xv-tooltip-wrapper__dashed`]: !!this.dashed,
45
- } }, h("slot", { key: '5438535b0410207bc0d80d304558e650b0253474' }, h("svg", { key: 'ea7218754763c9ff338521c9c29c47e9500cf3e8', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: '98a85d7cc6f3bd55a6b17e7696b0ecf8d288a5a9', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))));
45
+ } }, h("slot", { key: '662d38b57fb3a3a5c0f961229fc5dfede0e2a5c1' }, h("svg", { key: '3215343915c59224f12b4bfaf14127e25903f902', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: 'cb7ab241f253ccc4a1103e1fda592db328cf91a4', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))));
46
46
  }
47
47
  static get is() { return "xv-tooltip-v2"; }
48
48
  static get originalStyleUrls() {
@@ -11,20 +11,6 @@ function uidGenerator() {
11
11
  * @param [thisObject] The context object for the given callback function.
12
12
  */
13
13
  const forEach = (a, predicate, thisObject) => Array.prototype.forEach.call(a, predicate, thisObject);
14
- /**
15
- * Debounce the current function for some delay.
16
- * @param func The delayed function.
17
- * @param [delay = 500] The time to function delay call.
18
- */
19
- const debounce = (func, delay = 500) => {
20
- let timeoutId;
21
- return function (...args) {
22
- clearTimeout(timeoutId);
23
- timeoutId = setTimeout(() => {
24
- func.apply(this, args);
25
- }, delay);
26
- };
27
- };
28
14
  const setAttr = (node, name, value) => {
29
15
  if (typeof value === 'string') {
30
16
  !node.hasAttribute(name) && node.setAttribute(name, value);
@@ -49,7 +35,7 @@ const getMetaNav = () => {
49
35
  }
50
36
  };
51
37
 
52
- export { format as a, debounce as d, forEach as f, getMetaNav as g, setAttr as s, uidGenerator as u };
53
- //# sourceMappingURL=index-_tZy78IZ.js.map
38
+ export { format as a, forEach as f, getMetaNav as g, setAttr as s, uidGenerator as u };
39
+ //# sourceMappingURL=index-ZFbwGttR.js.map
54
40
 
55
- //# sourceMappingURL=index-_tZy78IZ.js.map
41
+ //# sourceMappingURL=index-ZFbwGttR.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-_tZy78IZ.js","sources":["src/utils/utils.ts"],"sourcesContent":["export function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n\nexport function uidGenerator() {\n return \"10000000-1000-4000-8000-100000000000\".replace(/[018]/g, c =>\n (+c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +c / 4).toString(16)\n );\n}\n\n/**\n * Walks through the given DOM collection and runs the given callback.\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n */\nexport const forEach = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Element, index?: number) => void,\n thisObject?: any\n) => Array.prototype.forEach.call(a, predicate, thisObject);\n\n/**\n * Debounce the current function for some delay.\n * @param func The delayed function.\n * @param [delay = 500] The time to function delay call.\n */\nexport const debounce = (func: Function, delay: number = 500) => {\n let timeoutId: ReturnType<typeof setTimeout>;\n return function (...args: any[]) {\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => {\n func.apply(this, args);\n }, delay);\n };\n};\n\nexport const checkTag = <T extends Element, G = T>(element: T, tag: string) => {\n if (element?.tagName !== tag) return undefined;\n return element as unknown as G;\n};\n\nexport const setAttr = (node: Element, name: string, value: string | boolean) => {\n if (typeof value === 'string') {\n !node.hasAttribute(name) && node.setAttribute(name, value);\n return node;\n }\n\n if (value) {\n !node.hasAttribute(name) && node.setAttribute(name, '');\n } else {\n node.hasAttribute(name) && node.removeAttribute(name);\n }\n\n return node;\n};\n\nexport const getMetaNav = (): any => {\n try {\n const metaNavRaw = localStorage.getItem('metaNav');\n\n return metaNavRaw ? JSON.parse(metaNavRaw) : {};\n } catch (e) {\n console.warn('Could not parse metaNav from localStorage:', e);\n return {};\n }\n};\n"],"names":[],"mappings":"SAAgB,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa,EAAA;AACnE,IAAA,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,CAAI,CAAA,EAAA,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,CAAI,CAAA,EAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AAChF;SAEgB,YAAY,GAAA;AAC1B,IAAA,OAAO,sCAAsC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,IAC/D,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC,CAChF;AACH;AAEA;;;;;AAKG;AACU,MAAA,OAAO,GAAG,CACrB,CAA+C,EAC/C,SAAoD,EACpD,UAAgB,KACb,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU;AAE1D;;;;AAIG;AACU,MAAA,QAAQ,GAAG,CAAC,IAAc,EAAE,KAAA,GAAgB,GAAG,KAAI;AAC9D,IAAA,IAAI,SAAwC;IAC5C,OAAO,UAAU,GAAG,IAAW,EAAA;QAC7B,YAAY,CAAC,SAAS,CAAC;AACvB,QAAA,SAAS,GAAG,UAAU,CAAC,MAAK;AAC1B,YAAA,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC;SACvB,EAAE,KAAK,CAAC;AACX,KAAC;AACH;AAOa,MAAA,OAAO,GAAG,CAAC,IAAa,EAAE,IAAY,EAAE,KAAuB,KAAI;AAC9E,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC;AAC1D,QAAA,OAAO,IAAI;;IAGb,IAAI,KAAK,EAAE;AACT,QAAA,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,CAAC;;SAClD;AACL,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;;AAGvD,IAAA,OAAO,IAAI;AACb;AAEO,MAAM,UAAU,GAAG,MAAU;AAClC,IAAA,IAAI;QACF,MAAM,UAAU,GAAG,YAAY,CAAC,OAAO,CAAC,SAAS,CAAC;AAElD,QAAA,OAAO,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE;;IAC/C,OAAO,CAAC,EAAE;AACV,QAAA,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,CAAC,CAAC;AAC7D,QAAA,OAAO,EAAE;;AAEb;;;;"}
1
+ {"version":3,"file":"index-ZFbwGttR.js","sources":["src/utils/utils.ts"],"sourcesContent":["export function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n\nexport function uidGenerator() {\n return \"10000000-1000-4000-8000-100000000000\".replace(/[018]/g, c =>\n (+c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +c / 4).toString(16)\n );\n}\n\n/**\n * Walks through the given DOM collection and runs the given callback.\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n */\nexport const forEach = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Element, index?: number) => void,\n thisObject?: any\n) => Array.prototype.forEach.call(a, predicate, thisObject);\n\n/**\n * Debounce the current function for some delay.\n * @param func The delayed function.\n * @param [delay = 500] The time to function delay call.\n */\nexport const debounce = (func: Function, delay: number = 500) => {\n let timeoutId: ReturnType<typeof setTimeout>;\n return function (...args: any[]) {\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => {\n func.apply(this, args);\n }, delay);\n };\n};\n\nexport const checkTag = <T extends Element, G = T>(element: T, tag: string) => {\n if (element?.tagName !== tag) return undefined;\n return element as unknown as G;\n};\n\nexport const setAttr = (node: Element, name: string, value: string | boolean) => {\n if (typeof value === 'string') {\n !node.hasAttribute(name) && node.setAttribute(name, value);\n return node;\n }\n\n if (value) {\n !node.hasAttribute(name) && node.setAttribute(name, '');\n } else {\n node.hasAttribute(name) && node.removeAttribute(name);\n }\n\n return node;\n};\n\nexport const getMetaNav = (): any => {\n try {\n const metaNavRaw = localStorage.getItem('metaNav');\n\n return metaNavRaw ? JSON.parse(metaNavRaw) : {};\n } catch (e) {\n console.warn('Could not parse metaNav from localStorage:', e);\n return {};\n }\n};\n"],"names":[],"mappings":"SAAgB,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa,EAAA;AACnE,IAAA,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,CAAI,CAAA,EAAA,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,CAAI,CAAA,EAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AAChF;SAEgB,YAAY,GAAA;AAC1B,IAAA,OAAO,sCAAsC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,IAC/D,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC,CAChF;AACH;AAEA;;;;;AAKG;AACU,MAAA,OAAO,GAAG,CACrB,CAA+C,EAC/C,SAAoD,EACpD,UAAgB,KACb,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU;AAsB7C,MAAA,OAAO,GAAG,CAAC,IAAa,EAAE,IAAY,EAAE,KAAuB,KAAI;AAC9E,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,QAAA,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC;AAC1D,QAAA,OAAO,IAAI;;IAGb,IAAI,KAAK,EAAE;AACT,QAAA,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,CAAC;;SAClD;AACL,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;;AAGvD,IAAA,OAAO,IAAI;AACb;AAEO,MAAM,UAAU,GAAG,MAAU;AAClC,IAAA,IAAI;QACF,MAAM,UAAU,GAAG,YAAY,CAAC,OAAO,CAAC,SAAS,CAAC;AAElD,QAAA,OAAO,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE;;IAC/C,OAAO,CAAC,EAAE;AACV,QAAA,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,CAAC,CAAC;AAC7D,QAAA,OAAO,EAAE;;AAEb;;;;"}
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { a as format } from './index-_tZy78IZ.js';
1
+ export { a as format } from './index-ZFbwGttR.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
 
4
4
  //# sourceMappingURL=index.js.map
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["xv-accordion-v2_45",[[256,"xv-header",{"metaNav":[32],"orgUnit":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"variant":[1],"selected":[32],"selectedMap":[32],"searchQuery":[32]},[[0,"itemSelected","handleItemSelected"]],{"open":["openChangeHandle"],"multiple":["multipleChangeHandle"]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32]}],[321,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":["openChange"],"month":["getCalendarGrid"],"value":["handleValueChange"]}],[257,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040,"loading-states"],"error":[1537],"errors":[1040],"dragActive":[32],"errorMessages":[32],"clearFiles":[64]}],[321,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513]}],[257,"xv-pagination",{"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16,"responsive-variant"],"totalItems":[2,"total-items"],"itemsPerPage":[32],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":["checkedChangeHandle"]}],[321,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[4],"loading":[4],"columnWidths":[16,"column-widths"],"hover":[4]}],[257,"xv-dropdown-v2-item",{"disabled":[4],"value":[1544],"selected":[1540],"multiple":[516],"size":[513]},[[0,"click","handleClick"]]],[257,"xv-image-viewer",{"src":[1],"fullscreenSrc":[1,"fullscreen-src"],"alt":[1],"placeholder":[1],"lazy":[4],"isFullscreen":[32],"loaded":[32],"fullscreenLoaded":[32]}],[257,"xv-modal-v2",{"open":[1540],"permanent":[516],"size":[513],"overflow":[516],"loading":[4],"openModal":[64],"closeModal":[64]}],[257,"xv-tab-v2",{"label":[513],"disabled":[516],"loading":[516],"name":[8]}],[257,"xv-table-v2",{"size":[513],"hover":[516],"loading":[516],"colsSize":[16,"colssize"],"selected":[32],"selectedCount":[32]},[[0,"checkedChange","handleCheckedChange"]],{"colsSize":["setColsSizeTemplate"]}],[257,"xv-tabs-v2",{"active":[1544],"loading":[516],"variant":[1],"emptyMessage":[1,"empty-message"],"tabElements":[32],"showArrows":[32]},[[9,"resize","updateArrowVisibility"]]],[257,"xv-tag-combobox",{"options":[16],"label":[1],"size":[1],"placeholder":[1],"allowCreate":[4,"allow-create"],"maxSuggestions":[2,"max-suggestions"],"disabled":[4],"readonly":[4],"error":[8],"warning":[8],"value":[16],"normalizedOptions":[32],"selected":[32],"inputValue":[32],"open":[32],"filtered":[32],"highlighted":[32],"focusInput":[64],"clear":[64]},null,{"options":["watchOptions"],"value":["watchValue"]}],[257,"xv-accordion-v2",{"multiple":[4],"xvId":[1,"xv-id"],"value":[1025],"opened":[32],"toggleItem":[64]}],[257,"xv-accordion-v2-item",{"disabled":[4],"label":[1],"value":[1],"isOpen":[32]},[[16,"accordionChange","handleAccordionChange"]]],[260,"xv-breadcrumbs-v2"],[257,"xv-data-table-collapse",{"collapsed":[1540],"setCollapsed":[64]}],[256,"xv-footer",{"data":[32]},[[8,"xv:metaNav-update","handleLoadData"]]],[257,"xv-notification-v2",{"variant":[513],"dismissible":[516]}],[257,"xv-progress-indicator-v2",{"progress":[514],"variant":[1],"size":[1]},null,{"progress":["updateChildItems"]}],[257,"xv-progress-indicator-v2-item",{"status":[1]}],[324,"xv-radio-v2",{"name":[1],"value":[1],"label":[1],"checked":[1028],"indeterminate":[4],"block":[4],"disabled":[4],"required":[4],"reverse":[4],"readonly":[4],"error":[8],"warning":[520],"size":[1]},null,{"checked":["onCheckedChange"]}],[321,"xv-slider-v2",{"label":[1],"name":[1],"min":[2],"max":[2],"value":[1026],"step":[2],"disabled":[4],"readonly":[4],"notEditable":[4,"not-editable"]}],[257,"xv-table-v2-expand",{"open":[1540],"disabled":[516]}],[260,"xv-tile",{"variant":[513],"label":[1],"error":[4],"multiple":[4],"disabled":[4],"block":[4],"name":[1],"value":[1025],"checked":[1028]},[[4,"tileChange","tileChangeHandle"],[0,"click","handleClick"]]],[321,"xv-toggle",{"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"readonly":[4],"size":[513],"block":[4]}],[257,"xv-mega-menu",{"open":[1540],"loading":[32],"activeItem":[32],"activeGroup":[32],"menuItems":[32]},[[4,"click","handleClickOutside"]]],[257,"xv-data-table-cell",{"name":[1025],"sort":[1537],"multiline":[2],"width":[1],"align":[1],"tooltip":[1]},[[0,"click","handleSort"]]],[257,"xv-overflow-menu-v2",{"open":[1540],"disabled":[516],"position":[1],"size":[1],"tooltip":[1]},[[0,"keydown","handleKeyDown"]],{"open":["openChangeHandle"]}],[321,"xv-text-input-v2",{"type":[1],"label":[1],"placeholder":[513],"name":[513],"value":[1025],"autocomplete":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"size":[513],"isPasswordVisible":[32]}],[257,"xv-login-modal",{"visible":[4],"oauthProviders":[32],"bookNow":[32],"returnUrl":[32],"passwordLoginEnabled":[32],"oauthLoginEnabled":[32],"passwordRegistrationEnabled":[32],"configurationName":[32],"xvMvcConfigName":[32],"contactUrl":[32]}],[257,"xv-overflow-menu-v2-item",{"disabled":[516],"value":[520],"variant":[513],"clickable":[4]},[[0,"click","handleClick"]]],[257,"xv-table-v2-cell",{"multiline":[516],"name":[1537],"align":[513],"sort":[1537]},[[0,"click","handleSort"]]],[257,"xv-toggle-tip",{"open":[1540],"autoSize":[516,"auto-size"],"block":[4],"position":[1],"setPopover":[64]},[[4,"click","handleClickOutside"],[0,"keydown","handleKeyDown"]],{"open":["openChangeHandle"]}],[257,"xv-card-v2",{"variant":[1],"media":[1],"header":[1],"body":[1],"footer":[1]}],[257,"xv-link-v2",{"href":[1],"target":[1],"disabled":[4],"size":[1],"variant":[1]}],[321,"xv-checkbox-v2",{"checked":[1540],"indeterminate":[516],"disabled":[516],"name":[513],"value":[513],"readonly":[516],"required":[516],"partial":[516],"label":[1],"size":[513],"error":[520],"hasFocus":[32]},null,{"checked":["onCheckedChange"]}],[257,"xv-tag-v2",{"size":[1],"color":[1],"bg":[1],"disabled":[4],"closeable":[4]}],[321,"xv-button-v2",{"label":[513],"variant":[513],"size":[513],"disabled":[516],"loading":[516],"block":[516],"type":[513],"hasLeftIcon":[32],"hasRightIcon":[32],"hasContent":[32]}],[260,"xv-tooltip-v2",{"message":[1],"position":[1],"block":[4],"dashed":[4]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]],[257,"xv-loader-v2",{"show":[4],"variant":[1],"size":[1]}]]]], options);
8
+ return bootstrapLazy([["xv-accordion-v2_45",[[256,"xv-header",{"megaMenu":[4,"mega-menu"],"htmlContent":[32],"showLoginModal":[32],"isCockpitMenuExpanded":[32],"isEntitiesMenuExpanded":[32],"isUserMenuExpanded":[32],"suggestions":[32],"searchQuery":[32],"listPosition":[32],"showPopover":[32],"metaNav":[32],"mobMenuOpen":[32],"orgUnit":[32],"notificationsHtml":[32],"notificationsCount":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"variant":[1],"selected":[32],"selectedMap":[32],"searchQuery":[32]},[[0,"itemSelected","handleItemSelected"]],{"open":["openChangeHandle"],"multiple":["multipleChangeHandle"]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32]}],[321,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":["openChange"],"month":["getCalendarGrid"],"value":["handleValueChange"]}],[257,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040,"loading-states"],"error":[1537],"errors":[1040],"dragActive":[32],"errorMessages":[32],"clearFiles":[64]}],[321,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513]}],[257,"xv-pagination",{"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16,"responsive-variant"],"totalItems":[2,"total-items"],"itemsPerPage":[32],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":["checkedChangeHandle"]}],[321,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[4],"loading":[4],"columnWidths":[16,"column-widths"],"hover":[4]}],[257,"xv-dropdown-v2-item",{"disabled":[4],"value":[1544],"selected":[1540],"multiple":[516],"size":[513]},[[0,"click","handleClick"]]],[257,"xv-image-viewer",{"src":[1],"fullscreenSrc":[1,"fullscreen-src"],"alt":[1],"placeholder":[1],"lazy":[4],"isFullscreen":[32],"loaded":[32],"fullscreenLoaded":[32]}],[257,"xv-modal-v2",{"open":[1540],"permanent":[516],"size":[513],"overflow":[516],"loading":[4],"openModal":[64],"closeModal":[64]}],[257,"xv-overflow-menu-v2",{"open":[1540],"disabled":[516],"position":[1],"size":[1],"tooltip":[1]},[[0,"keydown","handleKeyDown"]],{"open":["openChangeHandle"]}],[257,"xv-tab-v2",{"label":[513],"disabled":[516],"loading":[516],"name":[8]}],[257,"xv-table-v2",{"size":[513],"hover":[516],"loading":[516],"colsSize":[16,"colssize"],"selected":[32],"selectedCount":[32]},[[0,"checkedChange","handleCheckedChange"]],{"colsSize":["setColsSizeTemplate"]}],[257,"xv-tabs-v2",{"active":[1544],"loading":[516],"variant":[1],"emptyMessage":[1,"empty-message"],"tabElements":[32],"showArrows":[32]},[[9,"resize","updateArrowVisibility"]]],[257,"xv-tag-combobox",{"options":[16],"label":[1],"size":[1],"placeholder":[1],"allowCreate":[4,"allow-create"],"maxSuggestions":[2,"max-suggestions"],"disabled":[4],"readonly":[4],"error":[8],"warning":[8],"value":[16],"normalizedOptions":[32],"selected":[32],"inputValue":[32],"open":[32],"filtered":[32],"highlighted":[32],"focusInput":[64],"clear":[64]},null,{"options":["watchOptions"],"value":["watchValue"]}],[257,"xv-accordion-v2",{"multiple":[4],"xvId":[1,"xv-id"],"value":[1025],"opened":[32],"toggleItem":[64]}],[257,"xv-accordion-v2-item",{"disabled":[4],"label":[1],"value":[1],"isOpen":[32]},[[16,"accordionChange","handleAccordionChange"]]],[260,"xv-breadcrumbs-v2"],[257,"xv-data-table-collapse",{"collapsed":[1540],"setCollapsed":[64]}],[256,"xv-footer",{"data":[32]},[[8,"xv:metaNav-update","handleLoadData"]]],[257,"xv-notification-v2",{"variant":[513],"dismissible":[516]}],[257,"xv-overflow-menu-v2-item",{"disabled":[516],"value":[520],"variant":[1]},[[0,"click","handleClick"]]],[257,"xv-progress-indicator-v2",{"progress":[514],"variant":[1],"size":[1]},null,{"progress":["updateChildItems"]}],[257,"xv-progress-indicator-v2-item",{"status":[1]}],[324,"xv-radio-v2",{"name":[1],"value":[1],"label":[1],"checked":[1028],"indeterminate":[4],"block":[4],"disabled":[4],"required":[4],"reverse":[4],"readonly":[4],"error":[8],"warning":[520],"size":[1]},null,{"checked":["onCheckedChange"]}],[321,"xv-slider-v2",{"label":[1],"name":[1],"min":[2],"max":[2],"value":[1026],"step":[2],"disabled":[4],"readonly":[4],"notEditable":[4,"not-editable"]}],[257,"xv-table-v2-expand",{"open":[1540],"disabled":[516]}],[260,"xv-tile",{"variant":[513],"label":[1],"error":[4],"multiple":[4],"disabled":[4],"block":[4],"name":[1],"value":[1025],"checked":[1028]},[[4,"tileChange","tileChangeHandle"],[0,"click","handleClick"]]],[321,"xv-toggle",{"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"readonly":[4],"size":[513],"block":[4]}],[257,"xv-toggle-tip",{"open":[1540],"autoSize":[516,"auto-size"],"block":[4],"position":[1],"setPopover":[64]},[[4,"click","handleClickOutside"],[0,"keydown","handleKeyDown"]],{"open":["openChangeHandle"]}],[257,"xv-mega-menu",{"open":[1540],"loading":[32],"activeItem":[32],"activeGroup":[32],"menuItems":[32]},[[4,"click","handleClickOutside"]]],[257,"xv-data-table-cell",{"name":[1025],"sort":[1537],"multiline":[2],"width":[1],"align":[1],"tooltip":[1]},[[0,"click","handleSort"]]],[321,"xv-text-input-v2",{"type":[1],"label":[1],"placeholder":[513],"name":[513],"value":[1025],"autocomplete":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"size":[513],"isPasswordVisible":[32]}],[257,"xv-login-modal",{"visible":[4],"oauthProviders":[32],"bookNow":[32],"returnUrl":[32],"passwordLoginEnabled":[32],"oauthLoginEnabled":[32],"passwordRegistrationEnabled":[32],"configurationName":[32],"xvMvcConfigName":[32],"contactUrl":[32]}],[257,"xv-table-v2-cell",{"multiline":[516],"name":[1537],"align":[513],"sort":[1537]},[[0,"click","handleSort"]]],[257,"xv-card-v2",{"variant":[1],"media":[1],"header":[1],"body":[1],"footer":[1]}],[257,"xv-link-v2",{"href":[1],"target":[1],"disabled":[4],"size":[1],"variant":[1]}],[321,"xv-checkbox-v2",{"checked":[1540],"indeterminate":[516],"disabled":[516],"name":[513],"value":[513],"readonly":[516],"required":[516],"partial":[516],"label":[1],"size":[513],"error":[520],"hasFocus":[32]},null,{"checked":["onCheckedChange"]}],[257,"xv-tag-v2",{"size":[1],"color":[1],"bg":[1],"disabled":[4],"closeable":[4]}],[260,"xv-tooltip-v2",{"message":[1],"position":[1],"block":[4],"dashed":[4]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]],[321,"xv-button-v2",{"label":[513],"variant":[513],"size":[513],"disabled":[516],"loading":[516],"block":[516],"type":[513],"hasLeftIcon":[32],"hasRightIcon":[32],"hasContent":[32]}],[257,"xv-loader-v2",{"show":[4],"variant":[1],"size":[1]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };