q2-tecton-elements 1.56.0 → 1.56.2
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/bundle-report.json +7 -7
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +3 -3
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-item_3.cjs.entry.js +2 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-tag.cjs.entry.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-card/q2-card.css +6 -3
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +0 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js.map +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +1 -1
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +2 -2
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-card.js +1 -1
- package/dist/components/q2-card.js.map +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +2 -2
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-radio-group.js +1 -1
- package/dist/components/q2-radio.js +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-tab-container.js +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +3 -3
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-card.entry.js.map +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +2 -2
- package/dist/esm/q2-checkbox.entry.js.map +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-item_3.entry.js +2 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +2 -2
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option-list_2.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +1 -1
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-tag.entry.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-action-group.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-card.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-card.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +79 -79
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +6 -4
- package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-detail.entry.js +38 -38
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item_3.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-message.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-modal.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +81 -81
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +28 -28
- package/dist/q2-tecton-elements/q2-pagination.entry.js +41 -41
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-radio.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-select.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-stepper.entry.js +28 -28
- package/dist/q2-tecton-elements/q2-tag.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
- package/package.json +3 -3
|
@@ -141,7 +141,7 @@ const Q2RelativeTime = class {
|
|
|
141
141
|
// #region Render Methods
|
|
142
142
|
render() {
|
|
143
143
|
const { shouldShow, displayedMessage } = this;
|
|
144
|
-
return h(Fragment, { key: '
|
|
144
|
+
return h(Fragment, { key: 'ff051c1959e6ed788c90501ef3ab4ecdc1f5b323' }, shouldShow ? h("time", { dateTime: displayedMessage }, displayedMessage) : null);
|
|
145
145
|
}
|
|
146
146
|
get hostElement() { return getElement(this); }
|
|
147
147
|
static get watchers() { return {
|
|
@@ -78,7 +78,7 @@ const Q2ResizeObserver = class {
|
|
|
78
78
|
// #endregion
|
|
79
79
|
// #region Render Methods
|
|
80
80
|
render() {
|
|
81
|
-
return h("slot", { key: '
|
|
81
|
+
return h("slot", { key: '7d455e40c969cc8a5666a521dcbe8d389d6e150a', onSlotchange: this.handleSlotChange });
|
|
82
82
|
}
|
|
83
83
|
get hostElement() { return getElement(this); }
|
|
84
84
|
static get watchers() { return {
|
|
@@ -190,9 +190,9 @@ const Q2Section = class {
|
|
|
190
190
|
wrapperClasses.push('is-transitioning');
|
|
191
191
|
}
|
|
192
192
|
const showDefaultHeader = !this.hasYieldedHeader && !!this.label;
|
|
193
|
-
return (h("section", { key: '
|
|
193
|
+
return (h("section", { key: '71c1482d31e7053030e9c36883edc90e0e5c3d21', class: "wrapper" }, h("header", { key: 'e121ea36506ad3a832f766bb2aa0bbe032f05f07', class: hasHeader ? 'has-header' : '' }, h("div", { key: '36ea0a7f9eceaec0dd0f993e9127eb7596b122e1', class: "header-content", id: this.titleId, onClick: this.collapsible && this.onHeaderClick }, showDefaultHeader && h("h2", { key: '117705f6ef890ed02d146673fa3d9629cc5c0a82', class: "title" }, loc(this.label)), h("div", { key: '2a49ef960a6d2afb78b80c7e93d995a89c268c96', ref: el => (this.headerSlotWrapper = el), class: "header-slot-wrapper" }, h("slot", { key: '8b7564b09e2baf4193488295e4cc4a3775124edd', ref: (el) => (this.headerSlot = el), name: "q2-section-header" }))), this.collapsible && !this.noCollapseIcon && (h("q2-btn", { key: 'da53b8ba0be85f0a691e11e63f7f484598c4e1d3', label: loc(this.label || 'tecton.element.section.defaultToggleLabel'), ariaExpanded: `${!!this.expanded}`, ariaControls: this.contentId, "test-id": "toggleButton", "hide-label": true, onClick: this.onHeaderClick }, h("q2-icon", { key: '1b5f5450d3b0d438a9b7635af161f178732a2d59', type: "chevron-up" })))), h("div", { key: 'b6d48ffaf628a680256cad41fe9ca85a853aa3c5', class: wrapperClasses.join(' '), id: this.contentId, "aria-labelledby": this.titleId, role: "region", onTransitionEnd: this.onTransitionEnd, style: this.collapsible && {
|
|
194
194
|
height: this.contentHeight,
|
|
195
|
-
} }, h("div", { key: '
|
|
195
|
+
} }, h("div", { key: '8037954e38ee9cce6c07821b3164d01e97d87404', ref: el => (this.contentContainer = el), class: "content", tabindex: "-1" }, h("slot", { key: 'a3b8d35029fdffbb248627c4a8c742da827a0526', ref: (el) => (this.contentSlot = el) })))));
|
|
196
196
|
}
|
|
197
197
|
get hostElement() { return getElement(this); }
|
|
198
198
|
static get watchers() { return {
|
|
@@ -609,11 +609,11 @@ const Q2Select = class {
|
|
|
609
609
|
}
|
|
610
610
|
render() {
|
|
611
611
|
var _a;
|
|
612
|
-
return (h("click-elsewhere", { key: '
|
|
612
|
+
return (h("click-elsewhere", { key: 'eebb5135dcbc3eedbdeb53b46b96a827996e49fe', class: this.wrapperClasses, onChange: this.clickedElsewhere }, h("div", { key: '994de0b1a202772014b14c0cb46a46cfa4c42b35', "aria-live": "polite", "aria-atomic": "true", role: "status", class: "sr" }, this.statusMessage), h("q2-input", { key: 'fe83525b21254030ace9e7569fc75b93118cf14e', ref: el => (this.inputField = el), class: "q2-select-input", label: (this.label && loc(this.label)) || '', value: this.selectedDisplay, clearable: (this.clearable && (!!this.value || !!((_a = this.selectedOptions) === null || _a === void 0 ? void 0 : _a.length))) || undefined, errors: (Array.isArray(this.errors) &&
|
|
613
613
|
this.errors.length > 0 &&
|
|
614
614
|
this.errors.map(error => loc(error))) ||
|
|
615
615
|
(this.invalid && ['tecton.element.select.invalid']) ||
|
|
616
|
-
[], disabled: this.disabled, optional: this.optional, readonly: !!this.readonly, placeholder: this.placeholder || undefined, hideLabel: this.hideLabel, ariaExpanded: `${this.open}`, ariaControls: "option-list", ariaHaspopup: "listbox", "test-id": "toggleDropdown", "hide-messages": true, iconRight: "chevron-down", onClick: this.inputClickHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeydownHandler, onFocus: this.inputFocusHandler, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, badgeValue: this.badgeValue, badgeTheme: this.inputFocused ? 'primary' : undefined, _role: "combobox", _preventEntry: !this.searchable }, this.renderCustomDisplay()), h("div", { key: '
|
|
616
|
+
[], disabled: this.disabled, optional: this.optional, readonly: !!this.readonly, placeholder: this.placeholder || undefined, hideLabel: this.hideLabel, ariaExpanded: `${this.open}`, ariaControls: "option-list", ariaHaspopup: "listbox", "test-id": "toggleDropdown", "hide-messages": true, iconRight: "chevron-down", onClick: this.inputClickHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeydownHandler, onFocus: this.inputFocusHandler, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, badgeValue: this.badgeValue, badgeTheme: this.inputFocused ? 'primary' : undefined, _role: "combobox", _preventEntry: !this.searchable }, this.renderCustomDisplay()), h("div", { key: 'ac13068e7fa745d0a150ec22944426d4d050befc', class: "custom-display-content", hidden: !this.hasCustomDisplay || !!this.searchText, onClick: this.onCustomDisplayClick }, h("slot", { key: '234ea03bb3a4fc2e53e4ec0a5fa87fa2c79bb314', name: "q2-select-display" })), this.renderOptionsDropdown()));
|
|
617
617
|
}
|
|
618
618
|
get hostElement() { return getElement(this); }
|
|
619
619
|
static get watchers() { return {
|
|
@@ -287,7 +287,7 @@ const Q2StepperVertical = class {
|
|
|
287
287
|
return (h("li", { role: "presentation" }, h("button", { class: stepClasses.join(' '), type: "button", "aria-labelledby": labelId, "aria-describedBy": descriptionId, "aria-label": btnLabel, "aria-selected": `${isCurrentStep}`, "aria-expanded": !!pane.children.length ? `${isExpanded}` : null, id: id, "aria-disabled": isLocked ? 'true' : null, role: "tab", tabIndex: isCurrentStep ? 0 : -1, onKeyDown: ev => !isLocked && this.onStepKeyDown(ev, id), onClick: ev => !isLocked && this.onStepClick(ev, id) }, statusIcon ? (h("div", { class: "step-icon" }, h("q2-icon", { type: statusIcon }))) : (h("div", { class: "step-bubble" }, stepNumber)), label && (h("div", null, h("div", { class: "step-label", id: labelId }, stepLabel), description && (h("div", { class: "step-description", id: descriptionId }, loc(description)))))), this.renderSpacer(pane, stepLabel, isExpanded, isLastStep)));
|
|
288
288
|
}
|
|
289
289
|
render() {
|
|
290
|
-
return (h(Fragment, { key: '
|
|
290
|
+
return (h(Fragment, { key: 'f5bf3f50398ef904f8f900176ea14963ef5656a2' }, h("ul", { key: 'bf954a69ea416e52e6ceb4c6e4dbfab333d1e967', role: "tablist" }, this.structuredPanes.map((pane, index) => this.renderStepBtn(pane, index))), h("div", { key: '857776b7ad28f3cd6a0efe44bf9a757fc5370c51', role: "list" }, h("slot", { key: '9212d6862d7fc61cbdc208283e548617bc5d6bc3' }))));
|
|
291
291
|
}
|
|
292
292
|
get hostElement() { return getElement(this); }
|
|
293
293
|
static get watchers() { return {
|
|
@@ -249,7 +249,7 @@ const Q2Stepper = class {
|
|
|
249
249
|
const containerClasses = ['step-container'];
|
|
250
250
|
if (scrollEnabled)
|
|
251
251
|
containerClasses.push('has-scroll');
|
|
252
|
-
return (h(Fragment, { key: '
|
|
252
|
+
return (h(Fragment, { key: '6ea3acf647885df2320d9fe3dfe00a3cbb44a7c8' }, h("div", { key: 'ea1e56974b2d151688ae76f7313268c33ccee943', class: containerClasses.join(' ') }, scrollEnabled && (h(Fragment, { key: '08fa932af268f005470ea96b73a32af514e00afe' }, h("div", { key: '9d670b4e2db395b22bead51ba1817bfc14fa7ea3', class: "gradient-left", hidden: !showScrollLeft }), h("div", { key: 'dccc15b27ac05d8dc5577929a52c28dc5c26aa67', class: "gradient-right", hidden: !showScrollRight }), h("q2-btn", { key: 'd0c93b18689e1f2cd8d59d4207dcab65bdcef8be', class: "btn-left", hideLabel: true, hidden: !this.showScrollLeft, label: loc('tecton.element.stepper.scrollLeft'), onClick: () => this.onScrollBtnClick('left') }, h("q2-icon", { key: '7af14a1b32991daff84c1add8c762682f36e6052', type: "chevron-left" })), h("q2-btn", { key: '56b65d686380383c2384bf88ff891700b124b9a0', class: "btn-right", hideLabel: true, hidden: !this.showScrollRight, label: loc('tecton.element.stepper.scrollRight'), onClick: () => this.onScrollBtnClick('right') }, h("q2-icon", { key: 'ef0ef25c947956ea347d1afd1eec50862c5e5842', type: "chevron-right" })))), h("ul", { key: 'edc4b5c7abe932084e1ee649c4a284276554d190', onScroll: this.checkScrollState, ref: el => (this.listElement = el), role: "tablist" }, stepCount > 0 && [...Array(stepCount).keys()].map(stepIndex => this.renderStepBtn(stepIndex)))), h("div", { key: 'e85df115f639ef3c43adddabd314e4fe549a6e8a', role: "list" }, h("slot", { key: '625f8d3a59026a2e2dbcbc2090e3ded3426b0e58', onSlotchange: () => this.onSlotChange() }))));
|
|
253
253
|
}
|
|
254
254
|
get hostElement() { return getElement(this); }
|
|
255
255
|
static get watchers() { return {
|
package/dist/esm/q2-tag.entry.js
CHANGED
|
@@ -194,7 +194,7 @@ const Q2Tag = class {
|
|
|
194
194
|
if (this.optionCount)
|
|
195
195
|
wrapperClassNames.push('has-options');
|
|
196
196
|
const shouldShowOptions = this.optionCount > 0;
|
|
197
|
-
return (h(Host, { key: '
|
|
197
|
+
return (h(Host, { key: '68f5b6280096d3171a53d8b42a5e6bfc33c3ca08', role: shouldShowOptions ? 'list' : undefined }, h("click-elsewhere", { key: '5b65d826103439903c33c70ff48c0e3fec35940d', onChange: this.onClickElsewhere }, shouldShowOptions ? (h(Fragment, null, h("div", { class: "btn-wrapper", onClick: this.handleWrapperClick }, h("button", { class: "tag-wrapper", ref: el => (this.dropdownBtn = el), "test-id": "btn-control", type: "button", role: "combobox", onClick: this.handleClick, onKeyDown: this.handleKeydown, onFocusout: this.handleButtonFocusout, "aria-controls": "option-list", "aria-expanded": open ? 'true' : 'false', "aria-describedby": "option-description" }, h("div", { class: wrapperClassNames.join(' ') }, loc(this.label)), h("q2-icon", { type: "options" }))), this.renderHiddenElement())) : (h("div", { class: "tag-wrapper", onClick: e => e.stopPropagation() }, h("div", { class: wrapperClassNames.join(' ') }, h("slot", { name: "decorator" }), loc(this.label)))), shouldShowOptions && (h("q2-popover", { key: '94e08b096e26290d91b3746c76f1b9fec70719dc', ref: el => (this.popoverElement = el), controlElement: this.dropdownBtn, open: this.open, maxHeight: this.popoverMaxHeight, minHeight: this.popoverMinHeight, direction: this.popoverDirection, align: this.popoverAlignment }, h("q2-option-list", { key: '04106af14fe05d5171b0048b3f2b49e8f3c87813', id: "option-list", ref: el => (this.optionList = el), onChange: this.handleChange, type: "menu", align: "right", label: loc('tecton.element.optionList.label', [this.optionListLabel]), "no-select": true }, h("slot", { key: 'cc5b0b58510869e83700a1d4bcd18b861f13e0ee' })))))));
|
|
198
198
|
}
|
|
199
199
|
get hostElement() { return getElement(this); }
|
|
200
200
|
};
|
|
@@ -292,7 +292,7 @@ const Q2Textarea = class {
|
|
|
292
292
|
]))));
|
|
293
293
|
}
|
|
294
294
|
render() {
|
|
295
|
-
return (h("div", { key: '
|
|
295
|
+
return (h("div", { key: 'c0fa5a65b509d19d20dc3cd5e98dbab13731ed32', class: this.wrapperClasses }, renderLabel(this), h("div", { key: '806d4da8131f46f9b824cb3c61002a423622af31', class: "content-container", ref: el => (this.contentContainer = el) }, this.renderInput(), this.maxlength ? this.renderMaxLength() : '', renderMessages(this))));
|
|
296
296
|
}
|
|
297
297
|
get hostElement() { return getElement(this); }
|
|
298
298
|
static get watchers() { return {
|
|
@@ -69,9 +69,9 @@ const TectonTabPane = class {
|
|
|
69
69
|
// #endregion
|
|
70
70
|
// #region Render Methods
|
|
71
71
|
render() {
|
|
72
|
-
return (h("div", { key: '
|
|
72
|
+
return (h("div", { key: '59ebaff7be545ea9a1084b7776cc1aa69a7e4262', id: `tab-pane-${this.guid}-${this.index}`, class: `tab-pane${this.selected ? '' : ' hidden'}`, role: "tabpanel", tabindex: "-1", "aria-hidden": `${!this.selected}`, "aria-labelledby": `tab-${this.guid}-${this.index}` }, this.selected && this.provided !== undefined && !this.provided && (h("div", { key: 'ec61f9cc8161017a2f155e598c1e05bd266d48c7' }, h("slot", { key: 'fd411e880c40ca7c5c87ebe4fbe4f1a8d53369a6', name: "loading-wrapper" }), h("iframe", { key: '112941cb9da246cae01c57c8168e93b4a8073485', hidden: true, name: this.moduleId, scrolling: "no", src: this.showForm && this.authPayload.length ? '' : this.url || '', "data-module-id": this.moduleId, style: this.minHeight ? { minHeight: this.minHeight } : null, onLoad: this.onIFrameLoad, title: this.iframeTitle, allow: "geolocation; camera" }), this._showForm && this.authPayload ? (h("form", { hidden: true, method: "post", action: this.url, target: this.moduleId, encType: "multipart/form-data" }, this.authPayload.map(element => {
|
|
73
73
|
return (h("input", { type: "hidden", value: element.value, name: element.key }));
|
|
74
|
-
}))) : (''))), h("div", { key: '
|
|
74
|
+
}))) : (''))), h("div", { key: '37651d3b67f08b1e55ab273ede38c24fba7d373a', class: "slot-wrapper", hidden: this.selected && this.provided !== undefined && !this.provided }, h("slot", { key: '0f3afba0f502709a32080f30d0e69a764358dc11' }))));
|
|
75
75
|
}
|
|
76
76
|
get hostElement() { return getElement(this); }
|
|
77
77
|
static get watchers() { return {
|
|
@@ -110,16 +110,16 @@ const r = class {
|
|
|
110
110
|
if (e) a.push(`has-${e}`);
|
|
111
111
|
a.push(o);
|
|
112
112
|
return i("q2-resize-observer", {
|
|
113
|
-
key: "
|
|
113
|
+
key: "a8dd36e703c95b0fa144fc481e118e913a88a513",
|
|
114
114
|
onTctResize: this.handleResize,
|
|
115
115
|
disabled: t
|
|
116
116
|
}, i("div", {
|
|
117
|
-
key: "
|
|
117
|
+
key: "1f58dc67f16add912686af05783b1ed451d850b1",
|
|
118
118
|
ref: t => this.container = t,
|
|
119
119
|
class: a.join(" "),
|
|
120
120
|
role: "group"
|
|
121
121
|
}, i("slot", {
|
|
122
|
-
key: "
|
|
122
|
+
key: "5097f8fce0fd1f8527d37ceb613ab7ba59461791"
|
|
123
123
|
})));
|
|
124
124
|
}
|
|
125
125
|
get hostElement() {
|
|
@@ -230,32 +230,32 @@ const h = class {
|
|
|
230
230
|
const r = (e === null || e === void 0 ? void 0 : e.appearance) || "slot";
|
|
231
231
|
const n = `interior is-${r}`;
|
|
232
232
|
return i("dialog", {
|
|
233
|
-
key: "
|
|
233
|
+
key: "9ca8d184a65d40a6daa7f0b2c316ef64e23e25ca",
|
|
234
234
|
ref: t => this.dialogElement = t,
|
|
235
235
|
class: a,
|
|
236
236
|
onClick: this.onClick
|
|
237
237
|
}, i("div", {
|
|
238
|
-
key: "
|
|
238
|
+
key: "c85f4ce3fa803254c7b6408333c2ac873dc080b6",
|
|
239
239
|
class: n
|
|
240
240
|
}, o && i("header", {
|
|
241
|
-
key: "
|
|
241
|
+
key: "1cd47f8056365d745e493989e9086dbf181aa0d3"
|
|
242
242
|
}, i("div", {
|
|
243
|
-
key: "
|
|
243
|
+
key: "db481ceb48e40cf8152c244cfbca351e9e1567d5",
|
|
244
244
|
class: "title"
|
|
245
245
|
}, (e === null || e === void 0 ? void 0 : e.title) || this.title), !this.hideClose && i("q2-btn", {
|
|
246
|
-
key: "
|
|
246
|
+
key: "10542c731b5c38d23789630a3f25e9dda6c5d7a9",
|
|
247
247
|
class: "btn-close",
|
|
248
248
|
"test-id": "btnClose",
|
|
249
249
|
onClick: this.onCancel,
|
|
250
250
|
label: "tecton.element.actionSheet.close",
|
|
251
251
|
"hide-label": true
|
|
252
252
|
}, i("q2-icon", {
|
|
253
|
-
key: "
|
|
253
|
+
key: "44eddfd4cf3bc05641cc39d608e8efd4b88fa49b",
|
|
254
254
|
type: "close"
|
|
255
255
|
}))), ((t = this.data) === null || t === void 0 ? void 0 : t.description) && i("p", {
|
|
256
|
-
key: "
|
|
256
|
+
key: "3b6a9efbc672f232c5113dd270a076cc90fc8fb1"
|
|
257
257
|
}, e.description), s && i(s, {
|
|
258
|
-
key: "
|
|
258
|
+
key: "bce3393f11f22231e428f16fbfe0a31e2f3bf9e7",
|
|
259
259
|
data: this.data
|
|
260
260
|
})));
|
|
261
261
|
}
|
|
@@ -52,9 +52,9 @@ const c = class {
|
|
|
52
52
|
const e = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
53
53
|
const c = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
54
54
|
return t("div", {
|
|
55
|
-
key: "
|
|
55
|
+
key: "f27ea8f71e3fc6245b5e1fb38dff6d0623f68c27"
|
|
56
56
|
}, r && t("img", {
|
|
57
|
-
key: "
|
|
57
|
+
key: "29e7de94fb2831c8587926442ed971ac0cd4cd07",
|
|
58
58
|
class: i ? "avatar-img" : "avatar-img-default",
|
|
59
59
|
"test-id": "userImage",
|
|
60
60
|
src: this.src,
|
|
@@ -62,7 +62,7 @@ const c = class {
|
|
|
62
62
|
onLoad: this.onLoad,
|
|
63
63
|
alt: this.name || ""
|
|
64
64
|
}), e && t("svg", {
|
|
65
|
-
key: "
|
|
65
|
+
key: "457bbdb3ab4683768d9eee9d629424785fd33704",
|
|
66
66
|
viewBox: "0 0 100 100",
|
|
67
67
|
preserveAspectRatio: "xMidYMid meet",
|
|
68
68
|
"test-id": "userInitials",
|
|
@@ -70,18 +70,18 @@ const c = class {
|
|
|
70
70
|
"aria-label": this.name,
|
|
71
71
|
"aria-hidden": !this.name && "true"
|
|
72
72
|
}, t("text", {
|
|
73
|
-
key: "
|
|
73
|
+
key: "de71a6104211e80b2b88e8203ec35877c8645243",
|
|
74
74
|
x: "50",
|
|
75
75
|
y: "50",
|
|
76
76
|
"dominant-baseline": "central",
|
|
77
77
|
"text-anchor": "middle",
|
|
78
78
|
"aria-hidden": "true"
|
|
79
79
|
}, a)), c && t("div", {
|
|
80
|
-
key: "
|
|
80
|
+
key: "8e49ed997f6314287ac5dfc4eba70444f2e6a45c",
|
|
81
81
|
"test-id": "fallbackIcon",
|
|
82
82
|
class: "fallback"
|
|
83
83
|
}, t("q2-icon", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "518bf1469398e5dfbf7388ac5d3288de7fa8b14e",
|
|
85
85
|
type: this.icon
|
|
86
86
|
})));
|
|
87
87
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as r, g as o, F as a, a as e, c as i } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as n, h as c, a as s, b as d, o as l, i as p, g as b, c as u, d as
|
|
3
|
+
import { l as n, h as c, a as s, b as d, o as l, i as p, g as b, c as u, d as h, s as f, e as v, n as m, r as x, f as g } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
import { s as k } from "./shapes-c7e1a3fa.js";
|
|
6
6
|
|
|
@@ -210,14 +210,14 @@ const M = class {
|
|
|
210
210
|
// #region Render Methods
|
|
211
211
|
renderButton() {
|
|
212
212
|
const {ariaExpanded: t, ariaHasPopup: o, ariaSelected: e, ariaPressed: i, description: c, disabled: s, type: d, tabindex: l} = this.buttonAttributes;
|
|
213
|
-
const {iconPosition: p, loading: b, badge: u, label:
|
|
213
|
+
const {iconPosition: p, loading: b, badge: u, label: h, hideLabel: f} = this;
|
|
214
214
|
const v = p || b;
|
|
215
215
|
const m = !p || u;
|
|
216
216
|
return r(a, null, r("button", {
|
|
217
217
|
ref: t => this.primaryBtn = t !== null && t !== void 0 ? t : this.primaryBtn,
|
|
218
218
|
"aria-expanded": t,
|
|
219
219
|
"aria-haspopup": o,
|
|
220
|
-
"aria-label":
|
|
220
|
+
"aria-label": f && n(h),
|
|
221
221
|
"aria-selected": e,
|
|
222
222
|
"aria-pressed": i,
|
|
223
223
|
disabled: s,
|
|
@@ -226,7 +226,7 @@ const M = class {
|
|
|
226
226
|
"test-id": "q2BtnInnerButton",
|
|
227
227
|
class: this.buttonClasses,
|
|
228
228
|
"aria-describedby": !!c ? "hidden-description" : undefined,
|
|
229
|
-
"aria-labelledby": this.intent === "coin" && !
|
|
229
|
+
"aria-labelledby": this.intent === "coin" && !f ? "coin-label" : undefined,
|
|
230
230
|
role: this._role || undefined
|
|
231
231
|
}, r("div", {
|
|
232
232
|
class: "slot-container"
|
|
@@ -366,10 +366,10 @@ const bt = "standard";
|
|
|
366
366
|
|
|
367
367
|
const ut = "standard";
|
|
368
368
|
|
|
369
|
-
const ft = "standard";
|
|
370
|
-
|
|
371
369
|
const ht = "standard";
|
|
372
370
|
|
|
371
|
+
const ft = "standard";
|
|
372
|
+
|
|
373
373
|
const vt = "standard";
|
|
374
374
|
|
|
375
375
|
const mt = "standard";
|
|
@@ -474,10 +474,10 @@ const br = "standard";
|
|
|
474
474
|
|
|
475
475
|
const ur = "standard";
|
|
476
476
|
|
|
477
|
-
const fr = "standard";
|
|
478
|
-
|
|
479
477
|
const hr = "standard";
|
|
480
478
|
|
|
479
|
+
const fr = "standard";
|
|
480
|
+
|
|
481
481
|
const vr = "devices";
|
|
482
482
|
|
|
483
483
|
const mr = "standard";
|
|
@@ -749,11 +749,11 @@ const bo = {
|
|
|
749
749
|
desktop: pt,
|
|
750
750
|
diploma: bt,
|
|
751
751
|
divider: ut,
|
|
752
|
-
document:
|
|
752
|
+
document: ht,
|
|
753
753
|
"document-add": "standard",
|
|
754
754
|
"document-checklist": "standard",
|
|
755
755
|
"document-remove": "standard",
|
|
756
|
-
download:
|
|
756
|
+
download: ft,
|
|
757
757
|
"drag-handle": "standard",
|
|
758
758
|
edit: vt,
|
|
759
759
|
ellipsis: mt,
|
|
@@ -882,8 +882,8 @@ const bo = {
|
|
|
882
882
|
paw: br,
|
|
883
883
|
people: ur,
|
|
884
884
|
"people-group": "standard",
|
|
885
|
-
percent:
|
|
886
|
-
person:
|
|
885
|
+
percent: hr,
|
|
886
|
+
person: fr,
|
|
887
887
|
"person-add": "standard",
|
|
888
888
|
"person-lock": "standard",
|
|
889
889
|
"person-remove": "standard",
|
|
@@ -976,9 +976,9 @@ const bo = {
|
|
|
976
976
|
|
|
977
977
|
const uo = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-block;height:var(--tct-icon-size, 24px);width:var(--tct-icon-size, 24px);position:relative;fill:none}:host([inline]){height:1em;width:1em}svg{display:block;position:absolute;top:0;left:0;stroke-width:var(--tct-icon-stroke-width, var(--t-icon-stroke-width, var(--tct-icon-group-stroke-width, 2)));stroke-linecap:var(--tct-icon-cap, var(--t-icon-cap, round));stroke-linejoin:var(--tct-icon-cap, var(--t-icon-cap, round));transition:var(--tct-icon-transition, none)}svg.brand{stroke-width:var(--tct-icon-group-brand-stroke-width, 1)}svg.browsersos{stroke-width:var(--tct-icon-group-browsersos-stroke-width, 1)}.stroke-primary{stroke:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, var(--t-text, currentcolor)));transition:var(--tct-icon-stroke-primary-transition, none)}.stroke-secondary{stroke:var(--tct-icon-stroke-secondary, var(--t-icon-stroke-secondary, var(--t-text, currentcolor)));transition:var(--tct-icon-stroke-secondary-transition, none)}.fill-primary{fill:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, var(--t-text, currentcolor)));transition:var(--tct-icon-stroke-primary-transition, none)}.fill-secondary{fill:var(--tct-icon-stroke-secondary, var(--t-icon-stroke-secondary, var(--t-text, currentcolor)));transition:var(--tct-icon-stroke-secondary-transition, none)}.filled{fill:var(--tct-icon-fill, var(--comp-icon-fill, var(--t-icon-fill, none)));transition:var(--tct-icon-fill-transition, none)}.uniform{fill:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, currentcolor));transition:var(--tct-icon-stroke-primary-transition, none)}:host([type=info]),:host([type=info-filled]){--tct-icon-stroke-primary:transparent;--comp-status-color:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))}:host([type=success]),:host([type=success-filled]){--tct-icon-stroke-primary:transparent;--comp-status-color:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00))}:host([type=warning]),:host([type=warning-filled]){--tct-icon-stroke-primary:transparent;--comp-status-color:var(--tct-stoplight-warning, var(--const-stoplight-warning, #c35500))}:host([type=error]),:host([type=error-filled]){--tct-icon-stroke-primary:transparent;--comp-status-color:var(--tct-stoplight-alert, var(--const-stoplight-alert, #d20a0a))}";
|
|
978
978
|
|
|
979
|
-
const
|
|
979
|
+
const ho = uo;
|
|
980
980
|
|
|
981
|
-
const
|
|
981
|
+
const fo = class {
|
|
982
982
|
constructor(r) {
|
|
983
983
|
t(this, r);
|
|
984
984
|
this.spritePrefix = "tecton-sprite-";
|
|
@@ -1159,7 +1159,7 @@ const ho = class {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
};
|
|
1161
1161
|
|
|
1162
|
-
|
|
1162
|
+
fo.style = ho;
|
|
1163
1163
|
|
|
1164
1164
|
function formatNumber(t = "", r = {
|
|
1165
1165
|
prefix: "",
|
|
@@ -1197,8 +1197,8 @@ function formatNumber(t = "", r = {
|
|
|
1197
1197
|
b = b + r.decimalSeparator.length;
|
|
1198
1198
|
}
|
|
1199
1199
|
const u = r.prefix || r.suffix;
|
|
1200
|
-
const
|
|
1201
|
-
const
|
|
1200
|
+
const h = Number.MAX_SAFE_INTEGER.toString().length + b + c.length;
|
|
1201
|
+
const f = `${n.replace(/[^0-9]/g, "")}${c}`.replace(/^0+/, "");
|
|
1202
1202
|
return {
|
|
1203
1203
|
value: e,
|
|
1204
1204
|
formattedValue: l,
|
|
@@ -1206,8 +1206,8 @@ function formatNumber(t = "", r = {
|
|
|
1206
1206
|
prefix: u,
|
|
1207
1207
|
suffix: "",
|
|
1208
1208
|
formattingCharacterCount: b,
|
|
1209
|
-
maxlength:
|
|
1210
|
-
unformattedValue:
|
|
1209
|
+
maxlength: h,
|
|
1210
|
+
unformattedValue: f
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
1213
|
|
|
@@ -4301,7 +4301,7 @@ const Io = class {
|
|
|
4301
4301
|
this.invalid = i(this, "invalid", 7);
|
|
4302
4302
|
// #region Own Properties
|
|
4303
4303
|
this.guid = u();
|
|
4304
|
-
this.isMobile =
|
|
4304
|
+
this.isMobile = h();
|
|
4305
4305
|
this.scheduledAfterRender = [];
|
|
4306
4306
|
/**
|
|
4307
4307
|
* Sets textSelectedForDeletion to true if the user has selected text for deletion
|
|
@@ -4349,7 +4349,7 @@ const Io = class {
|
|
|
4349
4349
|
};
|
|
4350
4350
|
this.onInputBlur = () => {
|
|
4351
4351
|
this.hasFocus = false;
|
|
4352
|
-
|
|
4352
|
+
f(this);
|
|
4353
4353
|
if (this.valueOnFocus !== this.formattedValueObject.value) {
|
|
4354
4354
|
this.valueOnFocus = this.formattedValueObject.value;
|
|
4355
4355
|
this.change.emit(Object.assign({
|
|
@@ -4369,7 +4369,7 @@ const Io = class {
|
|
|
4369
4369
|
this.scheduledAfterRender.push((() => this.shouldCursorStartAtEnd ? this.placeCursorAtEnd() : this.setCursorPosition(this.calculateCursorPositionOnFocus())));
|
|
4370
4370
|
}
|
|
4371
4371
|
this.hasFocus = true;
|
|
4372
|
-
|
|
4372
|
+
f(this);
|
|
4373
4373
|
this.valueOnFocus = this.value;
|
|
4374
4374
|
};
|
|
4375
4375
|
this.onInputInput = t => {
|
|
@@ -4410,7 +4410,7 @@ const Io = class {
|
|
|
4410
4410
|
this.onRefocusInput = () => {
|
|
4411
4411
|
if (this.showMessages) {
|
|
4412
4412
|
this.inputField.focus();
|
|
4413
|
-
|
|
4413
|
+
f(this);
|
|
4414
4414
|
}
|
|
4415
4415
|
};
|
|
4416
4416
|
this.onToggleVisibility = () => {
|
|
@@ -4576,7 +4576,7 @@ const Io = class {
|
|
|
4576
4576
|
}
|
|
4577
4577
|
}
|
|
4578
4578
|
errorsObserver() {
|
|
4579
|
-
this.hasFocus && this.scheduledAfterRender.push((() =>
|
|
4579
|
+
this.hasFocus && this.scheduledAfterRender.push((() => f(this)));
|
|
4580
4580
|
}
|
|
4581
4581
|
formatModifierObserver() {
|
|
4582
4582
|
this.formatAndUpdateValueFromProp();
|
|
@@ -4585,7 +4585,7 @@ const Io = class {
|
|
|
4585
4585
|
this.formatted.emit(this.formattedValueObject);
|
|
4586
4586
|
}
|
|
4587
4587
|
hintsObserver() {
|
|
4588
|
-
this.hasFocus && this.scheduledAfterRender.push((() =>
|
|
4588
|
+
this.hasFocus && this.scheduledAfterRender.push((() => f(this)));
|
|
4589
4589
|
}
|
|
4590
4590
|
typeObserver() {
|
|
4591
4591
|
this.formatAndUpdateValueFromProp();
|
|
@@ -5013,10 +5013,10 @@ const Io = class {
|
|
|
5013
5013
|
}
|
|
5014
5014
|
render() {
|
|
5015
5015
|
return r("div", {
|
|
5016
|
-
key: "
|
|
5016
|
+
key: "94d94d9aa6f117b6e43bb978fea6081250d91c90",
|
|
5017
5017
|
class: this.wrapperClasses
|
|
5018
5018
|
}, r("div", {
|
|
5019
|
-
key: "
|
|
5019
|
+
key: "b1b02a05ec6c8c0b7695ad51a9a7626dbe31d019",
|
|
5020
5020
|
class: "label-wrapper"
|
|
5021
5021
|
}, g(this), this.renderCountDOM()), this.renderInputContainerDOM(), x(this));
|
|
5022
5022
|
}
|
|
@@ -5416,49 +5416,49 @@ const Po = class {
|
|
|
5416
5416
|
}
|
|
5417
5417
|
render() {
|
|
5418
5418
|
return r(a, {
|
|
5419
|
-
key: "
|
|
5419
|
+
key: "d55e6c349177c8fc375b3cf4040cb08a0b0de461"
|
|
5420
5420
|
}, r("div", {
|
|
5421
|
-
key: "
|
|
5421
|
+
key: "dd03010c03f34b20247e8b88a6ceb473e70501bb",
|
|
5422
5422
|
class: "tab-container"
|
|
5423
5423
|
}, this.scrollEnabled && r(a, {
|
|
5424
|
-
key: "
|
|
5424
|
+
key: "7cf61b1e74b8d51788f4bf156847557924b225d1"
|
|
5425
5425
|
}, r("div", {
|
|
5426
|
-
key: "
|
|
5426
|
+
key: "0c75886442b045d38d0e57eb0f09379632675707",
|
|
5427
5427
|
class: "gradient-left",
|
|
5428
5428
|
hidden: !this.showScrollLeft
|
|
5429
5429
|
}), r("div", {
|
|
5430
|
-
key: "
|
|
5430
|
+
key: "f637fb09527f07bb772d54d0a2d5118894f38a07",
|
|
5431
5431
|
class: "gradient-right",
|
|
5432
5432
|
hidden: !this.showScrollRight
|
|
5433
5433
|
}), r("q2-btn", {
|
|
5434
|
-
key: "
|
|
5434
|
+
key: "c2ddbc49798f8e75fead0562149852b67792c3de",
|
|
5435
5435
|
class: "btn-left",
|
|
5436
5436
|
hidden: !this.showScrollLeft,
|
|
5437
5437
|
onClick: () => this.onScrollBtnClick("left")
|
|
5438
5438
|
}, r("q2-icon", {
|
|
5439
|
-
key: "
|
|
5439
|
+
key: "7cb434c677a2bf586430b6a7ad0183ac91da89e3",
|
|
5440
5440
|
type: "chevron-left",
|
|
5441
5441
|
label: "scroll left"
|
|
5442
5442
|
})), r("q2-btn", {
|
|
5443
|
-
key: "
|
|
5443
|
+
key: "1e3a7f262ccd2825b8f34ac4022a57dfa3cbf604",
|
|
5444
5444
|
class: "btn-right",
|
|
5445
5445
|
hidden: !this.showScrollRight,
|
|
5446
5446
|
onClick: () => this.onScrollBtnClick("right")
|
|
5447
5447
|
}, r("q2-icon", {
|
|
5448
|
-
key: "
|
|
5448
|
+
key: "20f782f8d334a1607e92b27d6eae60f10c2e8e50",
|
|
5449
5449
|
type: "chevron-right",
|
|
5450
5450
|
label: "scroll right"
|
|
5451
5451
|
}))), r("ul", {
|
|
5452
|
-
key: "
|
|
5452
|
+
key: "be54e8b79488cfa5b3d2d9723c5ae20bc260d2db",
|
|
5453
5453
|
onScroll: this.checkScrollState,
|
|
5454
5454
|
ref: t => this.listElement = t,
|
|
5455
5455
|
class: this.noPrint ? "no-print" : null,
|
|
5456
5456
|
role: "tablist"
|
|
5457
5457
|
}, this.tabs.map(((t, r) => this.renderTab(t, r))))), r("div", {
|
|
5458
|
-
key: "
|
|
5458
|
+
key: "70bba74bc4a486f5c2d38e8811c45d8dfe57271a",
|
|
5459
5459
|
class: "tab-content"
|
|
5460
5460
|
}, r("slot", {
|
|
5461
|
-
key: "
|
|
5461
|
+
key: "e4d490146294c667a9c027514c794a1c57b1fab6",
|
|
5462
5462
|
onSlotchange: () => this.onSlotChange()
|
|
5463
5463
|
})));
|
|
5464
5464
|
}
|
|
@@ -5503,7 +5503,7 @@ const Go = class {
|
|
|
5503
5503
|
// #region Render Methods
|
|
5504
5504
|
render() {
|
|
5505
5505
|
return r("div", {
|
|
5506
|
-
key: "
|
|
5506
|
+
key: "998b51cf685abfda0ed4647bfdb550b9a474541f",
|
|
5507
5507
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
5508
5508
|
class: `tab-pane${this.selected ? "" : " hidden"}`,
|
|
5509
5509
|
role: "tabpanel",
|
|
@@ -5511,7 +5511,7 @@ const Go = class {
|
|
|
5511
5511
|
"aria-hidden": `${!this.selected}`,
|
|
5512
5512
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
5513
5513
|
}, r("slot", {
|
|
5514
|
-
key: "
|
|
5514
|
+
key: "12ef298cbd2bb7e98d820e88f9c6d65f3b3db733"
|
|
5515
5515
|
}));
|
|
5516
5516
|
}
|
|
5517
5517
|
static get watchers() {
|
|
@@ -5526,5 +5526,5 @@ const Go = class {
|
|
|
5526
5526
|
|
|
5527
5527
|
Go.style = Bo;
|
|
5528
5528
|
|
|
5529
|
-
export { S as q2_badge, M as q2_btn,
|
|
5529
|
+
export { S as q2_badge, M as q2_btn, fo as q2_icon, Io as q2_input, Eo as q2_loading, Po as q2_tab_container, Go as q2_tab_pane };
|
|
5530
5530
|
//# sourceMappingURL=q2-badge_7.entry.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as t, c as a, h as r, F as c, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { k as e, o as i, i as
|
|
3
|
+
import { k as e, o as i, i as n } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const s = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block}.container{position:relative;width:100%;text-align:start;height:var(--tct-card-height, 100%);min-height:var(--tct-card-min-height, auto);display:grid;gap:var(--tct-card-gap, var(--t-card-gap, var(--app-scale-3x, 15px)));margin:0;color:var(--tct-card-color, var(--t-card-color, var(--t-text, #4d4d4d)));--comp-avatar-size:var(--tct-card-avatar-size, var(--t-card-avatar-size, 44px));--comp-chevron-size:0;--comp-bar-width:var(--tct-card-bar-width, var(--t-card-bar-width, var(--app-scale-2x, 10px)));--comp-card-padding:var(--tct-card-padding, var(--t-card-padding, var(--app-scale-4x, 20px)))}.container.is-small{--comp-avatar-size:var(--tct-card-avatar-size, var(--t-card-avatar-size, 26px))}.container.has-avatar{grid-template-columns:var(--comp-avatar-size) 1fr;--tct-avatar-width:var(--comp-avatar-size);--tct-avatar-height:var(--comp-avatar-size);--tct-icon-size:var(--comp-avatar-size)}:host([bar][is-static]) .container{padding-left:var(--comp-card-padding)}:host(:not([is-static])) .container{--comp-border-radius:var(--tct-card-border-radius, var(--t-card-border-radius, var(--app-border-radius-1, 4px)));--comp-border-width:var(--tct-card-border-width, var(--t-card-border-width, 0px));border:none;background:var(--tct-card-background, var(--t-card-background, var(--t-base, #ffffff)));padding:var(--comp-card-padding);text-decoration:none;border-width:var(--comp-border-width);border-color:var(--tct-card-border-color, var(--t-card-border-color, transparent));border-style:var(--tct-card-border-style, solid);border-radius:var(--comp-border-radius);transition:box-shadow var(--tct-tween-1, var(--app-tween-1, 0.2s ease));box-shadow:var(--tct-card-box-shadow, var(--t-card-box-shadow, var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14))))}:host(:not([is-static])) .container.clickable{cursor:pointer}@media (hover: hover){:host(:not([is-static])) .container.clickable{--comp-card-hover-box-shadow:var(--tct-card-hover-box-shadow, var(--t-card-hover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 8px 16px rgba(0, 0, 0, 0.14))))}:host(:not([is-static])) .container.clickable:hover,:host(:not([is-static])) .container.clickable:active,:host(:not([is-static])) .container.clickable:focus{color:var(--tct-card-color, var(--t-card-color, var(--t-text, #4d4d4d)));box-shadow:var(--const-double-focus-ring)}:host(:not([is-static])) .container.clickable:hover{box-shadow:var(--comp-card-hover-box-shadow)}:host(:not([is-static])) .container.clickable:focus:hover{box-shadow:var(--const-double-focus-ring), var(--comp-card-hover-box-shadow)}:host(:not([is-static])) .container.clickable:active{box-shadow:var(--tct-card-active-box-shadow, var(--t-card-active-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}}:host(:not([is-static])) .container.is-touch{--comp-chevron-size:var(--tct-card-chevron-size, var(--t-card-chevron-size, 26px));grid-template-columns:1fr var(--comp-chevron-size)}:host(:not([is-static])) .container.has-avatar.is-touch{grid-template-columns:var(--comp-avatar-size) 1fr var(--comp-chevron-size)}.content{overflow:hidden;display:grid;gap:var(--tct-card-content-gap, var(--t-card-content-gap, var(--app-scale-1x, 5px)));align-content:start}h3,p{margin:0;padding:0;line-height:var(--tct-card-font-height, var(--t-card-font-height, 20px))}h3{font-weight:var(--tct-card-font-weight, var(--t-card-font-weight, 600));font-size:var(--tct-card-font-size, var(--t-card-font-size, 17px));text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:var(--tct-card-title-line-count, 1);-webkit-box-orient:vertical}p{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:var(--tct-card-description-line-count, 2);-webkit-box-orient:vertical}.bar{--comp-bar-border-radius:calc(var(--comp-border-radius) - var(--comp-border-width));border-radius:var(--comp-bar-border-radius) 0 0 var(--comp-bar-border-radius);position:absolute;inset:0 auto auto 0;width:var(--comp-bar-width);background:var(--comp-bar-color);height:100%}.bar.color-primary{--comp-bar-color:var(--tct-card-bar-color-primary, var(--t-primary, #5446a4))}.bar.color-secondary{--comp-bar-color:var(--tct-card-bar-color-secondary, var(--t-secondary, #b6b3cc))}.bar.color-tertiary{--comp-bar-color:var(--tct-card-bar-color-tertiary, var(--t-tertiary, #ebe8fc))}.bar.color-info{--comp-bar-color:var(--tct-card-bar-color-info, var(--const-stoplight-info, #0079c1))}.bar.color-success{--comp-bar-color:var(--tct-card-bar-color-success, var(--const-stoplight-success, #0e8a00))}.bar.color-warning{--comp-bar-color:var(--tct-card-bar-color-warning, var(--const-stoplight-warning, #c35500))}.bar.color-alert{--comp-bar-color:var(--tct-card-bar-color-alert, var(--const-stoplight-alert, #c35500))}.bar.color-accent-1{--comp-bar-color:var(--tct-card-bar-color-accent-1, var(--t-accent-1, #e05252))}.bar.color-accent-2{--comp-bar-color:var(--tct-card-bar-color-accent-2, var(--t-accent-2, #e09952))}.bar.color-accent-3{--comp-bar-color:var(--tct-card-bar-color-accent-3, var(--t-accent-3, #e0e052))}.bar.color-accent-4{--comp-bar-color:var(--tct-card-bar-color-accent-4, var(--t-accent-4, #99e052))}.bar.color-accent-5{--comp-bar-color:var(--tct-card-bar-color-accent-5, var(--t-accent-5, #52e052))}.bar.color-accent-6{--comp-bar-color:var(--tct-card-bar-color-accent-6, var(--t-accent-6, #52e099))}.bar.color-accent-7{--comp-bar-color:var(--tct-card-bar-color-accent-7, var(--t-accent-7, #52e0e0))}.bar.color-accent-8{--comp-bar-color:var(--tct-card-bar-color-accent-8, var(--t-accent-8, #5299e0))}.bar.color-accent-9{--comp-bar-color:var(--tct-card-bar-color-accent-9, var(--t-accent-9, #5252e0))}.bar.color-accent-10{--comp-bar-color:var(--tct-card-bar-color-accent-10, var(--t-accent-10, #9952e0))}.bar.color-accent-11{--comp-bar-color:var(--tct-card-bar-color-accent-11, var(--t-accent-11, #e052e0))}.bar.color-accent-12{--comp-bar-color:var(--tct-card-bar-color-accent-12, var(--t-accent-12, #e05299))}.touch-indicator{align-self:center;--tct-icon-size:var(--comp-chevron-size)}";
|
|
6
6
|
|
|
7
|
-
const d =
|
|
7
|
+
const d = s;
|
|
8
8
|
|
|
9
9
|
const l = [ "primary", "secondary", "tertiary", "info", "success", "warning", "alert", "accent-1", "accent-2", "accent-3", "accent-4", "accent-5", "accent-6", "accent-7", "accent-8", "accent-9", "accent-10", "accent-11", "accent-12" ];
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@ const h = class {
|
|
|
51
51
|
// #endregion
|
|
52
52
|
// #region Listeners
|
|
53
53
|
onHostElementFocus(t) {
|
|
54
|
-
if (!
|
|
54
|
+
if (!n(t, this.hostElement)) return;
|
|
55
55
|
this.clickableElement.focus();
|
|
56
56
|
}
|
|
57
57
|
// #endregion
|
|
@@ -89,15 +89,15 @@ const h = class {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
generateContainerClasses() {
|
|
92
|
-
const {isSmall: t, isAutoSmall: a, avatarName: r, avatarInitials: c, avatarSrc: o, avatarIcon: e, isTouch: i, isAutoTouch:
|
|
92
|
+
const {isSmall: t, isAutoSmall: a, avatarName: r, avatarInitials: c, avatarSrc: o, avatarIcon: e, isTouch: i, isAutoTouch: n, isStatic: s, type: d} = this;
|
|
93
93
|
const l = [ "container", d ];
|
|
94
94
|
const h = t || a;
|
|
95
|
-
const v = i ||
|
|
96
|
-
const
|
|
95
|
+
const v = i || n;
|
|
96
|
+
const b = r || c || o || e;
|
|
97
97
|
if (h) l.push("is-small");
|
|
98
|
-
if (v && !
|
|
99
|
-
if (
|
|
100
|
-
if (
|
|
98
|
+
if (v && !s) l.push("is-touch");
|
|
99
|
+
if (b) l.push("has-avatar");
|
|
100
|
+
if (s) l.push("is-static");
|
|
101
101
|
return l.join(" ");
|
|
102
102
|
}
|
|
103
103
|
generateContent() {
|