q2-tecton-elements 1.56.3 → 1.56.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +263 -217
- package/dist/cjs/{index-99667782.js → index-905f4c87.js} +1 -5
- package/dist/cjs/index-905f4c87.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +4 -4
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-bar.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-donut.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.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 +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +25 -22
- package/dist/cjs/q2-dropdown.cjs.entry.js.map +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-file-picker.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-item_3.cjs.entry.js +3 -3
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list_2.cjs.entry.js +49 -62
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
- package/dist/cjs/q2-pill.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +81 -11
- package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-tag.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-tooltip.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-calendar/test/q2-calendar-test.e2e.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js.map +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-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +25 -21
- package/dist/collection/components/q2-dropdown/q2-dropdown.js.map +1 -1
- package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js +34 -32
- package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js.map +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-modal/q2-modal.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-pagination/test/q2-pagination-test.e2e.js +1 -0
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.css +18 -10
- package/dist/collection/components/q2-popover/q2-popover.js +50 -62
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js +1 -34
- package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js +743 -435
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js.map +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 +96 -14
- package/dist/collection/components/q2-select/q2-select.js.map +1 -1
- package/dist/collection/components/q2-select/test/q2-select-test.spec.js +327 -0
- package/dist/collection/components/q2-select/test/q2-select-test.spec.js.map +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.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-tag/test/q2-tag-test.e2e.js +5 -0
- package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js.map +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/index2.js +1 -4
- package/dist/components/index2.js.map +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-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-currency.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +24 -21
- package/dist/components/q2-dropdown.js.map +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-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +49 -62
- package/dist/components/q2-popover2.js.map +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 +84 -14
- package/dist/components/q2-select2.js.map +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-tag.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/{index-c215e8ef.js → index-f2a66217.js} +2 -5
- package/dist/esm/index-f2a66217.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +2 -2
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +4 -4
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-chart-area.entry.js +2 -2
- package/dist/esm/q2-chart-bar.entry.js +2 -2
- package/dist/esm/q2-chart-donut.entry.js +2 -2
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.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 +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +25 -22
- package/dist/esm/q2-dropdown.entry.js.map +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-file-picker.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-item_3.entry.js +3 -3
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option-list_2.entry.js +49 -62
- package/dist/esm/q2-option-list_2.entry.js.map +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +4 -4
- package/dist/esm/q2-pill.entry.js +2 -2
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +82 -12
- package/dist/esm/q2-select.entry.js.map +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-tag.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{index-c215e8ef.js → index-f2a66217.js} +2 -6
- package/dist/q2-tecton-elements/index-f2a66217.js.map +1 -0
- package/dist/q2-tecton-elements/q2-action-group.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-calendar.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +80 -80
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-data-table.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-detail.entry.js +39 -39
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +79 -75
- package/dist/q2-tecton-elements/q2-dropdown.entry.js.map +1 -1
- 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-file-picker.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item_3.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-modal.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +67 -67
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +236 -241
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-pill.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-select.entry.js +146 -88
- package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-tag.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +6 -4
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -4
- package/dist/types/components/q2-select/q2-select.d.ts +18 -0
- package/package.json +3 -3
- package/dist/cjs/index-99667782.js.map +0 -1
- package/dist/esm/index-c215e8ef.js.map +0 -1
- package/dist/q2-tecton-elements/index-c215e8ef.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, F as r, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as a, e as s } from "./index-
|
|
3
|
+
import { l as a, e as s } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const n = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@keyframes growFromCenterFadeIn{from{transform:scaleX(0.75) scaleY(0.75);opacity:0}to{transform:scaleX(1) scaleY(1);opacity:1}}@keyframes shrinkToCenterFadeOut{from{transform:scaleX(1) scaleY(1);opacity:1}to{transform:scaleX(0.75) scaleY(0.75);opacity:0}}:host{--comp-default-file-picker-margin:var(--tct-file-picker-margin-top, var(--t-file-picker-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-file-picker-margin-bottom, var(--t-file-picker-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-file-picker-margin, var(--comp-default-file-picker-margin))}.browse{text-align:left}.drop-zone-text{color:var(--tct-file-picker-drop-zone-text-color, var(--t-gray-6, #4d4d4d));font-size:var(--tct-file-picker-drop-zone-font-size, var(--app-font-size-small, 12px));font-weight:var(--tct-file-picker-browse-link-font-weight, 700);margin-bottom:0;margin-top:var(--tct-file-picker-drop-zone-text-margin-top, var(--app-scale-2x, 10px))}.description{color:var(--tct-file-picker-description-text-color, var(--t-gray-1, #0d0d0d));font-size:var(--tct-file-picker-description-font-size, var(--app-font-size-small, 12px));font-weight:var(--tct-file-picker-description-font-weight, 400);text-align:var(--tct-file-picker-description-text-align, left)}.drop-zone{align-items:center;background-color:var(--tct-file-picker-drop-zone-background, var(--t-tertiary, #e8f5fc));border-color:var(--tct-file-picker-drop-zone-border-color, var(--t-gray-8, #808080));border-radius:var(--tct-file-picker-drop-zone-border-radius, var(--app-border-radius-2, 6px));border-style:var(--tct-file-picker-drop-zone-border-style, dashed);border-width:var(--tct-file-picker-drop-zone-border-width, 2px);color:var(--tct-file-picker-drop-zone-color, #747474);display:flex;flex-direction:column;font-size:var(--tct-file-picker-drop-zone-font-size, --app-font-size, 14px);font-weight:var(--tct-file-picker-drop-zone-font-weight, 400);height:var(--tct-file-picker-drop-zone-height, 150px);justify-content:center;max-width:var(--tct-file-picker-drop-zone-max-width, 640px);min-width:var(--tct-file-picker-drop-zone-min-width, 320px);padding:var(--tct-file-picker-drop-zone-padding, 20px);text-align:center;width:var(--tct-file-picker-drop-zone-width, 100%)}.drop-zone-highlighted{background-color:var(--tct-file-picker-drop-zone-highlighted-background, var(--tertiary-d-1, #bee1f6));border-color:var(--tct-file-picker-drop-zone-highlighted-border, var(--t-gray-8, #808080))}.fade-in{animation-fill-mode:both;animation-play-state:running;animation:growFromCenterFadeIn 0.2s ease-in}.fade-out{animation:shrinkToCenterFadeOut 0.1s ease-out;animation-play-state:running;animation-fill-mode:both}.file-item{--tct-btn-icon-border-radius:4px;--tct-btn-neutral-text-active-font-color:var(--tct-file-picker-item-close-btn-active-color, var(--t-gray-1, #0d0d0d));--tct-btn-neutral-text-focus-visible-outer-ring-color:var(--tct-file-picker-item-close-btn-color, var(--t-gray-1, #0d0d0d));--tct-btn-neutral-text-font-color:var(--tct-file-picker-item-close-btn-color, var(--t-gray-1, #0d0d0d));--tct-btn-neutral-text-hover-outer-ring-color:var(--tct-file-picker-item-close-btn-hover-focus-ring-color, var(--t-gray-1, #0d0d0d));--tct-btn-icon-padding:0;--tct-icon-stroke-primary:var(--tct-file-picker-item-close-btn-color, var(--t-gray-1, #0d0d0d));--tct-item-body-font-size:var(--tct-file-picker-item-font-size, var(--app-font-size-small, 12px));--tct-item-body-font-weight:var(--tct-file-picker-item-font-weight, 400);--tct-item-border-radius:var(--tct-file-picker-item-border-radius, var(--app-border-radius-3, 12px));--tct-item-border:var(--tct-file-picker-item-border-width, 1px) solid var(--tct-file-picker-item-border-color, var(--t-gray-8, #808080));--tct-item-header-color:var(--tct-file-picker-item-name-color, var(--t-gray-1, #0d0d0d));--tct-item-header-font-size:var(--tct-file-picker-item-name-font-size, var(--app-font-size-small, 12px));--tct-item-header-font-weight:var(--tct-file-picker-item-name-font-weight, 400);--tct-item-padding:var(--tct-file-picker-item-padding, var(--app-scale-1x, 5px) var(--app-scale-2x, 10px));text-align:left}.file-item-info{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.file-item-loading{font-size:var(--tct-file-picker-file-item-loading-size, var(--app-scale-6x, 30px));margin-bottom:calc(var(--tct-file-picker-file-item-loading-margin-bottom, var(--app-scale-6x, 30px)) / 8.57);margin-left:calc(var(--tct-file-picker-file-item-loading-margin-bottom, var(--app-scale-1x, 5px)) / 2)}.file-list{--tct-list-item-gap:var(--tct-file-picker-section-gap, var(--app-scale-3x, 15px))}.file-list-container{max-height:var(--tct-file-picker-list-max-height, 190px);max-width:var(--tct-file-picker-drop-zone-max-width, 640px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--tct-file-picker-scrollbar-color, var(--t-a11y-gray-color, #949494)) transparent}.file-picker{display:flex;flex-direction:column;gap:var(--tct-file-picker-file-item-gap, var(--app-scale-3x, 15px))}.heading{display:flex;flex-direction:column;gap:var(--tct-file-picker-heading-gap, var(--app-scale-1x, 5px));justify-content:space-between}.icon-success,.icon-error{--tct-icon-size:var(--tct-file-picker-file-item-icon-size, var(--app-scale-6x, 30px));--tct-icon-stroke-width:2px}.label{color:var(--tct-file-picker-label-color, var(--t-gray-1, #0d0d0d));display:inline-block;font-size:var(--tct-file-picker-label-font-size, var(--app-font-size, 14px));font-weight:var(--tct-file-picker-label-font-weight, 600);text-align:var(--tct-file-picker-label-text-align, left)}.loading{font-size:var(--tct-file-picker-loading-size, var(--app-scale-6x, 25px))}.loading-file{color:var(--tct-file-picker-loading-file-color, var(--t-gray-1, #0d0d0d));font-size:var(--tct-file-picker-loading-file-font-size, var(--app-font-size-small, 12px));font-weight:var(--tct-file-picker-loading-file-font-weight, 400);margin:0}.loading-message{color:var(--tct-file-picker-loading-message-color, var(--t-gray-1, #0d0d0d));font-size:var(--tct-file-picker-loading-message-font-size, var(--app-font-size-small, 12px));font-weight:var(--tct-file-picker-loading-message-font-weight, 700);margin-bottom:var(--tct-file-picker-loading-message-margin-bottom, var(--app-scale-2x, 10px));margin-top:var(--tct-file-picker-loading-message-margin-top, var(--app-scale-2x, 10px))}.dismiss-button{height:30px;width:30px}.dismiss-button:hover{--tct-icon-stroke-primary:var(--tct-file-picker-item-close-btn-hover-color, var(--t-gray-1, #0d0d0d))}[slot=action]{display:flex;align-items:center}";
|
|
6
6
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as o, h as a } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const n = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.container{--tct-input-margin:var(--comp-spacing);--tct-select-margin:var(--comp-spacing);--tct-calendar-margin:var(--comp-spacing);--tct-file-picker-margin:var(--comp-spacing);--tct-textarea-margin:var(--comp-spacing);--tct-checkbox-group-margin:var(--comp-spacing);--tct-radio-group-margin:var(--comp-spacing)}:host([spacing=none]) .container{--comp-spacing-none:var(--app-scale-0x, 0px);--comp-spacing:var(--tct-form-spacing-none, var(--comp-spacing-none) 0)}:host([spacing=compact]) .container{--comp-spacing-compact:var(--app-scale-3x, 15px);--comp-spacing:var(--tct-form-spacing-compact, var(--comp-spacing-compact) 0)}:host(:not([spacing]),[spacing=normal]) .container{--comp-spacing-normal:var(--app-scale-5x, 25px);--comp-spacing:var(--tct-form-spacing-normal, var(--comp-spacing-normal) 0)}:host([spacing=comfortable]) .container{--comp-spacing-comfortable:var(--app-scale-7x, 35px);--comp-spacing:var(--tct-form-spacing-comfortable, var(--comp-spacing-comfortable) 0)}";
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const c = n;
|
|
6
6
|
|
|
7
7
|
const i = class {
|
|
8
|
-
constructor(
|
|
9
|
-
|
|
8
|
+
constructor(a) {
|
|
9
|
+
o(this, a);
|
|
10
10
|
this.spacing = "normal";
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return
|
|
14
|
-
key: "
|
|
13
|
+
return a("div", {
|
|
14
|
+
key: "75b376daf1c33d954674037fea49b27b00ab49c3",
|
|
15
15
|
class: "container"
|
|
16
|
-
},
|
|
17
|
-
key: "
|
|
16
|
+
}, a("slot", {
|
|
17
|
+
key: "0d23b04de6f082f7985adecb3d4b9bf89f8efbf4"
|
|
18
18
|
}));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
i.style =
|
|
22
|
+
i.style = c;
|
|
23
23
|
|
|
24
24
|
export { i as q2_form };
|
|
25
25
|
//# sourceMappingURL=q2-form.entry.js.map
|
|
@@ -49,11 +49,11 @@ const s = class {
|
|
|
49
49
|
render() {
|
|
50
50
|
const {formattedTextClasses: t} = this;
|
|
51
51
|
return e("div", {
|
|
52
|
-
key: "
|
|
52
|
+
key: "04b61a747abc6f233682f329dc20d99fbda5f870",
|
|
53
53
|
class: t,
|
|
54
54
|
"aria-label": this.formattedValue
|
|
55
55
|
}, e("span", {
|
|
56
|
-
key: "
|
|
56
|
+
key: "2ecad2428993d705980f797e5a5cd1b54fc63c1f"
|
|
57
57
|
}, this.formattedValue));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as e, g as i, c as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { o as n, e as r } from "./index-
|
|
3
|
+
import { o as n, e as r } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const a = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block}:host .item{--comp-border-radius:var(--tct-item-border-radius, var(--app-border-radius-0, 0))}:host([clickable]){cursor:pointer;--comp-background:var(--tct-btn-primary-background, var(--tct-btn-primary-bg, var(--t-a11y-active-gray-color-AA, #404040)))}:host([clickable]) .item{--comp-border-radius:var(--tct-item-border-radius, var(--app-border-radius-1, 4px));--comp-btn-tween:var(--tct-btn-tween, var(--t-btn-tween, var(--tct-tween-1, var(--app-tween-1, 0.2s ease))));--comp-btn-fallback-box-shadow:0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);--comp-hover-box-shadow:var(--tct-btn-primary-box-shadow, var(--comp-btn-fallback-box-shadow));--comp-active-box-shadow:var(--tct-btn-primary-active-background, #0063a0);--comp-font-color:var(--tct-btn-primary-font-color, var(--app-white, #ffffff));--comp-hover-outer-ring-color:var(--tct-btn-primary-hover-outer-ring-color, var(--comp-background));--comp-hover-inner-ring-color:var(--tct-btn-primary-hover-inner-ring-color, var(--comp-font-color));--comp-hover-box-shadow:0 0 0 2px var(--comp-hover-inner-ring-color),\n 0 0 0 4px var(--comp-hover-outer-ring-color)}:host([clickable]) .item:hover{box-shadow:var(--comp-hover-box-shadow)}:host([clickable]) .item:active{box-shadow:var(--comp-active-box-shadow)}:host([clickable]) .item:focus-visible{box-shadow:var(--const-double-focus-ring)}.action{--tct-btn-icon-height:var(--tct-item-action-icon-height, var(--app-scale-6x, 30px));--tct-btn-icon-width:var(--tct-item-action-icon-width, var(--app-scale-6x, 30px));--tct-icon-size:var(--tct-item-action-icon-size, var(--app-scale-6x, 30px));--tct-radio-label-hidden-columns:18px;--tct-radio-label-margin-right:0;--tct-radio-margin:0;align-items:center;display:flex;grid-row:1;justify-content:center}.action-no-bullet{grid-column:2}.body{color:var(--tct-item-body-color, var(--t-textA, #747474));font-size:var(--tct-item-body-font-size, var(--app-font-size, 14px));font-weight:var(--tct-item-body-font-weight, 400)}.bullet{--tct-avatar-fallback-height:var(--tct-item-avatar-height, var(--app-scale-7x, 35px));--tct-avatar-fallback-width:var(--tct-item-avatar-width, var(--app-scale-7x, 35px));--tct-avatar-height:var(--tct-item-avatar-height, var(--app-scale-7x, 35px));--tct-avatar-width:var(--tct-item-avatar-width, var(--app-scale-7x, 35px));grid-column:1;grid-row-start:1;grid-row-end:3;padding-top:var(--tct-item-bullet-padding-top, var(--app-scale-1x, 5px));text-align:center}.bullet-no-footer{grid-row-end:2}.footer{grid-column-start:2;grid-column-end:4;grid-row:2}.footer-no-action-nor-bullet{grid-column-start:1;grid-column-end:2}.footer-no-action{grid-column-start:2;grid-column-end:3}.footer-no-bullet{grid-column-start:1;grid-column-end:3}.header{color:var(--tct-item-header-color, var(--t-text, #4d4d4d));font-size:var(--tct-item-header-font-size, 16px);font-weight:var(--tct-item-header-font-weight, 600);line-height:var(--tct-item-header-line-height, 1.5)}.item{border:var(--tct-item-border);border-radius:var(--comp-border-radius);transition:var(--comp-btn-tween);transition-property:box-shadow;column-gap:var(--tct-item-horizontal-spacing, var(--app-scale-3x, 15px));display:grid;grid-template-columns:minmax(var(--app-scale-7x, 35px), auto) minmax(0, 1fr) minmax(var(--app-scale-5x, 25px), auto);grid-template-rows:auto auto;padding:var(--tct-item-padding, 0);row-gap:var(--tct-item-vertical-spacing, var(--app-scale-2x, 10px))}.item-no-action-nor-bullet{grid-template-columns:auto}.item-no-action{grid-template-columns:minmax(var(--app-scale-7x, 35px), auto) minmax(0, 1fr)}.item-no-footer{grid-template-rows:auto}.item-no-bullet{grid-template-columns:minmax(0, 1fr) minmax(var(--app-scale-5x, 25px), auto)}.main{grid-column:2;grid-row:1}.main-no-action-nor-bullet{grid-column:1}.main-no-bullet{grid-column:1}";
|
|
6
6
|
|
|
@@ -106,44 +106,44 @@ const d = class {
|
|
|
106
106
|
render() {
|
|
107
107
|
const {clickable: t} = this;
|
|
108
108
|
return e("div", {
|
|
109
|
-
key: "
|
|
109
|
+
key: "50dfa5bbda8a2e9e999e8d2f8802769f364d89b1",
|
|
110
110
|
"test-id": "itemContainer",
|
|
111
111
|
class: this.itemClasses,
|
|
112
112
|
ref: t => this.itemElement = t,
|
|
113
113
|
role: t ? "button" : undefined,
|
|
114
114
|
tabIndex: t ? 0 : undefined
|
|
115
115
|
}, this.hasBulletSlotContent && e("div", {
|
|
116
|
-
key: "
|
|
116
|
+
key: "1c26db2c974577f5fbbec8a01e6e9f4e9cef9f96",
|
|
117
117
|
class: this.bulletClasses
|
|
118
118
|
}, e("slot", {
|
|
119
|
-
key: "
|
|
119
|
+
key: "91e7c3f7b1c8fc0d75fa33b4dca0c07e11257020",
|
|
120
120
|
name: "bullet"
|
|
121
121
|
})), e("div", {
|
|
122
|
-
key: "
|
|
122
|
+
key: "5942e7972b1bf3894e4854973b9f3a6667e578bf",
|
|
123
123
|
class: this.mainClasses
|
|
124
124
|
}, this.hasHeaderSlotContent && e("div", {
|
|
125
|
-
key: "
|
|
125
|
+
key: "21f2819f13d44e5ed8738e415c1e3d793fb75e44",
|
|
126
126
|
class: "header"
|
|
127
127
|
}, e("slot", {
|
|
128
|
-
key: "
|
|
128
|
+
key: "a6c8182d90972e7492ead940ae386fc1739209a7",
|
|
129
129
|
name: "header"
|
|
130
130
|
})), this.hasBodySlotContent && e("div", {
|
|
131
|
-
key: "
|
|
131
|
+
key: "91fbced71976b927615b32e54a7b9f42261d0d0e",
|
|
132
132
|
class: "body"
|
|
133
133
|
}, e("slot", {
|
|
134
|
-
key: "
|
|
134
|
+
key: "cd989467616bc33970cd1e32477678855c32ff79",
|
|
135
135
|
name: "body"
|
|
136
136
|
}))), this.hasActionSlotContent && e("div", {
|
|
137
|
-
key: "
|
|
137
|
+
key: "ff878148864e9c18365e820c1b47937de4d57750",
|
|
138
138
|
class: this.actionClasses
|
|
139
139
|
}, e("slot", {
|
|
140
|
-
key: "
|
|
140
|
+
key: "5b03288fd354d4d00ae9b3339e22374288897ceb",
|
|
141
141
|
name: "action"
|
|
142
142
|
})), this.hasFooterSlotContent && e("div", {
|
|
143
|
-
key: "
|
|
143
|
+
key: "986e46c47edfee86e61937902a94aa25463cf6f3",
|
|
144
144
|
class: this.footerClasses
|
|
145
145
|
}, e("slot", {
|
|
146
|
-
key: "
|
|
146
|
+
key: "5fbbe5165bb9e9fc700e01082aca5d7319d1e448",
|
|
147
147
|
name: "footer"
|
|
148
148
|
})));
|
|
149
149
|
}
|
|
@@ -302,23 +302,23 @@ const f = class {
|
|
|
302
302
|
// #region Render Methods
|
|
303
303
|
render() {
|
|
304
304
|
return e("div", {
|
|
305
|
-
key: "
|
|
305
|
+
key: "b9a278c2835f8019f4ce77f3faad5245da4837be",
|
|
306
306
|
class: this.listClasses,
|
|
307
307
|
ref: t => this.listElement = t
|
|
308
308
|
}, (this.hasFilterSlot || this.hasLabelContent) && e("div", {
|
|
309
|
-
key: "
|
|
309
|
+
key: "9b748a716d57f3aa8cd1f951dd6dc6431e8ad598",
|
|
310
310
|
class: this.headerClasses
|
|
311
311
|
}, e("div", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "1ccc3478d514a9a977351579b83286c33dd01721",
|
|
313
313
|
class: "label"
|
|
314
314
|
}, this.label), this.hasFilterSlot && e("slot", {
|
|
315
|
-
key: "
|
|
315
|
+
key: "92220efb13353cf88f24adcc77bb9591b25bc94b",
|
|
316
316
|
name: "filter"
|
|
317
317
|
})), e("div", {
|
|
318
|
-
key: "
|
|
318
|
+
key: "eacbad6f3cfe9b7c714771da194da02e480bf928",
|
|
319
319
|
role: "list"
|
|
320
320
|
}, e("slot", {
|
|
321
|
-
key: "
|
|
321
|
+
key: "f509ef608b8e016f1d22e93e66f8d10285dfad8f"
|
|
322
322
|
})));
|
|
323
323
|
}
|
|
324
324
|
get hostElement() {
|
|
@@ -103,10 +103,10 @@ const o = class {
|
|
|
103
103
|
// #region Render Methods
|
|
104
104
|
render() {
|
|
105
105
|
return i("click-elsewhere", {
|
|
106
|
-
key: "
|
|
106
|
+
key: "f1b2cc98ce1049fdab0a64f1bf716060cc8658c2",
|
|
107
107
|
onChange: () => this.onClickElsewhere(this)
|
|
108
108
|
}, i("ul", {
|
|
109
|
-
key: "
|
|
109
|
+
key: "9310fd8b724fb252b7c8f76147d2447d48d1d14b"
|
|
110
110
|
}, this.dataWithClasses.map((t => i("li", {
|
|
111
111
|
class: "item"
|
|
112
112
|
}, i("button", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as a, g as e } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { o as s, i as o, n as r, t as i, l as n } from "./index-
|
|
3
|
+
import { o as s, i as o, n as r, t as i, l as n } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const c = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block}:host([hidden]){display:none}.message{border-left-width:var(--tct-message-bar-width, var(--t-message-bar-width, var(--app-scale-1x, 5px)));border-left-style:solid;--comp-line-height:var(--tct-message-line-height, var(--t-message-line-height, var(--app-line-height, 1.428571429em)));display:grid;gap:var(--tct-scale-1, var(--app-scale-1x, 5px));align-items:flex-start;background:var(--tct-message-background, var(--tct-message-bg, var(--t-message-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2)))))));color:var(--tct-message-font-color, var(--t-message-font-color, inherit));box-shadow:var(--tct-message-box-shadow, var(--t-message-box-shadow, inherit));border-radius:var(--tct-message-border-radius, var(--t-message-border-radius, inherit))}.message:focus{box-shadow:var(--const-global-focus)}.message-icon{--comp-top-offset:calc(calc(var(--comp-line-height) - var(--comp-icon-size)) / 2);--tct-icon-size:var(--comp-icon-size);top:var(--comp-top-offset);margin-bottom:calc(var(--comp-top-offset) * -1)}.message-content{flex:1;line-height:var(--comp-line-height)}::slotted(ul){--comp-list-default-padding:0 0 0 var(--app-scale-3x, 15px);padding:var(--tct-message-list-padding, var(--comp-list-default-padding))}:host(:not([appearance])),:host([appearance=standard]){--comp-default-margin:var(--app-scale-3x, 5px) 0;margin:var(--tct-message-margin, var(--comp-default-margin))}:host(:not([appearance])) .message,:host([appearance=standard]) .message{--comp-icon-size:var(--tct-message-icon-size, var(--t-message-icon-size, 24px));--comp-padding:var(--tct-message-padding, var(--t-message-padding, var(--app-scale-3x, 15px)));grid-template-columns:var(--comp-icon-size) 1fr;padding:var(--comp-padding);padding-left:calc(var(--comp-padding) - var(--tct-scale-2, var(--app-scale-2x, 10px)));padding-bottom:calc(var(--comp-padding) - var(--tct-scale-1, var(--app-scale-1x, 5px)))}:host(:not([appearance])) ::slotted(ul),:host([appearance=standard]) ::slotted(ul){--comp-list-default-margin:var(--app-scale-3x, 15px) 0;margin:var(--tct-message-list-margin, var(--comp-list-default-margin))}:host([appearance=minimal]){margin:0}:host([appearance=minimal]) .message{padding:var(--tct-message-minimal-padding, var(--t-message-minimal-padding, var(--app-scale-2x, 10px)));grid-template-columns:1fr}:host([appearance=minimal]) ::slotted(ul){margin:var(--tct-scale-1, var(--app-scale-1x, 5px)) 0}:host(:not([type])) .message,:host([type=info]) .message{border-left-color:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))}:host(:not([type])) .message-icon,:host([type=info]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1));--tct-icon-stroke-secondary:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))}:host([type=success]) .message{border-left-color:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00))}:host([type=success]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00));--tct-icon-stroke-secondary:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00))}:host([type=warning]) .message{border-left-color:var(--tct-stoplight-warning, var(--const-stoplight-warning, #c35500))}:host([type=warning]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-warning, var(--const-stoplight-warning, #c35500));--tct-icon-stroke-secondary:var(--tct-stoplight-warning, var(--const-stoplight-warning, #c35500))}:host([type=error]) .message,:host([type=danger]) .message{border-left-color:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a))}:host([type=error]) .message-icon,:host([type=danger]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a));--tct-icon-stroke-secondary:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a))}";
|
|
6
6
|
|
|
@@ -66,7 +66,7 @@ const d = class {
|
|
|
66
66
|
const {description: o} = this;
|
|
67
67
|
const r = n(`tecton.element.message.type.${this.type ? this.type : "info"}`);
|
|
68
68
|
return a("div", {
|
|
69
|
-
key: "
|
|
69
|
+
key: "6f3af6002aa956f2a62e66df60f86e4c3d2318ab",
|
|
70
70
|
tabindex: "-1",
|
|
71
71
|
class: "message",
|
|
72
72
|
role: o ? undefined : "alert",
|
|
@@ -75,17 +75,17 @@ const d = class {
|
|
|
75
75
|
"aria-relevant": o && e ? undefined : "all",
|
|
76
76
|
"test-id": "messageContainer"
|
|
77
77
|
}, this.appearance === "standard" ? this.messageIcon(this.type) : "", s && a("div", {
|
|
78
|
-
key: "
|
|
78
|
+
key: "be9dc7762c3b6142862d18adb51b37431e1c965e",
|
|
79
79
|
class: "sr"
|
|
80
80
|
}), a("div", {
|
|
81
|
-
key: "
|
|
81
|
+
key: "123d2b573a948eaa40867097e882a495580dde0e",
|
|
82
82
|
class: "sr message-label"
|
|
83
83
|
}, r), a("div", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "31bec3d11a0fa60dde66d54053c1a92c842c55cf",
|
|
85
85
|
class: "message-content",
|
|
86
86
|
"aria-hidden": e ? "true" : undefined
|
|
87
87
|
}, a("slot", {
|
|
88
|
-
key: "
|
|
88
|
+
key: "8a15ba2c2b36a8f3b73cb211d817304abb38da9b"
|
|
89
89
|
})));
|
|
90
90
|
}
|
|
91
91
|
get hostElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as t, c as i, h as o, g as
|
|
1
|
+
import { r as t, c as i, h as o, g as e } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { p as
|
|
3
|
+
import { p as a, w as r, e as s } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
import { s as d } from "./sanitize-html-string-735c19f5.js";
|
|
6
6
|
|
|
@@ -67,10 +67,10 @@ const l = class {
|
|
|
67
67
|
var t;
|
|
68
68
|
const i = this.contentElement.scrollHeight;
|
|
69
69
|
const o = Math.ceil(this.contentElement.scrollTop);
|
|
70
|
-
const
|
|
70
|
+
const e = Math.ceil(((t = this.contentElement.getBoundingClientRect()) === null || t === void 0 ? void 0 : t.height) || 0);
|
|
71
71
|
// to show bottom gradient when more contents available
|
|
72
|
-
if (i >
|
|
73
|
-
i <=
|
|
72
|
+
if (i > e) {
|
|
73
|
+
i <= e + o ? this.contentElement.classList.remove("more-gradient") : this.contentElement.classList.add("more-gradient");
|
|
74
74
|
} else {
|
|
75
75
|
this.contentElement.classList.remove("more-gradient");
|
|
76
76
|
}
|
|
@@ -99,7 +99,7 @@ const l = class {
|
|
|
99
99
|
this.dialogElement.addEventListener("cancel", this.onCancel);
|
|
100
100
|
this.tctReady.emit();
|
|
101
101
|
this.bodyOverflow = document.body.style.overflow;
|
|
102
|
-
this.debouncedScroll =
|
|
102
|
+
this.debouncedScroll = a(this.onContentScroll, 100);
|
|
103
103
|
this.contentElement.addEventListener("scroll", this.debouncedScroll);
|
|
104
104
|
}
|
|
105
105
|
componentDidRender() {
|
|
@@ -156,67 +156,67 @@ const l = class {
|
|
|
156
156
|
const t = `interior`;
|
|
157
157
|
const i = `${this.renderStatus || ""}`;
|
|
158
158
|
return o("dialog", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "e261675529f0fca98e0df94747ab85a391675b56",
|
|
160
160
|
ref: t => this.dialogElement = t,
|
|
161
161
|
class: i,
|
|
162
162
|
onClick: this.onClick
|
|
163
163
|
}, o("div", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "92e29c8d96c9a200faa5de4bb745682adddc9672",
|
|
165
165
|
class: t
|
|
166
166
|
}, this.title && o("header", {
|
|
167
|
-
key: "
|
|
167
|
+
key: "c9be962ee668dd38bc9687b7513e1b8212271c13"
|
|
168
168
|
}, this.title && o("h2", {
|
|
169
|
-
key: "
|
|
169
|
+
key: "49408207c3bcab05902f2b086ad33c0a6f4bed5b",
|
|
170
170
|
class: "title"
|
|
171
171
|
}, this.title), !!this.closable && o("q2-btn", {
|
|
172
|
-
key: "
|
|
172
|
+
key: "125ef2f2501db785ee64bf6cd0f2819c9fbb1c08",
|
|
173
173
|
class: "btn-close",
|
|
174
174
|
"test-id": "btnClose",
|
|
175
175
|
onClick: this.onCancel,
|
|
176
176
|
label: "tecton.element.modal.close",
|
|
177
177
|
"hide-label": true
|
|
178
178
|
}, o("q2-icon", {
|
|
179
|
-
key: "
|
|
179
|
+
key: "356f891879eb7236df237dea9ca3a04492e3ef9d",
|
|
180
180
|
type: "close"
|
|
181
181
|
}))), o("div", {
|
|
182
|
-
key: "
|
|
182
|
+
key: "8011acdd94084041c5638dd7f36b11383bc8d96b",
|
|
183
183
|
class: "content",
|
|
184
184
|
ref: t => this.contentElement = t
|
|
185
185
|
}, this.icon && o("div", {
|
|
186
|
-
key: "
|
|
186
|
+
key: "1ea508709847537f75bec4dc6dffa994608f673a",
|
|
187
187
|
class: "icon"
|
|
188
188
|
}, o("q2-icon", {
|
|
189
|
-
key: "
|
|
189
|
+
key: "498a9f7315cbe8b1a6a665a21fe3f059fbaeef75",
|
|
190
190
|
type: this.icon,
|
|
191
191
|
style: this.iconStyle()
|
|
192
192
|
})), this.imageSrc && o("div", {
|
|
193
|
-
key: "
|
|
193
|
+
key: "3cf8de8eff6f76a6d393d203e076a5342428efef",
|
|
194
194
|
class: "image"
|
|
195
195
|
}, o("img", {
|
|
196
|
-
key: "
|
|
196
|
+
key: "661271b0feee6b05d65fe45be304a7a3c8724ef6",
|
|
197
197
|
src: this.imageSrc
|
|
198
198
|
})), s(this.hostElement, "content") && o("slot", {
|
|
199
|
-
key: "
|
|
199
|
+
key: "ff394b2cbcb073433820b1b749351dc23abf7ba0",
|
|
200
200
|
name: "content"
|
|
201
201
|
}), this.description && o("p", {
|
|
202
|
-
key: "
|
|
202
|
+
key: "1a1ee0636c1519995711530fcf6ae6c142a3c6e3",
|
|
203
203
|
class: "description"
|
|
204
204
|
}, this.description), this.customMarkup && o("p", {
|
|
205
|
-
key: "
|
|
205
|
+
key: "aa28aaa4fcd83e1ba5663886f4ef6b9f3cc384f6",
|
|
206
206
|
class: "customMarkup",
|
|
207
207
|
innerHTML: d(this.customMarkup)
|
|
208
208
|
})), o("footer", {
|
|
209
|
-
key: "
|
|
209
|
+
key: "0934473d012524592ee0760b19333f50ca6ddd81"
|
|
210
210
|
}, o("q2-action-group", {
|
|
211
|
-
key: "
|
|
211
|
+
key: "ecd8fee68fb7262800185fdd139d2bb79743092a",
|
|
212
212
|
"full-width": true
|
|
213
213
|
}, o("slot", {
|
|
214
|
-
key: "
|
|
214
|
+
key: "6e603da8f98bfc10ff65d3d310d135e7931bed54",
|
|
215
215
|
name: "action"
|
|
216
216
|
})))));
|
|
217
217
|
}
|
|
218
218
|
get hostElement() {
|
|
219
|
-
return
|
|
219
|
+
return e(this);
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { r as t, c as
|
|
1
|
+
import { r as t, c as e, h as n, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as a, o as i } from "./index-
|
|
3
|
+
import { l as a, o as i } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const r = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.month-container{--comp-month-primary-background:var(--tct-btn-primary-background, var(--tct-btn-primary-bg, var(--t-btn-primary-bg, #2e2e2e)));--comp-month-primary-font-color:var(--tct-btn-primary-font-color, var(--t-btn-primary-font-color, var(--tct-white, var(--app-white, #ffffff))));--comp-month-primary-background:var(--tct-btn-secondary-background, var(--tct-btn-secondary-bg, var(--t-button-default-bg, #cccccc)));--comp-month-secondary-font-color:var(--tct-btn-secondary-font-color, var(--t-btn-secondary-font-color, var(--t-button-default-font-color, #2e2e2e)))}.month-container .navigation{display:flex;justify-content:space-between;flex-direction:row}.month-container .navigation .year-btn{padding:0 1rem;display:flex;align-items:center}.month-container .navigation .year-btn .year{margin-right:0.2rem}.month-container .navigation .year-btn .year-icon{--t-icon-stroke-width:2px;width:16px;height:16px;transition:all 0.3s ease-in-out}.month-container .navigation .year-btn .year-icon.on{transform:rotate(-180deg)}.month-container .navigation .month-controller{display:flex;align-items:center}.month-container .month-list{display:grid;grid-template-columns:auto auto auto}.month-container .month-list .month{display:flex;justify-content:center;align-items:center;padding:0.5rem 0}.month-container .month-list .month .month-button{border-radius:50%;aspect-ratio:1;width:50px;display:flex;justify-content:center;align-items:center}.month-container .month-list .month .month-button:hover{background:var(--comp-month-primary-background);color:var(--comp-month-secondary-font-color);cursor:pointer}.month-container .month-list .month .month-button:active,.month-container .month-list .month .month-button.active{background:var(--comp-month-primary-background);color:var(--comp-month-primary-font-color)}.month-container .today-label{padding:0.5rem 0;color:var(--tct-calendar-day-selected-outline-color, var(--t-calendar-day-selected-outline-color, var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))))}";
|
|
6
6
|
|
|
7
7
|
const c = r;
|
|
8
8
|
|
|
9
9
|
const s = class {
|
|
10
|
-
constructor(
|
|
11
|
-
t(this,
|
|
12
|
-
this.toggleChange =
|
|
13
|
-
this.viewChange =
|
|
10
|
+
constructor(n) {
|
|
11
|
+
t(this, n);
|
|
12
|
+
this.toggleChange = e(this, "toggleChange", 7);
|
|
13
|
+
this.viewChange = e(this, "viewChange", 7);
|
|
14
14
|
// #region Own Properties
|
|
15
15
|
this.monthGrid = [ [ 0, 1, 2 ], [ 3, 4, 5 ], [ 6, 7, 8 ], [ 9, 10, 11 ] ];
|
|
16
16
|
this.months = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ].map((t => ({
|
|
@@ -21,34 +21,34 @@ const s = class {
|
|
|
21
21
|
// #endregion
|
|
22
22
|
// #region Local Methods
|
|
23
23
|
this.focusMonth = t => {
|
|
24
|
-
const
|
|
25
|
-
if (
|
|
24
|
+
const e = this.hostElement.shadowRoot.querySelector(`.month-button[data-index="${t}"]`);
|
|
25
|
+
if (e) {
|
|
26
26
|
this.focusedIndex = t;
|
|
27
|
-
|
|
27
|
+
e.focus();
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
this.moveMonth = (t,
|
|
30
|
+
this.moveMonth = (t, e, n) => {
|
|
31
31
|
const o = t.length;
|
|
32
32
|
const a = t[0].length;
|
|
33
|
-
const i = Math.floor(
|
|
34
|
-
const r =
|
|
33
|
+
const i = Math.floor(e / a);
|
|
34
|
+
const r = e % a;
|
|
35
35
|
const c = [ i, r ];
|
|
36
|
-
if (
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
if (n.key === "ArrowUp") {
|
|
37
|
+
n.stopPropagation();
|
|
38
|
+
n.preventDefault();
|
|
39
39
|
return t[Math.max(0, c[0] - 1)][c[1]];
|
|
40
|
-
} else if (
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
} else if (n.key === "ArrowDown") {
|
|
41
|
+
n.stopPropagation();
|
|
42
|
+
n.preventDefault();
|
|
43
43
|
return t[Math.min(o - 1, c[0] + 1)][c[1]];
|
|
44
|
-
} else if (
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
return Math.max(0,
|
|
48
|
-
} else if (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
return Math.min(this.months.length - 1,
|
|
44
|
+
} else if (n.key === "ArrowLeft") {
|
|
45
|
+
n.stopPropagation();
|
|
46
|
+
n.preventDefault();
|
|
47
|
+
return Math.max(0, e - 1);
|
|
48
|
+
} else if (n.key === "ArrowRight") {
|
|
49
|
+
n.stopPropagation();
|
|
50
|
+
n.preventDefault();
|
|
51
|
+
return Math.min(this.months.length - 1, e + 1);
|
|
52
52
|
} else {
|
|
53
53
|
return t[c[0]][c[1]];
|
|
54
54
|
}
|
|
@@ -60,30 +60,30 @@ const s = class {
|
|
|
60
60
|
});
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
|
-
const
|
|
64
|
-
if (!
|
|
63
|
+
const e = t.target.dataset.index;
|
|
64
|
+
if (!e) return;
|
|
65
65
|
if (t.key === "Enter" || t.key === " ") {
|
|
66
66
|
t.preventDefault();
|
|
67
67
|
t.stopPropagation();
|
|
68
|
-
this.selectMonth(Number(
|
|
68
|
+
this.selectMonth(Number(e));
|
|
69
69
|
} else {
|
|
70
|
-
const
|
|
71
|
-
this.focusMonth(
|
|
70
|
+
const n = this.moveMonth(this.monthGrid, Number(e), t);
|
|
71
|
+
this.focusMonth(n);
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
this.onMonthSelection = t => {
|
|
75
|
-
var
|
|
75
|
+
var e, n;
|
|
76
76
|
const o = t.target.closest(".month-button");
|
|
77
|
-
if ((
|
|
78
|
-
this.selectMonth(Number((
|
|
77
|
+
if ((e = o === null || o === void 0 ? void 0 : o.dataset) === null || e === void 0 ? void 0 : e.index) {
|
|
78
|
+
this.selectMonth(Number((n = o === null || o === void 0 ? void 0 : o.dataset) === null || n === void 0 ? void 0 : n.index));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
this.selectMonth = t => {
|
|
82
|
-
var
|
|
82
|
+
var e, n, o;
|
|
83
83
|
this.selectedIndex = t;
|
|
84
84
|
this.focusedIndex = t;
|
|
85
85
|
const a = this.hostElement.shadowRoot.querySelector(`.month-button[data-index="${t}"]`);
|
|
86
|
-
(
|
|
86
|
+
(e = this.hostElement.shadowRoot.querySelectorAll(`.month-button`)) === null || e === void 0 ? void 0 : e.forEach((t => t.classList.remove("active")));
|
|
87
87
|
a === null || a === void 0 ? void 0 : a.classList.add("active");
|
|
88
88
|
a === null || a === void 0 ? void 0 : a.focus();
|
|
89
89
|
const i = {
|
|
@@ -92,7 +92,7 @@ const s = class {
|
|
|
92
92
|
monthIndex: t,
|
|
93
93
|
selectedYear: this.year
|
|
94
94
|
};
|
|
95
|
-
(o = (
|
|
95
|
+
(o = (n = this.hostElement).onchange) === null || o === void 0 ? void 0 : o.call(n, new CustomEvent("click", {
|
|
96
96
|
bubbles: true,
|
|
97
97
|
detail: i
|
|
98
98
|
}));
|
|
@@ -123,67 +123,67 @@ const s = class {
|
|
|
123
123
|
// #endregion
|
|
124
124
|
// #region Render Methods
|
|
125
125
|
render() {
|
|
126
|
-
return
|
|
127
|
-
key: "
|
|
126
|
+
return n("div", {
|
|
127
|
+
key: "a2cd6eda280f23475ee4f1ab29872e6667d4c7a6",
|
|
128
128
|
class: "month-container",
|
|
129
129
|
onKeyDown: this.onMonthKeydown
|
|
130
|
-
},
|
|
131
|
-
key: "
|
|
130
|
+
}, n("div", {
|
|
131
|
+
key: "17998748ded31646cb5ab2a9ec7b110c9fae386e",
|
|
132
132
|
class: "navigation"
|
|
133
|
-
},
|
|
134
|
-
key: "
|
|
133
|
+
}, n("q2-btn", {
|
|
134
|
+
key: "cedd674d79ffeab0fa6603cd17cc196030a1ea64",
|
|
135
135
|
class: "year-btn",
|
|
136
136
|
onClick: () => this.viewChange.emit({
|
|
137
137
|
view: "year",
|
|
138
138
|
selectedYear: this.year
|
|
139
139
|
})
|
|
140
|
-
},
|
|
141
|
-
key: "
|
|
140
|
+
}, n("span", {
|
|
141
|
+
key: "82dc9d7302ad2b286986601098343716052974d8",
|
|
142
142
|
class: "year"
|
|
143
|
-
}, this.year),
|
|
144
|
-
key: "
|
|
143
|
+
}, this.year), n("q2-icon", {
|
|
144
|
+
key: "b7f2ff86e4ad317b38fb495145516975600e95e5",
|
|
145
145
|
class: "year-icon off",
|
|
146
146
|
type: "chevron-down"
|
|
147
|
-
})),
|
|
148
|
-
key: "
|
|
147
|
+
})), n("div", {
|
|
148
|
+
key: "3544cee5c78dac5e9886e76a14bf7acc09916070",
|
|
149
149
|
class: "month-controller"
|
|
150
|
-
},
|
|
151
|
-
key: "
|
|
150
|
+
}, n("div", {
|
|
151
|
+
key: "a5a6ed45da80ea01f2ccb61518f48c6ceb69e99f",
|
|
152
152
|
class: "cal-year-prev-next"
|
|
153
|
-
},
|
|
154
|
-
key: "
|
|
153
|
+
}, n("q2-btn", {
|
|
154
|
+
key: "38a50b26ef2652c70edd45fa062dd0a492bda180",
|
|
155
155
|
label: a("tecton.element.calendar.previousYear"),
|
|
156
156
|
"hide-label": true,
|
|
157
157
|
class: "cal-nav-btn prev-year",
|
|
158
158
|
"test-id": "previousYearButton",
|
|
159
159
|
onClick: () => this.selectYear(this.year - 1)
|
|
160
|
-
},
|
|
161
|
-
key: "
|
|
160
|
+
}, n("q2-icon", {
|
|
161
|
+
key: "b8f64f6bace3a2136c1760ef9e000c7fabab4e23",
|
|
162
162
|
type: "arrow-left"
|
|
163
|
-
})),
|
|
164
|
-
key: "
|
|
163
|
+
})), n("q2-btn", {
|
|
164
|
+
key: "1d8a2d56bf3697a60e68c5716425427c9ce35f3e",
|
|
165
165
|
label: a("tecton.element.calendar.nextYear"),
|
|
166
166
|
"hide-label": true,
|
|
167
167
|
class: "cal-nav-btn next-year",
|
|
168
168
|
"test-id": "nextYearButton",
|
|
169
169
|
onClick: () => this.selectYear(this.year + 1)
|
|
170
|
-
},
|
|
171
|
-
key: "
|
|
170
|
+
}, n("q2-icon", {
|
|
171
|
+
key: "cf841e5dba06f28527cd9e89c3da94b84a3ff267",
|
|
172
172
|
type: "arrow-right"
|
|
173
|
-
}))))),
|
|
174
|
-
key: "
|
|
173
|
+
}))))), n("div", {
|
|
174
|
+
key: "61863a2ef6c42ad6dddf276835ec14e0b262120b",
|
|
175
175
|
class: "month-list",
|
|
176
176
|
onClick: this.onMonthSelection
|
|
177
|
-
}, this.months.map(((t,
|
|
177
|
+
}, this.months.map(((t, e) => n("div", {
|
|
178
178
|
class: "month"
|
|
179
|
-
},
|
|
179
|
+
}, n("span", {
|
|
180
180
|
role: "button",
|
|
181
181
|
class: "month-button",
|
|
182
|
-
"data-index":
|
|
182
|
+
"data-index": e,
|
|
183
183
|
"aria-label": t.label,
|
|
184
|
-
tabindex:
|
|
185
|
-
}, t.abbr))))), this.today &&
|
|
186
|
-
key: "
|
|
184
|
+
tabindex: e === this.focusedIndex ? 0 : -1
|
|
185
|
+
}, t.abbr))))), this.today && n("div", {
|
|
186
|
+
key: "baee50514a1673f651ed0724d2fe52faf1384037",
|
|
187
187
|
class: "today-label"
|
|
188
188
|
}, a("tecton.element.calendar.today"), ": ", this.today));
|
|
189
189
|
}
|