xv-webcomponents 1.8.2-qa.0 → 1.8.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/loader.cjs.js +1 -1
- package/dist/cjs/xv-accordion-v2_45.cjs.entry.js +33 -36
- package/dist/cjs/xv-webcomponents.cjs.js +1 -1
- package/dist/collection/components/xv-button/xv-button.js +6 -6
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +10 -7
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +6 -6
- package/dist/collection/components/xv-data-table/xv-data-table.js +9 -9
- package/dist/collection/components/xv-datepicker/xv-datepicker.js +6 -6
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +10 -7
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +6 -6
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +5 -5
- package/dist/collection/components/xv-link/xv-link.js +1 -1
- package/dist/collection/components/xv-loader/xv-loader.js +4 -4
- package/dist/collection/components/xv-modal/xv-modal.js +5 -5
- package/dist/collection/components/xv-notification/xv-notification.js +5 -5
- package/dist/collection/components/xv-number-input/xv-number-input.js +6 -6
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +6 -6
- package/dist/collection/components/xv-pagination/xv-pagination.js +5 -5
- package/dist/collection/components/xv-progress-indicator/_vars.js +0 -5
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +12 -19
- package/dist/collection/components/xv-radio/xv-radio.js +6 -6
- package/dist/collection/components/xv-table/xv-table.js +9 -7
- package/dist/collection/components/xv-tabs/xv-tabs.js +4 -4
- package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +6 -6
- package/dist/collection/components/xv-text-input/xv-text-input.js +6 -6
- package/dist/collection/components/xv-textarea/xv-textarea.js +6 -6
- package/dist/collection/components/xv-toggle/xv-toggle.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/xv-accordion-v2_45.entry.js +33 -36
- package/dist/esm/xv-webcomponents.js +1 -1
- package/dist/types/components/xv-button/xv-button.d.ts +2 -2
- package/dist/types/components/xv-checkbox/xv-checkbox.d.ts +2 -2
- package/dist/types/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.d.ts +1 -1
- package/dist/types/components/xv-data-table/xv-data-table.d.ts +3 -3
- package/dist/types/components/xv-datepicker/xv-datepicker.d.ts +2 -2
- package/dist/types/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.d.ts +2 -2
- package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +3 -3
- package/dist/types/components/xv-file-uploader/xv-file-uploader.d.ts +2 -2
- package/dist/types/components/xv-loader/xv-loader.d.ts +2 -2
- package/dist/types/components/xv-modal/xv-modal.d.ts +2 -2
- package/dist/types/components/xv-notification/_vars.d.ts +1 -0
- package/dist/types/components/xv-notification/xv-notification.d.ts +2 -2
- package/dist/types/components/xv-number-input/xv-number-input.d.ts +2 -2
- package/dist/types/components/xv-overflow-menu/xv-overflow-menu.d.ts +2 -2
- package/dist/types/components/xv-pagination/xv-pagination.d.ts +2 -2
- package/dist/types/components/xv-progress-indicator/_vars.d.ts +0 -4
- package/dist/types/components/xv-progress-indicator/xv-progress-indicator.d.ts +3 -5
- package/dist/types/components/xv-radio/xv-radio.d.ts +2 -2
- package/dist/types/components/xv-table/xv-table.d.ts +2 -2
- package/dist/types/components/xv-tabs/_vars.d.ts +1 -0
- package/dist/types/components/xv-tabs/xv-tabs.d.ts +2 -2
- package/dist/types/components/xv-tag-combobox/xv-tag-combobox.d.ts +2 -2
- package/dist/types/components/xv-text-input/xv-text-input.d.ts +2 -2
- package/dist/types/components/xv-textarea/xv-textarea.d.ts +2 -2
- package/dist/types/components/xv-toggle/xv-toggle.d.ts +2 -2
- package/dist/types/components.d.ts +80 -62
- package/dist/types/types/enum.d.ts +1 -0
- package/dist/xv-webcomponents/p-e8d8061e.entry.js +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/xv-webcomponents/p-8f21bea3.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -6,7 +6,7 @@ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
return index.bootstrapLazy([["xv-accordion-v2_45.cjs",[[0,"xv-header",{"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"readonly":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"variant":[1],"selected":[32],"selectedMap":[32],"searchQuery":[32]},[[0,"itemSelected","handleItemSelected"]],{"open":[{"openChangeHandle":0}],"multiple":[{"multipleChangeHandle":0}]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32]}],[65,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":[{"openChange":0}],"month":[{"getCalendarGrid":0}],"value":[{"handleValueChange":0}]}],[1,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040],"error":[1537],"errors":[1040],"dragActive":[32],"errorMessages":[32],"clearFiles":[64]}],[65,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513]}],[1,"xv-pagination",{"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16],"totalItems":[2,"total-items"],"itemsPerPage":[32],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":[{"checkedChangeHandle":0}]}],[65,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[
|
|
9
|
+
return index.bootstrapLazy([["xv-accordion-v2_45.cjs",[[0,"xv-header",{"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"readonly":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"variant":[1],"selected":[32],"selectedMap":[32],"searchQuery":[32]},[[0,"itemSelected","handleItemSelected"]],{"open":[{"openChangeHandle":0}],"multiple":[{"multipleChangeHandle":0}]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32]}],[65,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":[{"openChange":0}],"month":[{"getCalendarGrid":0}],"value":[{"handleValueChange":0}]}],[1,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040],"error":[1537],"errors":[1040],"dragActive":[32],"errorMessages":[32],"clearFiles":[64]}],[65,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513]}],[1,"xv-pagination",{"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16],"totalItems":[2,"total-items"],"itemsPerPage":[32],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":[{"checkedChangeHandle":0}]}],[65,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[520],"loading":[4],"columnWidths":[16],"hover":[4]}],[257,"xv-dropdown-v2-item",{"disabled":[4],"value":[1544],"selected":[1540],"multiple":[516],"size":[513]},[[0,"click","handleClick"]]],[1,"xv-image-viewer",{"src":[1],"fullscreenSrc":[1,"fullscreen-src"],"alt":[1],"placeholder":[1],"lazy":[4],"isFullscreen":[32],"loaded":[32],"fullscreenLoaded":[32]}],[257,"xv-tab-v2",{"label":[513],"disabled":[516],"loading":[516],"name":[8]}],[257,"xv-table-v2",{"size":[513],"hover":[516],"loading":[516],"colsSize":[16],"selected":[32],"selectedCount":[32]},[[0,"checkedChange","handleCheckedChange"]],{"colsSize":[{"setColsSizeTemplate":0}]}],[257,"xv-tabs-v2",{"active":[1544],"loading":[516],"variant":[1],"emptyMessage":[1,"empty-message"],"hideSingleTab":[4,"hide-single-tab"],"tabElements":[32],"showArrows":[32]},[[9,"resize","updateArrowVisibility"]]],[1,"xv-tag-combobox",{"options":[16],"label":[1],"size":[1],"placeholder":[1],"allowCreate":[4,"allow-create"],"maxSuggestions":[2,"max-suggestions"],"disabled":[4],"readonly":[4],"error":[8],"warning":[8],"value":[16],"normalizedOptions":[32],"selected":[32],"inputValue":[32],"open":[32],"filtered":[32],"highlighted":[32],"focusInput":[64],"clear":[64]},null,{"options":[{"watchOptions":0}],"value":[{"watchValue":0}]}],[257,"xv-accordion-v2",{"multiple":[4],"xvId":[1,"xv-id"],"value":[1025],"opened":[32],"toggleItem":[64]}],[257,"xv-accordion-v2-item",{"disabled":[4],"label":[1],"value":[1],"isOpen":[32]},[[16,"accordionChange","handleAccordionChange"]]],[260,"xv-breadcrumbs-v2"],[257,"xv-data-table-collapse",{"collapsed":[1540],"setCollapsed":[64]}],[0,"xv-footer",{"data":[32]},[[8,"xv:metaNav-update","handleLoadData"]]],[257,"xv-progress-indicator-v2",{"progress":[514],"variant":[1],"size":[1]},null,{"progress":[{"updateChildItems":0}]}],[257,"xv-progress-indicator-v2-item",{"status":[1]}],[324,"xv-radio-v2",{"name":[1],"value":[1],"label":[1],"checked":[1028],"indeterminate":[4],"block":[4],"disabled":[4],"required":[4],"reverse":[4],"readonly":[4],"error":[8],"warning":[520],"size":[1]},null,{"checked":[{"onCheckedChange":0}]}],[65,"xv-slider-v2",{"label":[1],"name":[1],"min":[2],"max":[2],"value":[1026],"step":[2],"disabled":[4],"readonly":[4],"notEditable":[4,"not-editable"]}],[257,"xv-table-v2-expand",{"open":[1540],"disabled":[516]}],[260,"xv-tile",{"variant":[513],"label":[1],"error":[4],"multiple":[4],"disabled":[4],"block":[4],"name":[1],"value":[1025],"checked":[1028]},[[4,"tileChange","tileChangeHandle"],[0,"click","handleClick"]]],[321,"xv-toggle",{"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"readonly":[4],"size":[513],"block":[4]}],[1,"xv-login-modal",{"visible":[4],"urls":[32],"loading":[32],"errorMessage":[32]}],[257,"xv-mega-menu",{"open":[1540],"loading":[1028],"activeItem":[32],"activeGroup":[32],"menuItems":[32],"menuLoading":[32]},[[4,"click","handleClickOutside"]],{"loading":[{"fetchMenuData":0}]}],[257,"xv-data-table-cell",{"name":[1025],"sort":[1537],"multiline":[520],"width":[1],"align":[1],"tooltip":[1]},[[0,"click","handleSort"]]],[257,"xv-overflow-menu-v2",{"open":[1540],"disabled":[516],"position":[1],"size":[1],"tooltip":[1]},[[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}]}],[257,"xv-overflow-menu-v2-item",{"disabled":[516],"value":[520],"variant":[513],"clickable":[4]},[[0,"click","handleClick"]]],[257,"xv-table-v2-cell",{"multiline":[516],"name":[1537],"align":[513],"sort":[1537]},[[0,"click","handleSort"]]],[257,"xv-toggle-tip",{"open":[1540],"autoSize":[516,"auto-size"],"block":[4],"position":[1],"setPopover":[64]},[[4,"click","handleClickOutside"],[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}]}],[257,"xv-modal-v2",{"open":[1540],"permanent":[516],"size":[513],"overflow":[516],"loading":[4],"openModal":[64],"closeModal":[64]}],[257,"xv-card-v2",{"variant":[1],"media":[1],"header":[1],"body":[1],"footer":[1]}],[257,"xv-notification-v2",{"variant":[513],"dismissible":[516]}],[65,"xv-text-input-v2",{"type":[1],"label":[1],"placeholder":[513],"name":[513],"value":[1025],"autocomplete":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"size":[513],"isPasswordVisible":[32]}],[257,"xv-link-v2",{"href":[1],"target":[1],"disabled":[4],"size":[1],"variant":[1]}],[257,"xv-tag-v2",{"size":[1],"color":[1],"bg":[1],"disabled":[4],"closeable":[4]}],[321,"xv-checkbox-v2",{"checked":[1540],"indeterminate":[516],"disabled":[516],"name":[513],"value":[513],"readonly":[516],"required":[516],"partial":[516],"label":[1],"size":[513],"error":[520],"hasFocus":[32]},null,{"checked":[{"onCheckedChange":0}]}],[260,"xv-tooltip-v2",{"message":[1],"position":[1],"block":[4],"dashed":[4]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]],[321,"xv-button-v2",{"value":[1],"name":[1],"label":[513],"variant":[513],"size":[513],"disabled":[516],"loading":[516],"block":[516],"type":[513],"hasLeftIcon":[32],"hasRightIcon":[32],"hasContent":[32]}],[257,"xv-loader-v2",{"show":[4],"variant":[1],"size":[1]}]]]], options);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -146,7 +146,7 @@ const XvButton = class {
|
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
148
|
var _a, _b;
|
|
149
|
-
return (index.h(index.Host, { key: '
|
|
149
|
+
return (index.h(index.Host, { key: 'ca4d2a911587ac7e4621f320166a683cf198d0f0' }, index.h("button", { key: '7e646d1de420bc64a91ede1225f0032f1a072063', class: {
|
|
150
150
|
'xv-button': true,
|
|
151
151
|
[`xv-button--${this.variant}`]: !!this.variant,
|
|
152
152
|
[`xv-button--${this.size}`]: !!this.size,
|
|
@@ -156,7 +156,7 @@ const XvButton = class {
|
|
|
156
156
|
'xv-button--icon-left': this.hasLeftIcon,
|
|
157
157
|
'xv-button--icon-right': this.hasRightIcon,
|
|
158
158
|
'xv-button--icon-only': !this.hasContent,
|
|
159
|
-
}, part: "button", title: (_a = this.el) === null || _a === void 0 ? void 0 : _a.title, value: this.value, name: this.value, onClick: this.handleClick, type: this.type, disabled: this.disabled || this.loading, "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": ((_b = this.el) === null || _b === void 0 ? void 0 : _b.ariaLabel) || 'XV button' }, this.loading && (index.h("xv-loader-v2", { key: '
|
|
159
|
+
}, part: "button", title: (_a = this.el) === null || _a === void 0 ? void 0 : _a.title, value: this.value, name: this.value, onClick: this.handleClick, type: this.type, disabled: this.disabled || this.loading, "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": ((_b = this.el) === null || _b === void 0 ? void 0 : _b.ariaLabel) || 'XV button' }, this.loading && (index.h("xv-loader-v2", { key: '068cd3f9bc6b48fed3c53e3d4d379da885b04b95', class: "xv-button__loader", size: this.size !== SIZE_VAR.XL ? this.size : SIZE_VAR.LG })), index.h("span", { key: '8723520d4016d6e88b410cb812e44a1aff37a0e4', class: "xv-button__icon xv-button__icon--left" }, index.h("slot", { key: 'a72f26bd0953750cc65a644ee7125fdd7bf8ce97', name: "icon-left", onSlotchange: this.handleSlotChangeLeft })), index.h("span", { key: '1a5bca8873a4ee387f1f96db56e319810ba4c171', class: "xv-button__label" }, index.h("slot", { key: '7e0298656481090796a6ad1b520029dcbb7eab54', onSlotchange: this.handleSlotChangeContent }, this.label)), index.h("span", { key: '8ff8b70423fe2981cca4925dbffb837419a6f3ab', class: "xv-button__icon xv-button__icon--right" }, index.h("slot", { key: 'c0c15d62fb18a42a76a767cfc320521388665d01', name: "icon-right", onSlotchange: this.handleSlotChangeRight })))));
|
|
160
160
|
}
|
|
161
161
|
static get formAssociated() { return true; }
|
|
162
162
|
get el() { return index.getElement(this); }
|
|
@@ -214,6 +214,7 @@ const XvCheckbox = class {
|
|
|
214
214
|
* Change checkmark icon to minus
|
|
215
215
|
*/
|
|
216
216
|
this.partial = false;
|
|
217
|
+
this.size = SIZE_VAR.MD;
|
|
217
218
|
this.hasFocus = false;
|
|
218
219
|
this.onInput = (e) => {
|
|
219
220
|
const target = e.target;
|
|
@@ -250,7 +251,7 @@ const XvCheckbox = class {
|
|
|
250
251
|
}
|
|
251
252
|
}
|
|
252
253
|
render() {
|
|
253
|
-
return (index.h(index.Host, { key: '
|
|
254
|
+
return (index.h(index.Host, { key: 'a18af95ff7f16b6c521a8b0dd87d8dccd5a59ca6' }, index.h("label", { key: 'e1e156bdfaaab224cd0fdc3c335007a226954f4e', class: { 'xv-checkbox': true, disabled: this.disabled, readonly: this.readonly } }, index.h("input", { key: '6ee91843fafedd5181faf3c7a4999b769130eb41', ref: el => (this.inputEl = el), type: "checkbox", readonly: this.readonly, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, required: this.required, indeterminate: this.indeterminate, onInput: this.onInput, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }), index.h("span", { key: '8aae1f55ce93c49a7c31befbf511dd6e5fee81d2', class: `checkmark ${this.partial ? 'checkmark-partial' : ''}` }), index.h("div", { key: '576d09e60a3a95dd930e71e34f6944c7ef36870d', class: "label" }, index.h("slot", { key: 'daf763b81d4f7cbe18b97f5cf06f3c5a24d947e8' }, this.label && index.h("span", { key: '532206a77490e578dbeb02eda4fdd356aba283e6', class: "label_str" }, this.label)))), index.h("slot", { key: '5eb216f63aebbbaa2e258e75a6342fd0af1cac0f', name: "info" }), !!this.error && index.h("span", { key: '5248290ad28c695fb552d20e42e897cda92d645d', class: "error" }, this.error)));
|
|
254
255
|
}
|
|
255
256
|
componentDidLoad() {
|
|
256
257
|
if (this.indeterminate) {
|
|
@@ -288,7 +289,7 @@ const XvDataTable = class {
|
|
|
288
289
|
this.hover = false;
|
|
289
290
|
}
|
|
290
291
|
render() {
|
|
291
|
-
return (index.h(index.Host, { key: '
|
|
292
|
+
return (index.h(index.Host, { key: 'fe6c1bf5044cf4e22e07598622365c84afc7d63f', class: "xv-data-table" }, index.h("caption", { key: '37caac07d46c4412a29421047b5cac1c4b25dc98' }, index.h("slot", { key: '1f1e83264580e062f9802e9d116c323378e55334', name: "title" })), index.h("div", { key: '59c21bb461e2efb28f5669abc55b98cf1f51ef9f', class: "bar" }, index.h("div", { key: '1114c7dfc4f950230db24dfbbe8d4b9c53397914', class: "bar_batch" }, index.h("slot", { key: 'ffbaaecd9a264cdaec751456c03f372278bcdf1c', name: "batch" })), index.h("div", { key: '763a40f68290bac4dc0bd2341f77b2ffd7b4bf8f', class: "bar_toolbar" }, index.h("slot", { key: 'ddbc1729666e44f6924a2b26ba2cd9e7a0aeadec', name: "toolbar" }))), index.h("table", { key: 'ae8ab323a775a06660b99180201a97effb74a471', role: "table" }, this.columnWidths.length > 0 && (index.h("colgroup", { key: '8380340402663e5bb52fe2b035829b68efc46c4f' }, this.columnWidths.map((width = 'auto') => index.h("col", { style: { width } })))), index.h("thead", { key: '198e2a5392e2249cd5c305b642306063868638b9' }, index.h("slot", { key: '815c935c559ab67de50c37d9eaed5c7696594f60', name: "header" })), index.h("tbody", { key: '599764fabb4091b589f67eaa2a2e8bf54f6dfdbd' }, index.h("slot", { key: '61e16054bef8bf4919de7ddcd18e65cd42945061' })), index.h("tfoot", { key: '8a69e0ee69ae4f22aa6ebe7699bd392826e3b830' }, index.h("slot", { key: '98f16214b37360d08abd2868dc43d1c949a92af5', name: "footer" }))), !!this.loading && (index.h("div", { key: 'd8832909cd1fb1f7267fb86e7bcec19ab4e3562c', class: "loading" }, index.h("xv-loader-v2", { key: 'fad17d792cba3e1a83c5d7a871500063cb0b7130', size: SIZE_VAR.LG })))));
|
|
292
293
|
}
|
|
293
294
|
get el() { return index.getElement(this); }
|
|
294
295
|
};
|
|
@@ -321,7 +322,7 @@ const XvDataTableCell = class {
|
|
|
321
322
|
}
|
|
322
323
|
;
|
|
323
324
|
render() {
|
|
324
|
-
return (index.h(index.Host, { key: '
|
|
325
|
+
return (index.h(index.Host, { key: 'aad24baff63999cfcabbb17b8d323821847a8dca', role: "cell", style: { width: this.width }, class: {
|
|
325
326
|
multiline: this.multiline !== undefined,
|
|
326
327
|
[`align--${this.align}`]: !!this.align
|
|
327
328
|
} }, !this.multiline || isNaN(this.multiline) ? this.__renderWithTooltip() : (index.h("div", { class: "line-clamp", style: { ['-webkit-line-clamp']: `${this.multiline}` } }, this.__renderWithTooltip()))));
|
|
@@ -77565,12 +77566,12 @@ const XvDatepicker = class {
|
|
|
77565
77566
|
}
|
|
77566
77567
|
render() {
|
|
77567
77568
|
const [start, end] = this.value;
|
|
77568
|
-
return (index.h(index.Host, { key: '
|
|
77569
|
+
return (index.h(index.Host, { key: '04e915550e51ed8630db2cca2be1a61b3dcd2cdb', class: { disabled: !!this.disabled }, tabindex: this.disabled ? '-1' : undefined }, index.h("div", { key: '2fd47ec44ca452ef87fc26c870c78466bd562e08', "aria-controls": "popover", class: "control" }, this.label && index.h("label", { key: '9d4e822fbffdb28398f069d0cf1b8313b8a06442', class: "control_label" }, this.label), index.h("div", { key: '4a0974fa0365ac7bc315d5b06b70692ceae82a00', class: {
|
|
77569
77570
|
'control_field': true,
|
|
77570
77571
|
loading: this.loading,
|
|
77571
77572
|
error: !!this.error || !!this.localError,
|
|
77572
77573
|
warning: this.warning !== undefined,
|
|
77573
|
-
}, onClick: this.handleOpen, ref: (el) => (this.controlEl = el) }, index.h("input", { key: '
|
|
77574
|
+
}, onClick: this.handleOpen, ref: (el) => (this.controlEl = el) }, index.h("input", { key: '59917b79a5c449d8c837b7a569afda3d5a486b1f', lang: "de", type: "date", name: "start", disabled: this.loading || this.disabled, readonly: this.readonly || this.variant === 'range', min: this.min, max: this.max, value: start ? dateFns.format(start, DEF_FORMAT) : '', onChange: (e) => this.handleChange(e, 'start'), onBlur: (e) => this.handleBlur(e, 'start'), onKeyDown: (e) => this.handleKeydown(e, 'start') }), this.variant === 'range' && (index.h("input", { key: 'e285b2094b1c102626d0b27c38ed212d8e673c18', lang: "de", type: "date", name: "end", disabled: this.loading || this.disabled, readonly: this.readonly || this.variant === 'range', min: this.min, max: this.max, value: end ? dateFns.format(end, DEF_FORMAT) : '', onChange: (e) => this.handleChange(e, 'end'), onBlur: (e) => this.handleBlur(e, 'end'), onKeyDown: (e) => this.handleKeydown(e, 'end') }))), (this.helper || this.error || this.warning || this.localError) && (index.h("div", { key: 'e0356c8da6e5d1c36aeaebe7a1ca19754e650ddc' }, this.helper && index.h("p", { key: 'bd5a7ed28c68a9dc954ff4400874d7817b69f9c7', class: "control_message helper" }, this.helper), (this.error || this.warning || this.localError) && (index.h("p", { key: '82bb6c9e6361df206897343ed7ce3ef36631a13c', class: { control_message: true, error: !!this.error || !!this.localError } }, this.error || this.localError || this.warning))))), index.h("div", { key: '742a09e03546cb526931c95a50f3ca1870269e46', role: "dialog", class: { popover: true, open: this.open }, ref: (el) => (this.popoverEl = el) }, index.h("div", { key: '0fc6672d638edda04a286b5aafe01fdf9866d0fa', class: "header" }, index.h("xv-button-v2", { key: '9d9bb9c238b79ca582214064ae640f484f7bf362', tabindex: this.open ? undefined : '-1', disabled: this.isPrevDisabled, variant: "ghost", onClick: this.prevMonth }, index.h("span", { key: '9414b923b449032af3f7ba18aedb1fdc0cd719d6', slot: "icon-left", class: "header_icon prev" })), index.h("p", { key: '86e55b8349bc59625e4d191ce597c5612a15ccfd', class: "header_date" }, dateFns.format(this.month, 'LLLL', { locale: localeExports.de }), index.h("input", { key: '15182abbc60ad985572e423dd5568047ce6c67f5', tabindex: this.open ? undefined : '-1', type: "number", value: this.month.getFullYear(), onInput: this.handleYearChange, onBlur: this.handleYearBlur })), index.h("xv-button-v2", { key: 'f0cc537ee77542791cfaf86d148f965235bfe74f', tabindex: this.open ? undefined : '-1', disabled: this.isNextDisabled, variant: "ghost", onClick: this.nextMonth }, index.h("span", { key: '7ea9f4d223e597aef532a67a3e8d2ed483854ac5', slot: "icon-left", class: "header_icon next" }))), index.h("div", { key: '52ebb53d539c980f5c58838ba9e64ce2a490dcf9', class: "week" }, index.h("p", { key: '00d8eca10654bcbd3942bb46ca6c276380cd87c7', class: "week_day" }), WEEK.map((day) => index.h("p", { class: "week_day" }, day, "."))), index.h("div", { key: 'c13fc84fc2f729f29b15585ca4ba806edbe207e6', class: "week" }, this.days.map((day, idx) => (index.h(index.Fragment, null, idx % 7 === 0 && (index.h("button", { tabindex: this.open ? undefined : '-1', disabled: true, class: "week_day disabled" }, day.week)), index.h("button", { tabindex: this.open ? undefined : '-1', onClick: () => this.handleSetDate(day), disabled: day.disabled, class: {
|
|
77574
77575
|
'week_day': true,
|
|
77575
77576
|
inRange: this.variant === 'range' && dateFns.isWithinInterval(day.date, { start, end }),
|
|
77576
77577
|
isToday: day.isToday,
|
|
@@ -77749,7 +77750,7 @@ const XvDropdown = class {
|
|
|
77749
77750
|
}
|
|
77750
77751
|
/* endregion Search methods */
|
|
77751
77752
|
render() {
|
|
77752
|
-
return (index.h(index.Host, { key: '
|
|
77753
|
+
return (index.h(index.Host, { key: '612a7e5660536fa412c6063ad8e80c58a994d43b', class: { 'xv-dropdown': true, [this.variant]: !!this.variant }, role: "combobox", size: this.size, open: this.open, error: !!this.error, disabled: this.disabled, tabindex: (this.disabled || this.readonly) ? -1 : false }, (this.label || this.info) && (index.h("label", { key: '34ae9d647be9c38210c2d43201bc9c1ca6e4438f', class: "label" }, index.h("slot", { key: 'eeb619b0a8f4adc30996e1b521e490d8c08dae61', name: "label" }, this.label), this.info && index.h("xv-tooltip-v2", { key: '910342dadb676135eb9164e1d702f79f1ecc166e', class: "label_info", message: this.info }))), index.h("div", { key: '4af58921932447353c840fae52f326119f7f596b', class: { "xv-dropdown-control control": true, readonly: !!this.readonly }, onClick: this.handleOpen }, (this.multiple && this.selectedMap.size > 0) && (index.h("xv-tag-v2", { key: '8eae9f0762d29d4f866e73f9ffe1b5d7c63783fc', class: "control_count", onCloseClick: this.clearHandle, closeable: !this.required, bg: "var(--background-inverse)", color: "var(--icon-inverse)" }, this.selectedMap.size)), this.selected.length ? (index.h("p", { class: "control_value" }, this.selected.join(', '))) : (index.h("p", { class: "control_placeholder" }, this.placeholder || '')), this.renderIcon(), index.h("svg", { key: 'fc4af7bc700b63c3d36a3a8c14c67bea7dd6707f', class: "control_arrow", focusable: "false", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", "aria-hidden": "true", width: "16", height: "16", viewBox: "0 0 16 16" }, index.h("path", { key: '400ba26035ac3da878d941acd43eb89d29d7e950', d: "M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z" }))), this.open && index.h("div", { key: '6a03de34ea2fbb79b660032098e606d14c56fcfa', class: "options" }, this.search && (index.h("div", { key: '501a11562faa0e3d558e320fc23ca52afee41c07', class: "options_search" }, index.h("xv-text-input-v2", { key: '47e12839062e4fbad94cb642dfde5bd114fa8418', type: "search", block: true, autocomplete: "off", size: this.size, value: this.searchQuery, placeholder: this.searchPlaceholder, onValueChange: this.handleSearchInput }))), index.h("slot", { key: "xv-dropdown-options" })), (this.helper || typeof this.error === 'string' || this.warning) && (index.h("p", { key: 'eae777f8e2a976ee9b4d52702e538fe8ca9bc5f8', class: "helper" }, this.error || this.warning || this.helper))));
|
|
77753
77754
|
}
|
|
77754
77755
|
componentWillLoad() {
|
|
77755
77756
|
this.setDefaultValues();
|
|
@@ -77795,6 +77796,7 @@ const XvDropdownItem = class {
|
|
|
77795
77796
|
this.value = '';
|
|
77796
77797
|
this.selected = false;
|
|
77797
77798
|
this.multiple = false;
|
|
77799
|
+
this.size = SIZE_VAR.MD;
|
|
77798
77800
|
}
|
|
77799
77801
|
handleClick() {
|
|
77800
77802
|
if (this.disabled)
|
|
@@ -77806,7 +77808,7 @@ const XvDropdownItem = class {
|
|
|
77806
77808
|
});
|
|
77807
77809
|
}
|
|
77808
77810
|
render() {
|
|
77809
|
-
return (index.h(index.Host, { key: '
|
|
77811
|
+
return (index.h(index.Host, { key: '3df1015bc9b074c0fe3478128250244415045641', class: "xv-dropdown-item", value: this.value, role: "option", tabindex: this.disabled ? -1 : false }, this.multiple && (index.h("xv-checkbox-v2", { key: '739d03975964ea0fc28fdc32c6f739e3a2dc1290', class: "multiple-check", size: this.size, checked: this.selected, disabled: this.disabled })), index.h("slot", { key: '7876baa55c1c28bd4c0e894def60848963761d6d' }), (!this.multiple && this.selected) && index.h("span", { key: '5413b3d8523eae0b0d6568e2b9399580944eb2aa', class: "checkmark" })));
|
|
77810
77812
|
}
|
|
77811
77813
|
componentWillLoad() {
|
|
77812
77814
|
if (!this.value)
|
|
@@ -77910,7 +77912,7 @@ const XvFileUploader = class {
|
|
|
77910
77912
|
}
|
|
77911
77913
|
}
|
|
77912
77914
|
render() {
|
|
77913
|
-
return (index.h(index.Host, { key: '
|
|
77915
|
+
return (index.h(index.Host, { key: '9a1183ca347110f62e87f645e6060f7b6c9a5644', class: { 'upload-wrapper': true, [`uploader-${this.size}`]: true, disabled: !!this.disabled, error: !!this.error } }, this.label && index.h("label", { key: '9eed21e075fabb1bbef283340dcfc2f99c312d55', class: "label" }, this.label), this.description && index.h("p", { key: '7db4851fc587ba47ade596a2a2e2f3724ea46073', class: "description" }, this.description), this.variant === 'button' ? (index.h("xv-button-v2", { class: "uploadBtn", variant: this.buttonVariant, disabled: this.disabled, onClick: () => this.fileInput.click() }, this.addText || 'Dateien auswählen')) : (index.h("div", { class: { 'drop-zone': true, active: this.dragActive }, onDrop: this.onDrop, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onClick: () => this.fileInput.click() }, this.addText || 'Dateien hierher ziehen oder darauf klicken, um eine Datei auszuwählen.')), index.h("input", { key: '0fabaa8893bb18cffb18484f843ca5c527b4831b', ref: el => (this.fileInput = el), type: "file", hidden: true, onChange: this.onFileSelect, multiple: this.multiple, accept: this.accept.join(',') }), this.error && index.h("p", { key: '49d1b1321fbc149d14e20e70d994230ecf4a0e00', class: "global-error" }, this.error), index.h("ul", { key: '2381e5658af574cd9ab1c2366cce41c30c527c81', class: "file-list" }, this.files.map((file, index$1) => {
|
|
77914
77916
|
var _a, _b;
|
|
77915
77917
|
return (index.h("li", { class: { file: true, withError: !!(((_a = this.errors) === null || _a === void 0 ? void 0 : _a[index$1]) || ((_b = this.errorMessages) === null || _b === void 0 ? void 0 : _b[index$1])) } }, index.h("div", { class: "file_container" }, index.h("span", { class: "file_container_name" }, file.name), this._renderLoaderState(index$1)), this._renderError(index$1)));
|
|
77916
77918
|
}))));
|
|
@@ -78263,7 +78265,7 @@ const XvLink = class {
|
|
|
78263
78265
|
e.stopPropagation();
|
|
78264
78266
|
}
|
|
78265
78267
|
render() {
|
|
78266
|
-
return (index.h(index.Host, { key: 'e1210ae1dc4d7a43156a11e369edd1b8a6ff2cc7', class: { [`xv-link_${this.variant}`]: true, disabled: !!this.disabled } }, index.h("a", { key: '
|
|
78268
|
+
return (index.h(index.Host, { key: 'e1210ae1dc4d7a43156a11e369edd1b8a6ff2cc7', class: { [`xv-link_${this.variant}`]: true, disabled: !!this.disabled } }, index.h("a", { key: 'a35e9cf7a0fa05713b15106637b6a85cae853d93', href: this.href, onClick: this.preventLinkHandler.bind(this), class: { 'xv-link': true, 'xv-link_disabled': !!this.disabled, [this.size]: !!this.size }, target: this.target }, index.h("slot", { key: '5137161df3c220c78b400de78da42edae90e232d', name: "icon-left" }), index.h("slot", { key: 'd68462127e685bbc560e84c5ac317985c01f181f' }), index.h("slot", { key: 'f4ba2e0c77d8b24d7cc9b169c3a0bfffb3d8d1ed', name: "icon-right" }))));
|
|
78267
78269
|
}
|
|
78268
78270
|
};
|
|
78269
78271
|
XvLink.style = xvLinkCss();
|
|
@@ -78551,7 +78553,7 @@ const XvModal = class {
|
|
|
78551
78553
|
}
|
|
78552
78554
|
render() {
|
|
78553
78555
|
var _a;
|
|
78554
|
-
return (index.h(index.Host, { key: '
|
|
78556
|
+
return (index.h(index.Host, { key: '97c0c7a62669663662d8ea584097640b5e3a8b4c', role: "dialog", size: this.size, id: this.el.id }, index.h("slot", { key: 'f811dad05959e647dee3d963c609951592347601', name: "trigger", onSlotchange: this.setupTrigger }), index.h("div", { key: 'c55649b412616b781e66116528b31dc9a3c5fa42', class: { backdrop: true }, onClick: this.onBackdropClick }, index.h("div", { key: 'e3a98fcbc3a9db10d25d12d82df9edadd3884999', class: "modal" }, index.h("button", { key: '35b7c1e59dd63dcad8417ee3436dc7c0e42a6dcd', class: "modal_close", onClick: this.closeModal.bind(this) }, "\u00D7"), index.h("div", { key: '5c548ff6b779a378978fbe1926d9d7cf44f7bda8', class: "modal_header" }, index.h("slot", { key: '9f374691ee714061809ce33bed5261e30c6c214d', name: "header" }, ((_a = this.el) === null || _a === void 0 ? void 0 : _a.title) && index.h("h5", { key: '177131e0fd75169cc7e12ce97c7cf72dadad8ae1', class: "modal_header__title" }, this.el.title))), index.h("div", { key: '67148ee85afc15899c91ebd4735f90aa03f586d6', class: { 'modal_content': true, overflow: this.overflow } }, index.h("slot", { key: '53383b4c95ab640881fd09aab17e8d60dcf4ee44' })), index.h("div", { key: 'f1864d21d9565fd0dd5ac991e696c12deadf240f', class: "modal_footer" }, index.h("slot", { key: '329c4e5f1e2cbd65b553feb68749ed1e47320dc5', name: "footer" })), !!this.loading && (index.h("div", { key: '296f63099f4f8196adf18d062fd9b3ace18e1e9f', class: "loading" }, index.h("xv-loader-v2", { key: '87edaecb22f0e1cf3b8a69960c4830d450f06040', size: SIZE_VAR.LG })))))));
|
|
78555
78557
|
}
|
|
78556
78558
|
disconnectedCallback() {
|
|
78557
78559
|
this.removeTriggerListener();
|
|
@@ -78589,7 +78591,7 @@ const XvNotification = class {
|
|
|
78589
78591
|
};
|
|
78590
78592
|
}
|
|
78591
78593
|
render() {
|
|
78592
|
-
return (index.h(index.Host, { key: '
|
|
78594
|
+
return (index.h(index.Host, { key: 'c2ea43cacfb9e5061f2911861da6eac4d40f1a64', class: "xv-notification", type: this.variant }, this.renderIcon(this.variant), index.h("div", { key: 'a26213916953bfdd045359d1173a470aa1284106', class: "content" }, index.h("div", { key: '3300537222f6639909c2c24ee5dbef79a6e0609f', class: "content_wrapper" }, this.el.title && index.h("h5", { key: '3e234f6965610177ec14e50f1e78e2a82c5baf29', class: "content_title" }, this.el.title), index.h("slot", { key: '7522ff2dd378941c681845cf5d25d81445930718' })), index.h("slot", { key: '3b40a85323acca55513c821797812fdb430cae95', name: "footer" })), this.dismissible && index.h("button", { key: 'f0b5849e6756d9601ff45a0142355b01e54143e4', class: "close", onClick: this.closeHandle })));
|
|
78593
78595
|
}
|
|
78594
78596
|
static get assetsDirs() { return ["xv-notification/icons"]; }
|
|
78595
78597
|
get el() { return index.getElement(this); }
|
|
@@ -78639,12 +78641,12 @@ const XvNumberInput = class {
|
|
|
78639
78641
|
this.valueChange.emit(this.value);
|
|
78640
78642
|
}
|
|
78641
78643
|
render() {
|
|
78642
|
-
return (index.h(index.Host, { key: '
|
|
78644
|
+
return (index.h(index.Host, { key: 'b59416e80bd04b5809fd24a63ea2b37e02777a4b', class: { disabled: !!this.disabled } }, index.h("label", { key: 'ca7656ae07f4ef12aa4a9ee8abaf2b8fffefb71a', class: "control" }, this.label && index.h("span", { key: '37ed8835a557d935a8b51d852a58cd6a0d254962', class: "control_label" }, this.label), index.h("div", { key: '1a28b6ec63697f3b002b29f762df3dc559a26479', class: {
|
|
78643
78645
|
'control_input': true,
|
|
78644
78646
|
readonly: !!this.readonly,
|
|
78645
78647
|
error: !!this.error,
|
|
78646
78648
|
warning: !!this.warning
|
|
78647
|
-
} }, index.h("input", { key: '
|
|
78649
|
+
} }, index.h("input", { key: '1b5762f2f4b95c25a0ed40f95f60a831f4bd4e90', 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 }), index.h("div", { key: 'c783e76a9d7664215dcce585f095691905269481', class: "control_input__icons" }, this.loading ? (index.h("xv-loader-v2", { size: SIZE_VAR.XS })) : !!this.error ? (index.h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (index.h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, index.h("xv-button-v2", { key: 'd89103c22a837c95e460f38e0481beb056bc97c3', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.decrement, "aria-label": "Decrease" }, index.h("span", { key: '58111eeac3065c5b128146da9ceeebb99d9fa159', slot: "icon-left", class: "status-icon" }, "\u2212")), index.h("hr", { key: 'eedd7a0ff5d942ce0c6846f9f85b27735047b3ed' }), index.h("xv-button-v2", { key: 'b2879216e24a29b0aa15f5752b8baaf27cb28bfb', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.increment, "aria-label": "Increase" }, index.h("span", { key: '79454bb5c3854fb3b97d28ab96d20502940275f3', slot: "icon-left", class: "status-icon" }, "+"))))), this.helper && index.h("p", { key: 'b83f478b2dda7f6f251693cf4ac169c6695a1784', class: "message" }, this.helper), typeof this.error === 'string' ? (index.h("p", { class: "message error" }, this.error)) : typeof this.warning === 'string' ? (index.h("p", { class: "message warning" }, this.warning)) : null));
|
|
78648
78650
|
}
|
|
78649
78651
|
static get formAssociated() { return true; }
|
|
78650
78652
|
};
|
|
@@ -78702,8 +78704,8 @@ const XvOverflowMenu = class {
|
|
|
78702
78704
|
}
|
|
78703
78705
|
}
|
|
78704
78706
|
render() {
|
|
78705
|
-
const button = (index.h("button", { key: '
|
|
78706
|
-
return (index.h(index.Host, { key: '
|
|
78707
|
+
const button = (index.h("button", { key: 'a48287a0adfac5def30d744dbcfc60889537194f', class: { btn: true, open: this.open }, onClick: this.onOpenToggle, disabled: this.disabled }, index.h("slot", { key: '153bdb2d79210ea52f27b5ac60d5c24ef1b8bd03', name: "trigger" }, index.h("svg", { key: 'c7a17c4d72cd1b4b1c254eb501396965ac0c0b77', xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 128 512" }, index.h("path", { key: '33206ad1bcb2ac1809ce045cd2d94d2da8d94a7e', 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" })))));
|
|
78708
|
+
return (index.h(index.Host, { key: '60d7b1b539fe940232373d55cc398dc7c602e4b2', class: "xv-overflow-menu", size: this.size, role: "menu", tabindex: -1 }, this.tooltip ? index.h("xv-tooltip-v2", { message: this.tooltip }, button) : button, index.h("div", { key: 'c5e1198e5f8ebeacf0be37d5e87b230d0e07c3ee', class: { list: true, open: this.open, [`position-${this.position}`]: true } }, index.h("slot", { key: '8bbe81229dad8e80ad240fb0289c65873984222c' }))));
|
|
78707
78709
|
}
|
|
78708
78710
|
componentDidLoad() {
|
|
78709
78711
|
this.openChangeHandle();
|
|
@@ -78834,17 +78836,12 @@ const XvPagination = class {
|
|
|
78834
78836
|
this.observer.disconnect();
|
|
78835
78837
|
}
|
|
78836
78838
|
render() {
|
|
78837
|
-
return (index.h(index.Host, { key: '
|
|
78839
|
+
return (index.h(index.Host, { key: 'cc2cfd94c19f29596268e2da3d752394dcbbd24a', class: { block: this.block, [this.currentVariant]: true, [this.size]: !!this.size } }, this.currentVariant === 'full' && (index.h("div", { key: '96a96b12ce4074c8e3940240212b9c0a1215f4d9', class: "block" }, index.h("select", { key: 'cfa58b92ae27776883873ee0b0492f2efcb41d5d', class: "options-select", name: "options", onChange: this.handleItemsPerPageChange }, this.itemsPerPageOptions.map((v) => index.h("option", { value: v }, v))))), this.currentVariant === 'full' && (index.h("span", { key: 'e2b11fa6586fe948857ec0dc76c9e0e78a2b944b', 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' && (index.h("div", { key: 'f3897c314aa71242504d696c17873bbcd94d654d', class: "block" }, index.h("select", { key: '6a841dcb687f1e4177e0b6b0125bc40d2124b290', class: "options-select", name: "pages", onChange: this.handlePageSelectChange }, Array.from({ length: this.total }, (_, i) => (index.h("option", { selected: this.page === i + 1, value: i + 1 }, i + 1)))), index.h("span", { key: 'f7002582e1436bdf0627d78c6a1e5445fab592d8' }, "von ", this.total, " Seiten"))), this.currentVariant === 'compact' && index.h("span", { key: '846c300ac490c99b45413de76c0d76e338f6613c', class: "block" }, "Seite ", this.page), index.h("xv-button-v2", { key: '6d41167ea89e777b92cd66a61cdcc7ceb4579854', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page - 1), disabled: this.page <= 1 }, index.h("span", { key: '13511a042c34a7aef1cf165e2727718ee6d697aa', slot: "icon-left", class: "icon icon_prev" })), this.currentVariant === 'regular' && (index.h("ul", { key: '990bd59673dd242885cc1ba97447ca9a3d0fe500', class: "list" }, this.visiblePagesWithDots.map((page) => (index.h("li", { class: { active: this.page === page } }, page === 'dots-start' ? (index.h("div", { class: "list_dots" }, index.h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, index.h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), index.h("select", { name: "start", onChange: this.handlePageSelectChange }, Array.from({ length: this.page - 3 }, (_, i) => (index.h("option", { value: i + 2 }, i + 2)))))) : page === 'dots-end' ? (index.h("div", { class: "list_dots" }, index.h("xv-button-v2", { variant: "ghost", size: this.size, tabindex: -1 }, index.h("span", { slot: "icon-left", class: "list_dots__icon" }, "...")), index.h("select", { name: "end", onChange: this.handlePageSelectChange }, Array.from({ length: this.total - (this.page + 2) }, (_, i) => (index.h("option", { value: i + this.page + 2 }, i + this.page + 2)))))) : (index.h("xv-button-v2", { variant: "ghost", size: this.size, disabled: this.page === page, onClick: () => this.handlePageChange(page) }, index.h("span", { class: "list_page", slot: "icon-left" }, page)))))))), index.h("xv-button-v2", { key: '70018d8f6ea1409f68185173d0a8dc9a029ae22b', variant: "ghost", size: this.size, onClick: () => this.handlePageChange(this.page + 1), disabled: this.page >= this.total }, index.h("span", { key: 'e0142f5b147d49280f8e600cdbdef27ac62c90ec', slot: "icon-left", class: "icon icon_next" }))));
|
|
78838
78840
|
}
|
|
78839
78841
|
get el() { return index.getElement(this); }
|
|
78840
78842
|
};
|
|
78841
78843
|
XvPagination.style = xvPaginationCss();
|
|
78842
78844
|
|
|
78843
|
-
var PROGRESS_VARIANTS;
|
|
78844
|
-
(function (PROGRESS_VARIANTS) {
|
|
78845
|
-
PROGRESS_VARIANTS["DEFAULT"] = "";
|
|
78846
|
-
PROGRESS_VARIANTS["HORIZONTAL"] = "horizontal";
|
|
78847
|
-
})(PROGRESS_VARIANTS || (PROGRESS_VARIANTS = {}));
|
|
78848
78845
|
var PROGRESS_ITEM_STATUS;
|
|
78849
78846
|
(function (PROGRESS_ITEM_STATUS) {
|
|
78850
78847
|
PROGRESS_ITEM_STATUS["DONE"] = "done";
|
|
@@ -78864,10 +78861,9 @@ const XvProgressIndicator = class {
|
|
|
78864
78861
|
this.progress = 0;
|
|
78865
78862
|
/**
|
|
78866
78863
|
* Progress variant
|
|
78867
|
-
* enum PROGRESS_VARIANTS
|
|
78868
78864
|
* possible option `horizontal`
|
|
78869
78865
|
*/
|
|
78870
|
-
this.variant =
|
|
78866
|
+
this.variant = '';
|
|
78871
78867
|
/**
|
|
78872
78868
|
* Size of progress
|
|
78873
78869
|
* enum SIZE_VAR
|
|
@@ -78909,7 +78905,7 @@ const XvProgressIndicator = class {
|
|
|
78909
78905
|
this.updateChildItems();
|
|
78910
78906
|
}
|
|
78911
78907
|
render() {
|
|
78912
|
-
return (index.h(index.Host, { key: '
|
|
78908
|
+
return (index.h(index.Host, { key: 'f9d8de17ca0f106d2e00b0a6f497eb5a3994bf39', variant: this.variant, size: this.size, class: { 'xv-progress-indicator': true } }, index.h("slot", { key: '5a6c02b0306096c847e0aaf32b3f082eb5da9377' })));
|
|
78913
78909
|
}
|
|
78914
78910
|
get el() { return index.getElement(this); }
|
|
78915
78911
|
static get watchers() { return {
|
|
@@ -78960,12 +78956,12 @@ const XvRadio = class {
|
|
|
78960
78956
|
}
|
|
78961
78957
|
}
|
|
78962
78958
|
render() {
|
|
78963
|
-
return (index.h("div", { key: '
|
|
78959
|
+
return (index.h("div", { key: 'aa2a6f0b7bcf8ad61ff1b7b5a844eb3d48a29421', class: {
|
|
78964
78960
|
'xv-radio': true,
|
|
78965
78961
|
'xv-radio--reverse': this.reverse,
|
|
78966
78962
|
'xv-radio--block': this.block,
|
|
78967
78963
|
[`xv-radio--size-${this.size}`]: !!this.size,
|
|
78968
|
-
} }, this.label && index.h("p", { key: '
|
|
78964
|
+
} }, this.label && index.h("p", { key: 'bc98e1bc809a80f53205c4d3b6668700db68443b', class: "xv-radio_label" }, this.label), index.h("label", { key: 'ee9d767d8573d83499d84db6461693224ddb9c91', class: { 'xv-radio_container': true, disabled: this.disabled } }, index.h("div", { key: '9a128d7ea5f5d23b3be6a6e56d7c9e90ed248cf7', class: { 'xv-radio_input': true, 'xv-radio_input--error': !!this.error || this.error === '' } }, index.h("input", { key: 'aa5926c2bb1ab23314f84895d30c488e4895e3b6', ref: el => (this.inputEl = el), type: "radio", name: this.name, value: this.value, checked: this.checked, readonly: this.readonly, disabled: this.disabled }), index.h("span", { key: '7e18c0b92561bdf1409247eb4724fce91bf32a6c', class: "xv-radio_input__mark" })), index.h("span", { key: '26ad3b9a41f62013e51df20a2cafaa7a54f88d34', class: "xv-radio_container__label" }, index.h("slot", { key: '1ca990bde0a32a90cc3b15afabfbfe5b4e53992a' }))), this.error && typeof this.error === 'string' && (index.h("span", { key: '9dfe955fe9d9c4cc979b332d0d79969df52c67c2', class: "xv-radio_msg xv-radio_msg--error" }, index.h("span", { key: '1f2f4738bfbc62c09b9ec56ca4792d3c947f1b21', class: "xv-radio_msg__status", "aria-hidden": "true" }, "!"), this.error)), this.warning && typeof this.warning === 'string' && (index.h("span", { key: 'e7b5cda47f4c6136abd247ced55a77032bca113a', class: "xv-radio_msg xv-radio_msg--warning" }, index.h("span", { key: '41c0ab0acb9f34acf32282218235ebeb0a4280fb', class: "xv-radio_msg__status", "aria-hidden": "true" }, "\u26A0"), this.warning)), index.h("slot", { key: '96466c9a5e9b6d9049bd54deef014c4f838fe577', name: "info" })));
|
|
78969
78965
|
}
|
|
78970
78966
|
connectedCallback() {
|
|
78971
78967
|
var _a;
|
|
@@ -79074,6 +79070,7 @@ const xvTableCss = () => `.xv-tooltip[role=tooltip]{position:absolute;background
|
|
|
79074
79070
|
const XvTable = class {
|
|
79075
79071
|
constructor(hostRef) {
|
|
79076
79072
|
index.registerInstance(this, hostRef);
|
|
79073
|
+
this.size = SIZE_VAR.MD;
|
|
79077
79074
|
this.selected = new Map();
|
|
79078
79075
|
this.selectedCount = 0;
|
|
79079
79076
|
}
|
|
@@ -79103,7 +79100,7 @@ const XvTable = class {
|
|
|
79103
79100
|
.join(' ') + ' repeat(auto-fit, minmax(0, 1fr))');
|
|
79104
79101
|
}
|
|
79105
79102
|
render() {
|
|
79106
|
-
return (index.h(index.Host, { key: '
|
|
79103
|
+
return (index.h(index.Host, { key: 'b809f3c88c1da60cf37072c13f20b77198b73186', class: { batchVisible: !!this.selectedCount } }, index.h("slot", { key: '29d4ff4d2ccde52807590a388d394dfdaab6cb26', name: "title" }, !!this.el.title && index.h("h2", { key: '4c7e062dae19f90b4eb3001fd4aa0f654a8e7c63', class: "xv-table-title" }, this.el.title)), index.h("slot", { key: '12f7ee2bf0781cdb29aba4353abe2ca2b305f683', name: "toolbar" }), index.h("div", { key: '7225f526a826fb5579e7d020113e165cfd2ab21b', class: "xv-table" }, index.h("div", { key: 'f655700384d4f8582f938a23524729ddee72afbb', class: "batch-actions" }, index.h(index.Fragment, { key: 'abccc1a9667eff23e66c93fb41c00bcb23bb2def' }, index.h("div", { key: 'fb6a16fb09c2f60a8c8d374325c1b4a9a50abfeb', class: "batch-actions_content" }, index.h("slot", { key: '091bc7d5542b9e80ab1ed3dfca6aa2a873c143d4', name: "batch" })), index.h("p", { key: '30a46da655a6c2087c618388e05cd8cf6e29478f', class: "batch-actions_count" }, !!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`))), index.h("div", { key: '74b3faf976efc669d18699a03403e169fe531ad8', class: "xv-table_wrapper" }, index.h("slot", { key: '477caff6708e6bd3af70566b4970a86b4ad8a725' }), index.h("slot", { key: 'd036aec3964f9b595673ed3cc6a84b4cf6efe2a3', name: "footer" })), !!this.loading && (index.h("div", { key: '9001d1a8ad82f18caaced9178daa41afbb97bdce', class: "xv-table_loading" }, index.h("xv-loader-v2", { key: '20bcc99b34937d174087d3defb2a0cadbd06219d', size: SIZE_VAR.LG }))))));
|
|
79107
79104
|
}
|
|
79108
79105
|
componentWillLoad() {
|
|
79109
79106
|
this.setColsSizeTemplate();
|
|
@@ -79578,12 +79575,12 @@ const XvTagCombobox = class {
|
|
|
79578
79575
|
const suggestionsVisible = this.open && this.filtered.length > 0;
|
|
79579
79576
|
const ariaOwns = suggestionsVisible ? `${this.uid}-listbox` : undefined;
|
|
79580
79577
|
const activedesc = this.highlighted >= 0 ? this.optionId(this.highlighted) : undefined;
|
|
79581
|
-
return (index.h(index.Host, { key: '
|
|
79578
|
+
return (index.h(index.Host, { key: 'ed87cbac46a8fd3632fbb1c02e08d04e14437921', class: "xv-combobox", part: "root", size: this.size }, this.label && index.h("label", { key: '521ccb51d630d80b65e062b63063a42c7094f1d7', class: "label" }, this.label), index.h("div", { key: 'c6aa21064769b2167a7743f61564a1757d6598a5', class: {
|
|
79582
79579
|
'control': true,
|
|
79583
79580
|
'control--disabled': this.disabled,
|
|
79584
79581
|
'control--error': !!this.error,
|
|
79585
79582
|
'control--readonly': !!this.readonly,
|
|
79586
|
-
}, onClick: () => this.blockClick() }, index.h("div", { key: '
|
|
79583
|
+
}, onClick: () => this.blockClick() }, index.h("div", { key: 'acc43079dee64217e5e4c2d41c53410242956ef6', class: "control-chips", role: "list" }, this.selected.map((s, i) => (index.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))), index.h("input", { key: '4926ba4677ee1df86b09df3ef56820d86d24ba6c', 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' && (index.h("p", { key: '33e60f733b4a47bd1fe869697c05ab017162d4eb', class: "message message--error" }, this.error)), this.warning && typeof this.warning === 'string' && (index.h("p", { key: '70519d841ae36a65b22888c64f1f34f78d9ac364', class: "message message--warning" }, this.warning)), suggestionsVisible && (index.h("ul", { key: 'cdbb8624b84acf2282f8fe3bc5e93f8520c9026f', id: `${this.uid}-listbox`, class: "suggestions", role: "listbox", part: "listbox" }, this.filtered.map((opt, idx) => (index.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) }, index.h("div", { class: "suggestions-opt-content" }, opt.bg ? index.h("span", { class: "suggestions-opt-content--color", style: { background: opt.bg } }) : null, index.h("span", { class: "suggestions-opt-content--label" }, this.highlightLabel(opt.label).map((seg, i) => typeof seg === 'string' ? index.h("span", { key: i }, seg) : index.h("strong", { key: i }, seg.match)))))))))));
|
|
79587
79584
|
}
|
|
79588
79585
|
get host() { return index.getElement(this); }
|
|
79589
79586
|
static get watchers() { return {
|
|
@@ -79649,13 +79646,13 @@ const XvTextInput = class {
|
|
|
79649
79646
|
};
|
|
79650
79647
|
}
|
|
79651
79648
|
render() {
|
|
79652
|
-
return (index.h(index.Host, { key: '
|
|
79649
|
+
return (index.h(index.Host, { key: '76dd0732e2cfc6b2d9a17d8c56736fc9bebdef83', class: { disabled: !!this.disabled } }, index.h("label", { key: 'e6a45f69be0f488e78d16463ea37a04bf2c69069', class: "control" }, this.label && index.h("span", { key: '992f6beeaa8ae2d037193457e89f40a01c192c61', class: "control_label" }, this.label), index.h("div", { key: 'e50957614d3154186f28098a77c437faa386b31b', class: {
|
|
79653
79650
|
'control_input': true,
|
|
79654
79651
|
readonly: !!this.readonly,
|
|
79655
79652
|
[this.size]: true,
|
|
79656
79653
|
error: !!this.error,
|
|
79657
79654
|
warning: !!this.warning,
|
|
79658
|
-
} }, index.h("input", { key: '
|
|
79655
|
+
} }, index.h("input", { key: '0fcc27879d6f705c2ecad47d393d53079c7ca8d0', 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 }), index.h("div", { key: '0ad71bdd6428b31db328a47bb83d70da284c4901', class: "control_input__icons" }, this.loading && index.h("xv-loader-v2", { key: 'c9362becc5cd07cf20b8818f4d817f6098f4e754', size: SIZE_VAR.XS }), !!this.error ? (index.h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (index.h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, this.type === 'password' && (index.h("button", { key: '96392220d0ceb7d527e700b1e52c88c8b3884280', onClick: this.togglePassword, disabled: this.disabled, class: "status-icon" }, index.h("svg", { key: 'a45ffcd0aa908914deb641ab53b2ab055cf14cee', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 512", width: 16, height: 16 }, this.isPasswordVisible ? (index.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" })) : (index.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 && index.h("p", { key: 'e2561a96301d515bdec3029bd19eb1bc48e6273b', class: "message" }, this.helper), typeof this.error === 'string' ? (index.h("p", { class: "message error" }, this.error)) : typeof this.warning === 'string' ? (index.h("p", { class: "message warning" }, this.warning)) : null));
|
|
79659
79656
|
}
|
|
79660
79657
|
static get formAssociated() { return true; }
|
|
79661
79658
|
};
|
|
@@ -79692,12 +79689,12 @@ const XvTextarea = class {
|
|
|
79692
79689
|
this.value && this.internals.setFormValue(this.value);
|
|
79693
79690
|
}
|
|
79694
79691
|
render() {
|
|
79695
|
-
return (index.h(index.Host, { key: '
|
|
79692
|
+
return (index.h(index.Host, { key: 'd731e3ffeb923e4cd406fcf7b92aa8d25b95c0c8', class: { disabled: !!this.disabled } }, index.h("label", { key: '9177aaa96b794280fa4b10d2e57c609c7b97aa3f', class: "control" }, (this.label || this.max) && (index.h("p", { key: '4dfb70c90d607c65dc563d0565a16db0a509cbf6', class: "control_label" }, index.h("span", { key: '7ff1c0564b4d765c2a86e7fbb7fc005053ef1385' }, this.label, this.info && index.h("xv-tooltip-v2", { key: 'e0fd4575c62308c1033f5761c8b9ae7d4215667f', message: this.info })), this.max !== undefined && !this.counterHide && (index.h("span", { key: '350b3ad7fc168020f6b4a04d4d3aa4dcd01c93ad', class: "control_label__count" }, this.value.length || 0, "/", this.max)))), index.h("div", { key: '2e0f4c1699473c8e59701fccc8488097000918e7', class: {
|
|
79696
79693
|
'control_input': true,
|
|
79697
79694
|
readonly: !!this.readonly,
|
|
79698
79695
|
error: !!this.error,
|
|
79699
79696
|
warning: this.warning !== undefined,
|
|
79700
|
-
} }, index.h("textarea", { key: '
|
|
79697
|
+
} }, index.h("textarea", { key: '5e135051abd8b1d941d5acfd6313bad7a7049494', 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 }), index.h("div", { key: 'f03fc0eccd87657a0615d5c4f84cc6e4bde15cae', class: "control_input__icons" }, this._renderIcon()))), this.helper && index.h("p", { key: 'ac58feb6f2586ac4f26b5f3d7b8db2e073b83506', class: "message" }, this.helper), typeof this.error === 'string' ? (index.h("p", { class: "message error" }, this.error)) : typeof this.warning === 'string' ? (index.h("p", { class: "message warning" }, this.warning)) : null));
|
|
79701
79698
|
}
|
|
79702
79699
|
_renderIcon() {
|
|
79703
79700
|
if (this.loading)
|
|
@@ -79787,7 +79784,7 @@ const XvToggle = class {
|
|
|
79787
79784
|
};
|
|
79788
79785
|
}
|
|
79789
79786
|
render() {
|
|
79790
|
-
return (index.h(index.Host, { key: '
|
|
79787
|
+
return (index.h(index.Host, { key: 'def0d7b2d999d4b468c7e917b220f2004c4a391a', class: { 'xv-toggle': true, disabled: this.disabled, readonly: !!this.readonly, block: !!this.block } }, this.label && index.h("span", { key: '52bbdcd914d8f6c3c111d6e0d1ba2409f5385446', class: "label" }, this.label), index.h("label", { key: '5f1e9efee279f20a62022b52ed810e096c21b527', class: "control" }, index.h("slot", { key: 'dda55b127bbbd6c8a614d3714032858f7eff5658', name: "before" }), index.h("div", { key: '71c1104dddaf09766c918274321005785c973a0d', class: "control_input" }, index.h("input", { key: '2fee7ec1ba2c401ba078ec4907a9816d7bfb4ca3', type: "checkbox", readonly: this.readonly, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, onChange: this.onChange }), index.h("span", { key: '4023320779e8ffa4b843cc9f1ac1e6f4a606e7fe', class: "toggle" })), index.h("slot", { key: 'df55edb7b4936536f2181475354835bbec5171ae', name: "after" }))));
|
|
79791
79788
|
}
|
|
79792
79789
|
static get formAssociated() { return true; }
|
|
79793
79790
|
};
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["xv-accordion-v2_45.cjs",[[0,"xv-header",{"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"readonly":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"variant":[1],"selected":[32],"selectedMap":[32],"searchQuery":[32]},[[0,"itemSelected","handleItemSelected"]],{"open":[{"openChangeHandle":0}],"multiple":[{"multipleChangeHandle":0}]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32]}],[65,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":[{"openChange":0}],"month":[{"getCalendarGrid":0}],"value":[{"handleValueChange":0}]}],[1,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040],"error":[1537],"errors":[1040],"dragActive":[32],"errorMessages":[32],"clearFiles":[64]}],[65,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513]}],[1,"xv-pagination",{"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16],"totalItems":[2,"total-items"],"itemsPerPage":[32],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":[{"checkedChangeHandle":0}]}],[65,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[
|
|
22
|
+
return index.bootstrapLazy([["xv-accordion-v2_45.cjs",[[0,"xv-header",{"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"readonly":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"variant":[1],"selected":[32],"selectedMap":[32],"searchQuery":[32]},[[0,"itemSelected","handleItemSelected"]],{"open":[{"openChangeHandle":0}],"multiple":[{"multipleChangeHandle":0}]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32]}],[65,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":[{"openChange":0}],"month":[{"getCalendarGrid":0}],"value":[{"handleValueChange":0}]}],[1,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040],"error":[1537],"errors":[1040],"dragActive":[32],"errorMessages":[32],"clearFiles":[64]}],[65,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513]}],[1,"xv-pagination",{"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16],"totalItems":[2,"total-items"],"itemsPerPage":[32],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":[{"checkedChangeHandle":0}]}],[65,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[520],"loading":[4],"columnWidths":[16],"hover":[4]}],[257,"xv-dropdown-v2-item",{"disabled":[4],"value":[1544],"selected":[1540],"multiple":[516],"size":[513]},[[0,"click","handleClick"]]],[1,"xv-image-viewer",{"src":[1],"fullscreenSrc":[1,"fullscreen-src"],"alt":[1],"placeholder":[1],"lazy":[4],"isFullscreen":[32],"loaded":[32],"fullscreenLoaded":[32]}],[257,"xv-tab-v2",{"label":[513],"disabled":[516],"loading":[516],"name":[8]}],[257,"xv-table-v2",{"size":[513],"hover":[516],"loading":[516],"colsSize":[16],"selected":[32],"selectedCount":[32]},[[0,"checkedChange","handleCheckedChange"]],{"colsSize":[{"setColsSizeTemplate":0}]}],[257,"xv-tabs-v2",{"active":[1544],"loading":[516],"variant":[1],"emptyMessage":[1,"empty-message"],"hideSingleTab":[4,"hide-single-tab"],"tabElements":[32],"showArrows":[32]},[[9,"resize","updateArrowVisibility"]]],[1,"xv-tag-combobox",{"options":[16],"label":[1],"size":[1],"placeholder":[1],"allowCreate":[4,"allow-create"],"maxSuggestions":[2,"max-suggestions"],"disabled":[4],"readonly":[4],"error":[8],"warning":[8],"value":[16],"normalizedOptions":[32],"selected":[32],"inputValue":[32],"open":[32],"filtered":[32],"highlighted":[32],"focusInput":[64],"clear":[64]},null,{"options":[{"watchOptions":0}],"value":[{"watchValue":0}]}],[257,"xv-accordion-v2",{"multiple":[4],"xvId":[1,"xv-id"],"value":[1025],"opened":[32],"toggleItem":[64]}],[257,"xv-accordion-v2-item",{"disabled":[4],"label":[1],"value":[1],"isOpen":[32]},[[16,"accordionChange","handleAccordionChange"]]],[260,"xv-breadcrumbs-v2"],[257,"xv-data-table-collapse",{"collapsed":[1540],"setCollapsed":[64]}],[0,"xv-footer",{"data":[32]},[[8,"xv:metaNav-update","handleLoadData"]]],[257,"xv-progress-indicator-v2",{"progress":[514],"variant":[1],"size":[1]},null,{"progress":[{"updateChildItems":0}]}],[257,"xv-progress-indicator-v2-item",{"status":[1]}],[324,"xv-radio-v2",{"name":[1],"value":[1],"label":[1],"checked":[1028],"indeterminate":[4],"block":[4],"disabled":[4],"required":[4],"reverse":[4],"readonly":[4],"error":[8],"warning":[520],"size":[1]},null,{"checked":[{"onCheckedChange":0}]}],[65,"xv-slider-v2",{"label":[1],"name":[1],"min":[2],"max":[2],"value":[1026],"step":[2],"disabled":[4],"readonly":[4],"notEditable":[4,"not-editable"]}],[257,"xv-table-v2-expand",{"open":[1540],"disabled":[516]}],[260,"xv-tile",{"variant":[513],"label":[1],"error":[4],"multiple":[4],"disabled":[4],"block":[4],"name":[1],"value":[1025],"checked":[1028]},[[4,"tileChange","tileChangeHandle"],[0,"click","handleClick"]]],[321,"xv-toggle",{"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"readonly":[4],"size":[513],"block":[4]}],[1,"xv-login-modal",{"visible":[4],"urls":[32],"loading":[32],"errorMessage":[32]}],[257,"xv-mega-menu",{"open":[1540],"loading":[1028],"activeItem":[32],"activeGroup":[32],"menuItems":[32],"menuLoading":[32]},[[4,"click","handleClickOutside"]],{"loading":[{"fetchMenuData":0}]}],[257,"xv-data-table-cell",{"name":[1025],"sort":[1537],"multiline":[520],"width":[1],"align":[1],"tooltip":[1]},[[0,"click","handleSort"]]],[257,"xv-overflow-menu-v2",{"open":[1540],"disabled":[516],"position":[1],"size":[1],"tooltip":[1]},[[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}]}],[257,"xv-overflow-menu-v2-item",{"disabled":[516],"value":[520],"variant":[513],"clickable":[4]},[[0,"click","handleClick"]]],[257,"xv-table-v2-cell",{"multiline":[516],"name":[1537],"align":[513],"sort":[1537]},[[0,"click","handleSort"]]],[257,"xv-toggle-tip",{"open":[1540],"autoSize":[516,"auto-size"],"block":[4],"position":[1],"setPopover":[64]},[[4,"click","handleClickOutside"],[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}]}],[257,"xv-modal-v2",{"open":[1540],"permanent":[516],"size":[513],"overflow":[516],"loading":[4],"openModal":[64],"closeModal":[64]}],[257,"xv-card-v2",{"variant":[1],"media":[1],"header":[1],"body":[1],"footer":[1]}],[257,"xv-notification-v2",{"variant":[513],"dismissible":[516]}],[65,"xv-text-input-v2",{"type":[1],"label":[1],"placeholder":[513],"name":[513],"value":[1025],"autocomplete":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"size":[513],"isPasswordVisible":[32]}],[257,"xv-link-v2",{"href":[1],"target":[1],"disabled":[4],"size":[1],"variant":[1]}],[257,"xv-tag-v2",{"size":[1],"color":[1],"bg":[1],"disabled":[4],"closeable":[4]}],[321,"xv-checkbox-v2",{"checked":[1540],"indeterminate":[516],"disabled":[516],"name":[513],"value":[513],"readonly":[516],"required":[516],"partial":[516],"label":[1],"size":[513],"error":[520],"hasFocus":[32]},null,{"checked":[{"onCheckedChange":0}]}],[260,"xv-tooltip-v2",{"message":[1],"position":[1],"block":[4],"dashed":[4]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]],[321,"xv-button-v2",{"value":[1],"name":[1],"label":[513],"variant":[513],"size":[513],"disabled":[516],"loading":[516],"block":[516],"type":[513],"hasLeftIcon":[32],"hasRightIcon":[32],"hasContent":[32]}],[257,"xv-loader-v2",{"show":[4],"variant":[1],"size":[1]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|