q2-tecton-elements 1.60.5 → 1.60.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +426 -426
- package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/q2-context.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-context/q2-context.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js +8 -8
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +3 -3
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-grid/q2-grid.js +31 -31
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +43 -43
- package/dist/collection/components/q2-input/q2-input.js +2 -2
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +6 -6
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +3 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-calendar.js +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +1 -1
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-data-table.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-grid-area.js +1 -1
- package/dist/components/q2-grid.js +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-option-list2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-radio-group.js +1 -1
- package/dist/components/q2-radio.js +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +1 -1
- package/dist/components/q2-stepper-pane.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +1 -1
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +1 -1
- package/dist/esm/q2-context.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +2 -2
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option-list_2.entry.js +2 -2
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-calendar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +22 -22
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-context.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-currency.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-data-table.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-detail.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-item.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-message.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-modal.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-pagination.entry.js +27 -27
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-radio.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-stepper.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/package.json +65 -66
- /package/dist/types/{builds/q2e/development/tecton/tecton → Users/kvanhouten/Documents/Work/tecton_extra}/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +0 -0
|
@@ -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: "2e7528de8d51dcefc86ed5ba61f675d4b4d858a9",
|
|
155
155
|
ref: t => this.dialogElement = t,
|
|
156
156
|
class: i,
|
|
157
157
|
onClick: this.onClick
|
|
158
158
|
}, o("div", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "8e71dd9391e5c1f6648dc3c85a8ed9d5cc722031",
|
|
160
160
|
class: t
|
|
161
161
|
}, this.title && o("header", {
|
|
162
|
-
key: "
|
|
162
|
+
key: "7c088eac4d1841ce7b93d04e130af3c01f032068"
|
|
163
163
|
}, this.title && o("h2", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "d75587d75195c5326db3c43596ee78e2be151ea9",
|
|
165
165
|
class: "title"
|
|
166
166
|
}, this.title), !!this.closable && o("q2-btn", {
|
|
167
|
-
key: "
|
|
167
|
+
key: "ec9244917226d5ea2142f5af33ddc56c9d6f8222",
|
|
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: "986ab66605853ae24d8e32207c92d1fbfa53e3b6",
|
|
175
175
|
type: "close"
|
|
176
176
|
}))), o("div", {
|
|
177
|
-
key: "
|
|
177
|
+
key: "168a8c0af6b67af175ee2d0dae33220c80208453",
|
|
178
178
|
class: "content",
|
|
179
179
|
ref: t => this.contentElement = t
|
|
180
180
|
}, this.icon && o("div", {
|
|
181
|
-
key: "
|
|
181
|
+
key: "adb289ba75e436832ba9415e6a09794201b4ba93",
|
|
182
182
|
class: "icon"
|
|
183
183
|
}, o("q2-icon", {
|
|
184
|
-
key: "
|
|
184
|
+
key: "b98f0dfba93d3aeeac333af274ab7aff922ead76",
|
|
185
185
|
type: this.icon,
|
|
186
186
|
style: this.iconStyle()
|
|
187
187
|
})), this.imageSrc && o("div", {
|
|
188
|
-
key: "
|
|
188
|
+
key: "eecd1754be42b01ba6ea5f824306c5bfe10a628d",
|
|
189
189
|
class: "image"
|
|
190
190
|
}, o("img", {
|
|
191
|
-
key: "
|
|
191
|
+
key: "30a6cd052e8668b243f1f0247794bae7cdfbd470",
|
|
192
192
|
src: this.imageSrc
|
|
193
193
|
})), s(this.hostElement, "content") && o("slot", {
|
|
194
|
-
key: "
|
|
194
|
+
key: "1b490d7e61745df8d85605c7f7514393cea84218",
|
|
195
195
|
name: "content"
|
|
196
196
|
}), this.description && o("p", {
|
|
197
|
-
key: "
|
|
197
|
+
key: "1e224e11506e3e335784fc252aa0b7841085cc87",
|
|
198
198
|
class: "description"
|
|
199
199
|
}, this.description), this.customMarkup && o("p", {
|
|
200
|
-
key: "
|
|
200
|
+
key: "9ff09f3c77856fcd1058b5cf0bb17a6debe6d628",
|
|
201
201
|
class: "customMarkup",
|
|
202
202
|
innerHTML: d(this.customMarkup)
|
|
203
203
|
})), o("footer", {
|
|
204
|
-
key: "
|
|
204
|
+
key: "83f26a7a8a70bcc9d9d70f856a0d4fe7996bdc30"
|
|
205
205
|
}, o("q2-action-group", {
|
|
206
|
-
key: "
|
|
206
|
+
key: "0188baa2fe3f396f55c092dbefafc8bafc0d9b30",
|
|
207
207
|
"full-width": true
|
|
208
208
|
}, o("slot", {
|
|
209
|
-
key: "
|
|
209
|
+
key: "bc6753152422b6430a0d2429f9e3533d3c13bcea",
|
|
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: "d1411f2fec0a5a3850fd303c0592c2fff35a5c2f",
|
|
126
126
|
class: "month-container",
|
|
127
127
|
onKeyDown: this.onMonthKeydown
|
|
128
128
|
}, n("div", {
|
|
129
|
-
key: "
|
|
129
|
+
key: "dd6e7ee312f1cd4fb02c1986116c94b407e0f61c",
|
|
130
130
|
class: "navigation"
|
|
131
131
|
}, n("q2-btn", {
|
|
132
|
-
key: "
|
|
132
|
+
key: "4ad4a01dbad8d1457616b360f01e2555f47c405d",
|
|
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: "9e6bb654c8c75cb01dd362bc3c1b0bfb29955568",
|
|
140
140
|
class: "year"
|
|
141
141
|
}, this.year), n("q2-icon", {
|
|
142
|
-
key: "
|
|
142
|
+
key: "a2428ea1bcd1ac5a7d4e4c40a1b788563b117e39",
|
|
143
143
|
class: "year-icon off",
|
|
144
144
|
type: "chevron-down"
|
|
145
145
|
})), n("div", {
|
|
146
|
-
key: "
|
|
146
|
+
key: "1fd96721875a5d4284e1bec736dcac59ef8b2311",
|
|
147
147
|
class: "month-controller"
|
|
148
148
|
}, n("div", {
|
|
149
|
-
key: "
|
|
149
|
+
key: "aa876ee236a208388855c5c3e2c8a05a4bce20e0",
|
|
150
150
|
class: "cal-year-prev-next"
|
|
151
151
|
}, n("q2-btn", {
|
|
152
|
-
key: "
|
|
152
|
+
key: "9ef5d6c22dece5e6f83c63ea9300eba237ef9e2b",
|
|
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: "1eca7a063bbd2a9e2b23c9444b1129d20f158fdd",
|
|
160
160
|
type: "arrow-left"
|
|
161
161
|
})), n("q2-btn", {
|
|
162
|
-
key: "
|
|
162
|
+
key: "22e3101d0a2a3eb7f6ef14d0a2f31a2db18e88ad",
|
|
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: "c1e6b6ea61292180a97622b304c8835499f8cd8c",
|
|
170
170
|
type: "arrow-right"
|
|
171
171
|
}))))), n("div", {
|
|
172
|
-
key: "
|
|
172
|
+
key: "3b306470ae8fd1274d7eeb168c554f03ae6c7c92",
|
|
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: "fe81d85485cc15906f001200d6fd8b69d948e67f",
|
|
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: "36e4d596e9efbcfea07c9aef8cce8ac376228bfb",
|
|
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: "23547157b8c58f87e656a3dbc533fd22315b549e",
|
|
67
67
|
class: "q2-optgroup-header",
|
|
68
68
|
id: this.headerId
|
|
69
69
|
}, this.label && a(this.label) || ""), e("div", {
|
|
70
|
-
key: "
|
|
70
|
+
key: "d53db927fdd872f2de3b61d46c2221b6925c760a",
|
|
71
71
|
class: "q2-optgroup-options"
|
|
72
72
|
}, e("slot", {
|
|
73
|
-
key: "
|
|
73
|
+
key: "b563fb8bd14f685bc24a3cde439b5ff7245cf82b"
|
|
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 f = "*{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 b = class {
|
|
12
12
|
constructor(i) {
|
|
13
13
|
t(this, i);
|
|
14
14
|
this.change = e(this, "change", 7);
|
|
@@ -557,14 +557,14 @@ const f = class {
|
|
|
557
557
|
// #region Render Methods
|
|
558
558
|
render() {
|
|
559
559
|
return i(o, {
|
|
560
|
-
key: "
|
|
560
|
+
key: "5edc081d3fb53aef29de115f7424724e4512e4ff"
|
|
561
561
|
}, i("div", {
|
|
562
|
-
key: "
|
|
562
|
+
key: "c3f9531ff069af3b9783746c4aa8d834c8b0d8fa",
|
|
563
563
|
class: "content",
|
|
564
564
|
ref: t => this.contentElement = t,
|
|
565
565
|
onFocusout: this.focusoutHandler
|
|
566
566
|
}, i("div", {
|
|
567
|
-
key: "
|
|
567
|
+
key: "c7abcf68ba932da462af3552af52c7f3d292e97b",
|
|
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 f = class {
|
|
|
572
572
|
onKeyDown: this.internalKeydownHandler,
|
|
573
573
|
onClick: this.clickHandler
|
|
574
574
|
}, i("slot", {
|
|
575
|
-
key: "
|
|
575
|
+
key: "2358f47cfb29e30814168e448561d891b9edaa7d"
|
|
576
576
|
}))));
|
|
577
577
|
}
|
|
578
578
|
get hostElement() {
|
|
@@ -586,7 +586,7 @@ const f = class {
|
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
588
|
|
|
589
|
-
|
|
589
|
+
b.style = f;
|
|
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 f = ((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", `${f - 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 f = e - s - h;
|
|
817
817
|
// calculate space above and below controlElement
|
|
818
|
-
const
|
|
818
|
+
const b = n < f;
|
|
819
819
|
d = p - r;
|
|
820
|
-
u =
|
|
820
|
+
u = b ? n - r : f - 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 f = 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 b = !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 || f;
|
|
832
832
|
switch (v) {
|
|
833
833
|
case "up":
|
|
834
|
-
if (
|
|
834
|
+
if (b) {
|
|
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 (b) {
|
|
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: "0a97b5c01bc1a8023d153328ae37941bc32b16d5",
|
|
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: "e854b9e048b02db7d7b38221b993a27e8b1eefd1",
|
|
892
892
|
ref: t => this.contentElement = t,
|
|
893
893
|
class: "content"
|
|
894
894
|
}, i("slot", {
|
|
895
|
-
key: "
|
|
895
|
+
key: "ecaff5bb03495671264a57fedd789cac2491310a"
|
|
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 { b 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: h, nextRange: d, prevRange: p, showPerPageSelect: g} = this;
|
|
220
|
+
const u = l < 2;
|
|
221
|
+
const f = 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: d,
|
|
241
241
|
recordType: o.toLowerCase(),
|
|
242
242
|
total: c
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
return i("nav", {
|
|
246
|
-
key: "
|
|
246
|
+
key: "ea7bad99b6988da7344f48977589372a9eecafca",
|
|
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: "e5e5d5909ecc04623dab3f2a5cf1efbeb04485e9",
|
|
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: h,
|
|
259
259
|
recordType: o.toLowerCase(),
|
|
260
260
|
total: c.toLocaleString()
|
|
261
261
|
})), i("div", {
|
|
262
|
-
key: "
|
|
262
|
+
key: "dd85b925e3f7628e2f06a3f3bf0eb8638c477159",
|
|
263
263
|
class: "btn-group"
|
|
264
264
|
}, i("q2-btn", {
|
|
265
|
-
key: "
|
|
265
|
+
key: "a819cf505e48f7b707c464b51bc34ba5be997132",
|
|
266
266
|
ref: t => this.firstPageBtn = t,
|
|
267
267
|
label: r("tecton.element.pagination.goToFirstPage"),
|
|
268
|
-
disabled:
|
|
268
|
+
disabled: u,
|
|
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: "130e7630a35b9f973bf5e7ed4f1131e23f430bab",
|
|
275
275
|
type: "chevron-double-left"
|
|
276
276
|
})), i("q2-btn", {
|
|
277
|
-
key: "
|
|
277
|
+
key: "3cb44d78ec6a77848a0b23eb031f620a6b2cd1e0",
|
|
278
278
|
ref: t => this.prevPageBtn = t,
|
|
279
279
|
label: v,
|
|
280
|
-
disabled:
|
|
280
|
+
disabled: u,
|
|
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: "fba3e6d775727cfa529d6c5fde3d8da8143debd8",
|
|
286
286
|
type: "chevron-left"
|
|
287
287
|
}))), i("div", {
|
|
288
|
-
key: "
|
|
288
|
+
key: "6588afe6625fa4130bdfb0907709e63431bd82ad",
|
|
289
289
|
class: "controls",
|
|
290
290
|
hidden: a,
|
|
291
291
|
"test-id": "controls"
|
|
292
292
|
}, i("span", {
|
|
293
|
-
key: "
|
|
293
|
+
key: "c6ec518ddf327913fba61e5cd6c1a4412bdcb18a",
|
|
294
294
|
"aria-hidden": "true"
|
|
295
295
|
}, r("tecton.element.pagination.page")), i("div", {
|
|
296
|
-
key: "
|
|
296
|
+
key: "6de3983131e9b369953492e64a4c8f32a7fb4969",
|
|
297
297
|
class: "input-wrapper",
|
|
298
298
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
299
299
|
}, i("q2-input", {
|
|
300
|
-
key: "
|
|
300
|
+
key: "459b82d5dde1939f2b5d94e8f38bd9ae79f45074",
|
|
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: "24f5880eef4dccb874f1edd77e13a806397cb969",
|
|
317
317
|
"aria-hidden": "true"
|
|
318
318
|
}, r("tecton.element.pagination.ofPages", [ s.toLocaleString() ]))), i("div", {
|
|
319
|
-
key: "
|
|
319
|
+
key: "8a91a5373047d7c119971b965c95cc9139a592d7",
|
|
320
320
|
class: "btn-group"
|
|
321
321
|
}, i("q2-btn", {
|
|
322
|
-
key: "
|
|
322
|
+
key: "1cca2fa3329cc7ee11443b9e7e2927ea2262f1d5",
|
|
323
323
|
ref: t => this.nextPageBtn = t,
|
|
324
324
|
label: b,
|
|
325
|
-
disabled:
|
|
325
|
+
disabled: f,
|
|
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: "7fc0c6696c5ab34149d6d4aafb1b453f819a3b9e",
|
|
331
331
|
type: "chevron-right"
|
|
332
332
|
})), i("q2-btn", {
|
|
333
|
-
key: "
|
|
333
|
+
key: "8e2e1a682adc037d35cd50e2b153e3d6219500e3",
|
|
334
334
|
ref: t => this.lastPageBtn = t,
|
|
335
335
|
label: "tecton.element.pagination.goToLastPage",
|
|
336
|
-
disabled:
|
|
336
|
+
disabled: f,
|
|
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: "f9e9479e4b3bdf4d877b480530c56372773bce50",
|
|
343
343
|
type: "chevron-double-right"
|
|
344
344
|
}))), i("div", {
|
|
345
|
-
key: "
|
|
345
|
+
key: "a00a1cdd52e943b0c5c4af10fe93acc8d77baead",
|
|
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: "49716b798b86d2a6ea041b09c52c39d653a65163",
|
|
340
340
|
onChange: this.onClickElsewhere
|
|
341
341
|
}, o("div", {
|
|
342
|
-
key: "
|
|
342
|
+
key: "5df75e6f56ae4a0710a906bdda0fb0e05d45a7d9",
|
|
343
343
|
class: r.join(" ")
|
|
344
344
|
}, o("div", {
|
|
345
|
-
key: "
|
|
345
|
+
key: "5a39f357cafd2c5d8d12ed0816aecc6a59298632",
|
|
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: "e76ca25b5383df7fa3c140f0eec42c489f53a535",
|
|
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: "dc493d5ffabca907fbe55a16a8c792fb1539492e",
|
|
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: "f5ba187f46e4dfc347ae2e929f921127400b0470",
|
|
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: "b2437baa057304268660f5bb56d20cc7e3fb7765",
|
|
381
381
|
class: "popover-content"
|
|
382
382
|
}, o("div", {
|
|
383
|
-
key: "
|
|
383
|
+
key: "a1178ecdb320bff59ef3144f55686d68dd8bc4b7",
|
|
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: "b67fb6db5f10e8e8bbac27e249c18d0188ae759e",
|
|
391
391
|
name: "popover-top"
|
|
392
392
|
})), o("q2-option-list", {
|
|
393
|
-
key: "
|
|
393
|
+
key: "07294504e7f3e34828e9aad05ca769d18b7fe486",
|
|
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: "b6936d42d7b4b2be41ee6e2da4943ba9e8dd392d"
|
|
404
404
|
})), o("div", {
|
|
405
|
-
key: "
|
|
405
|
+
key: "d886525c6abf10afcfcc79766e4df94eda0512ad",
|
|
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: "ac54a12ee998500515cf9c5e8f5ebf7a53208a2d",
|
|
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 o, g as a } 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 o = 0;
|
|
78
78
|
switch (t.key) {
|
|
79
79
|
case "ArrowLeft":
|
|
80
80
|
case "ArrowUp":
|
|
81
|
-
|
|
81
|
+
o = -1;
|
|
82
82
|
break;
|
|
83
83
|
|
|
84
84
|
case "ArrowRight":
|
|
85
85
|
case "ArrowDown":
|
|
86
|
-
|
|
86
|
+
o = 1;
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
|
-
if (i === -1 ||
|
|
89
|
+
if (i === -1 || o === 0) {
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
|
-
i +=
|
|
93
|
-
i =
|
|
92
|
+
i += o;
|
|
93
|
+
i = o < 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 a = t && !this.hideLabel || r;
|
|
180
|
+
return i(o, {
|
|
181
|
+
key: "f9e4250ae43ae2b9eb582ee89c9b3a66bf57d5d2"
|
|
182
|
+
}, a && i("div", {
|
|
183
|
+
key: "e7600eeadc378959773298ffc70bfd8fe20e62fd",
|
|
184
184
|
class: "label-row"
|
|
185
185
|
}, t && !this.hideLabel && i("div", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "fbe77caf2d6063906efe375a1a42bed13e1f10bd",
|
|
187
187
|
class: "group-legend"
|
|
188
188
|
}, d(this)), r && i("q2-icon", {
|
|
189
|
-
key: "
|
|
189
|
+
key: "51de2a73997d9ae356101c8882f21ab626890942",
|
|
190
190
|
type: "error",
|
|
191
191
|
"test-id": "iconError"
|
|
192
192
|
})), i("fieldset", {
|
|
193
|
-
key: "
|
|
193
|
+
key: "3443ef8667cfe67a1c77b1b6e39f5ed402a7ad26",
|
|
194
194
|
onChange: this.onInnerRadioChange,
|
|
195
195
|
"aria-invalid": r ? `${r}` : undefined
|
|
196
196
|
}, t && i("legend", {
|
|
197
|
-
key: "
|
|
197
|
+
key: "f9ee17d85b8844abae32893b4b26c078a83c28ff",
|
|
198
198
|
class: "sr-only"
|
|
199
199
|
}, d(this)), this.inputDom()));
|
|
200
200
|
}
|
|
201
201
|
get hostElement() {
|
|
202
|
-
return
|
|
202
|
+
return a(this);
|
|
203
203
|
}
|
|
204
204
|
static get watchers() {
|
|
205
205
|
return {
|