q2-tecton-elements 1.57.2 → 1.58.1
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 +68 -70
- package/dist/cjs/loader.cjs.js +1 -1
- 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.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +14 -12
- package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +35 -33
- package/dist/cjs/q2-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-carousel.entry.cjs.js.map +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.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-checkbox.entry.cjs.js.map +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-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +21 -13
- package/dist/cjs/q2-file-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-file-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.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-loading-element.cjs.entry.js +1 -1
- package/dist/cjs/q2-loading-element.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-loading-element.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +7 -7
- package/dist/cjs/q2-message.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-message.entry.cjs.js.map +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.q2-popover.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +35 -15
- package/dist/cjs/q2-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-tag.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.css +2 -2
- package/dist/collection/components/q2-calendar/q2-calendar.js +34 -32
- package/dist/collection/components/q2-calendar/q2-calendar.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js.map +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.css +3 -3
- 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-detail/q2-detail.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 +31 -23
- package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/formatting/phone.js +1 -1
- package/dist/collection/components/q2-input/formatting/phone.js.map +1 -1
- package/dist/collection/components/q2-input/q2-input.css +1 -1
- package/dist/collection/components/q2-input/q2-input.js +10 -8
- package/dist/collection/components/q2-input/q2-input.js.map +1 -1
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-loading/q2-loading.css +10 -0
- package/dist/collection/components/q2-loading/skeleton/q2-loading-element/styles.css +1 -0
- package/dist/collection/components/q2-message/q2-message.css +30 -17
- package/dist/collection/components/q2-message/q2-message.js +6 -6
- package/dist/collection/components/q2-message/q2-message.js.map +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +8 -4
- package/dist/collection/components/q2-popover/q2-popover.js.map +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-stepper/q2-stepper.css +4 -4
- package/dist/collection/components/q2-stepper/q2-stepper.js +40 -16
- package/dist/collection/components/q2-stepper/q2-stepper.js.map +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +2 -2
- package/dist/collection/components/q2-tab-container/q2-tab-container.js.map +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-calendar.js +35 -33
- package/dist/components/q2-calendar.js.map +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +2 -2
- package/dist/components/q2-carousel.js.map +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-checkbox2.js +1 -1
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-file-picker.js +21 -13
- package/dist/components/q2-file-picker.js.map +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-input2.js +12 -10
- package/dist/components/q2-input2.js.map +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-loading-element.js +1 -1
- package/dist/components/q2-loading-element.js.map +1 -1
- package/dist/components/q2-loading2.js +1 -1
- package/dist/components/q2-loading2.js.map +1 -1
- package/dist/components/q2-message2.js +7 -7
- package/dist/components/q2-message2.js.map +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +2 -2
- package/dist/components/q2-popover2.js.map +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-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper.js +38 -17
- package/dist/components/q2-stepper.js.map +1 -1
- package/dist/components/q2-tab-container.js +2 -2
- package/dist/components/q2-tab-container.js.map +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/loader.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.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.js.map +1 -1
- package/dist/esm/q2-badge_7.entry.js +16 -14
- package/dist/esm/q2-badge_7.entry.js.map +1 -1
- package/dist/esm/q2-calendar.entry.js +35 -33
- package/dist/esm/q2-calendar.entry.js.map +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js.map +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.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js.map +1 -1
- package/dist/esm/q2-context.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +21 -13
- package/dist/esm/q2-file-picker.entry.js.map +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-item.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-loading-element.entry.js +1 -1
- package/dist/esm/q2-loading-element.entry.js.map +1 -1
- package/dist/esm/q2-message.entry.js +7 -7
- package/dist/esm/q2-message.entry.js.map +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.q2-popover.entry.js.map +1 -1
- package/dist/esm/q2-option-list_2.entry.js +2 -2
- package/dist/esm/q2-option-list_2.entry.js.map +1 -1
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.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-stepper-vertical.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +35 -15
- package/dist/esm/q2-stepper.entry.js.map +1 -1
- package/dist/esm/q2-tag.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/jest.setup.js +7 -0
- package/dist/jest.setup.js.map +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +7 -7
- 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.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +319 -314
- package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +151 -146
- package/dist/q2-tecton-elements/q2-calendar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +63 -63
- package/dist/q2-tecton-elements/q2-checkbox.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +33 -33
- package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-context.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-detail.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +21 -13
- package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item.entry.js +12 -12
- 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-loading-element.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-loading-element.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +32 -32
- package/dist/q2-tecton-elements/q2-message.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-modal.entry.js +21 -21
- 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.q2-popover.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-stepper.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper.entry.js +77 -59
- package/dist/q2-tecton-elements/q2-stepper.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tag.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +5 -5
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +1 -1
- package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +48 -24
- package/dist/types/components/q2-input/q2-input.d.ts +4 -3
- package/dist/types/components/q2-popover/q2-popover.d.ts +6 -2
- package/dist/types/components/q2-stepper/q2-stepper.d.ts +2 -0
- package/dist/types/components.d.ts +33 -20
- package/package.json +3 -3
|
@@ -51,9 +51,9 @@ const TectonTabPane = class {
|
|
|
51
51
|
// #endregion
|
|
52
52
|
// #region Render Methods
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: '73b4e71d64ac9bc1cbbbdeeef1aa240c335fcc30', id: `tab-pane-${this.guid}-${this.index}`, class: `tab-pane${this.selected ? '' : ' hidden'}`, role: "tabpanel", tabindex: "-1", "aria-hidden": `${!this.selected}`, "aria-labelledby": `tab-${this.guid}-${this.index}` }, this.selected && this.provided !== undefined && !this.provided && (h("div", { key: 'a7f0976298111a157a7e765e963f274217046451' }, h("slot", { key: 'a922e05be53e390d24e2d486ab3a0a5714cbd318', name: "loading-wrapper" }), h("iframe", { key: '64560f8c582c097145d9e94157c66a842accc4b3', hidden: true, name: this.moduleId, scrolling: "no", src: this.showForm && this.authPayload.length ? '' : this.url || '', "data-module-id": this.moduleId, style: this.minHeight ? { minHeight: this.minHeight } : null, onLoad: this.onIFrameLoad, title: this.iframeTitle, allow: "geolocation; camera" }), this._showForm && this.authPayload ? (h("form", { hidden: true, method: "post", action: this.url, target: this.moduleId, encType: "multipart/form-data" }, this.authPayload.map(element => {
|
|
55
55
|
return (h("input", { type: "hidden", value: element.value, name: element.key }));
|
|
56
|
-
}))) : (''))), h("div", { key: '
|
|
56
|
+
}))) : (''))), h("div", { key: 'f50f89a24f7236fbd17876898d88b9b9f90bcbba', class: "slot-wrapper", hidden: this.selected && this.provided !== undefined && !this.provided }, h("slot", { key: 'f9b03bf9d824dd3e9b558e340567a48052b87bb7' }))));
|
|
57
57
|
}
|
|
58
58
|
get hostElement() { return getElement(this); }
|
|
59
59
|
static get watchers() { return {
|
package/dist/jest.setup.js
CHANGED
|
@@ -9,6 +9,13 @@ global.MutationObserver = class {
|
|
|
9
9
|
this.takeRecords = jest.fn(() => []);
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
+
global.ResizeObserver = class {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.observe = jest.fn();
|
|
15
|
+
this.disconnect = jest.fn();
|
|
16
|
+
this.takeRecords = jest.fn(() => []);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
12
19
|
Object.defineProperty(MockHTMLElement.prototype, 'assignedElements', {
|
|
13
20
|
value: () => [],
|
|
14
21
|
configurable: true,
|
package/dist/jest.setup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jest.setup.js","sourceRoot":"","sources":["../jest.setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;GAEG;AAEH,MAAM,CAAC,gBAAgB,GAAG;IAAA;QACtB,YAAO,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACpB,eAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACvB,gBAAW,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;IACpC,CAAC;CAAsC,CAAC;AAExC,MAAM,CAAC,cAAc,CAAC,eAAe,CAAC,SAAS,EAAE,kBAAkB,EAAE;IACjE,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE;IACf,YAAY,EAAE,IAAI;IAClB,QAAQ,EAAE,IAAI;CACjB,CAAC,CAAC;AAEH,MAAM,CAAC,cAAc,CAAC,eAAe,CAAC,SAAS,EAAE,eAAe,EAAE;IAC9D,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE;IACf,YAAY,EAAE,IAAI;IAClB,QAAQ,EAAE,IAAI;CACjB,CAAC,CAAC","sourcesContent":["import { MockHTMLElement } from '@stencil/core/mock-doc';\n\n/**\n * mocks for specPage tests\n */\n\nglobal.MutationObserver = class {\n observe = jest.fn();\n disconnect = jest.fn();\n takeRecords = jest.fn(() => []);\n} as unknown as typeof MutationObserver;\n\nObject.defineProperty(MockHTMLElement.prototype, 'assignedElements', {\n value: () => [],\n configurable: true,\n writable: true,\n});\n\nObject.defineProperty(MockHTMLElement.prototype, 'assignedNodes', {\n value: () => [],\n configurable: true,\n writable: true,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"jest.setup.js","sourceRoot":"","sources":["../jest.setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;GAEG;AAEH,MAAM,CAAC,gBAAgB,GAAG;IAAA;QACtB,YAAO,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACpB,eAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACvB,gBAAW,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;IACpC,CAAC;CAAsC,CAAC;AAExC,MAAM,CAAC,cAAc,GAAG;IAAA;QACpB,YAAO,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACpB,eAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACvB,gBAAW,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;IACpC,CAAC;CAAoC,CAAC;AAEtC,MAAM,CAAC,cAAc,CAAC,eAAe,CAAC,SAAS,EAAE,kBAAkB,EAAE;IACjE,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE;IACf,YAAY,EAAE,IAAI;IAClB,QAAQ,EAAE,IAAI;CACjB,CAAC,CAAC;AAEH,MAAM,CAAC,cAAc,CAAC,eAAe,CAAC,SAAS,EAAE,eAAe,EAAE;IAC9D,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE;IACf,YAAY,EAAE,IAAI;IAClB,QAAQ,EAAE,IAAI;CACjB,CAAC,CAAC","sourcesContent":["import { MockHTMLElement } from '@stencil/core/mock-doc';\n\n/**\n * mocks for specPage tests\n */\n\nglobal.MutationObserver = class {\n observe = jest.fn();\n disconnect = jest.fn();\n takeRecords = jest.fn(() => []);\n} as unknown as typeof MutationObserver;\n\nglobal.ResizeObserver = class {\n observe = jest.fn();\n disconnect = jest.fn();\n takeRecords = jest.fn(() => []);\n} as unknown as typeof ResizeObserver;\n\nObject.defineProperty(MockHTMLElement.prototype, 'assignedElements', {\n value: () => [],\n configurable: true,\n writable: true,\n});\n\nObject.defineProperty(MockHTMLElement.prototype, 'assignedNodes', {\n value: () => [],\n configurable: true,\n writable: true,\n});\n"]}
|
|
@@ -149,16 +149,16 @@ const s = class {
|
|
|
149
149
|
if (e) r.push(`has-${e}`);
|
|
150
150
|
r.push(o);
|
|
151
151
|
return i("q2-resize-observer", {
|
|
152
|
-
key: "
|
|
152
|
+
key: "57d4b2fb3c8d70ec3b889a45716451dba1806987",
|
|
153
153
|
onTctResize: this.handleResize,
|
|
154
154
|
disabled: t
|
|
155
155
|
}, i("div", {
|
|
156
|
-
key: "
|
|
156
|
+
key: "c0f59dc0633672439a93ceddec99f9c7e3933e01",
|
|
157
157
|
ref: t => this.container = t,
|
|
158
158
|
class: r.join(" "),
|
|
159
159
|
role: "group"
|
|
160
160
|
}, i("slot", {
|
|
161
|
-
key: "
|
|
161
|
+
key: "37be6d1bb8ab2013465dc58fdb9e19a2470052ef"
|
|
162
162
|
})));
|
|
163
163
|
}
|
|
164
164
|
get hostElement() {
|
|
@@ -175,7 +175,7 @@ s.style = r;
|
|
|
175
175
|
|
|
176
176
|
const a = "*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host(:not([hidden])){display:block;width:100%}";
|
|
177
177
|
|
|
178
|
-
const
|
|
178
|
+
const c = class {
|
|
179
179
|
constructor(i) {
|
|
180
180
|
t(this, i);
|
|
181
181
|
this.tctResize = n(this, "tctResize", 7);
|
|
@@ -253,7 +253,7 @@ const l = class {
|
|
|
253
253
|
// #region Render Methods
|
|
254
254
|
render() {
|
|
255
255
|
return i("slot", {
|
|
256
|
-
key: "
|
|
256
|
+
key: "42cd94a3b8d13c969013acbb5ac150fea5740a1c",
|
|
257
257
|
onSlotchange: this.handleSlotChange
|
|
258
258
|
});
|
|
259
259
|
}
|
|
@@ -267,8 +267,8 @@ const l = class {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
|
|
270
|
-
|
|
270
|
+
c.style = a;
|
|
271
271
|
|
|
272
|
-
export { s as q2_action_group,
|
|
272
|
+
export { s as q2_action_group, c as q2_resize_observer };
|
|
273
273
|
//# sourceMappingURL=q2-action-group.q2-resize-observer.entry.esm.js.map
|
|
274
274
|
//# sourceMappingURL=q2-action-group_2.entry.js.map
|
|
@@ -227,32 +227,32 @@ const l = class {
|
|
|
227
227
|
const r = (e === null || e === void 0 ? void 0 : e.appearance) || "slot";
|
|
228
228
|
const n = `interior is-${r}`;
|
|
229
229
|
return i("dialog", {
|
|
230
|
-
key: "
|
|
230
|
+
key: "824e9745d4fcbc615fa25e27d1535f5055a202b0",
|
|
231
231
|
ref: t => this.dialogElement = t,
|
|
232
232
|
class: a,
|
|
233
233
|
onClick: this.onClick
|
|
234
234
|
}, i("div", {
|
|
235
|
-
key: "
|
|
235
|
+
key: "dea5271046a6b8ed194852f594eb6e079ab7e275",
|
|
236
236
|
class: n
|
|
237
237
|
}, o && i("header", {
|
|
238
|
-
key: "
|
|
238
|
+
key: "2dc81c18b96781198804fa50f991e6e30bdf6ace"
|
|
239
239
|
}, i("div", {
|
|
240
|
-
key: "
|
|
240
|
+
key: "e74683b9676b01c00fc939848c67e5138148363f",
|
|
241
241
|
class: "title"
|
|
242
242
|
}, (e === null || e === void 0 ? void 0 : e.title) || this.title), !this.hideClose && i("q2-btn", {
|
|
243
|
-
key: "
|
|
243
|
+
key: "d4feacb931e73ab3648983ac3bbfdc2d2df10811",
|
|
244
244
|
class: "btn-close",
|
|
245
245
|
"test-id": "btnClose",
|
|
246
246
|
onClick: this.onCancel,
|
|
247
247
|
label: "tecton.element.actionSheet.close",
|
|
248
248
|
"hide-label": true
|
|
249
249
|
}, i("q2-icon", {
|
|
250
|
-
key: "
|
|
250
|
+
key: "dc8707647ff70ea557925763470e566fe751bc30",
|
|
251
251
|
type: "close"
|
|
252
252
|
}))), ((t = this.data) === null || t === void 0 ? void 0 : t.description) && i("p", {
|
|
253
|
-
key: "
|
|
253
|
+
key: "675fc6c16c4337aa6b27051a9196bec5d4ea4043"
|
|
254
254
|
}, e.description), s && i(s, {
|
|
255
|
-
key: "
|
|
255
|
+
key: "edc8ba2871db46e57bb767d1110dfff2366da0cc",
|
|
256
256
|
data: this.data
|
|
257
257
|
})));
|
|
258
258
|
}
|
|
@@ -51,9 +51,9 @@ const e = class {
|
|
|
51
51
|
const e = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
52
52
|
const c = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
53
53
|
return t("div", {
|
|
54
|
-
key: "
|
|
54
|
+
key: "ac6b4cc52f8ab6d73bddd7a85abec6c2d707ffb3"
|
|
55
55
|
}, r && t("img", {
|
|
56
|
-
key: "
|
|
56
|
+
key: "bddaa710f833759cd540e8e2ef5e70d5071fa577",
|
|
57
57
|
class: i ? "avatar-img" : "avatar-img-default",
|
|
58
58
|
"test-id": "userImage",
|
|
59
59
|
src: this.src,
|
|
@@ -61,7 +61,7 @@ const e = class {
|
|
|
61
61
|
onLoad: this.onLoad,
|
|
62
62
|
alt: this.name || ""
|
|
63
63
|
}), e && t("svg", {
|
|
64
|
-
key: "
|
|
64
|
+
key: "59809fcf7033849ce48accabf7417f3801dcd93c",
|
|
65
65
|
viewBox: "0 0 100 100",
|
|
66
66
|
preserveAspectRatio: "xMidYMid meet",
|
|
67
67
|
"test-id": "userInitials",
|
|
@@ -69,18 +69,18 @@ const e = class {
|
|
|
69
69
|
"aria-label": this.name,
|
|
70
70
|
"aria-hidden": !this.name && "true"
|
|
71
71
|
}, t("text", {
|
|
72
|
-
key: "
|
|
72
|
+
key: "07d2208b61a92aa52ec48298abce49aac828de7b",
|
|
73
73
|
x: "50",
|
|
74
74
|
y: "50",
|
|
75
75
|
"dominant-baseline": "central",
|
|
76
76
|
"text-anchor": "middle",
|
|
77
77
|
"aria-hidden": "true"
|
|
78
78
|
}, a)), c && t("div", {
|
|
79
|
-
key: "
|
|
79
|
+
key: "82287d1b62e116f8f4ed12f62685a596be3ac6eb",
|
|
80
80
|
"test-id": "fallbackIcon",
|
|
81
81
|
class: "fallback"
|
|
82
82
|
}, t("q2-icon", {
|
|
83
|
-
key: "
|
|
83
|
+
key: "27ff4ba4c6b85244461bd3d989234de9a3946df1",
|
|
84
84
|
type: this.icon
|
|
85
85
|
})));
|
|
86
86
|
}
|