xv-webcomponents 1.30.1-qa.0 → 1.30.3-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.
- package/dist/cjs/xv-accordion-v2_50.cjs.entry.js +37 -28
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.css +6 -0
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.css +0 -3
- package/dist/collection/components/xv-pagination/xv-pagination.css +16 -0
- package/dist/collection/components/xv-pagination/xv-pagination.js +10 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +1 -1
- package/dist/collection/components/xv-radio/xv-radio.js +2 -2
- package/dist/collection/components/xv-slider/xv-slider.js +1 -1
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +1 -1
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +1 -1
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +1 -1
- package/dist/collection/components/xv-table/xv-table.js +1 -1
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
- package/dist/collection/components/xv-tabs/xv-tabs.css +1 -0
- package/dist/collection/components/xv-tag/xv-tag.js +1 -1
- package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +2 -2
- package/dist/collection/components/xv-text-input/xv-text-input.js +2 -2
- package/dist/collection/components/xv-textarea/xv-textarea.js +2 -2
- package/dist/collection/components/xv-tile/xv-tile.js +2 -2
- package/dist/collection/components/xv-toggle/xv-toggle.js +1 -1
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +1 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +2 -2
- package/dist/esm/xv-accordion-v2_50.entry.js +37 -28
- package/dist/types/components/xv-pagination/xv-pagination.d.ts +1 -0
- package/dist/xv-webcomponents/{p-1292ef47.entry.js → p-b7580915.entry.js} +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/hydrate/index.js +37 -28
- package/hydrate/index.mjs +37 -28
- package/package.json +1 -1
package/hydrate/index.mjs
CHANGED
|
@@ -93048,7 +93048,7 @@ class XvNumberInput {
|
|
|
93048
93048
|
}; }
|
|
93049
93049
|
}
|
|
93050
93050
|
|
|
93051
|
-
const xvOverflowMenuCss = () => `:host{--overflow-menu-size:40px;--overflow-menu-item-padding:11px 16px;display:inline-flex;flex-direction:column;position:relative}:host .btn{display:inline-flex;align-items:center;justify-content:center;width:var(--overflow-menu-size);height:var(--overflow-menu-size);background-color:transparent;border:1px solid transparent;transition:300ms ease-in-out color, 300ms ease-in-out background-color, 200ms ease box-shadow;font-size:calc(var(--overflow-menu-size) / 2);color:var(--icon-primary);border-radius:5%;margin:0;padding:0}:host .btn:hover{cursor:pointer;color:var(--link-primary-hover);background-color:var(--background-hover)}:host .btn:active{background-color:var(--background-active);color:var(--icon-disabled)}:host .btn:focus-visible{outline:2px solid var(--focus, #273435);outline-offset:-2px}:host .btn:disabled{background-color:transparent;opacity:0.5;cursor:not-allowed}:host .list{z-index:99;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;background-color:var(--layer-01);position:absolute;top:100%;left:0;max-height:0;overflow:hidden;outline:none;border-radius:3px;transition:200ms ease-in-out max-height, 100ms ease box-shadow;min-width:160px;max-width:50vw;width:max-content}:host .list.open{overflow:visible}:host .list
|
|
93051
|
+
const xvOverflowMenuCss = () => `:host{--overflow-menu-size:40px;--overflow-menu-item-padding:11px 16px;display:inline-flex;flex-direction:column;position:relative}:host .btn{display:inline-flex;align-items:center;justify-content:center;width:var(--overflow-menu-size);height:var(--overflow-menu-size);background-color:transparent;border:1px solid transparent;transition:300ms ease-in-out color, 300ms ease-in-out background-color, 200ms ease box-shadow;font-size:calc(var(--overflow-menu-size) / 2);color:var(--icon-primary);border-radius:5%;margin:0;padding:0}:host .btn:hover{cursor:pointer;color:var(--link-primary-hover);background-color:var(--background-hover)}:host .btn:active{background-color:var(--background-active);color:var(--icon-disabled)}:host .btn:focus-visible{outline:2px solid var(--focus, #273435);outline-offset:-2px}:host .btn:disabled{background-color:transparent;opacity:0.5;cursor:not-allowed}:host .list{z-index:99;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;background-color:var(--layer-01);position:absolute;top:100%;left:0;max-height:0;overflow:hidden;outline:none;border-radius:3px;transition:200ms ease-in-out max-height, 100ms ease box-shadow;min-width:160px;max-width:50vw;width:max-content}:host .list.open{overflow:visible}:host .list.position-right{left:initial;right:0;border-top-right-radius:0}:host .list.position-left{border-top-left-radius:0}:host .list.position-center{transform:translateX(-50%)}:host([size=xs]){--overflow-menu-item-padding:4px 16px;--overflow-menu-size:24px}:host([size=sm]){--overflow-menu-size:32px;--overflow-menu-item-padding:7px 16px}:host([size=md]){--overflow-menu-size:40px;--overflow-menu-item-padding:11px 16px}:host([size=lg]){--overflow-menu-size:48px;--overflow-menu-item-padding:15px 16px}:host([size=xl]){--overflow-menu-size:56px;--overflow-menu-item-padding:16px}:host([open]) .btn{border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:var(--layer-01);box-shadow:-2px 2px 2px 0 rgba(0, 0, 0, 0.1);z-index:1}:host([open]) .list{max-height:500px;box-shadow:-2px 2px 2px 0 rgba(0, 0, 0, 0.1)}:host(.anchored){display:contents}:host(.anchored) .list{position:fixed;top:0;left:0;max-height:none;overflow:visible}:host(.anchored) .list:not(.open){display:none}:host(.anchored) .list.open{box-shadow:0 2px 6px rgba(0, 0, 0, 0.3)}`;
|
|
93052
93052
|
|
|
93053
93053
|
let overflowMenuUid = 0;
|
|
93054
93054
|
class XvOverflowMenu {
|
|
@@ -93377,7 +93377,7 @@ class XvOverflowMenu {
|
|
|
93377
93377
|
}; }
|
|
93378
93378
|
}
|
|
93379
93379
|
|
|
93380
|
-
const xvOverflowMenuItemCss = () => `@charset "UTF-8";:host{display:block;background-color:transparent;transition:200ms ease background-color;user-select:none;text-align:left;color:var(--text-secondary, #515151);font-family:var(--ff-body, Tahoma);font-size:var(--fz-md, 14px);line-height:128.571%;letter-spacing:0.16px}.item_inner{display:flex;align-items:center;gap:8px;width:100%;color:inherit;font:inherit;text-decoration:none}.item_icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;line-height:0}.item_label{flex:1;min-width:0}:host(:not([disabled]):hover){cursor:pointer;background-color:var(--layer-hover-01, #E9E9E9)}:host(:not([disabled]):active){background-color:var(--layer-active-01, #D1D1D1)}:host(:not([disabled]):focus),:host(:not([disabled])[active]){outline:none;box-shadow:inset 0 0 0 2px var(--focus, #273435)}:host([variant=danger]){background-color:var(--text-error, #D62512);color:var(--text-on-color, #FFF)}:host([variant=danger]:not([disabled]):hover),:host([variant=danger]:not([disabled])[active]),:host([variant=danger]:not([disabled]):focus){background-color:var(--support-error, #F1290E)}:host([variant=danger]:not([disabled]):active){background-color:var(--text-error, #D62512)}:host([variant=ghost]),:host([variant=ghost]:hover),:host([variant=ghost]:active){cursor:default;background-color:var(--background);color:var(--text-primary)}:host([disabled]){background-color:var(--layer-01, #F7F7F7) !important;color:var(--text-disabled) !important;box-shadow:none !important;cursor:not-allowed}:host([divider]){border-top:1px solid var(--border-subtle-01, #E0E0E0)}`;
|
|
93380
|
+
const xvOverflowMenuItemCss = () => `@charset "UTF-8";:host{display:block;background-color:transparent;transition:200ms ease background-color;user-select:none;text-align:left;color:var(--text-secondary, #515151);font-family:var(--ff-body, Tahoma);font-size:var(--fz-md, 14px);line-height:128.571%;letter-spacing:0.16px}.item_inner{display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;padding:var(--overflow-menu-item-padding);color:inherit;font:inherit;text-decoration:none}.item_icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;line-height:0}.item_label{flex:1;min-width:0}:host(:not([disabled]):hover){cursor:pointer;background-color:var(--layer-hover-01, #E9E9E9)}:host(:not([disabled]):active){background-color:var(--layer-active-01, #D1D1D1)}:host(:not([disabled]):focus),:host(:not([disabled])[active]){outline:none;box-shadow:inset 0 0 0 2px var(--focus, #273435)}:host([variant=danger]){background-color:var(--text-error, #D62512);color:var(--text-on-color, #FFF)}:host([variant=danger]:not([disabled]):hover),:host([variant=danger]:not([disabled])[active]),:host([variant=danger]:not([disabled]):focus){background-color:var(--support-error, #F1290E)}:host([variant=danger]:not([disabled]):active){background-color:var(--text-error, #D62512)}:host([variant=ghost]){padding:var(--overflow-menu-item-padding)}:host([variant=ghost]),:host([variant=ghost]:hover),:host([variant=ghost]:active){cursor:default;background-color:var(--background);color:var(--text-primary)}:host([disabled]){background-color:var(--layer-01, #F7F7F7) !important;color:var(--text-disabled) !important;box-shadow:none !important;cursor:not-allowed}:host([divider]){border-top:1px solid var(--border-subtle-01, #E0E0E0)}`;
|
|
93381
93381
|
|
|
93382
93382
|
class XvOverflowMenuItem {
|
|
93383
93383
|
constructor(hostRef) {
|
|
@@ -93434,8 +93434,9 @@ class XvOverflowMenuItem {
|
|
|
93434
93434
|
}; }
|
|
93435
93435
|
}
|
|
93436
93436
|
|
|
93437
|
-
const xvPaginationCss = () => `:host{display:inline-flex}:host .options-select{align-self:center;border:none;background-color:transparent;padding-block:var(--spacing-03);padding-inline-start:var(--spacing-02)}:host .block{display:inline-flex;align-items:center;flex-wrap:nowrap;white-space:nowrap;margin:0 var(--spacing-03);column-gap:var(--spacing-03)}:host .block_full{flex:1}:host .icon{box-sizing:border-box;width:0;height:0;border:solid currentColor;border-width:0 2px 2px 0;display:inline-block;padding:0.25em}:host .icon_prev{transform:rotate(135deg);margin-left:5px}:host .icon_next{transform:rotate(-45deg);margin-right:5px}:host .list{display:flex;list-style:none;padding:0;margin:0}:host .list_options{display:flex;align-items:center;white-space:nowrap;column-gap:var(--spacing-04)}:host .list_options__middle{display:flex;flex:1}:host .list_page{user-select:none}:host .list .active .list_page{color:var(--text-on-color-active, #000);font-weight:700}:host .list .active .list_page:after{content:"";position:absolute;top:90%;left:25%;width:50%;height:2px;background-color:var(--text-on-color-active, #000)}:host .list_dots{position:relative;display:inline-block}:host .list_dots__icon{user-select:none;display:flex;width:auto;height:100%;align-items:center;justify-content:center}:host .list_dots select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:none;border:none;cursor:pointer;color:transparent;position:absolute;left:0;top:0;width:100%;height:100%;padding-inline:var(--spacing-03)}:host .list_dots select option{background-color:white;color:var(--text-primary, #333)}:host(.block){display:flex}:host([variant=compact]){justify-content:flex-end}:host([size=xs]){column-gap:var(--spacing-04)}:host([size=xs]) .list{column-gap:var(--spacing-04)}`;
|
|
93437
|
+
const xvPaginationCss = () => `:host{display:inline-flex}:host .options-select{align-self:center;border:none;background-color:transparent;padding-block:var(--spacing-03);padding-inline-start:var(--spacing-02)}:host .page-input{align-self:center;box-sizing:content-box;font:inherit;color:inherit;text-align:center;background-color:transparent;border:1px solid var(--border-subtle-01);padding:var(--spacing-02) var(--spacing-03);appearance:textfield;-moz-appearance:textfield}:host .page-input::-webkit-inner-spin-button,:host .page-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}:host .block{display:inline-flex;align-items:center;flex-wrap:nowrap;white-space:nowrap;margin:0 var(--spacing-03);column-gap:var(--spacing-03)}:host .block_full{flex:1}:host .icon{box-sizing:border-box;width:0;height:0;border:solid currentColor;border-width:0 2px 2px 0;display:inline-block;padding:0.25em}:host .icon_prev{transform:rotate(135deg);margin-left:5px}:host .icon_next{transform:rotate(-45deg);margin-right:5px}:host .list{display:flex;list-style:none;padding:0;margin:0}:host .list_options{display:flex;align-items:center;white-space:nowrap;column-gap:var(--spacing-04)}:host .list_options__middle{display:flex;flex:1}:host .list_page{user-select:none}:host .list .active .list_page{color:var(--text-on-color-active, #000);font-weight:700}:host .list .active .list_page:after{content:"";position:absolute;top:90%;left:25%;width:50%;height:2px;background-color:var(--text-on-color-active, #000)}:host .list_dots{position:relative;display:inline-block}:host .list_dots__icon{user-select:none;display:flex;width:auto;height:100%;align-items:center;justify-content:center}:host .list_dots select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:none;border:none;cursor:pointer;color:transparent;position:absolute;left:0;top:0;width:100%;height:100%;padding-inline:var(--spacing-03)}:host .list_dots select option{background-color:white;color:var(--text-primary, #333)}:host(.block){display:flex}:host([variant=compact]){justify-content:flex-end}:host([size=xs]){column-gap:var(--spacing-04)}:host([size=xs]) .list{column-gap:var(--spacing-04)}`;
|
|
93438
93438
|
|
|
93439
|
+
const PAGE_SELECT_LIMIT = 100;
|
|
93439
93440
|
class XvPagination {
|
|
93440
93441
|
constructor(hostRef) {
|
|
93441
93442
|
registerInstance(this, hostRef);
|
|
@@ -93469,6 +93470,14 @@ class XvPagination {
|
|
|
93469
93470
|
return;
|
|
93470
93471
|
this.handlePageChange(value);
|
|
93471
93472
|
};
|
|
93473
|
+
this.handlePageInputChange = (e) => {
|
|
93474
|
+
const input = e.target;
|
|
93475
|
+
const value = Math.trunc(Number(input.value));
|
|
93476
|
+
const page = input.value === '' || isNaN(value) ? this.page : Math.min(Math.max(value, 1), this.total);
|
|
93477
|
+
input.value = `${page}`;
|
|
93478
|
+
if (page !== this.page)
|
|
93479
|
+
this.handlePageChange(page);
|
|
93480
|
+
};
|
|
93472
93481
|
this.handleItemsPerPageChange = (e) => {
|
|
93473
93482
|
const value = Number(e.target.value);
|
|
93474
93483
|
if (isNaN(value))
|
|
@@ -93544,7 +93553,7 @@ class XvPagination {
|
|
|
93544
93553
|
this.observer.disconnect();
|
|
93545
93554
|
}
|
|
93546
93555
|
render() {
|
|
93547
|
-
return (hAsync(Host, { key: '
|
|
93556
|
+
return (hAsync(Host, { key: '223f480b119c7cf8889c5eadbaf76c922ef32a29', class: { block: !!this.block, [this.currentVariant]: true, [this.size]: !!this.size } }, this.currentVariant === 'full' && (hAsync("div", { key: '392c73e7d447835de320252e8cb06f6701f47b7d', class: "block" }, hAsync("select", { key: '510004c0a74f06930f75c573eaefa69dcb885e8b', class: "options-select", name: "options", onChange: this.handleItemsPerPageChange }, this.pageSizeOptions.map((v) => hAsync("option", { selected: v === this.itemsPerPage, value: v }, v))))), this.currentVariant === 'full' && (hAsync("span", { key: '396b19523f79318aceb3bd61e3c930dfe2fd24ec', 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' && (hAsync("div", { key: '568521165bfabaa38a2c7cec1eb5ed3b2712eb27', class: "block" }, this.total > PAGE_SELECT_LIMIT ? (hAsync("input", { class: "page-input", type: "number", name: "pages", min: 1, max: this.total, value: this.page, style: { width: `${`${this.total}`.length + 2}ch` }, onChange: this.handlePageInputChange })) : (hAsync("select", { class: "options-select", name: "pages", onChange: this.handlePageSelectChange }, Array.from({ length: this.total }, (_, i) => (hAsync("option", { selected: this.page === i + 1, value: i + 1 }, i + 1))))), hAsync("span", { key: '72815bb27828c594fe6f6bb8957cc7f3e0d0bea8' }, "von ", this.total, " Seiten"))), this.currentVariant === 'compact' && hAsync("span", { key: '48bdb5f463c54b3b6c9f17b8a0153da9884f8912', class: "block" }, "Seite ", this.page), hAsync("xv-button-v2", { key: '39c199a7fba71658310b713e7918bcbc297f9507', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page - 1), disabled: this.page <= 1 }, hAsync("span", { key: 'e68f6615d3c287f5dd9371585d4d3fd8bb9a5098', slot: "icon-left", class: "icon icon_prev" })), this.currentVariant === 'regular' && (hAsync("ul", { key: 'c0645a151fe3609991a050b4b6cae6de2515bdaf', class: "list" }, this.visiblePagesWithDots.map((page) => (hAsync("li", { class: { active: this.page === page } }, page === 'dots-start' ? (hAsync("div", { class: "list_dots" }, hAsync("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, hAsync("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), hAsync("select", { name: "start", onChange: this.handlePageSelectChange }, Array.from({ length: this.page - 3 }, (_, i) => (hAsync("option", { value: i + 2 }, i + 2)))))) : page === 'dots-end' ? (hAsync("div", { class: "list_dots" }, hAsync("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, hAsync("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), hAsync("select", { name: "end", onChange: this.handlePageSelectChange }, Array.from({ length: this.total - (this.page + 2) }, (_, i) => (hAsync("option", { value: i + this.page + 2 }, i + this.page + 2)))))) : (hAsync("xv-button-v2", { variant: "ghost", size: this.size, disabled: this.page === page, onClick: () => this.handlePageChange(page) }, hAsync("span", { class: "list_page", slot: "icon-left" }, page)))))))), hAsync("xv-button-v2", { key: '530752caee9627b253cb088f8be35ee7c4807e9b', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page + 1), disabled: this.page >= this.total }, hAsync("span", { key: 'e0fe04195662ba15dd761136720b549c6453236f', slot: "icon-left", class: "icon icon_next" }))));
|
|
93548
93557
|
}
|
|
93549
93558
|
get el() { return getElement(this); }
|
|
93550
93559
|
static get style() { return xvPaginationCss(); }
|
|
@@ -93659,7 +93668,7 @@ class XvProgressIndicator {
|
|
|
93659
93668
|
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
93660
93669
|
}
|
|
93661
93670
|
render() {
|
|
93662
|
-
return (hAsync(Host, { key: '
|
|
93671
|
+
return (hAsync(Host, { key: 'ba0b0a63b6056b0f52de42c3077ff30c824d2016', variant: this.variant, size: this.size, class: { 'xv-progress-indicator': true } }, hAsync("div", { key: '66aa5be8472d465335e38cd2897fb3d483189fba', class: "mobile-header" }, hAsync("span", { key: 'af5255fd1962569f93b9af6d308fd3c602d80fdf', class: "mobile-label" }, this.currentLabel), hAsync("span", { key: '8da6fbcddf1ca1988d6363d9d2fd394f45bdba62', class: "mobile-counter" }, this.currentStep, "/", this.total)), hAsync("div", { key: '0c648a0083ef2efa2620e91f44b899744f356294', class: "items" }, hAsync("slot", { key: 'c425ab2b1be79ab76aeeb1c6422738dec3a5a87a' }))));
|
|
93663
93672
|
}
|
|
93664
93673
|
get el() { return getElement(this); }
|
|
93665
93674
|
static get watchers() { return {
|
|
@@ -93694,7 +93703,7 @@ class XvProgressIndicatorItem {
|
|
|
93694
93703
|
this.status = PROGRESS_ITEM_STATUS.NO_STARTED;
|
|
93695
93704
|
}
|
|
93696
93705
|
render() {
|
|
93697
|
-
return (hAsync(Host, { key: '
|
|
93706
|
+
return (hAsync(Host, { key: '6950cd3a200af0f88f77eab66b2d62c1d0fe0a45', status: this.status, class: { 'xv-progress-indicator-item': true } }, hAsync("span", { key: '1780938006880addda04b02ff94c6dc149c51f95', class: "line" }), hAsync("span", { key: 'c7f8dddf319a624f6b76cb4dbb6b7af396fad07e', class: "icon" }, hAsync("svg", { key: '593c33a32cf50d57050cf65aef51204cc333f119', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" }, hAsync("path", { key: '5278ea6e05dd7b2a1d683db83e7d1b1fa2a39eb1', 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" }))), hAsync("p", { key: 'abec534270053908b6f5a637dc2340de47a2dfad', class: "label" }, hAsync("slot", { key: 'f773c9a671737e379aed5c3975fe11d2f815a770' }))));
|
|
93698
93707
|
}
|
|
93699
93708
|
get el() { return getElement(this); }
|
|
93700
93709
|
static get style() { return xvProgressIndicatorItemCss(); }
|
|
@@ -93737,12 +93746,12 @@ class XvRadio {
|
|
|
93737
93746
|
}
|
|
93738
93747
|
render() {
|
|
93739
93748
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
93740
|
-
return (hAsync("div", { key: '
|
|
93749
|
+
return (hAsync("div", { key: '0cb1db2112f70bd71f8cd8d978537052e7013368', class: {
|
|
93741
93750
|
'xv-radio': true,
|
|
93742
93751
|
'xv-radio--reverse': this.reverse,
|
|
93743
93752
|
'xv-radio--block': this.block,
|
|
93744
93753
|
[`xv-radio--size-${this.size}`]: !!this.size,
|
|
93745
|
-
} }, this.label && hAsync("p", { key: '
|
|
93754
|
+
} }, this.label && hAsync("p", { key: 'a04b6987663bc35bed28c47c7cadcee1f26926fd', class: "xv-radio_label" }, this.label), hAsync("label", { key: '6e54154c57d4e77f4315ba7bfc8c784bf143531b', class: { 'xv-radio_container': true, disabled: this.disabled } }, hAsync("div", { key: 'fa8ba71aab04f520712995bf23dd0958eef437af', class: { 'xv-radio_input': true, 'xv-radio_input--error': !!this.error || this.error === '' } }, hAsync("input", { key: '0e0e25dd52d545ad5bea62c023d014cc5d866ac2', ref: el => (this.inputEl = el), type: "radio", name: this.name, value: this.value, checked: this.checked, readonly: this.readonly, disabled: this.disabled }), hAsync("span", { key: 'b6fae9d6d7520c42c5f2c1acf3b1ec235f3073b8', class: "xv-radio_input__mark" })), hAsync("span", { key: '926c3cd8248b5346a5c72b0d1c2b7d206ea94a0d', class: "xv-radio_container__label" }, hAsync("slot", { key: '74ccc7ec580d8cb4a9134143560f4bee1e0b2e9b' }))), message && (hAsync("span", { key: 'd65ff574b22714d70fe5ffa639e2c30ee6421f6e', class: `xv-radio_msg xv-radio_msg--${message.level}` }, message.level !== 'helper' && (hAsync("span", { key: '4fd74d962843f11a502a52a6c59265e98ca34f3f', class: "xv-radio_msg__status", "aria-hidden": "true" }, message.level === 'error' ? '!' : '⚠')), message.text)), hAsync("slot", { key: '17d74fcbfce0e77823b830cc27c77b39af195a37', name: "info" })));
|
|
93746
93755
|
}
|
|
93747
93756
|
connectedCallback() {
|
|
93748
93757
|
var _a;
|
|
@@ -93849,7 +93858,7 @@ class XvSlider {
|
|
|
93849
93858
|
this.setValue(this.min);
|
|
93850
93859
|
}
|
|
93851
93860
|
render() {
|
|
93852
|
-
return (hAsync(Host, { key: '
|
|
93861
|
+
return (hAsync(Host, { key: '2e43cf534f67477efd4db67dbca1ba2672f7a02b', class: { disabled: this.disabled, readonly: this.readonly } }, this.label && hAsync("label", { key: '73240a7b31c6e8cb25b01b4365a3bb0ac314de04', class: "label" }, this.label), hAsync("div", { key: 'ba82d622b88e96f71d0b42c82dbc6f6c5de9441b', class: "control" }, hAsync("span", { key: '3c669e801b488294686a2c41651c90adf709040e', class: "control_label" }, this.min), hAsync("input", { key: '46e56ec1136a8fc1b07866cd17e2145a949bf38a', 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%` } }), hAsync("span", { key: 'c7c8270c572b3fa5ae9e78261e7b7c91df931c35', class: "control_label" }, this.max), !this.notEditable && (hAsync("input", { key: '14a8fe399b1bb9a697748c50f925533205b54698', 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 })))));
|
|
93853
93862
|
}
|
|
93854
93863
|
static get formAssociated() { return true; }
|
|
93855
93864
|
static get style() { return xvSliderCss(); }
|
|
@@ -93882,7 +93891,7 @@ class XvTab {
|
|
|
93882
93891
|
this.loading = false;
|
|
93883
93892
|
}
|
|
93884
93893
|
render() {
|
|
93885
|
-
return (hAsync(Host, { key: '
|
|
93894
|
+
return (hAsync(Host, { key: 'db1fe3d17ad9692539c3857757ed46c4e579775d', disabled: this.disabled, name: this.name }, this.loading ? hAsync("xv-loader-v2", { size: SIZE_VAR.LG }) : hAsync("slot", null)));
|
|
93886
93895
|
}
|
|
93887
93896
|
static get style() { return xvTabCss(); }
|
|
93888
93897
|
static get cmpMeta() { return {
|
|
@@ -93935,7 +93944,7 @@ class XvTable {
|
|
|
93935
93944
|
.join(' ') + ' repeat(auto-fit, minmax(0, 1fr))');
|
|
93936
93945
|
}
|
|
93937
93946
|
render() {
|
|
93938
|
-
return (hAsync(Host, { key: '
|
|
93947
|
+
return (hAsync(Host, { key: 'e25cec0297de32d95b43535e729d3acc6b90b8c1', class: { batchVisible: !!this.selectedCount } }, hAsync("slot", { key: '23edca86b5a7cbfa431653c22c10e1042830d862', name: "title" }, !!this.el.title && hAsync("h2", { key: 'ce116b0495c03bd7da6fa5518c1d135126c7c492', class: "xv-table-title" }, this.el.title)), hAsync("slot", { key: '438196c0cc3422100f3a36476ccb295c1acc75c5', name: "toolbar" }), hAsync("div", { key: '8bc13f6ae969472aa81ae38c824e9a217a27021e', class: "xv-table" }, hAsync("div", { key: 'f556b8ab2c8ba7041bdf9c1d2b9e8d830dbc6fa2', class: "batch-actions" }, hAsync(Fragment, { key: '5507bdef975f94c9066da5ea804b9595cdbf6a65' }, hAsync("div", { key: '4c851dfbbc3490de6116ea9e6e4cdf6b08df1e70', class: "batch-actions_content" }, hAsync("slot", { key: 'fb2cb2b78a77abcf4dca511053ce91e91051ceb8', name: "batch" })), hAsync("p", { key: '352fd2d86f230fe3f9d1d4695765a8b7cef91e42', class: "batch-actions_count" }, !!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`))), hAsync("div", { key: '996d6edf9dbc00cbff76fcad16bd5065427a79ff', class: "xv-table_wrapper" }, hAsync("slot", { key: '12207c639e16d5a8856abcee029c541e48abdd3f' }), hAsync("slot", { key: '3f4d36f35d88586213fcbcc30544e47d7fc7bdef', name: "footer" })), !!this.loading && (hAsync("div", { key: '6de70b172b7a2aa1af366ae61718b00864915e42', class: "xv-table_loading" }, hAsync("xv-loader-v2", { key: '127f728e1dab0dcbefafe9a4fb6ed34323a61d5a', size: SIZE_VAR.LG }))))));
|
|
93939
93948
|
}
|
|
93940
93949
|
componentWillLoad() {
|
|
93941
93950
|
this.setColsSizeTemplate();
|
|
@@ -93991,7 +94000,7 @@ class XvTableCell {
|
|
|
93991
94000
|
}
|
|
93992
94001
|
;
|
|
93993
94002
|
render() {
|
|
93994
|
-
return (hAsync(Host, { key: '
|
|
94003
|
+
return (hAsync(Host, { key: 'd919bc550eb70a7d2bb3bdbde8e141b3ef9cb96a' }, hAsync("slot", { key: 'e213a7eb508ed1e5f3cb6233020f0d42a485bfcd' })));
|
|
93995
94004
|
}
|
|
93996
94005
|
get el() { return getElement(this); }
|
|
93997
94006
|
static get style() { return xvTableCellCss(); }
|
|
@@ -94025,7 +94034,7 @@ class XvTableExpand {
|
|
|
94025
94034
|
};
|
|
94026
94035
|
}
|
|
94027
94036
|
render() {
|
|
94028
|
-
return (hAsync(Host, { key: '
|
|
94037
|
+
return (hAsync(Host, { key: 'a07d8e8f48b6302ca4c061ccbdac3057ad04dc37' }, hAsync("button", { key: '02af6adfacb5db524a7a929347059e5aaf930d00', class: { 'expand-btn': true, open: this.open }, disabled: this.disabled, onClick: this.handleExpand }), hAsync("slot", { key: 'cffc270cce13cdd1192d2a73b9cce71008050342', name: XV_EXPANDABLE_KEY }), hAsync("div", { key: 'fa9c294ef6e1b48c09171b34ae7597a669f5c2f1', class: { expandableContent: true, open: this.open } }, hAsync("slot", { key: '3fafd1e04e9b195f90d14598cd31fbb0f34a6c11' }))));
|
|
94029
94038
|
}
|
|
94030
94039
|
componentDidLoad() {
|
|
94031
94040
|
setAttr(this.el.parentElement, XV_EXPANDABLE_KEY, true);
|
|
@@ -94091,7 +94100,7 @@ class XvTableRow {
|
|
|
94091
94100
|
}
|
|
94092
94101
|
}
|
|
94093
94102
|
render() {
|
|
94094
|
-
return (hAsync(Host, { key: '
|
|
94103
|
+
return (hAsync(Host, { key: '0ffa4d4f19dbab06cc42a58418d630522fb744f2' }, this.variant !== undefined && (hAsync("xv-table-v2-cell", { key: '790a54b1614078c4439da01ebdd166f9a76b7536', class: "cell-control" }, this.variant === 'checkbox' && (hAsync("xv-checkbox-v2", { key: 'ee902d2a61576f1db3df071bdcf1eab04fb50502', 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' && (hAsync("input", { key: 'd6049bda45f8c9723bda4816b4ba59acd113ad6b', type: "radio", name: this.name, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly })))), hAsync("slot", { key: '42a7e984c06e1ce67c9d410420831bbef22c0662' })));
|
|
94095
94104
|
}
|
|
94096
94105
|
componentWillLoad() {
|
|
94097
94106
|
this.setInitialAttrs();
|
|
@@ -94136,7 +94145,7 @@ var TABS_VATIANT;
|
|
|
94136
94145
|
// other variants will be here
|
|
94137
94146
|
})(TABS_VATIANT || (TABS_VATIANT = {}));
|
|
94138
94147
|
|
|
94139
|
-
const xvTabsCss = () => `:host(.xv-tabs){display:flex;flex-direction:column}:host(.xv-tabs) .tab-headers{position:relative;display:flex;flex-wrap:nowrap}:host(.xv-tabs) .tab-headers[hidden]{visibility:hidden}:host(.xv-tabs) .tab-headers_container{display:flex;flex:1 1 auto;white-space:nowrap;overflow-x:auto;scroll-behavior:smooth}:host(.xv-tabs) .tab-headers_container::-webkit-scrollbar{display:none}:host(.xv-tabs) .tab-headers_tab{background:none;padding:11px var(--gap-md, 16px);cursor:pointer;font:inherit;transition:border-color 0.3s ease, font-weight 0.3s ease, color 0.3s ease;position:relative;border:2px solid transparent;border-bottom-color:var(--border-border-subtle-01, #D1D1D1);background-blend-mode:multiply;color:var(--text-secondary, #515151);font-family:var(--ff-body, Work Sans), sans-serif;font-size:var(--fz-md, 14px);line-height:18px;letter-spacing:0.16px;height:40px;white-space:nowrap}:host(.xv-tabs) .tab-headers_tab:after{content:"";position:absolute;transition:background-color 0.3s ease, width 0.3s ease;top:100%;left:0;right:0;width:0;height:2px;background-color:var(--interactive-01, #273435)}:host(.xv-tabs) .tab-headers_tab:focus-visible{outline:none;border:2px solid var(--interactive-01, #273435)}:host(.xv-tabs) .tab-headers_tab:hover{border-bottom-color:var(--border-strong-01, #8B8B8B)}:host(.xv-tabs) .tab-headers_tab.active{color:var(--text-primary, #333);font-weight:700}:host(.xv-tabs) .tab-headers_tab.active:after{width:100%}:host(.xv-tabs) .tab-headers_tab.active:focus-visible{border-color:var(--interactive-01, #273435)}:host(.xv-tabs) .tab-headers_tab:disabled{color:var(--text-on-color-disabled, #8B8B8B);border-bottom-color:var(--border-disabled, #D1D1D1);cursor:not-allowed}:host(.xv-tabs) .tab-headers_tab:disabled:after{background-color:var(--border-disabled, #D1D1D1)}:host(.xv-tabs) .tab-headers_btn{outline:none;width:40px;height:40px;background:none;border:none;cursor:pointer;position:relative;transition:0.25s ease-in-out opacity}:host(.xv-tabs) .tab-headers_btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border:solid currentColor;border-width:0 2px 2px 0;display:inline-block;padding:4px;transform:translate(-50%, -50%) rotate(45deg)}:host(.xv-tabs) .tab-headers_btn:active{opacity:0.3}:host(.xv-tabs) .tab-headers_btn.prev:before{transform:translate(-50%, -50%) rotate(135deg)}:host(.xv-tabs) .tab-headers_btn.next:before{transform:translate(-50%, -50%) rotate(-45deg)}:host(.xv-tabs) .tab-content-wrapper{position:relative;overflow:hidden;padding:var(--gap-md, 16px) 0}:host(.xv-tabs) ::slotted(xv-tab-v2){display:none;width:100%;pointer-events:none}:host(.xv-tabs) ::slotted(xv-tab-v2.active){display:contents;pointer-events:auto}:host(.xv-tabs) .xv-tabs_empty{display:block;text-align:center;margin:20px auto;font-size:var(--fz-xl);color:var(--text-primary)}:host([variant=glued]) .tab-headers_tab{border:none;background-color:var(--layer-accent-01, #F7F7F7)}:host([variant=glued]) .tab-headers_tab:not(:last-of-type){border-right:1px solid var(--border-strong-01)}:host([variant=glued]) .tab-headers_tab:after{top:0}:host([variant=glued]) .tab-headers_tab.active{border-right:none;background-color:transparent}:host([loading]){display:flex;align-items:center;justify-content:center;min-height:300px}`;
|
|
94148
|
+
const xvTabsCss = () => `:host(.xv-tabs){display:flex;flex-direction:column}:host(.xv-tabs) .tab-headers{position:relative;display:flex;flex-wrap:nowrap}:host(.xv-tabs) .tab-headers[hidden]{visibility:hidden}:host(.xv-tabs) .tab-headers_container{display:flex;flex:1 1 auto;white-space:nowrap;overflow-x:auto;scroll-behavior:smooth}:host(.xv-tabs) .tab-headers_container::-webkit-scrollbar{display:none}:host(.xv-tabs) .tab-headers_tab{background:none;padding:11px var(--gap-md, 16px);cursor:pointer;font:inherit;transition:border-color 0.3s ease, font-weight 0.3s ease, color 0.3s ease;position:relative;border:2px solid transparent;border-bottom-color:var(--border-border-subtle-01, #D1D1D1);background-blend-mode:multiply;color:var(--text-secondary, #515151);font-family:var(--ff-body, Work Sans), sans-serif;font-size:var(--fz-md, 14px);line-height:18px;letter-spacing:0.16px;height:40px;white-space:nowrap}:host(.xv-tabs) .tab-headers_tab:after{content:"";position:absolute;transition:background-color 0.3s ease, width 0.3s ease;top:100%;left:0;right:0;width:0;height:2px;background-color:var(--interactive-01, #273435)}:host(.xv-tabs) .tab-headers_tab:focus-visible{outline:none;border:2px solid var(--interactive-01, #273435)}:host(.xv-tabs) .tab-headers_tab:hover{border-bottom-color:var(--border-strong-01, #8B8B8B)}:host(.xv-tabs) .tab-headers_tab.active{color:var(--text-primary, #333);font-weight:700}:host(.xv-tabs) .tab-headers_tab.active:after{width:100%}:host(.xv-tabs) .tab-headers_tab.active:focus-visible{border-color:var(--interactive-01, #273435)}:host(.xv-tabs) .tab-headers_tab:disabled{color:var(--text-on-color-disabled, #8B8B8B);border-bottom-color:var(--border-disabled, #D1D1D1);cursor:not-allowed}:host(.xv-tabs) .tab-headers_tab:disabled:after{background-color:var(--border-disabled, #D1D1D1)}:host(.xv-tabs) .tab-headers_btn{outline:none;width:40px;height:40px;background:none;border:none;cursor:pointer;position:relative;transition:0.25s ease-in-out opacity}:host(.xv-tabs) .tab-headers_btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border:solid currentColor;border-width:0 2px 2px 0;display:inline-block;padding:4px;transform:translate(-50%, -50%) rotate(45deg)}:host(.xv-tabs) .tab-headers_btn:active{opacity:0.3}:host(.xv-tabs) .tab-headers_btn.prev:before{transform:translate(-50%, -50%) rotate(135deg)}:host(.xv-tabs) .tab-headers_btn.next:before{transform:translate(-50%, -50%) rotate(-45deg)}:host(.xv-tabs) .tab-content-wrapper{position:relative;overflow:hidden;overflow:clip visible;padding:var(--gap-md, 16px) 0}:host(.xv-tabs) ::slotted(xv-tab-v2){display:none;width:100%;pointer-events:none}:host(.xv-tabs) ::slotted(xv-tab-v2.active){display:contents;pointer-events:auto}:host(.xv-tabs) .xv-tabs_empty{display:block;text-align:center;margin:20px auto;font-size:var(--fz-xl);color:var(--text-primary)}:host([variant=glued]) .tab-headers_tab{border:none;background-color:var(--layer-accent-01, #F7F7F7)}:host([variant=glued]) .tab-headers_tab:not(:last-of-type){border-right:1px solid var(--border-strong-01)}:host([variant=glued]) .tab-headers_tab:after{top:0}:host([variant=glued]) .tab-headers_tab.active{border-right:none;background-color:transparent}:host([loading]){display:flex;align-items:center;justify-content:center;min-height:300px}`;
|
|
94140
94149
|
|
|
94141
94150
|
class XvTabs {
|
|
94142
94151
|
constructor(hostRef) {
|
|
@@ -94265,7 +94274,7 @@ class XvTag {
|
|
|
94265
94274
|
this.closeClick.emit(e);
|
|
94266
94275
|
}
|
|
94267
94276
|
render() {
|
|
94268
|
-
return (hAsync(Host, { key: '
|
|
94277
|
+
return (hAsync(Host, { key: '66c331ec827e9db8f4186173e7b483ce39a1e98a', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, hAsync("div", { key: 'e929cb0c8980278d0a04cf73be79ab42b91f8b9b', class: "xv-tag_content", part: "details-content" }, hAsync("slot", { key: '4a3257c45cdd195b3021c9fc4ddb6dbed26b7ec7' })), this.closeable && (hAsync("button", { key: 'b0f85ea8f862063698110e19d2e3724726a1053e', onClick: this.closeHandler.bind(this), class: "xv-tag_close" }))));
|
|
94269
94278
|
}
|
|
94270
94279
|
static get style() { return xvTagCss(); }
|
|
94271
94280
|
static get cmpMeta() { return {
|
|
@@ -94530,12 +94539,12 @@ class XvTagCombobox {
|
|
|
94530
94539
|
const ariaOwns = suggestionsVisible ? `${this.uid}-listbox` : undefined;
|
|
94531
94540
|
const activedesc = this.highlighted >= 0 ? this.optionId(this.highlighted) : undefined;
|
|
94532
94541
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
94533
|
-
return (hAsync(Host, { key: '
|
|
94542
|
+
return (hAsync(Host, { key: '6f16fcc6d7c8e5bfb62b3c99fd2879305d3b20f0', class: "xv-combobox", part: "root", size: this.size }, this.label && hAsync("label", { key: '5b7815c506f5d18caff61108de1d2b1292150d2c', class: "label" }, this.label), hAsync("div", { key: '1df84f66117078f5cde8b9ed36814066f15cbf18', class: {
|
|
94534
94543
|
'control': true,
|
|
94535
94544
|
'control--disabled': this.disabled,
|
|
94536
94545
|
'control--error': !!this.error,
|
|
94537
94546
|
'control--readonly': !!this.readonly,
|
|
94538
|
-
}, onClick: () => this.blockClick() }, hAsync("div", { key: '
|
|
94547
|
+
}, onClick: () => this.blockClick() }, hAsync("div", { key: '2475b5d208b268b4d1177e67d8017c050884b643', class: "control-chips", role: "list" }, this.selected.map((s, i) => (hAsync("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))), hAsync("input", { key: '8bf2dfd2cf3a13a40ce8c872e792aabeae974275', 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.loading && (hAsync("span", { key: '9971a2126418a3cd0965e536ea970673477205e4', class: "control-loader", part: "loader", "aria-hidden": "true" }, hAsync("xv-loader-v2", { key: '4916c34b4f3ea8e6d08d260fe796a12ba6f9f5e9', size: "sm", variant: "horizontal" })))), message && (hAsync("p", { key: '8fd58d0996b872238f1c830e8252450cd0a966ef', class: { message: true, [message.level]: true } }, message.text)), suggestionsVisible && (hAsync("ul", { key: 'f62c724966525f012e014605181fbcfee1c4bb99', id: `${this.uid}-listbox`, class: "suggestions", role: "listbox", part: "listbox" }, this.filtered.map((opt, idx) => (hAsync("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) }, hAsync("div", { class: "suggestions-opt-content" }, opt.bg ? hAsync("span", { class: "suggestions-opt-content--color", style: { background: opt.bg } }) : null, hAsync("span", { class: "suggestions-opt-content--label" }, this.highlightLabel(opt.label).map((seg, i) => typeof seg === 'string' ? hAsync("span", { key: i }, seg) : hAsync("strong", { key: i }, seg.match)))))))))));
|
|
94539
94548
|
}
|
|
94540
94549
|
get host() { return getElement(this); }
|
|
94541
94550
|
static get watchers() { return {
|
|
@@ -94619,13 +94628,13 @@ class XvTextInput {
|
|
|
94619
94628
|
}
|
|
94620
94629
|
render() {
|
|
94621
94630
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
94622
|
-
return (hAsync(Host, { key: '
|
|
94631
|
+
return (hAsync(Host, { key: '70c696d506fb2a9fda2998f2081a0bb9fc06f946', class: { disabled: !!this.disabled } }, hAsync("label", { key: 'c4aeb38e4cf5af8160ca0fd1741aa800311857bb', class: "control" }, this.label && hAsync("span", { key: 'ba2aa620344ea08ceefedc9c98f5554c23de70b4', class: "control_label" }, this.label), hAsync("div", { key: '522fe88401a97f8fe64ec05f1ba85ca559486ebd', class: {
|
|
94623
94632
|
'control_input': true,
|
|
94624
94633
|
readonly: !!this.readonly,
|
|
94625
94634
|
[this.size]: true,
|
|
94626
94635
|
error: !!this.error,
|
|
94627
94636
|
warning: !!this.warning,
|
|
94628
|
-
} }, hAsync("input", { key: '
|
|
94637
|
+
} }, hAsync("input", { key: '571b9d5daf77647c0aa00cf8c68aa598c67e4d4e', 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 }), hAsync("div", { key: '7d1a6f29876f24063ae4ee5284f025ab08add062', class: "control_input__icons" }, this.loading && hAsync("xv-loader-v2", { key: 'c35c0e3d9e389758174f4cbcf5c59bad45e44bd8', size: SIZE_VAR.XS }), this.clearable && this.value && !this.loading && !this.disabled && !this.readonly && (hAsync("button", { key: 'dbec0dd60c3f18519b1e2845562729c2aeaffc95', type: "button", class: "status-icon clear", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), !!this.error ? (hAsync("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (hAsync("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, this.type === 'password' && (hAsync("button", { key: 'cdc93b69246fb39818b8a92174fdb80a666742ca', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, hAsync("svg", { key: '427c650f159d426504df2cca8c918617c52c8cdc', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 512", width: 16, height: 16 }, this.isPasswordVisible ? (hAsync("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" })) : (hAsync("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" })))))))), message && (hAsync("p", { key: '9fad502dd158e1183aa5d3a4af33a273177e39e9', class: { message: true, [message.level]: true } }, message.text))));
|
|
94629
94638
|
}
|
|
94630
94639
|
static get formAssociated() { return true; }
|
|
94631
94640
|
static get style() { return xvTextInputCss(); }
|
|
@@ -94688,12 +94697,12 @@ class XvTextarea {
|
|
|
94688
94697
|
}
|
|
94689
94698
|
render() {
|
|
94690
94699
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
94691
|
-
return (hAsync(Host, { key: '
|
|
94700
|
+
return (hAsync(Host, { key: '1b34aa3fa759184b13a3765ee5d835ade1c9a5e5', class: { disabled: !!this.disabled } }, hAsync("label", { key: 'fc00e4420e86ac6514a7c74a0aa3f8184072bd9d', class: "control" }, (this.label || this.max) && (hAsync("p", { key: '9a1a28e073cda3db45e4eb690e1e789fda374a87', class: "control_label" }, hAsync("span", { key: '118cd75213653b2e653291662daa164905d82ba7' }, this.label, this.info && hAsync("xv-tooltip-v2", { key: '26c0c337fd455c42a6222b8e5f8e93e6554cf3e3', message: this.info })), this.max !== undefined && !this.counterHide && (hAsync("span", { key: '83ddc6acf8b7131252226c13d05e645e7d4fa5dc', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), hAsync("div", { key: '21222ef24619058547adb104940b757656ebeae9', class: {
|
|
94692
94701
|
'control_input': true,
|
|
94693
94702
|
readonly: !!this.readonly,
|
|
94694
94703
|
error: !!this.error,
|
|
94695
94704
|
warning: this.warning !== undefined,
|
|
94696
|
-
} }, hAsync("textarea", { key: '
|
|
94705
|
+
} }, hAsync("textarea", { key: '730e25c3af0f5b3670fba8f5401577c473a31774', 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 }), hAsync("div", { key: '8b46543517eda0c0d04934278af5e755b43221d1', class: "control_input__icons" }, this._renderIcon()))), message && (hAsync("p", { key: '56d77cb863e9b0e5303188915a3bbefa02369670', class: { message: true, [message.level]: true } }, message.text))));
|
|
94697
94706
|
}
|
|
94698
94707
|
_renderIcon() {
|
|
94699
94708
|
if (this.loading)
|
|
@@ -94772,7 +94781,7 @@ class XvTile {
|
|
|
94772
94781
|
this.checked = !this.checked;
|
|
94773
94782
|
}
|
|
94774
94783
|
render() {
|
|
94775
|
-
return (hAsync(Host, { key: '
|
|
94784
|
+
return (hAsync(Host, { key: '3b55e3bf2dc276409ba12b48d9d56c623bcd8e6b', class: "xv-tile--host" }, hAsync("label", { key: 'f40529e84f7787da7e8a4a03b30d132088e03a26', htmlFor: this.variant === 'selectable' ? this.inputId : undefined, class: {
|
|
94776
94785
|
[this.el.className]: !!this.el.className,
|
|
94777
94786
|
'xv-tile': true,
|
|
94778
94787
|
[`xv-tile--variant-${this.variant}`]: !!this.variant,
|
|
@@ -94780,7 +94789,7 @@ class XvTile {
|
|
|
94780
94789
|
'xv-tile--disabled': !!this.disabled,
|
|
94781
94790
|
'selected': !!this.checked,
|
|
94782
94791
|
'xv-tile--error': !!this.error,
|
|
94783
|
-
} }, hAsync("div", { key: '
|
|
94792
|
+
} }, hAsync("div", { key: 'e6dcc69a9f119bf1dbddd9160bc2609e1f64c4b8', class: "xv-tile_content" }, this.label && hAsync("p", { key: '72d8fa5ee2264576fa7c22075c1e9e538088a1e9', class: "xv-tile_content__title" }, this.label), hAsync("slot", { key: '79ee90785998bff7944eb8c23d79f781b4fe5667' })), this.variant === 'selectable' && (hAsync("div", { key: '73608ba8e4b47b4851bae6988c035f6f35725231', class: "xv-tile_control" }, this.multiple ? (hAsync("input", { type: "checkbox", id: this.inputId, disabled: this.disabled || this.readonly, readonly: this.readonly, onChange: this.handleChange, name: this.name, value: this.value, checked: this.checked })) : (hAsync("input", { type: "radio", id: this.inputId, 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') && (hAsync("div", { key: '3eac5df0d7ec9a4ef0bddfa72096544bbdfd8052', class: "xv-tile_footer" }, hAsync("button", { key: 'bea298dd18c5c6eaf1706cba27871f391221345d', class: { 'xv-tile_footer__icon': true, [`icon--${this.variant}`]: true, open: this.checked } }))), hAsync("div", { key: '77f67ca201073d03e4ef4f3c8430de38e7a1751e', class: { 'xv-tile_expandable': true, open: this.checked } }, hAsync("slot", { key: 'c9c91da2e3ce592cbb49b81df4df56742cfe735e', name: "expandable" })))));
|
|
94784
94793
|
}
|
|
94785
94794
|
get el() { return getElement(this); }
|
|
94786
94795
|
static get style() { return xvTileCss(); }
|
|
@@ -94832,7 +94841,7 @@ class XvToggle {
|
|
|
94832
94841
|
};
|
|
94833
94842
|
}
|
|
94834
94843
|
render() {
|
|
94835
|
-
return (hAsync(Host, { key: '
|
|
94844
|
+
return (hAsync(Host, { key: '8a134c4ed256720b3011a3dfb780ecdad4c1159a', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && hAsync("span", { key: '455b79385f231f33d6a83672f6b0bbcff16ac1af', class: "label" }, this.label), hAsync("label", { key: 'dcada733ff15eee1a7fe92910d63d7c17a80ce97', class: "control" }, hAsync("slot", { key: 'adbb4c69bb26fd5f6a8317e452fa343018a08085', name: "before" }), hAsync("div", { key: '976d6a3a50beee346150400d3159bd14e0b121a8', class: "control_input" }, hAsync("input", { key: '2e241ca7a9e5153b0ac8bd5bb9267eb0ce13dc71', type: "checkbox", readonly: this.readonly, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, onChange: this.onChange }), hAsync("span", { key: 'cd873d475bd31a8c8dac4c69168fcaf5cf2a205a', class: "toggle" })), hAsync("slot", { key: '6cd60b34ffe68bce197252d6d641dbb71e18f033', name: "after" }))));
|
|
94836
94845
|
}
|
|
94837
94846
|
static get formAssociated() { return true; }
|
|
94838
94847
|
static get style() { return xvToggleCss(); }
|
|
@@ -94926,7 +94935,7 @@ class XvToggleTip {
|
|
|
94926
94935
|
}
|
|
94927
94936
|
;
|
|
94928
94937
|
render() {
|
|
94929
|
-
return (hAsync(Host, { key: '
|
|
94938
|
+
return (hAsync(Host, { key: '2266af11ac22a3e63f32eb0cf0e075f8355dbe7e', class: "xv-toggle-tip" }, hAsync("div", { key: '874847aaedc050bb1a8d463e446698d945fddd3b', 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) }, hAsync("slot", { key: '34135c6404fab2869e5a6b0dfe4b7c8284adfd0c', name: "trigger" }, hAsync("svg", { key: '8f9effc3c0596d691f3783e83d3fc37b37a24830', class: "trigger_icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, hAsync("path", { key: '8069d1ca8c78eaa1cd0b20deba7a73f5a9bd45fe', 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" })))), hAsync("div", { key: 'a8df2504cb43bb72da950e576d990a337a78b641', class: { popover: true, autoSize: !!this.autoSize }, role: "tooltip", tabindex: "-1", ref: (el) => (this.popoverEl = el) }, hAsync("div", { key: '8f0e2a7c8cdcaff22d26be7b9c6668c0049fb9e9', class: "popover-tip", part: "tip", "data-popper-arrow": "" }), hAsync("div", { key: 'c07c82994f213a29dea66830270601362eaec466', class: "popover-content" }, hAsync("slot", { key: '6532515036f0c9cd95d3c3b79e248bb733d8225b', name: "header" }), hAsync("slot", { key: 'fa35bed4fcf2b854d222c15e21447bb26318f3fa', name: "body" }), hAsync("slot", { key: 'db47b9a5d40ee89c75e1bc5c339521d9f8c6ce0f', name: "footer" })))));
|
|
94930
94939
|
}
|
|
94931
94940
|
disconnectedCallback() {
|
|
94932
94941
|
this.destroyPopper();
|
|
@@ -94995,11 +95004,11 @@ class XvTooltip {
|
|
|
94995
95004
|
this.destroyTooltip();
|
|
94996
95005
|
}
|
|
94997
95006
|
render() {
|
|
94998
|
-
return (hAsync(Host, { key: '
|
|
95007
|
+
return (hAsync(Host, { key: '0ca86b28135c245b27a900cdace4f34079d3a774', role: "tooltip", class: {
|
|
94999
95008
|
'xv-tooltip-wrapper': true,
|
|
95000
95009
|
[`xv-tooltip-wrapper__block`]: !!this.block,
|
|
95001
95010
|
[`xv-tooltip-wrapper__dashed`]: !!this.dashed,
|
|
95002
|
-
} }, hAsync("slot", { key: '
|
|
95011
|
+
} }, hAsync("slot", { key: '07d9353bcbe52917d308a79e1d73a09ecf395756' }, hAsync("svg", { key: '34f86692bccfaa0ba2ac48804f4e3d33535ac425', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, hAsync("path", { key: 'c4ea0208a300a5d21333e405419337e99c11c669', 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" })))));
|
|
95003
95012
|
}
|
|
95004
95013
|
get el() { return getElement(this); }
|
|
95005
95014
|
static get style() { return xvTooltipCss(); }
|