@esri/calcite-components 1.0.0-next.439 → 1.0.0-next.441

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 (796) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-d0e699b2.entry.js → p-028d16ea.entry.js} +2 -2
  5. package/dist/calcite/p-04f42dbe.system.js +6 -0
  6. package/dist/calcite/{p-00f33ed2.entry.js → p-05be2bef.entry.js} +2 -2
  7. package/dist/calcite/{p-28b1e429.system.entry.js → p-06f5e518.system.entry.js} +2 -2
  8. package/dist/calcite/{p-cb097858.entry.js → p-074024e5.entry.js} +2 -2
  9. package/dist/calcite/{p-1f44ddf6.system.entry.js → p-0c92b6c8.system.entry.js} +2 -2
  10. package/dist/calcite/{p-aebe7e53.entry.js → p-10d9ab3b.entry.js} +2 -2
  11. package/dist/calcite/{p-2cc02e16.system.entry.js → p-11d38baa.system.entry.js} +2 -2
  12. package/dist/calcite/{p-32d2596f.system.entry.js → p-12213a47.system.entry.js} +2 -2
  13. package/dist/calcite/{p-8e96ecb2.system.entry.js → p-15f1aeff.system.entry.js} +2 -2
  14. package/dist/calcite/{p-ac635fcb.entry.js → p-188ffd80.entry.js} +2 -2
  15. package/dist/calcite/{p-77edcda3.system.entry.js → p-1a58bdfb.system.entry.js} +2 -2
  16. package/dist/calcite/{p-327c897a.entry.js → p-1a80ad53.entry.js} +2 -2
  17. package/dist/calcite/{p-cf563edd.system.entry.js → p-1d445755.system.entry.js} +2 -2
  18. package/dist/calcite/{p-6bd93a1e.system.entry.js → p-1ef78365.system.entry.js} +2 -2
  19. package/dist/calcite/{p-d50e9cc4.system.entry.js → p-1faf9b85.system.entry.js} +2 -2
  20. package/dist/calcite/p-26c40eda.js +6 -0
  21. package/dist/calcite/{p-18d56e9c.entry.js → p-2ab4677d.entry.js} +2 -2
  22. package/dist/calcite/{p-abf5efe9.system.entry.js → p-2ba6f6a7.system.entry.js} +2 -2
  23. package/dist/calcite/{p-17e216db.entry.js → p-2bef5a57.entry.js} +2 -2
  24. package/dist/calcite/{p-b0cb9298.system.entry.js → p-2c7e9f82.system.entry.js} +2 -2
  25. package/dist/calcite/{p-07f87d96.entry.js → p-2e68c59c.entry.js} +2 -2
  26. package/dist/calcite/{p-fc254ad3.system.entry.js → p-2f984ec9.system.entry.js} +2 -2
  27. package/dist/calcite/{p-a38a4056.system.entry.js → p-3105c18e.system.entry.js} +2 -2
  28. package/dist/calcite/{p-39b8d58c.system.entry.js → p-318bc8e5.system.entry.js} +2 -2
  29. package/dist/calcite/{p-48167376.system.js → p-3206e65e.system.js} +1 -1
  30. package/dist/calcite/{p-cdff6429.system.entry.js → p-3242fcaa.system.entry.js} +2 -2
  31. package/dist/calcite/{p-09a96685.entry.js → p-3276b088.entry.js} +2 -2
  32. package/dist/calcite/{p-8a6a57cb.system.js → p-32ca2a2c.system.js} +2 -2
  33. package/dist/calcite/{p-eaced381.system.entry.js → p-32f63f7d.system.entry.js} +2 -2
  34. package/dist/calcite/{p-2ed42473.system.entry.js → p-349c4f19.system.entry.js} +2 -2
  35. package/dist/calcite/{p-5c774e5d.system.entry.js → p-35f4ea3d.system.entry.js} +2 -2
  36. package/dist/calcite/{p-e1216ff0.system.entry.js → p-36a06386.system.entry.js} +2 -2
  37. package/dist/calcite/{p-a0293d51.js → p-37950845.js} +2 -2
  38. package/dist/calcite/{p-e837ca03.system.entry.js → p-38346d9e.system.entry.js} +2 -2
  39. package/dist/calcite/{p-d46cf658.system.entry.js → p-386b09d5.system.entry.js} +2 -2
  40. package/dist/calcite/{p-20cd1d85.system.entry.js → p-388e627a.system.entry.js} +2 -2
  41. package/dist/calcite/{p-dc82d407.entry.js → p-3ace9a9b.entry.js} +2 -2
  42. package/dist/calcite/{p-d05a7536.entry.js → p-3b80c1b1.entry.js} +2 -2
  43. package/dist/calcite/{p-d6e5bf2e.entry.js → p-3d86634b.entry.js} +2 -2
  44. package/dist/calcite/{p-0eae2f8d.system.entry.js → p-3f11c3cc.system.entry.js} +2 -2
  45. package/dist/calcite/{p-bc454cee.system.entry.js → p-41049d6d.system.entry.js} +2 -2
  46. package/dist/calcite/{p-844c8f3f.entry.js → p-42a581dc.entry.js} +2 -2
  47. package/dist/calcite/{p-52f126d3.system.entry.js → p-42d75434.system.entry.js} +2 -2
  48. package/dist/calcite/{p-2bbec98e.entry.js → p-42ee549b.entry.js} +2 -2
  49. package/dist/calcite/{p-837ae3be.system.js → p-43f4f940.system.js} +1 -1
  50. package/dist/calcite/{p-cd2129a8.system.entry.js → p-4691c8da.system.entry.js} +2 -2
  51. package/dist/calcite/{p-31dee46f.entry.js → p-46f71019.entry.js} +2 -2
  52. package/dist/calcite/{p-b61d8aca.entry.js → p-48c20626.entry.js} +2 -2
  53. package/dist/calcite/{p-aebb1c93.system.entry.js → p-4ca571ed.system.entry.js} +2 -2
  54. package/dist/calcite/{p-f169cf4d.js → p-4d0f627a.js} +1 -1
  55. package/dist/calcite/{p-e269823d.entry.js → p-4de481b8.entry.js} +2 -2
  56. package/dist/calcite/{p-bb715963.entry.js → p-4e4e0de4.entry.js} +2 -2
  57. package/dist/calcite/{p-db4e1562.system.entry.js → p-50c497f0.system.entry.js} +2 -2
  58. package/dist/calcite/{p-a63ab0f3.system.entry.js → p-5251d577.system.entry.js} +2 -2
  59. package/dist/calcite/{p-45d1d515.entry.js → p-52dad12e.entry.js} +2 -2
  60. package/dist/calcite/{p-9b297043.entry.js → p-52ecacc7.entry.js} +2 -2
  61. package/dist/calcite/{p-86e45742.js → p-531ecb5a.js} +1 -1
  62. package/dist/calcite/{p-592a4920.entry.js → p-534ead0e.entry.js} +2 -2
  63. package/dist/calcite/{p-3c0cd3f5.entry.js → p-5389228a.entry.js} +2 -2
  64. package/dist/calcite/{p-36b3cac6.system.js → p-576c44f1.system.js} +1 -1
  65. package/dist/calcite/{p-1acc8165.system.js → p-578f4c92.system.js} +1 -1
  66. package/dist/calcite/{p-364baedb.entry.js → p-58f33dca.entry.js} +2 -2
  67. package/dist/calcite/p-5b1ab7a4.entry.js +6 -0
  68. package/dist/calcite/{p-ba256e01.system.entry.js → p-5e767408.system.entry.js} +2 -2
  69. package/dist/calcite/{p-60536e00.entry.js → p-5fa495d9.entry.js} +2 -2
  70. package/dist/calcite/{p-de435acc.entry.js → p-6204a132.entry.js} +2 -2
  71. package/dist/calcite/{p-c2ccb5aa.system.entry.js → p-654ba4f3.system.entry.js} +2 -2
  72. package/dist/calcite/{p-d2348907.entry.js → p-65b2d4a9.entry.js} +2 -2
  73. package/dist/calcite/{p-b19bcd0a.system.js → p-65c0a989.system.js} +1 -1
  74. package/dist/calcite/{p-1dd7cc4b.system.entry.js → p-6736da51.system.entry.js} +2 -2
  75. package/dist/calcite/{p-2e41bb15.system.js → p-67375a03.system.js} +2 -2
  76. package/dist/calcite/{p-07d3b554.entry.js → p-683535b7.entry.js} +2 -2
  77. package/dist/calcite/{p-83fb87f1.system.js → p-6a9fef86.system.js} +1 -1
  78. package/dist/calcite/{p-4f39453f.entry.js → p-6bf02db5.entry.js} +2 -2
  79. package/dist/calcite/p-6c650fd5.entry.js +6 -0
  80. package/dist/calcite/{p-8b51c3ca.js → p-6f3baedd.js} +1 -1
  81. package/dist/calcite/{p-a5eb8657.system.entry.js → p-71616edf.system.entry.js} +2 -2
  82. package/dist/calcite/{p-3abba979.js → p-73719051.js} +1 -1
  83. package/dist/calcite/{p-d882a9b9.system.entry.js → p-7572f75e.system.entry.js} +2 -2
  84. package/dist/calcite/{p-eaced555.js → p-778443d9.js} +1 -1
  85. package/dist/calcite/{p-762e11b9.entry.js → p-7cc76ab6.entry.js} +2 -2
  86. package/dist/calcite/p-7dc24af6.js +6 -0
  87. package/dist/calcite/{p-c1ac5021.system.entry.js → p-825aa950.system.entry.js} +2 -2
  88. package/dist/calcite/{p-ef18f466.system.entry.js → p-8341eaeb.system.entry.js} +2 -2
  89. package/dist/calcite/{p-b42544e2.entry.js → p-84cf2ad7.entry.js} +2 -2
  90. package/dist/calcite/{p-aa8f1228.entry.js → p-8721f4dd.entry.js} +2 -2
  91. package/dist/calcite/{p-4fdaf071.system.js → p-88995f6d.system.js} +2 -2
  92. package/dist/calcite/{p-9bc483a4.js → p-8c1a0f5a.js} +2 -2
  93. package/dist/calcite/{p-966ea1fd.system.entry.js → p-8d0cb3eb.system.entry.js} +2 -2
  94. package/dist/calcite/{p-4c4b40d9.entry.js → p-8def6ca4.entry.js} +2 -2
  95. package/dist/calcite/{p-7ee94ac5.entry.js → p-8e98767c.entry.js} +2 -2
  96. package/dist/calcite/{p-4d95a3f7.system.entry.js → p-942168b9.system.entry.js} +2 -2
  97. package/dist/calcite/{p-8d0a310f.js → p-96b9316a.js} +1 -1
  98. package/dist/calcite/{p-d720c791.system.entry.js → p-98f1d0bc.system.entry.js} +2 -2
  99. package/dist/calcite/{p-5a0e8e4a.entry.js → p-99675632.entry.js} +2 -2
  100. package/dist/calcite/{p-9b2c34be.system.js → p-9b4b3d19.system.js} +1 -1
  101. package/dist/calcite/{p-093a5400.entry.js → p-9e1762a9.entry.js} +2 -2
  102. package/dist/calcite/{p-163b348e.system.entry.js → p-a09254d7.system.entry.js} +2 -2
  103. package/dist/calcite/{p-18bdbf8c.system.entry.js → p-a3961046.system.entry.js} +2 -2
  104. package/dist/calcite/p-abd0ab3c.js +6 -0
  105. package/dist/calcite/{p-e692a771.system.entry.js → p-ac7808dc.system.entry.js} +2 -2
  106. package/dist/calcite/{p-4fbd5d37.entry.js → p-ad9d0966.entry.js} +2 -2
  107. package/dist/calcite/{p-cebc5260.entry.js → p-b080ea82.entry.js} +2 -2
  108. package/dist/calcite/p-b18a27a5.js +6 -0
  109. package/dist/calcite/{p-005fab82.system.js → p-b18c5709.system.js} +2 -2
  110. package/dist/calcite/{p-4b1d0745.entry.js → p-b199a293.entry.js} +2 -2
  111. package/dist/calcite/{p-36dc7d0e.entry.js → p-b2adf789.entry.js} +2 -2
  112. package/dist/calcite/{p-36a1d5fc.js → p-b341469c.js} +2 -2
  113. package/dist/calcite/{p-afbfc009.js → p-b52a85b7.js} +1 -1
  114. package/dist/calcite/{p-7433393b.system.entry.js → p-b5775ddf.system.entry.js} +3 -3
  115. package/dist/calcite/{p-a84e54c7.js → p-b72e725b.js} +1 -1
  116. package/dist/calcite/{p-c0735805.entry.js → p-b75a50e5.entry.js} +2 -2
  117. package/dist/calcite/{p-6fffe4fd.system.js → p-b7819553.system.js} +1 -1
  118. package/dist/calcite/{p-9cf73b38.js → p-bc0906eb.js} +1 -1
  119. package/dist/calcite/{p-746c5022.system.entry.js → p-be581399.system.entry.js} +2 -2
  120. package/dist/calcite/{p-5229dd20.system.entry.js → p-be7eb7bf.system.entry.js} +2 -2
  121. package/dist/calcite/{p-5e14202a.entry.js → p-bf261be0.entry.js} +2 -2
  122. package/dist/calcite/{p-5daebe1b.system.entry.js → p-c01bae32.system.entry.js} +2 -2
  123. package/dist/calcite/{p-791d824d.js → p-c12dab15.js} +2 -2
  124. package/dist/calcite/{p-fdb68ad5.system.entry.js → p-c16c3871.system.entry.js} +2 -2
  125. package/dist/calcite/{p-2a2cee85.entry.js → p-c197b611.entry.js} +2 -2
  126. package/dist/calcite/{p-a770400a.js → p-c1b4f008.js} +1 -1
  127. package/dist/calcite/{p-9204db65.system.entry.js → p-c2509272.system.entry.js} +2 -2
  128. package/dist/calcite/{p-47ba4bdb.system.entry.js → p-c2a72205.system.entry.js} +2 -2
  129. package/dist/calcite/p-c2a79701.entry.js +6 -0
  130. package/dist/calcite/p-c3c37033.system.js +6 -0
  131. package/dist/calcite/{p-dda390d5.js → p-c500e92a.js} +2 -2
  132. package/dist/calcite/{p-c46235c7.system.js → p-c6426e92.system.js} +3 -3
  133. package/dist/calcite/{p-973efbbf.system.entry.js → p-c6c57209.system.entry.js} +2 -2
  134. package/dist/calcite/p-c72aedf9.system.entry.js +6 -0
  135. package/dist/calcite/{p-23d47c0d.system.entry.js → p-c7ada682.system.entry.js} +2 -2
  136. package/dist/calcite/{p-adfe6ad9.js → p-c93cdf93.js} +1 -1
  137. package/dist/calcite/{p-bc62bcfa.entry.js → p-cbe0a3b1.entry.js} +2 -2
  138. package/dist/calcite/{p-1d197488.system.entry.js → p-cd888f54.system.entry.js} +3 -3
  139. package/dist/calcite/{p-98f43868.entry.js → p-cdad88c7.entry.js} +2 -2
  140. package/dist/calcite/{p-9d638f9c.entry.js → p-ce3a52e7.entry.js} +2 -2
  141. package/dist/calcite/{p-8e7b94ec.system.js → p-cee2b47e.system.js} +2 -2
  142. package/dist/calcite/{p-5ea9e9f2.system.js → p-d0501de1.system.js} +1 -1
  143. package/dist/calcite/{p-80fdefa0.js → p-d2c3e3c8.js} +1 -1
  144. package/dist/calcite/{p-ac42030d.system.js → p-d523ba92.system.js} +1 -1
  145. package/dist/calcite/{p-3c1d8761.system.js → p-d8ed865c.system.js} +2 -2
  146. package/dist/calcite/{p-1a049c92.system.js → p-d93c9d06.system.js} +1 -1
  147. package/dist/calcite/{p-563ae4ca.entry.js → p-d94c9d4b.entry.js} +2 -2
  148. package/dist/calcite/p-daeb03d1.system.js +6 -0
  149. package/dist/calcite/{p-ae5ff0f3.entry.js → p-db515352.entry.js} +2 -2
  150. package/dist/calcite/{p-c79d21d8.system.js → p-e2afe2fb.system.js} +1 -1
  151. package/dist/calcite/{p-75aadba9.entry.js → p-e2b1bc26.entry.js} +2 -2
  152. package/dist/calcite/{p-b4356a60.system.entry.js → p-e454f51e.system.entry.js} +2 -2
  153. package/dist/calcite/p-e4a79af0.js +6 -0
  154. package/dist/calcite/{p-3bb7a0d1.system.entry.js → p-e5cf0da5.system.entry.js} +2 -2
  155. package/dist/calcite/{p-232f2607.system.entry.js → p-e8934f7e.system.entry.js} +2 -2
  156. package/dist/calcite/{p-6ce9d000.system.js → p-ea9c71f6.system.js} +1 -1
  157. package/dist/calcite/{p-7af7f176.system.js → p-eab2df65.system.js} +2 -2
  158. package/dist/calcite/{p-808b2147.entry.js → p-ed3c2545.entry.js} +2 -2
  159. package/dist/calcite/{p-d2453e65.entry.js → p-ed5c5f5c.entry.js} +2 -2
  160. package/dist/calcite/{p-45e4a72e.entry.js → p-ef26e7e8.entry.js} +2 -2
  161. package/dist/calcite/{p-11693dff.js → p-f1267686.js} +1 -1
  162. package/dist/calcite/{p-5507acd4.entry.js → p-f42cd356.entry.js} +2 -2
  163. package/dist/calcite/{p-fc425bc6.system.js → p-f79fed09.system.js} +2 -2
  164. package/dist/calcite/{p-e00fd69f.js → p-f86ee33f.js} +2 -2
  165. package/dist/calcite/{p-b09ecd7a.system.js → p-f9ad7806.system.js} +1 -1
  166. package/dist/calcite/{p-0b26a3b2.entry.js → p-f9fd7f8c.entry.js} +2 -2
  167. package/dist/calcite/{p-094ad48b.system.entry.js → p-fd8a304f.system.entry.js} +2 -2
  168. package/dist/cjs/{ExpandToggle-a2cc8458.js → ExpandToggle-268465a3.js} +5 -5
  169. package/dist/cjs/{Heading-5a569cff.js → Heading-91900af3.js} +2 -2
  170. package/dist/cjs/{array-673ffbb1.js → array-3dffa8f2.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +12 -12
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +57 -31
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite.cjs.js +2 -2
  229. package/dist/cjs/{conditionalSlot-edce2e8c.js → conditionalSlot-e1792d8e.js} +3 -3
  230. package/dist/cjs/{debounce-2da144b5.js → debounce-c3a0f36f.js} +1 -1
  231. package/dist/cjs/{dom-6bfe646a.js → dom-be217a15.js} +2 -2
  232. package/dist/cjs/{forIn-4d4bd2c2.js → forIn-140e3c62.js} +2 -2
  233. package/dist/cjs/{form-efc59f8c.js → form-6bfb0719.js} +3 -3
  234. package/dist/cjs/{guid-a994495a.js → guid-21b03b4f.js} +1 -1
  235. package/dist/cjs/{index-a886bead.js → index-98559b14.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-ecda8cf3.js → interactive-9760231e.js} +1 -1
  238. package/dist/cjs/{interfaces-92f37dd2.js → interfaces-fcbb6c35.js} +1 -1
  239. package/dist/cjs/{label-d6edaa7e.js → label-7273ad1c.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +2 -2
  241. package/dist/cjs/{locale-ec8da6ba.js → locale-91604756.js} +4 -3
  242. package/dist/cjs/{math-67a199b7.js → math-c9a68fa0.js} +1 -1
  243. package/dist/cjs/{number-486d936a.js → number-d3ea17c4.js} +1 -1
  244. package/dist/cjs/{observers-68e55389.js → observers-cf003b0e.js} +1 -1
  245. package/dist/cjs/{popper-1f7a1d1a.js → popper-66b55be9.js} +2 -2
  246. package/dist/cjs/{resources-46735fec.js → resources-188e5b46.js} +1 -1
  247. package/dist/cjs/{resources-1b658fd1.js → resources-22c152ad.js} +5 -5
  248. package/dist/cjs/{resources-978f7782.js → resources-4a1fb311.js} +3 -3
  249. package/dist/cjs/{resources-b72ce200.js → resources-a60c34af.js} +1 -1
  250. package/dist/cjs/{sortable.esm-26f8f29c.js → sortable.esm-979917eb.js} +1 -1
  251. package/dist/cjs/{utils-7a6f162d.js → utils-4f6c1296.js} +1 -1
  252. package/dist/collection/components/accordion/accordion.js +1 -1
  253. package/dist/collection/components/accordion/interfaces.js +1 -1
  254. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  255. package/dist/collection/components/action/action.js +1 -1
  256. package/dist/collection/components/action/resources.js +1 -1
  257. package/dist/collection/components/action-bar/action-bar.js +1 -1
  258. package/dist/collection/components/action-bar/resources.js +1 -1
  259. package/dist/collection/components/action-bar/utils.js +1 -1
  260. package/dist/collection/components/action-group/action-group.js +1 -1
  261. package/dist/collection/components/action-group/resources.js +1 -1
  262. package/dist/collection/components/action-menu/action-menu.js +1 -1
  263. package/dist/collection/components/action-menu/resources.js +1 -1
  264. package/dist/collection/components/action-pad/action-pad.js +1 -1
  265. package/dist/collection/components/action-pad/resources.js +1 -1
  266. package/dist/collection/components/alert/alert.js +1 -1
  267. package/dist/collection/components/alert/interfaces.js +1 -1
  268. package/dist/collection/components/alert/resources.js +1 -1
  269. package/dist/collection/components/avatar/avatar.js +1 -1
  270. package/dist/collection/components/avatar/utils.js +1 -1
  271. package/dist/collection/components/block/block.js +1 -1
  272. package/dist/collection/components/block/resources.js +1 -1
  273. package/dist/collection/components/block-section/block-section.js +1 -1
  274. package/dist/collection/components/block-section/interfaces.js +1 -1
  275. package/dist/collection/components/block-section/resources.js +1 -1
  276. package/dist/collection/components/button/button.js +1 -1
  277. package/dist/collection/components/button/interfaces.js +1 -1
  278. package/dist/collection/components/button/resources.js +1 -1
  279. package/dist/collection/components/card/card.js +1 -1
  280. package/dist/collection/components/card/resources.js +1 -1
  281. package/dist/collection/components/checkbox/checkbox.js +1 -1
  282. package/dist/collection/components/chip/chip.js +1 -1
  283. package/dist/collection/components/chip/interfaces.js +1 -1
  284. package/dist/collection/components/chip/resources.js +1 -1
  285. package/dist/collection/components/color-picker/color-picker.js +5 -5
  286. package/dist/collection/components/color-picker/interfaces.js +1 -1
  287. package/dist/collection/components/color-picker/resources.js +1 -1
  288. package/dist/collection/components/color-picker/utils.js +1 -1
  289. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  291. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  293. package/dist/collection/components/combobox/combobox.js +46 -20
  294. package/dist/collection/components/combobox/interfaces.js +1 -1
  295. package/dist/collection/components/combobox/resources.js +1 -1
  296. package/dist/collection/components/combobox/utils.js +1 -1
  297. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  298. package/dist/collection/components/combobox-item/resources.js +1 -1
  299. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  300. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  301. package/dist/collection/components/date-picker/date-picker.js +1 -1
  302. package/dist/collection/components/date-picker/interfaces.js +1 -1
  303. package/dist/collection/components/date-picker/resources.js +1 -1
  304. package/dist/collection/components/date-picker/utils.js +1 -1
  305. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  306. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  307. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  308. package/dist/collection/components/dropdown/dropdown.js +1 -1
  309. package/dist/collection/components/dropdown/interfaces.js +1 -1
  310. package/dist/collection/components/dropdown/resources.js +1 -1
  311. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  312. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  313. package/dist/collection/components/dropdown-group/resources.js +1 -1
  314. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  315. package/dist/collection/components/dropdown-item/resources.js +1 -1
  316. package/dist/collection/components/fab/fab.js +1 -1
  317. package/dist/collection/components/fab/resources.js +1 -1
  318. package/dist/collection/components/filter/filter.js +1 -1
  319. package/dist/collection/components/filter/resources.js +1 -1
  320. package/dist/collection/components/flow/flow.js +1 -1
  321. package/dist/collection/components/flow/interfaces.js +1 -1
  322. package/dist/collection/components/flow/resources.js +1 -1
  323. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  324. package/dist/collection/components/functional/Heading.js +1 -1
  325. package/dist/collection/components/graph/graph.js +1 -1
  326. package/dist/collection/components/graph/interfaces.js +1 -1
  327. package/dist/collection/components/graph/util.js +1 -1
  328. package/dist/collection/components/handle/handle.js +1 -1
  329. package/dist/collection/components/handle/resources.js +1 -1
  330. package/dist/collection/components/icon/icon.js +1 -1
  331. package/dist/collection/components/icon/resources.js +1 -1
  332. package/dist/collection/components/icon/utils.js +1 -1
  333. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  334. package/dist/collection/components/inline-editable/resources.js +1 -1
  335. package/dist/collection/components/input/input.js +1 -1
  336. package/dist/collection/components/input/interfaces.js +1 -1
  337. package/dist/collection/components/input/resources.js +1 -1
  338. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  339. package/dist/collection/components/input-message/input-message.js +1 -1
  340. package/dist/collection/components/input-message/interfaces.js +1 -1
  341. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  342. package/dist/collection/components/interfaces.js +1 -1
  343. package/dist/collection/components/label/label.js +1 -1
  344. package/dist/collection/components/label/resources.js +1 -1
  345. package/dist/collection/components/link/link.js +1 -1
  346. package/dist/collection/components/list/list.js +1 -1
  347. package/dist/collection/components/list/resources.js +1 -1
  348. package/dist/collection/components/list-item/list-item.js +1 -1
  349. package/dist/collection/components/list-item/resources.js +1 -1
  350. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  351. package/dist/collection/components/list-item-group/resources.js +1 -1
  352. package/dist/collection/components/loader/loader.js +1 -1
  353. package/dist/collection/components/modal/interfaces.js +1 -1
  354. package/dist/collection/components/modal/modal.js +1 -1
  355. package/dist/collection/components/modal/resources.js +1 -1
  356. package/dist/collection/components/notice/notice.js +1 -1
  357. package/dist/collection/components/notice/resources.js +1 -1
  358. package/dist/collection/components/option/option.js +1 -1
  359. package/dist/collection/components/option-group/option-group.js +1 -1
  360. package/dist/collection/components/pagination/pagination.js +1 -1
  361. package/dist/collection/components/pagination/resources.js +1 -1
  362. package/dist/collection/components/panel/panel.js +1 -1
  363. package/dist/collection/components/panel/resources.js +1 -1
  364. package/dist/collection/components/pick-list/pick-list.js +1 -1
  365. package/dist/collection/components/pick-list/resources.js +1 -1
  366. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  368. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  369. package/dist/collection/components/pick-list-group/resources.js +1 -1
  370. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  371. package/dist/collection/components/pick-list-item/resources.js +1 -1
  372. package/dist/collection/components/popover/popover.js +1 -1
  373. package/dist/collection/components/popover/resources.js +1 -1
  374. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  375. package/dist/collection/components/progress/progress.js +1 -1
  376. package/dist/collection/components/radio-button/radio-button.js +1 -1
  377. package/dist/collection/components/radio-button/resources.js +1 -1
  378. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  379. package/dist/collection/components/radio-group/interfaces.js +1 -1
  380. package/dist/collection/components/radio-group/radio-group.js +1 -1
  381. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  382. package/dist/collection/components/radio-group-item/resources.js +1 -1
  383. package/dist/collection/components/rating/rating.js +1 -1
  384. package/dist/collection/components/rating/resources.js +1 -1
  385. package/dist/collection/components/scrim/resources.js +1 -1
  386. package/dist/collection/components/scrim/scrim.js +1 -1
  387. package/dist/collection/components/select/resources.js +1 -1
  388. package/dist/collection/components/select/select.js +1 -1
  389. package/dist/collection/components/shell/resources.js +1 -1
  390. package/dist/collection/components/shell/shell.js +1 -1
  391. package/dist/collection/components/shell-center-row/resources.js +1 -1
  392. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  393. package/dist/collection/components/shell-panel/resources.js +1 -1
  394. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  395. package/dist/collection/components/slider/slider.js +1 -1
  396. package/dist/collection/components/sortable-list/resources.js +1 -1
  397. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  398. package/dist/collection/components/split-button/resources.js +1 -1
  399. package/dist/collection/components/split-button/split-button.js +1 -1
  400. package/dist/collection/components/stepper/stepper.js +1 -1
  401. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  402. package/dist/collection/components/switch/switch.js +1 -1
  403. package/dist/collection/components/tab/interfaces.js +1 -1
  404. package/dist/collection/components/tab/tab.js +1 -1
  405. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  406. package/dist/collection/components/tab-title/tab-title.js +1 -1
  407. package/dist/collection/components/tabs/interfaces.js +1 -1
  408. package/dist/collection/components/tabs/resources.js +1 -1
  409. package/dist/collection/components/tabs/tabs.js +1 -1
  410. package/dist/collection/components/tile/resources.js +1 -1
  411. package/dist/collection/components/tile/tile.js +1 -1
  412. package/dist/collection/components/tile-select/interfaces.js +1 -1
  413. package/dist/collection/components/tile-select/resources.js +1 -1
  414. package/dist/collection/components/tile-select/tile-select.js +1 -1
  415. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  416. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  417. package/dist/collection/components/time-picker/resources.js +1 -1
  418. package/dist/collection/components/time-picker/time-picker.js +1 -1
  419. package/dist/collection/components/tip/resources.js +1 -1
  420. package/dist/collection/components/tip/tip.js +1 -1
  421. package/dist/collection/components/tip-group/tip-group.js +1 -1
  422. package/dist/collection/components/tip-manager/resources.js +1 -1
  423. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  424. package/dist/collection/components/tooltip/resources.js +1 -1
  425. package/dist/collection/components/tooltip/tooltip.js +1 -1
  426. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  427. package/dist/collection/components/tree/interfaces.js +1 -1
  428. package/dist/collection/components/tree/tree.js +1 -1
  429. package/dist/collection/components/tree-item/interfaces.js +1 -1
  430. package/dist/collection/components/tree-item/resources.js +1 -1
  431. package/dist/collection/components/tree-item/tree-item.js +1 -1
  432. package/dist/collection/components/value-list/resources.js +1 -1
  433. package/dist/collection/components/value-list/value-list.js +1 -1
  434. package/dist/collection/components/value-list-item/resources.js +1 -1
  435. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  436. package/dist/collection/utils/array.js +1 -1
  437. package/dist/collection/utils/conditionalSlot.js +1 -1
  438. package/dist/collection/utils/date.js +1 -1
  439. package/dist/collection/utils/dom.js +1 -1
  440. package/dist/collection/utils/filter.js +1 -1
  441. package/dist/collection/utils/form.js +1 -1
  442. package/dist/collection/utils/globalAttributes.js +1 -1
  443. package/dist/collection/utils/guid.js +1 -1
  444. package/dist/collection/utils/interactive.js +1 -1
  445. package/dist/collection/utils/key.js +1 -1
  446. package/dist/collection/utils/label.js +1 -1
  447. package/dist/collection/utils/locale.js +3 -2
  448. package/dist/collection/utils/math.js +1 -1
  449. package/dist/collection/utils/number.js +1 -1
  450. package/dist/collection/utils/observers.js +1 -1
  451. package/dist/collection/utils/popper.js +1 -1
  452. package/dist/collection/utils/resources.js +1 -1
  453. package/dist/collection/utils/time.js +1 -1
  454. package/dist/components/ExpandToggle.js +1 -1
  455. package/dist/components/Heading.js +1 -1
  456. package/dist/components/action-group.js +1 -1
  457. package/dist/components/action-menu.js +1 -1
  458. package/dist/components/action.js +1 -1
  459. package/dist/components/array.js +1 -1
  460. package/dist/components/button.js +1 -1
  461. package/dist/components/calcite-accordion-item.js +1 -1
  462. package/dist/components/calcite-accordion.js +1 -1
  463. package/dist/components/calcite-action-bar.js +1 -1
  464. package/dist/components/calcite-action-group.js +1 -1
  465. package/dist/components/calcite-action-menu.js +1 -1
  466. package/dist/components/calcite-action-pad.js +1 -1
  467. package/dist/components/calcite-action.js +1 -1
  468. package/dist/components/calcite-alert.js +1 -1
  469. package/dist/components/calcite-avatar.js +1 -1
  470. package/dist/components/calcite-block-section.js +1 -1
  471. package/dist/components/calcite-block.js +1 -1
  472. package/dist/components/calcite-button.js +1 -1
  473. package/dist/components/calcite-card.js +1 -1
  474. package/dist/components/calcite-checkbox.js +1 -1
  475. package/dist/components/calcite-chip.js +1 -1
  476. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  477. package/dist/components/calcite-color-picker-swatch.js +1 -1
  478. package/dist/components/calcite-color-picker.js +5 -5
  479. package/dist/components/calcite-combobox-item-group.js +1 -1
  480. package/dist/components/calcite-combobox-item.js +1 -1
  481. package/dist/components/calcite-combobox.js +46 -20
  482. package/dist/components/calcite-date-picker-day.js +1 -1
  483. package/dist/components/calcite-date-picker-month-header.js +1 -1
  484. package/dist/components/calcite-date-picker-month.js +1 -1
  485. package/dist/components/calcite-date-picker.js +1 -1
  486. package/dist/components/calcite-dropdown-group.js +1 -1
  487. package/dist/components/calcite-dropdown-item.js +1 -1
  488. package/dist/components/calcite-dropdown.js +1 -1
  489. package/dist/components/calcite-fab.js +1 -1
  490. package/dist/components/calcite-filter.js +1 -1
  491. package/dist/components/calcite-flow.js +1 -1
  492. package/dist/components/calcite-graph.js +1 -1
  493. package/dist/components/calcite-handle.js +1 -1
  494. package/dist/components/calcite-icon.js +1 -1
  495. package/dist/components/calcite-inline-editable.js +1 -1
  496. package/dist/components/calcite-input-date-picker.js +1 -1
  497. package/dist/components/calcite-input-message.js +1 -1
  498. package/dist/components/calcite-input-time-picker.js +1 -1
  499. package/dist/components/calcite-input.js +1 -1
  500. package/dist/components/calcite-label.js +1 -1
  501. package/dist/components/calcite-link.js +1 -1
  502. package/dist/components/calcite-list-item-group.js +1 -1
  503. package/dist/components/calcite-list-item.js +1 -1
  504. package/dist/components/calcite-list.js +1 -1
  505. package/dist/components/calcite-loader.js +1 -1
  506. package/dist/components/calcite-modal.js +1 -1
  507. package/dist/components/calcite-notice.js +1 -1
  508. package/dist/components/calcite-option-group.js +1 -1
  509. package/dist/components/calcite-option.js +1 -1
  510. package/dist/components/calcite-pagination.js +1 -1
  511. package/dist/components/calcite-panel.js +1 -1
  512. package/dist/components/calcite-pick-list-group.js +1 -1
  513. package/dist/components/calcite-pick-list-item.js +1 -1
  514. package/dist/components/calcite-pick-list.js +1 -1
  515. package/dist/components/calcite-popover-manager.js +1 -1
  516. package/dist/components/calcite-popover.js +1 -1
  517. package/dist/components/calcite-progress.js +1 -1
  518. package/dist/components/calcite-radio-button-group.js +1 -1
  519. package/dist/components/calcite-radio-button.js +1 -1
  520. package/dist/components/calcite-radio-group-item.js +1 -1
  521. package/dist/components/calcite-radio-group.js +1 -1
  522. package/dist/components/calcite-rating.js +1 -1
  523. package/dist/components/calcite-scrim.js +1 -1
  524. package/dist/components/calcite-select.js +1 -1
  525. package/dist/components/calcite-shell-center-row.js +1 -1
  526. package/dist/components/calcite-shell-panel.js +1 -1
  527. package/dist/components/calcite-shell.js +1 -1
  528. package/dist/components/calcite-slider.js +1 -1
  529. package/dist/components/calcite-sortable-list.js +1 -1
  530. package/dist/components/calcite-split-button.js +1 -1
  531. package/dist/components/calcite-stepper-item.js +1 -1
  532. package/dist/components/calcite-stepper.js +1 -1
  533. package/dist/components/calcite-switch.js +1 -1
  534. package/dist/components/calcite-tab-nav.js +1 -1
  535. package/dist/components/calcite-tab-title.js +1 -1
  536. package/dist/components/calcite-tab.js +1 -1
  537. package/dist/components/calcite-tabs.js +1 -1
  538. package/dist/components/calcite-tile-select-group.js +1 -1
  539. package/dist/components/calcite-tile-select.js +1 -1
  540. package/dist/components/calcite-tile.js +1 -1
  541. package/dist/components/calcite-time-picker.js +1 -1
  542. package/dist/components/calcite-tip-group.js +1 -1
  543. package/dist/components/calcite-tip-manager.js +1 -1
  544. package/dist/components/calcite-tip.js +1 -1
  545. package/dist/components/calcite-tooltip-manager.js +1 -1
  546. package/dist/components/calcite-tooltip.js +1 -1
  547. package/dist/components/calcite-tree-item.js +1 -1
  548. package/dist/components/calcite-tree.js +1 -1
  549. package/dist/components/calcite-value-list-item.js +1 -1
  550. package/dist/components/calcite-value-list.js +1 -1
  551. package/dist/components/checkbox.js +1 -1
  552. package/dist/components/chip.js +1 -1
  553. package/dist/components/color-picker-hex-input.js +1 -1
  554. package/dist/components/color-picker-swatch.js +1 -1
  555. package/dist/components/conditionalSlot.js +1 -1
  556. package/dist/components/date-picker-day.js +1 -1
  557. package/dist/components/date-picker-month-header.js +1 -1
  558. package/dist/components/date-picker-month.js +1 -1
  559. package/dist/components/date-picker.js +1 -1
  560. package/dist/components/date.js +1 -1
  561. package/dist/components/debounce.js +1 -1
  562. package/dist/components/dom.js +1 -1
  563. package/dist/components/dropdown.js +1 -1
  564. package/dist/components/filter.js +1 -1
  565. package/dist/components/forIn.js +1 -1
  566. package/dist/components/form.js +1 -1
  567. package/dist/components/graph.js +1 -1
  568. package/dist/components/guid.js +1 -1
  569. package/dist/components/handle.js +1 -1
  570. package/dist/components/icon.js +1 -1
  571. package/dist/components/index.js +1 -1
  572. package/dist/components/input.js +1 -1
  573. package/dist/components/interactive.js +1 -1
  574. package/dist/components/interfaces.js +1 -1
  575. package/dist/components/interfaces2.js +1 -1
  576. package/dist/components/label.js +1 -1
  577. package/dist/components/label2.js +1 -1
  578. package/dist/components/link.js +1 -1
  579. package/dist/components/loader.js +1 -1
  580. package/dist/components/locale.js +3 -2
  581. package/dist/components/math.js +1 -1
  582. package/dist/components/number.js +1 -1
  583. package/dist/components/observers.js +1 -1
  584. package/dist/components/pick-list-item.js +1 -1
  585. package/dist/components/popover.js +1 -1
  586. package/dist/components/popper.js +1 -1
  587. package/dist/components/progress.js +1 -1
  588. package/dist/components/resources.js +1 -1
  589. package/dist/components/resources2.js +1 -1
  590. package/dist/components/resources3.js +1 -1
  591. package/dist/components/resources4.js +1 -1
  592. package/dist/components/resources5.js +1 -1
  593. package/dist/components/scrim.js +1 -1
  594. package/dist/components/shared-list-render.js +1 -1
  595. package/dist/components/sortable.esm.js +1 -1
  596. package/dist/components/switch.js +1 -1
  597. package/dist/components/tab-nav.js +1 -1
  598. package/dist/components/tab-title.js +1 -1
  599. package/dist/components/tab.js +1 -1
  600. package/dist/components/tabs.js +1 -1
  601. package/dist/components/tile.js +1 -1
  602. package/dist/components/time-picker.js +1 -1
  603. package/dist/components/tooltip-manager.js +1 -1
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils2.js +1 -1
  606. package/dist/custom-elements/index.js +52 -25
  607. package/dist/esm/{ExpandToggle-35550c1e.js → ExpandToggle-bf6baa2c.js} +5 -5
  608. package/dist/esm/{Heading-5672b30a.js → Heading-47fc2908.js} +2 -2
  609. package/dist/esm/{array-1b0804c1.js → array-51ff8227.js} +1 -1
  610. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  611. package/dist/esm/calcite-action-bar.entry.js +10 -10
  612. package/dist/esm/calcite-action-group.entry.js +8 -8
  613. package/dist/esm/calcite-action-menu.entry.js +8 -8
  614. package/dist/esm/calcite-action-pad.entry.js +9 -9
  615. package/dist/esm/calcite-action.entry.js +4 -4
  616. package/dist/esm/calcite-alert.entry.js +5 -5
  617. package/dist/esm/calcite-avatar.entry.js +5 -5
  618. package/dist/esm/calcite-block_2.entry.js +8 -8
  619. package/dist/esm/calcite-button.entry.js +7 -7
  620. package/dist/esm/calcite-card.entry.js +6 -6
  621. package/dist/esm/calcite-checkbox.entry.js +7 -7
  622. package/dist/esm/calcite-chip.entry.js +6 -6
  623. package/dist/esm/calcite-color-picker_3.entry.js +12 -12
  624. package/dist/esm/calcite-combobox_3.entry.js +57 -31
  625. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  626. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  627. package/dist/esm/calcite-fab.entry.js +5 -5
  628. package/dist/esm/calcite-filter.entry.js +7 -7
  629. package/dist/esm/calcite-flow.entry.js +3 -3
  630. package/dist/esm/calcite-graph_2.entry.js +9 -9
  631. package/dist/esm/calcite-handle.entry.js +2 -2
  632. package/dist/esm/calcite-icon.entry.js +5 -5
  633. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  634. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  635. package/dist/esm/calcite-input-message.entry.js +4 -4
  636. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  637. package/dist/esm/calcite-input.entry.js +11 -11
  638. package/dist/esm/calcite-label.entry.js +5 -5
  639. package/dist/esm/calcite-link.entry.js +5 -5
  640. package/dist/esm/calcite-list_3.entry.js +8 -8
  641. package/dist/esm/calcite-loader.entry.js +3 -3
  642. package/dist/esm/calcite-modal.entry.js +6 -6
  643. package/dist/esm/calcite-notice.entry.js +7 -7
  644. package/dist/esm/calcite-option_3.entry.js +8 -8
  645. package/dist/esm/calcite-pagination.entry.js +2 -2
  646. package/dist/esm/calcite-panel.entry.js +9 -9
  647. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  648. package/dist/esm/calcite-popover_2.entry.js +6 -6
  649. package/dist/esm/calcite-progress.entry.js +2 -2
  650. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  651. package/dist/esm/calcite-radio-button.entry.js +8 -8
  652. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  653. package/dist/esm/calcite-rating.entry.js +7 -7
  654. package/dist/esm/calcite-scrim.entry.js +2 -2
  655. package/dist/esm/calcite-shell_3.entry.js +7 -7
  656. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  657. package/dist/esm/calcite-split-button.entry.js +3 -3
  658. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  659. package/dist/esm/calcite-switch.entry.js +7 -7
  660. package/dist/esm/calcite-tab_4.entry.js +6 -6
  661. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  662. package/dist/esm/calcite-tile.entry.js +7 -7
  663. package/dist/esm/calcite-tip_3.entry.js +7 -7
  664. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  665. package/dist/esm/calcite-tree_2.entry.js +6 -6
  666. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  667. package/dist/esm/calcite.js +2 -2
  668. package/dist/esm/{conditionalSlot-e9e64a1f.js → conditionalSlot-912b4669.js} +3 -3
  669. package/dist/esm/{debounce-3a0c3883.js → debounce-d6e32a3f.js} +1 -1
  670. package/dist/esm/{dom-ceae5251.js → dom-3f012371.js} +2 -2
  671. package/dist/esm/{forIn-f78897f3.js → forIn-785d5cb2.js} +2 -2
  672. package/dist/esm/{form-393a2d49.js → form-4b2b29b5.js} +3 -3
  673. package/dist/esm/{guid-e058867e.js → guid-a53704be.js} +1 -1
  674. package/dist/esm/{index-b860e98d.js → index-73638693.js} +1 -1
  675. package/dist/esm/index.js +1 -1
  676. package/dist/esm/{interactive-9d2850d8.js → interactive-d104f01d.js} +1 -1
  677. package/dist/esm/{interfaces-f742eb47.js → interfaces-de185544.js} +1 -1
  678. package/dist/esm/{label-59758f1d.js → label-4ae8f799.js} +2 -2
  679. package/dist/esm/loader.js +2 -2
  680. package/dist/esm/{locale-d70b3c60.js → locale-5d461544.js} +4 -3
  681. package/dist/esm/{math-9886cc23.js → math-7a955d3f.js} +1 -1
  682. package/dist/esm/{number-d6ef289a.js → number-c0a5f71a.js} +1 -1
  683. package/dist/esm/{observers-d31fa733.js → observers-7d85a111.js} +1 -1
  684. package/dist/esm/{popper-9b307fdc.js → popper-e758780f.js} +2 -2
  685. package/dist/esm/{resources-d548f900.js → resources-0bca4be2.js} +5 -5
  686. package/dist/esm/{resources-803957eb.js → resources-1996596c.js} +1 -1
  687. package/dist/esm/{resources-f94b762f.js → resources-db4e4808.js} +1 -1
  688. package/dist/esm/{resources-6970bc64.js → resources-fc1eccb7.js} +3 -3
  689. package/dist/esm/{sortable.esm-65f3f202.js → sortable.esm-012bd29a.js} +1 -1
  690. package/dist/esm/{utils-208ad759.js → utils-2624e3fb.js} +1 -1
  691. package/dist/esm-es5/{ExpandToggle-35550c1e.js → ExpandToggle-bf6baa2c.js} +2 -2
  692. package/dist/esm-es5/{Heading-5672b30a.js → Heading-47fc2908.js} +2 -2
  693. package/dist/esm-es5/{array-1b0804c1.js → array-51ff8227.js} +1 -1
  694. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  695. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  699. package/dist/esm-es5/calcite-action.entry.js +2 -2
  700. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  701. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  702. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  703. package/dist/esm-es5/calcite-button.entry.js +2 -2
  704. package/dist/esm-es5/calcite-card.entry.js +2 -2
  705. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  706. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  707. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  708. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  709. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  710. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  711. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  712. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  713. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  714. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  715. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  716. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  717. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  718. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input.entry.js +2 -2
  722. package/dist/esm-es5/calcite-label.entry.js +2 -2
  723. package/dist/esm-es5/calcite-link.entry.js +3 -3
  724. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  725. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  726. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  727. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  728. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  730. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  731. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  733. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  734. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  737. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  738. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  739. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  740. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  741. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  742. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite.js +2 -2
  752. package/dist/esm-es5/{conditionalSlot-e9e64a1f.js → conditionalSlot-912b4669.js} +2 -2
  753. package/dist/esm-es5/{debounce-3a0c3883.js → debounce-d6e32a3f.js} +1 -1
  754. package/dist/esm-es5/{dom-ceae5251.js → dom-3f012371.js} +2 -2
  755. package/dist/esm-es5/{forIn-f78897f3.js → forIn-785d5cb2.js} +2 -2
  756. package/dist/esm-es5/{form-393a2d49.js → form-4b2b29b5.js} +2 -2
  757. package/dist/esm-es5/{guid-e058867e.js → guid-a53704be.js} +1 -1
  758. package/dist/esm-es5/{index-b860e98d.js → index-73638693.js} +1 -1
  759. package/dist/esm-es5/index.js +1 -1
  760. package/dist/esm-es5/{interactive-9d2850d8.js → interactive-d104f01d.js} +1 -1
  761. package/dist/esm-es5/{interfaces-f742eb47.js → interfaces-de185544.js} +1 -1
  762. package/dist/esm-es5/{label-59758f1d.js → label-4ae8f799.js} +2 -2
  763. package/dist/esm-es5/loader.js +2 -2
  764. package/dist/esm-es5/locale-5d461544.js +6 -0
  765. package/dist/esm-es5/{math-9886cc23.js → math-7a955d3f.js} +1 -1
  766. package/dist/esm-es5/{number-d6ef289a.js → number-c0a5f71a.js} +1 -1
  767. package/dist/esm-es5/{observers-d31fa733.js → observers-7d85a111.js} +1 -1
  768. package/dist/esm-es5/{popper-9b307fdc.js → popper-e758780f.js} +2 -2
  769. package/dist/esm-es5/{resources-d548f900.js → resources-0bca4be2.js} +2 -2
  770. package/dist/esm-es5/{resources-803957eb.js → resources-1996596c.js} +1 -1
  771. package/dist/esm-es5/{resources-f94b762f.js → resources-db4e4808.js} +1 -1
  772. package/dist/esm-es5/{resources-6970bc64.js → resources-fc1eccb7.js} +2 -2
  773. package/dist/esm-es5/{sortable.esm-65f3f202.js → sortable.esm-012bd29a.js} +1 -1
  774. package/dist/esm-es5/{utils-208ad759.js → utils-2624e3fb.js} +1 -1
  775. package/dist/extras/docs-json.json +1 -1
  776. package/dist/loader/cdn.js +1 -1
  777. package/dist/loader/index.cjs.js +1 -1
  778. package/dist/loader/index.es2017.js +1 -1
  779. package/dist/loader/index.js +1 -1
  780. package/dist/types/components/combobox/combobox.d.ts +2 -0
  781. package/hydrate/index.js +52 -25
  782. package/package.json +1 -1
  783. package/readme.md +2 -2
  784. package/dist/calcite/p-1309874e.js +0 -6
  785. package/dist/calcite/p-141babae.js +0 -6
  786. package/dist/calcite/p-6e6caa1b.system.js +0 -6
  787. package/dist/calcite/p-7ff5d3be.entry.js +0 -6
  788. package/dist/calcite/p-91a42426.js +0 -6
  789. package/dist/calcite/p-ae5e0d1b.js +0 -6
  790. package/dist/calcite/p-bc8a86a3.entry.js +0 -6
  791. package/dist/calcite/p-c540b6ea.js +0 -6
  792. package/dist/calcite/p-cd6b9378.system.js +0 -6
  793. package/dist/calcite/p-d06086b8.entry.js +0 -6
  794. package/dist/calcite/p-dfaea7c6.system.entry.js +0 -6
  795. package/dist/calcite/p-e4d0c4dc.system.js +0 -6
  796. package/dist/esm-es5/locale-d70b3c60.js +0 -6
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
4
+ * v1.0.0-next.441
5
5
  */
6
6
  'use strict';
7
7
 
@@ -12763,7 +12763,7 @@ class ColorPicker {
12763
12763
  }
12764
12764
  handleFormatChange(format) {
12765
12765
  this.setMode(format);
12766
- this.internalColorSet(this.color, false);
12766
+ this.internalColorSet(this.color, false, "internal");
12767
12767
  }
12768
12768
  handleScaleChange(scale = "m") {
12769
12769
  this.updateDimensions(scale);
@@ -12786,7 +12786,7 @@ class ColorPicker {
12786
12786
  if (this.internalColorUpdateContext === "initial") {
12787
12787
  return;
12788
12788
  }
12789
- if (this.internalColorUpdateContext === "internal") {
12789
+ if (this.internalColorUpdateContext === "user-interaction") {
12790
12790
  this.calciteColorPickerInput.emit();
12791
12791
  if (!dragging) {
12792
12792
  this.calciteColorPickerChange.emit();
@@ -12796,7 +12796,7 @@ class ColorPicker {
12796
12796
  const color$1 = allowEmpty && !value ? null : color(value);
12797
12797
  const colorChanged = !colorEqual(color$1, this.color);
12798
12798
  if (modeChanged || colorChanged) {
12799
- this.internalColorSet(color$1);
12799
+ this.internalColorSet(color$1, true, "internal");
12800
12800
  }
12801
12801
  }
12802
12802
  //--------------------------------------------------------------------------
@@ -12925,7 +12925,7 @@ class ColorPicker {
12925
12925
  }
12926
12926
  return "none";
12927
12927
  }
12928
- internalColorSet(color, skipEqual = true, context = "internal") {
12928
+ internalColorSet(color, skipEqual = true, context = "user-interaction") {
12929
12929
  if (skipEqual && colorEqual(color, this.color)) {
12930
12930
  return;
12931
12931
  }
@@ -15420,14 +15420,20 @@ class Combobox {
15420
15420
  this.nextChip();
15421
15421
  break;
15422
15422
  case "ArrowUp":
15423
- event.preventDefault();
15424
- this.active = true;
15425
15423
  this.shiftActiveItemIndex(-1);
15424
+ if (!this.comboboxInViewport()) {
15425
+ this.el.scrollIntoView();
15426
+ }
15426
15427
  break;
15427
15428
  case "ArrowDown":
15428
- event.preventDefault();
15429
- this.active = true;
15429
+ if (!this.active) {
15430
+ event.preventDefault();
15431
+ this.active = true;
15432
+ }
15430
15433
  this.shiftActiveItemIndex(1);
15434
+ if (!this.comboboxInViewport()) {
15435
+ this.el.scrollIntoView();
15436
+ }
15431
15437
  break;
15432
15438
  case " ":
15433
15439
  if (!this.textInput.value) {
@@ -15437,14 +15443,24 @@ class Combobox {
15437
15443
  }
15438
15444
  break;
15439
15445
  case "Home":
15440
- event.preventDefault();
15441
- this.active = true;
15446
+ if (this.active) {
15447
+ event.preventDefault();
15448
+ }
15442
15449
  this.updateActiveItemIndex(0);
15450
+ this.scrollToActiveItem();
15451
+ if (!this.comboboxInViewport()) {
15452
+ this.el.scrollIntoView();
15453
+ }
15443
15454
  break;
15444
15455
  case "End":
15445
- event.preventDefault();
15446
- this.active = true;
15456
+ if (this.active) {
15457
+ event.preventDefault();
15458
+ }
15447
15459
  this.updateActiveItemIndex(this.visibleItems.length - 1);
15460
+ this.scrollToActiveItem();
15461
+ if (!this.comboboxInViewport()) {
15462
+ this.el.scrollIntoView();
15463
+ }
15448
15464
  break;
15449
15465
  case "Escape":
15450
15466
  this.active = false;
@@ -15507,6 +15523,7 @@ class Combobox {
15507
15523
  return;
15508
15524
  }
15509
15525
  this.active = !this.active;
15526
+ this.updateActiveItemIndex(0);
15510
15527
  this.setFocus();
15511
15528
  };
15512
15529
  this.setInactiveIfNotContained = (event) => {
@@ -15594,6 +15611,17 @@ class Combobox {
15594
15611
  this.setMaxScrollerHeight();
15595
15612
  }
15596
15613
  };
15614
+ this.scrollToActiveItem = () => {
15615
+ const activeItem = this.visibleItems[this.activeItemIndex];
15616
+ const height = this.calculateSingleItemHeight(activeItem);
15617
+ const { offsetHeight, scrollTop } = this.listContainerEl;
15618
+ if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
15619
+ this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
15620
+ }
15621
+ else if (activeItem.offsetTop < scrollTop) {
15622
+ this.listContainerEl.scrollTop = activeItem.offsetTop;
15623
+ }
15624
+ };
15597
15625
  this.comboboxFocusHandler = () => {
15598
15626
  var _a;
15599
15627
  (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
@@ -15721,6 +15749,13 @@ class Combobox {
15721
15749
  textHandler() {
15722
15750
  this.updateActiveItemIndex(-1);
15723
15751
  }
15752
+ comboboxInViewport() {
15753
+ const bounding = this.el.getBoundingClientRect();
15754
+ return (bounding.top >= 0 &&
15755
+ bounding.left >= 0 &&
15756
+ bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
15757
+ bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
15758
+ }
15724
15759
  getModifiers() {
15725
15760
  const flipModifier = {
15726
15761
  name: "flip",
@@ -15945,19 +15980,10 @@ class Combobox {
15945
15980
  chip === null || chip === void 0 ? void 0 : chip.setFocus();
15946
15981
  }
15947
15982
  shiftActiveItemIndex(delta) {
15948
- const length = this.visibleItems.length;
15983
+ const { length } = this.visibleItems;
15949
15984
  const newIndex = (this.activeItemIndex + length + delta) % length;
15950
15985
  this.updateActiveItemIndex(newIndex);
15951
- // ensure active item is in view if we have scrolling
15952
- const activeItem = this.visibleItems[this.activeItemIndex];
15953
- const height = this.calculateSingleItemHeight(activeItem);
15954
- const { offsetHeight, scrollTop } = this.listContainerEl;
15955
- if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
15956
- this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
15957
- }
15958
- else if (activeItem.offsetTop < scrollTop) {
15959
- this.listContainerEl.scrollTop = activeItem.offsetTop;
15960
- }
15986
+ this.scrollToActiveItem();
15961
15987
  }
15962
15988
  updateActiveItemIndex(index) {
15963
15989
  var _a;
@@ -16389,7 +16415,8 @@ function delocalizeNumberString(numberString, locale) {
16389
16415
  })
16390
16416
  .reduce((string, part) => string + part)
16391
16417
  .replace(decimalSeparator, ".")
16392
- .replace(minusSign, "-");
16418
+ .replace(minusSign, "-")
16419
+ .replace(/[^0-9\-\.]/g, ""); // remove everything except numbers, "-", and "."
16393
16420
  return isNaN(Number(delocalizedNumberString)) ? nonExpoNumString : delocalizedNumberString;
16394
16421
  }
16395
16422
  return nonExpoNumString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.439",
3
+ "version": "1.0.0-next.441",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
package/readme.md CHANGED
@@ -12,12 +12,12 @@ The most common approach for loading Calcite Components is to use the version ho
12
12
  ```html
13
13
  <script
14
14
  type="module"
15
- src="https://unpkg.com/@esri/calcite-components@1.0.0-beta.80/dist/calcite/calcite.esm.js"
15
+ src="https://unpkg.com/@esri/calcite-components@1.0.0-beta.81/dist/calcite/calcite.esm.js"
16
16
  ></script>
17
17
  <link
18
18
  rel="stylesheet"
19
19
  type="text/css"
20
- href="https://unpkg.com/@esri/calcite-components@1.0.0-beta.80/dist/calcite/calcite.css"
20
+ href="https://unpkg.com/@esri/calcite-components@1.0.0-beta.81/dist/calcite/calcite.css"
21
21
  />
22
22
  ```
23
23
 
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{c as n}from"./p-a0293d51.js";import{h as t}from"./p-eaced555.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,c=n(o,"form");if(!c||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(c,o))return;t.formEl=c,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const u=(t.onFormReset||s).bind(t);c.addEventListener("reset",u),i.add(o)}function s(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function c(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function u(n,t){n.defaultValue=t}function l(n,t,o){var i;const{defaultValue:r,disabled:s,name:c,required:u}=n;t.defaultValue=r,t.disabled=s,t.name=c,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",s||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const a=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,s=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void s.forEach((n=>n.remove()));const c=Array.isArray(i)?i:[i],u=[],a=new Set;let f;s.forEach((t=>{const e=c.find((n=>n==t.value));null!=e?(a.add(e),l(n,t,e)):u.push(t)})),c.forEach((t=>{if(a.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),l(n,e,t)})),f&&t.append(f),u.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{a as H,u as a,r as c,c as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{f as t,h as e}from"./p-eaced555.js";import{a as o}from"./p-a0293d51.js";import{S as n}from"./p-86e45742.js";import{S as a}from"./p-adfe6ad9.js";const i=150,c=({actionCount:t,actionHeight:e,height:o,groupCount:n})=>Math.max(t-(({height:t,actionHeight:e,groupCount:o})=>Math.floor((t-2*o)/e))({height:o,actionHeight:e,groupCount:n}),0),l=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),r=({actionGroups:e,expanded:o,overflowCount:n})=>{let i=n;e.reverse().forEach((e=>{let n=0;const c=l(e).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(e)}))};function s({parent:t,expanded:e}){l(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group").forEach((t=>t.expanded=e))}const p=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const d="rtl"===o(c),u=t?a:n,f=["chevrons-left","chevrons-right"];d&&f.reverse();const g="end"===function(t,e){var o;return t||(null===(o=e.closest("calcite-shell-panel"))||void 0===o?void 0:o.position)||"start"}(l,c),h=e("calcite-action",{icon:t?g?f[1]:f[0]:g?f[0]:f[1],onClick:i,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s}),scale:p,text:u,textEnabled:t});return r?e("calcite-tooltip-manager",null,h):h};export{p as E,r as a,c as g,i as o,l as q,s as t}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- System.register(["./p-83fb87f1.system.js","./p-c79d21d8.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.f},function(e){n=e.c}],execute:function(){e({c:i,d:o});var r=new Set;var c;var s={childList:true};function i(e){if(!c){c=n("mutation",f)}c.observe(e.el,s)}function o(e){r.delete(e.el);f(c.takeRecords());c.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];c.observe(i,s)}}function f(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{a,r as t,h as i,H as n,g as e}from"./p-eaced555.js";import{a as r}from"./p-a0293d51.js";import{c as s}from"./p-80fdefa0.js";import"./p-11693dff.js";const o={},c={},l={s:16,m:24,l:32};const m=class{constructor(a){t(this,a),this.icon=null,this.flipRtl=!1,this.scale="m",this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var a;null===(a=this.intersectionObserver)||void 0===a||a.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:a,flipRtl:t,pathData:e,scale:s,textLabel:o}=this,c=r(a),m=l[s],f=!!o,h=[].concat(e||"");return i(n,{"aria-hidden":(!f).toString(),"aria-label":f?o:null,role:f?"img":null},i("svg",{class:{"flip-rtl":"rtl"===c&&t,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${m} ${m}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},h.map((a=>i("path","string"==typeof a?{d:a}:{d:a.d,opacity:"opacity"in a?a.opacity:1})))))}async loadIconPathData(){const{icon:t,scale:i,visible:n}=this;t&&n&&(this.pathData=await async function({icon:t,scale:i}){const n=l[i],e=function(a){const t=!isNaN(Number(a.charAt(0))),i=a.split("-");return 1===i.length?t?`i${a}`:a:i.map(((a,i)=>0===i?t?`i${a.toUpperCase()}`:a:a.charAt(0).toUpperCase()+a.slice(1))).join("")}(t),r="F"===e.charAt(e.length-1),s=`${r?e.substring(0,e.length-1):e}${n}${r?"F":""}`;if(o[s])return o[s];c[s]||(c[s]=fetch(a(`./assets/icon/${s}.json`)).then((a=>a.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const m=await c[s];return o[s]=m,m}({icon:t,scale:i}))}waitUntilVisible(a){this.intersectionObserver=s("intersection",(t=>{t.forEach((t=>{t.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,a())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):a()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";export{m as calcite_icon}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{f as t}from"./p-eaced555.js";import{c as o}from"./p-80fdefa0.js";const n=new Set;let c;const f={childList:!0};function s(t){c||(c=o("mutation",e)),c.observe(t.el,f)}function a(t){n.delete(t.el),e(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,f)}function e(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,a as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{h as t}from"./p-eaced555.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const a=`h${e.level}`;return delete e.level,t(a,Object.assign({},e),r)};export{r as H,e as c}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-eaced555.js";import{g as r}from"./p-11693dff.js";import{a as n,f as s}from"./p-a0293d51.js";import{c,d,g as l}from"./p-36a1d5fc.js";import{c as h,d as m,H as p}from"./p-1309874e.js";import{g as u}from"./p-8b51c3ca.js";import{u as b}from"./p-a84e54c7.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,u(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,u(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){b(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{a as n,b as t}from"./p-9cf73b38.js";const r=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];function e(n){return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:20})}function i(t,r){return n(t,(n=>{if(n){const t=u(r),i=s(r),a=function(n){const t=e(n).formatToParts(-1234567.8).find((n=>"minusSign"===n.type)).value;return 0===t.trim().length?"-":t}(r),c=n.split(""),o=c.lastIndexOf(i),f=c.map(((n,r)=>n===t||n===i&&r!==o?"":n)).reduce(((n,t)=>n+t)).replace(i,".").replace(a,"-");return isNaN(Number(f))?n:f}return n}))}function u(n){const t=e(n).formatToParts(1234567.8).find((n=>"group"===n.type)).value;return 0===t.trim().length?" ":t}function s(n){const t=e(n).formatToParts(1234567.8).find((n=>"decimal"===n.type)).value;return 0===t.trim().length?" ":t}function a(r,i,a=!1){return n(r,(n=>{if(n){const r=Number(t(n));return isNaN(r)?n:e(i).formatToParts(r).map((({type:n,value:t})=>{switch(n){case"group":return a?u(i):"";case"decimal":return s(i);default:return t}})).reduce(((n,t)=>n+t))}}))}export{r as a,i as d,s as g,a as l}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{c(r.next(t))}catch(t){a(t)}}function u(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.439
6
- */System.register(["./p-83fb87f1.system.js","./p-e4d0c4dc.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:f,b:c,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var i={};var a={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(c){switch(c.label){case 0:n=r(t);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,a[n]];case 1:u=c.sent();i[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var i=!(e instanceof Date)||r>=e.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function c(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var i=e instanceof Date&&r<e.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return e}if(a){return n}return t}function f(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var i=w(r);var a=m(t).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{r as t,c as i,h as e,H as a,g as n}from"./p-eaced555.js";import{a as s,S as o,d as r}from"./p-8d0a310f.js";import{i as c,f as l}from"./p-9bc483a4.js";import{f as m,u as h,c as p,d,p as b,C as u}from"./p-dda390d5.js";import{g as f}from"./p-11693dff.js";import{n as x,d as g,g as w}from"./p-a0293d51.js";import{c as v,d as y,g as k}from"./p-36a1d5fc.js";import{c as D,a as C,d as I,H as z}from"./p-1309874e.js";import{c as _}from"./p-80fdefa0.js";import{u as E}from"./p-a84e54c7.js";import{c as O,d as H}from"./p-91a42426.js";var A=o?o.prototype:void 0,M=A?A.toString:void 0;function T(t){if("string"==typeof t)return t;if(c(t))return function(t,i){for(var e=-1,a=null==t?0:t.length,n=Array(a);++e<a;)n[e]=i(t[e],e,t);return n}(t,T)+"";if(s(t))return M?M.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i}var L=/[\\^$.*+?()[\]{}|]/g,$=RegExp(L.source);const B="CALCITE-COMBOBOX-ITEM, CALCITE-COMBOBOX-ITEM-GROUP";function P(t){var i,e;const a=null===(i=t.parentElement)||void 0===i?void 0:i.closest(B);return[a,null===(e=null==a?void 0:a.parentElement)||void 0===e?void 0:e.closest(B)].filter((t=>t))}function j(t){var i;return(null===(i=t.ancestors)||void 0===i?void 0:i.filter((t=>"CALCITE-COMBOBOX-ITEM"===t.nodeName)))||[]}function X(t){return x(t.querySelectorAll("calcite-combobox-item")).filter((t=>t.selected)).length>0}function R(t){return document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const S=class{constructor(e){t(this,e),this.calciteLookupChange=i(this,"calciteLookupChange",7),this.calciteComboboxChange=i(this,"calciteComboboxChange",7),this.calciteComboboxFilterChange=i(this,"calciteComboboxFilterChange",7),this.calciteComboboxChipDismiss=i(this,"calciteComboboxChipDismiss",7),this.calciteComboboxOpen=i(this,"calciteComboboxOpen",7),this.calciteComboboxClose=i(this,"calciteComboboxClose",7),this.active=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multi",this.scale="m",this.value=null,this.intlRemoveTag="Remove tag",this.internalValueChangeFlag=!1,this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.textInput=null,this.mutationObserver=_("mutation",(()=>this.updateItems())),this.resizeObserver=_("resize",(()=>this.setMaxScrollerHeight())),this.guid=f(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.activeTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?m(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>null==t?void 0:t.value.toString()));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.active&&(this.active=!1,t.preventDefault());break;case"ArrowLeft":this.previousChip();break;case"ArrowRight":this.nextChip();break;case"ArrowUp":t.preventDefault(),this.active=!0,this.shiftActiveItemIndex(-1);break;case"ArrowDown":t.preventDefault(),this.active=!0,this.shiftActiveItemIndex(1);break;case" ":this.textInput.value||(t.preventDefault(),this.active=!0,this.shiftActiveItemIndex(1));break;case"Home":t.preventDefault(),this.active=!0,this.updateActiveItemIndex(0);break;case"End":t.preventDefault(),this.active=!0,this.updateActiveItemIndex(this.visibleItems.length-1);break;case"Escape":this.active=!1;break;case"Enter":this.activeItemIndex>-1?this.toggleSelection(this.visibleItems[this.activeItemIndex]):this.activeChipIndex>-1?this.removeActiveChip():this.allowCustomValues&&this.text&&this.addCustomChip(this.text,!0);break;case"Delete":case"Backspace":this.activeChipIndex>-1?this.removeActiveChip():!this.text&&this.isMulti()&&this.removeLastChip()}},this.toggleCloseEnd=()=>{this.active=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.active=!0,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteComboboxOpen.emit():this.calciteComboboxClose.emit())},this.setMaxScrollerHeight=()=>{const{active:t,listContainerEl:i}=this;if(!i||!t)return;this.reposition();const e=this.getMaxScrollerHeight();i.style.maxHeight=e>0?`${e}px`:"",this.reposition()},this.calciteChipDismissHandler=(t,i)=>{this.active=!1;const e=this.items.find((t=>t===i));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(t.detail)},this.clickHandler=t=>{t.composedPath().some((t=>"CALCITE-CHIP"===t.tagName))||(this.active=!this.active,this.setFocus())},this.setInactiveIfNotContained=t=>{const i=t.composedPath();!this.active||i.includes(this.el)||i.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.active=!1)},this.setMenuEl=t=>{this.menuEl=t},this.setListContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>"CALCITE-COMBOBOX-ITEM-GROUP"===t.tagName?e===t.label||e===t.label:e===t.textLabel||e===t.value||i===t.textLabel||i===t.value));return r((i=>{const e=((t,i)=>{const e=function(t){var i;return(t=null==(i=t)?"":T(i))&&$.test(t)?t.replace(L,"\\$&"):t}(i),a=new RegExp(e,"i");0===t.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const n=(t,i)=>{var e;if(null===(e=t)||void 0===e?void 0:e.constant)return!0;let a=!1;return l(t,(t=>{"function"!=typeof t&&(Array.isArray(t)||"object"==typeof t&&null!==t?n(t,i)&&(a=!0):i.test(t)&&(a=!0))})),a};return t.filter((t=>n(t,a)))})(this.data,i);this.getCombinedItems().forEach((i=>{const a=!t(i,e);i.hidden=a;const[n,s]=i.ancestors;(t(n,e)||t(s,e))&&(i.hidden=!1),a||i.ancestors.forEach((t=>t.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:i})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=r(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:t}=this;this.calciteComboboxChange.emit({selectedItems:t})},this.emitComboboxChange=r(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.comboboxFocusHandler=()=>{var t;null===(t=this.textInput)||void 0===t||t.focus()},this.comboboxBlurHandler=t=>{this.setInactiveIfNotContained(t)}}activeHandler(){this.disabled?this.active=!1:this.reposition()}handleDisabledChange(t){t||(this.active=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}flipPlacementsHandler(){this.setFilteredPlacements()}documentClickHandler(t){this.setInactiveIfNotContained(t)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target;this.toggleSelection(i,i.selected)}async reposition(){const{popper:t,menuEl:i}=this,e=this.getModifiers();t?await h({el:i,modifiers:e,placement:d,popper:t}):this.createPopper()}async setFocus(){var t;null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.createPopper(),v(this),D(this),this.setFilteredPlacements()}componentWillLoad(){this.updateItems()}componentDidLoad(){C(this,this.getValue())}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(),this.inputHeight=this.el.offsetHeight),E(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),this.destroyPopper(),y(this),I(this)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}textHandler(){this.updateActiveItemIndex(-1)}getModifiers(){const t={name:"flip",enabled:!0};return t.options={fallbackPlacements:this.filteredFlipPlacements||b},[t,{name:"eventListeners",enabled:this.active}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,overlayPositioning:e}=this,a=this.getModifiers();this.popper=p({el:t,modifiers:a,overlayPositioning:e,placement:d,referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}getMaxScrollerHeight(){const t=this.getCombinedItems().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,a=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(a+=i,e++)}})),a}calculateSingleItemHeight(t){let i=t.offsetHeight;return Array.from(t.querySelectorAll(B)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){t&&(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.active=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=j(t),e=function(t){return x(t.querySelectorAll("calcite-combobox-item"))}(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{X(t)||(t.selected=!1)})))}getVisibleItems(){return this.items.filter((t=>!t.hidden))}getSelectedItems(){if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!X(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),a=this.selectedItems.indexOf(i);return e>-1&&a>-1?e-a:a-e}))}getData(){return this.items.map((t=>({constant:t.constant,value:t.value,label:t.textLabel,guid:t.guid})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM")).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM-GROUP"))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("CALCITE-COMBOBOX-ITEM");e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#combobox-chip-${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const i=this.visibleItems.length;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i);const e=this.visibleItems[this.activeItemIndex],a=this.calculateSingleItemHeight(e),{offsetHeight:n,scrollTop:s}=this.listContainerEl;n+s<e.offsetTop+a?this.listContainerEl.scrollTop=e.offsetTop-n+a:e.offsetTop<s&&(this.listContainerEl.scrollTop=e.offsetTop)}updateActiveItemIndex(t){var i;this.activeItemIndex=t;let e=null;this.visibleItems.forEach(((i,a)=>{a===t?(i.active=!0,e=i.guid):i.active=!1})),this.activeDescendant=e,this.activeItemIndex>-1&&(this.activeChipIndex=-1,null===(i=this.textInput)||void 0===i||i.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:t,scale:i,selectionMode:a,intlRemoveTag:n}=this;return this.selectedItems.map(((s,o)=>{const r={chip:!0,"chip--active":t===o},c=[...[...j(s)].reverse(),s].map((t=>t.textLabel)),l="ancestors"!==a?s.textLabel:c.join(" / ");return e("calcite-chip",{class:r,dismissLabel:n,dismissible:!0,icon:s.icon,id:s.guid?`combobox-chip-${s.guid}`:null,key:s.textLabel,onCalciteChipDismiss:t=>this.calciteChipDismissHandler(t,s),scale:i,title:l,value:s.value},l)}))}renderInput(){const{guid:t,active:i,disabled:a,placeholder:n,selectionMode:s,needsIcon:o,selectedItems:r}=this,c="single"===s,l=r[0],m=!i&&c&&!!l;return e("span",{class:{"input-wrap":!0,"input-wrap--single":c}},m&&e("span",{class:{label:!0,"label--spaced":o},key:"label"},l.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`combobox-listbox-${t}`,"aria-label":k(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":m,"input--icon":c&&o},disabled:a,id:`combobox-input-${t}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:n,ref:t=>this.textInput=t,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((t=>e("li",{"aria-selected":(!!t.selected).toString(),id:t.guid?`combobox-item-${t.guid}`:null,role:"option",tabindex:"-1"},t.textLabel)))}renderPopperContainer(){const{active:t,setMenuEl:i,setListContainerEl:a}=this;return e("div",{"aria-hidden":"true",class:{"popper-container":!0,"popper-container--active":t},ref:i},e("div",{class:{"list-container":!0,[u.animation]:!0,[u.animationActive]:t},onTransitionEnd:this.transitionEnd,ref:a},e("ul",{class:{list:!0,"list--hide":!t}},e("slot",null))))}renderIconStart(){const{selectionMode:t,needsIcon:i,selectedItems:a}=this,n=a[0];return"single"===t&&i&&e("span",{class:"icon-start"},(null==n?void 0:n.icon)&&e("calcite-icon",{class:"selected-icon",icon:n.icon,scale:"s"}))}renderIconEnd(){const{active:t}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}render(){const{active:t,guid:i,label:n}=this,s="single"===this.selectionMode;return e(a,{onKeyDown:this.keydownHandler},e("div",{"aria-autocomplete":"list","aria-expanded":t.toString(),"aria-haspopup":"listbox","aria-labelledby":`combobox-label-${i}`,"aria-owns":`combobox-listbox-${i}`,class:{wrapper:!0,"wrapper--single":s||!this.selectedItems.length,"wrapper--active":t},onClick:this.clickHandler,ref:this.setReferenceEl,role:"combobox"},e("div",{class:"grid-input"},this.renderIconStart(),!s&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`combobox-input-${i}`,id:`combobox-label-${i}`},n),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`combobox-label-${i}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`combobox-listbox-${i}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderPopperContainer(),e(z,{component:this}))}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}}};S.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const F=class{constructor(e){t(this,e),this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",7),this.disabled=!1,this.selected=!1,this.active=!1,this.guid=f(),this.scale="m",this.itemClickHandler=t=>{t.preventDefault(),this.disabled||(this.selected=!this.selected)}}selectedWatchHandler(){this.calciteComboboxItemChange.emit(this.el)}connectedCallback(){this.ancestors=P(this.el),this.scale=g(this.el,"scale",this.scale),O(this)}disconnectedCallback(){H(this)}componentDidRender(){E(this)}async toggleSelected(t){this.disabled||(this.selected="boolean"==typeof t?t:!this.selected)}renderIcon(t){const{icon:i,disabled:a,selected:n}=this,s="icon--indent";return!t||i||a?e("calcite-icon",{class:{icon:!i,"icon--custom":!!i,"icon--active":i&&n,[s]:!0},icon:i||(a?"circle-disallowed":t?"dot":"check"),scale:"s"}):e("span",{class:{icon:!0,"icon--dot":!0,[s]:!0}})}renderChildren(){return w(this.el)?e("ul",{key:"default-slot-container"},e("slot",null)):null}render(){const t="single"===g(this.el,"selection-mode","multi"),i={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":t},n=R(this.el);return e(a,{"aria-hidden":"true"},e("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${n}`}},e("li",{class:i,id:this.guid,onClick:this.itemClickHandler},this.renderIcon(t),e("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};F.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';const U=class{constructor(i){t(this,i),this.guid=f(),this.scale="m"}connectedCallback(){this.ancestors=P(this.el),this.scale=g(this.el,"scale",this.scale)}render(){const{el:t,scale:i}=this,a=`label--indent-${R(t)}`;return e("ul",{"aria-labelledby":this.guid,class:{list:!0,[`scale--${i}`]:!0},role:"group"},e("li",{class:{label:!0,[a]:!0},id:this.guid,role:"presentation"},e("span",{class:"title"},this.label)),e("slot",null))}get el(){return n(this)}};U.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:0px;max-width:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-bottom-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-bottom-color:var(--calcite-ui-border-3);padding:var(--calcite-combobox-item-spacing-unit-l) 0;margin-left:var(--calcite-combobox-item-spacing-unit-s);margin-right:var(--calcite-combobox-item-spacing-unit-s)}";export{S as calcite_combobox,F as calcite_combobox_item,U as calcite_combobox_item_group}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(n.next(t))}catch(t){o(t)}}function s(t){try{c(n["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):a(t.value).then(r,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,a=e.length,o;n<a;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return t.concat(o||Array.prototype.slice.call(e))};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.439
6
- */System.register(["./p-83fb87f1.system.js","./p-b09ecd7a.system.js","./p-8e7b94ec.system.js","./p-fc425bc6.system.js","./p-5ea9e9f2.system.js","./p-005fab82.system.js","./p-8a6a57cb.system.js","./p-2e41bb15.system.js","./p-c79d21d8.system.js","./p-6ce9d000.system.js","./p-6e6caa1b.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,c,l,p,u,m,d,f,h,b,v,g,x,y,w,k,I,C,D,_,E,A,H,S,L;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g},function(t){r=t.a;s=t.S;c=t.d},function(t){l=t.i;p=t.f},function(t){u=t.f;m=t.u;d=t.c;f=t.d;h=t.p;b=t.C},function(t){v=t.g},function(t){g=t.n;x=t.d;y=t.g},function(t){w=t.c;k=t.d;I=t.g},function(t){C=t.c;D=t.a;_=t.d;E=t.H},function(t){A=t.c},function(t){H=t.u},function(t){S=t.c;L=t.d}],execute:function(){function z(t,e){var i=-1,n=t==null?0:t.length,a=Array(n);while(++i<n){a[i]=e(t[i],i,t)}return a}var P=1/0;var O=s?s.prototype:undefined,M=O?O.toString:undefined;function F(t){if(typeof t=="string"){return t}if(l(t)){return z(t,F)+""}if(r(t)){return M?M.call(t):""}var e=t+"";return e=="0"&&1/t==-P?"-0":e}function T(t){return t==null?"":F(t)}var j=/[\\^$.*+?()[\]{}|]/g,V=RegExp(j.source);function R(t){t=T(t);return t&&V.test(t)?t.replace(j,"\\$&"):t}var N=function(t,e){var i=R(e);var n=new RegExp(i,"i");if(t.length===0){console.warn("No data was passed to the filter function.\n The data argument should be an array of objects")}var a=function(t,e){var i;if((i=t)===null||i===void 0?void 0:i.constant){return true}var n=false;p(t,(function(t){if(typeof t==="function"){return}if(Array.isArray(t)||typeof t==="object"&&t!==null){if(a(t,e)){n=true}}else if(e.test(t)){n=true}}));return n};var o=t.filter((function(t){return a(t,n)}));return o};var B="CALCITE-COMBOBOX-ITEM";var X="CALCITE-COMBOBOX-ITEM-GROUP";var q="".concat(B,", ").concat(X);var Y={removeTag:"Remove tag"};function G(t){var e,i;var n=(e=t.parentElement)===null||e===void 0?void 0:e.closest(q);var a=(i=n===null||n===void 0?void 0:n.parentElement)===null||i===void 0?void 0:i.closest(q);return[n,a].filter((function(t){return t}))}function U(t){var e;return((e=t.ancestors)===null||e===void 0?void 0:e.filter((function(t){return t.nodeName==="CALCITE-COMBOBOX-ITEM"})))||[]}function W(t){return g(t.querySelectorAll("calcite-combobox-item"))}function $(t){var e=g(t.querySelectorAll("calcite-combobox-item"));return e.filter((function(t){return t.selected})).length>0}function K(t){var e=document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);return e.snapshotLength}var J="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var Q=function(t){return t.tagName===X};var Z="combobox-item-";var tt="combobox-chip-";var et="combobox-label-";var it="combobox-listbox-";var nt="combobox-input-";var at=t("calcite_combobox",function(){function t(t){var n=this;e(this,t);this.calciteLookupChange=i(this,"calciteLookupChange",7);this.calciteComboboxChange=i(this,"calciteComboboxChange",7);this.calciteComboboxFilterChange=i(this,"calciteComboboxFilterChange",7);this.calciteComboboxChipDismiss=i(this,"calciteComboboxChipDismiss",7);this.calciteComboboxOpen=i(this,"calciteComboboxOpen",7);this.calciteComboboxClose=i(this,"calciteComboboxClose",7);this.active=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.required=false;this.selectionMode="multi";this.scale="m";this.value=null;this.intlRemoveTag=Y.removeTag;this.internalValueChangeFlag=false;this.items=[];this.groupItems=[];this.selectedItems=[];this.visibleItems=[];this.activeItemIndex=-1;this.activeChipIndex=-1;this.activeDescendant="";this.text="";this.textInput=null;this.mutationObserver=A("mutation",(function(){return n.updateItems()}));this.resizeObserver=A("resize",(function(){return n.setMaxScrollerHeight()}));this.guid=v();this.inputHeight=0;this.ignoreSelectedEventsFlag=false;this.activeTransitionProp="opacity";this.setFilteredPlacements=function(){var t=n,e=t.el,i=t.flipPlacements;n.filteredFlipPlacements=i?u(i,e):null};this.getValue=function(){var t=n.selectedItems.map((function(t){return t===null||t===void 0?void 0:t.value.toString()}));return(t===null||t===void 0?void 0:t.length)?t.length>1?t:t[0]:""};this.onLabelClick=function(){n.setFocus()};this.keydownHandler=function(t){var e=t.key;switch(e){case"Tab":n.activeChipIndex=-1;n.activeItemIndex=-1;if(n.allowCustomValues&&n.text){n.addCustomChip(n.text,true);t.preventDefault()}else if(n.active){n.active=false;t.preventDefault()}break;case"ArrowLeft":n.previousChip();break;case"ArrowRight":n.nextChip();break;case"ArrowUp":t.preventDefault();n.active=true;n.shiftActiveItemIndex(-1);break;case"ArrowDown":t.preventDefault();n.active=true;n.shiftActiveItemIndex(1);break;case" ":if(!n.textInput.value){t.preventDefault();n.active=true;n.shiftActiveItemIndex(1)}break;case"Home":t.preventDefault();n.active=true;n.updateActiveItemIndex(0);break;case"End":t.preventDefault();n.active=true;n.updateActiveItemIndex(n.visibleItems.length-1);break;case"Escape":n.active=false;break;case"Enter":if(n.activeItemIndex>-1){n.toggleSelection(n.visibleItems[n.activeItemIndex])}else if(n.activeChipIndex>-1){n.removeActiveChip()}else if(n.allowCustomValues&&n.text){n.addCustomChip(n.text,true)}break;case"Delete":case"Backspace":if(n.activeChipIndex>-1){n.removeActiveChip()}else if(!n.text&&n.isMulti()){n.removeLastChip()}break}};this.toggleCloseEnd=function(){n.active=false;n.el.removeEventListener("calciteComboboxClose",n.toggleCloseEnd)};this.toggleOpenEnd=function(){n.active=true;n.el.removeEventListener("calciteComboboxOpen",n.toggleOpenEnd)};this.transitionEnd=function(t){if(t.propertyName===n.activeTransitionProp){n.active?n.calciteComboboxOpen.emit():n.calciteComboboxClose.emit()}};this.setMaxScrollerHeight=function(){var t=n,e=t.active,i=t.listContainerEl;if(!i||!e){return}n.reposition();var a=n.getMaxScrollerHeight();i.style.maxHeight=a>0?"".concat(a,"px"):"";n.reposition()};this.calciteChipDismissHandler=function(t,e){n.active=false;var i=n.items.find((function(t){return t===e}));if(i){n.toggleSelection(i,false)}n.calciteComboboxChipDismiss.emit(t.detail)};this.clickHandler=function(t){if(t.composedPath().some((function(t){return t.tagName==="CALCITE-CHIP"}))){return}n.active=!n.active;n.setFocus()};this.setInactiveIfNotContained=function(t){var e=t.composedPath();if(!n.active||e.includes(n.el)||e.includes(n.referenceEl)){return}if(n.allowCustomValues&&n.text.trim().length){n.addCustomChip(n.text)}if(n.selectionMode==="single"){if(n.textInput){n.textInput.value=""}n.text="";n.filterItems("");n.updateActiveItemIndex(-1)}n.active=false};this.setMenuEl=function(t){n.menuEl=t};this.setListContainerEl=function(t){n.resizeObserver.observe(t);n.listContainerEl=t};this.setReferenceEl=function(t){n.referenceEl=t};this.inputHandler=function(t){var e=t.target.value;n.text=e;n.filterItems(e);if(e){n.activeChipIndex=-1}};this.filterItems=function(){var t=function(t,e){return t&&e.some((function(e){var i=e.label,n=e.value;if(Q(t)){return n===t.label||n===t.label}return n===t.textLabel||n===t.value||i===t.textLabel||i===t.value}))};return c((function(e){var i=N(n.data,e);var a=n.getCombinedItems();a.forEach((function(e){var n=!t(e,i);e.hidden=n;var a=e.ancestors,o=a[0],r=a[1];if(t(o,i)||t(r,i)){e.hidden=false}if(!n){e.ancestors.forEach((function(t){return t.hidden=false}))}}));n.visibleItems=n.getVisibleItems();n.calciteComboboxFilterChange.emit({visibleItems:__spreadArray([],n.visibleItems,true),text:e})}),100)}();this.internalCalciteLookupChangeEvent=function(){n.calciteLookupChange.emit(n.selectedItems)};this.emitCalciteLookupChange=c(this.internalCalciteLookupChangeEvent,0);this.internalComboboxChangeEvent=function(){var t=n.selectedItems;n.calciteComboboxChange.emit({selectedItems:t})};this.emitComboboxChange=c(this.internalComboboxChangeEvent,0);this.updateItems=function(){n.items=n.getItems();n.groupItems=n.getGroupItems();n.data=n.getData();n.selectedItems=n.getSelectedItems();n.visibleItems=n.getVisibleItems();n.needsIcon=n.getNeedsIcon();if(!n.allowCustomValues){n.setMaxScrollerHeight()}};this.comboboxFocusHandler=function(){var t;(t=n.textInput)===null||t===void 0?void 0:t.focus()};this.comboboxBlurHandler=function(t){n.setInactiveIfNotContained(t)}}t.prototype.activeHandler=function(){if(this.disabled){this.active=false;return}this.reposition()};t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};t.prototype.valueHandler=function(t){if(!this.internalValueChangeFlag){var e=this.getItems();if(Array.isArray(t)){e.forEach((function(e){return e.selected=t.includes(e.value)}))}else if(t){e.forEach((function(e){return e.selected=t===e.value}))}else{e.forEach((function(t){return t.selected=false}))}this.updateItems()}};t.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};t.prototype.documentClickHandler=function(t){this.setInactiveIfNotContained(t)};t.prototype.calciteComboboxItemChangeHandler=function(t){if(this.ignoreSelectedEventsFlag){return}var e=t.target;this.toggleSelection(e,e.selected)};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,n,a;return __generator(this,(function(o){switch(o.label){case 0:t=this,e=t.popper,i=t.menuEl;n=this.getModifiers();if(!e)return[3,2];return[4,m({el:i,modifiers:n,placement:f,popper:e})];case 1:a=o.sent();return[3,3];case 2:a=this.createPopper();o.label=3;case 3:a;return[2]}}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.textInput)===null||t===void 0?void 0:t.focus();this.activeChipIndex=-1;this.activeItemIndex=-1;return[2]}))}))};t.prototype.connectedCallback=function(){var t;this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.createPopper();w(this);C(this);this.setFilteredPlacements()};t.prototype.componentWillLoad=function(){this.updateItems()};t.prototype.componentDidLoad=function(){D(this,this.getValue())};t.prototype.componentDidRender=function(){if(this.el.offsetHeight!==this.inputHeight){this.reposition();this.inputHeight=this.el.offsetHeight}H(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.destroyPopper();k(this);_(this)};t.prototype.selectedItemsHandler=function(){this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false};t.prototype.textHandler=function(){this.updateActiveItemIndex(-1)};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:this.filteredFlipPlacements||h};var e={name:"eventListeners",enabled:this.active};return[t,e]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,i=t.referenceEl,n=t.overlayPositioning;var a=this.getModifiers();this.popper=d({el:e,modifiers:a,overlayPositioning:n,placement:f,referenceEl:i})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.getMaxScrollerHeight=function(){var t=this;var e=this.getCombinedItems().filter((function(t){return!t.hidden}));var i=this.maxItems;var n=0;var a=0;if(e.length>i){e.forEach((function(e){if(n<i&&i>0){var o=t.calculateSingleItemHeight(e);if(o>0){a+=o;n++}}}))}return a};t.prototype.calculateSingleItemHeight=function(t){var e=t.offsetHeight;var i=Array.from(t.querySelectorAll(q));i.map((function(t){return t===null||t===void 0?void 0:t.offsetHeight})).forEach((function(t){e-=t}));return e};t.prototype.getCombinedItems=function(){return __spreadArray(__spreadArray([],this.groupItems,true),this.items,true)};t.prototype.toggleSelection=function(t,e){if(e===void 0){e=!t.selected}if(!t){return}if(this.isMulti()){t.selected=e;this.updateAncestors(t);this.selectedItems=this.getSelectedItems();this.emitCalciteLookupChange();this.emitComboboxChange();this.resetText();this.filterItems("")}else{this.ignoreSelectedEventsFlag=true;this.items.forEach((function(i){return i.selected=i===t?e:false}));this.ignoreSelectedEventsFlag=false;this.selectedItems=this.getSelectedItems();this.emitComboboxChange();if(this.textInput){this.textInput.value=t.textLabel}this.active=false;this.updateActiveItemIndex(-1);this.resetText();this.filterItems("")}};t.prototype.updateAncestors=function(t){if(this.selectionMode!=="ancestors"){return}var e=U(t);var i=W(t);if(t.selected){e.forEach((function(t){t.selected=true}))}else{i.forEach((function(t){return t.selected=false}));__spreadArray([],e,true).forEach((function(t){if(!$(t)){t.selected=false}}))}};t.prototype.getVisibleItems=function(){return this.items.filter((function(t){return!t.hidden}))};t.prototype.getSelectedItems=function(){var t=this;if(!this.isMulti()){var e=this.items.find((function(t){var e=t.selected;return e}));return e?[e]:[]}return this.items.filter((function(e){return e.selected&&(t.selectionMode!=="ancestors"||!$(e))})).sort((function(e,i){var n=t.selectedItems.indexOf(e);var a=t.selectedItems.indexOf(i);if(n>-1&&a>-1){return n-a}return a-n}))};t.prototype.getData=function(){return this.items.map((function(t){return{constant:t.constant,value:t.value,label:t.textLabel,guid:t.guid}}))};t.prototype.getNeedsIcon=function(){return this.selectionMode==="single"&&this.items.some((function(t){return t.icon}))};t.prototype.resetText=function(){if(this.textInput){this.textInput.value=""}this.text=""};t.prototype.getItems=function(){var t=Array.from(this.el.querySelectorAll(B));return t.filter((function(t){return!t.disabled}))};t.prototype.getGroupItems=function(){return Array.from(this.el.querySelectorAll(X))};t.prototype.addCustomChip=function(t,e){var i=this.items.find((function(e){return e.textLabel===t}));if(i){this.toggleSelection(i,true)}else{if(!this.isMulti()){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false)}var n=document.createElement(B);n.value=t;n.textLabel=t;n.selected=true;this.el.appendChild(n);this.resetText();if(e){this.setFocus()}this.updateItems();this.filterItems("");this.emitCalciteLookupChange();this.emitComboboxChange()}};t.prototype.removeActiveChip=function(){this.toggleSelection(this.selectedItems[this.activeChipIndex],false);this.setFocus()};t.prototype.removeLastChip=function(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false);this.setFocus()};t.prototype.previousChip=function(){if(this.text){return}var t=this.selectedItems.length-1;var e=this.activeChipIndex;this.activeChipIndex=e===-1?t:Math.max(e-1,0);this.updateActiveItemIndex(-1);this.focusChip()};t.prototype.nextChip=function(){if(this.text||this.activeChipIndex===-1){return}var t=this.selectedItems.length-1;var e=this.activeChipIndex+1;if(e>t){this.activeChipIndex=-1;this.setFocus()}else{this.activeChipIndex=e;this.focusChip()}this.updateActiveItemIndex(-1)};t.prototype.focusChip=function(){var t;var e=(t=this.selectedItems[this.activeChipIndex])===null||t===void 0?void 0:t.guid;var i=e?this.referenceEl.querySelector("#".concat(tt).concat(e)):null;i===null||i===void 0?void 0:i.setFocus()};t.prototype.shiftActiveItemIndex=function(t){var e=this.visibleItems.length;var i=(this.activeItemIndex+e+t)%e;this.updateActiveItemIndex(i);var n=this.visibleItems[this.activeItemIndex];var a=this.calculateSingleItemHeight(n);var o=this.listContainerEl,r=o.offsetHeight,s=o.scrollTop;if(r+s<n.offsetTop+a){this.listContainerEl.scrollTop=n.offsetTop-r+a}else if(n.offsetTop<s){this.listContainerEl.scrollTop=n.offsetTop}};t.prototype.updateActiveItemIndex=function(t){var e;this.activeItemIndex=t;var i=null;this.visibleItems.forEach((function(e,n){if(n===t){e.active=true;i=e.guid}else{e.active=false}}));this.activeDescendant=i;if(this.activeItemIndex>-1){this.activeChipIndex=-1;(e=this.textInput)===null||e===void 0?void 0:e.focus()}};t.prototype.isMulti=function(){return this.selectionMode!=="single"};t.prototype.renderChips=function(){var t=this;var e=this,i=e.activeChipIndex,a=e.scale,o=e.selectionMode,r=e.intlRemoveTag;return this.selectedItems.map((function(e,s){var c={chip:true,"chip--active":i===s};var l=__spreadArray([],U(e),true).reverse();var p=__spreadArray(__spreadArray([],l,true),[e],false).map((function(t){return t.textLabel}));var u=o!=="ancestors"?e.textLabel:p.join(" / ");return n("calcite-chip",{class:c,dismissLabel:r,dismissible:true,icon:e.icon,id:e.guid?"".concat(tt).concat(e.guid):null,key:e.textLabel,onCalciteChipDismiss:function(i){return t.calciteChipDismissHandler(i,e)},scale:a,title:u,value:e.value},u)}))};t.prototype.renderInput=function(){var t=this;var e=this,i=e.guid,a=e.active,o=e.disabled,r=e.placeholder,s=e.selectionMode,c=e.needsIcon,l=e.selectedItems;var p=s==="single";var u=l[0];var m=!a&&p&&!!u;return n("span",{class:{"input-wrap":true,"input-wrap--single":p}},m&&n("span",{class:{label:true,"label--spaced":c},key:"label"},u.textLabel),n("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":"".concat(it).concat(i),"aria-label":I(this),class:{input:true,"input--single":true,"input--transparent":this.activeChipIndex>-1,"input--hidden":m,"input--icon":p&&c},disabled:o,id:"".concat(nt).concat(i),key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:r,ref:function(e){return t.textInput=e},type:"text"}))};t.prototype.renderListBoxOptions=function(){return this.visibleItems.map((function(t){return n("li",{"aria-selected":(!!t.selected).toString(),id:t.guid?"".concat(Z).concat(t.guid):null,role:"option",tabindex:"-1"},t.textLabel)}))};t.prototype.renderPopperContainer=function(){var t;var e=this,i=e.active,a=e.setMenuEl,o=e.setListContainerEl;var r=(t={"list-container":true},t[b.animation]=true,t[b.animationActive]=i,t);return n("div",{"aria-hidden":"true",class:{"popper-container":true,"popper-container--active":i},ref:a},n("div",{class:r,onTransitionEnd:this.transitionEnd,ref:o},n("ul",{class:{list:true,"list--hide":!i}},n("slot",null))))};t.prototype.renderIconStart=function(){var t=this,e=t.selectionMode,i=t.needsIcon,a=t.selectedItems;var o=a[0];return e==="single"&&i&&n("span",{class:"icon-start"},(o===null||o===void 0?void 0:o.icon)&&n("calcite-icon",{class:"selected-icon",icon:o.icon,scale:"s"}))};t.prototype.renderIconEnd=function(){var t=this.active;return n("span",{class:"icon-end"},n("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))};t.prototype.render=function(){var t=this,e=t.active,i=t.guid,o=t.label;var r=this.selectionMode==="single";return n(a,{onKeyDown:this.keydownHandler},n("div",{"aria-autocomplete":"list","aria-expanded":e.toString(),"aria-haspopup":"listbox","aria-labelledby":"".concat(et).concat(i),"aria-owns":"".concat(it).concat(i),class:{wrapper:true,"wrapper--single":r||!this.selectedItems.length,"wrapper--active":e},onClick:this.clickHandler,ref:this.setReferenceEl,role:"combobox"},n("div",{class:"grid-input"},this.renderIconStart(),!r&&this.renderChips(),n("label",{class:"screen-readers-only",htmlFor:"".concat(nt).concat(i),id:"".concat(et).concat(i)},o),this.renderInput()),this.renderIconEnd()),n("ul",{"aria-labelledby":"".concat(et).concat(i),"aria-multiselectable":"true",class:"screen-readers-only",id:"".concat(it).concat(i),role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderPopperContainer(),n(E,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}},enumerable:false,configurable:true});return t}());at.style=J;var ot={icon:"icon",iconActive:"icon--active",custom:"icon--custom",dot:"icon--dot",single:"label--single",label:"label",active:"label--active",selected:"label--selected",title:"title",textContainer:"text-container"};var rt='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';var st=t("calcite_combobox_item",function(){function t(t){var n=this;e(this,t);this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",7);this.disabled=false;this.selected=false;this.active=false;this.guid=v();this.scale="m";this.itemClickHandler=function(t){t.preventDefault();if(n.disabled){return}n.selected=!n.selected}}t.prototype.selectedWatchHandler=function(){this.calciteComboboxItemChange.emit(this.el)};t.prototype.connectedCallback=function(){this.ancestors=G(this.el);this.scale=x(this.el,"scale",this.scale);S(this)};t.prototype.disconnectedCallback=function(){L(this)};t.prototype.componentDidRender=function(){H(this)};t.prototype.toggleSelected=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.disabled){return[2]}this.selected=typeof t==="boolean"?t:!this.selected;return[2]}))}))};t.prototype.renderIcon=function(t){var e,i;var a=this,o=a.icon,r=a.disabled,s=a.selected;var c="".concat(ot.icon,"--indent");var l=t?"dot":"check";var p=r?"circle-disallowed":l;var u=t&&!o&&!r;return u?n("span",{class:(e={},e[ot.icon]=true,e[ot.dot]=true,e[c]=true,e)}):n("calcite-icon",{class:(i={},i[ot.icon]=!o,i[ot.custom]=!!o,i[ot.iconActive]=o&&s,i[c]=true,i),icon:o||p,scale:"s"})};t.prototype.renderChildren=function(){if(y(this.el)){return n("ul",{key:"default-slot-container"},n("slot",null))}return null};t.prototype.render=function(){var t;var e=x(this.el,"selection-mode","multi")==="single";var i=(t={},t[ot.label]=true,t[ot.selected]=this.selected,t[ot.active]=this.active,t[ot.single]=e,t);var o=K(this.el);return n(a,{"aria-hidden":"true"},n("div",{class:"container scale--".concat(this.scale),style:{"--calcite-combobox-item-spacing-indent-multiplier":"".concat(o)}},n("li",{class:i,id:this.guid,onClick:this.itemClickHandler},this.renderIcon(e),n("span",{class:ot.title},this.textLabel)),this.renderChildren()))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["selectedWatchHandler"]}},enumerable:false,configurable:true});return t}());st.style=rt;var ct={list:"list",label:"label",title:"title"};var lt="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:0px;max-width:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-bottom-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-bottom-color:var(--calcite-ui-border-3);padding:var(--calcite-combobox-item-spacing-unit-l) 0;margin-left:var(--calcite-combobox-item-spacing-unit-s);margin-right:var(--calcite-combobox-item-spacing-unit-s)}";var pt=t("calcite_combobox_item_group",function(){function t(t){e(this,t);this.guid=v();this.scale="m"}t.prototype.connectedCallback=function(){this.ancestors=G(this.el);this.scale=x(this.el,"scale",this.scale)};t.prototype.render=function(){var t,e;var i=this,a=i.el,o=i.scale;var r="".concat(ct.label,"--indent-").concat(K(a));return n("ul",{"aria-labelledby":this.guid,class:(t={},t[ct.list]=true,t["scale--".concat(o)]=true,t),role:"group"},n("li",{class:(e={},e[ct.label]=true,e[r]=true,e),id:this.guid,role:"presentation"},n("span",{class:ct.title},this.label)),n("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());pt.style=lt}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- System.register(["./p-837ae3be.system.js"],(function(r){"use strict";var t,n;return{setters:[function(r){t=r.a;n=r.b}],execute:function(){r({d:a,g:f,l:c});var e=r("a",["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]);function u(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function a(r,n){return t(r,(function(r){if(r){var t=i(n);var e=f(n);var u=o(n);var a=r.split("");var c=a.lastIndexOf(e);var s=a.map((function(r,n){if(r===t||r===e&&n!==c){return""}return r})).reduce((function(r,t){return r+t})).replace(e,".").replace(u,"-");return isNaN(Number(s))?r:s}return r}))}function i(r){var t=u(r);var n=t.formatToParts(1234567.8);var e=n.find((function(r){return r.type==="group"})).value;return e.trim().length===0?" ":e}function f(r){var t=u(r);var n=t.formatToParts(1234567.8);var e=n.find((function(r){return r.type==="decimal"})).value;return e.trim().length===0?" ":e}function o(r){var t=u(r);var n=t.formatToParts(-1234567.8);var e=n.find((function(r){return r.type==="minusSign"})).value;return e.trim().length===0?"-":e}function c(r,e,a){if(a===void 0){a=false}return t(r,(function(r){if(r){var t=Number(n(r));if(!isNaN(t)){var o=u(e);var c=o.formatToParts(t);var s=c.map((function(r){var t=r.type,n=r.value;switch(t){case"group":return a?i(e):"";case"decimal":return f(e);default:return n}})).reduce((function(r,t){return r+t}));return s}return r}}))}}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.439
5
- */
6
- import{a as sanitizeExponentialNumberString,b as sanitizeDecimalString}from"./number-d6ef289a.js";var locales=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];function createLocaleNumberFormatter(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function delocalizeNumberString(r,e){return sanitizeExponentialNumberString(r,(function(r){if(r){var t=getGroupSeparator(e);var a=getDecimalSeparator(e);var n=getMinusSign(e);var i=r.split("");var u=i.lastIndexOf(a);var o=i.map((function(r,e){if(r===t||r===a&&e!==u){return""}return r})).reduce((function(r,e){return r+e})).replace(a,".").replace(n,"-");return isNaN(Number(o))?r:o}return r}))}function getGroupSeparator(r){var e=createLocaleNumberFormatter(r);var t=e.formatToParts(1234567.8);var a=t.find((function(r){return r.type==="group"})).value;return a.trim().length===0?" ":a}function getDecimalSeparator(r){var e=createLocaleNumberFormatter(r);var t=e.formatToParts(1234567.8);var a=t.find((function(r){return r.type==="decimal"})).value;return a.trim().length===0?" ":a}function getMinusSign(r){var e=createLocaleNumberFormatter(r);var t=e.formatToParts(-1234567.8);var a=t.find((function(r){return r.type==="minusSign"})).value;return a.trim().length===0?"-":a}function localizeNumberString(r,e,t){if(t===void 0){t=false}return sanitizeExponentialNumberString(r,(function(r){if(r){var a=Number(sanitizeDecimalString(r));if(!isNaN(a)){var n=createLocaleNumberFormatter(e);var i=n.formatToParts(a);var u=i.map((function(r){var a=r.type,n=r.value;switch(a){case"group":return t?getGroupSeparator(e):"";case"decimal":return getDecimalSeparator(e);default:return n}})).reduce((function(r,e){return r+e}));return u}return r}}))}export{locales as a,delocalizeNumberString as d,getDecimalSeparator as g,localizeNumberString as l};