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
|
@@ -6,7 +6,7 @@ const i = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;bo
|
|
|
6
6
|
|
|
7
7
|
const s = i;
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const d = class {
|
|
10
10
|
constructor(e) {
|
|
11
11
|
t(this, e);
|
|
12
12
|
// #region Own Properties
|
|
@@ -56,20 +56,20 @@ const p = class {
|
|
|
56
56
|
// #region Render Methods
|
|
57
57
|
render() {
|
|
58
58
|
return e("div", {
|
|
59
|
-
key: "
|
|
59
|
+
key: "f90682c8578b1f2b99ce5c4d0babf9014a91b90a",
|
|
60
60
|
class: "q2-optgroup-container",
|
|
61
61
|
hidden: this.hidden,
|
|
62
62
|
"aria-labelledby": this.headerId,
|
|
63
63
|
role: "group"
|
|
64
64
|
}, e("div", {
|
|
65
|
-
key: "
|
|
65
|
+
key: "ab4c0d3663ec1de61afc73b627b16d2ce07ac7f1",
|
|
66
66
|
class: "q2-optgroup-header",
|
|
67
67
|
id: this.headerId
|
|
68
68
|
}, this.label && a(this.label) || ""), e("div", {
|
|
69
|
-
key: "
|
|
69
|
+
key: "c4d1132b03317e468909df943b1dfdee09a8f00f",
|
|
70
70
|
class: "q2-optgroup-options"
|
|
71
71
|
}, e("slot", {
|
|
72
|
-
key: "
|
|
72
|
+
key: "ca578208cd825c9d5d08adeb6ce89e221dc3ad57"
|
|
73
73
|
})));
|
|
74
74
|
}
|
|
75
75
|
get hostElement() {
|
|
@@ -82,7 +82,7 @@ const p = class {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
d.style = s;
|
|
86
86
|
|
|
87
|
-
export {
|
|
87
|
+
export { d as q2_optgroup };
|
|
88
88
|
//# sourceMappingURL=q2-optgroup.entry.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, H as s, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { n, l as r, o as a, i as
|
|
3
|
+
import { n, l as r, o as a, i as c, w as h, v as l, h as p, x as d } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
function sanitizeRegexString(t) {
|
|
6
6
|
return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -136,7 +136,7 @@ const b = class {
|
|
|
136
136
|
t.stopPropagation();
|
|
137
137
|
const {activeIndex: e, customSearch: i, allOptions: s, allVisibleOptions: o, multiple: n} = this;
|
|
138
138
|
const {key: r, shiftKey: a} = t;
|
|
139
|
-
let
|
|
139
|
+
let c;
|
|
140
140
|
switch (r) {
|
|
141
141
|
case " ":
|
|
142
142
|
if (this.searchString && !this.multiple) {
|
|
@@ -144,9 +144,9 @@ const b = class {
|
|
|
144
144
|
this.searchOptions(r, false);
|
|
145
145
|
break;
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
if (!
|
|
149
|
-
this.selectOption(
|
|
147
|
+
c = s.find((t => t.active));
|
|
148
|
+
if (!c || c.disabled) break;
|
|
149
|
+
this.selectOption(c);
|
|
150
150
|
if (n) break;
|
|
151
151
|
this.hostElement.addEventListener("tctClick", (() => {
|
|
152
152
|
this.popoverState.emit({
|
|
@@ -159,9 +159,9 @@ const b = class {
|
|
|
159
159
|
break;
|
|
160
160
|
|
|
161
161
|
case "Enter":
|
|
162
|
-
|
|
163
|
-
if (!
|
|
164
|
-
this.selectOption(
|
|
162
|
+
c = s.find((t => t.active));
|
|
163
|
+
if (!c || c.disabled) break;
|
|
164
|
+
this.selectOption(c);
|
|
165
165
|
if (n) break;
|
|
166
166
|
this.hostElement.addEventListener("tctClick", (() => {
|
|
167
167
|
this.popoverState.emit({
|
|
@@ -175,8 +175,8 @@ const b = class {
|
|
|
175
175
|
|
|
176
176
|
case "ArrowUp":
|
|
177
177
|
t.preventDefault();
|
|
178
|
-
const
|
|
179
|
-
const l =
|
|
178
|
+
const h = o[0];
|
|
179
|
+
const l = h.active;
|
|
180
180
|
if (l) break;
|
|
181
181
|
if (e === undefined) {
|
|
182
182
|
this.setDefaultActiveElement();
|
|
@@ -233,9 +233,9 @@ const b = class {
|
|
|
233
233
|
});
|
|
234
234
|
break;
|
|
235
235
|
}
|
|
236
|
-
|
|
237
|
-
if (!
|
|
238
|
-
this.selectOption(
|
|
236
|
+
c = s.find((t => t.active));
|
|
237
|
+
if (!c || c.disabled) return;
|
|
238
|
+
this.selectOption(c);
|
|
239
239
|
break;
|
|
240
240
|
|
|
241
241
|
case "Esc":
|
|
@@ -333,7 +333,7 @@ const b = class {
|
|
|
333
333
|
t.stopPropagation();
|
|
334
334
|
}
|
|
335
335
|
delegateFocus(t) {
|
|
336
|
-
if (!
|
|
336
|
+
if (!c(t, this.hostElement)) return;
|
|
337
337
|
this.popoverState.emit({
|
|
338
338
|
open: true,
|
|
339
339
|
action: "open"
|
|
@@ -479,7 +479,7 @@ const b = class {
|
|
|
479
479
|
open: true,
|
|
480
480
|
action: "open"
|
|
481
481
|
});
|
|
482
|
-
await
|
|
482
|
+
await h();
|
|
483
483
|
this.activeIndex = t;
|
|
484
484
|
this.setActiveOption();
|
|
485
485
|
this.setFocusedOption();
|
|
@@ -632,13 +632,13 @@ const m = class {
|
|
|
632
632
|
e.style.setProperty("--comp-pop-bottom", `${s}px`);
|
|
633
633
|
}
|
|
634
634
|
// Wait for one paint to prevent layout thrashing
|
|
635
|
-
await
|
|
635
|
+
await h();
|
|
636
636
|
e.style.setProperty("--comp-pop-opacity", "1");
|
|
637
637
|
};
|
|
638
638
|
this.setFixedCSSProperties = async () => {
|
|
639
639
|
var t, e, i, s;
|
|
640
640
|
const {controlElement: o, containerElement: n, currentDirection: r, rootElementRect: a} = this;
|
|
641
|
-
const {top:
|
|
641
|
+
const {top: c, bottom: l, left: p, right: u} = (e = (t = o === null || o === void 0 ? void 0 : o.getBoundingClientRect) === null || t === void 0 ? void 0 : t.call(o)) !== null && e !== void 0 ? e : {
|
|
642
642
|
top: 0,
|
|
643
643
|
bottom: 0,
|
|
644
644
|
left: 0,
|
|
@@ -650,9 +650,9 @@ const m = class {
|
|
|
650
650
|
n.style.setProperty("--comp-pop-right", `${a.width + a.left - u}px`);
|
|
651
651
|
if (r === "up") {
|
|
652
652
|
if (d()) {
|
|
653
|
-
n.style.setProperty("--comp-pop-bottom", `${window.innerHeight -
|
|
653
|
+
n.style.setProperty("--comp-pop-bottom", `${window.innerHeight - c}px`);
|
|
654
654
|
} else {
|
|
655
|
-
n.style.setProperty("--comp-pop-bottom", `${window.innerHeight -
|
|
655
|
+
n.style.setProperty("--comp-pop-bottom", `${window.innerHeight - c - ((i = window === null || window === void 0 ? void 0 : window.visualViewport.offsetTop) !== null && i !== void 0 ? i : 0)}px`);
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
658
|
if (r === "down") {
|
|
@@ -663,7 +663,7 @@ const m = class {
|
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
// Wait for one paint to prevent layout thrashing
|
|
666
|
-
await
|
|
666
|
+
await h();
|
|
667
667
|
n.style.setProperty("--comp-pop-opacity", "1");
|
|
668
668
|
};
|
|
669
669
|
this.viewPortChanged = () => {
|
|
@@ -727,7 +727,7 @@ const m = class {
|
|
|
727
727
|
this.removeViewportListeners();
|
|
728
728
|
this.currentDirection = undefined;
|
|
729
729
|
this.show = false;
|
|
730
|
-
await
|
|
730
|
+
await h();
|
|
731
731
|
this.clearCSSProperties();
|
|
732
732
|
}
|
|
733
733
|
}
|
|
@@ -780,9 +780,9 @@ const m = class {
|
|
|
780
780
|
var t, e, i;
|
|
781
781
|
const {containerElement: s, controlElement: o, providedDirection: n, displayBuffer: r} = this;
|
|
782
782
|
if (s) s.style.maxHeight = null;
|
|
783
|
-
await
|
|
783
|
+
await h();
|
|
784
784
|
const {isModule: a} = this;
|
|
785
|
-
const {top:
|
|
785
|
+
const {top: c, bottom: l} = (e = (t = o === null || o === void 0 ? void 0 : o.getBoundingClientRect) === null || t === void 0 ? void 0 : t.call(o)) !== null && e !== void 0 ? e : {
|
|
786
786
|
top: 0,
|
|
787
787
|
bottom: 0
|
|
788
788
|
};
|
|
@@ -797,11 +797,11 @@ const m = class {
|
|
|
797
797
|
p = e;
|
|
798
798
|
// If the top of the module is below the top of the window we just use the controlTop
|
|
799
799
|
// Otherwise we need to add the outletOffset to the controlTop
|
|
800
|
-
d = (t > 0 ?
|
|
800
|
+
d = (t > 0 ? c : c + t) - r;
|
|
801
801
|
u = n ? s - r : o - r;
|
|
802
802
|
} else {
|
|
803
803
|
p = window.visualViewport.height;
|
|
804
|
-
d =
|
|
804
|
+
d = c - r;
|
|
805
805
|
u = p - l - r;
|
|
806
806
|
}
|
|
807
807
|
const f = d > u ? "up" : "down";
|
|
@@ -888,17 +888,17 @@ const m = class {
|
|
|
888
888
|
if (this.show) t.push("show");
|
|
889
889
|
if (this.mode === "legacy") t.push("legacy");
|
|
890
890
|
return i("div", {
|
|
891
|
-
key: "
|
|
891
|
+
key: "446d034f2c109204dad72cf53e293b01beac7183",
|
|
892
892
|
ref: t => this.containerElement = t,
|
|
893
893
|
class: t.join(" "),
|
|
894
894
|
"test-id": "outerContainer",
|
|
895
895
|
tabIndex: -1
|
|
896
896
|
}, i("div", {
|
|
897
|
-
key: "
|
|
897
|
+
key: "d972d4c7047be74731c64b4ae81358b39fed6ce1",
|
|
898
898
|
ref: t => this.contentElement = t,
|
|
899
899
|
class: "content"
|
|
900
900
|
}, i("slot", {
|
|
901
|
-
key: "
|
|
901
|
+
key: "9b2b755f1d83418d1b367739416f6bc80c19ee0f"
|
|
902
902
|
})));
|
|
903
903
|
}
|
|
904
904
|
get hostElement() {
|
|
@@ -2,11 +2,11 @@ import { r as t, c as e, h as i, g as n } from "./index-7a5365e2.js";
|
|
|
2
2
|
|
|
3
3
|
import { n as a, o as s, i as o, l as r } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
|
-
const
|
|
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:flex;width:100%;justify-content:flex-end}:host([alignment=center]){justify-content:center}:host([alignment=left]){justify-content:flex-start}:host([hidden]){display:none}.container{display:inline-flex;column-gap:var(--tct-pagination-column-gap, var(--t-pagination-column-gap, var(--app-scale-2x, 10px)));align-items:center;height:var(--tct-pagination-height, var(--t-pagination-height, 44px))}.btn-group{display:flex;gap:var(--tct-pagination-btn-gap, var(--t-pagination-btn-gap, 0))}.description,.controls{white-space:nowrap}.controls{display:grid;grid-template-columns:auto 50px auto;align-items:center;gap:var(--tct-pagination-controls-gap, var(--t-pagination-controls-gap, var(--app-scale-1x, 5px)))}.controls[hidden]{display:none}.input-wrapper{height:var(--tct-pagination-height, var(--t-pagination-height, 44px));display:flex;align-items:center}q2-btn{--tct-btn-border-radius:var(--tct-pagination-btn-border-radius, var(--t-pagination-btn-border-radius));--tct-btn-border:var(--tct-pagination-btn-border, var(--t-pagination-btn-border))}q2-icon{--tct-icon-size:var(--tct-pagination-icon-size, var(--t-pagination-icon-size, 12px));color:var(--tct-pagination-icon-color, var(--t-pagination-icon-color, var(--t-text, #4d4d4d)))}q2-input{--tct-input-margin-top:0;--tct-input-margin-bottom:0;--tct-input-height:var(--tct-pagination-input-height, var(--t-pagination-input-height, 30px));--tct-input-min-height:var(--tct-input-height);--tct-input-align:center}q2-select{--tct-select-input-min-height:var(--tct-pagination-select-height, var(--t-pagination-select-height, 30px));--tct-select-input-max-height:var(--tct-pagination-select-height, var(--t-pagination-select-height, 30px));width:var(--tct-pagination-perpage-width, var(--t-pagination-perpage-width, 100%));min-width:var(--tct-pagination-perpage-min-width, var(--t-pagination-perpage-min-width, 110px))}";
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const c = d;
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const h = class {
|
|
10
10
|
constructor(i) {
|
|
11
11
|
t(this, i);
|
|
12
12
|
this.change = e(this, "change", 7);
|
|
@@ -228,91 +228,91 @@ const l = class {
|
|
|
228
228
|
}
|
|
229
229
|
render() {
|
|
230
230
|
var t;
|
|
231
|
-
const {pagesOnly: e, recordsOnly: n, isFullViewHidden: a, recordTypeWithDefault: s, totalPages: o, totalWithDefault:
|
|
232
|
-
const
|
|
233
|
-
const
|
|
231
|
+
const {pagesOnly: e, recordsOnly: n, isFullViewHidden: a, recordTypeWithDefault: s, totalPages: o, totalWithDefault: d, pageWithDefault: c, currentRange: h, nextRange: l, prevRange: p, showPerPageSelect: g} = this;
|
|
232
|
+
const f = c < 2;
|
|
233
|
+
const u = c === o;
|
|
234
234
|
let b = r("tecton.element.pagination.goToNext");
|
|
235
235
|
let v = r("tecton.element.pagination.goToPrevious");
|
|
236
236
|
if (e) {
|
|
237
237
|
v = r("tecton.element.pagination.goToPages", {
|
|
238
|
-
next:
|
|
238
|
+
next: c - 1,
|
|
239
239
|
total: o
|
|
240
240
|
});
|
|
241
241
|
b = r("tecton.element.pagination.goToPages", {
|
|
242
|
-
next:
|
|
242
|
+
next: c + 1,
|
|
243
243
|
total: o
|
|
244
244
|
});
|
|
245
245
|
} else if (n) {
|
|
246
246
|
v = r("tecton.element.pagination.goToRecords", {
|
|
247
247
|
range: p,
|
|
248
248
|
recordType: s.toLowerCase(),
|
|
249
|
-
total:
|
|
249
|
+
total: d
|
|
250
250
|
});
|
|
251
251
|
b = r("tecton.element.pagination.goToRecords", {
|
|
252
|
-
range:
|
|
252
|
+
range: l,
|
|
253
253
|
recordType: s.toLowerCase(),
|
|
254
|
-
total:
|
|
254
|
+
total: d
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
257
|
return i("nav", {
|
|
258
|
-
key: "
|
|
258
|
+
key: "e4616477b30fd7dd28fa3a4e62592b214b69b9f6",
|
|
259
259
|
class: "container",
|
|
260
260
|
ref: t => this.containerElement = t,
|
|
261
261
|
"aria-label": r("tecton.element.pagination.title")
|
|
262
262
|
}, i("div", {
|
|
263
|
-
key: "
|
|
263
|
+
key: "cdb3e35325c438a0206d652bd98153a1aeeedf2d",
|
|
264
264
|
class: "description",
|
|
265
265
|
"test-id": "description"
|
|
266
266
|
}, e ? r("tecton.element.pagination.pages", {
|
|
267
|
-
current:
|
|
267
|
+
current: c,
|
|
268
268
|
total: o
|
|
269
269
|
}) : r("tecton.element.pagination.description", {
|
|
270
|
-
range:
|
|
270
|
+
range: h,
|
|
271
271
|
recordType: s.toLowerCase(),
|
|
272
|
-
total:
|
|
272
|
+
total: d.toLocaleString()
|
|
273
273
|
})), i("div", {
|
|
274
|
-
key: "
|
|
274
|
+
key: "2cf40274735d444078640a3dae49cf8cce8bcd75",
|
|
275
275
|
class: "btn-group"
|
|
276
276
|
}, i("q2-btn", {
|
|
277
|
-
key: "
|
|
277
|
+
key: "b2a59683e6de97296185a1660f28215836480c66",
|
|
278
278
|
ref: t => this.firstPageBtn = t,
|
|
279
279
|
label: r("tecton.element.pagination.goToFirstPage"),
|
|
280
|
-
disabled:
|
|
280
|
+
disabled: f,
|
|
281
281
|
hidden: a,
|
|
282
282
|
onClick: () => this.handlePageChange(1),
|
|
283
283
|
"test-id": "firstPageBtn",
|
|
284
284
|
"hide-label": true
|
|
285
285
|
}, i("q2-icon", {
|
|
286
|
-
key: "
|
|
286
|
+
key: "4adbaba53706f3c5d9086654819ecd5c27d33e95",
|
|
287
287
|
type: "chevron-double-left"
|
|
288
288
|
})), i("q2-btn", {
|
|
289
|
-
key: "
|
|
289
|
+
key: "b6f7b9c964a7dd0b9cfe351830c49232685f0d8f",
|
|
290
290
|
ref: t => this.prevPageBtn = t,
|
|
291
291
|
label: v,
|
|
292
|
-
disabled:
|
|
293
|
-
onClick: () => this.handlePageChange(
|
|
292
|
+
disabled: f,
|
|
293
|
+
onClick: () => this.handlePageChange(c - 1),
|
|
294
294
|
"test-id": "prevPageBtn",
|
|
295
295
|
"hide-label": true
|
|
296
296
|
}, i("q2-icon", {
|
|
297
|
-
key: "
|
|
297
|
+
key: "6d83cd40ad0bb0fba1bd68b614c964a5c167301f",
|
|
298
298
|
type: "chevron-left"
|
|
299
299
|
}))), i("div", {
|
|
300
|
-
key: "
|
|
300
|
+
key: "70f0ac1e14080a6040a15f763e1dabc8f7272ddb",
|
|
301
301
|
class: "controls",
|
|
302
302
|
hidden: a,
|
|
303
303
|
"test-id": "controls"
|
|
304
304
|
}, i("span", {
|
|
305
|
-
key: "
|
|
305
|
+
key: "47a5bd6f4f7749ebbba5b6905a2e972be60699ef",
|
|
306
306
|
"aria-hidden": "true"
|
|
307
307
|
}, r("tecton.element.pagination.page")), i("div", {
|
|
308
|
-
key: "
|
|
308
|
+
key: "1fcba245b6947317d9bdb4477ff7e0d96ec1c80f",
|
|
309
309
|
class: "input-wrapper",
|
|
310
310
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
311
311
|
}, i("q2-input", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "749b9f09f0b81aae7fb71bdf319a757560df2952",
|
|
313
313
|
ref: t => this.inputField = t,
|
|
314
314
|
type: "number",
|
|
315
|
-
value: `${
|
|
315
|
+
value: `${c}`,
|
|
316
316
|
min: 1,
|
|
317
317
|
max: this.totalPages,
|
|
318
318
|
hideLabel: true,
|
|
@@ -325,36 +325,36 @@ const l = class {
|
|
|
325
325
|
"test-id": "pageInput",
|
|
326
326
|
current: "page"
|
|
327
327
|
})), i("span", {
|
|
328
|
-
key: "
|
|
328
|
+
key: "5487f5759ebf662bc707a49fb8335d8ef77717b0",
|
|
329
329
|
"aria-hidden": "true"
|
|
330
330
|
}, r("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))), i("div", {
|
|
331
|
-
key: "
|
|
331
|
+
key: "f64e38fb2bf0e0983369f588d033320233bfc4b3",
|
|
332
332
|
class: "btn-group"
|
|
333
333
|
}, i("q2-btn", {
|
|
334
|
-
key: "
|
|
334
|
+
key: "d74c44f3e2bded92bf85f0daf6c2d67497a3c023",
|
|
335
335
|
ref: t => this.nextPageBtn = t,
|
|
336
336
|
label: b,
|
|
337
|
-
disabled:
|
|
338
|
-
onClick: () => this.handlePageChange(
|
|
337
|
+
disabled: u,
|
|
338
|
+
onClick: () => this.handlePageChange(c + 1),
|
|
339
339
|
"test-id": "nextPageBtn",
|
|
340
340
|
"hide-label": true
|
|
341
341
|
}, i("q2-icon", {
|
|
342
|
-
key: "
|
|
342
|
+
key: "e2155fbcda5cb0228f577080efee7b9d66e2f40b",
|
|
343
343
|
type: "chevron-right"
|
|
344
344
|
})), i("q2-btn", {
|
|
345
|
-
key: "
|
|
345
|
+
key: "904be8a1533f3c3889271ab0b0c82e3a6b72333f",
|
|
346
346
|
ref: t => this.lastPageBtn = t,
|
|
347
347
|
label: "tecton.element.pagination.goToLastPage",
|
|
348
|
-
disabled:
|
|
348
|
+
disabled: u,
|
|
349
349
|
hidden: a,
|
|
350
350
|
onClick: () => this.handlePageChange(o),
|
|
351
351
|
"test-id": "lastPageBtn",
|
|
352
352
|
"hide-label": true
|
|
353
353
|
}, i("q2-icon", {
|
|
354
|
-
key: "
|
|
354
|
+
key: "f0d9534001ffe5d53014a3a9f8f0d7b1249a63b7",
|
|
355
355
|
type: "chevron-double-right"
|
|
356
356
|
}))), i("div", {
|
|
357
|
-
key: "
|
|
357
|
+
key: "fd19931080ddfd62048fbdd56ac672d902a4897e",
|
|
358
358
|
class: "per-page",
|
|
359
359
|
hidden: a || !((t = this.perPageIncrements) === null || t === void 0 ? void 0 : t.length)
|
|
360
360
|
}, g && this.renderPerPage()));
|
|
@@ -371,7 +371,7 @@ const l = class {
|
|
|
371
371
|
}
|
|
372
372
|
};
|
|
373
373
|
|
|
374
|
-
|
|
374
|
+
h.style = c;
|
|
375
375
|
|
|
376
|
-
export {
|
|
376
|
+
export { h as q2_pagination };
|
|
377
377
|
//# sourceMappingURL=q2-pagination.entry.js.map
|
|
@@ -344,19 +344,19 @@ const v = class {
|
|
|
344
344
|
if (t || i) r.push("has-icon");
|
|
345
345
|
if (t) r.push("has-options");
|
|
346
346
|
return e("click-elsewhere", {
|
|
347
|
-
key: "
|
|
347
|
+
key: "1a38e1b79a2374179402a38766d71d4b0e0c87c2",
|
|
348
348
|
onChange: this.onClickElsewhere
|
|
349
349
|
}, e("div", {
|
|
350
|
-
key: "
|
|
350
|
+
key: "42449fc55a6e5e376e6988cd98b8ada97fe7b354",
|
|
351
351
|
class: r.join(" ")
|
|
352
352
|
}, e("div", {
|
|
353
|
-
key: "
|
|
353
|
+
key: "064912bd05367c774b4ed3e279006e92bd362fac",
|
|
354
354
|
class: "btn-height-wrapper",
|
|
355
355
|
ref: t => this.primaryBtnWrapper = t,
|
|
356
356
|
onClick: this.handleWrapperClick,
|
|
357
357
|
tabIndex: -1
|
|
358
358
|
}, e("button", {
|
|
359
|
-
key: "
|
|
359
|
+
key: "c8c9ff305b0a5034bb2267c48df93742dc55b893",
|
|
360
360
|
class: "btn-primary",
|
|
361
361
|
"test-id": "btn-control",
|
|
362
362
|
type: "button",
|
|
@@ -372,10 +372,10 @@ const v = class {
|
|
|
372
372
|
"aria-label": this.buttonContent,
|
|
373
373
|
"aria-describedby": t && "option-description" || undefined
|
|
374
374
|
}, this.truncatedButtonContent, !t && i && e("span", {
|
|
375
|
-
key: "
|
|
375
|
+
key: "6f43159191e9b0a8c4f91a5d039df0470aa81989",
|
|
376
376
|
class: "sr"
|
|
377
377
|
}, "(", c("tecton.element.pill.active"), ")"))), this.renderIcon(), !!t && this.renderHiddenElement()), this.optionCount > 0 && e("q2-popover", {
|
|
378
|
-
key: "
|
|
378
|
+
key: "4753edbf7ccc743fe250a1de1c4764e946a9808e",
|
|
379
379
|
ref: t => this.popoverElement = t,
|
|
380
380
|
controlElement: this.primaryBtn,
|
|
381
381
|
open: this.open,
|
|
@@ -385,20 +385,20 @@ const v = class {
|
|
|
385
385
|
align: this.popoverAlignment,
|
|
386
386
|
onFocusout: this.handleFocusOut
|
|
387
387
|
}, e("div", {
|
|
388
|
-
key: "
|
|
388
|
+
key: "d69a33c01a2ac50578b61f534dfbbe4e0bb6b70e",
|
|
389
389
|
class: "popover-content"
|
|
390
390
|
}, e("div", {
|
|
391
|
-
key: "
|
|
391
|
+
key: "86414eeb865a4a2bf9794743abb0320e549861d6",
|
|
392
392
|
ref: t => this.popoverTopContainer = t,
|
|
393
393
|
class: "popover-top-container",
|
|
394
394
|
tabindex: "-1",
|
|
395
395
|
hidden: !this.hasPopoverTop,
|
|
396
396
|
onKeyDown: this.handleKeydown
|
|
397
397
|
}, e("slot", {
|
|
398
|
-
key: "
|
|
398
|
+
key: "b5de1db64154afb5c436371f0e3e18900c179517",
|
|
399
399
|
name: "popover-top"
|
|
400
400
|
})), e("q2-option-list", {
|
|
401
|
-
key: "
|
|
401
|
+
key: "dacf5eb6be2ba24ed9c4ed0e47d56a30d2a8b29f",
|
|
402
402
|
type: "listbox",
|
|
403
403
|
ref: t => this.optionList = t,
|
|
404
404
|
id: "option-list",
|
|
@@ -408,16 +408,16 @@ const v = class {
|
|
|
408
408
|
onReady: () => this.updateSelectedOptionElements(),
|
|
409
409
|
label: c("tecton.element.optionList.label", [ this.optionListLabel ])
|
|
410
410
|
}, e("slot", {
|
|
411
|
-
key: "
|
|
411
|
+
key: "daba4b0b15124d315df04d3c9d854aa7f65c72b8"
|
|
412
412
|
})), e("div", {
|
|
413
|
-
key: "
|
|
413
|
+
key: "a57ffcdc81ac2221d39182beea673b31b57edd2d",
|
|
414
414
|
ref: t => this.popoverBottomContainer = t,
|
|
415
415
|
class: "popover-bottom-container",
|
|
416
416
|
tabindex: "-1",
|
|
417
417
|
hidden: !this.hasPopoverBottom,
|
|
418
418
|
onKeyDown: this.handleKeydown
|
|
419
419
|
}, e("slot", {
|
|
420
|
-
key: "
|
|
420
|
+
key: "3486555868e3b2825a3dc413a3f0146ddd3eb8d5",
|
|
421
421
|
name: "popover-bottom"
|
|
422
422
|
})))));
|
|
423
423
|
}
|
|
@@ -186,23 +186,23 @@ const c = class {
|
|
|
186
186
|
const {hasError: i} = this;
|
|
187
187
|
const a = t && !this.hideLabel || i;
|
|
188
188
|
return e(r, {
|
|
189
|
-
key: "
|
|
189
|
+
key: "15335f2c3a0e234ba5003a9333cb0f0633b95b10"
|
|
190
190
|
}, a && e("div", {
|
|
191
|
-
key: "
|
|
191
|
+
key: "63e3bc42b9cec83ac484ce26aa50881218645af2",
|
|
192
192
|
class: "label-row"
|
|
193
193
|
}, t && !this.hideLabel && e("div", {
|
|
194
|
-
key: "
|
|
194
|
+
key: "0c8e26c9d0baaa94218d324604b327cb3515fad3",
|
|
195
195
|
class: "group-legend"
|
|
196
196
|
}, d(this)), i && e("q2-icon", {
|
|
197
|
-
key: "
|
|
197
|
+
key: "2f50b78a7e89e224d4710c6cb40607ff9e253921",
|
|
198
198
|
type: "error",
|
|
199
199
|
"test-id": "iconError"
|
|
200
200
|
})), e("fieldset", {
|
|
201
|
-
key: "
|
|
201
|
+
key: "9eb3bd520386e11dc9f8709b2cb51799ec4ae484",
|
|
202
202
|
onChange: this.onInnerRadioChange,
|
|
203
203
|
"aria-invalid": i ? `${i}` : undefined
|
|
204
204
|
}, t && e("legend", {
|
|
205
|
-
key: "
|
|
205
|
+
key: "319b4f0002498c29a6d7ff97e8ba18463fb8e70b",
|
|
206
206
|
class: "sr-only"
|
|
207
207
|
}, d(this)), this.inputDom()));
|
|
208
208
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as t, c as e, h as r, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
3
|
import { c as a, a as i, o as c, l } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
@@ -8,21 +8,21 @@ const d = n;
|
|
|
8
8
|
|
|
9
9
|
const s = class {
|
|
10
10
|
constructor(r) {
|
|
11
|
-
|
|
12
|
-
this.change =
|
|
11
|
+
t(this, r);
|
|
12
|
+
this.change = e(this, "change", 7);
|
|
13
13
|
// #region Own Properties
|
|
14
14
|
this._id = `radio-${a()}`;
|
|
15
15
|
this.isLoaded = false;
|
|
16
16
|
// #endregion
|
|
17
17
|
// #region Local Methods
|
|
18
|
-
this.inputChange =
|
|
19
|
-
|
|
18
|
+
this.inputChange = t => {
|
|
19
|
+
t.stopPropagation();
|
|
20
20
|
if (this.disabled || this.readonly || this.groupReadonly || this.groupDisabled) {
|
|
21
|
-
|
|
21
|
+
t.preventDefault();
|
|
22
22
|
return false;
|
|
23
23
|
}
|
|
24
|
-
if (
|
|
25
|
-
this.checked =
|
|
24
|
+
if (t.target instanceof HTMLInputElement) {
|
|
25
|
+
this.checked = t.target.checked;
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
this.ariaLabel = undefined;
|
|
@@ -53,17 +53,17 @@ const s = class {
|
|
|
53
53
|
}
|
|
54
54
|
// #endregion
|
|
55
55
|
// #region Listeners
|
|
56
|
-
onHostClick(
|
|
56
|
+
onHostClick(t) {
|
|
57
57
|
if (this.disabled) {
|
|
58
|
-
|
|
58
|
+
t.stopImmediatePropagation();
|
|
59
59
|
} else if (this.groupReadonly) {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
t.preventDefault();
|
|
61
|
+
t.stopImmediatePropagation();
|
|
62
62
|
this.inputField.focus();
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
delegateFocus(
|
|
66
|
-
if (
|
|
65
|
+
delegateFocus(t) {
|
|
66
|
+
if (t.target === this.hostElement) {
|
|
67
67
|
this.inputField.focus();
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -83,11 +83,11 @@ const s = class {
|
|
|
83
83
|
// #region Render Methods
|
|
84
84
|
render() {
|
|
85
85
|
return r("div", {
|
|
86
|
-
key: "
|
|
86
|
+
key: "c4e09b90ce268944642098bc7c05f49bd26593f6",
|
|
87
87
|
class: this.groupTileLayout ? "radio-tile" : "radio-container"
|
|
88
88
|
}, r("input", {
|
|
89
|
-
key: "
|
|
90
|
-
ref:
|
|
89
|
+
key: "7dfa6f992921ef80346f3d4f7ba61da65c3fac6a",
|
|
90
|
+
ref: t => this.inputField = t,
|
|
91
91
|
class: "sr",
|
|
92
92
|
id: this._id,
|
|
93
93
|
type: "radio",
|
|
@@ -99,32 +99,32 @@ const s = class {
|
|
|
99
99
|
onChange: this.inputChange,
|
|
100
100
|
"test-id": "q2RadioInnerRadioBox"
|
|
101
101
|
}), r("label", {
|
|
102
|
-
key: "
|
|
102
|
+
key: "cf45ff24aea3f30ba418f2b0d60eccb251925fb5",
|
|
103
103
|
htmlFor: this._id,
|
|
104
104
|
class: this.hideLabel ? "label-hidden" : undefined,
|
|
105
105
|
"test-id": "radioButton"
|
|
106
106
|
}, !this.groupTileLayout && r("svg", {
|
|
107
|
-
key: "
|
|
107
|
+
key: "d3febce270842b16f0a4285873b450807a0e09a1",
|
|
108
108
|
viewBox: "0 0 18 18"
|
|
109
109
|
}, r("circle", {
|
|
110
|
-
key: "
|
|
110
|
+
key: "a853f4f9d905dae4737a1994c7ead9479eb10247",
|
|
111
111
|
stroke: "none",
|
|
112
112
|
fill: "none",
|
|
113
113
|
cx: "9",
|
|
114
114
|
cy: "9",
|
|
115
115
|
r: "8"
|
|
116
116
|
}), r("circle", {
|
|
117
|
-
key: "
|
|
117
|
+
key: "609847d9287831fd55b8bc0bfc7ffbe32e23fc3d",
|
|
118
118
|
stroke: "none",
|
|
119
119
|
fill: "none",
|
|
120
120
|
cx: "9",
|
|
121
121
|
cy: "9",
|
|
122
122
|
r: "4"
|
|
123
123
|
})), !this.hideLabel && r("div", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "cebc51b088bcc9e18d989e84a19b4b28adb30668",
|
|
125
125
|
class: "label-content"
|
|
126
126
|
}, this.label && l(this.label) || "", r("slot", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "6c9d3d4f03c5526d2446395d2b72bb956a722124"
|
|
128
128
|
}))));
|
|
129
129
|
}
|
|
130
130
|
get hostElement() {
|
|
@@ -135,7 +135,7 @@ const d = class {
|
|
|
135
135
|
render() {
|
|
136
136
|
const {shouldShow: e, displayedMessage: s} = this;
|
|
137
137
|
return t(i, {
|
|
138
|
-
key: "
|
|
138
|
+
key: "ff051c1959e6ed788c90501ef3ab4ecdc1f5b323"
|
|
139
139
|
}, e ? t("time", {
|
|
140
140
|
dateTime: s
|
|
141
141
|
}, s) : null);
|