q2-tecton-elements 1.60.7 → 1.60.8
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 +425 -425
- package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/q2-context.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.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-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.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 +2 -2
- 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-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- 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-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-context/q2-context.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js +8 -8
- 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-file-picker/q2-file-picker.js +3 -3
- 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-grid/q2-grid.js +31 -31
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +43 -43
- package/dist/collection/components/q2-input/q2-input.js +2 -2
- 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-option-list/q2-option-list.js +6 -6
- 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 +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +3 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- 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-calendar.js +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +1 -1
- 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 +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-data-table.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-grid-area.js +1 -1
- package/dist/components/q2-grid.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-option-list2.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 +1 -1
- package/dist/components/q2-stepper-pane.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/q2-context.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.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-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.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 +2 -2
- 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-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +4 -4
- 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 +3 -3
- package/dist/q2-tecton-elements/q2-calendar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +22 -22
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-context.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-currency.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-data-table.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-detail.entry.js +3 -3
- 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 +11 -11
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-item.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-message.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-modal.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-pagination.entry.js +27 -27
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-radio.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-stepper.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/package.json +66 -65
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +0 -0
|
@@ -155,7 +155,7 @@ const Q2ActionGroup = class {
|
|
|
155
155
|
if (slottedTagName)
|
|
156
156
|
containerClassNames.push(`has-${slottedTagName}`);
|
|
157
157
|
containerClassNames.push(computedOrientation);
|
|
158
|
-
return (index.h("q2-resize-observer", { key: '
|
|
158
|
+
return (index.h("q2-resize-observer", { key: '57d4b2fb3c8d70ec3b889a45716451dba1806987', onTctResize: this.handleResize, disabled: shouldDisableResizeObserver }, index.h("div", { key: 'c0f59dc0633672439a93ceddec99f9c7e3933e01', ref: el => (this.container = el), class: containerClassNames.join(' '), role: "group" }, index.h("slot", { key: '37be6d1bb8ab2013465dc58fdb9e19a2470052ef' }))));
|
|
159
159
|
}
|
|
160
160
|
get hostElement() { return index.getElement(this); }
|
|
161
161
|
static get watchers() { return {
|
|
@@ -240,7 +240,7 @@ const Q2ResizeObserver = class {
|
|
|
240
240
|
// #endregion
|
|
241
241
|
// #region Render Methods
|
|
242
242
|
render() {
|
|
243
|
-
return index.h("slot", { key: '
|
|
243
|
+
return index.h("slot", { key: 'ddbfca45153c9007a9739ac2576610b530fb2792', onSlotchange: this.handleSlotChange });
|
|
244
244
|
}
|
|
245
245
|
get hostElement() { return index.getElement(this); }
|
|
246
246
|
static get watchers() { return {
|
|
@@ -215,7 +215,7 @@ const Q2ActionSheet = class {
|
|
|
215
215
|
}
|
|
216
216
|
const appearance = (data === null || data === void 0 ? void 0 : data.appearance) || 'slot';
|
|
217
217
|
const interiorClasses = `interior is-${appearance}`;
|
|
218
|
-
return (index.h("dialog", { key: '
|
|
218
|
+
return (index.h("dialog", { key: '824e9745d4fcbc615fa25e27d1535f5055a202b0', ref: el => (this.dialogElement = el), class: renderStatus, onClick: this.onClick }, index.h("div", { key: 'dea5271046a6b8ed194852f594eb6e079ab7e275', class: interiorClasses }, showHeader && (index.h("header", { key: '2dc81c18b96781198804fa50f991e6e30bdf6ace' }, index.h("div", { key: 'e74683b9676b01c00fc939848c67e5138148363f', class: "title" }, (data === null || data === void 0 ? void 0 : data.title) || this.title), !this.hideClose && (index.h("q2-btn", { key: 'd4feacb931e73ab3648983ac3bbfdc2d2df10811', class: "btn-close", "test-id": "btnClose", onClick: this.onCancel, label: "tecton.element.actionSheet.close", "hide-label": true }, index.h("q2-icon", { key: 'dc8707647ff70ea557925763470e566fe751bc30', type: "close" }))))), ((_a = this.data) === null || _a === void 0 ? void 0 : _a.description) && index.h("p", { key: '675fc6c16c4337aa6b27051a9196bec5d4ea4043' }, data.description), RenderContent && index.h(RenderContent, { key: 'edc8ba2871db46e57bb767d1110dfff2366da0cc', data: this.data }))));
|
|
219
219
|
}
|
|
220
220
|
get hostElement() { return index.getElement(this); }
|
|
221
221
|
};
|
|
@@ -56,7 +56,7 @@ const Q2Avatar = class {
|
|
|
56
56
|
const isLoaded = this.isLoaded;
|
|
57
57
|
const showInitials = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
58
58
|
const showFallback = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
59
|
-
return (index.h("div", { key: '
|
|
59
|
+
return (index.h("div", { key: 'ac6b4cc52f8ab6d73bddd7a85abec6c2d707ffb3' }, showImg && (index.h("img", { key: 'bddaa710f833759cd540e8e2ef5e70d5071fa577', class: isLoaded ? 'avatar-img' : 'avatar-img-default', "test-id": "userImage", src: this.src, onError: this.onError, onLoad: this.onLoad, alt: this.name || '' })), showInitials && (index.h("svg", { key: '59809fcf7033849ce48accabf7417f3801dcd93c', viewBox: "0 0 100 100", preserveAspectRatio: "xMidYMid meet", "test-id": "userInitials", class: `avatar-initials size-${computedInitials.length}`, "aria-label": this.name, "aria-hidden": !this.name && 'true' }, index.h("text", { key: '07d2208b61a92aa52ec48298abce49aac828de7b', x: "50", y: "50", "dominant-baseline": "central", "text-anchor": "middle", "aria-hidden": "true" }, computedInitials))), showFallback && (index.h("div", { key: '82287d1b62e116f8f4ed12f62685a596be3ac6eb', "test-id": "fallbackIcon", class: "fallback" }, index.h("q2-icon", { key: '27ff4ba4c6b85244461bd3d989234de9a3946df1', type: this.icon })))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return index.getElement(this); }
|
|
62
62
|
static get watchers() { return {
|
|
@@ -4492,7 +4492,7 @@ const Q2Input = class {
|
|
|
4492
4492
|
}
|
|
4493
4493
|
render() {
|
|
4494
4494
|
const { ariaControls, ariaExpanded } = this.ariaAttributes;
|
|
4495
|
-
return (index.h(index.Host, { key: '
|
|
4495
|
+
return (index.h(index.Host, { key: 'ac1668b4b57fe26794243fdac33d3cb9ba74d7c7', role: this._role, "aria-controls": ariaControls, "aria-expanded": ariaExpanded }, index.h("div", { key: 'aaa97e165fdda3dfb95326bcdc635e8ad56a791a', class: this.wrapperClasses }, index.h("div", { key: '7c8fe4e94bc2e0b22465b794aaa773ebb53ec83f', class: "label-wrapper" }, index$1.renderLabel(this), this.renderCountDOM()), this.renderInputContainerDOM(), index$1.renderMessages(this))));
|
|
4496
4496
|
}
|
|
4497
4497
|
get hostElement() { return index.getElement(this); }
|
|
4498
4498
|
static get watchers() { return {
|
|
@@ -1213,7 +1213,7 @@ const Q2Calendar = class {
|
|
|
1213
1213
|
return (index$2.h("q2-input", { ref: el => (this.controlElement = el), class: "calendar-input-field", value: this.formattedValue, label: index.loc(this.label), hideLabel: this.hideLabel, disabled: !!this.disabled, readonly: !!this.readonly, clearable: this.canClear, placeholder: this.computedPlaceholder, optional: !!this.optional, "aria-expanded": `${!!this.open}`, "aria-controls": "calendar-popover", hints: this.hintList, errors: this.errorList, onClick: isTypeable ? undefined : this.onInputClick, onChange: this.onInputChange, onInput: this.onInputInput, onKeyDown: this.onInputKeydown, onKeyUp: this.onInputKeyup, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "icon-right": isTypeable ? undefined : 'calendar', "format-modifier": isTypeable ? this.formatModifier : this.displayFormat || this.formatModifier, type: "date", "hide-messages": !isTypeable, "test-id": "inputAndCalendarToggle", _role: "combobox", _preventEntry: !isTypeable }, isTypeable && (index$2.h("q2-btn", { ref: el => (this.btnCalendarToggle = el), slot: "input-right", onClick: this.onInputClick, "test-id": "calendarToggle", label: "tecton.element.calendar.toggleAriaLabel", "hide-label": true }, index$2.h("q2-icon", { type: "calendar" })))));
|
|
1214
1214
|
}
|
|
1215
1215
|
render() {
|
|
1216
|
-
return (index$2.h("click-elsewhere", { key: '
|
|
1216
|
+
return (index$2.h("click-elsewhere", { key: '210cb8fc58ffca3a488502c636da70bf3b41f9d5', class: this.open ? 'dropdown-open' : undefined, onChange: this.onClickElsewhere }, this.renderInputField(), index$2.h("q2-popover", { key: '7fbce4898dbe61a2803d64279ba26dff9065e770', ref: el => (this.popoverElement = el), id: "calendar-popover", controlElement: this.innerInputContainer, open: this.open, direction: this.popoverDirection, minHeight: this.popoverMinHeight, align: this.popoverAlignment, mode: this.popoverMode || undefined, block: true }, this.renderHintField(), this.renderCalendarPopover())));
|
|
1217
1217
|
}
|
|
1218
1218
|
get hostElement() { return index$2.getElement(this); }
|
|
1219
1219
|
static get watchers() { return {
|
|
@@ -94,12 +94,12 @@ const Q2CarouselPane = class {
|
|
|
94
94
|
// #region Render Methods
|
|
95
95
|
render() {
|
|
96
96
|
const { label } = this;
|
|
97
|
-
return (index.h(index.Host, { key: '
|
|
97
|
+
return (index.h(index.Host, { key: '8e3d4c691afa045f0f057416d713001958c3ebe6', class: this.generatePaneClass(this.currentPaneIndex), tabIndex: this.isActivePane ? 0 : -1, role: "group", "aria-roledescription": "slide", "aria-hidden": this.isActivePane ? undefined : 'true', "aria-label": label
|
|
98
98
|
? index$1.loc(label)
|
|
99
99
|
: index$1.loc('tecton.element.carousel.itemDescription', [
|
|
100
100
|
(this.currentPaneIndex + 1).toString(),
|
|
101
101
|
(this.siblingCount || 0).toString(),
|
|
102
|
-
]), onClick: this.paneClicked }, index.h("article", { key: '
|
|
102
|
+
]), onClick: this.paneClicked }, index.h("article", { key: '6d3c14cb24355170fa5d63e29d2d7c03bbd05c67', class: "q2-carousel-pane-main-content" }, index.h("slot", { key: 'ee1ca05d9e61af1599364c34f7400090031cf3d3' }))));
|
|
103
103
|
}
|
|
104
104
|
get hostElement() { return index.getElement(this); }
|
|
105
105
|
static get watchers() { return {
|
|
@@ -5389,7 +5389,7 @@ const Q2Carousel = class {
|
|
|
5389
5389
|
let paginationWrapperClasses = ['q2-carousel-pagination-navigation-wrapper'];
|
|
5390
5390
|
if (showNavigationArrows)
|
|
5391
5391
|
paginationWrapperClasses = [...paginationWrapperClasses, 'evenly-space'];
|
|
5392
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5392
|
+
return (index$1.h(index$1.Host, { key: '2a64ea10a3fd6a02f2a28a2902703c707bec0a3f', id: `q2-carousel-${this.guid}`, class: "q2-carousel-instance" }, insufficientPanes ? (this.renderInsufficientPanesDisplay()) : (index$1.h(index$1.Fragment, null, paneCount > 1 && (index$1.h("div", { class: paginationWrapperClasses.join(' ') }, showNavigationArrows && this.renderPrevNavBtn(), index$1.h("div", { class: "q2-carousel-control-center-tray" }, !hidePagination && this.renderPaginationArea(), autoPlay && this.renderAutoPlayBtn()), showNavigationArrows && this.renderNextNavBtn())), index$1.h("section", { class: carouselContainerClasses.join(' '), ref: el => (this.carouselWrapper = el), "aria-roledescription": "carousel", "aria-label": index$2.loc(label) }, index$1.h("div", { class: "q2-carousel-swiper-wrapper swiper-wrapper", ref: el => (this.carouselPaneWrapperElement = el), "aria-live": ariaLiveValue, onKeyDown: this.keydownHandler }, index$1.h("slot", null)))))));
|
|
5393
5393
|
}
|
|
5394
5394
|
get hostElement() { return index$1.getElement(this); }
|
|
5395
5395
|
static get watchers() { return {
|
|
@@ -250,7 +250,7 @@ const Q2ChartArea = class {
|
|
|
250
250
|
// #endregion
|
|
251
251
|
// #region Render Methods
|
|
252
252
|
render() {
|
|
253
|
-
return (index.h("div", { key: '
|
|
253
|
+
return (index.h("div", { key: 'c0437992eb32eefba0f47fc55f93cdfea2378d2b', class: "container" }, index.h("div", { key: 'ca0c7b038e17c357a1c5b23c7c4bea9fbec98c17', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "areaChartContainer" })));
|
|
254
254
|
}
|
|
255
255
|
get hostElement() { return index.getElement(this); }
|
|
256
256
|
static get watchers() { return {
|
|
@@ -198,7 +198,7 @@ const Q2ChartBar = class {
|
|
|
198
198
|
// #endregion
|
|
199
199
|
// #region Render Methods
|
|
200
200
|
render() {
|
|
201
|
-
return (index.h("div", { key: '
|
|
201
|
+
return (index.h("div", { key: '8c4178e381529fa0ead9d26b263e8f59621556a4', class: "container" }, index.h("div", { key: '2c19f29fec2588439fa458f0fd85f4601b87331b', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "barChartContainer" })));
|
|
202
202
|
}
|
|
203
203
|
get hostElement() { return index.getElement(this); }
|
|
204
204
|
static get watchers() { return {
|
|
@@ -837,7 +837,7 @@ const Q2ChartDonut = class {
|
|
|
837
837
|
} })), !!name && index.h("div", { class: "name" }, name), !isNaN(value) && index.h("div", { class: "value" }, displayValue))));
|
|
838
838
|
}
|
|
839
839
|
render() {
|
|
840
|
-
return (index.h("click-elsewhere", { key: '
|
|
840
|
+
return (index.h("click-elsewhere", { key: 'a04945147801962021a66f4c4efa37d20710a5db', onChange: this.onClickElsewhere }, index.h("figure", { key: 'a91cba34a4fc91cc6d9e308df7f1a50e393577cb' }, index.h("div", { key: 'b503eb71aa26428d253000c3d3033775feaa8c00', class: "container" }, index.h("div", { key: 'f8e4b93e646c221c0772f5712c1147d8e504c60b', ref: el => (this.chartContainer = el), "aria-describedby": !this.isClickable ? 'center-card-description' : undefined, class: "chart-container", role: "img", "test-id": "chartContainer", onClick: this.onContainerClick, tabIndex: !this.isClickable ? 0 : undefined, onKeyDown: !this.isClickable ? this.onButtonKeyDown : undefined }), this.renderCenterBlock()), this.showLegend && (index.h("figcaption", { key: '2a58fac73521d45b9ad3f0c85727100d77e4d14c' }, index.h("q2-legend", { key: '1c586a0ce6c9a5cdf365d4bcec9c36e333db8d6d', class: "legend", data: this.legendData, format: this.format, hoveredItemId: this.legendHoveredId, onClick: this.onLegendClick, onMouseleave: this.onLegendMouseleave, onMouseenter: this.onLegendMouseenter, selectedItemId: this.selectedId }))))));
|
|
841
841
|
}
|
|
842
842
|
get hostElement() { return index.getElement(this); }
|
|
843
843
|
static get watchers() { return {
|
|
@@ -116,7 +116,7 @@ const Q2CheckboxGroup = class {
|
|
|
116
116
|
render() {
|
|
117
117
|
const showLabel = this.label || this.optional || this.readonly;
|
|
118
118
|
const showLabelRow = (showLabel && !this.hideLabel) || this.hasError;
|
|
119
|
-
return (index.h(index.Fragment, { key: '
|
|
119
|
+
return (index.h(index.Fragment, { key: 'aba3fdfe16b861b819718720bbe538c84291dbb3' }, showLabelRow && (index.h("div", { key: '60b470e55b336150b56bcb1a45360f54e335ef70', class: "label-row" }, showLabel && !this.hideLabel && index.h("div", { key: 'fd95d49043629fac1f59f210c8386eb55b787302', class: "group-legend" }, index$1.renderLabel(this)), this.hasError && (index.h("q2-icon", { key: 'a5e4622483c13aba606f65f1fe0384d864f4ec1b', type: "error", "test-id": "iconError" })))), index.h("fieldset", { key: '1f02c985aff2ff500381ef5163e2b925a7e9895a', onChange: this.onInnerCheckboxChange, "aria-invalid": this.hasError ? `${this.hasError}` : undefined }, showLabel && index.h("legend", { key: '276aae9f112d0bb0ffa758456bcece255cf02d83', class: "sr-only" }, index$1.renderLabel(this)), this.inputDom())));
|
|
120
120
|
}
|
|
121
121
|
get hostElement() { return index.getElement(this); }
|
|
122
122
|
static get watchers() { return {
|
|
@@ -93,7 +93,7 @@ const Q2Checkbox = class {
|
|
|
93
93
|
const textLabelClasses = ['label-text'];
|
|
94
94
|
if (this.hideLabel)
|
|
95
95
|
textLabelClasses.push('sr');
|
|
96
|
-
return (index.h("div", { key: '
|
|
96
|
+
return (index.h("div", { key: '8465026ca4e85c09098832ad9f24a44e837de859', class: "container" }, index.h("input", { key: '428a6605cdef65840decdd2397c7fbb7e325ce5a', ref: el => (this.inputElement = el), "aria-describedby": this.description ? 'description' : undefined, "aria-invalid": this.hasError === undefined ? undefined : `${this.hasError}`, checked: this.indeterminate || this.checked || false, class: "sr", disabled: !!this.disabled || !!this.groupDisabled, id: this._id, name: this.name || this._id, onClick: this.onInputClick, "test-id": "q2CheckboxInnerCheckBox", type: "checkbox", value: this.value }), index.h("label", { key: 'a325ada8e89c0c1079c5904449b67091127f0205', htmlFor: this._id, class: "label-control", "test-id": "checkboxButton", "aria-label": index$1.loc(this.label) }, this.renderCheckboxSVG()), index.h("div", { key: 'e5c851632c21e9ee6740aa216dfa2888a80e373c', class: textLabelClasses.join(' ') }, index.h("label", { key: 'e99331d0b4d936ece5c3d1a6e7095858c084d77f', "test-id": "checkboxLabel", htmlFor: this._id, "aria-hidden": "true" }, index.h("div", { key: '290e1b6975622a1ccbed492706468308797b38c3' }, index$1.loc(this.label), index.h("slot", { key: 'eadde083ef8baafefbfa10e2f71d0baf06e4e545' })))), this.description && (index.h("div", { key: 'cf5e7088d98acf5327468bbf6add8bdea0d8332d', class: "description-text", "test-id": "checkboxDescription", id: "description" }, index$1.loc(this.description)))));
|
|
97
97
|
}
|
|
98
98
|
get hostElement() { return index.getElement(this); }
|
|
99
99
|
static get watchers() { return {
|
|
@@ -118,7 +118,7 @@ const Q2Context = class {
|
|
|
118
118
|
// #endregion
|
|
119
119
|
// #region Render Methods
|
|
120
120
|
render() {
|
|
121
|
-
return (index.h("div", { key: '
|
|
121
|
+
return (index.h("div", { key: '10a01302b475de5f1a90e59efcb2c6e1bf496117', class: "context-wrapper" }, index.h("q2-item", { key: '9207afd9cf0c7092e9f423609b6b4557e5aa3d1d', class: "context-item" }, this.hasDecoratorSlotContent && (index.h("slot", { key: 'bcc2d337c6774e52a2ef848c2a85e19b627c9dc7', name: "decorator", slot: "bullet" })), index.h("div", { key: 'de29c19e853be68114828bc06115c5465cad4c16', class: "context-body", slot: "body" }, index.h("slot", { key: '5cd2e4b3f24c66c8d0e11d6ee3fa5cb0495f2b27', name: "header" }), index.h("slot", { key: 'e63d4c9263adb66ba2f28b0c9933cc7fc5c98c38', name: "description" })), this.hasAffordanceSlotContent && (index.h("slot", { key: '6a18e8c803b5fef1e9a4af0c5229bff544f6d3cc', name: "affordance", slot: "action" }))), this.separator && (index.h("div", { key: '690e190910a19f5a532ba216028b71ac8fef7888', class: "separator", role: "separator" })), this.hasActionGroupSlotContent && (index.h("q2-action-group", { key: '9e3ad3dc77a4785ef6432c61f02613fd5d92b97f', class: "action-group", orientation: "horizontal" }, index.h("slot", { key: '72bf1872f547c3813edcd46ae03f7bd142d7f5ea', name: "action-group" }))), this.hasFooterSlotContent && index.h("slot", { key: 'a1fff2072ef8237a09e4ac757441b0022381fd37', name: "footer" })));
|
|
122
122
|
}
|
|
123
123
|
get hostElement() { return index.getElement(this); }
|
|
124
124
|
};
|
|
@@ -142,7 +142,7 @@ const Q2Currency = class {
|
|
|
142
142
|
// #region Render Methods
|
|
143
143
|
render() {
|
|
144
144
|
const { hasPlusMinusSign, plusMinusSign, currencyIsFront, currencySymbol, shouldSuperscriptSymbol, amountCore, fraction, shouldSuperscriptFraction, readableCurrency, currencyClasses, signDisplay, isNegativeAmount, } = this;
|
|
145
|
-
return (index.h("div", { key: '
|
|
145
|
+
return (index.h("div", { key: '15e4db8a4c25c1b1bea2382abd5e4dbf28e36090', "test-id": "q2CurrencyInner", class: currencyClasses, "aria-label": readableCurrency }, signDisplay === 'accounting' && isNegativeAmount && index.h("span", { key: '5474998b938cf27ff7db553534f08f028dd61347' }, '('), hasPlusMinusSign && index.h("span", { key: '10caf4a1a73a08e9fb31b52fb0a70e1ab2f69d10' }, plusMinusSign), currencyIsFront && index.h("span", { key: '6b78b88b1af0c58237933add94b2b0fef9fc8e53', class: shouldSuperscriptSymbol ? 'superscript' : '' }, currencySymbol), index.h("span", { key: 'e87cd1eaf3805a619f98d40faa29a6145bebde84' }, amountCore), index.h("span", { key: 'cb6822a0919027c08303b1e2759bea96c0605552', class: shouldSuperscriptFraction ? 'superscript' : '' }, fraction), !currencyIsFront && index.h("span", { key: 'e22b1b657f06ebec478573e6e0b8fe4b83b229ba', class: shouldSuperscriptSymbol ? 'superscript' : '' }, currencySymbol), signDisplay === 'accounting' && isNegativeAmount && index.h("span", { key: '4adea6d83042aea5f8fd78f248c95304735ee7e2' }, ')')));
|
|
146
146
|
}
|
|
147
147
|
get hostElement() { return index.getElement(this); }
|
|
148
148
|
static get watchers() { return {
|
|
@@ -333,7 +333,7 @@ const Q2DataTable = class {
|
|
|
333
333
|
// #region Render Methods
|
|
334
334
|
render() {
|
|
335
335
|
const { caption } = this;
|
|
336
|
-
return (index.h("div", { key: '
|
|
336
|
+
return (index.h("div", { key: '800adc4565a4867f6a6b5bb953c8e87b6576fdd9', class: "container" }, index.h("table", { key: 'b08e0cc79c0d1f8c608f10b972bf208f074cd81e' }, caption && index.h("caption", { key: '51718c96271913d47b9be9d8d13044272614b744', class: this.hideCaption ? 'sr' : undefined }, caption), this.renderTableColGroup(), this.renderTableHeader(), this.renderEmptyState(), this.renderTableRows())));
|
|
337
337
|
}
|
|
338
338
|
renderCellContent(cell) {
|
|
339
339
|
if (!cell)
|
|
@@ -105,7 +105,7 @@ const Q2Detail = class {
|
|
|
105
105
|
// #endregion
|
|
106
106
|
// #region Render Methods
|
|
107
107
|
render() {
|
|
108
|
-
return (index.h("div", { key: '
|
|
108
|
+
return (index.h("div", { key: '0bcc193663fa2730a1da75169d29563c3a14a311', class: this.detailClasses }, this.hasLabel && (index.h("div", { key: '703d7e91f10a223bfdd2f9cb6975a7c15029d450', class: this.labelClasses, "aria-describedby": !!this.description ? 'label-description' : undefined }, !!this.label ? index$1.loc(this.label) : this.hasLabelSlotContent ? index.h("slot", { name: "label" }) : '')), this.hasDescripiton && (index.h("div", { key: '811569a0eff620ab21ce49e8a91379c5ea06be86', id: "label-description", class: this.descriptionClasses }, !!this.description ? index$1.loc(this.description) : this.hasDefaultSlotContent ? index.h("slot", null) : ''))));
|
|
109
109
|
}
|
|
110
110
|
get hostElement() { return index.getElement(this); }
|
|
111
111
|
};
|
|
@@ -328,7 +328,7 @@ const Q2Dropdown = class {
|
|
|
328
328
|
// #region Render Methods
|
|
329
329
|
render() {
|
|
330
330
|
const btnProps = this.toggleButtonProps;
|
|
331
|
-
return (index.h("click-elsewhere", { key: '
|
|
331
|
+
return (index.h("click-elsewhere", { key: '2478fd678c2af965f4db735cc4bcbac519cc79de', class: this.open ? 'dropdown-open' : '', onChange: this.onClickElsewhere, "test-id": "dropdownContainer" }, index.h("q2-btn", { key: 'b3b6371d9f651517391afd0c167b94a35584b450', ref: el => (this.controlElement = el), class: btnProps.className, onClick: this.onToggleClick, onKeyDown: this.onToggleKeydown, fab: btnProps.fab, intent: btnProps.intent, onFocusout: this.handleFocusOut, active: btnProps.active, disabled: btnProps.disabled, ariaExpanded: `${!!btnProps.ariaExpanded}`, label: this.hideLabel && this.label ? index$1.loc(this.label) : undefined, hideLabel: this.hideLabel, ariaHasPopup: "menu", "test-id": "dropdownButton", block: this.block, description: index$1.loc('tecton.element.dropdown.itemCount', [this.determineDropdownItemCount]) }, this.hasCustomControl ? (index.h("div", { "test-id": "dropdownControl", class: btnProps.custom ? '' : 'hidden' }, index.h("slot", { name: "control" }))) : (index.h(index.Fragment, null, this.icon ? index.h("q2-icon", { type: this.icon }) : ' ', this.label && !this.hideLabel && (index.h("span", { class: "dropdown-button-text" }, index$1.loc(this.label)))))), index.h("q2-popover", { key: 'ea7ffefe5e462f6da78256fa3728361a75cbc932', ref: el => (this.popoverElement = el), controlElement: this.controlElement, open: this.open, "max-height": this.popoverMaxHeight, onFocusout: this.handleFocusOut, minHeight: this.popoverMinHeight, direction: this.popoverDirection, align: this.popoverAlignment, mode: this.popoverMode || undefined, block: this.block }, index.h("q2-option-list", { key: 'decb3198da5fb7b3c6ac4bc7ad81c948e82b68fc', onPopoverState: this.onPopoverState, id: "option-list", ref: el => (this.optionList = el), type: "menu", label: index$1.loc('tecton.element.optionList.label', [this.optionListLabel]), "no-select": true }, index.h("slot", { key: '23c076898f89b0aacda35d8578a0f2e111949693' })))));
|
|
332
332
|
}
|
|
333
333
|
get hostElement() { return index.getElement(this); }
|
|
334
334
|
static get watchers() { return {
|
|
@@ -208,7 +208,7 @@ const Q2EditableField = class {
|
|
|
208
208
|
// #endregion
|
|
209
209
|
// #region Render Methods
|
|
210
210
|
render() {
|
|
211
|
-
return (index.h("div", { key: '
|
|
211
|
+
return (index.h("div", { key: 'cd976a515db2bc31d2fb16cae89358d5363dad9a' }, this.generateEditStateDOM(), this.generateReadStateDOM()));
|
|
212
212
|
}
|
|
213
213
|
get hostElement() { return index.getElement(this); }
|
|
214
214
|
static get watchers() { return {
|
|
@@ -127,7 +127,7 @@ const Q2Example = class {
|
|
|
127
127
|
}, onClick: () => this.tctClick.emit(), role: "menu" }, index.h("slot", null))));
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return index.h(index.Host, { key: '
|
|
130
|
+
return index.h(index.Host, { key: '8139598dfeeceeaef460ad83acae011c3badbebb', attribute: "navigation" }, this.renderMenuInner());
|
|
131
131
|
}
|
|
132
132
|
get el() { return index.getElement(this); }
|
|
133
133
|
static get watchers() { return {
|
|
@@ -14,7 +14,7 @@ const Q2Form = class {
|
|
|
14
14
|
// #endregion
|
|
15
15
|
// #region Render Methods
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h("div", { key: '
|
|
17
|
+
return (index.h("div", { key: 'c9e096d4a60c377de87e30cd23777261f1d92298', class: "container" }, index.h("slot", { key: '0cd587b0053185276a5e0b577e1d4a5f65a3d9ab' })));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
Q2Form.style = q2FormCss;
|
|
@@ -64,7 +64,7 @@ const Q2FormattedText = class {
|
|
|
64
64
|
// #region Render Methods
|
|
65
65
|
render() {
|
|
66
66
|
const { formattedTextClasses } = this;
|
|
67
|
-
return (index.h("div", { key: '
|
|
67
|
+
return (index.h("div", { key: '08fe8c32d469d77afdb886addcced59c6a6edbcc', class: formattedTextClasses, "aria-label": this.formattedValue }, index.h("span", { key: '6f5031262bf199f7887eb0b1f9ef1d8f920a29fc' }, this.formattedValue)));
|
|
68
68
|
}
|
|
69
69
|
static get watchers() { return {
|
|
70
70
|
"value": ["propsUpdated"],
|
|
@@ -102,7 +102,7 @@ const Q2GridArea = class {
|
|
|
102
102
|
'--xl-align-self': this.xlAlign || this.lgAlign || this.mdAlign || this.smAlign || this.xsAlign || this.align,
|
|
103
103
|
'--xl-z-index': `${this.computedXlZIndex}`,
|
|
104
104
|
};
|
|
105
|
-
return (index.h(index.Host, { key: '
|
|
105
|
+
return (index.h(index.Host, { key: 'f8e261f2b0ef797a8b66f6da08579be08c1c47b0', style: q2GridAreaStyles }, index.h("slot", { key: '41d23b118b2030a76a31a151cee55e080d2b804e' })));
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
Q2GridArea.style = q2GridAreaCss;
|
|
@@ -91,7 +91,7 @@ const Q2Grid = class {
|
|
|
91
91
|
'--xl-justify-items': this.xlJustify || this.lgJustify || this.mdJustify || this.smJustify || this.xsJustify || this.justify,
|
|
92
92
|
'--xl-align-items': this.xlAlign || this.lgAlign || this.mdAlign || this.smAlign || this.xsAlign || this.align,
|
|
93
93
|
};
|
|
94
|
-
return (index.h(index.Fragment, { key: '
|
|
94
|
+
return (index.h(index.Fragment, { key: '8a0e08bfee936e317030c9624b5d170c8ea73a6c' }, index.h("div", { key: 'a9c5026ede0844709d97e4d94f51958572de10f4', style: q2GridStyles, class: "q2-grid" }, index.h("slot", { key: 'fe047e24638a63e6d1b542a6b7b0e93026337aec' }))));
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
Q2Grid.style = q2GridCss;
|
|
@@ -107,7 +107,7 @@ const Q2Item = class {
|
|
|
107
107
|
// #region Render Methods
|
|
108
108
|
render() {
|
|
109
109
|
const { clickable } = this;
|
|
110
|
-
return (index.h("div", { key: '
|
|
110
|
+
return (index.h("div", { key: '08a587185c34120e68180f895ab2215690b60d47', "test-id": "itemContainer", class: this.itemClasses, ref: el => (this.itemElement = el), role: clickable ? 'button' : undefined, tabIndex: clickable ? 0 : undefined }, this.hasBulletSlotContent && (index.h("div", { key: 'aa22c21e529627bdc9a8bd1d051d5bc0a71cf7fe', class: this.bulletClasses }, index.h("slot", { key: 'ed4c95f3575e0c29741362d71b97ac96723b3c1d', name: "bullet" }))), index.h("div", { key: '1849799748426614b745d319975c0aed176c833a', class: this.mainClasses }, this.hasHeaderSlotContent && (index.h("div", { key: '48f1d8dc3f6964ed477a9bf701472b6aef2e1c61', class: "header" }, index.h("slot", { key: '56d44d2f2815680cb83029eb1c94aad044ec8587', name: "header" }))), this.hasBodySlotContent && (index.h("div", { key: 'ccf87d287aa96aa19ed660c8981438101fc07970', class: "body" }, index.h("slot", { key: '15206b3bceb3c5cef08f9ec402a99aeaf821c23f', name: "body" })))), this.hasActionSlotContent && (index.h("div", { key: 'a9811f241c3fa24ba3549f76cf8fc84220908a51', class: this.actionClasses }, index.h("slot", { key: '230157dd2f7770afdb80e496bc3edf44cc319376', name: "action" }))), this.hasFooterSlotContent && (index.h("div", { key: '78a32601c0100a9a5402acb1ee87f5d4130a9218', class: this.footerClasses }, index.h("slot", { key: '7859ff351ff4a78fe66edfa4106a2a24026e1abd', name: "footer" })))));
|
|
111
111
|
}
|
|
112
112
|
get hostElement() { return index.getElement(this); }
|
|
113
113
|
};
|
|
@@ -110,7 +110,7 @@ const Q2Legend = class {
|
|
|
110
110
|
// #endregion
|
|
111
111
|
// #region Render Methods
|
|
112
112
|
render() {
|
|
113
|
-
return (index.h("click-elsewhere", { key: '
|
|
113
|
+
return (index.h("click-elsewhere", { key: '6cbca1e406e026c0379c4c78c84b2419d390fa02', onChange: () => this.onClickElsewhere(this) }, index.h("ul", { key: '3e60fc46d73443c251fa80d861c14afc74c58898' }, this.dataWithClasses.map(item => (index.h("li", { class: "item" }, index.h("button", { "test-id": "item", "aria-label": `${item.name} ${this.formatValue(item.value)}`, class: item.classes, onClick: event => this.onClick(event, item), onMouseEnter: event => this.onMouseEnter(event, item), onMouseLeave: event => this.onMouseLeave(event, item) }, index.h("span", { "test-id": "itemColor", class: "item-color-indicator", style: { backgroundColor: item.color }, "aria-hidden": "true" }), index.h("span", { "test-id": "itemName", class: "item-name" }, item.name), index.h("span", { id: `item-${item.id}`, "test-id": "itemValue", class: "item-value" }, this.formatValue(item.value)))))))));
|
|
114
114
|
}
|
|
115
115
|
static get watchers() { return {
|
|
116
116
|
"hoveredItemId": ["watchHoveredItemId"],
|
|
@@ -126,7 +126,7 @@ const Q2List = class {
|
|
|
126
126
|
// #endregion
|
|
127
127
|
// #region Render Methods
|
|
128
128
|
render() {
|
|
129
|
-
return (index.h("div", { key: '
|
|
129
|
+
return (index.h("div", { key: '74234b4bc68ca3c0e63c622af9eaade59b44b239', class: this.listClasses, ref: el => (this.listElement = el) }, (this.hasFilterSlot || this.hasLabelContent) && (index.h("div", { key: 'ff805a8585078d37bb43e75330e71990070247ee', class: this.headerClasses }, index.h("div", { key: 'ff56a645a4f050e7658152458be560f59ca76b41', class: "label" }, this.label), this.hasFilterSlot && index.h("slot", { key: '796cb86fadeaf260749a71d6dcf9461fb73cca4d', name: "filter" }))), index.h("div", { key: '0a1041e850f030ee5512999ee4302fc5b0f363c1', role: "list" }, index.h("slot", { key: '83f2668d9c22f7a3cdbe452b341316fa079cd4ee' }))));
|
|
130
130
|
}
|
|
131
131
|
get hostElement() { return index.getElement(this); }
|
|
132
132
|
};
|
|
@@ -67,7 +67,7 @@ const Q2Message = class {
|
|
|
67
67
|
const addDivForAriaLive = !isFirefox && this.presentToggle;
|
|
68
68
|
const { description } = this;
|
|
69
69
|
const messageLabel = index$1.loc(`tecton.element.message.type.${this.type ? this.type : 'info'}`);
|
|
70
|
-
return (index.h("div", { key: '
|
|
70
|
+
return (index.h("div", { key: '5aefaa4f03dce57743c1da6c1d6f9a5bfa66fe36', tabindex: "-1", class: "message", role: description ? undefined : 'alert', "aria-live": description ? undefined : 'assertive', "aria-atomic": description ? undefined : 'true', "aria-relevant": description && addAriaHiddenForAriaLive ? undefined : 'all', "test-id": "messageContainer" }, this.appearance === 'standard' ? this.messageIcon(this.type) : '', addDivForAriaLive && index.h("div", { key: 'e7d7fdf22bf5da354b6f8b44c9a455bed1823c66', class: "sr" }), index.h("div", { key: '9307a41597edb05d4b0ab7e876c9fc3222687e42', class: "sr message-label" }, messageLabel), index.h("div", { key: '10d59d54588978a74b168d52340e8773bc0b69b3', class: "message-content", "aria-hidden": addAriaHiddenForAriaLive ? 'true' : undefined }, index.h("slot", { key: 'df067ea0fdb4bcc8a4f98ba84cc0ab0b857128f1' }))));
|
|
71
71
|
}
|
|
72
72
|
get hostElement() { return index.getElement(this); }
|
|
73
73
|
};
|
|
@@ -156,7 +156,7 @@ const Q2Modal = class {
|
|
|
156
156
|
render() {
|
|
157
157
|
const interiorClasses = `interior`;
|
|
158
158
|
const renderStatus = `${this.renderStatus || ''}`;
|
|
159
|
-
return (index.h("dialog", { key: '
|
|
159
|
+
return (index.h("dialog", { key: '2b12b5a9c4a09f0e80b9517d81e17c561ceca200', ref: el => (this.dialogElement = el), class: renderStatus, onClick: this.onClick }, index.h("div", { key: 'efbce287e1c7e7a07fc0779f21d10c4f440aaa49', class: interiorClasses }, this.title && (index.h("header", { key: '71e372aed7673b8d8911bd862db4ede5757a2184' }, this.title && index.h("h2", { key: '2688b54e110b49a9b8f64e146fea9bd9a1c7c706', class: "title" }, this.title), !!this.closable && (index.h("q2-btn", { key: '9d78801c76f4cad72b8f0ab962aeea127d130492', class: "btn-close", "test-id": "btnClose", onClick: this.onCancel, label: "tecton.element.modal.close", "hide-label": true }, index.h("q2-icon", { key: 'de8d48d2676e71c1280a41f3c34d49027c09773c', type: "close" }))))), index.h("div", { key: 'a5c23f6b561652bf9a519bd91af2e1eb65713b31', class: "content", ref: el => (this.contentElement = el) }, this.icon && (index.h("div", { key: '3d924a05cfcba562105d1eed69af5383ff48e799', class: "icon" }, index.h("q2-icon", { key: '972f69406d187769cd67097d18f85adcaf7769c1', type: this.icon, style: this.iconStyle() }))), this.imageSrc && (index.h("div", { key: '43104feec69bb2f11b47b2d7c77fe1e60af467fb', class: "image" }, index.h("img", { key: 'e583fd2be24c3d3ab42caaf46ca4dc7bc0df6030', src: this.imageSrc }))), index$1.hasSlotContent(this.hostElement, 'content') && index.h("slot", { key: 'f011e7d6c4bc4135dbe192e526c2cb4628aadbff', name: "content" }), this.description && index.h("p", { key: 'b8794d9b1d8eb0d811a7aa4f7ed3dcafbd245cef', class: "description" }, this.description), this.customMarkup && (index.h("p", { key: 'e5834ef811c4cc951ef7eba1d37758301f2bdb6b', class: "customMarkup", innerHTML: sanitizeHtmlString.sanitizeHTMLString(this.customMarkup) }))), index.h("footer", { key: '9172365d3d00c61ab01378a07a1efe843487f6d8' }, index.h("q2-action-group", { key: '9f3ad85ccefa9f8dd3d5637043f17a941b370612', "full-width": true }, index.h("slot", { key: '8a4618e71eb175a19ff34c8d870a72271b6e1caf', name: "action" }))))));
|
|
160
160
|
}
|
|
161
161
|
get hostElement() { return index.getElement(this); }
|
|
162
162
|
};
|
|
@@ -142,10 +142,10 @@ const Q2MonthPicker = class {
|
|
|
142
142
|
// #endregion
|
|
143
143
|
// #region Render Methods
|
|
144
144
|
render() {
|
|
145
|
-
return (index.h("div", { key: '
|
|
145
|
+
return (index.h("div", { key: '9f1061efa14de366263d03f04332dd5c557a92ff', class: "month-container", onKeyDown: this.onMonthKeydown }, index.h("div", { key: '531903263ae61ba605e95ece9b95210a8d2db140', class: "navigation" }, index.h("q2-btn", { key: '21879897ce084c038fbcfbf737586bf4b4edf3cd', class: "year-btn", onClick: () => this.viewChange.emit({
|
|
146
146
|
view: 'year',
|
|
147
147
|
selectedYear: this.year,
|
|
148
|
-
}) }, index.h("span", { key: '
|
|
148
|
+
}) }, index.h("span", { key: 'ca4696076487b72d8e32b62de452108e62d6ae07', class: "year" }, this.year), index.h("q2-icon", { key: '97c0c7291e96f4b6778d1500804924bd7fa8f843', class: "year-icon off", type: "chevron-down" })), index.h("div", { key: '0aea238f619868343979712040bf910ffdb0e577', class: "month-controller" }, index.h("div", { key: 'a3f01ed1cd953b42bd704bd260e46c2d0b7a0ebb', class: "cal-year-prev-next" }, index.h("q2-btn", { key: '5503a8ee3167d236cf54dafc57da57453c824131', label: index$1.loc('tecton.element.calendar.previousYear'), "hide-label": true, class: "cal-nav-btn prev-year", "test-id": "previousYearButton", onClick: () => this.selectYear(this.year - 1) }, index.h("q2-icon", { key: '385d6c55b1aa5e79037e42f2e6a35afd2916b67c', type: "arrow-left" })), index.h("q2-btn", { key: 'dcbea8a0e4844addba6093f579712ed1265d2bb3', label: index$1.loc('tecton.element.calendar.nextYear'), "hide-label": true, class: "cal-nav-btn next-year", "test-id": "nextYearButton", onClick: () => this.selectYear(this.year + 1) }, index.h("q2-icon", { key: 'd89ebc4ad4c538d10a6abf500dbacca472e4c92c', type: "arrow-right" }))))), index.h("div", { key: '48bc1cd4c0b57f65f79f3f4c03097b1323292868', class: "month-list", onClick: this.onMonthSelection }, this.months.map((month, index$1) => (index.h("div", { class: "month" }, index.h("span", { role: "button", class: "month-button", "data-index": index$1, "aria-label": month.label, tabindex: index$1 === this.focusedIndex ? 0 : -1 }, month.abbr))))), this.today && (index.h("div", { key: 'fcce11a5922d4a5c65016c1429e6b05e4d32a136', class: "today-label" }, index$1.loc('tecton.element.calendar.today'), ": ", this.today))));
|
|
149
149
|
}
|
|
150
150
|
get hostElement() { return index.getElement(this); }
|
|
151
151
|
};
|
|
@@ -54,7 +54,7 @@ const Q2Optgroup = class {
|
|
|
54
54
|
// #endregion
|
|
55
55
|
// #region Render Methods
|
|
56
56
|
render() {
|
|
57
|
-
return (index.h("div", { key: '
|
|
57
|
+
return (index.h("div", { key: 'f054127b0e534647d3cac4efb62c03477db3975f', class: "q2-optgroup-container", hidden: this.hidden, "aria-labelledby": this.headerId, role: "group" }, index.h("div", { key: '251f2586708e5d867a623ea6dcf29c0c57169402', class: "q2-optgroup-header", id: this.headerId }, (this.label && index$1.loc(this.label)) || ''), index.h("div", { key: '0127f0445cc0c894875b44529a7d87b31561c859', class: "q2-optgroup-options" }, index.h("slot", { key: '3f3f9af79017d95cce0f60136ed651654b6bf7b3' }))));
|
|
58
58
|
}
|
|
59
59
|
get hostElement() { return index.getElement(this); }
|
|
60
60
|
static get watchers() { return {
|
|
@@ -570,7 +570,7 @@ const Q2OptionList = class {
|
|
|
570
570
|
// #endregion
|
|
571
571
|
// #region Render Methods
|
|
572
572
|
render() {
|
|
573
|
-
return (index.h(index.Host, { key: '
|
|
573
|
+
return (index.h(index.Host, { key: '48bc63463e38e58f7f18e5b5b105e14689be640c' }, index.h("div", { key: '26d143ad186b387274837d2141f9e5cd7cee6fb0', class: "content", ref: el => (this.contentElement = el), onFocusout: this.focusoutHandler }, index.h("div", { key: 'afecab7ca714392b609ccc57f4d920a4cc7f2c7e', class: "options", "aria-label": index$1.loc('tecton.element.optionList.label', [this.label]), "aria-multiselectable": `${!!this.multiple}`, role: this.type || 'listbox', onKeyDown: this.internalKeydownHandler, onClick: this.clickHandler }, index.h("slot", { key: '7ca042464b34eeb59ddd8c62bf44b29b39f3ccfb' })))));
|
|
574
574
|
}
|
|
575
575
|
get hostElement() { return index.getElement(this); }
|
|
576
576
|
static get watchers() { return {
|
|
@@ -885,7 +885,7 @@ const Q2Popover = class {
|
|
|
885
885
|
containerClasses.push('block');
|
|
886
886
|
if (this.mode === 'legacy')
|
|
887
887
|
containerClasses.push('legacy');
|
|
888
|
-
return (index.h("div", { key: '
|
|
888
|
+
return (index.h("div", { key: '34d9a4e19ee815391d33275f3e7b41cfb55189e4', ref: el => (this.containerElement = el), class: containerClasses.join(' '), "test-id": "outerContainer", tabIndex: -1, popover: "manual" }, index.h("div", { key: '8367ca449815954ba3d70c62fa72be8c9ee57607', ref: el => (this.contentElement = el), class: "content" }, index.h("slot", { key: '4e22fa7bf78f3ededee58ae8af7a47def876261b' }))));
|
|
889
889
|
}
|
|
890
890
|
get hostElement() { return index.getElement(this); }
|
|
891
891
|
static get watchers() { return {
|
|
@@ -254,7 +254,7 @@ const Q2Pagination = class {
|
|
|
254
254
|
total,
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
return (index.h("nav", { key: '
|
|
257
|
+
return (index.h("nav", { key: 'c24a21c5e719a9e9e47afd86ade29fe8a88e21dd', class: "container", ref: el => (this.containerElement = el), "aria-label": index$1.loc('tecton.element.pagination.title') }, index.h("div", { key: '53456b24c196327207d67f7e40d41ea87dfff6c1', class: "description", "test-id": "description" }, pagesOnly
|
|
258
258
|
? index$1.loc('tecton.element.pagination.pages', {
|
|
259
259
|
current: page,
|
|
260
260
|
total: totalPages,
|
|
@@ -263,10 +263,10 @@ const Q2Pagination = class {
|
|
|
263
263
|
range: currentRange,
|
|
264
264
|
recordType: recordType.toLowerCase(),
|
|
265
265
|
total: total.toLocaleString(),
|
|
266
|
-
})), index.h("div", { key: '
|
|
266
|
+
})), index.h("div", { key: 'd95976f63270ef4eb260c7344e2db34d26658479', class: "btn-group" }, index.h("q2-btn", { key: '2206c1d88963f1f854b94cfc54cfc4ccd043cf3b', ref: el => (this.firstPageBtn = el), label: index$1.loc('tecton.element.pagination.goToFirstPage'), disabled: onFirstPage, hidden: isFullViewHidden, onClick: () => this.handlePageChange(1), "test-id": "firstPageBtn", "hide-label": true }, index.h("q2-icon", { key: '418740d4abe9a9c28d8c3c553e5f59d025a1e860', type: "chevron-double-left" })), index.h("q2-btn", { key: 'a322a566f575016a995080a4c4908075e4651ea6', ref: el => (this.prevPageBtn = el), label: prevButtonLabel, disabled: onFirstPage, onClick: () => this.handlePageChange(page - 1), "test-id": "prevPageBtn", "hide-label": true }, index.h("q2-icon", { key: 'a3d3fe6acb3a6ef4eac422a2a089f3bcde8d5f21', type: "chevron-left" }))), index.h("div", { key: '3647355d457e0238ad31dff59f94fc4a78964944', class: "controls", hidden: isFullViewHidden, "test-id": "controls" }, index.h("span", { key: 'cafaf1d703e717dbdd3fa4ecf5b7de6d17243efc', "aria-hidden": "true" }, index$1.loc('tecton.element.pagination.page')), index.h("div", { key: '3becfeb17468e3928760e0fcb92d71bd6d8f0b12', class: "input-wrapper", onClick: () => this.inputField.dispatchEvent(new FocusEvent('focus')) }, index.h("q2-input", { key: '77b0c536077b9a87ee0fc9073559c9ec89728eb5', ref: el => (this.inputField = el), type: "number", value: `${page}`, min: 1, max: this.totalPages, hideLabel: true, optional: true, label: `${index$1.loc('tecton.element.pagination.page')} (${index$1.loc('tecton.element.pagination.ofPages', [totalPages.toLocaleString()])})`, onChange: event => {
|
|
267
267
|
event.stopPropagation();
|
|
268
268
|
this.handlePageChange(event.detail.value);
|
|
269
|
-
}, "test-id": "pageInput", current: "page" })), index.h("span", { key: '
|
|
269
|
+
}, "test-id": "pageInput", current: "page" })), index.h("span", { key: '073dce90e84e8b4d4aa9f887a3746ab8942578ed', "aria-hidden": "true" }, index$1.loc('tecton.element.pagination.ofPages', [totalPages.toLocaleString()]))), index.h("div", { key: 'f26ddef1e53d02cc9d048ed1ead2a28d8b84e71f', class: "btn-group" }, index.h("q2-btn", { key: '1731620fb0caaa015f126c52329fdfc5feb0f7c4', ref: el => (this.nextPageBtn = el), label: nextButtonLabel, disabled: onLastPage, onClick: () => this.handlePageChange(page + 1), "test-id": "nextPageBtn", "hide-label": true }, index.h("q2-icon", { key: '4f80a62db321a2f9563365f3278f643b278b893e', type: "chevron-right" })), index.h("q2-btn", { key: 'c72a35e4faf2c23eb024d73de7bd0d9c16c4755c', ref: el => (this.lastPageBtn = el), label: "tecton.element.pagination.goToLastPage", disabled: onLastPage, hidden: isFullViewHidden, onClick: () => this.handlePageChange(totalPages), "test-id": "lastPageBtn", "hide-label": true }, index.h("q2-icon", { key: '5519600de69d5f22f3e5882051b69a4753fcda0b', type: "chevron-double-right" }))), index.h("div", { key: 'fde704f4e6c00dac13427cf0f1380be63d12b649', class: "per-page", hidden: isFullViewHidden || !((_a = this.perPageIncrements) === null || _a === void 0 ? void 0 : _a.length) }, showPerPageSelect && this.renderPerPage())));
|
|
270
270
|
}
|
|
271
271
|
get hostElement() { return index.getElement(this); }
|
|
272
272
|
static get watchers() { return {
|
|
@@ -347,7 +347,7 @@ const Q2Pill = class {
|
|
|
347
347
|
wrapperClassNames.push('has-icon');
|
|
348
348
|
if (optionCount)
|
|
349
349
|
wrapperClassNames.push('has-options');
|
|
350
|
-
return (index.h("click-elsewhere", { key: '
|
|
350
|
+
return (index.h("click-elsewhere", { key: '612e277fb831b60becbdac0df520de45cc08a398', onChange: this.onClickElsewhere }, index.h("div", { key: '5f56c66943e7fefd4295bd5c96019039aac039c9', class: wrapperClassNames.join(' ') }, index.h("div", { key: '1b101344313e3bc6357e69378b929b47b53a9e50', class: "btn-height-wrapper", ref: el => (this.primaryBtnWrapper = el), onClick: this.handleWrapperClick, tabIndex: -1 }, index.h("button", { key: 'f0231168c9043ac7d2596ecbb3a7a382cf27d33b', class: "btn-primary", "test-id": "btn-control", type: "button", role: (optionCount && 'combobox') || undefined, ref: el => (this.primaryBtn = el), onClick: this.handleClick, onKeyDown: this.handleKeydown, onFocusout: this.handleFocusOut, disabled: this.disabled, "aria-roledescription": !optionCount && 'filter', "aria-controls": (optionCount && 'option-list') || undefined, "aria-expanded": (optionCount && `${!!open}`) || undefined, "aria-label": this.buttonContent, "aria-describedby": (optionCount && 'option-description') || undefined }, this.truncatedButtonContent, !optionCount && active && index.h("span", { key: '066f5d1132937be8eb8e925c8394d219aadeb819', class: "sr" }, "(", index$1.loc('tecton.element.pill.active'), ")"))), this.renderIcon(), !!optionCount && this.renderHiddenElement()), this.optionCount > 0 && (index.h("q2-popover", { key: 'f38e3d6f605f10e8907b40d16cd70276c6f85a73', ref: el => (this.popoverElement = el), controlElement: this.primaryBtn, open: this.open, "max-height": this.popoverMaxHeight, minHeight: this.popoverMinHeight, direction: this.popoverDirection, align: this.popoverAlignment, onFocusout: this.handleFocusOut }, index.h("div", { key: 'e4ce39ff508b27e82126fa4b08cca3d3c39ff3a7', class: "popover-content" }, index.h("div", { key: '4075cea397c412b24ffa17194158b9fd0aec6ad4', ref: el => (this.popoverTopContainer = el), class: "popover-top-container", tabindex: "-1", hidden: !this.hasPopoverTop, onKeyDown: this.handleKeydown }, index.h("slot", { key: '1f48ca125b79984bb49ac5e21ba6290402462c9d', name: "popover-top" })), index.h("q2-option-list", { key: '9dcfea71f57897a393604167e629fa4a956ef3d8', type: "listbox", ref: el => (this.optionList = el), id: "option-list", onChange: this.handleChange, multiple: this.multiple, selectedOptions: this.selectedOptions, onReady: () => this.updateSelectedOptionElements(), label: index$1.loc('tecton.element.optionList.label', [this.optionListLabel]) }, index.h("slot", { key: '1915a1abd9801102248fc8b516b13f2a34e4554d' })), index.h("div", { key: '0073dd48f8fb6dfbe282f84ce134b258dff237a8', ref: el => (this.popoverBottomContainer = el), class: "popover-bottom-container", tabindex: "-1", hidden: !this.hasPopoverBottom, onKeyDown: this.handleKeydown }, index.h("slot", { key: '92da82497608b7fdee73587b677ec8673bbe1411', name: "popover-bottom" })))))));
|
|
351
351
|
}
|
|
352
352
|
get hostElement() { return index.getElement(this); }
|
|
353
353
|
static get watchers() { return {
|
|
@@ -178,7 +178,7 @@ const Q2RadioGroup = class {
|
|
|
178
178
|
const showLabel = this.label || this.optional || this.readonly;
|
|
179
179
|
const { hasError } = this;
|
|
180
180
|
const showLabelRow = (showLabel && !this.hideLabel) || hasError;
|
|
181
|
-
return (index.h(index.Fragment, { key: '
|
|
181
|
+
return (index.h(index.Fragment, { key: 'd96af26ee95e438ad99e1ca79b8badee70aa903c' }, showLabelRow && (index.h("div", { key: '642204bf8eb9650aea78e1d7fd763473d6e35b8f', class: "label-row" }, showLabel && !this.hideLabel && index.h("div", { key: 'af8059074c6abc628d4185cd8ad77099db64fa2c', class: "group-legend" }, index$1.renderLabel(this)), hasError && (index.h("q2-icon", { key: 'e444f535c38920906289b3030dd14a360c197d04', type: "error", "test-id": "iconError" })))), index.h("fieldset", { key: '8ebc82bd13fd41c14ddea75c5cb6025f6dff1c2f', onChange: this.onInnerRadioChange, "aria-invalid": hasError ? `${hasError}` : undefined }, showLabel && index.h("legend", { key: '3b7fd0a58f9332b4bae1a1b79250e980c668569d', class: "sr-only" }, index$1.renderLabel(this)), this.inputDom())));
|
|
182
182
|
}
|
|
183
183
|
get hostElement() { return index.getElement(this); }
|
|
184
184
|
static get watchers() { return {
|
|
@@ -91,7 +91,7 @@ const Q2Radio = class {
|
|
|
91
91
|
// #endregion
|
|
92
92
|
// #region Render Methods
|
|
93
93
|
render() {
|
|
94
|
-
return (index.h("div", { key: '
|
|
94
|
+
return (index.h("div", { key: 'c4e09b90ce268944642098bc7c05f49bd26593f6', class: this.groupTileLayout ? 'radio-tile' : 'radio-container' }, index.h("input", { key: '7dfa6f992921ef80346f3d4f7ba61da65c3fac6a', ref: el => (this.inputField = el), class: "sr", id: this._id, type: "radio", name: this.name, value: this.value, disabled: this.disabled || this.groupDisabled, checked: this.checked, "aria-label": this.label && this.hideLabel ? index$1.loc(this.label) : undefined, onChange: this.inputChange, "test-id": "q2RadioInnerRadioBox" }), index.h("label", { key: 'cf45ff24aea3f30ba418f2b0d60eccb251925fb5', htmlFor: this._id, class: this.hideLabel ? 'label-hidden' : undefined, "test-id": "radioButton" }, !this.groupTileLayout && (index.h("svg", { key: 'd3febce270842b16f0a4285873b450807a0e09a1', viewBox: "0 0 18 18" }, index.h("circle", { key: 'a853f4f9d905dae4737a1994c7ead9479eb10247', stroke: "none", fill: "none", cx: "9", cy: "9", r: "8" }), index.h("circle", { key: '609847d9287831fd55b8bc0bfc7ffbe32e23fc3d', stroke: "none", fill: "none", cx: "9", cy: "9", r: "4" }))), !this.hideLabel && (index.h("div", { key: 'cebc51b088bcc9e18d989e84a19b4b28adb30668', class: "label-content" }, (this.label && index$1.loc(this.label)) || '', index.h("slot", { key: '6c9d3d4f03c5526d2446395d2b72bb956a722124' }))))));
|
|
95
95
|
}
|
|
96
96
|
get hostElement() { return index.getElement(this); }
|
|
97
97
|
static get watchers() { return {
|
|
@@ -154,7 +154,7 @@ const Q2RelativeTime = class {
|
|
|
154
154
|
// #region Render Methods
|
|
155
155
|
render() {
|
|
156
156
|
const { shouldShow, displayedMessage } = this;
|
|
157
|
-
return index.h(index.Fragment, { key: '
|
|
157
|
+
return index.h(index.Fragment, { key: 'e1d5750a6b6a3b4ca86c5b4af8c2ecb1975f1c4e' }, shouldShow ? index.h("time", { dateTime: displayedMessage }, displayedMessage) : null);
|
|
158
158
|
}
|
|
159
159
|
get hostElement() { return index.getElement(this); }
|
|
160
160
|
static get watchers() { return {
|