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
|
@@ -344,7 +344,7 @@ export class Q2Pill {
|
|
|
344
344
|
wrapperClassNames.push('has-icon');
|
|
345
345
|
if (optionCount)
|
|
346
346
|
wrapperClassNames.push('has-options');
|
|
347
|
-
return (h("click-elsewhere", { key: '
|
|
347
|
+
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" })))))));
|
|
348
348
|
}
|
|
349
349
|
static get is() { return "q2-pill"; }
|
|
350
350
|
static get encapsulation() { return "shadow"; }
|
|
@@ -330,7 +330,7 @@ export class Q2Popover {
|
|
|
330
330
|
containerClasses.push('block');
|
|
331
331
|
if (this.mode === 'legacy')
|
|
332
332
|
containerClasses.push('legacy');
|
|
333
|
-
return (h("div", { key: '
|
|
333
|
+
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' }))));
|
|
334
334
|
}
|
|
335
335
|
static get is() { return "q2-popover"; }
|
|
336
336
|
static get encapsulation() { return "shadow"; }
|
|
@@ -84,7 +84,7 @@ export class Q2Radio {
|
|
|
84
84
|
// #endregion
|
|
85
85
|
// #region Render Methods
|
|
86
86
|
render() {
|
|
87
|
-
return (h("div", { key: '
|
|
87
|
+
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' }))))));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "q2-radio"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|
|
@@ -172,7 +172,7 @@ export class Q2RadioGroup {
|
|
|
172
172
|
const showLabel = this.label || this.optional || this.readonly;
|
|
173
173
|
const { hasError } = this;
|
|
174
174
|
const showLabelRow = (showLabel && !this.hideLabel) || hasError;
|
|
175
|
-
return (h(Fragment, { key: '
|
|
175
|
+
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())));
|
|
176
176
|
}
|
|
177
177
|
static get is() { return "q2-radio-group"; }
|
|
178
178
|
static get encapsulation() { return "shadow"; }
|
|
@@ -148,7 +148,7 @@ export class Q2RelativeTime {
|
|
|
148
148
|
// #region Render Methods
|
|
149
149
|
render() {
|
|
150
150
|
const { shouldShow, displayedMessage } = this;
|
|
151
|
-
return h(Fragment, { key: '
|
|
151
|
+
return h(Fragment, { key: '0d285a64c9e37d285b2c292518f6d86c5b2a3580' }, shouldShow ? h("time", { dateTime: displayedMessage }, displayedMessage) : null);
|
|
152
152
|
}
|
|
153
153
|
static get is() { return "q2-relative-time"; }
|
|
154
154
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ export class Q2ResizeObserver {
|
|
|
71
71
|
// #endregion
|
|
72
72
|
// #region Render Methods
|
|
73
73
|
render() {
|
|
74
|
-
return h("slot", { key: '
|
|
74
|
+
return h("slot", { key: '342fd137e730fd168477e9cb11d34261e619846c', onSlotchange: this.handleSlotChange });
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "q2-resize-observer"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -180,9 +180,9 @@ export class Q2Section {
|
|
|
180
180
|
wrapperClasses.push('is-transitioning');
|
|
181
181
|
}
|
|
182
182
|
const showDefaultHeader = !this.hasYieldedHeader && !!this.label;
|
|
183
|
-
return (h("section", { key: '
|
|
183
|
+
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 && {
|
|
184
184
|
height: this.contentHeight,
|
|
185
|
-
} }, h("div", { key: '
|
|
185
|
+
} }, h("div", { key: 'e66a1a7861328cf3fd1470bbbd03b613eed0e1a8', ref: el => (this.contentContainer = el), class: "content", tabindex: "-1" }, h("slot", { key: '07276e9c52b71cdd80d43fd9f1b2e94a8d8e63f2', ref: (el) => (this.contentSlot = el) })))));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "q2-section"; }
|
|
188
188
|
static get encapsulation() { return "shadow"; }
|
|
@@ -768,7 +768,7 @@ export class Q2Select {
|
|
|
768
768
|
]), checked: showSelected, "test-id": "selectedOptionsButton", onClick: this.showSelectedOptions, onKeyDown: this.visibilityToggleKeyDown }), h("label", { htmlFor: "selected" }, loc('tecton.element.select.multiHeader.selected', [selectedOptionsCount]))))));
|
|
769
769
|
}
|
|
770
770
|
render() {
|
|
771
|
-
return (h("click-elsewhere", { key: '
|
|
771
|
+
return (h("click-elsewhere", { key: 'a188f728f9dc0e448e97a5c06fd1308b8cb37564', class: this.wrapperClasses, onChange: this.clickedElsewhere }, this.renderSelectField()));
|
|
772
772
|
}
|
|
773
773
|
static get is() { return "q2-select"; }
|
|
774
774
|
static get encapsulation() { return "shadow"; }
|
|
@@ -267,7 +267,7 @@ export class Q2Stepper {
|
|
|
267
267
|
const containerClasses = ['step-container'];
|
|
268
268
|
if (scrollEnabled)
|
|
269
269
|
containerClasses.push('has-scroll');
|
|
270
|
-
return (h(Fragment, { key: '
|
|
270
|
+
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() }))));
|
|
271
271
|
}
|
|
272
272
|
static get is() { return "q2-stepper"; }
|
|
273
273
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,7 +67,7 @@ export class Q2StepperPane {
|
|
|
67
67
|
// #region Render Methods
|
|
68
68
|
render() {
|
|
69
69
|
const { label, isActive } = this;
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
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" }))));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "q2-stepper-pane"; }
|
|
73
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -214,7 +214,7 @@ export class Q2StepperPane {
|
|
|
214
214
|
"references": {
|
|
215
215
|
"IStepperPaneEvent": {
|
|
216
216
|
"location": "local",
|
|
217
|
-
"path": "/
|
|
217
|
+
"path": "/Users/kvanhouten/Documents/Work/tecton_extra/packages/q2-tecton-elements/src/components/q2-stepper-pane/q2-stepper-pane.tsx",
|
|
218
218
|
"id": "src/components/q2-stepper-pane/q2-stepper-pane.tsx::IStepperPaneEvent"
|
|
219
219
|
}
|
|
220
220
|
}
|
|
@@ -253,7 +253,7 @@ export class Q2StepperPane {
|
|
|
253
253
|
"references": {
|
|
254
254
|
"IStepperPaneEvent": {
|
|
255
255
|
"location": "local",
|
|
256
|
-
"path": "/
|
|
256
|
+
"path": "/Users/kvanhouten/Documents/Work/tecton_extra/packages/q2-tecton-elements/src/components/q2-stepper-pane/q2-stepper-pane.tsx",
|
|
257
257
|
"id": "src/components/q2-stepper-pane/q2-stepper-pane.tsx::IStepperPaneEvent"
|
|
258
258
|
}
|
|
259
259
|
}
|
|
@@ -271,7 +271,7 @@ export class Q2Textarea {
|
|
|
271
271
|
]))));
|
|
272
272
|
}
|
|
273
273
|
render() {
|
|
274
|
-
return (h("div", { key: '
|
|
274
|
+
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))));
|
|
275
275
|
}
|
|
276
276
|
static get is() { return "q2-textarea"; }
|
|
277
277
|
static get encapsulation() { return "shadow"; }
|
|
@@ -156,7 +156,7 @@ const Q2ActionGroup = /*@__PURE__*/ proxyCustomElement(class Q2ActionGroup exten
|
|
|
156
156
|
if (slottedTagName)
|
|
157
157
|
containerClassNames.push(`has-${slottedTagName}`);
|
|
158
158
|
containerClassNames.push(computedOrientation);
|
|
159
|
-
return (h("q2-resize-observer", { key: '
|
|
159
|
+
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' }))));
|
|
160
160
|
}
|
|
161
161
|
get hostElement() { return this; }
|
|
162
162
|
static get watchers() { return {
|
|
@@ -222,7 +222,7 @@ const Q2ActionSheet$1 = /*@__PURE__*/ proxyCustomElement(class Q2ActionSheet ext
|
|
|
222
222
|
}
|
|
223
223
|
const appearance = (data === null || data === void 0 ? void 0 : data.appearance) || 'slot';
|
|
224
224
|
const interiorClasses = `interior is-${appearance}`;
|
|
225
|
-
return (h("dialog", { key: '
|
|
225
|
+
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 }))));
|
|
226
226
|
}
|
|
227
227
|
get hostElement() { return this; }
|
|
228
228
|
static get style() { return q2ActionSheetCss; }
|
|
@@ -57,7 +57,7 @@ const Q2Avatar = /*@__PURE__*/ proxyCustomElement(class Q2Avatar extends HTMLEle
|
|
|
57
57
|
const isLoaded = this.isLoaded;
|
|
58
58
|
const showInitials = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
59
59
|
const showFallback = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
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 })))));
|
|
61
61
|
}
|
|
62
62
|
get el() { return this; }
|
|
63
63
|
static get watchers() { return {
|
|
@@ -1221,7 +1221,7 @@ const Q2Calendar$1 = /*@__PURE__*/ proxyCustomElement(class Q2Calendar extends H
|
|
|
1221
1221
|
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" })))));
|
|
1222
1222
|
}
|
|
1223
1223
|
render() {
|
|
1224
|
-
return (h("click-elsewhere", { key: '
|
|
1224
|
+
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())));
|
|
1225
1225
|
}
|
|
1226
1226
|
get hostElement() { return this; }
|
|
1227
1227
|
static get watchers() { return {
|
|
@@ -93,12 +93,12 @@ const Q2CarouselPane$1 = /*@__PURE__*/ proxyCustomElement(class Q2CarouselPane e
|
|
|
93
93
|
// #region Render Methods
|
|
94
94
|
render() {
|
|
95
95
|
const { label } = this;
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
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
|
|
97
97
|
? loc(label)
|
|
98
98
|
: loc('tecton.element.carousel.itemDescription', [
|
|
99
99
|
(this.currentPaneIndex + 1).toString(),
|
|
100
100
|
(this.siblingCount || 0).toString(),
|
|
101
|
-
]), onClick: this.paneClicked }, h("article", { key: '
|
|
101
|
+
]), onClick: this.paneClicked }, h("article", { key: 'f4cd85514f537b3e7eeab4814b3dc2d1406bf08c', class: "q2-carousel-pane-main-content" }, h("slot", { key: '0e27b5c2eba9a271166b1d3c3a87ef09dea5f275' }))));
|
|
102
102
|
}
|
|
103
103
|
get hostElement() { return this; }
|
|
104
104
|
static get watchers() { return {
|
|
@@ -5391,7 +5391,7 @@ const Q2Carousel$1 = /*@__PURE__*/ proxyCustomElement(class Q2Carousel extends H
|
|
|
5391
5391
|
let paginationWrapperClasses = ['q2-carousel-pagination-navigation-wrapper'];
|
|
5392
5392
|
if (showNavigationArrows)
|
|
5393
5393
|
paginationWrapperClasses = [...paginationWrapperClasses, 'evenly-space'];
|
|
5394
|
-
return (h(Host, { key: '
|
|
5394
|
+
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)))))));
|
|
5395
5395
|
}
|
|
5396
5396
|
get hostElement() { return this; }
|
|
5397
5397
|
static get watchers() { return {
|
|
@@ -250,7 +250,7 @@ const Q2ChartArea$1 = /*@__PURE__*/ proxyCustomElement(class Q2ChartArea extends
|
|
|
250
250
|
// #endregion
|
|
251
251
|
// #region Render Methods
|
|
252
252
|
render() {
|
|
253
|
-
return (h("div", { key: '
|
|
253
|
+
return (h("div", { key: '1e77a549de8a2b635585d9226448aa1b5241db7a', class: "container" }, h("div", { key: '144239a1e7675918019dc602dc3039df0bd30f58', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "areaChartContainer" })));
|
|
254
254
|
}
|
|
255
255
|
get hostElement() { return this; }
|
|
256
256
|
static get watchers() { return {
|
|
@@ -198,7 +198,7 @@ const Q2ChartBar$1 = /*@__PURE__*/ proxyCustomElement(class Q2ChartBar extends H
|
|
|
198
198
|
// #endregion
|
|
199
199
|
// #region Render Methods
|
|
200
200
|
render() {
|
|
201
|
-
return (h("div", { key: '
|
|
201
|
+
return (h("div", { key: '5ab44a90db3d7842e1ba6d027946baa46a6cd8e0', class: "container" }, h("div", { key: 'cc578124c901f2c9d6749c517b95194642b42096', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "barChartContainer" })));
|
|
202
202
|
}
|
|
203
203
|
get hostElement() { return this; }
|
|
204
204
|
static get watchers() { return {
|
|
@@ -840,7 +840,7 @@ const Q2ChartDonut$1 = /*@__PURE__*/ proxyCustomElement(class Q2ChartDonut exten
|
|
|
840
840
|
} })), !!name && h("div", { class: "name" }, name), !isNaN(value) && h("div", { class: "value" }, displayValue))));
|
|
841
841
|
}
|
|
842
842
|
render() {
|
|
843
|
-
return (h("click-elsewhere", { key: '
|
|
843
|
+
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 }))))));
|
|
844
844
|
}
|
|
845
845
|
get hostElement() { return this; }
|
|
846
846
|
static get watchers() { return {
|
|
@@ -117,7 +117,7 @@ const Q2CheckboxGroup$1 = /*@__PURE__*/ proxyCustomElement(class Q2CheckboxGroup
|
|
|
117
117
|
render() {
|
|
118
118
|
const showLabel = this.label || this.optional || this.readonly;
|
|
119
119
|
const showLabelRow = (showLabel && !this.hideLabel) || this.hasError;
|
|
120
|
-
return (h(Fragment, { key: '
|
|
120
|
+
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())));
|
|
121
121
|
}
|
|
122
122
|
get hostElement() { return this; }
|
|
123
123
|
static get watchers() { return {
|
|
@@ -94,7 +94,7 @@ const Q2Checkbox = /*@__PURE__*/ proxyCustomElement(class Q2Checkbox extends HTM
|
|
|
94
94
|
const textLabelClasses = ['label-text'];
|
|
95
95
|
if (this.hideLabel)
|
|
96
96
|
textLabelClasses.push('sr');
|
|
97
|
-
return (h("div", { key: '
|
|
97
|
+
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)))));
|
|
98
98
|
}
|
|
99
99
|
get hostElement() { return this; }
|
|
100
100
|
static get watchers() { return {
|
|
@@ -121,7 +121,7 @@ const Q2Context$1 = /*@__PURE__*/ proxyCustomElement(class Q2Context extends HTM
|
|
|
121
121
|
// #endregion
|
|
122
122
|
// #region Render Methods
|
|
123
123
|
render() {
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
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" })));
|
|
125
125
|
}
|
|
126
126
|
get hostElement() { return this; }
|
|
127
127
|
static get style() { return q2ContextCss; }
|
|
@@ -142,7 +142,7 @@ const Q2Currency$1 = /*@__PURE__*/ proxyCustomElement(class Q2Currency extends H
|
|
|
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 (h("div", { key: '
|
|
145
|
+
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' }, ')')));
|
|
146
146
|
}
|
|
147
147
|
get hostElement() { return this; }
|
|
148
148
|
static get watchers() { return {
|
|
@@ -338,7 +338,7 @@ const Q2DataTable$1 = /*@__PURE__*/ proxyCustomElement(class Q2DataTable extends
|
|
|
338
338
|
// #region Render Methods
|
|
339
339
|
render() {
|
|
340
340
|
const { caption } = this;
|
|
341
|
-
return (h("div", { key: '
|
|
341
|
+
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())));
|
|
342
342
|
}
|
|
343
343
|
renderCellContent(cell) {
|
|
344
344
|
if (!cell)
|
|
@@ -105,7 +105,7 @@ const Q2Detail$1 = /*@__PURE__*/ proxyCustomElement(class Q2Detail extends HTMLE
|
|
|
105
105
|
// #endregion
|
|
106
106
|
// #region Render Methods
|
|
107
107
|
render() {
|
|
108
|
-
return (h("div", { key: '
|
|
108
|
+
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) : ''))));
|
|
109
109
|
}
|
|
110
110
|
get hostElement() { return this; }
|
|
111
111
|
static get style() { return q2DetailCss; }
|
|
@@ -335,7 +335,7 @@ const Q2Dropdown$1 = /*@__PURE__*/ proxyCustomElement(class Q2Dropdown extends H
|
|
|
335
335
|
// #region Render Methods
|
|
336
336
|
render() {
|
|
337
337
|
const btnProps = this.toggleButtonProps;
|
|
338
|
-
return (h("click-elsewhere", { key: '
|
|
338
|
+
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' })))));
|
|
339
339
|
}
|
|
340
340
|
get hostElement() { return this; }
|
|
341
341
|
static get watchers() { return {
|
|
@@ -213,7 +213,7 @@ const Q2EditableField$1 = /*@__PURE__*/ proxyCustomElement(class Q2EditableField
|
|
|
213
213
|
// #endregion
|
|
214
214
|
// #region Render Methods
|
|
215
215
|
render() {
|
|
216
|
-
return (h("div", { key: '
|
|
216
|
+
return (h("div", { key: 'c44eae508922c227eac7c17ac2ee2f686cf87d58' }, this.generateEditStateDOM(), this.generateReadStateDOM()));
|
|
217
217
|
}
|
|
218
218
|
get hostElement() { return this; }
|
|
219
219
|
static get watchers() { return {
|
|
@@ -127,7 +127,7 @@ const Q2Example$1 = /*@__PURE__*/ proxyCustomElement(class Q2Example extends HTM
|
|
|
127
127
|
}, onClick: () => this.tctClick.emit(), role: "menu" }, h("slot", null))));
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return h(Host, { key: '
|
|
130
|
+
return h(Host, { key: '798d88d1c95194d4e7b2a105f91eccd75abb648b', attribute: "navigation" }, this.renderMenuInner());
|
|
131
131
|
}
|
|
132
132
|
get el() { return this; }
|
|
133
133
|
static get watchers() { return {
|
|
@@ -14,7 +14,7 @@ const Q2Form$1 = /*@__PURE__*/ proxyCustomElement(class Q2Form extends HTMLEleme
|
|
|
14
14
|
// #endregion
|
|
15
15
|
// #region Render Methods
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '0b02c112668f04586a5fdd9cf0110de059d49edc', class: "container" }, h("slot", { key: '8477c76cde96c37f54592970885625280062cd06' })));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return q2FormCss; }
|
|
20
20
|
}, [1, "q2-form", {
|
|
@@ -64,7 +64,7 @@ const Q2FormattedText$1 = /*@__PURE__*/ proxyCustomElement(class Q2FormattedText
|
|
|
64
64
|
// #region Render Methods
|
|
65
65
|
render() {
|
|
66
66
|
const { formattedTextClasses } = this;
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: 'd5e6977e662e138549e1726395e41b10a9122204', class: formattedTextClasses, "aria-label": this.formattedValue }, h("span", { key: 'e683c37a0ed228532ca2303c5b9c43eb72f4a9ba' }, this.formattedValue)));
|
|
68
68
|
}
|
|
69
69
|
static get watchers() { return {
|
|
70
70
|
"value": ["propsUpdated"],
|
|
@@ -102,7 +102,7 @@ const Q2GridArea$1 = /*@__PURE__*/ proxyCustomElement(class Q2GridArea extends H
|
|
|
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 (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: 'd7d3a3d287855dd9d1025d51a03d16ec45605ca9', style: q2GridAreaStyles }, h("slot", { key: '80fec4e2ce3ff3718ae29804e4b4e4b1826feff9' })));
|
|
106
106
|
}
|
|
107
107
|
static get style() { return q2GridAreaCss; }
|
|
108
108
|
}, [1, "q2-grid-area", {
|
|
@@ -91,7 +91,7 @@ const Q2Grid$1 = /*@__PURE__*/ proxyCustomElement(class Q2Grid extends HTMLEleme
|
|
|
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 (h(Fragment, { key: '
|
|
94
|
+
return (h(Fragment, { key: '4263d1ebfb0412dca175a9b48aab99afaa96f6d6' }, h("div", { key: '5b258ed54bbd39d2379875581dedfa351b352c5e', style: q2GridStyles, class: "q2-grid" }, h("slot", { key: 'ab7487207e7f99f3f00cdc9b9cd1e14c33d8c0d7' }))));
|
|
95
95
|
}
|
|
96
96
|
static get style() { return q2GridCss; }
|
|
97
97
|
}, [1, "q2-grid", {
|
|
@@ -3538,7 +3538,7 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class Q2Input extends HTMLEleme
|
|
|
3538
3538
|
}
|
|
3539
3539
|
render() {
|
|
3540
3540
|
const { ariaControls, ariaExpanded } = this.ariaAttributes;
|
|
3541
|
-
return (h(Host, { key: '
|
|
3541
|
+
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))));
|
|
3542
3542
|
}
|
|
3543
3543
|
get hostElement() { return this; }
|
|
3544
3544
|
static get watchers() { return {
|
|
@@ -107,7 +107,7 @@ const Q2Item = /*@__PURE__*/ proxyCustomElement(class Q2Item extends HTMLElement
|
|
|
107
107
|
// #region Render Methods
|
|
108
108
|
render() {
|
|
109
109
|
const { clickable } = this;
|
|
110
|
-
return (h("div", { key: '
|
|
110
|
+
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" })))));
|
|
111
111
|
}
|
|
112
112
|
get hostElement() { return this; }
|
|
113
113
|
static get style() { return q2ItemCss; }
|
|
@@ -111,7 +111,7 @@ const Q2Legend = /*@__PURE__*/ proxyCustomElement(class Q2Legend extends HTMLEle
|
|
|
111
111
|
// #endregion
|
|
112
112
|
// #region Render Methods
|
|
113
113
|
render() {
|
|
114
|
-
return (h("click-elsewhere", { key: '
|
|
114
|
+
return (h("click-elsewhere", { key: 'b955f605c385783d6957979ed48a54be4e85e354', onChange: () => this.onClickElsewhere(this) }, h("ul", { key: 'd6a97f3953f777dce363bbca502a95e0925437b5' }, this.dataWithClasses.map(item => (h("li", { class: "item" }, 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) }, h("span", { "test-id": "itemColor", class: "item-color-indicator", style: { backgroundColor: item.color }, "aria-hidden": "true" }), h("span", { "test-id": "itemName", class: "item-name" }, item.name), h("span", { id: `item-${item.id}`, "test-id": "itemValue", class: "item-value" }, this.formatValue(item.value)))))))));
|
|
115
115
|
}
|
|
116
116
|
static get watchers() { return {
|
|
117
117
|
"hoveredItemId": ["watchHoveredItemId"],
|
|
@@ -69,7 +69,7 @@ const Q2List = /*@__PURE__*/ proxyCustomElement(class Q2List extends HTMLElement
|
|
|
69
69
|
// #endregion
|
|
70
70
|
// #region Render Methods
|
|
71
71
|
render() {
|
|
72
|
-
return (h("div", { key: '
|
|
72
|
+
return (h("div", { key: '87de0bf3b9b86df335cd05f811fff108d512fdad', class: this.listClasses, ref: el => (this.listElement = el) }, (this.hasFilterSlot || this.hasLabelContent) && (h("div", { key: '08333b2adb11d1b5367f164da7dde1003da06e4e', class: this.headerClasses }, h("div", { key: '77dbdc5fb278d64ddd0f3d81631dee81a516eafa', class: "label" }, this.label), this.hasFilterSlot && h("slot", { key: '39e940169c5d5dfd942234add697f6e81dbd5dd4', name: "filter" }))), h("div", { key: '71fbdfb3752feab05b73022670768837e92fef3e', role: "list" }, h("slot", { key: 'f0d574242dda38a3bcf7cdebeb20e5bf32001e1c' }))));
|
|
73
73
|
}
|
|
74
74
|
get hostElement() { return this; }
|
|
75
75
|
static get style() { return q2ListCss; }
|
|
@@ -68,7 +68,7 @@ const Q2Message = /*@__PURE__*/ proxyCustomElement(class Q2Message extends HTMLE
|
|
|
68
68
|
const addDivForAriaLive = !isFirefox && this.presentToggle;
|
|
69
69
|
const { description } = this;
|
|
70
70
|
const messageLabel = loc(`tecton.element.message.type.${this.type ? this.type : 'info'}`);
|
|
71
|
-
return (h("div", { key: '
|
|
71
|
+
return (h("div", { key: '1c9d5fc617703a5193b0907d6808b73bcbda76ca', 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 && h("div", { key: '1fb3a9261694ed8c99c4b4324aeff0b15f63b7cb', class: "sr" }), h("div", { key: '5e9989ebba7512b492002ab0abc951f2d6b7fcc8', class: "sr message-label" }, messageLabel), h("div", { key: '37de20f2c426afbed3c15048643a60f42321cfa3', class: "message-content", "aria-hidden": addAriaHiddenForAriaLive ? 'true' : undefined }, h("slot", { key: 'bddc8bb5641c773c8c47f94bbfe8cdb0562e2a49' }))));
|
|
72
72
|
}
|
|
73
73
|
get hostElement() { return this; }
|
|
74
74
|
static get style() { return q2MessageCss; }
|
|
@@ -161,7 +161,7 @@ const Q2Modal$1 = /*@__PURE__*/ proxyCustomElement(class Q2Modal extends HTMLEle
|
|
|
161
161
|
render() {
|
|
162
162
|
const interiorClasses = `interior`;
|
|
163
163
|
const renderStatus = `${this.renderStatus || ''}`;
|
|
164
|
-
return (h("dialog", { key: '
|
|
164
|
+
return (h("dialog", { key: '2e7528de8d51dcefc86ed5ba61f675d4b4d858a9', ref: el => (this.dialogElement = el), class: renderStatus, onClick: this.onClick }, h("div", { key: '8e71dd9391e5c1f6648dc3c85a8ed9d5cc722031', class: interiorClasses }, this.title && (h("header", { key: '7c088eac4d1841ce7b93d04e130af3c01f032068' }, this.title && h("h2", { key: 'd75587d75195c5326db3c43596ee78e2be151ea9', class: "title" }, this.title), !!this.closable && (h("q2-btn", { key: 'ec9244917226d5ea2142f5af33ddc56c9d6f8222', class: "btn-close", "test-id": "btnClose", onClick: this.onCancel, label: "tecton.element.modal.close", "hide-label": true }, h("q2-icon", { key: '986ab66605853ae24d8e32207c92d1fbfa53e3b6', type: "close" }))))), h("div", { key: '168a8c0af6b67af175ee2d0dae33220c80208453', class: "content", ref: el => (this.contentElement = el) }, this.icon && (h("div", { key: 'adb289ba75e436832ba9415e6a09794201b4ba93', class: "icon" }, h("q2-icon", { key: 'b98f0dfba93d3aeeac333af274ab7aff922ead76', type: this.icon, style: this.iconStyle() }))), this.imageSrc && (h("div", { key: 'eecd1754be42b01ba6ea5f824306c5bfe10a628d', class: "image" }, h("img", { key: '30a6cd052e8668b243f1f0247794bae7cdfbd470', src: this.imageSrc }))), hasSlotContent(this.hostElement, 'content') && h("slot", { key: '1b490d7e61745df8d85605c7f7514393cea84218', name: "content" }), this.description && h("p", { key: '1e224e11506e3e335784fc252aa0b7841085cc87', class: "description" }, this.description), this.customMarkup && (h("p", { key: '9ff09f3c77856fcd1058b5cf0bb17a6debe6d628', class: "customMarkup", innerHTML: sanitizeHTMLString(this.customMarkup) }))), h("footer", { key: '83f26a7a8a70bcc9d9d70f856a0d4fe7996bdc30' }, h("q2-action-group", { key: '0188baa2fe3f396f55c092dbefafc8bafc0d9b30', "full-width": true }, h("slot", { key: 'bc6753152422b6430a0d2429f9e3533d3c13bcea', name: "action" }))))));
|
|
165
165
|
}
|
|
166
166
|
get hostElement() { return this; }
|
|
167
167
|
static get style() { return q2ModalCss; }
|