@esri/calcite-components 1.0.0-next.293 → 1.0.0-next.297

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 (687) hide show
  1. package/dist/calcite/assets/calcite-icon/checkExtent16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/checkExtent24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/checkExtent32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/driveTime16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/driveTime24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/driveTime32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/driveTimeLargest16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/driveTimeLargest24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/driveTimeLargest32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/driveTimeXBar16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/driveTimeXBar24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/driveTimeXBar32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/groupItems16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/groupItems24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/groupItems32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/groupLayoutElements16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/groupLayoutElements24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/groupLayoutElements32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/ringsLargest16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/ringsLargest24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/ringsLargest32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/ringsSmallest16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/ringsSmallest24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/ringsSmallest32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/ringsXBar16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/ringsXBar24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/ringsXBar32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/ungroupItems16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/ungroupItems24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/ungroupItems32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  37. package/dist/calcite/calcite.esm.js +1 -1
  38. package/dist/calcite/calcite.js +1 -1
  39. package/dist/calcite/{p-fc4846f0.system.entry.js → p-00716aa8.system.entry.js} +1 -1
  40. package/dist/calcite/{p-69548a7d.system.entry.js → p-044d603d.system.entry.js} +1 -1
  41. package/dist/calcite/{p-37cee0ea.entry.js → p-05da7439.entry.js} +1 -1
  42. package/dist/calcite/{p-f4299b95.entry.js → p-08d707c4.entry.js} +1 -1
  43. package/dist/calcite/{p-e33a2dd2.system.entry.js → p-10708f87.system.entry.js} +1 -1
  44. package/dist/calcite/p-109049e6.system.entry.js +5 -0
  45. package/dist/calcite/{p-d7e5b807.system.entry.js → p-127e3513.system.entry.js} +1 -1
  46. package/dist/calcite/p-1434e37e.entry.js +5 -0
  47. package/dist/calcite/{p-01c3783e.system.entry.js → p-143cffd9.system.entry.js} +1 -1
  48. package/dist/calcite/{p-050dc7e6.system.entry.js → p-15f3a0d7.system.entry.js} +1 -1
  49. package/dist/calcite/{p-c20278e8.system.entry.js → p-16bb48f6.system.entry.js} +1 -1
  50. package/dist/calcite/{p-3ba8024a.system.entry.js → p-16f2d814.system.entry.js} +1 -1
  51. package/dist/calcite/p-1942876c.js +5 -0
  52. package/dist/calcite/{p-f8d975a1.system.entry.js → p-1a1e9057.system.entry.js} +1 -1
  53. package/dist/calcite/{p-61038b30.js → p-1a962bdd.js} +1 -1
  54. package/dist/calcite/p-1aa89347.system.entry.js +5 -0
  55. package/dist/calcite/{p-7c0debe0.system.entry.js → p-1c8fe17f.system.entry.js} +1 -1
  56. package/dist/calcite/{p-473cfb74.system.entry.js → p-1dd440e6.system.entry.js} +1 -1
  57. package/dist/calcite/p-21c8ac06.entry.js +5 -0
  58. package/dist/calcite/{p-4c7e3d8e.system.entry.js → p-243d95ab.system.entry.js} +1 -1
  59. package/dist/calcite/{p-2920aa02.entry.js → p-2451da5b.entry.js} +1 -1
  60. package/dist/calcite/p-26efaed7.entry.js +5 -0
  61. package/dist/calcite/p-288bc438.system.js +5 -0
  62. package/dist/calcite/{p-da9603a3.entry.js → p-289bc56f.entry.js} +1 -1
  63. package/dist/calcite/{p-10ccc21d.entry.js → p-29771742.entry.js} +1 -1
  64. package/dist/calcite/{p-c0dd929a.entry.js → p-2aa3007a.entry.js} +1 -1
  65. package/dist/calcite/p-2e29554c.js +5 -0
  66. package/dist/calcite/{p-8efb43fc.entry.js → p-33802886.entry.js} +1 -1
  67. package/dist/calcite/{p-32fbf8cd.system.js → p-34e5baa7.system.js} +1 -1
  68. package/dist/calcite/p-3833285b.system.entry.js +5 -0
  69. package/dist/calcite/p-3a592bf3.system.entry.js +5 -0
  70. package/dist/calcite/p-3dae9da3.js +5 -0
  71. package/dist/calcite/{p-fff0a881.entry.js → p-3e6fcede.entry.js} +1 -1
  72. package/dist/calcite/p-3eb1dc0f.entry.js +5 -0
  73. package/dist/calcite/p-41023be5.system.entry.js +5 -0
  74. package/dist/calcite/{p-00d72f16.entry.js → p-48f03121.entry.js} +1 -1
  75. package/dist/calcite/{p-22ad79b1.entry.js → p-4acfb654.entry.js} +1 -1
  76. package/dist/calcite/{p-3929447c.system.entry.js → p-4d11efdb.system.entry.js} +1 -1
  77. package/dist/calcite/{p-0fc8b24c.system.entry.js → p-4e16515a.system.entry.js} +1 -1
  78. package/dist/calcite/p-4f1f83d2.entry.js +5 -0
  79. package/dist/calcite/p-502ea583.entry.js +5 -0
  80. package/dist/calcite/p-523bc291.system.js +5 -0
  81. package/dist/calcite/p-54394dfe.system.entry.js +5 -0
  82. package/dist/calcite/p-578509a8.entry.js +5 -0
  83. package/dist/calcite/p-592da79d.system.entry.js +5 -0
  84. package/dist/calcite/p-5c0c29bc.entry.js +5 -0
  85. package/dist/calcite/p-5eee672a.system.entry.js +5 -0
  86. package/dist/calcite/{p-175764f3.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
  87. package/dist/calcite/{p-87b93729.entry.js → p-5f817b79.entry.js} +1 -1
  88. package/dist/calcite/{p-e693758c.entry.js → p-6296644b.entry.js} +1 -1
  89. package/dist/calcite/p-63e60894.entry.js +5 -0
  90. package/dist/calcite/{p-acaad99b.system.entry.js → p-6484ffb7.system.entry.js} +1 -1
  91. package/dist/calcite/{p-8655c0a1.entry.js → p-659898bf.entry.js} +1 -1
  92. package/dist/calcite/{p-7cdfec27.system.js → p-6d44b7d9.system.js} +1 -1
  93. package/dist/calcite/p-6f1cca21.system.js +5 -0
  94. package/dist/calcite/{p-7839d1c9.entry.js → p-714ae4f6.entry.js} +1 -1
  95. package/dist/calcite/{p-9d83f268.system.entry.js → p-74f390e1.system.entry.js} +1 -1
  96. package/dist/calcite/p-75264173.entry.js +5 -0
  97. package/dist/calcite/{p-41e9b889.entry.js → p-765fb8ed.entry.js} +1 -1
  98. package/dist/calcite/{p-be3b0fee.entry.js → p-78d0db7b.entry.js} +1 -1
  99. package/dist/calcite/{p-9e4f2697.system.entry.js → p-7ba971b5.system.entry.js} +1 -1
  100. package/dist/calcite/{p-c57f8690.entry.js → p-7bb94bfa.entry.js} +1 -1
  101. package/dist/calcite/p-81538774.system.entry.js +5 -0
  102. package/dist/calcite/p-81ab443c.entry.js +5 -0
  103. package/dist/calcite/p-82139130.entry.js +5 -0
  104. package/dist/calcite/{p-20042561.entry.js → p-82c6cd9a.entry.js} +1 -1
  105. package/dist/calcite/p-8340b572.js +5 -0
  106. package/dist/calcite/{p-a93678c6.system.entry.js → p-840f2937.system.entry.js} +2 -2
  107. package/dist/calcite/p-85032edc.system.entry.js +5 -0
  108. package/dist/calcite/{p-57f5866d.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
  109. package/dist/calcite/p-8baa9ba4.entry.js +5 -0
  110. package/dist/calcite/p-8fef13ca.system.entry.js +5 -0
  111. package/dist/calcite/{p-1aaf7f83.entry.js → p-9338b0bc.entry.js} +1 -1
  112. package/dist/calcite/p-9577dfd9.entry.js +5 -0
  113. package/dist/calcite/{p-c3922ef7.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
  114. package/dist/calcite/p-968ea270.entry.js +5 -0
  115. package/dist/calcite/{p-9358deb1.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
  116. package/dist/calcite/p-9be6633a.entry.js +5 -0
  117. package/dist/calcite/{p-021d44b7.system.entry.js → p-9f240615.system.entry.js} +1 -1
  118. package/dist/calcite/{p-e3a30266.system.entry.js → p-a5269f14.system.entry.js} +1 -1
  119. package/dist/calcite/{p-31c4a271.system.entry.js → p-a8dc2982.system.entry.js} +1 -1
  120. package/dist/calcite/{p-75793454.entry.js → p-ace12b8d.entry.js} +1 -1
  121. package/dist/calcite/{p-1b2c1f55.entry.js → p-aced5f01.entry.js} +1 -1
  122. package/dist/calcite/{p-85a2bf7c.system.entry.js → p-aec398f3.system.entry.js} +1 -1
  123. package/dist/calcite/p-b1351c3e.system.entry.js +5 -0
  124. package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
  125. package/dist/calcite/p-b1f88d45.system.js +5 -0
  126. package/dist/calcite/{p-bb916828.system.entry.js → p-b4b1081f.system.entry.js} +1 -1
  127. package/dist/calcite/p-b94bf8ac.system.entry.js +5 -0
  128. package/dist/calcite/p-b9fa225e.entry.js +5 -0
  129. package/dist/calcite/p-c0e35328.entry.js +5 -0
  130. package/dist/calcite/p-c34c4414.system.js +5 -0
  131. package/dist/calcite/{p-0e30afe6.entry.js → p-c3ba61ea.entry.js} +1 -1
  132. package/dist/calcite/{p-cd8f7781.system.entry.js → p-c4cb4fab.system.entry.js} +1 -1
  133. package/dist/calcite/p-c87c04a9.entry.js +5 -0
  134. package/dist/calcite/p-ca3bb147.entry.js +5 -0
  135. package/dist/calcite/{p-34a6550f.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
  136. package/dist/calcite/{p-64d90b14.system.js → p-cbf6bb04.system.js} +1 -1
  137. package/dist/calcite/{p-ac3d8784.entry.js → p-cc788d2e.entry.js} +1 -1
  138. package/dist/calcite/p-cced5508.system.entry.js +5 -0
  139. package/dist/calcite/{p-45d123be.system.entry.js → p-cf03b144.system.entry.js} +1 -1
  140. package/dist/calcite/{p-8fcfe861.js → p-d53cc958.js} +1 -1
  141. package/dist/calcite/p-d550ee4d.entry.js +5 -0
  142. package/dist/calcite/{p-18078190.entry.js → p-d6e30c54.entry.js} +1 -1
  143. package/dist/calcite/{p-7b01fe89.js → p-d6f20229.js} +1 -1
  144. package/dist/calcite/{p-ff04f827.system.entry.js → p-dabb63b5.system.entry.js} +1 -1
  145. package/dist/calcite/{p-99da965d.system.entry.js → p-dd464e44.system.entry.js} +1 -1
  146. package/dist/calcite/p-dd5ff164.entry.js +5 -0
  147. package/dist/calcite/{p-bd555b2e.system.entry.js → p-deb36fde.system.entry.js} +1 -1
  148. package/dist/calcite/{p-ba9b4f62.system.entry.js → p-defcee80.system.entry.js} +1 -1
  149. package/dist/calcite/{p-3b17d8d0.system.js → p-dff7dc90.system.js} +1 -1
  150. package/dist/calcite/{p-318e95d7.system.entry.js → p-e33fe285.system.entry.js} +1 -1
  151. package/dist/calcite/p-e52495d3.system.entry.js +5 -0
  152. package/dist/calcite/{p-7b600760.entry.js → p-e5e3b591.entry.js} +1 -1
  153. package/dist/calcite/p-e62a9b1d.system.entry.js +5 -0
  154. package/dist/calcite/p-e6c84e63.entry.js +5 -0
  155. package/dist/calcite/{p-87e83c0d.system.entry.js → p-e6d05ad6.system.entry.js} +1 -1
  156. package/dist/calcite/{p-5cb26137.system.entry.js → p-e70cb594.system.entry.js} +1 -1
  157. package/dist/calcite/{p-a20df95c.js → p-e956e279.js} +1 -1
  158. package/dist/calcite/p-eada9cef.entry.js +5 -0
  159. package/dist/calcite/{p-eb3ee207.entry.js → p-ecc00ef0.entry.js} +1 -1
  160. package/dist/calcite/p-ed15771f.system.entry.js +5 -0
  161. package/dist/calcite/p-ed453bfb.entry.js +5 -0
  162. package/dist/calcite/{p-51cb078a.entry.js → p-ef39847e.entry.js} +1 -1
  163. package/dist/calcite/{p-f141da0f.entry.js → p-efb2169a.entry.js} +1 -1
  164. package/dist/calcite/{p-a8cd5cde.system.entry.js → p-f0338acf.system.entry.js} +1 -1
  165. package/dist/calcite/{p-95a3a0ce.entry.js → p-f1c5e7cf.entry.js} +1 -1
  166. package/dist/calcite/{p-1f99b038.entry.js → p-f278dd53.entry.js} +1 -1
  167. package/dist/calcite/{p-9dbb69f7.entry.js → p-f9c46578.entry.js} +1 -1
  168. package/dist/calcite/{p-32faf98b.system.entry.js → p-fc47547f.system.entry.js} +1 -1
  169. package/dist/calcite/p-fc643963.entry.js +5 -0
  170. package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-5f60c98b.js} +1 -1
  171. package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-112c19f9.js} +1 -1
  172. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  173. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  174. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  177. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  179. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
  181. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  182. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  183. package/dist/cjs/calcite-checkbox.cjs.entry.js +36 -85
  184. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +25 -26
  186. package/dist/cjs/calcite-combobox_3.cjs.entry.js +83 -24
  187. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -10
  188. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +4 -4
  189. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-filter.cjs.entry.js +43 -14
  191. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -12
  193. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  194. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-inline-editable.cjs.entry.js +51 -42
  196. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +70 -17
  197. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  198. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -4
  199. package/dist/cjs/calcite-input.cjs.entry.js +103 -71
  200. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  201. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  202. package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  204. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  205. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-option_3.cjs.entry.js +31 -5
  207. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  208. package/dist/cjs/calcite-panel.cjs.entry.js +5 -4
  209. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  210. package/dist/cjs/calcite-popover_2.cjs.entry.js +5 -5
  211. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  212. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -24
  214. package/dist/cjs/calcite-radio_2.cjs.entry.js +81 -75
  215. package/dist/cjs/calcite-rating.cjs.entry.js +13 -4
  216. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  217. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -4
  218. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  219. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  220. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  221. package/dist/cjs/calcite-switch.cjs.entry.js +29 -48
  222. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -3
  224. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  226. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite.cjs.js +3 -3
  230. package/dist/cjs/form-a5b44a1f.js +179 -0
  231. package/dist/cjs/{index-1987a382.js → index-6b5d2de5.js} +81 -429
  232. package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
  233. package/dist/cjs/loader.cjs.js +3 -3
  234. package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
  235. package/dist/cjs/{resources-7dcd68d1.js → resources-3f7b51c8.js} +1 -1
  236. package/dist/cjs/{resources-d0619f6a.js → resources-cd25dbae.js} +1 -1
  237. package/dist/collection/collection-manifest.json +2 -2
  238. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
  239. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
  240. package/dist/collection/components/calcite-action/calcite-action.js +4 -4
  241. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +2 -2
  242. package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
  243. package/dist/collection/components/calcite-block/calcite-block.css +2 -2
  244. package/dist/collection/components/calcite-block/calcite-block.js +4 -4
  245. package/dist/collection/components/calcite-button/calcite-button.css +20 -14
  246. package/dist/collection/components/calcite-button/calcite-button.js +4 -4
  247. package/dist/collection/components/calcite-card/calcite-card.js +8 -8
  248. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
  249. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +71 -120
  250. package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
  251. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +59 -56
  252. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +15 -19
  253. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
  254. package/dist/collection/components/calcite-combobox/calcite-combobox.css +15 -0
  255. package/dist/collection/components/calcite-combobox/calcite-combobox.js +146 -26
  256. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +51 -21
  257. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
  258. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
  259. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +5 -5
  260. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
  261. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  262. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
  263. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
  264. package/dist/collection/components/calcite-filter/calcite-filter.js +108 -19
  265. package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
  266. package/dist/collection/components/calcite-graph/util.js +1 -1
  267. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  276. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  277. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  278. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  279. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  280. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  281. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  282. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  283. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  284. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  285. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  286. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  287. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  288. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  289. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  290. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  291. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  292. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  293. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  294. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  295. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  296. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  297. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  298. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  299. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  300. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  301. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  302. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  303. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  304. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +8 -54
  305. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +55 -44
  306. package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
  307. package/dist/collection/components/calcite-input/calcite-input.css +102 -68
  308. package/dist/collection/components/calcite-input/calcite-input.js +144 -81
  309. package/dist/collection/components/calcite-input/resources.js +14 -12
  310. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
  311. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +174 -51
  312. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
  313. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
  314. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +34 -3
  315. package/dist/collection/components/calcite-label/calcite-label.js +2 -2
  316. package/dist/collection/components/calcite-list-item/calcite-list-item.css +7 -0
  317. package/dist/collection/components/calcite-loader/calcite-loader.css +0 -3
  318. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
  319. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
  320. package/dist/collection/components/calcite-option/calcite-option.js +2 -2
  321. package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
  322. package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
  323. package/dist/collection/components/calcite-panel/calcite-panel.css +16 -6
  324. package/dist/collection/components/calcite-panel/calcite-panel.js +3 -2
  325. package/dist/collection/components/calcite-panel/resources.js +1 -0
  326. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
  327. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  328. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
  329. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
  330. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
  331. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
  332. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +95 -96
  333. package/dist/collection/components/calcite-radio-button/resources.js +1 -1
  334. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
  335. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +58 -22
  336. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
  337. package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
  338. package/dist/collection/components/calcite-rating/calcite-rating.js +53 -5
  339. package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
  340. package/dist/collection/components/calcite-select/calcite-select.css +15 -0
  341. package/dist/collection/components/calcite-select/calcite-select.js +91 -5
  342. package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
  343. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +38 -21
  344. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +2 -2
  345. package/dist/collection/components/calcite-shell-panel/resources.js +1 -0
  346. package/dist/collection/components/calcite-slider/calcite-slider.css +17 -4
  347. package/dist/collection/components/calcite-slider/calcite-slider.js +48 -4
  348. package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
  349. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
  350. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
  351. package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
  352. package/dist/collection/components/calcite-switch/calcite-switch.js +35 -66
  353. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
  354. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
  355. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
  356. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  357. package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
  358. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -7
  359. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
  360. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  361. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -2
  362. package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
  363. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +35 -28
  364. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
  365. package/dist/collection/utils/form.js +167 -14
  366. package/dist/collection/utils/label.js +33 -4
  367. package/dist/collection/utils/popper.js +2 -2
  368. package/dist/components/calcite-accordion-item.js +2 -2
  369. package/dist/components/calcite-accordion.js +2 -2
  370. package/dist/components/calcite-action-bar.js +2 -2
  371. package/dist/components/calcite-action-group2.js +2 -2
  372. package/dist/components/calcite-action-menu2.js +2 -2
  373. package/dist/components/calcite-action-pad.js +2 -2
  374. package/dist/components/calcite-action2.js +2 -2
  375. package/dist/components/calcite-alert.js +2 -2
  376. package/dist/components/calcite-avatar.js +2 -2
  377. package/dist/components/calcite-block-section.js +2 -2
  378. package/dist/components/calcite-block.js +3 -3
  379. package/dist/components/calcite-button2.js +3 -3
  380. package/dist/components/calcite-card.js +11 -5
  381. package/dist/components/calcite-checkbox2.js +39 -89
  382. package/dist/components/calcite-chip2.js +2 -2
  383. package/dist/components/calcite-color-picker-hex-input2.js +13 -17
  384. package/dist/components/calcite-color-picker-swatch2.js +2 -2
  385. package/dist/components/calcite-color-picker.js +15 -12
  386. package/dist/components/calcite-combobox-item-group.js +2 -2
  387. package/dist/components/calcite-combobox-item.js +2 -2
  388. package/dist/components/calcite-combobox.js +85 -23
  389. package/dist/components/calcite-date-picker-day2.js +2 -2
  390. package/dist/components/calcite-date-picker-month-header2.js +2 -2
  391. package/dist/components/calcite-date-picker-month2.js +2 -2
  392. package/dist/components/calcite-date-picker2.js +27 -9
  393. package/dist/components/calcite-dropdown-group.js +2 -2
  394. package/dist/components/calcite-dropdown-item.js +3 -3
  395. package/dist/components/calcite-dropdown2.js +3 -3
  396. package/dist/components/calcite-fab.js +2 -2
  397. package/dist/components/calcite-filter2.js +47 -16
  398. package/dist/components/calcite-flow.js +2 -2
  399. package/dist/components/calcite-graph2.js +20 -10
  400. package/dist/components/calcite-handle2.js +2 -2
  401. package/dist/components/calcite-icon2.js +2 -2
  402. package/dist/components/calcite-inline-editable.js +52 -42
  403. package/dist/components/calcite-input-date-picker.js +71 -15
  404. package/dist/components/calcite-input-message.js +2 -2
  405. package/dist/components/calcite-input-time-picker.js +14 -4
  406. package/dist/components/calcite-input2.js +107 -72
  407. package/dist/components/calcite-label.js +1 -75
  408. package/dist/components/calcite-label2.js +81 -0
  409. package/dist/components/calcite-link2.js +2 -2
  410. package/dist/components/calcite-list-item-group.js +2 -2
  411. package/dist/components/calcite-list-item.js +3 -3
  412. package/dist/components/calcite-list.js +2 -2
  413. package/dist/components/calcite-loader2.js +3 -3
  414. package/dist/components/calcite-modal.js +2 -2
  415. package/dist/components/calcite-notice.js +2 -2
  416. package/dist/components/calcite-option-group.js +2 -2
  417. package/dist/components/calcite-option.js +2 -2
  418. package/dist/components/calcite-pagination.js +2 -2
  419. package/dist/components/calcite-panel.js +5 -4
  420. package/dist/components/calcite-pick-list-group.js +2 -2
  421. package/dist/components/calcite-pick-list-item2.js +2 -2
  422. package/dist/components/calcite-pick-list.js +2 -2
  423. package/dist/components/calcite-popover-manager.js +2 -2
  424. package/dist/components/calcite-popover2.js +4 -4
  425. package/dist/components/calcite-progress2.js +2 -2
  426. package/dist/components/calcite-radio-button-group.js +2 -2
  427. package/dist/components/calcite-radio-button.js +83 -76
  428. package/dist/components/calcite-radio-group-item.js +2 -2
  429. package/dist/components/calcite-radio-group.js +22 -24
  430. package/dist/components/calcite-radio2.js +2 -2
  431. package/dist/components/calcite-rating.js +15 -4
  432. package/dist/components/calcite-scrim2.js +2 -2
  433. package/dist/components/calcite-select.js +34 -5
  434. package/dist/components/calcite-shell-center-row.js +2 -2
  435. package/dist/components/calcite-shell-panel.js +5 -4
  436. package/dist/components/calcite-shell.js +3 -3
  437. package/dist/components/calcite-slider.js +15 -5
  438. package/dist/components/calcite-sortable-list.js +2 -2
  439. package/dist/components/calcite-split-button.js +2 -2
  440. package/dist/components/calcite-stepper-item.js +2 -2
  441. package/dist/components/calcite-stepper.js +2 -2
  442. package/dist/components/calcite-switch2.js +32 -53
  443. package/dist/components/calcite-tab-nav2.js +2 -2
  444. package/dist/components/calcite-tab-title2.js +2 -2
  445. package/dist/components/calcite-tab2.js +2 -2
  446. package/dist/components/calcite-tabs2.js +2 -2
  447. package/dist/components/calcite-tile-select-group.js +2 -2
  448. package/dist/components/calcite-tile-select.js +3 -5
  449. package/dist/components/calcite-tile2.js +3 -3
  450. package/dist/components/calcite-time-picker2.js +2 -2
  451. package/dist/components/calcite-tip-group.js +2 -2
  452. package/dist/components/calcite-tip-manager.js +2 -2
  453. package/dist/components/calcite-tip.js +2 -2
  454. package/dist/components/calcite-tooltip-manager2.js +2 -2
  455. package/dist/components/calcite-tooltip.js +3 -3
  456. package/dist/components/calcite-tree-item.js +17 -10
  457. package/dist/components/calcite-tree.js +2 -2
  458. package/dist/components/calcite-value-list-item.js +2 -2
  459. package/dist/components/calcite-value-list.js +2 -2
  460. package/dist/components/form.js +169 -15
  461. package/dist/components/label.js +33 -4
  462. package/dist/components/popper.js +2 -2
  463. package/dist/custom-elements/index.js +947 -573
  464. package/dist/esm/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  465. package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
  466. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  467. package/dist/esm/calcite-action-bar.entry.js +2 -2
  468. package/dist/esm/calcite-action-group.entry.js +1 -1
  469. package/dist/esm/calcite-action-menu.entry.js +1 -1
  470. package/dist/esm/calcite-action-pad.entry.js +2 -2
  471. package/dist/esm/calcite-action.entry.js +1 -1
  472. package/dist/esm/calcite-alert.entry.js +1 -1
  473. package/dist/esm/calcite-avatar.entry.js +1 -1
  474. package/dist/esm/calcite-block_2.entry.js +3 -3
  475. package/dist/esm/calcite-button.entry.js +3 -3
  476. package/dist/esm/calcite-card.entry.js +2 -2
  477. package/dist/esm/calcite-checkbox.entry.js +36 -85
  478. package/dist/esm/calcite-chip.entry.js +1 -1
  479. package/dist/esm/calcite-color-picker_3.entry.js +25 -26
  480. package/dist/esm/calcite-combobox_3.entry.js +83 -24
  481. package/dist/esm/calcite-date-picker_4.entry.js +28 -10
  482. package/dist/esm/calcite-dropdown_3.entry.js +4 -4
  483. package/dist/esm/calcite-fab.entry.js +1 -1
  484. package/dist/esm/calcite-filter.entry.js +43 -14
  485. package/dist/esm/calcite-flow.entry.js +1 -1
  486. package/dist/esm/calcite-graph_2.entry.js +28 -12
  487. package/dist/esm/calcite-handle.entry.js +1 -1
  488. package/dist/esm/calcite-icon.entry.js +1 -1
  489. package/dist/esm/calcite-inline-editable.entry.js +51 -42
  490. package/dist/esm/calcite-input-date-picker.entry.js +70 -17
  491. package/dist/esm/calcite-input-message.entry.js +1 -1
  492. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -4
  493. package/dist/esm/calcite-input.entry.js +104 -72
  494. package/dist/esm/calcite-label.entry.js +1 -1
  495. package/dist/esm/calcite-link.entry.js +1 -1
  496. package/dist/esm/calcite-list_3.entry.js +3 -3
  497. package/dist/esm/calcite-loader.entry.js +2 -2
  498. package/dist/esm/calcite-modal.entry.js +1 -1
  499. package/dist/esm/calcite-notice.entry.js +1 -1
  500. package/dist/esm/calcite-option_3.entry.js +31 -5
  501. package/dist/esm/calcite-pagination.entry.js +1 -1
  502. package/dist/esm/calcite-panel.entry.js +5 -4
  503. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  504. package/dist/esm/calcite-popover_2.entry.js +5 -5
  505. package/dist/esm/calcite-progress.entry.js +1 -1
  506. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  507. package/dist/esm/calcite-radio-group_2.entry.js +20 -24
  508. package/dist/esm/calcite-radio_2.entry.js +82 -76
  509. package/dist/esm/calcite-rating.entry.js +13 -4
  510. package/dist/esm/calcite-scrim.entry.js +1 -1
  511. package/dist/esm/calcite-shell_3.entry.js +5 -4
  512. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  513. package/dist/esm/calcite-split-button.entry.js +1 -1
  514. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  515. package/dist/esm/calcite-switch.entry.js +30 -49
  516. package/dist/esm/calcite-tab_4.entry.js +1 -1
  517. package/dist/esm/calcite-tile-select_2.entry.js +1 -3
  518. package/dist/esm/calcite-tile.entry.js +2 -2
  519. package/dist/esm/calcite-tip_3.entry.js +2 -2
  520. package/dist/esm/calcite-tooltip_2.entry.js +3 -3
  521. package/dist/esm/calcite-tree_2.entry.js +16 -9
  522. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  523. package/dist/esm/calcite.js +3 -3
  524. package/dist/esm/form-160b0fb5.js +174 -0
  525. package/dist/esm/{index-d653c37f.js → index-9de00868.js} +81 -429
  526. package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
  527. package/dist/esm/loader.js +3 -3
  528. package/dist/esm/{popper-7499ea4f.js → popper-dc4b45cf.js} +2 -2
  529. package/dist/esm/{resources-510eed1a.js → resources-16a2a25a.js} +1 -1
  530. package/dist/esm/{resources-3b481489.js → resources-bece7a88.js} +1 -1
  531. package/dist/esm-es5/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  532. package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
  533. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  534. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  535. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  536. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  537. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  538. package/dist/esm-es5/calcite-action.entry.js +1 -1
  539. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  540. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  541. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  542. package/dist/esm-es5/calcite-button.entry.js +1 -1
  543. package/dist/esm-es5/calcite-card.entry.js +1 -1
  544. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  545. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  546. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  547. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  548. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  549. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  550. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  551. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  552. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  553. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  554. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  555. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  556. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  557. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  558. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  559. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  560. package/dist/esm-es5/calcite-input.entry.js +2 -2
  561. package/dist/esm-es5/calcite-label.entry.js +1 -1
  562. package/dist/esm-es5/calcite-link.entry.js +1 -1
  563. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  564. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  565. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  566. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  567. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  568. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  569. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  570. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  571. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  572. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  573. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  574. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  575. package/dist/esm-es5/calcite-radio_2.entry.js +2 -2
  576. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  577. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  578. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  579. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  580. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  581. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  582. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  583. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  584. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  585. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  586. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  587. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  588. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  589. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  590. package/dist/esm-es5/calcite.js +1 -1
  591. package/dist/esm-es5/form-160b0fb5.js +5 -0
  592. package/dist/esm-es5/index-9de00868.js +5 -0
  593. package/dist/esm-es5/label-5559055d.js +5 -0
  594. package/dist/esm-es5/loader.js +1 -1
  595. package/dist/esm-es5/popper-dc4b45cf.js +5 -0
  596. package/dist/esm-es5/{resources-510eed1a.js → resources-16a2a25a.js} +1 -1
  597. package/dist/esm-es5/{resources-3b481489.js → resources-bece7a88.js} +1 -1
  598. package/dist/extras/docs-json.json +797 -480
  599. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +22 -23
  600. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
  601. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +21 -3
  602. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
  603. package/dist/types/components/calcite-filter/calcite-filter.d.ts +24 -1
  604. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  605. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
  606. package/dist/types/components/calcite-input/calcite-input.d.ts +21 -9
  607. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  608. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +37 -8
  609. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +11 -2
  610. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  611. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  612. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +14 -15
  613. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +13 -4
  614. package/dist/types/components/calcite-rating/calcite-rating.d.ts +12 -1
  615. package/dist/types/components/calcite-select/calcite-select.d.ts +19 -1
  616. package/dist/types/components/calcite-shell-panel/resources.d.ts +1 -0
  617. package/dist/types/components/calcite-slider/calcite-slider.d.ts +10 -1
  618. package/dist/types/components/calcite-switch/calcite-switch.d.ts +10 -9
  619. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +1 -1
  620. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  621. package/dist/types/components.d.ts +199 -22
  622. package/dist/types/utils/form.d.ts +112 -1
  623. package/dist/types/utils/label.d.ts +5 -0
  624. package/dist/types/utils/popper.d.ts +1 -1
  625. package/hydrate/index.js +891 -498
  626. package/package.json +15 -16
  627. package/readme.md +2 -2
  628. package/CHANGELOG.md +0 -1493
  629. package/dist/calcite/p-07ba39b6.js +0 -5
  630. package/dist/calcite/p-0fb8cdc5.entry.js +0 -5
  631. package/dist/calcite/p-0fd333ff.entry.js +0 -5
  632. package/dist/calcite/p-18574b32.entry.js +0 -5
  633. package/dist/calcite/p-24b86e03.entry.js +0 -5
  634. package/dist/calcite/p-26045881.entry.js +0 -5
  635. package/dist/calcite/p-29b110b2.entry.js +0 -5
  636. package/dist/calcite/p-2ba00b89.js +0 -5
  637. package/dist/calcite/p-349333f8.system.entry.js +0 -5
  638. package/dist/calcite/p-34a1c944.entry.js +0 -5
  639. package/dist/calcite/p-361ddbb6.entry.js +0 -5
  640. package/dist/calcite/p-378b83de.entry.js +0 -5
  641. package/dist/calcite/p-43494684.entry.js +0 -5
  642. package/dist/calcite/p-47313747.system.js +0 -5
  643. package/dist/calcite/p-485062f4.system.entry.js +0 -5
  644. package/dist/calcite/p-4e06a168.entry.js +0 -5
  645. package/dist/calcite/p-530584ff.system.entry.js +0 -5
  646. package/dist/calcite/p-568ed3d6.system.entry.js +0 -5
  647. package/dist/calcite/p-5c221c33.system.entry.js +0 -5
  648. package/dist/calcite/p-67fd79db.entry.js +0 -5
  649. package/dist/calcite/p-693a4d5f.entry.js +0 -5
  650. package/dist/calcite/p-727c8f36.system.entry.js +0 -5
  651. package/dist/calcite/p-728501db.system.js +0 -5
  652. package/dist/calcite/p-72ffc6d7.entry.js +0 -5
  653. package/dist/calcite/p-745e41ea.entry.js +0 -5
  654. package/dist/calcite/p-7a544774.system.entry.js +0 -5
  655. package/dist/calcite/p-7f4a5f8e.system.entry.js +0 -5
  656. package/dist/calcite/p-81a82d01.system.entry.js +0 -5
  657. package/dist/calcite/p-93d8a7d5.entry.js +0 -5
  658. package/dist/calcite/p-9965ea81.system.js +0 -5
  659. package/dist/calcite/p-9ac1fa0b.system.entry.js +0 -5
  660. package/dist/calcite/p-9caae570.entry.js +0 -5
  661. package/dist/calcite/p-9d3ee5cf.system.entry.js +0 -5
  662. package/dist/calcite/p-a7521c0d.entry.js +0 -5
  663. package/dist/calcite/p-b701101e.entry.js +0 -5
  664. package/dist/calcite/p-ba255377.entry.js +0 -5
  665. package/dist/calcite/p-bc02d9ef.system.entry.js +0 -5
  666. package/dist/calcite/p-bcc323ec.system.entry.js +0 -5
  667. package/dist/calcite/p-bfc162ee.system.entry.js +0 -5
  668. package/dist/calcite/p-c1995144.system.entry.js +0 -5
  669. package/dist/calcite/p-c31243c5.entry.js +0 -5
  670. package/dist/calcite/p-c74fc589.system.js +0 -5
  671. package/dist/calcite/p-cb228ac0.entry.js +0 -5
  672. package/dist/calcite/p-cbdf0e6c.js +0 -5
  673. package/dist/calcite/p-d35e423d.js +0 -5
  674. package/dist/calcite/p-d5d62977.entry.js +0 -5
  675. package/dist/calcite/p-d7a7a544.system.entry.js +0 -5
  676. package/dist/calcite/p-de0f4633.entry.js +0 -5
  677. package/dist/calcite/p-e9044cc1.entry.js +0 -5
  678. package/dist/calcite/p-f37563ac.system.entry.js +0 -5
  679. package/dist/calcite/p-f5d25746.system.entry.js +0 -5
  680. package/dist/calcite/p-fb1da0f5.system.js +0 -5
  681. package/dist/calcite/p-fe52131d.entry.js +0 -5
  682. package/dist/cjs/form-00fb301c.js +0 -22
  683. package/dist/esm/form-cee9f632.js +0 -20
  684. package/dist/esm-es5/form-cee9f632.js +0 -5
  685. package/dist/esm-es5/index-d653c37f.js +0 -5
  686. package/dist/esm-es5/label-bb61bdef.js +0 -5
  687. package/dist/esm-es5/popper-7499ea4f.js +0 -5
@@ -1,5 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):a(e.value).then(i,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,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 l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=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:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];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
- */var NAMESPACE="calcite";var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsShadow=true;var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var i=getHostListenerTarget(e,r);var s=hostListenerProxy(t,o);var l=hostListenerOpts(r);plt.ael(i,a,s,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(i,a,s,l)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return(e&2)!==0};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructibleStylesheets&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var i=rootAppliedStyles.get(e);var s=void 0;if(!i){rootAppliedStyles.set(e,i=new Set)}if(!i.has(a)){if(e.host&&(s=e.querySelector("["+HYDRATED_STYLE_ID+'="'+a+'"]'))){s.innerHTML=o}else{{s=doc.createElement("style");s.innerHTML=o}e.insertBefore(s,e.querySelector("link"))}if(i){i.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[o])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h");if(r&2){n.classList.add(o+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=null;var i=null;var s=false;var l=false;var c=[];var $=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){$(a)}else if(a!=null&&typeof a!=="boolean"){if(s=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(s&&l){c[c.length-1].$text$+=a}else{c.push(s?newVNode(null,a):a)}l=s}}};$(n);if(t){if(t.key){o=t.key}if(t.name){i=t.name}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,vdomFnUtils)}var u=newVNode(e,null);u.$attrs$=t;if(c.length>0){u.$children$=c}{u.$key$=o}{u.$name$=i}return u};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var n=newVNode(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var setAccessor=function(e,t,n,r,a,o){if(n!==r){var i=isMemberInElement(e,t);var s=t.toLowerCase();if(t==="class"){var l=e.classList;var c=parseClassList(n);var $=parseClassList(r);l.remove.apply(l,c.filter((function(e){return e&&!$.includes(e)})));l.add.apply(l,$.filter((function(e){return e&&!c.includes(e)})))}else if(t==="style"){{for(var f in n){if(!r||r[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in r){if(!n||r[f]!==n[f]){if(f.includes("-")){e.style.setProperty(f,r[f])}else{e.style[f]=r[f]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(n){plt.rel(e,t,n,false)}if(r){plt.ael(e,t,r,false)}}else{var u=isComplexType(r);if((i||u&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var d=r==null?"":r;if(t==="list"){i=false}else if(n==null||e[t]!=d){e[t]=d}}else{e[t]=r}}catch(e){}}var v=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;v=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!i||o&4||a)&&!u){r=r===true?"":r;if(v){e.setAttributeNS(XLINK_NS,t,r)}else{e.setAttribute(t,r)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var i=t.$attrs$||EMPTY_OBJ;{for(r in o){if(!(r in i)){setAccessor(a,r,o[r],undefined,n,t.$flags$)}}}for(r in i){setAccessor(a,r,o[r],i[r],n,t.$flags$)}};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var i;var s;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){if(scopeId){r.classList.add(scopeId+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){i=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){i=a.$elm$=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.$tag$==="svg"}i=a.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.$flags$&2?"slot-fb":a.$tag$);if(isSvgMode&&a.$tag$==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&i["s-si"]!==scopeId){i.classList.add(i["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){s=createElm(e,a,o,i);if(s){i.appendChild(s)}}}{if(a.$tag$==="svg"){isSvgMode=false}else if(i.tagName==="foreignObject"){isSvgMode=true}}}{i["s-hn"]=hostTagName;if(a.$flags$&(2|1)){i["s-sr"]=true;i["s-cr"]=contentRef;i["s-sn"]=a.$name$||"";l=e&&e.$children$&&e.$children$[n];if(l&&l.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return i};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,n,r,a,o){var i=e["s-cr"]&&e["s-cr"].parentNode||e;var s;if(i.shadowRoot&&i.tagName===hostTagName){i=i.shadowRoot}for(;a<=o;++a){if(r[a]){s=createElm(null,n,a,e);if(s){r[a].$elm$=s;i.insertBefore(s,referenceNode(t))}}}};var removeVnodes=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;callNodeRefs(r);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var i=0;var s=0;var l=t.length-1;var c=t[0];var $=t[l];var f=r.length-1;var u=r[0];var d=r[f];var v;var p;while(a<=l&&o<=f){if(c==null){c=t[++a]}else if($==null){$=t[--l]}else if(u==null){u=r[++o]}else if(d==null){d=r[--f]}else if(isSameVnode(c,u)){patch(c,u);c=t[++a];u=r[++o]}else if(isSameVnode($,d)){patch($,d);$=t[--l];d=r[--f]}else if(isSameVnode(c,d)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,d);e.insertBefore(c.$elm$,$.$elm$.nextSibling);c=t[++a];d=r[--f]}else if(isSameVnode($,u)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation($.$elm$.parentNode,false)}patch($,u);e.insertBefore($.$elm$,c.$elm$);$=t[--l];u=r[++o]}else{i=-1;{for(s=a;s<=l;++s){if(t[s]&&t[s].$key$!==null&&t[s].$key$===u.$key$){i=s;break}}}if(i>=0){p=t[i];if(p.$tag$!==u.$tag$){v=createElm(t&&t[o],n,i,e)}else{patch(p,u);t[i]=undefined;v=p.$elm$}u=r[++o]}else{v=createElm(t&&t[o],n,o,e);u=r[++o]}if(v){{parentReferenceNode(c.$elm$).insertBefore(v,referenceNode(c.$elm$))}}}}if(a>l){addVnodes(e,r[f+1]==null?null:r[f+1].$elm$,n,r,o,f)}else if(o>f){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var o=t.$tag$;var i=t.$text$;var s;if(i===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(s=n["s-cr"]){s.parentNode.textContent=i}else if(e.$text$!==i){n.data=i}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var n;var r;var a;var o;var i;var s;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){s=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||i!==""){if(s===1&&i===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(s===1||s===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}updateFallbackSlotVisibility(n)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var n;var r;var a;var o;var i;var s=0;var l=e.childNodes;var c=l.length;for(;s<c;s++){t=l[s];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(i=r.length-1;i>=0;i--){n=r[i];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(n,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));checkSlotFallbackVisibility=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,n["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===n}))){relocateNodes.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(r.$attrsToReflect$){o.$attrs$=o.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return o.$attrs$[r]=n[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}{contentRef=n["s-cr"];useNativeShadowDom=(r.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var i=void 0;var s=void 0;var l=void 0;var c=void 0;var $=void 0;var f=void 0;var u=0;for(;u<relocateNodes.length;u++){i=relocateNodes[u];s=i.$nodeToRelocate$;if(!s["s-ol"]){l=doc.createTextNode("");l["s-nr"]=s;s.parentNode.insertBefore(s["s-ol"]=l,s)}}for(u=0;u<relocateNodes.length;u++){i=relocateNodes[u];s=i.$nodeToRelocate$;if(i.$slotRefNode$){c=i.$slotRefNode$.parentNode;$=i.$slotRefNode$.nextSibling;l=s["s-ol"];while(l=l.previousSibling){f=l["s-nr"];if(f&&f["s-sn"]===s["s-sn"]&&c===f.parentNode){f=f.nextSibling;if(!f||!f["s-nr"]){$=f;break}}}if(!$&&c!==s.parentNode||s.nextSibling!==$){if(s!==$){if(!s["s-hn"]&&s["s-ol"]){s["s-hn"]=s["s-ol"].parentNode.nodeName}c.insertBefore(s,$)}}}else{if(s.nodeType===1){s.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,n){var r=getElement(e);return{emit:function(e){return emitEvent(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}{a=safeCall(r,"componentWillLoad")}}{a=then(a,(function(){return safeCall(r,"componentWillRender")}))}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,i,s,l;return __generator(this,(function(c){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}i=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}i();a();{s=r["s-p"];l=function(){return postUpdateComponent(e)};if(s.length===0){l()}else{Promise.all(s).then(l);e.$flags$|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;{safeCall(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}{safeCall(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var n=t.$hostElement$.isConnected;if(n&&(t.$flags$&(2|16))===2){scheduleUpdate(t,false)}return n}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.setAttribute("calcite-hydrated","")};var initializeClientHydrate=function(e,t,n,r){var a=createTime("hydrateClient",t);var o=e.shadowRoot;var i=[];var s=[];var l=o?[]:null;var c=r.$vnode$=newVNode(t,null);if(!plt.$orgLocNodes$){initializeDocumentHydrate(doc.body,plt.$orgLocNodes$=new Map)}e[HYDRATE_ID]=n;e.removeAttribute(HYDRATE_ID);clientHydrate(c,i,s,l,e,e,n);i.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=plt.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&supportsShadow&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!o){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}plt.$orgLocNodes$.delete(n)}));if(o){l.map((function(e){if(e){o.appendChild(e)}}))}a()};var clientHydrate=function(e,t,n,r,a,o,i){var s;var l;var c;var $;if(o.nodeType===1){s=o.getAttribute(HYDRATE_CHILD_ID);if(s){l=s.split(".");if(l[0]===i||l[0]==="0"){c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(c);o.removeAttribute(HYDRATE_CHILD_ID);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;e=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}for($=o.childNodes.length-1;$>=0;$--){clientHydrate(e,t,n,r,a,o.childNodes[$],i)}if(o.shadowRoot){for($=o.shadowRoot.childNodes.length-1;$>=0;$--){clientHydrate(e,t,n,r,a,o.shadowRoot.childNodes[$],i)}}}else if(o.nodeType===8){l=o.nodeValue.split(".");if(l[1]===i||l[1]==="0"){s=l[0];c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(s===TEXT_NODE_ID){c.$elm$=o.nextSibling;if(c.$elm$&&c.$elm$.nodeType===3){c.$text$=c.$elm$.textContent;t.push(c);o.remove();if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}else if(c.$hostId$===i){if(s===SLOT_NODE_ID){c.$tag$="slot";if(l[5]){o["s-sn"]=c.$name$=l[5]}else{o["s-sn"]=""}o["s-sr"]=true;if(r){c.$elm$=doc.createElement(c.$tag$);if(c.$name$){c.$elm$.setAttribute("name",c.$name$)}o.parentNode.insertBefore(c.$elm$,o);o.remove();if(c.$depth$==="0"){r[c.$index$]=c.$elm$}}n.push(c);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c}else if(s===CONTENT_REF_ID){if(r){o.remove()}else{a["s-cr"]=o;o["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var f=newVNode(null,o.textContent);f.$elm$=o;f.$index$="0";e.$children$=[f]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){initializeDocumentHydrate(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){initializeDocumentHydrate(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===ORG_LOCATION_ID){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$hostElement$;var i=a.$instanceValues$.get(t);var s=a.$flags$;var l=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);if((!(s&8)||i===undefined)&&n!==i){a.$instanceValues$.set(t,n);if(l){if(r.$watchers$&&s&128){var c=r.$watchers$[t];if(c){c.map((function(e){try{l[e](n,i,t)}catch(e){consoleError(e,o)}}))}}if((s&(2|16))===2){if(l.componentShouldUpdate){if(l.componentShouldUpdate(n,i,t)===false){return}}scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],o=e[1][0];if(o&31||n&2&&o&32){Object.defineProperty(a,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&o&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=getHostRef(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var o=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;plt.jmp((function(){var t=o.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;o.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,i,s,l,c;return __generator(this,(function($){switch($.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=$.sent();e();$.label=2;case 2:if(!a.isProxied){{n.$watchers$=a.watchers}proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}r();fireConnectedCallback(t.$lazyInstance$);if(a.style){o=a.style;i=getScopeId(n);if(!styles.has(i)){s=createTime("registerStyles",n.$tagName$);registerStyle(i,o,!!(n.$flags$&1));s()}}$.label=3;case 3:l=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(n.$flags$&1){var o=addStyle(e.shadowRoot,n);e.classList.remove(o+"-h",o+"-s")}initializeClientHydrate(e,n.$tagName$,a,t)}}if(!a){if(n.$flags$&(4|8)){setContentReference(e)}}{var i=e;while(i=i.parentNode||i.host){if(i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){attachToAncestor(t,t.$ancestorComponent$=i);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{initializeComponent(e,t,n)}}else{addHostEventListeners(e,t,n.$listeners$);fireConnectedCallback(t.$lazyInstance$)}r()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(n,"disconnectedCallback")}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n=createTime();var r=[];var a=t.exclude||[];var o=win.customElements;var i=doc.head;var s=i.querySelector("meta[charset]");var l=doc.createElement("style");var c=[];var $=doc.querySelectorAll("["+HYDRATED_STYLE_ID+"]");var f;var u=true;var d=0;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.$flags$|=2}{for(;d<$.length;d++){registerStyle($[d].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow($[d].innerHTML),true)}}e.map((function(e){return e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}var i=n.$tagName$;var s=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(u){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(i)&&!o.get(i)){r.push(i);o.define(i,proxyComponent(s,n,1))}}))}));{l.innerHTML=r+HYDRATED_CSS;l.setAttribute("data-styles","");i.insertBefore(l,s?s.nextSibling:i.firstChild)}u=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}n()};var getAssetPath=function(e){var t=new URL(e,plt.$resourcesUrl$);return t.origin!==win.location.origin?t.href:t.pathname};var Fragment=function(e,t){return t};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Fragment as F,Host as H,NAMESPACE as N,getAssetPath as a,bootstrapLazy as b,createEvent as c,doc as d,forceUpdate as f,getElement as g,h,promiseResolve as p,registerInstance as r};
@@ -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{q as queryElementRoots,c as closestElementCrossShadowBoundary}from"./dom-f24e866c.js";var labelTagName="calcite-label";var labelClickEvent="calciteInternalLabelClick";var onLabelClickMap=new WeakMap;var findLabelForComponent=function(e){var l=e.id;return l&&queryElementRoots(e,labelTagName+'[for="'+l+'"]')||closestElementCrossShadowBoundary(e,labelTagName)};function connectLabel(e){var l=findLabelForComponent(e.el);if(!l||onLabelClickMap.has(l)){return}e.labelEl=l;var a=onLabelClick.bind(e);onLabelClickMap.set(e.labelEl,a);e.labelEl.addEventListener(labelClickEvent,a)}function disconnectLabel(e){if(!e.labelEl){return}var l=onLabelClickMap.get(e.labelEl);e.labelEl.removeEventListener(labelClickEvent,l);onLabelClickMap.delete(e.labelEl)}function getLabelText(e){var l,a;return e.label||((a=(l=e.labelEl)===null||l===void 0?void 0:l.textContent)===null||a===void 0?void 0:a.trim())||""}function onLabelClick(e){var l=this.el.contains(e.detail.sourceEvent.target);if(l){return}this.onLabelClick(e)}export{connectLabel as c,disconnectLabel as d,getLabelText as g};
@@ -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{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 P=y/2-u[c]/2+b;var x=within(w,P,O);var S=f;r.modifiersData[n]=(t={},t[S]=x,t.centerOffset=x-P,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 P="clientHeight";var x="clientWidth";if(O===getWindow(r)){O=getDocumentElement(r);if(getComputedStyle(O).position!=="static"&&s==="absolute"){P="scrollHeight";x="scrollWidth"}}O=O;if(a===top||(a===left||a===right)&&o===end){b=bottom;m-=O[P]-n.height;m*=f?1:-1}if(a===left||(a===top||a===bottom)&&o===end){y=right;d-=O[x]-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 P=rectToClientRect(Object.assign({},h,O));var x=c===popper?P:w;var S={top:b.top-x.top+m.top,bottom:x.bottom-b.bottom+m.bottom,left:b.left-x.left+m.left,right:x.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 P=t.rects.popper;var x=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]>P[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}x.set(T,N)}if(S){var A=v?3:1;var H=function e(t){var r=w.find((function(e){var r=x.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 P=t.modifiersData.popperOffsets;var x=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(!P){return}if(o||s){var T=w==="y"?top:left;var R=w==="y"?bottom:right;var C=w==="y"?"height":"width";var D=P[w];var B=P[w]+g[T];var L=P[w]-g[R];var j=d?-S[C]/2:0;var W=y===start?x[C]:S[C];var N=y===start?-S[C]:-x[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,x[C],H[C]);var q=b?x[C]/2-j-F-$-E:W-F-$-E;var I=b?-x[C]/2+j+F+V+E:N+F+V+E;var X=t.elements.arrow&&getOffsetParent(t.elements.arrow);var U=X?w==="y"?X.clientTop||0:X.clientLeft||0:0;var z=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0;var _=P[w]+q-z-U;var Y=P[w]+I-z;if(o){var G=within(d?min(B,_):B,D,d?max(L,Y):L);P[w]=G;M[w]=G-D}if(s){var J=w==="x"?top:left;var K=w==="x"?bottom:right;var Q=P[O];var Z=Q+g[J];var ee=Q-g[K];var te=within(d?min(Z,_):Z,Q,d?max(ee,Y):ee);P[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;var o=getPlacement(t,n);a.setOptions({modifiers:r,placement:o})}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};