q2-tecton-elements 1.67.0 → 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 +450 -495
- 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 +49 -33
- 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-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.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-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-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/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.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 +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 +48 -52
- 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-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 +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-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 +48 -33
- 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 +49 -33
- 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-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.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-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-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 +212 -200
- 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-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 +6 -6
- 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.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 +11 -11
- 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 +69 -69
- 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-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 +13 -13
- package/dist/q2-tecton-elements/q2-modal.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +81 -81
- 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 +36 -36
- 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 +19 -19
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-stepper.entry.js +25 -25
- 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 +1 -6
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +1 -1
- package/dist/types/components.d.ts +0 -10
- 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
|
@@ -73,8 +73,8 @@ const a = class {
|
|
|
73
73
|
r = Math.max(t, r);
|
|
74
74
|
const o = {};
|
|
75
75
|
const a = {};
|
|
76
|
-
const
|
|
77
|
-
const
|
|
76
|
+
const n = this.tooltipCompleted ? i(this.tooltipCompleted) : this.completedValue;
|
|
77
|
+
const s = this.tooltipSuggested ? i(this.tooltipSuggested) : this.suggestedValue;
|
|
78
78
|
if (t === 0) {
|
|
79
79
|
o.transform = `translateX(0%)`;
|
|
80
80
|
o.left = "calc(0% - var(--comp-meter-dot-border-width))";
|
|
@@ -122,8 +122,8 @@ const a = class {
|
|
|
122
122
|
}, this.hideTooltip ? e("div", {
|
|
123
123
|
class: "dot"
|
|
124
124
|
}) : e("q2-tooltip", {
|
|
125
|
-
label:
|
|
126
|
-
position: this.adjustTooltipDirection(t,
|
|
125
|
+
label: n,
|
|
126
|
+
position: this.adjustTooltipDirection(t, n),
|
|
127
127
|
immediate: true
|
|
128
128
|
}, e("div", {
|
|
129
129
|
class: "dot"
|
|
@@ -133,8 +133,8 @@ const a = class {
|
|
|
133
133
|
}, this.hideTooltip ? e("div", {
|
|
134
134
|
class: "dot"
|
|
135
135
|
}) : e("q2-tooltip", {
|
|
136
|
-
label:
|
|
137
|
-
position: this.adjustTooltipDirection(r,
|
|
136
|
+
label: s,
|
|
137
|
+
position: this.adjustTooltipDirection(r, s),
|
|
138
138
|
immediate: true
|
|
139
139
|
}, e("div", {
|
|
140
140
|
class: "dot"
|
|
@@ -143,23 +143,23 @@ const a = class {
|
|
|
143
143
|
render() {
|
|
144
144
|
const [t, r] = this.convertToPercentage(this.completedValue, this.suggestedValue, this.maxValue);
|
|
145
145
|
return e("div", {
|
|
146
|
-
key: "
|
|
146
|
+
key: "656e8a53bbaf26529db53e535efcad7a22b9ee01",
|
|
147
147
|
class: "meter-container",
|
|
148
148
|
"aria-label": this.ariaLabel,
|
|
149
149
|
role: "group"
|
|
150
150
|
}, this.label && e("div", {
|
|
151
|
-
key: "
|
|
151
|
+
key: "25d53f9a1d387d4b839507239454484d9678061f",
|
|
152
152
|
class: "label",
|
|
153
153
|
"aria-label": i(this.label)
|
|
154
154
|
}, i(this.label)), this.description && e("div", {
|
|
155
|
-
key: "
|
|
155
|
+
key: "d5786b4e65ab5b262b82f107bb310ca27b34c4ed",
|
|
156
156
|
class: "description",
|
|
157
157
|
"aria-label": i(this.description)
|
|
158
158
|
}, i(this.description)), this.renderBar(t, r), e("div", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "015cc474c3113ff248982d64656218a79744e09e",
|
|
160
160
|
class: "legends"
|
|
161
161
|
}, e("div", {
|
|
162
|
-
key: "
|
|
162
|
+
key: "1af88cd2386058a8c20f3a82d0e40ffafffc4c38",
|
|
163
163
|
class: "left"
|
|
164
164
|
}, this.completedValue || this.completedLabel ? e("div", {
|
|
165
165
|
class: "completed"
|
|
@@ -174,10 +174,10 @@ const a = class {
|
|
|
174
174
|
}), e("div", {
|
|
175
175
|
class: "legend-label"
|
|
176
176
|
}, this.suggestedValue, " ", i(this.suggestedLabel))) : ""), e("div", {
|
|
177
|
-
key: "
|
|
177
|
+
key: "22eb4ec7a86114f3f109e4adfb0acbcea9509de8",
|
|
178
178
|
class: "right"
|
|
179
179
|
}, e("div", {
|
|
180
|
-
key: "
|
|
180
|
+
key: "b9384865d0ef8c81569243b40ccf320efcd208ec",
|
|
181
181
|
class: "max"
|
|
182
182
|
}, this.maxValue, " ", i(this.maxLabel)))));
|
|
183
183
|
}
|
|
@@ -2,9 +2,9 @@ import { r as t, c as o, h as a, g as i } from "./index-CGkHOjh1.js";
|
|
|
2
2
|
|
|
3
3
|
import { e, w as r, h as s } from "./index-C4PILj1_.js";
|
|
4
4
|
|
|
5
|
-
import { s as
|
|
5
|
+
import { s as d } from "./sanitize-html-string-B35VmRc9.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}@keyframes showBackdrop{from{opacity:0}}@keyframes hideBackdrop{to{opacity:0}}dialog{--comp-border-radius-default:var(--app-scale-3x, 15px);--comp-border-radius:var(--tct-modal-border-radius, var(--comp-border-radius-default));--comp-desktop-border-radius:var(--tct-modal-border-radius, var(--app-scale-3x, 15px));--comp-close-button-size:var(--tct-modal-close-button-size, var(--t-a11y-min-size, 44px));--comp-header-height:var(--tct-modal-header-height, var(--t-a11y-min-size, 44px));--comp-dialog-background:var(--tct-modal-background, var(--t-base, #ffffff));--comp-dialog-color:var(--tct-modal-color, var(--t-text, #4d4d4d));--comp-dialog-padding:var(--tct-modal-padding, var(--app-scale-3x, 15px));--comp-content-gradient-height:var(--tct-modal-content-gradient-height, var(--app-scale-2x, 10px));--comp-dialog-gap:var(--tct-modal-gap, var(--app-scale-2x, 10px));--comp-dialog-max-width:var(--tct-modal-max-width, 600px);--comp-dialog-max-height:var(--tct-modal-max-height, 100vh);--comp-dialog-min-height:var(--tct-modal-min-height, 40vh);--comp-dialog-box-shadow:var(--tct-modal-box-shadow, var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14)));position:fixed;top:100%;bottom:unset;color:var(--comp-dialog-color);background:var(--comp-dialog-background);transition:transform var(--tct-modal-tween, var(--app-tween-2, 0.4s ease)), opacity var(--tct-modal-tween, var(--app-tween-2, 0.4s ease));width:100%;max-width:var(--comp-dialog-max-width);border:0;border-radius:var(--comp-border-radius);box-shadow:var(--comp-dialog-box-shadow);padding:0;height:auto;overflow:hidden}dialog::backdrop{opacity:0;background:var(--tct-modal-backdrop-background, var(--t-top-a2, rgba(13, 13, 13, 0.6)))}dialog[open]{border-radius:var(--comp-desktop-border-radius);top:0px;bottom:0px;height:fit-content;transform:translateY(10%);opacity:1}dialog[open].is-opening,dialog[open].is-open{opacity:1;transform:translateY(0)}dialog[open].is-opening::backdrop,dialog[open].is-open::backdrop{opacity:1;animation:showBackdrop var(--tct-modal-tween, var(--app-tween-2, 0.4s ease))}dialog[open].is-closing{transform:translateY(10%)}dialog[open].is-closing::backdrop{animation:hideBackdrop var(--tct-modal-tween, var(--app-tween-2, 0.4s ease))}.content{overflow-y:auto;--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}.content::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.content::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.content::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.content .icon{height:var(--tct-modal-icon-size, var(--app-scale-9x, 45px));margin:var(--tct-modal-icon-margin, var(--app-scale-2x, 10px));display:flex;justify-content:center}.content .icon q2-icon{width:var(--tct-modal-icon-size, var(--app-scale-9x, 45px))}.content .image{display:flex;justify-content:center}.content .image img{width:100%;border-radius:var(--tct-modal-image-border-radius, var(--app-border-radius-2, 8px))}.content .description{font-size:var(--tct-modal-description-font-size, 14px)}.content.more-gradient{-webkit-mask-image:linear-gradient(to bottom, red 85%, transparent 100%);mask-image:linear-gradient(to bottom, red 85%, transparent 100%)}.interior{display:grid;min-height:var(--comp-dialog-min-height);grid-template-rows:auto 1fr auto;gap:var(--comp-dialog-gap);max-height:calc(var(--comp-dialog-max-height) - var(--comp-dialog-padding));padding:var(--comp-dialog-padding)}.interior.is-list header,.interior.is-list footer{position:relative}.interior.is-list header:before,.interior.is-list footer:before{content:"";display:block;position:absolute;left:0;height:var(--comp-content-gradient-height);width:100%;z-index:1}header{display:flex;justify-content:space-between;align-items:center}header .title{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-align:left;font-weight:var(--tct-modal-title-font-weight, 400);margin:0}header .btn-close{grid-area:close;width:var(--comp-close-button-size);height:var(--comp-close-button-size)}';
|
|
8
8
|
|
|
9
9
|
const n = class {
|
|
10
10
|
constructor(a) {
|
|
@@ -138,61 +138,61 @@ const n = class {
|
|
|
138
138
|
const t = `interior`;
|
|
139
139
|
const o = `${this.renderStatus || ""}`;
|
|
140
140
|
return a("dialog", {
|
|
141
|
-
key: "
|
|
141
|
+
key: "e7c16406478e632f39057feb8ab86029c2b6ddd7",
|
|
142
142
|
ref: t => this.dialogElement = t,
|
|
143
143
|
class: o,
|
|
144
144
|
onClick: this.onClick
|
|
145
145
|
}, a("div", {
|
|
146
|
-
key: "
|
|
146
|
+
key: "b59510c6a97ac4f8e4820465919e364a924b82e1",
|
|
147
147
|
class: t
|
|
148
148
|
}, this.title && a("header", {
|
|
149
|
-
key: "
|
|
149
|
+
key: "714904259d422f663d13aa27b715a2de9ab3b12b"
|
|
150
150
|
}, this.title && a("h2", {
|
|
151
|
-
key: "
|
|
151
|
+
key: "69e2f5f487b73fc84ff6e0ca1e9710d7c5f80938",
|
|
152
152
|
class: "title"
|
|
153
153
|
}, this.title), !!this.closable && a("q2-btn", {
|
|
154
|
-
key: "
|
|
154
|
+
key: "e9258c375fd6f077f296a496a6a67903a39f3d8c",
|
|
155
155
|
class: "btn-close",
|
|
156
156
|
"test-id": "btnClose",
|
|
157
157
|
onClick: this.onCancel,
|
|
158
158
|
label: "tecton.element.modal.close",
|
|
159
159
|
"hide-label": true
|
|
160
160
|
}, a("q2-icon", {
|
|
161
|
-
key: "
|
|
161
|
+
key: "4c07c70736c25e12d08d6f066507326bc333ad61",
|
|
162
162
|
type: "close"
|
|
163
163
|
}))), a("div", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "a40c63b069c6f8c03682d8626f9a359cb5f7f7fa",
|
|
165
165
|
class: "content",
|
|
166
166
|
ref: t => this.contentElement = t
|
|
167
167
|
}, this.icon && a("div", {
|
|
168
|
-
key: "
|
|
168
|
+
key: "95bf4a48929080493ed1f375648aa8630931e3be",
|
|
169
169
|
class: "icon"
|
|
170
170
|
}, a("q2-icon", {
|
|
171
|
-
key: "
|
|
171
|
+
key: "8e7d34940323c625e61eea7509d829d298af82a0",
|
|
172
172
|
type: this.icon
|
|
173
173
|
})), this.imageSrc && a("div", {
|
|
174
|
-
key: "
|
|
174
|
+
key: "9f6fbbd59c14cc5ee93601db161dd7c748e3b5a6",
|
|
175
175
|
class: "image"
|
|
176
176
|
}, a("img", {
|
|
177
|
-
key: "
|
|
177
|
+
key: "d97eb1d2dae996c2bcacddf840b984f1ffe05847",
|
|
178
178
|
src: this.imageSrc
|
|
179
179
|
})), s(this.hostElement, "content") && a("slot", {
|
|
180
|
-
key: "
|
|
180
|
+
key: "b7b66ddb181aa333fb88496984a6f35a34077baf",
|
|
181
181
|
name: "content"
|
|
182
182
|
}), this.description && a("p", {
|
|
183
|
-
key: "
|
|
183
|
+
key: "54dc54b11c8c351b760afc35c714d35277b3e463",
|
|
184
184
|
class: "description"
|
|
185
185
|
}, this.description), this.customMarkup && a("p", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "11e8922a3e277f6bb21c8cbcaf1be19de07d3a54",
|
|
187
187
|
class: "customMarkup",
|
|
188
|
-
innerHTML:
|
|
188
|
+
innerHTML: d(this.customMarkup)
|
|
189
189
|
})), a("footer", {
|
|
190
|
-
key: "
|
|
190
|
+
key: "f90f8a5569be4c1660c25388a9082e2e40a3e11d"
|
|
191
191
|
}, a("q2-action-group", {
|
|
192
|
-
key: "
|
|
192
|
+
key: "34254d2e03a6093e53324c3d98b0eb2ede3b14f2",
|
|
193
193
|
"full-width": true
|
|
194
194
|
}, a("slot", {
|
|
195
|
-
key: "
|
|
195
|
+
key: "a34ad5fa37fc258bd2863f2fd191acdac05de9cb",
|
|
196
196
|
name: "action"
|
|
197
197
|
})))));
|
|
198
198
|
}
|
|
@@ -201,7 +201,7 @@ const n = class {
|
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
|
|
204
|
-
n.style =
|
|
204
|
+
n.style = c;
|
|
205
205
|
|
|
206
206
|
export { n as q2_modal };
|
|
207
207
|
//# sourceMappingURL=q2-modal.entry.esm.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
-
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
|
|
|
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 => ({
|
|
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
|
|
@@ -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
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const r =
|
|
41
|
-
const c = [
|
|
42
|
-
if (
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
const i = t[0].length;
|
|
39
|
+
const a = Math.floor(e / i);
|
|
40
|
+
const r = e % i;
|
|
41
|
+
const c = [ a, r ];
|
|
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,43 +66,43 @@ 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
|
-
const
|
|
92
|
-
(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
const
|
|
91
|
+
const i = this.hostElement.shadowRoot.querySelector(`.month-button[data-index="${t}"]`);
|
|
92
|
+
(e = this.hostElement.shadowRoot.querySelectorAll(`.month-button`)) === null || e === void 0 ? void 0 : e.forEach((t => t.classList.remove("active")));
|
|
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,
|
|
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
|
-
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;
|
|
@@ -121,69 +121,69 @@ const c = class {
|
|
|
121
121
|
// #endregion
|
|
122
122
|
// #region Render Methods
|
|
123
123
|
render() {
|
|
124
|
-
return
|
|
125
|
-
key: "
|
|
124
|
+
return n("div", {
|
|
125
|
+
key: "c80017d8e2998167716488b46dd52cecfc47dcc5",
|
|
126
126
|
class: "month-container",
|
|
127
127
|
onKeyDown: this.onMonthKeydown
|
|
128
|
-
},
|
|
129
|
-
key: "
|
|
128
|
+
}, n("div", {
|
|
129
|
+
key: "7f14b1eac6019175522e7c5fc4b5b5b0b2967723",
|
|
130
130
|
class: "navigation"
|
|
131
|
-
},
|
|
132
|
-
key: "
|
|
131
|
+
}, n("q2-btn", {
|
|
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
|
-
},
|
|
139
|
-
key: "
|
|
138
|
+
}, n("span", {
|
|
139
|
+
key: "8165df4a38cfe5793689cb45bca424aaf6bcbf64",
|
|
140
140
|
class: "year"
|
|
141
|
-
}, this.year),
|
|
142
|
-
key: "
|
|
141
|
+
}, this.year), n("q2-icon", {
|
|
142
|
+
key: "827073a13b6d003b328a0fd8f8525b9b2a013ff2",
|
|
143
143
|
class: "year-icon off",
|
|
144
144
|
type: "chevron-down"
|
|
145
|
-
})),
|
|
146
|
-
key: "
|
|
145
|
+
})), n("div", {
|
|
146
|
+
key: "5b46832d6adc2f00e5a7db0f43446b9c6b89ecad",
|
|
147
147
|
class: "month-controller"
|
|
148
|
-
},
|
|
149
|
-
key: "
|
|
148
|
+
}, n("div", {
|
|
149
|
+
key: "8d25fa53c29f394461217255b6feb0ccd35ff884",
|
|
150
150
|
class: "cal-year-prev-next"
|
|
151
|
-
},
|
|
152
|
-
key: "
|
|
153
|
-
label:
|
|
151
|
+
}, n("q2-btn", {
|
|
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
|
-
},
|
|
159
|
-
key: "
|
|
158
|
+
}, n("q2-icon", {
|
|
159
|
+
key: "5b1f1906753a8b759c0b620deb49869834193035",
|
|
160
160
|
type: "arrow-left"
|
|
161
|
-
})),
|
|
162
|
-
key: "
|
|
163
|
-
label:
|
|
161
|
+
})), n("q2-btn", {
|
|
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
|
-
},
|
|
169
|
-
key: "
|
|
168
|
+
}, n("q2-icon", {
|
|
169
|
+
key: "db889911237e7655047f33e8e19b845de8203f57",
|
|
170
170
|
type: "arrow-right"
|
|
171
|
-
}))))),
|
|
172
|
-
key: "
|
|
171
|
+
}))))), n("div", {
|
|
172
|
+
key: "4a4740d1513e1f970ef2754a1a7ac24299e1683c",
|
|
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: "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()));
|