xv-webcomponents 1.16.4 → 1.16.5-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 (58) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/xv-accordion-v2_45.cjs.entry.js +3017 -253
  3. package/dist/cjs/xv-header-next.cjs.entry.js +1 -1
  4. package/dist/cjs/xv-mega-menu-next.cjs.entry.js +2 -2
  5. package/dist/cjs/xv-webcomponents.cjs.js +1 -1
  6. package/dist/collection/components/xv-data-table/_vars.js +1 -0
  7. package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.css +42 -0
  8. package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js +23 -10
  9. package/dist/collection/components/xv-data-table/xv-data-table.js +170 -1
  10. package/dist/collection/components/xv-datepicker/xv-datepicker.js +2 -2
  11. package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +1 -1
  12. package/dist/collection/components/xv-dropdown/xv-dropdown.js +1 -1
  13. package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +1 -1
  14. package/dist/collection/components/xv-footer/xv-footer.js +1 -1
  15. package/dist/collection/components/xv-header/xv-header.js +1 -1
  16. package/dist/collection/components/xv-header-next/xv-header-next.js +1 -1
  17. package/dist/collection/components/xv-image-viewer/xv-image-viewer.js +1 -1
  18. package/dist/collection/components/xv-link/xv-link.js +1 -1
  19. package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +2 -2
  20. package/dist/collection/components/xv-mega-menu-next/xv-mega-menu-next.js +2 -2
  21. package/dist/collection/components/xv-modal/xv-modal.js +1 -1
  22. package/dist/collection/components/xv-notification/xv-notification.js +1 -1
  23. package/dist/collection/components/xv-number-input/xv-number-input.js +2 -2
  24. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +1 -1
  25. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +2 -2
  26. package/dist/collection/components/xv-pagination/xv-pagination.js +1 -1
  27. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
  28. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +1 -1
  29. package/dist/collection/components/xv-radio/xv-radio.js +2 -2
  30. package/dist/collection/components/xv-slider/xv-slider.js +1 -1
  31. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +1 -1
  32. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +1 -1
  33. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +1 -1
  34. package/dist/collection/components/xv-table/xv-table.js +1 -1
  35. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
  36. package/dist/collection/components/xv-tag/xv-tag.js +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/loader.js +1 -1
  45. package/dist/esm/xv-accordion-v2_45.entry.js +2819 -55
  46. package/dist/esm/xv-header-next.entry.js +1 -1
  47. package/dist/esm/xv-mega-menu-next.entry.js +2 -2
  48. package/dist/esm/xv-webcomponents.js +1 -1
  49. package/dist/types/components/xv-data-table/_vars.d.ts +5 -0
  50. package/dist/types/components/xv-data-table/xv-data-table-row/xv-data-table-row.d.ts +2 -0
  51. package/dist/types/components/xv-data-table/xv-data-table.d.ts +17 -0
  52. package/dist/types/components.d.ts +34 -2
  53. package/dist/xv-webcomponents/{p-c87b62cb.entry.js → p-1b5a4f4c.entry.js} +1 -1
  54. package/dist/xv-webcomponents/{p-877bab0c.entry.js → p-50f8cd72.entry.js} +1 -1
  55. package/dist/xv-webcomponents/p-e96a197b.entry.js +8 -0
  56. package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
  57. package/package.json +4 -2
  58. package/dist/xv-webcomponents/p-d8f4b7d3.entry.js +0 -1
@@ -180,7 +180,7 @@ export class XvHeaderNext {
180
180
  render() {
181
181
  var _a, _b, _c, _d, _e;
182
182
  const isXvBrand = (((_a = this.metaNav) === null || _a === void 0 ? void 0 : _a['WhitelabelName']) || 'Xv') === 'Xv';
183
- return (h("header", { key: 'f3a7fb2c54e76eb1c09a37cae5db8a57d9f6c2b3', class: "header" }, h("div", { key: 'c4ad04603780bbf1fda71dc46a7ec5a387702304', class: "header-wrapper" }, h("div", { key: '961b65c80452595d6b8f9e85c6e558a0db915172', class: "xv-container" }, h("div", { key: '0e765ec9cf66335ed71b4f946743504b3b94a9e7', class: "header-top" }, h("div", { key: '408a11943eaf3500ce2224912e70c0da67931b73', class: "header-top--left" }, h("xv-button-v2", { key: 'c97d3875491b38a31bc862faf3eac961228c26ff', class: "menu-btn", variant: "ghost", onClick: this.toggleMobMenu }, h("i", { key: 'eb3498a5e9b3e7d919e109d7c3891b95d1ebca72', slot: "icon-left", class: { 'fa': true, 'fa-times': this.mobMenuOpen, 'fa-bars': !this.mobMenuOpen } })), this.metaNav && (h("a", { key: '14d58623d7ae1e6fffeefc99ba793995c4dda82c', href: `${window.location.origin}/` }, h("picture", { key: 'b775cd2ff0d91ed7cfec2df38197afce166d7be8' }, h("source", { key: 'ac9b90be5654ac490321a67935d946f05090f6e5', srcSet: ((_b = this.metaNav) === null || _b === void 0 ? void 0 : _b.LogoUrl) || 'https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo.svg', media: "(min-width: 990px)" }), h("img", { key: 'bbe031b19ae7a8df30245044d3f55fca54270329', src: ((_c = this.metaNav) === null || _c === void 0 ? void 0 : _c.LogoSmallUrl) || 'https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo-small.svg', onError: this.logoFallback, loading: "lazy", alt: "Crossvertise" })))), this.orgUnit && (h("xv-link-v2", { key: '79d3bde2fa9d774302cf58fc1801c77c5773eb4c', class: "header-top--orgUnit", variant: "standalone", href: "/de-de/mycrossvertise" }, this.orgUnit))), h("ul", { key: '74e923f869931156bae23febcde879a9105e6e04', class: "header-top--right" }, this._renderSearch(), this._renderImpersonationInfo(), !((_d = this.metaNav) === null || _d === void 0 ? void 0 : _d.IsManager) && isXvBrand && (h("li", { key: '7aa622213c8e48f6b7513dae5b020553d243f209' }, h("xv-link-v2", { key: 'd7add033b914b87ca439b37301826f7a0dcd52c0', variant: "ghost", href: "https://www.crossvertise.com/ueber-uns/kontakt" }, h("xv-button-v2", { key: '3175fabc7ffd679ed2e5a2f17ec42a596f6f7e26', variant: "ghost", size: SIZE_VAR.MD }, h("i", { key: 'dcbb4af48fb4ef4a22ab868eedf1abf5009d9961', class: "header-icon far fa-envelope" }), h("span", { key: '488598237f34f1e6be906706b363e8dd92f0516b', class: "header-label xv-body-02" }, "Kontakt"))))), this._renderNotifications(), this._renderAccount(), !((_e = this.metaNav) === null || _e === void 0 ? void 0 : _e.IsManager) && isXvBrand && (h("li", { key: '03434ff9af60127d69ef645169c7addd706b7094' }, h("xv-link-v2", { key: 'ad277f7ee7e283377471e43ca27d003c43aa6bcd', variant: "ghost", href: "https://help.crossvertise.com" }, h("xv-button-v2", { key: '79455698d31242607448a9e7938802088595c747', variant: "ghost", size: SIZE_VAR.MD }, h("i", { key: '8f5af96fbd9f63c14a7a1b7d99efe827cd732266', class: "header-icon far fa-question-circle" }), h("span", { key: '80f5456149c4e70a822ad5a11546ca490a33b9ad', class: "header-label xv-body-02" }, "Hilfe"))))), this._renderShoppingCart()))), h("div", { key: 'c99aa3d08c7b70c3ac426faefbb69ffbd1c1d777', class: "header-wrapper--bg" }, h("div", { key: 'f5dad8911474aed6df24f09a5c360f0a0ee83740', class: "xv-container" }, h("xv-mega-menu-next", { key: 'c6da96b523a70c2bd0b4bf6f1361f65239475e1d', open: this.mobMenuOpen, onOpenChange: this.closeMobMenu, menuData: this.menuData })))), h("xv-login-modal", { key: 'b466a19ae56d9486e3e9fb0010c58749fcb14fe3', visible: this.showLoginModal, onClose: () => this.showLoginModal = false })));
183
+ return (h("header", { key: '3e5b036c8a87c64dedc188182055745dab593bdf', class: "header" }, h("div", { key: 'da3c6359eef47a0a9a6e326ea71eca15a127f005', class: "header-wrapper" }, h("div", { key: 'c403912d3ab0807ae51b3b98ddfd857144209459', class: "xv-container" }, h("div", { key: 'a15d117e3f95a8d65a1022f6a7efc48b68664da7', class: "header-top" }, h("div", { key: '1c3a412f45e5957c74cb6e18f3cdba61aec07129', class: "header-top--left" }, h("xv-button-v2", { key: '83f5c11eb91bec0a233c56aa50443909b2c937a9', class: "menu-btn", variant: "ghost", onClick: this.toggleMobMenu }, h("i", { key: 'cefac234defe108c971f2d6950fde258094d9e1b', slot: "icon-left", class: { 'fa': true, 'fa-times': this.mobMenuOpen, 'fa-bars': !this.mobMenuOpen } })), this.metaNav && (h("a", { key: '7da1e1a5fd6338cd11ec416f1bbd4e63b419001a', href: `${window.location.origin}/` }, h("picture", { key: '4a05e52e3acd6e60eb84441bd196fe5ccda0f48d' }, h("source", { key: '58c46c947df12f09c3719fcff0e53681b288d42b', srcSet: ((_b = this.metaNav) === null || _b === void 0 ? void 0 : _b.LogoUrl) || 'https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo.svg', media: "(min-width: 990px)" }), h("img", { key: '29597424f11f7aeff11df8399761dafc540745cd', src: ((_c = this.metaNav) === null || _c === void 0 ? void 0 : _c.LogoSmallUrl) || 'https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo-small.svg', onError: this.logoFallback, loading: "lazy", alt: "Crossvertise" })))), this.orgUnit && (h("xv-link-v2", { key: '293c00d8bc5ec56be893f24032eb38b1aa71d0c2', class: "header-top--orgUnit", variant: "standalone", href: "/de-de/mycrossvertise" }, this.orgUnit))), h("ul", { key: 'abbbf1eda6880fded2a7f9362cab61f09d084120', class: "header-top--right" }, this._renderSearch(), this._renderImpersonationInfo(), !((_d = this.metaNav) === null || _d === void 0 ? void 0 : _d.IsManager) && isXvBrand && (h("li", { key: '96e78e8b53c0667bf19a59b610623ecb231b20a9' }, h("xv-link-v2", { key: 'ebc9492d475d42b6dfdad65b017eb6ad14c2626e', variant: "ghost", href: "https://www.crossvertise.com/ueber-uns/kontakt" }, h("xv-button-v2", { key: '5c0f1e18eb09c0420a80540630fe8c855a1ae349', variant: "ghost", size: SIZE_VAR.MD }, h("i", { key: 'c5f72c0ccb60c50085785f6b2fc38656bd62df71', class: "header-icon far fa-envelope" }), h("span", { key: '62b3d1743b2cb925188360c7125a98d31683a6ea', class: "header-label xv-body-02" }, "Kontakt"))))), this._renderNotifications(), this._renderAccount(), !((_e = this.metaNav) === null || _e === void 0 ? void 0 : _e.IsManager) && isXvBrand && (h("li", { key: '407612a5a8e118133b30481c60ff777dea602d4d' }, h("xv-link-v2", { key: '27ea69272c9ba12d2d8dfb988ec55e513033cb04', variant: "ghost", href: "https://help.crossvertise.com" }, h("xv-button-v2", { key: '62b2c0f02784b55f4c0652dc2283635d519032f8', variant: "ghost", size: SIZE_VAR.MD }, h("i", { key: 'dfd071527c857854c1d038dcff41650ad974faab', class: "header-icon far fa-question-circle" }), h("span", { key: '2f0d80df52e1830946514382afcdca565ed5ec92', class: "header-label xv-body-02" }, "Hilfe"))))), this._renderShoppingCart()))), h("div", { key: 'd0f8a3d2367749e7a0b08b0de1ffe37bb53da138', class: "header-wrapper--bg" }, h("div", { key: '4a10adea98aab6f67214a00b3da0a41d9b4b16e8', class: "xv-container" }, h("xv-mega-menu-next", { key: 'b92a784f3481c17dff2c577a939e9e9c04cfb302', open: this.mobMenuOpen, onOpenChange: this.closeMobMenu, menuData: this.menuData })))), h("xv-login-modal", { key: '80eb3aa35bda06095228ff789c60e6470c47aab2', visible: this.showLoginModal, onClose: () => this.showLoginModal = false })));
184
184
  }
185
185
  static get is() { return "xv-header-next"; }
186
186
  static get originalStyleUrls() {
@@ -36,7 +36,7 @@ export class XvImageViewer {
36
36
  }
37
37
  }
38
38
  render() {
39
- return (h(Host, { key: '9f5d7343263653a40fe9a7870e68e7db0b38c7ba', class: "image-wrapper" }, this.loaded ? (h("img", { src: this.src, alt: this.alt, class: "image", onClick: this.handleClick })) : h("xv-loader-v2", { class: "loading" }, this.placeholder), this.isFullscreen && (h("div", { key: '33a0337dc57bc21ab4945528faebb658a7794c01', class: "fullscreen-overlay", onClick: this.closeFullscreen }, !this.fullscreenLoaded && h("xv-loader-v2", { key: 'a4447f7868df55d16a503aef8ad35ffef5f1f877', class: "loading", size: SIZE_VAR.LG }, this.placeholder), h("img", { key: 'db50d4789ca3b66390b216d42611eecc64241cb6', src: this.fullscreenSrc || this.src, alt: this.alt, class: {
39
+ return (h(Host, { key: '18892e8e88de15de5654ef75ff85cbd99206e1a8', class: "image-wrapper" }, this.loaded ? (h("img", { src: this.src, alt: this.alt, class: "image", onClick: this.handleClick })) : h("xv-loader-v2", { class: "loading" }, this.placeholder), this.isFullscreen && (h("div", { key: '8f0aa7e798837d055c1b4c195f6cca2bd4c3a8cb', class: "fullscreen-overlay", onClick: this.closeFullscreen }, !this.fullscreenLoaded && h("xv-loader-v2", { key: '07851163ab07dccf30f82ad96b47965308950f5c', class: "loading", size: SIZE_VAR.LG }, this.placeholder), h("img", { key: '1a56f060df6768a603b80f3a1d816edb14147745', src: this.fullscreenSrc || this.src, alt: this.alt, class: {
40
40
  'fullscreen-image': true,
41
41
  loaded: this.fullscreenLoaded,
42
42
  } })))));
@@ -12,7 +12,7 @@ export class XvLink {
12
12
  e.stopPropagation();
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '41907072f3cae95cd8f61271d7489f1da1460222', class: { [`xv-link_${this.variant}`]: true, disabled: !!this.disabled } }, h("a", { key: '9fe12c94846367da10e86fd8dbcc510f7b8b1750', href: this.href, onClick: this.preventLinkHandler.bind(this), class: { 'xv-link': true, 'xv-link_disabled': !!this.disabled, [this.size]: !!this.size }, target: this.target }, h("slot", { key: '5163799517195dbeac28ef5cbd5c3336f3b8cb3c', name: "icon-left" }), h("slot", { key: 'e2ea6ca5a3d228a2082206a5f78ec988d99425e6' }), h("slot", { key: '7814961917d68d0703ab57ef950f5a9bdcd23b81', name: "icon-right" }))));
15
+ return (h(Host, { key: '016e3dbb068768af7f3b1009a9ff4a41e7fe7e29', class: { [`xv-link_${this.variant}`]: true, disabled: !!this.disabled } }, h("a", { key: 'a3773aa9d56f67db1c8e38fb094ee182911eac2a', href: this.href, onClick: this.preventLinkHandler.bind(this), class: { 'xv-link': true, 'xv-link_disabled': !!this.disabled, [this.size]: !!this.size }, target: this.target }, h("slot", { key: '43cfd1a0bd21e3a06d626ebc1c011c0b97cb754b', name: "icon-left" }), h("slot", { key: '358556f640189ab282f907f16b1a9973561e7fe6' }), h("slot", { key: '252e9302928e87c88d502c7b513301333843cab0', name: "icon-right" }))));
16
16
  }
17
17
  static get is() { return "xv-link-v2"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -59,7 +59,7 @@ export class XvMegaMenu {
59
59
  void this.fetchMenuData();
60
60
  }
61
61
  render() {
62
- return (h(Host, { key: 'ca770e256c10fc6ff53e2a7b9fe242d6b81703aa' }, h("nav", { key: '2f00139d05d70eb76e9e79324cb04c0858711091', class: { 'xv-menu': true, open: this.open } }, this.menuLoading && (h("div", { key: '9319fb065f53adc2d3093ac639cd7023f5b1d196', class: { 'xv-menu-loader': true, open: this.open } }, h("xv-loader-v2", { key: '3d1815c691ccd37f92ade4e49aa5815fa4eacc7c' }))), h("ul", { key: 'b41b05c43682e2d1ac2bac7d619187a5b2d86135', class: { menu: true, open: this.open } }, this.menuItems.map((menuItem) => {
62
+ return (h(Host, { key: 'b112b87e38c1534cd5313e6c71fdc96f6fc8f515' }, h("nav", { key: 'e2ce585ac7dcce8e7abf628be7eb635948985a4f', class: { 'xv-menu': true, open: this.open } }, this.menuLoading && (h("div", { key: 'f72304e9a5310914bad2c5f2160d4b408dba6c80', class: { 'xv-menu-loader': true, open: this.open } }, h("xv-loader-v2", { key: '08be3cc31abc000d508825ae0cba715de7265ad4' }))), h("ul", { key: '651eb649457fbab1f3bac968f55702fd5b2219f9', class: { menu: true, open: this.open } }, this.menuItems.map((menuItem) => {
63
63
  var _a, _b;
64
64
  return (h("li", { class: { 'menu-item': true, active: menuItem.id === ((_a = this.activeItem) === null || _a === void 0 ? void 0 : _a.id) } }, menuItem.route ? (h("xv-link-v2", { variant: "ghost", href: menuItem.route.route }, h("p", { class: "menu-item-label" }, (_b = menuItem.route) === null || _b === void 0 ? void 0 : _b.label))) : (h(Fragment, null, h("p", { class: "menu-item-label", onClick: () => this.setActiveItem(menuItem) }, menuItem === null || menuItem === void 0 ? void 0 : menuItem.label), h("ul", { class: "menu-item-groups" }, menuItem.groups.map((group) => {
65
65
  var _a;
@@ -69,7 +69,7 @@ export class XvMegaMenu {
69
69
  } }, h("div", { class: "group-menus" }, h("ul", { class: { 'group-menus-categories': true, inline: group.layout === 'inline' } }, group.categories.map((category) => (h("li", { class: "category" }, h("p", { class: "category-label" }, category.label), h("ul", { class: "category-routes" }, category.routes.map((route) => (h("li", { class: "route" }, h("xv-link-v2", { size: "lg", variant: "ghost", href: route.route || '#' }, route.label), route.tag && (h("xv-tag-v2", { class: "route-tag", size: "sm", color: "#161616", bg: "#E0E0E0" }, route.tag)))))))))), h("ul", { class: "group-menus-actions" }, group.actions.map((action) => (h("li", { class: "action" }, action.type === 'link' && (h("xv-link-v2", { variant: "standalone", href: action === null || action === void 0 ? void 0 : action.url }, action.label, h("span", { class: "link-chevron", slot: "icon-right" }, "\u2192"))), action.type === 'button' &&
70
70
  h("xv-button-v2", { onClick: () => this.navActionClick(action), block: true, variant: "tertiary" }, action.label)))))), (group === null || group === void 0 ? void 0 : group.card) && (h("div", { class: "group-card" }, h("xv-card-v2", { media: this.applicationContext !== 'Komsa' ? group.card.image : undefined, variant: this.isMobile ? 'horizontal' : 'vertical' }, h("h5", { slot: "header", class: "group-card-title" }, group.card.title), h("p", { slot: "body", class: "group-card-desc" }, group.card.description), group.card.linkLabel && (h("xv-link-v2", { slot: "footer", variant: "standalone", href: group.card.linkUrl || '#' }, group.card.linkLabel, h("span", { class: "link-chevron", slot: "icon-right" }, "\u2192"))))))))));
71
71
  }))))));
72
- }), h("li", { key: 'fa034475e28bbc686f54b7f732e818022e7b8c5a', class: "menu--right" }, h("slot", { key: '629a735bac1e37c93203245ce7e83a5c4651de68', name: "menu-right" })), this.open && (h("li", { key: '6e75c7dabd2ead7a27bc26b88d9d1d8e4ea86c61', class: "menu--backdrop", onClick: () => this.handleClose() }))))));
72
+ }), h("li", { key: '9356ffcf87b9e622db21a01c40077e41169ea94e', class: "menu--right" }, h("slot", { key: 'ef5d8a0aaf0d44fd3eec9a68b91a642cb52d8555', name: "menu-right" })), this.open && (h("li", { key: '0710525eedf5b04ce377deba6a913af3a41b657a', class: "menu--backdrop", onClick: () => this.handleClose() }))))));
73
73
  }
74
74
  static get is() { return "xv-mega-menu"; }
75
75
  static get encapsulation() { return "shadow"; }
@@ -94,7 +94,7 @@ export class XvMegaMenuNext {
94
94
  void this.fetchMenuData();
95
95
  }
96
96
  render() {
97
- return (h(Host, { key: '8c0bae3ab6e8ed73d430d89ddfda62633ccb5b07' }, h("nav", { key: 'eff4d8e016c8acd5ba64ca5ed26eb1733455ada9', class: { 'xv-menu': true, open: this.open } }, this.menuLoading && (h("div", { key: '602d4f6d640f621fdeff8b0d42ff09baf4267b23', class: { 'xv-menu-loader': true, open: this.open } }, h("xv-loader-v2", { key: '7a8f473cbf769a5caa49060acdce448034068cd0' }))), h("ul", { key: '043cc45b8d82a0f5fa3af5f219d58267a15e8238', class: { menu: true, open: this.open } }, this.menuItems.map((menuItem) => {
97
+ return (h(Host, { key: '965990cf42dca77d9c87ea5d9f1af1765bd51305' }, h("nav", { key: '1effa8fd4a5a36e29735b5b705e4de153e742942', class: { 'xv-menu': true, open: this.open } }, this.menuLoading && (h("div", { key: 'f2777eb6501f5de71be497e02148ea0e9a226e25', class: { 'xv-menu-loader': true, open: this.open } }, h("xv-loader-v2", { key: '10a1559021022dcdf669ee7b1e4ac8bd4e6d2dad' }))), h("ul", { key: '5f61b88c3813b76ae9d4d49ec7b589666486ea6b', class: { menu: true, open: this.open } }, this.menuItems.map((menuItem) => {
98
98
  var _a, _b;
99
99
  return (h("li", { class: { 'menu-item': true, active: menuItem.id === ((_a = this.activeItem) === null || _a === void 0 ? void 0 : _a.id) } }, menuItem.route ? (h("xv-link-v2", { variant: "ghost", href: menuItem.route.route }, h("p", { class: "menu-item-label" }, (_b = menuItem.route) === null || _b === void 0 ? void 0 : _b.label))) : (h(Fragment, null, h("p", { class: "menu-item-label", onClick: () => this.setActiveItem(menuItem) }, menuItem === null || menuItem === void 0 ? void 0 : menuItem.label), h("ul", { class: "menu-item-groups" }, menuItem.groups.map((group) => {
100
100
  var _a;
@@ -104,7 +104,7 @@ export class XvMegaMenuNext {
104
104
  } }, h("div", { class: "group-menus" }, h("ul", { class: { 'group-menus-categories': true, inline: group.layout === 'inline' } }, group.categories.map((category) => (h("li", { class: "category" }, h("p", { class: "category-label" }, category.label), h("ul", { class: "category-routes" }, category.routes.map((route) => (h("li", { class: "route" }, h("xv-link-v2", { size: "lg", variant: "ghost", href: route.route || '#' }, route.label), route.tag && (h("xv-tag-v2", { class: "route-tag", size: "sm", color: "#161616", bg: "#E0E0E0" }, route.tag)))))))))), h("ul", { class: "group-menus-actions" }, group.actions.map((action) => (h("li", { class: "action" }, action.type === 'link' && (h("xv-link-v2", { variant: "standalone", href: action === null || action === void 0 ? void 0 : action.url }, action.label, h("span", { class: "link-chevron", slot: "icon-right" }, "\u2192"))), action.type === 'button' &&
105
105
  h("xv-button-v2", { onClick: () => this.navActionClick(action), block: true, variant: "tertiary" }, action.label)))))), (group === null || group === void 0 ? void 0 : group.card) && (h("div", { class: "group-card" }, h("xv-card-v2", { media: this.applicationContext !== 'Komsa' ? group.card.image : undefined, variant: this.isMobile ? 'horizontal' : 'vertical' }, h("h5", { slot: "header", class: "group-card-title" }, group.card.title), h("p", { slot: "body", class: "group-card-desc" }, group.card.description), group.card.linkLabel && (h("xv-link-v2", { slot: "footer", variant: "standalone", href: group.card.linkUrl || '#' }, group.card.linkLabel, h("span", { class: "link-chevron", slot: "icon-right" }, "\u2192"))))))))));
106
106
  }))))));
107
- }), h("li", { key: '83b8a6d9b98d081e8a462269d3516c3cbb2842bb', class: "menu--right" }, h("slot", { key: 'eb8da8170f252ea1ce53777a0fab6dc5e0ee0c15', name: "menu-right" })), this.open && (h("li", { key: '2c4fbf2c7d92abc58ed125ddfa1e9b09f2429447', class: "menu--backdrop", onClick: () => this.handleClose() }))))));
107
+ }), h("li", { key: '9ca18d5cdfb37a82e050751542b18eba7b98b158', class: "menu--right" }, h("slot", { key: 'a82d9e4fb0a0d2e482f97a51b66e0e974db2c6f5', name: "menu-right" })), this.open && (h("li", { key: '0d4ef64ba1f80209cc3a77c602a52e39e5cde885', class: "menu--backdrop", onClick: () => this.handleClose() }))))));
108
108
  }
109
109
  static get is() { return "xv-mega-menu-next"; }
110
110
  static get encapsulation() { return "shadow"; }
@@ -58,7 +58,7 @@ export class XvModal {
58
58
  }
59
59
  render() {
60
60
  var _a;
61
- return (h(Host, { key: '3e0924a9a3f67a49d592edbdb8c83c61d093523d', role: "dialog", size: this.size, id: this.el.id }, h("slot", { key: '44bfc07024422351f51f248b18a084c1b73daca2', name: "trigger", onSlotchange: this.setupTrigger }), h("div", { key: '4827f22f43de8f1ff60af6dc7cb47676fb52c113', class: { backdrop: true }, onClick: this.onBackdropClick }, h("div", { key: '007d6f3db4221607cf7f1cf0f2ef2c5d77f878d0', class: "modal" }, h("button", { key: '30bfd368e69ad4c95474409228ca2eb925b45523', class: "modal_close", onClick: this.closeModal.bind(this) }, "\u00D7"), h("div", { key: '2765e6a696c767b13c9f28d01f0b558a5b4aae72', class: "modal_header" }, h("slot", { key: 'd1e4615e82709fc9b919573e3bdcffa48fe5ddea', name: "header" }, ((_a = this.el) === null || _a === void 0 ? void 0 : _a.title) && h("h5", { key: '884dae5ca7c5bb13abfe8d7c697d289a13b177ef', class: "modal_header__title" }, this.el.title))), h("div", { key: 'c416e7a66710eddfc0704e0c9bfb2ac25dc2a06f', class: { 'modal_content': true, overflow: this.overflow } }, h("slot", { key: '589a402f00d7c5c0e3b7e6f14f348ebbf0d44fa8' })), h("div", { key: '4606584cd9d03f18add4ecaff22474d8a88ca6db', class: "modal_footer" }, h("slot", { key: '80f3eea845811e87dcbce260a68d8bcaeb85b1db', name: "footer" })), !!this.loading && (h("div", { key: '314ab1737c5e504b74f1689897db496c604a807b', class: "loading" }, h("xv-loader-v2", { key: '148b4da2eaedfbcceb7cefc67b9bfb31c534f91d', size: SIZE_VAR.LG })))))));
61
+ return (h(Host, { key: '459334f664b6ef23356082e08e7a5d2a6b843467', role: "dialog", size: this.size, id: this.el.id }, h("slot", { key: 'ea874bc6a5b9de9a7b8bb88b66f9eca564265c3f', name: "trigger", onSlotchange: this.setupTrigger }), h("div", { key: '97aad0310e31ca98a5d96afcc4215f338af59685', class: { backdrop: true }, onClick: this.onBackdropClick }, h("div", { key: '22de437bedf74a0f540cb5a4fe12cb27f0adc459', class: "modal" }, h("button", { key: '0daeb0c0ae716f28b9ba87bd6a752b688e5849c6', class: "modal_close", onClick: this.closeModal.bind(this) }, "\u00D7"), h("div", { key: '61632aed290597cf833a1bbe38ccf70c031e3cc7', class: "modal_header" }, h("slot", { key: '41d051393e58db7bbe13e26309040750f4a3f182', name: "header" }, ((_a = this.el) === null || _a === void 0 ? void 0 : _a.title) && h("h5", { key: 'b1ad75b57fce071b11465a2a1941e73ee01aced8', class: "modal_header__title" }, this.el.title))), h("div", { key: 'ff17494529082dab14715cba727253655852f4f6', class: { 'modal_content': true, overflow: this.overflow } }, h("slot", { key: '9c8df6f31c4a2bf767317ab443c52bbf31c6b9f4' })), h("div", { key: 'be51d96a27f16833cf910b3876515f28e3ce30e0', class: "modal_footer" }, h("slot", { key: '43fa6135052faab628f3531d2d116df4e592f620', name: "footer" })), !!this.loading && (h("div", { key: '63379bfee79a569faecd6c90eb1447bc2d549f5f', class: "loading" }, h("xv-loader-v2", { key: '972b08c9ae0d135516cd2d46e4ad31168ad37c19', size: SIZE_VAR.LG })))))));
62
62
  }
63
63
  disconnectedCallback() {
64
64
  this.removeTriggerListener();
@@ -25,7 +25,7 @@ export class XvNotification {
25
25
  };
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '5d45a1ff837d9be7433c9d1771aa2f769f56dd0e', class: "xv-notification", type: this.variant }, this.renderIcon(this.variant), h("div", { key: '5df8772edf8bb531d49ca33683713acf9523c6e3', class: "content" }, h("div", { key: '671f7d71d747267d07f0fd6f8364bd63466e5ead', class: "content_wrapper" }, this.el.title && h("h5", { key: '83f17ad4396af1a6f9df1c3dfac66d512ce4185e', class: "content_title" }, this.el.title), h("slot", { key: '51b10fb2f64c6317f8f830ffc05a0158abe58c05' })), h("slot", { key: '600e9e04c60fb22fdbf855ab57a3e3aa7fe4acb0', name: "footer" })), this.dismissible && h("button", { key: 'ff9586ea5ad1739cee8f0c1212cf7390eea8eba1', class: "close", onClick: this.closeHandle })));
28
+ return (h(Host, { key: 'adcd2d4a2e8e53164982ffb95de2682d2d833a1a', class: "xv-notification", type: this.variant }, this.renderIcon(this.variant), h("div", { key: 'c4b03ccfefcf2176eec5ce98263a65ca398c743a', class: "content" }, h("div", { key: 'f9eca551a35ddbaae8ca07f0059fca5f1a05b761', class: "content_wrapper" }, this.el.title && h("h5", { key: '7a1e4911679d5d1d45ef5a291f8a2071cf399cf8', class: "content_title" }, this.el.title), h("slot", { key: 'd23e3ec1a2b34cdee9cb20df306afe0f71e63170' })), h("slot", { key: 'd1e7d2df24c77f042e05353edf91565a5aa3828b', name: "footer" })), this.dismissible && h("button", { key: '53b218ecd5fefbc84557c0aab20f0a3015aa797e', class: "close", onClick: this.closeHandle })));
29
29
  }
30
30
  static get is() { return "xv-notification-v2"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -32,12 +32,12 @@ export class XvNumberInput {
32
32
  this.valueChange.emit(this.value);
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '99198726d388ce9ac5e04d1df5e0d66159af9430', class: { disabled: !!this.disabled } }, h("label", { key: '34b9b186c3a9a3ae388cdaf550123ce9dd334c80', class: "control" }, this.label && h("span", { key: 'a4a1a11603b00107d9bfb0dfef7568709489b5af', class: "control_label" }, this.label), h("div", { key: 'fd9005fa6a97d7fcda8d1e9566f3ede7372610c9', class: {
35
+ return (h(Host, { key: '7399237cc111a179efc8015c4a735591eaf58f47', class: { disabled: !!this.disabled } }, h("label", { key: 'a208140db3894262f1eca454aac4fe0f1f5dcd5b', class: "control" }, this.label && h("span", { key: 'f75f15839a0e6fdae658f3c8acdc89b817bddd4e', class: "control_label" }, this.label), h("div", { key: 'c46893c839e2c4d0ea1cc3cbe7b344b8d76d05ba', class: {
36
36
  'control_input': true,
37
37
  readonly: !!this.readonly,
38
38
  error: !!this.error,
39
39
  warning: !!this.warning
40
- } }, h("input", { key: 'c180c17f35d3473dab46fb2e674126a7ea7f2d83', type: "number", placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value }), h("div", { key: 'a1d0edefe4e17b7ad9cd74509ff9a54ba75e0b78', class: "control_input__icons" }, this.loading ? (h("xv-loader-v2", { 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, h("xv-button-v2", { key: '6d78aa7b5bea99d4873335a3c2a65c71a6afdae4', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.decrement, "aria-label": "Decrease" }, h("span", { key: '6e8f57e5afc31834fbc58cc57297425f53b573f2', slot: "icon-left", class: "status-icon" }, "\u2212")), h("hr", { key: 'b0cf58f40804707d8db978acd3c91ae525fe50a2' }), h("xv-button-v2", { key: 'ded59f81457a3a9a82702471ee0ac68b454e7055', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.increment, "aria-label": "Increase" }, h("span", { key: '83de3ac6f1bf6075937ad8bda1f146ad66e972d0', slot: "icon-left", class: "status-icon" }, "+"))))), this.helper && h("p", { key: '7739b151edc7fec5122685c17d0aac904cfbf0d0', 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));
40
+ } }, h("input", { key: '84e546cca6541c13e3285525098b7a92c283927d', type: "number", placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value }), h("div", { key: '085c26dffcc68d09dfdfaa6bac4b9b8cfe75b5fc', class: "control_input__icons" }, this.loading ? (h("xv-loader-v2", { 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, h("xv-button-v2", { key: 'c3060dbc54a87aa58eef2ae870807048560dc196', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.decrement, "aria-label": "Decrease" }, h("span", { key: 'ea41fd15f042b101b73309e6a5d64e7493f947ef', slot: "icon-left", class: "status-icon" }, "\u2212")), h("hr", { key: '3a7acf4743c82b070c4218433759d3be364f1316' }), h("xv-button-v2", { key: '6508586d90c548fc39b8d3936b5aed6e9cca0aa2', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.increment, "aria-label": "Increase" }, h("span", { key: 'dd0f03bf3f5afc5e66b842625a23a71216017a6d', slot: "icon-left", class: "status-icon" }, "+"))))), this.helper && h("p", { key: '0aea5e60d957e5d81e3e88b99af84bb742d4a45b', 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));
41
41
  }
42
42
  static get is() { return "xv-number-input-v2"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class XvOverflowMenuItem {
12
12
  this.itemClick.emit({ event, value: this.value });
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '53673c119a5920c5e4ee00f91b7f16e322055774', class: "xv-overflow-menu-item", role: "menuitem", disabled: this.disabled }, h("slot", { key: '66507bfd2491ddc6d02b2908ebddc07ec5d60860' })));
15
+ return (h(Host, { key: '3d13f5e706f187f6fdc0a925df29ab9a3d185bbf', class: "xv-overflow-menu-item", role: "menuitem", disabled: this.disabled }, h("slot", { key: '9fd7ed9c9b5122ef15d92b34368187ac08dddafb' })));
16
16
  }
17
17
  static get is() { return "xv-overflow-menu-v2-item"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -48,8 +48,8 @@ export class XvOverflowMenu {
48
48
  }
49
49
  }
50
50
  render() {
51
- const button = (h("button", { key: 'c4fd52c6d1b98f77daea0d588195b28da7223a5f', class: { btn: true, open: this.open }, onClick: this.onOpenToggle, disabled: this.disabled }, h("slot", { key: '4be18cdc34d6f069bb6d80942115bf5b4e8f102b', name: "trigger" }, h("svg", { key: '8577eb67e17907bba4c3a425e493f021aa64e1b8', xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 128 512" }, h("path", { key: '9936f0313b164ce8ac17d6212fe280a8e0a85bce', d: "M64 368a48 48 0 1 0 0 96 48 48 0 1 0 0-96zm0-160a48 48 0 1 0 0 96 48 48 0 1 0 0-96zM112 96A48 48 0 1 0 16 96a48 48 0 1 0 96 0z" })))));
52
- return (h(Host, { key: '48be0db9a6f1ee65de8a4005a390f136f67d8f11', class: "xv-overflow-menu", size: this.size, role: "menu", tabindex: -1 }, this.tooltip ? h("xv-tooltip-v2", { message: this.tooltip }, button) : button, h("div", { key: 'f26fd4228072396bb72f85523116dd9b563c7f83', class: { list: true, open: this.open, [`position-${this.position}`]: true } }, h("slot", { key: '60a9cb8b97dec6d0a72a5b78af27f1ce17ed326f' }))));
51
+ const button = (h("button", { key: '65d10df68e12786c31afc40edc8c22ecfd0302cf', class: { btn: true, open: this.open }, onClick: this.onOpenToggle, disabled: this.disabled }, h("slot", { key: '97a5406ec0f76269a2e7bac68bf1a5f1632b8804', name: "trigger" }, h("svg", { key: '6d011f7fa6e4f17bf3e75609bd989fa9676e280b', xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 128 512" }, h("path", { key: 'e40d3dc7b5c672beb1be641e2327053d94c7cdde', d: "M64 368a48 48 0 1 0 0 96 48 48 0 1 0 0-96zm0-160a48 48 0 1 0 0 96 48 48 0 1 0 0-96zM112 96A48 48 0 1 0 16 96a48 48 0 1 0 96 0z" })))));
52
+ return (h(Host, { key: 'a53abac823b5ddca6a0ccae9c174c54e5feb953d', class: "xv-overflow-menu", size: this.size, role: "menu", tabindex: -1 }, this.tooltip ? h("xv-tooltip-v2", { message: this.tooltip }, button) : button, h("div", { key: 'd426de907da491e9a7b5152b8ff4ebe0260cdbc4', class: { list: true, open: this.open, [`position-${this.position}`]: true } }, h("slot", { key: '855cfac0879de6781c8b78e04ed2e763fb6b472b' }))));
53
53
  }
54
54
  componentDidLoad() {
55
55
  this.openChangeHandle();
@@ -89,7 +89,7 @@ export class XvPagination {
89
89
  this.observer.disconnect();
90
90
  }
91
91
  render() {
92
- return (h(Host, { key: '5e79a740a316e69140b0bfe15d20abd0ad101f17', class: { block: this.block, [this.currentVariant]: true, [this.size]: !!this.size } }, this.currentVariant === 'full' && (h("div", { key: 'd245357ffde38551f7c525ce2faa5da3a64aafa8', class: "block" }, h("select", { key: 'fd85f91dd5fe4398d45ae7fcdf81927ee1b7ab8e', class: "options-select", name: "options", onChange: this.handleItemsPerPageChange }, this.itemsPerPageOptions.map((v) => h("option", { value: v }, v))))), this.currentVariant === 'full' && (h("span", { key: '2ccd0496a72c4c7c68583676d8b0fd56eb5b586b', class: "block block_full" }, `${(this.page - 1) * this.itemsPerPage + 1} – ${Math.min(this.page * this.itemsPerPage, this.totalItems)} von ${this.totalItems} Einträgen`)), this.currentVariant === 'full' && (h("div", { key: '2e91fc35741e30f26d8647e44072e9d9a31cf5dd', class: "block" }, h("select", { key: 'a39e5c272afb906ac91dc0be61a4e783adc838ab', class: "options-select", name: "pages", onChange: this.handlePageSelectChange }, Array.from({ length: this.total }, (_, i) => (h("option", { selected: this.page === i + 1, value: i + 1 }, i + 1)))), h("span", { key: '81264d42ae67cff820d9525cdc3c598937e138ca' }, "von ", this.total, " Seiten"))), this.currentVariant === 'compact' && h("span", { key: '059f1f789aa308d9b0ff78cebbf6606fab07397f', class: "block" }, "Seite ", this.page), h("xv-button-v2", { key: '2191b3b00c020cfb853e7043c3378d8cd9dbd88a', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page - 1), disabled: this.page <= 1 }, h("span", { key: '41a14ea8a07fd033f14f4ee06a4d938d97f8a93d', slot: "icon-left", class: "icon icon_prev" })), this.currentVariant === 'regular' && (h("ul", { key: 'cd5c04c97839d7bfae450c60f23e75692edb8c20', class: "list" }, this.visiblePagesWithDots.map((page) => (h("li", { class: { active: this.page === page } }, page === 'dots-start' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "start", onChange: this.handlePageSelectChange }, Array.from({ length: this.page - 3 }, (_, i) => (h("option", { value: i + 2 }, i + 2)))))) : page === 'dots-end' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "end", onChange: this.handlePageSelectChange }, Array.from({ length: this.total - (this.page + 2) }, (_, i) => (h("option", { value: i + this.page + 2 }, i + this.page + 2)))))) : (h("xv-button-v2", { variant: "ghost", size: this.size, disabled: this.page === page, onClick: () => this.handlePageChange(page) }, h("span", { class: "list_page", slot: "icon-left" }, page)))))))), h("xv-button-v2", { key: 'bdaa5112ee8bb3fbdb30428ae7edffdfd4f82ca9', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page + 1), disabled: this.page >= this.total }, h("span", { key: '220b30d700026fbca9baa9f4e587349edef00009', slot: "icon-left", class: "icon icon_next" }))));
92
+ return (h(Host, { key: 'c633c6ac9fe8914f9bb3450454d29deb4498f33c', class: { block: this.block, [this.currentVariant]: true, [this.size]: !!this.size } }, this.currentVariant === 'full' && (h("div", { key: '4689c4ed6f64a9b5dc2e3395d53b490a730e5ca5', class: "block" }, h("select", { key: '5f862add397fe7cede0dd669cf2cac3ee2faed24', class: "options-select", name: "options", onChange: this.handleItemsPerPageChange }, this.itemsPerPageOptions.map((v) => h("option", { value: v }, v))))), this.currentVariant === 'full' && (h("span", { key: 'cf3e2494f6de619c2c7f6022e399a73a3008f959', class: "block block_full" }, `${(this.page - 1) * this.itemsPerPage + 1} – ${Math.min(this.page * this.itemsPerPage, this.totalItems)} von ${this.totalItems} Einträgen`)), this.currentVariant === 'full' && (h("div", { key: 'ba7e56f791156055ed691c650538a4f96ea17fa7', class: "block" }, h("select", { key: '253e38124f969a044dae1bca9fcfec208d632e19', class: "options-select", name: "pages", onChange: this.handlePageSelectChange }, Array.from({ length: this.total }, (_, i) => (h("option", { selected: this.page === i + 1, value: i + 1 }, i + 1)))), h("span", { key: '7ea03075ea162fc9207dd9289a0a5ccef2843b04' }, "von ", this.total, " Seiten"))), this.currentVariant === 'compact' && h("span", { key: 'a9823279d3d3a75b87b00a191f751593b9b5e697', class: "block" }, "Seite ", this.page), h("xv-button-v2", { key: '231a8a4b65aed97f8da971985189db36a134bd7b', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page - 1), disabled: this.page <= 1 }, h("span", { key: 'dcbb692dbc819e659f257b96325b7db487c98eaf', slot: "icon-left", class: "icon icon_prev" })), this.currentVariant === 'regular' && (h("ul", { key: '5f8b4afeb3d9db94cee15be516a670456d433753', class: "list" }, this.visiblePagesWithDots.map((page) => (h("li", { class: { active: this.page === page } }, page === 'dots-start' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "start", onChange: this.handlePageSelectChange }, Array.from({ length: this.page - 3 }, (_, i) => (h("option", { value: i + 2 }, i + 2)))))) : page === 'dots-end' ? (h("div", { class: "list_dots" }, h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), h("select", { name: "end", onChange: this.handlePageSelectChange }, Array.from({ length: this.total - (this.page + 2) }, (_, i) => (h("option", { value: i + this.page + 2 }, i + this.page + 2)))))) : (h("xv-button-v2", { variant: "ghost", size: this.size, disabled: this.page === page, onClick: () => this.handlePageChange(page) }, h("span", { class: "list_page", slot: "icon-left" }, page)))))))), h("xv-button-v2", { key: 'b38241f82c34e3f24c49b6b2afe1a221c23079b8', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page + 1), disabled: this.page >= this.total }, h("span", { key: '9a3f915b28dc8bb53079c8f66c7959e81163762f', slot: "icon-left", class: "icon icon_next" }))));
93
93
  }
94
94
  static get is() { return "xv-pagination"; }
95
95
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ export class XvProgressIndicatorItem {
5
5
  this.status = PROGRESS_ITEM_STATUS.NO_STARTED;
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: '7f9a0e37960085b181f4df0aaf9dbd6dc144f02f', status: this.status, class: { 'xv-progress-indicator-item': true } }, h("span", { key: '22c7fd4dadaebfbc8f8063117116e2fd17bd8262', class: "line" }), h("span", { key: 'c6062dffb1c65bc8fa77a617a743951e659495ba', class: "icon" }, h("svg", { key: '499662ee516b481a1beb1b7a8fb6693bb6cbcc48', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" }, h("path", { key: 'be65f82a8d70b25e81e989e40821224f285a0cc9', fill: "currentColor", d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }))), h("p", { key: '39808f455949498052c3ba9287c3b64c99b1e8eb', class: "label" }, h("slot", { key: '10cfdb91bfbf1952b9fe5594b870122c576f364b' }))));
8
+ return (h(Host, { key: '36c3535224bef33c901f5ca306e8a51f7ec67b7d', status: this.status, class: { 'xv-progress-indicator-item': true } }, h("span", { key: '07f68ece4250da1fa1c6865b2109181b455233ac', class: "line" }), h("span", { key: '8b1a10b3492a8565a3ece85e0992844b4789f6ed', class: "icon" }, h("svg", { key: '9b4d63c32a8c8b2b4e48ffd48e1bc97e9d28911b', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" }, h("path", { key: 'a324fd9401d75744e6f6be34b087035561699c46', fill: "currentColor", d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }))), h("p", { key: 'ced9d4b3685303b707ade7cfbb778e58bd76f354', class: "label" }, h("slot", { key: 'f016d1345554df36532f7521706a794c9cb6ed76' }))));
9
9
  }
10
10
  static get is() { return "xv-progress-indicator-v2-item"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -55,7 +55,7 @@ export class XvProgressIndicator {
55
55
  this.updateChildItems();
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: '67a47ac443c4f0e0063e0ae4af0fcec06864f011', variant: this.variant, size: this.size, class: { 'xv-progress-indicator': true } }, h("slot", { key: '8b1c678b2b7a74e61188dca9d9edbd437d8284bc' })));
58
+ return (h(Host, { key: 'bb40f89cb341b8eddf809abb091cf7e14ac76852', variant: this.variant, size: this.size, class: { 'xv-progress-indicator': true } }, h("slot", { key: '71e0cd0931a4173910094c6cd42f741052d54aba' })));
59
59
  }
60
60
  static get is() { return "xv-progress-indicator-v2"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -23,12 +23,12 @@ export class XvRadio {
23
23
  }
24
24
  }
25
25
  render() {
26
- return (h("div", { key: 'd40b5f0400612c9537ea112e01e829c03ae827de', class: {
26
+ return (h("div", { key: 'd39b23f3c28a16df2d1e49adc9fd9f40d7db4f0c', class: {
27
27
  'xv-radio': true,
28
28
  'xv-radio--reverse': this.reverse,
29
29
  'xv-radio--block': this.block,
30
30
  [`xv-radio--size-${this.size}`]: !!this.size,
31
- } }, this.label && h("p", { key: 'deead4fcbb73e680af10c5dcc9ad7b4843c9d2ab', class: "xv-radio_label" }, this.label), h("label", { key: 'ace6210128501fb1694aff34c125762601032db2', class: { 'xv-radio_container': true, disabled: this.disabled } }, h("div", { key: '0c71000612cc31ca9fdac5ad0854c5ef5fff1791', class: { 'xv-radio_input': true, 'xv-radio_input--error': !!this.error || this.error === '' } }, h("input", { key: '55ad8bb71c93e454d8988515b6727959e6b325ec', ref: el => (this.inputEl = el), type: "radio", name: this.name, value: this.value, checked: this.checked, readonly: this.readonly, disabled: this.disabled }), h("span", { key: 'a1baa76f8c9961c3acb8556efb9b60ea662d6d41', class: "xv-radio_input__mark" })), h("span", { key: '639960062feaafc77be47e0904e406ded0b22b16', class: "xv-radio_container__label" }, h("slot", { key: 'cbd5f9a3e3e321b94efc5c2d791fed29e8590b27' }))), this.error && typeof this.error === 'string' && (h("span", { key: 'ebc9f5e9e7bf28d9a6cc633c2bc279875b0d27a2', class: "xv-radio_msg xv-radio_msg--error" }, h("span", { key: '1467e27c08bc21b9ae536cbce7c5e9eba2584b3b', class: "xv-radio_msg__status", "aria-hidden": "true" }, "!"), this.error)), this.warning && typeof this.warning === 'string' && (h("span", { key: 'a1d43b280264ebf21aa1ec5425cef331a6b058be', class: "xv-radio_msg xv-radio_msg--warning" }, h("span", { key: '900da2c5c120bfb6f1759e10f93c8a6c9edb3b87', class: "xv-radio_msg__status", "aria-hidden": "true" }, "\u26A0"), this.warning)), h("slot", { key: '50e68537f783533eed55ff9b2feab7cdc831909f', name: "info" })));
31
+ } }, this.label && h("p", { key: '80d31ae0a11efd2932ccce7cdc63bd4cadddc10f', class: "xv-radio_label" }, this.label), h("label", { key: '3c35adf7f54f0f9a851895617c2a37af4a169f47', class: { 'xv-radio_container': true, disabled: this.disabled } }, h("div", { key: '7d855ff448ad0e1f84cab925d6b878266370b9cb', class: { 'xv-radio_input': true, 'xv-radio_input--error': !!this.error || this.error === '' } }, h("input", { key: 'a294a52f28430bdba5655d4887e4e57134abe949', ref: el => (this.inputEl = el), type: "radio", name: this.name, value: this.value, checked: this.checked, readonly: this.readonly, disabled: this.disabled }), h("span", { key: 'b3027b89b304089daacff7e859b60e39deae808e', class: "xv-radio_input__mark" })), h("span", { key: '3b1fc2ad56bedc1eda7047e133ce73b23e1b1444', class: "xv-radio_container__label" }, h("slot", { key: '43e176a5689ec2e8c926a69f06e66e431353dfa2' }))), this.error && typeof this.error === 'string' && (h("span", { key: 'b0d2bbfb9631cdf6b8a8485939d2409b375a7440', class: "xv-radio_msg xv-radio_msg--error" }, h("span", { key: '7c5596328ed9442238432afd32d717e1091708e7', class: "xv-radio_msg__status", "aria-hidden": "true" }, "!"), this.error)), this.warning && typeof this.warning === 'string' && (h("span", { key: '5a436705b45a94e32e34f3c5719297b84a2d4a9a', class: "xv-radio_msg xv-radio_msg--warning" }, h("span", { key: '9673b716cbc485730743b3c28904cc78a1fb3ece', class: "xv-radio_msg__status", "aria-hidden": "true" }, "\u26A0"), this.warning)), h("slot", { key: 'e96ff6f8ace0779168cee761635845b6aa17b819', name: "info" })));
32
32
  }
33
33
  connectedCallback() {
34
34
  var _a;
@@ -38,7 +38,7 @@ export class XvSlider {
38
38
  this.setValue(this.min);
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: '35907a0e5a4470e9d5ed2ee4d4f3c01050926d0c', class: { disabled: this.disabled, readonly: this.readonly } }, this.label && h("label", { key: 'e6bb35113fa72000600c82d53d5addf4973d03a3', class: "label" }, this.label), h("div", { key: 'adb58751a08e594f64ad3d09678b3ec6891a7352', class: "control" }, h("span", { key: 'a51d46e6c91ba302e0a82a15006613de1ad52d9c', class: "control_label" }, this.min), h("input", { key: 'a99f92fe8fb84b565f5068ea0387c946b8c9e9c9', type: "range", disabled: this.disabled || this.readonly, readonly: this.readonly, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, style: { backgroundSize: `${((this.value - this.min) * 100) / (this.max - this.min)}% 100%` } }), h("span", { key: 'dd3785d9fd2a8166b2e152855858f58d7fc530a8', class: "control_label" }, this.max), !this.notEditable && (h("input", { key: '5a8e1c2aea3377e03de2f82627d061f2d994653c', type: "number", disabled: this.disabled, readonly: this.readonly, name: `${this.name}-number-input`, step: this.step, min: this.min, max: this.max, value: this.value, onInput: this.handleNumberInput, onBlur: this.handleNumberBlur })))));
41
+ return (h(Host, { key: 'ef456842d1d4c3df75f6c0cb544a1fae87a29dec', class: { disabled: this.disabled, readonly: this.readonly } }, this.label && h("label", { key: 'f0214585603c03787d7f6301b2ac819bf39aa787', class: "label" }, this.label), h("div", { key: '6292a5442f275217220fe4242eeb8ac6f6347d63', class: "control" }, h("span", { key: '3ab0b137d2c6751c0deb24fde8a03f5321de268d', class: "control_label" }, this.min), h("input", { key: 'a960716059163f3add2d400338aad3314f3b9e3e', type: "range", disabled: this.disabled || this.readonly, readonly: this.readonly, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, style: { backgroundSize: `${((this.value - this.min) * 100) / (this.max - this.min)}% 100%` } }), h("span", { key: '47fda72522094ee1352c5723fac227bb501b6393', class: "control_label" }, this.max), !this.notEditable && (h("input", { key: '44b86c9b5a2fe3797fcb7a9fc3ceec327860a258', type: "number", disabled: this.disabled, readonly: this.readonly, name: `${this.name}-number-input`, step: this.step, min: this.min, max: this.max, value: this.value, onInput: this.handleNumberInput, onBlur: this.handleNumberBlur })))));
42
42
  }
43
43
  static get is() { return "xv-slider-v2"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -22,7 +22,7 @@ export class XvTableCell {
22
22
  }
23
23
  ;
24
24
  render() {
25
- return (h(Host, { key: '27ea81f44dc5c7c09c90f0f792e26a16fe0d7721' }, h("slot", { key: 'e6da972125b63aad5b37cf6d6f4d19ea15e5f2d5' })));
25
+ return (h(Host, { key: '831a54a37b0421da3e69c1cd19f41ed645027cc1' }, h("slot", { key: 'afd20a201d255060cca1f0f4257895cb7761143c' })));
26
26
  }
27
27
  static get is() { return "xv-table-v2-cell"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class XvTableExpand {
10
10
  };
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'df9afa02b87c359c0ff11d11549eee770b23461e' }, h("button", { key: 'b66c750d2aec9991634f45de7b6171fec3482d73', class: { 'expand-btn': true, open: this.open }, disabled: this.disabled, onClick: this.handleExpand }), h("slot", { key: '0085b4f9706caaaa9fc8ae2192a0d16a6eedbca9', name: XV_EXPANDABLE_KEY }), h("div", { key: '75b52c70e0e9ffe2e394792901667daa158dd6e5', class: { expandableContent: true, open: this.open } }, h("slot", { key: '77f7820ad831c8510771da9ce33cdce996618445' }))));
13
+ return (h(Host, { key: '3443d1d685a9dac874ed0127283f445a141c2982' }, h("button", { key: '7e43a26b0ec58090ff27cf0c10cab3260b2040c4', class: { 'expand-btn': true, open: this.open }, disabled: this.disabled, onClick: this.handleExpand }), h("slot", { key: 'aff47453aa4ac5a1d69cd5953b64ce51dd68ab9e', name: XV_EXPANDABLE_KEY }), h("div", { key: 'e5fd048f354a94272664110560a1d1b574f4fa15', class: { expandableContent: true, open: this.open } }, h("slot", { key: 'bf70da40879b37ececc8166bfd9d64f3584eef45' }))));
14
14
  }
15
15
  componentDidLoad() {
16
16
  setAttr(this.el.parentElement, XV_EXPANDABLE_KEY, true);
@@ -42,7 +42,7 @@ export class XvTableRow {
42
42
  }
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: '62d84a4ecbb34f861e898c2ef08d17a29aac95ed' }, this.variant !== undefined && (h("xv-table-v2-cell", { key: '748a3951daa693bb4813605bfccde2ef2efa5f5d', class: "cell-control" }, this.variant === 'checkbox' && (h("xv-checkbox-v2", { key: '4c0a8d93e1396f9c465d9f20a87601356485d7b6', 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: '6e5eaa27a92c859c6d21b84c456428c0e531629b', type: "radio", name: this.name, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly })))), h("slot", { key: '8da43e3b5741bd6c45432bbe8478ff046e9517c2' })));
45
+ return (h(Host, { key: '3b825498d2a19ed5c5995a5a88dc690ed2488343' }, this.variant !== undefined && (h("xv-table-v2-cell", { key: 'd0523d6ff070d06e2e3f6d1043276ba5d45ad897', class: "cell-control" }, this.variant === 'checkbox' && (h("xv-checkbox-v2", { key: '4a48e8c6dd712b8c1d80114c8e7bc1a5cafba496', 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: '61f9b67b4d2445e2e95ccd5223f2c2da670d2037', type: "radio", name: this.name, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly })))), h("slot", { key: 'a285f068bbb1abb881d3b0558610c91e9a27e11b' })));
46
46
  }
47
47
  componentWillLoad() {
48
48
  this.setInitialAttrs();
@@ -32,7 +32,7 @@ export class XvTable {
32
32
  .join(' ') + ' repeat(auto-fit, minmax(0, 1fr))');
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '75ad15f797f5821bf9e21acacd1277cb311d3eda', class: { batchVisible: !!this.selectedCount } }, h("slot", { key: 'cee3737f50536a3481624264fb4407c91e56a768', name: "title" }, !!this.el.title && h("h2", { key: '24b58941812cfddef18024d0b5799b6ba10e2b03', class: "xv-table-title" }, this.el.title)), h("slot", { key: 'e090a602c8d49081dbbfdd53121c353dbee89868', name: "toolbar" }), h("div", { key: '7eac8949c63b2bfd4127c62c653d48c4088f5fbd', class: "xv-table" }, h("div", { key: '07ae99340462ce10d8207f59d86e4447761a62c0', class: "batch-actions" }, h(Fragment, { key: 'e3fd6c641652152b1a452faae139987692225779' }, h("div", { key: '7da482e205002b274259f9f5d717134297605757', class: "batch-actions_content" }, h("slot", { key: 'cdd6df3557bfd427b45e49f73209b01bc46db97f', name: "batch" })), h("p", { key: '523dce9d24fa00cd83f2ca8166755b60f4f1e56c', class: "batch-actions_count" }, !!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`))), h("div", { key: 'deee97cc834fd56f1a986b84392d3e748ddeb78a', class: "xv-table_wrapper" }, h("slot", { key: '9046501f9d56af5d7628ef01828a08e1c1328f8c' }), h("slot", { key: '799900f73a1c0971f4099fa30f243d80f23fa5ed', name: "footer" })), !!this.loading && (h("div", { key: '22d68f0b022d7784eec657f0e025d4d2f7844c4e', class: "xv-table_loading" }, h("xv-loader-v2", { key: '56c95ea635013620c541856d659de5c80480e43f', size: SIZE_VAR.LG }))))));
35
+ return (h(Host, { key: '9165b2158fd6b349c668897732fddeca1020d4f6', class: { batchVisible: !!this.selectedCount } }, h("slot", { key: '942a4944c4a52526606ad86677c43bdae161c0bc', name: "title" }, !!this.el.title && h("h2", { key: '3ef51b8d693e8c9051e9e99d1a5b61fb0ed478fd', class: "xv-table-title" }, this.el.title)), h("slot", { key: '84f3f4d90446afc9e482d87c8b1a8933b3925674', name: "toolbar" }), h("div", { key: '380853357cdff87abaddcc332010510d6e43c224', class: "xv-table" }, h("div", { key: 'be7c3aa788d56981d09743940c282e947eebe77e', class: "batch-actions" }, h(Fragment, { key: 'ccab420ac3275c4164842c74f0b6722b502b04f4' }, h("div", { key: '93d9a2904b6ede48f75420f4ba54c23f852834bf', class: "batch-actions_content" }, h("slot", { key: '994048ab8173b5d2bde4814c97728eea50c17413', name: "batch" })), h("p", { key: 'bdf9db2d4a24ce565516b6737b58129522fc679a', class: "batch-actions_count" }, !!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`))), h("div", { key: 'b9e0fa25ddfd331c0a1096f4051ebf78aef7c80c', class: "xv-table_wrapper" }, h("slot", { key: '15d4da2a12dec31d44fcfe23013bf287576c0f5d' }), h("slot", { key: 'b95b04b5bf2e4beaf138b640e1487e3016413dac', name: "footer" })), !!this.loading && (h("div", { key: '17038219b16e52bc087fe6886ebe79df8f85d6cc', class: "xv-table_loading" }, h("xv-loader-v2", { key: '0b06ac0be73bb3c0ff8dccf7311e04ff591e35b6', size: SIZE_VAR.LG }))))));
36
36
  }
37
37
  componentWillLoad() {
38
38
  this.setColsSizeTemplate();
@@ -6,7 +6,7 @@ export class XvTab {
6
6
  this.loading = false;
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: '6555de9e7705b8b66c97388a72177b794eca84b4', disabled: this.disabled, name: this.name }, this.loading ? h("xv-loader-v2", { size: SIZE_VAR.LG }) : h("slot", null)));
9
+ return (h(Host, { key: 'a3a246e230762d73d3121fc7332944268ff98f51', 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: '8f951ed7d5c14b57b94a58999a3b07a890980085', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, h("div", { key: 'f619c902e3f3aec5358ad5d14fb5e5bb290fefe4', class: "xv-tag_content", part: "details-content" }, h("slot", { key: '2fb08bedc4ba1699cbe0f0ab3792f327dd3b0797' })), this.closeable && (h("button", { key: '7d6eb2eb600e0701fddf1dc8ab22dcd082cacb01', onClick: this.closeHandler.bind(this), class: "xv-tag_close" }))));
16
+ return (h(Host, { key: '7ef853745a7840918420ece66e329f7c5b18a066', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, h("div", { key: 'b00e04c91e626964a6b37180c2970be4f0a3155d', class: "xv-tag_content", part: "details-content" }, h("slot", { key: 'bb288888f2bff1d730283dadc9737128fd1ca7d8' })), this.closeable && (h("button", { key: 'e184830bf1ffd57caf9142ab9995efcbcd059611', 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"; }
@@ -232,12 +232,12 @@ export class XvTagCombobox {
232
232
  const suggestionsVisible = this.open && this.filtered.length > 0;
233
233
  const ariaOwns = suggestionsVisible ? `${this.uid}-listbox` : undefined;
234
234
  const activedesc = this.highlighted >= 0 ? this.optionId(this.highlighted) : undefined;
235
- return (h(Host, { key: 'd1d74db6d11216aef10ee08e94013dab550aa66f', class: "xv-combobox", part: "root", size: this.size }, this.label && h("label", { key: '73fbbfcdda4b757987be007c0de8a5595a207638', class: "label" }, this.label), h("div", { key: 'bc9e1d243583a6a374b8df47d1d23363877912bb', class: {
235
+ return (h(Host, { key: '96495f25e8a105ea6a93b7e837e24ae6083f3d42', class: "xv-combobox", part: "root", size: this.size }, this.label && h("label", { key: 'bee7ba8b79541e0e98be5bd4b66a077ce16e4dd1', class: "label" }, this.label), h("div", { key: '920fc9e5876e55e3c243dcec19cb4ebbd066b4cc', class: {
236
236
  'control': true,
237
237
  'control--disabled': this.disabled,
238
238
  'control--error': !!this.error,
239
239
  'control--readonly': !!this.readonly,
240
- }, onClick: () => this.blockClick() }, h("div", { key: '36e10921183da10b2e54d8ccf2f1fa35e700c8a8', 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: 'fb0664b5960c1198ccaca5f3c1fb59a23d9b499f', 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: '59d6037edf6cfe06b05888b2dff6ab28ab5ccaaf', class: "message message--error" }, this.error)), this.warning && typeof this.warning === 'string' && (h("p", { key: '910fcf6bfb6e186ce306c1603339c96797715950', class: "message message--warning" }, this.warning)), suggestionsVisible && (h("ul", { key: '9653f4b8305bf7a8cc1a2ea6d1c09f187efc9b15', 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)))))))))));
240
+ }, onClick: () => this.blockClick() }, h("div", { key: 'f01b3d43dbe2a242016ff8480a5594c755839730', 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: '420992b83aaa3db4953efa56120fc4e3f9705c68', 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: 'db69212f73783866a0fde4bb74895c18d3b297eb', class: "message message--error" }, this.error)), this.warning && typeof this.warning === 'string' && (h("p", { key: 'b61a345f03e7d6dbcb2c15721362a651a27486bf', class: "message message--warning" }, this.warning)), suggestionsVisible && (h("ul", { key: '035b4037f2a86e1b153b9391a1d140111e0d0cb6', 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
241
  }
242
242
  static get is() { return "xv-tag-combobox"; }
243
243
  static get encapsulation() { return "shadow"; }
@@ -23,13 +23,13 @@ export class XvTextInput {
23
23
  };
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '4d5169a43ea29f193a6287f1320400eae94dd589', class: { disabled: !!this.disabled } }, h("label", { key: '4ccd050c88b498e49fd8785748f2aa66537b38a7', class: "control" }, this.label && h("span", { key: '6b803a98a4c5f9923337bc7fdf934cd63515d648', class: "control_label" }, this.label), h("div", { key: 'f4aca7146783d2503d86eadff8ca3f7343f72566', class: {
26
+ return (h(Host, { key: '2e6fa4c7fd866857e104cc9eee8bd7f1e1000d36', class: { disabled: !!this.disabled } }, h("label", { key: '3818f53ff4444350d20e94df3ed8c333fa3afca9', class: "control" }, this.label && h("span", { key: '0b76eb49d4c63e9d17d67e1ae01976e356230957', class: "control_label" }, this.label), h("div", { key: 'cc0c3bdad84572f104188f06f4b7170e448e49a0', 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: '6514e1993fb6a98d5062fa92ff268b76663f0f19', 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: '45e3738dbf26b3265c3e67002935ad4721d2c1ce', class: "control_input__icons" }, this.loading && h("xv-loader-v2", { key: '42724c4387abf3bdf9d99a15b085cdff3b541009', 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: 'e0155dd2f5ed48cf26bc48bc4f408437574493ee', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, h("svg", { key: '708c58c9a454e6e6f1c0ad1c6e3d72b7bac39f5a', 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: '369be9311d209bbc14eb60fadce82245f8e47567', 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: '3a24d98edc170e0b4e2ee9ebd5df39febb5952aa', 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: '874381befedbf3083074142d966fb6ad50e4f4df', class: "control_input__icons" }, this.loading && h("xv-loader-v2", { key: '1e444f92682c77c2eb38bb76b903247a1ddd0877', 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: 'ff366b830506bf866c747094f9041a498dc9ff15', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, h("svg", { key: '911022c330c7d92838578a45e26d7ebd9da7fd62', 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: '7a8b366d1ec3bd6fe1ccabacedbea7c72a740fd6', 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: '47b1c10307f85b474a7fc28c37e22831577fd3d7', class: { disabled: !!this.disabled } }, h("label", { key: '671f31b4a0c75a2d119cc73cb29dc4a2549003c3', class: "control" }, (this.label || this.max) && (h("p", { key: '651e7e44d133d86d89b8294fed8233d9f99faa1c', class: "control_label" }, h("span", { key: 'f8837d2eeb882c2a121378a40b60dcc92e6a5c77' }, this.label, this.info && h("xv-tooltip-v2", { key: '585b40180c3d395b4d33771661df01f0ac91dd17', message: this.info })), this.max !== undefined && !this.counterHide && (h("span", { key: '19551b1ed59487a3b9c30c55eb021b7bcdec0f37', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), h("div", { key: '1adffe46b46a19c8f86cb6fa3d7e85d17f8d4beb', class: {
23
+ return (h(Host, { key: '03e7ebffa73fe67ba9f853af4a1598d77711e687', class: { disabled: !!this.disabled } }, h("label", { key: 'e1329d2693ad53a17e26d20b6b6f91f24c17fb08', class: "control" }, (this.label || this.max) && (h("p", { key: '51f236a55bcc5d228247aa5df7ed780175790a39', class: "control_label" }, h("span", { key: '3212f353d07f9085e14a0a57357919d7b0d839c0' }, this.label, this.info && h("xv-tooltip-v2", { key: 'c3aa28ecdad09b8ec453027f7cad202d0cdcdec4', message: this.info })), this.max !== undefined && !this.counterHide && (h("span", { key: '0faf004149c127fde7540e492ecf8bd456aeaca7', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), h("div", { key: 'dd412a7a38499fe6a04c23f62ac927cb2c0dcec3', 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: '90e061cf6bdafaccaca89964b14534f6a6b10e8d', 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: 'ce1a71e471134f55bef5784a95e7cdd7114bf27b', class: "control_input__icons" }, this._renderIcon()))), this.helper && h("p", { key: '0b3a5f8e2462d1a6f32135311d079114cb009869', 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: '2dca7de68cf3eeaa7c6e01b9e00da26187bb39a1', 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: '88bc05fdb4ad329457b831bb02fba92d073f6953', class: "control_input__icons" }, this._renderIcon()))), this.helper && h("p", { key: 'e0174e4a3af8217a756f1433872a78bc41cffa8a', 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)
@@ -29,7 +29,7 @@ export class XvTile {
29
29
  this.checked = !this.checked;
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '209c690c026b5d098a7b123d2870e96b2872280e', class: "xv-tile--host" }, h("label", { key: 'c2a3f19d325ee1694a63470b7b65ff94b8af3299', class: {
32
+ return (h(Host, { key: 'c6d00c040c1125441fbfbeeec787a49e6d96edd8', class: "xv-tile--host" }, h("label", { key: 'f2460110e9ff5be0fb97b8d3bf6a60be13d12aef', class: {
33
33
  [this.el.className]: !!this.el.className,
34
34
  'xv-tile': true,
35
35
  [`xv-tile--variant-${this.variant}`]: !!this.variant,
@@ -37,7 +37,7 @@ export class XvTile {
37
37
  'xv-tile--disabled': !!this.disabled,
38
38
  'selected': !!this.checked,
39
39
  'xv-tile--error': !!this.error,
40
- } }, h("div", { key: 'c959545d1675bc6b3dd07c25dd4281f626dec2c7', class: "xv-tile_content" }, this.label && h("p", { key: 'b404bb033a2a8ad6324f97f623c3e183249938ba', class: "xv-tile_content__title" }, this.label), h("slot", { key: 'ab0e1da161b8d20f50e4d515fb74069e1cd51fd2' })), this.variant === 'selectable' && (h("div", { key: '288292da2e7b914f91ed608c8f1bd530b5fe37dc', class: "xv-tile_control" }, this.multiple ? (h("input", { type: "checkbox", disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })) : (h("input", { type: "radio", disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })))), (this.variant === 'clickable' || this.variant === 'expandable') && (h("div", { key: '625f2cf08119e44a7db50341d65a6e795f4e98db', class: "xv-tile_footer" }, h("button", { key: '07e4d58810dff8ab87755953319042f493506401', class: { 'xv-tile_footer__icon': true, [`icon--${this.variant}`]: true, open: this.checked } }))), h("div", { key: 'aae82cfee6c8edfe57a2206228b3008debf200f0', class: { 'xv-tile_expandable': true, open: this.checked } }, h("slot", { key: '628868dba6529768f7d0f9d24f56e42b27e63b63', name: "expandable" })))));
40
+ } }, h("div", { key: '03dfbbb5b4e64827f420499689d9c715bf9c1eda', class: "xv-tile_content" }, this.label && h("p", { key: '0ce8526939aa10dd81643297228f804ed7e06d8b', class: "xv-tile_content__title" }, this.label), h("slot", { key: '026f8d5af0ffc6f3b1c2b0ba46e571649ebe80a4' })), this.variant === 'selectable' && (h("div", { key: 'dacd8cffe17187119d1e2f3b27a47398104e9b8b', class: "xv-tile_control" }, this.multiple ? (h("input", { type: "checkbox", disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })) : (h("input", { type: "radio", disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })))), (this.variant === 'clickable' || this.variant === 'expandable') && (h("div", { key: '198aec62cbc33730c39a32166684ac03d4f835ca', class: "xv-tile_footer" }, h("button", { key: '4add8f9f71e08e54c59ea48149a428dbb64e084d', class: { 'xv-tile_footer__icon': true, [`icon--${this.variant}`]: true, open: this.checked } }))), h("div", { key: 'ea222f9359fb28d26addec27522a51e83b23f9ae', class: { 'xv-tile_expandable': true, open: this.checked } }, h("slot", { key: 'af0520de5ba1d48d6c31ed11ea2e94e87b68afdd', name: "expandable" })))));
41
41
  }
42
42
  static get is() { return "xv-tile"; }
43
43
  static get originalStyleUrls() {
@@ -15,7 +15,7 @@ export class XvToggle {
15
15
  };
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'b3e610e0b75cf984115a9b717be9ff7e8e0b7852', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && h("span", { key: '82130c3f1bb5b7675caf52acab5489f921cfe3b6', class: "label" }, this.label), h("label", { key: 'c8b7370b1734aa8a244348c2e611d2ad3a05a1d8', class: "control" }, h("slot", { key: '2fd5b86c825f8a168c15549eb328f2e94170a523', name: "before" }), h("div", { key: '6bb1b722da14bf07b8a92b9ba66ea036e9712cd7', class: "control_input" }, h("input", { key: '8884238156c8ec7ca41474fa9a19d9be850dbb90', 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: '65af312a9017b1efbbfc2aac56f852894bb41a4a', class: "toggle" })), h("slot", { key: '14e18bedc0c3934a8e51c0b4afd4355cee7f2ece', name: "after" }))));
18
+ return (h(Host, { key: 'a4c7db088862dcae9471dd95b2698af1f77d5017', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && h("span", { key: '962d886c27033e34c27f5422af41324ad626972e', class: "label" }, this.label), h("label", { key: '3ab94e6af077e0a3231390e348fd087db0b88de2', class: "control" }, h("slot", { key: '5df02cdcda6edcc2eaa155b99a8bd5ca18971955', name: "before" }), h("div", { key: 'a8fd1d667f83b5ac7eb9140101e98a2ef6b5b948', class: "control_input" }, h("input", { key: 'c36f9ee766631e89ddee7e5ded5f611a2100222f', 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: '331bca3c9e61dce5a7bde5ce4fd1a49d961a1c62', class: "toggle" })), h("slot", { key: '0d5313bb74c80168f24152d161e96c885eb43b68', 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: 'e7d71dc984d98489db55d92397b25bd9d719bce4', class: "xv-toggle-tip" }, h("div", { key: 'ff13395cea21e6345f1a36b6b543fc9e434ef965', 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: '0bb796b2062a8f0531e6bcd456e02de40486bda3', name: "trigger" }, h("svg", { key: 'fe69949a7ad3006a0e4dd131427e209e29005f69', class: "trigger_icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: 'c938e1f301e9ebdc26ebfafb4178f5ebc919d5c0', 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: '5e3d1b7d56cac46c356ba489045512b28c5397a5', class: { popover: true, autoSize: !!this.autoSize }, role: "tooltip", tabindex: "-1", ref: (el) => (this.popoverEl = el) }, h("div", { key: 'd57c58e95adcdce5ed0611fc925ff4f202f199b8', class: "popover-tip", part: "tip", "data-popper-arrow": "" }), h("div", { key: '3e5744f01027652dec48650320d4307c948d0d98', class: "popover-content" }, h("slot", { key: '4b1876e83382f5f0922334993b72a5e94975d5bb', name: "header" }), h("slot", { key: 'a48f6889f93eb9f34b6310325a1d54d517277fad', name: "body" }), h("slot", { key: 'e59929a8bc5dc03db7d72be942e866bec4ad7b1d', name: "footer" })))));
70
+ return (h(Host, { key: 'ea323b0b30d9c64a8331cdcbe26604aae7514919', class: "xv-toggle-tip" }, h("div", { key: '755153ca241f3b6dbf4afd679e32f37e02cc6e06', 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: 'de6c5bebb14b9527778583721613dbee8d31c7b9', name: "trigger" }, h("svg", { key: '422c8198fc6c2acbb7741eeb4fe80a836c513b79', class: "trigger_icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: '27acc8437785b92f7e2863d8698e7883e4bd75c1', 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: '02360fd327e3f87ed053a5ad739df8272812c9e5', class: { popover: true, autoSize: !!this.autoSize }, role: "tooltip", tabindex: "-1", ref: (el) => (this.popoverEl = el) }, h("div", { key: '854fdfebc92d0329104dab26f1971528a99bb1f5', class: "popover-tip", part: "tip", "data-popper-arrow": "" }), h("div", { key: '34dd98113ac8155556f800cd3fb79c57123bdae7', class: "popover-content" }, h("slot", { key: 'd00d4259e6eeddfac8ba57e370920ce551fe7687', name: "header" }), h("slot", { key: '5bf9adb4a8060ec40131010f256c5b26f47afe0e', name: "body" }), h("slot", { key: '76c01a0f68366f63708520716d2c6c5a37106cce', 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: '17cef92541c1f82a6e46a50180d7aff2051d0f49', role: "tooltip", class: {
41
+ return (h(Host, { key: '4ea241a9d4a49c933300886b7d8cf54321462452', 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: '13737a6840ac23766f99d95ab2eab59f70942452' }, h("svg", { key: '763109950b3b06615f601e8d2a50adf23ae88a35', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: '0d2ceb6e6ff2c1727ee134994aa07d8469f5cfa4', 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: '3df199308449e2fea26fd538b72f52b3f08e012b' }, h("svg", { key: 'c10dcac4a351f1bcb7feadca1650abbe321526ba', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: '6ba8aa00b18f4aa21531362f247db04de95c35ec', 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() {