q2-tecton-elements 1.55.4 → 1.56.0
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 +15973 -11906
- package/dist/cjs/{index-905f4c87.js → index-99667782.js} +5 -1
- package/dist/cjs/index-99667782.js.map +1 -0
- 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 +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +56 -55
- package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/q2-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +2 -2
- package/dist/cjs/q2-currency.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +3 -3
- package/dist/cjs/q2-data-table.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js +2 -2
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +20 -7
- package/dist/cjs/q2-file-picker.cjs.entry.js.map +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 +133 -0
- package/dist/cjs/q2-grid-area.cjs.entry.js.map +1 -0
- package/dist/cjs/q2-grid.cjs.entry.js +109 -0
- package/dist/cjs/q2-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/q2-item_3.cjs.entry.js +4 -4
- package/dist/cjs/q2-item_3.cjs.entry.js.map +1 -1
- 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 +18 -6
- 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 +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-tag.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +8 -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.css +8 -8
- package/dist/collection/components/q2-avatar/q2-avatar.js +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-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 +6 -2
- 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.css +2 -2
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +1 -2
- 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 +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +11 -2
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +54 -14
- package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +1 -1
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.e2e.js +25 -0
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.spec.js +107 -18
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.spec.js.map +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.css +98 -0
- package/dist/collection/components/q2-grid/q2-grid.js +807 -0
- package/dist/collection/components/q2-grid/q2-grid.js.map +1 -0
- package/dist/collection/components/q2-grid/test/q2-grid.e2e.js +218 -0
- package/dist/collection/components/q2-grid/test/q2-grid.e2e.js.map +1 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.css +110 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +1109 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.js.map +1 -0
- package/dist/collection/components/q2-grid-area/test/q2-grid-area.e2e.js +196 -0
- package/dist/collection/components/q2-grid-area/test/q2-grid-area.e2e.js.map +1 -0
- package/dist/collection/components/q2-icon/assets/brand.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/browsersos.symbol.svg +1 -0
- package/dist/collection/components/q2-icon/assets/cards.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/{system.symbol.svg → devices.symbol.svg} +1 -1
- package/dist/collection/components/q2-icon/assets/icon-file-list.json +1 -1
- package/dist/collection/components/q2-icon/assets/icon-map.json +1 -1
- package/dist/collection/components/q2-icon/assets/legacy.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/mobile.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/q2-icon.css +7 -1
- package/dist/collection/components/q2-icon/q2-icon.js +3 -2
- package/dist/collection/components/q2-icon/q2-icon.js.map +1 -1
- package/dist/collection/components/q2-icon/test/q2-icon-test.spec.js +3 -3
- package/dist/collection/components/q2-icon/test/q2-icon-test.spec.js.map +1 -1
- package/dist/collection/components/q2-input/q2-input.js +2 -2
- package/dist/collection/components/q2-input/test/q2-input-test.e2e.js +5 -3
- package/dist/collection/components/q2-input/test/q2-input-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-item/q2-item.css +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-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-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +40 -5
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js +2 -2
- 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 +2 -2
- 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-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/helpers.js +15 -0
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/index.js +3 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +4 -1
- 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 +2 -2
- package/dist/components/q2-avatar2.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 +2 -2
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-currency.js +2 -2
- package/dist/components/q2-currency.js.map +1 -1
- package/dist/components/q2-data-table.js +2 -2
- package/dist/components/q2-data-table.js.map +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-file-picker.js +20 -6
- package/dist/components/q2-file-picker.js.map +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.d.ts +11 -0
- package/dist/components/q2-grid-area.js +190 -0
- package/dist/components/q2-grid-area.js.map +1 -0
- package/dist/components/q2-grid.d.ts +11 -0
- package/dist/components/q2-grid.js +154 -0
- package/dist/components/q2-grid.js.map +1 -0
- package/dist/components/q2-icon2.js +52 -51
- package/dist/components/q2-icon2.js.map +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +2 -2
- package/dist/components/q2-item2.js.map +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 +17 -5
- 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 +3 -3
- 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 +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/{index-f2a66217.js → index-c215e8ef.js} +5 -2
- package/dist/esm/index-c215e8ef.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 +2 -2
- package/dist/esm/q2-avatar.entry.js.map +1 -1
- package/dist/esm/q2-badge_7.entry.js +56 -55
- package/dist/esm/q2-badge_7.entry.js.map +1 -1
- package/dist/esm/q2-calendar.entry.js +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/q2-checkbox.entry.js +3 -3
- package/dist/esm/q2-checkbox.entry.js.map +1 -1
- package/dist/esm/q2-currency.entry.js +2 -2
- package/dist/esm/q2-currency.entry.js.map +1 -1
- package/dist/esm/q2-data-table.entry.js +3 -3
- package/dist/esm/q2-data-table.entry.js.map +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 +2 -2
- package/dist/esm/q2-editable-field.entry.js +2 -2
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +20 -7
- package/dist/esm/q2-file-picker.entry.js.map +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 +129 -0
- package/dist/esm/q2-grid-area.entry.js.map +1 -0
- package/dist/esm/q2-grid.entry.js +105 -0
- package/dist/esm/q2-grid.entry.js.map +1 -0
- package/dist/esm/q2-item_3.entry.js +4 -4
- package/dist/esm/q2-item_3.entry.js.map +1 -1
- 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 +18 -6
- 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 +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-tag.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/assets/brand.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/browsersos.symbol.svg +1 -0
- package/dist/q2-tecton-elements/assets/cards.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/{system.symbol.svg → devices.symbol.svg} +1 -1
- package/dist/q2-tecton-elements/assets/icon-file-list.json +1 -1
- package/dist/q2-tecton-elements/assets/icon-map.json +1 -1
- package/dist/q2-tecton-elements/assets/legacy.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/mobile.symbol.svg +1 -1
- package/dist/q2-tecton-elements/{index-3bb7a785.js → index-3184c760.js} +1 -1
- package/dist/q2-tecton-elements/{index-f2a66217.js → index-c215e8ef.js} +6 -2
- package/dist/q2-tecton-elements/index-c215e8ef.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 +63 -63
- package/dist/q2-tecton-elements/q2-avatar.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-avatar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +70 -68
- package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-currency.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-data-table.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-data-table.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +31 -20
- package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +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-grid-area.entry.js +135 -0
- package/dist/q2-tecton-elements/q2-grid-area.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-grid.entry.js +114 -0
- package/dist/q2-tecton-elements/q2-grid.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-item_3.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-item_3.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.js +5 -5
- 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 +18 -18
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +41 -31
- 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 +38 -38
- package/dist/q2-tecton-elements/q2-pill.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-radio.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-select.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +37 -37
- package/dist/q2-tecton-elements/q2-stepper.entry.js +29 -29
- package/dist/q2-tecton-elements/q2-tag.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-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-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 +181 -0
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +140 -0
- package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +31 -17
- package/dist/types/components/q2-grid/q2-grid.d.ts +157 -0
- package/dist/types/components/q2-grid-area/q2-grid-area.d.ts +168 -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 +23 -0
- package/dist/types/components/q2-select/q2-select.d.ts +238 -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/components.d.ts +698 -6
- package/dist/types/util.d.ts +2 -2
- package/dist/types/utils/action-sheet.d.ts +12 -0
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +4 -3
- package/dist/cjs/index-905f4c87.js.map +0 -1
- package/dist/esm/index-f2a66217.js.map +0 -1
- package/dist/q2-tecton-elements/index-f2a66217.js.map +0 -1
- /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,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as r, h as a, F as e, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { p as i, c as n, s, o as c, i as l, l as h, r as d, f as v } from "./index-
|
|
3
|
+
import { p as i, c as n, s, o as c, i as l, l as h, r as d, f as v } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
const x = "*{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-textarea-margin:var(--tct-textarea-margin-top, var(--t-textarea-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-textarea-margin-bottom, var(--t-textarea-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-textarea-margin, var(--comp-default-textarea-margin));font-size:var(--tct-textarea-font-size, var(--t-textarea-font-size, var(--app-font-size, inherit)))}:host([hidden]){display:none}label{--comp-label-padding:var(--tct-textarea-label-padding, 0 var(--tct-textarea-label-padding-right, var(--t-textarea-label-padding-right, 0)) 0 var(--tct-textarea-label-padding-left, var(--t-textarea-label-padding-left, 0)));--comp-label-margin:var(--tct-textarea-label-margin, var(--tct-textarea-label-margin-top, var(--t-textarea-label-margin-top, 0)) 0 var(--tct-textarea-label-margin-bottom, var(--t-textarea-label-margin-bottom, var(--tct-scale-1x, var(--app-scale-1x, 5px)))));display:block;padding:var(--comp-label-padding);margin:var(--comp-label-margin);color:var(--tct-textarea-label-font-color, var(--t-textarea-label-font-color, inherit));font-size:var(--tct-textarea-label-font-size, var(--t-textarea-label-font-size, inherit));font-weight:var(--tct-textarea-label-font-weight, var(--t-textarea-label-font-weight, 600));text-transform:var(--tct-textarea-label-text-transform, var(--t-textarea-label-text-transform, none));letter-spacing:var(--tct-textarea-label-letter-spacing, var(--t-textarea-label-letter-spacing, normal));transition:color var(--tct-textarea-tween, var(--t-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))))}.has-error label{color:var(--tct-textarea-error-label-font-color, var(--t-textarea-error-label-font-color, var(--tct-textarea-label-font-color, inherit)))}:hover label{color:var(--tct-textarea-hover-label-font-color, var(--tct-textarea-label-font-color, var(--t-textarea-label-font-color, inherit)))}.has-error :hover label{color:var(--tct-textarea-error-hover-label-font-color, var(--tct-textarea-error-label-font-color, var(--t-textarea-error-label-font-color, var(--tct-textarea-hover-label-font-color, var(--tct-textarea-label-font-color, inherit)))))}:host(:focus-within) label{color:var(--tct-textarea-focus-label-font-color, var(--tct-textarea-label-font-color, var(--t-textarea-label-font-color, inherit)))}:host(:focus-within) .has-error label{color:var(--tct-textarea-error-focus-label-font-color, var(--tct-textarea-error-label-font-color, var(--t-textarea-error-label-font-color, var(--tct-textarea-focus-label-font-color, var(--tct-textarea-label-font-color, var(--t-textarea-label-font-color, inherit))))))}.optional-tag{--comp-label-optional-margin:var(--tct-textarea-label-optional-margin, 0 0 0 var(--tct-textarea-label-optional-margin-left, var(--t-textarea-label-optional-margin-left, var(--tct-scale-1x, var(--app-scale-1x, 5px)))));margin:var(--comp-label-optional-margin);color:var(--tct-textarea-label-optional-font-color, var(--t-textarea-label-optional-font-color, var(--t-textA, var(--t-a11y-gray-color, rgba(77, 77, 77, 0.77)))));font-size:var(--tct-textarea-label-optional-font-size, var(--t-textarea-label-optional-font-size, 12px));font-weight:var(--tct-textarea-label-optional-font-weight, var(--t-textarea-label-optional-font-weight, 400))}.input-container{min-height:var(--tct-textarea-min-height, var(--t-textarea-min-height, var(--comp-textarea-min-height)));height:100%;--comp-default-border-radius:var(--tct-border-radius-1, var(--app-border-radius-1, 4px));--comp-textarea-border-top-left-radius:var(--tct-textarea-border-top-left-radius, var(--t-textarea-border-top-left-radius, var(--comp-default-border-radius)));--comp-textarea-border-top-right-radius:var(--tct-textarea-border-top-right-radius, var(--t-textarea-border-top-right-radius, var(--comp-default-border-radius)));--comp-textarea-border-bottom-right-radius:var(--tct-textarea-border-bottom-right-radius, var(--t-textarea-border-bottom-right-radius, var(--comp-default-border-radius)));--comp-textarea-border-bottom-left-radius:var(--tct-textarea-border-bottom-left-radius, var(--t-textarea-border-bottom-left-radius, var(--comp-default-border-radius)));--comp-textarea-border-radius:var(--comp-textarea-border-top-left-radius)\n var(--comp-textarea-border-top-right-radius) var(--comp-textarea-border-bottom-right-radius)\n var(--comp-textarea-border-bottom-left-radius);--comp-textarea-border-width:var(--tct-textarea-border-top-width, var(--t-textarea-border-top-width, 1px)) var(--tct-textarea-border-right-width, var(--t-textarea-border-right-width, 1px)) var(--tct-textarea-border-bottom-width, var(--t-textarea-border-bottom-width, 1px)) var(--tct-textarea-border-left-width, var(--t-textarea-border-left-width, 1px));--comp-textarea-icon-clearance:34px}:host([disabled]) .input-container{cursor:not-allowed;opacity:var(--tct-textarea-disabled-opacity, var(--t-textarea-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))))}.content-container{--comp-textarea-min-height:46px;--comp-textarea-min-width:150px;position:relative;display:inline-block;min-height:var(--tct-textarea-min-height, var(--t-textarea-min-height, var(--comp-textarea-min-height)));min-width:var(--tct-textarea-min-width, var(--t-textarea-min-width, var(--comp-textarea-min-width)))}:host(:not([cols])) .content-container{width:100%}textarea{--comp-textarea-padding:var(--tct-textarea-padding, var(--tct-textarea-vertical-padding, var(--t-textarea-vertical-padding, var(--tct-scale-2x, var(--app-scale-2x, 10px)))) var(--tct-textarea-horizontal-padding, var(--t-textarea-horizontal-padding, var(--tct-scale-2x, var(--app-scale-2x, 10px)))));--comp-textarea-border-color:var(--tct-textarea-border-color, var(--t-textarea-border-color, var(--tct-input-border-color, var(--t-input-border-color, var(--t-a11y-gray-color-AA, #949494)))));--comp-textarea-background:var(--tct-textarea-background, var(--tct-textarea-bg, var(--t-textarea-bg, var(--tct-input-background, var(--tct-input-bg, var(--t-input-bg, var(--t-gray-14, #fcfcfd)))))));--comp-textarea-hover-ring-color:var(--tct-textarea-hover-ring-color);--comp-textarea-hover-ring:0 0 0 2px var(--t-base), 0 0 0 4px var(--comp-textarea-hover-ring-color), var(--tct-textarea-hover-box-shadow, 0 0 transparent);resize:none;height:100%;-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;min-height:var(--tct-textarea-min-height, var(--t-textarea-min-height, var(--comp-textarea-min-height)));padding:var(--comp-textarea-padding);background:var(--comp-textarea-background);color:var(--tct-textarea-font-color, var(--t-textarea-font-color, var(--t-input-font-color, inherit)));border-width:var(--comp-textarea-border-width);border-style:solid;border-color:var(--comp-textarea-border-color);border-radius:var(--comp-textarea-border-radius);box-shadow:var(--tct-textarea-box-shadow, var(--t-textarea-box-shadow, none));scrollbar-width:thin;scrollbar-color:var(--t-a11y-gray-color) transparent;--comp-textarea-tween:var(--tct-textarea-tween, var(--t-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))));transition:border-width var(--comp-textarea-tween), border-color var(--comp-textarea-tween), box-shadow var(--comp-textarea-tween)}textarea::-webkit-scrollbar{width:var(--app-scale-1x);height:var(--app-scale-1x);margin:var(--app-scale-1x)}textarea::-webkit-scrollbar-thumb{background:var(--t-a11y-gray-color);border-radius:2px}textarea::-webkit-scrollbar-track{background:transparent}textarea:not([cols]){width:100%}.has-error textarea{padding-right:var(--comp-textarea-icon-clearance);border-color:var(--tct-textarea-error-border-color, var(--t-textarea-error-border-color, var(--const-stoplight-alert, #d20a0a)));background:var(--tct-textarea-error-background, var(--comp-textarea-background))}textarea:hover{border-color:var(--tct-textarea-hover-border-color, var(--comp-textarea-border-color));background:var(--tct-textarea-hover-background, var(--comp-textarea-background));box-shadow:var(--tct-textarea-hover-box-shadow, var(--comp-textarea-hover-ring))}.has-error textarea:hover{border-color:var(--tct-textarea-error-hover-border-color, var(--tct-textarea-error-border-color, var(--t-textarea-error-border-color, var(--const-stoplight-alert, #d20a0a))));background:var(--tct-textarea-error-hover-background, var(--tct-textarea-error-background, var(--comp-textarea-background)));box-shadow:var(--tct-textarea-error-hover-box-shadow, var(--tct-textarea-error-box-shadow, var(--tct-textarea-hover-box-shadow, var(--comp-textarea-hover-ring))))}textarea:focus{border-color:var(--tct-textarea-focus-border-color, var(--comp-textarea-border-color));background:var(--tct-textarea-focus-background, var(--comp-textarea-background));box-shadow:var(--tct-textarea-focus-box-shadow, var(--const-double-focus-ring))}.has-error textarea:focus{border-color:var(--tct-textarea-error-focus-border-color, var(--tct-textarea-error-border-color, var(--const-stoplight-alert, #d20a0a)));background:var(--tct-textarea-error-focus-background, var(--tct-textarea-error-background, var(--tct-textarea-focus-background, var(--comp-textarea-background))));box-shadow:var(--tct-textarea-error-focus-box-shadow, var(--tct-textarea-error-box-shadow, var(--tct-textarea-focus-box-shadow, var(--const-double-focus-ring))))}textarea::placeholder{color:var(--tct-textarea-placeholder-font-color, var(--t-textarea-placeholder-font-color, var(--t-input-placeholder-font-color, var(--tct-gray-7, var(--app-gray-7, var(--tct-gray-d1, var(--app-gray-d1, #666666)))))))}textarea[disabled]{cursor:not-allowed}textarea.resize-vertical-auto{overflow:hidden}.has-error textarea{padding-right:var(--comp-textarea-icon-clearance)}.has-error textarea:not(:focus){border-color:var(--tct-textarea-error-border-color, var(--t-textarea-error-border-color, var(--const-stoplight-alert, #d20a0a)))}q2-icon{margin-top:calc(var(--tct-textarea-border-top-width, var(--t-textarea-border-top-width, 1px)) / 2);margin-bottom:calc(var(--tct-textarea-border-bottom-width, var(--t-textarea-border-bottom-width, 1px)) / 2);pointer-events:none;position:absolute;top:var(--tct-textarea-vertical-padding, var(--t-textarea-vertical-padding, var(--tct-scale-2x, var(--app-scale-2x, 10px))));color:var(--tct-textarea-icon-stroke-primary, var(--t-textarea-icon-stroke-primary, var(--app-gray-9, var(--tct-gray, var(--app-gray, #999999)))));right:0;margin-right:var(--tct-scale-2x, var(--app-scale-2x, 10px));--tct-icon-stroke-primary:var(--tct-textarea-icon-stroke-primary, var(--t-textarea-icon-stroke-primary, var(--tct-gray-9, var(--t-gray-9, var(--tct-gray, var(--app-gray, #999999))))));--t-icon-stroke-primary:var(--tct-textarea-icon-stroke-primary, var(--t-textarea-icon-stroke-primary, var(--tct-gray-9, var(--t-gray-9, var(--tct-gray, var(--app-gray, #999999))))))}.icon-error{color:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a));--tct-icon-stroke-primary:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a));--t-icon-stroke-primary:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a))}.messages-container{height:0px;overflow:hidden;background:var(--tct-message-background, var(--tct-message-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))))));box-shadow:var(--tct-textarea-message-box-shadow, var(--t-textarea-message-box-shadow, var(--tct-box-shadow-1, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)))));transition:height var(--tct-textarea-messages-tween, var(--t-textarea-messages-tween, var(--tct-tween-1, var(--app-tween-1, 0.2s ease))));margin-top:2px;z-index:1;position:absolute;width:100%;color:var(--tct-textarea-messages-font-color, var(--t-textarea-messages-font-color, inherit))}.max-length{color:var(--tct-textarea-max-length-color, var(--t-textarea-max-length-color, var(--t-textA, rgba(77, 77, 77, 0.77))));font-size:var(--tct-textarea-max-length-font-size, var(--t-textarea-max-length-font-size, var(--tct-font-size-small, var(--app-font-size-small, 12px))));position:absolute;right:0}.btn-resize{--tct-textarea-resize-icon-padding:calc(\n calc(\n var(--tct-textarea-resize-btn-width, var(--t-textarea-resize-btn-width, var(--tct-btn-icon-width, 44px))) - var(--tct-textarea-resize-icon-size, var(--t-textarea-resize-icon-size, 12px))\n ) / 2\n );width:var(--tct-textarea-resize-btn-width, var(--t-textarea-resize-btn-width, var(--tct-btn-icon-width, 44px)));height:var(--tct-textarea-resize-btn-height, var(--t-textarea-resize-btn-height, var(--tct-btn-icon-height, 44px)));background:var(--tct-textarea-resize-btn-background, var(--t-textarea-resize-btn-background, transparent));stroke:var(--tct-textarea-resize-color, var(--t-textarea-resize-color, var(--t-textA, rgba(77, 77, 77, 0.77))));border:0;position:absolute;right:calc(var(--tct-textarea-resize-icon-padding, var(--t-textarea-resize-icon-padding)) * -1 + 2px);bottom:calc(var(--tct-textarea-resize-icon-padding, var(--t-textarea-resize-icon-padding)) * -1 + 2px);display:block;padding:var(--tct-textarea-resize-icon-padding, var(--t-textarea-resize-icon-padding));font-size:0}.btn-resize:focus{outline:none;box-shadow:none}:host([resize=both]) .btn-resize{cursor:se-resize}:host([resize=vertical]) .btn-resize,:host([resize=vertical-auto]) .btn-resize{cursor:s-resize}:host([resize=horizontal]) .btn-resize{cursor:e-resize}";
|
|
6
6
|
|
|
@@ -335,10 +335,10 @@ const b = class {
|
|
|
335
335
|
}
|
|
336
336
|
render() {
|
|
337
337
|
return a("div", {
|
|
338
|
-
key: "
|
|
338
|
+
key: "24944e7a64be5e41535529dc71f77fe8d8f54afa",
|
|
339
339
|
class: this.wrapperClasses
|
|
340
340
|
}, v(this), a("div", {
|
|
341
|
-
key: "
|
|
341
|
+
key: "38f636261e7e5da472f3137a78202c1c6a3469c0",
|
|
342
342
|
class: "content-container",
|
|
343
343
|
ref: t => this.contentContainer = t
|
|
344
344
|
}, this.renderInput(), this.maxlength ? this.renderMaxLength() : "", d(this)));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as o, g as i } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { o as e, i as a } from "./index-
|
|
3
|
+
import { o as e, i as a } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
5
|
const r = '*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-block}:host([block]){display:block}.tooltip{--comp-background:var(--tct-tooltip-background, var(--tct-tooltip-background-color, var(--t-tooltip-background-color, var(--t-top-a3, rgba(13, 13, 13, 0.8509803922)))));--comp-offset-default:calc(var(--app-scale-1x, 5px) * -1);--comp-offset:var(--tct-tooltip-offset, var(--t-tooltip-offset, var(--comp-offset-default)));--comp-position:var(--tct-tooltip-position, var(--t-tooltip-position, var(--app-scale-1x, 5px)));--comp-body-offset-default:calc(var(--app-scale-3x, 15px) * -1);--comp-body-offset:var(--tct-tooltip-body-offset, var(--t-tooltip-body-offset, var(--comp-body-offset-default)));--comp-duration:var(--tct-tooltip-transition-duration, var(--t-tooltip-transition-duration, var(--app-duration-1, 0.2s)));--comp-visible-duration:var(--tct-tooltip-transition-visible-duration, var(--t-tooltip-transition-visible-duration, 2s));--comp-delay:var(--tct-tooltip-transition-delay, var(--t-tooltip-transition-delay, 0s));display:inline-block;position:relative}.tooltip:hover{--comp-delay:var(--tct-tooltip-transition-delay, var(--t-tooltip-transition-delay, 1s))}:host([immediate]:not([immediate=false])) .tooltip:hover{--comp-delay:0s}.tooltip:before{position:absolute;z-index:2;width:0;height:0;color:var(--comp-background);pointer-events:none;content:"";border:var(--tct-tooltip-arrow-size, var(--t-tooltip-arrow-size, var(--app-scale-1x, 5px))) solid transparent}.tooltip:after{--comp-padding:var(--app-scale-1x, 5px) 8px;position:absolute;z-index:1;padding:var(--tct-tooltip-padding, var(--t-tooltip-padding, var(--comp-padding)));font-weight:var(--tct-tooltip-font-weight, var(--t-tooltip-font-weight, 600));font-size:var(--tct-tooltip-font-size, var(--t-tooltip-font-size, var(--app-font-size-small, 12px)));line-height:1.5;color:var(--tct-tooltip-color, var(--t-tooltip-color, var(--app-white, #ffffff)));text-align:center;text-decoration:none;text-shadow:none;text-transform:none;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:var(--comp-background);border-radius:var(--tct-tooltip-border-radius, var(--t-tooltip-border-radius, var(--app-border-radius-1, 4px)))}.tooltip:before,.tooltip:after{display:inline-block;visibility:hidden;opacity:0;transition:all var(--comp-duration) ease-in-out var(--comp-delay)}:host([block]) .tooltip{display:block}.tooltip:hover:before,.tooltip:hover:after,.tooltip.has-keyboard-focus:focus-within:before,.tooltip.has-keyboard-focus:focus-within:after,:host([persistent]:not([persistent=false])) .tooltip:before,:host([persistent]:not([persistent=false])) .tooltip:after{text-decoration:none;visibility:visible;opacity:1}@keyframes tooltippedFade{from{opacity:0}to{opacity:1}}.tooltip.has-generic-focus:focus-within:before,.tooltip.has-generic-focus:focus-within:after{visibility:visible;opacity:0;transition:none;animation-timing-function:ease-in-out;animation-fill-mode:forwards;animation-name:tooltippedFade, tooltippedFade;animation-direction:normal, reverse;animation-duration:var(--comp-duration);animation-delay:0ms, calc(var(--comp-visible-duration) + var(--comp-duration))}.tooltip.has-generic-focus-out:before,.tooltip.has-generic-focus-out:after{visibility:visible;opacity:0;transition:none;animation-timing-function:ease-in-out;animation-fill-mode:forwards;animation-name:tooltippedFade;animation-direction:reverse;animation-duration:var(--comp-duration)}:host([multiline]) .tooltip:after{width:max-content;max-width:var(--tct-tooltip-max-width, var(--t-tooltip-max-width, 200px));word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate;text-align:left}:host([position=s]) :host([multiline]) .tooltip:after,:host([position=n]) :host([multiline]) .tooltip:after{right:auto;left:50%;transform:translateX(-50%)}:host([position=w]) :host([multiline]) .tooltip:after,:host([position=e]) :host([multiline]) .tooltip:after{right:100%}:host([multiline]) .tooltip:hover:after,:host([multiline]) .tooltip:active:after,:host([multiline]) .tooltip:focus:after{display:table-cell}:host([multiline]) .tooltip:focus-within:after{display:table-cell}:host([position=s]) .tooltip:after,:host([position=se]) .tooltip:after,:host([position=sw]) .tooltip:after{top:100%;right:50%;margin-top:var(--comp-position)}:host([position=s]) .tooltip:before,:host([position=se]) .tooltip:before,:host([position=sw]) .tooltip:before{top:auto;right:50%;bottom:var(--comp-offset);margin-right:var(--comp-offset);border-bottom-color:var(--comp-background)}:host([position=n]) .tooltip:after,:host([position=ne]) .tooltip:after,:host([position=nw]) .tooltip:after{right:50%;bottom:100%;margin-bottom:var(--comp-position)}:host([position=n]) .tooltip:before,:host([position=ne]) .tooltip:before,:host([position=nw]) .tooltip:before{top:var(--comp-offset);right:50%;bottom:auto;margin-right:var(--comp-offset);border-top-color:var(--comp-background)}:host([position=se]) .tooltip:after,:host([position=ne]) .tooltip:after{right:auto;left:50%;margin-left:var(--comp-body-offset)}:host([position=sw]) .tooltip:after{margin-right:var(--comp-body-offset)}:host([position=nw]) .tooltip:after{margin-right:var(--comp-body-offset)}:host([position=s]) .tooltip:after,:host([position=n]) .tooltip:after{transform:translateX(50%)}:host([position=w]) .tooltip:after{right:100%;bottom:50%;margin-right:var(--comp-position);transform:translateY(50%)}:host([position=w]) .tooltip:before{top:50%;bottom:50%;left:var(--comp-offset);margin-top:var(--comp-offset);border-left-color:var(--comp-background)}:host([position=e]) .tooltip:after{bottom:50%;left:100%;margin-left:var(--comp-position);transform:translateY(50%)}:host([position=e]) .tooltip:before{top:50%;right:var(--comp-offset);bottom:50%;margin-top:var(--comp-offset);border-right-color:var(--comp-background)}';
|
|
6
6
|
|
|
@@ -71,7 +71,7 @@ const a = class {
|
|
|
71
71
|
// #region Render Methods
|
|
72
72
|
render() {
|
|
73
73
|
return t("div", {
|
|
74
|
-
key: "
|
|
74
|
+
key: "673192fa43d531b8698ff2577a2c1066ec5fa32d",
|
|
75
75
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
76
76
|
class: `tab-pane${this.selected ? "" : " hidden"}`,
|
|
77
77
|
role: "tabpanel",
|
|
@@ -79,12 +79,12 @@ const a = class {
|
|
|
79
79
|
"aria-hidden": `${!this.selected}`,
|
|
80
80
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
81
81
|
}, this.selected && this.provided !== undefined && !this.provided && t("div", {
|
|
82
|
-
key: "
|
|
82
|
+
key: "e4216d579bbab551e7f515d1d0e7dd7d50b277cd"
|
|
83
83
|
}, t("slot", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "89168d2910623c64f446792c1a0431f0d06795f4",
|
|
85
85
|
name: "loading-wrapper"
|
|
86
86
|
}), t("iframe", {
|
|
87
|
-
key: "
|
|
87
|
+
key: "a456afcd3c68e2be0fb9d5704b66ffdeefbfa603",
|
|
88
88
|
hidden: true,
|
|
89
89
|
name: this.moduleId,
|
|
90
90
|
scrolling: "no",
|
|
@@ -107,11 +107,11 @@ const a = class {
|
|
|
107
107
|
value: e.value,
|
|
108
108
|
name: e.key
|
|
109
109
|
})))) : ""), t("div", {
|
|
110
|
-
key: "
|
|
110
|
+
key: "bc14a67d449c6ad119f2233452610da4a6e664e1",
|
|
111
111
|
class: "slot-wrapper",
|
|
112
112
|
hidden: this.selected && this.provided !== undefined && !this.provided
|
|
113
113
|
}, t("slot", {
|
|
114
|
-
key: "
|
|
114
|
+
key: "8c0be1b729fff29cbc865f3ce81cdd07ac99d57c"
|
|
115
115
|
})));
|
|
116
116
|
}
|
|
117
117
|
get hostElement() {
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { Q2OptionListCustomEvent } from "../../components";
|
|
3
|
+
import { ActionSheetListCloseData, ActionSheetData, ActionSheetListData, ActionSheetMessageData, ActionSheetSelectedOption, ActionSheetListOption, ActionSheetListOptgroup } from 'q2-tecton-common/lib/utility/action-sheet';
|
|
4
|
+
export declare class Q2ActionSheet implements ComponentInterface {
|
|
5
|
+
contentElement: HTMLDivElement;
|
|
6
|
+
dialogElement: HTMLDialogElement;
|
|
7
|
+
initialSelectedOptions: ActionSheetSelectedOption[];
|
|
8
|
+
maxHeight: number;
|
|
9
|
+
minHeight: number;
|
|
10
|
+
optionListElement: HTMLQ2OptionListElement;
|
|
11
|
+
selectedOptions: {
|
|
12
|
+
values: ActionSheetSelectedOption[];
|
|
13
|
+
value: string;
|
|
14
|
+
};
|
|
15
|
+
hostElement: HTMLElement;
|
|
16
|
+
isScrollable: boolean;
|
|
17
|
+
renderStatus: 'is-open' | 'is-closing' | 'is-opening';
|
|
18
|
+
data: ActionSheetData;
|
|
19
|
+
hideClose: boolean;
|
|
20
|
+
title: string;
|
|
21
|
+
/**
|
|
22
|
+
* Emitted when the action sheet is closed.
|
|
23
|
+
*/
|
|
24
|
+
close: EventEmitter<ActionSheetListCloseData>;
|
|
25
|
+
/**
|
|
26
|
+
* Emitted when the component has finished rendering.
|
|
27
|
+
* @private
|
|
28
|
+
*/
|
|
29
|
+
ready: EventEmitter;
|
|
30
|
+
disconnectedCallback(): void;
|
|
31
|
+
componentDidLoad(): void;
|
|
32
|
+
hide(data?: ActionSheetListCloseData): Promise<void>;
|
|
33
|
+
show(): Promise<void>;
|
|
34
|
+
focusContent(): void;
|
|
35
|
+
generateOptgroup: (option: ActionSheetListOptgroup) => HTMLQ2OptgroupElement;
|
|
36
|
+
generateOption: (option: ActionSheetListOption) => HTMLQ2OptionElement;
|
|
37
|
+
hidePostHook(): void;
|
|
38
|
+
onCancel: (event: Event) => void;
|
|
39
|
+
onClick: (event: MouseEvent) => void;
|
|
40
|
+
onListChange: (event: Q2OptionListCustomEvent<{
|
|
41
|
+
value: string;
|
|
42
|
+
values: ActionSheetSelectedOption[];
|
|
43
|
+
}>) => void;
|
|
44
|
+
onListDone: () => void;
|
|
45
|
+
onListPopoverStateChange: (event: Q2OptionListCustomEvent<{
|
|
46
|
+
open: boolean;
|
|
47
|
+
action: 'close' | 'select' | 'open';
|
|
48
|
+
}>) => void;
|
|
49
|
+
showPreHook(): void;
|
|
50
|
+
storeInitialValues(): void;
|
|
51
|
+
updateDialogMinMaxHeight(): void;
|
|
52
|
+
renderList: ({ data }: {
|
|
53
|
+
data: ActionSheetListData;
|
|
54
|
+
}) => any;
|
|
55
|
+
renderMessage: ({ data }: {
|
|
56
|
+
data: ActionSheetMessageData;
|
|
57
|
+
}) => any;
|
|
58
|
+
renderSlot: () => any;
|
|
59
|
+
render(): any;
|
|
60
|
+
}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ISelectedMonthYear, CalendarDay, IDateValidators } from './q2-calendar-types';
|
|
3
|
+
import { IMomentLikeObject } from './q2-calendar-helpers';
|
|
4
|
+
import { DateList } from './q2-calendar-validation';
|
|
5
|
+
import { IEventDetail } from '../q2-input/q2-input-types';
|
|
6
|
+
import { Q2InputCustomEvent } from "../../components";
|
|
7
|
+
export declare class Q2Calendar implements ComponentInterface {
|
|
8
|
+
btnCalendarToggle: HTMLQ2BtnElement;
|
|
9
|
+
btnNextMonth: HTMLQ2BtnElement;
|
|
10
|
+
btnNextYear: HTMLQ2BtnElement;
|
|
11
|
+
btnPrevMonth: HTMLQ2BtnElement;
|
|
12
|
+
btnPrevYear: HTMLQ2BtnElement;
|
|
13
|
+
calendarBody: HTMLDivElement;
|
|
14
|
+
calendarTable: HTMLTableElement;
|
|
15
|
+
controlElement: HTMLQ2InputElement;
|
|
16
|
+
dayAbbrStrings: string[];
|
|
17
|
+
dayStrings: string[];
|
|
18
|
+
defaultFormatString: string;
|
|
19
|
+
formatModifier: string;
|
|
20
|
+
hintMessageElement: HTMLQ2MessageElement;
|
|
21
|
+
internalError: string;
|
|
22
|
+
monthStrings: string[];
|
|
23
|
+
popoverElement?: HTMLQ2PopoverElement;
|
|
24
|
+
scheduledAfterRender: (() => void)[];
|
|
25
|
+
selectedMonthYear: ISelectedMonthYear;
|
|
26
|
+
valueOnBlur: string | {
|
|
27
|
+
toDate(): Date;
|
|
28
|
+
};
|
|
29
|
+
hostElement: HTMLElement;
|
|
30
|
+
dateList: CalendarDay[];
|
|
31
|
+
hintMessage: string;
|
|
32
|
+
hintMessageType: 'info' | 'error';
|
|
33
|
+
keyboardSelection: boolean;
|
|
34
|
+
typedValue: string;
|
|
35
|
+
/** @deprecated */
|
|
36
|
+
ariaLabel: string;
|
|
37
|
+
/**
|
|
38
|
+
* Detects the year automatically based on today's date when the user presses the `Escape` key or the `Blur` mouse event occurs.
|
|
39
|
+
* Setting `future` or `past` as the value will increase or decrease the year by one, respectively.
|
|
40
|
+
*/
|
|
41
|
+
assume: 'current' | 'future' | 'past';
|
|
42
|
+
/** @deprecated */
|
|
43
|
+
buttonLabel: string;
|
|
44
|
+
/** A label shown at the top of the popover date picker. */
|
|
45
|
+
calendarLabel: string;
|
|
46
|
+
/** Display a button in the input field allowing the user to clear their selection. */
|
|
47
|
+
clearable: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Specifies a time of day after which a date is no longer valid.
|
|
50
|
+
*
|
|
51
|
+
* @warning
|
|
52
|
+
* Must be a valid ISO date string.
|
|
53
|
+
*/
|
|
54
|
+
cutoffTime: string;
|
|
55
|
+
/**
|
|
56
|
+
* The most concise way to define valid days of the week for calendar. Each day of the week has a checksum value:
|
|
57
|
+
*
|
|
58
|
+
* - Sunday = 1
|
|
59
|
+
* - Monday = 2
|
|
60
|
+
* - Tuesday = 4
|
|
61
|
+
* - Wednesday = 8
|
|
62
|
+
* - Thursday = 16
|
|
63
|
+
* - Friday = 32
|
|
64
|
+
* - Saturday = 64
|
|
65
|
+
*
|
|
66
|
+
* Add the checksum values of your desired valid days together, and set `daysOfWeekChecksum` to that summed value.
|
|
67
|
+
*
|
|
68
|
+
* **Example:**
|
|
69
|
+
* @snippet
|
|
70
|
+
* element.daysOfWeekChecksum = 127 // All days of the week are valid
|
|
71
|
+
* element.daysOfWeekChecksum = 62; // Only weekdays are valid
|
|
72
|
+
* element.daysOfWeekChecksum = 65; // Only Saturday and Sunday are valid
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
daysOfWeekChecksum: number;
|
|
76
|
+
/** Disable the input field. */
|
|
77
|
+
disabled: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Text that displays as the placeholder when the field is marked `disabled`.
|
|
80
|
+
* @localizable
|
|
81
|
+
*/
|
|
82
|
+
disabledMsg: string;
|
|
83
|
+
/** Text that appears at the bottom of the popover date picker. */
|
|
84
|
+
disclaimer: string;
|
|
85
|
+
/**
|
|
86
|
+
* Determines the display format of the date field value.
|
|
87
|
+
*
|
|
88
|
+
* Must follow the [date-fns](https://date-fns.org/v2.28.0/docs/format) token specification.
|
|
89
|
+
*/
|
|
90
|
+
displayFormat: string;
|
|
91
|
+
/**
|
|
92
|
+
* Defines the last selectable date in the date picker popover.
|
|
93
|
+
*
|
|
94
|
+
* @warning
|
|
95
|
+
* Must be a valid ISO date string.
|
|
96
|
+
*/
|
|
97
|
+
endDate: string;
|
|
98
|
+
/**
|
|
99
|
+
* Each item in the `errors` array will appear below the input field when the field is focused and `typeable` is `true`.
|
|
100
|
+
* @localizable
|
|
101
|
+
*/
|
|
102
|
+
errors: string[];
|
|
103
|
+
/** Hide the input field's ` <label> ` element from view. */
|
|
104
|
+
hideLabel: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Each item in the `hints` array will appear below the input field when the field is focused and `typeable` is true.
|
|
107
|
+
* @localizable
|
|
108
|
+
*/
|
|
109
|
+
hints: string[];
|
|
110
|
+
/** Show error styles when the calendar is in an errant state. */
|
|
111
|
+
invalid: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Defines an explicit date blacklist.
|
|
114
|
+
*
|
|
115
|
+
* @warning
|
|
116
|
+
* Must be a valid ISO date string.
|
|
117
|
+
*
|
|
118
|
+
* @info
|
|
119
|
+
* When explicit date definitions like `invalidDates` is used, other date validity methods like `daysOfWeekChecksum` are overriden.
|
|
120
|
+
*/
|
|
121
|
+
invalidDates: string[];
|
|
122
|
+
/** The visible label for the `q2-calendar` input field. */
|
|
123
|
+
label: string;
|
|
124
|
+
/** @deprecated */
|
|
125
|
+
onsuccess: (e: CustomEvent) => void;
|
|
126
|
+
/**
|
|
127
|
+
* Determine whether the popover is open or closed.
|
|
128
|
+
*
|
|
129
|
+
* @readonly
|
|
130
|
+
*/
|
|
131
|
+
open: boolean;
|
|
132
|
+
/** Appends "(optional)" to the label and sets `aria-required="false"`. */
|
|
133
|
+
optional: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Text that appears within the input field when it is blurred and empty.
|
|
136
|
+
* Placeholder text disappears when the user focuses on the field and provides input.
|
|
137
|
+
*/
|
|
138
|
+
placeholder: string;
|
|
139
|
+
/** @deprecated */
|
|
140
|
+
popDirection: 'up' | 'down';
|
|
141
|
+
/** Aligns the popover date picker to the left or right side of the input field. */
|
|
142
|
+
popoverAlignment: 'left' | 'right';
|
|
143
|
+
/**
|
|
144
|
+
* Force the direction of the popover date picker when it opens.
|
|
145
|
+
* If no value is passed, the component will auto-detect the direction based on available space.
|
|
146
|
+
*/
|
|
147
|
+
popoverDirection: 'up' | 'down';
|
|
148
|
+
/** @deprecated */
|
|
149
|
+
popoverMinHeight: number;
|
|
150
|
+
/**
|
|
151
|
+
* Determines the display mode of the popover.
|
|
152
|
+
*
|
|
153
|
+
* Providing a value of `legacy` instructs the popover to use absolute positioning instead of fixed positioning.
|
|
154
|
+
*
|
|
155
|
+
* @info
|
|
156
|
+
* This is a temporary solution to work around styling issues related to using fixed positioning for the popover
|
|
157
|
+
* when nested inside of elements with transform properties. This will be removed once the popover API is available
|
|
158
|
+
* for use.
|
|
159
|
+
*/
|
|
160
|
+
popoverMode: 'legacy';
|
|
161
|
+
/**
|
|
162
|
+
* The field's content is not editable, but the field remains focusable.
|
|
163
|
+
*
|
|
164
|
+
* Appends "(readonly)" to the field label. Supersedes `optional` if both are `true`.
|
|
165
|
+
*/
|
|
166
|
+
readonly: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Defines the first selectabe date in the date picker popover.
|
|
169
|
+
*
|
|
170
|
+
* @warning
|
|
171
|
+
* Must be a valid ISO date string.
|
|
172
|
+
*/
|
|
173
|
+
startDate: string;
|
|
174
|
+
/** The user can type in the field. Only available in desktop browsers. */
|
|
175
|
+
typeable: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Defines an explicit date whitelist.
|
|
178
|
+
*
|
|
179
|
+
* @warning
|
|
180
|
+
* Must be a valid ISO date string.
|
|
181
|
+
*
|
|
182
|
+
* @info
|
|
183
|
+
* When explicit date definitions like `validDates` is used, other date validity methods like `daysOfWeekChecksum` are overriden.
|
|
184
|
+
*/
|
|
185
|
+
validDates: string[];
|
|
186
|
+
/**
|
|
187
|
+
* The value of the `q2-calendar` element, e.g. the selected date.
|
|
188
|
+
*
|
|
189
|
+
* **How to change or clear the value with javascript:**
|
|
190
|
+
* @snippet
|
|
191
|
+
* // change date
|
|
192
|
+
* element.value = '2022-12-21';
|
|
193
|
+
* // clear date
|
|
194
|
+
* element.value = null;
|
|
195
|
+
*/
|
|
196
|
+
value: string | {
|
|
197
|
+
toDate(): Date;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Emitted when a date is selected or typed in the input field.
|
|
201
|
+
* @legacyEvent
|
|
202
|
+
*/
|
|
203
|
+
change: EventEmitter<{
|
|
204
|
+
value: string | null;
|
|
205
|
+
}>;
|
|
206
|
+
/**
|
|
207
|
+
* Emitted when an invalid date is entered into the field.
|
|
208
|
+
*/
|
|
209
|
+
error: EventEmitter<{
|
|
210
|
+
errors: {
|
|
211
|
+
message: string;
|
|
212
|
+
errorCode: string;
|
|
213
|
+
}[];
|
|
214
|
+
}>;
|
|
215
|
+
/**
|
|
216
|
+
* Emitted when a valid date is entered or selected.
|
|
217
|
+
*/
|
|
218
|
+
success: EventEmitter<{
|
|
219
|
+
value: string;
|
|
220
|
+
}>;
|
|
221
|
+
connectedCallback(): void;
|
|
222
|
+
componentWillLoad(): void;
|
|
223
|
+
componentDidLoad(): void;
|
|
224
|
+
componentDidRender(): void;
|
|
225
|
+
defaultChangeHandler(event: CustomEvent): void;
|
|
226
|
+
handleClear(): void;
|
|
227
|
+
defaultErrorHandler(event: CustomEvent): void;
|
|
228
|
+
delegateFocus(event: FocusEvent): void;
|
|
229
|
+
popoverStateHandler({ detail: { open } }: CustomEvent<{
|
|
230
|
+
open: boolean;
|
|
231
|
+
}>): void;
|
|
232
|
+
defaultSuccessHandler(event: CustomEvent): void;
|
|
233
|
+
/**
|
|
234
|
+
* Emulates clicking the `<input>` to hide the popover if it is visible.
|
|
235
|
+
*
|
|
236
|
+
* @testOnly
|
|
237
|
+
*/
|
|
238
|
+
closePopover(): Promise<void>;
|
|
239
|
+
/**
|
|
240
|
+
* Emulates clicking the `<input>` to display the popover if it is hidden.
|
|
241
|
+
*
|
|
242
|
+
* @testOnly
|
|
243
|
+
*/
|
|
244
|
+
openPopover(): Promise<void>;
|
|
245
|
+
/**
|
|
246
|
+
* Emulates clicking the `<input>` to display the popover, moving to the correct month and year, and clicking the
|
|
247
|
+
* provided date.
|
|
248
|
+
*
|
|
249
|
+
* While a `string` value can be passed, we recommended passing a `Date` object. If the value is invalid, the method
|
|
250
|
+
* will not select the date.
|
|
251
|
+
*
|
|
252
|
+
* @testOnly
|
|
253
|
+
*/
|
|
254
|
+
setValue(value: string | Date): Promise<void>;
|
|
255
|
+
/**
|
|
256
|
+
* Emulates focusing the `<input>`, entering the provided value, and emitting an `input` event.
|
|
257
|
+
*
|
|
258
|
+
* While a `string` value can be passed, we recommended passing a `Date` object. If the value is invalid, the method
|
|
259
|
+
* will not select the date.
|
|
260
|
+
*
|
|
261
|
+
* @warning
|
|
262
|
+
* Only applicable when the input is typeable.
|
|
263
|
+
*
|
|
264
|
+
* @testOnly
|
|
265
|
+
*/
|
|
266
|
+
typeValue(value: string | Date): Promise<void>;
|
|
267
|
+
ariaLabelObserver(): void;
|
|
268
|
+
cutoffTimeObserver(): void;
|
|
269
|
+
daysOfWeekChecksumObserver(): void;
|
|
270
|
+
endDateObserver(): void;
|
|
271
|
+
invalidDatesObserver(): void;
|
|
272
|
+
popDirectionHandler(): void;
|
|
273
|
+
startDateObserver(): void;
|
|
274
|
+
typeableChanged(): void;
|
|
275
|
+
validDatesObserver(): void;
|
|
276
|
+
valueObserver(newValue: string | IMomentLikeObject): void;
|
|
277
|
+
get canClear(): boolean;
|
|
278
|
+
get computedPlaceholder(): string;
|
|
279
|
+
get currentWeeks(): CalendarDay[][];
|
|
280
|
+
get dateValidators(): IDateValidators;
|
|
281
|
+
get dateValue(): Date | undefined;
|
|
282
|
+
get defaultHintMessage(): string;
|
|
283
|
+
get errorList(): any[];
|
|
284
|
+
get formattedValue(): string;
|
|
285
|
+
get hintList(): string[];
|
|
286
|
+
get innerInputContainer(): HTMLElement;
|
|
287
|
+
get innerInputField(): HTMLInputElement | HTMLButtonElement;
|
|
288
|
+
get isTypeable(): boolean;
|
|
289
|
+
get selectedDate(): Date;
|
|
290
|
+
_togglePopover(): void;
|
|
291
|
+
activateDay(date: Date): void;
|
|
292
|
+
buildDateList(monthYear: ISelectedMonthYear): DateList;
|
|
293
|
+
calendarDays(): any;
|
|
294
|
+
renderCalendarPopover(): any;
|
|
295
|
+
checkActiveCellForBlankness(): void;
|
|
296
|
+
closeCalendar: () => void;
|
|
297
|
+
focusDay(date: Date): Promise<void>;
|
|
298
|
+
focusInput(): void;
|
|
299
|
+
generateDateFromDay(day: number): Date;
|
|
300
|
+
goToMonthYear: (monthIndex: number, year: number) => void;
|
|
301
|
+
renderHintField(): any;
|
|
302
|
+
renderInputField(): any;
|
|
303
|
+
onClickElsewhere: (event: CustomEvent) => void;
|
|
304
|
+
onDateKeydown: (event: KeyboardEvent) => void;
|
|
305
|
+
onDateSelection: (event: MouseEvent) => void;
|
|
306
|
+
onHeaderControlKeydown: (event: KeyboardEvent) => void;
|
|
307
|
+
onInputBlur: () => void;
|
|
308
|
+
onInputChange: (event: Event) => void;
|
|
309
|
+
onInputClick: () => void;
|
|
310
|
+
onInputFocus: (event: FocusEvent) => void;
|
|
311
|
+
onInputInput: ({ detail: { value } }: Q2InputCustomEvent<IEventDetail> & InputEvent) => void;
|
|
312
|
+
onInputKeydown: (event: KeyboardEvent) => void;
|
|
313
|
+
onInputKeyup: (event: KeyboardEvent) => void;
|
|
314
|
+
onPopupKeyup: (event: KeyboardEvent) => void;
|
|
315
|
+
onRefocus: () => void;
|
|
316
|
+
openCalendar: () => void;
|
|
317
|
+
selectDate: (newDate: Date) => void;
|
|
318
|
+
setCompleteInput(inputDate: Date): void;
|
|
319
|
+
setHints({ isValid, message, messageType }: {
|
|
320
|
+
isValid: any;
|
|
321
|
+
message: any;
|
|
322
|
+
messageType: any;
|
|
323
|
+
}): Promise<void>;
|
|
324
|
+
toggleCalendar: () => void;
|
|
325
|
+
validateDate(): void;
|
|
326
|
+
render(): any;
|
|
327
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { SwiperOptions, Swiper } from 'swiper';
|
|
3
|
+
export declare class Q2Carousel implements ComponentInterface {
|
|
4
|
+
carouselPaneWrapperElement: HTMLElement;
|
|
5
|
+
carouselWrapper: HTMLElement;
|
|
6
|
+
fullWidthDisplayOptions: SwiperOptions;
|
|
7
|
+
guid: number;
|
|
8
|
+
mutationObserver: MutationObserver;
|
|
9
|
+
swiper?: Swiper;
|
|
10
|
+
universalCarouselOptions: SwiperOptions;
|
|
11
|
+
hostElement: HTMLElement;
|
|
12
|
+
/** Manages re-rendering the component when the `ariaLive` value changes. */
|
|
13
|
+
ariaLiveValue: 'polite' | 'off';
|
|
14
|
+
/** Manages re-rendering the autoPlay button when clicked. */
|
|
15
|
+
autoPlayInProgress: boolean;
|
|
16
|
+
/** Manages re-rendering the component when resize event is consumed. */
|
|
17
|
+
carouselWrapperWidth: number;
|
|
18
|
+
/** Manages sizing the component based on changes in `carouselWrapperWidth`. */
|
|
19
|
+
compactMode: boolean;
|
|
20
|
+
/** Manages re-rendering the component when panes are added or removed. */
|
|
21
|
+
currentPaneCount: number;
|
|
22
|
+
/** @deprecated */
|
|
23
|
+
ariaLabel: string;
|
|
24
|
+
/** Enables the auto-play feature and starts the carousel without user input. */
|
|
25
|
+
autoPlay: boolean;
|
|
26
|
+
/** Display the carousel panes as frameless with no container or shadow. */
|
|
27
|
+
framelessPanes: boolean;
|
|
28
|
+
/** Display the carousel panes full-width rather than with peeking content. */
|
|
29
|
+
fullWidthPanes: boolean;
|
|
30
|
+
/** Hide the dots below the carousel that provide navigation control and indicate which page is currently active. */
|
|
31
|
+
hidePagination: boolean;
|
|
32
|
+
/** The currently displayed carousel pane. */
|
|
33
|
+
index: number;
|
|
34
|
+
/**
|
|
35
|
+
* The label that is associated with the carousel. This is not displayed visually, but is presented by screen readers.
|
|
36
|
+
* @localizable
|
|
37
|
+
*/
|
|
38
|
+
label: string;
|
|
39
|
+
/** Display navigation arrow buttons as another way to navigate the carousel. */
|
|
40
|
+
showNavigationArrows: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Emitted when the displayed carousel pane changes.
|
|
43
|
+
*/
|
|
44
|
+
change: EventEmitter<{
|
|
45
|
+
index: number;
|
|
46
|
+
}>;
|
|
47
|
+
disconnectedCallback(): void;
|
|
48
|
+
componentWillLoad(): void;
|
|
49
|
+
componentDidLoad(): void;
|
|
50
|
+
carouselPaneClicked(event: any): void;
|
|
51
|
+
delegateFocus(event: FocusEvent): void;
|
|
52
|
+
/**
|
|
53
|
+
* Clicks and Focuses the `q2-carousel-pane` matching the specified index.
|
|
54
|
+
* @testOnly
|
|
55
|
+
*/
|
|
56
|
+
selectCarouselPane(index: number): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Clicks and Focuses the `<button>` that controls playing or pausing the auto-play feature of the carousel.
|
|
59
|
+
*
|
|
60
|
+
* @warning
|
|
61
|
+
* If the `autoPlay` property is not enabled, this method does nothing.
|
|
62
|
+
*
|
|
63
|
+
* @testOnly
|
|
64
|
+
*/
|
|
65
|
+
togglePlayPause(): Promise<void>;
|
|
66
|
+
ariaLabelObserver(): void;
|
|
67
|
+
carouselWrapperWidthChanged(): void;
|
|
68
|
+
framelessPanesChanged(): void;
|
|
69
|
+
revampCarousel(): void;
|
|
70
|
+
indexChanged(newIndex: any): void;
|
|
71
|
+
get activeCarouselOptions(): SwiperOptions;
|
|
72
|
+
get activePane(): HTMLElement;
|
|
73
|
+
get insufficientPanes(): boolean;
|
|
74
|
+
get paginationBtns(): NodeListOf<HTMLButtonElement>;
|
|
75
|
+
get paneArray(): HTMLQ2CarouselPaneElement[];
|
|
76
|
+
get paneCount(): number;
|
|
77
|
+
get peekContentDisplayOptions(): SwiperOptions;
|
|
78
|
+
get realIndex(): number;
|
|
79
|
+
get useDynamicPaginationDots(): boolean;
|
|
80
|
+
configureCarousel: (carouselWrapper: any, carouselOptions: any) => void;
|
|
81
|
+
handleAriaLive(activeAndFocused: boolean): void;
|
|
82
|
+
handleAutoPlayPause: (action: 'play' | 'pause') => void;
|
|
83
|
+
handlePopovers: (event: CustomEvent) => void;
|
|
84
|
+
keydownHandler: (event: KeyboardEvent) => void;
|
|
85
|
+
onMutationObserved: () => void;
|
|
86
|
+
setCarouselWrapperWidth: () => void;
|
|
87
|
+
tearDownCarousel: () => void;
|
|
88
|
+
updateCarouselPaneProps: () => void;
|
|
89
|
+
renderAutoPlayBtn: () => any;
|
|
90
|
+
renderInsufficientPanesDisplay: () => any;
|
|
91
|
+
renderNextNavBtn: () => any;
|
|
92
|
+
renderPaginationArea: () => any;
|
|
93
|
+
renderPrevNavBtn: () => any;
|
|
94
|
+
render(): any;
|
|
95
|
+
}
|