q2-tecton-elements 1.60.7 → 1.60.8
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 +425 -425
- package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/q2-context.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-context/q2-context.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js +8 -8
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +3 -3
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-grid/q2-grid.js +31 -31
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +43 -43
- package/dist/collection/components/q2-input/q2-input.js +2 -2
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +6 -6
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +3 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-calendar.js +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +1 -1
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-data-table.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-grid-area.js +1 -1
- package/dist/components/q2-grid.js +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-option-list2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-radio-group.js +1 -1
- package/dist/components/q2-radio.js +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +1 -1
- package/dist/components/q2-stepper-pane.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +1 -1
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +1 -1
- package/dist/esm/q2-context.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +2 -2
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option-list_2.entry.js +2 -2
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-calendar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +22 -22
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-context.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-currency.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-data-table.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-detail.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-item.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-message.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-modal.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-pagination.entry.js +27 -27
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-radio.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-stepper.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/package.json +66 -65
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +0 -0
|
@@ -151,62 +151,62 @@ const c = class {
|
|
|
151
151
|
const t = `interior`;
|
|
152
152
|
const i = `${this.renderStatus || ""}`;
|
|
153
153
|
return o("dialog", {
|
|
154
|
-
key: "
|
|
154
|
+
key: "2b12b5a9c4a09f0e80b9517d81e17c561ceca200",
|
|
155
155
|
ref: t => this.dialogElement = t,
|
|
156
156
|
class: i,
|
|
157
157
|
onClick: this.onClick
|
|
158
158
|
}, o("div", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "efbce287e1c7e7a07fc0779f21d10c4f440aaa49",
|
|
160
160
|
class: t
|
|
161
161
|
}, this.title && o("header", {
|
|
162
|
-
key: "
|
|
162
|
+
key: "71e372aed7673b8d8911bd862db4ede5757a2184"
|
|
163
163
|
}, this.title && o("h2", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "2688b54e110b49a9b8f64e146fea9bd9a1c7c706",
|
|
165
165
|
class: "title"
|
|
166
166
|
}, this.title), !!this.closable && o("q2-btn", {
|
|
167
|
-
key: "
|
|
167
|
+
key: "9d78801c76f4cad72b8f0ab962aeea127d130492",
|
|
168
168
|
class: "btn-close",
|
|
169
169
|
"test-id": "btnClose",
|
|
170
170
|
onClick: this.onCancel,
|
|
171
171
|
label: "tecton.element.modal.close",
|
|
172
172
|
"hide-label": true
|
|
173
173
|
}, o("q2-icon", {
|
|
174
|
-
key: "
|
|
174
|
+
key: "de8d48d2676e71c1280a41f3c34d49027c09773c",
|
|
175
175
|
type: "close"
|
|
176
176
|
}))), o("div", {
|
|
177
|
-
key: "
|
|
177
|
+
key: "a5c23f6b561652bf9a519bd91af2e1eb65713b31",
|
|
178
178
|
class: "content",
|
|
179
179
|
ref: t => this.contentElement = t
|
|
180
180
|
}, this.icon && o("div", {
|
|
181
|
-
key: "
|
|
181
|
+
key: "3d924a05cfcba562105d1eed69af5383ff48e799",
|
|
182
182
|
class: "icon"
|
|
183
183
|
}, o("q2-icon", {
|
|
184
|
-
key: "
|
|
184
|
+
key: "972f69406d187769cd67097d18f85adcaf7769c1",
|
|
185
185
|
type: this.icon,
|
|
186
186
|
style: this.iconStyle()
|
|
187
187
|
})), this.imageSrc && o("div", {
|
|
188
|
-
key: "
|
|
188
|
+
key: "43104feec69bb2f11b47b2d7c77fe1e60af467fb",
|
|
189
189
|
class: "image"
|
|
190
190
|
}, o("img", {
|
|
191
|
-
key: "
|
|
191
|
+
key: "e583fd2be24c3d3ab42caaf46ca4dc7bc0df6030",
|
|
192
192
|
src: this.imageSrc
|
|
193
193
|
})), s(this.hostElement, "content") && o("slot", {
|
|
194
|
-
key: "
|
|
194
|
+
key: "f011e7d6c4bc4135dbe192e526c2cb4628aadbff",
|
|
195
195
|
name: "content"
|
|
196
196
|
}), this.description && o("p", {
|
|
197
|
-
key: "
|
|
197
|
+
key: "b8794d9b1d8eb0d811a7aa4f7ed3dcafbd245cef",
|
|
198
198
|
class: "description"
|
|
199
199
|
}, this.description), this.customMarkup && o("p", {
|
|
200
|
-
key: "
|
|
200
|
+
key: "e5834ef811c4cc951ef7eba1d37758301f2bdb6b",
|
|
201
201
|
class: "customMarkup",
|
|
202
202
|
innerHTML: d(this.customMarkup)
|
|
203
203
|
})), o("footer", {
|
|
204
|
-
key: "
|
|
204
|
+
key: "9172365d3d00c61ab01378a07a1efe843487f6d8"
|
|
205
205
|
}, o("q2-action-group", {
|
|
206
|
-
key: "
|
|
206
|
+
key: "9f3ad85ccefa9f8dd3d5637043f17a941b370612",
|
|
207
207
|
"full-width": true
|
|
208
208
|
}, o("slot", {
|
|
209
|
-
key: "
|
|
209
|
+
key: "8a4618e71eb175a19ff34c8d870a72271b6e1caf",
|
|
210
210
|
name: "action"
|
|
211
211
|
})))));
|
|
212
212
|
}
|
|
@@ -122,54 +122,54 @@ const c = class {
|
|
|
122
122
|
// #region Render Methods
|
|
123
123
|
render() {
|
|
124
124
|
return n("div", {
|
|
125
|
-
key: "
|
|
125
|
+
key: "9f1061efa14de366263d03f04332dd5c557a92ff",
|
|
126
126
|
class: "month-container",
|
|
127
127
|
onKeyDown: this.onMonthKeydown
|
|
128
128
|
}, n("div", {
|
|
129
|
-
key: "
|
|
129
|
+
key: "531903263ae61ba605e95ece9b95210a8d2db140",
|
|
130
130
|
class: "navigation"
|
|
131
131
|
}, n("q2-btn", {
|
|
132
|
-
key: "
|
|
132
|
+
key: "21879897ce084c038fbcfbf737586bf4b4edf3cd",
|
|
133
133
|
class: "year-btn",
|
|
134
134
|
onClick: () => this.viewChange.emit({
|
|
135
135
|
view: "year",
|
|
136
136
|
selectedYear: this.year
|
|
137
137
|
})
|
|
138
138
|
}, n("span", {
|
|
139
|
-
key: "
|
|
139
|
+
key: "ca4696076487b72d8e32b62de452108e62d6ae07",
|
|
140
140
|
class: "year"
|
|
141
141
|
}, this.year), n("q2-icon", {
|
|
142
|
-
key: "
|
|
142
|
+
key: "97c0c7291e96f4b6778d1500804924bd7fa8f843",
|
|
143
143
|
class: "year-icon off",
|
|
144
144
|
type: "chevron-down"
|
|
145
145
|
})), n("div", {
|
|
146
|
-
key: "
|
|
146
|
+
key: "0aea238f619868343979712040bf910ffdb0e577",
|
|
147
147
|
class: "month-controller"
|
|
148
148
|
}, n("div", {
|
|
149
|
-
key: "
|
|
149
|
+
key: "a3f01ed1cd953b42bd704bd260e46c2d0b7a0ebb",
|
|
150
150
|
class: "cal-year-prev-next"
|
|
151
151
|
}, n("q2-btn", {
|
|
152
|
-
key: "
|
|
152
|
+
key: "5503a8ee3167d236cf54dafc57da57453c824131",
|
|
153
153
|
label: a("tecton.element.calendar.previousYear"),
|
|
154
154
|
"hide-label": true,
|
|
155
155
|
class: "cal-nav-btn prev-year",
|
|
156
156
|
"test-id": "previousYearButton",
|
|
157
157
|
onClick: () => this.selectYear(this.year - 1)
|
|
158
158
|
}, n("q2-icon", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "385d6c55b1aa5e79037e42f2e6a35afd2916b67c",
|
|
160
160
|
type: "arrow-left"
|
|
161
161
|
})), n("q2-btn", {
|
|
162
|
-
key: "
|
|
162
|
+
key: "dcbea8a0e4844addba6093f579712ed1265d2bb3",
|
|
163
163
|
label: a("tecton.element.calendar.nextYear"),
|
|
164
164
|
"hide-label": true,
|
|
165
165
|
class: "cal-nav-btn next-year",
|
|
166
166
|
"test-id": "nextYearButton",
|
|
167
167
|
onClick: () => this.selectYear(this.year + 1)
|
|
168
168
|
}, n("q2-icon", {
|
|
169
|
-
key: "
|
|
169
|
+
key: "d89ebc4ad4c538d10a6abf500dbacca472e4c92c",
|
|
170
170
|
type: "arrow-right"
|
|
171
171
|
}))))), n("div", {
|
|
172
|
-
key: "
|
|
172
|
+
key: "48bc1cd4c0b57f65f79f3f4c03097b1323292868",
|
|
173
173
|
class: "month-list",
|
|
174
174
|
onClick: this.onMonthSelection
|
|
175
175
|
}, this.months.map(((t, e) => n("div", {
|
|
@@ -181,7 +181,7 @@ const c = class {
|
|
|
181
181
|
"aria-label": t.label,
|
|
182
182
|
tabindex: e === this.focusedIndex ? 0 : -1
|
|
183
183
|
}, t.abbr))))), this.today && n("div", {
|
|
184
|
-
key: "
|
|
184
|
+
key: "fcce11a5922d4a5c65016c1429e6b05e4d32a136",
|
|
185
185
|
class: "today-label"
|
|
186
186
|
}, a("tecton.element.calendar.today"), ": ", this.today));
|
|
187
187
|
}
|
|
@@ -57,20 +57,20 @@ const s = class {
|
|
|
57
57
|
// #region Render Methods
|
|
58
58
|
render() {
|
|
59
59
|
return e("div", {
|
|
60
|
-
key: "
|
|
60
|
+
key: "f054127b0e534647d3cac4efb62c03477db3975f",
|
|
61
61
|
class: "q2-optgroup-container",
|
|
62
62
|
hidden: this.hidden,
|
|
63
63
|
"aria-labelledby": this.headerId,
|
|
64
64
|
role: "group"
|
|
65
65
|
}, e("div", {
|
|
66
|
-
key: "
|
|
66
|
+
key: "251f2586708e5d867a623ea6dcf29c0c57169402",
|
|
67
67
|
class: "q2-optgroup-header",
|
|
68
68
|
id: this.headerId
|
|
69
69
|
}, this.label && a(this.label) || ""), e("div", {
|
|
70
|
-
key: "
|
|
70
|
+
key: "0127f0445cc0c894875b44529a7d87b31561c859",
|
|
71
71
|
class: "q2-optgroup-options"
|
|
72
72
|
}, e("slot", {
|
|
73
|
-
key: "
|
|
73
|
+
key: "3f3f9af79017d95cce0f60136ed651654b6bf7b3"
|
|
74
74
|
})));
|
|
75
75
|
}
|
|
76
76
|
get hostElement() {
|
|
@@ -6,9 +6,9 @@ function sanitizeRegexString(t) {
|
|
|
6
6
|
return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const b = "*{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{position:relative;width:100%;display:block;line-height:var(--tct-option-list-line-height, var(--t-option-list-line-height, var(--app-line-height, 1.428571429em)))}.content{text-align:start}:host([is-sizeable]) .content{display:block;height:auto}";
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const f = class {
|
|
12
12
|
constructor(i) {
|
|
13
13
|
t(this, i);
|
|
14
14
|
this.change = e(this, "change", 7);
|
|
@@ -557,14 +557,14 @@ const b = class {
|
|
|
557
557
|
// #region Render Methods
|
|
558
558
|
render() {
|
|
559
559
|
return i(o, {
|
|
560
|
-
key: "
|
|
560
|
+
key: "48bc63463e38e58f7f18e5b5b105e14689be640c"
|
|
561
561
|
}, i("div", {
|
|
562
|
-
key: "
|
|
562
|
+
key: "26d143ad186b387274837d2141f9e5cd7cee6fb0",
|
|
563
563
|
class: "content",
|
|
564
564
|
ref: t => this.contentElement = t,
|
|
565
565
|
onFocusout: this.focusoutHandler
|
|
566
566
|
}, i("div", {
|
|
567
|
-
key: "
|
|
567
|
+
key: "afecab7ca714392b609ccc57f4d920a4cc7f2c7e",
|
|
568
568
|
class: "options",
|
|
569
569
|
"aria-label": n("tecton.element.optionList.label", [ this.label ]),
|
|
570
570
|
"aria-multiselectable": `${!!this.multiple}`,
|
|
@@ -572,7 +572,7 @@ const b = class {
|
|
|
572
572
|
onKeyDown: this.internalKeydownHandler,
|
|
573
573
|
onClick: this.clickHandler
|
|
574
574
|
}, i("slot", {
|
|
575
|
-
key: "
|
|
575
|
+
key: "7ca042464b34eeb59ddd8c62bf44b29b39f3ccfb"
|
|
576
576
|
}))));
|
|
577
577
|
}
|
|
578
578
|
get hostElement() {
|
|
@@ -586,7 +586,7 @@ const b = class {
|
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
588
|
|
|
589
|
-
|
|
589
|
+
f.style = b;
|
|
590
590
|
|
|
591
591
|
const v = "*{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}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}:popover-open,.show{position:absolute;margin:0;padding:0;overflow:auto;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color, var(--t-text, #4d4d4d));min-width:var(--tct-popover-min-width, 135px);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:popover-open.block,.show.block{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:popover-open.left,.show.left{left:var(--comp-pop-left);right:unset}:popover-open.right,.show.right{right:var(--comp-pop-right);left:unset}:popover-open.down,.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}:popover-open.up,.show.up{top:unset;bottom:var(--comp-pop-bottom)}:popover-open::-webkit-scrollbar,.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}:popover-open::-webkit-scrollbar-thumb,.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}:popover-open::-webkit-scrollbar-track,.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}";
|
|
592
592
|
|
|
@@ -648,9 +648,9 @@ const w = class {
|
|
|
648
648
|
right: 0
|
|
649
649
|
};
|
|
650
650
|
const u = p;
|
|
651
|
-
const
|
|
651
|
+
const b = ((i = window === null || window === void 0 ? void 0 : window.visualViewport) === null || i === void 0 ? void 0 : i.width) - d;
|
|
652
652
|
if (a === "right") {
|
|
653
|
-
s.style.setProperty("--comp-pop-right", `${
|
|
653
|
+
s.style.setProperty("--comp-pop-right", `${b - window.scrollX}px`);
|
|
654
654
|
s.style.setProperty("--comp-pop-left", "unset");
|
|
655
655
|
} else {
|
|
656
656
|
s.style.setProperty("--comp-pop-left", `${u + window.scrollX}px`);
|
|
@@ -813,25 +813,25 @@ const w = class {
|
|
|
813
813
|
const h = t + l - o;
|
|
814
814
|
// visual space around the controlElement
|
|
815
815
|
const p = a;
|
|
816
|
-
const
|
|
816
|
+
const b = e - s - h;
|
|
817
817
|
// calculate space above and below controlElement
|
|
818
|
-
const
|
|
818
|
+
const f = n < b;
|
|
819
819
|
d = p - r;
|
|
820
|
-
u =
|
|
820
|
+
u = f ? n - r : b - r;
|
|
821
821
|
} else {
|
|
822
822
|
p = window.innerHeight;
|
|
823
823
|
d = c - r;
|
|
824
824
|
u = p - l - r;
|
|
825
825
|
}
|
|
826
|
-
const
|
|
826
|
+
const b = d > u ? "up" : "down";
|
|
827
827
|
// We do not want to update the max height once the popover is open unless the page orientation shifts (resize or mobile use cases)
|
|
828
|
-
const
|
|
828
|
+
const f = !o.style.getPropertyValue("--comp-pop-max-height") || this.orientationChanged;
|
|
829
829
|
// we do not want to constantly update the max-height after an orientation change, so we switch this back to false
|
|
830
830
|
this.orientationChanged = false;
|
|
831
|
-
const v = this.currentDirection || n ||
|
|
831
|
+
const v = this.currentDirection || n || b;
|
|
832
832
|
switch (v) {
|
|
833
833
|
case "up":
|
|
834
|
-
if (
|
|
834
|
+
if (f) {
|
|
835
835
|
const t = this.validatedMaxHeight || d;
|
|
836
836
|
const e = Math.min(d, t);
|
|
837
837
|
o.style.setProperty("--comp-pop-max-height", `${e}px`);
|
|
@@ -840,7 +840,7 @@ const w = class {
|
|
|
840
840
|
break;
|
|
841
841
|
|
|
842
842
|
case "down":
|
|
843
|
-
if (
|
|
843
|
+
if (f) {
|
|
844
844
|
const t = this.validatedMaxHeight || u;
|
|
845
845
|
const e = Math.min(u, t);
|
|
846
846
|
o.style.setProperty("--comp-pop-max-height", `${e}px`);
|
|
@@ -881,18 +881,18 @@ const w = class {
|
|
|
881
881
|
if (this.block) t.push("block");
|
|
882
882
|
if (this.mode === "legacy") t.push("legacy");
|
|
883
883
|
return i("div", {
|
|
884
|
-
key: "
|
|
884
|
+
key: "34d9a4e19ee815391d33275f3e7b41cfb55189e4",
|
|
885
885
|
ref: t => this.containerElement = t,
|
|
886
886
|
class: t.join(" "),
|
|
887
887
|
"test-id": "outerContainer",
|
|
888
888
|
tabIndex: -1,
|
|
889
889
|
popover: "manual"
|
|
890
890
|
}, i("div", {
|
|
891
|
-
key: "
|
|
891
|
+
key: "8367ca449815954ba3d70c62fa72be8c9ee57607",
|
|
892
892
|
ref: t => this.contentElement = t,
|
|
893
893
|
class: "content"
|
|
894
894
|
}, i("slot", {
|
|
895
|
-
key: "
|
|
895
|
+
key: "4e22fa7bf78f3ededee58ae8af7a47def876261b"
|
|
896
896
|
})));
|
|
897
897
|
}
|
|
898
898
|
get hostElement() {
|
|
@@ -908,6 +908,6 @@ const w = class {
|
|
|
908
908
|
|
|
909
909
|
w.style = v;
|
|
910
910
|
|
|
911
|
-
export {
|
|
911
|
+
export { f as q2_option_list, w as q2_popover };
|
|
912
912
|
//# sourceMappingURL=q2-option-list.q2-popover.entry.esm.js.map
|
|
913
913
|
//# sourceMappingURL=q2-option-list_2.entry.js.map
|
|
@@ -216,9 +216,9 @@ const l = class {
|
|
|
216
216
|
}
|
|
217
217
|
render() {
|
|
218
218
|
var t;
|
|
219
|
-
const {pagesOnly: e, recordsOnly: n, isFullViewHidden: a, recordTypeWithDefault: o, totalPages: s, totalWithDefault: c, pageWithDefault: l, currentRange:
|
|
220
|
-
const
|
|
221
|
-
const
|
|
219
|
+
const {pagesOnly: e, recordsOnly: n, isFullViewHidden: a, recordTypeWithDefault: o, totalPages: s, totalWithDefault: c, pageWithDefault: l, currentRange: d, nextRange: h, prevRange: p, showPerPageSelect: g} = this;
|
|
220
|
+
const f = l < 2;
|
|
221
|
+
const u = l === s;
|
|
222
222
|
let b = r("tecton.element.pagination.goToNext");
|
|
223
223
|
let v = r("tecton.element.pagination.goToPrevious");
|
|
224
224
|
if (e) {
|
|
@@ -237,67 +237,67 @@ const l = class {
|
|
|
237
237
|
total: c
|
|
238
238
|
});
|
|
239
239
|
b = r("tecton.element.pagination.goToRecords", {
|
|
240
|
-
range:
|
|
240
|
+
range: h,
|
|
241
241
|
recordType: o.toLowerCase(),
|
|
242
242
|
total: c
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
return i("nav", {
|
|
246
|
-
key: "
|
|
246
|
+
key: "c24a21c5e719a9e9e47afd86ade29fe8a88e21dd",
|
|
247
247
|
class: "container",
|
|
248
248
|
ref: t => this.containerElement = t,
|
|
249
249
|
"aria-label": r("tecton.element.pagination.title")
|
|
250
250
|
}, i("div", {
|
|
251
|
-
key: "
|
|
251
|
+
key: "53456b24c196327207d67f7e40d41ea87dfff6c1",
|
|
252
252
|
class: "description",
|
|
253
253
|
"test-id": "description"
|
|
254
254
|
}, e ? r("tecton.element.pagination.pages", {
|
|
255
255
|
current: l,
|
|
256
256
|
total: s
|
|
257
257
|
}) : r("tecton.element.pagination.description", {
|
|
258
|
-
range:
|
|
258
|
+
range: d,
|
|
259
259
|
recordType: o.toLowerCase(),
|
|
260
260
|
total: c.toLocaleString()
|
|
261
261
|
})), i("div", {
|
|
262
|
-
key: "
|
|
262
|
+
key: "d95976f63270ef4eb260c7344e2db34d26658479",
|
|
263
263
|
class: "btn-group"
|
|
264
264
|
}, i("q2-btn", {
|
|
265
|
-
key: "
|
|
265
|
+
key: "2206c1d88963f1f854b94cfc54cfc4ccd043cf3b",
|
|
266
266
|
ref: t => this.firstPageBtn = t,
|
|
267
267
|
label: r("tecton.element.pagination.goToFirstPage"),
|
|
268
|
-
disabled:
|
|
268
|
+
disabled: f,
|
|
269
269
|
hidden: a,
|
|
270
270
|
onClick: () => this.handlePageChange(1),
|
|
271
271
|
"test-id": "firstPageBtn",
|
|
272
272
|
"hide-label": true
|
|
273
273
|
}, i("q2-icon", {
|
|
274
|
-
key: "
|
|
274
|
+
key: "418740d4abe9a9c28d8c3c553e5f59d025a1e860",
|
|
275
275
|
type: "chevron-double-left"
|
|
276
276
|
})), i("q2-btn", {
|
|
277
|
-
key: "
|
|
277
|
+
key: "a322a566f575016a995080a4c4908075e4651ea6",
|
|
278
278
|
ref: t => this.prevPageBtn = t,
|
|
279
279
|
label: v,
|
|
280
|
-
disabled:
|
|
280
|
+
disabled: f,
|
|
281
281
|
onClick: () => this.handlePageChange(l - 1),
|
|
282
282
|
"test-id": "prevPageBtn",
|
|
283
283
|
"hide-label": true
|
|
284
284
|
}, i("q2-icon", {
|
|
285
|
-
key: "
|
|
285
|
+
key: "a3d3fe6acb3a6ef4eac422a2a089f3bcde8d5f21",
|
|
286
286
|
type: "chevron-left"
|
|
287
287
|
}))), i("div", {
|
|
288
|
-
key: "
|
|
288
|
+
key: "3647355d457e0238ad31dff59f94fc4a78964944",
|
|
289
289
|
class: "controls",
|
|
290
290
|
hidden: a,
|
|
291
291
|
"test-id": "controls"
|
|
292
292
|
}, i("span", {
|
|
293
|
-
key: "
|
|
293
|
+
key: "cafaf1d703e717dbdd3fa4ecf5b7de6d17243efc",
|
|
294
294
|
"aria-hidden": "true"
|
|
295
295
|
}, r("tecton.element.pagination.page")), i("div", {
|
|
296
|
-
key: "
|
|
296
|
+
key: "3becfeb17468e3928760e0fcb92d71bd6d8f0b12",
|
|
297
297
|
class: "input-wrapper",
|
|
298
298
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
299
299
|
}, i("q2-input", {
|
|
300
|
-
key: "
|
|
300
|
+
key: "77b0c536077b9a87ee0fc9073559c9ec89728eb5",
|
|
301
301
|
ref: t => this.inputField = t,
|
|
302
302
|
type: "number",
|
|
303
303
|
value: `${l}`,
|
|
@@ -313,36 +313,36 @@ const l = class {
|
|
|
313
313
|
"test-id": "pageInput",
|
|
314
314
|
current: "page"
|
|
315
315
|
})), i("span", {
|
|
316
|
-
key: "
|
|
316
|
+
key: "073dce90e84e8b4d4aa9f887a3746ab8942578ed",
|
|
317
317
|
"aria-hidden": "true"
|
|
318
318
|
}, r("tecton.element.pagination.ofPages", [ s.toLocaleString() ]))), i("div", {
|
|
319
|
-
key: "
|
|
319
|
+
key: "f26ddef1e53d02cc9d048ed1ead2a28d8b84e71f",
|
|
320
320
|
class: "btn-group"
|
|
321
321
|
}, i("q2-btn", {
|
|
322
|
-
key: "
|
|
322
|
+
key: "1731620fb0caaa015f126c52329fdfc5feb0f7c4",
|
|
323
323
|
ref: t => this.nextPageBtn = t,
|
|
324
324
|
label: b,
|
|
325
|
-
disabled:
|
|
325
|
+
disabled: u,
|
|
326
326
|
onClick: () => this.handlePageChange(l + 1),
|
|
327
327
|
"test-id": "nextPageBtn",
|
|
328
328
|
"hide-label": true
|
|
329
329
|
}, i("q2-icon", {
|
|
330
|
-
key: "
|
|
330
|
+
key: "4f80a62db321a2f9563365f3278f643b278b893e",
|
|
331
331
|
type: "chevron-right"
|
|
332
332
|
})), i("q2-btn", {
|
|
333
|
-
key: "
|
|
333
|
+
key: "c72a35e4faf2c23eb024d73de7bd0d9c16c4755c",
|
|
334
334
|
ref: t => this.lastPageBtn = t,
|
|
335
335
|
label: "tecton.element.pagination.goToLastPage",
|
|
336
|
-
disabled:
|
|
336
|
+
disabled: u,
|
|
337
337
|
hidden: a,
|
|
338
338
|
onClick: () => this.handlePageChange(s),
|
|
339
339
|
"test-id": "lastPageBtn",
|
|
340
340
|
"hide-label": true
|
|
341
341
|
}, i("q2-icon", {
|
|
342
|
-
key: "
|
|
342
|
+
key: "5519600de69d5f22f3e5882051b69a4753fcda0b",
|
|
343
343
|
type: "chevron-double-right"
|
|
344
344
|
}))), i("div", {
|
|
345
|
-
key: "
|
|
345
|
+
key: "fde704f4e6c00dac13427cf0f1380be63d12b649",
|
|
346
346
|
class: "per-page",
|
|
347
347
|
hidden: a || !((t = this.perPageIncrements) === null || t === void 0 ? void 0 : t.length)
|
|
348
348
|
}, g && this.renderPerPage()));
|
|
@@ -336,19 +336,19 @@ const v = class {
|
|
|
336
336
|
if (t || i) r.push("has-icon");
|
|
337
337
|
if (t) r.push("has-options");
|
|
338
338
|
return o("click-elsewhere", {
|
|
339
|
-
key: "
|
|
339
|
+
key: "612e277fb831b60becbdac0df520de45cc08a398",
|
|
340
340
|
onChange: this.onClickElsewhere
|
|
341
341
|
}, o("div", {
|
|
342
|
-
key: "
|
|
342
|
+
key: "5f56c66943e7fefd4295bd5c96019039aac039c9",
|
|
343
343
|
class: r.join(" ")
|
|
344
344
|
}, o("div", {
|
|
345
|
-
key: "
|
|
345
|
+
key: "1b101344313e3bc6357e69378b929b47b53a9e50",
|
|
346
346
|
class: "btn-height-wrapper",
|
|
347
347
|
ref: t => this.primaryBtnWrapper = t,
|
|
348
348
|
onClick: this.handleWrapperClick,
|
|
349
349
|
tabIndex: -1
|
|
350
350
|
}, o("button", {
|
|
351
|
-
key: "
|
|
351
|
+
key: "f0231168c9043ac7d2596ecbb3a7a382cf27d33b",
|
|
352
352
|
class: "btn-primary",
|
|
353
353
|
"test-id": "btn-control",
|
|
354
354
|
type: "button",
|
|
@@ -364,10 +364,10 @@ const v = class {
|
|
|
364
364
|
"aria-label": this.buttonContent,
|
|
365
365
|
"aria-describedby": t && "option-description" || undefined
|
|
366
366
|
}, this.truncatedButtonContent, !t && i && o("span", {
|
|
367
|
-
key: "
|
|
367
|
+
key: "066f5d1132937be8eb8e925c8394d219aadeb819",
|
|
368
368
|
class: "sr"
|
|
369
369
|
}, "(", s("tecton.element.pill.active"), ")"))), this.renderIcon(), !!t && this.renderHiddenElement()), this.optionCount > 0 && o("q2-popover", {
|
|
370
|
-
key: "
|
|
370
|
+
key: "f38e3d6f605f10e8907b40d16cd70276c6f85a73",
|
|
371
371
|
ref: t => this.popoverElement = t,
|
|
372
372
|
controlElement: this.primaryBtn,
|
|
373
373
|
open: this.open,
|
|
@@ -377,20 +377,20 @@ const v = class {
|
|
|
377
377
|
align: this.popoverAlignment,
|
|
378
378
|
onFocusout: this.handleFocusOut
|
|
379
379
|
}, o("div", {
|
|
380
|
-
key: "
|
|
380
|
+
key: "e4ce39ff508b27e82126fa4b08cca3d3c39ff3a7",
|
|
381
381
|
class: "popover-content"
|
|
382
382
|
}, o("div", {
|
|
383
|
-
key: "
|
|
383
|
+
key: "4075cea397c412b24ffa17194158b9fd0aec6ad4",
|
|
384
384
|
ref: t => this.popoverTopContainer = t,
|
|
385
385
|
class: "popover-top-container",
|
|
386
386
|
tabindex: "-1",
|
|
387
387
|
hidden: !this.hasPopoverTop,
|
|
388
388
|
onKeyDown: this.handleKeydown
|
|
389
389
|
}, o("slot", {
|
|
390
|
-
key: "
|
|
390
|
+
key: "1f48ca125b79984bb49ac5e21ba6290402462c9d",
|
|
391
391
|
name: "popover-top"
|
|
392
392
|
})), o("q2-option-list", {
|
|
393
|
-
key: "
|
|
393
|
+
key: "9dcfea71f57897a393604167e629fa4a956ef3d8",
|
|
394
394
|
type: "listbox",
|
|
395
395
|
ref: t => this.optionList = t,
|
|
396
396
|
id: "option-list",
|
|
@@ -400,16 +400,16 @@ const v = class {
|
|
|
400
400
|
onReady: () => this.updateSelectedOptionElements(),
|
|
401
401
|
label: s("tecton.element.optionList.label", [ this.optionListLabel ])
|
|
402
402
|
}, o("slot", {
|
|
403
|
-
key: "
|
|
403
|
+
key: "1915a1abd9801102248fc8b516b13f2a34e4554d"
|
|
404
404
|
})), o("div", {
|
|
405
|
-
key: "
|
|
405
|
+
key: "0073dd48f8fb6dfbe282f84ce134b258dff237a8",
|
|
406
406
|
ref: t => this.popoverBottomContainer = t,
|
|
407
407
|
class: "popover-bottom-container",
|
|
408
408
|
tabindex: "-1",
|
|
409
409
|
hidden: !this.hasPopoverBottom,
|
|
410
410
|
onKeyDown: this.handleKeydown
|
|
411
411
|
}, o("slot", {
|
|
412
|
-
key: "
|
|
412
|
+
key: "92da82497608b7fdee73587b677ec8673bbe1411",
|
|
413
413
|
name: "popover-bottom"
|
|
414
414
|
})))));
|
|
415
415
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as t, c as r, h as i, F as
|
|
1
|
+
import { r as t, c as r, h as i, F as a, g as o } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
3
|
import { c as e, o as n, a as s, r as d } from "./index-xCuy-dFb.js";
|
|
4
4
|
|
|
@@ -74,23 +74,23 @@ const p = class {
|
|
|
74
74
|
keydownHandler(t) {
|
|
75
75
|
const r = t.target.getAttribute("value") || this.value;
|
|
76
76
|
let i = this.radioElements.findIndex((i => i === t.target || i.getAttribute("value") === r));
|
|
77
|
-
let
|
|
77
|
+
let a = 0;
|
|
78
78
|
switch (t.key) {
|
|
79
79
|
case "ArrowLeft":
|
|
80
80
|
case "ArrowUp":
|
|
81
|
-
|
|
81
|
+
a = -1;
|
|
82
82
|
break;
|
|
83
83
|
|
|
84
84
|
case "ArrowRight":
|
|
85
85
|
case "ArrowDown":
|
|
86
|
-
|
|
86
|
+
a = 1;
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
|
-
if (i === -1 ||
|
|
89
|
+
if (i === -1 || a === 0) {
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
|
-
i +=
|
|
93
|
-
i =
|
|
92
|
+
i += a;
|
|
93
|
+
i = a < 0 ? Math.max(0, i) : Math.min(this.radioElements.length - 1, i);
|
|
94
94
|
t.preventDefault();
|
|
95
95
|
if (!this.readonly) {
|
|
96
96
|
this.value = this.radioElements[i].value;
|
|
@@ -176,30 +176,30 @@ const p = class {
|
|
|
176
176
|
render() {
|
|
177
177
|
const t = this.label || this.optional || this.readonly;
|
|
178
178
|
const {hasError: r} = this;
|
|
179
|
-
const
|
|
180
|
-
return i(
|
|
181
|
-
key: "
|
|
182
|
-
},
|
|
183
|
-
key: "
|
|
179
|
+
const o = t && !this.hideLabel || r;
|
|
180
|
+
return i(a, {
|
|
181
|
+
key: "d96af26ee95e438ad99e1ca79b8badee70aa903c"
|
|
182
|
+
}, o && i("div", {
|
|
183
|
+
key: "642204bf8eb9650aea78e1d7fd763473d6e35b8f",
|
|
184
184
|
class: "label-row"
|
|
185
185
|
}, t && !this.hideLabel && i("div", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "af8059074c6abc628d4185cd8ad77099db64fa2c",
|
|
187
187
|
class: "group-legend"
|
|
188
188
|
}, d(this)), r && i("q2-icon", {
|
|
189
|
-
key: "
|
|
189
|
+
key: "e444f535c38920906289b3030dd14a360c197d04",
|
|
190
190
|
type: "error",
|
|
191
191
|
"test-id": "iconError"
|
|
192
192
|
})), i("fieldset", {
|
|
193
|
-
key: "
|
|
193
|
+
key: "8ebc82bd13fd41c14ddea75c5cb6025f6dff1c2f",
|
|
194
194
|
onChange: this.onInnerRadioChange,
|
|
195
195
|
"aria-invalid": r ? `${r}` : undefined
|
|
196
196
|
}, t && i("legend", {
|
|
197
|
-
key: "
|
|
197
|
+
key: "3b7fd0a58f9332b4bae1a1b79250e980c668569d",
|
|
198
198
|
class: "sr-only"
|
|
199
199
|
}, d(this)), this.inputDom()));
|
|
200
200
|
}
|
|
201
201
|
get hostElement() {
|
|
202
|
-
return
|
|
202
|
+
return o(this);
|
|
203
203
|
}
|
|
204
204
|
static get watchers() {
|
|
205
205
|
return {
|