q2-tecton-elements 1.67.0 → 1.67.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +450 -495
- package/dist/cjs/click-elsewhere.q2-option-list.q2-popover.entry.cjs.js.map +1 -1
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +49 -33
- package/dist/cjs/click-elsewhere_3.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-btn.q2-loading.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-btn_2.cjs.entry.js +4 -2
- package/dist/cjs/q2-btn_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-card-image.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.q2-tag.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +41 -11
- package/dist/cjs/q2-checkbox_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-context.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +1 -1
- package/dist/cjs/q2-input.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-meter.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-btn/q2-btn.js +4 -2
- package/dist/collection/components/q2-btn/q2-btn.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +5 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +45 -10
- package/dist/collection/components/q2-checkbox/q2-checkbox.js.map +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-context/q2-context.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +2 -2
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-grid/q2-grid.js +31 -31
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +43 -43
- package/dist/collection/components/q2-input/q2-input.js +3 -3
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +6 -6
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +48 -52
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-btn2.js +4 -2
- package/dist/components/q2-btn2.js.map +1 -1
- package/dist/components/q2-calendar.js +1 -1
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +1 -1
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +42 -11
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-data-table.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-grid-area.js +1 -1
- package/dist/components/q2-grid.js +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-meter.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-option-list2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +48 -33
- package/dist/components/q2-popover2.js.map +1 -1
- package/dist/components/q2-radio-group.js +1 -1
- package/dist/components/q2-radio.js +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +1 -1
- package/dist/components/q2-stepper-pane.js +1 -1
- package/dist/components/q2-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-tab-container.js +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag2.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/click-elsewhere.q2-option-list.q2-popover.entry.js.map +1 -1
- package/dist/esm/click-elsewhere_3.entry.js +49 -33
- package/dist/esm/click-elsewhere_3.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-btn.q2-loading.entry.js.map +1 -1
- package/dist/esm/q2-btn_2.entry.js +4 -2
- package/dist/esm/q2-btn_2.entry.js.map +1 -1
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-card-image.entry.js +2 -2
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.q2-tag.entry.js.map +1 -1
- package/dist/esm/q2-checkbox_2.entry.js +41 -11
- package/dist/esm/q2-checkbox_2.entry.js.map +1 -1
- package/dist/esm/q2-context.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +1 -1
- package/dist/esm/q2-input.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-meter.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +2 -2
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper-vertical.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +1 -1
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/click-elsewhere.q2-option-list.q2-popover.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +212 -200
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +40 -40
- package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-btn.q2-loading.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +4 -2
- package/dist/q2-tecton-elements/q2-btn_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-card-image.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox.q2-tag.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +70 -28
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-context.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-currency.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-data-table.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-detail.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +69 -69
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-input.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-item.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-message.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-meter.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-modal.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +81 -81
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-pagination.entry.js +26 -26
- package/dist/q2-tecton-elements/q2-pill.entry.js +36 -36
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-radio.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-stepper.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +8 -1
- package/dist/types/components/q2-popover/q2-popover.d.ts +1 -6
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +1 -1
- package/dist/types/components.d.ts +0 -10
- package/package.json +71 -69
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/jest.e2e-coverage.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/scripts/docs-generator/index.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/scripts/docs-generator/markdown-generator.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/scripts/docs-generator/tag-handlers.d.ts +0 -0
- /package/dist/types/{Users/kvanhouten/Documents/Work/tecton_extra → builds/q2e/development/tecton/tecton}/packages/q2-tecton-elements/.stencil/scripts/docs-generator/types.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as t, h as
|
|
1
|
+
import { r as t, h as o, F as e, g as i } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
3
|
import { s as n, a as s } from "./action-sheet-B7adb3xs.js";
|
|
4
4
|
|
|
@@ -7,16 +7,16 @@ import { o as r, i as a, w as d, b as l, d as h, l as c } from "./index-C4PILj1_
|
|
|
7
7
|
const p = "*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-flex}:host([block]){display:block}:host([full-width]:not([full-width=false])){display:inline-flex;justify-content:center;width:100%}::slotted([slot=popover-top]){padding:var(--tct-dropdown-popover-top-slot-padding, 0);border-bottom:var(--tct-dropdown-slot-border-top)}::slotted([slot=popover-bottom]){padding:var(--tct-dropdown-popover-bottom-slot-padding, 0);border-top:var(--tct-dropdown-slot-border-bottom)}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));--tct-popover-padding:var(--tct-dropdown-content-padding)}";
|
|
8
8
|
|
|
9
9
|
const u = class {
|
|
10
|
-
constructor(
|
|
11
|
-
t(this,
|
|
12
|
-
var
|
|
10
|
+
constructor(o) {
|
|
11
|
+
t(this, o);
|
|
12
|
+
var e;
|
|
13
13
|
this.dropdownItemSelector = "q2-dropdown-item:not([disabled]):not([separator])";
|
|
14
14
|
this.optionSelector = "q2-option:not([disabled]):not([separator])";
|
|
15
15
|
/**
|
|
16
16
|
* Instructs the component to use the action sheet workflow for displaying its options.
|
|
17
17
|
*
|
|
18
18
|
* For more information, see [Action Sheets](https://tecton.q2developer.com/guides/action-sheets/).
|
|
19
|
-
*/ this.hoist = !!((
|
|
19
|
+
*/ this.hoist = !!((e = window.Tecton) === null || e === void 0 ? void 0 : e.useActionSheets);
|
|
20
20
|
/** Aligns the popover dropdown to the left or right side of the input field. */ this.popoverAlignment = "left";
|
|
21
21
|
// being used in dropdown.scss
|
|
22
22
|
/**
|
|
@@ -37,22 +37,22 @@ const u = class {
|
|
|
37
37
|
this.controlElement.focus();
|
|
38
38
|
};
|
|
39
39
|
this.handleFocusOut = t => {
|
|
40
|
-
var
|
|
41
|
-
const
|
|
42
|
-
if ((
|
|
43
|
-
if (this.hostElement.contains(
|
|
40
|
+
var o;
|
|
41
|
+
const e = t.relatedTarget;
|
|
42
|
+
if ((o = this.popoverElement) === null || o === void 0 ? void 0 : o.contains(e)) return;
|
|
43
|
+
if (this.hostElement.contains(e)) return;
|
|
44
44
|
this.open = false;
|
|
45
45
|
};
|
|
46
46
|
this.onClickElsewhere = t => {
|
|
47
|
-
const
|
|
48
|
-
if (
|
|
47
|
+
const o = t.target;
|
|
48
|
+
if (o.localName === "q2-option-list") {
|
|
49
49
|
t.stopPropagation();
|
|
50
50
|
}
|
|
51
|
-
if (
|
|
51
|
+
if (o.localName === "click-elsewhere") {
|
|
52
52
|
t.stopPropagation();
|
|
53
|
-
const {popoverElement:
|
|
54
|
-
if (!
|
|
55
|
-
|
|
53
|
+
const {popoverElement: o} = this;
|
|
54
|
+
if (!o) return;
|
|
55
|
+
o.open = false;
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
this.onPopoverState = t => {
|
|
@@ -69,8 +69,8 @@ const u = class {
|
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
this.onToggleKeydown = async t => {
|
|
72
|
-
const
|
|
73
|
-
if (
|
|
72
|
+
const o = t.metaKey || t.ctrlKey || t.key === "Tab";
|
|
73
|
+
if (o) return;
|
|
74
74
|
t.preventDefault();
|
|
75
75
|
this.popoverElement.controlElement = this.controlElement;
|
|
76
76
|
if (n(this, t)) {
|
|
@@ -99,10 +99,10 @@ const u = class {
|
|
|
99
99
|
this.focusToggle();
|
|
100
100
|
}
|
|
101
101
|
popoverStateChangeHandler({detail: {open: t}}) {
|
|
102
|
-
var
|
|
102
|
+
var o;
|
|
103
103
|
if (this.open !== t) this.open = t;
|
|
104
104
|
if (t) {
|
|
105
|
-
(
|
|
105
|
+
(o = this.popoverElement) === null || o === void 0 ? void 0 : o.scrollContainerTo({
|
|
106
106
|
top: 0
|
|
107
107
|
});
|
|
108
108
|
} else {
|
|
@@ -147,14 +147,14 @@ const u = class {
|
|
|
147
147
|
* If the value does not match any item's value, or the dropdown is disabled, this method does nothing.
|
|
148
148
|
* @testOnly
|
|
149
149
|
*/ async selectItem(t) {
|
|
150
|
-
var
|
|
151
|
-
const
|
|
150
|
+
var o;
|
|
151
|
+
const e = this.hostElement.querySelector(`${this.dropdownItemSelector}[value="${t}"]`);
|
|
152
152
|
const i = this.hostElement.querySelector(`${this.optionSelector}[value="${t}"]`);
|
|
153
|
-
const n =
|
|
154
|
-
const s =
|
|
153
|
+
const n = e === null || e === void 0 ? void 0 : e.shadowRoot.querySelector(".dropdown-item");
|
|
154
|
+
const s = e ? n : i;
|
|
155
155
|
if (!s || this.disabled) return;
|
|
156
156
|
if (!this.open) {
|
|
157
|
-
(
|
|
157
|
+
(o = this.controlElement) === null || o === void 0 ? void 0 : o.click();
|
|
158
158
|
await d();
|
|
159
159
|
}
|
|
160
160
|
s.click();
|
|
@@ -176,12 +176,12 @@ const u = class {
|
|
|
176
176
|
* - Item has the `removable` property enabled
|
|
177
177
|
* @testOnly
|
|
178
178
|
*/ async selectRemoveItem(t) {
|
|
179
|
-
var
|
|
180
|
-
const
|
|
181
|
-
const i =
|
|
182
|
-
if (!
|
|
179
|
+
var o;
|
|
180
|
+
const e = this.hostElement.querySelector(`${this.dropdownItemSelector}[value="${t}"]`);
|
|
181
|
+
const i = e === null || e === void 0 ? void 0 : e.shadowRoot.querySelector(".remove-dropdown-item");
|
|
182
|
+
if (!e || !i || this.disabled) return;
|
|
183
183
|
if (!this.open) {
|
|
184
|
-
(
|
|
184
|
+
(o = this.controlElement) === null || o === void 0 ? void 0 : o.click();
|
|
185
185
|
await d();
|
|
186
186
|
}
|
|
187
187
|
i.click();
|
|
@@ -223,14 +223,14 @@ const u = class {
|
|
|
223
223
|
}
|
|
224
224
|
get toggleButtonProps() {
|
|
225
225
|
const t = [ "primary", "secondary", "neutral" ];
|
|
226
|
-
const
|
|
227
|
-
const
|
|
228
|
-
const i =
|
|
229
|
-
const n =
|
|
230
|
-
const s =
|
|
226
|
+
const o = [ "icon", "fab", "custom", ...t ];
|
|
227
|
+
const e = o.includes(this.type) ? this.type : "";
|
|
228
|
+
const i = e === "icon";
|
|
229
|
+
const n = e === "fab";
|
|
230
|
+
const s = e === "custom";
|
|
231
231
|
let r;
|
|
232
|
-
if (t.includes(
|
|
233
|
-
r =
|
|
232
|
+
if (t.includes(e)) {
|
|
233
|
+
r = e === "neutral" ? e : `workflow-${e}`;
|
|
234
234
|
}
|
|
235
235
|
const a = this.open;
|
|
236
236
|
const d = !!this.disabled;
|
|
@@ -257,16 +257,16 @@ const u = class {
|
|
|
257
257
|
}));
|
|
258
258
|
}
|
|
259
259
|
_clickItem(t) {
|
|
260
|
-
var
|
|
260
|
+
var o;
|
|
261
261
|
if (!t || this.disabled) return;
|
|
262
|
-
const
|
|
262
|
+
const e = this.hostElement.querySelector(`${this.dropdownItemSelector}[value="${t}"]`);
|
|
263
263
|
const i = this.hostElement.querySelector(`${this.optionSelector}[value="${t}"]`);
|
|
264
|
-
(
|
|
264
|
+
(o = e === null || e === void 0 ? void 0 : e.shadowRoot.querySelector(".dropdown-item")) === null || o === void 0 ? void 0 : o.click();
|
|
265
265
|
i === null || i === void 0 ? void 0 : i.click();
|
|
266
266
|
}
|
|
267
267
|
async _handleActionSheet(t) {
|
|
268
|
-
const {value:
|
|
269
|
-
this._clickItem(
|
|
268
|
+
const {value: o} = await s(this, t);
|
|
269
|
+
this._clickItem(o);
|
|
270
270
|
this.controlElement.focus();
|
|
271
271
|
}
|
|
272
272
|
_togglePopover() {
|
|
@@ -301,24 +301,24 @@ const u = class {
|
|
|
301
301
|
}
|
|
302
302
|
resolveMenuItemElements() {
|
|
303
303
|
return this.resolveMenu().then((t => t.map((t => {
|
|
304
|
-
let e;
|
|
305
304
|
let o;
|
|
305
|
+
let e;
|
|
306
306
|
if (t["tct-ctxid"]) {
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
e = {};
|
|
308
|
+
e[t.contextIdParamName] = t["tct-ctxid"];
|
|
309
309
|
}
|
|
310
310
|
switch (t.action) {
|
|
311
311
|
case "navigateTo":
|
|
312
|
-
|
|
313
|
-
var
|
|
314
|
-
return (i = (
|
|
312
|
+
o = function() {
|
|
313
|
+
var o, i;
|
|
314
|
+
return (i = (o = window.TectonElements) === null || o === void 0 ? void 0 : o.navigateTo) === null || i === void 0 ? void 0 : i.call(o, t.featureName, t.moduleName, e);
|
|
315
315
|
};
|
|
316
316
|
break;
|
|
317
317
|
|
|
318
318
|
case "showOverpanel":
|
|
319
|
-
|
|
320
|
-
var
|
|
321
|
-
return (i = (
|
|
319
|
+
o = function() {
|
|
320
|
+
var o, i;
|
|
321
|
+
return (i = (o = window.TectonElements) === null || o === void 0 ? void 0 : o.showOverpanel) === null || i === void 0 ? void 0 : i.call(o, `${t.featureName}.${t.moduleName}`, e, undefined, true);
|
|
322
322
|
};
|
|
323
323
|
break;
|
|
324
324
|
}
|
|
@@ -326,7 +326,7 @@ const u = class {
|
|
|
326
326
|
i.setAttribute("value", t.itemLabel);
|
|
327
327
|
i.classList.add("resolved-menu-item");
|
|
328
328
|
i.textContent = t.itemLabel;
|
|
329
|
-
i.onclick =
|
|
329
|
+
i.onclick = o;
|
|
330
330
|
return i;
|
|
331
331
|
}))));
|
|
332
332
|
}
|
|
@@ -334,13 +334,13 @@ const u = class {
|
|
|
334
334
|
// #region Render Methods
|
|
335
335
|
render() {
|
|
336
336
|
const t = this.toggleButtonProps;
|
|
337
|
-
return
|
|
338
|
-
key: "
|
|
337
|
+
return o("click-elsewhere", {
|
|
338
|
+
key: "b6e82a77840792da2ab918048abf38578ec4ccb3",
|
|
339
339
|
class: this.open ? "dropdown-open" : "",
|
|
340
340
|
onChange: this.onClickElsewhere,
|
|
341
341
|
"test-id": "dropdownContainer"
|
|
342
|
-
},
|
|
343
|
-
key: "
|
|
342
|
+
}, o("q2-btn", {
|
|
343
|
+
key: "5c26f1d198bd92ba61ac51080a3f8e2769d07b01",
|
|
344
344
|
tabIndex: 0,
|
|
345
345
|
ref: t => this.controlElement = t,
|
|
346
346
|
class: t.className,
|
|
@@ -358,17 +358,17 @@ const u = class {
|
|
|
358
358
|
"test-id": "dropdownButton",
|
|
359
359
|
block: this.block,
|
|
360
360
|
description: c("tecton.element.dropdown.itemCount", [ this.determineDropdownItemCount ])
|
|
361
|
-
}, this.hasCustomControl ?
|
|
361
|
+
}, this.hasCustomControl ? o("div", {
|
|
362
362
|
"test-id": "dropdownControl",
|
|
363
363
|
class: t.custom ? "" : "hidden"
|
|
364
|
-
},
|
|
364
|
+
}, o("slot", {
|
|
365
365
|
name: "control"
|
|
366
|
-
})) : e
|
|
366
|
+
})) : o(e, null, this.label && !this.hideLabel && o("span", {
|
|
367
367
|
class: "dropdown-button-text"
|
|
368
|
-
}, c(this.label)), this.icon ?
|
|
368
|
+
}, c(this.label)), this.icon ? o("q2-icon", {
|
|
369
369
|
type: this.icon
|
|
370
|
-
}) : " ")),
|
|
371
|
-
key: "
|
|
370
|
+
}) : " ")), o("q2-popover", {
|
|
371
|
+
key: "4db48630a62011863293587a76a17448a503df9d",
|
|
372
372
|
ref: t => this.popoverElement = t,
|
|
373
373
|
controlElement: this.controlElement,
|
|
374
374
|
open: this.open,
|
|
@@ -379,21 +379,21 @@ const u = class {
|
|
|
379
379
|
align: this.popoverAlignment,
|
|
380
380
|
mode: this.popoverMode || undefined,
|
|
381
381
|
block: this.block
|
|
382
|
-
},
|
|
383
|
-
key: "
|
|
382
|
+
}, o("slot", {
|
|
383
|
+
key: "20cf54aca49692025c64ca230433366e14a242df",
|
|
384
384
|
name: "popover-top"
|
|
385
|
-
}),
|
|
386
|
-
key: "
|
|
385
|
+
}), o("q2-option-list", {
|
|
386
|
+
key: "f2f8b61de7682fda8b18ddee17995fbbe1529ff7",
|
|
387
387
|
onPopoverState: this.onPopoverState,
|
|
388
388
|
id: "option-list",
|
|
389
389
|
ref: t => this.optionList = t,
|
|
390
390
|
type: "menu",
|
|
391
391
|
label: c("tecton.element.optionList.label", [ this.optionListLabel ]),
|
|
392
392
|
"no-select": true
|
|
393
|
-
},
|
|
394
|
-
key: "
|
|
395
|
-
})),
|
|
396
|
-
key: "
|
|
393
|
+
}, o("slot", {
|
|
394
|
+
key: "380049eda306cad1283f509977cfc32924f86d22"
|
|
395
|
+
})), o("slot", {
|
|
396
|
+
key: "bc02de04e8e0ca08205425ced651183535a80c78",
|
|
397
397
|
name: "popover-bottom"
|
|
398
398
|
})));
|
|
399
399
|
}
|
|
@@ -284,7 +284,7 @@ const c = class {
|
|
|
284
284
|
// #region Render Methods
|
|
285
285
|
render() {
|
|
286
286
|
return e("div", {
|
|
287
|
-
key: "
|
|
287
|
+
key: "bd5759fc666e43c948cf4826e2075ba5566038cc"
|
|
288
288
|
}, this.generateEditStateDOM(), this.generateReadStateDOM());
|
|
289
289
|
}
|
|
290
290
|
get hostElement() {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as o, h as a } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
3
|
const n = "*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.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
5
|
const c = class {
|
|
6
|
-
constructor(
|
|
7
|
-
|
|
6
|
+
constructor(a) {
|
|
7
|
+
o(this, a);
|
|
8
8
|
// #region Public Property API
|
|
9
9
|
/** Changes the vertical spacing of the form-fields contained within the component's slot */ this.spacing = "normal";
|
|
10
10
|
}
|
|
11
11
|
// #endregion
|
|
12
12
|
// #region Render Methods
|
|
13
13
|
render() {
|
|
14
|
-
return
|
|
15
|
-
key: "
|
|
14
|
+
return a("div", {
|
|
15
|
+
key: "6720d1cf81a23420db41de84fce56398ff932018",
|
|
16
16
|
class: "container"
|
|
17
|
-
},
|
|
18
|
-
key: "
|
|
17
|
+
}, a("slot", {
|
|
18
|
+
key: "48165fa24f2eb15d66fdfa63b6c122c0dc320714"
|
|
19
19
|
}));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
@@ -61,11 +61,11 @@ const o = class {
|
|
|
61
61
|
render() {
|
|
62
62
|
const {formattedTextClasses: t} = this;
|
|
63
63
|
return e("div", {
|
|
64
|
-
key: "
|
|
64
|
+
key: "0e3cb56f89a3ab403b45b411a4cd38ec267ed58b",
|
|
65
65
|
class: t,
|
|
66
66
|
"aria-label": this.formattedValue
|
|
67
67
|
}, e("span", {
|
|
68
|
-
key: "
|
|
68
|
+
key: "a9bb42690d67bce14debcb99db50c63582c6ba63"
|
|
69
69
|
}, this.formattedValue));
|
|
70
70
|
}
|
|
71
71
|
static get watchers() {
|
|
@@ -102,10 +102,10 @@ const h = class {
|
|
|
102
102
|
"--xl-z-index": `${this.computedXlZIndex}`
|
|
103
103
|
};
|
|
104
104
|
return i(t, {
|
|
105
|
-
key: "
|
|
105
|
+
key: "d26c984d2ad2022162a1e4bfcb17f3770c0a95d3",
|
|
106
106
|
style: s
|
|
107
107
|
}, i("slot", {
|
|
108
|
-
key: "
|
|
108
|
+
key: "7951a611fc9bdf5b0f4535f995317765323eca21"
|
|
109
109
|
}));
|
|
110
110
|
}
|
|
111
111
|
get hostElement() {
|
|
@@ -85,13 +85,13 @@ const r = class {
|
|
|
85
85
|
"--xl-align-items": this.xlAlign || this.lgAlign || this.mdAlign || this.smAlign || this.xsAlign || this.align
|
|
86
86
|
};
|
|
87
87
|
return i(s, {
|
|
88
|
-
key: "
|
|
88
|
+
key: "ab38b4849ec0cdf8ab49d536bb440df6f21b93d7"
|
|
89
89
|
}, i("div", {
|
|
90
|
-
key: "
|
|
90
|
+
key: "0fd537b2867d871be69269d983234f9f6e47edeb",
|
|
91
91
|
style: t,
|
|
92
92
|
class: "q2-grid"
|
|
93
93
|
}, i("slot", {
|
|
94
|
-
key: "
|
|
94
|
+
key: "d9d7b5d7bbcde66f0bcef49c2c31906e12536e90"
|
|
95
95
|
})));
|
|
96
96
|
}
|
|
97
97
|
};
|
|
@@ -3839,15 +3839,15 @@ const P = class {
|
|
|
3839
3839
|
render() {
|
|
3840
3840
|
const {ariaControls: t, ariaExpanded: r} = this.ariaAttributes;
|
|
3841
3841
|
return a(i, {
|
|
3842
|
-
key: "
|
|
3842
|
+
key: "5cd0ac01d09732c81c59519cd04a998ff99e4dea",
|
|
3843
3843
|
role: this._role,
|
|
3844
3844
|
"aria-controls": t,
|
|
3845
3845
|
"aria-expanded": r
|
|
3846
3846
|
}, a("div", {
|
|
3847
|
-
key: "
|
|
3847
|
+
key: "3907d95e0564a7e5f53148f6bdd02f0d51dcc8b6",
|
|
3848
3848
|
class: this.wrapperClasses
|
|
3849
3849
|
}, a("div", {
|
|
3850
|
-
key: "
|
|
3850
|
+
key: "73857901c65827a40b17a56e8a1ac4d1d9c4faf7",
|
|
3851
3851
|
class: "label-wrapper"
|
|
3852
3852
|
}, x(this), this.renderCountDOM()), this.renderInputContainerDOM(), v(this)));
|
|
3853
3853
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as t, h as e, g as o } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
|
-
import { o as i, h as
|
|
3
|
+
import { o as i, h as r } from "./index-C4PILj1_.js";
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const a = "*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{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:var(\n --tct-btn-primary-hover-box-shadow,\n 0 0 0 2px var(--comp-hover-inner-ring-color),\n 0 0 0 4px var(--comp-hover-outer-ring-color)\n )}: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:var(--tct-item-action-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);font-style:var(--tct-item-body-font-style, inherit)}.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{color:var(--tct-item-footer-color, inherit);font-size:var(--tct-item-footer-font-size, inherit);font-weight:var(--tct-item-footer-font-weight, inherit);font-style:var(--tct-item-footer-font-style, inherit);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-style:var(--tct-item-header-font-style, inherit);font-weight:var(--tct-item-header-font-weight, 600);line-height:var(--tct-item-header-line-height, 1.5)}.item{font-style:var(--tct-item-font-style, inherit);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
|
|
|
7
7
|
const n = class {
|
|
8
8
|
constructor(e) {
|
|
@@ -63,19 +63,19 @@ const n = class {
|
|
|
63
63
|
return t.join(" ");
|
|
64
64
|
}
|
|
65
65
|
get hasActionSlotContent() {
|
|
66
|
-
return
|
|
66
|
+
return r(this.hostElement, "action");
|
|
67
67
|
}
|
|
68
68
|
get hasBodySlotContent() {
|
|
69
|
-
return
|
|
69
|
+
return r(this.hostElement, "body");
|
|
70
70
|
}
|
|
71
71
|
get hasDecoratorSlotContent() {
|
|
72
|
-
return
|
|
72
|
+
return r(this.hostElement, "decorator") || r(this.hostElement, "bullet");
|
|
73
73
|
}
|
|
74
74
|
get hasFooterSlotContent() {
|
|
75
|
-
return
|
|
75
|
+
return r(this.hostElement, "footer");
|
|
76
76
|
}
|
|
77
77
|
get hasHeaderSlotContent() {
|
|
78
|
-
return
|
|
78
|
+
return r(this.hostElement, "header");
|
|
79
79
|
}
|
|
80
80
|
get itemClasses() {
|
|
81
81
|
const t = [ "item" ];
|
|
@@ -105,47 +105,47 @@ const n = class {
|
|
|
105
105
|
render() {
|
|
106
106
|
const {clickable: t} = this;
|
|
107
107
|
return e("div", {
|
|
108
|
-
key: "
|
|
108
|
+
key: "3bd899fe8e37940635740451ebcf07407103e5e8",
|
|
109
109
|
"test-id": "itemContainer",
|
|
110
110
|
class: this.itemClasses,
|
|
111
111
|
ref: t => this.itemElement = t,
|
|
112
112
|
role: t ? "button" : undefined,
|
|
113
113
|
tabIndex: t ? 0 : undefined
|
|
114
114
|
}, this.hasDecoratorSlotContent && e("div", {
|
|
115
|
-
key: "
|
|
115
|
+
key: "57a84cb0e340658499cfc3283f65d425519fcfcb",
|
|
116
116
|
class: this.decoratorClasses
|
|
117
117
|
}, e("slot", {
|
|
118
|
-
key: "
|
|
118
|
+
key: "ef0b095c055d0ceed0fe18ecb4d1b2565f3bdb82",
|
|
119
119
|
name: "decorator"
|
|
120
120
|
}, e("slot", {
|
|
121
|
-
key: "
|
|
121
|
+
key: "ec695f3ab95be46331cec70b270a1f0434444fff",
|
|
122
122
|
name: "bullet"
|
|
123
123
|
}))), e("div", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "263e6a9ebe842c2430cb263fe8ea1e523f286a17",
|
|
125
125
|
class: this.mainClasses
|
|
126
126
|
}, this.hasHeaderSlotContent && e("div", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "6340f074d8b489e37f21b57b89038f323e5a2533",
|
|
128
128
|
class: "header"
|
|
129
129
|
}, e("slot", {
|
|
130
|
-
key: "
|
|
130
|
+
key: "2ec1a529cd639a520a4b873d2898b88470a2c16a",
|
|
131
131
|
name: "header"
|
|
132
132
|
})), this.hasBodySlotContent && e("div", {
|
|
133
|
-
key: "
|
|
133
|
+
key: "1d38f6795a8ee607eb93e1ff31ddab54dcd41c79",
|
|
134
134
|
class: "body"
|
|
135
135
|
}, e("slot", {
|
|
136
|
-
key: "
|
|
136
|
+
key: "73fe582085a453608301236160cd260474d338c5",
|
|
137
137
|
name: "body"
|
|
138
138
|
}))), this.hasActionSlotContent && e("div", {
|
|
139
|
-
key: "
|
|
139
|
+
key: "0fd2164d9ab710b54655e325aa328d4e236a7bd7",
|
|
140
140
|
class: this.actionClasses
|
|
141
141
|
}, e("slot", {
|
|
142
|
-
key: "
|
|
142
|
+
key: "ce2cb3c08a76f136858a1e8ce2db30b822e17b82",
|
|
143
143
|
name: "action"
|
|
144
144
|
})), this.hasFooterSlotContent && e("div", {
|
|
145
|
-
key: "
|
|
145
|
+
key: "700c9f3faa4dc6f5c0e22d18470614c028c6c8d5",
|
|
146
146
|
class: this.footerClasses
|
|
147
147
|
}, e("slot", {
|
|
148
|
-
key: "
|
|
148
|
+
key: "b3fe3d2477936abcf950c8a7565372456023462f",
|
|
149
149
|
name: "footer"
|
|
150
150
|
})));
|
|
151
151
|
}
|
|
@@ -154,7 +154,7 @@ const n = class {
|
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
n.style =
|
|
157
|
+
n.style = a;
|
|
158
158
|
|
|
159
159
|
export { n as q2_item };
|
|
160
160
|
//# sourceMappingURL=q2-item.entry.esm.js.map
|
|
@@ -110,10 +110,10 @@ const o = class {
|
|
|
110
110
|
// #region Render Methods
|
|
111
111
|
render() {
|
|
112
112
|
return i("click-elsewhere", {
|
|
113
|
-
key: "
|
|
113
|
+
key: "ab6f88f29a37f3b48c7bee9bc1263142d9376b3c",
|
|
114
114
|
onChange: () => this.onClickElsewhere(this)
|
|
115
115
|
}, i("ul", {
|
|
116
|
-
key: "
|
|
116
|
+
key: "aa6443ae74f0d89965963195c479aab4f95fa667"
|
|
117
117
|
}, this.dataWithClasses.map((t => i("li", {
|
|
118
118
|
class: "item"
|
|
119
119
|
}, i("button", {
|
|
@@ -155,23 +155,23 @@ const l = class {
|
|
|
155
155
|
// #region Render Methods
|
|
156
156
|
render() {
|
|
157
157
|
return e("div", {
|
|
158
|
-
key: "
|
|
158
|
+
key: "5602927af6da7b334c38f7d2cc207633d6089f7c",
|
|
159
159
|
class: this.listClasses,
|
|
160
160
|
ref: t => this.listElement = t
|
|
161
161
|
}, (this.hasFilterSlot || this.hasLabelContent) && e("div", {
|
|
162
|
-
key: "
|
|
162
|
+
key: "23ae73b5b842f17d45f9f82b06db79e8ea5c1796",
|
|
163
163
|
class: this.headerClasses
|
|
164
164
|
}, e("div", {
|
|
165
|
-
key: "
|
|
165
|
+
key: "428117b7ffeadbfe4a53d39bf95d16cae1c26148",
|
|
166
166
|
class: "label"
|
|
167
167
|
}, this.label), this.hasFilterSlot && e("slot", {
|
|
168
|
-
key: "
|
|
168
|
+
key: "3c5c29226478ba20fbe691b4265a2966b43f3fcb",
|
|
169
169
|
name: "filter"
|
|
170
170
|
})), e("div", {
|
|
171
|
-
key: "
|
|
171
|
+
key: "358b66a87ce56416c1dd42b8cc8a480996e2bdaf",
|
|
172
172
|
role: "list"
|
|
173
173
|
}, e("slot", {
|
|
174
|
-
key: "
|
|
174
|
+
key: "8eabad8c7f15fac806588c651abf4ee400994d52"
|
|
175
175
|
})));
|
|
176
176
|
}
|
|
177
177
|
get hostElement() {
|
|
@@ -65,7 +65,7 @@ const p = class {
|
|
|
65
65
|
const {description: o} = this;
|
|
66
66
|
const r = c(`tecton.element.message.type.${this.type ? this.type : "info"}`);
|
|
67
67
|
return e("div", {
|
|
68
|
-
key: "
|
|
68
|
+
key: "b65f9feaee320f96a3f745eb4231510eab67aba6",
|
|
69
69
|
tabindex: "-1",
|
|
70
70
|
class: "message",
|
|
71
71
|
role: o ? undefined : "alert",
|
|
@@ -74,21 +74,21 @@ const p = class {
|
|
|
74
74
|
"aria-relevant": o && t ? undefined : "all",
|
|
75
75
|
"test-id": "messageContainer"
|
|
76
76
|
}, e("div", {
|
|
77
|
-
key: "
|
|
77
|
+
key: "66b9440bf994341ff365766a1241f56556fffe57",
|
|
78
78
|
class: "bar",
|
|
79
79
|
"test-id": "bar"
|
|
80
80
|
}), this.appearance === "standard" ? this.messageIcon(this.type) : "", s && e("div", {
|
|
81
|
-
key: "
|
|
81
|
+
key: "47269ca27bc9c952249f574ab98e45d026125228",
|
|
82
82
|
class: "sr"
|
|
83
83
|
}), e("div", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "63a91696622f38741d5d403fe81262e2d5458328",
|
|
85
85
|
class: "sr message-label"
|
|
86
86
|
}, r), e("div", {
|
|
87
|
-
key: "
|
|
87
|
+
key: "544cecc85e943f0156b63489cc78a42bec02f7c9",
|
|
88
88
|
class: "message-content",
|
|
89
89
|
"aria-hidden": t ? "true" : undefined
|
|
90
90
|
}, e("slot", {
|
|
91
|
-
key: "
|
|
91
|
+
key: "36ff0e64df72018818fd8452e847c522ea4c4039"
|
|
92
92
|
})));
|
|
93
93
|
}
|
|
94
94
|
get hostElement() {
|