q2-tecton-elements 1.55.3 → 1.55.4
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 +299 -299
- package/dist/cjs/{index-f69742cf.js → index-e0aba375.js} +1 -1
- package/dist/cjs/{index-f69742cf.js.map → index-e0aba375.js.map} +1 -1
- 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 +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js.map +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-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 +2 -2
- package/dist/cjs/q2-form.cjs.entry.js.map +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 +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 +2 -2
- 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-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 +6 -6
- 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.css +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +0 -5
- 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-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 +5 -5
- package/dist/collection/components/q2-form/q2-form.css +0 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-form/test/q2-form-test.e2e.js +24 -4
- package/dist/collection/components/q2-form/test/q2-form-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- 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 +7 -7
- 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-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 +2 -2
- package/dist/components/q2-checkbox-group.js.map +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-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 +2 -2
- package/dist/components/q2-form.js.map +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-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 +2 -2
- 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/{index-3184c760.js → index-3bb7a785.js} +1 -1
- package/dist/esm/{index-3184c760.js.map → index-3bb7a785.js.map} +1 -1
- 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 +1 -1
- package/dist/esm/q2-calendar.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/q2-checkbox-group.entry.js.map +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-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 +2 -2
- package/dist/esm/q2-form.entry.js.map +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 +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 +2 -2
- 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-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/{index-3184c760.js → index-3bb7a785.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +62 -62
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-calendar.entry.js +3 -3
- 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 +2 -2
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +79 -79
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +100 -100
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +8 -8
- 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-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 +10 -10
- package/dist/q2-tecton-elements/q2-form.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item_3.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-legend.entry.js +5 -5
- 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 +30 -30
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-pagination.entry.js +33 -33
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +33 -33
- package/dist/q2-tecton-elements/q2-radio.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-select.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-stepper.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/dist/types/components/q2-action-group/q2-action-group.d.ts +0 -1
- package/dist/types/components/q2-loading/skeleton/shapes.d.ts +0 -1
- package/dist/types/components/q2-optgroup/q2-optgroup.d.ts +1 -1
- package/dist/types/components/q2-tab-container/q2-tab-container.d.ts +2 -2
- package/package.json +3 -4
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +0 -60
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +0 -327
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +0 -95
- package/dist/types/components/q2-data-table/q2-data-table.d.ts +0 -261
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +0 -181
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +0 -140
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +0 -100
- package/dist/types/components/q2-pagination/q2-pagination.d.ts +0 -117
- package/dist/types/components/q2-pill/q2-pill.d.ts +0 -143
- package/dist/types/components/q2-select/q2-select.d.ts +0 -238
- package/dist/types/components/q2-stepper/q2-stepper.d.ts +0 -61
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +0 -68
- package/dist/types/components/q2-tag/q2-tag.d.ts +0 -91
- package/dist/types/utils/action-sheet.d.ts +0 -12
- /package/dist/q2-tecton-elements/{index-3184c760.js.map → index-3bb7a785.js.map} +0 -0
- /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
|
@@ -4,9 +4,9 @@ import { n as a, o as s, i as o, l as r } from "./index-f2a66217.js";
|
|
|
4
4
|
|
|
5
5
|
const c = "*{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 d = c;
|
|
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,18 +228,18 @@ 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: c, pageWithDefault:
|
|
232
|
-
const f =
|
|
233
|
-
const u =
|
|
231
|
+
const {pagesOnly: e, recordsOnly: n, isFullViewHidden: a, recordTypeWithDefault: s, totalPages: o, totalWithDefault: c, pageWithDefault: d, currentRange: h, nextRange: l, prevRange: p, showPerPageSelect: g} = this;
|
|
232
|
+
const f = d < 2;
|
|
233
|
+
const u = d === 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: d - 1,
|
|
239
239
|
total: o
|
|
240
240
|
});
|
|
241
241
|
b = r("tecton.element.pagination.goToPages", {
|
|
242
|
-
next:
|
|
242
|
+
next: d + 1,
|
|
243
243
|
total: o
|
|
244
244
|
});
|
|
245
245
|
} else if (n) {
|
|
@@ -249,32 +249,32 @@ const l = class {
|
|
|
249
249
|
total: c
|
|
250
250
|
});
|
|
251
251
|
b = r("tecton.element.pagination.goToRecords", {
|
|
252
|
-
range:
|
|
252
|
+
range: l,
|
|
253
253
|
recordType: s.toLowerCase(),
|
|
254
254
|
total: c
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
257
|
return i("nav", {
|
|
258
|
-
key: "
|
|
258
|
+
key: "e18f02a628ca1451833e97815e058fdc1517b7c5",
|
|
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: "8801238ba154a24bcd118cf509091db356b0a1d1",
|
|
264
264
|
class: "description",
|
|
265
265
|
"test-id": "description"
|
|
266
266
|
}, e ? r("tecton.element.pagination.pages", {
|
|
267
|
-
current:
|
|
267
|
+
current: d,
|
|
268
268
|
total: o
|
|
269
269
|
}) : r("tecton.element.pagination.description", {
|
|
270
|
-
range:
|
|
270
|
+
range: h,
|
|
271
271
|
recordType: s.toLowerCase(),
|
|
272
272
|
total: c.toLocaleString()
|
|
273
273
|
})), i("div", {
|
|
274
|
-
key: "
|
|
274
|
+
key: "8a0cf0a8b262edaf0077a355c71879744f76430b",
|
|
275
275
|
class: "btn-group"
|
|
276
276
|
}, i("q2-btn", {
|
|
277
|
-
key: "
|
|
277
|
+
key: "f6f72d75981cbc97fe6fd7fd716f5d92bd16ca9d",
|
|
278
278
|
ref: t => this.firstPageBtn = t,
|
|
279
279
|
label: r("tecton.element.pagination.goToFirstPage"),
|
|
280
280
|
disabled: f,
|
|
@@ -283,36 +283,36 @@ const l = class {
|
|
|
283
283
|
"test-id": "firstPageBtn",
|
|
284
284
|
"hide-label": true
|
|
285
285
|
}, i("q2-icon", {
|
|
286
|
-
key: "
|
|
286
|
+
key: "0ff61de6fd143ea8ea28ff08f2c22b2c4514cd2f",
|
|
287
287
|
type: "chevron-double-left"
|
|
288
288
|
})), i("q2-btn", {
|
|
289
|
-
key: "
|
|
289
|
+
key: "6c31fb1cfc557a89a3471bae25d09be52897cfb7",
|
|
290
290
|
ref: t => this.prevPageBtn = t,
|
|
291
291
|
label: v,
|
|
292
292
|
disabled: f,
|
|
293
|
-
onClick: () => this.handlePageChange(
|
|
293
|
+
onClick: () => this.handlePageChange(d - 1),
|
|
294
294
|
"test-id": "prevPageBtn",
|
|
295
295
|
"hide-label": true
|
|
296
296
|
}, i("q2-icon", {
|
|
297
|
-
key: "
|
|
297
|
+
key: "6d0a5e92eff20620045439a95f13683d45b21ee9",
|
|
298
298
|
type: "chevron-left"
|
|
299
299
|
}))), i("div", {
|
|
300
|
-
key: "
|
|
300
|
+
key: "4e7ece9248a798b9cb885f2b2811dbe43c53cc04",
|
|
301
301
|
class: "controls",
|
|
302
302
|
hidden: a,
|
|
303
303
|
"test-id": "controls"
|
|
304
304
|
}, i("span", {
|
|
305
|
-
key: "
|
|
305
|
+
key: "00925990c7d99ec9052d50eae011df20c55c0b95",
|
|
306
306
|
"aria-hidden": "true"
|
|
307
307
|
}, r("tecton.element.pagination.page")), i("div", {
|
|
308
|
-
key: "
|
|
308
|
+
key: "5f4100b75ac2b1145b9de2d61c4b20eb5f490108",
|
|
309
309
|
class: "input-wrapper",
|
|
310
310
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
311
311
|
}, i("q2-input", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "fcccaf8f66e18aade799cdb031d4109f9844d71f",
|
|
313
313
|
ref: t => this.inputField = t,
|
|
314
314
|
type: "number",
|
|
315
|
-
value: `${
|
|
315
|
+
value: `${d}`,
|
|
316
316
|
min: 1,
|
|
317
317
|
max: this.totalPages,
|
|
318
318
|
hideLabel: true,
|
|
@@ -325,24 +325,24 @@ const l = class {
|
|
|
325
325
|
"test-id": "pageInput",
|
|
326
326
|
current: "page"
|
|
327
327
|
})), i("span", {
|
|
328
|
-
key: "
|
|
328
|
+
key: "e0fdad1c715b9769b9c553f94200309f51a86607",
|
|
329
329
|
"aria-hidden": "true"
|
|
330
330
|
}, r("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))), i("div", {
|
|
331
|
-
key: "
|
|
331
|
+
key: "dbe11e2baf541ce460b6337af343a7dc3d118556",
|
|
332
332
|
class: "btn-group"
|
|
333
333
|
}, i("q2-btn", {
|
|
334
|
-
key: "
|
|
334
|
+
key: "4ac8658d56c414ffa1ba221450aa14e3dfc8e0e7",
|
|
335
335
|
ref: t => this.nextPageBtn = t,
|
|
336
336
|
label: b,
|
|
337
337
|
disabled: u,
|
|
338
|
-
onClick: () => this.handlePageChange(
|
|
338
|
+
onClick: () => this.handlePageChange(d + 1),
|
|
339
339
|
"test-id": "nextPageBtn",
|
|
340
340
|
"hide-label": true
|
|
341
341
|
}, i("q2-icon", {
|
|
342
|
-
key: "
|
|
342
|
+
key: "e6cbc43459c891d1bc8f54b85c3574d45a5c998b",
|
|
343
343
|
type: "chevron-right"
|
|
344
344
|
})), i("q2-btn", {
|
|
345
|
-
key: "
|
|
345
|
+
key: "ddafd0e4f3b12898ca349bb2ba94c148cc830214",
|
|
346
346
|
ref: t => this.lastPageBtn = t,
|
|
347
347
|
label: "tecton.element.pagination.goToLastPage",
|
|
348
348
|
disabled: u,
|
|
@@ -351,10 +351,10 @@ const l = class {
|
|
|
351
351
|
"test-id": "lastPageBtn",
|
|
352
352
|
"hide-label": true
|
|
353
353
|
}, i("q2-icon", {
|
|
354
|
-
key: "
|
|
354
|
+
key: "7c1f82c1535d8cdbe0de180e7c426de2759bf282",
|
|
355
355
|
type: "chevron-double-right"
|
|
356
356
|
}))), i("div", {
|
|
357
|
-
key: "
|
|
357
|
+
key: "f27168fdb16b48520a9a3134e6a3db4acd1fa551",
|
|
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 = d;
|
|
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: "5fe692c7573238a78296f886bd692b0844f895bd",
|
|
348
348
|
onChange: this.onClickElsewhere
|
|
349
349
|
}, e("div", {
|
|
350
|
-
key: "
|
|
350
|
+
key: "8cddac8df3418aca8d04be122b9e6aa48bc74902",
|
|
351
351
|
class: r.join(" ")
|
|
352
352
|
}, e("div", {
|
|
353
|
-
key: "
|
|
353
|
+
key: "e745b7a2898c15da468cb0b00046099def363414",
|
|
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: "522395fae2eee423a40ad74610472d8ce67c3e84",
|
|
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: "6e91c9098217a94765f2f2cc9420257c4d8ad3f5",
|
|
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: "3607af8a2bcf760f2b2a235302a4fd0e28a4561b",
|
|
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: "999b8fbfcd6b11ba0aeffc3a5875b6f0a21e955a",
|
|
389
389
|
class: "popover-content"
|
|
390
390
|
}, e("div", {
|
|
391
|
-
key: "
|
|
391
|
+
key: "10bcc35df0240b11da8e5df19db854576fe8dcbd",
|
|
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: "f2ada769ff4352ed962ca937172a8697e3a5b96b",
|
|
399
399
|
name: "popover-top"
|
|
400
400
|
})), e("q2-option-list", {
|
|
401
|
-
key: "
|
|
401
|
+
key: "9b62b035a72927fea994a792630596d84401d8bb",
|
|
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: "1867828a0d847460d0ee6cb55a31114de91e188a"
|
|
412
412
|
})), e("div", {
|
|
413
|
-
key: "
|
|
413
|
+
key: "d25e55fcbc1322bb79a5f61d9f0a957df90c3173",
|
|
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: "cd358ea147bf56405752ec90fa54d21576ba64bc",
|
|
421
421
|
name: "popover-bottom"
|
|
422
422
|
})))));
|
|
423
423
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { r as t, c as i, h as
|
|
1
|
+
import { r as t, c as i, h as e, F as r, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as a, o as n, i as s, f as d } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const l = '*{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{--comp-default-radio-group-margin:var(--tct-radio-group-margin-top, var(--t-radio-group-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-radio-group-margin-bottom, var(--t-radio-group-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-radio-group-margin, var(--comp-default-radio-group-margin))}fieldset{padding:var(--tct-radio-group-fieldset-padding, 0);margin:0;border:0;position:relative}.label-row{display:grid;grid-template-columns:1fr 24px;grid-template-areas:"label icon";column-gap:var(--tct-radio-group-label-column-gap, var(--app-scale-2x, 10px))}.label-row q2-icon{grid-area:icon;margin-top:-2px;margin-bottom:-2px}.group-legend{font-weight:600}legend.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}.optional-tag{margin-left:var(--tct-radio-group-label-optional-margin-left, var(--app-scale-1x, 5px));color:var(--tct-radio-group-label-optional-color, var(--t-radio-group-label-optional-color, var(--tct-a11y-color, var(--t-a11y-color, var(--tct-a11y-gray-color, var(--t-a11y-gray-color, var(--tct-gray-7, var(--t-gray-7, var(--tct-gray-d1, var(--t-gray-d1, var(--app-gray-d1, rgba(77, 77, 77, 0.77))))))))))));font-size:var(--tct-radio-group-label-optional-font-size, var(--t-radio-group-label-optional-font-size, 12px));font-weight:var(--tct-radio-group-label-optional-font-weight, var(--t-radio-group-label-optional-font-weight, 400))}.tile-container,.tile-container .options-container{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;flex-grow:1}.options-container{--comp-default-margin:var(--app-scale-1x, 5px) 0;--comp-options-margin:var(--tct-radio-group-options-margin, var(--t-radio-group-options-margin, var(--comp-default-margin, 5px 0)));margin:var(--comp-options-margin);padding:var(--tct-radio-group-options-padding, var(--t-radio-group-options-padding, var(--app-scale-0x, 0px)));border-width:1px;border-color:transparent;border-style:solid;border-radius:var(--tct-radio-group-border-radius, var(--app-border-radius-1, 4px))}:host([has-error]) .options-container{border-color:var(--tct-radio-group-error-border-color, var(--const-stoplight-alert, #d20a0a))}:host([has-error=false]) .options-container{border-color:transparent}.tile-container.left{justify-content:start}.tile-container.right{justify-content:end}.tile-container .options-container{gap:var(--tct-radio-group-tile-gap, var(--t-radio-group-tile-gap, var(--app-scale-2x, 10px)));justify-content:inherit}';
|
|
6
6
|
|
|
7
7
|
const p = l;
|
|
8
8
|
|
|
9
9
|
const c = class {
|
|
10
|
-
constructor(
|
|
11
|
-
t(this,
|
|
10
|
+
constructor(e) {
|
|
11
|
+
t(this, e);
|
|
12
12
|
this.change = i(this, "change", 7);
|
|
13
13
|
// #region Own Properties
|
|
14
|
-
this._id = `radio-group-${
|
|
14
|
+
this._id = `radio-group-${a()}`;
|
|
15
15
|
this.checkedRadioExists = () => {
|
|
16
16
|
// Returns first checked individual q2-radio or undefined if none are set to checked={true}
|
|
17
17
|
const t = this.radioElements.find((t => t.checked === true)) || undefined;
|
|
@@ -81,29 +81,29 @@ const c = class {
|
|
|
81
81
|
}
|
|
82
82
|
keydownHandler(t) {
|
|
83
83
|
const i = t.target.getAttribute("value") || this.value;
|
|
84
|
-
let
|
|
85
|
-
let
|
|
84
|
+
let e = this.radioElements.findIndex((e => e === t.target || e.getAttribute("value") === i));
|
|
85
|
+
let r = 0;
|
|
86
86
|
switch (t.key) {
|
|
87
87
|
case "ArrowLeft":
|
|
88
88
|
case "ArrowUp":
|
|
89
|
-
|
|
89
|
+
r = -1;
|
|
90
90
|
break;
|
|
91
91
|
|
|
92
92
|
case "ArrowRight":
|
|
93
93
|
case "ArrowDown":
|
|
94
|
-
|
|
94
|
+
r = 1;
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
|
-
if (
|
|
97
|
+
if (e === -1 || r === 0) {
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
e += r;
|
|
101
|
+
e = r < 0 ? Math.max(0, e) : Math.min(this.radioElements.length - 1, e);
|
|
102
102
|
t.preventDefault();
|
|
103
103
|
if (!this.readonly) {
|
|
104
|
-
this.value = this.radioElements[
|
|
104
|
+
this.value = this.radioElements[e].value;
|
|
105
105
|
}
|
|
106
|
-
this.radioElements[
|
|
106
|
+
this.radioElements[e].dispatchEvent(new FocusEvent("focus"));
|
|
107
107
|
}
|
|
108
108
|
// #endregion
|
|
109
109
|
// #region Public Methods API
|
|
@@ -168,15 +168,15 @@ const c = class {
|
|
|
168
168
|
if (this.tileLayout) {
|
|
169
169
|
const {tileAlignment: t} = this;
|
|
170
170
|
const i = [ "left", "center", "right" ].includes(t) ? t : "center";
|
|
171
|
-
return
|
|
171
|
+
return e("div", {
|
|
172
172
|
class: `tile-container ${i}`
|
|
173
|
-
},
|
|
173
|
+
}, e("div", {
|
|
174
174
|
class: "options-container"
|
|
175
|
-
},
|
|
175
|
+
}, e("slot", null)));
|
|
176
176
|
} else {
|
|
177
|
-
return
|
|
177
|
+
return e("div", {
|
|
178
178
|
class: "options-container"
|
|
179
|
-
},
|
|
179
|
+
}, e("slot", null));
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
// #endregion
|
|
@@ -184,30 +184,30 @@ const c = class {
|
|
|
184
184
|
render() {
|
|
185
185
|
const t = this.label || this.optional || this.readonly;
|
|
186
186
|
const {hasError: i} = this;
|
|
187
|
-
const
|
|
188
|
-
return
|
|
189
|
-
key: "
|
|
190
|
-
},
|
|
191
|
-
key: "
|
|
187
|
+
const o = t && !this.hideLabel || i;
|
|
188
|
+
return e(r, {
|
|
189
|
+
key: "39bfe432997a547e9f29aabc768adfb1da9fac4b"
|
|
190
|
+
}, o && e("div", {
|
|
191
|
+
key: "1db8455585e6c9e35a59f9c6c7ce4f4d42b6ebf7",
|
|
192
192
|
class: "label-row"
|
|
193
|
-
}, t && !this.hideLabel &&
|
|
194
|
-
key: "
|
|
193
|
+
}, t && !this.hideLabel && e("div", {
|
|
194
|
+
key: "1fe134c3173b2fdbf39640bc126540195bf53dbe",
|
|
195
195
|
class: "group-legend"
|
|
196
|
-
}, d(this)), i &&
|
|
197
|
-
key: "
|
|
196
|
+
}, d(this)), i && e("q2-icon", {
|
|
197
|
+
key: "d54e948759c7513c1fbe9cd7c348bdb3fe91eeb4",
|
|
198
198
|
type: "error",
|
|
199
199
|
"test-id": "iconError"
|
|
200
|
-
})),
|
|
201
|
-
key: "
|
|
200
|
+
})), e("fieldset", {
|
|
201
|
+
key: "67e545eb448161a1dffc6f253c5f380ee8a229b3",
|
|
202
202
|
onChange: this.onInnerRadioChange,
|
|
203
203
|
"aria-invalid": i ? `${i}` : undefined
|
|
204
|
-
}, t &&
|
|
205
|
-
key: "
|
|
204
|
+
}, t && e("legend", {
|
|
205
|
+
key: "b82a5b106cbd46552e3b5c85b74aea7c8350e786",
|
|
206
206
|
class: "sr-only"
|
|
207
207
|
}, d(this)), this.inputDom()));
|
|
208
208
|
}
|
|
209
209
|
get hostElement() {
|
|
210
|
-
return
|
|
210
|
+
return o(this);
|
|
211
211
|
}
|
|
212
212
|
static get watchers() {
|
|
213
213
|
return {
|
|
@@ -83,10 +83,10 @@ const s = class {
|
|
|
83
83
|
// #region Render Methods
|
|
84
84
|
render() {
|
|
85
85
|
return r("div", {
|
|
86
|
-
key: "
|
|
86
|
+
key: "5b311e2632f73503ee3e53c23f236be4860f8ce2",
|
|
87
87
|
class: this.groupTileLayout ? "radio-tile" : "radio-container"
|
|
88
88
|
}, r("input", {
|
|
89
|
-
key: "
|
|
89
|
+
key: "3d16a54bc6c2978a38da4693fa5a8d010e99d9ca",
|
|
90
90
|
ref: e => this.inputField = e,
|
|
91
91
|
class: "sr",
|
|
92
92
|
id: this._id,
|
|
@@ -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: "eebe718f16014fb72c48aea6278769b38d4a1688",
|
|
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: "2dcb05d6c75756087c5798c99c65e87d5ebda3f4",
|
|
108
108
|
viewBox: "0 0 18 18"
|
|
109
109
|
}, r("circle", {
|
|
110
|
-
key: "
|
|
110
|
+
key: "b808fee3319881566dca584233ca1b284ce8f1a6",
|
|
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: "1abc2240fd5145a14586392be4e32bbff1bc16c3",
|
|
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: "e42cb0d2c93aa87291ad40fe2b4128ac910d3ee8",
|
|
125
125
|
class: "label-content"
|
|
126
126
|
}, this.label && l(this.label) || "", r("slot", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "f850e0414cc02e68fc47840eff256762d8b91c54"
|
|
128
128
|
}))));
|
|
129
129
|
}
|
|
130
130
|
get hostElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, h as t, F as i, g as s } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { d as n } from "./index-
|
|
3
|
+
import { d as n } from "./index-3bb7a785.js";
|
|
4
4
|
|
|
5
5
|
import { l as a } from "./index-f2a66217.js";
|
|
6
6
|
|
|
@@ -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: "a455dbdc3b6f4c6ed485ef33ec4569b8079faad5"
|
|
139
139
|
}, e ? t("time", {
|
|
140
140
|
dateTime: s
|
|
141
141
|
}, s) : null);
|
|
@@ -187,29 +187,29 @@ const p = class {
|
|
|
187
187
|
}
|
|
188
188
|
const r = !this.hasYieldedHeader && !!this.label;
|
|
189
189
|
return i("section", {
|
|
190
|
-
key: "
|
|
190
|
+
key: "5222957e3620819b8cf996c0fc286e46fff3bb4d",
|
|
191
191
|
class: "wrapper"
|
|
192
192
|
}, i("header", {
|
|
193
|
-
key: "
|
|
193
|
+
key: "bf81a872538c66fe3a05c0b5aa764ea44ab9c8a7",
|
|
194
194
|
class: t ? "has-header" : ""
|
|
195
195
|
}, i("div", {
|
|
196
|
-
key: "
|
|
196
|
+
key: "62062576c3a87c3dc1c9a81e962e4ed17b1d88e4",
|
|
197
197
|
class: "header-content",
|
|
198
198
|
id: this.titleId,
|
|
199
199
|
onClick: this.collapsible && this.onHeaderClick
|
|
200
200
|
}, r && i("h2", {
|
|
201
|
-
key: "
|
|
201
|
+
key: "e271f9fb1ef49db1a92d5573508b80fe5a1f90b4",
|
|
202
202
|
class: "title"
|
|
203
203
|
}, c(this.label)), i("div", {
|
|
204
|
-
key: "
|
|
204
|
+
key: "c551740a3a5c0b7cb1d641e0901d7f2513fb8113",
|
|
205
205
|
ref: t => this.headerSlotWrapper = t,
|
|
206
206
|
class: "header-slot-wrapper"
|
|
207
207
|
}, i("slot", {
|
|
208
|
-
key: "
|
|
208
|
+
key: "28a448d66c616084273625c1aff12f9f0572f1a0",
|
|
209
209
|
ref: t => this.headerSlot = t,
|
|
210
210
|
name: "q2-section-header"
|
|
211
211
|
}))), this.collapsible && !this.noCollapseIcon && i("q2-btn", {
|
|
212
|
-
key: "
|
|
212
|
+
key: "47d51785b31b5193c7dd9bf3b77e14bbc033841a",
|
|
213
213
|
label: c(this.label || "tecton.element.section.defaultToggleLabel"),
|
|
214
214
|
ariaExpanded: `${!!this.expanded}`,
|
|
215
215
|
ariaControls: this.contentId,
|
|
@@ -217,10 +217,10 @@ const p = class {
|
|
|
217
217
|
"hide-label": true,
|
|
218
218
|
onClick: this.onHeaderClick
|
|
219
219
|
}, i("q2-icon", {
|
|
220
|
-
key: "
|
|
220
|
+
key: "aaf00f646fb955ef54af0e9137683ca7798702cf",
|
|
221
221
|
type: "chevron-up"
|
|
222
222
|
}))), i("div", {
|
|
223
|
-
key: "
|
|
223
|
+
key: "a271132f91f52fb9b9fd6074d17dd06d49ac37bb",
|
|
224
224
|
class: e.join(" "),
|
|
225
225
|
id: this.contentId,
|
|
226
226
|
"aria-labelledby": this.titleId,
|
|
@@ -230,12 +230,12 @@ const p = class {
|
|
|
230
230
|
height: this.contentHeight
|
|
231
231
|
}
|
|
232
232
|
}, i("div", {
|
|
233
|
-
key: "
|
|
233
|
+
key: "8b283ad5652d583666c9106e920e8854a2a706f1",
|
|
234
234
|
ref: t => this.contentContainer = t,
|
|
235
235
|
class: "content",
|
|
236
236
|
tabindex: "-1"
|
|
237
237
|
}, i("slot", {
|
|
238
|
-
key: "
|
|
238
|
+
key: "53803361cff5de900da3e2669d564eda1d5bfb35",
|
|
239
239
|
ref: t => this.contentSlot = t
|
|
240
240
|
}))));
|
|
241
241
|
}
|
|
@@ -623,17 +623,17 @@ const v = class {
|
|
|
623
623
|
render() {
|
|
624
624
|
var t;
|
|
625
625
|
return i("click-elsewhere", {
|
|
626
|
-
key: "
|
|
626
|
+
key: "2ef0c7239d7b33f9cce714e3cf0647ff9e947bde",
|
|
627
627
|
class: this.wrapperClasses,
|
|
628
628
|
onChange: this.clickedElsewhere
|
|
629
629
|
}, i("div", {
|
|
630
|
-
key: "
|
|
630
|
+
key: "3c787cbd45aaf3e9a184cccec58ba8b61c5dba1c",
|
|
631
631
|
"aria-live": "polite",
|
|
632
632
|
"aria-atomic": "true",
|
|
633
633
|
role: "status",
|
|
634
634
|
class: "sr"
|
|
635
635
|
}, this.statusMessage), i("q2-input", {
|
|
636
|
-
key: "
|
|
636
|
+
key: "8fefa7f567d571f4e3a80f5ba8274ecf60e5ab32",
|
|
637
637
|
ref: t => this.inputField = t,
|
|
638
638
|
class: "q2-select-input",
|
|
639
639
|
label: this.label && o(this.label) || "",
|
|
@@ -662,12 +662,12 @@ const v = class {
|
|
|
662
662
|
_role: "combobox",
|
|
663
663
|
_preventEntry: !this.searchable
|
|
664
664
|
}, this.renderCustomDisplay()), i("div", {
|
|
665
|
-
key: "
|
|
665
|
+
key: "875be4ff0cf304bfe81ff8c29c4508bd47d0ff33",
|
|
666
666
|
class: "custom-display-content",
|
|
667
667
|
hidden: !this.hasCustomDisplay || !!this.searchText,
|
|
668
668
|
onClick: this.onCustomDisplayClick
|
|
669
669
|
}, i("slot", {
|
|
670
|
-
key: "
|
|
670
|
+
key: "48e9f6f0e9e9cb26835a4c32f0e960ad162688b4",
|
|
671
671
|
name: "q2-select-display"
|
|
672
672
|
})), this.renderOptionsDropdown());
|
|
673
673
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, c as t, h as i, F as s, H as n, g as a } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { c as o, n as
|
|
3
|
+
import { c as o, n as h, l as d } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const c = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block;position:relative}";
|
|
6
6
|
|
|
@@ -58,7 +58,7 @@ const l = class {
|
|
|
58
58
|
}
|
|
59
59
|
checkForActiveChildren() {
|
|
60
60
|
if (!this.showWithChildren) return;
|
|
61
|
-
|
|
61
|
+
h((() => {
|
|
62
62
|
setTimeout((() => {
|
|
63
63
|
this.isChildActive = !!this.hostElement.querySelector("[slot='children'] > q2-stepper-pane[is-active]");
|
|
64
64
|
}));
|
|
@@ -77,30 +77,30 @@ const l = class {
|
|
|
77
77
|
render() {
|
|
78
78
|
const {label: e, isActive: t} = this;
|
|
79
79
|
return i(n, {
|
|
80
|
-
key: "
|
|
80
|
+
key: "099f264e941e013c0533c52b4e573852a0ae6ea3",
|
|
81
81
|
role: "listitem"
|
|
82
82
|
}, i(s, {
|
|
83
|
-
key: "
|
|
83
|
+
key: "20d1d11ba4fcf3f915922d35095b151b94f16480"
|
|
84
84
|
}, i("div", {
|
|
85
|
-
key: "
|
|
86
|
-
"aria-label": e &&
|
|
85
|
+
key: "cb3c1c97ac77d96ce0299138c067dd62df759636",
|
|
86
|
+
"aria-label": e && d(e),
|
|
87
87
|
tabindex: "0",
|
|
88
88
|
hidden: !t && !(this.isChildActive && this.showWithChildren)
|
|
89
89
|
}, i("slot", {
|
|
90
|
-
key: "
|
|
90
|
+
key: "fd87a5838f6011c1bb04386397899a45d8e9078e"
|
|
91
91
|
})), i("div", {
|
|
92
|
-
key: "
|
|
92
|
+
key: "1b0b6697f2fd732df2fef3f0c41b8b10a56c183e",
|
|
93
93
|
hidden: true
|
|
94
94
|
}, i("slot", {
|
|
95
|
-
key: "
|
|
95
|
+
key: "168bd3a7e57a4fe43fec897c4e758b92dc505971",
|
|
96
96
|
name: "label",
|
|
97
97
|
onSlotchange: () => this.contentChange.emit()
|
|
98
98
|
}), i("slot", {
|
|
99
|
-
key: "
|
|
99
|
+
key: "2052ed532f9f27aa562b10502c88d1d583d1d73b",
|
|
100
100
|
name: "description",
|
|
101
101
|
onSlotchange: () => this.contentChange.emit()
|
|
102
102
|
})), i("slot", {
|
|
103
|
-
key: "
|
|
103
|
+
key: "8e6532c40ef987227a81729029e1e1d00329210a",
|
|
104
104
|
name: "children"
|
|
105
105
|
})));
|
|
106
106
|
}
|