q2-tecton-elements 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +7 -7
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +3 -3
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-item_3.cjs.entry.js +2 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-tag.cjs.entry.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-card/q2-card.css +6 -3
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +0 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js.map +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +1 -1
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +2 -2
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-card.js +1 -1
- package/dist/components/q2-card.js.map +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +2 -2
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-radio-group.js +1 -1
- package/dist/components/q2-radio.js +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-tab-container.js +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +3 -3
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-card.entry.js.map +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +2 -2
- package/dist/esm/q2-checkbox.entry.js.map +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-item_3.entry.js +2 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +2 -2
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option-list_2.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +1 -1
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-tag.entry.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-action-group.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-card.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-card.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +79 -79
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +6 -4
- package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-detail.entry.js +38 -38
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item_3.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-message.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-modal.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +81 -81
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +28 -28
- package/dist/q2-tecton-elements/q2-pagination.entry.js +41 -41
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-radio.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-select.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-stepper.entry.js +28 -28
- package/dist/q2-tecton-elements/q2-tag.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, g as n } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { m as
|
|
3
|
+
import { m as s, o as a, i as r, n as o, l as c } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
const d = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block;background:var(--tct-section-background, var(--tct-section-background-color, var(--t-section-background-color, var(--tct-section-bg, var(--t-section-bg, var(--app-white, #ffffff))))));color:var(--tct-section-font-color, var(--t-section-font-color, var(--t-text, #4d4d4d)));border-radius:var(--tct-section-border-radius, var(--t-section-border-radius, var(--app-border-radius-1, 4px)));margin:var(--tct-section-margin, var(--t-section-margin, var(--app-scale-3x, 15px)));border-width:var(--tct-section-border-width, 0);border-style:var(--tct-section-border-style, solid);border-color:var(--tct-section-border-color, none)}@media screen and (max-width: 767px){:host{--comp-default-margin:var(--app-scale-3x, 15px) 0;margin:var(--tct-section-margin, var(--t-section-margin, var(--comp-default-margin)))}}@media print{:host{--comp-default-print-margin:var(--app-scale-3x, 15px) 0;margin:var(--tct-section-print-margin, var(--comp-default-print-margin))}}.wrapper{--comp-tween:var(--tct-section-tween, var(--t-section-tween, var(--app-tween-1, 0.2s ease)));--comp-default-wrapper-padding:var(--app-scale-1x, 5px) 0;display:block;padding:var(--tct-section-wrapper-padding, var(--t-section-wrapper-padding, var(--comp-default-wrapper-padding)))}.wrapper:hover{box-shadow:var(--tct-section-wrapper-hover-box-shadow, var(--t-section-wrapper-hover-box-shadow, inherit))}:host([collapsible]) .wrapper{--comp-tween:var(--tct-section-tween, var(--t-section-tween, var(--app-tween-2, 0.4s ease)))}header{--comp-default-header-padding:0 var(--app-scale-3x, 15px);padding:var(--tct-section-header-padding, var(--t-section-header-padding, var(--comp-default-header-padding)));display:flex}@media print{header{padding:var(--tct-section-header-print-padding, 0)}}header.has-header{min-height:var(--tct-section-header-min-height, var(--t-section-header-min-height, 44px))}.header-content{flex:1 1 100%;min-width:0;align-self:center}:host([collapsible]) .header-content{cursor:pointer}.title{margin:var(--tct-section-title-margin, 0);font-size:var(--tct-section-title-font-size, 20px);font-weight:var(--tct-section-title-font-weight, 600);text-transform:var(--tct-section-title-text-transform, none);letter-spacing:var(--tct-section-title-letter-spacing, 0.5px)}q2-icon{transition:transform var(--comp-tween)}:host(:not([expanded])) q2-icon,:host([expanded=false]) q2-icon{transform:rotate(180deg)}.content-wrapper{height:auto}.content-wrapper.is-closed{display:none;overflow:hidden}.content-wrapper.is-transitioning{overflow:hidden}:host([collapsible]) .content-wrapper{transition:height var(--comp-tween)}.content{--comp-default-content-padding:var(--app-scale-2x, 10px) var(--app-scale-3x, 15px);padding:var(--tct-section-content-padding, var(--t-section-content-padding, var(--comp-default-content-padding)))}@media print{.content{padding:var(--tct-section-content-print-padding, 0)}}.content:focus{box-shadow:none}:host([collapsible]) :host(:not([expanded])) .content{visibility:hidden}";
|
|
6
6
|
|
|
@@ -14,10 +14,10 @@ const p = class {
|
|
|
14
14
|
this.titleId = "title";
|
|
15
15
|
this.addContentSlotListener = () => {
|
|
16
16
|
if (this.contentSlot) {
|
|
17
|
-
this.contentSlot.addEventListener("slotchange",
|
|
17
|
+
this.contentSlot.addEventListener("slotchange", s);
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
|
-
const t = new MutationObserver(
|
|
20
|
+
const t = new MutationObserver(s);
|
|
21
21
|
t.observe(this.contentContainer, {
|
|
22
22
|
childList: true,
|
|
23
23
|
subtree: true
|
|
@@ -65,7 +65,7 @@ const p = class {
|
|
|
65
65
|
this.removeContentSlotListener = () => {
|
|
66
66
|
var t;
|
|
67
67
|
if (this.contentSlot) {
|
|
68
|
-
this.contentSlot.removeEventListener("slotchange",
|
|
68
|
+
this.contentSlot.removeEventListener("slotchange", s);
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
71
|
(t = this.contentSlotMutationObserver) === null || t === void 0 ? void 0 : t.disconnect();
|
|
@@ -101,7 +101,7 @@ const p = class {
|
|
|
101
101
|
componentDidLoad() {
|
|
102
102
|
this.addHeaderSlotListener();
|
|
103
103
|
this.addContentSlotListener();
|
|
104
|
-
|
|
104
|
+
a(this.hostElement);
|
|
105
105
|
}
|
|
106
106
|
// #endregion
|
|
107
107
|
// #region Listeners
|
|
@@ -121,7 +121,7 @@ const p = class {
|
|
|
121
121
|
}
|
|
122
122
|
async expandedObserver(t) {
|
|
123
123
|
this.clearResizeInterval();
|
|
124
|
-
this.resizerFn = setInterval(
|
|
124
|
+
this.resizerFn = setInterval(s, 5);
|
|
125
125
|
if (t) {
|
|
126
126
|
this.expandSection();
|
|
127
127
|
} else {
|
|
@@ -181,35 +181,35 @@ const p = class {
|
|
|
181
181
|
render() {
|
|
182
182
|
const t = this.label || this.hasYieldedHeader;
|
|
183
183
|
const e = [ "content-wrapper" ];
|
|
184
|
-
const {collapsible: n, hideContent:
|
|
184
|
+
const {collapsible: n, hideContent: s, contentHeight: a} = this;
|
|
185
185
|
if (n) {
|
|
186
|
-
if (
|
|
186
|
+
if (s) e.push("is-closed"); else if (a) e.push("is-transitioning");
|
|
187
187
|
}
|
|
188
188
|
const r = !this.hasYieldedHeader && !!this.label;
|
|
189
189
|
return i("section", {
|
|
190
|
-
key: "
|
|
190
|
+
key: "71c1482d31e7053030e9c36883edc90e0e5c3d21",
|
|
191
191
|
class: "wrapper"
|
|
192
192
|
}, i("header", {
|
|
193
|
-
key: "
|
|
193
|
+
key: "e121ea36506ad3a832f766bb2aa0bbe032f05f07",
|
|
194
194
|
class: t ? "has-header" : ""
|
|
195
195
|
}, i("div", {
|
|
196
|
-
key: "
|
|
196
|
+
key: "36ea0a7f9eceaec0dd0f993e9127eb7596b122e1",
|
|
197
197
|
class: "header-content",
|
|
198
198
|
id: this.titleId,
|
|
199
199
|
onClick: this.collapsible && this.onHeaderClick
|
|
200
200
|
}, r && i("h2", {
|
|
201
|
-
key: "
|
|
201
|
+
key: "117705f6ef890ed02d146673fa3d9629cc5c0a82",
|
|
202
202
|
class: "title"
|
|
203
203
|
}, c(this.label)), i("div", {
|
|
204
|
-
key: "
|
|
204
|
+
key: "2a49ef960a6d2afb78b80c7e93d995a89c268c96",
|
|
205
205
|
ref: t => this.headerSlotWrapper = t,
|
|
206
206
|
class: "header-slot-wrapper"
|
|
207
207
|
}, i("slot", {
|
|
208
|
-
key: "
|
|
208
|
+
key: "8b7564b09e2baf4193488295e4cc4a3775124edd",
|
|
209
209
|
ref: t => this.headerSlot = t,
|
|
210
210
|
name: "q2-section-header"
|
|
211
211
|
}))), this.collapsible && !this.noCollapseIcon && i("q2-btn", {
|
|
212
|
-
key: "
|
|
212
|
+
key: "da53b8ba0be85f0a691e11e63f7f484598c4e1d3",
|
|
213
213
|
label: c(this.label || "tecton.element.section.defaultToggleLabel"),
|
|
214
214
|
ariaExpanded: `${!!this.expanded}`,
|
|
215
215
|
ariaControls: this.contentId,
|
|
@@ -217,10 +217,10 @@ const p = class {
|
|
|
217
217
|
"hide-label": true,
|
|
218
218
|
onClick: this.onHeaderClick
|
|
219
219
|
}, i("q2-icon", {
|
|
220
|
-
key: "
|
|
220
|
+
key: "1b5f5450d3b0d438a9b7635af161f178732a2d59",
|
|
221
221
|
type: "chevron-up"
|
|
222
222
|
}))), i("div", {
|
|
223
|
-
key: "
|
|
223
|
+
key: "b6d48ffaf628a680256cad41fe9ca85a853aa3c5",
|
|
224
224
|
class: e.join(" "),
|
|
225
225
|
id: this.contentId,
|
|
226
226
|
"aria-labelledby": this.titleId,
|
|
@@ -230,12 +230,12 @@ const p = class {
|
|
|
230
230
|
height: this.contentHeight
|
|
231
231
|
}
|
|
232
232
|
}, i("div", {
|
|
233
|
-
key: "
|
|
233
|
+
key: "8037954e38ee9cce6c07821b3164d01e97d87404",
|
|
234
234
|
ref: t => this.contentContainer = t,
|
|
235
235
|
class: "content",
|
|
236
236
|
tabindex: "-1"
|
|
237
237
|
}, i("slot", {
|
|
238
|
-
key: "
|
|
238
|
+
key: "a3b8d35029fdffbb248627c4a8c742da827a0526",
|
|
239
239
|
ref: t => this.contentSlot = t
|
|
240
240
|
}))));
|
|
241
241
|
}
|
|
@@ -623,17 +623,17 @@ const v = class {
|
|
|
623
623
|
render() {
|
|
624
624
|
var t;
|
|
625
625
|
return i("click-elsewhere", {
|
|
626
|
-
key: "
|
|
626
|
+
key: "eebb5135dcbc3eedbdeb53b46b96a827996e49fe",
|
|
627
627
|
class: this.wrapperClasses,
|
|
628
628
|
onChange: this.clickedElsewhere
|
|
629
629
|
}, i("div", {
|
|
630
|
-
key: "
|
|
630
|
+
key: "994de0b1a202772014b14c0cb46a46cfa4c42b35",
|
|
631
631
|
"aria-live": "polite",
|
|
632
632
|
"aria-atomic": "true",
|
|
633
633
|
role: "status",
|
|
634
634
|
class: "sr"
|
|
635
635
|
}, this.statusMessage), i("q2-input", {
|
|
636
|
-
key: "
|
|
636
|
+
key: "fe83525b21254030ace9e7569fc75b93118cf14e",
|
|
637
637
|
ref: t => this.inputField = t,
|
|
638
638
|
class: "q2-select-input",
|
|
639
639
|
label: this.label && o(this.label) || "",
|
|
@@ -662,12 +662,12 @@ const v = class {
|
|
|
662
662
|
_role: "combobox",
|
|
663
663
|
_preventEntry: !this.searchable
|
|
664
664
|
}, this.renderCustomDisplay()), i("div", {
|
|
665
|
-
key: "
|
|
665
|
+
key: "ac13068e7fa745d0a150ec22944426d4d050befc",
|
|
666
666
|
class: "custom-display-content",
|
|
667
667
|
hidden: !this.hasCustomDisplay || !!this.searchText,
|
|
668
668
|
onClick: this.onCustomDisplayClick
|
|
669
669
|
}, i("slot", {
|
|
670
|
-
key: "
|
|
670
|
+
key: "234ea03bb3a4fc2e53e4ec0a5fa87fa2c79bb314",
|
|
671
671
|
name: "q2-select-display"
|
|
672
672
|
})), this.renderOptionsDropdown());
|
|
673
673
|
}
|
|
@@ -239,8 +239,8 @@ const d = class {
|
|
|
239
239
|
const {id: s, label: n, status: l} = t;
|
|
240
240
|
const p = e + 1;
|
|
241
241
|
const d = n && `label-${s}`;
|
|
242
|
-
const
|
|
243
|
-
const
|
|
242
|
+
const v = s === c;
|
|
243
|
+
const b = l === "locked";
|
|
244
244
|
const h = !n && o("tecton.element.advancedStepper.childNumber", [ `${p}`, `${r}`, i ]);
|
|
245
245
|
let u;
|
|
246
246
|
if (l === "error") u = "warning-filled";
|
|
@@ -253,13 +253,13 @@ const d = class {
|
|
|
253
253
|
type: "button",
|
|
254
254
|
"aria-labelledby": d,
|
|
255
255
|
"aria-label": h,
|
|
256
|
-
"aria-selected": `${
|
|
256
|
+
"aria-selected": `${v}`,
|
|
257
257
|
id: s,
|
|
258
|
-
"aria-disabled":
|
|
258
|
+
"aria-disabled": b ? "true" : null,
|
|
259
259
|
role: "tab",
|
|
260
|
-
tabIndex:
|
|
261
|
-
onKeyDown: t => !
|
|
262
|
-
onClick: t => !
|
|
260
|
+
tabIndex: v ? 0 : -1,
|
|
261
|
+
onKeyDown: t => !b && this.onStepKeyDown(t, s),
|
|
262
|
+
onClick: t => !b && this.onStepClick(t, s)
|
|
263
263
|
}, u && a("div", {
|
|
264
264
|
class: "step-child-icon"
|
|
265
265
|
}, a("q2-icon", {
|
|
@@ -285,8 +285,8 @@ const d = class {
|
|
|
285
285
|
const c = e === i.length - 1;
|
|
286
286
|
const {id: s, label: n, description: l, status: p} = t;
|
|
287
287
|
const d = e + 1;
|
|
288
|
-
const
|
|
289
|
-
const
|
|
288
|
+
const v = s === r;
|
|
289
|
+
const b = n && `label-${s}`;
|
|
290
290
|
const h = p === "locked";
|
|
291
291
|
const u = n && o(n);
|
|
292
292
|
const f = n && l && `description-${s}`;
|
|
@@ -296,21 +296,21 @@ const d = class {
|
|
|
296
296
|
const w = [ "step-btn" ];
|
|
297
297
|
if (p) w.push(`status-${p}`);
|
|
298
298
|
const x = t.children.map((t => t.id));
|
|
299
|
-
const y =
|
|
299
|
+
const y = v || x.includes(r);
|
|
300
300
|
return a("li", {
|
|
301
301
|
role: "presentation"
|
|
302
302
|
}, a("button", {
|
|
303
303
|
class: w.join(" "),
|
|
304
304
|
type: "button",
|
|
305
|
-
"aria-labelledby":
|
|
305
|
+
"aria-labelledby": b,
|
|
306
306
|
"aria-describedBy": f,
|
|
307
307
|
"aria-label": g,
|
|
308
|
-
"aria-selected": `${
|
|
308
|
+
"aria-selected": `${v}`,
|
|
309
309
|
"aria-expanded": !!t.children.length ? `${y}` : null,
|
|
310
310
|
id: s,
|
|
311
311
|
"aria-disabled": h ? "true" : null,
|
|
312
312
|
role: "tab",
|
|
313
|
-
tabIndex:
|
|
313
|
+
tabIndex: v ? 0 : -1,
|
|
314
314
|
onKeyDown: t => !h && this.onStepKeyDown(t, s),
|
|
315
315
|
onClick: t => !h && this.onStepClick(t, s)
|
|
316
316
|
}, m ? a("div", {
|
|
@@ -321,7 +321,7 @@ const d = class {
|
|
|
321
321
|
class: "step-bubble"
|
|
322
322
|
}, d), n && a("div", null, a("div", {
|
|
323
323
|
class: "step-label",
|
|
324
|
-
id:
|
|
324
|
+
id: b
|
|
325
325
|
}, u), l && a("div", {
|
|
326
326
|
class: "step-description",
|
|
327
327
|
id: f
|
|
@@ -329,15 +329,15 @@ const d = class {
|
|
|
329
329
|
}
|
|
330
330
|
render() {
|
|
331
331
|
return a(r, {
|
|
332
|
-
key: "
|
|
332
|
+
key: "f5bf3f50398ef904f8f900176ea14963ef5656a2"
|
|
333
333
|
}, a("ul", {
|
|
334
|
-
key: "
|
|
334
|
+
key: "bf954a69ea416e52e6ceb4c6e4dbfab333d1e967",
|
|
335
335
|
role: "tablist"
|
|
336
336
|
}, this.structuredPanes.map(((t, e) => this.renderStepBtn(t, e)))), a("div", {
|
|
337
|
-
key: "
|
|
337
|
+
key: "857776b7ad28f3cd6a0efe44bf9a757fc5370c51",
|
|
338
338
|
role: "list"
|
|
339
339
|
}, a("slot", {
|
|
340
|
-
key: "
|
|
340
|
+
key: "9212d6862d7fc61cbdc208283e548617bc5d6bc3"
|
|
341
341
|
})));
|
|
342
342
|
}
|
|
343
343
|
get hostElement() {
|
|
@@ -218,32 +218,32 @@ const p = class {
|
|
|
218
218
|
var e;
|
|
219
219
|
const {allPanes: o, stepCount: s, currentStep: a, lastEnabledStep: n} = this;
|
|
220
220
|
const c = (e = o === null || o === void 0 ? void 0 : o[t]) !== null && e !== void 0 ? e : null;
|
|
221
|
-
const {id: p, status:
|
|
222
|
-
const
|
|
221
|
+
const {id: p, status: d} = c;
|
|
222
|
+
const b = this.getPaneSlotOrProperty(c, "label");
|
|
223
223
|
const h = this.getPaneSlotOrProperty(c, "description");
|
|
224
224
|
const v = t + 1;
|
|
225
|
-
const
|
|
226
|
-
const
|
|
227
|
-
const g = !!
|
|
228
|
-
const m = !
|
|
225
|
+
const u = v === a;
|
|
226
|
+
const f = !!b && `label-${p}`;
|
|
227
|
+
const g = !!b && !!h && `description-${p}`;
|
|
228
|
+
const m = !b && l("tecton.element.stepper.number", [ `${v}`, `${s}` ]);
|
|
229
229
|
let w;
|
|
230
|
-
if (
|
|
230
|
+
if (d === "complete") w = "success-filled"; else if (d === "error") w = "warning-filled";
|
|
231
231
|
const x = [ "step-btn" ];
|
|
232
|
-
if (
|
|
233
|
-
const k =
|
|
232
|
+
if (d) x.push(`status-${d}`);
|
|
233
|
+
const k = d === "locked";
|
|
234
234
|
const y = k || v > n;
|
|
235
235
|
return r("li", {
|
|
236
236
|
role: "presentation"
|
|
237
237
|
}, r("button", {
|
|
238
238
|
class: x.join(" "),
|
|
239
239
|
type: "button",
|
|
240
|
-
"aria-labelledby":
|
|
240
|
+
"aria-labelledby": f,
|
|
241
241
|
"aria-describedBy": g,
|
|
242
242
|
"aria-label": m,
|
|
243
|
-
"aria-selected":
|
|
243
|
+
"aria-selected": u,
|
|
244
244
|
"aria-disabled": y ? "true" : null,
|
|
245
245
|
role: "tab",
|
|
246
|
-
tabIndex:
|
|
246
|
+
tabIndex: u ? 0 : -1,
|
|
247
247
|
onKeyDown: t => this.onStepKeyDown(t, v),
|
|
248
248
|
onClick: t => !k && this.onStepClick(t, v)
|
|
249
249
|
}, r(i, null, w ? r("div", {
|
|
@@ -252,11 +252,11 @@ const p = class {
|
|
|
252
252
|
type: w
|
|
253
253
|
})) : r("div", {
|
|
254
254
|
class: "step-bubble"
|
|
255
|
-
}, v),
|
|
255
|
+
}, v), f && r("div", {
|
|
256
256
|
class: "step-label",
|
|
257
|
-
id:
|
|
258
|
-
innerHTML:
|
|
259
|
-
}),
|
|
257
|
+
id: f,
|
|
258
|
+
innerHTML: b
|
|
259
|
+
}), f && g && r("div", {
|
|
260
260
|
class: "step-description",
|
|
261
261
|
id: g,
|
|
262
262
|
innerHTML: h
|
|
@@ -269,50 +269,50 @@ const p = class {
|
|
|
269
269
|
const a = [ "step-container" ];
|
|
270
270
|
if (e) a.push("has-scroll");
|
|
271
271
|
return r(i, {
|
|
272
|
-
key: "
|
|
272
|
+
key: "6ea3acf647885df2320d9fe3dfe00a3cbb44a7c8"
|
|
273
273
|
}, r("div", {
|
|
274
|
-
key: "
|
|
274
|
+
key: "ea1e56974b2d151688ae76f7313268c33ccee943",
|
|
275
275
|
class: a.join(" ")
|
|
276
276
|
}, e && r(i, {
|
|
277
|
-
key: "
|
|
277
|
+
key: "08fa932af268f005470ea96b73a32af514e00afe"
|
|
278
278
|
}, r("div", {
|
|
279
|
-
key: "
|
|
279
|
+
key: "9d670b4e2db395b22bead51ba1817bfc14fa7ea3",
|
|
280
280
|
class: "gradient-left",
|
|
281
281
|
hidden: !o
|
|
282
282
|
}), r("div", {
|
|
283
|
-
key: "
|
|
283
|
+
key: "dccc15b27ac05d8dc5577929a52c28dc5c26aa67",
|
|
284
284
|
class: "gradient-right",
|
|
285
285
|
hidden: !s
|
|
286
286
|
}), r("q2-btn", {
|
|
287
|
-
key: "
|
|
287
|
+
key: "d0c93b18689e1f2cd8d59d4207dcab65bdcef8be",
|
|
288
288
|
class: "btn-left",
|
|
289
289
|
hideLabel: true,
|
|
290
290
|
hidden: !this.showScrollLeft,
|
|
291
291
|
label: l("tecton.element.stepper.scrollLeft"),
|
|
292
292
|
onClick: () => this.onScrollBtnClick("left")
|
|
293
293
|
}, r("q2-icon", {
|
|
294
|
-
key: "
|
|
294
|
+
key: "7af14a1b32991daff84c1add8c762682f36e6052",
|
|
295
295
|
type: "chevron-left"
|
|
296
296
|
})), r("q2-btn", {
|
|
297
|
-
key: "
|
|
297
|
+
key: "56b65d686380383c2384bf88ff891700b124b9a0",
|
|
298
298
|
class: "btn-right",
|
|
299
299
|
hideLabel: true,
|
|
300
300
|
hidden: !this.showScrollRight,
|
|
301
301
|
label: l("tecton.element.stepper.scrollRight"),
|
|
302
302
|
onClick: () => this.onScrollBtnClick("right")
|
|
303
303
|
}, r("q2-icon", {
|
|
304
|
-
key: "
|
|
304
|
+
key: "ef0ef25c947956ea347d1afd1eec50862c5e5842",
|
|
305
305
|
type: "chevron-right"
|
|
306
306
|
}))), r("ul", {
|
|
307
|
-
key: "
|
|
307
|
+
key: "edc4b5c7abe932084e1ee649c4a284276554d190",
|
|
308
308
|
onScroll: this.checkScrollState,
|
|
309
309
|
ref: t => this.listElement = t,
|
|
310
310
|
role: "tablist"
|
|
311
311
|
}, t > 0 && [ ...Array(t).keys() ].map((t => this.renderStepBtn(t))))), r("div", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "e85df115f639ef3c43adddabd314e4fe549a6e8a",
|
|
313
313
|
role: "list"
|
|
314
314
|
}, r("slot", {
|
|
315
|
-
key: "
|
|
315
|
+
key: "625f8d3a59026a2e2dbcbc2090e3ded3426b0e58",
|
|
316
316
|
onSlotchange: () => this.onSlotChange()
|
|
317
317
|
})));
|
|
318
318
|
}
|
|
@@ -191,10 +191,10 @@ const v = class {
|
|
|
191
191
|
if (this.optionCount) i.push("has-options");
|
|
192
192
|
const r = this.optionCount > 0;
|
|
193
193
|
return e(o, {
|
|
194
|
-
key: "
|
|
194
|
+
key: "68f5b6280096d3171a53d8b42a5e6bfc33c3ca08",
|
|
195
195
|
role: r ? "list" : undefined
|
|
196
196
|
}, e("click-elsewhere", {
|
|
197
|
-
key: "
|
|
197
|
+
key: "5b65d826103439903c33c70ff48c0e3fec35940d",
|
|
198
198
|
onChange: this.onClickElsewhere
|
|
199
199
|
}, r ? e(a, null, e("div", {
|
|
200
200
|
class: "btn-wrapper",
|
|
@@ -223,7 +223,7 @@ const v = class {
|
|
|
223
223
|
}, e("slot", {
|
|
224
224
|
name: "decorator"
|
|
225
225
|
}), h(this.label))), r && e("q2-popover", {
|
|
226
|
-
key: "
|
|
226
|
+
key: "94e08b096e26290d91b3746c76f1b9fec70719dc",
|
|
227
227
|
ref: t => this.popoverElement = t,
|
|
228
228
|
controlElement: this.dropdownBtn,
|
|
229
229
|
open: this.open,
|
|
@@ -232,7 +232,7 @@ const v = class {
|
|
|
232
232
|
direction: this.popoverDirection,
|
|
233
233
|
align: this.popoverAlignment
|
|
234
234
|
}, e("q2-option-list", {
|
|
235
|
-
key: "
|
|
235
|
+
key: "04106af14fe05d5171b0048b3f2b49e8f3c87813",
|
|
236
236
|
id: "option-list",
|
|
237
237
|
ref: t => this.optionList = t,
|
|
238
238
|
onChange: this.handleChange,
|
|
@@ -241,7 +241,7 @@ const v = class {
|
|
|
241
241
|
label: h("tecton.element.optionList.label", [ this.optionListLabel ]),
|
|
242
242
|
"no-select": true
|
|
243
243
|
}, e("slot", {
|
|
244
|
-
key: "
|
|
244
|
+
key: "cc5b0b58510869e83700a1d4bcd18b861f13e0ee"
|
|
245
245
|
})))));
|
|
246
246
|
}
|
|
247
247
|
get hostElement() {
|
|
@@ -335,10 +335,10 @@ const b = class {
|
|
|
335
335
|
}
|
|
336
336
|
render() {
|
|
337
337
|
return a("div", {
|
|
338
|
-
key: "
|
|
338
|
+
key: "c0fa5a65b509d19d20dc3cd5e98dbab13731ed32",
|
|
339
339
|
class: this.wrapperClasses
|
|
340
340
|
}, v(this), a("div", {
|
|
341
|
-
key: "
|
|
341
|
+
key: "806d4da8131f46f9b824cb3c61002a423622af31",
|
|
342
342
|
class: "content-container",
|
|
343
343
|
ref: t => this.contentContainer = t
|
|
344
344
|
}, this.renderInput(), this.maxlength ? this.renderMaxLength() : "", d(this)));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e, c as i, h as t, g as n } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const s = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.tab-pane[aria-hidden=true]{display:none}.tab-pane:focus{outline:none;box-shadow:none}.loading-wrapper{height:44px;width:100%;align-items:center;justify-content:center}.loading-wrapper:not([hidden]){display:flex}iframe{width:100%;height:auto;overflow-y:hidden;border:none}iframe:not([hidden]){display:inline-block}.slot-wrapper:focus{outline:none;box-shadow:var(--const-global-focus)}";
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const d = s;
|
|
6
6
|
|
|
7
7
|
const a = class {
|
|
8
8
|
constructor(t) {
|
|
@@ -71,7 +71,7 @@ const a = class {
|
|
|
71
71
|
// #region Render Methods
|
|
72
72
|
render() {
|
|
73
73
|
return t("div", {
|
|
74
|
-
key: "
|
|
74
|
+
key: "59ebaff7be545ea9a1084b7776cc1aa69a7e4262",
|
|
75
75
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
76
76
|
class: `tab-pane${this.selected ? "" : " hidden"}`,
|
|
77
77
|
role: "tabpanel",
|
|
@@ -79,12 +79,12 @@ const a = class {
|
|
|
79
79
|
"aria-hidden": `${!this.selected}`,
|
|
80
80
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
81
81
|
}, this.selected && this.provided !== undefined && !this.provided && t("div", {
|
|
82
|
-
key: "
|
|
82
|
+
key: "ec61f9cc8161017a2f155e598c1e05bd266d48c7"
|
|
83
83
|
}, t("slot", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "fd411e880c40ca7c5c87ebe4fbe4f1a8d53369a6",
|
|
85
85
|
name: "loading-wrapper"
|
|
86
86
|
}), t("iframe", {
|
|
87
|
-
key: "
|
|
87
|
+
key: "112941cb9da246cae01c57c8168e93b4a8073485",
|
|
88
88
|
hidden: true,
|
|
89
89
|
name: this.moduleId,
|
|
90
90
|
scrolling: "no",
|
|
@@ -107,11 +107,11 @@ const a = class {
|
|
|
107
107
|
value: e.value,
|
|
108
108
|
name: e.key
|
|
109
109
|
})))) : ""), t("div", {
|
|
110
|
-
key: "
|
|
110
|
+
key: "37651d3b67f08b1e55ab273ede38c24fba7d373a",
|
|
111
111
|
class: "slot-wrapper",
|
|
112
112
|
hidden: this.selected && this.provided !== undefined && !this.provided
|
|
113
113
|
}, t("slot", {
|
|
114
|
-
key: "
|
|
114
|
+
key: "0f3afba0f502709a32080f30d0e69a764358dc11"
|
|
115
115
|
})));
|
|
116
116
|
}
|
|
117
117
|
get hostElement() {
|
|
@@ -128,7 +128,7 @@ const a = class {
|
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
a.style =
|
|
131
|
+
a.style = d;
|
|
132
132
|
|
|
133
133
|
export { a as tecton_tab_pane };
|
|
134
134
|
//# sourceMappingURL=tecton-tab-pane.entry.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "q2-tecton-elements",
|
|
3
|
-
"version": "1.56.
|
|
3
|
+
"version": "1.56.2",
|
|
4
4
|
"description": "Q2 Tecton Custom Elements",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Q2 Tecton Team",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@stencil/core": "4.18.0",
|
|
39
|
-
"q2-tecton-common": "1.56.
|
|
39
|
+
"q2-tecton-common": "1.56.2",
|
|
40
40
|
"swiper": "8.4.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"typescript": "5.4.5",
|
|
62
62
|
"typescript-eslint": "^7.11.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "59123a6b1ea1b6da79a66ead2d233319ff6efb6e"
|
|
65
65
|
}
|