q2-tecton-elements 1.56.2 → 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 +303 -245
- 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 +12 -4
- package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
- 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 +33 -32
- package/dist/cjs/q2-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +7 -8
- package/dist/cjs/q2-editable-field.cjs.entry.js.map +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 +54 -63
- 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 +3 -2
- package/dist/cjs/q2-textarea.cjs.entry.js.map +1 -1
- 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-btn/q2-btn.js +4 -0
- package/dist/collection/components/q2-btn/q2-btn.js.map +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 +33 -31
- 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-editable-field/q2-editable-field.js +12 -7
- package/dist/collection/components/q2-editable-field/q2-editable-field.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-icon/q2-icon.js +4 -0
- package/dist/collection/components/q2-icon/q2-icon.js.map +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 +55 -63
- 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 +2 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js.map +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-btn2.js +4 -0
- package/dist/components/q2-btn2.js.map +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 +32 -31
- package/dist/components/q2-dropdown.js.map +1 -1
- package/dist/components/q2-editable-field.js +7 -8
- package/dist/components/q2-editable-field.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-icon2.js +4 -0
- package/dist/components/q2-icon2.js.map +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 +54 -63
- 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 +2 -1
- package/dist/components/q2-textarea.js.map +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 +12 -4
- package/dist/esm/q2-badge_7.entry.js.map +1 -1
- 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 +33 -32
- package/dist/esm/q2-dropdown.entry.js.map +1 -1
- package/dist/esm/q2-editable-field.entry.js +7 -8
- package/dist/esm/q2-editable-field.entry.js.map +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 +54 -63
- 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 +3 -2
- package/dist/esm/q2-textarea.entry.js.map +1 -1
- 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 +50 -42
- package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
- 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 +81 -79
- package/dist/q2-tecton-elements/q2-dropdown.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +32 -23
- package/dist/q2-tecton-elements/q2-editable-field.entry.js.map +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 +155 -154
- 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 +4 -3
- package/dist/q2-tecton-elements/q2-textarea.entry.js.map +1 -1
- 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-btn/q2-btn.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +7 -8
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +2 -1
- package/dist/types/components/q2-icon/q2-icon.d.ts +1 -0
- 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 e, c as o, h as t, g as c } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { c as r, a, o as i, i as s, l } from "./index-
|
|
3
|
+
import { c as r, a, o as i, i as s, l } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const h = '*{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{--comp-checkbox-padding:var(--tct-checkbox-padding, var(--tct-checkbox-vertical-padding, var(--t-checkbox-vertical-padding, 8px)) 0);display:block;position:relative;padding:var(--comp-checkbox-padding);--comp-default-checkbox-margin:var(--tct-checkbox-margin-top, var(--t-checkbox-margin-top, 0px)) 0 var(--tct-checkbox-margin-bottom, var(--t-checkbox-margin-bottom, 0px));margin:var(--tct-checkbox-margin, var(--comp-default-checkbox-margin))}.container{--comp-checkbox-size:var(--tct-checkbox-size, var(--t-checkbox-size, 24px));--comp-checkbox-default-column-gap:var(--app-scale-2x, 10px);--comp-checkbox-default-row-gap:0;--comp-checkbox-default-gap:var(--comp-checkbox-default-row-gap) var(--comp-checkbox-default-column-gap);--comp-checkbox-tween:var(--tct-tween-1, var(--app-tween-1, 0.2s ease));--comp-checkbox-toggle-width:var(--tct-checkbox-toggle-width, var(--t-checkbox-toggle-width, 38px));--comp-checkbox-toggle-error-color:var(--tct-checkbox-toggle-error-color, var(--comp-checkbox-error-color));--comp-checkbox-toggle-color:var(--tct-checkbox-toggle-color, var(--t-gray-8, #808080));--comp-checkbox-gap:var(--tct-checkbox-gap, var(--t-checkbox-gap, var(--comp-checkbox-default-gap)));--comp-checkbox-outer-stroke-color:var(--tct-checkbox-outer-stroke-color, var(--t-checkbox-outer-stroke-color, var(--t-a11y-gray-color-AA, #949494)));--comp-checkbox-outer-fill-color:var(--tct-checkbox-outer-fill-color, var(--t-checkbox-outer-fill-color, var(--tct-white, var(--app-white, #ffffff))));--comp-checkbox-checked-color:var(--tct-checkbox-check-stroke-color, var(--t-checkbox-check-stroke-color, var(--t-checkbox-fill, var(--t-a11y-active-gray-color-AA, #404040))));--comp-control-width:var(--comp-checkbox-size);--comp-checkbox-error-color:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a));display:grid;grid-template-areas:"svg label" "svg description";align-items:center;gap:var(--comp-checkbox-gap);grid-template-columns:var(--comp-control-width) calc(100% - var(--comp-control-width) - var(--comp-checkbox-default-column-gap))}:host([type=favorite]) .container{--comp-checkbox-favorite-stroke-color:var(--tct-checkbox-favorite-stroke-color, var(--t-checkbox-favorite-stroke-color, var(--t-a11y-gray-color-AA, #949494)));--comp-checkbox-favorite-fill-color:var(--tct-checkbox-favorite-fill-color, var(--t-checkbox-favorite-fill-color, #db7d24))}:host([hide-label]:not([hide-label=false])) .container{grid-template-areas:"svg";grid-template-columns:var(--comp-control-width)}:host([type=toggle]) .container{--comp-control-width:var(--comp-checkbox-toggle-width)}:host([alignment=right]) .container,:host([type=toggle]:not([alignment])) .container{grid-template-areas:"label svg" "description svg";grid-template-columns:calc(100% - var(--comp-control-width) - var(--comp-checkbox-default-column-gap)) var(--comp-control-width)}.label-control{align-items:center;display:flex}.label-text{grid-area:label;font-weight:var(--tct-checkbox-label-font-weight, var(--t-checkbox-label-font-weight, 400))}:host([description]) .label-text{font-weight:var(--tct-checkbox-label-font-weight, var(--t-checkbox-label-font-weight, 600))}:host([checked]:not([checked=false])) .label-text{font-weight:var(--tct-checkbox-checked-label-font-weight, var(--t-checkbox-checked-label-font-weight, 600))}:host(:hover) .label-text{font-weight:var(--tct-checkbox-hover-label-font-weight, var(--tct-checkbox-label-font-weight, var(--t-checkbox-label-font-weight, 400)))}:host(:focus-within) .label-text{font-weight:var(--tct-checkbox-focused-label-font-weight, var(--tct-checkbox-label-font-weight, var(--t-checkbox-label-font-weight, 400)))}:host([description]:hover) .label-text{font-weight:var(--tct-checkbox-hover-label-font-weight, var(--tct-checkbox-label-font-weight, var(--t-checkbox-label-font-weight, 600)))}:host([checked]:not([checked=false]):hover) .label-text{font-weight:var(--tct-checkbox-checked-hover-label-font-weight, var(--tct-checkbox-checked-label-font-weight, var(--t-checkbox-checked-label-font-weight, 600)))}:host([description]:focus-within) .label-text{font-weight:var(--tct-checkbox-focused-label-font-weight, var(--tct-checkbox-label-font-weight, var(--t-checkbox-label-font-weight, 600)))}:host([checked]:not([checked=false]):focus-within) .label-text{font-weight:var(--tct-checkbox-checked-focused-label-font-weight, var(--tct-checkbox-checked-label-font-weight, var(--t-checkbox-checked-label-font-weight, 600)))}.label-text label{line-height:var(--tct-checkbox-label-line-height, 24px)}.description-text{grid-area:description;font-weight:var(--tct-checkbox-description-font-weight, var(--t-checkbox-description-font-weight, 400))}:host(:hover) .description-text{font-weight:var(--tct-checkbox-hover-description-font-weight, var(--tct-checkbox-description-font-weight, var(--t-checkbox-description-font-weight, 400)))}label{color:var(--tct-checkbox-label-color);cursor:pointer;hyphens:var(--tct-checkbox-label-hyphens, auto);word-break:var(--tct-checkbox-label-word-break, break-word);word-wrap:var(--tct-checkbox-label-word-wrap, break-word)}.checkbox-icon{width:var(--comp-checkbox-size);height:var(--comp-checkbox-size);border-radius:var(--tct-checkbox-outer-border-radius, var(--t-checkbox-outer-border-radius, var(--tct-border-radius-1, var(--app-border-radius-1, 4px))));stroke:var(--comp-checkbox-outer-stroke-color);fill:var(--comp-checkbox-outer-fill-color);stroke-width:var(--tct-checkbox-outer-stroke-width, var(--t-checkbox-outer-stroke-width, 2));flex-shrink:0}:host([checked]:not([checked=false]):not([type=favorite])) .checkbox-icon{stroke:var(--tct-checkbox-checked-outer-stroke-color, var(--t-checkbox-checked-outer-stroke-color, var(--comp-checkbox-outer-stroke-color)));fill:var(--tct-checkbox-checked-outer-fill-color, var(--t-checkbox-checked-outer-fill-color, var(--comp-checkbox-outer-fill-color)))}:host([has-error]:not([type=favorite])) .checkbox-icon{stroke:var(--tct-checkbox-error-outer-stroke-color, var(--comp-checkbox-error-color));fill:var(--tct-checkbox-error-outer-fill-color, var(--comp-checkbox-outer-fill-color));box-shadow:var(--tct-checkbox-error-box-shadow)}:host(:hover:not([type=favorite])) .checkbox-icon{stroke:var(--tct-checkbox-hover-outer-stroke-color, var(--comp-checkbox-outer-stroke-color));fill:var(--tct-checkbox-hover-outer-fill-color, var(--comp-checkbox-outer-fill-color));box-shadow:var(--tct-checkbox-hover-box-shadow)}:host(:hover[has-error]:not([type=favorite])) .checkbox-icon{stroke:var(--tct-checkbox-error-hover-outer-stroke-color, var(--tct-checkbox-error-outer-stroke-color, var(--comp-checkbox-error-color)));fill:var(--tct-checkbox-error-hover-outer-fill-color, var(--tct-checkbox-error-outer-fill-color, var(--comp-checkbox-outer-fill-color)));box-shadow:var(--tct-checkbox-error-hover-box-shadow, var(--tct-checkbox-error-box-shadow, var(--tct-checkbox-hover-box-shadow)))}:host(:focus-within:not([type=favorite])) .checkbox-icon{--comp-checkbox-focused-box-shadow:var(--const-double-focus-ring), var(--tct-global-focus, 0 0 0 2px #33b4ff);stroke:var(--tct-checkbox-focused-outer-stroke-color, var(--t-checkbox-focused-outer-stroke-color, var(--comp-checkbox-checked-color)));fill:var(--tct-checkbox-focused-outer-fill-color, var(--comp-checkbox-outer-fill-color));box-shadow:var(--comp-checkbox-focused-box-shadow)}:host(:focus-within[has-error]:not([type=favorite])) .checkbox-icon{stroke:var(--tct-checkbox-error-focused-outer-stroke-color, var(--tct-checkbox-error-outer-stroke-color, var(--comp-checkbox-error-color)));fill:var(--tct-checkbox-error-focused-outer-fill-color, var(--tct-checkbox-error-outer-fill-color, var(--comp-checkbox-outer-fill-color)));box-shadow:var(--tct-checkbox-error-focused-box-shadow, var(--tct-checkbox-error-box-shadow, var(--comp-checkbox-focused-box-shadow)))}:host([type=favorite]) .checkbox-icon{--tct-icon-stroke-width:var(--tct-checkbox-favorite-stroke-width, var(--t-checkbox-favorite-stroke-width, 1));--tct-icon-stroke-primary:var(--comp-checkbox-favorite-stroke-color);transition:fill var(--comp-checkbox-tween), color var(--comp-checkbox-tween), stroke var(--comp-checkbox-tween)}:host(:hover[type=favorite]) .checkbox-icon{--tct-icon-stroke-primary:var(--tct-checkbox-favorite-hover-stroke-color, var(--comp-checkbox-favorite-fill-color));--tct-icon-stroke-width:var(--tct-checkbox-favorite-hover-stroke-width, var(--t-checkbox-favorite-hover-stroke-width, 2))}:host([type=favorite]:focus-within) .checkbox-icon{--tct-icon-stroke-primary:var(--tct-checkbox-favorite-focused-stroke-color, var(--comp-checkbox-favorite-fill-color));--tct-icon-stroke-width:var(--tct-checkbox-favorite-hover-stroke-width, var(--t-checkbox-favorite-hover-stroke-width, 2))}:host([checked]:not([checked=false])[type=favorite]) .checkbox-icon{--tct-icon-stroke-primary:var(--tct-checkbox-favorite-checked-stroke-color, var(--tct-checkbox-favorite-stroke-color, var(--comp-checkbox-favorite-fill-color)));fill:var(--tct-checkbox-favorite-checked-fill-color, var(--comp-checkbox-favorite-fill-color));transition:fill var(--comp-checkbox-tween), color var(--comp-checkbox-tween), stroke var(--comp-checkbox-tween)}:host([checked]:not([checked=false])[type=favorite]:hover) .checkbox-icon{--tct-icon-stroke-primary:var(--tct-checkbox-favorite-checked-hover-stroke-color, var(--tct-checkbox-favorite-hover-stroke-color, var(--comp-checkbox-favorite-stroke-color)));--tct-icon-fill-primary:var(--tct-checkbox-favorite-checked-fill-color, var(--comp-checkbox-favorite-fill-color));--tct-icon-stroke-width:var(--tct-checkbox-favorite-hover-stroke-width, var(--t-checkbox-favorite-hover-stroke-width, 2))}:host([checked]:not([checked=false])[type=favorite]:focus-within) .checkbox-icon{--tct-icon-stroke-primary:var(--tct-checkbox-favorite-checked-focused-stroke-color, var(--tct-checkbox-favorite-focused-stroke-color, var(--comp-checkbox-favorite-stroke-color)));--tct-icon-stroke-width:var(--tct-checkbox-favorite-hover-stroke-width, var(--t-checkbox-favorite-hover-stroke-width, 2))}:host([has-error][type=favorite]) .checkbox-icon{--tct-icon-stroke-primary:var(--tct-checkbox-favorite-error-stroke-color, var(--comp-checkbox-error-color))}:host([has-error][type=favorite][checked]:not([checked=false])) .checkbox-icon{--tct-icon-stroke-primary:var(--tct-checkbox-favorite-error-stroke-color, var(--comp-checkbox-error-color))}.checkbox-fill{stroke:var(--tct-checkbox-checkmark-stroke-color, var(--comp-checkbox-checked-color));stroke-width:var(--tct-checkbox-check-stroke-width, var(--t-checkbox-check-stroke-width, 2.5));stroke-linecap:round;stroke-linejoin:round}.indeterminate-fill{stroke-width:var(--tct-checkbox-indeterminate-stroke-width, var(--t-checkbox-indeterminate-stroke-width, 3.5))}.toggle-svg-container{height:30px;width:var(--comp-checkbox-toggle-width);position:relative;text-align:initial}.toggle-indicator,.toggle-track{position:absolute;top:50%;transform:translateY(-50%)}.toggle-indicator{transition:left var(--comp-checkbox-tween), height var(--comp-checkbox-tween), width var(--comp-checkbox-tween);height:16px;width:16px;left:4px;border-radius:50%}.toggle-track{height:24px;width:38px;fill:transparent;border-radius:var(--app-border-radius-3, 12px);box-shadow:inset 0 0 0 1px var(--comp-checkbox-toggle-color);transition:fill var(--comp-checkbox-tween), box-shadow var(--comp-checkbox-tween)}.toggle-circle{mask:url(#xMask);fill:var(--comp-checkbox-toggle-color);transition:fill var(--comp-checkbox-tween)}.toggle-icon{stroke-linecap:round;stroke-linejoin:round;stroke-width:var(--tct-checkbox-toggle-icon-stroke-width, 2);stroke:black}:host(:is(:not([checked]),[checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :hover .toggle-track,:host(:is(:not([checked]),[checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :focus-within .toggle-track{box-shadow:inset 0 0 0 2px var(--comp-checkbox-toggle-color)}:host(:is(:not([checked]),[checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :hover .toggle-indicator,:host(:is(:not([checked]),[checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :focus-within .toggle-indicator{height:18px;width:18px}:host(:is(:not([checked]),[checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :hover .toggle-circle,:host(:is(:not([checked]),[checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :focus-within .toggle-circle{fill:var(--tct-checkbox-toggle-hover-circle-color, var(--t-primary-d1, var(--t-gray-6, #4d4d4d)))}:host(:is(:not([checked]),[checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :active .toggle-circle{fill:var(--tct-checkbox-toggle-active-color, var(--t-primary-l1, #7755af))}:host(:is(:not([checked]),[checked=false])):host([has-error]:not([has-error=false])) .toggle-track{box-shadow:inset 0 0 0 1px var(--comp-checkbox-toggle-error-color)}:host(:is(:not([checked]),[checked=false])):host([has-error]:not([has-error=false])) .toggle-circle{fill:var(--comp-checkbox-toggle-error-color)}:host(:is(:not([checked]),[checked=false])):host([has-error]:not([has-error=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :hover .toggle-track,:host(:is(:not([checked]),[checked=false])):host([has-error]:not([has-error=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :focus-within .toggle-track{box-shadow:inset 0 0 0 2px var(--comp-checkbox-toggle-error-color)}:host(:is(:not([checked]),[checked=false])):host([has-error]:not([has-error=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :hover .toggle-circle,:host(:is(:not([checked]),[checked=false])):host([has-error]:not([has-error=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :focus-within .toggle-circle{fill:var(--tct-checkbox-toggle-error-hover-color, var(--comp-checkbox-toggle-error-color))}:host(:is(:not([checked]),[checked=false])):host([has-error]:not([has-error=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :active .toggle-circle{fill:var(--tct-checkbox-toggle-error-active-color, var(--comp-checkbox-toggle-error-color))}:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) .toggle-track{fill:var(--tct-checkbox-toggle-checked-track-color, var(--t-primary, #6a4a9e));border:none}:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) .toggle-indicator{left:18px}:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) .toggle-circle{mask:url(#checkMask);fill:var(--tct-checkbox-toggle-checked-circle-color, var(--t-base, #ffffff))}:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :hover .toggle-track,:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :focus-within .toggle-track{fill:var(--tct-checkbox-toggle-checked-hover-track-color, var(--t-primary-d1, #5f438e))}:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :hover .toggle-indicator,:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :focus-within .toggle-indicator{height:18px;width:18px}:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :active .toggle-track{fill:var(--tct-checkbox-toggle-checked-active-track-color, var(--t-primary-l1, #7755af))}:host([checked]:not([checked=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :active .toggle-indicator{height:18px;width:18px}:host([checked]:not([checked=false])):host([has-error]:not([has-error=false])) .toggle-track{fill:var(--tct-checkbox-toggle-checked-error-track-color, var(--comp-checkbox-toggle-error-color))}:host([checked]:not([checked=false])):host([has-error]:not([has-error=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :hover .toggle-track,:host([checked]:not([checked=false])):host([has-error]:not([has-error=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :focus-within .toggle-track{fill:var(--tct-checkbox-toggle-checked-error-hover-track-color, var(--comp-checkbox-toggle-error-color))}:host([checked]:not([checked=false])):host([has-error]:not([has-error=false])):host(:is(:not([disabled]),[disabled=false]):is(:not([group-disabled]),[group-disabled=false])) :active .toggle-track{fill:var(--tct-checkbox-toggle-checked-error-active-track-color, var(--comp-checkbox-toggle-error-color))}:host(:is([disabled]:not([disabled=false]),[group-disabled]:not([group-disabled=false]))){cursor:not-allowed;opacity:var(--tct-checkbox-disabled-opacity, var(--t-checkbox-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))))}:host(:is([disabled]:not([disabled=false]),[group-disabled]:not([group-disabled=false]))) label{cursor:not-allowed}';
|
|
6
6
|
|
|
@@ -113,22 +113,22 @@ const i = class {
|
|
|
113
113
|
render() {
|
|
114
114
|
const {hasPlusMinusSign: r, plusMinusSign: e, currencyIsFront: s, currencySymbol: n, shouldSuperscriptSymbol: i, amountCore: c, fraction: o, shouldSuperscriptFraction: a, readableCurrency: u, currencyClasses: l} = this;
|
|
115
115
|
return t("div", {
|
|
116
|
-
key: "
|
|
116
|
+
key: "1e17b6913abdf22d415c3117f3cc5be8ba6f2f9b",
|
|
117
117
|
"test-id": "q2CurrencyInner",
|
|
118
118
|
class: l,
|
|
119
119
|
"aria-label": u
|
|
120
120
|
}, r && t("span", {
|
|
121
|
-
key: "
|
|
121
|
+
key: "ac8f8317cb2023a20240908721aaf7abd0199be3"
|
|
122
122
|
}, e), s && t("span", {
|
|
123
|
-
key: "
|
|
123
|
+
key: "63c025e1737efcddf37153cd6347a16ffa2d809a",
|
|
124
124
|
class: i ? "superscript" : ""
|
|
125
125
|
}, n), t("span", {
|
|
126
|
-
key: "
|
|
126
|
+
key: "4f7db4e62aac2f1c2ea4011f3279199344cf3429"
|
|
127
127
|
}, c), t("span", {
|
|
128
|
-
key: "
|
|
128
|
+
key: "2158f23937b8cb9969ffc2c08eb60e306b34bbf2",
|
|
129
129
|
class: a ? "superscript" : ""
|
|
130
130
|
}, o), !s && t("span", {
|
|
131
|
-
key: "
|
|
131
|
+
key: "8af7b8afc705a073ce16f4c11ddb60e6033252b9",
|
|
132
132
|
class: i ? "superscript" : ""
|
|
133
133
|
}, n));
|
|
134
134
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as a, F as o, g as r } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { m as l, l as n } from "./index-
|
|
3
|
+
import { m as l, 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}.container{--comp-cell-padding:var(--tct-data-table-cell-padding, var(--tct-table-cell-padding, var(--app-scale-3x, 15px)));--comp-select-column-width:var(--tct-data-table-select-column-width, var(--tct-table-select-column-width, var(--tct-checkbox-size, 20px)));--comp-dropdown-column-width:var(--tct-data-table-dropdown-column-width, var(--tct-table-dropdown-column-width, var(--tct-btn-icon-width, 44px)));--comp-expandable-row-control-column-width:var(--tct-data-table-expandable-row-control-column-width, var(--tct-table-expandable-row-control-column-width, var(--tct-btn-icon-width, 44px)));overflow: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}.container::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.container::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.container::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}:host([shadowed]:not([shadowed=false])) .container{box-shadow:var(--tct-data-table-shadow, var(--tct-table-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}:host([density=compact]) .container{--comp-cell-padding:var(--tct-data-table-cell-padding-compact, var(--tct-table-cell-padding-compact, var(--app-scale-1x, 5px)))}:host([density=comfortable]) .container{--comp-cell-padding:var(--tct-data-table-cell-padding-comfortable, var(--tct-table-cell-padding-comfortable, var(--app-scale-5x, 25px)))}table{table-layout:var(--tct-data-table-layout, var(--tct-table-layout, auto));border-collapse:collapse;border-spacing:0;width:var(--tct-data-table-width, var(--tct-table-width));min-width:100%;background:var(--tct-data-table-background, var(--tct-table-background, var(--t-base, #ffffff)));caption-side:var(--tct-data-table-caption-side, var(--tct-table-caption-side, bottom))}thead{border-width:var(--tct-data-table-header-border-width, var(--tct-table-header-border-width, 0 0 2px 0));border-style:var(--tct-data-table-header-border-style, var(--tct-table-header-border-style, solid));border-color:var(--tct-data-table-header-border-color, var(--tct-table-header-border-color, var(--t-gray-9, #999999)));background:var(--tct-data-table-header-background, var(--tct-table-header-background))}col.select-column{width:var(--comp-select-column-width)}col.expandable-row-control-column{width:var(--comp-expandable-row-control-column-width)}col.dropdown-column{width:var(--comp-dropdown-column-width)}:host(:is([bordered=vertical],[bordered=grid])) col{border-width:var(--tct-data-table-column-border-width, 0 1px 0 0);border-style:var(--tct-data-table-column-border-style, solid);border-color:var(--tct-data-table-column-border-color, var(--t-gray-9, #999999))}:host(:is([bordered=vertical],[bordered=grid])) col:last-child{border:none}td,th{padding:var(--comp-cell-padding);text-align:start;vertical-align:middle}td.align-end,th.align-end{text-align:end}td.align-center,th.align-center{text-align:center}td.vertical-align-top,th.vertical-align-top{vertical-align:top}td.vertical-align-bottom,th.vertical-align-bottom{vertical-align:bottom}th .header-content{font-weight:var(--tct-data-table-header-font-weight, var(--tct-table-header-font-weight, 600));font-size:var(--tct-data-table-header-font-size, var(--app-font-size, 14px))}th.sorted .header-content{font-weight:var(--tct-data-table-header-sorted-font-weight, var(--tct-table-header-sorted-font-weight, 600))}th .sorted-indicator{--comp-header-sortable-icon-size:var(--tct-data-table-header-sortable-icon-size, var(--tct-table-header-sortable-icon-size, var(--app-scale-3x, 15px)));--tct-icon-stroke-width:2;width:var(--comp-header-sortable-icon-size);height:var(--comp-header-sortable-icon-size)}th .sorted-indicator.direction-ASC{transform:rotate(180deg)}th q2-btn .header-content{display:flex;align-items:center;gap:var(--tct-data-table-header-content-gap, var(--tct-table-header-content-gap, var(--app-scale-2x, 10px)))}tr.expandable,tr.clickable{cursor:pointer}tr.expandable:focus,tr.clickable:focus{outline:none;box-shadow:none}tr.striped:nth-child(even){background:var(--tct-data-table-row-even-background, var(--t-gray-14, #f2f2f2))}tr.striped:nth-child(odd){background:var(--tct-data-table-row-odd-background, transparent)}tr.expandable:hover{background:var(--tct-data-table-expandable-row-hover-background, var(--tct-table-expandable-row-hover-background, var(--t-gray-14, #f2f2f2)))}tr.clickable:hover{background:var(--tct-data-table-clickable-row-hover-background, var(--tct-table-clickable-row-hover-background, var(--t-gray-14, #f2f2f2)))}tr.selected{background:var(--tct-data-table-selected-row-background, var(--tct-table-selected-row-background, var(--t-gray-14, #f2f2f2)))}tr.expanded{background:var(--tct-data-table-expanded-row-background, var(--tct-table-expanded-row-background, var(--t-gray-14, #f2f2f2)))}tr.expanded .toggle-expandable-row{transform:rotate(180deg)}:host(:is([bordered],[bordered=horizontal],[bordered=grid]):not([bordered=vertical],[bordered=false])) tbody tr{border-width:var(--tct-data-table-row-border-width, var(--tct-table-row-border-width, 0 0 1px 0));border-style:var(--tct-data-table-row-border-style, var(--tct-table-row-border-style, solid));border-color:var(--tct-data-table-row-border-color, var(--tct-table-row-border-color, var(--t-gray-9, #999999)))}tr.loading-row{background:var(--tct-data-table-loading-row-background, var(--tct-table-loading-row-background, var(--t-base, #ffffff)))}tr.loading-row td{text-align:center}tr.loading-row q2-loading{font-size:4em}tr.empty-state{background:var(--tct-data-table-loading-row-background, var(--t-base, #ffffff))}tr.empty-state td{text-align:center}tr.empty-state .empty-state-content{display:flex;flex-direction:column;align-items:center;padding-top:var(--app-scale-10x, 50px);padding-bottom:var(--app-scale-10x, 50px);gap:var(--app-scale-4x, 20px);--tct-icon-size:var(--app-scale-6x, 30px)}tr.expandable-row{background:var(--tct-data-table-expanded-row-background, var(--tct-table-expanded-row-background, var(--t-gray-14, #f2f2f2)))}td.clamped div{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:var(--comp-line-clamp-count, 1);-webkit-box-orient:vertical}td.expandable-row-control-column{--tct-btn-icon-hover-bg:transparent;padding:var(--tct-data-table-expandable-row-control-column-padding, var(--tct-table-expandable-row-control-column-padding, 0 5px));text-align:center}td.dropdown-column{padding:var(--tct-data-table-dropdown-column-padding, var(--tct-table-dropdown-column-padding, 0 5px));text-align:center}td.click-column:not(.sr){padding:var(--tct-data-table-clickable-column-padding, var(--tct-table-clickable-column-padding, 0 5px));text-align:center}caption{padding:var(--tct-data-table-caption-padding, var(--tct-table-caption-padding, var(--app-scale-2x, 10px)));font-size:var(--tct-data-table-caption-font-size, var(--tct-table-caption-font-size, inherit));font-weight:var(--tct-data-table-caption-font-weight, var(--tct-table-caption-font-weight, 600));text-align:var(--tct-data-table-caption-text-align, var(--tct-table-caption-text-align, center));color:var(--tct-data-table-caption-color, var(--tct-table-caption-color, inherit))}q2-checkbox{padding:0}";
|
|
6
6
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as t, h as e, g as i } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { e as l, l as s } from "./index-
|
|
3
|
+
import { e as l, l as s } 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}:host{display:block}::slotted([slot]){display:flex;align-items:center;--tct-icon-size:var(--tct-detail-label-icon-size, 16px)}.detail{column-gap:var(--tct-detail-gap-column, var(--app-scale-1x, 5px));row-gap:var(--tct-detail-gap-row, 0px)}.detail-block{display:flex;width:100%}.detail-inline{display:flex}.detail-horizontal{align-items:var(--tct-detail-vertical-alignment, baseline);flex-direction:row}.detail-stacked{flex-direction:column}.detail-stacked-alignment-left{align-items:flex-start}.detail-stacked-alignment-right{align-items:flex-end}.label{flex:1;text-align:left;line-height:1.5;color:var(--tct-detail-label-font-color, #141430)}.label-size-xsmall{color:var(--tct-detail-label-xsmall-font-color, #6f6f82);font-size:var(--tct-detail-label-xsmall-font-size, 14px)}.label-size-small{color:var(--tct-detail-label-small-font-color);font-size:var(--tct-detail-label-small-font-size, 14px)}.label-size-medium{color:var(--tct-detail-label-medium-font-color);font-size:var(--tct-detail-label-medium-font-size, 14px)}.label-size-large{color:var(--tct-detail-label-large-font-color);font-size:var(--tct-detail-label-large-font-size, 16px)}.label-size-xlarge{color:var(--tct-detail-label-xlarge-font-color);font-size:var(--tct-detail-label-xlarge-font-size, 18px)}.label-size-inline{font-size:var(--tct-detail-label-inline-font-size, 1em);color:inherit}.description{flex:1;display:flex;align-items:center;line-height:1.5;color:var(--tct-detail-description-font-color, #141430);column-gap:var(--tct-detail-description-gap-column, var(--app-scale-1x, 5px))}.description-alignment-right{justify-content:flex-end}.description-size-xsmall{color:var(--tct-detail-description-xsmall-font-color, #6f6f82);font-size:var(--tct-detail-description-xsmall-font-size, 14px)}.description-size-small{color:var(--tct-detail-description-small-font-color);font-size:var(--tct-detail-description-small-font-size, 14px)}.description-size-medium{color:var(--tct-detail-description-medium-font-color);font-size:var(--tct-detail-description-medium-font-size, 24px)}.description-size-large{color:var(--tct-detail-description-large-font-color);font-size:var(--tct-detail-description-large-font-size, 28px)}.description-size-xlarge{color:var(--tct-detail-description-xlarge-font-color);font-size:var(--tct-detail-description-xlarge-font-size, 32px)}.description-size-inline{font-size:var(--tct-detail-description-inline-font-size, 1em);color:inherit}";
|
|
6
6
|
|
|
7
7
|
const o = a;
|
|
8
8
|
|
|
9
9
|
const n = class {
|
|
10
|
-
constructor(
|
|
11
|
-
|
|
10
|
+
constructor(e) {
|
|
11
|
+
t(this, e);
|
|
12
12
|
this.alignment = "left";
|
|
13
13
|
this.description = undefined;
|
|
14
14
|
this.label = undefined;
|
|
@@ -23,36 +23,36 @@ const n = class {
|
|
|
23
23
|
// #endregion
|
|
24
24
|
// #region Local Methods
|
|
25
25
|
get descriptionClasses() {
|
|
26
|
-
const
|
|
26
|
+
const t = [ "description" ];
|
|
27
27
|
if (this.size) {
|
|
28
|
-
|
|
28
|
+
t.push(`description-size-${this.size}`);
|
|
29
29
|
} else {
|
|
30
|
-
|
|
30
|
+
t.push(`description-size-inline`);
|
|
31
31
|
}
|
|
32
32
|
if (!this.stacked) {
|
|
33
|
-
|
|
33
|
+
t.push(`description-alignment-right`);
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return t.join(" ");
|
|
36
36
|
}
|
|
37
37
|
get detailClasses() {
|
|
38
|
-
const
|
|
38
|
+
const t = [ "detail" ];
|
|
39
39
|
if (this.size) {
|
|
40
|
-
|
|
40
|
+
t.push(`detail-block`);
|
|
41
41
|
} else {
|
|
42
|
-
|
|
42
|
+
t.push(`detail-inline`);
|
|
43
43
|
}
|
|
44
44
|
if (this.stacked || this.onlyHasDescripiton || this.onlyHasLabel) {
|
|
45
|
-
|
|
45
|
+
t.push("detail-stacked", `detail-stacked-alignment-${this.alignment}`);
|
|
46
46
|
} else {
|
|
47
|
-
|
|
47
|
+
t.push("detail-horizontal");
|
|
48
48
|
}
|
|
49
|
-
return
|
|
49
|
+
return t.join(" ");
|
|
50
50
|
}
|
|
51
51
|
get hasDefaultSlotContent() {
|
|
52
|
-
const
|
|
53
|
-
const
|
|
52
|
+
const t = !!this.hostElement.innerHTML.trim();
|
|
53
|
+
const e = this.hostElement.querySelectorAll(":scope > [slot]").length;
|
|
54
54
|
const i = this.hostElement.childNodes.length;
|
|
55
|
-
return
|
|
55
|
+
return t && i > e;
|
|
56
56
|
}
|
|
57
57
|
get hasDescripiton() {
|
|
58
58
|
return !!this.description || this.hasDefaultSlotContent;
|
|
@@ -64,16 +64,16 @@ const n = class {
|
|
|
64
64
|
return l(this.hostElement, "label");
|
|
65
65
|
}
|
|
66
66
|
get labelClasses() {
|
|
67
|
-
const
|
|
67
|
+
const t = [ "label" ];
|
|
68
68
|
if (this.size) {
|
|
69
|
-
|
|
69
|
+
t.push(`label-size-${this.size}`);
|
|
70
70
|
} else {
|
|
71
|
-
|
|
71
|
+
t.push(`label-size-inline`);
|
|
72
72
|
}
|
|
73
73
|
if (!this.stacked) {
|
|
74
|
-
|
|
74
|
+
t.push(`label-align-left`);
|
|
75
75
|
}
|
|
76
|
-
return
|
|
76
|
+
return t.join(" ");
|
|
77
77
|
}
|
|
78
78
|
get onlyHasDescripiton() {
|
|
79
79
|
return this.hasDescripiton && !this.hasLabel;
|
|
@@ -82,40 +82,40 @@ const n = class {
|
|
|
82
82
|
return this.hasLabel && !this.hasDescripiton;
|
|
83
83
|
}
|
|
84
84
|
setSlotSizeProps() {
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
let
|
|
88
|
-
if (
|
|
89
|
-
switch (
|
|
85
|
+
const t = Array.from(this.hostElement.querySelectorAll(':scope > *:not([slot]), :scope > [slot="label"] > *'));
|
|
86
|
+
t.forEach((t => {
|
|
87
|
+
let e = this.size;
|
|
88
|
+
if (t.localName === "q2-currency") {
|
|
89
|
+
switch (e) {
|
|
90
90
|
case "xsmall":
|
|
91
|
-
|
|
91
|
+
e = "small";
|
|
92
92
|
break;
|
|
93
93
|
|
|
94
94
|
case "xlarge":
|
|
95
|
-
|
|
95
|
+
e = "large";
|
|
96
96
|
break;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
t.slotSize = e;
|
|
100
100
|
}));
|
|
101
101
|
}
|
|
102
102
|
// #endregion
|
|
103
103
|
// #region Render Methods
|
|
104
104
|
render() {
|
|
105
|
-
return
|
|
106
|
-
key: "
|
|
105
|
+
return e("div", {
|
|
106
|
+
key: "d5b8c72df149578537a747fef3133a5751205dbf",
|
|
107
107
|
class: this.detailClasses
|
|
108
|
-
}, this.hasLabel &&
|
|
109
|
-
key: "
|
|
108
|
+
}, this.hasLabel && e("div", {
|
|
109
|
+
key: "0013f9766de1cdd2d50b8b8b2dca76361fbf1b0a",
|
|
110
110
|
class: this.labelClasses,
|
|
111
111
|
"aria-describedby": !!this.description ? "label-description" : undefined
|
|
112
|
-
}, !!this.label ? s(this.label) : this.hasLabelSlotContent ?
|
|
112
|
+
}, !!this.label ? s(this.label) : this.hasLabelSlotContent ? e("slot", {
|
|
113
113
|
name: "label"
|
|
114
|
-
}) : ""), this.hasDescripiton &&
|
|
115
|
-
key: "
|
|
114
|
+
}) : ""), this.hasDescripiton && e("div", {
|
|
115
|
+
key: "a225abfc8746aa269a2db8666d629c6a39186493",
|
|
116
116
|
id: "label-description",
|
|
117
117
|
class: this.descriptionClasses
|
|
118
|
-
}, !!this.description ? s(this.description) : this.hasDefaultSlotContent ?
|
|
118
|
+
}, !!this.description ? s(this.description) : this.hasDefaultSlotContent ? e("slot", null) : ""));
|
|
119
119
|
}
|
|
120
120
|
get hostElement() {
|
|
121
121
|
return i(this);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as o, h as e, g as r } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as i, a as n, o as d } from "./index-
|
|
3
|
+
import { l as i, a as n, o as d } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Emits specified events from a given component context with the provided detail.
|
|
@@ -1,33 +1,45 @@
|
|
|
1
|
-
import { r as t, h as
|
|
1
|
+
import { r as t, h as i, F as e, g as n } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
3
|
import { s as o, a as s } from "./action-sheet-1e24cb38.js";
|
|
4
4
|
|
|
5
|
-
import { o as d, i as r, w as a, j as h, a as l, l as c } from "./index-
|
|
5
|
+
import { o as d, i as r, w as a, j as h, a as l, l as c } from "./index-f2a66217.js";
|
|
6
6
|
|
|
7
7
|
const u = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-flex}:host([block]){display:block}q2-icon{pointer-events:none;margin-block:-100px}click-elsewhere{position:relative;display:block}q2-popover{--tct-popover-min-width:var(--tct-dropdown-width, var(--t-dropdown-width))}";
|
|
8
8
|
|
|
9
9
|
const p = u;
|
|
10
10
|
|
|
11
11
|
const f = class {
|
|
12
|
-
constructor(
|
|
13
|
-
t(this,
|
|
14
|
-
var
|
|
12
|
+
constructor(i) {
|
|
13
|
+
t(this, i);
|
|
14
|
+
var e;
|
|
15
15
|
this.dropdownItemSelector = "q2-dropdown-item:not([disabled]):not([separator])";
|
|
16
|
+
this.optionSelector = "q2-option:not([disabled]):not([separator])";
|
|
16
17
|
this.focusToggle = () => {
|
|
17
18
|
this.controlElement.focus();
|
|
18
19
|
};
|
|
20
|
+
this.handleFocusOut = t => {
|
|
21
|
+
var i;
|
|
22
|
+
const e = t.relatedTarget;
|
|
23
|
+
if ((i = this.popoverElement) === null || i === void 0 ? void 0 : i.contains(e)) return;
|
|
24
|
+
if (this.hostElement.contains(e)) return;
|
|
25
|
+
this.open = false;
|
|
26
|
+
};
|
|
19
27
|
this.onClickElsewhere = t => {
|
|
20
|
-
const
|
|
21
|
-
if (
|
|
28
|
+
const i = t.target;
|
|
29
|
+
if (i.localName === "q2-option-list") {
|
|
22
30
|
t.stopPropagation();
|
|
23
31
|
}
|
|
24
|
-
if (
|
|
32
|
+
if (i.localName === "click-elsewhere") {
|
|
25
33
|
t.stopPropagation();
|
|
26
|
-
const {popoverElement:
|
|
27
|
-
if (!
|
|
28
|
-
|
|
34
|
+
const {popoverElement: i} = this;
|
|
35
|
+
if (!i) return;
|
|
36
|
+
i.open = false;
|
|
29
37
|
}
|
|
30
38
|
};
|
|
39
|
+
this.onPopoverState = t => {
|
|
40
|
+
if (t.detail.open) return;
|
|
41
|
+
this.controlElement.focus();
|
|
42
|
+
};
|
|
31
43
|
this.onToggleClick = async t => {
|
|
32
44
|
t.stopPropagation();
|
|
33
45
|
if (o(this)) {
|
|
@@ -37,8 +49,8 @@ const f = class {
|
|
|
37
49
|
}
|
|
38
50
|
};
|
|
39
51
|
this.onToggleKeydown = async t => {
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
52
|
+
const i = t.metaKey || t.ctrlKey || t.key === "Tab";
|
|
53
|
+
if (i) return;
|
|
42
54
|
t.preventDefault();
|
|
43
55
|
if (o(this, t)) {
|
|
44
56
|
this._handleActionSheet(t);
|
|
@@ -46,17 +58,6 @@ const f = class {
|
|
|
46
58
|
this.optionList.handleExternalKeydown(t);
|
|
47
59
|
}
|
|
48
60
|
};
|
|
49
|
-
this.onPopoverState = t => {
|
|
50
|
-
if (t.detail.open) return;
|
|
51
|
-
this.controlElement.focus();
|
|
52
|
-
};
|
|
53
|
-
this.handleFocusOut = t => {
|
|
54
|
-
var e;
|
|
55
|
-
const i = t.relatedTarget;
|
|
56
|
-
if ((e = this.popoverElement) === null || e === void 0 ? void 0 : e.contains(i)) return;
|
|
57
|
-
if (this.hostElement.contains(i)) return;
|
|
58
|
-
this.open = false;
|
|
59
|
-
};
|
|
60
61
|
this.additionalContext = undefined;
|
|
61
62
|
this.alignment = undefined;
|
|
62
63
|
this.ariaLabel = undefined;
|
|
@@ -65,7 +66,7 @@ const f = class {
|
|
|
65
66
|
this.contextValue = undefined;
|
|
66
67
|
this.disabled = undefined;
|
|
67
68
|
this.hideLabel = undefined;
|
|
68
|
-
this.hoist = !!((
|
|
69
|
+
this.hoist = !!((e = window.Tecton) === null || e === void 0 ? void 0 : e.useActionSheets);
|
|
69
70
|
this.icon = undefined;
|
|
70
71
|
this.label = undefined;
|
|
71
72
|
this.name = undefined;
|
|
@@ -98,12 +99,14 @@ const f = class {
|
|
|
98
99
|
this.focusToggle();
|
|
99
100
|
}
|
|
100
101
|
popoverStateChangeHandler({detail: {open: t}}) {
|
|
101
|
-
var
|
|
102
|
+
var i;
|
|
102
103
|
if (this.open !== t) this.open = t;
|
|
103
|
-
(
|
|
104
|
+
(i = this.popoverElement) === null || i === void 0 ? void 0 : i.scrollContainerTo({
|
|
104
105
|
top: 0
|
|
105
106
|
});
|
|
106
|
-
|
|
107
|
+
if (!t) {
|
|
108
|
+
this.optionList.setActiveElement(null);
|
|
109
|
+
}
|
|
107
110
|
}
|
|
108
111
|
// #endregion
|
|
109
112
|
// #region Public Methods API
|
|
@@ -130,12 +133,12 @@ const f = class {
|
|
|
130
133
|
* If the value does not match any item's value, this method does nothing.
|
|
131
134
|
* @testOnly
|
|
132
135
|
*/ async selectItem(t) {
|
|
133
|
-
var
|
|
134
|
-
const
|
|
135
|
-
const n =
|
|
136
|
-
if (!
|
|
136
|
+
var i;
|
|
137
|
+
const e = this.hostElement.querySelector(`${this.dropdownItemSelector}[value="${t}"]`);
|
|
138
|
+
const n = e === null || e === void 0 ? void 0 : e.shadowRoot.querySelector(".dropdown-item");
|
|
139
|
+
if (!e || this.disabled) return;
|
|
137
140
|
if (!this.open) {
|
|
138
|
-
(
|
|
141
|
+
(i = this.controlElement) === null || i === void 0 ? void 0 : i.click();
|
|
139
142
|
await a();
|
|
140
143
|
}
|
|
141
144
|
n.click();
|
|
@@ -151,12 +154,12 @@ const f = class {
|
|
|
151
154
|
* - Item has the `removable` property enabled
|
|
152
155
|
* @testOnly
|
|
153
156
|
*/ async selectRemoveItem(t) {
|
|
154
|
-
var
|
|
155
|
-
const
|
|
156
|
-
const n =
|
|
157
|
-
if (!
|
|
157
|
+
var i;
|
|
158
|
+
const e = this.hostElement.querySelector(`${this.dropdownItemSelector}[value="${t}"]`);
|
|
159
|
+
const n = e === null || e === void 0 ? void 0 : e.shadowRoot.querySelector(".remove-dropdown-item");
|
|
160
|
+
if (!e || !n || this.disabled) return;
|
|
158
161
|
if (!this.open) {
|
|
159
|
-
(
|
|
162
|
+
(i = this.controlElement) === null || i === void 0 ? void 0 : i.click();
|
|
160
163
|
await a();
|
|
161
164
|
}
|
|
162
165
|
n.click();
|
|
@@ -198,14 +201,14 @@ const f = class {
|
|
|
198
201
|
}
|
|
199
202
|
get toggleButtonProps() {
|
|
200
203
|
const t = [ "primary", "secondary", "neutral" ];
|
|
201
|
-
const
|
|
202
|
-
const
|
|
203
|
-
const n =
|
|
204
|
-
const o =
|
|
205
|
-
const s =
|
|
204
|
+
const i = [ "icon", "fab", "custom", ...t ];
|
|
205
|
+
const e = i.includes(this.type) ? this.type : "";
|
|
206
|
+
const n = e === "icon";
|
|
207
|
+
const o = e === "fab";
|
|
208
|
+
const s = e === "custom";
|
|
206
209
|
let d;
|
|
207
|
-
if (t.includes(
|
|
208
|
-
d =
|
|
210
|
+
if (t.includes(e)) {
|
|
211
|
+
d = e === "neutral" ? e : `workflow-${e}`;
|
|
209
212
|
}
|
|
210
213
|
const r = this.open;
|
|
211
214
|
const a = !!this.disabled;
|
|
@@ -223,15 +226,16 @@ const f = class {
|
|
|
223
226
|
};
|
|
224
227
|
}
|
|
225
228
|
_clickItem(t) {
|
|
226
|
-
|
|
229
|
+
var i;
|
|
230
|
+
if (!t || this.disabled) return;
|
|
227
231
|
const e = this.hostElement.querySelector(`${this.dropdownItemSelector}[value="${t}"]`);
|
|
228
|
-
const
|
|
229
|
-
|
|
230
|
-
|
|
232
|
+
const n = this.hostElement.querySelector(`${this.optionSelector}[value="${t}"]`);
|
|
233
|
+
(i = e === null || e === void 0 ? void 0 : e.shadowRoot.querySelector(".dropdown-item")) === null || i === void 0 ? void 0 : i.click();
|
|
234
|
+
n === null || n === void 0 ? void 0 : n.click();
|
|
231
235
|
}
|
|
232
236
|
async _handleActionSheet(t) {
|
|
233
|
-
const {value:
|
|
234
|
-
this._clickItem(
|
|
237
|
+
const {value: i} = await s(this, t);
|
|
238
|
+
this._clickItem(i);
|
|
235
239
|
this.controlElement.focus();
|
|
236
240
|
}
|
|
237
241
|
_togglePopover() {
|
|
@@ -241,10 +245,6 @@ const f = class {
|
|
|
241
245
|
t.focus();
|
|
242
246
|
t.dispatchEvent(new FocusEvent("focus"));
|
|
243
247
|
}
|
|
244
|
-
navigateTo(t, e, i) {
|
|
245
|
-
var n, o;
|
|
246
|
-
return (o = (n = window.TectonElements) === null || n === void 0 ? void 0 : n.navigateTo) === null || o === void 0 ? void 0 : o.call(n, t, e, i);
|
|
247
|
-
}
|
|
248
248
|
orchestrateResolvedMenuItems() {
|
|
249
249
|
if (!this.name || !this.context) {
|
|
250
250
|
// this is only for contextual menu outlets
|
|
@@ -270,44 +270,46 @@ const f = class {
|
|
|
270
270
|
}
|
|
271
271
|
resolveMenuItemElements() {
|
|
272
272
|
return this.resolveMenu().then((t => t.map((t => {
|
|
273
|
-
let e;
|
|
274
273
|
let i;
|
|
274
|
+
let e;
|
|
275
275
|
if (t["tct-ctxid"]) {
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
e = {};
|
|
277
|
+
e[t.contextIdParamName] = t["tct-ctxid"];
|
|
278
278
|
}
|
|
279
279
|
switch (t.action) {
|
|
280
280
|
case "navigateTo":
|
|
281
|
-
|
|
281
|
+
i = function() {
|
|
282
|
+
var i, n;
|
|
283
|
+
return (n = (i = window.TectonElements) === null || i === void 0 ? void 0 : i.navigateTo) === null || n === void 0 ? void 0 : n.call(i, t.featureName, t.moduleName, e);
|
|
284
|
+
};
|
|
282
285
|
break;
|
|
283
286
|
|
|
284
287
|
case "showOverpanel":
|
|
285
|
-
|
|
288
|
+
i = function() {
|
|
289
|
+
var i, n;
|
|
290
|
+
return (n = (i = window.TectonElements) === null || i === void 0 ? void 0 : i.showOverpanel) === null || n === void 0 ? void 0 : n.call(i, `${t.featureName}.${t.moduleName}`, e, undefined, true);
|
|
291
|
+
};
|
|
286
292
|
break;
|
|
287
293
|
}
|
|
288
294
|
const n = document.createElement("q2-dropdown-item");
|
|
289
295
|
n.setAttribute("value", t.itemLabel);
|
|
290
296
|
n.classList.add("resolved-menu-item");
|
|
291
297
|
n.textContent = t.itemLabel;
|
|
292
|
-
n.onclick =
|
|
298
|
+
n.onclick = i;
|
|
293
299
|
return n;
|
|
294
300
|
}))));
|
|
295
301
|
}
|
|
296
|
-
showOverpanel(t, e) {
|
|
297
|
-
var i, n;
|
|
298
|
-
return (n = (i = window.TectonElements) === null || i === void 0 ? void 0 : i.showOverpanel) === null || n === void 0 ? void 0 : n.call(i, t, e, undefined, true);
|
|
299
|
-
}
|
|
300
302
|
// #endregion
|
|
301
303
|
// #region Render Methods
|
|
302
304
|
render() {
|
|
303
305
|
const t = this.toggleButtonProps;
|
|
304
|
-
return
|
|
305
|
-
key: "
|
|
306
|
+
return i("click-elsewhere", {
|
|
307
|
+
key: "bf4d4da663e9225d757a8411a983073112a53caf",
|
|
306
308
|
class: this.open ? "dropdown-open" : "",
|
|
307
309
|
onChange: this.onClickElsewhere,
|
|
308
310
|
"test-id": "dropdownContainer"
|
|
309
|
-
},
|
|
310
|
-
key: "
|
|
311
|
+
}, i("q2-btn", {
|
|
312
|
+
key: "f67bd9f9d0eb7607c95ce39cbcd1c54273948b9c",
|
|
311
313
|
ref: t => this.controlElement = t,
|
|
312
314
|
class: t.className,
|
|
313
315
|
onClick: this.onToggleClick,
|
|
@@ -324,17 +326,17 @@ const f = class {
|
|
|
324
326
|
"test-id": "dropdownButton",
|
|
325
327
|
block: this.block,
|
|
326
328
|
description: c("tecton.element.dropdown.itemCount", [ this.determineDropdownItemCount ])
|
|
327
|
-
}, this.hasCustomControl ?
|
|
329
|
+
}, this.hasCustomControl ? i("div", {
|
|
328
330
|
"test-id": "dropdownControl",
|
|
329
331
|
class: t.custom ? "" : "hidden"
|
|
330
|
-
},
|
|
332
|
+
}, i("slot", {
|
|
331
333
|
name: "control"
|
|
332
|
-
})) : e
|
|
334
|
+
})) : i(e, null, this.icon ? i("q2-icon", {
|
|
333
335
|
type: this.icon
|
|
334
|
-
}) : " ", this.label && !this.hideLabel &&
|
|
336
|
+
}) : " ", this.label && !this.hideLabel && i("span", {
|
|
335
337
|
class: "dropdown-button-text"
|
|
336
|
-
}, c(this.label)))),
|
|
337
|
-
key: "
|
|
338
|
+
}, c(this.label)))), i("q2-popover", {
|
|
339
|
+
key: "48d3ae90a89d08277a02cbf3588ffc1b33113dba",
|
|
338
340
|
ref: t => this.popoverElement = t,
|
|
339
341
|
controlElement: this.controlElement,
|
|
340
342
|
open: this.open,
|
|
@@ -345,16 +347,16 @@ const f = class {
|
|
|
345
347
|
align: this.popoverAlignment,
|
|
346
348
|
mode: this.popoverMode || undefined,
|
|
347
349
|
block: this.block
|
|
348
|
-
},
|
|
349
|
-
key: "
|
|
350
|
+
}, i("q2-option-list", {
|
|
351
|
+
key: "23f0f0000eaf3bb5a1b3b738c03844f06ffb72c2",
|
|
350
352
|
onPopoverState: this.onPopoverState,
|
|
351
353
|
id: "option-list",
|
|
352
354
|
ref: t => this.optionList = t,
|
|
353
355
|
type: "menu",
|
|
354
356
|
label: c("tecton.element.optionList.label", [ this.optionListLabel ]),
|
|
355
357
|
"no-select": true
|
|
356
|
-
},
|
|
357
|
-
key: "
|
|
358
|
+
}, i("slot", {
|
|
359
|
+
key: "193e517ed0d5bd2893b0931c3782a4920ddcdc5a"
|
|
358
360
|
}))));
|
|
359
361
|
}
|
|
360
362
|
get hostElement() {
|