q2-tecton-elements 1.60.5 → 1.60.7
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 +426 -426
- 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 +65 -66
- /package/dist/types/{builds/q2e/development/tecton/tecton → Users/kvanhouten/Documents/Work/tecton_extra}/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +0 -0
|
@@ -145,10 +145,10 @@ const Q2MonthPicker$1 = /*@__PURE__*/ proxyCustomElement(class Q2MonthPicker ext
|
|
|
145
145
|
// #endregion
|
|
146
146
|
// #region Render Methods
|
|
147
147
|
render() {
|
|
148
|
-
return (h("div", { key: '
|
|
148
|
+
return (h("div", { key: 'd1411f2fec0a5a3850fd303c0592c2fff35a5c2f', class: "month-container", onKeyDown: this.onMonthKeydown }, h("div", { key: 'dd6e7ee312f1cd4fb02c1986116c94b407e0f61c', class: "navigation" }, h("q2-btn", { key: '4ad4a01dbad8d1457616b360f01e2555f47c405d', class: "year-btn", onClick: () => this.viewChange.emit({
|
|
149
149
|
view: 'year',
|
|
150
150
|
selectedYear: this.year,
|
|
151
|
-
}) }, h("span", { key: '
|
|
151
|
+
}) }, h("span", { key: '9e6bb654c8c75cb01dd362bc3c1b0bfb29955568', class: "year" }, this.year), h("q2-icon", { key: 'a2428ea1bcd1ac5a7d4e4c40a1b788563b117e39', class: "year-icon off", type: "chevron-down" })), h("div", { key: '1fd96721875a5d4284e1bec736dcac59ef8b2311', class: "month-controller" }, h("div", { key: 'aa876ee236a208388855c5c3e2c8a05a4bce20e0', class: "cal-year-prev-next" }, h("q2-btn", { key: '9ef5d6c22dece5e6f83c63ea9300eba237ef9e2b', label: loc('tecton.element.calendar.previousYear'), "hide-label": true, class: "cal-nav-btn prev-year", "test-id": "previousYearButton", onClick: () => this.selectYear(this.year - 1) }, h("q2-icon", { key: '1eca7a063bbd2a9e2b23c9444b1129d20f158fdd', type: "arrow-left" })), h("q2-btn", { key: '22e3101d0a2a3eb7f6ef14d0a2f31a2db18e88ad', label: loc('tecton.element.calendar.nextYear'), "hide-label": true, class: "cal-nav-btn next-year", "test-id": "nextYearButton", onClick: () => this.selectYear(this.year + 1) }, h("q2-icon", { key: 'c1e6b6ea61292180a97622b304c8835499f8cd8c', type: "arrow-right" }))))), h("div", { key: '3b306470ae8fd1274d7eeb168c554f03ae6c7c92', class: "month-list", onClick: this.onMonthSelection }, this.months.map((month, index) => (h("div", { class: "month" }, h("span", { role: "button", class: "month-button", "data-index": index, "aria-label": month.label, tabindex: index === this.focusedIndex ? 0 : -1 }, month.abbr))))), this.today && (h("div", { key: 'fe81d85485cc15906f001200d6fd8b69d948e67f', class: "today-label" }, loc('tecton.element.calendar.today'), ": ", this.today))));
|
|
152
152
|
}
|
|
153
153
|
get hostElement() { return this; }
|
|
154
154
|
static get style() { return q2MonthPickerCss; }
|
|
@@ -54,7 +54,7 @@ const Q2Optgroup = /*@__PURE__*/ proxyCustomElement(class Q2Optgroup extends HTM
|
|
|
54
54
|
// #endregion
|
|
55
55
|
// #region Render Methods
|
|
56
56
|
render() {
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: '36e4d596e9efbcfea07c9aef8cce8ac376228bfb', class: "q2-optgroup-container", hidden: this.hidden, "aria-labelledby": this.headerId, role: "group" }, h("div", { key: '23547157b8c58f87e656a3dbc533fd22315b549e', class: "q2-optgroup-header", id: this.headerId }, (this.label && loc(this.label)) || ''), h("div", { key: 'd53db927fdd872f2de3b61d46c2221b6925c760a', class: "q2-optgroup-options" }, h("slot", { key: 'b563fb8bd14f685bc24a3cde439b5ff7245cf82b' }))));
|
|
58
58
|
}
|
|
59
59
|
get hostElement() { return this; }
|
|
60
60
|
static get watchers() { return {
|
|
@@ -570,7 +570,7 @@ const Q2OptionList = /*@__PURE__*/ proxyCustomElement(class Q2OptionList extends
|
|
|
570
570
|
// #endregion
|
|
571
571
|
// #region Render Methods
|
|
572
572
|
render() {
|
|
573
|
-
return (h(Host, { key: '
|
|
573
|
+
return (h(Host, { key: '5edc081d3fb53aef29de115f7424724e4512e4ff' }, h("div", { key: 'c3f9531ff069af3b9783746c4aa8d834c8b0d8fa', class: "content", ref: el => (this.contentElement = el), onFocusout: this.focusoutHandler }, h("div", { key: 'c7abcf68ba932da462af3552af52c7f3d292e97b', class: "options", "aria-label": loc('tecton.element.optionList.label', [this.label]), "aria-multiselectable": `${!!this.multiple}`, role: this.type || 'listbox', onKeyDown: this.internalKeydownHandler, onClick: this.clickHandler }, h("slot", { key: '2358f47cfb29e30814168e448561d891b9edaa7d' })))));
|
|
574
574
|
}
|
|
575
575
|
get hostElement() { return this; }
|
|
576
576
|
static get watchers() { return {
|
|
@@ -264,7 +264,7 @@ const Q2Pagination$1 = /*@__PURE__*/ proxyCustomElement(class Q2Pagination exten
|
|
|
264
264
|
total,
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
|
-
return (h("nav", { key: '
|
|
267
|
+
return (h("nav", { key: 'ea7bad99b6988da7344f48977589372a9eecafca', class: "container", ref: el => (this.containerElement = el), "aria-label": loc('tecton.element.pagination.title') }, h("div", { key: 'e5e5d5909ecc04623dab3f2a5cf1efbeb04485e9', class: "description", "test-id": "description" }, pagesOnly
|
|
268
268
|
? loc('tecton.element.pagination.pages', {
|
|
269
269
|
current: page,
|
|
270
270
|
total: totalPages,
|
|
@@ -273,10 +273,10 @@ const Q2Pagination$1 = /*@__PURE__*/ proxyCustomElement(class Q2Pagination exten
|
|
|
273
273
|
range: currentRange,
|
|
274
274
|
recordType: recordType.toLowerCase(),
|
|
275
275
|
total: total.toLocaleString(),
|
|
276
|
-
})), h("div", { key: '
|
|
276
|
+
})), h("div", { key: 'dd85b925e3f7628e2f06a3f3bf0eb8638c477159', class: "btn-group" }, h("q2-btn", { key: 'a819cf505e48f7b707c464b51bc34ba5be997132', ref: el => (this.firstPageBtn = el), label: loc('tecton.element.pagination.goToFirstPage'), disabled: onFirstPage, hidden: isFullViewHidden, onClick: () => this.handlePageChange(1), "test-id": "firstPageBtn", "hide-label": true }, h("q2-icon", { key: '130e7630a35b9f973bf5e7ed4f1131e23f430bab', type: "chevron-double-left" })), h("q2-btn", { key: '3cb44d78ec6a77848a0b23eb031f620a6b2cd1e0', ref: el => (this.prevPageBtn = el), label: prevButtonLabel, disabled: onFirstPage, onClick: () => this.handlePageChange(page - 1), "test-id": "prevPageBtn", "hide-label": true }, h("q2-icon", { key: 'fba3e6d775727cfa529d6c5fde3d8da8143debd8', type: "chevron-left" }))), h("div", { key: '6588afe6625fa4130bdfb0907709e63431bd82ad', class: "controls", hidden: isFullViewHidden, "test-id": "controls" }, h("span", { key: 'c6ec518ddf327913fba61e5cd6c1a4412bdcb18a', "aria-hidden": "true" }, loc('tecton.element.pagination.page')), h("div", { key: '6de3983131e9b369953492e64a4c8f32a7fb4969', class: "input-wrapper", onClick: () => this.inputField.dispatchEvent(new FocusEvent('focus')) }, h("q2-input", { key: '459b82d5dde1939f2b5d94e8f38bd9ae79f45074', ref: el => (this.inputField = el), type: "number", value: `${page}`, min: 1, max: this.totalPages, hideLabel: true, optional: true, label: `${loc('tecton.element.pagination.page')} (${loc('tecton.element.pagination.ofPages', [totalPages.toLocaleString()])})`, onChange: event => {
|
|
277
277
|
event.stopPropagation();
|
|
278
278
|
this.handlePageChange(event.detail.value);
|
|
279
|
-
}, "test-id": "pageInput", current: "page" })), h("span", { key: '
|
|
279
|
+
}, "test-id": "pageInput", current: "page" })), h("span", { key: '24f5880eef4dccb874f1edd77e13a806397cb969', "aria-hidden": "true" }, loc('tecton.element.pagination.ofPages', [totalPages.toLocaleString()]))), h("div", { key: '8a91a5373047d7c119971b965c95cc9139a592d7', class: "btn-group" }, h("q2-btn", { key: '1cca2fa3329cc7ee11443b9e7e2927ea2262f1d5', ref: el => (this.nextPageBtn = el), label: nextButtonLabel, disabled: onLastPage, onClick: () => this.handlePageChange(page + 1), "test-id": "nextPageBtn", "hide-label": true }, h("q2-icon", { key: '7fc0c6696c5ab34149d6d4aafb1b453f819a3b9e', type: "chevron-right" })), h("q2-btn", { key: '8e2e1a682adc037d35cd50e2b153e3d6219500e3', ref: el => (this.lastPageBtn = el), label: "tecton.element.pagination.goToLastPage", disabled: onLastPage, hidden: isFullViewHidden, onClick: () => this.handlePageChange(totalPages), "test-id": "lastPageBtn", "hide-label": true }, h("q2-icon", { key: 'f9e9479e4b3bdf4d877b480530c56372773bce50', type: "chevron-double-right" }))), h("div", { key: 'a00a1cdd52e943b0c5c4af10fe93acc8d77baead', class: "per-page", hidden: isFullViewHidden || !((_a = this.perPageIncrements) === null || _a === void 0 ? void 0 : _a.length) }, showPerPageSelect && this.renderPerPage())));
|
|
280
280
|
}
|
|
281
281
|
get hostElement() { return this; }
|
|
282
282
|
static get watchers() { return {
|
|
@@ -351,7 +351,7 @@ const Q2Pill$1 = /*@__PURE__*/ proxyCustomElement(class Q2Pill extends HTMLEleme
|
|
|
351
351
|
wrapperClassNames.push('has-icon');
|
|
352
352
|
if (optionCount)
|
|
353
353
|
wrapperClassNames.push('has-options');
|
|
354
|
-
return (h("click-elsewhere", { key: '
|
|
354
|
+
return (h("click-elsewhere", { key: '49716b798b86d2a6ea041b09c52c39d653a65163', onChange: this.onClickElsewhere }, h("div", { key: '5df75e6f56ae4a0710a906bdda0fb0e05d45a7d9', class: wrapperClassNames.join(' ') }, h("div", { key: '5a39f357cafd2c5d8d12ed0816aecc6a59298632', class: "btn-height-wrapper", ref: el => (this.primaryBtnWrapper = el), onClick: this.handleWrapperClick, tabIndex: -1 }, h("button", { key: 'e76ca25b5383df7fa3c140f0eec42c489f53a535', 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 && h("span", { key: 'dc493d5ffabca907fbe55a16a8c792fb1539492e', class: "sr" }, "(", loc('tecton.element.pill.active'), ")"))), this.renderIcon(), !!optionCount && this.renderHiddenElement()), this.optionCount > 0 && (h("q2-popover", { key: 'f5ba187f46e4dfc347ae2e929f921127400b0470', 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 }, h("div", { key: 'b2437baa057304268660f5bb56d20cc7e3fb7765', class: "popover-content" }, h("div", { key: 'a1178ecdb320bff59ef3144f55686d68dd8bc4b7', ref: el => (this.popoverTopContainer = el), class: "popover-top-container", tabindex: "-1", hidden: !this.hasPopoverTop, onKeyDown: this.handleKeydown }, h("slot", { key: 'b67fb6db5f10e8e8bbac27e249c18d0188ae759e', name: "popover-top" })), h("q2-option-list", { key: '07294504e7f3e34828e9aad05ca769d18b7fe486', type: "listbox", ref: el => (this.optionList = el), id: "option-list", onChange: this.handleChange, multiple: this.multiple, selectedOptions: this.selectedOptions, onReady: () => this.updateSelectedOptionElements(), label: loc('tecton.element.optionList.label', [this.optionListLabel]) }, h("slot", { key: 'b6936d42d7b4b2be41ee6e2da4943ba9e8dd392d' })), h("div", { key: 'd886525c6abf10afcfcc79766e4df94eda0512ad', ref: el => (this.popoverBottomContainer = el), class: "popover-bottom-container", tabindex: "-1", hidden: !this.hasPopoverBottom, onKeyDown: this.handleKeydown }, h("slot", { key: 'ac54a12ee998500515cf9c5e8f5ebf7a53208a2d', name: "popover-bottom" })))))));
|
|
355
355
|
}
|
|
356
356
|
get hostElement() { return this; }
|
|
357
357
|
static get watchers() { return {
|
|
@@ -308,7 +308,7 @@ const Q2Popover = /*@__PURE__*/ proxyCustomElement(class Q2Popover extends HTMLE
|
|
|
308
308
|
containerClasses.push('block');
|
|
309
309
|
if (this.mode === 'legacy')
|
|
310
310
|
containerClasses.push('legacy');
|
|
311
|
-
return (h("div", { key: '
|
|
311
|
+
return (h("div", { key: '0a97b5c01bc1a8023d153328ae37941bc32b16d5', ref: el => (this.containerElement = el), class: containerClasses.join(' '), "test-id": "outerContainer", tabIndex: -1, popover: "manual" }, h("div", { key: 'e854b9e048b02db7d7b38221b993a27e8b1eefd1', ref: el => (this.contentElement = el), class: "content" }, h("slot", { key: 'ecaff5bb03495671264a57fedd789cac2491310a' }))));
|
|
312
312
|
}
|
|
313
313
|
get hostElement() { return this; }
|
|
314
314
|
static get watchers() { return {
|
|
@@ -179,7 +179,7 @@ const Q2RadioGroup$1 = /*@__PURE__*/ proxyCustomElement(class Q2RadioGroup exten
|
|
|
179
179
|
const showLabel = this.label || this.optional || this.readonly;
|
|
180
180
|
const { hasError } = this;
|
|
181
181
|
const showLabelRow = (showLabel && !this.hideLabel) || hasError;
|
|
182
|
-
return (h(Fragment, { key: '
|
|
182
|
+
return (h(Fragment, { key: 'f9e4250ae43ae2b9eb582ee89c9b3a66bf57d5d2' }, showLabelRow && (h("div", { key: 'e7600eeadc378959773298ffc70bfd8fe20e62fd', class: "label-row" }, showLabel && !this.hideLabel && h("div", { key: 'fbe77caf2d6063906efe375a1a42bed13e1f10bd', class: "group-legend" }, renderLabel(this)), hasError && (h("q2-icon", { key: '51de2a73997d9ae356101c8882f21ab626890942', type: "error", "test-id": "iconError" })))), h("fieldset", { key: '3443ef8667cfe67a1c77b1b6e39f5ed402a7ad26', onChange: this.onInnerRadioChange, "aria-invalid": hasError ? `${hasError}` : undefined }, showLabel && h("legend", { key: 'f9ee17d85b8844abae32893b4b26c078a83c28ff', class: "sr-only" }, renderLabel(this)), this.inputDom())));
|
|
183
183
|
}
|
|
184
184
|
get hostElement() { return this; }
|
|
185
185
|
static get watchers() { return {
|
|
@@ -91,7 +91,7 @@ const Q2Radio$1 = /*@__PURE__*/ proxyCustomElement(class Q2Radio extends HTMLEle
|
|
|
91
91
|
// #endregion
|
|
92
92
|
// #region Render Methods
|
|
93
93
|
render() {
|
|
94
|
-
return (h("div", { key: '
|
|
94
|
+
return (h("div", { key: 'bda7ad94d8e65a80a94fe61c2a836c8938695814', class: this.groupTileLayout ? 'radio-tile' : 'radio-container' }, h("input", { key: '750515cb37838ad039306b720404d426f540e80e', 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 ? loc(this.label) : undefined, onChange: this.inputChange, "test-id": "q2RadioInnerRadioBox" }), h("label", { key: '8ff2ad7e7ae18518010895fcbefc0f98c66aefc1', htmlFor: this._id, class: this.hideLabel ? 'label-hidden' : undefined, "test-id": "radioButton" }, !this.groupTileLayout && (h("svg", { key: '39eb5243dcc3d1392bc8e76cbe3927f682ae5c79', viewBox: "0 0 18 18" }, h("circle", { key: '24e67f62da41c6c8352f1d98670abb870f10d814', stroke: "none", fill: "none", cx: "9", cy: "9", r: "8" }), h("circle", { key: '790aa586c67498067b2096c83e857dc00fa219dd', stroke: "none", fill: "none", cx: "9", cy: "9", r: "4" }))), !this.hideLabel && (h("div", { key: 'c1c7222b2dd10eb4dd8b19ef81f1de6220817eba', class: "label-content" }, (this.label && loc(this.label)) || '', h("slot", { key: '038b1487dd1b16fcb09c05990b517ca9e096439f' }))))));
|
|
95
95
|
}
|
|
96
96
|
get hostElement() { return this; }
|
|
97
97
|
static get watchers() { return {
|
|
@@ -154,7 +154,7 @@ const Q2RelativeTime$1 = /*@__PURE__*/ proxyCustomElement(class Q2RelativeTime e
|
|
|
154
154
|
// #region Render Methods
|
|
155
155
|
render() {
|
|
156
156
|
const { shouldShow, displayedMessage } = this;
|
|
157
|
-
return h(Fragment, { key: '
|
|
157
|
+
return h(Fragment, { key: '0d285a64c9e37d285b2c292518f6d86c5b2a3580' }, shouldShow ? h("time", { dateTime: displayedMessage }, displayedMessage) : null);
|
|
158
158
|
}
|
|
159
159
|
get hostElement() { return this; }
|
|
160
160
|
static get watchers() { return {
|
|
@@ -78,7 +78,7 @@ const Q2ResizeObserver = /*@__PURE__*/ proxyCustomElement(class Q2ResizeObserver
|
|
|
78
78
|
// #endregion
|
|
79
79
|
// #region Render Methods
|
|
80
80
|
render() {
|
|
81
|
-
return h("slot", { key: '
|
|
81
|
+
return h("slot", { key: '342fd137e730fd168477e9cb11d34261e619846c', onSlotchange: this.handleSlotChange });
|
|
82
82
|
}
|
|
83
83
|
get hostElement() { return this; }
|
|
84
84
|
static get watchers() { return {
|
|
@@ -189,9 +189,9 @@ const Q2Section$1 = /*@__PURE__*/ proxyCustomElement(class Q2Section extends HTM
|
|
|
189
189
|
wrapperClasses.push('is-transitioning');
|
|
190
190
|
}
|
|
191
191
|
const showDefaultHeader = !this.hasYieldedHeader && !!this.label;
|
|
192
|
-
return (h("section", { key: '
|
|
192
|
+
return (h("section", { key: 'ea8c2d47f9b916aa54768068a0ed077afcd74577', class: "wrapper" }, h("header", { key: '4236bf182d6c179bfe199dc506eaa9cf465e2765', class: hasHeader ? 'has-header' : '' }, h("div", { key: 'e0e2276b92499a38f49b69c09e0af8d6034a2c29', class: "header-content", id: this.titleId, onClick: this.collapsible && this.onHeaderClick }, showDefaultHeader && h("h2", { key: 'c7e6f404f984cd4752fa422e5a5dced7dd54707e', class: "title" }, loc(this.label)), h("div", { key: '97f50f4e116b680ab1e265e1cb0f9cc6a1ec091c', ref: el => (this.headerSlotWrapper = el), class: "header-slot-wrapper" }, h("slot", { key: 'db3a62b4aa97aa9dd770287abaf3ddb4ca26806e', ref: (el) => (this.headerSlot = el), name: "q2-section-header" }))), this.collapsible && !this.noCollapseIcon && (h("q2-btn", { key: '981bff7d4d4de8ef6f18a729e6f28a5e52da54ac', 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: '2e6f3916e177517058b7ef4f61040ed264069be2', type: "chevron-up" })))), h("div", { key: '4760950774a60fce7ba07187b7ab8be357a3821f', class: wrapperClasses.join(' '), id: this.contentId, "aria-labelledby": this.titleId, role: "region", onTransitionEnd: this.onTransitionEnd, style: this.collapsible && {
|
|
193
193
|
height: this.contentHeight,
|
|
194
|
-
} }, h("div", { key: '
|
|
194
|
+
} }, h("div", { key: 'e66a1a7861328cf3fd1470bbbd03b613eed0e1a8', ref: el => (this.contentContainer = el), class: "content", tabindex: "-1" }, h("slot", { key: '07276e9c52b71cdd80d43fd9f1b2e94a8d8e63f2', ref: (el) => (this.contentSlot = el) })))));
|
|
195
195
|
}
|
|
196
196
|
get hostElement() { return this; }
|
|
197
197
|
static get watchers() { return {
|
|
@@ -772,7 +772,7 @@ const Q2Select = /*@__PURE__*/ proxyCustomElement(class Q2Select extends HTMLEle
|
|
|
772
772
|
]), checked: showSelected, "test-id": "selectedOptionsButton", onClick: this.showSelectedOptions, onKeyDown: this.visibilityToggleKeyDown }), h("label", { htmlFor: "selected" }, loc('tecton.element.select.multiHeader.selected', [selectedOptionsCount]))))));
|
|
773
773
|
}
|
|
774
774
|
render() {
|
|
775
|
-
return (h("click-elsewhere", { key: '
|
|
775
|
+
return (h("click-elsewhere", { key: 'a188f728f9dc0e448e97a5c06fd1308b8cb37564', class: this.wrapperClasses, onChange: this.clickedElsewhere }, this.renderSelectField()));
|
|
776
776
|
}
|
|
777
777
|
get hostElement() { return this; }
|
|
778
778
|
static get watchers() { return {
|
|
@@ -70,7 +70,7 @@ const Q2StepperPane$1 = /*@__PURE__*/ proxyCustomElement(class Q2StepperPane ext
|
|
|
70
70
|
// #region Render Methods
|
|
71
71
|
render() {
|
|
72
72
|
const { label, isActive } = this;
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '63c1e854a072a7bf23a70a8b61ae9421fe60b709', role: "listitem" }, h(Fragment, { key: '1e15b77c4a166240c2b165e7ab2159de7a9a691e' }, h("div", { key: '892d76f13b9fd4c81bbc4179255df6994366904e', "aria-label": label && loc(label), tabindex: "0", hidden: !isActive && !(this.isChildActive && this.showWithChildren) }, h("slot", { key: '3b680f51efcdb202be9133a37843ba0606fb8b0c' })), h("div", { key: '06028ee07f115d64d8bfac6a1641893968acb30d', hidden: true }, h("slot", { key: 'ad6ff6d5a13e59696acd283518533a5eafe4914d', name: "label", onSlotchange: () => this.contentChange.emit() }), h("slot", { key: '7aa19916bff9ad61f1a7717c83ae040aa416f6dc', name: "description", onSlotchange: () => this.contentChange.emit() })), h("slot", { key: 'fba6e7d73fe80420a529c18b65091508c83979aa', name: "children" }))));
|
|
74
74
|
}
|
|
75
75
|
get hostElement() { return this; }
|
|
76
76
|
static get watchers() { return {
|
|
@@ -275,7 +275,7 @@ const Q2Stepper$1 = /*@__PURE__*/ proxyCustomElement(class Q2Stepper extends HTM
|
|
|
275
275
|
const containerClasses = ['step-container'];
|
|
276
276
|
if (scrollEnabled)
|
|
277
277
|
containerClasses.push('has-scroll');
|
|
278
|
-
return (h(Fragment, { key: '
|
|
278
|
+
return (h(Fragment, { key: 'e7782b5f660a545fde730c764d690a572456a324' }, h("div", { key: 'fce729b2b91152477fa615843ec22d55f1d00752', class: containerClasses.join(' ') }, scrollEnabled && (h(Fragment, { key: 'e999742615c80d98ffeb6cda26bc5d3a8540ff88' }, h("div", { key: 'd2e88091d9fcdf632abd219eb4538f04db634af5', class: "gradient-left", hidden: !showScrollLeft }), h("div", { key: '9919c8bef04476c1aecb93647434b5b63e5cef61', class: "gradient-right", hidden: !showScrollRight }), h("q2-btn", { key: 'a26caa1abde69915db6c107675a1b6f8174d1bb3', class: "btn-left", hideLabel: true, hidden: !this.showScrollLeft, label: loc('tecton.element.stepper.scrollLeft'), onClick: () => this.onScrollBtnClick('left') }, h("q2-icon", { key: 'c0e4dcbe2ee599f74ac4633b772d607b6d9cd9cf', type: "chevron-left" })), h("q2-btn", { key: 'cfa4c53013792d3360602227317de4cb42b6afc0', class: "btn-right", hideLabel: true, hidden: !this.showScrollRight, label: loc('tecton.element.stepper.scrollRight'), onClick: () => this.onScrollBtnClick('right') }, h("q2-icon", { key: 'e892c9075ddc98a571d914a62869477752eff31a', type: "chevron-right" })))), h("ul", { key: 'b6a36cdaf89dd79e0e1aa3e5d7a6f1656aa082f5', onScroll: this.checkScrollState, ref: el => (this.listElement = el), role: "tablist" }, stepCount > 0 && [...Array(stepCount).keys()].map(stepIndex => this.renderStepBtn(stepIndex)))), h("div", { key: 'e47d7585250b909a1bef67e87ecc5fe6ab0d0c2b', role: "list" }, h("slot", { key: '4540a6506f3e2a66d08c940729048092366e4efa', onSlotchange: () => this.onSlotChange() }))));
|
|
279
279
|
}
|
|
280
280
|
get hostElement() { return this; }
|
|
281
281
|
static get watchers() { return {
|
|
@@ -279,7 +279,7 @@ const Q2Textarea$1 = /*@__PURE__*/ proxyCustomElement(class Q2Textarea extends H
|
|
|
279
279
|
]))));
|
|
280
280
|
}
|
|
281
281
|
render() {
|
|
282
|
-
return (h("div", { key: '
|
|
282
|
+
return (h("div", { key: '0426555a5f2ca919ddafdf81b4f6261bd6c6e348', class: this.wrapperClasses }, renderLabel(this), h("div", { key: 'f0a77219767ca53e2aeb6c6a4ff7610becc835da', class: "content-container", ref: el => (this.contentContainer = el) }, this.renderInput(), this.maxlength ? this.renderMaxLength() : '', renderMessages(this))));
|
|
283
283
|
}
|
|
284
284
|
get hostElement() { return this; }
|
|
285
285
|
static get watchers() { return {
|
|
@@ -153,7 +153,7 @@ const Q2ActionGroup = class {
|
|
|
153
153
|
if (slottedTagName)
|
|
154
154
|
containerClassNames.push(`has-${slottedTagName}`);
|
|
155
155
|
containerClassNames.push(computedOrientation);
|
|
156
|
-
return (h("q2-resize-observer", { key: '
|
|
156
|
+
return (h("q2-resize-observer", { key: '76c9d28a498cd3d340ceb29474bc2eff7c3b4783', onTctResize: this.handleResize, disabled: shouldDisableResizeObserver }, h("div", { key: '8cce1786925b4a3136565c018dcb0e3974ca383f', ref: el => (this.container = el), class: containerClassNames.join(' '), role: "group" }, h("slot", { key: '83762e1ebb1989c747f012bf4ba20343321e9fa2' }))));
|
|
157
157
|
}
|
|
158
158
|
get hostElement() { return getElement(this); }
|
|
159
159
|
static get watchers() { return {
|
|
@@ -238,7 +238,7 @@ const Q2ResizeObserver = class {
|
|
|
238
238
|
// #endregion
|
|
239
239
|
// #region Render Methods
|
|
240
240
|
render() {
|
|
241
|
-
return h("slot", { key: '
|
|
241
|
+
return h("slot", { key: '342fd137e730fd168477e9cb11d34261e619846c', onSlotchange: this.handleSlotChange });
|
|
242
242
|
}
|
|
243
243
|
get hostElement() { return getElement(this); }
|
|
244
244
|
static get watchers() { return {
|
|
@@ -213,7 +213,7 @@ const Q2ActionSheet = class {
|
|
|
213
213
|
}
|
|
214
214
|
const appearance = (data === null || data === void 0 ? void 0 : data.appearance) || 'slot';
|
|
215
215
|
const interiorClasses = `interior is-${appearance}`;
|
|
216
|
-
return (h("dialog", { key: '
|
|
216
|
+
return (h("dialog", { key: '2ecbe176d8ff88565ad30c1f6b2cfb6ee48ccab5', ref: el => (this.dialogElement = el), class: renderStatus, onClick: this.onClick }, h("div", { key: 'f46366664b6252d250b9e5c594131e297a228ab1', class: interiorClasses }, showHeader && (h("header", { key: '3936e7b9889e5ca74bf22371276e74d081d17ecb' }, h("div", { key: '60a353941259f9558ae1bdb80b8fd3456ab8f064', class: "title" }, (data === null || data === void 0 ? void 0 : data.title) || this.title), !this.hideClose && (h("q2-btn", { key: 'efcebd2cea02327074e3b111802a12807a884917', class: "btn-close", "test-id": "btnClose", onClick: this.onCancel, label: "tecton.element.actionSheet.close", "hide-label": true }, h("q2-icon", { key: '009ef6e777ca61db3af26fc6d652db71e0e28730', type: "close" }))))), ((_a = this.data) === null || _a === void 0 ? void 0 : _a.description) && h("p", { key: '2fb5edafd6b4b0e6ab2971279b76182313222674' }, data.description), RenderContent && h(RenderContent, { key: '2d776a658e15d84d0f93fdffa93ab7721994ff08', data: this.data }))));
|
|
217
217
|
}
|
|
218
218
|
get hostElement() { return getElement(this); }
|
|
219
219
|
};
|
|
@@ -54,7 +54,7 @@ const Q2Avatar = class {
|
|
|
54
54
|
const isLoaded = this.isLoaded;
|
|
55
55
|
const showInitials = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
56
56
|
const showFallback = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: 'da810fb05f158baa2d47ad8bcc68c13218614186' }, showImg && (h("img", { key: '5ed6d0899fae3381d33fae1bd982b0aae3433bab', class: isLoaded ? 'avatar-img' : 'avatar-img-default', "test-id": "userImage", src: this.src, onError: this.onError, onLoad: this.onLoad, alt: this.name || '' })), showInitials && (h("svg", { key: 'ecf897cf6eb262fe23e982a8e5864e52f6e68330', 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' }, h("text", { key: '48f7e431bdc78a6bb7ee67c71e2bb72f669885c6', x: "50", y: "50", "dominant-baseline": "central", "text-anchor": "middle", "aria-hidden": "true" }, computedInitials))), showFallback && (h("div", { key: '814920a23e17c634711f991551995b75af65d04e', "test-id": "fallbackIcon", class: "fallback" }, h("q2-icon", { key: 'c97c248dd3995dd5225400aade938ddb5e9f833f', type: this.icon })))));
|
|
58
58
|
}
|
|
59
59
|
get el() { return getElement(this); }
|
|
60
60
|
static get watchers() { return {
|
|
@@ -4490,7 +4490,7 @@ const Q2Input = class {
|
|
|
4490
4490
|
}
|
|
4491
4491
|
render() {
|
|
4492
4492
|
const { ariaControls, ariaExpanded } = this.ariaAttributes;
|
|
4493
|
-
return (h(Host, { key: '
|
|
4493
|
+
return (h(Host, { key: 'e172a649409b18ca0ad0c08322936e92d9f2e071', role: this._role, "aria-controls": ariaControls, "aria-expanded": ariaExpanded }, h("div", { key: '5415038bee7d4aee6e349fcdd189942df2ce4ab3', class: this.wrapperClasses }, h("div", { key: 'a3a6e31c3cbf5ae66e5bb7ea78fd79b6bf0d51f1', class: "label-wrapper" }, renderLabel(this), this.renderCountDOM()), this.renderInputContainerDOM(), renderMessages(this))));
|
|
4494
4494
|
}
|
|
4495
4495
|
get hostElement() { return getElement(this); }
|
|
4496
4496
|
static get watchers() { return {
|
|
@@ -1211,7 +1211,7 @@ const Q2Calendar = class {
|
|
|
1211
1211
|
return (h("q2-input", { ref: el => (this.controlElement = el), class: "calendar-input-field", value: this.formattedValue, label: 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 && (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 }, h("q2-icon", { type: "calendar" })))));
|
|
1212
1212
|
}
|
|
1213
1213
|
render() {
|
|
1214
|
-
return (h("click-elsewhere", { key: '
|
|
1214
|
+
return (h("click-elsewhere", { key: '9c3199802935c7cd99eb1f14f212d4d56724347e', class: this.open ? 'dropdown-open' : undefined, onChange: this.onClickElsewhere }, this.renderInputField(), h("q2-popover", { key: 'c8b3c478e084290726c851e0e4a8b534c84b3c99', 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())));
|
|
1215
1215
|
}
|
|
1216
1216
|
get hostElement() { return getElement(this); }
|
|
1217
1217
|
static get watchers() { return {
|
|
@@ -92,12 +92,12 @@ const Q2CarouselPane = class {
|
|
|
92
92
|
// #region Render Methods
|
|
93
93
|
render() {
|
|
94
94
|
const { label } = this;
|
|
95
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: 'f06dd6853a5214226844b7f1e533d860c98105e2', class: this.generatePaneClass(this.currentPaneIndex), tabIndex: this.isActivePane ? 0 : -1, role: "group", "aria-roledescription": "slide", "aria-hidden": this.isActivePane ? undefined : 'true', "aria-label": label
|
|
96
96
|
? loc(label)
|
|
97
97
|
: loc('tecton.element.carousel.itemDescription', [
|
|
98
98
|
(this.currentPaneIndex + 1).toString(),
|
|
99
99
|
(this.siblingCount || 0).toString(),
|
|
100
|
-
]), onClick: this.paneClicked }, h("article", { key: '
|
|
100
|
+
]), onClick: this.paneClicked }, h("article", { key: 'f4cd85514f537b3e7eeab4814b3dc2d1406bf08c', class: "q2-carousel-pane-main-content" }, h("slot", { key: '0e27b5c2eba9a271166b1d3c3a87ef09dea5f275' }))));
|
|
101
101
|
}
|
|
102
102
|
get hostElement() { return getElement(this); }
|
|
103
103
|
static get watchers() { return {
|
|
@@ -5387,7 +5387,7 @@ const Q2Carousel = class {
|
|
|
5387
5387
|
let paginationWrapperClasses = ['q2-carousel-pagination-navigation-wrapper'];
|
|
5388
5388
|
if (showNavigationArrows)
|
|
5389
5389
|
paginationWrapperClasses = [...paginationWrapperClasses, 'evenly-space'];
|
|
5390
|
-
return (h(Host, { key: '
|
|
5390
|
+
return (h(Host, { key: 'e9f1d1417f40ab0e87fd7ce07ece84eb5ee89d6d', id: `q2-carousel-${this.guid}`, class: "q2-carousel-instance" }, insufficientPanes ? (this.renderInsufficientPanesDisplay()) : (h(Fragment, null, paneCount > 1 && (h("div", { class: paginationWrapperClasses.join(' ') }, showNavigationArrows && this.renderPrevNavBtn(), h("div", { class: "q2-carousel-control-center-tray" }, !hidePagination && this.renderPaginationArea(), autoPlay && this.renderAutoPlayBtn()), showNavigationArrows && this.renderNextNavBtn())), h("section", { class: carouselContainerClasses.join(' '), ref: el => (this.carouselWrapper = el), "aria-roledescription": "carousel", "aria-label": loc(label) }, h("div", { class: "q2-carousel-swiper-wrapper swiper-wrapper", ref: el => (this.carouselPaneWrapperElement = el), "aria-live": ariaLiveValue, onKeyDown: this.keydownHandler }, h("slot", null)))))));
|
|
5391
5391
|
}
|
|
5392
5392
|
get hostElement() { return getElement(this); }
|
|
5393
5393
|
static get watchers() { return {
|
|
@@ -248,7 +248,7 @@ const Q2ChartArea = class {
|
|
|
248
248
|
// #endregion
|
|
249
249
|
// #region Render Methods
|
|
250
250
|
render() {
|
|
251
|
-
return (h("div", { key: '
|
|
251
|
+
return (h("div", { key: '1e77a549de8a2b635585d9226448aa1b5241db7a', class: "container" }, h("div", { key: '144239a1e7675918019dc602dc3039df0bd30f58', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "areaChartContainer" })));
|
|
252
252
|
}
|
|
253
253
|
get hostElement() { return getElement(this); }
|
|
254
254
|
static get watchers() { return {
|
|
@@ -196,7 +196,7 @@ const Q2ChartBar = class {
|
|
|
196
196
|
// #endregion
|
|
197
197
|
// #region Render Methods
|
|
198
198
|
render() {
|
|
199
|
-
return (h("div", { key: '
|
|
199
|
+
return (h("div", { key: '5ab44a90db3d7842e1ba6d027946baa46a6cd8e0', class: "container" }, h("div", { key: 'cc578124c901f2c9d6749c517b95194642b42096', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "barChartContainer" })));
|
|
200
200
|
}
|
|
201
201
|
get hostElement() { return getElement(this); }
|
|
202
202
|
static get watchers() { return {
|
|
@@ -835,7 +835,7 @@ const Q2ChartDonut = class {
|
|
|
835
835
|
} })), !!name && h("div", { class: "name" }, name), !isNaN(value) && h("div", { class: "value" }, displayValue))));
|
|
836
836
|
}
|
|
837
837
|
render() {
|
|
838
|
-
return (h("click-elsewhere", { key: '
|
|
838
|
+
return (h("click-elsewhere", { key: '9f7bdbe54d0a3785c1a8e27cf9e7cc9ad6d38c0e', onChange: this.onClickElsewhere }, h("figure", { key: 'ea82412cc53f5e31c99bcc542c0a5e81185e08ad' }, h("div", { key: '857217949a937a2cc1ed02a9b8fd2cffa90b69a8', class: "container" }, h("div", { key: 'c05d233e593fe6dca20c74284d86ba4626dbcddf', 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 && (h("figcaption", { key: '4f597bc516b8c22ee42eb0524f820c121ee857b1' }, h("q2-legend", { key: 'b53a6d8c6e3df6cf82107e1b2e8108e8261d2b61', class: "legend", data: this.legendData, format: this.format, hoveredItemId: this.legendHoveredId, onClick: this.onLegendClick, onMouseleave: this.onLegendMouseleave, onMouseenter: this.onLegendMouseenter, selectedItemId: this.selectedId }))))));
|
|
839
839
|
}
|
|
840
840
|
get hostElement() { return getElement(this); }
|
|
841
841
|
static get watchers() { return {
|
|
@@ -114,7 +114,7 @@ const Q2CheckboxGroup = class {
|
|
|
114
114
|
render() {
|
|
115
115
|
const showLabel = this.label || this.optional || this.readonly;
|
|
116
116
|
const showLabelRow = (showLabel && !this.hideLabel) || this.hasError;
|
|
117
|
-
return (h(Fragment, { key: '
|
|
117
|
+
return (h(Fragment, { key: '7ed88abbecbf4dbbb7a4695d119b27eab0b814fb' }, showLabelRow && (h("div", { key: 'a2b64dd5c68fc1496fb3f3d03a06ba0459313334', class: "label-row" }, showLabel && !this.hideLabel && h("div", { key: 'b22eefa5e0d4c32bf3c74f5e06c25a4e12edf8cc', class: "group-legend" }, renderLabel(this)), this.hasError && (h("q2-icon", { key: '7e5efc2cc9e773787311330b1aca345be555ab80', type: "error", "test-id": "iconError" })))), h("fieldset", { key: '06da704734e57178506dcd0bac18f557fb6a9737', onChange: this.onInnerCheckboxChange, "aria-invalid": this.hasError ? `${this.hasError}` : undefined }, showLabel && h("legend", { key: '218f3d540a5b6b427e3702fb4c59990551b213b5', class: "sr-only" }, renderLabel(this)), this.inputDom())));
|
|
118
118
|
}
|
|
119
119
|
get hostElement() { return getElement(this); }
|
|
120
120
|
static get watchers() { return {
|
|
@@ -91,7 +91,7 @@ const Q2Checkbox = class {
|
|
|
91
91
|
const textLabelClasses = ['label-text'];
|
|
92
92
|
if (this.hideLabel)
|
|
93
93
|
textLabelClasses.push('sr');
|
|
94
|
-
return (h("div", { key: '
|
|
94
|
+
return (h("div", { key: 'a860872aea10597b16b6a4c12d52dabab4dcf54e', class: "container" }, h("input", { key: '6fee35bf87986d553168d4c075c6616ab8af381f', 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 }), h("label", { key: '070a133fd4fa9080ece3aa8a719525e0eb4a5a9f', htmlFor: this._id, class: "label-control", "test-id": "checkboxButton", "aria-label": loc(this.label) }, this.renderCheckboxSVG()), h("div", { key: 'cc26e03b05dd2ddbcc7b2b336c06e4f578336345', class: textLabelClasses.join(' ') }, h("label", { key: 'a2611c34d2ec16896b45cd90977a74387926bc00', "test-id": "checkboxLabel", htmlFor: this._id, "aria-hidden": "true" }, h("div", { key: '6dddc1ec905ef09e44ef3ef2470be180b303e3f4' }, loc(this.label), h("slot", { key: '45c5708df20e43efda296617ac29acfd1b166422' })))), this.description && (h("div", { key: '2f89911ba171b8bf16ffb52e04aa954e93e42e0b', class: "description-text", "test-id": "checkboxDescription", id: "description" }, loc(this.description)))));
|
|
95
95
|
}
|
|
96
96
|
get hostElement() { return getElement(this); }
|
|
97
97
|
static get watchers() { return {
|
|
@@ -116,7 +116,7 @@ const Q2Context = class {
|
|
|
116
116
|
// #endregion
|
|
117
117
|
// #region Render Methods
|
|
118
118
|
render() {
|
|
119
|
-
return (h("div", { key: '
|
|
119
|
+
return (h("div", { key: '5afde8298aa66f39d29e3815e4f6b0697a2c056c', class: "context-wrapper" }, h("q2-item", { key: 'a2845eb6b3693ef1a619e3e0f544320d37d12ee4', class: "context-item" }, this.hasDecoratorSlotContent && (h("slot", { key: '064818ca43c300f6f62209b2d592f2a5563e1cab', name: "decorator", slot: "bullet" })), h("div", { key: '7adf08a3fafd285e399212a5774e03aef8dc8818', class: "context-body", slot: "body" }, h("slot", { key: '973bb3c3273a6ff3b7b97ab658c3e4c19337b132', name: "header" }), h("slot", { key: '1399e9ff51423e67d89d96462f17366852aec3cf', name: "description" })), this.hasAffordanceSlotContent && (h("slot", { key: '158fc5e641872f0329be8f78d0075d846fdf8254', name: "affordance", slot: "action" }))), this.separator && (h("div", { key: '93b05d04c25f99ca513ad1d8ddeb91c3ad3ffb62', class: "separator", role: "separator" })), this.hasActionGroupSlotContent && (h("q2-action-group", { key: '7c50124b793b72852272fba68c63333d66dfc277', class: "action-group", orientation: "horizontal" }, h("slot", { key: '65673741f37a47e3619406dae5ab48b19fdb1594', name: "action-group" }))), this.hasFooterSlotContent && h("slot", { key: 'c522eb21751e4fa16c67e48e8d19d6a456cac43f', name: "footer" })));
|
|
120
120
|
}
|
|
121
121
|
get hostElement() { return getElement(this); }
|
|
122
122
|
};
|
|
@@ -140,7 +140,7 @@ const Q2Currency = class {
|
|
|
140
140
|
// #region Render Methods
|
|
141
141
|
render() {
|
|
142
142
|
const { hasPlusMinusSign, plusMinusSign, currencyIsFront, currencySymbol, shouldSuperscriptSymbol, amountCore, fraction, shouldSuperscriptFraction, readableCurrency, currencyClasses, signDisplay, isNegativeAmount, } = this;
|
|
143
|
-
return (h("div", { key: '
|
|
143
|
+
return (h("div", { key: 'b52f42839e2b58855fa0a2701494afb348fcf115', "test-id": "q2CurrencyInner", class: currencyClasses, "aria-label": readableCurrency }, signDisplay === 'accounting' && isNegativeAmount && h("span", { key: 'd7bb93aaa6990cf71c52d563de0d4edc57a753b5' }, '('), hasPlusMinusSign && h("span", { key: '1932d9282c28dd864968c206db33e13b67887741' }, plusMinusSign), currencyIsFront && h("span", { key: '27fd6fc74c4d45958053a69817a2a68cb54224ca', class: shouldSuperscriptSymbol ? 'superscript' : '' }, currencySymbol), h("span", { key: 'ee5c187188065158a64e0bf297d69ead34c77ad5' }, amountCore), h("span", { key: '25af7cc0af81031e9273343243aeb891af52ed26', class: shouldSuperscriptFraction ? 'superscript' : '' }, fraction), !currencyIsFront && h("span", { key: 'd7cd9a79163d8ab141eb861ba42d4ab9f2f1a493', class: shouldSuperscriptSymbol ? 'superscript' : '' }, currencySymbol), signDisplay === 'accounting' && isNegativeAmount && h("span", { key: '06dbc7319959ea53b3e824ffebda5761ded6411a' }, ')')));
|
|
144
144
|
}
|
|
145
145
|
get hostElement() { return getElement(this); }
|
|
146
146
|
static get watchers() { return {
|
|
@@ -331,7 +331,7 @@ const Q2DataTable = class {
|
|
|
331
331
|
// #region Render Methods
|
|
332
332
|
render() {
|
|
333
333
|
const { caption } = this;
|
|
334
|
-
return (h("div", { key: '
|
|
334
|
+
return (h("div", { key: '0a84a33d06a025c9e0cf3af6df1cfbd06e2a0cdb', class: "container" }, h("table", { key: '11c6a88e893d3bc2ae6607059c8f1c3dfd7fd263' }, caption && h("caption", { key: 'f09321cd884c37f9dc2c7d5298e56e7f51e1b80d', class: this.hideCaption ? 'sr' : undefined }, caption), this.renderTableColGroup(), this.renderTableHeader(), this.renderEmptyState(), this.renderTableRows())));
|
|
335
335
|
}
|
|
336
336
|
renderCellContent(cell) {
|
|
337
337
|
if (!cell)
|
|
@@ -103,7 +103,7 @@ const Q2Detail = class {
|
|
|
103
103
|
// #endregion
|
|
104
104
|
// #region Render Methods
|
|
105
105
|
render() {
|
|
106
|
-
return (h("div", { key: '
|
|
106
|
+
return (h("div", { key: '367f38fec525c8357e97006dc8b70bb70633c809', class: this.detailClasses }, this.hasLabel && (h("div", { key: '24b8cdc763b2850a82c4cda2282f499cddead313', class: this.labelClasses, "aria-describedby": !!this.description ? 'label-description' : undefined }, !!this.label ? loc(this.label) : this.hasLabelSlotContent ? h("slot", { name: "label" }) : '')), this.hasDescripiton && (h("div", { key: '5b08dcb9c6522416a7e4b0e7cfa665731a7878c7', id: "label-description", class: this.descriptionClasses }, !!this.description ? loc(this.description) : this.hasDefaultSlotContent ? h("slot", null) : ''))));
|
|
107
107
|
}
|
|
108
108
|
get hostElement() { return getElement(this); }
|
|
109
109
|
};
|
|
@@ -326,7 +326,7 @@ const Q2Dropdown = class {
|
|
|
326
326
|
// #region Render Methods
|
|
327
327
|
render() {
|
|
328
328
|
const btnProps = this.toggleButtonProps;
|
|
329
|
-
return (h("click-elsewhere", { key: '
|
|
329
|
+
return (h("click-elsewhere", { key: '17fa726cf318ef80c92dc8bd50d30838108d4a38', class: this.open ? 'dropdown-open' : '', onChange: this.onClickElsewhere, "test-id": "dropdownContainer" }, h("q2-btn", { key: '3f6f731730ccce717d4388528d001a112e7f0cde', 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 ? loc(this.label) : undefined, hideLabel: this.hideLabel, ariaHasPopup: "menu", "test-id": "dropdownButton", block: this.block, description: loc('tecton.element.dropdown.itemCount', [this.determineDropdownItemCount]) }, this.hasCustomControl ? (h("div", { "test-id": "dropdownControl", class: btnProps.custom ? '' : 'hidden' }, h("slot", { name: "control" }))) : (h(Fragment, null, this.icon ? h("q2-icon", { type: this.icon }) : ' ', this.label && !this.hideLabel && (h("span", { class: "dropdown-button-text" }, loc(this.label)))))), h("q2-popover", { key: '43a00a872c512f692b0ca5b99bf57feaa2433a72', 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 }, h("q2-option-list", { key: '2cbeab1452170a8789753e8ff0cf95be97f66e2e', onPopoverState: this.onPopoverState, id: "option-list", ref: el => (this.optionList = el), type: "menu", label: loc('tecton.element.optionList.label', [this.optionListLabel]), "no-select": true }, h("slot", { key: '5915f27ac3f266d673dce075f3297056aa3367a4' })))));
|
|
330
330
|
}
|
|
331
331
|
get hostElement() { return getElement(this); }
|
|
332
332
|
static get watchers() { return {
|
|
@@ -206,7 +206,7 @@ const Q2EditableField = class {
|
|
|
206
206
|
// #endregion
|
|
207
207
|
// #region Render Methods
|
|
208
208
|
render() {
|
|
209
|
-
return (h("div", { key: '
|
|
209
|
+
return (h("div", { key: 'c44eae508922c227eac7c17ac2ee2f686cf87d58' }, this.generateEditStateDOM(), this.generateReadStateDOM()));
|
|
210
210
|
}
|
|
211
211
|
get hostElement() { return getElement(this); }
|
|
212
212
|
static get watchers() { return {
|
|
@@ -125,7 +125,7 @@ const Q2Example = class {
|
|
|
125
125
|
}, onClick: () => this.tctClick.emit(), role: "menu" }, h("slot", null))));
|
|
126
126
|
}
|
|
127
127
|
render() {
|
|
128
|
-
return h(Host, { key: '
|
|
128
|
+
return h(Host, { key: '798d88d1c95194d4e7b2a105f91eccd75abb648b', attribute: "navigation" }, this.renderMenuInner());
|
|
129
129
|
}
|
|
130
130
|
get el() { return getElement(this); }
|
|
131
131
|
static get watchers() { return {
|
|
@@ -12,7 +12,7 @@ const Q2Form = class {
|
|
|
12
12
|
// #endregion
|
|
13
13
|
// #region Render Methods
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '0b02c112668f04586a5fdd9cf0110de059d49edc', class: "container" }, h("slot", { key: '8477c76cde96c37f54592970885625280062cd06' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
Q2Form.style = q2FormCss;
|
|
@@ -62,7 +62,7 @@ const Q2FormattedText = class {
|
|
|
62
62
|
// #region Render Methods
|
|
63
63
|
render() {
|
|
64
64
|
const { formattedTextClasses } = this;
|
|
65
|
-
return (h("div", { key: '
|
|
65
|
+
return (h("div", { key: 'd5e6977e662e138549e1726395e41b10a9122204', class: formattedTextClasses, "aria-label": this.formattedValue }, h("span", { key: 'e683c37a0ed228532ca2303c5b9c43eb72f4a9ba' }, this.formattedValue)));
|
|
66
66
|
}
|
|
67
67
|
static get watchers() { return {
|
|
68
68
|
"value": ["propsUpdated"],
|
|
@@ -100,7 +100,7 @@ const Q2GridArea = class {
|
|
|
100
100
|
'--xl-align-self': this.xlAlign || this.lgAlign || this.mdAlign || this.smAlign || this.xsAlign || this.align,
|
|
101
101
|
'--xl-z-index': `${this.computedXlZIndex}`,
|
|
102
102
|
};
|
|
103
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: 'd7d3a3d287855dd9d1025d51a03d16ec45605ca9', style: q2GridAreaStyles }, h("slot", { key: '80fec4e2ce3ff3718ae29804e4b4e4b1826feff9' })));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
Q2GridArea.style = q2GridAreaCss;
|
|
@@ -89,7 +89,7 @@ const Q2Grid = class {
|
|
|
89
89
|
'--xl-justify-items': this.xlJustify || this.lgJustify || this.mdJustify || this.smJustify || this.xsJustify || this.justify,
|
|
90
90
|
'--xl-align-items': this.xlAlign || this.lgAlign || this.mdAlign || this.smAlign || this.xsAlign || this.align,
|
|
91
91
|
};
|
|
92
|
-
return (h(Fragment, { key: '
|
|
92
|
+
return (h(Fragment, { key: '4263d1ebfb0412dca175a9b48aab99afaa96f6d6' }, h("div", { key: '5b258ed54bbd39d2379875581dedfa351b352c5e', style: q2GridStyles, class: "q2-grid" }, h("slot", { key: 'ab7487207e7f99f3f00cdc9b9cd1e14c33d8c0d7' }))));
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
95
|
Q2Grid.style = q2GridCss;
|
|
@@ -105,7 +105,7 @@ const Q2Item = class {
|
|
|
105
105
|
// #region Render Methods
|
|
106
106
|
render() {
|
|
107
107
|
const { clickable } = this;
|
|
108
|
-
return (h("div", { key: '
|
|
108
|
+
return (h("div", { key: '6b3bb1e5c44109c9cec72510e2a6ce3ef1341ee0', "test-id": "itemContainer", class: this.itemClasses, ref: el => (this.itemElement = el), role: clickable ? 'button' : undefined, tabIndex: clickable ? 0 : undefined }, this.hasBulletSlotContent && (h("div", { key: '85550e33d0ed9ea6fbcc2b6011ef816c6582a409', class: this.bulletClasses }, h("slot", { key: '27878595e0c6e1dd7bff4f89d088d2eff3a89081', name: "bullet" }))), h("div", { key: '66cb1e4c12228134b52bc9ce7fc6948e0e032189', class: this.mainClasses }, this.hasHeaderSlotContent && (h("div", { key: '1c6153c3ffec60e206aa48da2e64ff34fc9c4759', class: "header" }, h("slot", { key: 'cff1262d7b3de7ba43315259db55c46b9573b57b', name: "header" }))), this.hasBodySlotContent && (h("div", { key: '65e0912d2f9e8af1d482251623134a636279df61', class: "body" }, h("slot", { key: '8be6e8685365294f4ec73321286a4a54a73de02c', name: "body" })))), this.hasActionSlotContent && (h("div", { key: 'a2cc7e70215f381527f47b1888ee838620a69e44', class: this.actionClasses }, h("slot", { key: '219cf069772b09dcaf230a8025acbb96afe39a74', name: "action" }))), this.hasFooterSlotContent && (h("div", { key: '0184eebce11e3979fea36d9d321f96c23571f622', class: this.footerClasses }, h("slot", { key: 'def0861ee4c73d4b8a4027993cb5990ed93231a9', name: "footer" })))));
|
|
109
109
|
}
|
|
110
110
|
get hostElement() { return getElement(this); }
|
|
111
111
|
};
|