q2-tecton-elements 1.55.2 → 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 +304 -318
- 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-loc.cjs.entry.js +0 -4
- package/dist/cjs/q2-loc.cjs.entry.js.map +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-loc/q2-loc.js +0 -10
- package/dist/collection/components/q2-loc/q2-loc.js.map +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-loc.js +0 -4
- package/dist/components/q2-loc.js.map +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-loc.entry.js +0 -4
- package/dist/esm/q2-loc.entry.js.map +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-loc.entry.js +8 -14
- package/dist/q2-tecton-elements/q2-loc.entry.js.map +1 -1
- 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/collection/components/q2-loc/q2-loc.css +0 -70
- 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
|
@@ -106,44 +106,44 @@ const d = class {
|
|
|
106
106
|
render() {
|
|
107
107
|
const {clickable: t} = this;
|
|
108
108
|
return e("div", {
|
|
109
|
-
key: "
|
|
109
|
+
key: "4afba65f3586f010f5e6f6faa72ab04d6ec79fb8",
|
|
110
110
|
"test-id": "itemContainer",
|
|
111
111
|
class: this.itemClasses,
|
|
112
112
|
ref: t => this.itemElement = t,
|
|
113
113
|
role: t ? "button" : undefined,
|
|
114
114
|
tabIndex: t ? 0 : undefined
|
|
115
115
|
}, this.hasBulletSlotContent && e("div", {
|
|
116
|
-
key: "
|
|
116
|
+
key: "778ec58acfdc9a57662cb070028c5efbaced8056",
|
|
117
117
|
class: this.bulletClasses
|
|
118
118
|
}, e("slot", {
|
|
119
|
-
key: "
|
|
119
|
+
key: "6429ec996adb7b400f7dbc37e66196394b2e4c5d",
|
|
120
120
|
name: "bullet"
|
|
121
121
|
})), e("div", {
|
|
122
|
-
key: "
|
|
122
|
+
key: "2a81129ad24d95857183c72813d60eb785ee1b2d",
|
|
123
123
|
class: this.mainClasses
|
|
124
124
|
}, this.hasHeaderSlotContent && e("div", {
|
|
125
|
-
key: "
|
|
125
|
+
key: "53315a1d62bc8ffc6f2f910e881659d61c670fbf",
|
|
126
126
|
class: "header"
|
|
127
127
|
}, e("slot", {
|
|
128
|
-
key: "
|
|
128
|
+
key: "a11063eda67cd353a7742397a4701c7939193d09",
|
|
129
129
|
name: "header"
|
|
130
130
|
})), this.hasBodySlotContent && e("div", {
|
|
131
|
-
key: "
|
|
131
|
+
key: "903998a8a296b11c60ce105b6bb181badee3580c",
|
|
132
132
|
class: "body"
|
|
133
133
|
}, e("slot", {
|
|
134
|
-
key: "
|
|
134
|
+
key: "c47b8387918feea518d56b25d2f4770a1cae9c00",
|
|
135
135
|
name: "body"
|
|
136
136
|
}))), this.hasActionSlotContent && e("div", {
|
|
137
|
-
key: "
|
|
137
|
+
key: "7b44a3c72b6d8cca1b409b9a37764a317ba8acb7",
|
|
138
138
|
class: this.actionClasses
|
|
139
139
|
}, e("slot", {
|
|
140
|
-
key: "
|
|
140
|
+
key: "ea50fb238aeae9c96276cf53234cfe2bdea55b42",
|
|
141
141
|
name: "action"
|
|
142
142
|
})), this.hasFooterSlotContent && e("div", {
|
|
143
|
-
key: "
|
|
143
|
+
key: "636e87198073af605443840a79ef2640ad7d4552",
|
|
144
144
|
class: this.footerClasses
|
|
145
145
|
}, e("slot", {
|
|
146
|
-
key: "
|
|
146
|
+
key: "9b9112e049d8e6f2d5983ad499ad27ee6ec08b14",
|
|
147
147
|
name: "footer"
|
|
148
148
|
})));
|
|
149
149
|
}
|
|
@@ -154,9 +154,9 @@ const d = class {
|
|
|
154
154
|
|
|
155
155
|
d.style = s;
|
|
156
156
|
|
|
157
|
-
const
|
|
157
|
+
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:inline-block}:host:active{box-shadow:none}.link-container{--comp-link-font-bold-stroke-width:0.5px;background:transparent;border:none;font-size:var(--tct-link-font-size, inherit);font-weight:var(--tct-link-font-weight, inherit)}.link-container.standalone{--comp-icon-stroke:var(--tct-link-icon-stroke-width, 1.5)}.link-container.standalone .link{color:var(--tct-link-color-standalone, var(--t-primary));height:var(--tct-link-height, 24px);display:flex;align-items:center;--tct-icon-size:16px;text-decoration:none}.link-container.standalone .link q2-icon{margin-left:var(--tct-link-label-icon-gap, 6px)}.link-container.standalone:hover{text-decoration:underline;-webkit-text-stroke-width:var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));text-stroke-width:var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));--tct-icon-stroke-width:calc(var(--comp-icon-stroke) + 0.5)}.link-container.standalone:active:hover{text-decoration:underline;-webkit-text-stroke-width:var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));text-stroke-width:var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));--tct-icon-stroke-width:calc(var(--comp-icon-stroke) + 0.5)}.link-container.standalone:active:hover .link{color:var(--tct-link-color-standalone-active, var(--t-primary-d2));box-shadow:none}.link-container.standalone.disabled .link{cursor:not-allowed;color:var(--tct-link-color-standalone-disabled, var(--t-primary));opacity:0.5;text-decoration:none}.link-container.standalone.disabled:hover{text-decoration:none}.link-container.inline{margin:0 var(--tct-link-side-margin, 6px);text-decoration:underline;color:var(--tct-link-color-inline, var(--t-primary))}.link-container.inline:hover{-webkit-text-stroke-width:var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));text-stroke-width:var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width))}.link-container.inline:active:hover{-webkit-text-stroke-width:var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));text-stroke-width:var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));color:var(--tct-link-color-inline-active, var(--t-primary-d2));box-shadow:none}.link-container.inline.disabled{cursor:not-allowed;opacity:0.5}.link-container.inline:focus-visible .link-container.inline{box-shadow:var(--const-double-focus-ring)}";
|
|
158
158
|
|
|
159
|
-
const
|
|
159
|
+
const l = c;
|
|
160
160
|
|
|
161
161
|
const h = class {
|
|
162
162
|
constructor(e) {
|
|
@@ -232,7 +232,7 @@ const h = class {
|
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
234
|
|
|
235
|
-
h.style =
|
|
235
|
+
h.style = l;
|
|
236
236
|
|
|
237
237
|
const p = "*{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}*{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([bordered]:not([bordered=false])) ::slotted(q2-item:not(:last-child)),:host([bordered]:not([bordered=false])) .header{border-style:var(--tct-list-item-border-style, solid);border-width:var(--tct-list-item-border-width, 0 0 1px 0);border-color:var(--tct-list-item-border-color, var(--t-gray-12, #d9d9d9))}::slotted(q2-item){--comp-item-padding:var(--tct-list-item-padding, var(--app-scale-2x, 10px) var(--app-scale-4x, 20px));--tct-item-padding:var(--comp-item-padding)}.header{--comp-default-header-padding:0 var(--app-scale-4x, 20px);display:flex;gap:var(--app-scale-3x, 12px);padding:var(--tct-list-header-padding, var(--comp-default-header-padding));min-height:var(--tct-list-header-min-height, var(--t-list-header-min-height, 44px))}.header-spacebetween{justify-content:space-between}.header-start{justify-content:flex-start}.header-end{justify-content:flex-end}.header .label{width:100%;height:var(--tct-list-label-height, 44px);line-height:var(--tct-list-label-line-height, 44px);font-size:var(--tct-list-label-font-size, var(--app-font-size, 14px));font-weight:var(--tct-list-label-font-weight, 600);color:var(--tct-list-label-font-color, var(--t-text, #4d4d4d))}slot:not([name]){display:flex;flex-direction:column;gap:var(--tct-list-item-gap, 0)}";
|
|
238
238
|
|
|
@@ -302,23 +302,23 @@ const f = class {
|
|
|
302
302
|
// #region Render Methods
|
|
303
303
|
render() {
|
|
304
304
|
return e("div", {
|
|
305
|
-
key: "
|
|
305
|
+
key: "815b7bb01cdd74d76d2390a9e969484189682c6b",
|
|
306
306
|
class: this.listClasses,
|
|
307
307
|
ref: t => this.listElement = t
|
|
308
308
|
}, (this.hasFilterSlot || this.hasLabelContent) && e("div", {
|
|
309
|
-
key: "
|
|
309
|
+
key: "3495d4aa9461d655f0c5bf5c67ce26b320324675",
|
|
310
310
|
class: this.headerClasses
|
|
311
311
|
}, e("div", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "9b5f21524fc50f41a38b7ff234cca04142e4783b",
|
|
313
313
|
class: "label"
|
|
314
314
|
}, this.label), this.hasFilterSlot && e("slot", {
|
|
315
|
-
key: "
|
|
315
|
+
key: "4765b21b09161cad072e90f351e55d210c07a33c",
|
|
316
316
|
name: "filter"
|
|
317
317
|
})), e("div", {
|
|
318
|
-
key: "
|
|
318
|
+
key: "9157531d4ee7d3362fd23ae665dcc8f4ca28fd8d",
|
|
319
319
|
role: "list"
|
|
320
320
|
}, e("slot", {
|
|
321
|
-
key: "
|
|
321
|
+
key: "6cfa2724ee61b1b2271d673b6b71113e7bfd06e7"
|
|
322
322
|
})));
|
|
323
323
|
}
|
|
324
324
|
get hostElement() {
|
|
@@ -4,7 +4,7 @@ const n = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;bo
|
|
|
4
4
|
|
|
5
5
|
const s = n;
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const a = class {
|
|
8
8
|
constructor(i) {
|
|
9
9
|
t(this, i);
|
|
10
10
|
this.click = e(this, "click", 7);
|
|
@@ -103,10 +103,10 @@ const o = class {
|
|
|
103
103
|
// #region Render Methods
|
|
104
104
|
render() {
|
|
105
105
|
return i("click-elsewhere", {
|
|
106
|
-
key: "
|
|
106
|
+
key: "1253e1dba3334134aa16432ef4dd7e71a87d1420",
|
|
107
107
|
onChange: () => this.onClickElsewhere(this)
|
|
108
108
|
}, i("ul", {
|
|
109
|
-
key: "
|
|
109
|
+
key: "d9252af5543da55989ec69b18b4438624c39a90e"
|
|
110
110
|
}, this.dataWithClasses.map((t => i("li", {
|
|
111
111
|
class: "item"
|
|
112
112
|
}, i("button", {
|
|
@@ -140,7 +140,7 @@ const o = class {
|
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
a.style = s;
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { a as q2_legend };
|
|
146
146
|
//# sourceMappingURL=q2-legend.entry.js.map
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { r as t, g as
|
|
1
|
+
import { r as t, g as s } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as
|
|
3
|
+
import { l as i } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
|
-
const e =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const s = class {
|
|
10
|
-
constructor(i) {
|
|
11
|
-
t(this, i);
|
|
5
|
+
const e = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
t(this, s);
|
|
12
8
|
this.initMutationObserver = () => {
|
|
13
9
|
if (!("MutationObserver" in window)) return;
|
|
14
10
|
const t = new MutationObserver(this.mutationHandler);
|
|
@@ -55,7 +51,7 @@ const s = class {
|
|
|
55
51
|
return this.hostElement.textContent.trim();
|
|
56
52
|
}
|
|
57
53
|
get translatedValue() {
|
|
58
|
-
return
|
|
54
|
+
return i(this.value, this.substitutions);
|
|
59
55
|
}
|
|
60
56
|
// #endregion
|
|
61
57
|
// #region Render Methods
|
|
@@ -63,11 +59,9 @@ const s = class {
|
|
|
63
59
|
return this.translatedValue;
|
|
64
60
|
}
|
|
65
61
|
get hostElement() {
|
|
66
|
-
return
|
|
62
|
+
return s(this);
|
|
67
63
|
}
|
|
68
64
|
};
|
|
69
65
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
export { s as q2_loc };
|
|
66
|
+
export { e as q2_loc };
|
|
73
67
|
//# sourceMappingURL=q2-loc.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["Q2Loc","this","initMutationObserver","window","observer","MutationObserver","mutationHandler","observe","hostElement","childList","subtree","characterData","mutationObserver","initValue","hostTextContent","textContent","value","translatedValue","disconnectedCallback","_a","disconnect","componentWillLoad","componentDidLoad","trim","loc","substitutions","render"],"sources":["src/components/q2-loc/q2-loc.tsx"],"sourcesContent":["import { Element, Component, Prop } from '@stencil/core';\nimport { loc } from 'src/utils';\n\n@Component({ tag: 'q2-loc', shadow: false })\nexport class Q2Loc {\n // #region Own Properties\n\n mutationObserver: MutationObserver;\n\n // #endregion\n // #region Host HTML Element\n\n @Element()\n hostElement: HTMLElement;\n\n // #endregion\n // #region Public Property API\n\n /** Any substitutions you would like to pass into the localization string. */\n @Prop()\n substitutions: string[];\n\n /**\n * The reference to the localization key you would like to display the localized output of.\n * If no value is provided, any text inside the element will be used as a fallback.\n * @localizable\n */\n @Prop({ reflect: true, mutable: true })\n value: string;\n\n // #endregion\n // #region Component Lifecycle Events\n\n disconnectedCallback() {\n this.mutationObserver?.disconnect();\n this.mutationObserver = null;\n }\n\n componentWillLoad() {\n this.initValue();\n }\n\n componentDidLoad() {\n this.initMutationObserver();\n }\n\n // #endregion\n // #region Local Methods\n\n get hostTextContent(): string {\n return this.hostElement.textContent.trim();\n }\n\n get translatedValue(): string {\n return loc(this.value, this.substitutions);\n }\n\n initMutationObserver = () => {\n if (!('MutationObserver' in window)) return;\n const observer = new MutationObserver(this.mutationHandler);\n observer.observe(this.hostElement, { childList: true, subtree: true, characterData: true });\n this.mutationObserver = observer;\n };\n\n initValue = () => {\n const { hostTextContent } = this;\n this.hostElement.textContent = null;\n if (!this.value && hostTextContent) {\n this.value = hostTextContent;\n }\n };\n\n mutationHandler = () => {\n const { hostTextContent } = this;\n if (hostTextContent && this.translatedValue !== hostTextContent) {\n this.hostElement.textContent = null;\n this.value = hostTextContent;\n }\n };\n\n // #endregion\n // #region Render Methods\n\n render() {\n return this.translatedValue;\n }\n\n // #endregion\n}\n"],"mappings":";;;;MAIaA,IAAK;;;IAqDdC,KAAAC,uBAAuB;MACnB,MAAM,sBAAsBC,SAAS;MACrC,MAAMC,IAAW,IAAIC,iBAAiBJ,KAAKK;MAC3CF,EAASG,QAAQN,KAAKO,aAAa;QAAEC,WAAW;QAAMC,SAAS;QAAMC,eAAe;;MACpFV,KAAKW,mBAAmBR;AAAQ;IAGpCH,KAAAY,YAAY;MACR,OAAMC,iBAAEA,KAAoBb;MAC5BA,KAAKO,YAAYO,cAAc;MAC/B,KAAKd,KAAKe,SAASF,GAAiB;QAChCb,KAAKe,QAAQF;;;IAIrBb,KAAAK,kBAAkB;MACd,OAAMQ,iBAAEA,KAAoBb;MAC5B,IAAIa,KAAmBb,KAAKgB,oBAAoBH,GAAiB;QAC7Db,KAAKO,YAAYO,cAAc;QAC/Bd,KAAKe,QAAQF;;;;;;;;EA3CrB,oBAAAI;;KACIC,IAAAlB,KAAKW,sBAAgB,QAAAO,WAAA,aAAAA,EAAEC;IACvBnB,KAAKW,mBAAmB;;EAG5B,iBAAAS;IACIpB,KAAKY;;EAGT,gBAAAS;IACIrB,KAAKC;;;;EAMT,mBAAIY;IACA,OAAOb,KAAKO,YAAYO,YAAYQ;;EAGxC,mBAAIN;IACA,OAAOO,EAAIvB,KAAKe,OAAOf,KAAKwB;;;;EA6BhC,MAAAC;IACI,OAAOzB,KAAKgB"}
|
|
@@ -66,7 +66,7 @@ const d = class {
|
|
|
66
66
|
const {description: o} = this;
|
|
67
67
|
const r = n(`tecton.element.message.type.${this.type ? this.type : "info"}`);
|
|
68
68
|
return e("div", {
|
|
69
|
-
key: "
|
|
69
|
+
key: "e74bbda0808b5430f9f3533d5cfe32463c246fb7",
|
|
70
70
|
tabindex: "-1",
|
|
71
71
|
class: "message",
|
|
72
72
|
role: o ? undefined : "alert",
|
|
@@ -75,17 +75,17 @@ const d = class {
|
|
|
75
75
|
"aria-relevant": o && a ? undefined : "all",
|
|
76
76
|
"test-id": "messageContainer"
|
|
77
77
|
}, this.appearance === "standard" ? this.messageIcon(this.type) : "", s && e("div", {
|
|
78
|
-
key: "
|
|
78
|
+
key: "11f8a2db8016024dc4cd51567a6e95a1eaea8e75",
|
|
79
79
|
class: "sr"
|
|
80
80
|
}), e("div", {
|
|
81
|
-
key: "
|
|
81
|
+
key: "e6c4f2f7aff57d19e0da9f5d6240f14ae881ddb8",
|
|
82
82
|
class: "sr message-label"
|
|
83
83
|
}, r), e("div", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "e473b74d78048bc8c370f724356066e963b8667e",
|
|
85
85
|
class: "message-content",
|
|
86
86
|
"aria-hidden": a ? "true" : undefined
|
|
87
87
|
}, e("slot", {
|
|
88
|
-
key: "
|
|
88
|
+
key: "adcaf51ebf8a023b8b1d5a6556c79b3c2b64d8cc"
|
|
89
89
|
})));
|
|
90
90
|
}
|
|
91
91
|
get hostElement() {
|
|
@@ -156,62 +156,62 @@ const l = class {
|
|
|
156
156
|
const t = `interior`;
|
|
157
157
|
const i = `${this.renderStatus || ""}`;
|
|
158
158
|
return o("dialog", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "23605420f182cf36687c22f5d9a25512fe12aa1f",
|
|
160
160
|
ref: t => this.dialogElement = t,
|
|
161
161
|
class: i,
|
|
162
162
|
onClick: this.onClick
|
|
163
163
|
}, o("div", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "e0bd45778d125c39028e9a7e999b36cdd920d471",
|
|
165
165
|
class: t
|
|
166
166
|
}, this.title && o("header", {
|
|
167
|
-
key: "
|
|
167
|
+
key: "4658009b1bd010941c7d3128306ab44a1da80194"
|
|
168
168
|
}, this.title && o("h2", {
|
|
169
|
-
key: "
|
|
169
|
+
key: "ec33e00aa837cd0033f3a5f84f292ee7fb59fb45",
|
|
170
170
|
class: "title"
|
|
171
171
|
}, this.title), !!this.closable && o("q2-btn", {
|
|
172
|
-
key: "
|
|
172
|
+
key: "19a02dda7a62729b20d79d7b380ac5225427a25b",
|
|
173
173
|
class: "btn-close",
|
|
174
174
|
"test-id": "btnClose",
|
|
175
175
|
onClick: this.onCancel,
|
|
176
176
|
label: "tecton.element.modal.close",
|
|
177
177
|
"hide-label": true
|
|
178
178
|
}, o("q2-icon", {
|
|
179
|
-
key: "
|
|
179
|
+
key: "513d17ba802c6681ec399e44fc07180568695cfb",
|
|
180
180
|
type: "close"
|
|
181
181
|
}))), o("div", {
|
|
182
|
-
key: "
|
|
182
|
+
key: "d291afd421f5a4f4bcccb1e7762cf633f84ffce2",
|
|
183
183
|
class: "content",
|
|
184
184
|
ref: t => this.contentElement = t
|
|
185
185
|
}, this.icon && o("div", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "3e4256c22f6b1a0c4da33c6e950ad682115c0be8",
|
|
187
187
|
class: "icon"
|
|
188
188
|
}, o("q2-icon", {
|
|
189
|
-
key: "
|
|
189
|
+
key: "9440c8af3d66157a1f66dbdbc15490e61d086ca8",
|
|
190
190
|
type: this.icon,
|
|
191
191
|
style: this.iconStyle()
|
|
192
192
|
})), this.imageSrc && o("div", {
|
|
193
|
-
key: "
|
|
193
|
+
key: "a6a8451fea0accc0ebf1236bce6581db59af53e8",
|
|
194
194
|
class: "image"
|
|
195
195
|
}, o("img", {
|
|
196
|
-
key: "
|
|
196
|
+
key: "a512e1803682e81187647ecddc8ac77d0d07240c",
|
|
197
197
|
src: this.imageSrc
|
|
198
198
|
})), s(this.hostElement, "content") && o("slot", {
|
|
199
|
-
key: "
|
|
199
|
+
key: "128d28110b50319c978b96598f73b204a8b36c68",
|
|
200
200
|
name: "content"
|
|
201
201
|
}), this.description && o("p", {
|
|
202
|
-
key: "
|
|
202
|
+
key: "498bc624e6187e76365d03e50ad7aeaed23c9a18",
|
|
203
203
|
class: "description"
|
|
204
204
|
}, this.description), this.customMarkup && o("p", {
|
|
205
|
-
key: "
|
|
205
|
+
key: "68c58bc1abbf26ed2729fd420b56db3e8b8cce10",
|
|
206
206
|
class: "customMarkup",
|
|
207
207
|
innerHTML: d(this.customMarkup)
|
|
208
208
|
})), o("footer", {
|
|
209
|
-
key: "
|
|
209
|
+
key: "090a95b0eae17b929781cea8292cc531f67f0cb7"
|
|
210
210
|
}, o("q2-action-group", {
|
|
211
|
-
key: "
|
|
211
|
+
key: "f2b72a7b97df9771be3eeb7d09d8baca6522a2f6",
|
|
212
212
|
"full-width": true
|
|
213
213
|
}, o("slot", {
|
|
214
|
-
key: "
|
|
214
|
+
key: "b6eca7b862e41fecd08516ade207a6d444c08ed3",
|
|
215
215
|
name: "action"
|
|
216
216
|
})))));
|
|
217
217
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as n, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as
|
|
3
|
+
import { l as i, o as a } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const r = "*{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}.month-container{--comp-month-primary-background:var(--tct-btn-primary-background, var(--tct-btn-primary-bg, var(--t-btn-primary-bg, #2e2e2e)));--comp-month-primary-font-color:var(--tct-btn-primary-font-color, var(--t-btn-primary-font-color, var(--tct-white, var(--app-white, #ffffff))));--comp-month-primary-background:var(--tct-btn-secondary-background, var(--tct-btn-secondary-bg, var(--t-button-default-bg, #cccccc)));--comp-month-secondary-font-color:var(--tct-btn-secondary-font-color, var(--t-btn-secondary-font-color, var(--t-button-default-font-color, #2e2e2e)))}.month-container .navigation{display:flex;justify-content:space-between;flex-direction:row}.month-container .navigation .year-btn{padding:0 1rem;display:flex;align-items:center}.month-container .navigation .year-btn .year{margin-right:0.2rem}.month-container .navigation .year-btn .year-icon{--t-icon-stroke-width:2px;width:16px;height:16px;transition:all 0.3s ease-in-out}.month-container .navigation .year-btn .year-icon.on{transform:rotate(-180deg)}.month-container .navigation .month-controller{display:flex;align-items:center}.month-container .month-list{display:grid;grid-template-columns:auto auto auto}.month-container .month-list .month{display:flex;justify-content:center;align-items:center;padding:0.5rem 0}.month-container .month-list .month .month-button{border-radius:50%;aspect-ratio:1;width:50px;display:flex;justify-content:center;align-items:center}.month-container .month-list .month .month-button:hover{background:var(--comp-month-primary-background);color:var(--comp-month-secondary-font-color);cursor:pointer}.month-container .month-list .month .month-button:active,.month-container .month-list .month .month-button.active{background:var(--comp-month-primary-background);color:var(--comp-month-primary-font-color)}.month-container .today-label{padding:0.5rem 0;color:var(--tct-calendar-day-selected-outline-color, var(--t-calendar-day-selected-outline-color, var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))))}";
|
|
6
6
|
|
|
@@ -14,8 +14,8 @@ const s = class {
|
|
|
14
14
|
// #region Own Properties
|
|
15
15
|
this.monthGrid = [ [ 0, 1, 2 ], [ 3, 4, 5 ], [ 6, 7, 8 ], [ 9, 10, 11 ] ];
|
|
16
16
|
this.months = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ].map((t => ({
|
|
17
|
-
label:
|
|
18
|
-
abbr:
|
|
17
|
+
label: i(`tecton.element.calendar.months.${t}`),
|
|
18
|
+
abbr: i(`tecton.element.calendar.months.abbr.${t}`)
|
|
19
19
|
})));
|
|
20
20
|
this.scheduledAfterRender = [];
|
|
21
21
|
// #endregion
|
|
@@ -29,10 +29,10 @@ const s = class {
|
|
|
29
29
|
};
|
|
30
30
|
this.moveMonth = (t, e, n) => {
|
|
31
31
|
const o = t.length;
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const r = e %
|
|
35
|
-
const c = [
|
|
32
|
+
const i = t[0].length;
|
|
33
|
+
const a = Math.floor(e / i);
|
|
34
|
+
const r = e % i;
|
|
35
|
+
const c = [ a, r ];
|
|
36
36
|
if (n.key === "ArrowUp") {
|
|
37
37
|
n.stopPropagation();
|
|
38
38
|
n.preventDefault();
|
|
@@ -82,11 +82,11 @@ const s = class {
|
|
|
82
82
|
var e, n, o;
|
|
83
83
|
this.selectedIndex = t;
|
|
84
84
|
this.focusedIndex = t;
|
|
85
|
-
const
|
|
85
|
+
const i = this.hostElement.shadowRoot.querySelector(`.month-button[data-index="${t}"]`);
|
|
86
86
|
(e = this.hostElement.shadowRoot.querySelectorAll(`.month-button`)) === null || e === void 0 ? void 0 : e.forEach((t => t.classList.remove("active")));
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const
|
|
87
|
+
i === null || i === void 0 ? void 0 : i.classList.add("active");
|
|
88
|
+
i === null || i === void 0 ? void 0 : i.focus();
|
|
89
|
+
const a = {
|
|
90
90
|
view: "day",
|
|
91
91
|
// change to day view
|
|
92
92
|
monthIndex: t,
|
|
@@ -94,9 +94,9 @@ const s = class {
|
|
|
94
94
|
};
|
|
95
95
|
(o = (n = this.hostElement).onchange) === null || o === void 0 ? void 0 : o.call(n, new CustomEvent("click", {
|
|
96
96
|
bubbles: true,
|
|
97
|
-
detail:
|
|
97
|
+
detail: a
|
|
98
98
|
}));
|
|
99
|
-
this.viewChange.emit(
|
|
99
|
+
this.viewChange.emit(a);
|
|
100
100
|
};
|
|
101
101
|
this.selectYear = t => {
|
|
102
102
|
this.year = Math.max(1970, t);
|
|
@@ -113,7 +113,7 @@ const s = class {
|
|
|
113
113
|
// #endregion
|
|
114
114
|
// #region Component Lifecycle Events
|
|
115
115
|
componentDidLoad() {
|
|
116
|
-
|
|
116
|
+
a(this.hostElement);
|
|
117
117
|
}
|
|
118
118
|
componentDidRender() {
|
|
119
119
|
var t;
|
|
@@ -124,54 +124,54 @@ const s = class {
|
|
|
124
124
|
// #region Render Methods
|
|
125
125
|
render() {
|
|
126
126
|
return n("div", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "ef6f597bba438aaab680e81a46ead6824194be0b",
|
|
128
128
|
class: "month-container",
|
|
129
129
|
onKeyDown: this.onMonthKeydown
|
|
130
130
|
}, n("div", {
|
|
131
|
-
key: "
|
|
131
|
+
key: "47704b17e8e57736008bef75949940f45d9904f4",
|
|
132
132
|
class: "navigation"
|
|
133
133
|
}, n("q2-btn", {
|
|
134
|
-
key: "
|
|
134
|
+
key: "b93c143037130d7e7045ac0b6f9c3c9998b8fb71",
|
|
135
135
|
class: "year-btn",
|
|
136
136
|
onClick: () => this.viewChange.emit({
|
|
137
137
|
view: "year",
|
|
138
138
|
selectedYear: this.year
|
|
139
139
|
})
|
|
140
140
|
}, n("span", {
|
|
141
|
-
key: "
|
|
141
|
+
key: "5a955a89a4d24dca59bd3edcecdb3a183c6ee266",
|
|
142
142
|
class: "year"
|
|
143
143
|
}, this.year), n("q2-icon", {
|
|
144
|
-
key: "
|
|
144
|
+
key: "b1edd309501caa293294d1768324672737d7486b",
|
|
145
145
|
class: "year-icon off",
|
|
146
146
|
type: "chevron-down"
|
|
147
147
|
})), n("div", {
|
|
148
|
-
key: "
|
|
148
|
+
key: "307a38769bc318dc2b60f0c71cb50699d23c0b74",
|
|
149
149
|
class: "month-controller"
|
|
150
150
|
}, n("div", {
|
|
151
|
-
key: "
|
|
151
|
+
key: "e4248e62e113e5984220ebdb065c682b1e049214",
|
|
152
152
|
class: "cal-year-prev-next"
|
|
153
153
|
}, n("q2-btn", {
|
|
154
|
-
key: "
|
|
155
|
-
label:
|
|
154
|
+
key: "05845d8ec8daf805acb89f34867a0d6bba84b35f",
|
|
155
|
+
label: i("tecton.element.calendar.previousYear"),
|
|
156
156
|
"hide-label": true,
|
|
157
157
|
class: "cal-nav-btn prev-year",
|
|
158
158
|
"test-id": "previousYearButton",
|
|
159
159
|
onClick: () => this.selectYear(this.year - 1)
|
|
160
160
|
}, n("q2-icon", {
|
|
161
|
-
key: "
|
|
161
|
+
key: "e986148af0f9952a60910669e5b39280d31bc3bd",
|
|
162
162
|
type: "arrow-left"
|
|
163
163
|
})), n("q2-btn", {
|
|
164
|
-
key: "
|
|
165
|
-
label:
|
|
164
|
+
key: "f1f05af3e9e4b570d738e91dbdbb6560e69c171b",
|
|
165
|
+
label: i("tecton.element.calendar.nextYear"),
|
|
166
166
|
"hide-label": true,
|
|
167
167
|
class: "cal-nav-btn next-year",
|
|
168
168
|
"test-id": "nextYearButton",
|
|
169
169
|
onClick: () => this.selectYear(this.year + 1)
|
|
170
170
|
}, n("q2-icon", {
|
|
171
|
-
key: "
|
|
171
|
+
key: "0a4d0689881d13b43be98df62bd96b008c88b891",
|
|
172
172
|
type: "arrow-right"
|
|
173
173
|
}))))), n("div", {
|
|
174
|
-
key: "
|
|
174
|
+
key: "f80c97d98668100e9e086f5d665e881127ddd39d",
|
|
175
175
|
class: "month-list",
|
|
176
176
|
onClick: this.onMonthSelection
|
|
177
177
|
}, this.months.map(((t, e) => n("div", {
|
|
@@ -183,9 +183,9 @@ const s = class {
|
|
|
183
183
|
"aria-label": t.label,
|
|
184
184
|
tabindex: e === this.focusedIndex ? 0 : -1
|
|
185
185
|
}, t.abbr))))), this.today && n("div", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "83ddc501e823cf58e07784cae545a1a473ae263c",
|
|
187
187
|
class: "today-label"
|
|
188
|
-
},
|
|
188
|
+
}, i("tecton.element.calendar.today"), ": ", this.today));
|
|
189
189
|
}
|
|
190
190
|
get hostElement() {
|
|
191
191
|
return o(this);
|
|
@@ -56,20 +56,20 @@ const p = class {
|
|
|
56
56
|
// #region Render Methods
|
|
57
57
|
render() {
|
|
58
58
|
return e("div", {
|
|
59
|
-
key: "
|
|
59
|
+
key: "ac0997f3f9bd1b65dced4ac274c3f51a72b41858",
|
|
60
60
|
class: "q2-optgroup-container",
|
|
61
61
|
hidden: this.hidden,
|
|
62
62
|
"aria-labelledby": this.headerId,
|
|
63
63
|
role: "group"
|
|
64
64
|
}, e("div", {
|
|
65
|
-
key: "
|
|
65
|
+
key: "a5b2c9d4c9e506f925fad95b272994516e8a6e39",
|
|
66
66
|
class: "q2-optgroup-header",
|
|
67
67
|
id: this.headerId
|
|
68
68
|
}, this.label && a(this.label) || ""), e("div", {
|
|
69
|
-
key: "
|
|
69
|
+
key: "bbbb697d598f71a7cf2ced1a59fbba713c9a7986",
|
|
70
70
|
class: "q2-optgroup-options"
|
|
71
71
|
}, e("slot", {
|
|
72
|
-
key: "
|
|
72
|
+
key: "8e7fef13eb234ce7104fa4ce8227cf7792f4f9b6"
|
|
73
73
|
})));
|
|
74
74
|
}
|
|
75
75
|
get hostElement() {
|
|
@@ -566,14 +566,14 @@ const f = class {
|
|
|
566
566
|
// #region Render Methods
|
|
567
567
|
render() {
|
|
568
568
|
return i(s, {
|
|
569
|
-
key: "
|
|
569
|
+
key: "608fc11b974c992855405ddd47cb340bde6be3dc"
|
|
570
570
|
}, i("div", {
|
|
571
|
-
key: "
|
|
571
|
+
key: "a1cc689919b7099c559aa372adade9973aaad1d3",
|
|
572
572
|
class: "content",
|
|
573
573
|
ref: t => this.contentElement = t,
|
|
574
574
|
onFocusout: this.focusoutHandler
|
|
575
575
|
}, i("div", {
|
|
576
|
-
key: "
|
|
576
|
+
key: "b68880e08145e4f055736b1e08d9e2da22cb10ef",
|
|
577
577
|
class: "options",
|
|
578
578
|
"aria-label": r("tecton.element.optionList.label", [ this.label ]),
|
|
579
579
|
"aria-multiselectable": `${!!this.multiple}`,
|
|
@@ -581,7 +581,7 @@ const f = class {
|
|
|
581
581
|
onKeyDown: this.internalKeydownHandler,
|
|
582
582
|
onClick: this.clickHandler
|
|
583
583
|
}, i("slot", {
|
|
584
|
-
key: "
|
|
584
|
+
key: "3b0cf3b91296b54c060d0ab23b99dbe0630b6336"
|
|
585
585
|
}))));
|
|
586
586
|
}
|
|
587
587
|
get hostElement() {
|
|
@@ -878,17 +878,17 @@ const w = class {
|
|
|
878
878
|
if (this.show) t.push("show");
|
|
879
879
|
if (this.mode === "legacy") t.push("legacy");
|
|
880
880
|
return i("div", {
|
|
881
|
-
key: "
|
|
881
|
+
key: "7f8b390b6a1e7fd2b17603fb803591fd1cb62ba4",
|
|
882
882
|
ref: t => this.containerElement = t,
|
|
883
883
|
class: t.join(" "),
|
|
884
884
|
"test-id": "outerContainer",
|
|
885
885
|
tabIndex: -1
|
|
886
886
|
}, i("div", {
|
|
887
|
-
key: "
|
|
887
|
+
key: "878b6b01de37233ce5cd9f36b694fad89d599b3e",
|
|
888
888
|
ref: t => this.contentElement = t,
|
|
889
889
|
class: "content"
|
|
890
890
|
}, i("slot", {
|
|
891
|
-
key: "
|
|
891
|
+
key: "83b9de3b4fe050d82d9473cc098bd599fe5c645b"
|
|
892
892
|
})));
|
|
893
893
|
}
|
|
894
894
|
get hostElement() {
|