@esri/calcite-components 1.0.0-next.284 → 1.0.0-next.288

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 (868) hide show
  1. package/CHANGELOG.md +14 -2
  2. package/dist/calcite/assets/calcite-icon/classifyObjects16.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/classifyObjects24.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/classifyObjects32.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/classifyPixels16.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/classifyPixels24.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/classifyPixels32.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/dataCloud16.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/dataCloud24.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/dataCloud32.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/dataFolder16.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/dataFolder24.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/dataFolder32.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/dataRaster16.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/dataRaster24.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/dataRaster32.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/gridUnit16.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/gridUnit24.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/gridUnit32.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/horizontalDistribute16.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/horizontalDistribute24.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/horizontalDistribute32.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/imageChips16.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/imageChips24.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/imageChips32.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/imageUnit16.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/imageUnit24.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/imageUnit32.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/newTraining16.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/newTraining24.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/newTraining32.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/retrain16.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/retrain24.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/retrain32.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/smartForm16.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/smartForm24.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/smartForm32.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/verticalDistribute16.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/verticalDistribute24.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/verticalDistribute32.json +1 -0
  47. package/dist/calcite/calcite.esm.js +5 -1
  48. package/dist/calcite/calcite.js +1 -1
  49. package/dist/calcite/index.esm.js +4 -0
  50. package/dist/calcite/p-00c20cb8.entry.js +5 -0
  51. package/dist/calcite/p-01574cc9.system.entry.js +5 -0
  52. package/dist/calcite/p-034b30d0.system.entry.js +5 -0
  53. package/dist/calcite/{p-c2cd9c1d.system.entry.js → p-0467efd5.system.entry.js} +5 -1
  54. package/dist/calcite/{p-caf80cd7.js → p-05bf835f.js} +5 -1
  55. package/dist/calcite/p-07ba39b6.js +5 -0
  56. package/dist/calcite/p-09ced3ff.system.entry.js +5 -0
  57. package/dist/calcite/p-0e30afe6.entry.js +5 -0
  58. package/dist/calcite/p-11071ac7.entry.js +5 -0
  59. package/dist/calcite/p-157d05ce.js +5 -0
  60. package/dist/calcite/p-16148eef.entry.js +5 -0
  61. package/dist/calcite/p-161fae80.entry.js +5 -0
  62. package/dist/calcite/p-1682482b.entry.js +5 -0
  63. package/dist/calcite/p-1800ca58.system.entry.js +5 -0
  64. package/dist/calcite/p-192289eb.system.entry.js +5 -0
  65. package/dist/calcite/{p-a54a11ee.system.entry.js → p-197382be.system.entry.js} +5 -1
  66. package/dist/calcite/p-1a27bf28.system.entry.js +5 -0
  67. package/dist/calcite/p-1b2c1f55.entry.js +5 -0
  68. package/dist/calcite/{p-53caa311.system.js → p-1d6404b5.system.js} +4 -0
  69. package/dist/calcite/p-1dc68118.system.entry.js +5 -0
  70. package/dist/calcite/p-1f17f6c6.entry.js +5 -0
  71. package/dist/calcite/p-1f27021e.entry.js +5 -0
  72. package/dist/calcite/p-1fb7138b.js +5 -0
  73. package/dist/calcite/p-22b45d8e.entry.js +5 -0
  74. package/dist/calcite/p-26508b91.js +5 -0
  75. package/dist/calcite/p-280404ef.system.entry.js +5 -0
  76. package/dist/calcite/p-28fecce5.system.entry.js +5 -0
  77. package/dist/calcite/p-294dbdf2.entry.js +5 -0
  78. package/dist/calcite/{p-771da7ed.system.entry.js → p-2b13e5a9.system.entry.js} +5 -1
  79. package/dist/calcite/p-2e53f47f.system.entry.js +5 -0
  80. package/dist/calcite/p-32faf98b.system.entry.js +5 -0
  81. package/dist/calcite/p-32fbf8cd.system.js +5 -0
  82. package/dist/calcite/p-33e58a20.entry.js +5 -0
  83. package/dist/calcite/p-34a6550f.system.entry.js +5 -0
  84. package/dist/calcite/p-34fdad31.entry.js +5 -0
  85. package/dist/calcite/p-36115e9d.system.entry.js +5 -0
  86. package/dist/calcite/{p-a6b26bd1.system.js → p-378ffa38.system.js} +4 -0
  87. package/dist/calcite/{p-efe6556c.system.entry.js → p-37fac73b.system.entry.js} +5 -1
  88. package/dist/calcite/{p-ef0ea98b.system.entry.js → p-380c71e8.system.entry.js} +5 -1
  89. package/dist/calcite/p-38daa875.entry.js +5 -0
  90. package/dist/calcite/p-38f1f404.entry.js +5 -0
  91. package/dist/calcite/p-3a529cc9.entry.js +5 -0
  92. package/dist/calcite/p-3b17d8d0.system.js +5 -0
  93. package/dist/calcite/p-3db2dc30.system.entry.js +5 -0
  94. package/dist/calcite/{p-5a1b0338.system.js → p-4035444d.system.js} +5 -1
  95. package/dist/calcite/p-42c1ceea.system.entry.js +5 -0
  96. package/dist/calcite/p-43c9ac47.entry.js +5 -0
  97. package/dist/calcite/p-45b13361.system.entry.js +5 -0
  98. package/dist/calcite/{p-defdc464.system.js → p-47313747.system.js} +4 -0
  99. package/dist/calcite/p-477bac2c.system.js +5 -0
  100. package/dist/calcite/p-4805ca9a.system.entry.js +5 -0
  101. package/dist/calcite/p-48d862ab.system.entry.js +5 -0
  102. package/dist/calcite/p-49dfc82d.system.entry.js +5 -0
  103. package/dist/calcite/p-49fcc674.entry.js +5 -0
  104. package/dist/calcite/p-4b2f69cc.entry.js +5 -0
  105. package/dist/calcite/p-4ba0e355.entry.js +5 -0
  106. package/dist/calcite/p-4de6f4fd.system.js +5 -0
  107. package/dist/calcite/p-50e1a7c9.system.entry.js +5 -0
  108. package/dist/calcite/p-5376ff1d.entry.js +5 -0
  109. package/dist/calcite/{p-95dfb659.system.js → p-56b352bf.system.js} +4 -0
  110. package/dist/calcite/{p-39b743d9.system.entry.js → p-5accac7d.system.entry.js} +5 -1
  111. package/dist/calcite/p-5b87b98f.system.entry.js +5 -0
  112. package/dist/calcite/p-5cab6853.js +5 -0
  113. package/dist/calcite/{p-dc825c55.js → p-5fda3de2.js} +5 -1
  114. package/dist/calcite/{p-23b87c6a.system.entry.js → p-6235a763.system.entry.js} +5 -1
  115. package/dist/calcite/p-6281ab45.system.entry.js +5 -0
  116. package/dist/calcite/p-649b9bf0.entry.js +5 -0
  117. package/dist/calcite/p-66845ec0.entry.js +5 -0
  118. package/dist/calcite/{p-2a9b4a25.system.js → p-6a541e77.system.js} +5 -1
  119. package/dist/calcite/p-6bdedd7f.system.js +5 -0
  120. package/dist/calcite/p-6fe5f2de.system.entry.js +5 -0
  121. package/dist/calcite/{p-cebd4de5.js → p-72563742.js} +4 -0
  122. package/dist/calcite/p-773b9826.system.entry.js +5 -0
  123. package/dist/calcite/p-7839d1c9.entry.js +5 -0
  124. package/dist/calcite/p-7878aa7c.entry.js +5 -0
  125. package/dist/calcite/p-78820fed.system.entry.js +5 -0
  126. package/dist/calcite/p-7bcd2eb9.system.js +5 -0
  127. package/dist/calcite/p-7ed4c551.system.js +5 -0
  128. package/dist/calcite/{p-7c5c2b30.js → p-7fab451d.js} +5 -1
  129. package/dist/calcite/p-7fed4823.entry.js +5 -0
  130. package/dist/calcite/p-800874fd.entry.js +5 -0
  131. package/dist/calcite/p-8655c0a1.entry.js +5 -0
  132. package/dist/calcite/p-86788d34.entry.js +5 -0
  133. package/dist/calcite/p-8967b27b.entry.js +5 -0
  134. package/dist/calcite/p-89b4e322.system.entry.js +5 -0
  135. package/dist/calcite/p-8a535973.entry.js +5 -0
  136. package/dist/calcite/p-8a63221d.js +5 -0
  137. package/dist/calcite/p-8efb43fc.entry.js +5 -0
  138. package/dist/calcite/p-914c3cc4.system.js +5 -0
  139. package/dist/calcite/p-91645bf7.system.js +5 -0
  140. package/dist/calcite/p-91889ade.system.entry.js +5 -0
  141. package/dist/calcite/{p-90b88d97.system.entry.js → p-9358deb1.system.entry.js} +5 -1
  142. package/dist/calcite/{p-00f2f64d.system.entry.js → p-975ca343.system.entry.js} +5 -1
  143. package/dist/calcite/{p-8c9b39be.system.js → p-9965ea81.system.js} +5 -1
  144. package/dist/calcite/p-9cad254a.entry.js +5 -0
  145. package/dist/calcite/p-9d04923b.entry.js +5 -0
  146. package/dist/calcite/p-9ff5b403.entry.js +5 -0
  147. package/dist/calcite/p-a0c02648.system.js +5 -0
  148. package/dist/calcite/p-a1911108.entry.js +5 -0
  149. package/dist/calcite/{p-8dc31333.js → p-a20df95c.js} +5 -1
  150. package/dist/calcite/p-a4f2cc4c.entry.js +5 -0
  151. package/dist/calcite/p-a5a50052.entry.js +5 -0
  152. package/dist/calcite/{p-55f7adaa.system.entry.js → p-a5bbfe14.system.entry.js} +5 -1
  153. package/dist/calcite/{p-19ac376f.js → p-a62de092.js} +4 -0
  154. package/dist/calcite/p-a8c759ae.system.js +5 -0
  155. package/dist/calcite/{p-170fb8e8.system.entry.js → p-a8cd5cde.system.entry.js} +5 -1
  156. package/dist/calcite/p-a923201d.system.entry.js +5 -0
  157. package/dist/calcite/p-a97338b7.entry.js +5 -0
  158. package/dist/calcite/p-aa53b2aa.system.entry.js +5 -0
  159. package/dist/calcite/p-aad45edf.system.js +5 -0
  160. package/dist/calcite/{p-82a11724.system.js → p-ac9607f2.system.js} +4 -0
  161. package/dist/calcite/p-accdb0ce.js +5 -0
  162. package/dist/calcite/p-adfa75fa.entry.js +5 -0
  163. package/dist/calcite/p-ae4f203c.system.entry.js +5 -0
  164. package/dist/calcite/{p-58421494.js → p-b06207bb.js} +4 -0
  165. package/dist/calcite/p-b1a670dd.system.entry.js +5 -0
  166. package/dist/calcite/p-b2ab0485.js +5 -0
  167. package/dist/calcite/{p-79e0b61b.system.entry.js → p-b5c2dfce.system.entry.js} +5 -1
  168. package/dist/calcite/{p-7b71e1d4.js → p-b7d3039d.js} +5 -1
  169. package/dist/calcite/p-b95dbc48.system.entry.js +5 -0
  170. package/dist/calcite/p-bb577ef7.system.entry.js +5 -0
  171. package/dist/calcite/{p-675364da.system.entry.js → p-bb916828.system.entry.js} +5 -1
  172. package/dist/calcite/p-bc56ab40.entry.js +5 -0
  173. package/dist/calcite/p-bdd6ec61.entry.js +5 -0
  174. package/dist/calcite/p-bee79057.system.entry.js +5 -0
  175. package/dist/calcite/p-c026ce05.entry.js +5 -0
  176. package/dist/calcite/p-c198f23c.entry.js +5 -0
  177. package/dist/calcite/{p-19d3b749.system.entry.js → p-c3922ef7.system.entry.js} +5 -1
  178. package/dist/calcite/p-c57f8690.entry.js +5 -0
  179. package/dist/calcite/{p-a57a7f49.js → p-c5ec8d74.js} +4 -0
  180. package/dist/calcite/p-c74fc589.system.js +5 -0
  181. package/dist/calcite/p-c7b4e11f.entry.js +5 -0
  182. package/dist/calcite/{p-8a30b93d.system.js → p-caf7085a.system.js} +4 -0
  183. package/dist/calcite/p-cb44170e.system.js +5 -0
  184. package/dist/calcite/p-cb87824b.entry.js +5 -0
  185. package/dist/calcite/{p-30f1442b.js → p-cbdf0e6c.js} +4 -0
  186. package/dist/calcite/p-cf512cfc.system.entry.js +5 -0
  187. package/dist/calcite/p-d1b49fa1.system.entry.js +5 -0
  188. package/dist/calcite/p-d24c670c.system.entry.js +5 -0
  189. package/dist/calcite/p-d35a300b.entry.js +5 -0
  190. package/dist/calcite/{p-18a62b5e.js → p-d35e423d.js} +4 -0
  191. package/dist/calcite/p-d7756753.entry.js +5 -0
  192. package/dist/calcite/p-daf4bb66.js +5 -0
  193. package/dist/calcite/p-db10485b.system.js +5 -0
  194. package/dist/calcite/p-dd92cde1.entry.js +5 -0
  195. package/dist/calcite/{p-2c235db8.system.js → p-e020662f.system.js} +4 -0
  196. package/dist/calcite/p-e3ea64dc.entry.js +5 -0
  197. package/dist/calcite/p-e4acb5a8.js +5 -0
  198. package/dist/calcite/p-e524bf4d.system.entry.js +5 -0
  199. package/dist/calcite/p-e6cc7798.entry.js +5 -0
  200. package/dist/calcite/p-e6ec69cf.entry.js +5 -0
  201. package/dist/calcite/{p-835b14f7.system.entry.js → p-eb027f31.system.entry.js} +5 -1
  202. package/dist/calcite/p-edc12d5c.entry.js +5 -0
  203. package/dist/calcite/p-efbf0d26.entry.js +5 -0
  204. package/dist/calcite/{p-ea51eaaa.js → p-f07d3627.js} +5 -1
  205. package/dist/calcite/{p-59f7b582.system.entry.js → p-f1cf1a10.system.entry.js} +5 -1
  206. package/dist/calcite/p-f243b615.js +5 -0
  207. package/dist/calcite/p-f33a21cf.system.entry.js +5 -0
  208. package/dist/calcite/p-f9428f19.system.entry.js +5 -0
  209. package/dist/calcite/p-fc0b3ef2.entry.js +5 -0
  210. package/dist/calcite/p-fe3880f2.entry.js +5 -0
  211. package/dist/calcite/p-ffb8f0a9.system.entry.js +5 -0
  212. package/dist/cjs/{CalciteExpandToggle-b5735fd2.js → CalciteExpandToggle-0d802f83.js} +8 -4
  213. package/dist/cjs/{CalciteHeading-177f59f2.js → CalciteHeading-381b977d.js} +5 -1
  214. package/dist/cjs/array-a5dedf5a.js +11 -0
  215. package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -6
  216. package/dist/cjs/calcite-action-bar.cjs.entry.js +13 -9
  217. package/dist/cjs/calcite-action-group.cjs.entry.js +10 -6
  218. package/dist/cjs/calcite-action-menu.cjs.entry.js +11 -7
  219. package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -7
  220. package/dist/cjs/calcite-action.cjs.entry.js +9 -5
  221. package/dist/cjs/calcite-alert.cjs.entry.js +9 -5
  222. package/dist/cjs/calcite-avatar.cjs.entry.js +9 -5
  223. package/dist/cjs/calcite-block_2.cjs.entry.js +22 -15
  224. package/dist/cjs/calcite-button.cjs.entry.js +10 -6
  225. package/dist/cjs/calcite-card.cjs.entry.js +9 -5
  226. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -6
  227. package/dist/cjs/calcite-chip.cjs.entry.js +8 -4
  228. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -10
  229. package/dist/cjs/calcite-combobox_3.cjs.entry.js +17 -13
  230. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -15
  231. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -9
  232. package/dist/cjs/calcite-fab.cjs.entry.js +8 -4
  233. package/dist/cjs/calcite-filter.cjs.entry.js +10 -6
  234. package/dist/cjs/calcite-flow.cjs.entry.js +7 -3
  235. package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -8
  236. package/dist/cjs/calcite-handle.cjs.entry.js +6 -2
  237. package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
  238. package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -5
  239. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +14 -10
  240. package/dist/cjs/calcite-input-message.cjs.entry.js +8 -4
  241. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -8
  242. package/dist/cjs/calcite-input.cjs.entry.js +18 -19
  243. package/dist/cjs/calcite-label.cjs.entry.js +9 -5
  244. package/dist/cjs/calcite-link.cjs.entry.js +8 -4
  245. package/dist/cjs/calcite-list_3.cjs.entry.js +11 -7
  246. package/dist/cjs/calcite-loader.cjs.entry.js +7 -3
  247. package/dist/cjs/calcite-modal.cjs.entry.js +10 -6
  248. package/dist/cjs/calcite-notice.cjs.entry.js +9 -5
  249. package/dist/cjs/calcite-option_3.cjs.entry.js +12 -8
  250. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -4
  251. package/dist/cjs/calcite-panel.cjs.entry.js +10 -6
  252. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -11
  253. package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -7
  254. package/dist/cjs/calcite-progress.cjs.entry.js +6 -2
  255. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +6 -2
  256. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +12 -8
  257. package/dist/cjs/calcite-radio_2.cjs.entry.js +11 -7
  258. package/dist/cjs/calcite-rating.cjs.entry.js +9 -5
  259. package/dist/cjs/calcite-scrim.cjs.entry.js +6 -2
  260. package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -6
  261. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -4
  262. package/dist/cjs/calcite-split-button.cjs.entry.js +8 -4
  263. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -6
  264. package/dist/cjs/calcite-switch.cjs.entry.js +11 -7
  265. package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -9
  266. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +9 -5
  267. package/dist/cjs/calcite-tile.cjs.entry.js +8 -4
  268. package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -8
  269. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +11 -7
  270. package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -6
  271. package/dist/cjs/calcite-value-list_2.cjs.entry.js +14 -10
  272. package/dist/cjs/calcite.cjs.js +6 -2
  273. package/dist/cjs/{debounce-11980960.js → debounce-95979061.js} +4 -0
  274. package/dist/cjs/{dom-c9cafa59.js → dom-19822169.js} +5 -1
  275. package/dist/cjs/{forIn-46535ded.js → forIn-a5d553af.js} +5 -1
  276. package/dist/cjs/{form-432ae178.js → form-00fb301c.js} +4 -0
  277. package/dist/cjs/{guid-4637ad8f.js → guid-b270f0db.js} +4 -0
  278. package/dist/cjs/{index-105d9087.js → index-1987a382.js} +4 -0
  279. package/dist/cjs/index.cjs.js +4 -0
  280. package/dist/cjs/{interfaces-bc0f5779.js → interfaces-54651c1c.js} +4 -0
  281. package/dist/cjs/{key-f470de4c.js → key-8bfb93ec.js} +4 -0
  282. package/dist/cjs/{label-80f9023b.js → label-4c30cbca.js} +5 -1
  283. package/dist/cjs/loader.cjs.js +6 -2
  284. package/dist/cjs/{locale-eb4486ae.js → locale-69dc9583.js} +5 -1
  285. package/dist/cjs/math-9d44163f.js +9 -0
  286. package/dist/cjs/{number-77308374.js → number-e6448e15.js} +5 -5
  287. package/dist/cjs/{observers-88b3a2d4.js → observers-41837607.js} +4 -0
  288. package/dist/cjs/{popper-a103e375.js → popper-cd9c0742.js} +36 -32
  289. package/dist/cjs/{resources-ae299e51.js → resources-407a4290.js} +4 -0
  290. package/dist/cjs/{resources-41daa7d4.js → resources-7dcd68d1.js} +6 -2
  291. package/dist/cjs/{resources-bbca3cea.js → resources-d0619f6a.js} +8 -4
  292. package/dist/cjs/{resources-76637167.js → resources-ffe563a2.js} +4 -0
  293. package/dist/cjs/{sortable.esm-bcce1d94.js → sortable.esm-d7a4560b.js} +4 -0
  294. package/dist/cjs/{utils-d549a0a9.js → utils-55d67711.js} +4 -0
  295. package/dist/collection/collection-manifest.json +1 -1
  296. package/dist/collection/components/calcite-accordion/calcite-accordion.js +4 -0
  297. package/dist/collection/components/calcite-accordion/interfaces.js +4 -0
  298. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +4 -0
  299. package/dist/collection/components/calcite-action/calcite-action.js +4 -0
  300. package/dist/collection/components/calcite-action/resources.js +4 -0
  301. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +4 -0
  302. package/dist/collection/components/calcite-action-bar/resources.js +4 -0
  303. package/dist/collection/components/calcite-action-bar/utils.js +4 -0
  304. package/dist/collection/components/calcite-action-group/calcite-action-group.js +4 -0
  305. package/dist/collection/components/calcite-action-group/resources.js +4 -0
  306. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +4 -0
  307. package/dist/collection/components/calcite-action-menu/resources.js +4 -0
  308. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +4 -0
  309. package/dist/collection/components/calcite-action-pad/resources.js +4 -0
  310. package/dist/collection/components/calcite-alert/calcite-alert.js +4 -0
  311. package/dist/collection/components/calcite-alert/interfaces.js +4 -0
  312. package/dist/collection/components/calcite-alert/resources.js +4 -0
  313. package/dist/collection/components/calcite-avatar/calcite-avatar.js +4 -0
  314. package/dist/collection/components/calcite-avatar/utils.js +4 -0
  315. package/dist/collection/components/calcite-block/calcite-block.css +18 -0
  316. package/dist/collection/components/calcite-block/calcite-block.js +11 -6
  317. package/dist/collection/components/calcite-block/resources.js +8 -2
  318. package/dist/collection/components/calcite-block-section/calcite-block-section.js +4 -0
  319. package/dist/collection/components/calcite-block-section/interfaces.js +4 -0
  320. package/dist/collection/components/calcite-block-section/resources.js +4 -0
  321. package/dist/collection/components/calcite-button/calcite-button.js +4 -0
  322. package/dist/collection/components/calcite-button/interfaces.js +4 -0
  323. package/dist/collection/components/calcite-button/resources.js +4 -0
  324. package/dist/collection/components/calcite-card/calcite-card.js +4 -0
  325. package/dist/collection/components/calcite-card/resources.js +4 -0
  326. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +4 -0
  327. package/dist/collection/components/calcite-chip/calcite-chip.js +4 -0
  328. package/dist/collection/components/calcite-chip/interfaces.js +4 -0
  329. package/dist/collection/components/calcite-chip/resources.js +4 -0
  330. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +4 -0
  331. package/dist/collection/components/calcite-color-picker/interfaces.js +4 -0
  332. package/dist/collection/components/calcite-color-picker/resources.js +4 -0
  333. package/dist/collection/components/calcite-color-picker/utils.js +4 -0
  334. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -0
  335. package/dist/collection/components/calcite-color-picker-hex-input/resources.js +4 -0
  336. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +4 -0
  337. package/dist/collection/components/calcite-color-picker-swatch/resources.js +4 -0
  338. package/dist/collection/components/calcite-combobox/calcite-combobox.js +4 -0
  339. package/dist/collection/components/calcite-combobox/interfaces.js +4 -0
  340. package/dist/collection/components/calcite-combobox/resources.js +4 -0
  341. package/dist/collection/components/calcite-combobox/utils.js +4 -0
  342. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +1 -1
  343. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +4 -0
  344. package/dist/collection/components/calcite-combobox-item/resources.js +4 -0
  345. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +4 -0
  346. package/dist/collection/components/calcite-combobox-item-group/resources.js +4 -0
  347. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +4 -0
  348. package/dist/collection/components/calcite-date-picker/interfaces.js +4 -0
  349. package/dist/collection/components/calcite-date-picker/resources.js +4 -0
  350. package/dist/collection/components/calcite-date-picker/utils.js +4 -0
  351. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -1
  352. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +4 -0
  353. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +1 -1
  354. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +4 -0
  355. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -1
  356. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +4 -0
  357. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +0 -1
  358. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +4 -0
  359. package/dist/collection/components/calcite-dropdown/interfaces.js +4 -0
  360. package/dist/collection/components/calcite-dropdown/resources.js +4 -0
  361. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +4 -0
  362. package/dist/collection/components/calcite-dropdown-group/interfaces.js +4 -0
  363. package/dist/collection/components/calcite-dropdown-group/resources.js +4 -0
  364. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -0
  365. package/dist/collection/components/calcite-dropdown-item/resources.js +4 -0
  366. package/dist/collection/components/calcite-fab/calcite-fab.js +4 -0
  367. package/dist/collection/components/calcite-fab/resources.js +4 -0
  368. package/dist/collection/components/calcite-filter/calcite-filter.js +4 -0
  369. package/dist/collection/components/calcite-filter/resources.js +4 -0
  370. package/dist/collection/components/calcite-flow/calcite-flow.js +4 -0
  371. package/dist/collection/components/calcite-flow/interfaces.js +4 -0
  372. package/dist/collection/components/calcite-flow/resources.js +4 -0
  373. package/dist/collection/components/calcite-graph/calcite-graph.js +4 -0
  374. package/dist/collection/components/calcite-graph/interfaces.js +4 -0
  375. package/dist/collection/components/calcite-graph/util.js +4 -0
  376. package/dist/collection/components/calcite-handle/calcite-handle.js +4 -0
  377. package/dist/collection/components/calcite-handle/resources.js +4 -0
  378. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects16.json +1 -0
  379. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects24.json +1 -0
  380. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects32.json +1 -0
  381. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels16.json +1 -0
  382. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels24.json +1 -0
  383. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels32.json +1 -0
  384. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud16.json +1 -0
  385. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud24.json +1 -0
  386. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud32.json +1 -0
  387. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder16.json +1 -0
  388. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder24.json +1 -0
  389. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder32.json +1 -0
  390. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster16.json +1 -0
  391. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster24.json +1 -0
  392. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster32.json +1 -0
  393. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
  394. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
  395. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
  396. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
  397. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
  398. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
  399. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit16.json +1 -0
  400. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit24.json +1 -0
  401. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit32.json +1 -0
  402. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute16.json +1 -0
  403. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute24.json +1 -0
  404. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute32.json +1 -0
  405. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips16.json +1 -0
  406. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips24.json +1 -0
  407. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips32.json +1 -0
  408. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit16.json +1 -0
  409. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit24.json +1 -0
  410. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit32.json +1 -0
  411. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining16.json +1 -0
  412. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining24.json +1 -0
  413. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining32.json +1 -0
  414. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain16.json +1 -0
  415. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain24.json +1 -0
  416. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain32.json +1 -0
  417. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm16.json +1 -0
  418. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm24.json +1 -0
  419. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm32.json +1 -0
  420. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute16.json +1 -0
  421. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute24.json +1 -0
  422. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute32.json +1 -0
  423. package/dist/collection/components/calcite-icon/calcite-icon.js +4 -0
  424. package/dist/collection/components/calcite-icon/resources.js +4 -0
  425. package/dist/collection/components/calcite-icon/utils.js +4 -0
  426. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +4 -0
  427. package/dist/collection/components/calcite-inline-editable/resources.js +4 -0
  428. package/dist/collection/components/calcite-input/calcite-input.js +10 -11
  429. package/dist/collection/components/calcite-input/interfaces.js +4 -0
  430. package/dist/collection/components/calcite-input/resources.js +4 -0
  431. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +4 -0
  432. package/dist/collection/components/calcite-input-message/calcite-input-message.js +4 -0
  433. package/dist/collection/components/calcite-input-message/interfaces.js +4 -0
  434. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +4 -0
  435. package/dist/collection/components/calcite-label/calcite-label.js +6 -2
  436. package/dist/collection/components/calcite-label/resources.js +4 -0
  437. package/dist/collection/components/calcite-link/calcite-link.js +4 -0
  438. package/dist/collection/components/calcite-list/calcite-list.js +4 -0
  439. package/dist/collection/components/calcite-list/resources.js +4 -0
  440. package/dist/collection/components/calcite-list-item/calcite-list-item.js +4 -0
  441. package/dist/collection/components/calcite-list-item/resources.js +4 -0
  442. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.js +4 -0
  443. package/dist/collection/components/calcite-list-item-group/resources.js +4 -0
  444. package/dist/collection/components/calcite-loader/calcite-loader.js +4 -0
  445. package/dist/collection/components/calcite-modal/calcite-modal.js +4 -0
  446. package/dist/collection/components/calcite-modal/interfaces.js +4 -0
  447. package/dist/collection/components/calcite-modal/resources.js +4 -0
  448. package/dist/collection/components/calcite-notice/calcite-notice.js +4 -0
  449. package/dist/collection/components/calcite-notice/resources.js +4 -0
  450. package/dist/collection/components/calcite-option/calcite-option.js +4 -0
  451. package/dist/collection/components/calcite-option-group/calcite-option-group.js +4 -0
  452. package/dist/collection/components/calcite-pagination/calcite-pagination.js +4 -0
  453. package/dist/collection/components/calcite-pagination/resources.js +4 -0
  454. package/dist/collection/components/calcite-panel/calcite-panel.js +4 -0
  455. package/dist/collection/components/calcite-panel/resources.js +4 -0
  456. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +4 -0
  457. package/dist/collection/components/calcite-pick-list/resources.js +4 -0
  458. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -0
  459. package/dist/collection/components/calcite-pick-list/shared-list-render.js +4 -0
  460. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +4 -0
  461. package/dist/collection/components/calcite-pick-list-group/resources.js +4 -0
  462. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +4 -0
  463. package/dist/collection/components/calcite-pick-list-item/resources.js +4 -0
  464. package/dist/collection/components/calcite-popover/calcite-popover.js +4 -0
  465. package/dist/collection/components/calcite-popover/resources.js +4 -0
  466. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +4 -0
  467. package/dist/collection/components/calcite-progress/calcite-progress.js +4 -0
  468. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -0
  469. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +4 -0
  470. package/dist/collection/components/calcite-radio-button/resources.js +4 -0
  471. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +4 -0
  472. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +4 -0
  473. package/dist/collection/components/calcite-radio-group/interfaces.js +4 -0
  474. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +4 -0
  475. package/dist/collection/components/calcite-radio-group-item/resources.js +4 -0
  476. package/dist/collection/components/calcite-rating/calcite-rating.js +4 -0
  477. package/dist/collection/components/calcite-rating/resources.js +4 -0
  478. package/dist/collection/components/calcite-scrim/calcite-scrim.js +4 -0
  479. package/dist/collection/components/calcite-scrim/resources.js +4 -0
  480. package/dist/collection/components/calcite-select/calcite-select.js +4 -0
  481. package/dist/collection/components/calcite-select/resources.js +4 -0
  482. package/dist/collection/components/calcite-shell/calcite-shell.js +4 -0
  483. package/dist/collection/components/calcite-shell/resources.js +4 -0
  484. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +4 -0
  485. package/dist/collection/components/calcite-shell-center-row/resources.js +4 -0
  486. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +4 -0
  487. package/dist/collection/components/calcite-shell-panel/resources.js +4 -0
  488. package/dist/collection/components/calcite-slider/calcite-slider.js +4 -0
  489. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +4 -0
  490. package/dist/collection/components/calcite-sortable-list/resources.js +4 -0
  491. package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -0
  492. package/dist/collection/components/calcite-split-button/resources.js +4 -0
  493. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -0
  494. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +4 -0
  495. package/dist/collection/components/calcite-switch/calcite-switch.js +4 -0
  496. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -0
  497. package/dist/collection/components/calcite-tab/interfaces.js +4 -0
  498. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +4 -0
  499. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +4 -0
  500. package/dist/collection/components/calcite-tabs/calcite-tabs.js +4 -0
  501. package/dist/collection/components/calcite-tabs/interfaces.js +4 -0
  502. package/dist/collection/components/calcite-tabs/resources.js +4 -0
  503. package/dist/collection/components/calcite-tile/calcite-tile.js +4 -0
  504. package/dist/collection/components/calcite-tile/resources.js +4 -0
  505. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -0
  506. package/dist/collection/components/calcite-tile-select/interfaces.js +4 -0
  507. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +4 -0
  508. package/dist/collection/components/calcite-tile-select-group/interfaces.js +4 -0
  509. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +4 -0
  510. package/dist/collection/components/calcite-time-picker/resources.js +4 -0
  511. package/dist/collection/components/calcite-tip/calcite-tip.js +4 -0
  512. package/dist/collection/components/calcite-tip/resources.js +4 -0
  513. package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +4 -0
  514. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +4 -0
  515. package/dist/collection/components/calcite-tip-manager/resources.js +4 -0
  516. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +4 -0
  517. package/dist/collection/components/calcite-tooltip/resources.js +4 -0
  518. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +4 -0
  519. package/dist/collection/components/calcite-tree/calcite-tree.js +4 -0
  520. package/dist/collection/components/calcite-tree/interfaces.js +4 -0
  521. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +4 -0
  522. package/dist/collection/components/calcite-tree-item/interfaces.js +4 -0
  523. package/dist/collection/components/calcite-tree-item/resources.js +4 -0
  524. package/dist/collection/components/calcite-value-list/calcite-value-list.js +5 -1
  525. package/dist/collection/components/calcite-value-list/resources.js +4 -0
  526. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +4 -0
  527. package/dist/collection/components/calcite-value-list-item/resources.js +4 -0
  528. package/dist/collection/components/functional/CalciteExpandToggle.js +4 -0
  529. package/dist/collection/components/functional/CalciteHeading.js +4 -0
  530. package/dist/collection/components/interfaces.js +4 -0
  531. package/dist/collection/utils/array.js +4 -0
  532. package/dist/collection/utils/date.js +4 -0
  533. package/dist/collection/utils/dom.js +4 -0
  534. package/dist/collection/utils/filter.js +4 -0
  535. package/dist/collection/utils/form.js +4 -0
  536. package/dist/collection/utils/guid.js +4 -0
  537. package/dist/collection/utils/key.js +4 -0
  538. package/dist/collection/utils/label.js +4 -0
  539. package/dist/collection/utils/locale.js +4 -0
  540. package/dist/collection/utils/math.js +4 -0
  541. package/dist/collection/utils/number.js +4 -3
  542. package/dist/collection/utils/observers.js +4 -0
  543. package/dist/collection/utils/popper.js +4 -0
  544. package/dist/collection/utils/resources.js +4 -0
  545. package/dist/collection/utils/time.js +4 -0
  546. package/dist/custom-elements/index.js +149 -150
  547. package/dist/custom-elements/index.mjs +149 -150
  548. package/dist/esm/{CalciteExpandToggle-a149fed4.js → CalciteExpandToggle-b1e6e72d.js} +8 -4
  549. package/dist/esm/{CalciteHeading-29855e9f.js → CalciteHeading-1735f17a.js} +5 -1
  550. package/dist/esm/array-91a648e2.js +9 -0
  551. package/dist/esm/calcite-accordion_2.entry.js +10 -6
  552. package/dist/esm/calcite-action-bar.entry.js +13 -9
  553. package/dist/esm/calcite-action-group.entry.js +10 -6
  554. package/dist/esm/calcite-action-menu.entry.js +11 -7
  555. package/dist/esm/calcite-action-pad.entry.js +11 -7
  556. package/dist/esm/calcite-action.entry.js +9 -5
  557. package/dist/esm/calcite-alert.entry.js +9 -5
  558. package/dist/esm/calcite-avatar.entry.js +9 -5
  559. package/dist/esm/calcite-block_2.entry.js +22 -15
  560. package/dist/esm/calcite-button.entry.js +10 -6
  561. package/dist/esm/calcite-card.entry.js +9 -5
  562. package/dist/esm/calcite-checkbox.entry.js +10 -6
  563. package/dist/esm/calcite-chip.entry.js +8 -4
  564. package/dist/esm/calcite-color-picker_3.entry.js +14 -10
  565. package/dist/esm/calcite-combobox_3.entry.js +17 -13
  566. package/dist/esm/calcite-date-picker_4.entry.js +19 -15
  567. package/dist/esm/calcite-dropdown_3.entry.js +13 -9
  568. package/dist/esm/calcite-fab.entry.js +8 -4
  569. package/dist/esm/calcite-filter.entry.js +10 -6
  570. package/dist/esm/calcite-flow.entry.js +7 -3
  571. package/dist/esm/calcite-graph_2.entry.js +12 -8
  572. package/dist/esm/calcite-handle.entry.js +6 -2
  573. package/dist/esm/calcite-icon.entry.js +9 -5
  574. package/dist/esm/calcite-inline-editable.entry.js +9 -5
  575. package/dist/esm/calcite-input-date-picker.entry.js +14 -10
  576. package/dist/esm/calcite-input-message.entry.js +8 -4
  577. package/dist/esm/calcite-input-time-picker_2.entry.js +12 -8
  578. package/dist/esm/calcite-input.entry.js +18 -19
  579. package/dist/esm/calcite-label.entry.js +9 -5
  580. package/dist/esm/calcite-link.entry.js +8 -4
  581. package/dist/esm/calcite-list_3.entry.js +11 -7
  582. package/dist/esm/calcite-loader.entry.js +7 -3
  583. package/dist/esm/calcite-modal.entry.js +10 -6
  584. package/dist/esm/calcite-notice.entry.js +9 -5
  585. package/dist/esm/calcite-option_3.entry.js +12 -8
  586. package/dist/esm/calcite-pagination.entry.js +8 -4
  587. package/dist/esm/calcite-panel.entry.js +10 -6
  588. package/dist/esm/calcite-pick-list_3.entry.js +15 -11
  589. package/dist/esm/calcite-popover_2.entry.js +11 -7
  590. package/dist/esm/calcite-progress.entry.js +6 -2
  591. package/dist/esm/calcite-radio-button-group.entry.js +6 -2
  592. package/dist/esm/calcite-radio-group_2.entry.js +12 -8
  593. package/dist/esm/calcite-radio_2.entry.js +11 -7
  594. package/dist/esm/calcite-rating.entry.js +9 -5
  595. package/dist/esm/calcite-scrim.entry.js +6 -2
  596. package/dist/esm/calcite-shell_3.entry.js +10 -6
  597. package/dist/esm/calcite-sortable-list.entry.js +8 -4
  598. package/dist/esm/calcite-split-button.entry.js +8 -4
  599. package/dist/esm/calcite-stepper_2.entry.js +10 -6
  600. package/dist/esm/calcite-switch.entry.js +11 -7
  601. package/dist/esm/calcite-tab_4.entry.js +13 -9
  602. package/dist/esm/calcite-tile-select_2.entry.js +9 -5
  603. package/dist/esm/calcite-tile.entry.js +8 -4
  604. package/dist/esm/calcite-tip_3.entry.js +12 -8
  605. package/dist/esm/calcite-tooltip_2.entry.js +11 -7
  606. package/dist/esm/calcite-tree_2.entry.js +10 -6
  607. package/dist/esm/calcite-value-list_2.entry.js +14 -10
  608. package/dist/esm/calcite.js +6 -2
  609. package/dist/esm/{debounce-047e09f4.js → debounce-79648d42.js} +4 -0
  610. package/dist/esm/{dom-b369a031.js → dom-70b0e988.js} +5 -1
  611. package/dist/esm/{forIn-d55260fc.js → forIn-48d8fb84.js} +5 -1
  612. package/dist/esm/{form-8aa0d95b.js → form-cee9f632.js} +4 -0
  613. package/dist/esm/{guid-09142681.js → guid-196bd5ea.js} +4 -0
  614. package/dist/esm/{index-f8f0bea7.js → index-d653c37f.js} +4 -0
  615. package/dist/esm/index.js +4 -1
  616. package/dist/esm/{interfaces-355fccb6.js → interfaces-51dc4e1b.js} +4 -0
  617. package/dist/esm/{key-ec82f942.js → key-69001a68.js} +4 -0
  618. package/dist/esm/{label-7b249c54.js → label-426b4471.js} +5 -1
  619. package/dist/esm/loader.js +6 -2
  620. package/dist/esm/{locale-8436bbe1.js → locale-6c1b85c7.js} +5 -1
  621. package/dist/esm/math-250d4476.js +7 -0
  622. package/dist/esm/{number-358ca1d4.js → number-e7393766.js} +6 -5
  623. package/dist/esm/{observers-c93d4fe5.js → observers-8f0bc419.js} +4 -0
  624. package/dist/esm/{popper-2757192a.js → popper-44055f06.js} +36 -32
  625. package/dist/esm/{resources-28d71943.js → resources-3b481489.js} +6 -2
  626. package/dist/esm/{resources-c651d73a.js → resources-56ac5dd9.js} +8 -4
  627. package/dist/esm/{resources-82817f70.js → resources-584acd9b.js} +4 -0
  628. package/dist/esm/{resources-c72ebfea.js → resources-7c6029b6.js} +4 -0
  629. package/dist/esm/{sortable.esm-2f5354d3.js → sortable.esm-04824d33.js} +4 -0
  630. package/dist/esm/{utils-60acc1d6.js → utils-6beb0662.js} +4 -0
  631. package/dist/esm-es5/{CalciteExpandToggle-a149fed4.js → CalciteExpandToggle-b1e6e72d.js} +5 -1
  632. package/dist/esm-es5/CalciteHeading-1735f17a.js +5 -0
  633. package/dist/esm-es5/array-91a648e2.js +5 -0
  634. package/dist/esm-es5/calcite-accordion_2.entry.js +5 -1
  635. package/dist/esm-es5/calcite-action-bar.entry.js +5 -1
  636. package/dist/esm-es5/calcite-action-group.entry.js +5 -1
  637. package/dist/esm-es5/calcite-action-menu.entry.js +5 -1
  638. package/dist/esm-es5/calcite-action-pad.entry.js +5 -1
  639. package/dist/esm-es5/calcite-action.entry.js +5 -1
  640. package/dist/esm-es5/calcite-alert.entry.js +5 -1
  641. package/dist/esm-es5/calcite-avatar.entry.js +5 -1
  642. package/dist/esm-es5/calcite-block_2.entry.js +5 -1
  643. package/dist/esm-es5/calcite-button.entry.js +5 -1
  644. package/dist/esm-es5/calcite-card.entry.js +5 -1
  645. package/dist/esm-es5/calcite-checkbox.entry.js +5 -1
  646. package/dist/esm-es5/calcite-chip.entry.js +5 -1
  647. package/dist/esm-es5/calcite-color-picker_3.entry.js +5 -1
  648. package/dist/esm-es5/calcite-combobox_3.entry.js +5 -1
  649. package/dist/esm-es5/calcite-date-picker_4.entry.js +5 -1
  650. package/dist/esm-es5/calcite-dropdown_3.entry.js +5 -1
  651. package/dist/esm-es5/calcite-fab.entry.js +5 -1
  652. package/dist/esm-es5/calcite-filter.entry.js +5 -1
  653. package/dist/esm-es5/calcite-flow.entry.js +5 -1
  654. package/dist/esm-es5/calcite-graph_2.entry.js +5 -1
  655. package/dist/esm-es5/calcite-handle.entry.js +5 -1
  656. package/dist/esm-es5/calcite-icon.entry.js +5 -1
  657. package/dist/esm-es5/calcite-inline-editable.entry.js +5 -1
  658. package/dist/esm-es5/calcite-input-date-picker.entry.js +5 -1
  659. package/dist/esm-es5/calcite-input-message.entry.js +5 -1
  660. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +5 -1
  661. package/dist/esm-es5/calcite-input.entry.js +5 -1
  662. package/dist/esm-es5/calcite-label.entry.js +5 -1
  663. package/dist/esm-es5/calcite-link.entry.js +5 -1
  664. package/dist/esm-es5/calcite-list_3.entry.js +5 -1
  665. package/dist/esm-es5/calcite-loader.entry.js +5 -1
  666. package/dist/esm-es5/calcite-modal.entry.js +5 -1
  667. package/dist/esm-es5/calcite-notice.entry.js +5 -1
  668. package/dist/esm-es5/calcite-option_3.entry.js +5 -1
  669. package/dist/esm-es5/calcite-pagination.entry.js +5 -1
  670. package/dist/esm-es5/calcite-panel.entry.js +5 -1
  671. package/dist/esm-es5/calcite-pick-list_3.entry.js +5 -1
  672. package/dist/esm-es5/calcite-popover_2.entry.js +5 -1
  673. package/dist/esm-es5/calcite-progress.entry.js +5 -1
  674. package/dist/esm-es5/calcite-radio-button-group.entry.js +5 -1
  675. package/dist/esm-es5/calcite-radio-group_2.entry.js +5 -1
  676. package/dist/esm-es5/calcite-radio_2.entry.js +5 -1
  677. package/dist/esm-es5/calcite-rating.entry.js +5 -1
  678. package/dist/esm-es5/calcite-scrim.entry.js +5 -1
  679. package/dist/esm-es5/calcite-shell_3.entry.js +5 -1
  680. package/dist/esm-es5/calcite-sortable-list.entry.js +5 -1
  681. package/dist/esm-es5/calcite-split-button.entry.js +5 -1
  682. package/dist/esm-es5/calcite-stepper_2.entry.js +5 -1
  683. package/dist/esm-es5/calcite-switch.entry.js +5 -1
  684. package/dist/esm-es5/calcite-tab_4.entry.js +5 -1
  685. package/dist/esm-es5/calcite-tile-select_2.entry.js +5 -1
  686. package/dist/esm-es5/calcite-tile.entry.js +5 -1
  687. package/dist/esm-es5/calcite-tip_3.entry.js +5 -1
  688. package/dist/esm-es5/calcite-tooltip_2.entry.js +5 -1
  689. package/dist/esm-es5/calcite-tree_2.entry.js +5 -1
  690. package/dist/esm-es5/calcite-value-list_2.entry.js +5 -1
  691. package/dist/esm-es5/calcite.js +5 -1
  692. package/dist/esm-es5/{debounce-047e09f4.js → debounce-79648d42.js} +4 -0
  693. package/dist/esm-es5/dom-70b0e988.js +5 -0
  694. package/dist/esm-es5/{forIn-d55260fc.js → forIn-48d8fb84.js} +5 -1
  695. package/dist/esm-es5/{form-8aa0d95b.js → form-cee9f632.js} +4 -0
  696. package/dist/esm-es5/guid-196bd5ea.js +5 -0
  697. package/dist/esm-es5/index-d653c37f.js +5 -0
  698. package/dist/esm-es5/index.js +4 -0
  699. package/dist/esm-es5/{interfaces-355fccb6.js → interfaces-51dc4e1b.js} +4 -0
  700. package/dist/esm-es5/{key-ec82f942.js → key-69001a68.js} +4 -0
  701. package/dist/esm-es5/{label-7b249c54.js → label-426b4471.js} +5 -1
  702. package/dist/esm-es5/loader.js +5 -1
  703. package/dist/esm-es5/{locale-8436bbe1.js → locale-6c1b85c7.js} +5 -1
  704. package/dist/esm-es5/math-250d4476.js +5 -0
  705. package/dist/esm-es5/number-e7393766.js +5 -0
  706. package/dist/esm-es5/observers-8f0bc419.js +5 -0
  707. package/dist/esm-es5/popper-44055f06.js +5 -0
  708. package/dist/esm-es5/resources-3b481489.js +5 -0
  709. package/dist/esm-es5/resources-56ac5dd9.js +5 -0
  710. package/dist/esm-es5/resources-584acd9b.js +5 -0
  711. package/dist/esm-es5/resources-7c6029b6.js +5 -0
  712. package/dist/esm-es5/{sortable.esm-2f5354d3.js → sortable.esm-04824d33.js} +4 -0
  713. package/dist/esm-es5/{utils-60acc1d6.js → utils-6beb0662.js} +4 -0
  714. package/dist/extras/docs-json.json +5 -5
  715. package/dist/loader/cdn.js +4 -1
  716. package/dist/loader/index.cjs.js +4 -1
  717. package/dist/loader/index.d.ts +0 -1
  718. package/dist/loader/index.es2017.js +4 -1
  719. package/dist/loader/index.js +4 -1
  720. package/dist/types/components/calcite-block/resources.d.ts +2 -0
  721. package/dist/types/components/calcite-label/calcite-label.d.ts +1 -1
  722. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +1 -1
  723. package/dist/types/components.d.ts +2 -2
  724. package/dist/types/utils/number.d.ts +0 -1
  725. package/hydrate/index.js +63 -61
  726. package/package.json +22 -22
  727. package/readme.md +3 -3
  728. package/dist/calcite/p-058f3354.system.entry.js +0 -1
  729. package/dist/calcite/p-088c0c7a.entry.js +0 -1
  730. package/dist/calcite/p-0ae16e31.js +0 -1
  731. package/dist/calcite/p-0b539bae.system.entry.js +0 -1
  732. package/dist/calcite/p-1436091f.entry.js +0 -1
  733. package/dist/calcite/p-14893331.system.entry.js +0 -1
  734. package/dist/calcite/p-15df41f1.entry.js +0 -1
  735. package/dist/calcite/p-16f5928d.entry.js +0 -1
  736. package/dist/calcite/p-1a53829b.system.entry.js +0 -1
  737. package/dist/calcite/p-1bf298c2.entry.js +0 -1
  738. package/dist/calcite/p-1c3f7bb2.entry.js +0 -1
  739. package/dist/calcite/p-1df0fd29.system.entry.js +0 -1
  740. package/dist/calcite/p-25276cc7.entry.js +0 -1
  741. package/dist/calcite/p-31962890.entry.js +0 -1
  742. package/dist/calcite/p-3426e87b.system.js +0 -1
  743. package/dist/calcite/p-354fbadd.js +0 -1
  744. package/dist/calcite/p-38b3ff5f.system.entry.js +0 -1
  745. package/dist/calcite/p-3c0315f6.entry.js +0 -1
  746. package/dist/calcite/p-3c6b85d2.entry.js +0 -1
  747. package/dist/calcite/p-41ad9e5a.entry.js +0 -1
  748. package/dist/calcite/p-43a9faca.js +0 -1
  749. package/dist/calcite/p-44c0b088.entry.js +0 -1
  750. package/dist/calcite/p-46f1277f.entry.js +0 -1
  751. package/dist/calcite/p-482ec054.system.js +0 -1
  752. package/dist/calcite/p-484d449e.entry.js +0 -1
  753. package/dist/calcite/p-4a41b489.entry.js +0 -1
  754. package/dist/calcite/p-4ee7aac6.entry.js +0 -1
  755. package/dist/calcite/p-4f24139e.system.entry.js +0 -1
  756. package/dist/calcite/p-4fce2a7a.system.js +0 -1
  757. package/dist/calcite/p-4fda49e6.js +0 -1
  758. package/dist/calcite/p-50ea2036.system.js +0 -1
  759. package/dist/calcite/p-520d805f.entry.js +0 -1
  760. package/dist/calcite/p-52ae0e4a.entry.js +0 -1
  761. package/dist/calcite/p-55379ee6.system.entry.js +0 -1
  762. package/dist/calcite/p-559ffa87.js +0 -1
  763. package/dist/calcite/p-5b2e8494.entry.js +0 -1
  764. package/dist/calcite/p-5d57b25e.entry.js +0 -1
  765. package/dist/calcite/p-5f50d376.system.entry.js +0 -1
  766. package/dist/calcite/p-61471d5c.entry.js +0 -1
  767. package/dist/calcite/p-62977e6b.system.entry.js +0 -1
  768. package/dist/calcite/p-6350bcd3.system.js +0 -1
  769. package/dist/calcite/p-66798503.entry.js +0 -1
  770. package/dist/calcite/p-674bc090.system.js +0 -1
  771. package/dist/calcite/p-68206a3f.entry.js +0 -1
  772. package/dist/calcite/p-6b82c386.entry.js +0 -1
  773. package/dist/calcite/p-6d98d9dc.system.entry.js +0 -1
  774. package/dist/calcite/p-6edac967.system.entry.js +0 -1
  775. package/dist/calcite/p-74d42e2c.entry.js +0 -1
  776. package/dist/calcite/p-7506e28d.entry.js +0 -1
  777. package/dist/calcite/p-7521b7ab.system.entry.js +0 -1
  778. package/dist/calcite/p-77a53b72.entry.js +0 -1
  779. package/dist/calcite/p-77f3da33.entry.js +0 -1
  780. package/dist/calcite/p-7a241325.system.entry.js +0 -1
  781. package/dist/calcite/p-7b856f76.system.entry.js +0 -1
  782. package/dist/calcite/p-7d1978f4.entry.js +0 -1
  783. package/dist/calcite/p-7d61c919.entry.js +0 -1
  784. package/dist/calcite/p-7e4036a3.system.entry.js +0 -1
  785. package/dist/calcite/p-7e4be59e.system.entry.js +0 -1
  786. package/dist/calcite/p-7ec8ab00.entry.js +0 -1
  787. package/dist/calcite/p-82be2fac.entry.js +0 -1
  788. package/dist/calcite/p-8943850c.entry.js +0 -1
  789. package/dist/calcite/p-8958d1f6.system.js +0 -1
  790. package/dist/calcite/p-8a16620b.system.js +0 -1
  791. package/dist/calcite/p-8bce0bbf.entry.js +0 -1
  792. package/dist/calcite/p-8d57e974.entry.js +0 -1
  793. package/dist/calcite/p-8d5f5ebf.js +0 -1
  794. package/dist/calcite/p-8ef1afae.system.entry.js +0 -1
  795. package/dist/calcite/p-8fb7b17f.system.entry.js +0 -1
  796. package/dist/calcite/p-93dffbbd.entry.js +0 -1
  797. package/dist/calcite/p-950bdd5b.system.entry.js +0 -1
  798. package/dist/calcite/p-95550217.entry.js +0 -1
  799. package/dist/calcite/p-987310d2.system.js +0 -1
  800. package/dist/calcite/p-99ce9de6.entry.js +0 -1
  801. package/dist/calcite/p-9c371694.system.entry.js +0 -1
  802. package/dist/calcite/p-a096738b.system.entry.js +0 -1
  803. package/dist/calcite/p-a4d3e67f.entry.js +0 -1
  804. package/dist/calcite/p-a4e6e35b.js +0 -1
  805. package/dist/calcite/p-a8650c17.system.js +0 -1
  806. package/dist/calcite/p-ac44517b.system.entry.js +0 -1
  807. package/dist/calcite/p-ad290529.system.entry.js +0 -1
  808. package/dist/calcite/p-aec1c004.entry.js +0 -1
  809. package/dist/calcite/p-b10d0018.system.entry.js +0 -1
  810. package/dist/calcite/p-b2425e21.js +0 -1
  811. package/dist/calcite/p-b286e0a5.system.entry.js +0 -1
  812. package/dist/calcite/p-b2a79aa2.system.entry.js +0 -1
  813. package/dist/calcite/p-b4cc79dc.system.js +0 -1
  814. package/dist/calcite/p-ba77eb78.entry.js +0 -1
  815. package/dist/calcite/p-bbffc12a.entry.js +0 -1
  816. package/dist/calcite/p-be531ce4.system.entry.js +0 -1
  817. package/dist/calcite/p-c0ee1569.system.entry.js +0 -1
  818. package/dist/calcite/p-c15a632e.system.entry.js +0 -1
  819. package/dist/calcite/p-c23bfaf9.system.entry.js +0 -1
  820. package/dist/calcite/p-c3a502d6.entry.js +0 -1
  821. package/dist/calcite/p-c4953aa6.system.entry.js +0 -1
  822. package/dist/calcite/p-c5216cf9.entry.js +0 -1
  823. package/dist/calcite/p-c59d3bb3.system.entry.js +0 -1
  824. package/dist/calcite/p-c79fd1e1.entry.js +0 -1
  825. package/dist/calcite/p-c7d85b95.system.entry.js +0 -1
  826. package/dist/calcite/p-cb603214.entry.js +0 -1
  827. package/dist/calcite/p-cc7664db.entry.js +0 -1
  828. package/dist/calcite/p-d53c2d2e.system.js +0 -1
  829. package/dist/calcite/p-d63d1c19.entry.js +0 -1
  830. package/dist/calcite/p-d74caa31.system.entry.js +0 -1
  831. package/dist/calcite/p-d7e0ef91.system.entry.js +0 -1
  832. package/dist/calcite/p-d858b7ab.js +0 -1
  833. package/dist/calcite/p-d8a015cb.system.entry.js +0 -1
  834. package/dist/calcite/p-dc043b78.entry.js +0 -1
  835. package/dist/calcite/p-dcfa0bba.js +0 -1
  836. package/dist/calcite/p-dd3f7c73.system.entry.js +0 -1
  837. package/dist/calcite/p-dda58d1e.system.js +0 -1
  838. package/dist/calcite/p-ddf50685.system.entry.js +0 -1
  839. package/dist/calcite/p-de9b7982.system.entry.js +0 -1
  840. package/dist/calcite/p-df949bcc.entry.js +0 -1
  841. package/dist/calcite/p-e1392ddf.entry.js +0 -1
  842. package/dist/calcite/p-e3781613.entry.js +0 -1
  843. package/dist/calcite/p-e87acd87.system.js +0 -1
  844. package/dist/calcite/p-ed68dd02.entry.js +0 -1
  845. package/dist/calcite/p-eea35b03.entry.js +0 -1
  846. package/dist/calcite/p-ef38dee8.js +0 -1
  847. package/dist/calcite/p-f02d04ab.system.js +0 -1
  848. package/dist/calcite/p-f1eca44a.entry.js +0 -1
  849. package/dist/calcite/p-f1eddb0f.system.entry.js +0 -1
  850. package/dist/calcite/p-faac0f15.entry.js +0 -1
  851. package/dist/calcite/p-fbf4ad06.entry.js +0 -1
  852. package/dist/cjs/array-4fc5abfa.js +0 -7
  853. package/dist/cjs/math-750406eb.js +0 -5
  854. package/dist/esm/array-af19adb2.js +0 -5
  855. package/dist/esm/math-c8e7aa13.js +0 -3
  856. package/dist/esm-es5/CalciteHeading-29855e9f.js +0 -1
  857. package/dist/esm-es5/array-af19adb2.js +0 -1
  858. package/dist/esm-es5/dom-b369a031.js +0 -1
  859. package/dist/esm-es5/guid-09142681.js +0 -1
  860. package/dist/esm-es5/index-f8f0bea7.js +0 -1
  861. package/dist/esm-es5/math-c8e7aa13.js +0 -1
  862. package/dist/esm-es5/number-358ca1d4.js +0 -1
  863. package/dist/esm-es5/observers-c93d4fe5.js +0 -1
  864. package/dist/esm-es5/popper-2757192a.js +0 -1
  865. package/dist/esm-es5/resources-28d71943.js +0 -1
  866. package/dist/esm-es5/resources-82817f70.js +0 -1
  867. package/dist/esm-es5/resources-c651d73a.js +0 -1
  868. package/dist/esm-es5/resources-c72ebfea.js +0 -1
@@ -1 +0,0 @@
1
- System.register(["./p-b4cc79dc.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.g}],execute:function(){e({c:st,u:ct});var r="top";var n="bottom";var a="right";var i="left";var o="auto";var f=[r,n,a,i];var s="start";var c="end";var u="clippingParents";var v="viewport";var p="popper";var l="reference";var d=f.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+c])}),[]);var m=[].concat(f,[o]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+c])}),[]);var h="beforeRead";var g="read";var y="afterRead";var b="beforeMain";var w="main";var x="afterMain";var O="beforeWrite";var j="write";var E="afterWrite";var D=[h,g,y,b,w,x,O,j,E];function M(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function L(e){var t=k(e).Element;return e instanceof t||e instanceof Element}function P(e){var t=k(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function W(e){if(typeof ShadowRoot==="undefined"){return false}var t=k(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function A(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!P(a)||!M(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!P(n)||!M(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var H={name:"applyStyles",enabled:true,phase:"write",fn:A,effect:B,requires:["computeStyles"]};function R(e){return e.split("-")[0]}var T=Math.round;function S(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(P(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=r.width/o||1}if(i>0){a=r.height/i||1}}return{width:T(r.width/n),height:T(r.height/a),top:T(r.top/a),right:T(r.right/n),bottom:T(r.bottom/a),left:T(r.left/n),x:T(r.left/n),y:T(r.top/a)}}function C(e){var t=S(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function q(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&W(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return k(e).getComputedStyle(e)}function V(e){return["table","td","th"].indexOf(M(e))>=0}function I(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){if(M(e)==="html"){return e}return e.assignedSlot||e.parentNode||(W(e)?e.host:null)||I(e)}function z(e){if(!P(e)||N(e).position==="fixed"){return null}return e.offsetParent}function _(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&P(e)){var n=N(e);if(n.position==="fixed"){return null}}var a=U(e);while(P(a)&&["html","body"].indexOf(M(a))<0){var i=N(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function F(e){var t=k(e);var r=z(e);while(r&&V(r)&&N(r).position==="static"){r=z(r)}if(r&&(M(r)==="html"||M(r)==="body"&&N(r).position==="static")){return t}return r||_(e)||t}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Y=Math.max;var G=Math.min;var J=Math.round;function K(e,t,r){return Y(e,G(t,r))}function Q(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},Q(),e)}function $(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var ee=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return Z(typeof t!=="number"?t:$(t,f))};function te(e){var t;var o=e.state,f=e.name,s=e.options;var c=o.elements.arrow;var u=o.modifiersData.popperOffsets;var v=R(o.placement);var p=X(v);var l=[i,a].indexOf(v)>=0;var d=l?"height":"width";if(!c||!u){return}var m=ee(s.padding,o);var h=C(c);var g=p==="y"?r:i;var y=p==="y"?n:a;var b=o.rects.reference[d]+o.rects.reference[p]-u[p]-o.rects.popper[d];var w=u[p]-o.rects.reference[p];var x=F(c);var O=x?p==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=b/2-w/2;var E=m[g];var D=O-h[d]-m[y];var M=O/2-h[d]/2+j;var k=K(E,M,D);var L=p;o.modifiersData[f]=(t={},t[L]=k,t.centerOffset=k-M,t)}function re(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!q(t.elements.popper,a)){return}t.elements.arrow=a}var ne={name:"arrow",enabled:true,phase:"main",fn:te,effect:re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:J(J(t*a)/a)||0,y:J(J(r*a)/a)||0}}function fe(e){var t;var o=e.popper,f=e.popperRect,s=e.placement,u=e.variation,v=e.offsets,p=e.position,l=e.gpuAcceleration,d=e.adaptive,m=e.roundOffsets;var h=m===true?oe(v):typeof m==="function"?m(v):v,g=h.x,y=g===void 0?0:g,b=h.y,w=b===void 0?0:b;var x=v.hasOwnProperty("x");var O=v.hasOwnProperty("y");var j=i;var E=r;var D=window;if(d){var M=F(o);var L="clientHeight";var P="clientWidth";if(M===k(o)){M=I(o);if(N(M).position!=="static"&&p==="absolute"){L="scrollHeight";P="scrollWidth"}}M=M;if(s===r||(s===i||s===a)&&u===c){E=n;w-=M[L]-f.height;w*=l?1:-1}if(s===i||(s===r||s===n)&&u===c){j=a;y-=M[P]-f.width;y*=l?1:-1}}var W=Object.assign({position:p},d&&ie);if(l){var A;return Object.assign({},W,(A={},A[E]=O?"0":"",A[j]=x?"0":"",A.transform=(D.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",A))}return Object.assign({},W,(t={},t[E]=O?w+"px":"",t[j]=x?y+"px":"",t.transform="",t))}function se(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,f=r.roundOffsets,s=f===void 0?true:f;var c={placement:R(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:s})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ce={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:se,data:{}};var ue={passive:true};function ve(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,f=o===void 0?true:o;var s=k(t.elements.popper);var c=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){c.forEach((function(e){e.addEventListener("scroll",r.update,ue)}))}if(f){s.addEventListener("resize",r.update,ue)}return function(){if(i){c.forEach((function(e){e.removeEventListener("scroll",r.update,ue)}))}if(f){s.removeEventListener("resize",r.update,ue)}}}var pe={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:ve,data:{}};var le={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return le[e]}))}var me={start:"end",end:"start"};function he(e){return e.replace(/start|end/g,(function(e){return me[e]}))}function ge(e){var t=k(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return S(I(e)).left+ge(e).scrollLeft}function be(e){var t=k(e);var r=I(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var f=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;f=n.offsetTop}}return{width:a,height:i,x:o+ye(e),y:f}}function we(e){var t;var r=I(e);var n=ge(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=Y(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=Y(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var f=-n.scrollLeft+ye(e);var s=-n.scrollTop;if(N(a||r).direction==="rtl"){f+=Y(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:f,y:s}}function xe(e){var t=N(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Oe(e){if(["html","body","#document"].indexOf(M(e))>=0){return e.ownerDocument.body}if(P(e)&&xe(e)){return e}return Oe(U(e))}function je(e,t){var r;if(t===void 0){t=[]}var n=Oe(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=k(n);var o=a?[i].concat(i.visualViewport||[],xe(n)?n:[]):n;var f=t.concat(o);return a?f:f.concat(je(U(o)))}function Ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function De(e){var t=S(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function Me(e,t){return t===v?Ee(be(e)):P(t)?De(t):Ee(we(I(e)))}function ke(e){var t=je(U(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&P(e)?F(e):e;if(!L(n)){return[]}return t.filter((function(e){return L(e)&&q(e,n)&&M(e)!=="body"}))}function Le(e,t,r){var n=t==="clippingParents"?ke(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=Me(e,r);t.top=Y(n.top,t.top);t.right=G(n.right,t.right);t.bottom=G(n.bottom,t.bottom);t.left=Y(n.left,t.left);return t}),Me(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Pe(e){var t=e.reference,o=e.element,f=e.placement;var u=f?R(f):null;var v=f?ae(f):null;var p=t.x+t.width/2-o.width/2;var l=t.y+t.height/2-o.height/2;var d;switch(u){case r:d={x:p,y:t.y-o.height};break;case n:d={x:p,y:t.y+t.height};break;case a:d={x:t.x+t.width,y:l};break;case i:d={x:t.x-o.width,y:l};break;default:d={x:t.x,y:t.y}}var m=u?X(u):null;if(m!=null){var h=m==="y"?"height":"width";switch(v){case s:d[m]=d[m]-(t[h]/2-o[h]/2);break;case c:d[m]=d[m]+(t[h]/2-o[h]/2);break}}return d}function We(e,t){if(t===void 0){t={}}var i=t,o=i.placement,s=o===void 0?e.placement:o,c=i.boundary,d=c===void 0?u:c,m=i.rootBoundary,h=m===void 0?v:m,g=i.elementContext,y=g===void 0?p:g,b=i.altBoundary,w=b===void 0?false:b,x=i.padding,O=x===void 0?0:x;var j=Z(typeof O!=="number"?O:$(O,f));var E=y===p?l:p;var D=e.rects.popper;var M=e.elements[w?E:y];var k=Le(L(M)?M:M.contextElement||I(e.elements.popper),d,h);var P=S(e.elements.reference);var W=Pe({reference:P,element:D,strategy:"absolute",placement:s});var A=Ee(Object.assign({},D,W));var B=y===p?A:P;var H={top:k.top-B.top+j.top,bottom:B.bottom-k.bottom+j.bottom,left:k.left-B.left+j.left,right:B.right-k.right+j.right};var R=e.modifiersData.offset;if(y===p&&R){var T=R[s];Object.keys(H).forEach((function(e){var t=[a,n].indexOf(e)>=0?1:-1;var i=[r,n].indexOf(e)>=0?"y":"x";H[e]+=T[i]*t}))}return H}function Ae(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?m:c;var v=ae(n);var p=v?s?d:d.filter((function(e){return ae(e)===v})):f;var l=p.filter((function(e){return u.indexOf(e)>=0}));if(l.length===0){l=p}var h=l.reduce((function(t,r){t[r]=We(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[R(r)];return t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function Be(e){if(R(e)===o){return[]}var t=de(e);return[he(e),t,he(t)]}function He(e){var t=e.state,f=e.options,c=e.name;if(t.modifiersData[c]._skip){return}var u=f.mainAxis,v=u===void 0?true:u,p=f.altAxis,l=p===void 0?true:p,d=f.fallbackPlacements,m=f.padding,h=f.boundary,g=f.rootBoundary,y=f.altBoundary,b=f.flipVariations,w=b===void 0?true:b,x=f.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var E=j===O;var D=d||(E||!w?[de(O)]:Be(O));var M=[O].concat(D).reduce((function(e,r){return e.concat(R(r)===o?Ae(t,{placement:r,boundary:h,rootBoundary:g,padding:m,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var k=t.rects.reference;var L=t.rects.popper;var P=new Map;var W=true;var A=M[0];for(var B=0;B<M.length;B++){var H=M[B];var T=R(H);var S=ae(H)===s;var C=[r,n].indexOf(T)>=0;var q=C?"width":"height";var N=We(t,{placement:H,boundary:h,rootBoundary:g,altBoundary:y,padding:m});var V=C?S?a:i:S?n:r;if(k[q]>L[q]){V=de(V)}var I=de(V);var U=[];if(v){U.push(N[T]<=0)}if(l){U.push(N[V]<=0,N[I]<=0)}if(U.every((function(e){return e}))){A=H;W=false;break}P.set(H,U)}if(W){var z=w?3:1;var _=function e(t){var r=M.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){A=r;return"break"}};for(var F=z;F>0;F--){var X=_(F);if(X==="break")break}}if(t.placement!==A){t.modifiersData[c]._skip=true;t.placement=A;t.reset=true}}var Re={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Te(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Se(e){return[r,a,n,i].some((function(t){return e[t]>=0}))}function Ce(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=We(t,{elementContext:"reference"});var f=We(t,{altBoundary:true});var s=Te(o,n);var c=Te(f,a,i);var u=Se(s);var v=Se(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:v};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":v})}var qe={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Ce};function Ne(e,t,n){var o=R(e);var f=[i,r].indexOf(o)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],u=s[1];c=c||0;u=(u||0)*f;return[i,a].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}function Ve(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=m.reduce((function(e,r){e[r]=Ne(r,t.rects,i);return e}),{});var f=o[t.placement],s=f.x,c=f.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=s;t.modifiersData.popperOffsets.y+=c}t.modifiersData[n]=o}var Ie={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ue(e){var t=e.state,r=e.name;t.modifiersData[r]=Pe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ze={name:"popperOffsets",enabled:true,phase:"read",fn:Ue,data:{}};function _e(e){return e==="x"?"y":"x"}function Fe(e){var t=e.state,o=e.options,f=e.name;var c=o.mainAxis,u=c===void 0?true:c,v=o.altAxis,p=v===void 0?false:v,l=o.boundary,d=o.rootBoundary,m=o.altBoundary,h=o.padding,g=o.tether,y=g===void 0?true:g,b=o.tetherOffset,w=b===void 0?0:b;var x=We(t,{boundary:l,rootBoundary:d,padding:h,altBoundary:m});var O=R(t.placement);var j=ae(t.placement);var E=!j;var D=X(O);var M=_e(D);var k=t.modifiersData.popperOffsets;var L=t.rects.reference;var P=t.rects.popper;var W=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var A={x:0,y:0};if(!k){return}if(u||p){var B=D==="y"?r:i;var H=D==="y"?n:a;var T=D==="y"?"height":"width";var S=k[D];var q=k[D]+x[B];var N=k[D]-x[H];var V=y?-P[T]/2:0;var I=j===s?L[T]:P[T];var U=j===s?-P[T]:-L[T];var z=t.elements.arrow;var _=y&&z?C(z):{width:0,height:0};var J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Q();var Z=J[B];var $=J[H];var ee=K(0,L[T],_[T]);var te=E?L[T]/2-V-ee-Z-W:I-ee-Z-W;var re=E?-L[T]/2+V+ee+$+W:U+ee+$+W;var ne=t.elements.arrow&&F(t.elements.arrow);var ie=ne?D==="y"?ne.clientTop||0:ne.clientLeft||0:0;var oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][D]:0;var fe=k[D]+te-oe-ie;var se=k[D]+re-oe;if(u){var ce=K(y?G(q,fe):q,S,y?Y(N,se):N);k[D]=ce;A[D]=ce-S}if(p){var ue=D==="x"?r:i;var ve=D==="x"?n:a;var pe=k[M];var le=pe+x[ue];var de=pe-x[ve];var me=K(y?G(le,fe):le,pe,y?Y(de,se):de);k[M]=me;A[M]=me-pe}}t.modifiersData[f]=A}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:Fe,requiresIfExists:["offset"]};function Ye(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ge(e){if(e===k(e)||!P(e)){return ge(e)}else{return Ye(e)}}function Je(e){var t=e.getBoundingClientRect();var r=t.width/e.offsetWidth||1;var n=t.height/e.offsetHeight||1;return r!==1||n!==1}function Ke(e,t,r){if(r===void 0){r=false}var n=P(t);var a=P(t)&&Je(t);var i=I(t);var o=S(e,a);var f={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(M(t)!=="body"||xe(i)){f=Ge(t)}if(P(t)){s=S(t,true);s.x+=t.clientLeft;s.y+=t.clientTop}else if(i){s.x=ye(i)}}return{x:o.left+f.scrollLeft-s.x,y:o.top+f.scrollTop-s.y,width:o.width,height:o.height}}function Qe(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function Ze(e){var t=Qe(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function $e(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function et(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function nt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?tt:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var f=[];var s=false;var c={state:o,setOptions:function e(a){var f=typeof a==="function"?a(o.options):a;v();o.options=Object.assign({},i,o.options,f);o.scrollParents={reference:L(t)?je(t):t.contextElement?je(t.contextElement):[],popper:je(r)};var s=Ze(et([].concat(n,o.options.modifiers)));o.orderedModifiers=s.filter((function(e){return e.enabled}));u();return c.update()},forceUpdate:function e(){if(s){return}var t=o.elements,r=t.reference,n=t.popper;if(!rt(r,n)){return}o.rects={reference:Ke(r,F(n),o.options.strategy==="fixed"),popper:C(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],f=i.fn,u=i.options,v=u===void 0?{}:u,p=i.name;if(typeof f==="function"){o=f({state:o,options:v,name:p,instance:c})||o}}},update:$e((function(){return new Promise((function(e){c.forceUpdate();e(o)}))})),destroy:function e(){v();s=true}};if(!rt(t,r)){return c}c.setOptions(a).then((function(e){if(!s&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function u(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:c,options:n});var s=function e(){};f.push(i||s)}}))}function v(){f.forEach((function(e){return e()}));f=[]}return c}}var at=[pe,ze,ce,H,Ie,Re,Xe,ne,qe];var it=nt({defaultModifiers:at});var ot=e("C",{animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"});function ft(e,r){var n=["left","right"];var a=["start","end"];if(t(e)==="rtl"){n.reverse();a.reverse()}return r.replace(/-leading/gi,"-"+a[0]).replace(/-trailing/gi,"-"+a[1]).replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function st(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return it(t,r,{strategy:i,placement:ft(r,n),modifiers:o})}function ct(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;var i=ft(t,n);a.setOptions({modifiers:r,placement:i})}function ut(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var vt=4;var pt=e("d",Math.ceil(ut(vt,vt)))}}}));
@@ -1 +0,0 @@
1
- import{r as a,h as t,g as i}from"./p-30f1442b.js";import{f as n,g as e}from"./p-dc825c55.js";import"./p-a4e6e35b.js";const o=class{constructor(t){a(this,t),this.appearance="outline",this.color="neutral",this.disabled=!1,this.icon="plus",this.loading=!1,this.scale="m",this.textEnabled=!1}async setFocus(){n(this.buttonEl)}render(){const{appearance:a,color:i,disabled:n,el:o,loading:r,scale:s,textEnabled:l,icon:p,label:c,text:m}=this,b=l?null:c||m||null,x=e(o);return t("calcite-button",{appearance:"solid"===a?"solid":"outline",class:"button",color:i,dir:x,disabled:n,iconStart:p,label:c,loading:r,ref:a=>{this.buttonEl=a},round:!0,scale:s,title:b,width:"auto"},this.textEnabled?this.text:null)}get el(){return i(this)}};o.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent}calcite-button{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08)}calcite-button:hover{-webkit-box-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);box-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08)}calcite-button:active{-webkit-box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16)}";export{o as calcite_fab}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,o){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function i(t){try{l(o.next(t))}catch(t){r(t)}}function c(t){try{l(o["throw"](t))}catch(t){r(t)}}function l(t){t.done?a(t.value):n(t.value).then(i,c)}l((o=o.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:[]},o,n,r,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(t){return function(e){return l([t,e])}}function l(i){if(o)throw new TypeError("Generator is already executing.");while(a)try{if(o=1,n&&(r=i[0]&2?n["return"]:i[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;if(n=0,r)i=[i[0]&2,r.value];switch(i[0]){case 0:case 1:r=i;break;case 4:a.label++;return{value:i[1],done:false};case 5:a.label++;n=i[1];i=[0];continue;case 7:i=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(i[0]===6||i[0]===2)){a=0;continue}if(i[0]===3&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(i[0]===6&&a.label<r[1]){a.label=r[1];r=i;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(i);break}if(r[2])a.ops.pop();a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t];n=0}finally{o=r=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-e87acd87.system.js","./p-b4cc79dc.system.js","./p-8a16620b.system.js","./p-8958d1f6.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var e,a,o,n,r,i,c,l,s,u,d;return{setters:[function(t){e=t.r;a=t.h;o=t.g},function(t){n=t.q;r=t.c;i=t.g;c=t.C},function(t){l=t.c;s=t.d;u=t.g},function(t){d=t.c},function(){}],execute:function(){var p={buttonLoader:"calcite-button--loader",content:"content",contentSlotted:"content--slotted",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",loadingIn:"loading-in",loadingOut:"loading-out"};var h={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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;width:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host button,:host a{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding:var(--calcite-button-padding-y) var(--calcite-button-padding-x) var(--calcite-button-padding-y) var(--calcite-button-padding-x);position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;width:100%;height:100%;border-radius:0;border-style:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out}:host button:hover,:host a:hover{text-decoration:none}.content{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--calcite-button-content-margin);margin-right:var(--calcite-button-content-margin)}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin:1rem}:host(:not([icon-start])) .content{margin-left:unset}:host(:not([icon-end])) .content{margin-right:unset}:host([icon-start]:not([icon-end])) .calcite--rtl .content{margin-left:unset;margin-right:var(--calcite-button-content-margin)}:host([icon-end]:not([icon-start])) .calcite--rtl .content{margin-right:unset;margin-left:var(--calcite-button-content-margin)}:host([width=auto]){width:auto}:host([width=half]){width:50%}:host([width=full]){width:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{-ms-flex-pack:center;justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{-ms-flex-pack:start;justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{-ms-flex-pack:justify;justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-right:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-left:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-start-space-between]:not([width=auto])) .calcite--rtl .icon--start{margin-right:unset;margin-left:auto}:host([alignment=icon-end-space-between]:not([width=auto])) .calcite--rtl .icon--end{margin-left:unset;margin-right:auto}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-left:var(--calcite-button-content-margin)}:host([alignment=center]) a.calcite--rtl:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button.calcite--rtl:not(.content--slotted) .icon--start+.icon--end{margin-left:unset;margin-right:var(--calcite-button-content-margin)}.icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([loading]),:host([disabled]){pointer-events:none}:host([loading]) button,:host([loading]) a,:host([disabled]) button,:host([disabled]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}.calcite-button--loader{display:-ms-flexbox;display:flex}.calcite-button--loader calcite-loader{margin:0;-webkit-transition:width 300ms ease-in-out, opacity 300ms ease-in-out, -webkit-transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, -webkit-transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out}.calcite-button--loader calcite-loader.loading-in{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}.calcite-button--loader calcite-loader.loading-out{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance=solid]) button,:host([appearance=solid]) a{border-width:1px;border-style:solid;border-color:transparent}:host([appearance=solid][color=blue]) button,:host([appearance=solid][color=blue]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-brand)}:host([appearance=solid][color=blue]) button:hover,:host([appearance=solid][color=blue]) button:focus,:host([appearance=solid][color=blue]) a:hover,:host([appearance=solid][color=blue]) a:focus{background-color:var(--calcite-ui-brand-hover)}:host([appearance=solid][color=blue]) button:active,:host([appearance=solid][color=blue]) a:active{background-color:var(--calcite-ui-brand-press)}:host([appearance=solid][color=blue]) button calcite-loader,:host([appearance=solid][color=blue]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button,:host([appearance=solid][color=red]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-danger)}:host([appearance=solid][color=red]) button:hover,:host([appearance=solid][color=red]) button:focus,:host([appearance=solid][color=red]) a:hover,:host([appearance=solid][color=red]) a:focus{background-color:var(--calcite-ui-danger-hover)}:host([appearance=solid][color=red]) button:active,:host([appearance=solid][color=red]) a:active{background-color:var(--calcite-ui-danger-press)}:host([appearance=solid][color=red]) button calcite-loader,:host([appearance=solid][color=red]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=neutral]) button,:host([appearance=solid][color=neutral]) a{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}:host([appearance=solid][color=neutral]) button:hover,:host([appearance=solid][color=neutral]) button:focus,:host([appearance=solid][color=neutral]) a:hover,:host([appearance=solid][color=neutral]) a:focus{background-color:var(--calcite-ui-foreground-2)}:host([appearance=solid][color=neutral]) button:active,:host([appearance=solid][color=neutral]) a:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=solid][color=neutral]) button calcite-loader,:host([appearance=solid][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=solid][color=inverse]) button,:host([appearance=solid][color=inverse]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}:host([appearance=solid][color=inverse]) button:hover,:host([appearance=solid][color=inverse]) button:focus,:host([appearance=solid][color=inverse]) a:hover,:host([appearance=solid][color=inverse]) a:focus{background-color:var(--calcite-ui-inverse-hover)}:host([appearance=solid][color=inverse]) button:active,:host([appearance=solid][color=inverse]) a:active{background-color:var(--calcite-ui-inverse-press)}:host([appearance=solid][color=inverse]) button calcite-loader,:host([appearance=solid][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=outline]) button,:host([appearance=outline]) a{background-color:var(--calcite-ui-foreground-1);border-width:1px;border-style:solid;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][color=blue]) button,:host([appearance=outline][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:hover,:host([appearance=outline][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=outline][color=blue]) button:focus,:host([appearance=outline][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:active,:host([appearance=outline][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline][color=blue]) button calcite-loader,:host([appearance=outline][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline][color=red]) button,:host([appearance=outline][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:hover,:host([appearance=outline][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline][color=red]) button:focus,:host([appearance=outline][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:active,:host([appearance=outline][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline][color=red]) button calcite-loader,:host([appearance=outline][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline][color=neutral]) button,:host([appearance=outline][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:hover,:host([appearance=outline][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:focus,:host([appearance=outline][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:active,:host([appearance=outline][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button calcite-loader,:host([appearance=outline][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][color=inverse]) button,:host([appearance=outline][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:hover,:host([appearance=outline][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline][color=inverse]) button:focus,:host([appearance=outline][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:active,:host([appearance=outline][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline][color=inverse]) button calcite-loader,:host([appearance=outline][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear]) button,:host([appearance=clear]) a{background-color:transparent;border-width:1px;border-style:solid;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=clear][color=blue]) button,:host([appearance=clear][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:hover,:host([appearance=clear][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=clear][color=blue]) button:focus,:host([appearance=clear][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:active,:host([appearance=clear][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=clear][color=blue]) button calcite-loader,:host([appearance=clear][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=clear][color=red]) button,:host([appearance=clear][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:hover,:host([appearance=clear][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=clear][color=red]) button:focus,:host([appearance=clear][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:active,:host([appearance=clear][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=clear][color=red]) button calcite-loader,:host([appearance=clear][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=clear][color=neutral]) button,:host([appearance=clear][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:hover,:host([appearance=clear][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:focus,:host([appearance=clear][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:active,:host([appearance=clear][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button calcite-loader,:host([appearance=clear][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear][color=inverse]) button,:host([appearance=clear][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:hover,:host([appearance=clear][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=clear][color=inverse]) button:focus,:host([appearance=clear][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:active,:host([appearance=clear][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=clear][color=inverse]) button calcite-loader,:host([appearance=clear][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][split-child=primary]) button,:host([appearance=clear][split-child=primary]) button{border-right-width:0;border-left-width:1px}:host([appearance=outline][split-child=primary]) button.calcite--rtl,:host([appearance=clear][split-child=primary]) button.calcite--rtl{border-left-width:0;border-right-width:1px}:host([appearance=outline][split-child=secondary]) button,:host([appearance=clear][split-child=secondary]) button{border-left-width:0;border-right-width:1px}:host([appearance=outline][split-child=secondary]) button.calcite--rtl,:host([appearance=clear][split-child=secondary]) button.calcite--rtl{border-right-width:0;border-left-width:1px}:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) button,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) button:hover,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) button:focus,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) a:hover,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) button:active,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) a:active{background-color:var(--calcite-button-transparent-press)}:host([appearance=transparent][color=blue]) button,:host([appearance=transparent][color=blue]) a{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:hover,:host([appearance=transparent][color=blue]) a:hover{color:var(--calcite-ui-brand-hover)}:host([appearance=transparent][color=blue]) button:focus,:host([appearance=transparent][color=blue]) a:focus{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:active,:host([appearance=transparent][color=blue]) a:active{color:var(--calcite-ui-brand-press)}:host([appearance=transparent][color=blue]) button calcite-loader,:host([appearance=transparent][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=red]) button,:host([appearance=transparent][color=red]) a{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:hover,:host([appearance=transparent][color=red]) a:hover{color:var(--calcite-ui-danger-hover)}:host([appearance=transparent][color=red]) button:focus,:host([appearance=transparent][color=red]) a:focus{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:active,:host([appearance=transparent][color=red]) a:active{color:var(--calcite-ui-danger-press)}:host([appearance=transparent][color=red]) button calcite-loader,:host([appearance=transparent][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=neutral]:not(.calcite-inline-editable__cancel-editing-button)) button,:host([appearance=transparent][color=neutral]:not(.calcite-inline-editable__cancel-editing-button)) a,:host([appearance=transparent][color=neutral]:not(.calcite-inline-editable__cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].calcite-inline-editable__cancel-editing-button) button{color:var(--calcite-ui-text-3);border-top-width:1px;border-top-color:var(--calcite-ui-border-input);border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-input);border-bottom-style:solid;border-top-style:solid}:host([appearance=transparent][color=neutral].calcite-inline-editable__cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y:0}:host([appearance=transparent][color=neutral].calcite-inline-editable__cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].calcite-inline-editable__enable-editing-button) button{background-color:transparent}:host([appearance=transparent][color=inverse]) button,:host([appearance=transparent][color=inverse]) a,:host([appearance=transparent][color=inverse]) calcite-loader{color:var(--calcite-ui-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]:not([appearance=transparent])) button.content--slotted,:host([scale=m]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]:not([appearance=transparent])) button.content--slotted,:host([scale=l]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:11px}:host([scale=l][appearance=transparent]) button.content--slotted,:host([scale=l][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:1.5rem;min-height:1.5rem}:host([scale=s][appearance=transparent]) button:not(.content--slotted),:host([scale=s][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.25rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:2rem;min-height:2rem}:host([scale=m][appearance=transparent]) button:not(.content--slotted),:host([scale=m][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.5rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:2.75rem;min-height:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:23px;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:1.5rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:2rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:43px;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:2.75rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:1rem;margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:2.75rem}";var v=t("calcite_button",function(){function t(t){var a=this;e(this,t);this.alignment="center";this.appearance="solid";this.color="blue";this.disabled=false;this.intlLoading=h.loading;this.loading=false;this.round=false;this.scale="m";this.splitChild=false;this.width="auto";this.mutationObserver=d("mutation",(function(){return a.updateHasContent()}));this.childElType="button";this.hasContent=false;this.hasLoader=false;this.onLabelClick=function(t){a.handleClick(t);a.setFocus()};this.handleClick=function(t){var e=a,o=e.childElType,i=e.form,c=e.el,l=e.type;if(o==="button"&&l!=="button"){var s=i?n(c,"#"+i):r(c,"form");if(s){var u=s.onsubmit;switch(l){case"submit":if(u){u()}else if(s.checkValidity()){s.submit()}else{s.reportValidity()}break;case"reset":s.reset();break}}t.preventDefault()}}}t.prototype.loadingChanged=function(t,e){var a=this;if(!!t&&!e){this.hasLoader=true}if(!t&&!!e){window.setTimeout((function(){a.hasLoader=false}),300)}};t.prototype.connectedCallback=function(){this.childElType=this.href?"a":"button";this.hasLoader=this.loading;this.setupTextContentObserver();l(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();s(this)};t.prototype.componentWillLoad=function(){{this.updateHasContent();if(this.childElType==="button"&&!this.type){this.type="submit"}}};t.prototype.render=function(){var t,e,o;var n=this;var r=i(this.el);var l=this.childElType;var s=a("div",{class:p.buttonLoader},this.hasLoader?a("calcite-loader",{active:true,class:this.loading?p.loadingIn:p.loadingOut,inline:true,label:this.intlLoading,scale:"m"}):null);var d=a("calcite-icon",{class:(t={},t[p.icon]=true,t[p.iconStart]=true,t),flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var h=a("calcite-icon",{class:(e={},e[p.icon]=true,e[p.iconEnd]=true,e),flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var b=a("span",{class:p.content},a("slot",null));return a(l,{"aria-label":u(this),class:(o={},o[c.rtl]=r==="rtl",o[p.contentSlotted]=this.hasContent,o),disabled:this.disabled||this.loading,href:this.childElType==="a"&&this.href,name:this.childElType==="button"&&this.name,onClick:this.handleClick,ref:function(t){return n.childEl=t},rel:this.childElType==="a"&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:this.childElType==="a"&&this.target,type:this.childElType==="button"&&this.type},s,this.iconStart?d:null,this.hasContent?b:null,this.iconEnd?h:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.childEl.focus();return[2]}))}))};t.prototype.updateHasContent=function(){var t,e;var a=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=this.el.childNodes.length===1&&((t=this.el.childNodes[0])===null||t===void 0?void 0:t.nodeName)==="#text"?((e=this.el.textContent)===null||e===void 0?void 0:e.trim().length)>0:a};t.prototype.setupTextContentObserver=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{loading:["loadingChanged"]}},enumerable:false,configurable:true});return t}());v.style=b}}}));
@@ -1 +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 o(t){try{c(i.next(t))}catch(t){r(t)}}function s(t){try{c(i["throw"](t))}catch(t){r(t)}}function c(t){t.done?a(t.value):n(t.value).then(o,s)}c((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,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];n=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-e87acd87.system.js","./p-f02d04ab.system.js","./p-b4cc79dc.system.js","./p-95dfb659.system.js","./p-8a16620b.system.js","./p-987310d2.system.js","./p-5a1b0338.system.js","./p-dda58d1e.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s,c,l,p,u,h,d,f,m,v,g,y,b,D,w;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.H;r=t.g},function(t){o=t.T;s=t.d;c=t.a;l=t.b;p=t.g;u=t.s;h=t.p;d=t.i},function(t){f=t.g},function(t){m=t.g},function(t){v=t.c;g=t.d;y=t.g},function(t){b=t.u;D=t.C;w=t.c},function(){},function(){},function(){}],execute:function(){var k="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .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}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-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{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width: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{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}";var x="bottom-leading";var I=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.calciteInputDatePickerOpen=a(this,"calciteInputDatePickerOpen",7);this.calciteInputDatePickerClose=a(this,"calciteInputDatePickerClose",7);this.active=false;this.intlPrevMonth=o.prevMonth;this.intlNextMonth=o.nextMonth;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.overlayPositioning="absolute";this.proximitySelectionDisabled=false;this.layout="horizontal";this.focusedInput="start";this.activeTransitionProp="opacity";this.onLabelClick=function(){i.setFocus()};this.transitionEnd=function(t){if(t.propertyName===i.activeTransitionProp){i.active?i.calciteInputDatePickerOpen.emit():i.calciteInputDatePickerClose.emit()}};this.setStartInput=function(t){i.startInput=t};this.setEndInput=function(t){i.endInput=t};this.deactivate=function(){i.active=false};this.keyUpHandler=function(t){if(m(t.key)==="Escape"){i.active=false}};this.inputBlur=function(t){i.blur(t.detail)};this.startInputFocus=function(){i.active=true;i.focusedInput="start"};this.endInputFocus=function(){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=s(t.detail)};this.handleDateRangeChange=function(t){var e,a;if(!i.range||!t.detail){return}var n=t.detail,r=n.startDate,o=n.endDate;i.start=s(r);i.end=s(o);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.activeHandler=function(){this.reposition()};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;return __generator(this,(function(n){t=this,e=t.popper,a=t.menuEl;i=this.getModifiers();e?b({el:a,modifiers:i,placement:x,popper:e}):this.createPopper();return[2]}))}))};t.prototype.connectedCallback=function(){if(this.value){this.valueAsDate=c(this.value)}if(this.start){this.startAsDate=c(this.start)}if(this.end){this.endAsDate=c(this.end)}if(this.min){this.minAsDate=c(this.min)}if(this.max){this.maxAsDate=c(this.max)}this.createPopper();v(this)};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();return[2]}}))}))};t.prototype.disconnectedCallback=function(){this.destroyPopper();g(this)};t.prototype.render=function(){var t;var e,a;var r=l(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var o=this.range?l(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=o?o.toLocaleDateString(this.locale):"";var c=r?r.toLocaleDateString(this.locale):"";var p=f(this.el);return i(n,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&i("div",{"aria-expanded":this.active.toString(),class:"input-container",dir:p,role:"application"},i("div",{class:"input-wrapper",ref:this.setStartWrapper},i("calcite-input",{class:"input "+(this.layout==="vertical"&&this.range?"no-bottom-border":""),icon:"calendar",label:y(this),"number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:(e=this.localeData)===null||e===void 0?void 0:e.placeholder,ref:this.setStartInput,scale:this.scale,type:"text",value:c})),i("div",{"aria-hidden":(!this.active).toString(),class:"menu-container",ref:this.setMenuEl},i("div",{class:(t={},t["calendar-picker-wrapper"]=true,t["calendar-picker-wrapper--end"]=this.focusedInput==="end",t[D.animation]=true,t[D.animationActive]=this.active,t),onTransitionEnd:this.transitionEnd},i("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,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-t-color-1":this.layout==="vertical"&&this.range},icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:(a=this.localeData)===null||a===void 0?void 0:a.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:s}))))};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.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]};return[t]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,a=t.referenceEl,i=t.overlayPositioning;if(!e||!a){return}var n=this.getModifiers();this.popper=w({el:e,modifiers:n,overlayPositioning:i,placement:x,referenceEl:a})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.valueWatcher=function(t){this.valueAsDate=c(t)};t.prototype.startWatcher=function(t){this.startAsDate=c(t)};t.prototype.endWatcher=function(t){this.endAsDate=c(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){this.value=undefined;return}var t=this.focusedInput;if(t==="start"){this.start=undefined}else if(t==="end"){this.end=undefined}};t.prototype.input=function(t){var e=this.getDateFromInput(t);if(!e){this.clearCurrentValue();return}if(!this.range){this.value=s(e);return}var a=this.focusedInput;if(a==="start"){if(!this.startAsDate||!u(e,this.startAsDate)){this.start=s(e);this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}}else if(a==="end"){if(!this.endAsDate||!u(e,this.endAsDate)){this.end=s(e);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,o=e.startAsDate,s=e.valueAsDate;var c=this.getDateFromInput(t.value);if(!c){if(!r&&s){t.value=s.toLocaleDateString(a)}else if(i==="start"&&o){t.value=o.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 o=i>0;var s=n>-1;var c=new Date(r,n,i);c.setFullYear(r);var l=!isNaN(c.getTime());var p=t.split(e).filter((function(t){return t})).length>2;var u=r.toString().length>0;if(o&&s&&l&&p&&u&&d(c,this.min,this.max)){return c}return false};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],value:["valueWatcher"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return t}());I.style=k}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as a,F as e,g as n}from"./p-30f1442b.js";import{g as s,C as r}from"./p-dc825c55.js";import{g as o}from"./p-a4e6e35b.js";import{c as l,d as c}from"./p-ef38dee8.js";const m=class{constructor(a){t(this,a),this.calciteRatingChange=i(this,"calciteRatingChange",7),this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.intlRating="Rating",this.intlStars="Stars: ${num}",this.onLabelClick=()=>{this.setFocus()},this.guid=`calcite-ratings-${o()}`}connectedCallback(){l(this)}disconnectedCallback(){c(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((t=>{const i=this.value>=t,e=this.average&&!this.value&&t<=this.average,n=t<=this.hoverValue,s=this.average&&this.average+1-t,r=!this.value&&!n&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===t,selected:i,average:e,hovered:n,partial:r},htmlFor:`${this.guid}-${t}`,onMouseOver:()=>{this.hoverValue=t}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:i||e||this.readOnly?"star-f":"star",scale:this.scale}),r&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.intlStars.replace("${num}",`${t}`))),a("input",{checked:t===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${t}`,name:this.guid,onChange:()=>this.updateValue(t),onFocus:()=>{this.hasFocus=!0,this.focusValue=t},ref:i=>(1===t||t===this.value)&&(this.inputFocusRef=i),type:"radio",value:t}))}))}render(){const{intlRating:t,showChip:i,scale:n,count:o,average:l}=this,c=s(this.el);return a(e,null,a("fieldset",{class:{fieldset:!0,[r.rtl]:"rtl"===c},onBlur:()=>this.hoverValue=null,onMouseLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},t),this.renderStars()),(o||l)&&i?a("calcite-chip",{class:{[r.rtl]:"rtl"===c},dir:c,scale:n,value:null==o?void 0:o.toString()},!!l&&a("span",{class:"number--average"},l.toString()),!!o&&a("span",{class:"number--count"},"(",null==o?void 0:o.toString(),")")):null)}updateValue(t){this.value=t,this.calciteRatingChange.emit({value:t})}async setFocus(){this.inputFocusRef.focus()}get el(){return n(this)}};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}:host([scale=s]){height:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){height:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){height:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([disabled]){pointer-events:none;opacity:0.5}:host([read-only]){pointer-events:none}.fieldset{padding:0;margin:0;border-width:0;display:-ms-flexbox;display:flex}.wrapper{display:inline-block;margin-right:var(--calcite-rating-spacing-unit)}.calcite--rtl .wrapper{margin-right:0;margin-left:var(--calcite-rating-spacing-unit)}.star{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;color:var(--calcite-ui-border-input);-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;-webkit-transform:scale(1);transform:scale(1)}.star:active{-webkit-transform:scale(1.1);transform:scale(1.1)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}.hovered:not(.selected){-webkit-transform:scale(0.9);transform:scale(0.9)}:host .fraction{position:absolute;overflow:hidden;pointer-events:none;top:0;left:0;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out}.calcite--rtl .fraction{right:0;left:auto}calcite-chip{cursor:default;pointer-events:none}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-left:var(--calcite-rating-spacing-unit)}.calcite--rtl .number--count:not(:first-child){margin-left:0;margin-right:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}";export{m as calcite_rating}
@@ -1 +0,0 @@
1
- const t=()=>[2,1,1,1,3].map((t=>{let e="";for(let r=0;r<t;r++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-");export{t as g}
@@ -1 +0,0 @@
1
- System.register([],(function(t){"use strict";return{execute:function(){var e=t("c",(function(t,e,n){return Math.max(e,Math.min(t,n))}))}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-e87acd87.system.js","./p-b4cc79dc.system.js","./p-4fce2a7a.system.js","./p-2c235db8.system.js"],(function(e){"use strict";var t,i,a,n,o,r,l,c,s;return{setters:[function(e){t=e.r;i=e.c;a=e.h;n=e.H;o=e.g},function(e){r=e.a;l=e.g;c=e.C},function(e){s=e.C},function(){}],execute:function(){var m={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",controlContainer:"control-container",valid:"valid",invalid:"invalid"};var d={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var g={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var u={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"};var p=4;var f='@-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:300ms}.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}: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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;text-align:left;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-left:1rem;padding-right:1rem;padding-top:0;padding-bottom:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-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)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{margin-left:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.toggle-icon{margin-right:1rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-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)}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}.calcite--rtl .toggle-icon{margin-right:0;margin-left:1rem}.calcite--rtl .icon{margin-left:0;margin-right:0.75rem}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}:host([drag-handle]) .calcite--rtl .title{padding-left:0;padding-right:0.25rem}';var h=e("calcite_block",function(){function e(e){var a=this;t(this,e);this.calciteBlockToggle=i(this,"calciteBlockToggle",7);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlLoading=d.loading;this.intlOptions=d.options;this.loading=false;this.open=false;this.onHeaderClick=function(){a.open=!a.open;a.calciteBlockToggle.emit()}}e.prototype.renderScrim=function(){var e=this,t=e.disabled,i=e.loading;var n=a("slot",null);return[i||t?a("calcite-scrim",{loading:i}):null,n]};e.prototype.renderIcon=function(){var e;var t;var i=this,n=i.el,o=i.status;var l=(t=u[o])!==null&&t!==void 0?t:false;var c=r(n,g.icon)||l;var s=!l?a("slot",{name:g.icon}):a("calcite-icon",{class:(e={},e[m.statusIcon]=true,e[m.valid]=o=="valid",e[m.invalid]=o=="invalid",e),icon:l,scale:"m"});return c?a("div",{class:m.icon},s):null};e.prototype.render=function(){var e;var t=this,i=t.collapsible,o=t.disabled,f=t.el,h=t.heading,b=t.intlCollapse,v=t.intlExpand,w=t.loading,x=t.open,k=t.summary,y=t.intlLoading,D=t.headingLevel;var z=x?b||d.collapse:v||d.expand;var _=a("header",{class:m.header},this.renderIcon(),a("div",{class:m.title},a(s,{class:m.heading,level:D||p},h),k?a("div",{class:m.summary},k):null));var S=!!r(f,g.control);var C=!!r(f,g.headerMenuActions);var I=x?u.opened:u.closed;var H=a("div",{class:m.headerContainer},this.dragHandle?a("calcite-handle",null):null,i?a("button",{"aria-expanded":i?x.toString():null,"aria-label":z,class:m.toggle,onClick:this.onHeaderClick,title:z},_,!S&&!C?a("calcite-icon",{"aria-hidden":"true",class:m.toggleIcon,icon:I,scale:"s"}):null):_,w?a("calcite-loader",{inline:true,"is-active":true,label:y}):S?a("div",{class:m.controlContainer},a("slot",{name:g.control})):null,C?a("calcite-action-menu",{label:this.intlOptions||d.options},a("slot",{name:g.headerMenuActions})):null);var j=l(f)==="rtl";return a(n,{tabIndex:o?-1:null},a("article",{"aria-busy":w.toString(),class:(e={},e[m.article]=true,e[c.rtl]=j,e)},H,a("div",{class:m.content,hidden:!x},this.renderScrim())))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());h.style=f;var b={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var v={collapse:"Collapse",expand:"Expand"};var w={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var x="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}: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);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial}.toggle--switch calcite-switch{pointer-events:none;margin-left:0.25rem}.toggle--switch .status-icon{margin-left:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.calcite--rtl .toggle--switch calcite-switch{margin-left:0;margin-right:0.25rem}.calcite--rtl .toggle--switch .status-icon{margin-left:0;margin-right:0.5rem}";var k=e("calcite_block_section",function(){function e(e){var a=this;t(this,e);this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",7);this.open=false;this.toggleDisplay="button";this.handleHeaderKeyDown=function(e){if(e.key===" "||e.key==="Enter"){a.toggleSection();e.preventDefault();e.stopPropagation()}};this.toggleSection=function(){a.open=!a.open;a.calciteBlockSectionToggle.emit()}}e.prototype.renderStatusIcon=function(){var e;var t;var i=this.status;var n=(t=w[i])!==null&&t!==void 0?t:false;var o=(e={},e[b.statusIcon]=true,e[b.valid]=i=="valid",e[b.invalid]=i=="invalid",e);return!!n?a("calcite-icon",{class:o,icon:n,scale:"s"}):null};e.prototype.render=function(){var e,t,i;var n=this,o=n.el,r=n.intlCollapse,s=n.intlExpand,m=n.open,d=n.text,g=n.toggleDisplay;var u=l(o);var p=m?w.menuOpen:u==="rtl"?w.menuClosedLeft:w.menuClosedRight;var f=m?r||v.collapse:s||v.expand;var h=g==="switch"?a("div",{"aria-label":f,class:(e={},e[b.toggle]=true,e[b.toggleSwitch]=true,e),onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:f},a("div",{class:b.toggleSwitchContent},a("span",{class:b.toggleSwitchText},d)),a("calcite-switch",{checked:m,label:f,scale:"s",tabIndex:-1}),this.renderStatusIcon()):a("button",{"aria-label":f,class:(t={},t[b.sectionHeader]=true,t[b.toggle]=true,t),name:f,onClick:this.toggleSection},a("calcite-icon",{icon:p,scale:"s"}),a("span",{class:b.sectionHeaderText},d),this.renderStatusIcon());return a("section",{"aria-expanded":m.toString(),class:(i={},i[c.rtl]=u==="rtl",i)},h,a("div",{class:b.content,hidden:!m},a("slot",null)))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());k.style=x}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a["throw"](e))}catch(e){i(e)}}function l(e){e.done?n(e.value):r(e.value).then(o,s)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,r&&(i=o[0]&2?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;if(r=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){n.label=o[1];break}if(o[0]===6&&n.label<i[1]){n.label=i[1];i=o;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(o);break}if(i[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-e87acd87.system.js","./p-987310d2.system.js","./p-2c235db8.system.js","./p-b4cc79dc.system.js","./p-4fce2a7a.system.js"],(function(e){"use strict";var t,n,a,r,i,o,s,l,c,p,f,m,d,u,h,b;return{setters:[function(e){t=e.r;n=e.c;a=e.f;r=e.h;i=e.H;o=e.g},function(e){s=e.d;l=e.u;c=e.c;p=e.C},function(e){f=e.g},function(e){m=e.q;d=e.g;u=e.C;h=e.h},function(e){b=e.C}],execute:function(){var y={container:"container",arrow:"arrow",imageContainer:"image-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContent:"header-content",heading:"heading"};var v={close:"Close"};var w="data-calcite-popover-reference";var g="aria-controls";var k="aria-expanded";var x=2;var D='@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.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}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::before{content:"";-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-anim{background-color:var(--calcite-ui-foreground-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);border-radius:0.25rem}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{border-width:0;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-3);border-style:solid;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start}.heading{display:block;-ms-flex:1 1 auto;flex:1 1 auto;font-weight:var(--calcite-font-weight-medium);margin:0;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-font-size-0);line-height:1.375;white-space:normal;word-wrap:break-word;word-break:break-word}.container{background-color:var(--calcite-ui-foreground-1);position:relative;display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;height:100%;color:var(--calcite-ui-text-1);border-radius:0.25rem}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;height:100%}.calcite--rtl .close-button{border-radius:0.25rem 0 0 0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}';var _=e("calcite_popover",function(){function e(e){var a=this;t(this,e);this.calcitePopoverClose=n(this,"calcitePopoverClose",7);this.calcitePopoverOpen=n(this,"calcitePopoverOpen",7);this.closeButton=false;this.dismissible=false;this.disableFlip=false;this.disablePointer=false;this.offsetDistance=s;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.intlClose=v.close;this.guid="calcite-popover-"+f();this.activeTransitionProp="opacity";this.setUpReferenceElement=function(){a.removeReferences();a.effectiveReferenceElement=a.getReferenceElement();var e=a,t=e.el,n=e.referenceElement,r=e.effectiveReferenceElement;if(n&&!r){console.warn(t.tagName+': reference-element id "'+n+'" was not found.',{el:t})}a.addReferences();a.createPopper()};this.getId=function(){return a.el.id||a.guid};this.setExpandedAttr=function(){var e=a,t=e.effectiveReferenceElement,n=e.open;if(!t){return}t.setAttribute(k,n.toString())};this.addReferences=function(){var e=a.effectiveReferenceElement;if(!e){return}var t=a.getId();e.setAttribute(w,t);e.setAttribute(g,t);a.setExpandedAttr()};this.removeReferences=function(){var e=a.effectiveReferenceElement;if(!e){return}e.removeAttribute(w);e.removeAttribute(g);e.removeAttribute(k)};this.hide=function(){a.open=false};this.transitionEnd=function(e){if(e.propertyName===a.activeTransitionProp){a.open?a.calcitePopoverOpen.emit():a.calcitePopoverClose.emit()}}}e.prototype.offsetDistanceOffsetHandler=function(){this.reposition()};e.prototype.offsetSkiddingHandler=function(){this.reposition()};e.prototype.openHandler=function(){this.reposition();this.setExpandedAttr()};e.prototype.placementHandler=function(){this.reposition()};e.prototype.referenceElementHandler=function(){this.setUpReferenceElement()};e.prototype.componentWillLoad=function(){this.setUpReferenceElement()};e.prototype.componentDidLoad=function(){this.reposition()};e.prototype.disconnectedCallback=function(){this.removeReferences();this.destroyPopper()};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,a,r;return __generator(this,(function(i){e=this,t=e.popper,n=e.el,a=e.placement;r=this.getModifiers();t?l({el:n,modifiers:r,placement:a,popper:t}):this.createPopper();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){n=this.closeButtonEl;if(e==="close-button"&&n){a(n);n.setFocus();return[2]}(t=this.el)===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.toggle=function(e){if(e===void 0){e=!this.open}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=e;return[2]}))}))};e.prototype.getReferenceElement=function(){var e=this,t=e.referenceElement,n=e.el;return(typeof t==="string"?m(n,"#"+t):t)||null};e.prototype.getModifiers=function(){var e=this,t=e.arrowEl,n=e.flipPlacements,a=e.disableFlip,r=e.disablePointer,i=e.offsetDistance,o=e.offsetSkidding;var s={name:"flip",enabled:!a};if(n){s.options={fallbackPlacements:n}}var l={name:"arrow",enabled:!r};if(t){l.options={element:t}}var c={name:"offset",enabled:true,options:{offset:[o,i]}};return[l,s,c]};e.prototype.createPopper=function(){this.destroyPopper();var e=this,t=e.el,n=e.placement,a=e.effectiveReferenceElement,r=e.overlayPositioning;var i=this.getModifiers();this.popper=c({el:t,modifiers:i,overlayPositioning:r,placement:n,referenceEl:a})};e.prototype.destroyPopper=function(){var e=this.popper;if(e){e.destroy()}this.popper=null};e.prototype.renderCloseButton=function(){var e=this;var t=this,n=t.dismissible,a=t.closeButton,i=t.intlClose;return n||a?r("calcite-action",{class:y.closeButton,onClick:this.hide,ref:function(t){return e.closeButtonEl=t},text:i},r("calcite-icon",{icon:"x",scale:"m"})):null};e.prototype.renderHeader=function(){var e=this,t=e.heading,n=e.headingLevel;var a=t?r(b,{class:y.heading,level:n||x},t):null;return a?r("div",{class:y.header},a,this.renderCloseButton()):null};e.prototype.render=function(){var e,t;var n=this;var a=this,o=a.effectiveReferenceElement,s=a.el,l=a.heading,c=a.label,f=a.open,m=a.disablePointer;var h=d(s)==="rtl";var b=o&&f;var v=!b;var w=!m?r("div",{class:y.arrow,ref:function(e){return n.arrowEl=e}}):null;return r(i,{"aria-hidden":v.toString(),"aria-label":c,"calcite-hydrated-hidden":v,id:this.getId(),role:"dialog"},r("div",{class:(e={},e[u.rtl]=h,e[p.animation]=true,e[p.animationActive]=b,e),onTransitionEnd:this.transitionEnd},w,r("div",{class:(t={},t[y.hasHeader]=!!l,t[y.container]=true,t)},this.renderHeader(),r("div",{class:y.content},r("slot",null)),!l?this.renderCloseButton():null)))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}},enumerable:false,configurable:true});return e}());_.style=D;var E="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";var P=e("calcite_popover_manager",function(){function e(e){var n=this;t(this,e);this.selector="["+w+"]";this.autoClose=false;this.getRelatedPopover=function(e){var t;var a=n,r=a.selector,i=a.el;var o=(t=e.closest(r))===null||t===void 0?void 0:t.getAttribute(w);return m(i,"#"+o)}}e.prototype.render=function(){return r("slot",null)};e.prototype.closeOpenPopovers=function(e){var t=e.target;var n=this,a=n.autoClose,r=n.el;var i="calcite-popover";var o=t.closest(i);var s=this.getRelatedPopover(t);if(a&&!o){h(r,i).filter((function(e){return e.open&&e!==s})).forEach((function(e){return e.toggle(false)}))}if(!r.contains(t)||!s){return}s.toggle()};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());P.style=E}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as a,g as n}from"./p-30f1442b.js";import{s as e,d as s,g as o,C as r}from"./p-dc825c55.js";import"./p-a4e6e35b.js";var c;!function(t){t.valid="check-circle",t.invalid="exclamation-mark-triangle",t.idle="information"}(c||(c={}));const l=class{constructor(i){t(this,i),this.active=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=e(c,this.icon,this.status)}connectedCallback(){this.status=s(this.el,"status",this.status),this.scale=s(this.el,"scale",this.scale),this.requestedIcon=e(c,this.icon,this.status)}render(){return i(a,{"calcite-hydrated-hidden":!this.active},this.renderIcon(this.requestedIcon),i("slot",null))}renderIcon(t){if(t){const a=o(this.el);return i("calcite-icon",{class:{"calcite-input-message-icon":!0,[r.rtl]:"rtl"===a},icon:t,scale:"s"})}}get el(){return n(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium);visibility:hidden;height:0;pointer-events:none;opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active]){height:auto;visibility:visible;opacity:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active][scale=m]),:host([active][scale=l]){margin-top:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;pointer-events:none;margin-right:0.5rem;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-input-message-icon.calcite--rtl{margin-left:0.5rem;margin-right:0}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium)}:host([status][active][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][active][scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem;margin-top:0.25rem}:host([status][active][scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem;margin-top:0.25rem}";export{l as calcite_input_message}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{l(a.next(t))}catch(t){r(t)}}function s(t){try{l(a["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):n(t.value).then(o,s)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-e87acd87.system.js","./p-b4cc79dc.system.js","./p-4fce2a7a.system.js","./p-8958d1f6.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var e,i,a,n,r,o,s,l,c,m;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.F;r=t.g},function(t){o=t.a;s=t.g},function(t){l=t.C;c=t.c},function(t){m=t.c},function(){}],execute:function(){var d={header:"header",heading:"heading",close:"close",container:"container",tipContainer:"tip-container",tipContainerAdvancing:"tip-container--advancing",tipContainerRetreating:"tip-container--retreating",pagination:"pagination",pagePosition:"page-position",pageNext:"page-next",pagePrevious:"page-previous"};var p={chevronLeft:"chevron-left",chevronRight:"chevron-right",close:"x"};var f={defaultGroupTitle:"Tips",defaultPaginationLabel:"Tip",close:"Close",previous:"Previous",next:"Next"};var u=2;var h={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info"};var g={close:"x"};var b={thumbnail:"thumbnail"};var y={close:"Close"};var v=u+1;var w="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:1rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);-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);line-height:1rem}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.container{padding:1rem;width:100%}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{border-style:none;margin:0;padding:0}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{margin-bottom:0.5rem}.header .heading{color:var(--calcite-ui-text-1);padding:0}.container[hidden]{display:none}.content{display:-ms-flexbox;display:flex}.info{padding-top:0;padding-bottom:0;padding-left:1rem;padding-right:1rem;width:70%}.info:only-child{width:100%;padding-left:0;padding-right:0}::slotted(p){margin-top:0}::slotted(a){outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{width:25%}.image-frame img{max-width:100%}::slotted(img){max-width:100%}";var x=t("calcite_tip",function(){function t(t){var a=this;e(this,t);this.calciteTipDismiss=i(this,"calciteTipDismiss",7);this.dismissed=false;this.nonDismissible=false;this.selected=false;this.hideTip=function(){a.dismissed=true;a.calciteTipDismiss.emit()}}t.prototype.renderHeader=function(){var t;var e=this,i=e.heading,n=e.headingLevel,r=e.el;var o=(t=r.closest("calcite-tip-manager"))===null||t===void 0?void 0:t.headingLevel;var s=o?c(o+1):null;var m=n||s||v;return i?a("header",{class:h.header},a(l,{class:h.heading,level:m},i)):null};t.prototype.renderDismissButton=function(){var t=this,e=t.nonDismissible,i=t.hideTip,n=t.intlClose;var r=n||y.close;return!e?a("calcite-action",{class:h.close,icon:g.close,onClick:i,scale:"l",text:r}):null};t.prototype.renderImageFrame=function(){var t=this.el;return o(t,b.thumbnail)?a("div",{class:h.imageFrame},a("slot",{name:b.thumbnail})):null};t.prototype.renderInfoNode=function(){return a("div",{class:h.info},a("slot",null))};t.prototype.renderContent=function(){return a("div",{class:h.content},this.renderImageFrame(),this.renderInfoNode())};t.prototype.render=function(){return a(n,null,a("article",{class:h.container},this.renderHeader(),this.renderContent()),this.renderDismissButton())};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());x.style=w;var k="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;-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);line-height:1rem}::slotted(calcite-tip){border-style:none;margin:0}:host-context(calcite-tip-manager){margin-top:0.75rem;margin-bottom:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";var D=t("calcite_tip_group",function(){function t(t){e(this,t)}t.prototype.render=function(){return a("slot",null)};return t}());D.style=k;var _="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;-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);line-height:1rem;--calcite-tip-manager-height:19vh}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([closed]){display:none}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-left:1rem;padding-right:0;padding-top:0;padding-bottom:0}.header h2.heading{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1);font-size:var(--calcite-font-size-1);line-height:1.5rem;padding:0}.container{overflow:hidden;position:relative;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;min-height:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{margin-top:0;overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:start;align-items:flex-start;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;margin-top:1px;-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:150ms;animation-duration:150ms;height:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-width:var(--calcite-tip-max-width)}.tip-container--advancing{-webkit-animation-name:tip-advance;animation-name:tip-advance}.tip-container--retreating{-webkit-animation-name:tip-retreat;animation-name:tip-retreat}.pagination{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-top:0.75rem;padding-bottom:0.5rem;padding-left:0;padding-right:0}.page-position{font-size:var(--calcite-font-size--2);line-height:1rem;margin-top:0;margin-bottom:0;margin-left:0.5rem;margin-right:0.5rem}:host-context([dir=rtl]) .header.header{padding-right:1rem;padding-left:0;padding-top:0;padding-bottom:0}@-webkit-keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@-webkit-keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}";var T=t("calcite_tip_manager",function(){function t(t){var a=this;e(this,t);this.calciteTipManagerToggle=i(this,"calciteTipManagerToggle",7);this.closed=false;this.mutationObserver=m("mutation",(function(){return a.setUpTips()}));this.hideTipManager=function(){a.closed=true;a.calciteTipManagerToggle.emit()};this.previousClicked=function(){a.previousTip()};this.nextClicked=function(){a.nextTip()};this.tipManagerKeyUpHandler=function(t){if(t.target!==a.container){return}switch(t.key){case"ArrowRight":t.preventDefault();a.nextTip();break;case"ArrowLeft":t.preventDefault();a.previousTip();break;case"Home":t.preventDefault();a.selectedIndex=0;break;case"End":t.preventDefault();a.selectedIndex=a.total-1;break}};this.storeContainerRef=function(t){a.container=t}}t.prototype.closedChangeHandler=function(){this.direction=null;this.calciteTipManagerToggle.emit()};t.prototype.selectedChangeHandler=function(){this.showSelectedTip();this.updateGroupTitle()};t.prototype.connectedCallback=function(){var t;this.setUpTips();(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.nextTip=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){this.direction="advancing";t=this.selectedIndex+1;this.selectedIndex=(t+this.total)%this.total;return[2]}))}))};t.prototype.previousTip=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){this.direction="retreating";t=this.selectedIndex-1;this.selectedIndex=(t+this.total)%this.total;return[2]}))}))};t.prototype.setUpTips=function(){var t=Array.from(this.el.querySelectorAll("calcite-tip"));this.total=t.length;if(this.total===0){return}var e=this.el.querySelector("calcite-tip[selected]");this.tips=t;this.selectedIndex=e?t.indexOf(e):0;t.forEach((function(t){t.nonDismissible=true}));this.showSelectedTip();this.updateGroupTitle()};t.prototype.showSelectedTip=function(){var t=this;this.tips.forEach((function(e,i){var a=t.selectedIndex===i;e.selected=a;e.hidden=!a}))};t.prototype.updateGroupTitle=function(){var t=this.tips[this.selectedIndex];var e=t.closest("calcite-tip-group");this.groupTitle=(e===null||e===void 0?void 0:e.groupTitle)||this.intlDefaultTitle||f.defaultGroupTitle};t.prototype.renderPagination=function(){var t=s(this.el);var e=this,i=e.selectedIndex,n=e.tips,r=e.total,o=e.intlNext,l=e.intlPrevious,c=e.intlPaginationLabel;var m=o||f.next;var u=l||f.previous;var h=c||f.defaultPaginationLabel;return n.length>1?a("footer",{class:d.pagination},a("calcite-action",{class:d.pagePrevious,icon:t==="ltr"?p.chevronLeft:p.chevronRight,onClick:this.previousClicked,scale:"m",text:u}),a("span",{class:d.pagePosition},h+" "+(i+1)+"/"+r),a("calcite-action",{class:d.pageNext,icon:t==="ltr"?p.chevronRight:p.chevronLeft,onClick:this.nextClicked,scale:"m",text:m})):null};t.prototype.render=function(){var t;var e=this,i=e.closed,n=e.direction,r=e.headingLevel,o=e.groupTitle,s=e.selectedIndex,c=e.intlClose,m=e.total;var h=c||f.close;if(m===0){return null}return a("section",{"aria-hidden":i.toString(),class:d.container,hidden:i,onKeyUp:this.tipManagerKeyUpHandler,ref:this.storeContainerRef,tabIndex:0},a("header",{class:d.header},a(l,{class:d.heading,level:r||u},o),a("calcite-action",{class:d.close,onClick:this.hideTipManager,scale:"m",text:h},a("calcite-icon",{icon:p.close,scale:"m"}))),a("div",{class:(t={},t[d.tipContainer]=true,t[d.tipContainerAdvancing]=!i&&n==="advancing",t[d.tipContainerRetreating]=!i&&n==="retreating",t),key:s,tabIndex:0},a("slot",null)),this.renderPagination())};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{closed:["closedChangeHandler"],selectedIndex:["selectedChangeHandler"]}},enumerable:false,configurable:true});return t}());T.style=_}}}));
@@ -1 +0,0 @@
1
- const t=(t,a,c)=>Math.max(a,Math.min(t,c));export{t as c}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{l(i.next(t))}catch(t){a(t)}}function s(t){try{l(i["throw"](t))}catch(t){a(t)}}function l(t){t.done?n(t.value):o(t.value).then(r,s)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,o&&(a=r[0]&2?o["return"]:r[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;if(o=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;o=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1];a=r;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(r);break}if(a[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];o=0}finally{i=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-e87acd87.system.js","./p-6350bcd3.system.js","./p-b4cc79dc.system.js","./p-8958d1f6.system.js","./p-53caa311.system.js","./p-d53c2d2e.system.js","./p-8a30b93d.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var e,n,i,o,a,r,s,l,c,d,p,u,f,m,b;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.H;a=t.g},function(t){r=t.t;s=t.o;l=t.q;c=t.a;d=t.C;p=t.g},function(t){u=t.f;f=t.a},function(t){m=t.c},function(t){b=t.d},function(){},function(){},function(){}],execute:function(){var h={actionGroupBottom:"action-group--bottom"};var v={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var x={expand:"Expand",collapse:"Collapse"};var y="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{-ms-flex-item-align:stretch;align-self:stretch;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;pointer-events:auto;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2)}::slotted(calcite-action-group:last-child){border-bottom-width:0}.action-group--bottom{padding-bottom:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end}";var w=t("calcite_action_bar",function(){function t(t){var i=this;e(this,t);this.calciteActionBarToggle=n(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=m("mutation",(function(){var t=i,e=t.el,n=t.expanded;r({parent:e,expanded:n});i.conditionallyOverflowActions()}));this.resizeObserver=m("resize",(function(t){return i.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var e=t.composedPath();Array.from(i.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!e.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(i.resizeHandler)};this.resizeHandler=function(t){var e=t.contentRect.height;i.resize(e)};this.resize=b((function(t){var e;var n=i,o=n.el,a=n.expanded,r=n.expandDisabled;if(!t){return}var s=l(o);var d=r?s.length:s.length+1;var u=Array.from(o.querySelectorAll("calcite-action-group"));var m=f(o,v.bottomActions)||!r?u.length+1:u.length;var b=p({actionCount:d,actionHeight:(e=s[0])===null||e===void 0?void 0:e.clientHeight,height:t,groupCount:m});c({actionGroups:u,expanded:a,overflowCount:b})}),s);this.conditionallyOverflowActions=function(){if(!i.overflowActionsDisabled){i.overflowActions()}};this.toggleExpand=function(){i.expanded=!i.expanded};this.setExpandToggleRef=function(t){i.expandToggleEl=t}}t.prototype.expandHandler=function(t){if(!t){r({parent:this.el,expanded:this.expanded})}this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){if(!this.expandDisabled){r({parent:this.el,expanded:t})}this.calciteActionBarToggle.emit()};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,i=n.el,o=n.expandDisabled,a=n.expanded;if(!o){r({parent:i,expanded:a})}(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(i,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(i)}this.conditionallyOverflowActions()};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect()};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,u(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,a=t.intlCollapse,r=t.el,s=t.position,l=t.toggleExpand,c=t.scale;var p=f(r,v.expandTooltip);var u=o||x.expand;var m=a||x.collapse;var b=!n?i(d,{el:r,expanded:e,intlCollapse:m,intlExpand:u,position:s,ref:this.setExpandToggleRef,scale:c,toggle:l,tooltip:p}):null;return f(r,v.bottomActions)||b?i("calcite-action-group",{class:h.actionGroupBottom,scale:c},i("slot",{name:v.bottomActions}),i("slot",{name:v.expandTooltip}),b):null};t.prototype.render=function(){return i(o,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}());w.style=y}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,c){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function l(t){try{u(c.next(t))}catch(t){a(t)}}function r(t){try{u(c["throw"](t))}catch(t){a(t)}}function u(t){t.done?i(t.value):n(t.value).then(l,r)}u((c=c.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},c,n,a,l;return l={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(t){return function(e){return u([t,e])}}function u(l){if(c)throw new TypeError("Generator is already executing.");while(i)try{if(c=1,n&&(a=l[0]&2?n["return"]:l[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,l[1])).done)return a;if(n=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;n=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){i.label=l[1];break}if(l[0]===6&&i.label<a[1]){i.label=a[1];a=l;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(l);break}if(a[2])i.ops.pop();i.trys.pop();continue}l=e.call(t,i)}catch(t){l=[6,t];n=0}finally{c=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e){for(var i=0,c=e.length,n=t.length;i<c;i++,n++)t[n]=e[i];return t};System.register(["./p-e87acd87.system.js","./p-b4cc79dc.system.js","./p-95dfb659.system.js","./p-8a16620b.system.js","./p-5a1b0338.system.js","./p-defdc464.system.js","./p-dda58d1e.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var e,i,c,n,a,l,r,u,s,o,p,d,h,m,b,f,g,y,v,x,_,w,k,z;return{setters:[function(t){e=t.r;i=t.c;c=t.h;n=t.H;a=t.g},function(t){l=t.T;r=t.s;u=t.c;s=t.d;o=t.g;p=t.C},function(t){d=t.g;h=t.n},function(t){m=t.c;b=t.d;f=t.g},function(t){g=t.d;y=t.g;v=t.l},function(t){x=t.h},function(t){_=t.i;w=t.p;k=t.a;z=t.s},function(){}],execute:function(){var I={loader:"calcite-input__loader",clearButton:"calcite-input__clear-button",inputIcon:"calcite-input__icon",prefix:"calcite-input__prefix",suffix:"calcite-input__suffix",numberButtonWrapper:"calcite-input__number-button-wrapper",buttonItemHorizontal:"calcite-input__number-button-item--horizontal",wrapper:"calcite-input__element-wrapper",inputWrapper:"calcite-input__wrapper",actionWrapper:"calcite-input__action-wrapper",resizeIconWrapper:"calcite-input__resize-icon-wrapper",numberButtonItem:"calcite-input__number-button-item"};var D={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"};var E={action:"action"};var j="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}.sc-calcite-input:root{--calcite-animation-timing:300ms}.calcite-animate.sc-calcite-input{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.sc-calcite-input{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down.sc-calcite-input{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up.sc-calcite-input{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale.sc-calcite-input{-webkit-animation-name:in-scale;animation-name:in-scale}.sc-calcite-input:root{--calcite-popper-transition:150ms ease-in-out}[hidden].sc-calcite-input-h{display:none}[scale=s].sc-calcite-input-h input.sc-calcite-input,[scale=s].sc-calcite-input-h .calcite-input__prefix.sc-calcite-input,[scale=s].sc-calcite-input-h .calcite-input__suffix.sc-calcite-input{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}[scale=s].sc-calcite-input-h textarea.sc-calcite-input{height:1.5rem;min-height:1.5rem}[scale=s].sc-calcite-input-h .calcite-input__number-button-wrapper.sc-calcite-input,[scale=s].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=s].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:1.5rem}[scale=s].sc-calcite-input-h input[type=file].sc-calcite-input{height:1.5rem}[scale=s].sc-calcite-input-h .calcite-input__clear-button.sc-calcite-input{min-height:1.5rem;min-width:1.5rem}[scale=s].sc-calcite-input-h textarea.sc-calcite-input{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}[scale=m].sc-calcite-input-h input.sc-calcite-input,[scale=m].sc-calcite-input-h .calcite-input__prefix.sc-calcite-input,[scale=m].sc-calcite-input-h .calcite-input__suffix.sc-calcite-input{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}[scale=m].sc-calcite-input-h textarea.sc-calcite-input{min-height:2rem}[scale=m].sc-calcite-input-h .calcite-input__number-button-wrapper.sc-calcite-input,[scale=m].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=m].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:2rem}[scale=m].sc-calcite-input-h input[type=file].sc-calcite-input{height:2rem}[scale=m].sc-calcite-input-h .calcite-input__clear-button.sc-calcite-input{min-height:2rem;min-width:2rem}[scale=m].sc-calcite-input-h textarea.sc-calcite-input{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}[scale=l].sc-calcite-input-h input.sc-calcite-input,[scale=l].sc-calcite-input-h .calcite-input__prefix.sc-calcite-input,[scale=l].sc-calcite-input-h .calcite-input__suffix.sc-calcite-input{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}[scale=l].sc-calcite-input-h textarea.sc-calcite-input{min-height:2.75rem}[scale=l].sc-calcite-input-h .calcite-input__number-button-wrapper.sc-calcite-input,[scale=l].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=l].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:2.75rem}[scale=l].sc-calcite-input-h input[type=file].sc-calcite-input{height:2.75rem}[scale=l].sc-calcite-input-h .calcite-input__clear-button.sc-calcite-input{min-height:2.75rem;min-width:2.75rem}[scale=l].sc-calcite-input-h textarea.sc-calcite-input{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}[disabled].sc-calcite-input-h{pointer-events:none}[disabled].sc-calcite-input-h .calcite-input__wrapper.sc-calcite-input{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}[disabled].sc-calcite-input-h button.sc-calcite-input,[disabled].sc-calcite-input-h textarea.sc-calcite-input,[disabled].sc-calcite-input-h input.sc-calcite-input{pointer-events:none}[disabled].sc-calcite-input-h textarea.sc-calcite-input{resize:none}.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}.sc-calcite-input-h input[type=search].sc-calcite-input::-webkit-search-decoration{-webkit-appearance:none}.sc-calcite-input-h input.sc-calcite-input,.sc-calcite-input-h textarea.sc-calcite-input{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input::placeholder,.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input:focus,.sc-calcite-input-h textarea.sc-calcite-input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}.sc-calcite-input-h input[readonly].sc-calcite-input,.sc-calcite-input-h textarea[readonly].sc-calcite-input{background-color:var(--calcite-ui-background)}.sc-calcite-input-h input[readonly].sc-calcite-input:focus,.sc-calcite-input-h textarea[readonly].sc-calcite-input:focus{color:var(--calcite-ui-text-1)}.sc-calcite-input-h calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-3)}.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.sc-calcite-input-h textarea.sc-calcite-input:focus,.sc-calcite-input-h input.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}[status=invalid].sc-calcite-input-h input.sc-calcite-input,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input{border-color:var(--calcite-ui-danger)}[status=invalid].sc-calcite-input-h input.sc-calcite-input:focus,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}[scale=s].sc-calcite-input-h .calcite-input__icon.sc-calcite-input{left:0.5rem}[scale=s].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__icon.sc-calcite-input{left:unset;right:0.5rem}[scale=m].sc-calcite-input-h .calcite-input__icon.sc-calcite-input{left:0.75rem}[scale=m].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__icon.sc-calcite-input{left:unset;right:0.75rem}[scale=l].sc-calcite-input-h .calcite-input__icon.sc-calcite-input{left:1rem}[scale=l].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__icon.sc-calcite-input{left:unset;right:1rem}[icon][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-left:2rem}[icon][scale=s].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:2rem;padding-left:0.5rem}[icon][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-left:2.5rem}[icon][scale=m].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:2.5rem;padding-left:0.5rem}[icon][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-left:3rem}[icon][scale=l].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:3rem;padding-left:0.5rem}.calcite-input__element-wrapper.sc-calcite-input{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.calcite-input__icon.sc-calcite-input{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text].sc-calcite-input::-ms-clear,input[type=text].sc-calcite-input::-ms-reveal{display:none;width:0;height:0}input[type=search].sc-calcite-input::-webkit-search-decoration,input[type=search].sc-calcite-input::-webkit-search-cancel-button,input[type=search].sc-calcite-input::-webkit-search-results-button,input[type=search].sc-calcite-input::-webkit-search-results-decoration,input[type=date].sc-calcite-input::-webkit-clear-button,input[type=time].sc-calcite-input::-webkit-clear-button{display:none}.calcite-input__clear-button.sc-calcite-input{pointer-events:initial;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.calcite-input__clear-button.sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-input__clear-button.sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-input__clear-button.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}.calcite-input__clear-button.sc-calcite-input:active calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}.calcite-input__clear-button.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.calcite-input__clear-button.sc-calcite-input:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl.sc-calcite-input .calcite-input__clear-button.sc-calcite-input{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.calcite-input__loader.sc-calcite-input{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.calcite-input__action-wrapper.sc-calcite-input{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.calcite-input__prefix.sc-calcite-input,.calcite-input__suffix.sc-calcite-input{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.calcite-input__prefix.sc-calcite-input{-ms-flex-order:2;order:2;border-right-width:0}.calcite-input__suffix.sc-calcite-input{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl.sc-calcite-input .calcite-input__prefix.sc-calcite-input{border-right-width:1px;border-left-width:0}.calcite--rtl.sc-calcite-input .calcite-input__suffix.sc-calcite-input{border-left-width:1px;border-right-width:0}[alignment=start].sc-calcite-input-h textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h input.sc-calcite-input{text-align:left}[alignment=start].sc-calcite-input-h .calcite--rtl.sc-calcite-input textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{text-align:right}[alignment=end].sc-calcite-input-h textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h input.sc-calcite-input{text-align:right}[alignment=end].sc-calcite-input-h .calcite--rtl.sc-calcite-input textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{text-align:left}.sc-calcite-input-h input[type=number].sc-calcite-input{-moz-appearance:textfield}.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-inner-spin-button,.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.calcite-input__number-button-wrapper.sc-calcite-input{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}[number-button-type=vertical].sc-calcite-input-h .calcite-input__wrapper.sc-calcite-input{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}[number-button-type=vertical].sc-calcite-input-h input.sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h textarea.sc-calcite-input{-ms-flex-order:2;order:2}[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__number-button-item[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input,.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input,.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input{-ms-flex-order:5;order:5}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}.calcite--rtl.sc-calcite-input .calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl.sc-calcite-input .calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input{border-top-width:0}.calcite-input__number-button-item.sc-calcite-input{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.calcite-input__number-button-item.sc-calcite-input calcite-icon.sc-calcite-input{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-input__number-button-item.sc-calcite-input:focus{background-color:var(--calcite-ui-foreground-2)}.calcite-input__number-button-item.sc-calcite-input:focus calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}.calcite-input__number-button-item.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}[number-button-type=vertical].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__number-button-item.sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.calcite-input__wrapper.sc-calcite-input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}.sc-calcite-input-h input.sc-calcite-input::-webkit-calendar-picker-indicator{display:none}.sc-calcite-input-h input[type=date].sc-calcite-input::-webkit-input-placeholder{visibility:hidden !important}.sc-calcite-input-h textarea.sc-calcite-input::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.calcite-input__resize-icon-wrapper.sc-calcite-input{display:none}}.calcite-input__resize-icon-wrapper.sc-calcite-input{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.calcite-input__resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl.sc-calcite-input textarea.sc-calcite-input::-webkit-resizer{right:unset;left:0}.calcite--rtl.sc-calcite-input .calcite-input__resize-icon-wrapper.sc-calcite-input{left:2px;right:unset}.calcite--rtl.sc-calcite-input .calcite-input__resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}[type=color].sc-calcite-input-h input.sc-calcite-input{padding:0.25rem}[type=file].sc-calcite-input-h input.sc-calcite-input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}[type=file][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}[type=file][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}[type=file][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}.no-bottom-border.sc-calcite-input-h input.sc-calcite-input.sc-calcite-input{border-bottom-width:0}.border-t-color-1.sc-calcite-input-h input.sc-calcite-input.sc-calcite-input{border-top-color:var(--calcite-ui-border-1)}";var V=t("calcite_input",function(){function t(t){var c=this;e(this,t);this.calciteInputFocus=i(this,"calciteInputFocus",7);this.calciteInputBlur=i(this,"calciteInputBlur",7);this.calciteInputInput=i(this,"calciteInputInput",7);this.calciteInputChange=i(this,"calciteInputChange",7);this.alignment="start";this.autofocus=false;this.clearable=false;this.disabled=false;this.groupSeparator=false;this.intlLoading=l.loading;this.iconFlipRtl=false;this.loading=false;this.locale=document.documentElement.lang||"en";this.localeFormat=false;this.numberButtonType="vertical";this.readOnly=false;this.required=false;this.scale="m";this.status="idle";this.type="text";this.childElType="input";this.onLabelClick=function(){c.setFocus()};this.clearInputValue=function(t){c.setValue(null,t,true)};this.inputBlurHandler=function(){if(c.type==="number"){c.setLocalizedValue(c.value)}c.calciteInputBlur.emit({element:c.childEl,value:c.value});if(c.preFocusValue!==c.value){c.calciteInputChange.emit()}};this.inputFocusHandler=function(t){if(t.target!==c.slottedActionEl){c.setFocus()}c.calciteInputFocus.emit({element:c.childEl,value:c.value});c.preFocusValue=c.value};this.inputInputHandler=function(t){if(c.disabled||c.readOnly){return}c.setValue(t.target.value,t)};this.inputKeyDownHandler=function(t){if(c.disabled||c.readOnly){return}if(t.key==="Enter"){c.calciteInputChange.emit()}};this.inputNumberInputHandler=function(t){if(c.disabled||c.readOnly){return}var e=t.target.value;var i=g(e,c.locale);if(t.inputType==="insertFromPaste"){if(!_(i)){t.preventDefault()}c.setValue(w(i),t);c.childNumberEl.value=c.localizedValue}else{c.setValue(g(e,c.locale),t)}};this.inputNumberKeyDownHandler=function(t){if(c.type!=="number"||c.disabled||c.readOnly){return}if(t.key==="ArrowUp"){c.nudgeNumberValue("up",t);return}if(t.key==="ArrowDown"){c.nudgeNumberValue("down",t);return}var e=__spreadArray(__spreadArray([],h),["ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab","-"]);if(t.altKey||t.ctrlKey||t.metaKey){return}var i=t.shiftKey&&t.key==="Tab";if(e.includes(t.key)&&(!t.shiftKey||i)&&!(parseInt(c.value)===0&&d(t.key)==="0")){if(t.key==="Enter"){c.calciteInputChange.emit()}return}var n=y(c.locale);if(t.key===n&&(c.step==="any"||c.step&&k(c.step))){if(!c.value&&!c.childNumberEl.value){return}if(c.value&&c.childNumberEl.value.indexOf(n)===-1){return}}t.preventDefault()};this.nudgeNumberValue=function(t,e){var i,n;if(c.type!=="number"){return}var a=c.value;var l=((n=(i=c.step)===null||i===void 0?void 0:i.toString().split(".")[1])===null||n===void 0?void 0:n.length)||0;var r=c.maxString?parseFloat(c.maxString):null;var u=c.minString?parseFloat(c.minString):null;var s=c.step==="any"?1:Math.abs(c.step||1);var o=a&&a!==""?l?parseFloat(a):parseInt(a):0;var p=a;if(t==="up"&&(!r&&r!==0||o<r)){p=(o+s).toFixed(l)}if(t==="down"&&(!u&&u!==0||o>u)){p=(o-s).toFixed(l)}c.setValue(p,e,true)};this.numberButtonClickHandler=function(t){t.preventDefault();var e=t.target.dataset.adjustment;c.nudgeNumberValue(e,t)};this.reset=function(t){if(c.type==="number"){t.preventDefault()}c.setValue(c.defaultValue,t)};this.setChildElRef=function(t){c.childEl=t};this.setChildNumberElRef=function(t){c.childNumberEl=t};this.setLocalizedValue=function(t){c.localizedValue=v(t,c.locale,c.groupSeparator)};this.setValue=function(t,e,i){if(i===void 0){i=false}var n=c.value;c.value=c.type==="number"?z(t):t;if(c.type==="number"){c.setLocalizedValue(c.value)}if(e){if(c.type==="number"&&(t===null||t===void 0?void 0:t.endsWith("."))){return}var a=c.calciteInputInput.emit({element:c.childEl,nativeEvent:e,value:t});if(a.defaultPrevented){c.value=n;c.setLocalizedValue(n)}else if(i){c.calciteInputChange.emit()}}}}t.prototype.disabledWatcher=function(){this.setDisabledAction()};t.prototype.maxWatcher=function(){var t;this.maxString=((t=this.max)===null||t===void 0?void 0:t.toString())||null};t.prototype.minWatcher=function(){var t;this.minString=((t=this.min)===null||t===void 0?void 0:t.toString())||null};t.prototype.valueWatcher=function(t){if(this.type==="number"&&this.localizedValue!==v(t,this.locale)){this.setLocalizedValue(t)}else if(this.childEl&&this.childEl.value!==t){this.childEl.value=t}};t.prototype.updateRequestedIcon=function(){this.requestedIcon=r(D,this.icon,this.type)};Object.defineProperty(t.prototype,"isClearable",{get:function(){var t;return!this.isTextarea&&(this.clearable||this.type==="search")&&((t=this.value)===null||t===void 0?void 0:t.length)>0},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isTextarea",{get:function(){return this.childElType==="textarea"},enumerable:false,configurable:true});t.prototype.connectedCallback=function(){var t;this.form=u(this.el,"form");(t=this.form)===null||t===void 0?void 0:t.addEventListener("reset",this.reset);this.scale=s(this.el,"scale",this.scale);this.status=s(this.el,"status",this.status);if(this.type==="number"&&this.value){if(_(this.value)){this.localizedValue=v(this.value,this.locale,this.groupSeparator)}else{this.value=undefined}}m(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.form)===null||t===void 0?void 0:t.removeEventListener("reset",this.reset);b(this)};t.prototype.componentWillLoad=function(){var t,e;this.childElType=this.type==="textarea"?"textarea":"input";this.defaultValue=this.value;this.maxString=(t=this.max)===null||t===void 0?void 0:t.toString();this.minString=(e=this.min)===null||e===void 0?void 0:e.toString();this.requestedIcon=r(D,this.icon,this.type)};t.prototype.componentDidLoad=function(){this.slottedActionEl=this.el.querySelector("[slot=action]");this.setDisabledAction();if(this.type==="number"&&this.childEl){this.childEl.style.cssText=x}};t.prototype.componentShouldUpdate=function(t,e,i){if(this.type==="number"&&i==="value"&&t&&!_(t)){this.value=e;return false}return true};t.prototype.keyDownHandler=function(t){if(this.readOnly||this.disabled){return}if(this.isClearable&&d(t.key)==="Escape"){this.clearInputValue(t);t.preventDefault()}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){if(this.type==="number"){(t=this.childNumberEl)===null||t===void 0?void 0:t.focus()}else{(e=this.childEl)===null||e===void 0?void 0:e.focus()}return[2]}))}))};t.prototype.setDisabledAction=function(){if(!this.slottedActionEl){return}var t=this.slottedActionEl;this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")};t.prototype.render=function(){var t,e,i;var a=o(this.el);var l=c("div",{class:I.loader},c("calcite-progress",{label:this.intlLoading,type:"indeterminate"}));var r=c("button",{class:I.clearButton,disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:this.disabled?-1:0,type:"button"},c("calcite-icon",{icon:"x",scale:"s"}));var u=c("calcite-icon",{class:I.inputIcon,dir:a,flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"s"});var s=this.numberButtonType==="horizontal";var d=c("button",{class:(t={},t[I.numberButtonItem]=true,t[I.buttonItemHorizontal]=s,t),"data-adjustment":"up",disabled:this.disabled||this.readOnly,onClick:this.numberButtonClickHandler,tabIndex:-1,type:"button"},c("calcite-icon",{icon:"chevron-up",scale:"s"}));var h=c("button",{class:(e={},e[I.numberButtonItem]=true,e[I.buttonItemHorizontal]=s,e),"data-adjustment":"down",disabled:this.disabled||this.readOnly,onClick:this.numberButtonClickHandler,tabIndex:-1,type:"button"},c("calcite-icon",{icon:"chevron-down",scale:"s"}));var m=c("div",{class:I.numberButtonWrapper},d,h);var b=c("div",{class:I.prefix},this.prefixText);var g=c("div",{class:I.suffix},this.suffixText);var y=this.type==="number"?c("input",{"aria-label":f(this),autofocus:this.autofocus?true:null,defaultValue:this.defaultValue,disabled:this.disabled?true:null,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:undefined,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildNumberElRef,tabIndex:this.disabled?-1:0,type:"text",value:this.localizedValue}):null;var v=[c(this.childElType,{"aria-label":f(this),autofocus:this.autofocus?true:null,defaultValue:this.defaultValue,disabled:this.disabled?true:null,max:this.maxString,maxLength:this.maxLength,min:this.minString,minLength:this.minLength,name:this.name,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputInputHandler,onKeyDown:this.inputKeyDownHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildElRef,required:this.required?true:null,step:this.step,tabIndex:this.disabled||this.type==="number"?-1:null,type:this.type,value:this.value}),this.isTextarea?c("div",{class:I.resizeIconWrapper},c("calcite-icon",{icon:"chevron-down",scale:"s"})):null];return c(n,{onClick:this.inputFocusHandler},c("div",{class:(i={},i[I.inputWrapper]=true,i[p.rtl]=a==="rtl",i),dir:a},this.type==="number"&&this.numberButtonType==="horizontal"?h:null,this.prefixText?b:null,c("div",{class:I.wrapper},y,v,this.isClearable?r:null,this.requestedIcon?u:null,this.loading?l:null),c("div",{class:I.actionWrapper},c("slot",{name:E.action})),this.type==="number"&&this.numberButtonType==="vertical"?m:null,this.suffixText?g:null,this.type==="number"&&this.numberButtonType==="horizontal"?d:null))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"]}},enumerable:false,configurable:true});return t}());V.style=j}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(r,t,e,n){function u(r){return r instanceof e?r:new e((function(t){t(r)}))}return new(e||(e=Promise))((function(e,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function a(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?e(r.value):u(r.value).then(o,a)}l((n=n.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,u,i,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(r){return function(t){return l([r,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,u&&(i=o[0]&2?u["return"]:o[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!(i=i.call(u,o[1])).done)return i;if(u=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;u=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){e.label=o[1];break}if(o[0]===6&&e.label<i[1]){e.label=i[1];i=o;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(o);break}if(i[2])e.ops.pop();e.trys.pop();continue}o=t.call(r,e)}catch(r){o=[6,r];u=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,t){for(var e=0,n=t.length,u=r.length;e<n;e++,u++)r[u]=t[e];return r};System.register(["./p-2c235db8.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.g}],execute:function(){r({a:_,b:c,c:p,d:s,e:a,f:m,g:f,h:h,i:g,j:k,k:w,n:l,q:y,s:S});var e="calcite-theme-auto";var n="calcite-theme-dark";var u="calcite-theme-light";var i=r("C",{autoTheme:e,darkTheme:n,lightTheme:u,rtl:"calcite--rtl"});var o=r("T",{loading:"Loading"});function a(r){if(!r){return""}return r.id=r.id||r.tagName.toLowerCase()+"-"+t()}function l(r){return Array.isArray(r)?r:Array.from(r)}function c(r){return p(r,"."+i.darkTheme)?"dark":"light"}function f(r){var t="dir";var e="["+t+"]";var n=p(r,e);return n?n.getAttribute(t):"ltr"}function s(r,t,e){var n="["+t+"]";var u=r.closest(n);return u?u.getAttribute(t):e}function d(r){return r.getRootNode()}function v(r){return r.host||null}function h(r,t){function e(r,n){if(!r){return n}if(r.assignedSlot){r=r.assignedSlot}var u=d(r);var i=Array.from(u.querySelectorAll(t));var o=i.filter((function(r){return!n.includes(r)}));n=__spreadArray(__spreadArray([],n),o);var a=v(u);return a?e(a,n):n}return e(r,[])}function y(r,t){function e(r){if(!r){return null}if(r.assignedSlot){r=r.assignedSlot}var n=d(r);var u=n.querySelector(t);var i=v(n);return u?u:i?e(i):null}return e(r)}function p(r,t){function e(r){return r?r.closest(t)||e(v(d(r))):null}return e(r)}function g(r){return typeof(r===null||r===void 0?void 0:r.setFocus)==="function"}function m(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!r){return[2]}return[2,g(r)?r.setFocus():r.focus()]}))}))}function _(r,t,e){var n='[slot="'+t+'"]';if(e===null||e===void 0?void 0:e.all){return b(r,n,e)}return A(r,n,e)}function b(r,t,e){var n=Array.from(r.querySelectorAll(t));n=e&&e.direct===false?n:n.filter((function(t){return t.parentElement===r}));var u=e===null||e===void 0?void 0:e.selector;return u?n.map((function(r){return Array.from(r.querySelectorAll(u))})).reduce((function(r,t){return __spreadArray(__spreadArray([],r),t)}),[]).filter((function(r){return!!r})):n}function A(r,t,e){var n=r.querySelector(t);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===r?n:null;var u=e===null||e===void 0?void 0:e.selector;return u?n.querySelector(u):n}function w(r,t){return Array.from(r.children).filter((function(r){return r.matches(t)}))}function S(r,t,e){if(typeof t==="string"&&t!==""){return t}else if(t===""){return r[e]}}function k(r,t){return!(t.left>r.right||t.right<r.left||t.top>r.bottom||t.bottom<r.top)}}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as a,g as n}from"./p-30f1442b.js";import{a as s,S as o,d as r}from"./p-58421494.js";import{i as c,f as l}from"./p-caf80cd7.js";import{n as m,g as h,d as p,C as b}from"./p-dc825c55.js";import{g as d}from"./p-cebd4de5.js";import{u,c as f,C as x}from"./p-dcfa0bba.js";import{g}from"./p-a4e6e35b.js";import{c as w,d as v,g as y}from"./p-ef38dee8.js";import{c as k}from"./p-43a9faca.js";var D=o?o.prototype:void 0,C=D?D.toString:void 0;function I(t){if("string"==typeof t)return t;if(c(t))return function(t,i){for(var e=-1,a=null==t?0:t.length,n=Array(a);++e<a;)n[e]=i(t[e],e,t);return n}(t,I)+"";if(s(t))return C?C.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i}var z=/[\\^$.*+?()[\]{}|]/g,_=RegExp(z.source);const O="CALCITE-COMBOBOX-ITEM, CALCITE-COMBOBOX-ITEM-GROUP";function E(t){var i,e;const a=null===(i=t.parentElement)||void 0===i?void 0:i.closest(O);return[a,null===(e=null==a?void 0:a.parentElement)||void 0===e?void 0:e.closest(O)].filter((t=>t))}function M(t){var i;return(null===(i=t.ancestors)||void 0===i?void 0:i.filter((t=>"CALCITE-COMBOBOX-ITEM"===t.nodeName)))||[]}function A(t){return m(t.querySelectorAll("calcite-combobox-item")).filter((t=>t.selected)).length>0}function T(t){return document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const B=class{constructor(e){t(this,e),this.calciteLookupChange=i(this,"calciteLookupChange",7),this.calciteComboboxChange=i(this,"calciteComboboxChange",7),this.calciteComboboxFilterChange=i(this,"calciteComboboxFilterChange",7),this.calciteComboboxChipDismiss=i(this,"calciteComboboxChipDismiss",7),this.calciteComboboxOpen=i(this,"calciteComboboxOpen",7),this.calciteComboboxClose=i(this,"calciteComboboxClose",7),this.active=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.selectionMode="multi",this.scale="m",this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.hideList=!this.active,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.open=this.active,this.maxScrollerHeight=0,this.textInput=null,this.mutationObserver=k("mutation",(()=>this.updateItems())),this.guid=g(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.activeTransitionProp="opacity",this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=t=>{switch(d(t.key,h(this.el))){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.active=!1;break;case"ArrowLeft":this.previousChip();break;case"ArrowRight":this.nextChip();break;case"ArrowUp":t.preventDefault(),this.active=!0,this.shiftActiveItemIndex(-1);break;case"ArrowDown":t.preventDefault(),this.active=!0,this.shiftActiveItemIndex(1);break;case"Home":this.active=!0,this.updateActiveItemIndex(0);break;case"End":this.active=!0,this.updateActiveItemIndex(this.visibleItems.length-1);break;case"Escape":this.active=!1;break;case"Enter":this.activeItemIndex>-1?this.toggleSelection(this.visibleItems[this.activeItemIndex]):this.activeChipIndex>-1?this.removeActiveChip():this.allowCustomValues&&this.text&&this.addCustomChip(this.text,!0);break;case"Delete":case"Backspace":this.activeChipIndex>-1?this.removeActiveChip():!this.text&&this.isMulti()&&this.removeLastChip();break;default:this.active||this.setFocus()}},this.toggleCloseEnd=()=>{this.hideList=!0,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.hideList=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteComboboxOpen.emit():this.calciteComboboxClose.emit())},this.setMaxScrollerHeight=()=>{this.active&&(this.maxScrollerHeight=this.getMaxScrollerHeight(this.getCombinedItems()))},this.calciteChipDismissHandler=(t,i)=>{this.active=!1;const e=this.items.find((t=>t===i));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(t.detail)},this.setFocusClick=()=>{this.setFocus()},this.setInactiveIfNotContained=t=>{const i=t.composedPath();!this.active||i.includes(this.el)||i.includes(this.referenceEl)||(this.allowCustomValues&&this.text&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.active=!1)},this.setMenuEl=t=>{this.menuEl=t},this.setListContainerEl=t=>{this.listContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>"CALCITE-COMBOBOX-ITEM-GROUP"===t.tagName?e===t.label||e===t.label:e===t.textLabel||e===t.value||i===t.textLabel||i===t.value));return r((i=>{const e=((t,i)=>{const e=function(t){var i;return(t=null==(i=t)?"":I(i))&&_.test(t)?t.replace(z,"\\$&"):t}(i),a=new RegExp(e,"i");0===t.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const n=(t,i)=>{var e;if(null===(e=t)||void 0===e?void 0:e.constant)return!0;let a=!1;return l(t,(t=>{"function"!=typeof t&&(Array.isArray(t)||"object"==typeof t&&null!==t?n(t,i)&&(a=!0):i.test(t)&&(a=!0))})),a};return t.filter((t=>n(t,a)))})(this.data,i);this.getCombinedItems().forEach((i=>{const a=!t(i,e);i.hidden=a;const[n,s]=i.ancestors;(t(n,e)||t(s,e))&&(i.hidden=!1),a||i.ancestors.forEach((t=>t.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:i})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=r(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:t}=this;this.calciteComboboxChange.emit({selectedItems:t})},this.emitComboboxChange=r(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.comboboxFocusHandler=()=>{this.active=!0,this.textInput.focus()},this.comboboxBlurHandler=t=>{this.setInactiveIfNotContained(t)}}activeHandler(t,i){i&&!t?(this.el.addEventListener("calciteComboboxClose",this.toggleCloseEnd),this.open=!1):!i&&t&&(this.el.addEventListener("calciteComboboxOpen",this.toggleOpenEnd),requestAnimationFrame((()=>{this.reposition(),this.setMaxScrollerHeight(),this.open=!0}))),this.reposition(),this.setMaxScrollerHeight()}maxItemsHandler(){this.setMaxScrollerHeight()}documentClickHandler(t){this.setInactiveIfNotContained(t)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target;this.toggleSelection(i,i.selected)}async reposition(){const{popper:t,menuEl:i}=this,e=this.getModifiers();t?u({el:i,modifiers:e,placement:"bottom-leading",popper:t}):this.createPopper()}async setFocus(){var t;this.active=!0,null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.createPopper(),w(this)}componentWillLoad(){this.updateItems()}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(),this.inputHeight=this.el.offsetHeight)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.destroyPopper(),v(this)}textHandler(){this.updateActiveItemIndex(-1)}getModifiers(){return[{name:"flip",enabled:!0,options:{fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]}}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,overlayPositioning:e}=this,a=this.getModifiers();this.popper=f({el:t,modifiers:a,overlayPositioning:e,placement:"bottom-leading",referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}getMaxScrollerHeight(t){const{maxItems:i}=this;let e=0,a=0;return t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(a+=i,e++)}})),a}calculateSingleItemHeight(t){let i=t.offsetHeight;return t.querySelectorAll(O).forEach((t=>{i-=t.offsetHeight})),i}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){t&&(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.textInput.focus(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((i=>i.selected=i===t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput.value=t.textLabel,this.active=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=M(t),e=function(t){return m(t.querySelectorAll("calcite-combobox-item"))}(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{A(t)||(t.selected=!1)})))}getVisibleItems(){return this.items.filter((t=>!t.hidden))}getSelectedItems(){return this.isMulti()?this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!A(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),a=this.selectedItems.indexOf(i);return e>-1&&a>-1?e-a:a-e})):[this.items.find((t=>t.selected))]}getData(){return this.items.map((t=>({constant:t.constant,value:t.value,label:t.textLabel,guid:t.guid})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((t=>t.icon))}resetText(){this.textInput.value="",this.text=""}getItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM")).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM-GROUP"))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{const e=document.createElement("CALCITE-COMBOBOX-ITEM");e.value=t,e.textLabel=t,e.guid=g(),e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=this.referenceEl.querySelector(`#chip-${i}`);null==e||e.setFocus()}shiftActiveItemIndex(t){const i=this.visibleItems.length;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i);const e=this.visibleItems[this.activeItemIndex],a=this.calculateSingleItemHeight(e),{offsetHeight:n,scrollTop:s}=this.listContainerEl;n+s<e.offsetTop+a?this.listContainerEl.scrollTop=e.offsetTop-n+a:e.offsetTop<s&&(this.listContainerEl.scrollTop=e.offsetTop)}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.visibleItems.forEach(((e,a)=>{a===t?(e.active=!0,i=e.guid):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1,this.textInput.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:t,scale:i,selectionMode:a,el:n}=this,s=h(n);return this.selectedItems.map(((n,o)=>{const r={chip:!0,"chip--active":t===o,"chip--rtl":"rtl"===s},c=[...[...M(n)].reverse(),n].map((t=>t.textLabel)),l="ancestors"!==a?n.textLabel:c.join(" / ");return e("calcite-chip",{"aria-label":l,class:r,dismissLabel:"remove tag",dismissible:!0,icon:n.icon,id:`chip-${n.guid}`,key:n.textLabel,onCalciteChipDismiss:t=>this.calciteChipDismissHandler(t,n),scale:i,title:l,value:n.value},l)}))}renderInput(){const{active:t,disabled:i,placeholder:a,selectionMode:n,needsIcon:s,selectedItems:o}=this,r="single"===n,c=o[0],l=!t&&r&&!!c;return e("span",{class:{"input-wrap":!0,"input-wrap--single":r}},l&&e("span",{class:{label:!0,"label--spaced":s},key:"label",onFocus:this.comboboxFocusHandler,tabindex:"0"},c.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":g,"aria-label":y(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":l,"input--icon":r&&s},disabled:i,id:`${g}-input`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:a,ref:t=>this.textInput=t,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((t=>e("li",{"aria-selected":(!!t.selected).toString(),id:t.guid,role:"option",tabindex:"-1"},t.textLabel)))}renderPopperContainer(){const{active:t,maxScrollerHeight:i,setMenuEl:a,setListContainerEl:n,hideList:s,open:o}=this;return e("div",{"aria-hidden":"true",class:{"popper-container":!0,"popper-container--active":o},ref:a},e("div",{class:{"list-container":!0,[x.animation]:!0,[x.animationActive]:t},onTransitionEnd:this.transitionEnd,ref:n,style:{maxHeight:i>0?`${i}px`:""}},e("ul",{class:{list:!0,"list--hide":s}},e("slot",null))))}renderIconStart(){const{selectionMode:t,needsIcon:i,selectedItems:a}=this,n=a[0];return"single"===t&&i&&e("span",{class:"icon-start"},(null==n?void 0:n.icon)&&e("calcite-icon",{class:"selected-icon",icon:n.icon,scale:"s"}))}renderIconEnd(){return"single"===this.selectionMode&&e("span",{class:"icon-end"},e("calcite-icon",{icon:"chevron-down",scale:"s"}))}render(){const{guid:t,open:i,label:n}=this,s="single"===this.selectionMode,o=`${t}-label`;return e(a,{onKeyDown:this.keydownHandler},e("div",{"aria-autocomplete":"list","aria-expanded":i.toString(),"aria-haspopup":"listbox","aria-labelledby":o,"aria-owns":t,class:{wrapper:!0,"wrapper--single":s||!this.selectedItems.length,"wrapper--active":i},onClick:this.setFocusClick,ref:this.setReferenceEl,role:"combobox"},this.renderIconStart(),!s&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`${t}-input`,id:o},n),this.renderInput(),this.renderIconEnd()),e("ul",{"aria-labelledby":o,"aria-multiselectable":"true",class:"screen-readers-only",id:t,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderPopperContainer())}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],maxItems:["maxItemsHandler"],text:["textHandler"]}}};B.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;position:relative}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}: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;-ms-flex-wrap:wrap;flex-wrap:wrap;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.input{-ms-flex-positive:1;flex-grow:1;font-family:inherit;padding:0;background-color:transparent;border-style:none;color:var(--calcite-ui-text-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0;margin-top:0;padding:0}.wrapper--active .input-single{cursor:text}.input--hidden{width:0;min-width:0;opacity:0;pointer-events:none}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.label{padding:0;display:-ms-flexbox;display:flex;font-weight:var(--calcite-font-weight-normal);-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0;padding-bottom:0;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:1rem}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{overflow-y:auto;max-height:100vh;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{display:block;margin:0;padding:0}.list--hide{height:0;overflow:hidden}.chip{margin-right:var(--calcite-combobox-item-spacing-unit-s);margin-bottom:var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.chip:last-child{margin-right:0}.chip--rtl{margin-right:unset;margin-left:var(--calcite-combobox-item-spacing-unit-l)}.chip--rtl:last-child{margin-left:0}.item{display:block}";const H=class{constructor(e){t(this,e),this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",7),this.disabled=!1,this.selected=!1,this.active=!1,this.guid=g(),this.scale="m",this.itemClickHandler=t=>{t.preventDefault(),this.disabled||(this.selected=!this.selected)}}selectedWatchHandler(){this.calciteComboboxItemChange.emit(this.el)}connectedCallback(){this.ancestors=E(this.el),this.scale=p(this.el,"scale",this.scale)}componentWillLoad(){this.hasDefaultSlot=null!==this.el.querySelector(":not([slot])")}async toggleSelected(t){this.disabled||(this.selected="boolean"==typeof t?t:!this.selected)}renderIcon(t){const{icon:i,disabled:a,selected:n}=this,s="icon--indent";return!t||i||a?e("calcite-icon",{class:{icon:!i,"icon--custom":!!i,"icon--active":i&&n,[s]:!0},icon:i||(a?"circle-disallowed":t?"dot":"check"),scale:"s"}):e("span",{class:{icon:!0,"icon--dot":!0,[s]:!0}})}renderChildren(){return this.hasDefaultSlot?e("ul",null,e("slot",null)):null}render(){const t="single"===p(this.el,"selection-mode","multi"),i=h(this.el),n={[b.rtl]:"rtl"===i,label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":t},s=T(this.el);return e(a,{"aria-hidden":"true"},e("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${s}`}},e("li",{class:n,id:this.guid,onClick:this.itemClickHandler},this.renderIcon(t),e("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};H.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}: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 );--calcite-combobox-item-indent-start:var(--calcite-combobox-item-indent-value);--calcite-combobox-item-indent-end:unset}.calcite--rtl{--calcite-combobox-item-indent-start:unset;--calcite-combobox-item-indent-end:var(--calcite-combobox-item-indent-value)}:host(:focus){-webkit-box-shadow:none;box-shadow:none}:host,ul{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0;padding:0;outline:2px solid transparent;outline-offset:2px}.label{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;min-width:100%;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);cursor:pointer;position:relative;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-decoration:none;padding:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2);-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{padding-left:var(--calcite-combobox-item-indent-start);padding-right:var(--calcite-combobox-item-indent-end)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{content:"•"}.calcite--rtl .icon--dot:before{text-align:right}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';const L=class{constructor(i){t(this,i),this.guid=g(),this.scale="m"}connectedCallback(){this.ancestors=E(this.el),this.scale=p(this.el,"scale",this.scale)}render(){const{el:t,scale:i}=this,a=h(t),n=`label--indent-${T(t)}`;return e("ul",{"aria-labelledby":this.guid,class:{list:!0,[b.rtl]:"rtl"===a,[`scale--${i}`]:!0},role:"group"},e("li",{class:{label:!0,[n]:!0},id:this.guid,role:"presentation"},e("span",{class:"title"},this.label)),e("slot",null))}get el(){return n(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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{--calcite-combobox-item-indent-start-1:var(--calcite-combobox-item-spacing-indent-1);--calcite-combobox-item-indent-end-1:unset;--calcite-combobox-item-indent-start-2:var(--calcite-combobox-item-spacing-indent-2);--calcite-combobox-item-indent-end-2:unset}.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}.calcite--rtl{--calcite-combobox-item-indent-start-1:unset;--calcite-combobox-item-indent-end-1:var(--calcite-combobox-item-spacing-indent-1);--calcite-combobox-item-indent-start-2:unset;--calcite-combobox-item-indent-end-2:var(--calcite-combobox-item-spacing-indent-2)}:host,.list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0;padding:0;outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;max-width:100%;min-width:0;color:var(--calcite-ui-text-3);display:-ms-flexbox;display:flex}.label--indent-1{padding-left:var(--calcite-combobox-item-indent-start-1);padding-right:var(--calcite-combobox-item-indent-end-1)}.label--indent-2{padding-left:var(--calcite-combobox-item-indent-start-2);padding-right:var(--calcite-combobox-item-indent-end-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px;color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-bold);word-wrap:break-word;word-break:break-word;padding:var(--calcite-combobox-item-spacing-unit-l) 0;margin-left:var(--calcite-combobox-item-spacing-unit-s);margin-right:var(--calcite-combobox-item-spacing-unit-s)}";export{B as calcite_combobox,H as calcite_combobox_item,L as calcite_combobox_item_group}