q2-tecton-elements 1.56.2 → 1.56.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +303 -245
- package/dist/cjs/{index-99667782.js → index-905f4c87.js} +1 -5
- package/dist/cjs/index-905f4c87.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +12 -4
- package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-bar.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-donut.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +33 -32
- package/dist/cjs/q2-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +7 -8
- package/dist/cjs/q2-editable-field.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-item_3.cjs.entry.js +3 -3
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list_2.cjs.entry.js +54 -63
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
- package/dist/cjs/q2-pill.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +81 -11
- package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-tag.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +3 -2
- package/dist/cjs/q2-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-btn/q2-btn.js +4 -0
- package/dist/collection/components/q2-btn/q2-btn.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +33 -31
- package/dist/collection/components/q2-dropdown/q2-dropdown.js.map +1 -1
- package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js +34 -32
- package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +12 -7
- package/dist/collection/components/q2-editable-field/q2-editable-field.js.map +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-icon/q2-icon.js +4 -0
- package/dist/collection/components/q2-icon/q2-icon.js.map +1 -1
- package/dist/collection/components/q2-input/q2-input.js +1 -1
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js +1 -0
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.css +18 -10
- package/dist/collection/components/q2-popover/q2-popover.js +55 -63
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js +1 -34
- package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js +743 -435
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js.map +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +96 -14
- package/dist/collection/components/q2-select/q2-select.js.map +1 -1
- package/dist/collection/components/q2-select/test/q2-select-test.spec.js +327 -0
- package/dist/collection/components/q2-select/test/q2-select-test.spec.js.map +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js +5 -0
- package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +2 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js.map +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/components/index2.js +1 -4
- package/dist/components/index2.js.map +1 -1
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-btn2.js +4 -0
- package/dist/components/q2-btn2.js.map +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +32 -31
- package/dist/components/q2-dropdown.js.map +1 -1
- package/dist/components/q2-editable-field.js +7 -8
- package/dist/components/q2-editable-field.js.map +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-icon2.js +4 -0
- package/dist/components/q2-icon2.js.map +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +54 -63
- package/dist/components/q2-popover2.js.map +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +84 -14
- package/dist/components/q2-select2.js.map +1 -1
- package/dist/components/q2-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-tab-container.js +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag.js +1 -1
- package/dist/components/q2-textarea.js +2 -1
- package/dist/components/q2-textarea.js.map +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/{index-c215e8ef.js → index-f2a66217.js} +2 -5
- package/dist/esm/index-f2a66217.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +2 -2
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +12 -4
- package/dist/esm/q2-badge_7.entry.js.map +1 -1
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-chart-area.entry.js +2 -2
- package/dist/esm/q2-chart-bar.entry.js +2 -2
- package/dist/esm/q2-chart-donut.entry.js +2 -2
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +33 -32
- package/dist/esm/q2-dropdown.entry.js.map +1 -1
- package/dist/esm/q2-editable-field.entry.js +7 -8
- package/dist/esm/q2-editable-field.entry.js.map +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-item_3.entry.js +3 -3
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option-list_2.entry.js +54 -63
- package/dist/esm/q2-option-list_2.entry.js.map +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +4 -4
- package/dist/esm/q2-pill.entry.js +2 -2
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +82 -12
- package/dist/esm/q2-select.entry.js.map +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-tag.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +3 -2
- package/dist/esm/q2-textarea.entry.js.map +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{index-c215e8ef.js → index-f2a66217.js} +2 -6
- package/dist/q2-tecton-elements/index-f2a66217.js.map +1 -0
- package/dist/q2-tecton-elements/q2-action-group.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +50 -42
- package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +80 -80
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-data-table.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-detail.entry.js +39 -39
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +81 -79
- package/dist/q2-tecton-elements/q2-dropdown.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +32 -23
- package/dist/q2-tecton-elements/q2-editable-field.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item_3.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-modal.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +67 -67
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +155 -154
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-pill.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-select.entry.js +146 -88
- package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-tag.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +4 -3
- package/dist/q2-tecton-elements/q2-textarea.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-btn/q2-btn.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +7 -8
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +2 -1
- package/dist/types/components/q2-icon/q2-icon.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -4
- package/dist/types/components/q2-select/q2-select.d.ts +18 -0
- package/package.json +3 -3
- package/dist/cjs/index-99667782.js.map +0 -1
- package/dist/esm/index-c215e8ef.js.map +0 -1
- package/dist/q2-tecton-elements/index-c215e8ef.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["debounce","fn","delay","timeout","args","clearTimeout","setTimeout","isMobile","test","navigator","userAgent","isRelatedTargetWithinHost","event","element","relatedTarget","contains","isEventFromElement","_a","composedPath","call","overrideFocus","hostElement","focus","dispatchEvent","FocusEvent","bubbles","isFirefox","toLowerCase","includes","isTouchDevice","window","maxTouchPoints","getAriaValueFromProp","prop","validValues","undefined","guid","createGuid","nextPaint","requestAnimationFrame","isVisible","offsetWidth","offsetHeight","getClientRects","length","waitForNextPaint","Promise","resolve","loc","key","subs","Tecton","noStrings","_c","_b","TectonElements","renderLabel","target","label","hideLabel","optional","readonly","labelClasses","helpText","shouldHideLabel","labelSlotElements","querySelectorAll","hasSlotContent","hasLabel","push","h","class","htmlFor","inputId","join","name","slotName","querySelector","handleAriaLabel","ariaLabel","FW_WRAPPERS_EMPTY_PROP","Symbol","toString","handleRenamedProp","oldProp","newProp","removeOldProp","handleDeprecationWarning","deprecatedItemName","deprecatedItemType","location","hostname","host","componentName","constructor","slice","_e","_d","tagName","console","warn","error","renderMessages","type","hasError","appearance","description","id","inputDescribedBy","messages","map","message","setMessageHeight","messageContainer","shadowRoot","q2Message","height","showMessages","hasFocus","getBoundingClientRect","style","getPropertyValue","classList","add","removeProperty","remove","setProperty","resizeIframe","handleColor","intent","color","getAllText","async","options","opts","Object","assign","trim","normalizeWhitespace","skipComponentReady","nodesToSkip","Set","processedNodes","WeakSet","result","processNode","node","has","nodeName","nodeType","Node","TEXT_NODE","text","textContent","endsWith","startsWith","ELEMENT_NODE","isStencilComponent","componentOnReady","child","childNodes","shadowChild","assignedNodes","assigned","fallback","replace"],"sources":["src/utils/index.tsx"],"sourcesContent":["import { h } from '@stencil/core';\nimport { Q2Btn } from 'src/components/q2-btn/q2-btn';\nimport { Q2Calendar } from 'src/components/q2-calendar/q2-calendar';\nimport { Q2Carousel } from 'src/components/q2-carousel/q2-carousel';\nimport { Q2Checkbox } from 'src/components/q2-checkbox/q2-checkbox';\nimport { Q2CheckboxGroup } from 'src/components/q2-checkbox-group/q2-checkbox-group';\nimport { Q2RadioGroup } from 'src/components/q2-radio-group/q2-radio-group';\nimport { Q2Dropdown } from 'src/components/q2-dropdown/q2-dropdown';\nimport { Q2DropdownItem } from 'src/components/q2-dropdown-item/q2-dropdown-item';\nimport { Q2EditableField } from 'src/components/q2-editable-field/q2-editable-field';\nimport { Q2Input } from 'src/components/q2-input/q2-input';\nimport { Q2Loading } from 'src/components/q2-loading/q2-loading';\nimport { Q2Radio } from 'src/components/q2-radio/q2-radio';\nimport { Q2Select } from 'src/components/q2-select/q2-select';\nimport { FormFieldTypes, IDict } from 'src/util';\nimport { Q2Popover } from '@/components/q2-popover/q2-popover';\n\nexport const debounce = <F extends (...args: Parameters<F>) => ReturnType<F>>(fn: F, delay: number = 300) => {\n let timeout: ReturnType<typeof setTimeout>;\n return function (...args: Parameters<F>) {\n clearTimeout(timeout);\n timeout = setTimeout(() => {\n fn(...args);\n }, delay);\n };\n};\n\nexport function isAndroid(): boolean {\n return /Android/i.test(navigator.userAgent);\n}\n\nexport function isMobile(): boolean {\n return /Android|webOS|iPhone|iPad|iPod|BlackBerry|Mobile|IEMobile|Windows Phone|Opera Mini/i.test(\n navigator.userAgent\n );\n}\n\nexport function isHostLosingFocus(event: FocusEvent, hostElement: HTMLElement) {\n const type = event.type;\n const focusInTypes = ['focusin', 'focus'];\n const isFocusIn = focusInTypes.includes(type);\n\n // on focusin: `target` is element losing focus, `relatedTarget` is element gaining focus\n // on focusout: `target` is element gaining focus, `relatedTarget` is element losing focus\n const elementGainingFocus = isFocusIn ? event.target : event.relatedTarget;\n\n const isElementNestedInHostElement = (element: HTMLElement) => {\n if (element === hostElement) return true;\n if (element.parentElement) {\n return isElementNestedInHostElement(element.parentElement);\n }\n return false;\n };\n\n if (!(elementGainingFocus instanceof HTMLElement)) return true;\n return !isElementNestedInHostElement(elementGainingFocus);\n}\n\nexport function isRelatedTargetWithinHost(event: FocusEvent, element: HTMLElement) {\n return event.relatedTarget !== element && !element.contains(event.relatedTarget as Node);\n}\n\nexport function isEventFromElement(event: Event, element: HTMLElement): boolean {\n return event.composedPath?.()[0] === element;\n}\n\nexport function overrideFocus(hostElement: HTMLElement) {\n hostElement.focus = () => hostElement?.dispatchEvent(new FocusEvent('focus', { bubbles: false }));\n}\n\nexport function isFirefox() {\n const userAgent = navigator.userAgent.toLowerCase();\n return userAgent.includes('firefox');\n}\n\nexport function isTouchDevice() {\n return 'ontouchstart' in window || navigator.maxTouchPoints > 0;\n}\n\nexport function isSafari() {\n const userAgent = navigator.userAgent.toLowerCase();\n return userAgent.includes('safari') && !userAgent.includes('chrome');\n}\n\n/**\n * Returns the value of a prop if it is defined and included in the `validValues`\n * array. This is used primarily to prevent Vue wrappers from setting aria props\n * to \"Symbol()\" when the prop is not set.\n */\nexport function getAriaValueFromProp(prop: string, validValues?: string[]) {\n if (prop === undefined) return prop;\n if (!validValues) return prop !== 'Symbol()' ? prop : undefined;\n return validValues.includes(prop) || prop === '' ? prop : undefined;\n}\n\nlet guid: number = 1000;\nexport function createGuid(): number {\n return guid++;\n}\n\nexport function nextPaint(fn: (value?: unknown) => void) {\n requestAnimationFrame(() => {\n requestAnimationFrame(fn);\n });\n}\n\nexport function isVisible(element: HTMLElement) {\n return element.offsetWidth > 0 || element.offsetHeight > 0 || element.getClientRects().length > 0;\n}\n\nexport function waitForNextPaint() {\n return new Promise(resolve => nextPaint(resolve));\n}\n\nexport function capitalize(value: string) {\n return `${value.charAt(0).toUpperCase()}${value.slice(1)}`;\n}\n\nexport function pick(props: string[]): (obj: object) => object {\n return obj => {\n return props.reduce((memo, prop) => {\n return {\n ...memo,\n [prop]: obj[prop],\n };\n }, {});\n };\n}\n\nexport function loc(key: string, subs?: IDict<any> | string[]) {\n if (!key) return '';\n if (window.Tecton?.noStrings === true) {\n return key;\n }\n return window?.TectonElements?.loc(key, subs) ?? key;\n}\n\nexport function renderLabel(target: FormFieldTypes | Q2RadioGroup | Q2CheckboxGroup) {\n const { label, hideLabel, optional, readonly } = target;\n const labelClasses: string[] = ['input-label'];\n let helpText = '';\n\n let shouldHideLabel = hideLabel;\n if (!shouldHideLabel) {\n const labelSlotElements = target.hostElement.querySelectorAll<HTMLSlotElement>('[slot=\"label\"]');\n const hasSlotContent = labelSlotElements.length > 0;\n const hasLabel = !!label;\n\n shouldHideLabel = hasLabel || hasSlotContent ? false : true;\n }\n\n if (shouldHideLabel) labelClasses.push('sr');\n if (optional) {\n helpText = <span class=\"optional-tag\">{loc('tecton.element.input.optional')}</span>;\n }\n if (readonly) {\n helpText = <span class=\"optional-tag\">{loc('tecton.element.input.readonly')}</span>;\n labelClasses.push('readonly-field');\n }\n return (\n <label\n htmlFor={target.inputId}\n class={labelClasses.join(' ')}\n >\n <slot name=\"label\">\n {label ? loc(label) : undefined}\n {helpText}\n </slot>\n </label>\n );\n}\n\nexport function hasSlotContent(target: HTMLElement, slotName: string) {\n return target.querySelector(`[slot=\"${slotName}\"]`) !== null;\n}\n\nexport function handleAriaLabel(\n target:\n | Q2Input\n | Q2Select\n | Q2Radio\n | Q2Checkbox\n | Q2EditableField\n | Q2Dropdown\n | Q2DropdownItem\n | Q2Loading\n | Q2Carousel\n | Q2Calendar\n | Q2Btn\n) {\n const { ariaLabel } = target;\n if (!ariaLabel) return;\n\n // If empty ariaLabel prop is set to primitive symbol by framework wrapper, set ariaLabel to undefined and return\n const FW_WRAPPERS_EMPTY_PROP = Symbol().toString();\n if (ariaLabel === FW_WRAPPERS_EMPTY_PROP) {\n target.ariaLabel = undefined;\n return;\n }\n\n // If ariaLabel is set, set hideLabel to true and set label to ariaLabel\n if ('hideLabel' in target) target.hideLabel = true;\n target.label = loc(ariaLabel);\n target.ariaLabel = undefined;\n}\n\n/**\n * Handles when a prop has been renamed on a component without introducing a breaking change.\n */\nexport function handleRenamedProp(\n target: Q2Btn | Q2Calendar | Q2Dropdown | Q2Popover,\n oldProp: string,\n newProp: string,\n removeOldProp?: boolean\n) {\n if (typeof target[oldProp] === 'undefined') return;\n\n // If old prop has value, aka set in component, call handleDeprecationWarning()\n if (target[oldProp]) {\n handleDeprecationWarning(target, oldProp, 'prop');\n }\n\n target[newProp] = target[oldProp];\n\n if (removeOldProp) {\n delete target[oldProp];\n }\n}\n\nexport function handleDeprecationWarning(\n target: Q2Btn | Q2Calendar | Q2Dropdown | Q2Popover,\n deprecatedItemName: string,\n deprecatedItemType: 'function' | 'prop' | 'method' | 'event'\n) {\n if (window.location.hostname === 'localhost' || window.location.host === 'stack.q2developer.com') {\n if (target[deprecatedItemName] === 'undefined') return;\n\n const componentName =\n target.constructor?.name?.toLowerCase()?.slice(2) || target.hostElement?.tagName?.toLowerCase().slice(3);\n switch (deprecatedItemType) {\n case 'prop':\n if (deprecatedItemName === 'size' && componentName === 'btn') {\n console.warn(\n `The property of size in q2-btn should not be typeof number, or typeof string containing a number. This functionality will be deprecated in an upcoming release. Instead, please use the value 'undefined', or typeof string with any of the following values: \"small\" / \"medium\" / \"large\" `\n );\n } else {\n console.warn(\n `The property ${deprecatedItemName} in q2-${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n }\n break;\n\n case 'function':\n console.warn(\n `The function ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n case 'method':\n console.warn(\n `The method ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n case 'event':\n console.warn(\n `The event ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n default:\n console.error(\n `handleDeprecationWarning --> No type found for desired deprecation: ${deprecatedItemName} in q2-${componentName}: deprecatedItemType = ${deprecatedItemName}`\n );\n }\n }\n}\n\nexport function renderMessages(target: FormFieldTypes) {\n const type = target.hasError ? 'danger' : 'info';\n\n return (\n <div class=\"messages-container\">\n <q2-message\n appearance=\"minimal\"\n description\n type={type}\n test-id=\"message\"\n >\n <ul id={target.inputDescribedBy}>\n {target.messages.map(message => (\n <li test-id=\"messageListItem\">{loc(message)}</li>\n ))}\n </ul>\n </q2-message>\n </div>\n );\n}\n\nexport function setMessageHeight(target: FormFieldTypes) {\n const messageContainer = (target.hostElement.shadowRoot as ShadowRoot).querySelector<HTMLDivElement>(\n '.messages-container'\n );\n const q2Message = messageContainer.querySelector('q2-message');\n nextPaint(() => {\n const height = target.showMessages && target.hasFocus ? q2Message.getBoundingClientRect().height : 0;\n\n if (messageContainer.style.getPropertyValue('height') === `${height}px`) return;\n\n if (height === 0) {\n q2Message.classList.add('invisible');\n messageContainer.style.removeProperty('height');\n } else {\n q2Message.classList.remove('invisible');\n messageContainer.style.setProperty('height', `${height}px`);\n }\n });\n}\n\nexport const resizeIframe = () => {\n return window.TectonElements?.resizeIframe?.();\n};\n\n// Handling color attribute (deprecated)\nexport const handleColor = (target: Q2Btn) => {\n if (!target.intent && ['primary', 'secondary'].includes(target.color)) {\n target.intent = `workflow-${target.color}` as HTMLQ2BtnElement['intent'];\n target.color = undefined;\n }\n};\n\n/**\n * Gets all translated text content from an element, including shadow DOM content\n *\n * @param {Element} element - The element to extract text from\n * @param {Object} options - Configuration options\n * @param {boolean} [options.trim=true] - Whether to trim whitespace\n * @param {boolean} [options.normalizeWhitespace=false] - Whether to normalize whitespace\n * @param {boolean} [options.skipComponentReady=false] - Skip waiting for components (for test environments)\n * @return {Promise<string>} All translated text content in DOM order\n */\nexport const getAllText = async (element, options = {}) => {\n if (!element) return '';\n\n const opts = {\n trim: true,\n normalizeWhitespace: false,\n skipComponentReady: false,\n ...options,\n };\n\n const nodesToSkip = new Set(['STYLE', 'SCRIPT', 'NOSCRIPT', 'TEMPLATE', '#comment']);\n const processedNodes = new WeakSet();\n let result = '';\n\n async function processNode(node) {\n if (processedNodes.has(node) || nodesToSkip.has(node.nodeName)) return;\n\n processedNodes.add(node);\n\n // Handle text nodes\n if (node.nodeType === Node.TEXT_NODE) {\n const text = opts.trim ? node.textContent.trim() : node.textContent;\n\n if (text) {\n // Add space between adjacent text nodes if needed\n if (result && !result.endsWith(' ') && !text.startsWith(' ')) {\n result += ' ';\n }\n\n // Translate the text\n result += opts.skipComponentReady ? window.TectonElements?.loc(text) : loc(text);\n }\n return;\n }\n\n // Handle element nodes\n if (node.nodeType === Node.ELEMENT_NODE) {\n // Wait for Stencil component if needed\n const isStencilComponent = node.nodeName.startsWith('Q2-') && typeof node.componentOnReady === 'function';\n\n if (isStencilComponent && !opts.skipComponentReady) {\n await node.componentOnReady();\n }\n\n // Process children in light DOM\n for (const child of node.childNodes) {\n await processNode(child);\n }\n\n // Process shadow DOM if present\n if (node.shadowRoot) {\n for (const shadowChild of node.shadowRoot.childNodes) {\n await processNode(shadowChild);\n }\n }\n\n // Handle slot elements with assigned nodes\n if (node.nodeName === 'SLOT' && typeof node.assignedNodes === 'function') {\n const assignedNodes = node.assignedNodes();\n\n if (assignedNodes.length > 0) {\n for (const assigned of assignedNodes) {\n if (!processedNodes.has(assigned)) {\n await processNode(assigned);\n }\n }\n } else {\n // Process slot fallback content\n for (const fallback of node.childNodes) {\n if (!processedNodes.has(fallback)) {\n await processNode(fallback);\n }\n }\n }\n }\n }\n }\n\n await processNode(element);\n\n // Apply final formatting\n if (opts.trim) {\n result = result.trim();\n }\n\n if (opts.normalizeWhitespace) {\n result = result.replace(/\\s+/g, ' ');\n }\n\n return result;\n};\n"],"mappings":";;MAiBaA,WAAW,CAAsDC,GAAOC,IAAgB;EACjG,IAAIC;EACJ,OAAO,YAAaC;IAChBC,aAAaF;IACbA,IAAUG,YAAW;MACjBL,KAAMG;AAAK,QACZF;;AACN;;SAOWK;EACZ,OAAO,sFAAsFC,KACzFC,UAAUC;AAElB;;SAuBgBC,0BAA0BC,GAAmBC;EACzD,OAAOD,EAAME,kBAAkBD,MAAYA,EAAQE,SAASH,EAAME;AACtE;;SAEgBE,mBAAmBJ,GAAcC;;EAC7C,SAAOI,IAAAL,EAAMM,kBAAY,QAAAD,WAAA,aAAAA,EAAAE,KAAAP,GAAK,QAAOC;AACzC;;SAEgBO,cAAcC;EAC1BA,EAAYC,QAAQ,MAAMD,MAAW,QAAXA,WAAW,aAAXA,EAAaE,cAAc,IAAIC,WAAW,SAAS;IAAEC,SAAS;;AAC5F;;SAEgBC;EACZ,MAAMhB,IAAYD,UAAUC,UAAUiB;EACtC,OAAOjB,EAAUkB,SAAS;AAC9B;;SAEgBC;EACZ,OAAO,kBAAkBC,UAAUrB,UAAUsB,iBAAiB;AAClE;;;;;;aAYgBC,qBAAqBC,GAAcC;EAC/C,IAAID,MAASE,WAAW,OAAOF;EAC/B,KAAKC,GAAa,OAAOD,MAAS,aAAaA,IAAOE;EACtD,OAAOD,EAAYN,SAASK,MAASA,MAAS,KAAKA,IAAOE;AAC9D;;AAEA,IAAIC,IAAe;;SACHC;EACZ,OAAOD;AACX;;SAEgBE,UAAUrC;EACtBsC,uBAAsB;IAClBA,sBA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IACXO,IAASA,EAAOP;;EAGpB,IAAIH,EAAKI,qBAAqB;IAC1BM,IAASA,EAAOqB,QAAQ,QAAQ;;EAGpC,OAAOrB;AAAM"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as i, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { n } from "./index-
|
|
3
|
+
import { n } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
const e = '*{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(:not([hidden])){display:block;width:100%;--comp-default-action-group-margin:var(--app-scale-5x, 25px) 0;margin:var(--tct-action-group-margin, var(--comp-default-action-group-margin))}.container{--comp-default-action-group-gap:var(--tct-action-group-gap, var(--app-scale-2x, 10px));--comp-link-gap:var(--tct-action-group-gap, var(--app-scale-4x, 20px));width:100%;display:flex;gap:var(--comp-default-action-group-gap)}.container.has-q2-link{gap:var(--comp-link-gap)}.container.has-q2-btn-coin{column-gap:var(--tct-action-group-coin-column-gap, var(--app-scale-1x, 5px));row-gap:var(--tct-action-group-coin-row-gap, var(--app-scale-5x, 25px))}.container.vertical{flex-direction:var(--tct-action-group-vertical-flex-direction, column)}.container.vertical ::slotted(q2-btn){display:block;width:100%}.container.horizontal{justify-content:var(--tct-action-group-horizontal-justify-content, flex-start);flex-direction:var(--tct-action-group-horizontal-flex-direction, row-reverse);align-items:var(--tct-action-group-horizontal-align-items, center);flex-wrap:var(--tct-action-group-horizontal-flex-wrap, wrap)}.container.horizontal.full-width{flex-wrap:nowrap}.container.horizontal.has-q2-btn-coin{justify-content:var(--tct-action-group-coin-horizontal-justify-content, center)}.container.horizontal ::slotted(q2-link){position:relative}.container.horizontal ::slotted(q2-link:not(:last-child))::before{content:"";display:inline-block;width:0;height:28px;border-left:1px solid var(--t-gray-12, #d9d9d9);position:absolute;left:calc(var(--comp-link-gap) * -0.5)}.container.vertical ::slotted(q2-btn),.container.horizontal.full-width ::slotted(q2-btn){display:block;width:100%}';
|
|
6
6
|
|
|
@@ -110,16 +110,16 @@ const r = class {
|
|
|
110
110
|
if (e) a.push(`has-${e}`);
|
|
111
111
|
a.push(o);
|
|
112
112
|
return i("q2-resize-observer", {
|
|
113
|
-
key: "
|
|
113
|
+
key: "21a8f1241e33198258f75e1ac1247ddaf4583cc3",
|
|
114
114
|
onTctResize: this.handleResize,
|
|
115
115
|
disabled: t
|
|
116
116
|
}, i("div", {
|
|
117
|
-
key: "
|
|
117
|
+
key: "5f8974a6e56564ccf157279bcf554ce87572cb85",
|
|
118
118
|
ref: t => this.container = t,
|
|
119
119
|
class: a.join(" "),
|
|
120
120
|
role: "group"
|
|
121
121
|
}, i("slot", {
|
|
122
|
-
key: "
|
|
122
|
+
key: "7ba454953a54d5e202682e0da5dac3900010e7df"
|
|
123
123
|
})));
|
|
124
124
|
}
|
|
125
125
|
get hostElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, F as o, g as a } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as s, w as r } from "./index-
|
|
3
|
+
import { l as s, w as r } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
import { s as n } from "./sanitize-html-string-735c19f5.js";
|
|
6
6
|
|
|
@@ -230,32 +230,32 @@ const h = class {
|
|
|
230
230
|
const r = (e === null || e === void 0 ? void 0 : e.appearance) || "slot";
|
|
231
231
|
const n = `interior is-${r}`;
|
|
232
232
|
return i("dialog", {
|
|
233
|
-
key: "
|
|
233
|
+
key: "d5a7f58a6220c1c246b1e0ecf5e456b70ac7d02d",
|
|
234
234
|
ref: t => this.dialogElement = t,
|
|
235
235
|
class: a,
|
|
236
236
|
onClick: this.onClick
|
|
237
237
|
}, i("div", {
|
|
238
|
-
key: "
|
|
238
|
+
key: "fd313cad6ea0847e65ba3429ab720c9af44720eb",
|
|
239
239
|
class: n
|
|
240
240
|
}, o && i("header", {
|
|
241
|
-
key: "
|
|
241
|
+
key: "d466ecb71921c2079d3345be602b9763c05c24bd"
|
|
242
242
|
}, i("div", {
|
|
243
|
-
key: "
|
|
243
|
+
key: "9ed60dcaf3cd6e3545b5705d6eb7e77f08a34d27",
|
|
244
244
|
class: "title"
|
|
245
245
|
}, (e === null || e === void 0 ? void 0 : e.title) || this.title), !this.hideClose && i("q2-btn", {
|
|
246
|
-
key: "
|
|
246
|
+
key: "dd9f24f619e3bf6f507f8b9435f27086c8087e7b",
|
|
247
247
|
class: "btn-close",
|
|
248
248
|
"test-id": "btnClose",
|
|
249
249
|
onClick: this.onCancel,
|
|
250
250
|
label: "tecton.element.actionSheet.close",
|
|
251
251
|
"hide-label": true
|
|
252
252
|
}, i("q2-icon", {
|
|
253
|
-
key: "
|
|
253
|
+
key: "7d65ed7c788944dfe42411aacf3fa46bb88d516e",
|
|
254
254
|
type: "close"
|
|
255
255
|
}))), ((t = this.data) === null || t === void 0 ? void 0 : t.description) && i("p", {
|
|
256
|
-
key: "
|
|
256
|
+
key: "dd58294b11662c8e4353dcc369a520cf422a10a1"
|
|
257
257
|
}, e.description), s && i(s, {
|
|
258
|
-
key: "
|
|
258
|
+
key: "f1423ac73c8f8004eca2e62550f645566e1c56a0",
|
|
259
259
|
data: this.data
|
|
260
260
|
})));
|
|
261
261
|
}
|
|
@@ -52,9 +52,9 @@ const c = class {
|
|
|
52
52
|
const e = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
53
53
|
const c = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
54
54
|
return t("div", {
|
|
55
|
-
key: "
|
|
55
|
+
key: "4966ab34d12c6f6eee5f20c7e8791a3decf2a54c"
|
|
56
56
|
}, r && t("img", {
|
|
57
|
-
key: "
|
|
57
|
+
key: "85ca0809537c0504e8b3d500f517595e90bd08e6",
|
|
58
58
|
class: i ? "avatar-img" : "avatar-img-default",
|
|
59
59
|
"test-id": "userImage",
|
|
60
60
|
src: this.src,
|
|
@@ -62,7 +62,7 @@ const c = class {
|
|
|
62
62
|
onLoad: this.onLoad,
|
|
63
63
|
alt: this.name || ""
|
|
64
64
|
}), e && t("svg", {
|
|
65
|
-
key: "
|
|
65
|
+
key: "380b9655d61536990f8de67e30b40e3a53af1bba",
|
|
66
66
|
viewBox: "0 0 100 100",
|
|
67
67
|
preserveAspectRatio: "xMidYMid meet",
|
|
68
68
|
"test-id": "userInitials",
|
|
@@ -70,18 +70,18 @@ const c = class {
|
|
|
70
70
|
"aria-label": this.name,
|
|
71
71
|
"aria-hidden": !this.name && "true"
|
|
72
72
|
}, t("text", {
|
|
73
|
-
key: "
|
|
73
|
+
key: "6ba43407aa429b21c8d3faa295a9f5ea952e0e54",
|
|
74
74
|
x: "50",
|
|
75
75
|
y: "50",
|
|
76
76
|
"dominant-baseline": "central",
|
|
77
77
|
"text-anchor": "middle",
|
|
78
78
|
"aria-hidden": "true"
|
|
79
79
|
}, a)), c && t("div", {
|
|
80
|
-
key: "
|
|
80
|
+
key: "89c1780efa61cb812980e22ada11a607d237e58a",
|
|
81
81
|
"test-id": "fallbackIcon",
|
|
82
82
|
class: "fallback"
|
|
83
83
|
}, t("q2-icon", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "c183fd914279b0f584cc28f25782bcedca1c28b3",
|
|
85
85
|
type: this.icon
|
|
86
86
|
})));
|
|
87
87
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as r, g as o, F as a, a as e, c as i } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as n, h as c, a as s, b as d, o as l, i as p, g as b, c as u, d as
|
|
3
|
+
import { l as n, h as c, a as s, b as d, o as l, i as p, g as b, c as u, d as f, s as h, e as v, n as m, r as x, f as g } from "./index-f2a66217.js";
|
|
4
4
|
|
|
5
5
|
import { s as k } from "./shapes-c7e1a3fa.js";
|
|
6
6
|
|
|
@@ -153,6 +153,10 @@ const M = class {
|
|
|
153
153
|
this.handleButtonSize();
|
|
154
154
|
l(this.hostElement);
|
|
155
155
|
}
|
|
156
|
+
disconnectedCallback() {
|
|
157
|
+
this.primaryBtn = null;
|
|
158
|
+
this.primaryBtnWrapper = null;
|
|
159
|
+
}
|
|
156
160
|
// #endregion
|
|
157
161
|
// #region Listeners
|
|
158
162
|
handleClick(t) {
|
|
@@ -210,14 +214,14 @@ const M = class {
|
|
|
210
214
|
// #region Render Methods
|
|
211
215
|
renderButton() {
|
|
212
216
|
const {ariaExpanded: t, ariaHasPopup: o, ariaSelected: e, ariaPressed: i, description: c, disabled: s, type: d, tabindex: l} = this.buttonAttributes;
|
|
213
|
-
const {iconPosition: p, loading: b, badge: u, label:
|
|
217
|
+
const {iconPosition: p, loading: b, badge: u, label: f, hideLabel: h} = this;
|
|
214
218
|
const v = p || b;
|
|
215
219
|
const m = !p || u;
|
|
216
220
|
return r(a, null, r("button", {
|
|
217
221
|
ref: t => this.primaryBtn = t !== null && t !== void 0 ? t : this.primaryBtn,
|
|
218
222
|
"aria-expanded": t,
|
|
219
223
|
"aria-haspopup": o,
|
|
220
|
-
"aria-label":
|
|
224
|
+
"aria-label": h && n(f),
|
|
221
225
|
"aria-selected": e,
|
|
222
226
|
"aria-pressed": i,
|
|
223
227
|
disabled: s,
|
|
@@ -226,7 +230,7 @@ const M = class {
|
|
|
226
230
|
"test-id": "q2BtnInnerButton",
|
|
227
231
|
class: this.buttonClasses,
|
|
228
232
|
"aria-describedby": !!c ? "hidden-description" : undefined,
|
|
229
|
-
"aria-labelledby": this.intent === "coin" && !
|
|
233
|
+
"aria-labelledby": this.intent === "coin" && !h ? "coin-label" : undefined,
|
|
230
234
|
role: this._role || undefined
|
|
231
235
|
}, r("div", {
|
|
232
236
|
class: "slot-container"
|
|
@@ -366,10 +370,10 @@ const bt = "standard";
|
|
|
366
370
|
|
|
367
371
|
const ut = "standard";
|
|
368
372
|
|
|
369
|
-
const ht = "standard";
|
|
370
|
-
|
|
371
373
|
const ft = "standard";
|
|
372
374
|
|
|
375
|
+
const ht = "standard";
|
|
376
|
+
|
|
373
377
|
const vt = "standard";
|
|
374
378
|
|
|
375
379
|
const mt = "standard";
|
|
@@ -474,10 +478,10 @@ const br = "standard";
|
|
|
474
478
|
|
|
475
479
|
const ur = "standard";
|
|
476
480
|
|
|
477
|
-
const hr = "standard";
|
|
478
|
-
|
|
479
481
|
const fr = "standard";
|
|
480
482
|
|
|
483
|
+
const hr = "standard";
|
|
484
|
+
|
|
481
485
|
const vr = "devices";
|
|
482
486
|
|
|
483
487
|
const mr = "standard";
|
|
@@ -749,11 +753,11 @@ const bo = {
|
|
|
749
753
|
desktop: pt,
|
|
750
754
|
diploma: bt,
|
|
751
755
|
divider: ut,
|
|
752
|
-
document:
|
|
756
|
+
document: ft,
|
|
753
757
|
"document-add": "standard",
|
|
754
758
|
"document-checklist": "standard",
|
|
755
759
|
"document-remove": "standard",
|
|
756
|
-
download:
|
|
760
|
+
download: ht,
|
|
757
761
|
"drag-handle": "standard",
|
|
758
762
|
edit: vt,
|
|
759
763
|
ellipsis: mt,
|
|
@@ -882,8 +886,8 @@ const bo = {
|
|
|
882
886
|
paw: br,
|
|
883
887
|
people: ur,
|
|
884
888
|
"people-group": "standard",
|
|
885
|
-
percent:
|
|
886
|
-
person:
|
|
889
|
+
percent: fr,
|
|
890
|
+
person: hr,
|
|
887
891
|
"person-add": "standard",
|
|
888
892
|
"person-lock": "standard",
|
|
889
893
|
"person-remove": "standard",
|
|
@@ -976,9 +980,9 @@ const bo = {
|
|
|
976
980
|
|
|
977
981
|
const uo = "*{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;height:var(--tct-icon-size, 24px);width:var(--tct-icon-size, 24px);position:relative;fill:none}:host([inline]){height:1em;width:1em}svg{display:block;position:absolute;top:0;left:0;stroke-width:var(--tct-icon-stroke-width, var(--t-icon-stroke-width, var(--tct-icon-group-stroke-width, 2)));stroke-linecap:var(--tct-icon-cap, var(--t-icon-cap, round));stroke-linejoin:var(--tct-icon-cap, var(--t-icon-cap, round));transition:var(--tct-icon-transition, none)}svg.brand{stroke-width:var(--tct-icon-group-brand-stroke-width, 1)}svg.browsersos{stroke-width:var(--tct-icon-group-browsersos-stroke-width, 1)}.stroke-primary{stroke:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, var(--t-text, currentcolor)));transition:var(--tct-icon-stroke-primary-transition, none)}.stroke-secondary{stroke:var(--tct-icon-stroke-secondary, var(--t-icon-stroke-secondary, var(--t-text, currentcolor)));transition:var(--tct-icon-stroke-secondary-transition, none)}.fill-primary{fill:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, var(--t-text, currentcolor)));transition:var(--tct-icon-stroke-primary-transition, none)}.fill-secondary{fill:var(--tct-icon-stroke-secondary, var(--t-icon-stroke-secondary, var(--t-text, currentcolor)));transition:var(--tct-icon-stroke-secondary-transition, none)}.filled{fill:var(--tct-icon-fill, var(--comp-icon-fill, var(--t-icon-fill, none)));transition:var(--tct-icon-fill-transition, none)}.uniform{fill:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, currentcolor));transition:var(--tct-icon-stroke-primary-transition, none)}:host([type=info]),:host([type=info-filled]){--tct-icon-stroke-primary:transparent;--comp-status-color:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))}:host([type=success]),:host([type=success-filled]){--tct-icon-stroke-primary:transparent;--comp-status-color:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00))}:host([type=warning]),:host([type=warning-filled]){--tct-icon-stroke-primary:transparent;--comp-status-color:var(--tct-stoplight-warning, var(--const-stoplight-warning, #c35500))}:host([type=error]),:host([type=error-filled]){--tct-icon-stroke-primary:transparent;--comp-status-color:var(--tct-stoplight-alert, var(--const-stoplight-alert, #d20a0a))}";
|
|
978
982
|
|
|
979
|
-
const
|
|
983
|
+
const fo = uo;
|
|
980
984
|
|
|
981
|
-
const
|
|
985
|
+
const ho = class {
|
|
982
986
|
constructor(r) {
|
|
983
987
|
t(this, r);
|
|
984
988
|
this.spritePrefix = "tecton-sprite-";
|
|
@@ -1000,6 +1004,10 @@ const fo = class {
|
|
|
1000
1004
|
// We have to set the `href` attribute after the symbol is appended to the DOM to avoid a bug in Safari
|
|
1001
1005
|
(a = this.spriteUse) === null || a === void 0 ? void 0 : a.setAttribute("href", `#${e.id}`);
|
|
1002
1006
|
}
|
|
1007
|
+
disconnectedCallback() {
|
|
1008
|
+
this.spriteGroup = null;
|
|
1009
|
+
this.spriteUse = null;
|
|
1010
|
+
}
|
|
1003
1011
|
// #endregion
|
|
1004
1012
|
// #region Watchers
|
|
1005
1013
|
handleIcon() {
|
|
@@ -1159,7 +1167,7 @@ const fo = class {
|
|
|
1159
1167
|
}
|
|
1160
1168
|
};
|
|
1161
1169
|
|
|
1162
|
-
|
|
1170
|
+
ho.style = fo;
|
|
1163
1171
|
|
|
1164
1172
|
function formatNumber(t = "", r = {
|
|
1165
1173
|
prefix: "",
|
|
@@ -1197,8 +1205,8 @@ function formatNumber(t = "", r = {
|
|
|
1197
1205
|
b = b + r.decimalSeparator.length;
|
|
1198
1206
|
}
|
|
1199
1207
|
const u = r.prefix || r.suffix;
|
|
1200
|
-
const
|
|
1201
|
-
const
|
|
1208
|
+
const f = Number.MAX_SAFE_INTEGER.toString().length + b + c.length;
|
|
1209
|
+
const h = `${n.replace(/[^0-9]/g, "")}${c}`.replace(/^0+/, "");
|
|
1202
1210
|
return {
|
|
1203
1211
|
value: e,
|
|
1204
1212
|
formattedValue: l,
|
|
@@ -1206,8 +1214,8 @@ function formatNumber(t = "", r = {
|
|
|
1206
1214
|
prefix: u,
|
|
1207
1215
|
suffix: "",
|
|
1208
1216
|
formattingCharacterCount: b,
|
|
1209
|
-
maxlength:
|
|
1210
|
-
unformattedValue:
|
|
1217
|
+
maxlength: f,
|
|
1218
|
+
unformattedValue: h
|
|
1211
1219
|
};
|
|
1212
1220
|
}
|
|
1213
1221
|
|
|
@@ -4301,7 +4309,7 @@ const Io = class {
|
|
|
4301
4309
|
this.invalid = i(this, "invalid", 7);
|
|
4302
4310
|
// #region Own Properties
|
|
4303
4311
|
this.guid = u();
|
|
4304
|
-
this.isMobile =
|
|
4312
|
+
this.isMobile = f();
|
|
4305
4313
|
this.scheduledAfterRender = [];
|
|
4306
4314
|
/**
|
|
4307
4315
|
* Sets textSelectedForDeletion to true if the user has selected text for deletion
|
|
@@ -4349,7 +4357,7 @@ const Io = class {
|
|
|
4349
4357
|
};
|
|
4350
4358
|
this.onInputBlur = () => {
|
|
4351
4359
|
this.hasFocus = false;
|
|
4352
|
-
|
|
4360
|
+
h(this);
|
|
4353
4361
|
if (this.valueOnFocus !== this.formattedValueObject.value) {
|
|
4354
4362
|
this.valueOnFocus = this.formattedValueObject.value;
|
|
4355
4363
|
this.change.emit(Object.assign({
|
|
@@ -4369,7 +4377,7 @@ const Io = class {
|
|
|
4369
4377
|
this.scheduledAfterRender.push((() => this.shouldCursorStartAtEnd ? this.placeCursorAtEnd() : this.setCursorPosition(this.calculateCursorPositionOnFocus())));
|
|
4370
4378
|
}
|
|
4371
4379
|
this.hasFocus = true;
|
|
4372
|
-
|
|
4380
|
+
h(this);
|
|
4373
4381
|
this.valueOnFocus = this.value;
|
|
4374
4382
|
};
|
|
4375
4383
|
this.onInputInput = t => {
|
|
@@ -4410,7 +4418,7 @@ const Io = class {
|
|
|
4410
4418
|
this.onRefocusInput = () => {
|
|
4411
4419
|
if (this.showMessages) {
|
|
4412
4420
|
this.inputField.focus();
|
|
4413
|
-
|
|
4421
|
+
h(this);
|
|
4414
4422
|
}
|
|
4415
4423
|
};
|
|
4416
4424
|
this.onToggleVisibility = () => {
|
|
@@ -4576,7 +4584,7 @@ const Io = class {
|
|
|
4576
4584
|
}
|
|
4577
4585
|
}
|
|
4578
4586
|
errorsObserver() {
|
|
4579
|
-
this.hasFocus && this.scheduledAfterRender.push((() =>
|
|
4587
|
+
this.hasFocus && this.scheduledAfterRender.push((() => h(this)));
|
|
4580
4588
|
}
|
|
4581
4589
|
formatModifierObserver() {
|
|
4582
4590
|
this.formatAndUpdateValueFromProp();
|
|
@@ -4585,7 +4593,7 @@ const Io = class {
|
|
|
4585
4593
|
this.formatted.emit(this.formattedValueObject);
|
|
4586
4594
|
}
|
|
4587
4595
|
hintsObserver() {
|
|
4588
|
-
this.hasFocus && this.scheduledAfterRender.push((() =>
|
|
4596
|
+
this.hasFocus && this.scheduledAfterRender.push((() => h(this)));
|
|
4589
4597
|
}
|
|
4590
4598
|
typeObserver() {
|
|
4591
4599
|
this.formatAndUpdateValueFromProp();
|
|
@@ -5013,10 +5021,10 @@ const Io = class {
|
|
|
5013
5021
|
}
|
|
5014
5022
|
render() {
|
|
5015
5023
|
return r("div", {
|
|
5016
|
-
key: "
|
|
5024
|
+
key: "90af3950d11f474fef56699c98107a4d368c97e4",
|
|
5017
5025
|
class: this.wrapperClasses
|
|
5018
5026
|
}, r("div", {
|
|
5019
|
-
key: "
|
|
5027
|
+
key: "1d31ff5e1c26d73f5909e63dcfaa866ef6cb8aa6",
|
|
5020
5028
|
class: "label-wrapper"
|
|
5021
5029
|
}, g(this), this.renderCountDOM()), this.renderInputContainerDOM(), x(this));
|
|
5022
5030
|
}
|
|
@@ -5416,49 +5424,49 @@ const Po = class {
|
|
|
5416
5424
|
}
|
|
5417
5425
|
render() {
|
|
5418
5426
|
return r(a, {
|
|
5419
|
-
key: "
|
|
5427
|
+
key: "3dbafc9b528c795be4d81493aec0012dc1e26fa8"
|
|
5420
5428
|
}, r("div", {
|
|
5421
|
-
key: "
|
|
5429
|
+
key: "c569220a4172d11f499b341463ce8354334c695a",
|
|
5422
5430
|
class: "tab-container"
|
|
5423
5431
|
}, this.scrollEnabled && r(a, {
|
|
5424
|
-
key: "
|
|
5432
|
+
key: "baa3337e3f83f826cf216374fb6e15efa5df4e80"
|
|
5425
5433
|
}, r("div", {
|
|
5426
|
-
key: "
|
|
5434
|
+
key: "ca06e12ad879e357b34ac7b9a4a21e72c6afa5e7",
|
|
5427
5435
|
class: "gradient-left",
|
|
5428
5436
|
hidden: !this.showScrollLeft
|
|
5429
5437
|
}), r("div", {
|
|
5430
|
-
key: "
|
|
5438
|
+
key: "efb019cc0ecf865005b79176fb5f9a39c0c7dbe8",
|
|
5431
5439
|
class: "gradient-right",
|
|
5432
5440
|
hidden: !this.showScrollRight
|
|
5433
5441
|
}), r("q2-btn", {
|
|
5434
|
-
key: "
|
|
5442
|
+
key: "dbb9f22c62ab4d668e17abeb7a9e997c346afecd",
|
|
5435
5443
|
class: "btn-left",
|
|
5436
5444
|
hidden: !this.showScrollLeft,
|
|
5437
5445
|
onClick: () => this.onScrollBtnClick("left")
|
|
5438
5446
|
}, r("q2-icon", {
|
|
5439
|
-
key: "
|
|
5447
|
+
key: "6ed80917ec7aeb9f84a527253b046011a564a083",
|
|
5440
5448
|
type: "chevron-left",
|
|
5441
5449
|
label: "scroll left"
|
|
5442
5450
|
})), r("q2-btn", {
|
|
5443
|
-
key: "
|
|
5451
|
+
key: "1418cfb893e421d3ce9731ea0640e106c45716bb",
|
|
5444
5452
|
class: "btn-right",
|
|
5445
5453
|
hidden: !this.showScrollRight,
|
|
5446
5454
|
onClick: () => this.onScrollBtnClick("right")
|
|
5447
5455
|
}, r("q2-icon", {
|
|
5448
|
-
key: "
|
|
5456
|
+
key: "a0ee720e921a221f0aaf5dccb7cffd072fc18155",
|
|
5449
5457
|
type: "chevron-right",
|
|
5450
5458
|
label: "scroll right"
|
|
5451
5459
|
}))), r("ul", {
|
|
5452
|
-
key: "
|
|
5460
|
+
key: "c306e2e6cda7adf1f46234a42d2fff465852be3e",
|
|
5453
5461
|
onScroll: this.checkScrollState,
|
|
5454
5462
|
ref: t => this.listElement = t,
|
|
5455
5463
|
class: this.noPrint ? "no-print" : null,
|
|
5456
5464
|
role: "tablist"
|
|
5457
5465
|
}, this.tabs.map(((t, r) => this.renderTab(t, r))))), r("div", {
|
|
5458
|
-
key: "
|
|
5466
|
+
key: "00500a26c659dba1390f2992faf461fd0b81e52b",
|
|
5459
5467
|
class: "tab-content"
|
|
5460
5468
|
}, r("slot", {
|
|
5461
|
-
key: "
|
|
5469
|
+
key: "72a257e8afadd7a423548844ce4a95f32c517e9d",
|
|
5462
5470
|
onSlotchange: () => this.onSlotChange()
|
|
5463
5471
|
})));
|
|
5464
5472
|
}
|
|
@@ -5503,7 +5511,7 @@ const Go = class {
|
|
|
5503
5511
|
// #region Render Methods
|
|
5504
5512
|
render() {
|
|
5505
5513
|
return r("div", {
|
|
5506
|
-
key: "
|
|
5514
|
+
key: "7f8e9ac70186487577804107bb5b35378d31f0de",
|
|
5507
5515
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
5508
5516
|
class: `tab-pane${this.selected ? "" : " hidden"}`,
|
|
5509
5517
|
role: "tabpanel",
|
|
@@ -5511,7 +5519,7 @@ const Go = class {
|
|
|
5511
5519
|
"aria-hidden": `${!this.selected}`,
|
|
5512
5520
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
5513
5521
|
}, r("slot", {
|
|
5514
|
-
key: "
|
|
5522
|
+
key: "3018103490736c91f4f5fbef6d44e63df2704266"
|
|
5515
5523
|
}));
|
|
5516
5524
|
}
|
|
5517
5525
|
static get watchers() {
|
|
@@ -5526,5 +5534,5 @@ const Go = class {
|
|
|
5526
5534
|
|
|
5527
5535
|
Go.style = Bo;
|
|
5528
5536
|
|
|
5529
|
-
export { S as q2_badge, M as q2_btn,
|
|
5537
|
+
export { S as q2_badge, M as q2_btn, ho as q2_icon, Io as q2_input, Eo as q2_loading, Po as q2_tab_container, Go as q2_tab_pane };
|
|
5530
5538
|
//# sourceMappingURL=q2-badge_7.entry.js.map
|