q2-tecton-elements 1.67.0 → 1.67.1
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 +431 -431
- 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 +41 -14
- package/dist/cjs/click-elsewhere_3.cjs.entry.js.map +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-btn.q2-loading.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-btn_2.cjs.entry.js +4 -2
- package/dist/cjs/q2-btn_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.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-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-context.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +1 -1
- package/dist/cjs/q2-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.cjs.entry.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-btn/q2-btn.js +4 -2
- package/dist/collection/components/q2-btn/q2-btn.js.map +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-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-context/q2-context.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js +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 +2 -2
- 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-grid/q2-grid.js +31 -31
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +43 -43
- package/dist/collection/components/q2-input/q2-input.js +3 -3
- 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-option-list/q2-option-list.js +6 -6
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +40 -13
- 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-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-btn2.js +4 -2
- package/dist/components/q2-btn2.js.map +1 -1
- package/dist/components/q2-calendar.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-carousel.js +1 -1
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-data-table.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-grid-area.js +1 -1
- package/dist/components/q2-grid.js +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-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-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 +40 -13
- 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.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/esm/click-elsewhere.q2-option-list.q2-popover.entry.js.map +1 -1
- package/dist/esm/click-elsewhere_3.entry.js +41 -14
- package/dist/esm/click-elsewhere_3.entry.js.map +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-btn.q2-loading.entry.js.map +1 -1
- package/dist/esm/q2-btn_2.entry.js +4 -2
- package/dist/esm/q2-btn_2.entry.js.map +1 -1
- package/dist/esm/q2-calendar.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-carousel.entry.js +1 -1
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox_2.entry.js +1 -1
- package/dist/esm/q2-context.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +1 -1
- package/dist/esm/q2-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.entry.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- 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 +212 -193
- 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 +8 -8
- package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-btn.q2-loading.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +4 -2
- package/dist/q2-tecton-elements/q2-btn_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +2 -2
- 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-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 +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-context.entry.js +15 -15
- package/dist/q2-tecton-elements/q2-currency.entry.js +11 -11
- 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 +79 -79
- 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 +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-input.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-item.entry.js +21 -21
- 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 +7 -7
- package/dist/q2-tecton-elements/q2-modal.entry.js +50 -50
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +66 -66
- 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 +19 -19
- package/dist/q2-tecton-elements/q2-pill.entry.js +36 -36
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +6 -6
- 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 +22 -22
- 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.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/dist/types/components/q2-popover/q2-popover.d.ts +1 -0
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +1 -1
- package/package.json +71 -69
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/jest.e2e-coverage.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/scripts/docs-generator/index.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/scripts/docs-generator/markdown-generator.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/scripts/docs-generator/tag-handlers.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/scripts/docs-generator/types.d.ts +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as t, c as
|
|
1
|
+
import { r as t, c as e, h as n, g as o } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
3
|
import { l as a, o as i } 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
|
|
|
7
7
|
const c = class {
|
|
8
|
-
constructor(
|
|
9
|
-
t(this,
|
|
10
|
-
this.toggleChange =
|
|
11
|
-
this.viewChange =
|
|
8
|
+
constructor(n) {
|
|
9
|
+
t(this, n);
|
|
10
|
+
this.toggleChange = e(this, "toggleChange", 7);
|
|
11
|
+
this.viewChange = e(this, "viewChange", 7);
|
|
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 => ({
|
|
@@ -27,34 +27,34 @@ const c = class {
|
|
|
27
27
|
// #endregion
|
|
28
28
|
// #region Local Methods
|
|
29
29
|
this.focusMonth = t => {
|
|
30
|
-
const
|
|
31
|
-
if (
|
|
30
|
+
const e = this.hostElement.shadowRoot.querySelector(`.month-button[data-index="${t}"]`);
|
|
31
|
+
if (e) {
|
|
32
32
|
this.focusedIndex = t;
|
|
33
|
-
|
|
33
|
+
e.focus();
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
this.moveMonth = (t,
|
|
36
|
+
this.moveMonth = (t, e, n) => {
|
|
37
37
|
const o = t.length;
|
|
38
38
|
const a = t[0].length;
|
|
39
|
-
const i = Math.floor(
|
|
40
|
-
const r =
|
|
39
|
+
const i = Math.floor(e / a);
|
|
40
|
+
const r = e % a;
|
|
41
41
|
const c = [ i, r ];
|
|
42
|
-
if (
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
if (n.key === "ArrowUp") {
|
|
43
|
+
n.stopPropagation();
|
|
44
|
+
n.preventDefault();
|
|
45
45
|
return t[Math.max(0, c[0] - 1)][c[1]];
|
|
46
|
-
} else if (
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
} else if (n.key === "ArrowDown") {
|
|
47
|
+
n.stopPropagation();
|
|
48
|
+
n.preventDefault();
|
|
49
49
|
return t[Math.min(o - 1, c[0] + 1)][c[1]];
|
|
50
|
-
} else if (
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return Math.max(0,
|
|
54
|
-
} else if (
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
return Math.min(this.months.length - 1,
|
|
50
|
+
} else if (n.key === "ArrowLeft") {
|
|
51
|
+
n.stopPropagation();
|
|
52
|
+
n.preventDefault();
|
|
53
|
+
return Math.max(0, e - 1);
|
|
54
|
+
} else if (n.key === "ArrowRight") {
|
|
55
|
+
n.stopPropagation();
|
|
56
|
+
n.preventDefault();
|
|
57
|
+
return Math.min(this.months.length - 1, e + 1);
|
|
58
58
|
} else {
|
|
59
59
|
return t[c[0]][c[1]];
|
|
60
60
|
}
|
|
@@ -66,30 +66,30 @@ const c = class {
|
|
|
66
66
|
});
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
|
-
const
|
|
70
|
-
if (!
|
|
69
|
+
const e = t.target.dataset.index;
|
|
70
|
+
if (!e) return;
|
|
71
71
|
if (t.key === "Enter" || t.key === " ") {
|
|
72
72
|
t.preventDefault();
|
|
73
73
|
t.stopPropagation();
|
|
74
|
-
this.selectMonth(Number(
|
|
74
|
+
this.selectMonth(Number(e));
|
|
75
75
|
} else {
|
|
76
|
-
const
|
|
77
|
-
this.focusMonth(
|
|
76
|
+
const n = this.moveMonth(this.monthGrid, Number(e), t);
|
|
77
|
+
this.focusMonth(n);
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
this.onMonthSelection = t => {
|
|
81
|
-
var
|
|
81
|
+
var e, n;
|
|
82
82
|
const o = t.target.closest(".month-button");
|
|
83
|
-
if ((
|
|
84
|
-
this.selectMonth(Number((
|
|
83
|
+
if ((e = o === null || o === void 0 ? void 0 : o.dataset) === null || e === void 0 ? void 0 : e.index) {
|
|
84
|
+
this.selectMonth(Number((n = o === null || o === void 0 ? void 0 : o.dataset) === null || n === void 0 ? void 0 : n.index));
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
this.selectMonth = t => {
|
|
88
|
-
var
|
|
88
|
+
var e, n, o;
|
|
89
89
|
this.selectedIndex = t;
|
|
90
90
|
this.focusedIndex = t;
|
|
91
91
|
const a = 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
93
|
a === null || a === void 0 ? void 0 : a.classList.add("active");
|
|
94
94
|
a === null || a === void 0 ? void 0 : a.focus();
|
|
95
95
|
const i = {
|
|
@@ -98,7 +98,7 @@ const c = class {
|
|
|
98
98
|
monthIndex: t,
|
|
99
99
|
selectedYear: this.year
|
|
100
100
|
};
|
|
101
|
-
(o = (
|
|
101
|
+
(o = (n = this.hostElement).onchange) === null || o === void 0 ? void 0 : o.call(n, new CustomEvent("click", {
|
|
102
102
|
bubbles: true,
|
|
103
103
|
detail: i
|
|
104
104
|
}));
|
|
@@ -121,67 +121,67 @@ const c = class {
|
|
|
121
121
|
// #endregion
|
|
122
122
|
// #region Render Methods
|
|
123
123
|
render() {
|
|
124
|
-
return
|
|
125
|
-
key: "
|
|
124
|
+
return n("div", {
|
|
125
|
+
key: "b7429b5ed21f7cda666f140a9a93ee643176979c",
|
|
126
126
|
class: "month-container",
|
|
127
127
|
onKeyDown: this.onMonthKeydown
|
|
128
|
-
},
|
|
129
|
-
key: "
|
|
128
|
+
}, n("div", {
|
|
129
|
+
key: "802900b16d0efa602df89edb22e174329736dca4",
|
|
130
130
|
class: "navigation"
|
|
131
|
-
},
|
|
132
|
-
key: "
|
|
131
|
+
}, n("q2-btn", {
|
|
132
|
+
key: "0a318088ab2eb826620c056246599f5b7803c51e",
|
|
133
133
|
class: "year-btn",
|
|
134
134
|
onClick: () => this.viewChange.emit({
|
|
135
135
|
view: "year",
|
|
136
136
|
selectedYear: this.year
|
|
137
137
|
})
|
|
138
|
-
},
|
|
139
|
-
key: "
|
|
138
|
+
}, n("span", {
|
|
139
|
+
key: "02018f884cb7b48fb581597fc7d5a2a323497668",
|
|
140
140
|
class: "year"
|
|
141
|
-
}, this.year),
|
|
142
|
-
key: "
|
|
141
|
+
}, this.year), n("q2-icon", {
|
|
142
|
+
key: "9ab23a381d4fedb5aca2ecee19eb975d76ff4465",
|
|
143
143
|
class: "year-icon off",
|
|
144
144
|
type: "chevron-down"
|
|
145
|
-
})),
|
|
146
|
-
key: "
|
|
145
|
+
})), n("div", {
|
|
146
|
+
key: "79dd4cd0864d051a4252c21ebbd697e0e75b0ec3",
|
|
147
147
|
class: "month-controller"
|
|
148
|
-
},
|
|
149
|
-
key: "
|
|
148
|
+
}, n("div", {
|
|
149
|
+
key: "d94ad2ebfc317206bfff5b16861c52507a168e09",
|
|
150
150
|
class: "cal-year-prev-next"
|
|
151
|
-
},
|
|
152
|
-
key: "
|
|
151
|
+
}, n("q2-btn", {
|
|
152
|
+
key: "4d8b12fde9825bd5dca90012d42e73453f2cb777",
|
|
153
153
|
label: a("tecton.element.calendar.previousYear"),
|
|
154
154
|
"hide-label": true,
|
|
155
155
|
class: "cal-nav-btn prev-year",
|
|
156
156
|
"test-id": "previousYearButton",
|
|
157
157
|
onClick: () => this.selectYear(this.year - 1)
|
|
158
|
-
},
|
|
159
|
-
key: "
|
|
158
|
+
}, n("q2-icon", {
|
|
159
|
+
key: "428b2feb8854e145bdbc88bdd2c6a2c25a3a50ce",
|
|
160
160
|
type: "arrow-left"
|
|
161
|
-
})),
|
|
162
|
-
key: "
|
|
161
|
+
})), n("q2-btn", {
|
|
162
|
+
key: "2f7ef439402c9788ae002a199813387a370e0ed3",
|
|
163
163
|
label: a("tecton.element.calendar.nextYear"),
|
|
164
164
|
"hide-label": true,
|
|
165
165
|
class: "cal-nav-btn next-year",
|
|
166
166
|
"test-id": "nextYearButton",
|
|
167
167
|
onClick: () => this.selectYear(this.year + 1)
|
|
168
|
-
},
|
|
169
|
-
key: "
|
|
168
|
+
}, n("q2-icon", {
|
|
169
|
+
key: "5931c20eac7a2268c6b945b336f44e143e9fe484",
|
|
170
170
|
type: "arrow-right"
|
|
171
|
-
}))))),
|
|
172
|
-
key: "
|
|
171
|
+
}))))), n("div", {
|
|
172
|
+
key: "9e18ae0e86a741201eb2a8c6ff04b9007899cbae",
|
|
173
173
|
class: "month-list",
|
|
174
174
|
onClick: this.onMonthSelection
|
|
175
|
-
}, this.months.map(((t,
|
|
175
|
+
}, this.months.map(((t, e) => n("div", {
|
|
176
176
|
class: "month"
|
|
177
|
-
},
|
|
177
|
+
}, n("span", {
|
|
178
178
|
role: "button",
|
|
179
179
|
class: "month-button",
|
|
180
|
-
"data-index":
|
|
180
|
+
"data-index": e,
|
|
181
181
|
"aria-label": t.label,
|
|
182
|
-
tabindex:
|
|
183
|
-
}, t.abbr))))), this.today &&
|
|
184
|
-
key: "
|
|
182
|
+
tabindex: e === this.focusedIndex ? 0 : -1
|
|
183
|
+
}, t.abbr))))), this.today && n("div", {
|
|
184
|
+
key: "8dfee8bcf4ee9b4137c9c8644be7f38f5794bf4d",
|
|
185
185
|
class: "today-label"
|
|
186
186
|
}, a("tecton.element.calendar.today"), ": ", this.today));
|
|
187
187
|
}
|
|
@@ -60,20 +60,20 @@ const p = class {
|
|
|
60
60
|
// #region Render Methods
|
|
61
61
|
render() {
|
|
62
62
|
return e("div", {
|
|
63
|
-
key: "
|
|
63
|
+
key: "1193ca6f02dab8603a148059edfd6b3f01e55556",
|
|
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: "5731f04b1976e5e1f96ab37f577ead3889b80e8c",
|
|
70
70
|
class: "q2-optgroup-header",
|
|
71
71
|
id: this.headerId
|
|
72
72
|
}, this.label && a(this.label) || ""), e("div", {
|
|
73
|
-
key: "
|
|
73
|
+
key: "a52522a81176e91855514da0f051058c740ee4b6",
|
|
74
74
|
class: "q2-optgroup-options"
|
|
75
75
|
}, e("slot", {
|
|
76
|
-
key: "
|
|
76
|
+
key: "8b0c0e1f18f3b8ca76cd3c00e28e5cef73457ca6"
|
|
77
77
|
})));
|
|
78
78
|
}
|
|
79
79
|
get hostElement() {
|
|
@@ -289,12 +289,12 @@ const l = class {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
return i("nav", {
|
|
292
|
-
key: "
|
|
292
|
+
key: "642369130b2d57d4e6a89927608636a4da87f11d",
|
|
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: "e988b3374cec5bb1a73dfbcc705899fb3a3474d6",
|
|
298
298
|
class: "description",
|
|
299
299
|
"test-id": "description"
|
|
300
300
|
}, e ? r("tecton.element.pagination.pages", {
|
|
@@ -305,13 +305,13 @@ const l = class {
|
|
|
305
305
|
recordType: s.toLowerCase(),
|
|
306
306
|
total: c.toLocaleString()
|
|
307
307
|
})), i("div", {
|
|
308
|
-
key: "
|
|
308
|
+
key: "8ac5316082ab9fcc03fd6c605e56e31124f5d5dc",
|
|
309
309
|
class: "controls"
|
|
310
310
|
}, i("div", {
|
|
311
|
-
key: "
|
|
311
|
+
key: "c7e99c77f10d0d587d31af19b3bd39ba2d64aeb7",
|
|
312
312
|
class: "btn-group"
|
|
313
313
|
}, i("q2-btn", {
|
|
314
|
-
key: "
|
|
314
|
+
key: "ba7cc1e9b1eee9d0db75e7f653c74974e06435a6",
|
|
315
315
|
ref: t => this.firstPageBtn = t,
|
|
316
316
|
label: r("tecton.element.pagination.goToFirstPage"),
|
|
317
317
|
disabled: f || u,
|
|
@@ -320,10 +320,10 @@ const l = class {
|
|
|
320
320
|
"test-id": "firstPageBtn",
|
|
321
321
|
"hide-label": true
|
|
322
322
|
}, i("q2-icon", {
|
|
323
|
-
key: "
|
|
323
|
+
key: "90b82dd3b935af151d517c997086e5779e51bd3c",
|
|
324
324
|
type: "chevron-double-left"
|
|
325
325
|
})), i("q2-btn", {
|
|
326
|
-
key: "
|
|
326
|
+
key: "179b59d1c5cebff1897d5e0a3e825e969da90719",
|
|
327
327
|
ref: t => this.prevPageBtn = t,
|
|
328
328
|
label: y,
|
|
329
329
|
disabled: f || u,
|
|
@@ -331,21 +331,21 @@ const l = class {
|
|
|
331
331
|
"test-id": "prevPageBtn",
|
|
332
332
|
"hide-label": true
|
|
333
333
|
}, i("q2-icon", {
|
|
334
|
-
key: "
|
|
334
|
+
key: "b23b78e56fc5df453036c07c055f2bc7bf10da11",
|
|
335
335
|
type: "chevron-left"
|
|
336
336
|
}))), i("div", {
|
|
337
|
-
key: "
|
|
337
|
+
key: "5ac4941af9479fe7c2644cfe56fb1bf3f4e2c968",
|
|
338
338
|
class: "input-display",
|
|
339
339
|
hidden: a
|
|
340
340
|
}, i("span", {
|
|
341
|
-
key: "
|
|
341
|
+
key: "f748874515ec184a25bc2f10f16f1031b4ed5583",
|
|
342
342
|
"aria-hidden": "true"
|
|
343
343
|
}, r("tecton.element.pagination.page")), i("div", {
|
|
344
|
-
key: "
|
|
344
|
+
key: "2e870838a5ca57ccfd80f648f8eaf6f895c950be",
|
|
345
345
|
class: "input-wrapper",
|
|
346
346
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
347
347
|
}, i("q2-input", {
|
|
348
|
-
key: "
|
|
348
|
+
key: "3c765b872520ae12cf6d86789a5dfb56fe140d97",
|
|
349
349
|
ref: t => this.inputField = t,
|
|
350
350
|
type: "number",
|
|
351
351
|
value: `${h}`,
|
|
@@ -363,13 +363,13 @@ const l = class {
|
|
|
363
363
|
current: "page",
|
|
364
364
|
disabled: f
|
|
365
365
|
})), i("span", {
|
|
366
|
-
key: "
|
|
366
|
+
key: "1fad0a391c7b5b2bac9439b7116674d43d205a95",
|
|
367
367
|
"aria-hidden": "true"
|
|
368
368
|
}, r("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))), i("div", {
|
|
369
|
-
key: "
|
|
369
|
+
key: "52dc5be6a7deae84418c2cfbf108b68451c3db5b",
|
|
370
370
|
class: "btn-group"
|
|
371
371
|
}, i("q2-btn", {
|
|
372
|
-
key: "
|
|
372
|
+
key: "b1aa2468c227ad4f251736eee6596a0525f620dd",
|
|
373
373
|
ref: t => this.nextPageBtn = t,
|
|
374
374
|
label: v,
|
|
375
375
|
disabled: f || b,
|
|
@@ -377,10 +377,10 @@ const l = class {
|
|
|
377
377
|
"test-id": "nextPageBtn",
|
|
378
378
|
"hide-label": true
|
|
379
379
|
}, i("q2-icon", {
|
|
380
|
-
key: "
|
|
380
|
+
key: "689bc3f2f90724c53ff67d9724d17cc303af716c",
|
|
381
381
|
type: "chevron-right"
|
|
382
382
|
})), i("q2-btn", {
|
|
383
|
-
key: "
|
|
383
|
+
key: "bb1bb9cbbbc58454e6f811fcaa5359d561d79042",
|
|
384
384
|
ref: t => this.lastPageBtn = t,
|
|
385
385
|
label: "tecton.element.pagination.goToLastPage",
|
|
386
386
|
disabled: f || b,
|
|
@@ -389,10 +389,10 @@ const l = class {
|
|
|
389
389
|
"test-id": "lastPageBtn",
|
|
390
390
|
"hide-label": true
|
|
391
391
|
}, i("q2-icon", {
|
|
392
|
-
key: "
|
|
392
|
+
key: "d271e5fd48c58f95f0b8d2d45af6f48c335038e8",
|
|
393
393
|
type: "chevron-double-right"
|
|
394
394
|
})))), i("div", {
|
|
395
|
-
key: "
|
|
395
|
+
key: "cc2ac1c470e2034b242079c44ecf4435cb42548e",
|
|
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()));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as i, h as o, g as e } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
|
-
import { a
|
|
3
|
+
import { a, o as r, i as n, w as c, l as s } from "./index-C4PILj1_.js";
|
|
4
4
|
|
|
5
5
|
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -39,7 +39,7 @@ const h = class {
|
|
|
39
39
|
values: [],
|
|
40
40
|
active: false
|
|
41
41
|
});
|
|
42
|
-
this.scheduledAfterRender.push(
|
|
42
|
+
this.scheduledAfterRender.push(a);
|
|
43
43
|
};
|
|
44
44
|
this.determineOptionCount = async () => {
|
|
45
45
|
if (this.optionList) {
|
|
@@ -123,7 +123,7 @@ const h = class {
|
|
|
123
123
|
this.handleSelectionChanges = async t => {
|
|
124
124
|
const {multiple: i} = this;
|
|
125
125
|
const {value: o = "", values: e = []} = t;
|
|
126
|
-
const
|
|
126
|
+
const a = i ? !!e.length : !!o;
|
|
127
127
|
if (!this.hostElement.onchange) {
|
|
128
128
|
if (i) {
|
|
129
129
|
this.selectedOptions = e;
|
|
@@ -140,7 +140,7 @@ const h = class {
|
|
|
140
140
|
l(this, [ "change", "tctChange" ], {
|
|
141
141
|
value: i ? undefined : o,
|
|
142
142
|
values: e,
|
|
143
|
-
active:
|
|
143
|
+
active: a
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
146
|
this.handleWrapperClick = () => {
|
|
@@ -190,10 +190,10 @@ const h = class {
|
|
|
190
190
|
this.updateSlotState = () => {
|
|
191
191
|
const {hostElement: t, hasPopoverTop: i, hasPopoverBottom: o} = this;
|
|
192
192
|
const e = t.shadowRoot.querySelector('slot[name="popover-top"]');
|
|
193
|
-
const
|
|
194
|
-
const
|
|
195
|
-
const n = (
|
|
196
|
-
if (i !==
|
|
193
|
+
const a = t.shadowRoot.querySelector('slot[name="popover-bottom"]');
|
|
194
|
+
const r = (e === null || e === void 0 ? void 0 : e.assignedNodes().length) > 0;
|
|
195
|
+
const n = (a === null || a === void 0 ? void 0 : a.assignedNodes().length) > 0;
|
|
196
|
+
if (i !== r) this.hasPopoverTop = r;
|
|
197
197
|
if (o !== n) this.hasPopoverBottom = n;
|
|
198
198
|
};
|
|
199
199
|
}
|
|
@@ -213,7 +213,7 @@ const h = class {
|
|
|
213
213
|
this.mutationObserver = t;
|
|
214
214
|
}
|
|
215
215
|
componentDidLoad() {
|
|
216
|
-
|
|
216
|
+
r(this.hostElement);
|
|
217
217
|
this.syncValueProperties();
|
|
218
218
|
}
|
|
219
219
|
componentDidRender() {
|
|
@@ -284,23 +284,23 @@ const h = class {
|
|
|
284
284
|
selectedOptionsChanged(t) {
|
|
285
285
|
var i, o;
|
|
286
286
|
const {multiple: e} = this;
|
|
287
|
-
const
|
|
287
|
+
const a = (o = (i = t === null || t === void 0 ? void 0 : t[0]) === null || i === void 0 ? void 0 : i.value) !== null && o !== void 0 ? o : null;
|
|
288
288
|
if (e) {
|
|
289
289
|
if (this.value) this.value = null;
|
|
290
290
|
this.updateSelectedOptionElements();
|
|
291
|
-
} else if (this.value ===
|
|
291
|
+
} else if (this.value === a) {
|
|
292
292
|
this.updateSelectedOptionElements();
|
|
293
293
|
} else {
|
|
294
|
-
this.value =
|
|
294
|
+
this.value = a;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
async valueChanged(t, i, o) {
|
|
298
|
-
var e,
|
|
299
|
-
const {label:
|
|
298
|
+
var e, a;
|
|
299
|
+
const {label: r, multiple: n, selectedOptions: c, value: s} = this;
|
|
300
300
|
const l = o === "value" ? t : s;
|
|
301
|
-
const p = o === "label" ? t :
|
|
301
|
+
const p = o === "label" ? t : r;
|
|
302
302
|
if (n) return;
|
|
303
|
-
const d = (
|
|
303
|
+
const d = (a = (e = c === null || c === void 0 ? void 0 : c[0]) === null || e === void 0 ? void 0 : e.value) !== null && a !== void 0 ? a : null;
|
|
304
304
|
if (o === "value" && t === d) this.updateSelectedOptionElements(); else {
|
|
305
305
|
const i = await this.getOption(t);
|
|
306
306
|
const {value: o, display: e} = i || {
|
|
@@ -344,37 +344,37 @@ const h = class {
|
|
|
344
344
|
renderIcon() {
|
|
345
345
|
const {optionCount: t, active: i} = this;
|
|
346
346
|
const e = t && i;
|
|
347
|
-
const
|
|
348
|
-
const
|
|
349
|
-
return o(
|
|
347
|
+
const a = e ? "button" : "div";
|
|
348
|
+
const r = e || !t ? "close" : "chevron-down";
|
|
349
|
+
return o(a, {
|
|
350
350
|
class: "btn-close",
|
|
351
351
|
onClick: e && this.clearSelectedOptions || undefined,
|
|
352
352
|
disabled: e && this.disabled || undefined,
|
|
353
353
|
"aria-label": e && s("tecton.element.pill.clearSelection") || undefined,
|
|
354
354
|
type: e && "button" || undefined
|
|
355
355
|
}, o("q2-icon", {
|
|
356
|
-
type:
|
|
356
|
+
type: r
|
|
357
357
|
}));
|
|
358
358
|
}
|
|
359
359
|
render() {
|
|
360
360
|
const {optionCount: t, active: i, open: e} = this;
|
|
361
|
-
const
|
|
362
|
-
if (t || i)
|
|
363
|
-
if (t)
|
|
361
|
+
const a = [ "btn-wrapper" ];
|
|
362
|
+
if (t || i) a.push("has-icon");
|
|
363
|
+
if (t) a.push("has-options");
|
|
364
364
|
return o("click-elsewhere", {
|
|
365
|
-
key: "
|
|
365
|
+
key: "e967de8b2086ebf86f51cc927c3430c07ad37636",
|
|
366
366
|
onChange: this.onClickElsewhere
|
|
367
367
|
}, o("div", {
|
|
368
|
-
key: "
|
|
369
|
-
class:
|
|
368
|
+
key: "38c871229f1f80d49b003d5c6f7895c335a9eed8",
|
|
369
|
+
class: a.join(" ")
|
|
370
370
|
}, o("div", {
|
|
371
|
-
key: "
|
|
371
|
+
key: "8dd9a60999c49de096f8f8f67adccffba0f9a80a",
|
|
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: "1d485d62c6acfaee927e1fa1aa0bc9401c7f2c98",
|
|
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: "05ca8c8195186b220364ee67198d6210bbe34455",
|
|
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: "e1eb81bfc0489fd9450975eee632fb59830cce54",
|
|
404
404
|
class: "popover-content"
|
|
405
405
|
}, o("div", {
|
|
406
|
-
key: "
|
|
406
|
+
key: "a101a2d7f88fdb18f2a859737f1bca96742bad7e",
|
|
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: "752c27b869d1dd91f5d369e7f1675554e48a4554",
|
|
414
414
|
name: "popover-top"
|
|
415
415
|
})), o("q2-option-list", {
|
|
416
|
-
key: "
|
|
416
|
+
key: "2f70d1533c8733721326b02a47531a7feb47ab7e",
|
|
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: "5ffddd45ce88c535a5bb4481f34a74690cb8d46f"
|
|
428
428
|
})), o("div", {
|
|
429
|
-
key: "
|
|
429
|
+
key: "1c5ae3722ea7caace731239ac0d91d4fcbe7eb8b",
|
|
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: "afa0d457a65303d7a4e50fa9e633e9fa609922e8",
|
|
437
437
|
name: "popover-bottom"
|
|
438
438
|
})))));
|
|
439
439
|
}
|
|
@@ -181,23 +181,23 @@ const c = class {
|
|
|
181
181
|
const {hasError: r} = this;
|
|
182
182
|
const a = t && !this.hideLabel || r;
|
|
183
183
|
return i(o, {
|
|
184
|
-
key: "
|
|
184
|
+
key: "3fa5b7ba14cd74a3544ad38d40c74127126f0fc6"
|
|
185
185
|
}, a && i("div", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "254b8a8ec9f21fccf2227966f56e366682957da8",
|
|
187
187
|
class: "label-row"
|
|
188
188
|
}, t && !this.hideLabel && i("div", {
|
|
189
|
-
key: "
|
|
189
|
+
key: "f1176458f14bfc50adaab4a0d5342a7fcf58c6a4",
|
|
190
190
|
class: "group-legend"
|
|
191
191
|
}, d(this)), r && i("q2-icon", {
|
|
192
|
-
key: "
|
|
192
|
+
key: "7b829af0555cd13090459c5dc83ba22ce4cbe92c",
|
|
193
193
|
type: "error",
|
|
194
194
|
"test-id": "iconError"
|
|
195
195
|
})), i("fieldset", {
|
|
196
|
-
key: "
|
|
196
|
+
key: "1eb9e6e18c1a5442d4582f23649b06d3864412b7",
|
|
197
197
|
onChange: this.onInnerRadioChange,
|
|
198
198
|
"aria-invalid": r ? `${r}` : undefined
|
|
199
199
|
}, t && i("legend", {
|
|
200
|
-
key: "
|
|
200
|
+
key: "2ee4c9b44c86077fbda3f9eef02da24546cb6ec6",
|
|
201
201
|
class: "sr-only"
|
|
202
202
|
}, d(this)), this.inputDom()));
|
|
203
203
|
}
|
|
@@ -87,10 +87,10 @@ const d = class {
|
|
|
87
87
|
// #region Render Methods
|
|
88
88
|
render() {
|
|
89
89
|
return t("div", {
|
|
90
|
-
key: "
|
|
90
|
+
key: "1c740c79651798b5aa532b48a8d35fbfb44e47a9",
|
|
91
91
|
class: this.groupTileLayout ? "radio-tile" : "radio-container"
|
|
92
92
|
}, t("input", {
|
|
93
|
-
key: "
|
|
93
|
+
key: "1e8f5b6100d8ad8c43a60afba569184f5ccd8530",
|
|
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: "d86c5a574f853b570491bc9842996d9300b3a72c",
|
|
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: "473eb06c9c4a1b7ebd8014642da157b2aa4a5d08",
|
|
112
112
|
viewBox: "0 0 18 18"
|
|
113
113
|
}, t("circle", {
|
|
114
|
-
key: "
|
|
114
|
+
key: "0035db29b3d96bb1e322fd8aa7233554098be30a",
|
|
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: "6efda15f869a255325c8f09e9cf250a50627bd6d",
|
|
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: "5def4a33beb0e6bd0e4327cdfb07d3fdabb4a72e",
|
|
131
131
|
class: "label-content"
|
|
132
132
|
}, this.label && l(this.label) || "", t("slot", {
|
|
133
|
-
key: "
|
|
133
|
+
key: "f8ca1eac5a03d93e7019b5e5bd25456acf5a1230"
|
|
134
134
|
}))));
|
|
135
135
|
}
|
|
136
136
|
get hostElement() {
|