q2-tecton-elements 1.67.1 → 1.67.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +23 -68
- package/dist/cjs/click-elsewhere.q2-option-list.q2-popover.entry.cjs.js.map +1 -1
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +17 -28
- package/dist/cjs/click-elsewhere_3.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- 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-card-image.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.q2-tag.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +41 -11
- package/dist/cjs/q2-checkbox_2.cjs.entry.js.map +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-input.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-meter.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-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-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-vertical.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- 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 +5 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +45 -10
- package/dist/collection/components/q2-checkbox/q2-checkbox.js.map +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-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 +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +1 -1
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +17 -48
- package/dist/collection/components/q2-popover/q2-popover.js.map +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 +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +42 -11
- package/dist/components/q2-checkbox2.js.map +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-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-meter.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +17 -29
- package/dist/components/q2-popover2.js.map +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-vertical.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-tab-container.js +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag2.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/click-elsewhere.q2-option-list.q2-popover.entry.js.map +1 -1
- package/dist/esm/click-elsewhere_3.entry.js +17 -28
- package/dist/esm/click-elsewhere_3.entry.js.map +1 -1
- package/dist/esm/loader.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-card-image.entry.js +2 -2
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.q2-tag.entry.js.map +1 -1
- package/dist/esm/q2-checkbox_2.entry.js +41 -11
- package/dist/esm/q2-checkbox_2.entry.js.map +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-input.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-meter.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-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +1 -1
- package/dist/esm/q2-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-vertical.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +1 -1
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/click-elsewhere.q2-option-list.q2-popover.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +32 -39
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js.map +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 +40 -40
- package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-card-image.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +6 -6
- 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 +6 -6
- package/dist/q2-tecton-elements/q2-checkbox.q2-tag.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +70 -28
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-context.entry.js +15 -15
- 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 +17 -17
- 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 +7 -7
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-input.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-item.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-message.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-meter.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-modal.entry.js +46 -46
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +30 -30
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-pagination.entry.js +26 -26
- package/dist/q2-tecton-elements/q2-pill.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +21 -21
- 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 +21 -21
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-stepper.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +8 -1
- package/dist/types/components/q2-popover/q2-popover.d.ts +0 -6
- package/dist/types/components.d.ts +0 -10
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as n, g as o } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
|
-
import { l as
|
|
3
|
+
import { l as i, o as a } from "./index-C4PILj1_.js";
|
|
4
4
|
|
|
5
5
|
const r = "*{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}.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
|
|
|
@@ -12,8 +12,8 @@ const c = class {
|
|
|
12
12
|
// #region Own Properties
|
|
13
13
|
this.monthGrid = [ [ 0, 1, 2 ], [ 3, 4, 5 ], [ 6, 7, 8 ], [ 9, 10, 11 ] ];
|
|
14
14
|
this.months = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ].map((t => ({
|
|
15
|
-
label:
|
|
16
|
-
abbr:
|
|
15
|
+
label: i(`tecton.element.calendar.months.${t}`),
|
|
16
|
+
abbr: i(`tecton.element.calendar.months.abbr.${t}`)
|
|
17
17
|
})));
|
|
18
18
|
this.scheduledAfterRender = [];
|
|
19
19
|
// #endregion
|
|
@@ -35,10 +35,10 @@ const c = class {
|
|
|
35
35
|
};
|
|
36
36
|
this.moveMonth = (t, e, n) => {
|
|
37
37
|
const o = t.length;
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const r = e %
|
|
41
|
-
const c = [
|
|
38
|
+
const i = t[0].length;
|
|
39
|
+
const a = Math.floor(e / i);
|
|
40
|
+
const r = e % i;
|
|
41
|
+
const c = [ a, r ];
|
|
42
42
|
if (n.key === "ArrowUp") {
|
|
43
43
|
n.stopPropagation();
|
|
44
44
|
n.preventDefault();
|
|
@@ -88,11 +88,11 @@ const c = class {
|
|
|
88
88
|
var e, n, o;
|
|
89
89
|
this.selectedIndex = t;
|
|
90
90
|
this.focusedIndex = t;
|
|
91
|
-
const
|
|
91
|
+
const i = this.hostElement.shadowRoot.querySelector(`.month-button[data-index="${t}"]`);
|
|
92
92
|
(e = this.hostElement.shadowRoot.querySelectorAll(`.month-button`)) === null || e === void 0 ? void 0 : e.forEach((t => t.classList.remove("active")));
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
const
|
|
93
|
+
i === null || i === void 0 ? void 0 : i.classList.add("active");
|
|
94
|
+
i === null || i === void 0 ? void 0 : i.focus();
|
|
95
|
+
const a = {
|
|
96
96
|
view: "day",
|
|
97
97
|
// change to day view
|
|
98
98
|
monthIndex: t,
|
|
@@ -100,9 +100,9 @@ const c = class {
|
|
|
100
100
|
};
|
|
101
101
|
(o = (n = this.hostElement).onchange) === null || o === void 0 ? void 0 : o.call(n, new CustomEvent("click", {
|
|
102
102
|
bubbles: true,
|
|
103
|
-
detail:
|
|
103
|
+
detail: a
|
|
104
104
|
}));
|
|
105
|
-
this.viewChange.emit(
|
|
105
|
+
this.viewChange.emit(a);
|
|
106
106
|
};
|
|
107
107
|
this.selectYear = t => {
|
|
108
108
|
this.year = Math.max(1970, t);
|
|
@@ -111,7 +111,7 @@ const c = class {
|
|
|
111
111
|
// #endregion
|
|
112
112
|
// #region Component Lifecycle Events
|
|
113
113
|
componentDidLoad() {
|
|
114
|
-
|
|
114
|
+
a(this.hostElement);
|
|
115
115
|
}
|
|
116
116
|
componentDidRender() {
|
|
117
117
|
var t;
|
|
@@ -122,54 +122,54 @@ const c = class {
|
|
|
122
122
|
// #region Render Methods
|
|
123
123
|
render() {
|
|
124
124
|
return n("div", {
|
|
125
|
-
key: "
|
|
125
|
+
key: "c80017d8e2998167716488b46dd52cecfc47dcc5",
|
|
126
126
|
class: "month-container",
|
|
127
127
|
onKeyDown: this.onMonthKeydown
|
|
128
128
|
}, n("div", {
|
|
129
|
-
key: "
|
|
129
|
+
key: "7f14b1eac6019175522e7c5fc4b5b5b0b2967723",
|
|
130
130
|
class: "navigation"
|
|
131
131
|
}, n("q2-btn", {
|
|
132
|
-
key: "
|
|
132
|
+
key: "4cc17ededea2f273f45b27e4ddee49cd6ac5b412",
|
|
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: "8165df4a38cfe5793689cb45bca424aaf6bcbf64",
|
|
140
140
|
class: "year"
|
|
141
141
|
}, this.year), n("q2-icon", {
|
|
142
|
-
key: "
|
|
142
|
+
key: "827073a13b6d003b328a0fd8f8525b9b2a013ff2",
|
|
143
143
|
class: "year-icon off",
|
|
144
144
|
type: "chevron-down"
|
|
145
145
|
})), n("div", {
|
|
146
|
-
key: "
|
|
146
|
+
key: "5b46832d6adc2f00e5a7db0f43446b9c6b89ecad",
|
|
147
147
|
class: "month-controller"
|
|
148
148
|
}, n("div", {
|
|
149
|
-
key: "
|
|
149
|
+
key: "8d25fa53c29f394461217255b6feb0ccd35ff884",
|
|
150
150
|
class: "cal-year-prev-next"
|
|
151
151
|
}, n("q2-btn", {
|
|
152
|
-
key: "
|
|
153
|
-
label:
|
|
152
|
+
key: "7c9b873b8111b50fe82d138e9f826c3cf3bbfff7",
|
|
153
|
+
label: i("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: "5b1f1906753a8b759c0b620deb49869834193035",
|
|
160
160
|
type: "arrow-left"
|
|
161
161
|
})), n("q2-btn", {
|
|
162
|
-
key: "
|
|
163
|
-
label:
|
|
162
|
+
key: "dac82b2f5d88ecdc6d7fb0566fd4847615269949",
|
|
163
|
+
label: i("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: "db889911237e7655047f33e8e19b845de8203f57",
|
|
170
170
|
type: "arrow-right"
|
|
171
171
|
}))))), n("div", {
|
|
172
|
-
key: "
|
|
172
|
+
key: "4a4740d1513e1f970ef2754a1a7ac24299e1683c",
|
|
173
173
|
class: "month-list",
|
|
174
174
|
onClick: this.onMonthSelection
|
|
175
175
|
}, this.months.map(((t, e) => n("div", {
|
|
@@ -181,9 +181,9 @@ 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: "26ac01a5dc62b4c1f97701f19bd81e8d6569e9f1",
|
|
185
185
|
class: "today-label"
|
|
186
|
-
},
|
|
186
|
+
}, i("tecton.element.calendar.today"), ": ", this.today));
|
|
187
187
|
}
|
|
188
188
|
get hostElement() {
|
|
189
189
|
return o(this);
|
|
@@ -60,20 +60,20 @@ const p = class {
|
|
|
60
60
|
// #region Render Methods
|
|
61
61
|
render() {
|
|
62
62
|
return e("div", {
|
|
63
|
-
key: "
|
|
63
|
+
key: "6f4564d3db59c64b76abc47ceee3663e277b6f55",
|
|
64
64
|
class: "q2-optgroup-container",
|
|
65
65
|
hidden: this.hidden,
|
|
66
66
|
"aria-labelledby": this.headerId,
|
|
67
67
|
role: "group"
|
|
68
68
|
}, e("div", {
|
|
69
|
-
key: "
|
|
69
|
+
key: "bd28cae7d3893142c8154286d28fb79448e5ca39",
|
|
70
70
|
class: "q2-optgroup-header",
|
|
71
71
|
id: this.headerId
|
|
72
72
|
}, this.label && a(this.label) || ""), e("div", {
|
|
73
|
-
key: "
|
|
73
|
+
key: "63eba11bbca923ca6c22281ba31476fb89a709ca",
|
|
74
74
|
class: "q2-optgroup-options"
|
|
75
75
|
}, e("slot", {
|
|
76
|
-
key: "
|
|
76
|
+
key: "1c27562418e4075f2843e0ec080a138a14d5f191"
|
|
77
77
|
})));
|
|
78
78
|
}
|
|
79
79
|
get hostElement() {
|
|
@@ -262,8 +262,8 @@ const l = class {
|
|
|
262
262
|
}
|
|
263
263
|
render() {
|
|
264
264
|
var t;
|
|
265
|
-
const {pagesOnly: e, recordsOnly: n, isFullViewHidden: a, recordTypeWithDefault: s, totalPages: o, totalWithDefault: c, pageWithDefault: h, currentRange: l, nextRange: p, prevRange: d, showPerPageSelect: g, disabled:
|
|
266
|
-
const
|
|
265
|
+
const {pagesOnly: e, recordsOnly: n, isFullViewHidden: a, recordTypeWithDefault: s, totalPages: o, totalWithDefault: c, pageWithDefault: h, currentRange: l, nextRange: p, prevRange: d, showPerPageSelect: g, disabled: u} = this;
|
|
266
|
+
const f = h < 2;
|
|
267
267
|
const b = h === o;
|
|
268
268
|
let v = r("tecton.element.pagination.goToNext");
|
|
269
269
|
let y = r("tecton.element.pagination.goToPrevious");
|
|
@@ -289,12 +289,12 @@ const l = class {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
return i("nav", {
|
|
292
|
-
key: "
|
|
292
|
+
key: "0947c1d04f042cb5f096d74146cc700e7993f277",
|
|
293
293
|
class: this.containerClasses.join(" "),
|
|
294
294
|
ref: t => this.containerElement = t,
|
|
295
295
|
"aria-label": r("tecton.element.pagination.title")
|
|
296
296
|
}, i("div", {
|
|
297
|
-
key: "
|
|
297
|
+
key: "6da46e6c76dffa66026057e53c7515bcf00576e0",
|
|
298
298
|
class: "description",
|
|
299
299
|
"test-id": "description"
|
|
300
300
|
}, e ? r("tecton.element.pagination.pages", {
|
|
@@ -305,47 +305,47 @@ const l = class {
|
|
|
305
305
|
recordType: s.toLowerCase(),
|
|
306
306
|
total: c.toLocaleString()
|
|
307
307
|
})), i("div", {
|
|
308
|
-
key: "
|
|
308
|
+
key: "35963f235d6b549eedb8c9a443ecde053ecd8682",
|
|
309
309
|
class: "controls"
|
|
310
310
|
}, i("div", {
|
|
311
|
-
key: "
|
|
311
|
+
key: "7016ffd2c95a76d34fd7ca112472a2a1067d7012",
|
|
312
312
|
class: "btn-group"
|
|
313
313
|
}, i("q2-btn", {
|
|
314
|
-
key: "
|
|
314
|
+
key: "a2a826b5ed84cedf548eaaf8aa2a8f95ad5085e6",
|
|
315
315
|
ref: t => this.firstPageBtn = t,
|
|
316
316
|
label: r("tecton.element.pagination.goToFirstPage"),
|
|
317
|
-
disabled:
|
|
317
|
+
disabled: u || f,
|
|
318
318
|
hidden: a,
|
|
319
319
|
onTctClick: () => this.handlePageChange(1),
|
|
320
320
|
"test-id": "firstPageBtn",
|
|
321
321
|
"hide-label": true
|
|
322
322
|
}, i("q2-icon", {
|
|
323
|
-
key: "
|
|
323
|
+
key: "7ebc8f748c55786954292287b4f593841a367e28",
|
|
324
324
|
type: "chevron-double-left"
|
|
325
325
|
})), i("q2-btn", {
|
|
326
|
-
key: "
|
|
326
|
+
key: "dfd853b3bee34fe837dc9c621829fa59c44bc81c",
|
|
327
327
|
ref: t => this.prevPageBtn = t,
|
|
328
328
|
label: y,
|
|
329
|
-
disabled:
|
|
329
|
+
disabled: u || f,
|
|
330
330
|
onTctClick: () => this.handlePageChange(h - 1),
|
|
331
331
|
"test-id": "prevPageBtn",
|
|
332
332
|
"hide-label": true
|
|
333
333
|
}, i("q2-icon", {
|
|
334
|
-
key: "
|
|
334
|
+
key: "519ef8ea441d04291b4393ba1ab03cd2198e88b3",
|
|
335
335
|
type: "chevron-left"
|
|
336
336
|
}))), i("div", {
|
|
337
|
-
key: "
|
|
337
|
+
key: "fd9d2f84689b857d134babd6d7d38de5f347488d",
|
|
338
338
|
class: "input-display",
|
|
339
339
|
hidden: a
|
|
340
340
|
}, i("span", {
|
|
341
|
-
key: "
|
|
341
|
+
key: "c8a48d708096badc6796a9caef840c807aa06db7",
|
|
342
342
|
"aria-hidden": "true"
|
|
343
343
|
}, r("tecton.element.pagination.page")), i("div", {
|
|
344
|
-
key: "
|
|
344
|
+
key: "1e9965fa782cdf724e261294ad22eb34305c1c69",
|
|
345
345
|
class: "input-wrapper",
|
|
346
346
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
347
347
|
}, i("q2-input", {
|
|
348
|
-
key: "
|
|
348
|
+
key: "e61dc0d32f806ffbee54736755f8c2c8fb3dc2a4",
|
|
349
349
|
ref: t => this.inputField = t,
|
|
350
350
|
type: "number",
|
|
351
351
|
value: `${h}`,
|
|
@@ -361,38 +361,38 @@ const l = class {
|
|
|
361
361
|
},
|
|
362
362
|
"test-id": "pageInput",
|
|
363
363
|
current: "page",
|
|
364
|
-
disabled:
|
|
364
|
+
disabled: u
|
|
365
365
|
})), i("span", {
|
|
366
|
-
key: "
|
|
366
|
+
key: "ea7d626698765518e2e5dcd2118b20106413134d",
|
|
367
367
|
"aria-hidden": "true"
|
|
368
368
|
}, r("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))), i("div", {
|
|
369
|
-
key: "
|
|
369
|
+
key: "eb93f6858f18c382d5ebe97007c7de6a3313e6cf",
|
|
370
370
|
class: "btn-group"
|
|
371
371
|
}, i("q2-btn", {
|
|
372
|
-
key: "
|
|
372
|
+
key: "0ab9275fbfbc3514571f2fb308b1a15345816cf5",
|
|
373
373
|
ref: t => this.nextPageBtn = t,
|
|
374
374
|
label: v,
|
|
375
|
-
disabled:
|
|
375
|
+
disabled: u || b,
|
|
376
376
|
onTctClick: () => this.handlePageChange(h + 1),
|
|
377
377
|
"test-id": "nextPageBtn",
|
|
378
378
|
"hide-label": true
|
|
379
379
|
}, i("q2-icon", {
|
|
380
|
-
key: "
|
|
380
|
+
key: "9968130c79eaaa564f1ca47ccc9e09a0d9ec564b",
|
|
381
381
|
type: "chevron-right"
|
|
382
382
|
})), i("q2-btn", {
|
|
383
|
-
key: "
|
|
383
|
+
key: "08c3ebf15360ba2f1ccf56d2b12c458a2ebdb71e",
|
|
384
384
|
ref: t => this.lastPageBtn = t,
|
|
385
385
|
label: "tecton.element.pagination.goToLastPage",
|
|
386
|
-
disabled:
|
|
386
|
+
disabled: u || b,
|
|
387
387
|
hidden: a,
|
|
388
388
|
onTctClick: () => this.handlePageChange(o),
|
|
389
389
|
"test-id": "lastPageBtn",
|
|
390
390
|
"hide-label": true
|
|
391
391
|
}, i("q2-icon", {
|
|
392
|
-
key: "
|
|
392
|
+
key: "83351e90f2645f9c2e8854ff46a684a9f43f339b",
|
|
393
393
|
type: "chevron-double-right"
|
|
394
394
|
})))), i("div", {
|
|
395
|
-
key: "
|
|
395
|
+
key: "dcdb653d221e0a92910a6ece5e234126e66c8410",
|
|
396
396
|
class: "per-page",
|
|
397
397
|
hidden: a || !((t = this.perPageIncrements) === null || t === void 0 ? void 0 : t.length)
|
|
398
398
|
}, g && this.renderPerPage()));
|
|
@@ -362,19 +362,19 @@ const h = class {
|
|
|
362
362
|
if (t || i) a.push("has-icon");
|
|
363
363
|
if (t) a.push("has-options");
|
|
364
364
|
return o("click-elsewhere", {
|
|
365
|
-
key: "
|
|
365
|
+
key: "1f6a917d21078d5007387acd85fb7c03736db6ae",
|
|
366
366
|
onChange: this.onClickElsewhere
|
|
367
367
|
}, o("div", {
|
|
368
|
-
key: "
|
|
368
|
+
key: "346b5d9651e27827e304377f9009edd50a141102",
|
|
369
369
|
class: a.join(" ")
|
|
370
370
|
}, o("div", {
|
|
371
|
-
key: "
|
|
371
|
+
key: "c261c06b88781ea9af6f2b0f0a335476c0c7e89a",
|
|
372
372
|
class: "btn-height-wrapper",
|
|
373
373
|
ref: t => this.primaryBtnWrapper = t,
|
|
374
374
|
onClick: this.handleWrapperClick,
|
|
375
375
|
tabIndex: -1
|
|
376
376
|
}, o("button", {
|
|
377
|
-
key: "
|
|
377
|
+
key: "b717af900dc54f65de00aef3ee59dade83f6da21",
|
|
378
378
|
class: "btn-primary",
|
|
379
379
|
"test-id": "btn-control",
|
|
380
380
|
type: "button",
|
|
@@ -390,7 +390,7 @@ const h = class {
|
|
|
390
390
|
"aria-label": `${this.buttonContent}${!t && i ? ` ${s("tecton.element.pill.active")}` : ""}`,
|
|
391
391
|
"aria-describedby": t && "option-description" || undefined
|
|
392
392
|
}, this.truncatedButtonContent)), this.renderIcon(), !!t && this.renderHiddenElement()), this.optionCount > 0 && o("q2-popover", {
|
|
393
|
-
key: "
|
|
393
|
+
key: "4d415fbec7b43fe7f2b8abff0e3a02467028cdb4",
|
|
394
394
|
ref: t => this.popoverElement = t,
|
|
395
395
|
controlElement: this.primaryBtn,
|
|
396
396
|
open: this.open,
|
|
@@ -400,20 +400,20 @@ const h = class {
|
|
|
400
400
|
align: this.popoverAlignment,
|
|
401
401
|
onFocusout: this.handleFocusOut
|
|
402
402
|
}, o("div", {
|
|
403
|
-
key: "
|
|
403
|
+
key: "75e71787bad82eb4a5682a2315d7f5dcbd3c3b82",
|
|
404
404
|
class: "popover-content"
|
|
405
405
|
}, o("div", {
|
|
406
|
-
key: "
|
|
406
|
+
key: "5de5d4a2f606e4b936ee46fda3aded8b09e17854",
|
|
407
407
|
ref: t => this.popoverTopContainer = t,
|
|
408
408
|
class: "popover-top-container",
|
|
409
409
|
tabindex: "-1",
|
|
410
410
|
hidden: !this.hasPopoverTop,
|
|
411
411
|
onKeyDown: this.handleKeydown
|
|
412
412
|
}, o("slot", {
|
|
413
|
-
key: "
|
|
413
|
+
key: "6d971654eb266bd5a3c37e04cde81dd7d6876ca5",
|
|
414
414
|
name: "popover-top"
|
|
415
415
|
})), o("q2-option-list", {
|
|
416
|
-
key: "
|
|
416
|
+
key: "670e99d6859d673e781eba1e6eee87ee8ac728b4",
|
|
417
417
|
type: "listbox",
|
|
418
418
|
ref: t => this.optionList = t,
|
|
419
419
|
id: "option-list",
|
|
@@ -424,16 +424,16 @@ const h = class {
|
|
|
424
424
|
onPopoverState: this.onPopoverState,
|
|
425
425
|
label: s("tecton.element.optionList.label", [ this.optionListLabel ])
|
|
426
426
|
}, o("slot", {
|
|
427
|
-
key: "
|
|
427
|
+
key: "fde147d6d4c6deca9952ebdd5f022f0d348bf75e"
|
|
428
428
|
})), o("div", {
|
|
429
|
-
key: "
|
|
429
|
+
key: "f8704bee883058f635b936fe03e888eaa9b3ce35",
|
|
430
430
|
ref: t => this.popoverBottomContainer = t,
|
|
431
431
|
class: "popover-bottom-container",
|
|
432
432
|
tabindex: "-1",
|
|
433
433
|
hidden: !this.hasPopoverBottom,
|
|
434
434
|
onKeyDown: this.handleKeydown
|
|
435
435
|
}, o("slot", {
|
|
436
|
-
key: "
|
|
436
|
+
key: "6761a2e76fbba5410a974eb0a24110c0c135b84e",
|
|
437
437
|
name: "popover-bottom"
|
|
438
438
|
})))));
|
|
439
439
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { r as t, c as r, h as i, F as
|
|
1
|
+
import { r as t, c as r, h as i, F as a, g as o } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
3
|
import { c as e, o as n, i as s, r as d } from "./index-C4PILj1_.js";
|
|
4
4
|
|
|
5
5
|
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const c = '*{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{--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));color:var(--tct-radio-group-label-font-color, inherit);font-size:var(--tct-radio-group-label-font-size, inherit);font-weight:var(--tct-radio-group-label-font-weight, 600);text-transform:var(--tct-radio-group-label-text-transform, none);letter-spacing:var(--tct-radio-group-label-letter-spacing, inherit)}.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:var(--tct-radio-group-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}';
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const p = class {
|
|
10
10
|
constructor(i) {
|
|
11
11
|
t(this, i);
|
|
12
12
|
this.change = r(this, "change", 7);
|
|
@@ -77,23 +77,23 @@ const c = class {
|
|
|
77
77
|
keydownHandler(t) {
|
|
78
78
|
const r = t.target.getAttribute("value") || this.value;
|
|
79
79
|
let i = this.radioElements.findIndex((i => i === t.target || i.getAttribute("value") === r));
|
|
80
|
-
let
|
|
80
|
+
let a = 0;
|
|
81
81
|
switch (t.key) {
|
|
82
82
|
case "ArrowLeft":
|
|
83
83
|
case "ArrowUp":
|
|
84
|
-
|
|
84
|
+
a = -1;
|
|
85
85
|
break;
|
|
86
86
|
|
|
87
87
|
case "ArrowRight":
|
|
88
88
|
case "ArrowDown":
|
|
89
|
-
|
|
89
|
+
a = 1;
|
|
90
90
|
break;
|
|
91
91
|
}
|
|
92
|
-
if (i === -1 ||
|
|
92
|
+
if (i === -1 || a === 0) {
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
95
|
-
i +=
|
|
96
|
-
i =
|
|
95
|
+
i += a;
|
|
96
|
+
i = a < 0 ? Math.max(0, i) : Math.min(this.radioElements.length - 1, i);
|
|
97
97
|
t.preventDefault();
|
|
98
98
|
if (!this.readonly) {
|
|
99
99
|
this.value = this.radioElements[i].value;
|
|
@@ -179,30 +179,30 @@ const c = class {
|
|
|
179
179
|
render() {
|
|
180
180
|
const t = this.label || this.optional || this.readonly;
|
|
181
181
|
const {hasError: r} = this;
|
|
182
|
-
const
|
|
183
|
-
return i(
|
|
184
|
-
key: "
|
|
185
|
-
},
|
|
186
|
-
key: "
|
|
182
|
+
const o = t && !this.hideLabel || r;
|
|
183
|
+
return i(a, {
|
|
184
|
+
key: "9aadfcdafda1190aac1d1d23f02d73d9d0982cfb"
|
|
185
|
+
}, o && i("div", {
|
|
186
|
+
key: "80ffd1095a810f95e89b839bd4c9e9b10b10c56a",
|
|
187
187
|
class: "label-row"
|
|
188
188
|
}, t && !this.hideLabel && i("div", {
|
|
189
|
-
key: "
|
|
189
|
+
key: "82663c3dc58235e5a15c6a96d61c0f899e51b34c",
|
|
190
190
|
class: "group-legend"
|
|
191
191
|
}, d(this)), r && i("q2-icon", {
|
|
192
|
-
key: "
|
|
192
|
+
key: "75aab19da924c83a43c311c8718213e554e1e41d",
|
|
193
193
|
type: "error",
|
|
194
194
|
"test-id": "iconError"
|
|
195
195
|
})), i("fieldset", {
|
|
196
|
-
key: "
|
|
196
|
+
key: "df81b71c57ac1c2b7812b1e12dc4f85b95563895",
|
|
197
197
|
onChange: this.onInnerRadioChange,
|
|
198
198
|
"aria-invalid": r ? `${r}` : undefined
|
|
199
199
|
}, t && i("legend", {
|
|
200
|
-
key: "
|
|
200
|
+
key: "c3aff2496cb12cfaa774aac545f399508f0a679c",
|
|
201
201
|
class: "sr-only"
|
|
202
202
|
}, d(this)), this.inputDom()));
|
|
203
203
|
}
|
|
204
204
|
get hostElement() {
|
|
205
|
-
return
|
|
205
|
+
return o(this);
|
|
206
206
|
}
|
|
207
207
|
static get watchers() {
|
|
208
208
|
return {
|
|
@@ -216,8 +216,8 @@ const c = class {
|
|
|
216
216
|
}
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
p.style = c;
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { p as q2_radio_group };
|
|
222
222
|
//# sourceMappingURL=q2-radio-group.entry.esm.js.map
|
|
223
223
|
//# sourceMappingURL=q2-radio-group.entry.js.map
|
|
@@ -87,10 +87,10 @@ const d = class {
|
|
|
87
87
|
// #region Render Methods
|
|
88
88
|
render() {
|
|
89
89
|
return t("div", {
|
|
90
|
-
key: "
|
|
90
|
+
key: "b3ff3221d679096f3fd42a318cfadb6233ab0ac5",
|
|
91
91
|
class: this.groupTileLayout ? "radio-tile" : "radio-container"
|
|
92
92
|
}, t("input", {
|
|
93
|
-
key: "
|
|
93
|
+
key: "ed9d41619e21af0927c1ebef5dedd3546683e677",
|
|
94
94
|
ref: e => this.inputField = e,
|
|
95
95
|
class: "sr",
|
|
96
96
|
id: this._id,
|
|
@@ -103,15 +103,15 @@ const d = class {
|
|
|
103
103
|
onChange: this.inputChange,
|
|
104
104
|
"test-id": "q2RadioInnerRadioBox"
|
|
105
105
|
}), t("label", {
|
|
106
|
-
key: "
|
|
106
|
+
key: "817d5260d720061908c803ff34dc826a9aa954e8",
|
|
107
107
|
htmlFor: this._id,
|
|
108
108
|
class: this.hideLabel ? "label-hidden" : undefined,
|
|
109
109
|
"test-id": "radioButton"
|
|
110
110
|
}, !this.groupTileLayout && t("svg", {
|
|
111
|
-
key: "
|
|
111
|
+
key: "aed6e01bca76e33bc6dda009cb78437b75da31df",
|
|
112
112
|
viewBox: "0 0 18 18"
|
|
113
113
|
}, t("circle", {
|
|
114
|
-
key: "
|
|
114
|
+
key: "12b009b629c2f79b0ff9d973d91eee878680d5e2",
|
|
115
115
|
class: "big-circle",
|
|
116
116
|
stroke: "none",
|
|
117
117
|
fill: "none",
|
|
@@ -119,7 +119,7 @@ const d = class {
|
|
|
119
119
|
cy: "9",
|
|
120
120
|
r: "8"
|
|
121
121
|
}), t("circle", {
|
|
122
|
-
key: "
|
|
122
|
+
key: "bdb34bf3af2d9b05ac1a2f13d1ba68bc1be34379",
|
|
123
123
|
class: "small-circle",
|
|
124
124
|
stroke: "none",
|
|
125
125
|
fill: "none",
|
|
@@ -127,10 +127,10 @@ const d = class {
|
|
|
127
127
|
cy: "9",
|
|
128
128
|
r: "4"
|
|
129
129
|
})), !this.hideLabel && t("div", {
|
|
130
|
-
key: "
|
|
130
|
+
key: "67348d1852db1ab314e686a6208d3ab66216f002",
|
|
131
131
|
class: "label-content"
|
|
132
132
|
}, this.label && l(this.label) || "", t("slot", {
|
|
133
|
-
key: "
|
|
133
|
+
key: "ac58bd184195bc2c2ed79dcab60df89bc0accf62"
|
|
134
134
|
}))));
|
|
135
135
|
}
|
|
136
136
|
get hostElement() {
|
|
@@ -141,7 +141,7 @@ const o = class {
|
|
|
141
141
|
render() {
|
|
142
142
|
const {shouldShow: e, displayedMessage: s} = this;
|
|
143
143
|
return t(i, {
|
|
144
|
-
key: "
|
|
144
|
+
key: "368b5847fd62820031d367eaee690212fa655223"
|
|
145
145
|
}, e ? t("time", {
|
|
146
146
|
dateTime: s
|
|
147
147
|
}, s) : null);
|