@esri/calcite-components 1.0.0-next.534 → 1.0.0-next.537

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 (852) 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-12be0e58.js → p-01917386.js} +2 -2
  5. package/dist/calcite/{p-3a60a21e.js → p-047da1cd.js} +1 -1
  6. package/dist/calcite/{p-de927315.system.js → p-04806a73.system.js} +1 -1
  7. package/dist/calcite/{p-55eee874.system.js → p-0483b497.system.js} +2 -2
  8. package/dist/calcite/{p-236ea9dc.entry.js → p-054da013.entry.js} +2 -2
  9. package/dist/calcite/{p-49037291.system.js → p-05defd0d.system.js} +1 -1
  10. package/dist/calcite/{p-b3835d89.js → p-07a72d43.js} +2 -2
  11. package/dist/calcite/{p-599463c6.system.entry.js → p-081df353.system.entry.js} +3 -3
  12. package/dist/calcite/{p-19562b18.system.entry.js → p-0937d2f9.system.entry.js} +2 -2
  13. package/dist/calcite/{p-bc23922b.system.entry.js → p-0c65ac8e.system.entry.js} +2 -2
  14. package/dist/calcite/{p-15a1d9f8.system.js → p-0d46bd5a.system.js} +1 -1
  15. package/dist/calcite/{p-3f398dc3.entry.js → p-0e7f5b29.entry.js} +2 -2
  16. package/dist/calcite/{p-8a88f9df.system.entry.js → p-0ed4bf6d.system.entry.js} +2 -2
  17. package/dist/calcite/{p-e7d13d03.system.entry.js → p-16eb1e36.system.entry.js} +2 -2
  18. package/dist/calcite/{p-2adfd370.entry.js → p-1c9bbd2d.entry.js} +2 -2
  19. package/dist/calcite/{p-7b16ead0.system.entry.js → p-1e2c9e76.system.entry.js} +2 -2
  20. package/dist/calcite/{p-70568369.system.entry.js → p-1e2d1e0b.system.entry.js} +2 -2
  21. package/dist/calcite/{p-48cf8ae4.js → p-1ee00fed.js} +1 -1
  22. package/dist/calcite/{p-06439588.system.entry.js → p-1feed6cb.system.entry.js} +2 -2
  23. package/dist/calcite/{p-183375b2.entry.js → p-1fff4406.entry.js} +2 -2
  24. package/dist/calcite/p-20cd9732.entry.js +6 -0
  25. package/dist/calcite/{p-7f336a87.entry.js → p-210dedd3.entry.js} +2 -2
  26. package/dist/calcite/{p-0cec909c.system.js → p-215b08e3.system.js} +1 -1
  27. package/dist/calcite/{p-d4039bdf.js → p-22174ee5.js} +1 -1
  28. package/dist/calcite/{p-bdb57922.system.entry.js → p-2350a691.system.entry.js} +2 -2
  29. package/dist/calcite/{p-6a70ae62.system.entry.js → p-2659c548.system.entry.js} +2 -2
  30. package/dist/calcite/{p-0e1f0b96.js → p-2726093e.js} +2 -2
  31. package/dist/calcite/{p-b07a1d72.js → p-2846710d.js} +2 -2
  32. package/dist/calcite/{p-9d03cfb4.js → p-2d1fc375.js} +1 -1
  33. package/dist/calcite/p-2d2a202b.entry.js +6 -0
  34. package/dist/calcite/{p-513d3dfc.entry.js → p-2d2adcff.entry.js} +2 -2
  35. package/dist/calcite/{p-94c26913.system.entry.js → p-2f987172.system.entry.js} +2 -2
  36. package/dist/calcite/{p-cd8a8a53.entry.js → p-2face440.entry.js} +2 -2
  37. package/dist/calcite/{p-5486aac7.entry.js → p-3369972e.entry.js} +2 -2
  38. package/dist/calcite/{p-fd0d8ebd.entry.js → p-3421389e.entry.js} +2 -2
  39. package/dist/calcite/{p-f0538036.entry.js → p-342ce19e.entry.js} +2 -2
  40. package/dist/calcite/{p-a8a240eb.system.js → p-35064f25.system.js} +2 -2
  41. package/dist/calcite/{p-d7a5404d.js → p-3566f340.js} +1 -1
  42. package/dist/calcite/{p-612a407b.system.entry.js → p-37b2e826.system.entry.js} +2 -2
  43. package/dist/calcite/{p-69a78a11.system.js → p-37c55758.system.js} +1 -1
  44. package/dist/calcite/{p-44c77ad8.entry.js → p-38b839e4.entry.js} +2 -2
  45. package/dist/calcite/{p-b64bbb7d.js → p-3dd8279e.js} +1 -1
  46. package/dist/calcite/{p-cb2c02e9.entry.js → p-3ea7c913.entry.js} +2 -2
  47. package/dist/calcite/{p-3601b77d.system.entry.js → p-427b5c41.system.entry.js} +2 -2
  48. package/dist/calcite/p-431c5948.entry.js +6 -0
  49. package/dist/calcite/{p-78073d58.js → p-44211283.js} +2 -2
  50. package/dist/calcite/{p-2faec747.system.entry.js → p-45da4dc2.system.entry.js} +2 -2
  51. package/dist/calcite/{p-0744fc42.entry.js → p-46d6dbec.entry.js} +2 -2
  52. package/dist/calcite/{p-c3f54ff3.system.entry.js → p-4b016825.system.entry.js} +2 -2
  53. package/dist/calcite/{p-d48ecce3.entry.js → p-4b56127b.entry.js} +2 -2
  54. package/dist/calcite/p-4bb88493.system.js +6 -0
  55. package/dist/calcite/{p-65cc47b2.entry.js → p-4bcb092f.entry.js} +2 -2
  56. package/dist/calcite/{p-cca66e2d.system.entry.js → p-4cc9a7f4.system.entry.js} +3 -3
  57. package/dist/calcite/{p-adb71b18.system.js → p-4d8699fe.system.js} +1 -1
  58. package/dist/calcite/p-4fa4f6cf.entry.js +6 -0
  59. package/dist/calcite/{p-fb223e2c.entry.js → p-4ffa059f.entry.js} +2 -2
  60. package/dist/calcite/{p-035be0d7.js → p-513bc087.js} +1 -1
  61. package/dist/calcite/{p-1ec9b3bd.system.js → p-520deda4.system.js} +1 -1
  62. package/dist/calcite/{p-30e698e6.system.entry.js → p-5446c776.system.entry.js} +2 -2
  63. package/dist/calcite/{p-e4750da1.entry.js → p-59d235f3.entry.js} +2 -2
  64. package/dist/calcite/{p-816708b1.system.js → p-59e59861.system.js} +1 -1
  65. package/dist/calcite/{p-dbae13ed.system.entry.js → p-5a487e94.system.entry.js} +2 -2
  66. package/dist/calcite/{p-44786f8b.entry.js → p-5b254bd8.entry.js} +2 -2
  67. package/dist/calcite/{p-1b2bdabb.system.entry.js → p-5d539dfb.system.entry.js} +2 -2
  68. package/dist/calcite/p-5e558461.system.entry.js +6 -0
  69. package/dist/calcite/{p-9f6c24b0.system.js → p-5fddc9b4.system.js} +1 -1
  70. package/dist/calcite/{p-6d9ec264.js → p-6788f847.js} +2 -2
  71. package/dist/calcite/{p-b4c57035.js → p-6869380f.js} +1 -1
  72. package/dist/calcite/{p-e55f8ed9.entry.js → p-68e90134.entry.js} +2 -2
  73. package/dist/calcite/{p-27623a5d.entry.js → p-6aa753b4.entry.js} +2 -2
  74. package/dist/calcite/{p-0285e436.system.js → p-6eef9065.system.js} +2 -2
  75. package/dist/calcite/p-70258b19.entry.js +6 -0
  76. package/dist/calcite/{p-043e4e1e.js → p-72604191.js} +1 -1
  77. package/dist/calcite/{p-e03b1783.js → p-74899b58.js} +1 -1
  78. package/dist/calcite/{p-9647343a.entry.js → p-765eeae2.entry.js} +2 -2
  79. package/dist/calcite/{p-fa4668ed.system.entry.js → p-78194ef8.system.entry.js} +2 -2
  80. package/dist/calcite/{p-9ccd7bcc.system.entry.js → p-78484aa0.system.entry.js} +2 -2
  81. package/dist/calcite/{p-f9fc4d0a.system.entry.js → p-78a215ed.system.entry.js} +2 -2
  82. package/dist/calcite/p-7a6cc4b9.system.entry.js +6 -0
  83. package/dist/calcite/{p-a6e44292.system.entry.js → p-7dd1be33.system.entry.js} +2 -2
  84. package/dist/calcite/{p-be0879f7.system.entry.js → p-804111f9.system.entry.js} +2 -2
  85. package/dist/calcite/{p-f1a4959e.entry.js → p-82cbb86f.entry.js} +2 -2
  86. package/dist/calcite/p-887fea46.js +6 -0
  87. package/dist/calcite/{p-0b57cd4c.js → p-8d20e6a3.js} +1 -1
  88. package/dist/calcite/{p-2a84c48d.system.entry.js → p-8f5bebf3.system.entry.js} +2 -2
  89. package/dist/calcite/{p-664c329e.entry.js → p-94355dd0.entry.js} +2 -2
  90. package/dist/calcite/{p-b59b4dda.system.entry.js → p-94a30b7f.system.entry.js} +2 -2
  91. package/dist/calcite/{p-c2575250.system.entry.js → p-94c5791b.system.entry.js} +2 -2
  92. package/dist/calcite/p-955c94fc.js +6 -0
  93. package/dist/calcite/{p-8a9f7cba.entry.js → p-962bf0be.entry.js} +2 -2
  94. package/dist/calcite/{p-13540fc5.system.entry.js → p-9d547ae3.system.entry.js} +2 -2
  95. package/dist/calcite/{p-fa7e944d.js → p-9f56fa3e.js} +2 -2
  96. package/dist/calcite/p-a1c2076a.entry.js +6 -0
  97. package/dist/calcite/{p-673f02ab.entry.js → p-a2899463.entry.js} +2 -2
  98. package/dist/calcite/{p-2073de96.system.entry.js → p-a2e9dbe0.system.entry.js} +2 -2
  99. package/dist/calcite/p-a3a52a9b.entry.js +6 -0
  100. package/dist/calcite/{p-946fed8a.entry.js → p-a5da05a1.entry.js} +2 -2
  101. package/dist/calcite/{p-55ee66e1.system.entry.js → p-a5fd7f38.system.entry.js} +2 -2
  102. package/dist/calcite/{p-f2d23802.system.entry.js → p-a744880e.system.entry.js} +2 -2
  103. package/dist/calcite/{p-c113716d.system.entry.js → p-a7c0fee1.system.entry.js} +2 -2
  104. package/dist/calcite/{p-d156f8e3.system.entry.js → p-a95b68c6.system.entry.js} +2 -2
  105. package/dist/calcite/{p-967a2bb9.system.js → p-aa0222ad.system.js} +2 -2
  106. package/dist/calcite/{p-b3405e14.system.js → p-aa154046.system.js} +2 -2
  107. package/dist/calcite/{p-7f5ba809.entry.js → p-ac38d5a0.entry.js} +2 -2
  108. package/dist/calcite/{p-062ddb13.system.entry.js → p-ac405b60.system.entry.js} +2 -2
  109. package/dist/calcite/{p-e0ec7104.system.entry.js → p-ac583c7b.system.entry.js} +2 -2
  110. package/dist/calcite/{p-db9d4c12.entry.js → p-ae5778a6.entry.js} +2 -2
  111. package/dist/calcite/{p-86ad57ef.system.entry.js → p-af5777e7.system.entry.js} +3 -3
  112. package/dist/calcite/{p-5bcda040.system.js → p-b3114386.system.js} +2 -2
  113. package/dist/calcite/{p-31e6fb55.entry.js → p-b47887e6.entry.js} +2 -2
  114. package/dist/calcite/{p-15f3fb33.entry.js → p-b4b6336e.entry.js} +2 -2
  115. package/dist/calcite/{p-48618a2a.entry.js → p-b54d7c67.entry.js} +2 -2
  116. package/dist/calcite/{p-87ef4c34.system.entry.js → p-b5842c0a.system.entry.js} +2 -2
  117. package/dist/calcite/{p-65b529f6.system.entry.js → p-b607d19b.system.entry.js} +2 -2
  118. package/dist/calcite/{p-8d6a9bb5.entry.js → p-b794623c.entry.js} +2 -2
  119. package/dist/calcite/{p-00348e13.system.entry.js → p-b956f32d.system.entry.js} +2 -2
  120. package/dist/calcite/{p-6e960d82.js → p-bb6f1c19.js} +1 -1
  121. package/dist/calcite/{p-f6255988.system.js → p-bdf7807c.system.js} +1 -1
  122. package/dist/calcite/{p-a608a328.entry.js → p-bf7c47b7.entry.js} +2 -2
  123. package/dist/calcite/{p-364affb4.system.js → p-c18eca9e.system.js} +1 -1
  124. package/dist/calcite/{p-e95d44a4.system.entry.js → p-c197a55b.system.entry.js} +3 -3
  125. package/dist/calcite/{p-15895c9a.entry.js → p-c1fcdfde.entry.js} +2 -2
  126. package/dist/calcite/{p-e4049d86.entry.js → p-c38b3af5.entry.js} +2 -2
  127. package/dist/calcite/{p-d2fbf43f.system.entry.js → p-c7700bed.system.entry.js} +2 -2
  128. package/dist/calcite/{p-b71a42fb.system.entry.js → p-c9186554.system.entry.js} +2 -2
  129. package/dist/calcite/p-c9b37d24.system.entry.js +6 -0
  130. package/dist/calcite/{p-64c91c88.js → p-cc83a257.js} +1 -1
  131. package/dist/calcite/{p-12e4352f.system.entry.js → p-cd22f80c.system.entry.js} +2 -2
  132. package/dist/calcite/{p-db15f317.system.js → p-cfb95ab5.system.js} +2 -2
  133. package/dist/calcite/{p-c542dd2f.entry.js → p-cff51bf6.entry.js} +2 -2
  134. package/dist/calcite/{p-68e8bd6e.system.entry.js → p-d20be5e8.system.entry.js} +2 -2
  135. package/dist/calcite/p-d414666a.system.js +6 -0
  136. package/dist/calcite/{p-1a34b972.entry.js → p-d46fcb31.entry.js} +2 -2
  137. package/dist/calcite/{p-87c43944.system.entry.js → p-d47cfe0a.system.entry.js} +2 -2
  138. package/dist/calcite/{p-fa8c9a56.system.entry.js → p-d52bd52c.system.entry.js} +2 -2
  139. package/dist/calcite/{p-206c22da.system.entry.js → p-d79d54b8.system.entry.js} +2 -2
  140. package/dist/calcite/{p-d0e03057.system.entry.js → p-dc241f69.system.entry.js} +2 -2
  141. package/dist/calcite/{p-d9434d0e.system.js → p-ded54da8.system.js} +2 -2
  142. package/dist/calcite/{p-49e52e83.system.js → p-dee8fd7b.system.js} +1 -1
  143. package/dist/calcite/{p-93937b4e.entry.js → p-e171b5a8.entry.js} +2 -2
  144. package/dist/calcite/{p-42686e82.entry.js → p-e28e4af1.entry.js} +2 -2
  145. package/dist/calcite/{p-da65e09b.entry.js → p-e4d788c2.entry.js} +2 -2
  146. package/dist/calcite/{p-0bc8e37c.js → p-e4f1a3d8.js} +2 -2
  147. package/dist/calcite/{p-126ee6ff.system.js → p-e52a2d69.system.js} +2 -2
  148. package/dist/calcite/{p-1b6a2a1c.js → p-e73c366f.js} +2 -2
  149. package/dist/calcite/p-e8560bb8.system.entry.js +6 -0
  150. package/dist/calcite/p-e8f0c174.entry.js +6 -0
  151. package/dist/calcite/{p-3d7dc1a3.entry.js → p-e9a267f5.entry.js} +2 -2
  152. package/dist/calcite/{p-03fdccaf.entry.js → p-eb5c9898.entry.js} +2 -2
  153. package/dist/calcite/{p-88c6eb82.entry.js → p-ebb68ae1.entry.js} +2 -2
  154. package/dist/calcite/{p-679e254f.system.js → p-ec13fafb.system.js} +1 -1
  155. package/dist/calcite/{p-cb544c5b.system.entry.js → p-ec181f88.system.entry.js} +2 -2
  156. package/dist/calcite/{p-163d02c1.entry.js → p-ecea1ea0.entry.js} +2 -2
  157. package/dist/calcite/{p-995389e2.system.entry.js → p-ed1bf069.system.entry.js} +2 -2
  158. package/dist/calcite/{p-b15bf677.entry.js → p-edc43173.entry.js} +2 -2
  159. package/dist/calcite/p-ee0b931b.entry.js +6 -0
  160. package/dist/calcite/{p-4394113c.system.entry.js → p-ee219f51.system.entry.js} +2 -2
  161. package/dist/calcite/{p-86ccf996.entry.js → p-f096bb5a.entry.js} +2 -2
  162. package/dist/calcite/{p-64a1cae4.entry.js → p-f3e3ae1f.entry.js} +2 -2
  163. package/dist/calcite/{p-7d263b93.entry.js → p-f6f5828f.entry.js} +2 -2
  164. package/dist/calcite/{p-61f79204.system.entry.js → p-f70f1517.system.entry.js} +3 -3
  165. package/dist/calcite/{p-5248e642.system.js → p-f7a964bd.system.js} +1 -1
  166. package/dist/calcite/p-f93f1368.system.entry.js +6 -0
  167. package/dist/calcite/{p-85e3c86d.system.entry.js → p-fb19f226.system.entry.js} +2 -2
  168. package/dist/calcite/{p-6ad76500.entry.js → p-fb927c96.entry.js} +2 -2
  169. package/dist/calcite/{p-260a1582.system.js → p-fe31f697.system.js} +2 -2
  170. package/dist/cjs/{ExpandToggle-83c17e6a.js → ExpandToggle-adef5f41.js} +5 -5
  171. package/dist/cjs/{Heading-a6a61e28.js → Heading-43afcad7.js} +2 -2
  172. package/dist/cjs/{array-0a3b0d0f.js → array-24691d3f.js} +1 -1
  173. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  174. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  175. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  176. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  177. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  178. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  179. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  180. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  181. package/dist/cjs/calcite-block_2.cjs.entry.js +9 -9
  182. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  183. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -16
  188. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  189. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -10
  190. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  191. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  192. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  193. package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -10
  194. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  196. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +14 -14
  198. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  199. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  200. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
  201. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  202. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  203. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-list_3.cjs.entry.js +10 -10
  205. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  206. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  207. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  208. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  209. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  210. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  211. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
  212. package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -9
  213. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  216. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  218. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  219. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  221. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  222. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  223. package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
  224. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  226. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  229. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  230. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  231. package/dist/cjs/calcite.cjs.js +2 -2
  232. package/dist/cjs/{conditionalSlot-9286ee64.js → conditionalSlot-981c3cbb.js} +3 -3
  233. package/dist/cjs/{debounce-ceeb7f1d.js → debounce-6441a10a.js} +1 -1
  234. package/dist/cjs/{dom-e6e07141.js → dom-806c68cd.js} +2 -2
  235. package/dist/cjs/{forIn-0fc2e9c6.js → forIn-9a78ce3f.js} +2 -2
  236. package/dist/cjs/{form-8fcc06ea.js → form-881d147f.js} +3 -3
  237. package/dist/cjs/{guid-4bbb9dbb.js → guid-e1d8544e.js} +1 -1
  238. package/dist/cjs/{index-70c3e49f.js → index-4144c113.js} +1 -1
  239. package/dist/cjs/index.cjs.js +1 -1
  240. package/dist/cjs/{interactive-a6990cd0.js → interactive-dd80fa58.js} +1 -1
  241. package/dist/cjs/{interfaces-10739bf1.js → interfaces-fb46cc40.js} +1 -1
  242. package/dist/cjs/{key-321a2373.js → key-a9fb00df.js} +1 -1
  243. package/dist/cjs/{label-3dd4dd9a.js → label-da26022c.js} +2 -2
  244. package/dist/cjs/loader.cjs.js +2 -2
  245. package/dist/cjs/{locale-9f2278fa.js → locale-58172bf6.js} +2 -2
  246. package/dist/cjs/{math-b7b935c3.js → math-087c8342.js} +1 -1
  247. package/dist/cjs/{observers-08ccf08f.js → observers-bd64e2fb.js} +1 -1
  248. package/dist/cjs/{popper-d6dcd934.js → popper-da694ece.js} +2 -2
  249. package/dist/cjs/{resources-59f14251.js → resources-14e0fa17.js} +5 -5
  250. package/dist/cjs/{resources-425b6a63.js → resources-bdfafb0c.js} +1 -1
  251. package/dist/cjs/{resources-76757d50.js → resources-ef3a6445.js} +3 -3
  252. package/dist/cjs/{resources-4684443e.js → resources-fe5dd6f4.js} +1 -1
  253. package/dist/cjs/{sortable.esm-a5a8eb9b.js → sortable.esm-251eb66c.js} +1 -1
  254. package/dist/cjs/{utils-a1fc6b24.js → utils-915f0b1e.js} +1 -1
  255. package/dist/collection/components/accordion/accordion.js +1 -1
  256. package/dist/collection/components/accordion/interfaces.js +1 -1
  257. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  258. package/dist/collection/components/action/action.css +13 -10
  259. package/dist/collection/components/action/action.js +1 -1
  260. package/dist/collection/components/action/resources.js +1 -1
  261. package/dist/collection/components/action-bar/action-bar.js +1 -1
  262. package/dist/collection/components/action-bar/resources.js +1 -1
  263. package/dist/collection/components/action-bar/utils.js +1 -1
  264. package/dist/collection/components/action-group/action-group.js +1 -1
  265. package/dist/collection/components/action-group/resources.js +1 -1
  266. package/dist/collection/components/action-menu/action-menu.js +1 -1
  267. package/dist/collection/components/action-menu/resources.js +1 -1
  268. package/dist/collection/components/action-pad/action-pad.js +1 -1
  269. package/dist/collection/components/action-pad/resources.js +1 -1
  270. package/dist/collection/components/alert/alert.js +3 -3
  271. package/dist/collection/components/alert/interfaces.js +1 -1
  272. package/dist/collection/components/alert/resources.js +1 -1
  273. package/dist/collection/components/avatar/avatar.js +1 -1
  274. package/dist/collection/components/avatar/utils.js +1 -1
  275. package/dist/collection/components/block/block.css +8 -7
  276. package/dist/collection/components/block/block.js +1 -1
  277. package/dist/collection/components/block/resources.js +1 -1
  278. package/dist/collection/components/block-section/block-section.js +1 -1
  279. package/dist/collection/components/block-section/interfaces.js +1 -1
  280. package/dist/collection/components/block-section/resources.js +1 -1
  281. package/dist/collection/components/button/button.css +8 -7
  282. package/dist/collection/components/button/button.js +1 -1
  283. package/dist/collection/components/button/interfaces.js +1 -1
  284. package/dist/collection/components/button/resources.js +1 -1
  285. package/dist/collection/components/card/card.js +1 -1
  286. package/dist/collection/components/card/resources.js +1 -1
  287. package/dist/collection/components/checkbox/checkbox.css +8 -7
  288. package/dist/collection/components/checkbox/checkbox.js +1 -1
  289. package/dist/collection/components/chip/chip.js +1 -1
  290. package/dist/collection/components/chip/interfaces.js +1 -1
  291. package/dist/collection/components/chip/resources.js +1 -1
  292. package/dist/collection/components/color-picker/color-picker.css +8 -7
  293. package/dist/collection/components/color-picker/color-picker.js +1 -1
  294. package/dist/collection/components/color-picker/interfaces.js +1 -1
  295. package/dist/collection/components/color-picker/resources.js +1 -1
  296. package/dist/collection/components/color-picker/utils.js +1 -1
  297. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  298. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  299. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  300. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  301. package/dist/collection/components/combobox/combobox.css +8 -7
  302. package/dist/collection/components/combobox/combobox.js +3 -3
  303. package/dist/collection/components/combobox/interfaces.js +1 -1
  304. package/dist/collection/components/combobox/resources.js +1 -1
  305. package/dist/collection/components/combobox/utils.js +1 -1
  306. package/dist/collection/components/combobox-item/combobox-item.css +8 -7
  307. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  308. package/dist/collection/components/combobox-item/resources.js +1 -1
  309. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  310. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  311. package/dist/collection/components/date-picker/date-picker.js +1 -1
  312. package/dist/collection/components/date-picker/interfaces.js +1 -1
  313. package/dist/collection/components/date-picker/resources.js +1 -1
  314. package/dist/collection/components/date-picker/utils.js +1 -1
  315. package/dist/collection/components/date-picker-day/date-picker-day.css +8 -7
  316. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  317. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  318. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  319. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  320. package/dist/collection/components/dropdown/dropdown.css +8 -7
  321. package/dist/collection/components/dropdown/dropdown.js +3 -3
  322. package/dist/collection/components/dropdown/interfaces.js +1 -1
  323. package/dist/collection/components/dropdown/resources.js +1 -1
  324. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  325. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  326. package/dist/collection/components/dropdown-group/resources.js +1 -1
  327. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  328. package/dist/collection/components/dropdown-item/resources.js +1 -1
  329. package/dist/collection/components/fab/fab.css +6 -5
  330. package/dist/collection/components/fab/fab.js +1 -1
  331. package/dist/collection/components/fab/resources.js +1 -1
  332. package/dist/collection/components/filter/filter.css +6 -5
  333. package/dist/collection/components/filter/filter.js +1 -1
  334. package/dist/collection/components/filter/resources.js +1 -1
  335. package/dist/collection/components/flow/flow.js +1 -1
  336. package/dist/collection/components/flow/interfaces.js +1 -1
  337. package/dist/collection/components/flow/resources.js +1 -1
  338. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  339. package/dist/collection/components/functional/Heading.js +1 -1
  340. package/dist/collection/components/graph/graph.js +1 -1
  341. package/dist/collection/components/graph/interfaces.js +1 -1
  342. package/dist/collection/components/graph/util.js +1 -1
  343. package/dist/collection/components/handle/handle.js +1 -1
  344. package/dist/collection/components/handle/resources.js +1 -1
  345. package/dist/collection/components/icon/icon.js +1 -1
  346. package/dist/collection/components/icon/resources.js +1 -1
  347. package/dist/collection/components/icon/utils.js +1 -1
  348. package/dist/collection/components/inline-editable/inline-editable.css +8 -7
  349. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  350. package/dist/collection/components/inline-editable/resources.js +1 -1
  351. package/dist/collection/components/input/input.css +8 -7
  352. package/dist/collection/components/input/input.js +1 -1
  353. package/dist/collection/components/input/interfaces.js +1 -1
  354. package/dist/collection/components/input/resources.js +1 -1
  355. package/dist/collection/components/input-date-picker/input-date-picker.css +8 -7
  356. package/dist/collection/components/input-date-picker/input-date-picker.js +3 -3
  357. package/dist/collection/components/input-date-picker/resources.js +1 -1
  358. package/dist/collection/components/input-message/input-message.js +1 -1
  359. package/dist/collection/components/input-message/interfaces.js +1 -1
  360. package/dist/collection/components/input-number/input-number.css +8 -7
  361. package/dist/collection/components/input-number/input-number.js +1 -1
  362. package/dist/collection/components/input-number/interfaces.js +1 -1
  363. package/dist/collection/components/input-number/resources.js +1 -1
  364. package/dist/collection/components/input-time-picker/input-time-picker.css +7 -6
  365. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  366. package/dist/collection/components/interfaces.js +1 -1
  367. package/dist/collection/components/label/label.css +8 -7
  368. package/dist/collection/components/label/label.js +1 -1
  369. package/dist/collection/components/label/resources.js +1 -1
  370. package/dist/collection/components/link/link.css +8 -7
  371. package/dist/collection/components/link/link.js +1 -1
  372. package/dist/collection/components/list/list.css +5 -4
  373. package/dist/collection/components/list/list.js +1 -1
  374. package/dist/collection/components/list/resources.js +1 -1
  375. package/dist/collection/components/list-item/list-item.css +6 -5
  376. package/dist/collection/components/list-item/list-item.js +1 -1
  377. package/dist/collection/components/list-item/resources.js +1 -1
  378. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  379. package/dist/collection/components/list-item-group/resources.js +1 -1
  380. package/dist/collection/components/loader/loader.js +1 -1
  381. package/dist/collection/components/modal/interfaces.js +1 -1
  382. package/dist/collection/components/modal/modal.js +8 -8
  383. package/dist/collection/components/modal/resources.js +1 -1
  384. package/dist/collection/components/notice/notice.js +1 -1
  385. package/dist/collection/components/notice/resources.js +1 -1
  386. package/dist/collection/components/option/option.js +1 -1
  387. package/dist/collection/components/option-group/option-group.js +1 -1
  388. package/dist/collection/components/pagination/pagination.js +1 -1
  389. package/dist/collection/components/pagination/resources.js +1 -1
  390. package/dist/collection/components/panel/panel.css +8 -7
  391. package/dist/collection/components/panel/panel.js +1 -1
  392. package/dist/collection/components/panel/resources.js +1 -1
  393. package/dist/collection/components/pick-list/pick-list.css +8 -7
  394. package/dist/collection/components/pick-list/pick-list.js +1 -1
  395. package/dist/collection/components/pick-list/resources.js +1 -1
  396. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  397. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  398. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  399. package/dist/collection/components/pick-list-group/resources.js +1 -1
  400. package/dist/collection/components/pick-list-item/pick-list-item.css +8 -7
  401. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  402. package/dist/collection/components/pick-list-item/resources.js +1 -1
  403. package/dist/collection/components/popover/PopoverManager.js +1 -1
  404. package/dist/collection/components/popover/popover.js +3 -3
  405. package/dist/collection/components/popover/resources.js +1 -1
  406. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  407. package/dist/collection/components/progress/progress.js +1 -1
  408. package/dist/collection/components/radio-button/radio-button.css +8 -7
  409. package/dist/collection/components/radio-button/radio-button.js +1 -1
  410. package/dist/collection/components/radio-button/resources.js +1 -1
  411. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  412. package/dist/collection/components/radio-group/interfaces.js +1 -1
  413. package/dist/collection/components/radio-group/radio-group.css +8 -7
  414. package/dist/collection/components/radio-group/radio-group.js +1 -1
  415. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  416. package/dist/collection/components/radio-group-item/resources.js +1 -1
  417. package/dist/collection/components/rating/rating.css +8 -7
  418. package/dist/collection/components/rating/rating.js +1 -1
  419. package/dist/collection/components/rating/resources.js +1 -1
  420. package/dist/collection/components/scrim/resources.js +1 -1
  421. package/dist/collection/components/scrim/scrim.js +1 -1
  422. package/dist/collection/components/select/resources.js +1 -1
  423. package/dist/collection/components/select/select.css +8 -7
  424. package/dist/collection/components/select/select.js +1 -1
  425. package/dist/collection/components/shell/resources.js +1 -1
  426. package/dist/collection/components/shell/shell.js +1 -1
  427. package/dist/collection/components/shell-center-row/resources.js +1 -1
  428. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  429. package/dist/collection/components/shell-panel/resources.js +1 -1
  430. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  431. package/dist/collection/components/slider/slider.css +8 -7
  432. package/dist/collection/components/slider/slider.js +1 -1
  433. package/dist/collection/components/sortable-list/resources.js +1 -1
  434. package/dist/collection/components/sortable-list/sortable-list.css +5 -4
  435. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  436. package/dist/collection/components/split-button/resources.js +1 -1
  437. package/dist/collection/components/split-button/split-button.css +8 -7
  438. package/dist/collection/components/split-button/split-button.js +1 -1
  439. package/dist/collection/components/stepper/interfaces.js +1 -1
  440. package/dist/collection/components/stepper/stepper.js +1 -1
  441. package/dist/collection/components/stepper-item/stepper-item.css +12 -10
  442. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  443. package/dist/collection/components/switch/switch.css +8 -7
  444. package/dist/collection/components/switch/switch.js +1 -1
  445. package/dist/collection/components/tab/interfaces.js +1 -1
  446. package/dist/collection/components/tab/tab.js +1 -1
  447. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  448. package/dist/collection/components/tab-title/tab-title.css +8 -7
  449. package/dist/collection/components/tab-title/tab-title.js +1 -1
  450. package/dist/collection/components/tabs/interfaces.js +1 -1
  451. package/dist/collection/components/tabs/resources.js +1 -1
  452. package/dist/collection/components/tabs/tabs.js +1 -1
  453. package/dist/collection/components/tile/resources.js +1 -1
  454. package/dist/collection/components/tile/tile.css +8 -7
  455. package/dist/collection/components/tile/tile.js +1 -1
  456. package/dist/collection/components/tile-select/interfaces.js +1 -1
  457. package/dist/collection/components/tile-select/resources.js +1 -1
  458. package/dist/collection/components/tile-select/tile-select.css +8 -7
  459. package/dist/collection/components/tile-select/tile-select.js +1 -1
  460. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  461. package/dist/collection/components/tile-select-group/tile-select-group.css +8 -7
  462. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  463. package/dist/collection/components/time-picker/resources.js +1 -1
  464. package/dist/collection/components/time-picker/time-picker.js +1 -1
  465. package/dist/collection/components/tip/resources.js +1 -1
  466. package/dist/collection/components/tip/tip.js +1 -1
  467. package/dist/collection/components/tip-group/tip-group.js +1 -1
  468. package/dist/collection/components/tip-manager/resources.js +1 -1
  469. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  470. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  471. package/dist/collection/components/tooltip/resources.js +1 -1
  472. package/dist/collection/components/tooltip/tooltip.js +1 -1
  473. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  474. package/dist/collection/components/tree/interfaces.js +1 -1
  475. package/dist/collection/components/tree/tree.js +1 -1
  476. package/dist/collection/components/tree-item/interfaces.js +1 -1
  477. package/dist/collection/components/tree-item/resources.js +1 -1
  478. package/dist/collection/components/tree-item/tree-item.js +1 -1
  479. package/dist/collection/components/value-list/interfaces.js +1 -1
  480. package/dist/collection/components/value-list/resources.js +1 -1
  481. package/dist/collection/components/value-list/utils.js +1 -1
  482. package/dist/collection/components/value-list/value-list.css +8 -7
  483. package/dist/collection/components/value-list/value-list.js +1 -1
  484. package/dist/collection/components/value-list-item/resources.js +1 -1
  485. package/dist/collection/components/value-list-item/value-list-item.css +8 -7
  486. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  487. package/dist/collection/utils/array.js +1 -1
  488. package/dist/collection/utils/conditionalSlot.js +1 -1
  489. package/dist/collection/utils/date.js +1 -1
  490. package/dist/collection/utils/dom.js +1 -1
  491. package/dist/collection/utils/filter.js +1 -1
  492. package/dist/collection/utils/form.js +1 -1
  493. package/dist/collection/utils/globalAttributes.js +1 -1
  494. package/dist/collection/utils/guid.js +1 -1
  495. package/dist/collection/utils/interactive.js +1 -1
  496. package/dist/collection/utils/key.js +1 -1
  497. package/dist/collection/utils/label.js +1 -1
  498. package/dist/collection/utils/locale.js +1 -1
  499. package/dist/collection/utils/math.js +1 -1
  500. package/dist/collection/utils/number.js +1 -1
  501. package/dist/collection/utils/observers.js +1 -1
  502. package/dist/collection/utils/openCloseComponent.js +1 -1
  503. package/dist/collection/utils/popper.js +1 -1
  504. package/dist/collection/utils/resources.js +1 -1
  505. package/dist/collection/utils/time.js +1 -1
  506. package/dist/components/ExpandToggle.js +1 -1
  507. package/dist/components/Heading.js +1 -1
  508. package/dist/components/action-group.js +1 -1
  509. package/dist/components/action-menu.js +1 -1
  510. package/dist/components/action.js +2 -2
  511. package/dist/components/array.js +1 -1
  512. package/dist/components/button.js +2 -2
  513. package/dist/components/calcite-accordion-item.js +1 -1
  514. package/dist/components/calcite-accordion.js +1 -1
  515. package/dist/components/calcite-action-bar.js +1 -1
  516. package/dist/components/calcite-action-group.js +1 -1
  517. package/dist/components/calcite-action-menu.js +1 -1
  518. package/dist/components/calcite-action-pad.js +1 -1
  519. package/dist/components/calcite-action.js +1 -1
  520. package/dist/components/calcite-alert.js +3 -3
  521. package/dist/components/calcite-avatar.js +1 -1
  522. package/dist/components/calcite-block-section.js +1 -1
  523. package/dist/components/calcite-block.js +2 -2
  524. package/dist/components/calcite-button.js +1 -1
  525. package/dist/components/calcite-card.js +1 -1
  526. package/dist/components/calcite-checkbox.js +1 -1
  527. package/dist/components/calcite-chip.js +1 -1
  528. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  529. package/dist/components/calcite-color-picker-swatch.js +1 -1
  530. package/dist/components/calcite-color-picker.js +2 -2
  531. package/dist/components/calcite-combobox-item-group.js +1 -1
  532. package/dist/components/calcite-combobox-item.js +2 -2
  533. package/dist/components/calcite-combobox.js +4 -4
  534. package/dist/components/calcite-date-picker-day.js +1 -1
  535. package/dist/components/calcite-date-picker-month-header.js +1 -1
  536. package/dist/components/calcite-date-picker-month.js +1 -1
  537. package/dist/components/calcite-date-picker.js +1 -1
  538. package/dist/components/calcite-dropdown-group.js +1 -1
  539. package/dist/components/calcite-dropdown-item.js +1 -1
  540. package/dist/components/calcite-dropdown.js +1 -1
  541. package/dist/components/calcite-fab.js +2 -2
  542. package/dist/components/calcite-filter.js +1 -1
  543. package/dist/components/calcite-flow.js +1 -1
  544. package/dist/components/calcite-graph.js +1 -1
  545. package/dist/components/calcite-handle.js +1 -1
  546. package/dist/components/calcite-icon.js +1 -1
  547. package/dist/components/calcite-inline-editable.js +2 -2
  548. package/dist/components/calcite-input-date-picker.js +4 -4
  549. package/dist/components/calcite-input-message.js +1 -1
  550. package/dist/components/calcite-input-number.js +2 -2
  551. package/dist/components/calcite-input-time-picker.js +2 -2
  552. package/dist/components/calcite-input.js +1 -1
  553. package/dist/components/calcite-label.js +1 -1
  554. package/dist/components/calcite-link.js +1 -1
  555. package/dist/components/calcite-list-item-group.js +1 -1
  556. package/dist/components/calcite-list-item.js +2 -2
  557. package/dist/components/calcite-list.js +2 -2
  558. package/dist/components/calcite-loader.js +1 -1
  559. package/dist/components/calcite-modal.js +8 -8
  560. package/dist/components/calcite-notice.js +1 -1
  561. package/dist/components/calcite-option-group.js +1 -1
  562. package/dist/components/calcite-option.js +1 -1
  563. package/dist/components/calcite-pagination.js +1 -1
  564. package/dist/components/calcite-panel.js +2 -2
  565. package/dist/components/calcite-pick-list-group.js +1 -1
  566. package/dist/components/calcite-pick-list-item.js +1 -1
  567. package/dist/components/calcite-pick-list.js +2 -2
  568. package/dist/components/calcite-popover-manager.js +1 -1
  569. package/dist/components/calcite-popover.js +1 -1
  570. package/dist/components/calcite-progress.js +1 -1
  571. package/dist/components/calcite-radio-button-group.js +1 -1
  572. package/dist/components/calcite-radio-button.js +2 -2
  573. package/dist/components/calcite-radio-group-item.js +1 -1
  574. package/dist/components/calcite-radio-group.js +2 -2
  575. package/dist/components/calcite-rating.js +2 -2
  576. package/dist/components/calcite-scrim.js +1 -1
  577. package/dist/components/calcite-select.js +2 -2
  578. package/dist/components/calcite-shell-center-row.js +1 -1
  579. package/dist/components/calcite-shell-panel.js +1 -1
  580. package/dist/components/calcite-shell.js +1 -1
  581. package/dist/components/calcite-slider.js +2 -2
  582. package/dist/components/calcite-sortable-list.js +2 -2
  583. package/dist/components/calcite-split-button.js +2 -2
  584. package/dist/components/calcite-stepper-item.js +2 -2
  585. package/dist/components/calcite-stepper.js +1 -1
  586. package/dist/components/calcite-switch.js +1 -1
  587. package/dist/components/calcite-tab-nav.js +1 -1
  588. package/dist/components/calcite-tab-title.js +1 -1
  589. package/dist/components/calcite-tab.js +1 -1
  590. package/dist/components/calcite-tabs.js +1 -1
  591. package/dist/components/calcite-tile-select-group.js +2 -2
  592. package/dist/components/calcite-tile-select.js +2 -2
  593. package/dist/components/calcite-tile.js +1 -1
  594. package/dist/components/calcite-time-picker.js +1 -1
  595. package/dist/components/calcite-tip-group.js +1 -1
  596. package/dist/components/calcite-tip-manager.js +1 -1
  597. package/dist/components/calcite-tip.js +1 -1
  598. package/dist/components/calcite-tooltip-manager.js +1 -1
  599. package/dist/components/calcite-tooltip.js +1 -1
  600. package/dist/components/calcite-tree-item.js +1 -1
  601. package/dist/components/calcite-tree.js +1 -1
  602. package/dist/components/calcite-value-list-item.js +2 -2
  603. package/dist/components/calcite-value-list.js +2 -2
  604. package/dist/components/checkbox.js +2 -2
  605. package/dist/components/chip.js +1 -1
  606. package/dist/components/color-picker-hex-input.js +1 -1
  607. package/dist/components/color-picker-swatch.js +1 -1
  608. package/dist/components/conditionalSlot.js +1 -1
  609. package/dist/components/date-picker-day.js +2 -2
  610. package/dist/components/date-picker-month-header.js +1 -1
  611. package/dist/components/date-picker-month.js +1 -1
  612. package/dist/components/date-picker.js +1 -1
  613. package/dist/components/date.js +1 -1
  614. package/dist/components/debounce.js +1 -1
  615. package/dist/components/dom.js +1 -1
  616. package/dist/components/dropdown.js +4 -4
  617. package/dist/components/filter.js +2 -2
  618. package/dist/components/forIn.js +1 -1
  619. package/dist/components/form.js +1 -1
  620. package/dist/components/graph.js +1 -1
  621. package/dist/components/guid.js +1 -1
  622. package/dist/components/handle.js +1 -1
  623. package/dist/components/icon.js +1 -1
  624. package/dist/components/index.js +1 -1
  625. package/dist/components/input.js +2 -2
  626. package/dist/components/interactive.js +1 -1
  627. package/dist/components/interfaces.js +1 -1
  628. package/dist/components/interfaces2.js +1 -1
  629. package/dist/components/key.js +1 -1
  630. package/dist/components/label.js +1 -1
  631. package/dist/components/label2.js +2 -2
  632. package/dist/components/link.js +2 -2
  633. package/dist/components/loader.js +1 -1
  634. package/dist/components/locale.js +1 -1
  635. package/dist/components/math.js +1 -1
  636. package/dist/components/observers.js +1 -1
  637. package/dist/components/pick-list-item.js +2 -2
  638. package/dist/components/popover.js +3 -3
  639. package/dist/components/popper.js +1 -1
  640. package/dist/components/progress.js +1 -1
  641. package/dist/components/resources.js +1 -1
  642. package/dist/components/resources2.js +1 -1
  643. package/dist/components/resources3.js +1 -1
  644. package/dist/components/scrim.js +1 -1
  645. package/dist/components/shared-list-render.js +1 -1
  646. package/dist/components/sortable.esm.js +1 -1
  647. package/dist/components/switch.js +2 -2
  648. package/dist/components/tab-nav.js +1 -1
  649. package/dist/components/tab-title.js +2 -2
  650. package/dist/components/tab.js +1 -1
  651. package/dist/components/tabs.js +1 -1
  652. package/dist/components/tile.js +2 -2
  653. package/dist/components/time-picker.js +1 -1
  654. package/dist/components/utils.js +1 -1
  655. package/dist/components/utils2.js +1 -1
  656. package/dist/custom-elements/index.js +56 -56
  657. package/dist/esm/{ExpandToggle-8a52a068.js → ExpandToggle-28ec23f0.js} +5 -5
  658. package/dist/esm/{Heading-721e57cb.js → Heading-637cd425.js} +2 -2
  659. package/dist/esm/{array-59cce697.js → array-dba90ea0.js} +1 -1
  660. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  661. package/dist/esm/calcite-action-bar.entry.js +10 -10
  662. package/dist/esm/calcite-action-group.entry.js +8 -8
  663. package/dist/esm/calcite-action-menu.entry.js +8 -8
  664. package/dist/esm/calcite-action-pad.entry.js +9 -9
  665. package/dist/esm/calcite-action.entry.js +7 -7
  666. package/dist/esm/calcite-alert.entry.js +7 -7
  667. package/dist/esm/calcite-avatar.entry.js +5 -5
  668. package/dist/esm/calcite-block_2.entry.js +9 -9
  669. package/dist/esm/calcite-button.entry.js +9 -9
  670. package/dist/esm/calcite-card.entry.js +6 -6
  671. package/dist/esm/calcite-checkbox.entry.js +8 -8
  672. package/dist/esm/calcite-chip.entry.js +6 -6
  673. package/dist/esm/calcite-color-picker_3.entry.js +9 -9
  674. package/dist/esm/calcite-combobox_3.entry.js +16 -16
  675. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  676. package/dist/esm/calcite-dropdown_3.entry.js +10 -10
  677. package/dist/esm/calcite-fab.entry.js +6 -6
  678. package/dist/esm/calcite-filter.entry.js +8 -8
  679. package/dist/esm/calcite-flow.entry.js +3 -3
  680. package/dist/esm/calcite-graph_2.entry.js +10 -10
  681. package/dist/esm/calcite-handle.entry.js +4 -4
  682. package/dist/esm/calcite-icon.entry.js +5 -5
  683. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  684. package/dist/esm/calcite-input-date-picker.entry.js +14 -14
  685. package/dist/esm/calcite-input-message.entry.js +4 -4
  686. package/dist/esm/calcite-input-number.entry.js +12 -12
  687. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
  688. package/dist/esm/calcite-input.entry.js +12 -12
  689. package/dist/esm/calcite-label.entry.js +6 -6
  690. package/dist/esm/calcite-link.entry.js +6 -6
  691. package/dist/esm/calcite-list_3.entry.js +10 -10
  692. package/dist/esm/calcite-loader.entry.js +3 -3
  693. package/dist/esm/calcite-modal.entry.js +13 -13
  694. package/dist/esm/calcite-notice.entry.js +7 -7
  695. package/dist/esm/calcite-option_3.entry.js +9 -9
  696. package/dist/esm/calcite-pagination.entry.js +5 -5
  697. package/dist/esm/calcite-panel.entry.js +10 -10
  698. package/dist/esm/calcite-pick-list_3.entry.js +13 -13
  699. package/dist/esm/calcite-popover_2.entry.js +9 -9
  700. package/dist/esm/calcite-progress.entry.js +2 -2
  701. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  702. package/dist/esm/calcite-radio-button.entry.js +9 -9
  703. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  704. package/dist/esm/calcite-rating.entry.js +9 -9
  705. package/dist/esm/calcite-scrim.entry.js +2 -2
  706. package/dist/esm/calcite-shell_3.entry.js +7 -7
  707. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  708. package/dist/esm/calcite-split-button.entry.js +4 -4
  709. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  710. package/dist/esm/calcite-switch.entry.js +8 -8
  711. package/dist/esm/calcite-tab_4.entry.js +7 -7
  712. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  713. package/dist/esm/calcite-tile.entry.js +8 -8
  714. package/dist/esm/calcite-tip_3.entry.js +7 -7
  715. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  716. package/dist/esm/calcite-tree_2.entry.js +6 -6
  717. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  718. package/dist/esm/calcite.js +2 -2
  719. package/dist/esm/{conditionalSlot-2a2a41cc.js → conditionalSlot-f82205b4.js} +3 -3
  720. package/dist/esm/{debounce-3edfb6ff.js → debounce-d0fff2ac.js} +1 -1
  721. package/dist/esm/{dom-b1dd66bf.js → dom-0f144e18.js} +2 -2
  722. package/dist/esm/{forIn-5b92ca9d.js → forIn-bb13c6ca.js} +2 -2
  723. package/dist/esm/{form-fe385c43.js → form-4a3fb17a.js} +3 -3
  724. package/dist/esm/{guid-07eb7b27.js → guid-7eeee9e2.js} +1 -1
  725. package/dist/esm/{index-5111df84.js → index-846aabc9.js} +1 -1
  726. package/dist/esm/index.js +1 -1
  727. package/dist/esm/{interactive-ba2dc945.js → interactive-c8d35d32.js} +1 -1
  728. package/dist/esm/{interfaces-baf59c23.js → interfaces-93717060.js} +1 -1
  729. package/dist/esm/{key-a8a72c0a.js → key-94ca561c.js} +1 -1
  730. package/dist/esm/{label-a48e4889.js → label-cffa85b2.js} +2 -2
  731. package/dist/esm/loader.js +2 -2
  732. package/dist/esm/{locale-96c0c5d1.js → locale-40124e99.js} +2 -2
  733. package/dist/esm/{math-1e14214c.js → math-0bc83628.js} +1 -1
  734. package/dist/esm/{observers-b8abfdd3.js → observers-6de36ff7.js} +1 -1
  735. package/dist/esm/{popper-bbf118a0.js → popper-27e52ddf.js} +2 -2
  736. package/dist/esm/{resources-d8ea6462.js → resources-14b7d2ba.js} +1 -1
  737. package/dist/esm/{resources-6525ae1d.js → resources-bf9bd756.js} +1 -1
  738. package/dist/esm/{resources-fd996bab.js → resources-d3b52e97.js} +3 -3
  739. package/dist/esm/{resources-1644055c.js → resources-d76a52c8.js} +5 -5
  740. package/dist/esm/{sortable.esm-cc0238e2.js → sortable.esm-0437fbd4.js} +1 -1
  741. package/dist/esm/{utils-6aedbacf.js → utils-898b28b9.js} +1 -1
  742. package/dist/esm-es5/{ExpandToggle-8a52a068.js → ExpandToggle-28ec23f0.js} +2 -2
  743. package/dist/esm-es5/{Heading-721e57cb.js → Heading-637cd425.js} +2 -2
  744. package/dist/esm-es5/{array-59cce697.js → array-dba90ea0.js} +1 -1
  745. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  747. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  748. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  749. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  750. package/dist/esm-es5/calcite-action.entry.js +2 -2
  751. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  752. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  753. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite-button.entry.js +2 -2
  755. package/dist/esm-es5/calcite-card.entry.js +2 -2
  756. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  757. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  758. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  759. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  760. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  761. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  762. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  763. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  764. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  765. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  767. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  768. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  769. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  770. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  771. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  772. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  773. package/dist/esm-es5/calcite-input.entry.js +2 -2
  774. package/dist/esm-es5/calcite-label.entry.js +2 -2
  775. package/dist/esm-es5/calcite-link.entry.js +3 -3
  776. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  777. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  778. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  779. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  780. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  781. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  782. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  783. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  784. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  785. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  786. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  787. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  788. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  789. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  790. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  791. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  792. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  793. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  794. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  795. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  796. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  797. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  798. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  799. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  800. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  801. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  802. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  803. package/dist/esm-es5/calcite.js +2 -2
  804. package/dist/esm-es5/{conditionalSlot-2a2a41cc.js → conditionalSlot-f82205b4.js} +2 -2
  805. package/dist/esm-es5/{debounce-3edfb6ff.js → debounce-d0fff2ac.js} +1 -1
  806. package/dist/esm-es5/{dom-b1dd66bf.js → dom-0f144e18.js} +2 -2
  807. package/dist/esm-es5/{forIn-5b92ca9d.js → forIn-bb13c6ca.js} +2 -2
  808. package/dist/esm-es5/{form-fe385c43.js → form-4a3fb17a.js} +2 -2
  809. package/dist/esm-es5/{guid-07eb7b27.js → guid-7eeee9e2.js} +1 -1
  810. package/dist/esm-es5/{index-5111df84.js → index-846aabc9.js} +1 -1
  811. package/dist/esm-es5/index.js +1 -1
  812. package/dist/esm-es5/{interactive-ba2dc945.js → interactive-c8d35d32.js} +1 -1
  813. package/dist/esm-es5/{interfaces-baf59c23.js → interfaces-93717060.js} +1 -1
  814. package/dist/esm-es5/{key-a8a72c0a.js → key-94ca561c.js} +1 -1
  815. package/dist/esm-es5/{label-a48e4889.js → label-cffa85b2.js} +2 -2
  816. package/dist/esm-es5/loader.js +2 -2
  817. package/dist/esm-es5/{locale-96c0c5d1.js → locale-40124e99.js} +2 -2
  818. package/dist/esm-es5/{math-1e14214c.js → math-0bc83628.js} +1 -1
  819. package/dist/esm-es5/{observers-b8abfdd3.js → observers-6de36ff7.js} +1 -1
  820. package/dist/esm-es5/{popper-bbf118a0.js → popper-27e52ddf.js} +2 -2
  821. package/dist/esm-es5/{resources-d8ea6462.js → resources-14b7d2ba.js} +1 -1
  822. package/dist/esm-es5/{resources-6525ae1d.js → resources-bf9bd756.js} +1 -1
  823. package/dist/esm-es5/{resources-fd996bab.js → resources-d3b52e97.js} +2 -2
  824. package/dist/esm-es5/{resources-1644055c.js → resources-d76a52c8.js} +2 -2
  825. package/dist/esm-es5/{sortable.esm-cc0238e2.js → sortable.esm-0437fbd4.js} +1 -1
  826. package/dist/esm-es5/{utils-6aedbacf.js → utils-898b28b9.js} +1 -1
  827. package/dist/extras/docs-json.json +1 -1
  828. package/dist/loader/cdn.js +1 -1
  829. package/dist/loader/index.cjs.js +1 -1
  830. package/dist/loader/index.es2017.js +1 -1
  831. package/dist/loader/index.js +1 -1
  832. package/dist/types/components/modal/modal.d.ts +1 -1
  833. package/hydrate/index.js +56 -56
  834. package/package.json +1 -1
  835. package/dist/calcite/p-0b8038fc.js +0 -6
  836. package/dist/calcite/p-27ef3a80.entry.js +0 -6
  837. package/dist/calcite/p-317a076d.entry.js +0 -6
  838. package/dist/calcite/p-5f03a8f3.entry.js +0 -6
  839. package/dist/calcite/p-5fa8ee39.entry.js +0 -6
  840. package/dist/calcite/p-6dc5037d.system.entry.js +0 -6
  841. package/dist/calcite/p-8f7f2989.system.entry.js +0 -6
  842. package/dist/calcite/p-9b36bf79.entry.js +0 -6
  843. package/dist/calcite/p-b323931a.entry.js +0 -6
  844. package/dist/calcite/p-caa9f8a8.entry.js +0 -6
  845. package/dist/calcite/p-cef29dcc.entry.js +0 -6
  846. package/dist/calcite/p-d670d50f.system.entry.js +0 -6
  847. package/dist/calcite/p-ee26f036.system.js +0 -6
  848. package/dist/calcite/p-f457201d.system.entry.js +0 -6
  849. package/dist/calcite/p-f47bb4ca.entry.js +0 -6
  850. package/dist/calcite/p-f94fe9e8.system.entry.js +0 -6
  851. package/dist/calcite/p-fc4a453a.js +0 -6
  852. package/dist/calcite/p-fd322586.system.js +0 -6
@@ -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.534
5
- */
6
- import{r as t,c as e,h as i,g as a,H as n}from"./p-e03b1783.js";import{f as r,d as o,t as s}from"./p-b3835d89.js";import{u as c}from"./p-3a60a21e.js";import"./p-043e4e1e.js";const l=class{constructor(i){t(this,i),this.calciteStepperItemChange=e(this,"calciteStepperItemChange",7),this.calciteInternalStepperItemChange=e(this,"calciteInternalStepperItemChange",7),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.itemMap=new Map,this.items=[],this.enabledItems=[]}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:t=>{const e=t.currentTarget.assignedElements().filter((t=>"CALCITE-STEPPER-ITEM"===(null==t?void 0:t.tagName))),i=Array(e.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i}})}calciteInternalStepperItemKeyEvent(t){const e=t.detail.item,i=t.target,a=0===this.itemIndex(i),n=this.itemIndex(i)===this.enabledItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(i);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(i);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:a}=t.detail;this.itemMap.set(e,{position:a,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentPosition=e),this.calciteInternalStepperItemChange.emit({position:e})}handleUserRequestedStepperItemSelect(t){const{position:e}=t.detail;this.calciteStepperItemChange.emit({position:e})}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentPosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,e="next"){var i;const{items:a,currentPosition:n}=this;let r=t;for(;null===(i=a[r])||void 0===i?void 0:i.disabled;)r+="previous"===e?-1:1;return r!==n&&r<a.length&&r>=0?r:null}updateStep(t){this.currentPosition=t,this.calciteInternalStepperItemChange.emit({position:t})}focusFirstItem(){r(this.enabledItems[0])}focusLastItem(){r(this.enabledItems[this.enabledItems.length-1])}focusNextItem(t){const e=this.itemIndex(t);r(this.enabledItems[e+1]||this.enabledItems[0])}focusPrevItem(t){const e=this.itemIndex(t);r(this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1])}itemIndex(t){return this.enabledItems.indexOf(t)}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((e,i)=>t.get(e).position-t.get(i).position))}filterItems(){return this.items.filter((t=>!t.disabled))}get el(){return a(this)}};l.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:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';const m=class{constructor(i){t(this,i),this.calciteInternalStepperItemKeyEvent=e(this,"calciteInternalStepperItemKeyEvent",7),this.calciteInternalStepperItemSelect=e(this,"calciteInternalStepperItemSelect",7),this.calciteInternalUserRequestedStepperItemSelect=e(this,"calciteInternalUserRequestedStepperItemSelect",7),this.calciteInternalStepperItemRegister=e(this,"calciteInternalStepperItemRegister",7),this.active=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.layout="horizontal",this.icon=!1,this.numbered=!1,this.scale="m",this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.setItemContent=()=>{this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.active&&this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}activeWatcher(t){t&&this.emitRequestedItem()}componentWillLoad(){this.icon=o(this.el,"icon",!1),this.numbered=o(this.el,"numbered",!1),this.layout=o(this.el,"layout",!1),this.scale=o(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement}componentDidRender(){c(this,!0)}render(){return i(n,{"aria-expanded":s(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",ref:t=>this.headerEl=t,tabIndex:"horizontal"!==this.layout||this.disabled?null:0},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),i("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),i("div",{class:"stepper-item-content"},i("slot",{onSlotchange:this.setItemContent}))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.activePosition=t.detail.position,this.determineActiveItem())}async setFocus(){var t;null===(t="vertical"===this.layout?this.el:this.headerEl)||void 0===t||t.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",icon:this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineActiveItem(){this.active=!this.disabled&&this.itemPosition===this.activePosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],active:["activeWatcher"]}}};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([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-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)}:host .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-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-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}: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([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([active]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{-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);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][active]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][active]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-block-start-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";export{l as calcite_stepper,m as calcite_stepper_item}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function s(t){try{l(i.next(t))}catch(t){r(t)}}function o(t){try{l(i["throw"](t))}catch(t){r(t)}}function l(t){t.done?a(t.value):n(t.value).then(s,o)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return l([t,e])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;n=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(s[0]===6&&a.label<r[1]){a.label=r[1];r=s;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(s);break}if(r[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];n=0}finally{i=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[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.534
6
- */System.register(["./p-816708b1.system.js","./p-ee26f036.system.js","./p-967a2bb9.system.js","./p-5bcda040.system.js","./p-db15f317.system.js","./p-49037291.system.js","./p-a8a240eb.system.js","./p-55eee874.system.js","./p-0cec909c.system.js","./p-364affb4.system.js"],(function(t){"use strict";var e,a,i,n,r,s,o,l,c,p,u,h,d,f,m,v,y,b,g,w,D,k,x,A,I,P,C,_;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.H;r=t.g},function(t){s=t.T;o=t.d;l=t.a;c=t.b;p=t.g;u=t.s;h=t.p;d=t.i},function(t){f=t.c;m=t.d;v=t.g},function(t){y=t.s;b=t.c;g=t.d;w=t.H},function(t){D=t.d;k=t.f;x=t.u;A=t.C;I=t.c;P=t.p},function(t){C=t.u},function(t){_=t.t},function(){},function(){},function(){}],execute:function(){var E={menu:"menu-container",menuActive:"menu-container--active"};var R="@-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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--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}.calendar-picker-wrapper{position:static;inline-size:100%;--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);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;inset-inline-start:0px;z-index:10;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.menu-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}.menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .menu-container{pointer-events:initial;visibility:visible}.menu-container--active .menu-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}.menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.input .calcite-input__wrapper{-webkit-margin-before:0px;margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var F=t("calcite_input_date_picker",function(){function t(t){var i=this;e(this,t);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.calciteInputDatePickerChange=a(this,"calciteInputDatePickerChange",7);this.calciteInputDatePickerBeforeClose=a(this,"calciteInputDatePickerBeforeClose",7);this.calciteInputDatePickerClose=a(this,"calciteInputDatePickerClose",7);this.calciteInputDatePickerBeforeOpen=a(this,"calciteInputDatePickerBeforeOpen",7);this.calciteInputDatePickerOpen=a(this,"calciteInputDatePickerOpen",7);this.disabled=false;this.readOnly=false;this.active=false;this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.placement=D;this.range=false;this.required=false;this.overlayPositioning="absolute";this.proximitySelectionDisabled=false;this.layout="horizontal";this.focusedInput="start";this.activeTransitionProp="opacity";this.setContainerEl=function(t){i.containerEl=t;i.containerEl.addEventListener("transitionstart",i.transitionStartHandler)};this.setFilteredPlacements=function(){var t=i,e=t.el,a=t.flipPlacements;i.filteredFlipPlacements=a?k(a,e):null};this.transitionStartHandler=function(t){if(t.propertyName===i.activeTransitionProp){i.active?i.onBeforeOpen():i.onBeforeClose()}};this.transitionEnd=function(t){if(t.propertyName===i.activeTransitionProp){i.active?i.onOpen():i.onClose()}};this.setStartInput=function(t){i.startInput=t};this.setEndInput=function(t){i.endInput=t};this.deactivate=function(){i.active=false};this.keyDownHandler=function(t){if(t.key==="Enter"&&!t.defaultPrevented){y(i)}};this.keyUpHandler=function(t){if(t.key==="Escape"){i.active=false}};this.inputBlur=function(t){i.blur(t.detail)};this.startInputFocus=function(){if(!i.readOnly){i.active=true}i.focusedInput="start"};this.endInputFocus=function(){if(!i.readOnly){i.active=true}i.focusedInput="end"};this.inputInput=function(t){i.input(t.detail.value)};this.setMenuEl=function(t){if(t){i.menuEl=t;i.createPopper()}};this.setStartWrapper=function(t){i.startWrapper=t;i.setReferenceEl()};this.setEndWrapper=function(t){i.endWrapper=t;i.setReferenceEl()};this.handleDateChange=function(t){if(i.range){return}i.value=o(t.detail)};this.handleDateRangeChange=function(t){var e,a;if(!i.range||!t.detail){return}var n=t.detail,r=n.startDate,s=n.endDate;i.start=o(r);i.end=o(s);i.value=[i.start,i.end];if(i.shouldFocusRangeEnd()){(e=i.endInput)===null||e===void 0?void 0:e.setFocus()}else if(i.shouldFocusRangeStart()){(a=i.startInput)===null||a===void 0?void 0:a.setFocus()}}}t.prototype.handleDisabledAndReadOnlyChange=function(t){if(!t){this.active=false}};t.prototype.valueHandler=function(t){if(Array.isArray(t)){this.valueAsDate=t.map((function(t){return l(t)}));this.start=t[0];this.end=t[1]}else if(t){this.valueAsDate=l(t);this.start="";this.end=""}else{this.valueAsDate=undefined;this.start=undefined;this.end=undefined}};t.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};t.prototype.onMinChanged=function(t){if(t){this.minAsDate=l(t)}};t.prototype.onMaxChanged=function(t){if(t){this.maxAsDate=l(t)}};t.prototype.activeHandler=function(){if(!this.disabled||!this.readOnly){this.reposition();return}this.active=false};t.prototype.handleDateOrRangeChange=function(){this.calciteInputDatePickerChange.emit()};t.prototype.calciteDaySelectHandler=function(){if(this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()){return}this.active=false};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.startInput)===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,i,n,r;return __generator(this,(function(s){switch(s.label){case 0:t=this,e=t.placement,a=t.popper,i=t.menuEl;n=this.getModifiers();if(!a)return[3,2];return[4,x({el:i,modifiers:n,placement:e,popper:a})];case 1:r=s.sent();return[3,3];case 2:r=this.createPopper();s.label=3;case 3:r;return[2]}}))}))};t.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(t){return l(t)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=l(this.value);this.start="";this.end=""}if(this.start){this.startAsDate=l(this.start)}if(this.end){this.endAsDate=l(this.end)}if(this.min){this.minAsDate=l(this.min)}if(this.max){this.maxAsDate=l(this.max)}this.createPopper();f(this);b(this);this.setFilteredPlacements()};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.loadLocaleData()];case 1:t.sent();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};t.prototype.disconnectedCallback=function(){var t;(t=this.containerEl)===null||t===void 0?void 0:t.removeEventListener("transitionstart",this.transitionStartHandler);this.destroyPopper();m(this);g(this)};t.prototype.componentDidRender=function(){C(this)};t.prototype.render=function(){var t,e;var a,r;var s=this,o=s.disabled,l=s.readOnly;var p=c(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var u=this.range?c(this.endAsDate,this.minAsDate,this.maxAsDate):null;var h=u?u.toLocaleDateString(this.locale):"";var d=p?p.toLocaleDateString(this.locale):"";return i(n,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&i("div",{"aria-expanded":_(this.active),class:"input-container",role:"application"},i("div",{class:"input-wrapper",ref:this.setStartWrapper},i("calcite-input",{class:"input ".concat(this.layout==="vertical"&&this.range?"no-bottom-border":""),disabled:o,icon:"calendar",label:v(this),"number-button-type":"none",onCalciteInputInput:this.inputInput,onCalciteInternalInputBlur:this.inputBlur,onCalciteInternalInputFocus:this.startInputFocus,placeholder:(a=this.localeData)===null||a===void 0?void 0:a.placeholder,readOnly:l,ref:this.setStartInput,scale:this.scale,type:"text",value:d})),i("div",{"aria-hidden":_(!this.active),class:(t={},t[E.menu]=true,t[E.menuActive]=this.active,t),ref:this.setMenuEl},i("div",{class:(e={},e["calendar-picker-wrapper"]=true,e["calendar-picker-wrapper--end"]=this.focusedInput==="end",e[A.animation]=true,e[A.animationActive]=this.active,e),onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},i("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&this.layout==="horizontal"&&i("div",{class:"horizontal-arrow-container"},i("calcite-icon",{flipRtl:true,icon:"arrow-right",scale:"s"})),this.range&&this.layout==="vertical"&&this.scale!=="s"&&i("div",{class:"vertical-arrow-container"},i("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&i("div",{class:"input-wrapper",ref:this.setEndWrapper},i("calcite-input",{class:{input:true,"border-top-color-one":this.layout==="vertical"&&this.range},disabled:o,icon:"calendar","number-button-type":"none",onCalciteInputInput:this.inputInput,onCalciteInternalInputBlur:this.inputBlur,onCalciteInternalInputFocus:this.endInputFocus,placeholder:(r=this.localeData)===null||r===void 0?void 0:r.placeholder,readOnly:l,ref:this.setEndInput,scale:this.scale,type:"text",value:h}))),i(w,{component:this}))};t.prototype.setReferenceEl=function(){var t=this,e=t.focusedInput,a=t.layout,i=t.endWrapper,n=t.startWrapper;this.referenceEl=e==="end"||a==="vertical"?i||n:n||i;this.createPopper()};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.onBeforeOpen=function(){this.calciteInputDatePickerBeforeOpen.emit()};t.prototype.onOpen=function(){this.calciteInputDatePickerOpen.emit()};t.prototype.onBeforeClose=function(){this.calciteInputDatePickerBeforeClose.emit()};t.prototype.onClose=function(){this.calciteInputDatePickerClose.emit()};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:this.filteredFlipPlacements||P};var e={name:"eventListeners",enabled:this.active};return[t,e]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,a=t.placement,i=t.referenceEl,n=t.overlayPositioning;if(!e||!i){return}var r=this.getModifiers();this.popper=I({el:e,modifiers:r,overlayPositioning:n,placement:a,referenceEl:i})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.startWatcher=function(t){this.startAsDate=l(t)};t.prototype.endWatcher=function(t){this.endAsDate=l(t)};t.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(a){switch(a.label){case 0:t=this.locale;e=this;return[4,p(t)];case 1:e.localeData=a.sent();return[2]}}))}))};t.prototype.clearCurrentValue=function(){if(!this.range){if(typeof this.value==="string"&&this.value){this.calciteDatePickerChange.emit()}this.value="";return}var t=this.focusedInput;if(t==="start"){if(this.start){this.calciteDatePickerRangeChange.emit()}this.value=Array.isArray(this.value)?["",this.value[1]||""]:[""];this.start=undefined}else if(t==="end"){if(this.end){this.calciteDatePickerRangeChange.emit()}this.value=Array.isArray(this.value)?[this.value[0]||"",""]:["",""];this.end=undefined}};t.prototype.input=function(t){var e=this.getDateFromInput(t);if(!e){this.clearCurrentValue();return}if(!this.range){this.value=o(e);this.calciteDatePickerChange.emit(e);return}var a=this.focusedInput;if(a==="start"){if(!this.startAsDate||!u(e,this.startAsDate)){var i=o(e);this.value=Array.isArray(this.value)?[i,this.value[1]||""]:[i];this.start=i;this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}}else if(a==="end"){if(!this.endAsDate||!u(e,this.endAsDate)){var n=o(e);this.value=Array.isArray(this.value)?[this.value[0]||"",n]:["",n];this.end=n;this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}}};t.prototype.blur=function(t){var e=this,a=e.locale,i=e.focusedInput,n=e.endAsDate,r=e.range,s=e.startAsDate,o=e.valueAsDate;var l=this.getDateFromInput(t.value);if(!l){if(!r&&o){t.value=Array.isArray(o)?o[i==="end"?1:0].toLocaleDateString(a):o.toLocaleDateString(a)}else if(i==="start"&&s){t.value=s.toLocaleDateString(a)}else if(i==="end"&&n){t.value=n.toLocaleDateString(a)}}};t.prototype.shouldFocusRangeStart=function(){return!!(this.endAsDate&&!this.startAsDate&&this.focusedInput==="end"&&this.startInput)};t.prototype.shouldFocusRangeEnd=function(){return!!(this.startAsDate&&!this.endAsDate&&this.focusedInput==="start"&&this.endInput)};t.prototype.getDateFromInput=function(t){if(!this.localeData){return false}var e=this.localeData.separator;var a=h(t,this.localeData),i=a.day,n=a.month,r=a.year;var s=i>0;var o=n>-1;var l=new Date(r,n,i);l.setFullYear(r);var c=!isNaN(l.getTime());var p=t.split(e).filter((function(t){return t})).length>2;var u=r.toString().length>0;if(s&&o&&c&&p&&u&&d(l,this.min,this.max)){return l}return false};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],min:["onMinChanged"],max:["onMaxChanged"],active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return t}());F.style=R}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function u(e){try{c(r["throw"](e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,u)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){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(e){return function(t){return c([e,t])}}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=t.call(e,n)}catch(e){o=[6,e];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.534
6
- */System.register(["./p-816708b1.system.js","./p-55eee874.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.a},function(e){n=e.a}],execute:function(){e({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(e){if(e===void 0){e=""}if(n.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!n.includes(e)){e=e.split("-")[0]}}return n.includes(e)?e:"en"}var i={};var a={};function o(e){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(c){switch(c.label){case 0:n=r(e);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(t("./assets/date-picker/nls/".concat(n,".json"))).then((function(e){return e.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(e,t,n){var r=e.getTime();var i=!(t instanceof Date)||r>=t.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function c(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var i=t instanceof Date&&r<t.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return t}if(a){return n}return e}function f(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function s(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function h(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function p(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function v(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function g(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function d(e,t){var n=t.separator,r=t.unitOrder;var i=w(r);var a=m(e).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function w(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function y(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var b=e("H",2);var D=e("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function r(e){try{c(n.next(e))}catch(e){o(e)}}function s(e){try{c(n["throw"](e))}catch(e){o(e)}}function c(e){e.done?i(e.value):a(e.value).then(r,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){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(e){return function(t){return c([e,t])}}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=t.call(e,i)}catch(e){r=[6,e];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(e,t,i){if(i||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};
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.534
6
- */System.register(["./p-816708b1.system.js","./p-de927315.system.js","./p-d9434d0e.system.js","./p-db15f317.system.js","./p-364affb4.system.js","./p-a8a240eb.system.js","./p-967a2bb9.system.js","./p-5bcda040.system.js","./p-69a78a11.system.js","./p-49037291.system.js","./p-fd322586.system.js"],(function(e){"use strict";var t,i,n,a,o,r,s,c,l,p,u,m,d,f,h,b,v,x,g,y,w,k,I,C,D,E,_,A,H,z,S,L,O;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;o=e.g},function(e){r=e.a;s=e.S;c=e.d},function(e){l=e.i;p=e.f},function(e){u=e.f;m=e.u;d=e.c;f=e.d;h=e.p;b=e.C},function(e){v=e.g},function(e){x=e.n;g=e.t;y=e.d;w=e.g},function(e){k=e.c;I=e.d;C=e.g},function(e){D=e.s;E=e.c;_=e.a;A=e.d;H=e.H},function(e){z=e.c},function(e){S=e.u},function(e){L=e.c;O=e.d}],execute:function(){function P(e,t){var i=-1,n=e==null?0:e.length,a=Array(n);while(++i<n){a[i]=t(e[i],i,e)}return a}var T=1/0;var M=s?s.prototype:undefined,F=M?M.toString:undefined;function V(e){if(typeof e=="string"){return e}if(l(e)){return P(e,V)+""}if(r(e)){return F?F.call(e):""}var t=e+"";return t=="0"&&1/e==-T?"-0":t}function B(e){return e==null?"":V(e)}var j=/[\\^$.*+?()[\]{}|]/g,R=RegExp(j.source);function N(e){e=B(e);return e&&R.test(e)?e.replace(j,"\\$&"):e}var X=function(e,t){var i=N(t);var n=new RegExp(i,"i");if(e.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(e,t){var i,n;if(((i=e)===null||i===void 0?void 0:i.constant)||((n=e)===null||n===void 0?void 0:n.filterDisabled)){return true}var o=false;p(e,(function(e){if(typeof e==="function"||e==null){return}if(Array.isArray(e)||typeof e==="object"&&e!==null){if(a(e,t)){o=true}}else if(t.test(e)){o=true}}));return o};var o=e.filter((function(e){return a(e,n)}));return o};var q="CALCITE-COMBOBOX-ITEM";var W="CALCITE-COMBOBOX-ITEM-GROUP";var Y="".concat(q,", ").concat(W);var G={removeTag:"Remove tag"};function U(e){var t,i;var n=(t=e.parentElement)===null||t===void 0?void 0:t.closest(Y);var a=(i=n===null||n===void 0?void 0:n.parentElement)===null||i===void 0?void 0:i.closest(Y);return[n,a].filter((function(e){return e}))}function $(e){var t;return((t=e.ancestors)===null||t===void 0?void 0:t.filter((function(e){return e.nodeName==="CALCITE-COMBOBOX-ITEM"})))||[]}function K(e){return x(e.querySelectorAll("calcite-combobox-item"))}function J(e){var t=x(e.querySelectorAll("calcite-combobox-item"));return t.filter((function(e){return e.selected})).length>0}function Q(e){var t=document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",e,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);return t.snapshotLength}var Z="@-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-color:transparent;-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-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline: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-block:0;padding-inline: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;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline: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-inline-size: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);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-block:0px;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;inline-size:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{inline-size: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}@media (forced-colors: active){.wrapper,.popper-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size: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-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var ee=function(e){return e.tagName===W};var te="combobox-item-";var ie="combobox-chip-";var ne="combobox-label-";var ae="combobox-listbox-";var oe="combobox-input-";var re=e("calcite_combobox",function(){function e(e){var n=this;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.calciteComboboxBeforeClose=i(this,"calciteComboboxBeforeClose",7);this.calciteComboboxClose=i(this,"calciteComboboxClose",7);this.calciteComboboxBeforeOpen=i(this,"calciteComboboxBeforeOpen",7);this.calciteComboboxOpen=i(this,"calciteComboboxOpen",7);this.active=false;this.open=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.required=false;this.selectionMode="multi";this.scale="m";this.value=null;this.intlRemoveTag=G.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=z("mutation",(function(){return n.updateItems()}));this.resizeObserver=z("resize",(function(){return n.setMaxScrollerHeight()}));this.guid=v();this.inputHeight=0;this.ignoreSelectedEventsFlag=false;this.activeTransitionProp="opacity";this.setFilteredPlacements=function(){var e=n,t=e.el,i=e.flipPlacements;n.filteredFlipPlacements=i?u(i,t):null};this.getValue=function(){var e=n.selectedItems.map((function(e){var t;return(t=e===null||e===void 0?void 0:e.value)===null||t===void 0?void 0:t.toString()}));return(e===null||e===void 0?void 0:e.length)?e.length>1?e:e[0]:""};this.onLabelClick=function(){n.setFocus()};this.keydownHandler=function(e){var t=e.key;switch(t){case"Tab":n.activeChipIndex=-1;n.activeItemIndex=-1;if(n.allowCustomValues&&n.text){n.addCustomChip(n.text,true);e.preventDefault()}else if(n.open||n.active){n.active=false;n.open=false;e.preventDefault()}break;case"ArrowLeft":n.previousChip();break;case"ArrowRight":n.nextChip();break;case"ArrowUp":n.shiftActiveItemIndex(-1);if(!n.comboboxInViewport()){n.el.scrollIntoView()}break;case"ArrowDown":if(!(n.open||n.active)){e.preventDefault();n.active=true;n.open=true}n.shiftActiveItemIndex(1);if(!n.comboboxInViewport()){n.el.scrollIntoView()}break;case" ":if(!n.textInput.value){e.preventDefault();n.active=true;n.open=true;n.shiftActiveItemIndex(1)}break;case"Home":if(n.open||n.active){e.preventDefault()}n.updateActiveItemIndex(0);n.scrollToActiveItem();if(!n.comboboxInViewport()){n.el.scrollIntoView()}break;case"End":if(n.open||n.active){e.preventDefault()}n.updateActiveItemIndex(n.visibleItems.length-1);n.scrollToActiveItem();if(!n.comboboxInViewport()){n.el.scrollIntoView()}break;case"Escape":n.active=false;n.open=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)}else if(!e.defaultPrevented){D(n)}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.open=false;n.el.removeEventListener("calciteComboboxClose",n.toggleCloseEnd)};this.toggleOpenEnd=function(){n.active=true;n.open=false;n.el.removeEventListener("calciteComboboxOpen",n.toggleOpenEnd)};this.transitionEnd=function(e){if(e.propertyName===n.activeTransitionProp){n.open||n.active?n.onOpen():n.onClose()}};this.transitionStartHandler=function(e){if(e.propertyName===n.activeTransitionProp){n.open||n.active?n.onBeforeOpen():n.onBeforeClose()}};this.setMaxScrollerHeight=function(){return __awaiter(n,void 0,void 0,(function(){var e,t,i,n,a,o;return __generator(this,(function(r){switch(r.label){case 0:e=this,t=e.active,i=e.listContainerEl,n=e.open;a=!(t||n);if(!i||a){return[2]}return[4,this.reposition()];case 1:r.sent();o=this.getMaxScrollerHeight();i.style.maxHeight=o>0?"".concat(o,"px"):"";return[4,this.reposition()];case 2:r.sent();return[2]}}))}))};this.calciteChipDismissHandler=function(e,t){n.active=false;n.open=false;var i=n.items.find((function(e){return e===t}));if(i){n.toggleSelection(i,false)}n.calciteComboboxChipDismiss.emit(e.detail)};this.clickHandler=function(e){if(e.composedPath().some((function(e){return e.tagName==="CALCITE-CHIP"}))){return}n.active=!n.active;n.open=!n.open;n.updateActiveItemIndex(0);n.setFocus()};this.setInactiveIfNotContained=function(e){var t=e.composedPath();var i=!(n.open||n.active);if(i||t.includes(n.el)||t.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;n.open=false};this.setMenuEl=function(e){n.menuEl=e};this.setListContainerEl=function(e){n.resizeObserver.observe(e);n.listContainerEl=e;n.listContainerEl.addEventListener("transitionstart",n.transitionStartHandler)};this.setReferenceEl=function(e){n.referenceEl=e};this.inputHandler=function(e){var t=e.target.value;n.text=t;n.filterItems(t);if(t){n.activeChipIndex=-1}};this.filterItems=function(){var e=function(e,t){return e&&t.some((function(t){var i=t.label,n=t.value;if(ee(e)){return n===e.label}return n===e.textLabel||n===e.value||i===e.textLabel||i===e.value}))};return c((function(t){var i=X(n.data,t);var a=n.getCombinedItems();a.forEach((function(t){var n=!e(t,i);t.hidden=n;var a=t.ancestors,o=a[0],r=a[1];if(e(o,i)||e(r,i)){t.hidden=false}if(!n){t.ancestors.forEach((function(e){return e.hidden=false}))}}));n.visibleItems=n.getVisibleItems();n.calciteComboboxFilterChange.emit({visibleItems:__spreadArray([],n.visibleItems,true),text:t})}),100)}();this.internalCalciteLookupChangeEvent=function(){n.calciteLookupChange.emit(n.selectedItems)};this.emitCalciteLookupChange=c(this.internalCalciteLookupChangeEvent,0);this.internalComboboxChangeEvent=function(){var e=n.selectedItems;n.calciteComboboxChange.emit({selectedItems:e})};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.scrollToActiveItem=function(){var e=n.visibleItems[n.activeItemIndex];var t=n.calculateSingleItemHeight(e);var i=n.listContainerEl,a=i.offsetHeight,o=i.scrollTop;if(a+o<e.offsetTop+t){n.listContainerEl.scrollTop=e.offsetTop-a+t}else if(e.offsetTop<o){n.listContainerEl.scrollTop=e.offsetTop}};this.comboboxFocusHandler=function(){var e;(e=n.textInput)===null||e===void 0?void 0:e.focus()};this.comboboxBlurHandler=function(e){n.setInactiveIfNotContained(e)}}e.prototype.activeHandler=function(){if(this.disabled){this.active=false;this.open=false;return}this.setMaxScrollerHeight()};e.prototype.handleDisabledChange=function(e){if(!e){this.active=false;this.open=false}};e.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};e.prototype.valueHandler=function(e){if(!this.internalValueChangeFlag){var t=this.getItems();if(Array.isArray(e)){t.forEach((function(t){return t.selected=e.includes(t.value)}))}else if(e){t.forEach((function(t){return t.selected=e===t.value}))}else{t.forEach((function(e){return e.selected=false}))}this.updateItems()}};e.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};e.prototype.documentClickHandler=function(e){this.setInactiveIfNotContained(e)};e.prototype.calciteComboboxItemChangeHandler=function(e){if(this.ignoreSelectedEventsFlag){return}var t=e.target;var i=this.visibleItems.indexOf(t);this.updateActiveItemIndex(i);this.toggleSelection(t,t.selected)};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,n,a;return __generator(this,(function(o){switch(o.label){case 0:e=this,t=e.popper,i=e.menuEl;n=this.getModifiers();if(!t)return[3,2];return[4,m({el:i,modifiers:n,placement:f,popper:t})];case 1:a=o.sent();return[3,3];case 2:a=this.createPopper();o.label=3;case 3:a;return[2]}}))}))};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.textInput)===null||e===void 0?void 0:e.focus();this.activeChipIndex=-1;this.activeItemIndex=-1;return[2]}))}))};e.prototype.connectedCallback=function(){var e;this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true});this.createPopper();k(this);E(this);this.setFilteredPlacements()};e.prototype.componentWillLoad=function(){this.updateItems()};e.prototype.componentDidLoad=function(){_(this,this.getValue())};e.prototype.componentDidRender=function(){if(this.el.offsetHeight!==this.inputHeight){this.reposition();this.inputHeight=this.el.offsetHeight}S(this)};e.prototype.disconnectedCallback=function(){var e,t,i;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect();this.destroyPopper();I(this);A(this);(i=this.listContainerEl)===null||i===void 0?void 0:i.removeEventListener("transitionstart",this.transitionStartHandler)};e.prototype.selectedItemsHandler=function(){this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false};e.prototype.textHandler=function(){this.updateActiveItemIndex(-1)};e.prototype.comboboxInViewport=function(){var e=this.el.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.right<=(window.innerWidth||document.documentElement.clientWidth)&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)};e.prototype.onBeforeOpen=function(){this.calciteComboboxBeforeOpen.emit()};e.prototype.onOpen=function(){this.calciteComboboxOpen.emit()};e.prototype.onBeforeClose=function(){this.calciteComboboxBeforeClose.emit()};e.prototype.onClose=function(){this.calciteComboboxClose.emit()};e.prototype.getModifiers=function(){var e={name:"flip",enabled:true};e.options={fallbackPlacements:this.filteredFlipPlacements||h};var t={name:"eventListeners",enabled:this.open||this.active};return[e,t]};e.prototype.createPopper=function(){this.destroyPopper();var e=this,t=e.menuEl,i=e.referenceEl,n=e.overlayPositioning;var a=this.getModifiers();this.popper=d({el:t,modifiers:a,overlayPositioning:n,placement:f,referenceEl:i})};e.prototype.destroyPopper=function(){var e=this.popper;if(e){e.destroy()}this.popper=null};e.prototype.getMaxScrollerHeight=function(){var e=this;var t=this.getCombinedItems().filter((function(e){return!e.hidden}));var i=this.maxItems;var n=0;var a=0;if(t.length>i){t.forEach((function(t){if(n<i&&i>0){var o=e.calculateSingleItemHeight(t);if(o>0){a+=o;n++}}}))}return a};e.prototype.calculateSingleItemHeight=function(e){var t=e.offsetHeight;var i=Array.from(e.querySelectorAll(Y));i.map((function(e){return e===null||e===void 0?void 0:e.offsetHeight})).forEach((function(e){t-=e}));return t};e.prototype.getCombinedItems=function(){return __spreadArray(__spreadArray([],this.groupItems,true),this.items,true)};e.prototype.toggleSelection=function(e,t){if(t===void 0){t=!e.selected}if(!e){return}if(this.isMulti()){e.selected=t;this.updateAncestors(e);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===e?t:false}));this.ignoreSelectedEventsFlag=false;this.selectedItems=this.getSelectedItems();this.emitComboboxChange();if(this.textInput){this.textInput.value=e.textLabel}this.active=false;this.open=false;this.updateActiveItemIndex(-1);this.resetText();this.filterItems("")}};e.prototype.updateAncestors=function(e){if(this.selectionMode!=="ancestors"){return}var t=$(e);var i=K(e);if(e.selected){t.forEach((function(e){e.selected=true}))}else{i.forEach((function(e){return e.selected=false}));__spreadArray([],t,true).forEach((function(e){if(!J(e)){e.selected=false}}))}};e.prototype.getVisibleItems=function(){return this.items.filter((function(e){return!e.hidden}))};e.prototype.getSelectedItems=function(){var e=this;if(!this.isMulti()){var t=this.items.find((function(e){var t=e.selected;return t}));return t?[t]:[]}return this.items.filter((function(t){return t.selected&&(e.selectionMode!=="ancestors"||!J(t))})).sort((function(t,i){var n=e.selectedItems.indexOf(t);var a=e.selectedItems.indexOf(i);if(n>-1&&a>-1){return n-a}return a-n}))};e.prototype.getData=function(){return this.items.map((function(e){return{constant:e.constant,filterDisabled:e.filterDisabled,value:e.value,label:e.textLabel}}))};e.prototype.getNeedsIcon=function(){return this.selectionMode==="single"&&this.items.some((function(e){return e.icon}))};e.prototype.resetText=function(){if(this.textInput){this.textInput.value=""}this.text=""};e.prototype.getItems=function(){var e=Array.from(this.el.querySelectorAll(q));return e.filter((function(e){return!e.disabled}))};e.prototype.getGroupItems=function(){return Array.from(this.el.querySelectorAll(W))};e.prototype.addCustomChip=function(e,t){var i=this.items.find((function(t){return t.textLabel===e}));if(i){this.toggleSelection(i,true)}else{if(!this.isMulti()){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false)}var n=document.createElement(q);n.value=e;n.textLabel=e;n.selected=true;this.el.appendChild(n);this.resetText();if(t){this.setFocus()}this.updateItems();this.filterItems("");this.emitCalciteLookupChange();this.emitComboboxChange()}};e.prototype.removeActiveChip=function(){this.toggleSelection(this.selectedItems[this.activeChipIndex],false);this.setFocus()};e.prototype.removeLastChip=function(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false);this.setFocus()};e.prototype.previousChip=function(){if(this.text){return}var e=this.selectedItems.length-1;var t=this.activeChipIndex;this.activeChipIndex=t===-1?e:Math.max(t-1,0);this.updateActiveItemIndex(-1);this.focusChip()};e.prototype.nextChip=function(){if(this.text||this.activeChipIndex===-1){return}var e=this.selectedItems.length-1;var t=this.activeChipIndex+1;if(t>e){this.activeChipIndex=-1;this.setFocus()}else{this.activeChipIndex=t;this.focusChip()}this.updateActiveItemIndex(-1)};e.prototype.focusChip=function(){var e;var t=(e=this.selectedItems[this.activeChipIndex])===null||e===void 0?void 0:e.guid;var i=t?this.referenceEl.querySelector("#".concat(ie).concat(t)):null;i===null||i===void 0?void 0:i.setFocus()};e.prototype.shiftActiveItemIndex=function(e){var t=this.visibleItems.length;var i=(this.activeItemIndex+t+e)%t;this.updateActiveItemIndex(i);this.scrollToActiveItem()};e.prototype.updateActiveItemIndex=function(e){var t;this.activeItemIndex=e;var i=null;this.visibleItems.forEach((function(t,n){if(n===e){t.active=true;i="".concat(te).concat(t.guid)}else{t.active=false}}));this.activeDescendant=i;if(this.activeItemIndex>-1){this.activeChipIndex=-1;(t=this.textInput)===null||t===void 0?void 0:t.focus()}};e.prototype.isMulti=function(){return this.selectionMode!=="single"};e.prototype.renderChips=function(){var e=this;var t=this,i=t.activeChipIndex,a=t.scale,o=t.selectionMode,r=t.intlRemoveTag;return this.selectedItems.map((function(t,s){var c={chip:true,"chip--active":i===s};var l=__spreadArray([],$(t),true).reverse();var p=__spreadArray(__spreadArray([],l,true),[t],false).map((function(e){return e.textLabel}));var u=o!=="ancestors"?t.textLabel:p.join(" / ");return n("calcite-chip",{class:c,dismissLabel:r,dismissible:true,icon:t.icon,id:t.guid?"".concat(ie).concat(t.guid):null,key:t.textLabel,onCalciteChipDismiss:function(i){return e.calciteChipDismissHandler(i,t)},scale:a,title:u,value:t.value},u)}))};e.prototype.renderInput=function(){var e=this;var t=this,i=t.guid,a=t.active,o=t.disabled,r=t.placeholder,s=t.selectionMode,c=t.needsIcon,l=t.selectedItems,p=t.open;var u=s==="single";var m=l[0];var d=!(p||a)&&u&&!!m;return n("span",{class:{"input-wrap":true,"input-wrap--single":u}},d&&n("span",{class:{label:true,"label--spaced":c},key:"label"},m.textLabel),n("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":"".concat(ae).concat(i),"aria-label":C(this),class:{input:true,"input--single":true,"input--transparent":this.activeChipIndex>-1,"input--hidden":d,"input--icon":u&&c},disabled:o,id:"".concat(oe).concat(i),key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:r,ref:function(t){return e.textInput=t},type:"text"}))};e.prototype.renderListBoxOptions=function(){return this.visibleItems.map((function(e){return n("li",{"aria-selected":g(e.selected),id:e.guid?"".concat(te).concat(e.guid):null,role:"option",tabindex:"-1"},e.textLabel)}))};e.prototype.renderPopperContainer=function(){var e;var t=this,i=t.active,a=t.setMenuEl,o=t.setListContainerEl,r=t.open;var s=(e={"list-container":true},e[b.animation]=true,e[b.animationActive]=r||i,e);return n("div",{"aria-hidden":"true",class:{"popper-container":true,"popper-container--active":r||i},ref:a},n("div",{class:s,onTransitionEnd:this.transitionEnd,ref:o},n("ul",{class:{list:true,"list--hide":!(r||i)}},n("slot",null))))};e.prototype.renderIconStart=function(){var e;var t=this,i=t.selectionMode,a=t.needsIcon,o=t.selectedItems,r=t.placeholderIcon;var s=o[0];return i==="single"&&a&&((s===null||s===void 0?void 0:s.icon)||r)&&n("span",{class:"icon-start"},n("calcite-icon",{class:"selected-icon",icon:(e=s===null||s===void 0?void 0:s.icon)!==null&&e!==void 0?e:r,scale:"s"}))};e.prototype.renderIconEnd=function(){var e=this,t=e.active,i=e.open;return n("span",{class:"icon-end"},n("calcite-icon",{icon:t||i?"chevron-up":"chevron-down",scale:"s"}))};e.prototype.render=function(){var e=this,t=e.active,i=e.guid,o=e.label,r=e.open;var s=this.selectionMode==="single";return n(a,{onKeyDown:this.keydownHandler},n("div",{"aria-autocomplete":"list","aria-expanded":g(r||t),"aria-haspopup":"listbox","aria-labelledby":"".concat(ne).concat(i),"aria-owns":"".concat(ae).concat(i),class:{wrapper:true,"wrapper--single":s||!this.selectedItems.length,"wrapper--active":r||t},onClick:this.clickHandler,ref:this.setReferenceEl,role:"combobox"},n("div",{class:"grid-input"},this.renderIconStart(),!s&&this.renderChips(),n("label",{class:"screen-readers-only",htmlFor:"".concat(oe).concat(i),id:"".concat(ne).concat(i)},o),this.renderInput()),this.renderIconEnd()),n("ul",{"aria-labelledby":"".concat(ne).concat(i),"aria-multiselectable":"true",class:"screen-readers-only",id:"".concat(ae).concat(i),role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderPopperContainer(),n(H,{component:this}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],open:["activeHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}},enumerable:false,configurable:true});return e}());re.style=Z;var se={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 ce='@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}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size: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-color:transparent;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline: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-block:0;padding-inline: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{-webkit-margin-before:-1px;margin-block-start:-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-inline-size: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 le=e("calcite_combobox_item",function(){function e(e){var n=this;t(this,e);this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",7);this.disabled=false;this.selected=false;this.active=false;this.guid=v();this.scale="m";this.itemClickHandler=function(e){e.preventDefault();if(n.disabled){return}n.selected=!n.selected}}e.prototype.selectedWatchHandler=function(){this.calciteComboboxItemChange.emit(this.el)};e.prototype.connectedCallback=function(){this.ancestors=U(this.el);this.scale=y(this.el,"scale",this.scale);L(this)};e.prototype.disconnectedCallback=function(){O(this)};e.prototype.componentDidRender=function(){S(this)};e.prototype.toggleSelected=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.disabled){return[2]}this.selected=typeof e==="boolean"?e:!this.selected;return[2]}))}))};e.prototype.renderIcon=function(e){var t,i;var a=this,o=a.icon,r=a.disabled,s=a.selected;var c="".concat(se.icon,"--indent");var l=e?"dot":"check";var p=r?"circle-disallowed":l;var u=e&&!o&&!r;return u?n("span",{class:(t={},t[se.icon]=true,t[se.dot]=true,t[c]=true,t)}):n("calcite-icon",{class:(i={},i[se.icon]=!o,i[se.custom]=!!o,i[se.iconActive]=o&&s,i[c]=true,i),icon:o||p,scale:"s"})};e.prototype.renderChildren=function(){if(w(this.el)){return n("ul",{key:"default-slot-container"},n("slot",null))}return null};e.prototype.render=function(){var e;var t=y(this.el,"selection-mode","multi")==="single";var i=(e={},e[se.label]=true,e[se.selected]=this.selected,e[se.active]=this.active,e[se.single]=t,e);var o=Q(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(t),n("span",{class:se.title},this.textLabel)),this.renderChildren()))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["selectedWatchHandler"]}},enumerable:false,configurable:true});return e}());le.style=ce;var pe={list:"list",label:"label",title:"title"};var ue="@-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}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size: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-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:0;margin-inline:var(--calcite-combobox-item-spacing-unit-s)}";var me=e("calcite_combobox_item_group",function(){function e(e){t(this,e);this.guid=v();this.scale="m"}e.prototype.connectedCallback=function(){this.ancestors=U(this.el);this.scale=y(this.el,"scale",this.scale)};e.prototype.render=function(){var e,t;var i=this,a=i.el,o=i.scale;var r="".concat(pe.label,"--indent-").concat(Q(a));return n("ul",{"aria-labelledby":this.guid,class:(e={},e[pe.list]=true,e["scale--".concat(o)]=true,e),role:"group"},n("li",{class:(t={},t[pe.label]=true,t[r]=true,t),id:this.guid,role:"presentation"},n("span",{class:pe.title},this.label)),n("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());me.style=ue}}}));
@@ -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.534
5
- */
6
- import{r as t,c as i,h as e,g as a}from"./p-e03b1783.js";import{S as n}from"./p-b64bbb7d.js";import{s as o,g as s}from"./p-b3835d89.js";import{c as l,d as c}from"./p-0b8038fc.js";import"./p-043e4e1e.js";import"./p-6e960d82.js";const r=class{constructor(e){t(this,e),this.calciteNoticeClose=i(this,"calciteNoticeClose",7),this.calciteNoticeOpen=i(this,"calciteNoticeOpen",7),this.active=!1,this.color="blue",this.dismissible=!1,this.closable=!1,this.intlClose="Close",this.scale="m",this.width="auto",this.close=()=>{this.active=!1,this.calciteNoticeClose.emit()}}updateRequestedIcon(){this.requestedIcon=o(n,this.icon,this.color)}connectedCallback(){l(this)}disconnectedCallback(){c(this)}componentWillLoad(){this.requestedIcon=o(n,this.icon,this.color)}render(){const{el:t}=this,i=e("button",{"aria-label":this.intlClose,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),a=s(t,"actions-end");return e("div",{class:"container"},this.requestedIcon?e("div",{class:"notice-icon"},e("calcite-icon",{icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"notice-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),a?e("div",{class:"actions-end"},e("slot",{name:"actions-end"})):null,this.closable||this.dismissible?i:null)}async setFocus(){const t=this.el.querySelector("calcite-link");(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}get el(){return a(this)}static get watchers(){return{icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}}};r.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([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;-ms-flex-align:center;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([active]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-block-size:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-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)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";export{r as calcite_notice}
@@ -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{l(n.next(t))}catch(t){o(t)}}function c(t){try{l(n["throw"](t))}catch(t){o(t)}}function l(t){t.done?i(t.value):a(t.value).then(r,c)}l((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:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return l([t,e])}}function l(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}}};
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.534
6
- */System.register(["./p-816708b1.system.js","./p-69a78a11.system.js","./p-49037291.system.js","./p-a8a240eb.system.js","./p-364affb4.system.js"],(function(t){"use strict";var e,i,n,a,o,r,c,l,s;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g;r=t.f},function(t){c=t.c},function(t){l=t.u},function(t){s=t.t},function(){}],execute:function(){var u={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible"};var d={loading:"Loading"};var b='@-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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent;--calcite-action-indicator-color: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]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-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-transition-property:margin;transition-property:margin;-webkit-transition-property:inline-size;transition-property:inline-size}.button .text-container--visible{inline-size:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{padding:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([alignment=center]) .button{-ms-flex-pack:center;justify-content:center}:host([alignment=end]) .button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{-ms-flex:0 1 auto;flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:-ms-flexbox;display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-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)}:host([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);-webkit-margin-end:0px;margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;z-index:10;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}';var f=t("calcite_action",function(){function t(t){var n=this;e(this,t);this.calciteActionClick=i(this,"calciteActionClick",7);this.active=false;this.appearance="solid";this.compact=false;this.disabled=false;this.indicator=false;this.intlLoading=d.loading;this.loading=false;this.scale="m";this.textEnabled=false;this.mutationObserver=c("mutation",(function(){return r(n)}));this.calciteActionClickHandler=function(){if(!n.disabled){n.calciteActionClick.emit()}}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.componentDidRender=function(){l(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.buttonEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderTextContainer=function(){var t;var e=this,i=e.text,a=e.textEnabled;var o=(t={},t[u.textContainer]=true,t[u.textContainerVisible]=a,t);return i?n("div",{class:o,key:"text-container"},i):null};t.prototype.renderIconContainer=function(){var t;var e;var i=this,a=i.loading,o=i.icon,r=i.scale,c=i.el,l=i.intlLoading;var s=r==="l"?"m":"s";var d=r==="l"?"l":"m";var b=a?n("calcite-loader",{active:true,inline:true,label:l,scale:d}):null;var f=o?n("calcite-icon",{icon:o,scale:s}):null;var m=b||f;var p=m||((e=c.children)===null||e===void 0?void 0:e.length);var h=n("div",{class:(t={},t[u.slotContainer]=true,t[u.slotContainerHidden]=a,t)},n("slot",null));return p?n("div",{"aria-hidden":"true",class:u.iconContainer,key:"icon-container"},m,h):null};t.prototype.render=function(){var t;var e=this;var i=this,o=i.compact,r=i.disabled,c=i.loading,l=i.textEnabled,d=i.label,b=i.text;var f=d||b;var m=(t={},t[u.button]=true,t[u.buttonTextVisible]=l,t[u.buttonCompact]=o,t);return n(a,{onClick:this.calciteActionClickHandler},n("button",{"aria-busy":s(c),"aria-disabled":s(r),"aria-label":f,class:m,disabled:r,ref:function(t){return e.buttonEl=t}},this.renderIconContainer(),this.renderTextContainer()))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());f.style=b}}}));
@@ -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.534
5
- */
6
- import{h as t}from"./p-e03b1783.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const n=`h${e.level}`;return delete e.level,t(n,{...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.534
5
- */
6
- System.register(["./p-816708b1.system.js","./p-69a78a11.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 s;var c={childList:true};function i(e){if(!s){s=n("mutation",a)}s.observe(e.el,c)}function o(e){r.delete(e.el);a(s.takeRecords());s.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];s.observe(i,c)}}function a(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));