q2-tecton-elements 1.4.2 → 1.4.5

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.
Files changed (154) hide show
  1. package/dist/cjs/click-elsewhere.cjs.entry.js +1 -1
  2. package/dist/cjs/{index-4faae504.js → index-88eda03b.js} +0 -3
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{patch-914a750e.js → patch-e20a85b4.js} +1 -1
  5. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  6. package/dist/cjs/q2-btn.cjs.entry.js +1 -1
  7. package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
  8. package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
  10. package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
  12. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
  14. package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
  15. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-input_2.cjs.entry.js +1 -1
  17. package/dist/cjs/q2-loading-element.cjs.entry.js +2 -2
  18. package/dist/cjs/q2-loading.cjs.entry.js +2 -2
  19. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  20. package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
  21. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  22. package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
  23. package/dist/cjs/q2-radio.cjs.entry.js +1 -1
  24. package/dist/cjs/q2-section.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-select.cjs.entry.js +1 -1
  26. package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
  27. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  28. package/dist/cjs/q2-tecton-elements.cjs.js +2 -2
  29. package/dist/cjs/{shapes-6672cf49.js → shapes-00766dc3.js} +1 -1
  30. package/dist/cjs/tecton-tab-pane.cjs.entry.js +1 -5
  31. package/dist/collection/components/tecton-tab-pane/index.js +0 -4
  32. package/dist/esm/click-elsewhere.entry.js +1 -1
  33. package/dist/esm/{index-34b1f583.js → index-b70f7228.js} +0 -3
  34. package/dist/esm/loader.mjs +2 -2
  35. package/dist/esm/{patch-6cd50c08.js → patch-187aa2d6.js} +1 -1
  36. package/dist/esm/q2-avatar.entry.js +1 -1
  37. package/dist/esm/q2-btn.entry.js +1 -1
  38. package/dist/esm/q2-calendar.entry.js +1 -1
  39. package/dist/esm/q2-carousel-pane.entry.js +1 -1
  40. package/dist/esm/q2-carousel.entry.js +1 -1
  41. package/dist/esm/q2-checkbox-group.entry.js +1 -1
  42. package/dist/esm/q2-checkbox.entry.js +1 -1
  43. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  44. package/dist/esm/q2-dropdown.entry.js +1 -1
  45. package/dist/esm/q2-editable-field.entry.js +1 -1
  46. package/dist/esm/q2-icon.entry.js +1 -1
  47. package/dist/esm/q2-input_2.entry.js +1 -1
  48. package/dist/esm/q2-loading-element.entry.js +2 -2
  49. package/dist/esm/q2-loading.entry.js +2 -2
  50. package/dist/esm/q2-loc.entry.js +1 -1
  51. package/dist/esm/q2-optgroup.entry.js +1 -1
  52. package/dist/esm/q2-option.entry.js +1 -1
  53. package/dist/esm/q2-radio-group.entry.js +1 -1
  54. package/dist/esm/q2-radio.entry.js +1 -1
  55. package/dist/esm/q2-section.entry.js +1 -1
  56. package/dist/esm/q2-select.entry.js +1 -1
  57. package/dist/esm/q2-tab-container.entry.js +1 -1
  58. package/dist/esm/q2-tab-pane.entry.js +1 -1
  59. package/dist/esm/q2-tecton-elements.mjs +2 -2
  60. package/dist/esm/{shapes-c290d265.js → shapes-1a12324b.js} +1 -1
  61. package/dist/esm/tecton-tab-pane.entry.js +1 -5
  62. package/dist/esm-es5/click-elsewhere.entry.js +1 -1
  63. package/dist/esm-es5/{index-34b1f583.js → index-b70f7228.js} +0 -3
  64. package/dist/esm-es5/loader.mjs +2 -2
  65. package/dist/esm-es5/{patch-6cd50c08.js → patch-187aa2d6.js} +1 -1
  66. package/dist/esm-es5/q2-avatar.entry.js +1 -1
  67. package/dist/esm-es5/q2-btn.entry.js +1 -1
  68. package/dist/esm-es5/q2-calendar.entry.js +1 -1
  69. package/dist/esm-es5/q2-carousel-pane.entry.js +1 -1
  70. package/dist/esm-es5/q2-carousel.entry.js +1 -1
  71. package/dist/esm-es5/q2-checkbox-group.entry.js +1 -1
  72. package/dist/esm-es5/q2-checkbox.entry.js +1 -1
  73. package/dist/esm-es5/q2-dropdown-item.entry.js +1 -1
  74. package/dist/esm-es5/q2-dropdown.entry.js +1 -1
  75. package/dist/esm-es5/q2-editable-field.entry.js +1 -1
  76. package/dist/esm-es5/q2-icon.entry.js +1 -1
  77. package/dist/esm-es5/q2-input_2.entry.js +1 -1
  78. package/dist/esm-es5/q2-loading-element.entry.js +2 -2
  79. package/dist/esm-es5/q2-loading.entry.js +2 -2
  80. package/dist/esm-es5/q2-loc.entry.js +1 -1
  81. package/dist/esm-es5/q2-optgroup.entry.js +1 -1
  82. package/dist/esm-es5/q2-option.entry.js +1 -1
  83. package/dist/esm-es5/q2-radio-group.entry.js +1 -1
  84. package/dist/esm-es5/q2-radio.entry.js +1 -1
  85. package/dist/esm-es5/q2-section.entry.js +1 -1
  86. package/dist/esm-es5/q2-select.entry.js +1 -1
  87. package/dist/esm-es5/q2-tab-container.entry.js +1 -1
  88. package/dist/esm-es5/q2-tab-pane.entry.js +1 -1
  89. package/dist/esm-es5/q2-tecton-elements.mjs +2 -2
  90. package/dist/esm-es5/{shapes-c290d265.js → shapes-1a12324b.js} +1 -1
  91. package/dist/esm-es5/tecton-tab-pane.entry.js +1 -5
  92. package/dist/q2-tecton-elements/{p-a568efed.system.js → p-00067d0a.system.js} +1 -1
  93. package/dist/q2-tecton-elements/{p-a713c5fc.system.js → p-06e01d71.system.js} +1 -1
  94. package/dist/q2-tecton-elements/{p-42d82321.entry.js → p-07203a0e.entry.js} +1 -1
  95. package/dist/q2-tecton-elements/{p-1ba8463c.system.entry.js → p-1113bf25.system.entry.js} +1 -1
  96. package/dist/q2-tecton-elements/{p-211d3858.entry.js → p-12cf6e8b.entry.js} +1 -1
  97. package/dist/q2-tecton-elements/p-154bd5bd.entry.js +1 -0
  98. package/dist/q2-tecton-elements/p-1a8e579d.js +1 -0
  99. package/dist/q2-tecton-elements/{p-a53cd78f.system.entry.js → p-208d0c6e.system.entry.js} +1 -1
  100. package/dist/q2-tecton-elements/{p-669430ad.entry.js → p-268818c7.entry.js} +1 -1
  101. package/dist/q2-tecton-elements/{p-3d9f3e86.entry.js → p-2fce6304.entry.js} +1 -1
  102. package/dist/q2-tecton-elements/{p-19398668.entry.js → p-30c73ea9.entry.js} +1 -1
  103. package/dist/q2-tecton-elements/{p-ae4591dd.entry.js → p-323cbdd3.entry.js} +1 -1
  104. package/dist/q2-tecton-elements/{p-c6aba736.system.entry.js → p-33a4a4e6.system.entry.js} +1 -1
  105. package/dist/q2-tecton-elements/{p-583bfa9b.entry.js → p-390b9415.entry.js} +1 -1
  106. package/dist/q2-tecton-elements/{p-de531333.system.entry.js → p-3a2e7aad.system.entry.js} +1 -1
  107. package/dist/q2-tecton-elements/{p-ee20ba95.system.entry.js → p-3d8e5455.system.entry.js} +1 -1
  108. package/dist/q2-tecton-elements/{p-79f337d9.entry.js → p-46204d10.entry.js} +1 -1
  109. package/dist/q2-tecton-elements/{p-1dc36e58.system.entry.js → p-49ec33ae.system.entry.js} +1 -1
  110. package/dist/q2-tecton-elements/{p-979c3b07.system.entry.js → p-4b737f84.system.entry.js} +1 -1
  111. package/dist/q2-tecton-elements/{p-72742d91.system.entry.js → p-4fd89735.system.entry.js} +1 -1
  112. package/dist/q2-tecton-elements/{p-8815f594.system.entry.js → p-535687b4.system.entry.js} +1 -1
  113. package/dist/q2-tecton-elements/{p-4ff290be.system.entry.js → p-5adaa91d.system.entry.js} +1 -1
  114. package/dist/q2-tecton-elements/{p-3082637e.system.entry.js → p-5f0adaa9.system.entry.js} +1 -1
  115. package/dist/q2-tecton-elements/{p-9b266886.system.js → p-5f52c28d.system.js} +1 -1
  116. package/dist/q2-tecton-elements/{p-b08c40a0.entry.js → p-5fc58e19.entry.js} +1 -1
  117. package/dist/q2-tecton-elements/{p-5299effa.entry.js → p-75be017a.entry.js} +1 -1
  118. package/dist/q2-tecton-elements/{p-3c0b64bb.entry.js → p-7b10d18b.entry.js} +1 -1
  119. package/dist/q2-tecton-elements/{p-b2e8e409.entry.js → p-7b3a7b01.entry.js} +1 -1
  120. package/dist/q2-tecton-elements/{p-7b7decfe.system.entry.js → p-7e020511.system.entry.js} +1 -1
  121. package/dist/q2-tecton-elements/{p-2c98567c.entry.js → p-832f3e02.entry.js} +1 -1
  122. package/dist/q2-tecton-elements/{p-3ef9bb34.entry.js → p-83ac78cd.entry.js} +1 -1
  123. package/dist/q2-tecton-elements/{p-ea6f547c.system.entry.js → p-843fdb33.system.entry.js} +1 -1
  124. package/dist/q2-tecton-elements/{p-10502b27.system.entry.js → p-8dfd0e89.system.entry.js} +1 -1
  125. package/dist/q2-tecton-elements/{p-9df42353.entry.js → p-9a298ef4.entry.js} +1 -1
  126. package/dist/q2-tecton-elements/{p-9c408e3b.system.entry.js → p-9f4d9ea2.system.entry.js} +1 -1
  127. package/dist/q2-tecton-elements/{p-e1bd7e6a.js → p-9fc24628.js} +1 -1
  128. package/dist/q2-tecton-elements/{p-c81dc9f0.system.entry.js → p-a53e34ff.system.entry.js} +1 -1
  129. package/dist/q2-tecton-elements/{p-6adbe95b.system.entry.js → p-a68a88bb.system.entry.js} +1 -1
  130. package/dist/q2-tecton-elements/{p-fc450348.system.entry.js → p-ad2fa69f.system.entry.js} +1 -1
  131. package/dist/q2-tecton-elements/{p-fb316fec.entry.js → p-b1fb02bf.entry.js} +1 -1
  132. package/dist/q2-tecton-elements/{p-1d610ca3.entry.js → p-b2a4162a.entry.js} +1 -1
  133. package/dist/q2-tecton-elements/{p-0301ee38.system.entry.js → p-b4637b36.system.entry.js} +1 -1
  134. package/dist/q2-tecton-elements/{p-c78e1b7c.system.entry.js → p-b88eabe8.system.entry.js} +1 -1
  135. package/dist/q2-tecton-elements/{p-64526ee4.entry.js → p-b96a2e11.entry.js} +1 -1
  136. package/dist/q2-tecton-elements/{p-b69ad58e.entry.js → p-bc15b363.entry.js} +1 -1
  137. package/dist/q2-tecton-elements/{p-9147bc6d.entry.js → p-c164ff6e.entry.js} +1 -1
  138. package/dist/q2-tecton-elements/{p-8ad7a53e.entry.js → p-c96424ae.entry.js} +1 -1
  139. package/dist/q2-tecton-elements/{p-78e5e68c.js → p-ce2eb03c.js} +1 -1
  140. package/dist/q2-tecton-elements/{p-e0339bce.system.entry.js → p-ce8573ad.system.entry.js} +1 -1
  141. package/dist/q2-tecton-elements/{p-484792a3.entry.js → p-d3d487ce.entry.js} +1 -1
  142. package/dist/q2-tecton-elements/{p-4126f9eb.system.entry.js → p-dbf210b9.system.entry.js} +1 -1
  143. package/dist/q2-tecton-elements/{p-a4fc5cb9.system.entry.js → p-e41762c1.system.entry.js} +1 -1
  144. package/dist/q2-tecton-elements/{p-6df877cb.system.entry.js → p-f01bebc8.system.entry.js} +1 -1
  145. package/dist/q2-tecton-elements/{p-2d49c74e.system.js → p-f08aea0c.system.js} +1 -1
  146. package/dist/q2-tecton-elements/{p-938d5bbf.entry.js → p-f15af226.entry.js} +1 -1
  147. package/dist/q2-tecton-elements/{p-43dc7121.entry.js → p-f6023957.entry.js} +1 -1
  148. package/dist/q2-tecton-elements/{p-c58b223f.system.entry.js → p-f6f4572b.system.entry.js} +1 -1
  149. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  150. package/dist/q2-tecton-elements/q2-tecton-elements.js +1 -1
  151. package/dist/types/components/tecton-tab-pane/index.d.ts +0 -1
  152. package/package.json +2 -2
  153. package/dist/q2-tecton-elements/p-7ff881d1.js +0 -1
  154. package/dist/q2-tecton-elements/p-992f190b.entry.js +0 -1
@@ -11,7 +11,7 @@ var __extends = (this && this.__extends) || (function () {
11
11
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
12
  };
13
13
  })();
14
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-34b1f583.js';
14
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-b70f7228.js';
15
15
  import { c as createGuid } from './index-ff056163.js';
16
16
  function isFunction(x) {
17
17
  return typeof x === 'function';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-34b1f583.js';
1
+ import { r as registerInstance, h } from './index-b70f7228.js';
2
2
  var stylesCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.tab-pane[aria-hidden='true']{display:none}.tab-pane:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}";
3
3
  var Q2TabPane = /** @class */ (function () {
4
4
  function Q2TabPane(hostRef) {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-34b1f583.js';
2
- import { p as patchBrowser } from './patch-6cd50c08.js';
1
+ import { b as bootstrapLazy } from './index-b70f7228.js';
2
+ import { p as patchBrowser } from './patch-187aa2d6.js';
3
3
  patchBrowser().then(function (options) {
4
4
  return bootstrapLazy([["q2-calendar", [[1, "q2-calendar", { "value": [1537], "label": [513], "ariaLabel": [513, "aria-label"], "optional": [516], "disabled": [516], "invalid": [516], "placeholder": [513], "buttonLabel": [513, "button-label"], "disabledMsg": [513, "disabled-msg"], "calendarLabel": [513, "calendar-label"], "disclaimer": [513], "displayFormat": [513, "display-format"], "startDate": [513, "start-date"], "endDate": [513, "end-date"], "cutoffTime": [513, "cutoff-time"], "daysOfWeekChecksum": [514, "days-of-week-checksum"], "popDirection": [513, "pop-direction"], "errors": [16], "invalidDates": [16], "validDates": [16], "onsuccess": [16], "dropdownOpen": [32], "dateList": [32] }, [[0, "change", "defaultChangeHandler"], [0, "error", "defaultErrorHandler"], [0, "success", "defaultSuccessHandler"]]]]], ["q2-select", [[1, "q2-select", { "label": [513], "value": [1025], "ariaLabel": [513, "aria-label"], "selectedOptions": [1032, "selected-options"], "disabled": [516], "invalid": [516], "errors": [16], "multiple": [516], "searchable": [516], "multilineOptions": [516, "multiline-options"], "optional": [516], "dropdownOpen": [32], "onlyShowingSelected": [32], "activeOptionId": [32], "searchText": [32], "hasCustomDisplay": [32], "inputFocused": [32] }, [[0, "change", "onHostElementChange"], [0, "input", "onHostElementInput"], [0, "click", "clickHandler"], [0, "keydown", "keydownHandler"]]]]], ["q2-dropdown", [[1, "q2-dropdown", { "type": [513], "icon": [513], "label": [513], "ariaLabel": [513, "aria-label"], "disabled": [516], "popDirection": [513, "pop-direction"], "name": [513], "context": [513], "contextValue": [513, "context-value"], "dropdownOpen": [32] }]]], ["q2-editable-field", [[1, "q2-editable-field", { "value": [1537], "editing": [516], "label": [513], "ariaLabel": [513, "aria-label"], "type": [513], "formatModifier": [513, "format-modifier"], "truncated": [513], "maxlength": [514], "persistentLabel": [516, "persistent-label"], "hints": [16], "errors": [16] }, [[0, "change", "onHostElementChange"]]]]], ["q2-section", [[1, "q2-section", { "label": [513], "collapsible": [516], "noCollapseIcon": [516, "no-collapse-icon"], "expanded": [1540], "contentHeight": [32], "hasYieldedHeader": [32] }, [[0, "change", "defaultChangeHandler"]]]]], ["q2-carousel", [[4, "q2-carousel", { "autoPlay": [516, "auto-play"], "fullWidthPanes": [516, "full-width-panes"], "hidePagination": [516, "hide-pagination"], "showNavigationArrows": [516, "show-navigation-arrows"], "ariaLabel": [513, "aria-label"], "index": [514], "universalCarouselOptions": [32], "fullWidthDisplayOptions": [32], "swiper": [32], "activePaneIndex": [32], "applyFocus": [32], "compactMode": [32], "autoPlayInProgress": [32], "carouselWrapperWidth": [32], "tabIndex": [32] }, [[0, "change", "onHostElementChange"]]]]], ["q2-checkbox", [[1, "q2-checkbox", { "checked": [1540], "type": [513], "label": [513], "ariaLabel": [513, "aria-label"], "indeterminate": [516], "disabled": [516], "value": [513], "name": [513], "hasError": [516, "has-error"], "groupDisabled": [516, "group-disabled"], "alignment": [513] }, [[0, "change", "defaultChangeHandler"]]]]], ["q2-checkbox-group", [[1, "q2-checkbox-group", { "label": [513], "value": [1040], "disabled": [516], "optional": [516], "hasError": [516, "has-error"] }, [[0, "change", "onHostElementChange"]]]]], ["q2-option", [[1, "q2-option", { "display": [513], "value": [513], "disabled": [516], "optionId": [513, "option-id"], "disabledGroup": [516, "disabled-group"], "selected": [516], "hidden": [516], "multiline": [516], "active": [516], "_multiSelectHidden": [516, "_multiselecthidden"] }]]], ["q2-radio-group", [[1, "q2-radio-group", { "label": [513], "value": [1025], "disabled": [516], "name": [513], "optional": [516], "tilelayout": [516], "tileAlignment": [513, "tile-alignment"], "hasError": [516, "has-error"] }, [[0, "change", "onHostElementChange"]]]]], ["q2-tab-container", [[1, "q2-tab-container", { "value": [1537], "type": [513], "name": [513], "color": [513], "hasLeft": [32], "hasRight": [32], "tabs": [32] }, [[0, "change", "defaultChangeHandler"]]]]], ["q2-avatar", [[1, "q2-avatar", { "name": [513], "src": [513], "badSrc": [32] }]]], ["q2-carousel-pane", [[4, "q2-carousel-pane", { "index": [2], "siblingCount": [2, "sibling-count"], "hideFromScreenReader": [516, "hide-from-screen-reader"], "isActivePane": [516, "is-active-pane"], "label": [513] }]]], ["q2-loading", [[1, "q2-loading", { "type": [513], "shape": [513], "modifiers": [513], "counts": [513], "ariaLabel": [513, "aria-label"], "inline": [516] }]]], ["q2-loading-element", [[0, "q2-loading-element", { "shape": [513], "width": [513], "height": [513], "borderRadius": [513, "border-radius"] }]]], ["q2-loc", [[1, "q2-loc", { "value": [513], "substitutions": [16] }]]], ["q2-optgroup", [[1, "q2-optgroup", { "disabled": [516], "label": [513], "hidden": [32] }]]], ["q2-radio", [[4, "q2-radio", { "label": [513], "value": [513], "disabled": [516], "checked": [516], "name": [513], "ariaLabel": [513, "aria-label"], "groupDisabled": [4, "group-disabled"], "groupTileLayout": [4, "group-tile-layout"] }, [[0, "click", "onHostClick"]]]]], ["q2-tab-pane", [[1, "q2-tab-pane", { "value": [513], "label": [513], "name": [513], "selected": [516], "index": [2], "guid": [2] }]]], ["tecton-tab-pane", [[1, "tecton-tab-pane", { "value": [513], "label": [513], "name": [513], "selected": [516], "index": [2], "guid": [2], "provided": [516], "url": [513], "moduleId": [513, "module-id"], "minHeight": [513, "min-height"], "authPayload": [16], "showForm": [4, "show-form"], "_showForm": [32] }]]], ["q2-btn", [[1, "q2-btn", { "ariaExpanded": [4, "aria-expanded"], "ariaHasPopup": [8, "aria-has-popup"], "ariaControls": [1, "aria-controls"], "ariaSelected": [4, "aria-selected"], "ariaLabel": [513, "aria-label"], "tabIndex": [2, "tab-index"], "disabled": [516], "type": [513], "icon": [516], "badge": [516], "active": [516], "fab": [516] }, [[2, "click", "disable"], [0, "focus", "delegateFocus"]]]]], ["q2-icon", [[1, "q2-icon", { "type": [513] }]]], ["q2-dropdown-item", [[1, "q2-dropdown-item", { "disabled": [516], "removable": [516], "separator": [516], "label": [513], "ariaLabel": [513, "aria-label"], "value": [513] }, [[0, "focus", "onHostElementFocus"]]]]], ["click-elsewhere", [[0, "click-elsewhere"]]], ["q2-input_2", [[1, "q2-input", { "value": [1025], "label": [513], "type": [513], "placeholder": [513], "disabled": [516], "autocomplete": [513], "autocorrect": [513], "autocapitalize": [513], "hideMessages": [516, "hide-messages"], "iconLeft": [513, "icon-left"], "iconRight": [513, "icon-right"], "readonly": [516], "clearable": [516], "optional": [516], "formatModifier": [513, "format-modifier"], "maxlength": [514], "pseudo": [516], "ariaControls": [1, "aria-controls"], "role": [1], "ariaOwns": [1, "aria-owns"], "ariaLabel": [1, "aria-label"], "ariaHaspopup": [1, "aria-haspopup"], "ariaExpanded": [4, "aria-expanded"], "ariaActivedescendant": [8, "aria-activedescendant"], "errors": [16], "hints": [16], "formattedValueObject": [32], "hasFocus": [32] }, [[0, "focus", "onHostElementFocus"], [0, "change", "onHostElementChange"]]], [1, "q2-message", { "type": [513], "appearance": [513], "description": [516] }]]]], options);
5
5
  });
@@ -1,4 +1,4 @@
1
- import { h } from './index-34b1f583.js';
1
+ import { h } from './index-b70f7228.js';
2
2
  var atoms = {
3
3
  circle: function (_d) {
4
4
  var width = _d.width, additionalClasses = _d.additionalClasses;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-34b1f583.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-b70f7228.js';
2
2
  var stylesCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.tab-pane[aria-hidden='true']{display:none}.tab-pane:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}.loading-wrapper{height:44px;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.loading-wrapper:not([hidden]){display:-ms-flexbox;display:flex}iframe{width:100%;height:auto;overflow-y:hidden;border:none}iframe:not([hidden]){display:inline-block}.slot-wrapper:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}";
3
3
  var TectonTabPane = /** @class */ (function () {
4
4
  function TectonTabPane(hostRef) {
@@ -21,10 +21,6 @@ var TectonTabPane = /** @class */ (function () {
21
21
  enumerable: false,
22
22
  configurable: true
23
23
  });
24
- ///////// Lifecycle Hooks /////////
25
- TectonTabPane.prototype.componentWillRender = function () {
26
- this._showForm = this.showForm;
27
- };
28
24
  TectonTabPane.prototype.componentDidRender = function () {
29
25
  var formElement = this.hostElement.shadowRoot.querySelector('form');
30
26
  if (!!formElement && !!formElement.parentElement) {
@@ -1 +1 @@
1
- System.register(["./p-2d49c74e.system.js","./p-a713c5fc.system.js"],(function(){"use strict";var e,a;return{setters:[function(a){e=a.b},function(e){a=e.p}],execute:function(){a().then((function(a){return e([["p-0301ee38.system",[[1,"q2-calendar",{value:[1537],label:[513],ariaLabel:[513,"aria-label"],optional:[516],disabled:[516],invalid:[516],placeholder:[513],buttonLabel:[513,"button-label"],disabledMsg:[513,"disabled-msg"],calendarLabel:[513,"calendar-label"],disclaimer:[513],displayFormat:[513,"display-format"],startDate:[513,"start-date"],endDate:[513,"end-date"],cutoffTime:[513,"cutoff-time"],daysOfWeekChecksum:[514,"days-of-week-checksum"],popDirection:[513,"pop-direction"],errors:[16],invalidDates:[16],validDates:[16],onsuccess:[16],dropdownOpen:[32],dateList:[32]},[[0,"change","defaultChangeHandler"],[0,"error","defaultErrorHandler"],[0,"success","defaultSuccessHandler"]]]]],["p-3082637e.system",[[1,"q2-select",{label:[513],value:[1025],ariaLabel:[513,"aria-label"],selectedOptions:[1032,"selected-options"],disabled:[516],invalid:[516],errors:[16],multiple:[516],searchable:[516],multilineOptions:[516,"multiline-options"],optional:[516],dropdownOpen:[32],onlyShowingSelected:[32],activeOptionId:[32],searchText:[32],hasCustomDisplay:[32],inputFocused:[32]},[[0,"change","onHostElementChange"],[0,"input","onHostElementInput"],[0,"click","clickHandler"],[0,"keydown","keydownHandler"]]]]],["p-8815f594.system",[[1,"q2-dropdown",{type:[513],icon:[513],label:[513],ariaLabel:[513,"aria-label"],disabled:[516],popDirection:[513,"pop-direction"],name:[513],context:[513],contextValue:[513,"context-value"],dropdownOpen:[32]}]]],["p-4126f9eb.system",[[1,"q2-editable-field",{value:[1537],editing:[516],label:[513],ariaLabel:[513,"aria-label"],type:[513],formatModifier:[513,"format-modifier"],truncated:[513],maxlength:[514],persistentLabel:[516,"persistent-label"],hints:[16],errors:[16]},[[0,"change","onHostElementChange"]]]]],["p-6adbe95b.system",[[1,"q2-section",{label:[513],collapsible:[516],noCollapseIcon:[516,"no-collapse-icon"],expanded:[1540],contentHeight:[32],hasYieldedHeader:[32]},[[0,"change","defaultChangeHandler"]]]]],["p-ea6f547c.system",[[4,"q2-carousel",{autoPlay:[516,"auto-play"],fullWidthPanes:[516,"full-width-panes"],hidePagination:[516,"hide-pagination"],showNavigationArrows:[516,"show-navigation-arrows"],ariaLabel:[513,"aria-label"],index:[514],universalCarouselOptions:[32],fullWidthDisplayOptions:[32],swiper:[32],activePaneIndex:[32],applyFocus:[32],compactMode:[32],autoPlayInProgress:[32],carouselWrapperWidth:[32],tabIndex:[32]},[[0,"change","onHostElementChange"]]]]],["p-1ba8463c.system",[[1,"q2-checkbox",{checked:[1540],type:[513],label:[513],ariaLabel:[513,"aria-label"],indeterminate:[516],disabled:[516],value:[513],name:[513],hasError:[516,"has-error"],groupDisabled:[516,"group-disabled"],alignment:[513]},[[0,"change","defaultChangeHandler"]]]]],["p-9c408e3b.system",[[1,"q2-checkbox-group",{label:[513],value:[1040],disabled:[516],optional:[516],hasError:[516,"has-error"]},[[0,"change","onHostElementChange"]]]]],["p-6df877cb.system",[[1,"q2-option",{display:[513],value:[513],disabled:[516],optionId:[513,"option-id"],disabledGroup:[516,"disabled-group"],selected:[516],hidden:[516],multiline:[516],active:[516],_multiSelectHidden:[516,"_multiselecthidden"]}]]],["p-72742d91.system",[[1,"q2-radio-group",{label:[513],value:[1025],disabled:[516],name:[513],optional:[516],tilelayout:[516],tileAlignment:[513,"tile-alignment"],hasError:[516,"has-error"]},[[0,"change","onHostElementChange"]]]]],["p-a4fc5cb9.system",[[1,"q2-tab-container",{value:[1537],type:[513],name:[513],color:[513],hasLeft:[32],hasRight:[32],tabs:[32]},[[0,"change","defaultChangeHandler"]]]]],["p-c58b223f.system",[[1,"q2-avatar",{name:[513],src:[513],badSrc:[32]}]]],["p-fc450348.system",[[4,"q2-carousel-pane",{index:[2],siblingCount:[2,"sibling-count"],hideFromScreenReader:[516,"hide-from-screen-reader"],isActivePane:[516,"is-active-pane"],label:[513]}]]],["p-10502b27.system",[[1,"q2-loading",{type:[513],shape:[513],modifiers:[513],counts:[513],ariaLabel:[513,"aria-label"],inline:[516]}]]],["p-c81dc9f0.system",[[0,"q2-loading-element",{shape:[513],width:[513],height:[513],borderRadius:[513,"border-radius"]}]]],["p-ee20ba95.system",[[1,"q2-loc",{value:[513],substitutions:[16]}]]],["p-979c3b07.system",[[1,"q2-optgroup",{disabled:[516],label:[513],hidden:[32]}]]],["p-c78e1b7c.system",[[4,"q2-radio",{label:[513],value:[513],disabled:[516],checked:[516],name:[513],ariaLabel:[513,"aria-label"],groupDisabled:[4,"group-disabled"],groupTileLayout:[4,"group-tile-layout"]},[[0,"click","onHostClick"]]]]],["p-de531333.system",[[1,"q2-tab-pane",{value:[513],label:[513],name:[513],selected:[516],index:[2],guid:[2]}]]],["p-e0339bce.system",[[1,"tecton-tab-pane",{value:[513],label:[513],name:[513],selected:[516],index:[2],guid:[2],provided:[516],url:[513],moduleId:[513,"module-id"],minHeight:[513,"min-height"],authPayload:[16],showForm:[4,"show-form"],_showForm:[32]}]]],["p-c6aba736.system",[[1,"q2-btn",{ariaExpanded:[4,"aria-expanded"],ariaHasPopup:[8,"aria-has-popup"],ariaControls:[1,"aria-controls"],ariaSelected:[4,"aria-selected"],ariaLabel:[513,"aria-label"],tabIndex:[2,"tab-index"],disabled:[516],type:[513],icon:[516],badge:[516],active:[516],fab:[516]},[[2,"click","disable"],[0,"focus","delegateFocus"]]]]],["p-1dc36e58.system",[[1,"q2-icon",{type:[513]}]]],["p-a53cd78f.system",[[1,"q2-dropdown-item",{disabled:[516],removable:[516],separator:[516],label:[513],ariaLabel:[513,"aria-label"],value:[513]},[[0,"focus","onHostElementFocus"]]]]],["p-4ff290be.system",[[0,"click-elsewhere"]]],["p-7b7decfe.system",[[1,"q2-input",{value:[1025],label:[513],type:[513],placeholder:[513],disabled:[516],autocomplete:[513],autocorrect:[513],autocapitalize:[513],hideMessages:[516,"hide-messages"],iconLeft:[513,"icon-left"],iconRight:[513,"icon-right"],readonly:[516],clearable:[516],optional:[516],formatModifier:[513,"format-modifier"],maxlength:[514],pseudo:[516],ariaControls:[1,"aria-controls"],role:[1],ariaOwns:[1,"aria-owns"],ariaLabel:[1,"aria-label"],ariaHaspopup:[1,"aria-haspopup"],ariaExpanded:[4,"aria-expanded"],ariaActivedescendant:[8,"aria-activedescendant"],errors:[16],hints:[16],formattedValueObject:[32],hasFocus:[32]},[[0,"focus","onHostElementFocus"],[0,"change","onHostElementChange"]]],[1,"q2-message",{type:[513],appearance:[513],description:[516]}]]]],a)}))}}}));
1
+ System.register(["./p-f08aea0c.system.js","./p-06e01d71.system.js"],(function(){"use strict";var e,a;return{setters:[function(a){e=a.b},function(e){a=e.p}],execute:function(){a().then((function(a){return e([["p-b4637b36.system",[[1,"q2-calendar",{value:[1537],label:[513],ariaLabel:[513,"aria-label"],optional:[516],disabled:[516],invalid:[516],placeholder:[513],buttonLabel:[513,"button-label"],disabledMsg:[513,"disabled-msg"],calendarLabel:[513,"calendar-label"],disclaimer:[513],displayFormat:[513,"display-format"],startDate:[513,"start-date"],endDate:[513,"end-date"],cutoffTime:[513,"cutoff-time"],daysOfWeekChecksum:[514,"days-of-week-checksum"],popDirection:[513,"pop-direction"],errors:[16],invalidDates:[16],validDates:[16],onsuccess:[16],dropdownOpen:[32],dateList:[32]},[[0,"change","defaultChangeHandler"],[0,"error","defaultErrorHandler"],[0,"success","defaultSuccessHandler"]]]]],["p-5f0adaa9.system",[[1,"q2-select",{label:[513],value:[1025],ariaLabel:[513,"aria-label"],selectedOptions:[1032,"selected-options"],disabled:[516],invalid:[516],errors:[16],multiple:[516],searchable:[516],multilineOptions:[516,"multiline-options"],optional:[516],dropdownOpen:[32],onlyShowingSelected:[32],activeOptionId:[32],searchText:[32],hasCustomDisplay:[32],inputFocused:[32]},[[0,"change","onHostElementChange"],[0,"input","onHostElementInput"],[0,"click","clickHandler"],[0,"keydown","keydownHandler"]]]]],["p-535687b4.system",[[1,"q2-dropdown",{type:[513],icon:[513],label:[513],ariaLabel:[513,"aria-label"],disabled:[516],popDirection:[513,"pop-direction"],name:[513],context:[513],contextValue:[513,"context-value"],dropdownOpen:[32]}]]],["p-dbf210b9.system",[[1,"q2-editable-field",{value:[1537],editing:[516],label:[513],ariaLabel:[513,"aria-label"],type:[513],formatModifier:[513,"format-modifier"],truncated:[513],maxlength:[514],persistentLabel:[516,"persistent-label"],hints:[16],errors:[16]},[[0,"change","onHostElementChange"]]]]],["p-a68a88bb.system",[[1,"q2-section",{label:[513],collapsible:[516],noCollapseIcon:[516,"no-collapse-icon"],expanded:[1540],contentHeight:[32],hasYieldedHeader:[32]},[[0,"change","defaultChangeHandler"]]]]],["p-843fdb33.system",[[4,"q2-carousel",{autoPlay:[516,"auto-play"],fullWidthPanes:[516,"full-width-panes"],hidePagination:[516,"hide-pagination"],showNavigationArrows:[516,"show-navigation-arrows"],ariaLabel:[513,"aria-label"],index:[514],universalCarouselOptions:[32],fullWidthDisplayOptions:[32],swiper:[32],activePaneIndex:[32],applyFocus:[32],compactMode:[32],autoPlayInProgress:[32],carouselWrapperWidth:[32],tabIndex:[32]},[[0,"change","onHostElementChange"]]]]],["p-1113bf25.system",[[1,"q2-checkbox",{checked:[1540],type:[513],label:[513],ariaLabel:[513,"aria-label"],indeterminate:[516],disabled:[516],value:[513],name:[513],hasError:[516,"has-error"],groupDisabled:[516,"group-disabled"],alignment:[513]},[[0,"change","defaultChangeHandler"]]]]],["p-9f4d9ea2.system",[[1,"q2-checkbox-group",{label:[513],value:[1040],disabled:[516],optional:[516],hasError:[516,"has-error"]},[[0,"change","onHostElementChange"]]]]],["p-f01bebc8.system",[[1,"q2-option",{display:[513],value:[513],disabled:[516],optionId:[513,"option-id"],disabledGroup:[516,"disabled-group"],selected:[516],hidden:[516],multiline:[516],active:[516],_multiSelectHidden:[516,"_multiselecthidden"]}]]],["p-4fd89735.system",[[1,"q2-radio-group",{label:[513],value:[1025],disabled:[516],name:[513],optional:[516],tilelayout:[516],tileAlignment:[513,"tile-alignment"],hasError:[516,"has-error"]},[[0,"change","onHostElementChange"]]]]],["p-e41762c1.system",[[1,"q2-tab-container",{value:[1537],type:[513],name:[513],color:[513],hasLeft:[32],hasRight:[32],tabs:[32]},[[0,"change","defaultChangeHandler"]]]]],["p-f6f4572b.system",[[1,"q2-avatar",{name:[513],src:[513],badSrc:[32]}]]],["p-ad2fa69f.system",[[4,"q2-carousel-pane",{index:[2],siblingCount:[2,"sibling-count"],hideFromScreenReader:[516,"hide-from-screen-reader"],isActivePane:[516,"is-active-pane"],label:[513]}]]],["p-8dfd0e89.system",[[1,"q2-loading",{type:[513],shape:[513],modifiers:[513],counts:[513],ariaLabel:[513,"aria-label"],inline:[516]}]]],["p-a53e34ff.system",[[0,"q2-loading-element",{shape:[513],width:[513],height:[513],borderRadius:[513,"border-radius"]}]]],["p-3d8e5455.system",[[1,"q2-loc",{value:[513],substitutions:[16]}]]],["p-4b737f84.system",[[1,"q2-optgroup",{disabled:[516],label:[513],hidden:[32]}]]],["p-b88eabe8.system",[[4,"q2-radio",{label:[513],value:[513],disabled:[516],checked:[516],name:[513],ariaLabel:[513,"aria-label"],groupDisabled:[4,"group-disabled"],groupTileLayout:[4,"group-tile-layout"]},[[0,"click","onHostClick"]]]]],["p-3a2e7aad.system",[[1,"q2-tab-pane",{value:[513],label:[513],name:[513],selected:[516],index:[2],guid:[2]}]]],["p-ce8573ad.system",[[1,"tecton-tab-pane",{value:[513],label:[513],name:[513],selected:[516],index:[2],guid:[2],provided:[516],url:[513],moduleId:[513,"module-id"],minHeight:[513,"min-height"],authPayload:[16],showForm:[4,"show-form"],_showForm:[32]}]]],["p-33a4a4e6.system",[[1,"q2-btn",{ariaExpanded:[4,"aria-expanded"],ariaHasPopup:[8,"aria-has-popup"],ariaControls:[1,"aria-controls"],ariaSelected:[4,"aria-selected"],ariaLabel:[513,"aria-label"],tabIndex:[2,"tab-index"],disabled:[516],type:[513],icon:[516],badge:[516],active:[516],fab:[516]},[[2,"click","disable"],[0,"focus","delegateFocus"]]]]],["p-49ec33ae.system",[[1,"q2-icon",{type:[513]}]]],["p-208d0c6e.system",[[1,"q2-dropdown-item",{disabled:[516],removable:[516],separator:[516],label:[513],ariaLabel:[513,"aria-label"],value:[513]},[[0,"focus","onHostElementFocus"]]]]],["p-5adaa91d.system",[[0,"click-elsewhere"]]],["p-7e020511.system",[[1,"q2-input",{value:[1025],label:[513],type:[513],placeholder:[513],disabled:[516],autocomplete:[513],autocorrect:[513],autocapitalize:[513],hideMessages:[516,"hide-messages"],iconLeft:[513,"icon-left"],iconRight:[513,"icon-right"],readonly:[516],clearable:[516],optional:[516],formatModifier:[513,"format-modifier"],maxlength:[514],pseudo:[516],ariaControls:[1,"aria-controls"],role:[1],ariaOwns:[1,"aria-owns"],ariaLabel:[1,"aria-label"],ariaHaspopup:[1,"aria-haspopup"],ariaExpanded:[4,"aria-expanded"],ariaActivedescendant:[8,"aria-activedescendant"],errors:[16],hints:[16],formattedValueObject:[32],hasFocus:[32]},[[0,"focus","onHostElementFocus"],[0,"change","onHostElementChange"]]],[1,"q2-message",{type:[513],appearance:[513],description:[516]}]]]],a)}))}}}));
@@ -1 +1 @@
1
- System.register(["./p-2d49c74e.system.js"],(function(e,r){"use strict";var t,n,o,s,i,c;return{setters:[function(e){t=e.C;n=e.p;o=e.w;s=e.a;i=e.d;c=e.N}],execute:function(){var a=function(){};var u=typeof Deno!=="undefined";var f=!u&&typeof global!=="undefined"&&typeof require==="function"&&!!global.process&&typeof __filename==="string"&&(!global.origin||typeof global.origin!=="string");var p=u&&Deno.build.os==="windows";var l=f?process.cwd:u?Deno.cwd:function(){return"/"};var m=f?process.exit:u?Deno.exit:a;var d=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var v=e("a",(function(){if(!(t&&t.supports&&t.supports("color","var(--c)"))){return r.import("./p-03188b5b.system.js").then((function(){if(n.$cssShim$=o.__cssshim){return n.$cssShim$.i()}else{return 0}}))}return s()}));var w=e("p",(function(){{n.$cssShim$=o.__cssshim}var e=Array.from(i.querySelectorAll("script")).find((function(e){return new RegExp("/"+c+"(\\.esm)?\\.js($|\\?|#)").test(e.src)||e.getAttribute("data-stencil-namespace")===c}));var t=e["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{t.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,o.location.href)).href;{g(t.resourcesUrl,e)}if(!o.customElements){return r.import("./p-0b8ecd50.system.js").then((function(){return t}))}}return s(t)}));var g=function(e,r){var t=d(c);try{o[t]=new Function("w","return import(w);//"+Math.random())}catch(s){var n=new Map;o[t]=function(s){var c=new URL(s,e).href;var a=n.get(c);if(!a){var u=i.createElement("script");u.type="module";u.crossOrigin=r.crossOrigin;u.src=URL.createObjectURL(new Blob(["import * as m from '"+c+"'; window."+t+".m = m;"],{type:"application/javascript"}));a=new Promise((function(e){u.onload=function(){e(o[t].m);u.remove()}}));n.set(c,a);i.head.appendChild(u)}return a}}}}}}));
1
+ System.register(["./p-f08aea0c.system.js"],(function(e,r){"use strict";var t,n,o,s,i,c;return{setters:[function(e){t=e.C;n=e.p;o=e.w;s=e.a;i=e.d;c=e.N}],execute:function(){var a=function(){};var u=typeof Deno!=="undefined";var f=!u&&typeof global!=="undefined"&&typeof require==="function"&&!!global.process&&typeof __filename==="string"&&(!global.origin||typeof global.origin!=="string");var p=u&&Deno.build.os==="windows";var l=f?process.cwd:u?Deno.cwd:function(){return"/"};var m=f?process.exit:u?Deno.exit:a;var d=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var v=e("a",(function(){if(!(t&&t.supports&&t.supports("color","var(--c)"))){return r.import("./p-03188b5b.system.js").then((function(){if(n.$cssShim$=o.__cssshim){return n.$cssShim$.i()}else{return 0}}))}return s()}));var w=e("p",(function(){{n.$cssShim$=o.__cssshim}var e=Array.from(i.querySelectorAll("script")).find((function(e){return new RegExp("/"+c+"(\\.esm)?\\.js($|\\?|#)").test(e.src)||e.getAttribute("data-stencil-namespace")===c}));var t=e["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{t.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,o.location.href)).href;{g(t.resourcesUrl,e)}if(!o.customElements){return r.import("./p-0b8ecd50.system.js").then((function(){return t}))}}return s(t)}));var g=function(e,r){var t=d(c);try{o[t]=new Function("w","return import(w);//"+Math.random())}catch(s){var n=new Map;o[t]=function(s){var c=new URL(s,e).href;var a=n.get(c);if(!a){var u=i.createElement("script");u.type="module";u.crossOrigin=r.crossOrigin;u.src=URL.createObjectURL(new Blob(["import * as m from '"+c+"'; window."+t+".m = m;"],{type:"application/javascript"}));a=new Promise((function(e){u.onload=function(){e(o[t].m);u.remove()}}));n.set(c,a);i.head.appendChild(u)}return a}}}}}}));
@@ -1 +1 @@
1
- import{r as o,h as i}from"./p-7ff881d1.js";const n=class{constructor(i){o(this,i)}loc(o,i){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(o,i):o}render(){return i("span",null,this.value&&this.loc(this.value,this.substitutions)||"")}};n.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}";export{n as q2_loc}
1
+ import{r as o,h as i}from"./p-1a8e579d.js";const n=class{constructor(i){o(this,i)}loc(o,i){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(o,i):o}render(){return i("span",null,this.value&&this.loc(this.value,this.substitutions)||"")}};n.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}";export{n as q2_loc}
@@ -1 +1 @@
1
- System.register(["./p-2d49c74e.system.js","./p-4576db15.system.js"],(function(e){"use strict";var t,o,c,r,a;return{setters:[function(e){t=e.r;o=e.c;c=e.h;r=e.g},function(e){a=e.c}],execute:function(){var i="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block;padding:var(--tct-checkbox-vertical-padding, var(--tct-scale-2, var(--app-scale-2, 10px))) 0}label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;--q2-checkbox-outer-stroke-color:var(\n --tct-checkbox-outer-stroke-color,\n var(--tct-gray-l1, var(--app-gray-l1, #cccccc))\n );--q2-checkbox-outer-fill-color:var(\n --tct-checkbox-outer-fill-color,\n var(--tct-white, var(--app-white, #ffffff))\n );--q2-checkbox-favorite-fill:var(\n --tct-checkbox-favorite-fill-color,\n var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400))\n );--q2-checkbox-checked-color:var(\n --tct-checkbox-check-stroke-color,\n var(--t-checkbox-fill, var(--tct-gray-d2, var(--app-gray-d2, #404040)))\n )}input:disabled+label{opacity:var(\n --tct-checkbox-disabled-opacity,\n var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))\n )}.checkbox-icon{height:var(--tct-checkbox-size, 20px);width:var(--tct-checkbox-size, 20px);border-radius:var(\n --tct-checkbox-outer-border-radius,\n var(--tct-border-radius-1, var(--app-border-radius-1, 3px))\n );stroke:var(--q2-checkbox-outer-stroke-color);color:var(--q2-checkbox-outer-stroke-color);--t-icon-stroke-primary:var(--q2-checkbox-outer-stroke-color);stroke-width:var(--tct-checkbox-outer-stroke-width, 2);fill:var(--q2-checkbox-outer-fill-color);-ms-flex-negative:0;flex-shrink:0}input:focus+label .checkbox-icon{-webkit-box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff));box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff))}.checkbox-fill{stroke:var(--q2-checkbox-checked-color)}input:checked+label .checkbox-icon{fill:var(--tct-checkbox-checked-outer-fill-color, var(--q2-checkbox-outer-fill-color));stroke:var(--tct-checkbox-checked-outer-stroke-color, var(--q2-checkbox-outer-stroke-color))}input:focus+label .checkbox-icon{stroke:var(--tct-checkbox-focused-outer-stroke-color, var(--q2-checkbox-checked-color))}.checked-fill{stroke-width:var(--tct-checkbox-check-stroke-width, 2.5);stroke-linecap:round;stroke-linejoin:round}.indeterminate-fill{stroke-width:var(--tct-checkbox-indeterminate-stroke-width, 3.5)}.q2-checkbox-label-content{font-weight:var(--tct-checkbox-font-weight, 400);-ms-flex:1 1 auto;flex:1 1 auto;width:calc(\n 100% - var(--tct-checkbox-size, 20px) - var(--tct-scale-2, var(--app-scale-2, 10px))\n )}input:checked+label .q2-checkbox-label-content{font-weight:var(--tct-checkbox-selected-font-weight, 600);letter-spacing:var(--tct-checkbox-selected-letter-spacing, 0.25)}:host([type='favorite']) .checkbox-icon{--tct-icon-stroke-width:var(--tct-checkbox-favorite-stroke-width, 2.5);width:var(--tct-checkbox-size, 20px);height:var(--tct-checkbox-size, 20px);-webkit-transition:fill var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n stroke var(--tct-tween-2, var(--app-tween-2, 0.4s ease));transition:fill var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n stroke var(--tct-tween-2, var(--app-tween-2, 0.4s ease))}:host([type='favorite']) input:focus+label .checkbox-icon{color:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-primary:var(--q2-checkbox-favorite-fill)}:host([type='favorite']) input:checked+label .checkbox-icon{color:var(--q2-checkbox-favorite-fill);--t-icon-stroke-primary:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-primary:var(--q2-checkbox-favorite-fill);fill:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-width:1;-webkit-transition:fill var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n color var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n stroke var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:fill var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n color var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n stroke var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([alignment='right']) label,:host([type='toggle']:not([alignment='left'])) label{-ms-flex-flow:row-reverse;flex-flow:row-reverse}.checkbox-icon,:host([type='toggle'][alignment='left']) .toggle-svg{margin-right:var(--tct-scale-2, var(--app-scale-2, 10px));margin-left:0}:host([alignment='right']) .checkbox-icon,.toggle-svg{margin-right:0;margin-left:var(--tct-scale-2, var(--app-scale-2, 10px))}:host([type='toggle']) .toggle-svg{height:30px;width:46px;position:relative}:host([type='toggle']) .toggle-track,:host([type='toggle']) .toggle-indicator{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}:host([type='toggle']) .toggle-track{fill:var(--tct-checkbox-toggle-track-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));height:14px;width:46px}:host([type='toggle']) input:checked+label .toggle-track{fill:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color));opacity:0.5}:host([type='toggle']) .toggle-indicator{-webkit-transition:left var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:left var(--tct-tween-1, var(--app-tween-1, 0.2s ease));height:30px;width:30px;left:0;border-radius:50%}:host([type='toggle']) input:checked+label .toggle-indicator{left:21px}:host([type='toggle']) .toggle-circle{fill:var(--tct-checkbox-toggle-circle-color, var(--tct-gray, var(--app-gray, #999999)))}:host([type='toggle']) input:checked+label .toggle-circle{fill:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color))}:host([type='toggle']) input:checked+label .off,:host([type='toggle']) input:not(:checked)+label .on{opacity:0}:host([type='toggle']) input:focus+label .toggle-circle{stroke:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color));stroke-width:10px;stroke-opacity:0.5}:host([type='toggle']) input:not(:checked):focus+label .toggle-circle{stroke:var(--tct-checkbox-toggle-circle-color, var(--tct-gray, var(--app-gray, #999999)))}:host([type='toggle']) .checked-fill{stroke:var(--tct-checkbox-toggle-icon-stroke, var(--tct-white, var(--app-white, #ffffff)));-webkit-transition:opacity var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:opacity var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([type='toggle']) input:checked+label .checked-fill{stroke:var(--tct-checkbox-toggle-checked-icon-stroke, var(--t-checkbox-text, var(--tct-white, var(--app-white, #ffffff))))}";var l=e("q2_checkbox",function(){function e(e){var c=this;t(this,e);this.change=o(this,"change",7);this.checked=false;this.id="checkbox-"+a();this.onInputChange=function(e){e.stopPropagation();c.change.emit({value:e.target.value,checked:e.target.checked})}}e.prototype.loc=function(e,t){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(e,t):e};Object.defineProperty(e.prototype,"computedAriaLabel",{get:function(){return!this.label&&this.ariaLabel&&this.loc(this.ariaLabel)||undefined},enumerable:false,configurable:true});e.prototype.defaultChangeHandler=function(e){if(e.target===this.hostElement&&!this.hostElement.onchange&&!!e.detail){this.checked=e.detail.checked}};e.prototype.render=function(){return c("div",{class:"checkbox-container"},c("input",{id:this.id,type:"checkbox",checked:this.indeterminate||this.checked||false,disabled:!!this.disabled||!!this.groupDisabled,class:"sr",value:this.value,name:this.name||this.id,"aria-label":this.computedAriaLabel,onChange:this.onInputChange,"test-id":"q2CheckboxInnerCheckBox"}),c("label",{htmlFor:this.id,"test-id":"checkboxButton"},this.generateCheckboxSVG(),c("div",{class:"q2-checkbox-label-content"},this.label&&this.loc(this.label)||"",c("slot",null))))};e.prototype.generateCheckboxSVG=function(){if(this.type==="favorite"){return c("q2-icon",{type:"star",class:"checkbox-icon"})}if(this.type==="toggle"){return this.generateToggleSVG()}return c("svg",{"aria-hidden":"true",width:"20",height:"20",viewBox:"0 0 20 20",class:"checkbox-icon",focusable:"false"},c("rect",{fill:"none",x:"1",y:"1",width:"18",height:"18",rx:"3"}),(this.checked||this.indeterminate)&&this.generateCheckBoxSVGFill())};e.prototype.generateCheckBoxSVGFill=function(){if(this.indeterminate){return c("line",{class:"checkbox-fill indeterminate-fill",x1:"4",y1:"10",x2:"16",y2:"10"})}return c("polyline",{class:"checkbox-fill checked-fill",points:"5 11 8.5 14.5 15 6"})};e.prototype.generateToggleSVG=function(){return c("div",{class:"toggle-svg"},c("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 46 14",class:"toggle-track"},c("rect",{width:"36",height:"14",rx:"7",x:"5"})),c("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 30 30",class:"toggle-indicator"},c("circle",{class:"toggle-circle",width:"20",height:"20",cx:"15",cy:"15",r:"10"}),c("line",{class:"off checked-fill",x1:"12",y1:"18",x2:"18",y2:"12"}),c("line",{class:"off checked-fill",x1:"12",y1:"12",x2:"18",y2:"18"}),c("polyline",{class:"on checked-fill",points:"11,16 14,19 18,12 14,19"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());l.style=i}}}));
1
+ System.register(["./p-f08aea0c.system.js","./p-4576db15.system.js"],(function(e){"use strict";var t,o,c,r,a;return{setters:[function(e){t=e.r;o=e.c;c=e.h;r=e.g},function(e){a=e.c}],execute:function(){var i="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block;padding:var(--tct-checkbox-vertical-padding, var(--tct-scale-2, var(--app-scale-2, 10px))) 0}label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;--q2-checkbox-outer-stroke-color:var(\n --tct-checkbox-outer-stroke-color,\n var(--tct-gray-l1, var(--app-gray-l1, #cccccc))\n );--q2-checkbox-outer-fill-color:var(\n --tct-checkbox-outer-fill-color,\n var(--tct-white, var(--app-white, #ffffff))\n );--q2-checkbox-favorite-fill:var(\n --tct-checkbox-favorite-fill-color,\n var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400))\n );--q2-checkbox-checked-color:var(\n --tct-checkbox-check-stroke-color,\n var(--t-checkbox-fill, var(--tct-gray-d2, var(--app-gray-d2, #404040)))\n )}input:disabled+label{opacity:var(\n --tct-checkbox-disabled-opacity,\n var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))\n )}.checkbox-icon{height:var(--tct-checkbox-size, 20px);width:var(--tct-checkbox-size, 20px);border-radius:var(\n --tct-checkbox-outer-border-radius,\n var(--tct-border-radius-1, var(--app-border-radius-1, 3px))\n );stroke:var(--q2-checkbox-outer-stroke-color);color:var(--q2-checkbox-outer-stroke-color);--t-icon-stroke-primary:var(--q2-checkbox-outer-stroke-color);stroke-width:var(--tct-checkbox-outer-stroke-width, 2);fill:var(--q2-checkbox-outer-fill-color);-ms-flex-negative:0;flex-shrink:0}input:focus+label .checkbox-icon{-webkit-box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff));box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff))}.checkbox-fill{stroke:var(--q2-checkbox-checked-color)}input:checked+label .checkbox-icon{fill:var(--tct-checkbox-checked-outer-fill-color, var(--q2-checkbox-outer-fill-color));stroke:var(--tct-checkbox-checked-outer-stroke-color, var(--q2-checkbox-outer-stroke-color))}input:focus+label .checkbox-icon{stroke:var(--tct-checkbox-focused-outer-stroke-color, var(--q2-checkbox-checked-color))}.checked-fill{stroke-width:var(--tct-checkbox-check-stroke-width, 2.5);stroke-linecap:round;stroke-linejoin:round}.indeterminate-fill{stroke-width:var(--tct-checkbox-indeterminate-stroke-width, 3.5)}.q2-checkbox-label-content{font-weight:var(--tct-checkbox-font-weight, 400);-ms-flex:1 1 auto;flex:1 1 auto;width:calc(\n 100% - var(--tct-checkbox-size, 20px) - var(--tct-scale-2, var(--app-scale-2, 10px))\n )}input:checked+label .q2-checkbox-label-content{font-weight:var(--tct-checkbox-selected-font-weight, 600);letter-spacing:var(--tct-checkbox-selected-letter-spacing, 0.25)}:host([type='favorite']) .checkbox-icon{--tct-icon-stroke-width:var(--tct-checkbox-favorite-stroke-width, 2.5);width:var(--tct-checkbox-size, 20px);height:var(--tct-checkbox-size, 20px);-webkit-transition:fill var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n stroke var(--tct-tween-2, var(--app-tween-2, 0.4s ease));transition:fill var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n stroke var(--tct-tween-2, var(--app-tween-2, 0.4s ease))}:host([type='favorite']) input:focus+label .checkbox-icon{color:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-primary:var(--q2-checkbox-favorite-fill)}:host([type='favorite']) input:checked+label .checkbox-icon{color:var(--q2-checkbox-favorite-fill);--t-icon-stroke-primary:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-primary:var(--q2-checkbox-favorite-fill);fill:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-width:1;-webkit-transition:fill var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n color var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n stroke var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:fill var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n color var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n stroke var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([alignment='right']) label,:host([type='toggle']:not([alignment='left'])) label{-ms-flex-flow:row-reverse;flex-flow:row-reverse}.checkbox-icon,:host([type='toggle'][alignment='left']) .toggle-svg{margin-right:var(--tct-scale-2, var(--app-scale-2, 10px));margin-left:0}:host([alignment='right']) .checkbox-icon,.toggle-svg{margin-right:0;margin-left:var(--tct-scale-2, var(--app-scale-2, 10px))}:host([type='toggle']) .toggle-svg{height:30px;width:46px;position:relative}:host([type='toggle']) .toggle-track,:host([type='toggle']) .toggle-indicator{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}:host([type='toggle']) .toggle-track{fill:var(--tct-checkbox-toggle-track-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));height:14px;width:46px}:host([type='toggle']) input:checked+label .toggle-track{fill:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color));opacity:0.5}:host([type='toggle']) .toggle-indicator{-webkit-transition:left var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:left var(--tct-tween-1, var(--app-tween-1, 0.2s ease));height:30px;width:30px;left:0;border-radius:50%}:host([type='toggle']) input:checked+label .toggle-indicator{left:21px}:host([type='toggle']) .toggle-circle{fill:var(--tct-checkbox-toggle-circle-color, var(--tct-gray, var(--app-gray, #999999)))}:host([type='toggle']) input:checked+label .toggle-circle{fill:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color))}:host([type='toggle']) input:checked+label .off,:host([type='toggle']) input:not(:checked)+label .on{opacity:0}:host([type='toggle']) input:focus+label .toggle-circle{stroke:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color));stroke-width:10px;stroke-opacity:0.5}:host([type='toggle']) input:not(:checked):focus+label .toggle-circle{stroke:var(--tct-checkbox-toggle-circle-color, var(--tct-gray, var(--app-gray, #999999)))}:host([type='toggle']) .checked-fill{stroke:var(--tct-checkbox-toggle-icon-stroke, var(--tct-white, var(--app-white, #ffffff)));-webkit-transition:opacity var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:opacity var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([type='toggle']) input:checked+label .checked-fill{stroke:var(--tct-checkbox-toggle-checked-icon-stroke, var(--t-checkbox-text, var(--tct-white, var(--app-white, #ffffff))))}";var l=e("q2_checkbox",function(){function e(e){var c=this;t(this,e);this.change=o(this,"change",7);this.checked=false;this.id="checkbox-"+a();this.onInputChange=function(e){e.stopPropagation();c.change.emit({value:e.target.value,checked:e.target.checked})}}e.prototype.loc=function(e,t){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(e,t):e};Object.defineProperty(e.prototype,"computedAriaLabel",{get:function(){return!this.label&&this.ariaLabel&&this.loc(this.ariaLabel)||undefined},enumerable:false,configurable:true});e.prototype.defaultChangeHandler=function(e){if(e.target===this.hostElement&&!this.hostElement.onchange&&!!e.detail){this.checked=e.detail.checked}};e.prototype.render=function(){return c("div",{class:"checkbox-container"},c("input",{id:this.id,type:"checkbox",checked:this.indeterminate||this.checked||false,disabled:!!this.disabled||!!this.groupDisabled,class:"sr",value:this.value,name:this.name||this.id,"aria-label":this.computedAriaLabel,onChange:this.onInputChange,"test-id":"q2CheckboxInnerCheckBox"}),c("label",{htmlFor:this.id,"test-id":"checkboxButton"},this.generateCheckboxSVG(),c("div",{class:"q2-checkbox-label-content"},this.label&&this.loc(this.label)||"",c("slot",null))))};e.prototype.generateCheckboxSVG=function(){if(this.type==="favorite"){return c("q2-icon",{type:"star",class:"checkbox-icon"})}if(this.type==="toggle"){return this.generateToggleSVG()}return c("svg",{"aria-hidden":"true",width:"20",height:"20",viewBox:"0 0 20 20",class:"checkbox-icon",focusable:"false"},c("rect",{fill:"none",x:"1",y:"1",width:"18",height:"18",rx:"3"}),(this.checked||this.indeterminate)&&this.generateCheckBoxSVGFill())};e.prototype.generateCheckBoxSVGFill=function(){if(this.indeterminate){return c("line",{class:"checkbox-fill indeterminate-fill",x1:"4",y1:"10",x2:"16",y2:"10"})}return c("polyline",{class:"checkbox-fill checked-fill",points:"5 11 8.5 14.5 15 6"})};e.prototype.generateToggleSVG=function(){return c("div",{class:"toggle-svg"},c("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 46 14",class:"toggle-track"},c("rect",{width:"36",height:"14",rx:"7",x:"5"})),c("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 30 30",class:"toggle-indicator"},c("circle",{class:"toggle-circle",width:"20",height:"20",cx:"15",cy:"15",r:"10"}),c("line",{class:"off checked-fill",x1:"12",y1:"18",x2:"18",y2:"12"}),c("line",{class:"off checked-fill",x1:"12",y1:"12",x2:"18",y2:"18"}),c("polyline",{class:"on checked-fill",points:"11,16 14,19 18,12 14,19"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());l.style=i}}}));
@@ -1 +1 @@
1
- import{r as t,h as o,g as e}from"./p-7ff881d1.js";const i=class{constructor(o){t(this,o),this.onItemClick=t=>{t.stopImmediatePropagation(),this.hostElement.dispatchEvent(new CustomEvent("click",{detail:{type:"select",value:this.value||""},bubbles:!0}))},this.onItemKeydown=t=>{["ArrowRight","Right"].includes(t.key)&&this.focusRemoveBtn()},this.onItemFocus=t=>{t.stopPropagation()},this.onRemoveBtnClick=t=>{t.stopImmediatePropagation(),this.hostElement.dispatchEvent(new CustomEvent("click",{detail:{type:"remove",value:this.value||""},bubbles:!0}))},this.onRemoveBtnKeydown=t=>{["ArrowLeft","Left"].includes(t.key)&&this.focusItem()},this.onRemoveBtnFocus=t=>{t.stopPropagation()}}loc(t,o){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,o):t}get removeAriaLabel(){return this.loc("tecton.element.dropdownItem.remove",[this.label||""])}get dropdownItemBtn(){return this.hostElement.shadowRoot.querySelector(".dropdown-item")}get innerAriaLabel(){return this.ariaLabel||this.label||this.hostElement.textContent}get removeBtn(){return this.hostElement.shadowRoot.querySelector(".remove-dropdown-item")}onHostElementFocus(){event.target===this.hostElement&&this.focusItem()}focusItem(){this.dropdownItemBtn.dispatchEvent(new FocusEvent("focus",{bubbles:!1}))}focusRemoveBtn(){this.removeBtn&&this.removeBtn.dispatchEvent(new FocusEvent("focus",{bubbles:!1}))}render(){return this.separator?this.separatorDOM():this.itemDOM()}separatorDOM(){return o("div",{class:"dropdown-separator",role:"separator","test-id":"dropdownItemSeparator"})}itemDOM(){return o("div",{class:"dropdown-item-wrapper"},o("q2-btn",{class:"dropdown-item",ariaLabel:this.innerAriaLabel,disabled:!!this.disabled,role:"menuitem",onClick:this.onItemClick,onKeyDown:this.onItemKeydown,onFocus:this.onItemFocus,"test-id":"dropdownItem"},o("div",{class:"dropdown-item-content"},o("slot",null))),this.removable?o("q2-btn",{class:"remove-dropdown-item",ariaLabel:this.removeAriaLabel,disabled:!!this.disabled,role:"menuitem",icon:!0,onClick:this.onRemoveBtnClick,onKeyDown:this.onRemoveBtnKeydown,onFocus:this.onRemoveBtnFocus,"test-id":"removeDropdownItem"},o("q2-icon",{type:"close"})):"")}get hostElement(){return e(this)}};i.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.dropdown-separator{margin:0 var(--tct-scale-1, var(--app-scale-1, 5px));border-bottom:1px solid\n var(--tct-dropdown-item-separator-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)))}.dropdown-item-wrapper{display:-ms-flexbox;display:flex}.dropdown-item{min-height:44px;-ms-flex:1 1 100%;flex:1 1 100%;padding:var(--tct-dropdown-item-padding, 2px)}.dropdown-item-content{padding:12px var(--tct-scale-3, var(--app-scale-3, 15px));text-align:left;background-color:var(--tct-dropdown-item-bg, var(--tct-white, var(--app-white, #ffffff)));color:var(--tct-dropdown-item-font-color, inherit);-webkit-transition:background-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:background-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));overflow:hidden;text-overflow:ellipsis}:host(:not([disabled])) .dropdown-item-content:hover,:host(:not([disabled])) .dropdown-item:focus-within .dropdown-item-content{background-color:var(\n --tct-dropdown-item-selected-bg,\n var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))\n );color:var(--tct-dropdown-item-selected-font-color, inherit)}.remove-dropdown-item{-ms-flex:0 0 44px;flex:0 0 44px;margin:2px}";export{i as q2_dropdown_item}
1
+ import{r as t,h as o,g as e}from"./p-1a8e579d.js";const i=class{constructor(o){t(this,o),this.onItemClick=t=>{t.stopImmediatePropagation(),this.hostElement.dispatchEvent(new CustomEvent("click",{detail:{type:"select",value:this.value||""},bubbles:!0}))},this.onItemKeydown=t=>{["ArrowRight","Right"].includes(t.key)&&this.focusRemoveBtn()},this.onItemFocus=t=>{t.stopPropagation()},this.onRemoveBtnClick=t=>{t.stopImmediatePropagation(),this.hostElement.dispatchEvent(new CustomEvent("click",{detail:{type:"remove",value:this.value||""},bubbles:!0}))},this.onRemoveBtnKeydown=t=>{["ArrowLeft","Left"].includes(t.key)&&this.focusItem()},this.onRemoveBtnFocus=t=>{t.stopPropagation()}}loc(t,o){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,o):t}get removeAriaLabel(){return this.loc("tecton.element.dropdownItem.remove",[this.label||""])}get dropdownItemBtn(){return this.hostElement.shadowRoot.querySelector(".dropdown-item")}get innerAriaLabel(){return this.ariaLabel||this.label||this.hostElement.textContent}get removeBtn(){return this.hostElement.shadowRoot.querySelector(".remove-dropdown-item")}onHostElementFocus(){event.target===this.hostElement&&this.focusItem()}focusItem(){this.dropdownItemBtn.dispatchEvent(new FocusEvent("focus",{bubbles:!1}))}focusRemoveBtn(){this.removeBtn&&this.removeBtn.dispatchEvent(new FocusEvent("focus",{bubbles:!1}))}render(){return this.separator?this.separatorDOM():this.itemDOM()}separatorDOM(){return o("div",{class:"dropdown-separator",role:"separator","test-id":"dropdownItemSeparator"})}itemDOM(){return o("div",{class:"dropdown-item-wrapper"},o("q2-btn",{class:"dropdown-item",ariaLabel:this.innerAriaLabel,disabled:!!this.disabled,role:"menuitem",onClick:this.onItemClick,onKeyDown:this.onItemKeydown,onFocus:this.onItemFocus,"test-id":"dropdownItem"},o("div",{class:"dropdown-item-content"},o("slot",null))),this.removable?o("q2-btn",{class:"remove-dropdown-item",ariaLabel:this.removeAriaLabel,disabled:!!this.disabled,role:"menuitem",icon:!0,onClick:this.onRemoveBtnClick,onKeyDown:this.onRemoveBtnKeydown,onFocus:this.onRemoveBtnFocus,"test-id":"removeDropdownItem"},o("q2-icon",{type:"close"})):"")}get hostElement(){return e(this)}};i.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.dropdown-separator{margin:0 var(--tct-scale-1, var(--app-scale-1, 5px));border-bottom:1px solid\n var(--tct-dropdown-item-separator-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)))}.dropdown-item-wrapper{display:-ms-flexbox;display:flex}.dropdown-item{min-height:44px;-ms-flex:1 1 100%;flex:1 1 100%;padding:var(--tct-dropdown-item-padding, 2px)}.dropdown-item-content{padding:12px var(--tct-scale-3, var(--app-scale-3, 15px));text-align:left;background-color:var(--tct-dropdown-item-bg, var(--tct-white, var(--app-white, #ffffff)));color:var(--tct-dropdown-item-font-color, inherit);-webkit-transition:background-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:background-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));overflow:hidden;text-overflow:ellipsis}:host(:not([disabled])) .dropdown-item-content:hover,:host(:not([disabled])) .dropdown-item:focus-within .dropdown-item-content{background-color:var(\n --tct-dropdown-item-selected-bg,\n var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))\n );color:var(--tct-dropdown-item-selected-font-color, inherit)}.remove-dropdown-item{-ms-flex:0 0 44px;flex:0 0 44px;margin:2px}";export{i as q2_dropdown_item}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,g as i}from"./p-1a8e579d.js";const o=class{constructor(e){t(this,e),this.onIFrameLoad=t=>{const e=t.target;e.contentWindow&&e.contentWindow.postMessage(`[iFrameSizer]${this.moduleId}:0:false:false:32:true:true:null:documentElementOffset`,"*")}}get iframeTitle(){return this.moduleId.split(".").slice(-2).join("-")}componentDidRender(){const t=this.hostElement.shadowRoot.querySelector("form");t&&t.parentElement&&(t.submit(),this._showForm=!1)}selectedObserver(){this._showForm=this.showForm}render(){return e("div",{id:`tab-pane-${this.guid}-${this.index}`,class:"tab-pane"+(this.selected?"":" hidden"),role:"tabpanel",tabindex:"-1","aria-expanded":""+!!this.selected,"aria-hidden":""+!this.selected,"aria-labelledby":`tab-${this.guid}-${this.index}`},this.selected&&void 0!==this.provided&&!this.provided&&e("div",null,e("slot",{name:"loading-wrapper"}),e("iframe",{hidden:!0,name:this.moduleId,scrolling:"no",src:this.showForm&&this.authPayload.length?"":this.url||"","data-module-id":this.moduleId,style:this.minHeight?{minHeight:this.minHeight}:null,onLoad:this.onIFrameLoad,title:this.iframeTitle,allow:"geolocation; camera"}),this._showForm&&this.authPayload?e("form",{hidden:!0,method:"post",action:this.url,target:this.moduleId,encType:"multipart/form-data"},this.authPayload.map(t=>e("input",{type:"hidden",value:t.value,name:t.key}))):""),e("div",{class:"slot-wrapper",hidden:this.selected&&void 0!==this.provided&&!this.provided},e("slot",null)))}get hostElement(){return i(this)}static get watchers(){return{selected:["selectedObserver"]}}};o.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.tab-pane[aria-hidden='true']{display:none}.tab-pane:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}.loading-wrapper{height:44px;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.loading-wrapper:not([hidden]){display:-ms-flexbox;display:flex}iframe{width:100%;height:auto;overflow-y:hidden;border:none}iframe:not([hidden]){display:inline-block}.slot-wrapper:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}";export{o as tecton_tab_pane}
@@ -0,0 +1 @@
1
+ const e="q2-tecton-elements";let t,n,l,o=!1,s=!1,c=!1,i=!1,r=!1;const a="undefined"!=typeof window?window:{},f=a.CSS,u=a.document||{head:{}},d={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},p=(()=>(u.head.attachShadow+"").indexOf("[native")>-1)(),$=e=>Promise.resolve(e),b=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),m=(e,t,n)=>{n&&n.map(([n,l,o])=>{const s=e,c=w(t,o),i=h(n);d.ael(s,l,c,i),(t.o=t.o||[]).push(()=>d.rel(s,l,c,i))})},w=(e,t)=>n=>{256&e.t?e.s[t](n):(e.i=e.i||[]).push([t,n])},h=e=>0!=(2&e),y="http://www.w3.org/1999/xlink",g=new WeakMap,v=e=>"sc-"+e.u,_={},j=e=>"object"==(e=typeof e)||"function"===e,k="undefined"!=typeof Deno,O=!(k||"undefined"==typeof global||"function"!=typeof require||!global.process||"string"!=typeof __filename||global.origin&&"string"==typeof global.origin),S=(k&&Deno,O?process:k&&Deno,O?process:k&&Deno,(e,t,...n)=>{let l=null,o=null,s=!1,c=!1,i=[];const r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&c?i[i.length-1].p+=l:i.push(s?C(null,l):l),c=s)};if(r(n),t){t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}const a=C(e,null);return a.$=t,i.length>0&&(a.m=i),a.h=o,a}),C=(e,t)=>({t:0,g:e,p:t,v:null,m:null,$:null,h:null}),M={},R=(e,t,n,l,o,s)=>{if(n!==l){let i=ue(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=x(n),s=x(l);t.remove(...o.filter(e=>e&&!s.includes(e))),t.add(...s.filter(e=>e&&!o.includes(e)))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if(i||"o"!==t[0]||"n"!==t[1]){const a=j(l);if((i||a&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(c){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(y,t):e.removeAttribute(t)):(!i||4&s||o)&&!a&&(l=!0===l?"":l,f?e.setAttributeNS(y,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ue(a,r)?r.slice(2):r[2]+t.slice(3),n&&d.rel(e,t,n,!1),l&&d.ael(e,t,l,!1)}},q=/\s/,x=e=>e?e.split(q):[],D=(e,t,n,l)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,s=e&&e.$||_,c=t.$||_;for(l in s)l in c||R(o,l,s[l],void 0,n,t.t);for(l in c)R(o,l,s[l],c[l],n,t.t)},T=(e,s,r,a)=>{let f,d,p,$=s.m[r],b=0;if(o||(c=!0,"slot"===$.g&&(t&&a.classList.add(t+"-s"),$.t|=$.m?2:1)),null!==$.p)f=$.v=u.createTextNode($.p);else if(1&$.t)f=$.v=u.createTextNode("");else{if(i||(i="svg"===$.g),f=$.v=u.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$.t?"slot-fb":$.g),i&&"foreignObject"===$.g&&(i=!1),D(null,$,i),null!=t&&f["s-si"]!==t&&f.classList.add(f["s-si"]=t),$.m)for(b=0;b<$.m.length;++b)d=T(e,$,b,f),d&&f.appendChild(d);"svg"===$.g?i=!1:"foreignObject"===f.tagName&&(i=!0)}return f["s-hn"]=l,3&$.t&&(f["s-sr"]=!0,f["s-cr"]=n,f["s-sn"]=$.h||"",p=e&&e.m&&e.m[r],p&&p.g===$.g&&e.v&&L(e.v,!1)),f},L=(e,t)=>{d.t|=1;const n=e.childNodes;for(let o=n.length-1;o>=0;o--){const e=n[o];e["s-hn"]!==l&&e["s-ol"]&&(W(e).insertBefore(e,U(e)),e["s-ol"].remove(),e["s-ol"]=void 0,c=!0),t&&L(e,t)}d.t&=-2},P=(e,t,n,o,s,c)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===l&&(r=r.shadowRoot);s<=c;++s)o[s]&&(i=T(null,n,s,e),i&&(o[s].v=i,r.insertBefore(i,U(t))))},E=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(s=!0,(o=l.v)["s-ol"]?o["s-ol"].remove():L(o,!0),o.remove())},N=(e,t)=>e.g===t.g&&("slot"!==e.g||e.h===t.h),U=e=>e&&e["s-ol"]||e,W=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,A=(e,t)=>{const n=t.v=e.v,l=e.m,o=t.m,s=t.g,c=t.p;let r;null===c?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||D(e,t,i),null!==l&&null!==o?((e,t,n,l)=>{let o,s=0,c=0,i=t.length-1,r=t[0],a=t[i],f=l.length-1,u=l[0],d=l[f];for(;s<=i&&c<=f;)null==r?r=t[++s]:null==a?a=t[--i]:null==u?u=l[++c]:null==d?d=l[--f]:N(r,u)?(A(r,u),r=t[++s],u=l[++c]):N(a,d)?(A(a,d),a=t[--i],d=l[--f]):N(r,d)?("slot"!==r.g&&"slot"!==d.g||L(r.v.parentNode,!1),A(r,d),e.insertBefore(r.v,a.v.nextSibling),r=t[++s],d=l[--f]):N(a,u)?("slot"!==r.g&&"slot"!==d.g||L(a.v.parentNode,!1),A(a,u),e.insertBefore(a.v,r.v),a=t[--i],u=l[++c]):(o=T(t&&t[c],n,c,e),u=l[++c],o&&W(r.v).insertBefore(o,U(r.v)));s>i?P(e,null==l[f+1]?null:l[f+1].v,n,l,c,f):c>f&&E(t,s,i)})(n,l,t,o):null!==o?(null!==e.p&&(n.textContent=""),P(n,null,t,o,0,o.length-1)):null!==l&&E(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(r=n["s-cr"])?r.parentNode.textContent=c:e.p!==c&&(n.data=c)},F=e=>{let t,n,l,o,s,c,i=e.childNodes;for(n=0,l=i.length;n<l;n++)if(t=i[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(i[o]["s-hn"]!==t["s-hn"])if(c=i[o].nodeType,""!==s){if(1===c&&s===i[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===c||3===c&&""!==i[o].textContent.trim()){t.hidden=!0;break}F(t)}},H=[],V=e=>{let t,n,l,o,c,i,r=0,a=e.childNodes,f=a.length;for(;r<f;r++){if(t=a[r],t["s-sr"]&&(n=t["s-cr"]))for(l=n.parentNode.childNodes,o=t["s-sn"],i=l.length-1;i>=0;i--)n=l[i],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(z(n,o)?(c=H.find(e=>e._===n),s=!0,n["s-sn"]=n["s-sn"]||o,c?c.j=t:H.push({j:t,_:n}),n["s-sr"]&&H.map(e=>{z(e._,n["s-sn"])&&(c=H.find(e=>e._===n),c&&!e.j&&(e.j=c.j))})):H.some(e=>e._===n)||H.push({_:n}));1===t.nodeType&&V(t)}},z=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,B=e=>re(e).k,G=(e,t,n)=>{const l=B(e);return{emit:e=>I(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},I=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},J=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise(t=>e.O=t))},K=(e,t)=>{if(e.t|=16,!(4&e.t))return J(e,e.S),_e(()=>Q(e,t));e.t|=512},Q=(e,t)=>{const n=e.s;let l;return t&&(e.t|=256,e.i&&(e.i.map(([e,t])=>te(n,e,t)),e.i=null),l=te(n,"componentWillLoad")),ne(l,()=>X(e,n,t))},X=(e,i,r)=>{const a=e.k,f=a["s-rc"];r&&(e=>{const t=e.C,n=e.k,l=t.t,o=((e,t)=>{let n=v(t),l=be.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,o=g.get(e=e.head||e);o||g.set(e,o=new Set),o.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(p&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);((e,i)=>{const r=e.k,a=e.C,f=e.M||C(null,null),$=(e=>e&&e.g===M)(i)?i:S(null,null,i);if(l=r.tagName,a.R&&($.$=$.$||{},a.R.map(([e,t])=>$.$[t]=r[e])),$.g=null,$.t|=4,e.M=$,$.v=f.v=r.shadowRoot||r,t=r["s-sc"],n=r["s-cr"],o=p&&0!=(1&a.t),s=!1,A(f,$),d.t|=1,c){let e,t,n,l,o,s;V($.v);let c=0;for(;c<H.length;c++)e=H[c],t=e._,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(c=0;c<H.length;c++)if(e=H[c],t=e._,e.j){for(l=e.j.parentNode,o=e.j.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}s&&F($.v),d.t&=-2,H.length=0})(e,Y(e,i)),f&&(f.map(e=>e()),a["s-rc"]=void 0);{const t=a["s-p"],n=()=>Z(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},Y=(e,t)=>{try{t=t.render&&t.render(),e.t&=-17,e.t|=2}catch(n){de(n)}return t},Z=e=>{const t=e.k,n=e.s,l=e.S;te(n,"componentDidRender"),64&e.t||(e.t|=64,le(t),te(n,"componentDidLoad"),e.q(t),l||ee()),e.O&&(e.O(),e.O=void 0),512&e.t&&ve(()=>K(e,!1)),e.t&=-517},ee=()=>{le(u.documentElement),ve(()=>I(a,"appload",{detail:{namespace:"q2-tecton-elements"}}))},te=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(l){de(l)}},ne=(e,t)=>e&&e.then?e.then(t):t(),le=e=>e.setAttribute("stencil-hydrated",""),oe=(e,t,n)=>{if(t.D){e.watchers&&(t.T=e.watchers);const l=Object.entries(t.D),o=e.prototype;if(l.map(([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>re(this).L.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=re(e),s=o.L.get(t),c=o.t,i=o.s;if(n=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.D[t][0]),!(8&c&&void 0!==s||n===s)&&(o.L.set(t,n),i)){if(l.T&&128&c){const e=l.T[t];e&&e.map(e=>{try{i[e](n,s,t)}catch(l){de(l)}})}2==(18&c)&&K(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})}),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){d.jmp(()=>{const t=n.get(e);this[t]=(null!==l||"boolean"!=typeof this[t])&&l})},e.observedAttributes=l.filter(([e,t])=>15&t[0]).map(([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.R.push([e,o]),o})}}return e},se=e=>{te(e,"connectedCallback")},ce=(e,t={})=>{const n=[],l=t.exclude||[],o=a.customElements,s=u.head,c=s.querySelector("meta[charset]"),i=u.createElement("style"),r=[];let f,$=!0;Object.assign(d,t),d.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map(e=>e[1].map(t=>{const s={t:t[0],u:t[1],D:t[2],P:t[3]};s.D=t[2],s.P=t[3],s.R=[],s.T={},!p&&1&s.t&&(s.t|=8);const c=s.u,i=class extends HTMLElement{constructor(e){super(e),fe(e=this,s),1&s.t&&(p?e.attachShadow({mode:"open"}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){f&&(clearTimeout(f),f=null),$?r.push(this):d.jmp(()=>(e=>{if(0==(1&d.t)){const t=re(e),n=t.C,l=()=>{};if(1&t.t)m(e,t,n.P),se(t.s);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(t,t.S=n);break}}n.D&&Object.entries(n.D).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),ve(()=>(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=$e(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.T=o.watchers,oe(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(i){de(i)}t.t&=-9,t.t|=128,e(),se(t.s)}if(o.style){let e=o.style;const t=v(n);if(!be.has(t)){const l=()=>{};8&n.t&&(e=await __sc_import_q2_tecton_elements("./p-b5961b8f.js").then(n=>n.scopeCss(e,t,!1))),((e,t,n)=>{let l=be.get(e);b&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,be.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.S,c=()=>K(t,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,t,n))}l()}})(this))}disconnectedCallback(){d.jmp(()=>(()=>{if(0==(1&d.t)){const e=re(this),t=e.s;e.o&&(e.o.map(e=>e()),e.o=void 0),te(t,"disconnectedCallback")}})())}forceUpdate(){(()=>{{const e=re(this);e.k.isConnected&&2==(18&e.t)&&K(e,!1)}})()}componentOnReady(){return re(this).N}};s.U=e[0],l.includes(c)||o.get(c)||(n.push(c),o.define(c,oe(i,s,1)))})),i.innerHTML=n+"{visibility:hidden}[stencil-hydrated]{visibility:inherit}",i.setAttribute("data-styles",""),s.insertBefore(i,c?c.nextSibling:s.firstChild),$=!1,r.length?r.map(e=>e.connectedCallback()):d.jmp(()=>f=setTimeout(ee,30))},ie=new WeakMap,re=e=>ie.get(e),ae=(e,t)=>ie.set(t.s=e,t),fe=(e,t)=>{const n={t:0,k:e,C:t,L:new Map};return n.N=new Promise(e=>n.q=e),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.P),ie.set(e,n)},ue=(e,t)=>t in e,de=e=>console.error(e),pe=new Map,$e=e=>{const t=e.u.replace(/-/g,"_"),n=e.U,l=pe.get(n);return l?l[t]:__sc_import_q2_tecton_elements(`./${n}.entry.js`).then(e=>(pe.set(n,e),e[t]),de)},be=new Map,me=[],we=[],he=(e,t)=>n=>{e.push(n),r||(r=!0,t&&4&d.t?ve(ge):d.raf(ge))},ye=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){de(t)}e.length=0},ge=()=>{ye(me),ye(we),(r=me.length>0)&&d.raf(ge)},ve=e=>$().then(e),_e=he(we,!0);export{f as C,M as H,e as N,$ as a,ce as b,G as c,u as d,B as g,S as h,d as p,ae as r,a as w}
@@ -1 +1 @@
1
- System.register(["./p-2d49c74e.system.js"],(function(e){"use strict";var t,o,n;return{setters:[function(e){t=e.r;o=e.h;n=e.g}],execute:function(){var r="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.dropdown-separator{margin:0 var(--tct-scale-1, var(--app-scale-1, 5px));border-bottom:1px solid\n var(--tct-dropdown-item-separator-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)))}.dropdown-item-wrapper{display:-ms-flexbox;display:flex}.dropdown-item{min-height:44px;-ms-flex:1 1 100%;flex:1 1 100%;padding:var(--tct-dropdown-item-padding, 2px)}.dropdown-item-content{padding:12px var(--tct-scale-3, var(--app-scale-3, 15px));text-align:left;background-color:var(--tct-dropdown-item-bg, var(--tct-white, var(--app-white, #ffffff)));color:var(--tct-dropdown-item-font-color, inherit);-webkit-transition:background-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:background-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));overflow:hidden;text-overflow:ellipsis}:host(:not([disabled])) .dropdown-item-content:hover,:host(:not([disabled])) .dropdown-item:focus-within .dropdown-item-content{background-color:var(\n --tct-dropdown-item-selected-bg,\n var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))\n );color:var(--tct-dropdown-item-selected-font-color, inherit)}.remove-dropdown-item{-ms-flex:0 0 44px;flex:0 0 44px;margin:2px}";var i=e("q2_dropdown_item",function(){function e(e){var o=this;t(this,e);this.onItemClick=function(e){e.stopImmediatePropagation();o.hostElement.dispatchEvent(new CustomEvent("click",{detail:{type:"select",value:o.value||""},bubbles:true}))};this.onItemKeydown=function(e){if(["ArrowRight","Right"].includes(e.key)){o.focusRemoveBtn()}};this.onItemFocus=function(e){e.stopPropagation()};this.onRemoveBtnClick=function(e){e.stopImmediatePropagation();o.hostElement.dispatchEvent(new CustomEvent("click",{detail:{type:"remove",value:o.value||""},bubbles:true}))};this.onRemoveBtnKeydown=function(e){if(["ArrowLeft","Left"].includes(e.key)){o.focusItem()}};this.onRemoveBtnFocus=function(e){e.stopPropagation()}}e.prototype.loc=function(e,t){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(e,t):e};Object.defineProperty(e.prototype,"removeAriaLabel",{get:function(){return this.loc("tecton.element.dropdownItem.remove",[this.label||""])},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"dropdownItemBtn",{get:function(){return this.hostElement.shadowRoot.querySelector(".dropdown-item")},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"innerAriaLabel",{get:function(){return this.ariaLabel||this.label||this.hostElement.textContent},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"removeBtn",{get:function(){return this.hostElement.shadowRoot.querySelector(".remove-dropdown-item")},enumerable:false,configurable:true});e.prototype.onHostElementFocus=function(){if(event.target===this.hostElement){this.focusItem()}};e.prototype.focusItem=function(){this.dropdownItemBtn.dispatchEvent(new FocusEvent("focus",{bubbles:false}))};e.prototype.focusRemoveBtn=function(){this.removeBtn&&this.removeBtn.dispatchEvent(new FocusEvent("focus",{bubbles:false}))};e.prototype.render=function(){if(!!this.separator){return this.separatorDOM()}return this.itemDOM()};e.prototype.separatorDOM=function(){return o("div",{class:"dropdown-separator",role:"separator","test-id":"dropdownItemSeparator"})};e.prototype.itemDOM=function(){return o("div",{class:"dropdown-item-wrapper"},o("q2-btn",{class:"dropdown-item",ariaLabel:this.innerAriaLabel,disabled:!!this.disabled,role:"menuitem",onClick:this.onItemClick,onKeyDown:this.onItemKeydown,onFocus:this.onItemFocus,"test-id":"dropdownItem"},o("div",{class:"dropdown-item-content"},o("slot",null))),!!this.removable?o("q2-btn",{class:"remove-dropdown-item",ariaLabel:this.removeAriaLabel,disabled:!!this.disabled,role:"menuitem",icon:true,onClick:this.onRemoveBtnClick,onKeyDown:this.onRemoveBtnKeydown,onFocus:this.onRemoveBtnFocus,"test-id":"removeDropdownItem"},o("q2-icon",{type:"close"})):"")};Object.defineProperty(e.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());i.style=r}}}));
1
+ System.register(["./p-f08aea0c.system.js"],(function(e){"use strict";var t,o,n;return{setters:[function(e){t=e.r;o=e.h;n=e.g}],execute:function(){var r="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.dropdown-separator{margin:0 var(--tct-scale-1, var(--app-scale-1, 5px));border-bottom:1px solid\n var(--tct-dropdown-item-separator-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)))}.dropdown-item-wrapper{display:-ms-flexbox;display:flex}.dropdown-item{min-height:44px;-ms-flex:1 1 100%;flex:1 1 100%;padding:var(--tct-dropdown-item-padding, 2px)}.dropdown-item-content{padding:12px var(--tct-scale-3, var(--app-scale-3, 15px));text-align:left;background-color:var(--tct-dropdown-item-bg, var(--tct-white, var(--app-white, #ffffff)));color:var(--tct-dropdown-item-font-color, inherit);-webkit-transition:background-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:background-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));overflow:hidden;text-overflow:ellipsis}:host(:not([disabled])) .dropdown-item-content:hover,:host(:not([disabled])) .dropdown-item:focus-within .dropdown-item-content{background-color:var(\n --tct-dropdown-item-selected-bg,\n var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))\n );color:var(--tct-dropdown-item-selected-font-color, inherit)}.remove-dropdown-item{-ms-flex:0 0 44px;flex:0 0 44px;margin:2px}";var i=e("q2_dropdown_item",function(){function e(e){var o=this;t(this,e);this.onItemClick=function(e){e.stopImmediatePropagation();o.hostElement.dispatchEvent(new CustomEvent("click",{detail:{type:"select",value:o.value||""},bubbles:true}))};this.onItemKeydown=function(e){if(["ArrowRight","Right"].includes(e.key)){o.focusRemoveBtn()}};this.onItemFocus=function(e){e.stopPropagation()};this.onRemoveBtnClick=function(e){e.stopImmediatePropagation();o.hostElement.dispatchEvent(new CustomEvent("click",{detail:{type:"remove",value:o.value||""},bubbles:true}))};this.onRemoveBtnKeydown=function(e){if(["ArrowLeft","Left"].includes(e.key)){o.focusItem()}};this.onRemoveBtnFocus=function(e){e.stopPropagation()}}e.prototype.loc=function(e,t){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(e,t):e};Object.defineProperty(e.prototype,"removeAriaLabel",{get:function(){return this.loc("tecton.element.dropdownItem.remove",[this.label||""])},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"dropdownItemBtn",{get:function(){return this.hostElement.shadowRoot.querySelector(".dropdown-item")},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"innerAriaLabel",{get:function(){return this.ariaLabel||this.label||this.hostElement.textContent},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"removeBtn",{get:function(){return this.hostElement.shadowRoot.querySelector(".remove-dropdown-item")},enumerable:false,configurable:true});e.prototype.onHostElementFocus=function(){if(event.target===this.hostElement){this.focusItem()}};e.prototype.focusItem=function(){this.dropdownItemBtn.dispatchEvent(new FocusEvent("focus",{bubbles:false}))};e.prototype.focusRemoveBtn=function(){this.removeBtn&&this.removeBtn.dispatchEvent(new FocusEvent("focus",{bubbles:false}))};e.prototype.render=function(){if(!!this.separator){return this.separatorDOM()}return this.itemDOM()};e.prototype.separatorDOM=function(){return o("div",{class:"dropdown-separator",role:"separator","test-id":"dropdownItemSeparator"})};e.prototype.itemDOM=function(){return o("div",{class:"dropdown-item-wrapper"},o("q2-btn",{class:"dropdown-item",ariaLabel:this.innerAriaLabel,disabled:!!this.disabled,role:"menuitem",onClick:this.onItemClick,onKeyDown:this.onItemKeydown,onFocus:this.onItemFocus,"test-id":"dropdownItem"},o("div",{class:"dropdown-item-content"},o("slot",null))),!!this.removable?o("q2-btn",{class:"remove-dropdown-item",ariaLabel:this.removeAriaLabel,disabled:!!this.disabled,role:"menuitem",icon:true,onClick:this.onRemoveBtnClick,onKeyDown:this.onRemoveBtnKeydown,onFocus:this.onRemoveBtnFocus,"test-id":"removeDropdownItem"},o("q2-icon",{type:"close"})):"")};Object.defineProperty(e.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());i.style=r}}}));
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-7ff881d1.js";import{c as r}from"./p-1d4bf5ef.js";function n(t){return"function"==typeof t}let o=!1;const a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function c(t){setTimeout(()=>{throw t},0)}const h={closed:!0,next(t){},error(t){if(a.useDeprecatedSynchronousErrorHandling)throw t;c(t)},complete(){}},l=Array.isArray||(t=>t&&"number"==typeof t.length);function u(t){return null!==t&&"object"==typeof t}const f=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,i)=>`${i+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class b{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:i,_ctorUnsubscribe:e,_unsubscribe:s,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof b)i.remove(this);else if(null!==i)for(let n=0;n<i.length;++n)i[n].remove(this);if(n(s)){e&&(this._unsubscribe=void 0);try{s.call(this)}catch(o){t=o instanceof f?d(o.errors):[o]}}if(l(r)){let i=-1,e=r.length;for(;++i<e;){const e=r[i];if(u(e))try{e.unsubscribe()}catch(o){t=t||[],o instanceof f?t=t.concat(d(o.errors)):t.push(o)}}}if(t)throw new f(t)}add(t){let i=t;if(!t)return b.EMPTY;switch(typeof t){case"function":i=new b(t);case"object":if(i===this||i.closed||"function"!=typeof i.unsubscribe)return i;if(this.closed)return i.unsubscribe(),i;if(!(i instanceof b)){const t=i;i=new b,i._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:e}=i;if(null===e)i._parentOrParents=this;else if(e instanceof b){if(e===this)return i;i._parentOrParents=[e,this]}else{if(-1!==e.indexOf(this))return i;e.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[i]:s.push(i),i}remove(t){const i=this._subscriptions;if(i){const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}}function d(t){return t.reduce((t,i)=>t.concat(i instanceof f?i.errors:i),[])}b.EMPTY=function(t){return t.closed=!0,t}(new b);const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class v extends b{constructor(t,i,e){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h;break;case 1:if(!t){this.destination=h;break}if("object"==typeof t){t instanceof v?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new w(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new w(this,t,i,e)}}[p](){return this}static create(t,i,e){const s=new v(t,i,e);return s.syncErrorThrowable=!1,s}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class w extends v{constructor(t,i,e,s){let r;super(),this._parentSubscriber=t;let o=this;n(i)?r=i:i&&(r=i.next,e=i.error,s=i.complete,i!==h&&(o=Object.create(i),n(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=e,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:i}=this;a.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable?this.__tryOrSetError(i,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:i}=this,{useDeprecatedSynchronousErrorHandling:e}=a;if(this._error)e&&i.syncErrorThrowable?(this.__tryOrSetError(i,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(i.syncErrorThrowable)e?(i.syncErrorValue=t,i.syncErrorThrown=!0):c(t),this.unsubscribe();else{if(this.unsubscribe(),e)throw t;c(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const i=()=>this._complete.call(this._context);a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,i),this.unsubscribe()):(this.__tryOrUnsub(i),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,i){try{t.call(this._context,i)}catch(e){if(this.unsubscribe(),a.useDeprecatedSynchronousErrorHandling)throw e;c(e)}}__tryOrSetError(t,i,e){if(!a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{i.call(this._context,e)}catch(s){return a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(c(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const y="function"==typeof Symbol&&Symbol.observable||"@@observable";function x(t){return t}class g{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const i=new g;return i.source=this,i.operator=t,i}subscribe(t,i,e){const{operator:s}=this,r=function(t,i,e){if(t){if(t instanceof v)return t;if(t[p])return t[p]()}return t||i||e?new v(t,i,e):new v(h)}(t,i,e);if(r.add(s?s.call(r,this.source):this.source||a.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),a.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(i){a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=i),function(t){for(;t;){const{closed:i,destination:e,isStopped:s}=t;if(i||s)return!1;t=e&&e instanceof v?e:null}return!0}(t)?t.error(i):console.warn(i)}}forEach(t,i){return new(i=m(i))((i,e)=>{let s;s=this.subscribe(i=>{try{t(i)}catch(r){e(r),s&&s.unsubscribe()}},e,i)})}_subscribe(t){const{source:i}=this;return i&&i.subscribe(t)}[y](){return this}pipe(...t){return 0===t.length?this:(0===(i=t).length?x:1===i.length?i[0]:function(t){return i.reduce((t,i)=>i(t),t)})(this);var i}toPromise(t){return new(t=m(t))((t,i)=>{let e;this.subscribe(t=>e=t,t=>i(t),()=>t(e))})}}function m(t){if(t||(t=Promise),!t)throw new Error("no Promise impl found");return t}g.create=t=>new g(t);class _ extends b{constructor(t,i){super()}schedule(t,i=0){return this}}class k{constructor(t,i=k.now){this.SchedulerAction=t,this.now=i}schedule(t,i=0,e){return new this.SchedulerAction(this,t).schedule(e,i)}}k.now=()=>Date.now();class S extends k{constructor(t,i=k.now){super(t,()=>S.delegate&&S.delegate!==this?S.delegate.now():i()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,i=0,e){return S.delegate&&S.delegate!==this?S.delegate.schedule(t,i,e):super.schedule(t,i,e)}flush(t){const{actions:i}=this;if(this.active)return void i.push(t);let e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=i.shift());if(this.active=!1,e){for(;t=i.shift();)t.unsubscribe();throw e}}}const E=new S(class extends _{constructor(t,i){super(t,i),this.scheduler=t,this.work=i,this.pending=!1}schedule(t,i=0){if(this.closed)return this;this.state=t;const e=this.id,s=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(s,e,i)),this.pending=!0,this.delay=i,this.id=this.id||this.requestAsyncId(s,this.id,i),this}requestAsyncId(t,i,e=0){return setInterval(t.flush.bind(t,this),e)}recycleAsyncId(t,i,e=0){if(null!==e&&this.delay===e&&!1===this.pending)return i;clearInterval(i)}execute(t,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const e=this._execute(t,i);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,i){let e=!1,s=void 0;try{this.work(t)}catch(r){e=!0,s=!!r&&r||new Error(r)}if(e)return this.unsubscribe(),s}_unsubscribe(){const t=this.id,i=this.scheduler,e=i.actions,s=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&e.splice(s,1),null!=t&&(this.id=this.recycleAsyncId(i,t,null)),this.delay=null}});class L{constructor(t,i){this.project=t,this.thisArg=i}call(t,i){return i.subscribe(new O(t,this.project,this.thisArg))}}class O extends v{constructor(t,i,e){super(t),this.project=i,this.count=0,this.thisArg=e||this}_next(t){let i;try{i=this.project.call(this.thisArg,t,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(i)}}const j="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";class z extends v{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class P extends v{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function $(t){const{subscriber:i,counter:e,period:s}=t;i.next(e),this.schedule({subscriber:i,counter:e+1,period:s},s)}class A{constructor(t){this.durationSelector=t}call(t,i){return i.subscribe(new C(t,this.durationSelector))}}class C extends P{constructor(t,i){super(t),this.durationSelector=i,this.hasValue=!1}_next(t){try{const i=this.durationSelector.call(this,t);i&&this._tryNext(t,i)}catch(i){this.destination.error(i)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(t,i){let e=this.durationSubscription;this.value=t,this.hasValue=!0,e&&(e.unsubscribe(),this.remove(e)),e=function(t,i){if(!i.closed)return t instanceof g?t.subscribe(i):(t=>{if(t&&"function"==typeof t[y])return o=t,t=>{const i=o[y]();if("function"!=typeof i.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return i.subscribe(t)};if((n=t)&&"number"==typeof n.length&&"function"!=typeof n)return r=t,t=>{for(let i=0,e=r.length;i<e&&!t.closed;i++)t.next(r[i]);t.complete()};if((s=t)&&"function"!=typeof s.subscribe&&"function"==typeof s.then)return e=t,t=>(e.then(i=>{t.closed||(t.next(i),t.complete())},i=>t.error(i)).then(null,c),t);if(t&&"function"==typeof t[j])return i=t,t=>{const e=i[j]();for(;;){let i;try{i=e.next()}catch(s){return t.error(s),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t};{const i=u(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${i} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var i,e,s,r,n,o})(t)(i)}(i,new z(this)),e&&!e.closed&&this.add(this.durationSubscription=e)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const t=this.value,i=this.durationSubscription;i&&(this.durationSubscription=void 0,i.unsubscribe(),this.remove(i)),this.value=void 0,this.hasValue=!1,super._next(t)}}}const R=class{constructor(e){t(this,e),this.change=i(this,"change",7),this.settled=i(this,"settled",7),this.guid=r(),this.scheduledAfterRender=[],this.hasLeft=!1,this.hasRight=!1,this.initTabScroll=()=>{const t=this.hostElement.shadowRoot.querySelector(".tab-list");if(t){const{scrollWidth:i,clientWidth:e,scrollLeft:s}=t;this.hasLeft=s>0,this.hasRight=i>e}},this.updateTabData=()=>{this.updateTabPaneProps(),this.setTabs()},this.updateTabPaneProps=()=>{this.tabPanes.forEach((t,i)=>{t.selected=t.value===this.selectedTabValue,t.guid=this.guid,t.index=i})},this.setTabs=()=>{this.tabs=this.tabPanes.map(({label:t,value:i})=>({label:t&&this.loc(t)||"",value:i}))},this.onTabClick=t=>{this.change.emit({value:t.target.dataset.value})},this.onTabKeyDown=t=>{const i=t.target.dataset.value;"ArrowRight"!==t.key&&"Right"!==t.key?"ArrowLeft"!==t.key&&"Left"!==t.key||this.moveToAdjacentTab(i,"prev"):this.moveToAdjacentTab(i,"next")},this.moveToAdjacentTab=(t,i)=>{let e=this.tabs.map(({value:t})=>t).indexOf(t),s=!1;if("next"===i&&e!==this.tabs.length-1&&(e+=1,s=!0),"prev"===i&&0!==e&&(e-=1,s=!0),s){const t=this.tabs[e].value;this.hostElement.shadowRoot.querySelector(`.tab-list a[data-value="${t}"]`).focus(),this.change.emit({value:t})}},this.calculateTabScroll=({direction:t,scrollWidth:i,clientWidth:e,scrollLeft:s})=>{const r=s+("left"===t?-1:1)*Math.round(.5*e);return{newScrollLeft:r,hasLeft:r>0,hasRight:i>=e+r}},this.onTabScroll=t=>{const i=this.hostElement.shadowRoot.querySelector(".tab-list");let{scrollWidth:e,clientWidth:s,scrollLeft:r}=i;const{newScrollLeft:n,hasLeft:o,hasRight:a}=this.calculateTabScroll({direction:t,scrollWidth:e,clientWidth:s,scrollLeft:r});this.hasLeft=o,this.hasRight=a,i.scroll({left:n,behavior:"smooth"})}}loc(t,i){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,i):t}resizeIframe(){return window.TectonElements&&window.TectonElements.resizeIframe&&window.TectonElements.resizeIframe()}get tabPanes(){const t=this.hostElement.querySelectorAll("q2-tab-pane, tecton-tab-pane");return 0===t.length?[]:Array.from(t).filter(t=>t.name===this.name)}get selectedTabValue(){return this.value||this.tabPanes[0].value||""}defaultChangeHandler(t){t.target!==this.hostElement||this.hostElement.onchange||(this.value=t.detail.value)}componentWillLoad(){const t=new MutationObserver(this.updateTabData);t.observe(this.hostElement,{childList:!0,attributes:!0}),this.mutationObserver=t,this.updateTabData()}componentDidRender(){var t;this.scheduledAfterRender.forEach(t=>t()),this.scheduledAfterRender=[],this.settled.emit(),this.resizeSubscription||(this.initTabScroll(),this.resizeSubscription=function t(i,e,s,r){return n(s)&&(r=s,s=void 0),r?t(i,e,s).pipe((o=t=>l(t)?r(...t):r(t),function(t){return t.lift(new L(o,void 0))})):new g(t=>{!function t(i,e,s,r,n){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(i)){const t=i;i.addEventListener(e,s,n),o=()=>t.removeEventListener(e,s,n)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(i)){const t=i;i.on(e,s),o=()=>t.off(e,s)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(i)){const t=i;i.addListener(e,s),o=()=>t.removeListener(e,s)}else{if(!i||!i.length)throw new TypeError("Invalid event target");for(let o=0,a=i.length;o<a;o++)t(i[o],e,s,r,n)}r.add(o)}(i,e,(function(i){t.next(arguments.length>1?Array.prototype.slice.call(arguments):i)}),t,s)});var o}(window,"resize").pipe((t=()=>function(t=0,i=E){var e;return(l(e=t)||!(e-parseFloat(e)+1>=0)||t<0)&&(t=0),i&&"function"==typeof i.schedule||(i=E),new g(e=>(e.add(i.schedule($,t,{subscriber:e,counter:0,period:t})),e))}(200),i=>i.lift(new A(t)))).subscribe(this.initTabScroll))}disconnectedCallback(){this.mutationObserver.disconnect(),this.mutationObserver=null,this.resizeSubscription.unsubscribe(),this.resizeSubscription=null}valueObserver(){this.updateTabData(),this.scheduledAfterRender.push(this.resizeIframe)}nameObserver(){this.updateTabData()}render(){return e("div",{class:"tab-container"},e("ul",{class:"tab-list",role:"tablist"},this.hasLeft&&e("li",{role:"presentation",class:"nav nav-left",onClick:()=>this.onTabScroll("left")},e("div",{class:"arrow-container"},e("a",null,e("q2-icon",{type:"chevron-left"})))),this.tabs.map((t,i)=>this.generateTab(t,i)),this.hasRight&&e("li",{role:"presentation",class:"nav nav-right",onClick:()=>this.onTabScroll("right")},e("div",{class:"arrow-container"},e("a",null,e("q2-icon",{type:"chevron-right"}))))),e("div",{class:"tab-content"},e("slot",null)))}generateTab(t,i){const{label:s,value:r}=t,n=this.selectedTabValue===r;return e("li",{role:"presentation"},e("a",{id:`tab-${this.guid}-${i}`,href:"javascript://","data-value":r,"test-id":"tabLink",tabIndex:n?0:-1,role:"tab","aria-selected":""+n,"aria-controls":`tab-pane-${this.guid}-${i}`,onClick:this.onTabClick,onKeyDown:this.onTabKeyDown},s))}get hostElement(){return s(this)}static get watchers(){return{value:["valueObserver"],name:["nameObserver"]}}};R.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.tab-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.tab-list{padding:0;display:-ms-flexbox;display:flex;margin:0;list-style:none;border-bottom:1px solid\n var(--tct-tab-container-border-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));white-space:nowrap;overflow-x:hidden;-ms-flex-align:center;align-items:center}.tab-list li.nav{position:absolute;height:44px;width:46px}.tab-list li.nav-left{left:-15px;background:-webkit-gradient(linear, left top, right top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(transparent));background:linear-gradient(to right, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, transparent)}.tab-list li.nav-right{right:-15px;background:-webkit-gradient(linear, right top, left top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(transparent));background:linear-gradient(to left, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, transparent)}.tab-list li.nav .arrow-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:inherit;width:inherit;cursor:pointer}.tab-list li.nav .arrow-container a{padding:0;margin:0;height:inherit;width:inherit;border-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.tab-list li.nav .arrow-container a q2-icon{width:19px;height:19px}.tab-list a{text-decoration:none;padding:var(--tct-scale-2, var(--app-scale-2, 10px));margin:var(--tct-scale-1, var(--app-scale-1, 5px)) var(--tct-scale-1, var(--app-scale-1, 5px))\n 0;color:var(--tct-tab-inactive-color, var(--t-tab-inactive, inherit));font-size:var(--tct-tab-font-size, var(--t-tab-font-size, 17px));border-bottom:3px solid transparent;display:block;-webkit-transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([type='section']) .tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}@media screen and (max-width: 767px){.tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}}.tab-list a:hover{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));background-color:var(--tct-tab-hover-bg-color, var(--t-tab-hover-bg-color, inherit));width:var(--tct-tab-hover-width, var(--t-tab-hover-width, 100%))}.tab-list a[aria-selected='true']{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));border-color:currentColor;width:var(--tct-tab-active-width, var(--t-tab-active-width, 100%));background-color:var(--tct-tab-active-bg-color, var(--t-tab-active-bg-color, inherit))}:host([color='alt']) .tab-list a{color:var(--tct-tab-alt-inactive-color, var(--t-tab-alt-inactive, inherit))}:host([color='alt']) .tab-list a:hover,:host([color='alt']) .tab-list a[aria-selected='true']{color:var(--tct-tab-alt-active-color, var(--t-tab-alt-active, inherit))}.tab-content{padding:var(--tct-scale-2, var(--app-scale-2, 10px)) 0}";export{R as q2_tab_container}
1
+ import{r as t,c as i,h as e,g as s}from"./p-1a8e579d.js";import{c as r}from"./p-1d4bf5ef.js";function n(t){return"function"==typeof t}let o=!1;const a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function c(t){setTimeout(()=>{throw t},0)}const h={closed:!0,next(t){},error(t){if(a.useDeprecatedSynchronousErrorHandling)throw t;c(t)},complete(){}},l=Array.isArray||(t=>t&&"number"==typeof t.length);function u(t){return null!==t&&"object"==typeof t}const f=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,i)=>`${i+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class b{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:i,_ctorUnsubscribe:e,_unsubscribe:s,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof b)i.remove(this);else if(null!==i)for(let n=0;n<i.length;++n)i[n].remove(this);if(n(s)){e&&(this._unsubscribe=void 0);try{s.call(this)}catch(o){t=o instanceof f?d(o.errors):[o]}}if(l(r)){let i=-1,e=r.length;for(;++i<e;){const e=r[i];if(u(e))try{e.unsubscribe()}catch(o){t=t||[],o instanceof f?t=t.concat(d(o.errors)):t.push(o)}}}if(t)throw new f(t)}add(t){let i=t;if(!t)return b.EMPTY;switch(typeof t){case"function":i=new b(t);case"object":if(i===this||i.closed||"function"!=typeof i.unsubscribe)return i;if(this.closed)return i.unsubscribe(),i;if(!(i instanceof b)){const t=i;i=new b,i._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:e}=i;if(null===e)i._parentOrParents=this;else if(e instanceof b){if(e===this)return i;i._parentOrParents=[e,this]}else{if(-1!==e.indexOf(this))return i;e.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[i]:s.push(i),i}remove(t){const i=this._subscriptions;if(i){const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}}function d(t){return t.reduce((t,i)=>t.concat(i instanceof f?i.errors:i),[])}b.EMPTY=function(t){return t.closed=!0,t}(new b);const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class v extends b{constructor(t,i,e){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h;break;case 1:if(!t){this.destination=h;break}if("object"==typeof t){t instanceof v?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new w(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new w(this,t,i,e)}}[p](){return this}static create(t,i,e){const s=new v(t,i,e);return s.syncErrorThrowable=!1,s}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class w extends v{constructor(t,i,e,s){let r;super(),this._parentSubscriber=t;let o=this;n(i)?r=i:i&&(r=i.next,e=i.error,s=i.complete,i!==h&&(o=Object.create(i),n(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=e,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:i}=this;a.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable?this.__tryOrSetError(i,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:i}=this,{useDeprecatedSynchronousErrorHandling:e}=a;if(this._error)e&&i.syncErrorThrowable?(this.__tryOrSetError(i,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(i.syncErrorThrowable)e?(i.syncErrorValue=t,i.syncErrorThrown=!0):c(t),this.unsubscribe();else{if(this.unsubscribe(),e)throw t;c(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const i=()=>this._complete.call(this._context);a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,i),this.unsubscribe()):(this.__tryOrUnsub(i),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,i){try{t.call(this._context,i)}catch(e){if(this.unsubscribe(),a.useDeprecatedSynchronousErrorHandling)throw e;c(e)}}__tryOrSetError(t,i,e){if(!a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{i.call(this._context,e)}catch(s){return a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(c(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const y="function"==typeof Symbol&&Symbol.observable||"@@observable";function x(t){return t}class g{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const i=new g;return i.source=this,i.operator=t,i}subscribe(t,i,e){const{operator:s}=this,r=function(t,i,e){if(t){if(t instanceof v)return t;if(t[p])return t[p]()}return t||i||e?new v(t,i,e):new v(h)}(t,i,e);if(r.add(s?s.call(r,this.source):this.source||a.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),a.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(i){a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=i),function(t){for(;t;){const{closed:i,destination:e,isStopped:s}=t;if(i||s)return!1;t=e&&e instanceof v?e:null}return!0}(t)?t.error(i):console.warn(i)}}forEach(t,i){return new(i=m(i))((i,e)=>{let s;s=this.subscribe(i=>{try{t(i)}catch(r){e(r),s&&s.unsubscribe()}},e,i)})}_subscribe(t){const{source:i}=this;return i&&i.subscribe(t)}[y](){return this}pipe(...t){return 0===t.length?this:(0===(i=t).length?x:1===i.length?i[0]:function(t){return i.reduce((t,i)=>i(t),t)})(this);var i}toPromise(t){return new(t=m(t))((t,i)=>{let e;this.subscribe(t=>e=t,t=>i(t),()=>t(e))})}}function m(t){if(t||(t=Promise),!t)throw new Error("no Promise impl found");return t}g.create=t=>new g(t);class _ extends b{constructor(t,i){super()}schedule(t,i=0){return this}}class k{constructor(t,i=k.now){this.SchedulerAction=t,this.now=i}schedule(t,i=0,e){return new this.SchedulerAction(this,t).schedule(e,i)}}k.now=()=>Date.now();class S extends k{constructor(t,i=k.now){super(t,()=>S.delegate&&S.delegate!==this?S.delegate.now():i()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,i=0,e){return S.delegate&&S.delegate!==this?S.delegate.schedule(t,i,e):super.schedule(t,i,e)}flush(t){const{actions:i}=this;if(this.active)return void i.push(t);let e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=i.shift());if(this.active=!1,e){for(;t=i.shift();)t.unsubscribe();throw e}}}const E=new S(class extends _{constructor(t,i){super(t,i),this.scheduler=t,this.work=i,this.pending=!1}schedule(t,i=0){if(this.closed)return this;this.state=t;const e=this.id,s=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(s,e,i)),this.pending=!0,this.delay=i,this.id=this.id||this.requestAsyncId(s,this.id,i),this}requestAsyncId(t,i,e=0){return setInterval(t.flush.bind(t,this),e)}recycleAsyncId(t,i,e=0){if(null!==e&&this.delay===e&&!1===this.pending)return i;clearInterval(i)}execute(t,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const e=this._execute(t,i);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,i){let e=!1,s=void 0;try{this.work(t)}catch(r){e=!0,s=!!r&&r||new Error(r)}if(e)return this.unsubscribe(),s}_unsubscribe(){const t=this.id,i=this.scheduler,e=i.actions,s=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&e.splice(s,1),null!=t&&(this.id=this.recycleAsyncId(i,t,null)),this.delay=null}});class L{constructor(t,i){this.project=t,this.thisArg=i}call(t,i){return i.subscribe(new O(t,this.project,this.thisArg))}}class O extends v{constructor(t,i,e){super(t),this.project=i,this.count=0,this.thisArg=e||this}_next(t){let i;try{i=this.project.call(this.thisArg,t,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(i)}}const j="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";class z extends v{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class P extends v{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function $(t){const{subscriber:i,counter:e,period:s}=t;i.next(e),this.schedule({subscriber:i,counter:e+1,period:s},s)}class A{constructor(t){this.durationSelector=t}call(t,i){return i.subscribe(new C(t,this.durationSelector))}}class C extends P{constructor(t,i){super(t),this.durationSelector=i,this.hasValue=!1}_next(t){try{const i=this.durationSelector.call(this,t);i&&this._tryNext(t,i)}catch(i){this.destination.error(i)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(t,i){let e=this.durationSubscription;this.value=t,this.hasValue=!0,e&&(e.unsubscribe(),this.remove(e)),e=function(t,i){if(!i.closed)return t instanceof g?t.subscribe(i):(t=>{if(t&&"function"==typeof t[y])return o=t,t=>{const i=o[y]();if("function"!=typeof i.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return i.subscribe(t)};if((n=t)&&"number"==typeof n.length&&"function"!=typeof n)return r=t,t=>{for(let i=0,e=r.length;i<e&&!t.closed;i++)t.next(r[i]);t.complete()};if((s=t)&&"function"!=typeof s.subscribe&&"function"==typeof s.then)return e=t,t=>(e.then(i=>{t.closed||(t.next(i),t.complete())},i=>t.error(i)).then(null,c),t);if(t&&"function"==typeof t[j])return i=t,t=>{const e=i[j]();for(;;){let i;try{i=e.next()}catch(s){return t.error(s),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t};{const i=u(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${i} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var i,e,s,r,n,o})(t)(i)}(i,new z(this)),e&&!e.closed&&this.add(this.durationSubscription=e)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const t=this.value,i=this.durationSubscription;i&&(this.durationSubscription=void 0,i.unsubscribe(),this.remove(i)),this.value=void 0,this.hasValue=!1,super._next(t)}}}const R=class{constructor(e){t(this,e),this.change=i(this,"change",7),this.settled=i(this,"settled",7),this.guid=r(),this.scheduledAfterRender=[],this.hasLeft=!1,this.hasRight=!1,this.initTabScroll=()=>{const t=this.hostElement.shadowRoot.querySelector(".tab-list");if(t){const{scrollWidth:i,clientWidth:e,scrollLeft:s}=t;this.hasLeft=s>0,this.hasRight=i>e}},this.updateTabData=()=>{this.updateTabPaneProps(),this.setTabs()},this.updateTabPaneProps=()=>{this.tabPanes.forEach((t,i)=>{t.selected=t.value===this.selectedTabValue,t.guid=this.guid,t.index=i})},this.setTabs=()=>{this.tabs=this.tabPanes.map(({label:t,value:i})=>({label:t&&this.loc(t)||"",value:i}))},this.onTabClick=t=>{this.change.emit({value:t.target.dataset.value})},this.onTabKeyDown=t=>{const i=t.target.dataset.value;"ArrowRight"!==t.key&&"Right"!==t.key?"ArrowLeft"!==t.key&&"Left"!==t.key||this.moveToAdjacentTab(i,"prev"):this.moveToAdjacentTab(i,"next")},this.moveToAdjacentTab=(t,i)=>{let e=this.tabs.map(({value:t})=>t).indexOf(t),s=!1;if("next"===i&&e!==this.tabs.length-1&&(e+=1,s=!0),"prev"===i&&0!==e&&(e-=1,s=!0),s){const t=this.tabs[e].value;this.hostElement.shadowRoot.querySelector(`.tab-list a[data-value="${t}"]`).focus(),this.change.emit({value:t})}},this.calculateTabScroll=({direction:t,scrollWidth:i,clientWidth:e,scrollLeft:s})=>{const r=s+("left"===t?-1:1)*Math.round(.5*e);return{newScrollLeft:r,hasLeft:r>0,hasRight:i>=e+r}},this.onTabScroll=t=>{const i=this.hostElement.shadowRoot.querySelector(".tab-list");let{scrollWidth:e,clientWidth:s,scrollLeft:r}=i;const{newScrollLeft:n,hasLeft:o,hasRight:a}=this.calculateTabScroll({direction:t,scrollWidth:e,clientWidth:s,scrollLeft:r});this.hasLeft=o,this.hasRight=a,i.scroll({left:n,behavior:"smooth"})}}loc(t,i){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,i):t}resizeIframe(){return window.TectonElements&&window.TectonElements.resizeIframe&&window.TectonElements.resizeIframe()}get tabPanes(){const t=this.hostElement.querySelectorAll("q2-tab-pane, tecton-tab-pane");return 0===t.length?[]:Array.from(t).filter(t=>t.name===this.name)}get selectedTabValue(){return this.value||this.tabPanes[0].value||""}defaultChangeHandler(t){t.target!==this.hostElement||this.hostElement.onchange||(this.value=t.detail.value)}componentWillLoad(){const t=new MutationObserver(this.updateTabData);t.observe(this.hostElement,{childList:!0,attributes:!0}),this.mutationObserver=t,this.updateTabData()}componentDidRender(){var t;this.scheduledAfterRender.forEach(t=>t()),this.scheduledAfterRender=[],this.settled.emit(),this.resizeSubscription||(this.initTabScroll(),this.resizeSubscription=function t(i,e,s,r){return n(s)&&(r=s,s=void 0),r?t(i,e,s).pipe((o=t=>l(t)?r(...t):r(t),function(t){return t.lift(new L(o,void 0))})):new g(t=>{!function t(i,e,s,r,n){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(i)){const t=i;i.addEventListener(e,s,n),o=()=>t.removeEventListener(e,s,n)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(i)){const t=i;i.on(e,s),o=()=>t.off(e,s)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(i)){const t=i;i.addListener(e,s),o=()=>t.removeListener(e,s)}else{if(!i||!i.length)throw new TypeError("Invalid event target");for(let o=0,a=i.length;o<a;o++)t(i[o],e,s,r,n)}r.add(o)}(i,e,(function(i){t.next(arguments.length>1?Array.prototype.slice.call(arguments):i)}),t,s)});var o}(window,"resize").pipe((t=()=>function(t=0,i=E){var e;return(l(e=t)||!(e-parseFloat(e)+1>=0)||t<0)&&(t=0),i&&"function"==typeof i.schedule||(i=E),new g(e=>(e.add(i.schedule($,t,{subscriber:e,counter:0,period:t})),e))}(200),i=>i.lift(new A(t)))).subscribe(this.initTabScroll))}disconnectedCallback(){this.mutationObserver.disconnect(),this.mutationObserver=null,this.resizeSubscription.unsubscribe(),this.resizeSubscription=null}valueObserver(){this.updateTabData(),this.scheduledAfterRender.push(this.resizeIframe)}nameObserver(){this.updateTabData()}render(){return e("div",{class:"tab-container"},e("ul",{class:"tab-list",role:"tablist"},this.hasLeft&&e("li",{role:"presentation",class:"nav nav-left",onClick:()=>this.onTabScroll("left")},e("div",{class:"arrow-container"},e("a",null,e("q2-icon",{type:"chevron-left"})))),this.tabs.map((t,i)=>this.generateTab(t,i)),this.hasRight&&e("li",{role:"presentation",class:"nav nav-right",onClick:()=>this.onTabScroll("right")},e("div",{class:"arrow-container"},e("a",null,e("q2-icon",{type:"chevron-right"}))))),e("div",{class:"tab-content"},e("slot",null)))}generateTab(t,i){const{label:s,value:r}=t,n=this.selectedTabValue===r;return e("li",{role:"presentation"},e("a",{id:`tab-${this.guid}-${i}`,href:"javascript://","data-value":r,"test-id":"tabLink",tabIndex:n?0:-1,role:"tab","aria-selected":""+n,"aria-controls":`tab-pane-${this.guid}-${i}`,onClick:this.onTabClick,onKeyDown:this.onTabKeyDown},s))}get hostElement(){return s(this)}static get watchers(){return{value:["valueObserver"],name:["nameObserver"]}}};R.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.tab-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.tab-list{padding:0;display:-ms-flexbox;display:flex;margin:0;list-style:none;border-bottom:1px solid\n var(--tct-tab-container-border-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));white-space:nowrap;overflow-x:hidden;-ms-flex-align:center;align-items:center}.tab-list li.nav{position:absolute;height:44px;width:46px}.tab-list li.nav-left{left:-15px;background:-webkit-gradient(linear, left top, right top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(transparent));background:linear-gradient(to right, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, transparent)}.tab-list li.nav-right{right:-15px;background:-webkit-gradient(linear, right top, left top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(transparent));background:linear-gradient(to left, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, transparent)}.tab-list li.nav .arrow-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:inherit;width:inherit;cursor:pointer}.tab-list li.nav .arrow-container a{padding:0;margin:0;height:inherit;width:inherit;border-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.tab-list li.nav .arrow-container a q2-icon{width:19px;height:19px}.tab-list a{text-decoration:none;padding:var(--tct-scale-2, var(--app-scale-2, 10px));margin:var(--tct-scale-1, var(--app-scale-1, 5px)) var(--tct-scale-1, var(--app-scale-1, 5px))\n 0;color:var(--tct-tab-inactive-color, var(--t-tab-inactive, inherit));font-size:var(--tct-tab-font-size, var(--t-tab-font-size, 17px));border-bottom:3px solid transparent;display:block;-webkit-transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([type='section']) .tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}@media screen and (max-width: 767px){.tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}}.tab-list a:hover{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));background-color:var(--tct-tab-hover-bg-color, var(--t-tab-hover-bg-color, inherit));width:var(--tct-tab-hover-width, var(--t-tab-hover-width, 100%))}.tab-list a[aria-selected='true']{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));border-color:currentColor;width:var(--tct-tab-active-width, var(--t-tab-active-width, 100%));background-color:var(--tct-tab-active-bg-color, var(--t-tab-active-bg-color, inherit))}:host([color='alt']) .tab-list a{color:var(--tct-tab-alt-inactive-color, var(--t-tab-alt-inactive, inherit))}:host([color='alt']) .tab-list a:hover,:host([color='alt']) .tab-list a[aria-selected='true']{color:var(--tct-tab-alt-active-color, var(--t-tab-alt-active, inherit))}.tab-content{padding:var(--tct-scale-2, var(--app-scale-2, 10px)) 0}";export{R as q2_tab_container}
@@ -1 +1 @@
1
- import{r as o,h as i}from"./p-7ff881d1.js";const n=class{constructor(i){o(this,i)}render(){return i("div",{id:`tab-pane-${this.guid}-${this.index}`,class:"tab-pane"+(this.selected?"":" hidden"),role:"tabpanel",tabindex:"-1","aria-expanded":""+!!this.selected,"aria-hidden":""+!this.selected,"aria-labelledby":`tab-${this.guid}-${this.index}`},i("slot",null))}};n.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.tab-pane[aria-hidden='true']{display:none}.tab-pane:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}";export{n as q2_tab_pane}
1
+ import{r as o,h as i}from"./p-1a8e579d.js";const n=class{constructor(i){o(this,i)}render(){return i("div",{id:`tab-pane-${this.guid}-${this.index}`,class:"tab-pane"+(this.selected?"":" hidden"),role:"tabpanel",tabindex:"-1","aria-expanded":""+!!this.selected,"aria-hidden":""+!this.selected,"aria-labelledby":`tab-${this.guid}-${this.index}`},i("slot",null))}};n.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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}.tab-pane[aria-hidden='true']{display:none}.tab-pane:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}";export{n as q2_tab_pane}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-7ff881d1.js";const n=class{constructor(e){t(this,e),this.input=i(this,"input",7),this.change=i(this,"change",7),this.value="",this.editing=!1,this.label="",this.scheduledAfterRender=[],this.inputInput=t=>{t.stopPropagation(),this.input.emit(t.detail),this.formattedValue=t.detail.formattedValue,this.innerValue=t.detail.value},this.inputChange=t=>{t.stopPropagation()},this.inputKeyDown=t=>"Escape"===t.key||"Esc"===t.key?(t.preventDefault(),void this.cancelClick()):"Enter"===t.key?(t.preventDefault(),void this.saveClick()):void 0,this.inputClick=t=>{t.stopPropagation()},this.saveClick=t=>{t&&t.stopPropagation();const i=this.hostElement.shadowRoot.querySelector("q2-input").value;this.change.emit({editing:!1,name:"save",value:this.innerValue||i,formattedValue:this.formattedValue||i})},this.editClick=t=>{t.stopPropagation(),this.change.emit({editing:!0,name:"edit"})},this.cancelClick=t=>{t&&t.stopPropagation(),this.change.emit({editing:!1,name:"cancel"})}}loc(t,i){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,i):t}get locLabel(){return this.label&&this.loc(this.label)||""}get locAriaLabel(){return!this.label&&this.ariaLabel&&this.loc(this.ariaLabel)||void 0}componentDidRender(){this.scheduledAfterRender.forEach(t=>t()),this.scheduledAfterRender=[]}observesEditing(t,i){t!==i&&this.scheduledAfterRender.push(t?()=>{this.hostElement.shadowRoot.querySelector("q2-input").dispatchEvent(new FocusEvent("focus"))}:()=>{this.hostElement.shadowRoot.querySelector(".begin-edit").dispatchEvent(new FocusEvent("focus"))})}get wrapperClass(){return"q2-editable-field-wrapper "+(this.editing?"editing":"")}onHostElementChange(t){event.target!==this.hostElement||this.hostElement.onchange||("save"===t.detail.name&&(this.value=t.detail.value),this.editing=t.detail.editing)}render(){return e("div",null,this.generateEditStateDOM(),this.generateReadStateDOM())}generateEditStateDOM(){return e("div",{class:this.wrapperClass,hidden:!this.editing},e("q2-input",{label:this.locLabel,ariaLabel:this.locAriaLabel,value:this.value,hints:Array.isArray(this.hints)&&this.hints.map(t=>this.loc(t))||void 0,errors:Array.isArray(this.errors)&&this.errors.map(t=>this.loc(t))||void 0,type:this.type,formatModifier:this.formatModifier,maxlength:this.maxlength,"test-id":"editableInput",onInput:this.inputInput,onChange:this.inputChange,onKeyDown:this.inputKeyDown,onClick:this.inputClick}),e("q2-btn",{class:"cancel-edit",icon:!0,ariaLabel:`${this.loc("tecton.element.editableField.cancel")} ${this.locLabel||this.locAriaLabel||""}`,"test-id":"cancelButton",onClick:this.cancelClick},e("q2-icon",{type:"close"})),e("q2-btn",{class:"save-edit",icon:!0,ariaLabel:`${this.loc("tecton.element.editableField.save")} ${this.locLabel||this.locAriaLabel||""}`,"test-id":"saveButton",onClick:this.saveClick},e("q2-icon",{type:"checkmark"})))}generateReadStateDOM(){return this.persistentLabel&&this.locLabel?e("div",{class:this.wrapperClass,hidden:this.editing},e("dl",null,e("dt",{class:"read-state-label"},this.locLabel),e("dd",null,e("span",{class:"text-wrapper"},this.value),this.generateEditBtn()))):e("div",{class:this.wrapperClass,hidden:this.editing},e("div",{class:"text-wrapper"},this.value),this.generateEditBtn())}generateEditBtn(){return e("q2-btn",{class:"begin-edit",icon:!0,ariaLabel:`${this.loc("tecton.element.editableField.edit")} ${this.locLabel||this.locAriaLabel||""}`,"test-id":"editButton",onClick:this.editClick},e("q2-icon",{type:"edit"}))}get hostElement(){return s(this)}static get watchers(){return{editing:["observesEditing"]}}};n.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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;max-width:100%}.q2-editable-field-wrapper:not([hidden]){display:-ms-flexbox;display:flex}.q2-editable-field-wrapper.editing{-ms-flex-align:end;align-items:flex-end}q2-input,.text-wrapper{margin:0 var(--tct-scale-2, var(--app-scale-2, 10px)) 0 0}q2-input{-ms-flex:1 0 auto;flex:1 0 auto;min-width:170px}.text-wrapper{-ms-flex:0 auto;flex:0 auto;-ms-flex-item-align:center;align-self:center;display:inline-block}:host([truncated]) .text-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}q2-btn{-ms-flex:0 0 44px;flex:0 0 44px}dl{margin:var(--tct-scale-0, var(--app-scale-0, 0))}dt{font-weight:600}dd{margin-left:var(--tct-scale-0, var(--app-scale-0, 0));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}";export{n as q2_editable_field}
1
+ import{r as t,c as i,h as e,g as s}from"./p-1a8e579d.js";const n=class{constructor(e){t(this,e),this.input=i(this,"input",7),this.change=i(this,"change",7),this.value="",this.editing=!1,this.label="",this.scheduledAfterRender=[],this.inputInput=t=>{t.stopPropagation(),this.input.emit(t.detail),this.formattedValue=t.detail.formattedValue,this.innerValue=t.detail.value},this.inputChange=t=>{t.stopPropagation()},this.inputKeyDown=t=>"Escape"===t.key||"Esc"===t.key?(t.preventDefault(),void this.cancelClick()):"Enter"===t.key?(t.preventDefault(),void this.saveClick()):void 0,this.inputClick=t=>{t.stopPropagation()},this.saveClick=t=>{t&&t.stopPropagation();const i=this.hostElement.shadowRoot.querySelector("q2-input").value;this.change.emit({editing:!1,name:"save",value:this.innerValue||i,formattedValue:this.formattedValue||i})},this.editClick=t=>{t.stopPropagation(),this.change.emit({editing:!0,name:"edit"})},this.cancelClick=t=>{t&&t.stopPropagation(),this.change.emit({editing:!1,name:"cancel"})}}loc(t,i){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,i):t}get locLabel(){return this.label&&this.loc(this.label)||""}get locAriaLabel(){return!this.label&&this.ariaLabel&&this.loc(this.ariaLabel)||void 0}componentDidRender(){this.scheduledAfterRender.forEach(t=>t()),this.scheduledAfterRender=[]}observesEditing(t,i){t!==i&&this.scheduledAfterRender.push(t?()=>{this.hostElement.shadowRoot.querySelector("q2-input").dispatchEvent(new FocusEvent("focus"))}:()=>{this.hostElement.shadowRoot.querySelector(".begin-edit").dispatchEvent(new FocusEvent("focus"))})}get wrapperClass(){return"q2-editable-field-wrapper "+(this.editing?"editing":"")}onHostElementChange(t){event.target!==this.hostElement||this.hostElement.onchange||("save"===t.detail.name&&(this.value=t.detail.value),this.editing=t.detail.editing)}render(){return e("div",null,this.generateEditStateDOM(),this.generateReadStateDOM())}generateEditStateDOM(){return e("div",{class:this.wrapperClass,hidden:!this.editing},e("q2-input",{label:this.locLabel,ariaLabel:this.locAriaLabel,value:this.value,hints:Array.isArray(this.hints)&&this.hints.map(t=>this.loc(t))||void 0,errors:Array.isArray(this.errors)&&this.errors.map(t=>this.loc(t))||void 0,type:this.type,formatModifier:this.formatModifier,maxlength:this.maxlength,"test-id":"editableInput",onInput:this.inputInput,onChange:this.inputChange,onKeyDown:this.inputKeyDown,onClick:this.inputClick}),e("q2-btn",{class:"cancel-edit",icon:!0,ariaLabel:`${this.loc("tecton.element.editableField.cancel")} ${this.locLabel||this.locAriaLabel||""}`,"test-id":"cancelButton",onClick:this.cancelClick},e("q2-icon",{type:"close"})),e("q2-btn",{class:"save-edit",icon:!0,ariaLabel:`${this.loc("tecton.element.editableField.save")} ${this.locLabel||this.locAriaLabel||""}`,"test-id":"saveButton",onClick:this.saveClick},e("q2-icon",{type:"checkmark"})))}generateReadStateDOM(){return this.persistentLabel&&this.locLabel?e("div",{class:this.wrapperClass,hidden:this.editing},e("dl",null,e("dt",{class:"read-state-label"},this.locLabel),e("dd",null,e("span",{class:"text-wrapper"},this.value),this.generateEditBtn()))):e("div",{class:this.wrapperClass,hidden:this.editing},e("div",{class:"text-wrapper"},this.value),this.generateEditBtn())}generateEditBtn(){return e("q2-btn",{class:"begin-edit",icon:!0,ariaLabel:`${this.loc("tecton.element.editableField.edit")} ${this.locLabel||this.locAriaLabel||""}`,"test-id":"editButton",onClick:this.editClick},e("q2-icon",{type:"edit"}))}get hostElement(){return s(this)}static get watchers(){return{editing:["observesEditing"]}}};n.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size: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;max-width:100%}.q2-editable-field-wrapper:not([hidden]){display:-ms-flexbox;display:flex}.q2-editable-field-wrapper.editing{-ms-flex-align:end;align-items:flex-end}q2-input,.text-wrapper{margin:0 var(--tct-scale-2, var(--app-scale-2, 10px)) 0 0}q2-input{-ms-flex:1 0 auto;flex:1 0 auto;min-width:170px}.text-wrapper{-ms-flex:0 auto;flex:0 auto;-ms-flex-item-align:center;align-self:center;display:inline-block}:host([truncated]) .text-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}q2-btn{-ms-flex:0 0 44px;flex:0 0 44px}dl{margin:var(--tct-scale-0, var(--app-scale-0, 0))}dt{font-weight:600}dd{margin-left:var(--tct-scale-0, var(--app-scale-0, 0));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}";export{n as q2_editable_field}