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
|
@@ -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: '
|
|
35
|
+
return (h(Host, { key: 'e25cec0297de32d95b43535e729d3acc6b90b8c1', class: { batchVisible: !!this.selectedCount } }, h("slot", { key: '23edca86b5a7cbfa431653c22c10e1042830d862', name: "title" }, !!this.el.title && h("h2", { key: 'ce116b0495c03bd7da6fa5518c1d135126c7c492', class: "xv-table-title" }, this.el.title)), h("slot", { key: '438196c0cc3422100f3a36476ccb295c1acc75c5', name: "toolbar" }), h("div", { key: '8bc13f6ae969472aa81ae38c824e9a217a27021e', class: "xv-table" }, h("div", { key: 'f556b8ab2c8ba7041bdf9c1d2b9e8d830dbc6fa2', class: "batch-actions" }, h(Fragment, { key: '5507bdef975f94c9066da5ea804b9595cdbf6a65' }, h("div", { key: '4c851dfbbc3490de6116ea9e6e4cdf6b08df1e70', class: "batch-actions_content" }, h("slot", { key: 'fb2cb2b78a77abcf4dca511053ce91e91051ceb8', name: "batch" })), h("p", { key: '352fd2d86f230fe3f9d1d4695765a8b7cef91e42', class: "batch-actions_count" }, !!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`))), h("div", { key: '996d6edf9dbc00cbff76fcad16bd5065427a79ff', class: "xv-table_wrapper" }, h("slot", { key: '12207c639e16d5a8856abcee029c541e48abdd3f' }), h("slot", { key: '3f4d36f35d88586213fcbcc30544e47d7fc7bdef', name: "footer" })), !!this.loading && (h("div", { key: '6de70b172b7a2aa1af366ae61718b00864915e42', class: "xv-table_loading" }, h("xv-loader-v2", { key: '127f728e1dab0dcbefafe9a4fb6ed34323a61d5a', 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: '
|
|
9
|
+
return (h(Host, { key: 'db1fe3d17ad9692539c3857757ed46c4e579775d', 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: '
|
|
16
|
+
return (h(Host, { key: '66c331ec827e9db8f4186173e7b483ce39a1e98a', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, h("div", { key: 'e929cb0c8980278d0a04cf73be79ab42b91f8b9b', class: "xv-tag_content", part: "details-content" }, h("slot", { key: '4a3257c45cdd195b3021c9fc4ddb6dbed26b7ec7' })), this.closeable && (h("button", { key: 'b0f85ea8f862063698110e19d2e3724726a1053e', 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"; }
|
|
@@ -242,12 +242,12 @@ export class XvTagCombobox {
|
|
|
242
242
|
const ariaOwns = suggestionsVisible ? `${this.uid}-listbox` : undefined;
|
|
243
243
|
const activedesc = this.highlighted >= 0 ? this.optionId(this.highlighted) : undefined;
|
|
244
244
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
245
|
-
return (h(Host, { key: '
|
|
245
|
+
return (h(Host, { key: '6f16fcc6d7c8e5bfb62b3c99fd2879305d3b20f0', class: "xv-combobox", part: "root", size: this.size }, this.label && h("label", { key: '5b7815c506f5d18caff61108de1d2b1292150d2c', class: "label" }, this.label), h("div", { key: '1df84f66117078f5cde8b9ed36814066f15cbf18', class: {
|
|
246
246
|
'control': true,
|
|
247
247
|
'control--disabled': this.disabled,
|
|
248
248
|
'control--error': !!this.error,
|
|
249
249
|
'control--readonly': !!this.readonly,
|
|
250
|
-
}, onClick: () => this.blockClick() }, h("div", { key: '
|
|
250
|
+
}, onClick: () => this.blockClick() }, h("div", { key: '2475b5d208b268b4d1177e67d8017c050884b643', 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: '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 && (h("span", { key: '9971a2126418a3cd0965e536ea970673477205e4', class: "control-loader", part: "loader", "aria-hidden": "true" }, h("xv-loader-v2", { key: '4916c34b4f3ea8e6d08d260fe796a12ba6f9f5e9', size: "sm", variant: "horizontal" })))), message && (h("p", { key: '8fd58d0996b872238f1c830e8252450cd0a966ef', class: { message: true, [message.level]: true } }, message.text)), suggestionsVisible && (h("ul", { key: 'f62c724966525f012e014605181fbcfee1c4bb99', 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)))))))))));
|
|
251
251
|
}
|
|
252
252
|
static get is() { return "xv-tag-combobox"; }
|
|
253
253
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,13 +30,13 @@ export class XvTextInput {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '70c696d506fb2a9fda2998f2081a0bb9fc06f946', class: { disabled: !!this.disabled } }, h("label", { key: 'c4aeb38e4cf5af8160ca0fd1741aa800311857bb', class: "control" }, this.label && h("span", { key: 'ba2aa620344ea08ceefedc9c98f5554c23de70b4', class: "control_label" }, this.label), h("div", { key: '522fe88401a97f8fe64ec05f1ba85ca559486ebd', class: {
|
|
34
34
|
'control_input': true,
|
|
35
35
|
readonly: !!this.readonly,
|
|
36
36
|
[this.size]: true,
|
|
37
37
|
error: !!this.error,
|
|
38
38
|
warning: !!this.warning,
|
|
39
|
-
} }, h("input", { key: '
|
|
39
|
+
} }, h("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 }), h("div", { key: '7d1a6f29876f24063ae4ee5284f025ab08add062', class: "control_input__icons" }, this.loading && h("xv-loader-v2", { key: 'c35c0e3d9e389758174f4cbcf5c59bad45e44bd8', size: SIZE_VAR.XS }), this.clearable && this.value && !this.loading && !this.disabled && !this.readonly && (h("button", { key: 'dbec0dd60c3f18519b1e2845562729c2aeaffc95', type: "button", class: "status-icon clear", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), !!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: 'cdc93b69246fb39818b8a92174fdb80a666742ca', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, h("svg", { key: '427c650f159d426504df2cca8c918617c52c8cdc', 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" })))))))), message && (h("p", { key: '9fad502dd158e1183aa5d3a4af33a273177e39e9', class: { message: true, [message.level]: true } }, message.text))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "xv-text-input-v2"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,12 +22,12 @@ export class XvTextarea {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '1b34aa3fa759184b13a3765ee5d835ade1c9a5e5', class: { disabled: !!this.disabled } }, h("label", { key: 'fc00e4420e86ac6514a7c74a0aa3f8184072bd9d', class: "control" }, (this.label || this.max) && (h("p", { key: '9a1a28e073cda3db45e4eb690e1e789fda374a87', class: "control_label" }, h("span", { key: '118cd75213653b2e653291662daa164905d82ba7' }, this.label, this.info && h("xv-tooltip-v2", { key: '26c0c337fd455c42a6222b8e5f8e93e6554cf3e3', message: this.info })), this.max !== undefined && !this.counterHide && (h("span", { key: '83ddc6acf8b7131252226c13d05e645e7d4fa5dc', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), h("div", { key: '21222ef24619058547adb104940b757656ebeae9', class: {
|
|
26
26
|
'control_input': true,
|
|
27
27
|
readonly: !!this.readonly,
|
|
28
28
|
error: !!this.error,
|
|
29
29
|
warning: this.warning !== undefined,
|
|
30
|
-
} }, h("textarea", { key: '
|
|
30
|
+
} }, h("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 }), h("div", { key: '8b46543517eda0c0d04934278af5e755b43221d1', class: "control_input__icons" }, this._renderIcon()))), message && (h("p", { key: '56d77cb863e9b0e5303188915a3bbefa02369670', class: { message: true, [message.level]: true } }, message.text))));
|
|
31
31
|
}
|
|
32
32
|
_renderIcon() {
|
|
33
33
|
if (this.loading)
|
|
@@ -31,7 +31,7 @@ export class XvTile {
|
|
|
31
31
|
this.checked = !this.checked;
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '3b55e3bf2dc276409ba12b48d9d56c623bcd8e6b', class: "xv-tile--host" }, h("label", { key: 'f40529e84f7787da7e8a4a03b30d132088e03a26', htmlFor: this.variant === 'selectable' ? this.inputId : undefined, class: {
|
|
35
35
|
[this.el.className]: !!this.el.className,
|
|
36
36
|
'xv-tile': true,
|
|
37
37
|
[`xv-tile--variant-${this.variant}`]: !!this.variant,
|
|
@@ -39,7 +39,7 @@ export class XvTile {
|
|
|
39
39
|
'xv-tile--disabled': !!this.disabled,
|
|
40
40
|
'selected': !!this.checked,
|
|
41
41
|
'xv-tile--error': !!this.error,
|
|
42
|
-
} }, h("div", { key: '
|
|
42
|
+
} }, h("div", { key: 'e6dcc69a9f119bf1dbddd9160bc2609e1f64c4b8', class: "xv-tile_content" }, this.label && h("p", { key: '72d8fa5ee2264576fa7c22075c1e9e538088a1e9', class: "xv-tile_content__title" }, this.label), h("slot", { key: '79ee90785998bff7944eb8c23d79f781b4fe5667' })), this.variant === 'selectable' && (h("div", { key: '73608ba8e4b47b4851bae6988c035f6f35725231', class: "xv-tile_control" }, this.multiple ? (h("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 })) : (h("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') && (h("div", { key: '3eac5df0d7ec9a4ef0bddfa72096544bbdfd8052', class: "xv-tile_footer" }, h("button", { key: 'bea298dd18c5c6eaf1706cba27871f391221345d', class: { 'xv-tile_footer__icon': true, [`icon--${this.variant}`]: true, open: this.checked } }))), h("div", { key: '77f67ca201073d03e4ef4f3c8430de38e7a1751e', class: { 'xv-tile_expandable': true, open: this.checked } }, h("slot", { key: 'c9c91da2e3ce592cbb49b81df4df56742cfe735e', name: "expandable" })))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "xv-tile"; }
|
|
45
45
|
static get originalStyleUrls() {
|
|
@@ -15,7 +15,7 @@ export class XvToggle {
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '8a134c4ed256720b3011a3dfb780ecdad4c1159a', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && h("span", { key: '455b79385f231f33d6a83672f6b0bbcff16ac1af', class: "label" }, this.label), h("label", { key: 'dcada733ff15eee1a7fe92910d63d7c17a80ce97', class: "control" }, h("slot", { key: 'adbb4c69bb26fd5f6a8317e452fa343018a08085', name: "before" }), h("div", { key: '976d6a3a50beee346150400d3159bd14e0b121a8', class: "control_input" }, h("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 }), h("span", { key: 'cd873d475bd31a8c8dac4c69168fcaf5cf2a205a', class: "toggle" })), h("slot", { key: '6cd60b34ffe68bce197252d6d641dbb71e18f033', 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: '
|
|
70
|
+
return (h(Host, { key: '2266af11ac22a3e63f32eb0cf0e075f8355dbe7e', class: "xv-toggle-tip" }, h("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) }, h("slot", { key: '34135c6404fab2869e5a6b0dfe4b7c8284adfd0c', name: "trigger" }, h("svg", { key: '8f9effc3c0596d691f3783e83d3fc37b37a24830', class: "trigger_icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("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" })))), h("div", { key: 'a8df2504cb43bb72da950e576d990a337a78b641', class: { popover: true, autoSize: !!this.autoSize }, role: "tooltip", tabindex: "-1", ref: (el) => (this.popoverEl = el) }, h("div", { key: '8f0e2a7c8cdcaff22d26be7b9c6668c0049fb9e9', class: "popover-tip", part: "tip", "data-popper-arrow": "" }), h("div", { key: 'c07c82994f213a29dea66830270601362eaec466', class: "popover-content" }, h("slot", { key: '6532515036f0c9cd95d3c3b79e248bb733d8225b', name: "header" }), h("slot", { key: 'fa35bed4fcf2b854d222c15e21447bb26318f3fa', name: "body" }), h("slot", { key: 'db47b9a5d40ee89c75e1bc5c339521d9f8c6ce0f', 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: '
|
|
41
|
+
return (h(Host, { key: '0ca86b28135c245b27a900cdace4f34079d3a774', 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: '
|
|
45
|
+
} }, h("slot", { key: '07d9353bcbe52917d308a79e1d73a09ecf395756' }, h("svg", { key: '34f86692bccfaa0ba2ac48804f4e3d33535ac425', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("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" })))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "xv-tooltip-v2"; }
|
|
48
48
|
static get originalStyleUrls() {
|