@esri/calcite-components 1.0.0-next.310 → 1.0.0-next.314

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 (463) hide show
  1. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/lineSolid4.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
  50. package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
  51. package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
  52. package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
  53. package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
  54. package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
  55. package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
  56. package/dist/calcite/assets/calcite-icon/squareF16.json +1 -0
  57. package/dist/calcite/assets/calcite-icon/squareF24.json +1 -0
  58. package/dist/calcite/assets/calcite-icon/squareF32.json +1 -0
  59. package/dist/calcite/assets/calcite-icon/xHexagon16.json +1 -0
  60. package/dist/calcite/assets/calcite-icon/xHexagon24.json +1 -0
  61. package/dist/calcite/assets/calcite-icon/xHexagon32.json +1 -0
  62. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +1 -0
  63. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +1 -0
  64. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +1 -0
  65. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +1 -0
  66. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +1 -0
  67. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +1 -0
  68. package/dist/calcite/calcite.esm.js +1 -1
  69. package/dist/calcite/{p-fc643963.entry.js → p-011cf302.entry.js} +1 -1
  70. package/dist/calcite/{p-578509a8.entry.js → p-0128b04c.entry.js} +1 -1
  71. package/dist/calcite/p-030da538.entry.js +5 -0
  72. package/dist/calcite/{p-a5269f14.system.entry.js → p-03d586c8.system.entry.js} +1 -1
  73. package/dist/calcite/{p-ace12b8d.entry.js → p-0c200636.entry.js} +1 -1
  74. package/dist/calcite/{p-d6f20229.js → p-0c5e1f92.js} +1 -1
  75. package/dist/calcite/{p-cc788d2e.entry.js → p-0ea2fe39.entry.js} +1 -1
  76. package/dist/calcite/{p-dd464e44.system.entry.js → p-13051845.system.entry.js} +1 -1
  77. package/dist/calcite/{p-e6d05ad6.system.entry.js → p-187b6eb4.system.entry.js} +1 -1
  78. package/dist/calcite/{p-7ba971b5.system.entry.js → p-1b8f581d.system.entry.js} +1 -1
  79. package/dist/calcite/p-1e17f99a.system.entry.js +5 -0
  80. package/dist/calcite/{p-4acfb654.entry.js → p-1f3e9f1f.entry.js} +1 -1
  81. package/dist/calcite/p-206dbc67.system.entry.js +5 -0
  82. package/dist/calcite/{p-0fa1ba75.entry.js → p-226c2070.entry.js} +1 -1
  83. package/dist/calcite/{p-289bc56f.entry.js → p-22df1092.entry.js} +1 -1
  84. package/dist/calcite/{p-4778c5cf.system.entry.js → p-24f47f18.system.entry.js} +1 -1
  85. package/dist/calcite/p-258ec2b0.entry.js +5 -0
  86. package/dist/calcite/{p-8445bc9c.system.entry.js → p-25e0a2a6.system.entry.js} +1 -1
  87. package/dist/calcite/{p-15f3a0d7.system.entry.js → p-27301daf.system.entry.js} +1 -1
  88. package/dist/calcite/{p-16bb48f6.system.entry.js → p-2911f610.system.entry.js} +1 -1
  89. package/dist/calcite/{p-968ea270.entry.js → p-2964c736.entry.js} +1 -1
  90. package/dist/calcite/{p-840f2937.system.entry.js → p-29b5e94d.system.entry.js} +1 -1
  91. package/dist/calcite/{p-5eee672a.system.entry.js → p-2e658461.system.entry.js} +1 -1
  92. package/dist/calcite/p-30223b4f.entry.js +5 -0
  93. package/dist/calcite/{p-1aa89347.system.entry.js → p-32e0cbd7.system.entry.js} +1 -1
  94. package/dist/calcite/{p-9577dfd9.entry.js → p-37676cd2.entry.js} +1 -1
  95. package/dist/calcite/{p-74f390e1.system.entry.js → p-3a197e57.system.entry.js} +1 -1
  96. package/dist/calcite/{p-502ea583.entry.js → p-3bfce0ff.entry.js} +1 -1
  97. package/dist/calcite/{p-5f2a9710.system.entry.js → p-3fc9017a.system.entry.js} +1 -1
  98. package/dist/calcite/{p-33226317.entry.js → p-43fd1a31.entry.js} +1 -1
  99. package/dist/calcite/p-444f054f.js +5 -0
  100. package/dist/calcite/p-4c48d68d.system.js +5 -0
  101. package/dist/calcite/{p-aec398f3.system.entry.js → p-4c52ac47.system.entry.js} +1 -1
  102. package/dist/calcite/p-4ddce847.js +5 -0
  103. package/dist/calcite/{p-1c8fe17f.system.entry.js → p-506f7b44.system.entry.js} +1 -1
  104. package/dist/calcite/{p-e5e3b591.entry.js → p-5832e8cd.entry.js} +1 -1
  105. package/dist/calcite/{p-29771742.entry.js → p-5a4f9c91.entry.js} +1 -1
  106. package/dist/calcite/p-5ba48bb2.js +5 -0
  107. package/dist/calcite/{p-e33fe285.system.entry.js → p-5e640aae.system.entry.js} +1 -1
  108. package/dist/calcite/{p-54394dfe.system.entry.js → p-5f55075d.system.entry.js} +1 -1
  109. package/dist/calcite/{p-1434e37e.entry.js → p-646c2fbb.entry.js} +1 -1
  110. package/dist/calcite/{p-defcee80.system.entry.js → p-669e4d6b.system.entry.js} +1 -1
  111. package/dist/calcite/{p-0f014648.entry.js → p-672b7667.entry.js} +1 -1
  112. package/dist/calcite/{p-59a285d8.system.entry.js → p-7473ca03.system.entry.js} +1 -1
  113. package/dist/calcite/{p-523bc291.system.js → p-75075d43.system.js} +1 -1
  114. package/dist/calcite/{p-85032edc.system.entry.js → p-770478dd.system.entry.js} +1 -1
  115. package/dist/calcite/{p-004460a0.system.entry.js → p-7b892b42.system.entry.js} +1 -1
  116. package/dist/calcite/{p-dbe899c6.system.entry.js → p-7c9ccdb5.system.entry.js} +1 -1
  117. package/dist/calcite/{p-c34c4414.system.js → p-7ca82e29.system.js} +1 -1
  118. package/dist/calcite/{p-765fb8ed.entry.js → p-7cf78fe8.entry.js} +1 -1
  119. package/dist/calcite/{p-127e3513.system.entry.js → p-81d6b146.system.entry.js} +1 -1
  120. package/dist/calcite/{p-cced5508.system.entry.js → p-86d0119b.system.entry.js} +1 -1
  121. package/dist/calcite/p-874ea2cb.system.entry.js +5 -0
  122. package/dist/calcite/{p-592da79d.system.entry.js → p-8805ccab.system.entry.js} +1 -1
  123. package/dist/calcite/{p-ecc00ef0.entry.js → p-8b5d497a.entry.js} +1 -1
  124. package/dist/calcite/{p-a46c3870.system.entry.js → p-8cc309a1.system.entry.js} +1 -1
  125. package/dist/calcite/{p-b94bf8ac.system.entry.js → p-8cf86067.system.entry.js} +2 -2
  126. package/dist/calcite/{p-1dd440e6.system.entry.js → p-8dc5dec9.system.entry.js} +1 -1
  127. package/dist/calcite/{p-cbf6bb04.system.js → p-8e0f4f5e.system.js} +1 -1
  128. package/dist/calcite/p-8e252799.system.js +1 -1
  129. package/dist/calcite/{p-e616f9b5.entry.js → p-8e55d8a0.entry.js} +1 -1
  130. package/dist/calcite/{p-ca3bb147.entry.js → p-8f097f80.entry.js} +1 -1
  131. package/dist/calcite/{p-6484ffb7.system.entry.js → p-8fb2f219.system.entry.js} +1 -1
  132. package/dist/calcite/{p-109049e6.system.entry.js → p-90d75515.system.entry.js} +1 -1
  133. package/dist/calcite/{p-1a962bdd.js → p-9274789b.js} +1 -1
  134. package/dist/calcite/{p-2451da5b.entry.js → p-9a1a0cfb.entry.js} +1 -1
  135. package/dist/calcite/{p-044d603d.system.entry.js → p-9c6e5c3d.system.entry.js} +1 -1
  136. package/dist/calcite/{p-f1c5e7cf.entry.js → p-a1e60186.entry.js} +1 -1
  137. package/dist/calcite/{p-3a592bf3.system.entry.js → p-a48511af.system.entry.js} +1 -1
  138. package/dist/calcite/{p-d6e30c54.entry.js → p-a487e88d.entry.js} +1 -1
  139. package/dist/calcite/{p-f1e111f4.system.entry.js → p-ade623c3.system.entry.js} +1 -1
  140. package/dist/calcite/{p-deb36fde.system.entry.js → p-b1dc66f5.system.entry.js} +1 -1
  141. package/dist/calcite/p-b463b6eb.entry.js +5 -0
  142. package/dist/calcite/{p-2a714a22.entry.js → p-b612e7a8.entry.js} +1 -1
  143. package/dist/calcite/{p-38bd222a.entry.js → p-b82034da.entry.js} +1 -1
  144. package/dist/calcite/{p-4d11efdb.system.entry.js → p-c6ff2008.system.entry.js} +1 -1
  145. package/dist/calcite/{p-10708f87.system.entry.js → p-c97163e9.system.entry.js} +1 -1
  146. package/dist/calcite/{p-6d44b7d9.system.js → p-cc9061b4.system.js} +1 -1
  147. package/dist/calcite/{p-4f1f83d2.entry.js → p-cd0016bb.entry.js} +1 -1
  148. package/dist/calcite/{p-9be6633a.entry.js → p-cd980c27.entry.js} +1 -1
  149. package/dist/calcite/{p-3e6fcede.entry.js → p-d14d5e98.entry.js} +1 -1
  150. package/dist/calcite/{p-efb2169a.entry.js → p-d1af2194.entry.js} +1 -1
  151. package/dist/calcite/{p-5efd81e1.entry.js → p-d2d96a44.entry.js} +1 -1
  152. package/dist/calcite/{p-e70cb594.system.entry.js → p-d354a150.system.entry.js} +1 -1
  153. package/dist/calcite/p-d653cdf5.system.js +5 -0
  154. package/dist/calcite/{p-c0e35328.entry.js → p-d7f1ae6c.entry.js} +1 -1
  155. package/dist/calcite/{p-f9c46578.entry.js → p-d86e7196.entry.js} +1 -1
  156. package/dist/calcite/{p-c61ebee9.entry.js → p-d9827a69.entry.js} +1 -1
  157. package/dist/calcite/p-db274711.entry.js +5 -0
  158. package/dist/calcite/{p-4e16515a.system.entry.js → p-e0ab317f.system.entry.js} +1 -1
  159. package/dist/calcite/{p-81ab443c.entry.js → p-e47ee5e0.entry.js} +1 -1
  160. package/dist/calcite/{p-16f2d814.system.entry.js → p-e488c785.system.entry.js} +1 -1
  161. package/dist/calcite/{p-a8dc2982.system.entry.js → p-e513b7e6.system.entry.js} +1 -1
  162. package/dist/calcite/{p-05da7439.entry.js → p-e580856e.entry.js} +1 -1
  163. package/dist/calcite/{p-c4cb4fab.system.entry.js → p-e67a4d2f.system.entry.js} +1 -1
  164. package/dist/calcite/{p-c87c04a9.entry.js → p-e7598b5c.entry.js} +1 -1
  165. package/dist/calcite/{p-63e60894.entry.js → p-e8b7e0df.entry.js} +1 -1
  166. package/dist/calcite/{p-3dae9da3.js → p-e97342f5.js} +1 -1
  167. package/dist/calcite/{p-8603b2e1.entry.js → p-eb16cf75.entry.js} +1 -1
  168. package/dist/calcite/{p-e52495d3.system.entry.js → p-eb90a677.system.entry.js} +1 -1
  169. package/dist/calcite/{p-6296644b.entry.js → p-ee157d50.entry.js} +1 -1
  170. package/dist/calcite/{p-f278dd53.entry.js → p-effd9e72.entry.js} +1 -1
  171. package/dist/calcite/{p-2aa3007a.entry.js → p-f234ff81.entry.js} +1 -1
  172. package/dist/calcite/{p-d550ee4d.entry.js → p-f4825bbd.entry.js} +1 -1
  173. package/dist/calcite/{p-63da2e34.system.entry.js → p-f63cb0df.system.entry.js} +1 -1
  174. package/dist/calcite/{p-8baa9ba4.entry.js → p-f966b102.entry.js} +1 -1
  175. package/dist/calcite/{p-9338b0bc.entry.js → p-fa9f1f68.entry.js} +1 -1
  176. package/dist/calcite/{p-ef39847e.entry.js → p-fb49b087.entry.js} +1 -1
  177. package/dist/calcite/{p-cf03b144.system.entry.js → p-fc0dfaf2.system.entry.js} +1 -1
  178. package/dist/calcite/{p-a5e8f022.system.entry.js → p-fc3e40ed.system.entry.js} +1 -1
  179. package/dist/calcite/{p-a61d85db.system.entry.js → p-fc4e10c1.system.entry.js} +1 -1
  180. package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-4d77fa1c.js} +1 -1
  181. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  183. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  184. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-alert.cjs.entry.js +13 -18
  187. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  188. package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
  189. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  190. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  191. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  192. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  193. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  194. package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
  196. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
  197. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  198. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  199. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
  200. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  201. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  202. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  203. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  204. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  205. package/dist/cjs/calcite-input.cjs.entry.js +3 -3
  206. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  207. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  208. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  209. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  210. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  211. package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  213. package/dist/cjs/calcite-panel.cjs.entry.js +7 -6
  214. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  215. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
  217. package/dist/cjs/calcite-radio_2.cjs.entry.js +3 -3
  218. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-shell_3.cjs.entry.js +18 -9
  220. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -2
  221. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  222. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  223. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  224. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  225. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  226. package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
  227. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  228. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  229. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  230. package/dist/cjs/calcite.cjs.js +1 -1
  231. package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
  232. package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
  233. package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.js} +1 -1
  234. package/dist/cjs/loader.cjs.js +1 -1
  235. package/dist/cjs/{popper-87bf13e6.js → popper-4c24a334.js} +91 -65
  236. package/dist/cjs/{resources-cd25dbae.js → resources-1177e39b.js} +1 -1
  237. package/dist/collection/components/calcite-alert/calcite-alert.js +12 -17
  238. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +1 -1
  239. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +1 -0
  240. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +1 -0
  241. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +1 -0
  242. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
  243. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
  244. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
  245. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
  276. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
  277. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
  278. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
  279. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
  280. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
  281. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
  282. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
  283. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
  284. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
  285. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
  286. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
  287. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
  288. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
  289. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
  290. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
  291. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
  292. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
  293. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
  294. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +1 -0
  295. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +1 -0
  296. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +1 -0
  297. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +1 -0
  298. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +1 -0
  299. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +1 -0
  300. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +1 -0
  301. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +1 -0
  302. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +1 -0
  303. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +1 -0
  304. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +1 -0
  305. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +1 -0
  306. package/dist/collection/components/calcite-label/interfaces.js +1 -0
  307. package/dist/collection/components/calcite-panel/calcite-panel.css +4 -1
  308. package/dist/collection/components/calcite-panel/calcite-panel.js +7 -6
  309. package/dist/collection/components/calcite-panel/resources.js +1 -0
  310. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +1 -0
  311. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +17 -8
  312. package/dist/collection/components/calcite-split-button/calcite-split-button.js +26 -1
  313. package/dist/collection/demos/_assets/demo-spacer.js +17 -0
  314. package/dist/collection/demos/_assets/demo-template.js +13 -0
  315. package/dist/collection/demos/_assets/head.js +45 -0
  316. package/dist/collection/utils/dom.js +6 -0
  317. package/dist/components/calcite-alert.js +12 -17
  318. package/dist/components/calcite-dropdown2.js +1 -1
  319. package/dist/components/calcite-panel.js +6 -5
  320. package/dist/components/calcite-shell-panel.js +18 -9
  321. package/dist/components/calcite-slider.js +1 -1
  322. package/dist/components/calcite-split-button.js +4 -1
  323. package/dist/components/dom.js +7 -1
  324. package/dist/components/popper.js +90 -64
  325. package/dist/custom-elements/index.js +136 -97
  326. package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-a08896cc.js} +1 -1
  327. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  328. package/dist/esm/calcite-action-bar.entry.js +2 -2
  329. package/dist/esm/calcite-action-group.entry.js +1 -1
  330. package/dist/esm/calcite-action-menu.entry.js +1 -1
  331. package/dist/esm/calcite-action-pad.entry.js +2 -2
  332. package/dist/esm/calcite-alert.entry.js +13 -18
  333. package/dist/esm/calcite-avatar.entry.js +1 -1
  334. package/dist/esm/calcite-block_2.entry.js +1 -1
  335. package/dist/esm/calcite-button.entry.js +2 -2
  336. package/dist/esm/calcite-card.entry.js +1 -1
  337. package/dist/esm/calcite-checkbox.entry.js +3 -3
  338. package/dist/esm/calcite-chip.entry.js +1 -1
  339. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  340. package/dist/esm/calcite-combobox_3.entry.js +4 -4
  341. package/dist/esm/calcite-date-picker_4.entry.js +1 -1
  342. package/dist/esm/calcite-dropdown_3.entry.js +3 -3
  343. package/dist/esm/calcite-fab.entry.js +1 -1
  344. package/dist/esm/calcite-filter.entry.js +1 -1
  345. package/dist/esm/calcite-graph_2.entry.js +3 -3
  346. package/dist/esm/calcite-icon.entry.js +1 -1
  347. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  348. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  349. package/dist/esm/calcite-input-message.entry.js +1 -1
  350. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  351. package/dist/esm/calcite-input.entry.js +3 -3
  352. package/dist/esm/calcite-label.entry.js +1 -1
  353. package/dist/esm/calcite-link.entry.js +1 -1
  354. package/dist/esm/calcite-list_3.entry.js +1 -1
  355. package/dist/esm/calcite-modal.entry.js +1 -1
  356. package/dist/esm/calcite-notice.entry.js +1 -1
  357. package/dist/esm/calcite-option_3.entry.js +3 -3
  358. package/dist/esm/calcite-pagination.entry.js +1 -1
  359. package/dist/esm/calcite-panel.entry.js +7 -6
  360. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  361. package/dist/esm/calcite-popover_2.entry.js +2 -2
  362. package/dist/esm/calcite-radio-group_2.entry.js +3 -3
  363. package/dist/esm/calcite-radio_2.entry.js +3 -3
  364. package/dist/esm/calcite-rating.entry.js +3 -3
  365. package/dist/esm/calcite-shell_3.entry.js +18 -9
  366. package/dist/esm/calcite-split-button.entry.js +4 -2
  367. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  368. package/dist/esm/calcite-switch.entry.js +3 -3
  369. package/dist/esm/calcite-tab_4.entry.js +1 -1
  370. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  371. package/dist/esm/calcite-tile.entry.js +1 -1
  372. package/dist/esm/calcite-tip_3.entry.js +1 -1
  373. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  374. package/dist/esm/calcite-tree_2.entry.js +1 -1
  375. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  376. package/dist/esm/calcite.js +1 -1
  377. package/dist/esm/{dom-f24e866c.js → dom-fce0996b.js} +7 -1
  378. package/dist/esm/{form-160b0fb5.js → form-aed20747.js} +1 -1
  379. package/dist/esm/{label-5559055d.js → label-326df1c3.js} +1 -1
  380. package/dist/esm/loader.js +1 -1
  381. package/dist/esm/{popper-dc4b45cf.js → popper-d8ea1200.js} +91 -65
  382. package/dist/esm/{resources-16a2a25a.js → resources-581b6bd0.js} +1 -1
  383. package/dist/esm-es5/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-a08896cc.js} +1 -1
  384. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  385. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  386. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  387. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  388. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  389. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  390. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  391. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  392. package/dist/esm-es5/calcite-button.entry.js +1 -1
  393. package/dist/esm-es5/calcite-card.entry.js +1 -1
  394. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  395. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  396. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  397. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  398. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  399. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  400. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  401. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  402. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  403. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  404. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  405. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  406. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  407. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  408. package/dist/esm-es5/calcite-input.entry.js +1 -1
  409. package/dist/esm-es5/calcite-label.entry.js +1 -1
  410. package/dist/esm-es5/calcite-link.entry.js +1 -1
  411. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  412. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  413. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  414. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  415. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  416. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  417. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  418. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  419. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  420. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  421. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  422. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  423. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  424. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  425. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  426. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  427. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  428. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  429. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  430. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  431. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  432. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  433. package/dist/esm-es5/calcite.js +1 -1
  434. package/dist/esm-es5/dom-fce0996b.js +5 -0
  435. package/dist/esm-es5/{form-160b0fb5.js → form-aed20747.js} +1 -1
  436. package/dist/esm-es5/{label-5559055d.js → label-326df1c3.js} +1 -1
  437. package/dist/esm-es5/loader.js +1 -1
  438. package/dist/esm-es5/popper-d8ea1200.js +5 -0
  439. package/dist/esm-es5/{resources-16a2a25a.js → resources-581b6bd0.js} +1 -1
  440. package/dist/extras/docs-json.json +23 -1
  441. package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -2
  442. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  443. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
  444. package/dist/types/components.d.ts +8 -0
  445. package/dist/types/utils/dom.d.ts +4 -0
  446. package/hydrate/index.js +136 -96
  447. package/package.json +11 -11
  448. package/readme.md +2 -2
  449. package/dist/calcite/p-08d707c4.entry.js +0 -5
  450. package/dist/calcite/p-1942876c.js +0 -5
  451. package/dist/calcite/p-362cb320.entry.js +0 -5
  452. package/dist/calcite/p-52cc870b.js +0 -5
  453. package/dist/calcite/p-688f06b9.entry.js +0 -5
  454. package/dist/calcite/p-6cc23c39.system.js +0 -5
  455. package/dist/calcite/p-75264173.entry.js +0 -5
  456. package/dist/calcite/p-b1351c3e.system.entry.js +0 -5
  457. package/dist/calcite/p-b1f88d45.system.js +0 -5
  458. package/dist/calcite/p-ca6025ab.system.entry.js +0 -5
  459. package/dist/calcite/p-d53cc958.js +0 -5
  460. package/dist/calcite/p-ed15771f.system.entry.js +0 -5
  461. package/dist/calcite/p-ed453bfb.entry.js +0 -5
  462. package/dist/esm-es5/dom-f24e866c.js +0 -5
  463. package/dist/esm-es5/popper-dc4b45cf.js +0 -5
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(i.next(e))}catch(e){r(e)}}function l(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):a(e.value).then(o,l)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return c([e,t])}}function c(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-288bc438.system.js","./p-6cc23c39.system.js","./p-34e5baa7.system.js","./p-a0c02648.system.js","./p-e020662f.system.js"],(function(e){"use strict";var t,n,i,a,r,o,l,c,s,d;return{setters:[function(e){t=e.r;n=e.c;i=e.h;a=e.F;r=e.g},function(e){o=e.a;l=e.g;c=e.C},function(e){s=e.C},function(e){d=e.S},function(){}],execute:function(){var h={backButton:"back-button",container:"container",header:"header",heading:"heading",summary:"summary",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",contentContainer:"content-container",fabContainer:"fab-container",footer:"footer",menuContainer:"menu-container",menuButton:"menu-button",menu:"menu",menuOpen:"menu--open"};var m={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"};var u={headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};var f={back:"Back",close:"Close",open:"Open",options:"Options"};var p=3;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}: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{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.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}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.header-content .heading,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{height:100%;overflow:auto}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.calcite--rtl .header-content{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";var g=e("calcite_panel",function(){function e(e){var i=this;t(this,e);this.calcitePanelDismissedChange=n(this,"calcitePanelDismissedChange",7);this.calcitePanelScroll=n(this,"calcitePanelScroll",7);this.calcitePanelBackClick=n(this,"calcitePanelBackClick",7);this.dismissed=false;this.disabled=false;this.dismissible=false;this.showBackButton=false;this.loading=false;this.menuOpen=false;this.setContainerRef=function(e){i.containerEl=e};this.setDismissRef=function(e){i.dismissButtonEl=e};this.setBackRef=function(e){i.backButtonEl=e};this.panelKeyUpHandler=function(e){if(e.key==="Escape"){i.dismiss()}};this.dismiss=function(){i.dismissed=true};this.panelScrollHandler=function(){i.calcitePanelScroll.emit()};this.backButtonClick=function(){i.calcitePanelBackClick.emit()}}e.prototype.dismissedHandler=function(){this.calcitePanelDismissedChange.emit()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i;return __generator(this,(function(a){if(e==="dismiss-button"){(t=this.dismissButtonEl)===null||t===void 0?void 0:t.setFocus();return[2]}if(e==="back-button"){(n=this.backButtonEl)===null||n===void 0?void 0:n.setFocus();return[2]}(i=this.containerEl)===null||i===void 0?void 0:i.focus();return[2]}))}))};e.prototype.renderBackButton=function(){var e=this.el;var t=o(e)==="rtl";var n=this,a=n.showBackButton,r=n.intlBack,l=n.backButtonClick;var c=r||f.back;var s=t?m.backRight:m.backLeft;return a?i("calcite-action",{"aria-label":c,class:h.backButton,icon:s,key:"back-button",onClick:l,ref:this.setBackRef,scale:"s",slot:u.headerActionsStart,text:c}):null};e.prototype.renderHeaderContent=function(){var e=this,t=e.heading,n=e.headingLevel,a=e.summary;var r=t?i(s,{class:h.heading,level:n||p},t):null;var o=a?i("span",{class:h.summary},a):null;return r||o?i("div",{class:h.headerContent,key:"header-content"},r,o):null};e.prototype.renderHeaderSlottedContent=function(){return i("div",{class:h.headerContent,key:"header-content"},i("slot",{name:u.headerContent}))};e.prototype.renderHeaderStartActions=function(){var e;var t=this.el;var n=l(t,u.headerActionsStart);return n?i("div",{class:(e={},e[h.headerActionsStart]=true,e[h.headerActions]=true,e),key:"header-actions-start"},i("slot",{name:u.headerActionsStart})):null};e.prototype.renderHeaderActionsEnd=function(){var e;var t=this,n=t.dismiss,a=t.dismissible,r=t.el,o=t.intlClose;var c=o||f.close;var s=a?i("calcite-action",{"aria-label":c,icon:m.close,onClick:n,ref:this.setDismissRef,text:c}):null;var d=i("slot",{name:u.headerActionsEnd});var p=l(r,u.headerActionsEnd);return p||s?i("div",{class:(e={},e[h.headerActionsEnd]=true,e[h.headerActions]=true,e),key:"header-actions-end"},d,s):null};e.prototype.renderMenu=function(){var e=this,t=e.el,n=e.intlOptions,a=e.menuOpen;var r=l(t,u.headerMenuActions);return r?i("calcite-action-menu",{flipPlacements:["top","bottom"],label:n||f.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:m.menu,slot:d.trigger,text:n||f.options}),i("slot",{name:u.headerMenuActions})):null};e.prototype.renderHeaderNode=function(){var e=this,t=e.el,n=e.showBackButton;var a=this.renderBackButton();var r=l(t,u.headerContent);var o=r?this.renderHeaderSlottedContent():this.renderHeaderContent();var c=this.renderHeaderStartActions();var s=this.renderHeaderActionsEnd();var d=this.renderMenu();return c||o||s||d||n?i("header",{class:h.header},a,c,o,s,d):null};e.prototype.renderFooterSlottedContent=function(){var e=this.el;var t=l(e,u.footer);return t?i("footer",{class:h.footer},i("slot",{name:u.footer})):null};e.prototype.renderFooterActions=function(){var e=this.el;var t=l(e,u.footerActions);return t?i("footer",{class:h.footer},i("slot",{name:u.footerActions})):null};e.prototype.renderContent=function(){return i("div",{class:h.contentWrapper,onScroll:this.panelScrollHandler,tabIndex:0},i("section",{class:h.contentContainer},i("slot",null)),this.renderFab())};e.prototype.renderFab=function(){var e=this.el;var t=l(e,u.fab);return t?i("div",{class:h.fabContainer},i("slot",{name:u.fab})):null};e.prototype.render=function(){var e;var t=this,n=t.dismissed,r=t.disabled,l=t.dismissible,s=t.el,d=t.loading,m=t.panelKeyUpHandler;var u=o(s)==="rtl";var f=i("article",{"aria-busy":d.toString(),class:(e={},e[h.container]=true,e[c.rtl]=u,e),hidden:l&&n,onKeyUp:m,ref:this.setContainerRef,tabIndex:l?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterSlottedContent()||this.renderFooterActions());return i(a,null,d||r?i("calcite-scrim",{loading:d}):null,f)};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{dismissed:["dismissedHandler"]}},enumerable:false,configurable:true});return e}());g.style=b}}}));
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{r as t,c as e,h as i,F as a,g as n}from"./p-2e29554c.js";import{a as o,g as l,C as r}from"./p-52cc870b.js";import{C as s}from"./p-8340b572.js";import{S as c}from"./p-26508b91.js";import"./p-8a63221d.js";let d=class{constructor(i){t(this,i),this.calcitePanelDismissedChange=e(this,"calcitePanelDismissedChange",7),this.calcitePanelScroll=e(this,"calcitePanelScroll",7),this.calcitePanelBackClick=e(this,"calcitePanelBackClick",7),this.dismissed=!1,this.disabled=!1,this.dismissible=!1,this.showBackButton=!1,this.loading=!1,this.menuOpen=!1,this.setContainerRef=t=>{this.containerEl=t},this.setDismissRef=t=>{this.dismissButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyUpHandler=t=>{"Escape"===t.key&&this.dismiss()},this.dismiss=()=>{this.dismissed=!0},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.backButtonClick=()=>{this.calcitePanelBackClick.emit()}}dismissedHandler(){this.calcitePanelDismissedChange.emit()}async setFocus(t){var e,i,a;"dismiss-button"!==t?"back-button"!==t?null===(a=this.containerEl)||void 0===a||a.focus():null===(i=this.backButtonEl)||void 0===i||i.setFocus():null===(e=this.dismissButtonEl)||void 0===e||e.setFocus()}renderBackButton(){const{el:t}=this,e="rtl"===o(t),{showBackButton:a,intlBack:n,backButtonClick:l}=this,r=n||"Back";return a?i("calcite-action",{"aria-label":r,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"back-button",onClick:l,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:r}):null}renderHeaderContent(){const{heading:t,headingLevel:e,summary:a}=this,n=t?i(s,{class:"heading",level:e||3},t):null,o=a?i("span",{class:"summary"},a):null;return n||o?i("div",{class:"header-content",key:"header-content"},n,o):null}renderHeaderSlottedContent(){return i("div",{class:"header-content",key:"header-content"},i("slot",{name:"header-content"}))}renderHeaderStartActions(){const{el:t}=this;return l(t,"header-actions-start")?i("div",{class:{"header-actions--start":!0,"header-actions":!0},key:"header-actions-start"},i("slot",{name:"header-actions-start"})):null}renderHeaderActionsEnd(){const{dismiss:t,dismissible:e,el:a,intlClose:n}=this,o=n||"Close",r=e?i("calcite-action",{"aria-label":o,icon:"x",onClick:t,ref:this.setDismissRef,text:o}):null,s=i("slot",{name:"header-actions-end"});return l(a,"header-actions-end")||r?i("div",{class:{"header-actions--end":!0,"header-actions":!0},key:"header-actions-end"},s,r):null}renderMenu(){const{el:t,intlOptions:e,menuOpen:a}=this;return l(t,"header-menu-actions")?i("calcite-action-menu",{flipPlacements:["top","bottom"],label:e||"Options",open:a,placement:"bottom-end"},i("calcite-action",{icon:"ellipsis",slot:c.trigger,text:e||"Options"}),i("slot",{name:"header-menu-actions"})):null}renderHeaderNode(){const{el:t,showBackButton:e}=this,a=this.renderBackButton(),n=l(t,"header-content")?this.renderHeaderSlottedContent():this.renderHeaderContent(),o=this.renderHeaderStartActions(),r=this.renderHeaderActionsEnd(),s=this.renderMenu();return o||n||r||s||e?i("header",{class:"header"},a,o,n,r,s):null}renderFooterSlottedContent(){const{el:t}=this;return l(t,"footer")?i("footer",{class:"footer"},i("slot",{name:"footer"})):null}renderFooterActions(){const{el:t}=this;return l(t,"footer-actions")?i("footer",{class:"footer"},i("slot",{name:"footer-actions"})):null}renderContent(){return i("div",{class:"content-wrapper",onScroll:this.panelScrollHandler,tabIndex:0},i("section",{class:"content-container"},i("slot",null)),this.renderFab())}renderFab(){const{el:t}=this;return l(t,"fab")?i("div",{class:"fab-container"},i("slot",{name:"fab"})):null}render(){const{dismissed:t,disabled:e,dismissible:n,el:l,loading:s,panelKeyUpHandler:c}=this,d="rtl"===o(l),h=i("article",{"aria-busy":s.toString(),class:{container:!0,[r.rtl]:d},hidden:n&&t,onKeyUp:c,ref:this.setContainerRef,tabIndex:n?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterSlottedContent()||this.renderFooterActions());return i(a,null,s||e?i("calcite-scrim",{loading:s}):null,h)}get el(){return n(this)}static get watchers(){return{dismissed:["dismissedHandler"]}}};d.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}: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{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.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}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.header-content .heading,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{height:100%;overflow:auto}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.calcite--rtl .header-content{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";export{d as calcite_panel}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function u(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):o(e.value).then(u,a)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return l([e,t])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;o=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{g as guid}from"./guid-196bd5ea.js";var autoTheme="calcite-theme-auto";var darkTheme="calcite-theme-dark";var lightTheme="calcite-theme-light";var CSS_UTILITY={autoTheme:autoTheme,darkTheme:darkTheme,lightTheme:lightTheme,rtl:"calcite--rtl"};var TEXT={loading:"Loading"};function ensureId(e){if(!e){return""}return e.id=e.id||e.tagName.toLowerCase()+"-"+guid()}function nodeListToArray(e){return Array.isArray(e)?e:Array.from(e)}function getThemeName(e){return closestElementCrossShadowBoundary(e,"."+CSS_UTILITY.darkTheme)?"dark":"light"}function getElementDir(e){var t="dir";var r="["+t+"]";var n=closestElementCrossShadowBoundary(e,r);return n?n.getAttribute(t):"ltr"}function getElementProp(e,t,r){var n="["+t+"]";var o=e.closest(n);return o?o.getAttribute(t):r}function getRootNode(e){return e.getRootNode()}function getHost(e){return e.host||null}function queryElementsRoots(e,t){function r(e,n){if(!e){return n}if(e.assignedSlot){e=e.assignedSlot}var o=getRootNode(e);var i=Array.from(o.querySelectorAll(t));var u=i.filter((function(e){return!n.includes(e)}));n=__spreadArray(__spreadArray([],n),u);var a=getHost(o);return a?r(a,n):n}return r(e,[])}function queryElementRoots(e,t){function r(e){if(!e){return null}if(e.assignedSlot){e=e.assignedSlot}var n=getRootNode(e);var o=n.querySelector(t);var i=getHost(n);return o?o:i?r(i):null}return r(e)}function closestElementCrossShadowBoundary(e,t){function r(e){return e?e.closest(t)||r(getHost(getRootNode(e))):null}return r(e)}function isCalciteFocusable(e){return typeof(e===null||e===void 0?void 0:e.setFocus)==="function"}function focusElement(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!e){return[2]}return[2,isCalciteFocusable(e)?e.setFocus():e.focus()]}))}))}function getSlotted(e,t,r){var n='[slot="'+t+'"]';if(r===null||r===void 0?void 0:r.all){return queryMultiple(e,n,r)}return querySingle(e,n,r)}function queryMultiple(e,t,r){var n=Array.from(e.querySelectorAll(t));n=r&&r.direct===false?n:n.filter((function(t){return t.parentElement===e}));var o=r===null||r===void 0?void 0:r.selector;return o?n.map((function(e){return Array.from(e.querySelectorAll(o))})).reduce((function(e,t){return __spreadArray(__spreadArray([],e),t)}),[]).filter((function(e){return!!e})):n}function querySingle(e,t,r){var n=e.querySelector(t);n=r&&r.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===e?n:null;var o=r===null||r===void 0?void 0:r.selector;return o?n.querySelector(o):n}function filterDirectChildren(e,t){return Array.from(e.children).filter((function(e){return e.matches(t)}))}function setRequestedIcon(e,t,r){if(typeof t==="string"&&t!==""){return t}else if(t===""){return e[r]}}function intersects(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}export{CSS_UTILITY as C,TEXT as T,getElementDir as a,getThemeName as b,closestElementCrossShadowBoundary as c,getElementProp as d,ensureId as e,focusElement as f,getSlotted as g,queryElementsRoots as h,isCalciteFocusable as i,intersects as j,filterDirectChildren as k,nodeListToArray as n,queryElementRoots as q,setRequestedIcon as s};
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function i(e){try{f(n.next(e))}catch(e){o(e)}}function s(e){try{f(n["throw"](e))}catch(e){o(e)}}function f(e){e.done?r(e.value):a(e.value).then(i,s)}f((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return f([e,t])}}function f(i){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:r.label++;return{value:i[1],done:false};case 5:r.label++;a=i[1];i=[0];continue;case 7:i=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){r=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){r.label=i[1];break}if(i[0]===6&&r.label<o[1]){r.label=o[1];o=i;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(i);break}if(o[2])r.ops.pop();r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e];a=0}finally{n=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{a as getElementDir}from"./dom-f24e866c.js";var top="top";var bottom="bottom";var right="right";var left="left";var auto="auto";var basePlacements=[top,bottom,right,left];var start="start";var end="end";var clippingParents="clippingParents";var viewport="viewport";var popper="popper";var reference="reference";var variationPlacements=basePlacements.reduce((function(e,t){return e.concat([t+"-"+start,t+"-"+end])}),[]);var placements=[].concat(basePlacements,[auto]).reduce((function(e,t){return e.concat([t,t+"-"+start,t+"-"+end])}),[]);var beforeRead="beforeRead";var read="read";var afterRead="afterRead";var beforeMain="beforeMain";var main="main";var afterMain="afterMain";var beforeWrite="beforeWrite";var write="write";var afterWrite="afterWrite";var modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(e){return e?(e.nodeName||"").toLowerCase():null}function getWindow(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function isElement(e){var t=getWindow(e).Element;return e instanceof t||e instanceof Element}function isHTMLElement(e){var t=getWindow(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function isShadowRoot(e){if(typeof ShadowRoot==="undefined"){return false}var t=getWindow(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function applyStyles(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(!isHTMLElement(a)||!getNodeName(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 effect$2(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 o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var i=o.reduce((function(e,t){e[t]="";return e}),{});if(!isHTMLElement(n)||!getNodeName(n)){return}Object.assign(n.style,i);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var applyStyles$1={name:"applyStyles",enabled:true,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(e){return e.split("-")[0]}function getBoundingClientRect(e,t){var r=e.getBoundingClientRect();var n=1;var a=1;return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function getLayoutRect(e){var t=getBoundingClientRect(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 contains(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&isShadowRoot(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function isTableElement(e){return["table","td","th"].indexOf(getNodeName(e))>=0}function getDocumentElement(e){return((isElement(e)?e.ownerDocument:e.document)||window.document).documentElement}function getParentNode(e){if(getNodeName(e)==="html"){return e}return e.assignedSlot||e.parentNode||(isShadowRoot(e)?e.host:null)||getDocumentElement(e)}function getTrueOffsetParent(e){if(!isHTMLElement(e)||getComputedStyle(e).position==="fixed"){return null}return e.offsetParent}function getContainingBlock(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&isHTMLElement(e)){var n=getComputedStyle(e);if(n.position==="fixed"){return null}}var a=getParentNode(e);while(isHTMLElement(a)&&["html","body"].indexOf(getNodeName(a))<0){var o=getComputedStyle(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none"){return a}else{a=a.parentNode}}return null}function getOffsetParent(e){var t=getWindow(e);var r=getTrueOffsetParent(e);while(r&&isTableElement(r)&&getComputedStyle(r).position==="static"){r=getTrueOffsetParent(r)}if(r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle(r).position==="static")){return t}return r||getContainingBlock(e)||t}function getMainAxisFromPlacement(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var max=Math.max;var min=Math.min;var round=Math.round;function within(e,t,r){return max(e,min(t,r))}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(e){return Object.assign({},getFreshSideObject(),e)}function expandToHashMap(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var toPaddingObject=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return mergePaddingObject(typeof t!=="number"?t:expandToHashMap(t,basePlacements))};function arrow(e){var t;var r=e.state,n=e.name,a=e.options;var o=r.elements.arrow;var i=r.modifiersData.popperOffsets;var s=getBasePlacement(r.placement);var f=getMainAxisFromPlacement(s);var l=[left,right].indexOf(s)>=0;var c=l?"height":"width";if(!o||!i){return}var p=toPaddingObject(a.padding,r);var u=getLayoutRect(o);var d=f==="y"?top:left;var v=f==="y"?bottom:right;var m=r.rects.reference[c]+r.rects.reference[f]-i[f]-r.rects.popper[c];var g=i[f]-r.rects.reference[f];var h=getOffsetParent(o);var y=h?f==="y"?h.clientHeight||0:h.clientWidth||0:0;var b=m/2-g/2;var w=p[d];var O=y-u[c]-p[v];var x=y/2-u[c]/2+b;var P=within(w,x,O);var S=f;r.modifiersData[n]=(t={},t[S]=P,t.centerOffset=P-x,t)}function effect$1(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(!contains(t.elements.popper,a)){return}t.elements.arrow=a}var arrow$1={name:"arrow",enabled:true,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(e){return e.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:round(round(t*a)/a)||0,y:round(round(r*a)/a)||0}}function mapToStyles(e){var t;var r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,f=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets;var p=c===true?roundOffsetsByDPR(i):typeof c==="function"?c(i):i,u=p.x,d=u===void 0?0:u,v=p.y,m=v===void 0?0:v;var g=i.hasOwnProperty("x");var h=i.hasOwnProperty("y");var y=left;var b=top;var w=window;if(l){var O=getOffsetParent(r);var x="clientHeight";var P="clientWidth";if(O===getWindow(r)){O=getDocumentElement(r);if(getComputedStyle(O).position!=="static"&&s==="absolute"){x="scrollHeight";P="scrollWidth"}}O=O;if(a===top||(a===left||a===right)&&o===end){b=bottom;m-=O[x]-n.height;m*=f?1:-1}if(a===left||(a===top||a===bottom)&&o===end){y=right;d-=O[P]-n.width;d*=f?1:-1}}var S=Object.assign({position:s},l&&unsetSides);if(f){var E;return Object.assign({},S,(E={},E[b]=h?"0":"",E[y]=g?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+d+"px, "+m+"px)":"translate3d("+d+"px, "+m+"px, 0)",E))}return Object.assign({},S,(t={},t[b]=h?m+"px":"",t[y]=g?d+"px":"",t.transform="",t))}function computeStyles(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,o=r.adaptive,i=o===void 0?true:o,s=r.roundOffsets,f=s===void 0?true:s;var l={placement:getBasePlacement(t.placement),variation:getVariation(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,mapToStyles(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,mapToStyles(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:f})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var computeStyles$1={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:computeStyles,data:{}};var passive={passive:true};function effect(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,o=a===void 0?true:a,i=n.resize,s=i===void 0?true:i;var f=getWindow(t.elements.popper);var l=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(o){l.forEach((function(e){e.addEventListener("scroll",r.update,passive)}))}if(s){f.addEventListener("resize",r.update,passive)}return function(){if(o){l.forEach((function(e){e.removeEventListener("scroll",r.update,passive)}))}if(s){f.removeEventListener("resize",r.update,passive)}}}var eventListeners={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:effect,data:{}};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return hash$1[e]}))}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(e){return e.replace(/start|end/g,(function(e){return hash[e]}))}function getWindowScroll(e){var t=getWindow(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getWindowScroll(e).scrollLeft}function getViewportRect(e){var t=getWindow(e);var r=getDocumentElement(e);var n=t.visualViewport;var a=r.clientWidth;var o=r.clientHeight;var i=0;var s=0;if(n){a=n.width;o=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){i=n.offsetLeft;s=n.offsetTop}}return{width:a,height:o,x:i+getWindowScrollBarX(e),y:s}}function getDocumentRect(e){var t;var r=getDocumentElement(e);var n=getWindowScroll(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var o=max(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var i=max(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var s=-n.scrollLeft+getWindowScrollBarX(e);var f=-n.scrollTop;if(getComputedStyle(a||r).direction==="rtl"){s+=max(r.clientWidth,a?a.clientWidth:0)-o}return{width:o,height:i,x:s,y:f}}function isScrollParent(e){var t=getComputedStyle(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function getScrollParent(e){if(["html","body","#document"].indexOf(getNodeName(e))>=0){return e.ownerDocument.body}if(isHTMLElement(e)&&isScrollParent(e)){return e}return getScrollParent(getParentNode(e))}function listScrollParents(e,t){var r;if(t===void 0){t=[]}var n=getScrollParent(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var o=getWindow(n);var i=a?[o].concat(o.visualViewport||[],isScrollParent(n)?n:[]):n;var s=t.concat(i);return a?s:s.concat(listScrollParents(getParentNode(i)))}function rectToClientRect(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function getInnerBoundingClientRect(e){var t=getBoundingClientRect(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 getClientRectFromMixedType(e,t){return t===viewport?rectToClientRect(getViewportRect(e)):isHTMLElement(t)?getInnerBoundingClientRect(t):rectToClientRect(getDocumentRect(getDocumentElement(e)))}function getClippingParents(e){var t=listScrollParents(getParentNode(e));var r=["absolute","fixed"].indexOf(getComputedStyle(e).position)>=0;var n=r&&isHTMLElement(e)?getOffsetParent(e):e;if(!isElement(n)){return[]}return t.filter((function(e){return isElement(e)&&contains(e,n)&&getNodeName(e)!=="body"}))}function getClippingRect(e,t,r){var n=t==="clippingParents"?getClippingParents(e):[].concat(t);var a=[].concat(n,[r]);var o=a[0];var i=a.reduce((function(t,r){var n=getClientRectFromMixedType(e,r);t.top=max(n.top,t.top);t.right=min(n.right,t.right);t.bottom=min(n.bottom,t.bottom);t.left=max(n.left,t.left);return t}),getClientRectFromMixedType(e,o));i.width=i.right-i.left;i.height=i.bottom-i.top;i.x=i.left;i.y=i.top;return i}function computeOffsets(e){var t=e.reference,r=e.element,n=e.placement;var a=n?getBasePlacement(n):null;var o=n?getVariation(n):null;var i=t.x+t.width/2-r.width/2;var s=t.y+t.height/2-r.height/2;var f;switch(a){case top:f={x:i,y:t.y-r.height};break;case bottom:f={x:i,y:t.y+t.height};break;case right:f={x:t.x+t.width,y:s};break;case left:f={x:t.x-r.width,y:s};break;default:f={x:t.x,y:t.y}}var l=a?getMainAxisFromPlacement(a):null;if(l!=null){var c=l==="y"?"height":"width";switch(o){case start:f[l]=f[l]-(t[c]/2-r[c]/2);break;case end:f[l]=f[l]+(t[c]/2-r[c]/2);break}}return f}function detectOverflow(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.boundary,i=o===void 0?clippingParents:o,s=r.rootBoundary,f=s===void 0?viewport:s,l=r.elementContext,c=l===void 0?popper:l,p=r.altBoundary,u=p===void 0?false:p,d=r.padding,v=d===void 0?0:d;var m=mergePaddingObject(typeof v!=="number"?v:expandToHashMap(v,basePlacements));var g=c===popper?reference:popper;var h=e.rects.popper;var y=e.elements[u?g:c];var b=getClippingRect(isElement(y)?y:y.contextElement||getDocumentElement(e.elements.popper),i,f);var w=getBoundingClientRect(e.elements.reference);var O=computeOffsets({reference:w,element:h,strategy:"absolute",placement:a});var x=rectToClientRect(Object.assign({},h,O));var P=c===popper?x:w;var S={top:b.top-P.top+m.top,bottom:P.bottom-b.bottom+m.bottom,left:b.left-P.left+m.left,right:P.right-b.right+m.right};var E=e.modifiersData.offset;if(c===popper&&E){var M=E[a];Object.keys(S).forEach((function(e){var t=[right,bottom].indexOf(e)>=0?1:-1;var r=[top,bottom].indexOf(e)>=0?"y":"x";S[e]+=M[r]*t}))}return S}function computeAutoPlacement(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,f=r.allowedAutoPlacements,l=f===void 0?placements:f;var c=getVariation(n);var p=c?s?variationPlacements:variationPlacements.filter((function(e){return getVariation(e)===c})):basePlacements;var u=p.filter((function(e){return l.indexOf(e)>=0}));if(u.length===0){u=p}var d=u.reduce((function(t,r){t[r]=detectOverflow(e,{placement:r,boundary:a,rootBoundary:o,padding:i})[getBasePlacement(r)];return t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}function getExpandedFallbackPlacements(e){if(getBasePlacement(e)===auto){return[]}var t=getOppositePlacement(e);return[getOppositeVariationPlacement(e),t,getOppositeVariationPlacement(t)]}function flip(e){var t=e.state,r=e.options,n=e.name;if(t.modifiersData[n]._skip){return}var a=r.mainAxis,o=a===void 0?true:a,i=r.altAxis,s=i===void 0?true:i,f=r.fallbackPlacements,l=r.padding,c=r.boundary,p=r.rootBoundary,u=r.altBoundary,d=r.flipVariations,v=d===void 0?true:d,m=r.allowedAutoPlacements;var g=t.options.placement;var h=getBasePlacement(g);var y=h===g;var b=f||(y||!v?[getOppositePlacement(g)]:getExpandedFallbackPlacements(g));var w=[g].concat(b).reduce((function(e,r){return e.concat(getBasePlacement(r)===auto?computeAutoPlacement(t,{placement:r,boundary:c,rootBoundary:p,padding:l,flipVariations:v,allowedAutoPlacements:m}):r)}),[]);var O=t.rects.reference;var x=t.rects.popper;var P=new Map;var S=true;var E=w[0];for(var M=0;M<w.length;M++){var T=w[M];var R=getBasePlacement(T);var C=getVariation(T)===start;var D=[top,bottom].indexOf(R)>=0;var B=D?"width":"height";var L=detectOverflow(t,{placement:T,boundary:c,rootBoundary:p,altBoundary:u,padding:l});var j=D?C?right:left:C?bottom:top;if(O[B]>x[B]){j=getOppositePlacement(j)}var W=getOppositePlacement(j);var N=[];if(o){N.push(L[R]<=0)}if(s){N.push(L[j]<=0,L[W]<=0)}if(N.every((function(e){return e}))){E=T;S=false;break}P.set(T,N)}if(S){var A=v?3:1;var H=function e(t){var r=w.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){E=r;return"break"}};for(var k=A;k>0;k--){var $=H(k);if($==="break")break}}if(t.placement!==E){t.modifiersData[n]._skip=true;t.placement=E;t.reset=true}}var flip$1={name:"flip",enabled:true,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:false}};function getSideOffsets(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 isAnySideFullyClipped(e){return[top,right,bottom,left].some((function(t){return e[t]>=0}))}function hide(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var o=t.modifiersData.preventOverflow;var i=detectOverflow(t,{elementContext:"reference"});var s=detectOverflow(t,{altBoundary:true});var f=getSideOffsets(i,n);var l=getSideOffsets(s,a,o);var c=isAnySideFullyClipped(f);var p=isAnySideFullyClipped(l);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:p};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var hide$1={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY(e,t,r){var n=getBasePlacement(e);var a=[left,top].indexOf(n)>=0?-1:1;var o=typeof r==="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];i=i||0;s=(s||0)*a;return[left,right].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function offset(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,o=a===void 0?[0,0]:a;var i=placements.reduce((function(e,r){e[r]=distanceAndSkiddingToXY(r,t.rects,o);return e}),{});var s=i[t.placement],f=s.x,l=s.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=l}t.modifiersData[n]=i}var offset$1={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:offset};function popperOffsets(e){var t=e.state,r=e.name;t.modifiersData[r]=computeOffsets({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var popperOffsets$1={name:"popperOffsets",enabled:true,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(e){return e==="x"?"y":"x"}function preventOverflow(e){var t=e.state,r=e.options,n=e.name;var a=r.mainAxis,o=a===void 0?true:a,i=r.altAxis,s=i===void 0?false:i,f=r.boundary,l=r.rootBoundary,c=r.altBoundary,p=r.padding,u=r.tether,d=u===void 0?true:u,v=r.tetherOffset,m=v===void 0?0:v;var g=detectOverflow(t,{boundary:f,rootBoundary:l,padding:p,altBoundary:c});var h=getBasePlacement(t.placement);var y=getVariation(t.placement);var b=!y;var w=getMainAxisFromPlacement(h);var O=getAltAxis(w);var x=t.modifiersData.popperOffsets;var P=t.rects.reference;var S=t.rects.popper;var E=typeof m==="function"?m(Object.assign({},t.rects,{placement:t.placement})):m;var M={x:0,y:0};if(!x){return}if(o||s){var T=w==="y"?top:left;var R=w==="y"?bottom:right;var C=w==="y"?"height":"width";var D=x[w];var B=x[w]+g[T];var L=x[w]-g[R];var j=d?-S[C]/2:0;var W=y===start?P[C]:S[C];var N=y===start?-S[C]:-P[C];var A=t.elements.arrow;var H=d&&A?getLayoutRect(A):{width:0,height:0};var k=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:getFreshSideObject();var $=k[T];var V=k[R];var F=within(0,P[C],H[C]);var _=b?P[C]/2-j-F-$-E:W-F-$-E;var q=b?-P[C]/2+j+F+V+E:N+F+V+E;var I=t.elements.arrow&&getOffsetParent(t.elements.arrow);var X=I?w==="y"?I.clientTop||0:I.clientLeft||0:0;var U=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0;var z=x[w]+_-U-X;var Y=x[w]+q-U;if(o){var G=within(d?min(B,z):B,D,d?max(L,Y):L);x[w]=G;M[w]=G-D}if(s){var J=w==="x"?top:left;var K=w==="x"?bottom:right;var Q=x[O];var Z=Q+g[J];var ee=Q-g[K];var te=within(d?min(Z,z):Z,Q,d?max(ee,Y):ee);x[O]=te;M[O]=te-Q}}t.modifiersData[n]=M}var preventOverflow$1={name:"preventOverflow",enabled:true,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function getNodeScroll(e){if(e===getWindow(e)||!isHTMLElement(e)){return getWindowScroll(e)}else{return getHTMLElementScroll(e)}}function isElementScaled(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 getCompositeRect(e,t,r){if(r===void 0){r=false}var n=isHTMLElement(t);isHTMLElement(t)&&isElementScaled(t);var a=getDocumentElement(t);var o=getBoundingClientRect(e);var i={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(getNodeName(t)!=="body"||isScrollParent(a)){i=getNodeScroll(t)}if(isHTMLElement(t)){s=getBoundingClientRect(t);s.x+=t.clientLeft;s.y+=t.clientTop}else if(a){s.x=getWindowScrollBarX(a)}}return{x:o.left+i.scrollLeft-s.x,y:o.top+i.scrollTop-s.y,width:o.width,height:o.height}}function order(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 o=[].concat(e.requires||[],e.requiresIfExists||[]);o.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 orderModifiers(e){var t=order(e);return modifierPhases.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function debounce(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function mergeByName(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 DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){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 popperGenerator(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?DEFAULT_OPTIONS:a;return function e(t,r,a){if(a===void 0){a=o}var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,o),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var s=[];var f=false;var l={state:i,setOptions:function e(a){var s=typeof a==="function"?a(i.options):a;p();i.options=Object.assign({},o,i.options,s);i.scrollParents={reference:isElement(t)?listScrollParents(t):t.contextElement?listScrollParents(t.contextElement):[],popper:listScrollParents(r)};var f=orderModifiers(mergeByName([].concat(n,i.options.modifiers)));i.orderedModifiers=f.filter((function(e){return e.enabled}));c();return l.update()},forceUpdate:function e(){if(f){return}var t=i.elements,r=t.reference,n=t.popper;if(!areValidElements(r,n)){return}i.rects={reference:getCompositeRect(r,getOffsetParent(n),i.options.strategy==="fixed"),popper:getLayoutRect(n)};i.reset=false;i.placement=i.options.placement;i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<i.orderedModifiers.length;a++){if(i.reset===true){i.reset=false;a=-1;continue}var o=i.orderedModifiers[a],s=o.fn,c=o.options,p=c===void 0?{}:c,u=o.name;if(typeof s==="function"){i=s({state:i,options:p,name:u,instance:l})||i}}},update:debounce((function(){return new Promise((function(e){l.forceUpdate();e(i)}))})),destroy:function e(){p();f=true}};if(!areValidElements(t,r)){return l}l.setOptions(a).then((function(e){if(!f&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function c(){i.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var o=a({state:i,name:t,instance:l,options:n});var f=function e(){};s.push(o||f)}}))}function p(){s.forEach((function(e){return e()}));s=[]}return l}}var defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1,offset$1,flip$1,preventOverflow$1,arrow$1,hide$1];var createPopper$1=popperGenerator({defaultModifiers:defaultModifiers});var CSS={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function getPlacement(e,t){var r=["left","right"];var n=["start","end"];if(getElementDir(e)==="rtl"){r.reverse();n.reverse()}return t.replace(/-leading/gi,"-"+n[0]).replace(/-trailing/gi,"-"+n[1]).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function createPopper(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,o=a===void 0?"absolute":a,i=e.modifiers;if(!t){return null}return createPopper$1(t,r,{strategy:o,placement:getPlacement(r,n),modifiers:i})}function updatePopper(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){switch(o.label){case 0:e=getPlacement(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:o.sent();return[2]}}))}))}function hypotenuse(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var visiblePointerSize=4;var defaultOffsetDistance=Math.ceil(hypotenuse(visiblePointerSize,visiblePointerSize));export{CSS as C,createPopper as c,defaultOffsetDistance as d,updatePopper as u};