q2-tecton-elements 1.23.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/dist/cjs/action-sheet-4b366e9a.js +84 -0
  2. package/dist/cjs/{index-0648c2ec.js → index-dc92e71f.js} +32 -5
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/q2-action-sheet.cjs.entry.js +218 -0
  5. package/dist/cjs/q2-badge_2.cjs.entry.js +46 -17
  6. package/dist/cjs/q2-btn_2.cjs.entry.js +1 -1
  7. package/dist/cjs/q2-calendar.cjs.entry.js +2 -4
  8. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
  10. package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
  12. package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
  14. package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
  15. package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  17. package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
  19. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  21. package/dist/cjs/q2-message.cjs.entry.js +1 -1
  22. package/dist/cjs/q2-month-picker.cjs.entry.js +1 -1
  23. package/dist/cjs/q2-optgroup_2.cjs.entry.js +93 -0
  24. package/dist/cjs/q2-option-list_2.cjs.entry.js +226 -86
  25. package/dist/cjs/q2-pagination.cjs.entry.js +1 -1
  26. package/dist/cjs/q2-pill.cjs.entry.js +57 -18
  27. package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
  28. package/dist/cjs/q2-radio.cjs.entry.js +1 -1
  29. package/dist/cjs/q2-section.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-select.cjs.entry.js +148 -409
  31. package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
  32. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
  34. package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-tag.cjs.entry.js +21 -7
  36. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  37. package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
  38. package/dist/collection/collection-manifest.json +1 -0
  39. package/dist/collection/components/q2-action-sheet/index.js +345 -0
  40. package/dist/collection/components/q2-action-sheet/styles.css +215 -0
  41. package/dist/collection/components/q2-calendar/index.js +2 -4
  42. package/dist/collection/components/q2-checkbox/index.js +2 -2
  43. package/dist/collection/components/q2-dropdown/index.js +1 -1
  44. package/dist/collection/components/q2-input/index.js +46 -17
  45. package/dist/collection/components/q2-loading/index.js +1 -1
  46. package/dist/collection/components/q2-optgroup/styles.css +2 -2
  47. package/dist/collection/components/q2-option/index.js +3 -58
  48. package/dist/collection/components/q2-option/styles.css +7 -0
  49. package/dist/collection/components/q2-option-list/index.js +290 -102
  50. package/dist/collection/components/q2-pill/index.js +79 -18
  51. package/dist/collection/components/q2-pill/styles.css +1 -2
  52. package/dist/collection/components/q2-popover/index.js +17 -3
  53. package/dist/collection/components/q2-popover/styles.css +10 -67
  54. package/dist/collection/components/q2-radio/index.js +2 -2
  55. package/dist/collection/components/q2-select/index.js +179 -427
  56. package/dist/collection/components/q2-select/styles.css +5 -11
  57. package/dist/collection/components/q2-tag/index.js +33 -19
  58. package/dist/collection/utils/action-sheet.js +79 -0
  59. package/dist/collection/utils/index.js +29 -5
  60. package/dist/components/action-sheet.js +81 -0
  61. package/dist/components/index.d.ts +1 -0
  62. package/dist/components/index.js +1 -0
  63. package/dist/components/index10.js +1 -1
  64. package/dist/components/index11.js +42 -353
  65. package/dist/components/index12.js +44 -99
  66. package/dist/components/index13.js +495 -583
  67. package/dist/components/index14.js +137 -0
  68. package/dist/components/index15.js +629 -0
  69. package/dist/components/index5.js +1 -1
  70. package/dist/components/index6.js +1 -1
  71. package/dist/components/index7.js +1 -1
  72. package/dist/components/index8.js +46 -17
  73. package/dist/components/index9.js +2 -2
  74. package/dist/components/q2-action-sheet.d.ts +11 -0
  75. package/dist/components/q2-action-sheet.js +282 -0
  76. package/dist/components/q2-calendar.js +2 -4
  77. package/dist/components/q2-card.js +1 -1
  78. package/dist/components/q2-carousel-pane.js +1 -1
  79. package/dist/components/q2-carousel.js +1 -1
  80. package/dist/components/q2-chart-area.js +1 -1
  81. package/dist/components/q2-chart-bar.js +1 -1
  82. package/dist/components/q2-chart-donut.js +1 -1
  83. package/dist/components/q2-checkbox-group.js +1 -1
  84. package/dist/components/q2-checkbox.js +1 -1
  85. package/dist/components/q2-dropdown.js +2 -2
  86. package/dist/components/q2-editable-field.js +1 -1
  87. package/dist/components/q2-loc.js +1 -1
  88. package/dist/components/q2-month-picker.js +1 -1
  89. package/dist/components/q2-optgroup.js +1 -70
  90. package/dist/components/q2-option-list.js +1 -1
  91. package/dist/components/q2-option.js +1 -76
  92. package/dist/components/q2-pagination.js +1 -1
  93. package/dist/components/q2-pill.js +62 -21
  94. package/dist/components/q2-popover.js +1 -1
  95. package/dist/components/q2-radio-group.js +1 -1
  96. package/dist/components/q2-radio.js +3 -3
  97. package/dist/components/q2-section.js +1 -1
  98. package/dist/components/q2-select.js +179 -427
  99. package/dist/components/q2-stepper-pane.js +1 -1
  100. package/dist/components/q2-stepper-vertical.js +1 -1
  101. package/dist/components/q2-stepper.js +1 -1
  102. package/dist/components/q2-tab-container.js +1 -1
  103. package/dist/components/q2-tag.js +25 -11
  104. package/dist/components/q2-textarea.js +1 -1
  105. package/dist/docs.d.ts +148 -0
  106. package/dist/docs.json +8755 -0
  107. package/dist/esm/action-sheet-a9597b32.js +81 -0
  108. package/dist/esm/{index-501fd22e.js → index-d4a87058.js} +30 -6
  109. package/dist/esm/loader.js +1 -1
  110. package/dist/esm/q2-action-sheet.entry.js +214 -0
  111. package/dist/esm/q2-badge_2.entry.js +46 -17
  112. package/dist/esm/q2-btn_2.entry.js +1 -1
  113. package/dist/esm/q2-calendar.entry.js +2 -4
  114. package/dist/esm/q2-card.entry.js +1 -1
  115. package/dist/esm/q2-carousel-pane.entry.js +1 -1
  116. package/dist/esm/q2-carousel.entry.js +1 -1
  117. package/dist/esm/q2-chart-area.entry.js +1 -1
  118. package/dist/esm/q2-chart-bar.entry.js +1 -1
  119. package/dist/esm/q2-chart-donut.entry.js +1 -1
  120. package/dist/esm/q2-checkbox-group.entry.js +1 -1
  121. package/dist/esm/q2-checkbox.entry.js +1 -1
  122. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  123. package/dist/esm/q2-dropdown.entry.js +1 -1
  124. package/dist/esm/q2-editable-field.entry.js +1 -1
  125. package/dist/esm/q2-icon.entry.js +1 -1
  126. package/dist/esm/q2-loc.entry.js +1 -1
  127. package/dist/esm/q2-message.entry.js +1 -1
  128. package/dist/esm/q2-month-picker.entry.js +1 -1
  129. package/dist/esm/q2-optgroup_2.entry.js +88 -0
  130. package/dist/esm/q2-option-list_2.entry.js +226 -86
  131. package/dist/esm/q2-pagination.entry.js +1 -1
  132. package/dist/esm/q2-pill.entry.js +57 -18
  133. package/dist/esm/q2-radio-group.entry.js +1 -1
  134. package/dist/esm/q2-radio.entry.js +1 -1
  135. package/dist/esm/q2-section.entry.js +1 -1
  136. package/dist/esm/q2-select.entry.js +148 -409
  137. package/dist/esm/q2-stepper-pane.entry.js +1 -1
  138. package/dist/esm/q2-stepper-vertical.entry.js +1 -1
  139. package/dist/esm/q2-stepper.entry.js +1 -1
  140. package/dist/esm/q2-tab-container.entry.js +1 -1
  141. package/dist/esm/q2-tag.entry.js +22 -8
  142. package/dist/esm/q2-tecton-elements.js +1 -1
  143. package/dist/esm/q2-textarea.entry.js +1 -1
  144. package/dist/q2-tecton-elements/p-059065e4.js +1 -0
  145. package/dist/q2-tecton-elements/{p-9b101e22.entry.js → p-1a744921.entry.js} +1 -1
  146. package/dist/q2-tecton-elements/{p-3fd5d010.entry.js → p-1b95e43f.entry.js} +1 -1
  147. package/dist/q2-tecton-elements/{p-3603fcdc.entry.js → p-1ea4b8bd.entry.js} +1 -1
  148. package/dist/q2-tecton-elements/{p-53be87c8.entry.js → p-1f3eb04c.entry.js} +1 -1
  149. package/dist/q2-tecton-elements/p-25839309.entry.js +1 -0
  150. package/dist/q2-tecton-elements/{p-38a33baa.entry.js → p-274ec152.entry.js} +1 -1
  151. package/dist/q2-tecton-elements/{p-6be86940.entry.js → p-2ba9e1a2.entry.js} +1 -1
  152. package/dist/q2-tecton-elements/{p-ebd7efa5.entry.js → p-2c309c54.entry.js} +1 -1
  153. package/dist/q2-tecton-elements/{p-3e9a30c4.entry.js → p-2cc70f49.entry.js} +1 -1
  154. package/dist/q2-tecton-elements/{p-604b22a8.entry.js → p-2ceb41c4.entry.js} +1 -1
  155. package/dist/q2-tecton-elements/p-2e938b20.entry.js +1 -0
  156. package/dist/q2-tecton-elements/{p-5b1aba1a.entry.js → p-306a4bc7.entry.js} +1 -1
  157. package/dist/q2-tecton-elements/p-32f44993.entry.js +1 -0
  158. package/dist/q2-tecton-elements/{p-d7b27803.entry.js → p-3a9aac19.entry.js} +1 -1
  159. package/dist/q2-tecton-elements/p-3c73ce3f.entry.js +1 -0
  160. package/dist/q2-tecton-elements/p-4a95f78e.entry.js +1 -0
  161. package/dist/q2-tecton-elements/{p-6b7e1ebd.entry.js → p-4b48a49d.entry.js} +1 -1
  162. package/dist/q2-tecton-elements/p-4b92e44e.entry.js +1 -0
  163. package/dist/q2-tecton-elements/p-5ecb9c27.entry.js +1 -0
  164. package/dist/q2-tecton-elements/p-6779270e.entry.js +1 -0
  165. package/dist/q2-tecton-elements/{p-70b01387.entry.js → p-72fc58e7.entry.js} +1 -1
  166. package/dist/q2-tecton-elements/p-7ac02ae5.entry.js +1 -0
  167. package/dist/q2-tecton-elements/{p-78fac0fa.entry.js → p-7c168977.entry.js} +1 -1
  168. package/dist/q2-tecton-elements/{p-d27b2caa.entry.js → p-7c9bf80a.entry.js} +1 -1
  169. package/dist/q2-tecton-elements/p-83d678c7.entry.js +1 -0
  170. package/dist/q2-tecton-elements/p-a1926e65.js +1 -0
  171. package/dist/q2-tecton-elements/{p-24f4571d.entry.js → p-a3a5b57b.entry.js} +1 -1
  172. package/dist/q2-tecton-elements/p-a6296870.entry.js +1 -0
  173. package/dist/q2-tecton-elements/{p-45d61789.entry.js → p-a64e7eb1.entry.js} +1 -1
  174. package/dist/q2-tecton-elements/{p-8dea9a0c.entry.js → p-ad83984e.entry.js} +1 -1
  175. package/dist/q2-tecton-elements/{p-bf41e71b.entry.js → p-bf0ed24a.entry.js} +1 -1
  176. package/dist/q2-tecton-elements/{p-a2add94e.entry.js → p-bff85959.entry.js} +1 -1
  177. package/dist/q2-tecton-elements/{p-7aa80653.entry.js → p-c4a9ab25.entry.js} +1 -1
  178. package/dist/q2-tecton-elements/p-ea5383ba.entry.js +1 -0
  179. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  180. package/dist/test/helpers.js +3 -2
  181. package/dist/types/components/q2-action-sheet/index.d.ts +52 -0
  182. package/dist/types/components/q2-checkbox/index.d.ts +4 -1
  183. package/dist/types/components/q2-input/index.d.ts +5 -0
  184. package/dist/types/components/q2-option/index.d.ts +1 -4
  185. package/dist/types/components/q2-option-list/index.d.ts +16 -8
  186. package/dist/types/components/q2-pill/index.d.ts +10 -1
  187. package/dist/types/components/q2-popover/index.d.ts +2 -0
  188. package/dist/types/components/q2-select/index.d.ts +45 -47
  189. package/dist/types/components/q2-tag/index.d.ts +3 -3
  190. package/dist/types/components.d.ts +44 -17
  191. package/dist/types/global.d.ts +9 -2
  192. package/dist/types/utils/action-sheet.d.ts +12 -0
  193. package/dist/types/utils/index.d.ts +4 -1
  194. package/dist/types/workspace/workspace/Tecton_tecton-production_master/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +1 -1
  195. package/package.json +4 -2
  196. package/dist/cjs/q2-optgroup.cjs.entry.js +0 -56
  197. package/dist/cjs/q2-option.cjs.entry.js +0 -46
  198. package/dist/esm/q2-optgroup.entry.js +0 -52
  199. package/dist/esm/q2-option.entry.js +0 -42
  200. package/dist/q2-tecton-elements/p-18629cbf.entry.js +0 -1
  201. package/dist/q2-tecton-elements/p-2c20fc43.entry.js +0 -1
  202. package/dist/q2-tecton-elements/p-3813f51d.entry.js +0 -1
  203. package/dist/q2-tecton-elements/p-68ef0786.entry.js +0 -1
  204. package/dist/q2-tecton-elements/p-a510290a.js +0 -1
  205. package/dist/q2-tecton-elements/p-acc77332.entry.js +0 -1
  206. package/dist/q2-tecton-elements/p-ba73ee1f.entry.js +0 -1
  207. package/dist/q2-tecton-elements/p-ba76ecfd.entry.js +0 -1
  208. package/dist/q2-tecton-elements/p-bbdae095.entry.js +0 -1
  209. package/dist/q2-tecton-elements/p-d68b5eb3.entry.js +0 -1
  210. package/dist/q2-tecton-elements/p-d88e4383.entry.js +0 -1
  211. package/dist/q2-tecton-elements/p-f1d06917.entry.js +0 -1
  212. package/dist/q2-tecton-elements/p-f6e868c1.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
2
- import { c as createGuid, e as setMessageHeight, h as handleAriaLabel, o as overrideFocus, l as loc, i as isEventFromElement, f as labelDOM, m as messagesDOM } from './index13.js';
2
+ import { i as isMobile, c as createGuid, g as setMessageHeight, h as handleAriaLabel, o as overrideFocus, l as loc, a as isEventFromElement, j as labelDOM, m as messagesDOM } from './index15.js';
3
3
  import { d as defineCustomElement$4 } from './index4.js';
4
4
  import { d as defineCustomElement$3 } from './index5.js';
5
5
  import { d as defineCustomElement$2 } from './index7.js';
@@ -2882,15 +2882,20 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
2882
2882
  this.change = createEvent(this, "change", 7);
2883
2883
  this.clear = createEvent(this, "clear", 7);
2884
2884
  this.scheduledAfterRender = [];
2885
+ this.isMobile = isMobile();
2885
2886
  this.guid = createGuid();
2886
2887
  ///// ACTIONS ////////
2887
2888
  this.onToggleVisibility = () => {
2888
2889
  this.textHidden = !this.textHidden;
2889
2890
  };
2891
+ this.onInputClick = () => {
2892
+ if (this.shouldCursorStayAtEnd)
2893
+ this.placeCursorAtEnd();
2894
+ };
2890
2895
  this.onInputFocus = () => {
2891
- this.scheduledAfterRender.push(() => {
2892
- this.setCursorPosition(this.calculateCursorPositionOnFocus());
2893
- });
2896
+ this.scheduledAfterRender.push(() => this.shouldCursorStayAtEnd
2897
+ ? this.placeCursorAtEnd()
2898
+ : this.setCursorPosition(this.calculateCursorPositionOnFocus()));
2894
2899
  this.hasFocus = true;
2895
2900
  setMessageHeight(this);
2896
2901
  this.valueOnFocus = this.value;
@@ -2917,7 +2922,11 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
2917
2922
  }
2918
2923
  };
2919
2924
  this.onInputKeydown = (event) => {
2920
- if (event.key === 'Enter' && this.valueOnFocus !== this.formattedValueObject.value) {
2925
+ const keysThatMoveCursor = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'];
2926
+ const { key } = event;
2927
+ if (this.shouldCursorStayAtEnd && keysThatMoveCursor.includes(key))
2928
+ event.preventDefault();
2929
+ if (key === 'Enter' && this.valueOnFocus !== this.formattedValueObject.value) {
2921
2930
  this.valueOnFocus = this.formattedValueObject.value;
2922
2931
  this.change.emit(Object.assign({ value: this.formattedValueObject.value, formattedValue: this.formattedValueObject.fullyFormattedValue, minFormattedLength: this.formattedValueObject.minFormattedLength }, (this.formattedValueObject.type && { type: this.formattedValueObject.type })));
2923
2932
  }
@@ -3019,6 +3028,9 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
3019
3028
  get canClear() {
3020
3029
  return this.clearable && !!this.value;
3021
3030
  }
3031
+ get shouldCursorStayAtEnd() {
3032
+ return this.isMobile && this.type === 'currency';
3033
+ }
3022
3034
  get hasError() {
3023
3035
  return Array.isArray(this.errors) && this.errors.length > 0;
3024
3036
  }
@@ -3091,16 +3103,16 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
3091
3103
  search: 'search',
3092
3104
  url: 'url',
3093
3105
  email: 'email',
3094
- currency: 'tel',
3106
+ currency: 'text',
3095
3107
  phone: 'tel',
3096
- ssn: 'tel',
3108
+ ssn: 'text',
3097
3109
  alphanumeric: 'text',
3098
3110
  alpha: 'text',
3099
- numeric: 'tel',
3100
- percentage: 'tel',
3101
- postal: 'tel',
3102
- date: 'tel',
3103
- 'credit-card': 'tel',
3111
+ numeric: 'text',
3112
+ percentage: 'text',
3113
+ postal: 'text',
3114
+ date: 'text',
3115
+ 'credit-card': 'text',
3104
3116
  };
3105
3117
  if (['password', 'text', 'ssn'].includes(this.type) && this.textHidden) {
3106
3118
  return 'password';
@@ -3110,7 +3122,7 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
3110
3122
  }
3111
3123
  }
3112
3124
  get computedAutocomplete() {
3113
- // force off for currenty type
3125
+ // force off for currency type
3114
3126
  if (this.type === 'currency')
3115
3127
  return 'transaction-amount';
3116
3128
  return this.autocomplete || 'off';
@@ -3153,6 +3165,18 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
3153
3165
  this.inputField.value = this.formattedValueObject.formattedValue;
3154
3166
  }
3155
3167
  }
3168
+ get inputMode() {
3169
+ const inputModeMap = {
3170
+ currency: 'numeric',
3171
+ ssn: 'numeric',
3172
+ numeric: 'decimal',
3173
+ percentage: 'decimal',
3174
+ postal: 'numeric',
3175
+ date: 'numeric',
3176
+ 'credit-card': 'numeric',
3177
+ };
3178
+ return (this.type && inputModeMap[this.type]) || undefined;
3179
+ }
3156
3180
  //////// OBSERVERS //////////
3157
3181
  ariaLabelObserver() {
3158
3182
  handleAriaLabel(this);
@@ -3217,7 +3241,7 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
3217
3241
  const inputClasses = ['input-field'];
3218
3242
  if (hasCustomDisplaySlot)
3219
3243
  inputClasses.push('sr');
3220
- return (h(Fragment, null, hasCustomDisplaySlot && (h("div", { class: "custom-display-container" }, h("slot", { name: "custom-display" }))), h("input", { class: inputClasses.join(' '), id: this.inputId, type: this.computedType, size: this.formattedValueObject.prefix ? 10 : undefined, max: this.max, min: this.min, step: this.step, "aria-current": this.current || undefined, "aria-describedby": this.inputDescribedBy, "aria-required": `${!this.optional}`, "aria-invalid": `${this.hasError}`, "aria-controls": (this.ariaControls && `${this.ariaControls}`) || undefined, "aria-owns": (this.ariaOwns && `${this.ariaOwns}`) || undefined, "aria-haspopup": (this.ariaHaspopup && `${this.ariaHaspopup}`) || undefined, "aria-expanded": (!!this.ariaExpanded && `${!!this.ariaExpanded}`) || undefined, "aria-activedescendant": this.ariaActivedescendant && `${this.ariaActivedescendant}`, "aria-label": this.hideLabel && this.label ? loc(this.label) : undefined, autocomplete: this.computedAutocomplete, autocapitalize: this.autocapitalize === 'on' ? 'on' : 'off', autocorrect: this.autocorrect === 'on' ? 'on' : 'off', placeholder: (this.placeholder && loc(this.placeholder)) || undefined, role: (this.role && `${this.role}`) || undefined, "test-id": "inputField", readonly: !!this.readonly, disabled: !!this.disabled, onFocus: this.onInputFocus, onBlur: this.onInputBlur, onKeyDown: this.onInputKeydown, onInput: this.onInputInput, onPaste: this.onInputPaste })));
3244
+ return (h(Fragment, null, hasCustomDisplaySlot && (h("div", { class: "custom-display-container" }, h("slot", { name: "custom-display" }))), h("input", { class: inputClasses.join(' '), id: this.inputId, type: this.computedType, size: this.formattedValueObject.prefix ? 10 : undefined, max: this.max, min: this.min, step: this.step, "aria-current": this.current || undefined, "aria-describedby": this.inputDescribedBy, "aria-required": `${!this.optional}`, "aria-invalid": `${this.hasError}`, "aria-controls": (this.ariaControls && `${this.ariaControls}`) || undefined, "aria-owns": (this.ariaOwns && `${this.ariaOwns}`) || undefined, "aria-haspopup": (this.ariaHaspopup && `${this.ariaHaspopup}`) || undefined, "aria-expanded": (!!this.ariaExpanded && `${!!this.ariaExpanded}`) || undefined, "aria-activedescendant": this.ariaActivedescendant && `${this.ariaActivedescendant}`, "aria-label": this.hideLabel && this.label ? loc(this.label) : undefined, autocomplete: this.computedAutocomplete, autocapitalize: this.autocapitalize === 'on' ? 'on' : 'off', autocorrect: this.autocorrect === 'on' ? 'on' : 'off', placeholder: (this.placeholder && loc(this.placeholder)) || undefined, role: (this.role && `${this.role}`) || undefined, "test-id": "inputField", readonly: !!this.readonly, disabled: !!this.disabled, onFocus: this.onInputFocus, onBlur: this.onInputBlur, onClick: this.onInputClick, onKeyDown: this.onInputKeydown, onInput: this.onInputInput, onPaste: this.onInputPaste, inputmode: this.inputMode })));
3221
3245
  }
3222
3246
  /* tslint:enable:cyclomatic-complexity */
3223
3247
  pseudoInputDOM() {
@@ -3231,6 +3255,10 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
3231
3255
  }
3232
3256
  return (h("div", { class: "pseudo-input-container" }, h("button", { class: "input-field", type: "button", id: this.inputId, "aria-describedby": this.inputDescribedBy, "aria-invalid": `${this.hasError}`, "aria-controls": (this.ariaControls && `${this.ariaControls}`) || undefined, "aria-owns": (this.ariaOwns && `${this.ariaOwns}`) || undefined, "aria-haspopup": (this.ariaHaspopup && `${this.ariaHaspopup}`) || undefined, "aria-expanded": this.ariaExpanded === 'true' ? 'true' : undefined, "aria-activedescendant": this.ariaActivedescendant && `${this.ariaActivedescendant}`, "aria-label": `${this.value}, ${(this.label && loc(this.label)) || ''}${ariaLabelSuffix}`, role: (this.role && `${this.role}`) || undefined, disabled: !!this.disabled, "test-id": "q2InputInnerClearButton" }, h("div", { class: "custom-display-container" }, h("slot", { name: "custom-display" }, h("span", { class: showPlaceholder ? 'placeholder-text' : '' }, showPlaceholder ? this.placeholder : this.value))))));
3233
3257
  }
3258
+ placeCursorAtEnd() {
3259
+ const { inputField } = this;
3260
+ inputField.selectionStart = inputField.selectionEnd = inputField.value.length;
3261
+ }
3234
3262
  calculateCursorPositionOnInput() {
3235
3263
  const input = this.inputField;
3236
3264
  const formattedLength = this.formattedValueObject.formattedValue.length;
@@ -3244,9 +3272,10 @@ const Q2Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
3244
3272
  };
3245
3273
  }
3246
3274
  calculateCursorPositionOnFocus() {
3247
- const input = this.inputField;
3248
- const valueLength = input && input.value ? input.value.length : 0;
3249
- const startingPosition = (input && input.selectionStart) || valueLength;
3275
+ var _a, _b, _c;
3276
+ const { inputField } = this;
3277
+ const valueLength = (_b = (_a = inputField === null || inputField === void 0 ? void 0 : inputField.value) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0;
3278
+ const startingPosition = (_c = inputField === null || inputField === void 0 ? void 0 : inputField.selectionStart) !== null && _c !== void 0 ? _c : valueLength;
3250
3279
  return {
3251
3280
  startingPosition,
3252
3281
  valueLength,
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { l as loc, h as handleAriaLabel } from './index13.js';
2
+ import { l as loc, h as handleAriaLabel } from './index15.js';
3
3
  import { s as shapes } from './shapes.js';
4
4
 
5
5
  const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.flex{display:flex}.flex-center{justify-content:center}.flex-left{justify-content:flex-start}.flex-right{justify-content:flex-end}.flex-v-center{align-items:center}.no-margin{margin:0}:host{display:block}:host([inline]),:host([modifiers*=inline]){display:inline-block}:host([hidden]){display:none}:host(:not([inline]):not([modifiers*=inline])){font-size:var(--tct-loading-spinner-size, var(--t-loading-spinner-size, var(--app-scale-12x, 60px)))}.q2-loading-animation{height:1em;width:1em}.half-circle-spinner,.half-circle-spinner *{box-sizing:border-box}.half-circle-spinner{border-radius:100%;position:relative}.half-circle-spinner .circle{position:absolute;width:100%;height:100%;border-radius:100%;border:0.0833333333em solid transparent}.half-circle-spinner .circle.circle-1{border-top-color:var(--tct-loading-primary-color, var(--t-loading-primary-color, var(--t-primary, #0079c1)));animation:half-circle-spinner-animation 1s infinite}.half-circle-spinner .circle.circle-2{border-bottom-color:var(--tct-loading-secondary-color, var(--t-loading-secondary-color, #9ddd4f));animation:half-circle-spinner-animation 1s infinite alternate}@keyframes half-circle-spinner-animation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.q2-loading-skeleton{position:relative;width:100%;height:100%;overflow:hidden;--comp-loading-skeleton-shimmer-color:var(--tct-loading-skeleton-shimmer-color, var(--t-base, rgba(255, 255, 255, 0.5)));--comp-loading-skeleton-vertical-gap:var(--tct-loading-skeleton-vertical-gap, var(--tct-scale-2, 10px));--comp-loading-skeleton-horizontal-gap:var(--tct-loading-skeleton-horizontal-gap, var(--tct-scale-2, 10px))}.q2-loading-skeleton-shimmer{position:absolute;width:1rem;height:100%;top:0;left:-100px;animation:skeletonShimmer 3s ease-in-out infinite;background-color:var(--comp-loading-skeleton-shimmer-color);box-shadow:0 0 25px 20px var(--comp-loading-skeleton-shimmer-color);transform:rotate(10deg)}.skeleton-shape.rectangle:not(.no-margin){margin:var(--tct-loading-skeleton-vertical-gap, var(--tct-scale-2, 10px)) var(--tct-loading-skeleton-horizontal-gap, var(--tct-scale-2, 10px))}.skeleton-shape.circle,.skeleton-shape.rectangle{background-color:var(--tct-loading-skeleton-element-bg, var(--tct-gray-l3, var(--t-gray-14, #f2f2f2)))}.skeleton-shape.rectangle{min-height:var(--tct-loading-skeleton-rectangle-min-height, 20px)}.skeleton-shape.circle{border-radius:50%;padding-top:100%}.flex .rectangle{flex-grow:1}.skeleton-table-row .rectangle{margin:var(--comp-loading-skeleton-vertical-gap) var(--comp-loading-skeleton-horizontal-gap)}.skeleton-table-row .rectangle:not(:first-child):not(:last-child){flex-grow:2}.skeleton-table-row-border .skeleton-shape{margin:0 var(--comp-loading-skeleton-horizontal-gap)}.form{flex-wrap:wrap}.form .field{margin:var(--comp-loading-skeleton-vertical-gap) 0}.form.columns-1 .field{flex-basis:100%}.form.columns-2 .field{flex-basis:50%}.form.columns-3 .field{flex-basis:33.3333%}.form.columns-4 .field{flex-basis:25%}.form.columns-5 .field{flex-basis:20%}.text .rectangle{margin-bottom:0}.text .header.center{margin:0 auto}.text .header.right{margin-left:auto}.text .header{height:1.5rem}.text .header.smaller{height:1rem}.detailed-item{flex-wrap:wrap}.detailed-item.right{flex-flow:row-reverse}.detailed-item-image{flex:0 0 auto;display:inline-flex}.center .detailed-item-image{flex-basis:100%;display:flex}.detailed-item-image .rectangle{flex-grow:0}.detailed-item-text>div{width:100%}.detailed-item-text{flex:1 1 auto}.detailed-item-text .text{margin-top:0;margin-bottom:0}.label-value{flex-wrap:wrap}.label-value .rectangle{flex-basis:calc(50% - 2 * var(--comp-loading-skeleton-horizontal-gap))}@keyframes skeletonShimmer{0%{left:-100px;opacity:1}70%{opacity:1}100%{left:800px;opacity:0}}";
@@ -79,7 +79,7 @@ const Q2Loading = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
79
79
  "shape": [513],
80
80
  "modifiers": [513],
81
81
  "counts": [513],
82
- "label": [513],
82
+ "label": [1537],
83
83
  "ariaLabel": [513, "aria-label"],
84
84
  "inline": [516]
85
85
  }]);
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface Q2ActionSheet extends Components.Q2ActionSheet, HTMLElement {}
4
+ export const Q2ActionSheet: {
5
+ prototype: Q2ActionSheet;
6
+ new (): Q2ActionSheet;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,282 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
2
+ import { l as loc, w as waitForNextPaint } from './index15.js';
3
+ import { d as defineCustomElement$8 } from './index5.js';
4
+ import { d as defineCustomElement$7 } from './index7.js';
5
+ import { d as defineCustomElement$6 } from './index9.js';
6
+ import { d as defineCustomElement$5 } from './index10.js';
7
+ import { d as defineCustomElement$4 } from './index11.js';
8
+ import { d as defineCustomElement$3 } from './index12.js';
9
+ import { d as defineCustomElement$2 } from './index13.js';
10
+
11
+ const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@keyframes showBackdrop{from{opacity:0}}@keyframes hideBackdrop{to{opacity:0}}dialog{--comp-border-radius-default:var(--app-scale-3x, 15px) var(--app-scale-3x, 15px) 0 0;--comp-border-radius:var(--tct-action-sheet-border-radius, var(--t-action-sheet-border-radius, var(--comp-border-radius-default)));--comp-desktop-border-radius:var(--tct-action-sheet-border-radius, var(--t-action-sheet-border-radius, var(--app-scale-3x, 15px)));--comp-header-size:var(--tct-action-sheet-close-size, var(--t-action-sheet-close-size, var(--t-a11y-min-size, 44px)));--comp-dialog-background:var(--tct-action-sheet-background, var(--t-action-sheet-background, var(--t-base, #ffffff)));--comp-dialog-color:var(--tct-action-sheet-color, var(--t-action-sheet-color, var(--t-text, #4d4d4d)));--comp-dialog-padding:var(--tct-action-sheet-padding, var(--t-action-sheet-padding, var(--app-scale-3x, 15px)));--comp-content-gradient-height:var(--tct-action-sheet-content-gradient-height, var(--t-action-sheet-content-gradient-height, var(--app-scale-2x, 10px)));--comp-dialog-interior-gap-default:var(--app-scale-2x, 10px);--comp-dialog-max-width:var(--tct-action-sheet-max-width, var(--t-action-sheet-max-width, 400px));--comp-dialog-max-height:var(--tct-action-sheet-max-height, var(--t-action-sheet-max-height, 75vh));--comp-dialog-min-height:var(--tct-action-sheet-min-height, var(--t-action-sheet-min-height, 20vh));--comp-dialog-box-shadow:var(--tct-action-sheet-box-shadow, var(--t-action-sheet-box-shadow, var(--app-shadow-2, 0 3px 6px rgba(0, 0, 0, 0.3))));position:fixed;top:100%;bottom:unset;color:var(--comp-dialog-color);background:var(--comp-dialog-background);transition:transform var(--tct-action-sheet-tween, var(--t-action-sheet-tween, var(--app-tween-2, 0.4s ease))), opacity var(--tct-action-sheet-tween, var(--t-action-sheet-tween, var(--app-tween-2, 0.4s ease)));width:100%;max-width:var(--comp-dialog-max-width);border:0;border-radius:var(--comp-border-radius);box-shadow:var(--comp-dialog-box-shadow);padding:0;height:auto;overflow:hidden;min-height:var(--comp-dialog-min-height);max-height:var(--comp-dialog-max-height)}dialog::backdrop{opacity:0;background:var(--tct-action-sheet-backdrop-background, var(--t-action-sheet-backdrop-background, var(--t-top-a2, rgba(13, 13, 13, 0.6))))}dialog[open].is-opening,dialog[open].is-open{transform:translateY(-100%)}@media screen and (min-width: 1200px){dialog[open].is-opening,dialog[open].is-open{opacity:1;transform:translateY(0)}}dialog[open].is-opening::backdrop,dialog[open].is-open::backdrop{opacity:1;animation:showBackdrop var(--tct-action-sheet-tween, var(--t-action-sheet-tween, var(--app-tween-2, 0.4s ease)))}dialog[open].is-closing{transform:translateY(10%)}dialog[open].is-closing::backdrop{animation:hideBackdrop var(--tct-action-sheet-tween, var(--t-action-sheet-tween, var(--app-tween-2, 0.4s ease)))}@media screen and (min-width: 1200px){dialog{border-radius:var(--comp-desktop-border-radius);top:0px;bottom:0px;height:fit-content;transform:translateY(10%);opacity:0}}.content{overflow-y:auto;--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 3px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}.content::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.content::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.content::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.interior{display:grid;grid-template-rows:44px 1fr auto;gap:var(--comp-dialog-interior-gap-default);max-height:calc(var(--comp-dialog-max-height) - var(--comp-dialog-padding));padding:var(--comp-dialog-padding)}.interior.is-list header,.interior.is-list footer{position:relative}.interior.is-list header:before,.interior.is-list footer:before{content:\"\";display:block;position:absolute;left:0;height:var(--comp-content-gradient-height);width:100%;z-index:1}.interior.is-list header:before{top:calc(100% + var(--comp-dialog-interior-gap-default));background:linear-gradient(to bottom, var(--t-base) 0%, var(--t-base-a0) 100%)}.interior.is-list footer:before{top:calc((var(--comp-dialog-interior-gap-default) + var(--comp-content-gradient-height)) * -1);background:linear-gradient(to top, var(--t-base) 0%, var(--t-base-a0) 100%)}header{display:grid;grid-template-columns:var(--comp-header-size) 1fr var(--comp-header-size);grid-template-areas:\". title close\";gap:var(--app-scale-2x, 10px)}header .title{grid-area:title;text-align:center;line-height:var(--comp-header-size)}header .btn-close{grid-area:close;width:var(--comp-header-size);height:var(--comp-header-size)}footer{display:flex;justify-content:end}";
12
+
13
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s)
16
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
17
+ t[p] = s[p];
18
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
19
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
20
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
21
+ t[p[i]] = s[p[i]];
22
+ }
23
+ return t;
24
+ };
25
+ const Q2ActionSheet$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
26
+ constructor() {
27
+ super();
28
+ this.__registerHost();
29
+ this.__attachShadow();
30
+ this.close = createEvent(this, "close", 7);
31
+ this.ready = createEvent(this, "ready", 3);
32
+ this.initialSelectedOptions = [];
33
+ this.selectedOptions = { values: [], value: '' };
34
+ this.minHeight = 0.2;
35
+ this.maxHeight = 0.75;
36
+ this.generateOption = (option) => {
37
+ const optionElement = document.createElement('q2-option');
38
+ const attributes = __rest(option, ["innerHTML"]);
39
+ if (option.innerHTML)
40
+ optionElement.innerHTML = option.innerHTML;
41
+ Object.entries(attributes).forEach(([key, value]) => {
42
+ if (value === undefined)
43
+ return;
44
+ if (typeof value === 'boolean') {
45
+ if (value)
46
+ optionElement.setAttribute(key, '');
47
+ }
48
+ else {
49
+ optionElement.setAttribute(key, value);
50
+ }
51
+ });
52
+ return optionElement;
53
+ };
54
+ this.generateOptgroup = (option) => {
55
+ const optgroupElement = document.createElement('q2-optgroup');
56
+ if (option.label)
57
+ optgroupElement.setAttribute('label', option.label);
58
+ if (option.disabled)
59
+ optgroupElement.setAttribute('disabled', '');
60
+ if (!!option.options.length)
61
+ option.options.forEach(opt => optgroupElement.appendChild(this.generateOption(opt)));
62
+ return optgroupElement;
63
+ };
64
+ /// Event Handlers ///
65
+ this.onClick = (event) => {
66
+ const eventTarget = event.target;
67
+ if (!(eventTarget instanceof HTMLElement))
68
+ return;
69
+ const isInContent = !!eventTarget.closest('.interior, q2-action-sheet');
70
+ if (isInContent)
71
+ return;
72
+ this.onCancel(event);
73
+ };
74
+ this.onCancel = (event) => {
75
+ var _a, _b;
76
+ event.preventDefault();
77
+ const { initialSelectedOptions } = this;
78
+ this.hide({
79
+ value: (_b = (_a = initialSelectedOptions === null || initialSelectedOptions === void 0 ? void 0 : initialSelectedOptions[0]) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : '',
80
+ values: initialSelectedOptions,
81
+ type: 'cancel',
82
+ });
83
+ };
84
+ this.onListChange = (event) => {
85
+ this.selectedOptions = event.detail;
86
+ };
87
+ this.onListPopoverStateChange = (event) => {
88
+ if (event.detail.open)
89
+ return;
90
+ if (event.detail.action === 'close') {
91
+ this.onCancel(event);
92
+ }
93
+ else {
94
+ this.onListDone();
95
+ }
96
+ };
97
+ this.onListDone = () => {
98
+ this.hide(Object.assign(Object.assign({}, this.selectedOptions), { type: 'confirm' }));
99
+ };
100
+ /// DOM ///
101
+ this.renderSlot = () => {
102
+ return (h("div", { class: "content", ref: el => (this.contentElement = el) }, h("slot", null)));
103
+ };
104
+ this.renderMessage = ({ data }) => {
105
+ return (h("q2-message", { type: data.type }, data.title && h("h2", null, data.title), data.description && h("p", null, data.description)));
106
+ };
107
+ this.renderList = ({ data }) => {
108
+ const { listProps } = data;
109
+ return (h(Fragment, null, h("div", { class: "content", ref: el => (this.contentElement = el) }, h("q2-option-list", { ref: el => (this.optionListElement = el), multiple: listProps.multiple, noSelect: listProps.noSelect, onChange: this.onListChange, onPopoverState: this.onListPopoverStateChange, selectedOptions: listProps.selectedOptions }, h("slot", null))), h("footer", null, listProps.multiple && (h("q2-btn", { "test-id": "btnDone", intent: "workflow-primary", onClick: this.onListDone }, loc('tecton.element.actionSheet.done'))))));
110
+ };
111
+ this.data = undefined;
112
+ this.hideClose = undefined;
113
+ this.isScrollable = false;
114
+ this.renderStatus = 'is-closing';
115
+ }
116
+ /// LifeCycle Hooks ///
117
+ componentDidLoad() {
118
+ this.dialogElement.addEventListener('cancel', this.onCancel);
119
+ this.ready.emit();
120
+ }
121
+ disconnectedCallback() {
122
+ this.dialogElement.removeEventListener('cancel', this.onCancel);
123
+ }
124
+ /// Helpers ///
125
+ storeInitialValues() {
126
+ const { data } = this;
127
+ if (!data)
128
+ return;
129
+ if (data.appearance === 'list') {
130
+ this.initialSelectedOptions = data.listProps.selectedOptions;
131
+ }
132
+ }
133
+ focusContent() {
134
+ const { data } = this;
135
+ if (!data)
136
+ return;
137
+ if (data.appearance === 'list') {
138
+ const { event } = data;
139
+ if (event instanceof KeyboardEvent) {
140
+ this.optionListElement.handleExternalKeydown(event);
141
+ }
142
+ else {
143
+ this.optionListElement.focus();
144
+ }
145
+ }
146
+ }
147
+ hidePostHook() {
148
+ const { data } = this;
149
+ if (!data)
150
+ return;
151
+ if (data.appearance === 'list') {
152
+ this.hostElement.innerHTML = null;
153
+ }
154
+ }
155
+ showPreHook() {
156
+ const { data } = this;
157
+ if (!data)
158
+ return;
159
+ if (data.appearance === 'list') {
160
+ this.hostElement.innerHTML = null;
161
+ data.options.forEach(option => {
162
+ this.hostElement.appendChild('options' in option ? this.generateOptgroup(option) : this.generateOption(option));
163
+ });
164
+ }
165
+ }
166
+ updateDialogMinMaxHeight() {
167
+ const windowHeight = window.innerHeight;
168
+ this.dialogElement.style.setProperty('--comp-dialog-min-height', `${Math.floor(windowHeight * this.minHeight)}px`);
169
+ this.dialogElement.style.setProperty('--comp-dialog-max-height', `${Math.floor(windowHeight * this.maxHeight)}px`);
170
+ }
171
+ /// Methods ///
172
+ async hide(data = { value: '', values: [], type: 'confirm' }) {
173
+ this.close.emit(data);
174
+ this.renderStatus = 'is-closing';
175
+ this.dialogElement.addEventListener('transitionend', () => {
176
+ this.dialogElement.close();
177
+ this.renderStatus = null;
178
+ this.data = undefined;
179
+ this.initialSelectedOptions = [];
180
+ this.selectedOptions = { values: [], value: '' };
181
+ this.hidePostHook();
182
+ }, { once: true });
183
+ }
184
+ async show() {
185
+ this.showPreHook();
186
+ await waitForNextPaint();
187
+ this.updateDialogMinMaxHeight();
188
+ this.storeInitialValues();
189
+ if (this.dialogElement.open)
190
+ return;
191
+ this.dialogElement.showModal();
192
+ this.renderStatus = 'is-opening';
193
+ this.dialogElement.addEventListener('transitionend', () => {
194
+ this.renderStatus = 'is-open';
195
+ this.focusContent();
196
+ }, { once: true });
197
+ }
198
+ render() {
199
+ var _a;
200
+ const { data } = this;
201
+ const showHeader = (data === null || data === void 0 ? void 0 : data.title) || !this.hideClose;
202
+ const renderStatus = this.renderStatus || '';
203
+ let RenderContent = null;
204
+ switch (data === null || data === void 0 ? void 0 : data.appearance) {
205
+ case 'message':
206
+ RenderContent = this.renderMessage;
207
+ break;
208
+ case 'list':
209
+ RenderContent = this.renderList;
210
+ break;
211
+ default:
212
+ RenderContent = this.renderSlot;
213
+ break;
214
+ }
215
+ const appearance = (data === null || data === void 0 ? void 0 : data.appearance) || 'slot';
216
+ const interiorClasses = `interior is-${appearance}`;
217
+ return (h("dialog", { ref: el => (this.dialogElement = el), class: renderStatus, onClick: this.onClick }, h("div", { class: interiorClasses }, showHeader && (h("header", null, h("div", { class: "title" }, data === null || data === void 0 ? void 0 : data.title), h("q2-btn", { class: "btn-close", "test-id": "btnClose", onClick: this.onCancel, label: "tecton.element.actionSheet.close", "hide-label": true }, h("q2-icon", { type: "close" })))), ((_a = this.data) === null || _a === void 0 ? void 0 : _a.description) && h("p", null, data.description), RenderContent && h(RenderContent, { data: this.data }))));
218
+ }
219
+ get hostElement() { return this; }
220
+ static get style() { return stylesCss; }
221
+ }, [1, "q2-action-sheet", {
222
+ "data": [1040],
223
+ "hideClose": [4, "hide-close"],
224
+ "isScrollable": [32],
225
+ "renderStatus": [32],
226
+ "hide": [64],
227
+ "show": [64]
228
+ }]);
229
+ function defineCustomElement$1() {
230
+ if (typeof customElements === "undefined") {
231
+ return;
232
+ }
233
+ const components = ["q2-action-sheet", "q2-btn", "q2-icon", "q2-loading", "q2-message", "q2-optgroup", "q2-option", "q2-option-list"];
234
+ components.forEach(tagName => { switch (tagName) {
235
+ case "q2-action-sheet":
236
+ if (!customElements.get(tagName)) {
237
+ customElements.define(tagName, Q2ActionSheet$1);
238
+ }
239
+ break;
240
+ case "q2-btn":
241
+ if (!customElements.get(tagName)) {
242
+ defineCustomElement$8();
243
+ }
244
+ break;
245
+ case "q2-icon":
246
+ if (!customElements.get(tagName)) {
247
+ defineCustomElement$7();
248
+ }
249
+ break;
250
+ case "q2-loading":
251
+ if (!customElements.get(tagName)) {
252
+ defineCustomElement$6();
253
+ }
254
+ break;
255
+ case "q2-message":
256
+ if (!customElements.get(tagName)) {
257
+ defineCustomElement$5();
258
+ }
259
+ break;
260
+ case "q2-optgroup":
261
+ if (!customElements.get(tagName)) {
262
+ defineCustomElement$4();
263
+ }
264
+ break;
265
+ case "q2-option":
266
+ if (!customElements.get(tagName)) {
267
+ defineCustomElement$3();
268
+ }
269
+ break;
270
+ case "q2-option-list":
271
+ if (!customElements.get(tagName)) {
272
+ defineCustomElement$2();
273
+ }
274
+ break;
275
+ } });
276
+ }
277
+ defineCustomElement$1();
278
+
279
+ const Q2ActionSheet = Q2ActionSheet$1;
280
+ const defineCustomElement = defineCustomElement$1;
281
+
282
+ export { Q2ActionSheet, defineCustomElement };
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { l as loc, s as setPopProperties, h as handleAriaLabel, o as overrideFocus, i as isEventFromElement } from './index13.js';
2
+ import { l as loc, s as setPopProperties, h as handleAriaLabel, o as overrideFocus, i as isMobile, a as isEventFromElement } from './index15.js';
3
3
  import { d as defineCustomElement$8 } from './index2.js';
4
4
  import { d as defineCustomElement$7 } from './index4.js';
5
5
  import { d as defineCustomElement$6 } from './index5.js';
@@ -3443,9 +3443,7 @@ const Q2Calendar$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
3443
3443
  }
3444
3444
  get isTypeable() {
3445
3445
  var _a;
3446
- return (this.typeable &&
3447
- !((_a = window.Tecton) === null || _a === void 0 ? void 0 : _a.inMobileApp) &&
3448
- !navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|Mobile|BlackBerry|Windows Phone/i));
3446
+ return this.typeable && !((_a = window.Tecton) === null || _a === void 0 ? void 0 : _a.inMobileApp) && !isMobile();
3449
3447
  }
3450
3448
  //////// Host Element Events ////////
3451
3449
  defaultChangeHandler(event) {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
2
- import { a as isTouchDevice, o as overrideFocus, i as isEventFromElement } from './index13.js';
2
+ import { b as isTouchDevice, o as overrideFocus, a as isEventFromElement } from './index15.js';
3
3
  import { d as defineCustomElement$3 } from './index3.js';
4
4
  import { d as defineCustomElement$2 } from './index7.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { l as loc } from './index13.js';
2
+ import { l as loc } from './index15.js';
3
3
 
4
4
  const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}q2-carousel .swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;transition:all 0.2s}q2-carousel-pane.q2-carousel-pane{--comp-carousel-pane-tween:var(--tct-tween-1, var(--app-tween-1, 0.2s ease));--comp-carousel-shadow:var(--app-shadow-2, 0px 2px 8px 0px var(--t-top-a1, rgba(0, 0, 0, 0.25)));cursor:grab}q2-carousel-pane.q2-carousel-pane:not([is-active-pane]) *{cursor:pointer}q2-carousel-pane.q2-carousel-pane:focus{box-shadow:none}q2-carousel-pane.q2-carousel-pane:focus .q2-carousel-pane-main-content{outline:none;box-shadow:var(--const-double-focus-ring)}q2-carousel-pane.q2-carousel-pane button{border:0;background:transparent;transition:all 0.2s;opacity:0.3;cursor:pointer}q2-carousel-pane.q2-carousel-pane button:hover{opacity:0.7}q2-carousel-pane.q2-carousel-pane .q2-carousel-pane-main-content{box-shadow:var(--comp-carousel-shadow);transition:var(--comp-carousel-pane-tween);background-color:var(--tct-carousel-background-color, var(--t-carousel-background-color, var(--tct-white, var(--app-white, #ffffff))));border:var(--tct-carousel-pane-border-width, var(--t-carousel-pane-border-width, 0px)) solid var(--tct-carousel-pane-border-color, var(--t-carousel-pane-border-color, var(--tct-gray-11, var(--t-gray-11, var(--tct-gray-l1, var(--app-gray-l1, #cccccc))))));border-radius:var(--tct-carousel-pane-border-radius, var(--t-carousel-pane-border-radius, 8px));padding:var(--tct-carousel-pane-padding, var(--t-carousel-pane-padding, 0.5rem 0.5rem 0.5rem 0.5rem));height:var(--tct-carousel-pane-height, var(--t-carousel-pane-height, 10em))}q2-carousel-pane.q2-carousel-pane .q2-carousel-pane-main-content:hover{box-shadow:var(--const-double-focus-ring), var(--comp-carousel-shadow)}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, h, Host, Fragment } from '@stencil/core/internal/client';
2
- import { c as createGuid, l as loc, h as handleAriaLabel, i as isEventFromElement, o as overrideFocus } from './index13.js';
2
+ import { c as createGuid, l as loc, h as handleAriaLabel, a as isEventFromElement, o as overrideFocus } from './index15.js';
3
3
  import { d as defineCustomElement$4 } from './index5.js';
4
4
  import { d as defineCustomElement$3 } from './index7.js';
5
5
  import { d as defineCustomElement$2 } from './index9.js';
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { o as overrideFocus, l as loc } from './index13.js';
2
+ import { o as overrideFocus, l as loc } from './index15.js';
3
3
  import { g as getDefaultLabel, c as createSeriesData, a as getDefaultInterpolatedLabel, i as isCoordinateSystemType, b as createGridClipPath, d as createPolarClipPath, e as dataSample, f as install$3, h as install$4, j as getCSSProperty, k as isValidColor, l as formatValue } from './charting.js';
4
4
  import { _ as __extends, c as createSymbol, e as enterEmphasis, l as leaveEmphasis, u as updateProps, s as saveOldStyle, i as initProps, g as getLabelStatesModels, n as normalizeSymbolOffset, Z as ZRImage, a as extend, b as setLabelStyle, t as toggleHoverEmphasis, d as getECData, r as removeElement, f as normalizeSymbolSize, G as Group, h as traverseElements, j as isObject, S as SeriesModel, m as map, k as isDimensionStacked, o as isNumber, p as createFloat32Array, q as cubicRootAt, P as Path, v as PathProxy, w as cubicAt, x as convertToColorString, y as defaults, z as setStatesStylesFromModel, A as queryDataIndex, C as ChartView, B as setStatesFlag, D as isFunction, E as ZRText, F as interpolateRawValues, H as labelInner, I as each, L as LinearGradient, J as SPECIAL_STATES, K as lerp, M as createRenderPlanner, N as cubicSubdivide, O as fromPoints, Q as BoundingRect, R as clonePath, T as Polygon, U as Sector, V as Rect, W as Point, X as Transformable, Y as lerp$1, $ as getAnimationConfig, a0 as isArray, a1 as normalizeToArray, a2 as SERIES_UNIVERSAL_TRANSITION_PROP, a3 as makeInner, a4 as DataDiffer, a5 as filter, a6 as createHashMap, a7 as Displayable, a8 as getOldStyle, a9 as use, aa as install$1, ab as install$2, ac as init } from './installCanvasRenderer.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { o as overrideFocus, l as loc } from './index13.js';
2
+ import { o as overrideFocus, l as loc } from './index15.js';
3
3
  import { c as createSeriesData, m as createClipPath, g as getDefaultLabel, i as isCoordinateSystemType, a as getDefaultInterpolatedLabel, e as dataSample, f as install$3, h as install$4, j as getCSSProperty, k as isValidColor, l as formatValue } from './charting.js';
4
4
  import { _ as __extends, I as each, S as SeriesModel, ad as inheritDefaultOption, P as Path, ae as calculateTextPosition, o as isNumber, a0 as isArray, h as traverseElements, i as initProps, u as updateProps, s as saveOldStyle, H as labelInner, af as removeElementWithFadeOut, G as Group, m as map, d as getECData, C as ChartView, V as Rect, a as extend, g as getLabelStatesModels, b as setLabelStyle, ag as setLabelValueAnimation, t as toggleHoverEmphasis, z as setStatesStylesFromModel, ah as throttle, U as Sector, ai as curry, aj as createProgressiveLayout, ak as layout, a9 as use, aa as install$1, ab as install$2, ac as init } from './installCanvasRenderer.js';
5
5
  import { i as installLabelLayout } from './installLabelLayout.js';
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { o as overrideFocus, l as loc, i as isEventFromElement } from './index13.js';
2
+ import { o as overrideFocus, l as loc, a as isEventFromElement } from './index15.js';
3
3
  import { d as defineCustomElement$3 } from './index2.js';
4
4
  import { d as defineCustomElement$2 } from './index7.js';
5
5
  import { al as normalizeCssArray, V as Rect, _ as __extends, am as ComponentModel, an as toCamelCase, ao as env, ap as normalizeEvent, x as convertToColorString, aq as isString, a0 as isArray, ar as isDom, I as each$1, as as bind, at as indexOf, au as getPaddingFromTooltipModel, av as transformLocalCoord, j as isObject, aw as throwError, E as ZRText, ax as getTooltipRenderMode, ay as createOrUpdate, az as clear, aA as register, d as getECData, aB as findPointFromSeries, aC as findEventDispatcher, aD as createTooltipMarkup, aE as getValueLabel, aF as trim, aG as getAxisRawValue, aH as normalizeTooltipFormatResult, aI as buildTooltipMarkup, aJ as clone, aK as format, aL as formatTpl, D as isFunction, aM as parsePercent, aN as getLayoutRect, aO as unregister, aP as ComponentView, aQ as Model, aR as preParseFinder, aS as queryReferringComponents, aT as TooltipMarkupStyleCreator, a as extend, a9 as use, aU as install$5, aV as noop, aW as merge, aX as isNameSpecified, a6 as createHashMap, m as map, a5 as filter, o as isNumber, y as defaults, aY as parse, aZ as stringify, b as setLabelStyle, a_ as enableHoverEmphasis, a$ as createTextStyle, b0 as setTooltipConfig, b1 as box, b2 as createOrUpdatePatternFromDecal, c as createSymbol, ai as curry$1, G as Group$2, b3 as getLayoutParams, ad as inheritDefaultOption, b4 as mergeLayoutParam, b5 as createIcon, b6 as retrieve2, u as updateProps, b7 as linearMap, W as Point, b8 as shiftLayoutOnY, b9 as parsePercent$1, i as initProps, s as saveOldStyle, z as setStatesStylesFromModel, t as toggleHoverEmphasis, g as getLabelStatesModels, ba as Polyline, bb as retrieve3, U as Sector, af as removeElementWithFadeOut, C as ChartView, bc as prepareSeriesDataSchema, bd as SeriesData, a3 as makeInner, be as makeSeriesEncodeForNameBased, bf as getPercentSeats, bg as defaultEmphasis, S as SeriesModel, bh as createLegacyDataSelectAction, ab as install$6, aa as install$7, ac as init } from './installCanvasRenderer.js';
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c as createGuid, l as loc } from './index13.js';
2
+ import { c as createGuid, l as loc } from './index15.js';
3
3
  import { d as defineCustomElement$2 } from './index7.js';
4
4
 
5
5
  const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{margin-top:var(--tct-scale-2, var(--app-scale-2x, 10px))}fieldset{padding:var(--tct-input-error-padding, 0);margin:0;border:0}fieldset.has-error{border-color:var(--tct-input-error-border-color, var(--const-stoplight-alert, #c30000));border-width:1px;border-style:solid;border-radius:var(--tct-border-radius-1, var(--app-border-radius-1, 2px));position:relative}fieldset.has-error .error-icon-container{top:8px;right:8px;position:absolute;width:40%;text-align:right;background:linear-gradient(to right, var(--tct-checkbox-group-error-gradient-start, var(--t-base-a0, rgba(255, 255, 255, 0))), var(--tct-checkbox-group-error-gradient-end, var(--t-base, white)))}fieldset.has-error legend+div.error-icon-container.no-label{top:28px}.group-legend{font-weight:600}legend.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}.optional-tag{margin-left:var(--tct-input-label-optional-margin-left, var(--tct-scale-1, var(--app-scale-1x, 5px)));color:var(--tct-input-label-optional-font-color, var(--tct-a11y-color, var(--t-a11y-gray-color, var(--tct-gray-7, var(--t-gray-7, var(--tct-gray-d1, var(--app-gray-d1, #666666)))))));font-size:var(--tct-input-label-optional-font-size, 12px);font-weight:var(--tct-input-label-optional-font-weight, 400)}.flexed{margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.flexed.left{justify-content:left}";
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c as createGuid, h as handleAriaLabel, o as overrideFocus, i as isEventFromElement, l as loc } from './index13.js';
2
+ import { c as createGuid, h as handleAriaLabel, o as overrideFocus, a as isEventFromElement, l as loc } from './index15.js';
3
3
  import { d as defineCustomElement$2 } from './index7.js';
4
4
 
5
5
  const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block;position:relative;padding:var(--tct-checkbox-vertical-padding, var(--t-checkbox-vertical-padding, var(--tct-scale-2, var(--app-scale-2x, 10px)))) 0}.container{--comp-checkbox-size:var(--tct-checkbox-size, var(--t-checkbox-size, 20px));--comp-checkbox-default-column-gap:var(--app-scale-2x, 10px);--comp-checkbox-default-row-gap:0;--comp-checkbox-default-gap:var(--comp-checkbox-default-row-gap) var(--comp-checkbox-default-column-gap);--comp-checkbox-tween:var(--tct-tween-1, var(--app-tween-1, 0.2s ease));--comp-checkbox-toggle-width:var(--tct-checkbox-toggle-width, var(--t-checkbox-toggle-width, 46px));--comp-checkbox-gap:var(--tct-checkbox-gap, var(--t-checkbox-gap, var(--comp-checkbox-default-gap)));--comp-checkbox-outer-stroke-color:var(--tct-checkbox-outer-stroke-color, var(--t-checkbox-outer-stroke-color, var(--t-a11y-gray-color-AA, #949494)));--comp-checkbox-outer-fill-color:var(--tct-checkbox-outer-fill-color, var(--t-checkbox-outer-fill-color, var(--tct-white, var(--app-white, #ffffff))));--comp-checkbox-checked-color:var(--tct-checkbox-check-stroke-color, var(--t-checkbox-check-stroke-color, var(--t-checkbox-fill, var(--t-a11y-active-gray-color-AA, #404040))));--comp-control-width:var(--comp-checkbox-size);display:grid;grid-template-areas:\"svg label\" \"svg description\";align-items:center;gap:var(--comp-checkbox-gap);grid-template-columns:var(--comp-control-width) calc(100% - var(--comp-control-width) - var(--comp-checkbox-default-column-gap))}:host([type=favorite]) .container{--comp-checkbox-favorite-stroke-color:var(--tct-checkbox-favorite-stroke-color, var(--t-checkbox-favorite-stroke-color, var(--t-a11y-gray-color-AA, #949494)));--comp-checkbox-favorite-fill-color:var(--tct-checkbox-favorite-fill-color, var(--t-checkbox-favorite-fill-color, #db7d24))}:host([type=toggle]) .container{--comp-control-width:var(--comp-checkbox-toggle-width)}:host([alignment=right]) .container,:host([type=toggle]:not([alignment])) .container{grid-template-areas:\"label svg\" \"description svg\";grid-template-columns:calc(100% - var(--comp-control-width) - var(--comp-checkbox-default-column-gap)) var(--comp-control-width)}.label-control{align-items:center;display:flex}.label-text{grid-area:label}:host([description]) .label-text{font-weight:var(--tct-checkbox-label-font-weight, var(--t-checkbox-label-font-weight, 600))}:host([checked]) .label-text{font-weight:var(--tct-checkbox-checked-label-font-weight, var(--t-checkbox-checked-label-font-weight, 600))}.description-text{grid-area:description;font-weight:var(--tct-checkbox-description-font-weight, var(--t-checkbox-description-font-weight, 400))}label{cursor:pointer}:host([disabled]:not([disabled=false])),:host([group-disabled]){opacity:var(--tct-checkbox-disabled-opacity, var(--t-checkbox-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))))}:host([disabled]:not([disabled=false])) label,:host([group-disabled]) label{cursor:not-allowed}.checkbox-icon{--t-icon-stroke-primary:var(--comp-checkbox-outer-stroke-color);width:var(--comp-checkbox-size);height:var(--comp-checkbox-size);border-radius:var(--tct-checkbox-outer-border-radius, var(--t-checkbox-outer-border-radius, var(--tct-border-radius-1, var(--app-border-radius-1, 3px))));stroke:var(--comp-checkbox-outer-stroke-color);color:var(--comp-checkbox-outer-stroke-color);stroke-width:var(--tct-checkbox-outer-stroke-width, var(--t-checkbox-outer-stroke-width, 2));fill:var(--comp-checkbox-outer-fill-color);flex-shrink:0}:host([checked]) .checkbox-icon{fill:var(--tct-checkbox-checked-outer-fill-color, var(--t-checkbox-checked-outer-fill-color, var(--comp-checkbox-outer-fill-color)));stroke:var(--tct-checkbox-checked-outer-stroke-color, var(--t-checkbox-checked-outer-stroke-color, var(--comp-checkbox-outer-stroke-color)))}:host(:focus-within) .checkbox-icon{box-shadow:var(--const-double-focus-ring), var(--tct-global-focus, 0 0 0 2px #33b4ff);stroke:var(--tct-checkbox-focused-outer-stroke-color, var(--t-checkbox-focused-outer-stroke-color, var(--comp-checkbox-checked-color)))}:host([type=favorite]) .checkbox-icon{--tct-icon-stroke-width:var(--tct-checkbox-favorite-stroke-width, var(--t-checkbox-favorite-stroke-width, 1));--tct-icon-stroke-primary:var(--comp-checkbox-favorite-stroke-color);transition:fill var(--comp-checkbox-tween), color var(--comp-checkbox-tween), stroke var(--comp-checkbox-tween)}:host([type=favorite]:focus-within) .checkbox-icon,:host([type=favorite]:hover) .checkbox-icon{--tct-icon-stroke-primary:var(--comp-checkbox-favorite-fill-color);--tct-icon-stroke-width:var(--tct-checkbox-favorite-hover-stroke-width, var(--t-checkbox-favorite-hover-stroke-width, 2))}:host([checked][type=favorite]) .checkbox-icon{--tct-icon-stroke-primary:var(--comp-checkbox-favorite-fill-color);fill:var(--comp-checkbox-favorite-fill-color);transition:fill var(--comp-checkbox-tween), color var(--comp-checkbox-tween), stroke var(--comp-checkbox-tween)}:host([checked][type=favorite]:focus-within) .checkbox-icon,:host([checked][type=favorite]:hover) .checkbox-icon{--tct-icon-stroke-primary:var(--comp-checkbox-favorite-stroke-color);--tct-icon-fill-primary:var(--comp-checkbox-favorite-fill-color);--tct-icon-stroke-width:var(--tct-checkbox-favorite-hover-stroke-width, var(--t-checkbox-favorite-hover-stroke-width, 2))}.checkbox-fill{stroke:var(--comp-checkbox-checked-color)}.checked-fill{stroke-width:var(--tct-checkbox-check-stroke-width, var(--t-checkbox-check-stroke-width, 2.5));stroke-linecap:round;stroke-linejoin:round}:host([type=toggle]) .checked-fill{stroke:var(--tct-checkbox-toggle-icon-stroke, var(--t-checkbox-toggle-icon-stroke, var(--tct-white, var(--app-white, #ffffff))));transition:opacity var(--comp-checkbox-tween)}:host([type=toggle][checked]) .checked-fill{stroke:var(--tct-checkbox-toggle-checked-icon-stroke, var(--t-checkbox-toggle-checked-icon-stroke, var(--t-checkbox-text, var(--tct-white, var(--app-white, #ffffff)))))}.indeterminate-fill{stroke-width:var(--tct-checkbox-indeterminate-stroke-width, var(--t-checkbox-indeterminate-stroke-width, 3.5))}.toggle-svg{height:30px;width:var(--comp-checkbox-toggle-width);position:relative;text-align:initial}.toggle-track,.toggle-indicator{position:absolute;top:50%;transform:translateY(-50%)}.toggle-track{fill:var(--tct-checkbox-toggle-track-color, var(--t-checkbox-toggle-track-color, var(--tct-gray-11, var(--t-gray-11, var(--tct-gray-l1, var(--app-gray-l1, #cccccc))))));height:14px;width:46px}:host([checked]) .toggle-track{fill:var(--tct-checkbox-toggle-checked-color, var(--t-checkbox-toggle-checked-color, var(--comp-checkbox-checked-color)));opacity:0.5}.toggle-indicator{transition:left var(--comp-checkbox-tween);height:30px;width:30px;left:0;border-radius:50%}:host([checked]) .toggle-indicator{left:21px}.toggle-circle{fill:var(--tct-checkbox-toggle-circle-color, var(--t-checkbox-toggle-circle-color, var(--t-a11y-gray-color-AA, #949494)))}:host([checked]) .toggle-circle{fill:var(--tct-checkbox-toggle-checked-color, var(--t-checkbox-toggle-checked-color, var(--comp-checkbox-checked-color)))}:host(:focus-within) .toggle-circle{stroke:var(--tct-checkbox-toggle-checked-color, var(--t-checkbox-toggle-checked-color, var(--comp-checkbox-checked-color)));stroke-width:10px;stroke-opacity:0.5}:host(:not([checked]):focus-within) .toggle-circle{stroke:var(--tct-checkbox-toggle-circle-color, var(--t-checkbox-toggle-circle-color, var(--t-a11y-gray-color-AA, #949494)))}:host([checked]) .off,:host(:not([checked])) .on{opacity:0}";
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
2
- import { s as setPopProperties, h as handleAriaLabel, i as isEventFromElement, o as overrideFocus, l as loc } from './index13.js';
2
+ import { s as setPopProperties, h as handleAriaLabel, a as isEventFromElement, o as overrideFocus, l as loc } from './index15.js';
3
3
  import { d as defineCustomElement$6 } from './index2.js';
4
4
  import { d as defineCustomElement$5 } from './index5.js';
5
5
  import { d as defineCustomElement$4 } from './index6.js';
@@ -289,7 +289,7 @@ const Q2Dropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
289
289
  "icon": [513],
290
290
  "label": [513],
291
291
  "hideLabel": [516, "hide-label"],
292
- "ariaLabel": [513, "aria-label"],
292
+ "ariaLabel": [1537, "aria-label"],
293
293
  "disabled": [516],
294
294
  "popDirection": [513, "pop-direction"],
295
295
  "name": [513],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { l as loc, h as handleAriaLabel, o as overrideFocus, i as isEventFromElement } from './index13.js';
2
+ import { l as loc, h as handleAriaLabel, o as overrideFocus, a as isEventFromElement } from './index15.js';
3
3
  import { d as defineCustomElement$6 } from './index4.js';
4
4
  import { d as defineCustomElement$5 } from './index5.js';
5
5
  import { d as defineCustomElement$4 } from './index7.js';
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { l as loc } from './index13.js';
2
+ import { l as loc } from './index15.js';
3
3
 
4
4
  const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { l as loc, o as overrideFocus } from './index13.js';
2
+ import { l as loc, o as overrideFocus } from './index15.js';
3
3
  import { d as defineCustomElement$4 } from './index5.js';
4
4
  import { d as defineCustomElement$3 } from './index7.js';
5
5
  import { d as defineCustomElement$2 } from './index9.js';