q2-tecton-elements 1.55.4 → 1.55.6
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 +421 -363
- package/dist/cjs/{index-e0aba375.js → index-f69742cf.js} +1 -1
- package/dist/cjs/{index-e0aba375.js.map → index-f69742cf.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- 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-badge_7.cjs.entry.js +11 -3
- package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.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.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 +32 -31
- package/dist/cjs/q2-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +6 -7
- 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-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 +2 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.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-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +64 -61
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +80 -10
- 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 +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-tag.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -1
- package/dist/cjs/q2-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +6 -6
- 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-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js +8 -8
- 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-file-picker/q2-file-picker.js +5 -5
- 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 +2 -2
- 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-option-list/q2-option-list.js +7 -7
- 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 +64 -60
- 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-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 +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-pane/q2-stepper-pane.js +3 -3
- 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/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-calendar.js +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +1 -1
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-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 +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-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 +63 -60
- 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 +84 -14
- package/dist/components/q2-select2.js.map +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-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-3bb7a785.js → index-3184c760.js} +1 -1
- package/dist/esm/{index-3bb7a785.js.map → index-3184c760.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +11 -3
- package/dist/esm/q2-badge_7.entry.js.map +1 -1
- package/dist/esm/q2-calendar.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.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 +32 -31
- package/dist/esm/q2-dropdown.entry.js.map +1 -1
- package/dist/esm/q2-editable-field.entry.js +6 -7
- package/dist/esm/q2-editable-field.entry.js.map +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-item_3.entry.js +2 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-message.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-optgroup.entry.js +1 -1
- package/dist/esm/q2-option-list_2.entry.js +64 -61
- package/dist/esm/q2-option-list_2.entry.js.map +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 +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-tag.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -1
- package/dist/esm/q2-textarea.entry.js.map +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{index-3bb7a785.js → index-3184c760.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +62 -62
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +24 -16
- package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
- 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 +34 -32
- package/dist/q2-tecton-elements/q2-dropdown.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +26 -17
- 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-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item_3.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-message.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-modal.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +30 -30
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +138 -127
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +33 -33
- package/dist/q2-tecton-elements/q2-radio.entry.js +8 -8
- 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 +11 -11
- 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 +11 -11
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +28 -28
- package/dist/q2-tecton-elements/q2-stepper.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-tag.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -2
- package/dist/q2-tecton-elements/q2-textarea.entry.js.map +1 -1
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
- package/dist/types/components/q2-action-group/q2-action-group.d.ts +1 -0
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +60 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +1 -0
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +327 -0
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +95 -0
- package/dist/types/components/q2-data-table/q2-data-table.d.ts +261 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +180 -0
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +141 -0
- package/dist/types/components/q2-icon/q2-icon.d.ts +1 -0
- package/dist/types/components/q2-loading/skeleton/shapes.d.ts +1 -0
- package/dist/types/components/q2-optgroup/q2-optgroup.d.ts +1 -1
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +100 -0
- package/dist/types/components/q2-pagination/q2-pagination.d.ts +117 -0
- package/dist/types/components/q2-pill/q2-pill.d.ts +143 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -4
- package/dist/types/components/q2-select/q2-select.d.ts +256 -0
- package/dist/types/components/q2-stepper/q2-stepper.d.ts +61 -0
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +68 -0
- package/dist/types/components/q2-tab-container/q2-tab-container.d.ts +2 -2
- package/dist/types/components/q2-tag/q2-tag.d.ts +91 -0
- package/dist/types/utils/action-sheet.d.ts +12 -0
- package/package.json +4 -3
- /package/dist/q2-tecton-elements/{index-3bb7a785.js.map → index-3184c760.js.map} +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
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { r as t, c as i, h as
|
|
1
|
+
import { r as t, c as i, h as a, F as e, g as r } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as o, o as n, i as s, f as d } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const l = '*{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-default-radio-group-margin:var(--tct-radio-group-margin-top, var(--t-radio-group-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-radio-group-margin-bottom, var(--t-radio-group-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-radio-group-margin, var(--comp-default-radio-group-margin))}fieldset{padding:var(--tct-radio-group-fieldset-padding, 0);margin:0;border:0;position:relative}.label-row{display:grid;grid-template-columns:1fr 24px;grid-template-areas:"label icon";column-gap:var(--tct-radio-group-label-column-gap, var(--app-scale-2x, 10px))}.label-row q2-icon{grid-area:icon;margin-top:-2px;margin-bottom:-2px}.group-legend{font-weight:600}legend.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}.optional-tag{margin-left:var(--tct-radio-group-label-optional-margin-left, var(--app-scale-1x, 5px));color:var(--tct-radio-group-label-optional-color, var(--t-radio-group-label-optional-color, var(--tct-a11y-color, var(--t-a11y-color, var(--tct-a11y-gray-color, var(--t-a11y-gray-color, var(--tct-gray-7, var(--t-gray-7, var(--tct-gray-d1, var(--t-gray-d1, var(--app-gray-d1, rgba(77, 77, 77, 0.77))))))))))));font-size:var(--tct-radio-group-label-optional-font-size, var(--t-radio-group-label-optional-font-size, 12px));font-weight:var(--tct-radio-group-label-optional-font-weight, var(--t-radio-group-label-optional-font-weight, 400))}.tile-container,.tile-container .options-container{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;flex-grow:1}.options-container{--comp-default-margin:var(--app-scale-1x, 5px) 0;--comp-options-margin:var(--tct-radio-group-options-margin, var(--t-radio-group-options-margin, var(--comp-default-margin, 5px 0)));margin:var(--comp-options-margin);padding:var(--tct-radio-group-options-padding, var(--t-radio-group-options-padding, var(--app-scale-0x, 0px)));border-width:1px;border-color:transparent;border-style:solid;border-radius:var(--tct-radio-group-border-radius, var(--app-border-radius-1, 4px))}:host([has-error]) .options-container{border-color:var(--tct-radio-group-error-border-color, var(--const-stoplight-alert, #d20a0a))}:host([has-error=false]) .options-container{border-color:transparent}.tile-container.left{justify-content:start}.tile-container.right{justify-content:end}.tile-container .options-container{gap:var(--tct-radio-group-tile-gap, var(--t-radio-group-tile-gap, var(--app-scale-2x, 10px)));justify-content:inherit}';
|
|
6
6
|
|
|
7
7
|
const p = l;
|
|
8
8
|
|
|
9
9
|
const c = class {
|
|
10
|
-
constructor(
|
|
11
|
-
t(this,
|
|
10
|
+
constructor(a) {
|
|
11
|
+
t(this, a);
|
|
12
12
|
this.change = i(this, "change", 7);
|
|
13
13
|
// #region Own Properties
|
|
14
|
-
this._id = `radio-group-${
|
|
14
|
+
this._id = `radio-group-${o()}`;
|
|
15
15
|
this.checkedRadioExists = () => {
|
|
16
16
|
// Returns first checked individual q2-radio or undefined if none are set to checked={true}
|
|
17
17
|
const t = this.radioElements.find((t => t.checked === true)) || undefined;
|
|
@@ -81,29 +81,29 @@ const c = class {
|
|
|
81
81
|
}
|
|
82
82
|
keydownHandler(t) {
|
|
83
83
|
const i = t.target.getAttribute("value") || this.value;
|
|
84
|
-
let
|
|
85
|
-
let
|
|
84
|
+
let a = this.radioElements.findIndex((a => a === t.target || a.getAttribute("value") === i));
|
|
85
|
+
let e = 0;
|
|
86
86
|
switch (t.key) {
|
|
87
87
|
case "ArrowLeft":
|
|
88
88
|
case "ArrowUp":
|
|
89
|
-
|
|
89
|
+
e = -1;
|
|
90
90
|
break;
|
|
91
91
|
|
|
92
92
|
case "ArrowRight":
|
|
93
93
|
case "ArrowDown":
|
|
94
|
-
|
|
94
|
+
e = 1;
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
|
-
if (
|
|
97
|
+
if (a === -1 || e === 0) {
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
a += e;
|
|
101
|
+
a = e < 0 ? Math.max(0, a) : Math.min(this.radioElements.length - 1, a);
|
|
102
102
|
t.preventDefault();
|
|
103
103
|
if (!this.readonly) {
|
|
104
|
-
this.value = this.radioElements[
|
|
104
|
+
this.value = this.radioElements[a].value;
|
|
105
105
|
}
|
|
106
|
-
this.radioElements[
|
|
106
|
+
this.radioElements[a].dispatchEvent(new FocusEvent("focus"));
|
|
107
107
|
}
|
|
108
108
|
// #endregion
|
|
109
109
|
// #region Public Methods API
|
|
@@ -168,15 +168,15 @@ const c = class {
|
|
|
168
168
|
if (this.tileLayout) {
|
|
169
169
|
const {tileAlignment: t} = this;
|
|
170
170
|
const i = [ "left", "center", "right" ].includes(t) ? t : "center";
|
|
171
|
-
return
|
|
171
|
+
return a("div", {
|
|
172
172
|
class: `tile-container ${i}`
|
|
173
|
-
},
|
|
173
|
+
}, a("div", {
|
|
174
174
|
class: "options-container"
|
|
175
|
-
},
|
|
175
|
+
}, a("slot", null)));
|
|
176
176
|
} else {
|
|
177
|
-
return
|
|
177
|
+
return a("div", {
|
|
178
178
|
class: "options-container"
|
|
179
|
-
},
|
|
179
|
+
}, a("slot", null));
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
// #endregion
|
|
@@ -184,30 +184,30 @@ const c = class {
|
|
|
184
184
|
render() {
|
|
185
185
|
const t = this.label || this.optional || this.readonly;
|
|
186
186
|
const {hasError: i} = this;
|
|
187
|
-
const
|
|
188
|
-
return e
|
|
189
|
-
key: "
|
|
190
|
-
},
|
|
191
|
-
key: "
|
|
187
|
+
const r = t && !this.hideLabel || i;
|
|
188
|
+
return a(e, {
|
|
189
|
+
key: "d1d5bc5ec6dd3fc33332fa49e64ccb1dac4b542e"
|
|
190
|
+
}, r && a("div", {
|
|
191
|
+
key: "f2de38984a59682953612d73981a2de1afa1bc58",
|
|
192
192
|
class: "label-row"
|
|
193
|
-
}, t && !this.hideLabel &&
|
|
194
|
-
key: "
|
|
193
|
+
}, t && !this.hideLabel && a("div", {
|
|
194
|
+
key: "24d1a40c5ad7546e5901dd96e46a15e71d8ca4c3",
|
|
195
195
|
class: "group-legend"
|
|
196
|
-
}, d(this)), i &&
|
|
197
|
-
key: "
|
|
196
|
+
}, d(this)), i && a("q2-icon", {
|
|
197
|
+
key: "24be48ddc9c8cc60fa356056da6c59224a358a59",
|
|
198
198
|
type: "error",
|
|
199
199
|
"test-id": "iconError"
|
|
200
|
-
})),
|
|
201
|
-
key: "
|
|
200
|
+
})), a("fieldset", {
|
|
201
|
+
key: "48da393294f67ac8349606b563a122e0b6e70917",
|
|
202
202
|
onChange: this.onInnerRadioChange,
|
|
203
203
|
"aria-invalid": i ? `${i}` : undefined
|
|
204
|
-
}, t &&
|
|
205
|
-
key: "
|
|
204
|
+
}, t && a("legend", {
|
|
205
|
+
key: "544ba2b62bebcb501806527fec2354aaa70c3dd9",
|
|
206
206
|
class: "sr-only"
|
|
207
207
|
}, d(this)), this.inputDom()));
|
|
208
208
|
}
|
|
209
209
|
get hostElement() {
|
|
210
|
-
return
|
|
210
|
+
return r(this);
|
|
211
211
|
}
|
|
212
212
|
static get watchers() {
|
|
213
213
|
return {
|
|
@@ -83,10 +83,10 @@ const s = class {
|
|
|
83
83
|
// #region Render Methods
|
|
84
84
|
render() {
|
|
85
85
|
return r("div", {
|
|
86
|
-
key: "
|
|
86
|
+
key: "ed4340f095788108ea8112d28a3c45dbc1f2e4c4",
|
|
87
87
|
class: this.groupTileLayout ? "radio-tile" : "radio-container"
|
|
88
88
|
}, r("input", {
|
|
89
|
-
key: "
|
|
89
|
+
key: "30011c8b29f8bdf48e978904052e02b920e602b9",
|
|
90
90
|
ref: e => this.inputField = e,
|
|
91
91
|
class: "sr",
|
|
92
92
|
id: this._id,
|
|
@@ -99,32 +99,32 @@ const s = class {
|
|
|
99
99
|
onChange: this.inputChange,
|
|
100
100
|
"test-id": "q2RadioInnerRadioBox"
|
|
101
101
|
}), r("label", {
|
|
102
|
-
key: "
|
|
102
|
+
key: "657078aca6278f6bbd8997a1992109aecd2ad8a6",
|
|
103
103
|
htmlFor: this._id,
|
|
104
104
|
class: this.hideLabel ? "label-hidden" : undefined,
|
|
105
105
|
"test-id": "radioButton"
|
|
106
106
|
}, !this.groupTileLayout && r("svg", {
|
|
107
|
-
key: "
|
|
107
|
+
key: "9b4cf7c9e1968f862509c760a0dfee5cb90c3ce1",
|
|
108
108
|
viewBox: "0 0 18 18"
|
|
109
109
|
}, r("circle", {
|
|
110
|
-
key: "
|
|
110
|
+
key: "269619ffb0671e2f67dfa3da58b5da8264508586",
|
|
111
111
|
stroke: "none",
|
|
112
112
|
fill: "none",
|
|
113
113
|
cx: "9",
|
|
114
114
|
cy: "9",
|
|
115
115
|
r: "8"
|
|
116
116
|
}), r("circle", {
|
|
117
|
-
key: "
|
|
117
|
+
key: "9325caea79a38fe661db33ca62da9f075a06597f",
|
|
118
118
|
stroke: "none",
|
|
119
119
|
fill: "none",
|
|
120
120
|
cx: "9",
|
|
121
121
|
cy: "9",
|
|
122
122
|
r: "4"
|
|
123
123
|
})), !this.hideLabel && r("div", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "fb674a98b4d028e35397da9ead2ab5083e8617fd",
|
|
125
125
|
class: "label-content"
|
|
126
126
|
}, this.label && l(this.label) || "", r("slot", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "39a40ee6024f16b059ebad2675ee922a5c95324d"
|
|
128
128
|
}))));
|
|
129
129
|
}
|
|
130
130
|
get hostElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, h as t, F as i, g as s } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { d as n } from "./index-
|
|
3
|
+
import { d as n } from "./index-3184c760.js";
|
|
4
4
|
|
|
5
5
|
import { l as a } from "./index-f2a66217.js";
|
|
6
6
|
|
|
@@ -60,7 +60,7 @@ const d = class {
|
|
|
60
60
|
this.displayedMessage = a("tecton.element.relativeTime.invalidDate");
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const p = n.intlFormatDistance(new Date(s), new Date(r), {
|
|
64
64
|
locale: o,
|
|
65
65
|
localeMatcher: "best fit",
|
|
66
66
|
numeric: d,
|
|
@@ -68,9 +68,9 @@ const d = class {
|
|
|
68
68
|
unit: l ? u : null
|
|
69
69
|
});
|
|
70
70
|
if (c) {
|
|
71
|
-
this.displayedMessage = this.trimMessage(
|
|
71
|
+
this.displayedMessage = this.trimMessage(p);
|
|
72
72
|
} else {
|
|
73
|
-
this.displayedMessage =
|
|
73
|
+
this.displayedMessage = p;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
syncUpdated() {
|
|
@@ -135,7 +135,7 @@ const d = class {
|
|
|
135
135
|
render() {
|
|
136
136
|
const {shouldShow: e, displayedMessage: s} = this;
|
|
137
137
|
return t(i, {
|
|
138
|
-
key: "
|
|
138
|
+
key: "0bb624cf78e589203bcfdd4752dbaaebc78d9294"
|
|
139
139
|
}, e ? t("time", {
|
|
140
140
|
dateTime: s
|
|
141
141
|
}, s) : null);
|
|
@@ -187,29 +187,29 @@ const p = class {
|
|
|
187
187
|
}
|
|
188
188
|
const r = !this.hasYieldedHeader && !!this.label;
|
|
189
189
|
return i("section", {
|
|
190
|
-
key: "
|
|
190
|
+
key: "ec30708aa932f68c2ff165d666b6f87be9f7dfeb",
|
|
191
191
|
class: "wrapper"
|
|
192
192
|
}, i("header", {
|
|
193
|
-
key: "
|
|
193
|
+
key: "25227270bdc86679fdf2b646b4314b83bd85d530",
|
|
194
194
|
class: t ? "has-header" : ""
|
|
195
195
|
}, i("div", {
|
|
196
|
-
key: "
|
|
196
|
+
key: "f3257aafae07ef530489b4cc0e1e860ebc36d5d0",
|
|
197
197
|
class: "header-content",
|
|
198
198
|
id: this.titleId,
|
|
199
199
|
onClick: this.collapsible && this.onHeaderClick
|
|
200
200
|
}, r && i("h2", {
|
|
201
|
-
key: "
|
|
201
|
+
key: "889e0fc00a0b7b2081e679b8eefe5ce95ba27db9",
|
|
202
202
|
class: "title"
|
|
203
203
|
}, c(this.label)), i("div", {
|
|
204
|
-
key: "
|
|
204
|
+
key: "c5cba7080bebd4db424afb1e46e33aa1906d06ec",
|
|
205
205
|
ref: t => this.headerSlotWrapper = t,
|
|
206
206
|
class: "header-slot-wrapper"
|
|
207
207
|
}, i("slot", {
|
|
208
|
-
key: "
|
|
208
|
+
key: "897516031609575ab040af97c1215aedf646f87c",
|
|
209
209
|
ref: t => this.headerSlot = t,
|
|
210
210
|
name: "q2-section-header"
|
|
211
211
|
}))), this.collapsible && !this.noCollapseIcon && i("q2-btn", {
|
|
212
|
-
key: "
|
|
212
|
+
key: "a6c85a93fd2701287361b75e9277b7efd309a506",
|
|
213
213
|
label: c(this.label || "tecton.element.section.defaultToggleLabel"),
|
|
214
214
|
ariaExpanded: `${!!this.expanded}`,
|
|
215
215
|
ariaControls: this.contentId,
|
|
@@ -217,10 +217,10 @@ const p = class {
|
|
|
217
217
|
"hide-label": true,
|
|
218
218
|
onClick: this.onHeaderClick
|
|
219
219
|
}, i("q2-icon", {
|
|
220
|
-
key: "
|
|
220
|
+
key: "08b7f0dc76c46ce103f3d53fd5ed9cae8a193382",
|
|
221
221
|
type: "chevron-up"
|
|
222
222
|
}))), i("div", {
|
|
223
|
-
key: "
|
|
223
|
+
key: "e8ccaeceee8096e3285ebedf9940f1aab3284814",
|
|
224
224
|
class: e.join(" "),
|
|
225
225
|
id: this.contentId,
|
|
226
226
|
"aria-labelledby": this.titleId,
|
|
@@ -230,12 +230,12 @@ const p = class {
|
|
|
230
230
|
height: this.contentHeight
|
|
231
231
|
}
|
|
232
232
|
}, i("div", {
|
|
233
|
-
key: "
|
|
233
|
+
key: "df810dbfea3eec7465c438bce87bcb23ae3c8651",
|
|
234
234
|
ref: t => this.contentContainer = t,
|
|
235
235
|
class: "content",
|
|
236
236
|
tabindex: "-1"
|
|
237
237
|
}, i("slot", {
|
|
238
|
-
key: "
|
|
238
|
+
key: "221f07d4737fcf53a8697053e31d9774918a9e5e",
|
|
239
239
|
ref: t => this.contentSlot = t
|
|
240
240
|
}))));
|
|
241
241
|
}
|