@esri/calcite-components 1.0.0-next.294 → 1.0.0-next.295

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 (542) 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-dc99bb00.system.entry.js → p-00716aa8.system.entry.js} +1 -1
  40. package/dist/calcite/{p-413b4857.system.entry.js → p-044d603d.system.entry.js} +1 -1
  41. package/dist/calcite/{p-6621aee1.entry.js → p-05da7439.entry.js} +1 -1
  42. package/dist/calcite/{p-7c37ca39.entry.js → p-08d707c4.entry.js} +1 -1
  43. package/dist/calcite/{p-fba65e4a.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-58e98b2d.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-8007a0b4.system.entry.js → p-143cffd9.system.entry.js} +1 -1
  48. package/dist/calcite/{p-c8e4117c.system.entry.js → p-15f3a0d7.system.entry.js} +1 -1
  49. package/dist/calcite/{p-de3a04c2.system.entry.js → p-16bb48f6.system.entry.js} +1 -1
  50. package/dist/calcite/{p-c99d8f9e.system.entry.js → p-16f2d814.system.entry.js} +1 -1
  51. package/dist/calcite/p-1942876c.js +5 -0
  52. package/dist/calcite/{p-cca94491.system.entry.js → p-1a1e9057.system.entry.js} +1 -1
  53. package/dist/calcite/p-1a962bdd.js +5 -0
  54. package/dist/calcite/p-1aa89347.system.entry.js +5 -0
  55. package/dist/calcite/{p-a8569c55.system.entry.js → p-1c8fe17f.system.entry.js} +1 -1
  56. package/dist/calcite/{p-6988c6b7.system.entry.js → p-1dd440e6.system.entry.js} +1 -1
  57. package/dist/calcite/{p-7a6c6382.entry.js → p-21c8ac06.entry.js} +1 -1
  58. package/dist/calcite/{p-6c8a562f.system.entry.js → p-243d95ab.system.entry.js} +1 -1
  59. package/dist/calcite/{p-3f1d1bad.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-4185db77.entry.js → p-289bc56f.entry.js} +1 -1
  63. package/dist/calcite/{p-9affee61.entry.js → p-29771742.entry.js} +1 -1
  64. package/dist/calcite/{p-8953f712.entry.js → p-2aa3007a.entry.js} +1 -1
  65. package/dist/calcite/p-2e29554c.js +5 -0
  66. package/dist/calcite/{p-3962cd38.entry.js → p-33802886.entry.js} +1 -1
  67. package/dist/calcite/{p-25a31861.system.js → p-34e5baa7.system.js} +1 -1
  68. package/dist/calcite/p-3833285b.system.entry.js +5 -0
  69. package/dist/calcite/{p-e638ff0e.entry.js → p-396efb80.entry.js} +1 -1
  70. package/dist/calcite/p-3a592bf3.system.entry.js +5 -0
  71. package/dist/calcite/p-3dae9da3.js +5 -0
  72. package/dist/calcite/{p-bf8b70a8.entry.js → p-3e6fcede.entry.js} +1 -1
  73. package/dist/calcite/p-3eb1dc0f.entry.js +5 -0
  74. package/dist/calcite/p-41023be5.system.entry.js +5 -0
  75. package/dist/calcite/{p-49d5ee42.system.entry.js → p-46285b9c.system.entry.js} +1 -1
  76. package/dist/calcite/{p-c9ecea64.entry.js → p-48f03121.entry.js} +1 -1
  77. package/dist/calcite/{p-83302e1c.entry.js → p-4acfb654.entry.js} +1 -1
  78. package/dist/calcite/{p-bf25e278.system.entry.js → p-4d11efdb.system.entry.js} +1 -1
  79. package/dist/calcite/{p-b8d040e5.system.entry.js → p-4e16515a.system.entry.js} +1 -1
  80. package/dist/calcite/{p-c60e3a71.entry.js → p-4f1f83d2.entry.js} +1 -1
  81. package/dist/calcite/{p-1e875199.entry.js → p-502ea583.entry.js} +1 -1
  82. package/dist/calcite/p-523bc291.system.js +5 -0
  83. package/dist/calcite/p-54394dfe.system.entry.js +5 -0
  84. package/dist/calcite/p-578509a8.entry.js +5 -0
  85. package/dist/calcite/p-592da79d.system.entry.js +5 -0
  86. package/dist/calcite/p-5c0c29bc.entry.js +5 -0
  87. package/dist/calcite/p-5eee672a.system.entry.js +5 -0
  88. package/dist/calcite/{p-ba1322e6.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
  89. package/dist/calcite/{p-36e5db45.entry.js → p-5f817b79.entry.js} +1 -1
  90. package/dist/calcite/p-63e60894.entry.js +5 -0
  91. package/dist/calcite/{p-daa110fe.system.entry.js → p-6484ffb7.system.entry.js} +1 -1
  92. package/dist/calcite/{p-28261aae.entry.js → p-659898bf.entry.js} +1 -1
  93. package/dist/calcite/{p-d11ad046.system.js → p-6d44b7d9.system.js} +1 -1
  94. package/dist/calcite/p-6f1cca21.system.js +5 -0
  95. package/dist/calcite/{p-2418cceb.entry.js → p-70efa39d.entry.js} +1 -1
  96. package/dist/calcite/{p-e7819705.entry.js → p-714ae4f6.entry.js} +1 -1
  97. package/dist/calcite/{p-3bb30b44.system.entry.js → p-74f390e1.system.entry.js} +1 -1
  98. package/dist/calcite/{p-d4059426.entry.js → p-75264173.entry.js} +1 -1
  99. package/dist/calcite/{p-76ccd204.entry.js → p-765fb8ed.entry.js} +1 -1
  100. package/dist/calcite/{p-cacca548.entry.js → p-78d0db7b.entry.js} +1 -1
  101. package/dist/calcite/{p-98789055.system.entry.js → p-7ba971b5.system.entry.js} +1 -1
  102. package/dist/calcite/{p-f281f1e9.entry.js → p-7bb94bfa.entry.js} +1 -1
  103. package/dist/calcite/{p-502736d8.system.entry.js → p-81538774.system.entry.js} +1 -1
  104. package/dist/calcite/p-81ab443c.entry.js +5 -0
  105. package/dist/calcite/p-82139130.entry.js +5 -0
  106. package/dist/calcite/{p-7b869bc5.entry.js → p-82c6cd9a.entry.js} +1 -1
  107. package/dist/calcite/{p-45257edb.js → p-8340b572.js} +1 -1
  108. package/dist/calcite/{p-58716826.system.entry.js → p-840f2937.system.entry.js} +2 -2
  109. package/dist/calcite/p-85032edc.system.entry.js +5 -0
  110. package/dist/calcite/{p-b41deed0.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
  111. package/dist/calcite/p-8baa9ba4.entry.js +5 -0
  112. package/dist/calcite/{p-7ade2294.system.entry.js → p-8fef13ca.system.entry.js} +1 -1
  113. package/dist/calcite/{p-75f714c9.entry.js → p-9338b0bc.entry.js} +1 -1
  114. package/dist/calcite/p-9577dfd9.entry.js +5 -0
  115. package/dist/calcite/{p-c48b4b7e.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
  116. package/dist/calcite/p-968ea270.entry.js +5 -0
  117. package/dist/calcite/{p-83ccefba.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
  118. package/dist/calcite/p-9be6633a.entry.js +5 -0
  119. package/dist/calcite/{p-9fc0dc2c.system.entry.js → p-9f240615.system.entry.js} +1 -1
  120. package/dist/calcite/{p-f6f4648e.system.entry.js → p-a5269f14.system.entry.js} +1 -1
  121. package/dist/calcite/{p-684ccd4e.system.entry.js → p-a8dc2982.system.entry.js} +1 -1
  122. package/dist/calcite/{p-0100aeb0.entry.js → p-ace12b8d.entry.js} +1 -1
  123. package/dist/calcite/{p-7dd5c4e4.entry.js → p-aced5f01.entry.js} +1 -1
  124. package/dist/calcite/{p-f32e61bb.system.entry.js → p-aec398f3.system.entry.js} +1 -1
  125. package/dist/calcite/{p-eed43a57.system.entry.js → p-b1351c3e.system.entry.js} +1 -1
  126. package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
  127. package/dist/calcite/{p-3cf93a58.system.entry.js → p-b4b1081f.system.entry.js} +1 -1
  128. package/dist/calcite/p-b94bf8ac.system.entry.js +5 -0
  129. package/dist/calcite/p-b9fa225e.entry.js +5 -0
  130. package/dist/calcite/p-c0e35328.entry.js +5 -0
  131. package/dist/calcite/p-c34c4414.system.js +5 -0
  132. package/dist/calcite/{p-a09634e2.entry.js → p-c3ba61ea.entry.js} +1 -1
  133. package/dist/calcite/{p-fe16f05e.system.entry.js → p-c4cb4fab.system.entry.js} +1 -1
  134. package/dist/calcite/p-c87c04a9.entry.js +5 -0
  135. package/dist/calcite/p-ca3bb147.entry.js +5 -0
  136. package/dist/calcite/{p-527146c8.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
  137. package/dist/calcite/{p-a7ba0292.system.js → p-cbf6bb04.system.js} +1 -1
  138. package/dist/calcite/{p-507b2cc4.entry.js → p-cc788d2e.entry.js} +1 -1
  139. package/dist/calcite/p-cced5508.system.entry.js +5 -0
  140. package/dist/calcite/{p-dcf30b00.system.entry.js → p-cf03b144.system.entry.js} +1 -1
  141. package/dist/calcite/{p-b018fbbd.entry.js → p-d550ee4d.entry.js} +1 -1
  142. package/dist/calcite/{p-72fa390e.entry.js → p-d6e30c54.entry.js} +1 -1
  143. package/dist/calcite/{p-79cbbf2d.js → p-d6f20229.js} +1 -1
  144. package/dist/calcite/{p-3e438b5b.system.entry.js → p-dabb63b5.system.entry.js} +1 -1
  145. package/dist/calcite/{p-9fa024e6.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-38ee7306.system.entry.js → p-deb36fde.system.entry.js} +1 -1
  148. package/dist/calcite/{p-b4e7b593.system.entry.js → p-defcee80.system.entry.js} +1 -1
  149. package/dist/calcite/{p-e35e7216.system.js → p-dff7dc90.system.js} +1 -1
  150. package/dist/calcite/{p-09da1c54.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-9fa5e356.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-a5bfc29d.system.entry.js → p-e6d05ad6.system.entry.js} +1 -1
  156. package/dist/calcite/{p-809ddb6a.js → p-e956e279.js} +1 -1
  157. package/dist/calcite/{p-c399cfce.entry.js → p-eada9cef.entry.js} +1 -1
  158. package/dist/calcite/{p-b244a00c.entry.js → p-ecc00ef0.entry.js} +1 -1
  159. package/dist/calcite/{p-f93a7fce.entry.js → p-ef39847e.entry.js} +1 -1
  160. package/dist/calcite/{p-cd41629f.entry.js → p-efb2169a.entry.js} +1 -1
  161. package/dist/calcite/{p-06646eed.system.entry.js → p-f0338acf.system.entry.js} +1 -1
  162. package/dist/calcite/{p-3383d9b4.entry.js → p-f1c5e7cf.entry.js} +1 -1
  163. package/dist/calcite/{p-58eca102.entry.js → p-f278dd53.entry.js} +1 -1
  164. package/dist/calcite/{p-5efd7297.entry.js → p-f9c46578.entry.js} +1 -1
  165. package/dist/calcite/{p-10de63d7.system.entry.js → p-fc47547f.system.entry.js} +1 -1
  166. package/dist/calcite/p-fc643963.entry.js +5 -0
  167. package/dist/calcite/{p-5322b333.system.entry.js → p-fcb6db39.system.entry.js} +1 -1
  168. package/dist/cjs/{CalciteExpandToggle-6a9f9858.js → CalciteExpandToggle-5f60c98b.js} +1 -1
  169. package/dist/cjs/{CalciteHeading-363b0525.js → CalciteHeading-112c19f9.js} +1 -1
  170. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  171. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  172. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  173. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  174. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  175. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  177. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  179. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  180. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  181. package/dist/cjs/calcite-checkbox.cjs.entry.js +36 -85
  182. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +25 -26
  184. package/dist/cjs/calcite-combobox_3.cjs.entry.js +81 -22
  185. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -10
  186. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
  187. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  188. package/dist/cjs/calcite-filter.cjs.entry.js +34 -8
  189. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -4
  191. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  193. package/dist/cjs/calcite-inline-editable.cjs.entry.js +51 -42
  194. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +68 -15
  195. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  196. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -4
  197. package/dist/cjs/calcite-input.cjs.entry.js +75 -56
  198. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  199. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  200. package/dist/cjs/calcite-list_3.cjs.entry.js +2 -2
  201. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  202. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  203. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +31 -5
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  208. package/dist/cjs/calcite-popover_2.cjs.entry.js +3 -3
  209. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  211. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -24
  212. package/dist/cjs/calcite-radio_2.cjs.entry.js +81 -75
  213. package/dist/cjs/calcite-rating.cjs.entry.js +13 -4
  214. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -4
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  218. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  219. package/dist/cjs/calcite-switch.cjs.entry.js +25 -49
  220. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  221. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -3
  222. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  223. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
  225. package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
  226. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  227. package/dist/cjs/calcite.cjs.js +2 -2
  228. package/dist/cjs/form-a5b44a1f.js +179 -0
  229. package/dist/cjs/{index-cee0daa9.js → index-6b5d2de5.js} +8 -365
  230. package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
  231. package/dist/cjs/loader.cjs.js +2 -2
  232. package/dist/cjs/{resources-38563593.js → resources-3f7b51c8.js} +1 -1
  233. package/dist/cjs/{resources-f9c141d2.js → resources-cd25dbae.js} +1 -1
  234. package/dist/collection/components/calcite-button/calcite-button.css +20 -14
  235. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
  236. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +63 -112
  237. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +13 -10
  238. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +11 -15
  239. package/dist/collection/components/calcite-combobox/calcite-combobox.css +15 -0
  240. package/dist/collection/components/calcite-combobox/calcite-combobox.js +139 -19
  241. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +45 -15
  242. package/dist/collection/components/calcite-filter/calcite-filter.js +79 -8
  243. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  244. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  245. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  276. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  277. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  278. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  279. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +8 -54
  280. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +43 -32
  281. package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
  282. package/dist/collection/components/calcite-input/calcite-input.css +102 -68
  283. package/dist/collection/components/calcite-input/calcite-input.js +104 -54
  284. package/dist/collection/components/calcite-input/resources.js +14 -12
  285. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
  286. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +163 -40
  287. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
  288. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +34 -3
  289. package/dist/collection/components/calcite-panel/calcite-panel.css +2 -2
  290. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  291. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
  292. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +83 -84
  293. package/dist/collection/components/calcite-radio-button/resources.js +1 -1
  294. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
  295. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +58 -22
  296. package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
  297. package/dist/collection/components/calcite-rating/calcite-rating.js +49 -1
  298. package/dist/collection/components/calcite-select/calcite-select.css +15 -0
  299. package/dist/collection/components/calcite-select/calcite-select.js +89 -3
  300. package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
  301. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +38 -21
  302. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +2 -2
  303. package/dist/collection/components/calcite-shell-panel/resources.js +1 -0
  304. package/dist/collection/components/calcite-slider/calcite-slider.css +15 -0
  305. package/dist/collection/components/calcite-slider/calcite-slider.js +45 -1
  306. package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
  307. package/dist/collection/components/calcite-switch/calcite-switch.js +28 -64
  308. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -7
  309. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +15 -8
  310. package/dist/collection/utils/form.js +167 -14
  311. package/dist/collection/utils/label.js +33 -4
  312. package/dist/components/calcite-button2.js +1 -1
  313. package/dist/components/calcite-checkbox2.js +37 -87
  314. package/dist/components/calcite-color-picker-hex-input2.js +11 -15
  315. package/dist/components/calcite-color-picker.js +13 -10
  316. package/dist/components/calcite-combobox.js +82 -20
  317. package/dist/components/calcite-date-picker2.js +25 -7
  318. package/dist/components/calcite-filter2.js +35 -7
  319. package/dist/components/calcite-inline-editable.js +52 -42
  320. package/dist/components/calcite-input-date-picker.js +68 -12
  321. package/dist/components/calcite-input-time-picker.js +12 -2
  322. package/dist/components/calcite-input2.js +79 -57
  323. package/dist/components/calcite-panel.js +1 -1
  324. package/dist/components/calcite-popover2.js +1 -1
  325. package/dist/components/calcite-radio-button.js +83 -76
  326. package/dist/components/calcite-radio-group.js +20 -22
  327. package/dist/components/calcite-rating.js +13 -2
  328. package/dist/components/calcite-select.js +32 -3
  329. package/dist/components/calcite-shell-panel.js +4 -3
  330. package/dist/components/calcite-shell.js +1 -1
  331. package/dist/components/calcite-slider.js +12 -2
  332. package/dist/components/calcite-switch2.js +25 -51
  333. package/dist/components/calcite-tile-select.js +1 -3
  334. package/dist/components/calcite-tree-item.js +15 -8
  335. package/dist/components/form.js +169 -15
  336. package/dist/components/label.js +33 -4
  337. package/dist/custom-elements/index.js +785 -441
  338. package/dist/esm/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  339. package/dist/esm/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
  340. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  341. package/dist/esm/calcite-action-bar.entry.js +2 -2
  342. package/dist/esm/calcite-action-group.entry.js +1 -1
  343. package/dist/esm/calcite-action-menu.entry.js +1 -1
  344. package/dist/esm/calcite-action-pad.entry.js +2 -2
  345. package/dist/esm/calcite-action.entry.js +1 -1
  346. package/dist/esm/calcite-alert.entry.js +1 -1
  347. package/dist/esm/calcite-avatar.entry.js +1 -1
  348. package/dist/esm/calcite-block_2.entry.js +2 -2
  349. package/dist/esm/calcite-button.entry.js +3 -3
  350. package/dist/esm/calcite-card.entry.js +1 -1
  351. package/dist/esm/calcite-checkbox.entry.js +36 -85
  352. package/dist/esm/calcite-chip.entry.js +1 -1
  353. package/dist/esm/calcite-color-picker_3.entry.js +25 -26
  354. package/dist/esm/calcite-combobox_3.entry.js +81 -22
  355. package/dist/esm/calcite-date-picker_4.entry.js +28 -10
  356. package/dist/esm/calcite-dropdown_3.entry.js +1 -1
  357. package/dist/esm/calcite-fab.entry.js +1 -1
  358. package/dist/esm/calcite-filter.entry.js +34 -8
  359. package/dist/esm/calcite-flow.entry.js +1 -1
  360. package/dist/esm/calcite-graph_2.entry.js +12 -4
  361. package/dist/esm/calcite-handle.entry.js +1 -1
  362. package/dist/esm/calcite-icon.entry.js +1 -1
  363. package/dist/esm/calcite-inline-editable.entry.js +51 -42
  364. package/dist/esm/calcite-input-date-picker.entry.js +68 -15
  365. package/dist/esm/calcite-input-message.entry.js +1 -1
  366. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -4
  367. package/dist/esm/calcite-input.entry.js +76 -57
  368. package/dist/esm/calcite-label.entry.js +1 -1
  369. package/dist/esm/calcite-link.entry.js +1 -1
  370. package/dist/esm/calcite-list_3.entry.js +2 -2
  371. package/dist/esm/calcite-loader.entry.js +1 -1
  372. package/dist/esm/calcite-modal.entry.js +1 -1
  373. package/dist/esm/calcite-notice.entry.js +1 -1
  374. package/dist/esm/calcite-option_3.entry.js +31 -5
  375. package/dist/esm/calcite-pagination.entry.js +1 -1
  376. package/dist/esm/calcite-panel.entry.js +3 -3
  377. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  378. package/dist/esm/calcite-popover_2.entry.js +3 -3
  379. package/dist/esm/calcite-progress.entry.js +1 -1
  380. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  381. package/dist/esm/calcite-radio-group_2.entry.js +20 -24
  382. package/dist/esm/calcite-radio_2.entry.js +82 -76
  383. package/dist/esm/calcite-rating.entry.js +13 -4
  384. package/dist/esm/calcite-scrim.entry.js +1 -1
  385. package/dist/esm/calcite-shell_3.entry.js +5 -4
  386. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  387. package/dist/esm/calcite-split-button.entry.js +1 -1
  388. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  389. package/dist/esm/calcite-switch.entry.js +26 -50
  390. package/dist/esm/calcite-tab_4.entry.js +1 -1
  391. package/dist/esm/calcite-tile-select_2.entry.js +1 -3
  392. package/dist/esm/calcite-tile.entry.js +1 -1
  393. package/dist/esm/calcite-tip_3.entry.js +2 -2
  394. package/dist/esm/calcite-tooltip_2.entry.js +1 -1
  395. package/dist/esm/calcite-tree_2.entry.js +16 -9
  396. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  397. package/dist/esm/calcite.js +2 -2
  398. package/dist/esm/form-160b0fb5.js +174 -0
  399. package/dist/esm/{index-66803519.js → index-9de00868.js} +8 -365
  400. package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
  401. package/dist/esm/loader.js +2 -2
  402. package/dist/esm/{resources-8dd80c84.js → resources-16a2a25a.js} +1 -1
  403. package/dist/esm/{resources-c59a1a15.js → resources-bece7a88.js} +1 -1
  404. package/dist/esm-es5/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  405. package/dist/esm-es5/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
  406. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  407. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  408. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  409. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  410. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  411. package/dist/esm-es5/calcite-action.entry.js +1 -1
  412. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  413. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  414. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  415. package/dist/esm-es5/calcite-button.entry.js +1 -1
  416. package/dist/esm-es5/calcite-card.entry.js +1 -1
  417. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  418. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  419. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  420. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  421. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  422. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  423. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  424. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  425. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  426. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  427. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  428. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  429. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  430. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  431. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  432. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  433. package/dist/esm-es5/calcite-input.entry.js +2 -2
  434. package/dist/esm-es5/calcite-label.entry.js +1 -1
  435. package/dist/esm-es5/calcite-link.entry.js +1 -1
  436. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  437. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  438. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  439. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  440. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  441. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  442. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  443. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  444. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  445. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  446. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  447. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  448. package/dist/esm-es5/calcite-radio_2.entry.js +2 -2
  449. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  450. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  451. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  452. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  453. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  454. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  455. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  456. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  457. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  458. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  459. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  460. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  461. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  462. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  463. package/dist/esm-es5/calcite.js +1 -1
  464. package/dist/esm-es5/form-160b0fb5.js +5 -0
  465. package/dist/esm-es5/index-9de00868.js +5 -0
  466. package/dist/esm-es5/label-5559055d.js +5 -0
  467. package/dist/esm-es5/loader.js +1 -1
  468. package/dist/esm-es5/{resources-8dd80c84.js → resources-16a2a25a.js} +1 -1
  469. package/dist/esm-es5/{resources-c59a1a15.js → resources-bece7a88.js} +1 -1
  470. package/dist/extras/docs-json.json +320 -59
  471. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +22 -23
  472. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
  473. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +21 -3
  474. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
  475. package/dist/types/components/calcite-filter/calcite-filter.d.ts +19 -0
  476. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
  477. package/dist/types/components/calcite-input/calcite-input.d.ts +14 -8
  478. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  479. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +37 -8
  480. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +11 -2
  481. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +14 -15
  482. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +13 -4
  483. package/dist/types/components/calcite-rating/calcite-rating.d.ts +12 -1
  484. package/dist/types/components/calcite-select/calcite-select.d.ts +19 -1
  485. package/dist/types/components/calcite-shell-panel/resources.d.ts +1 -0
  486. package/dist/types/components/calcite-slider/calcite-slider.d.ts +10 -1
  487. package/dist/types/components/calcite-switch/calcite-switch.d.ts +10 -9
  488. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +1 -1
  489. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  490. package/dist/types/components.d.ts +171 -18
  491. package/dist/types/utils/form.d.ts +112 -1
  492. package/dist/types/utils/label.d.ts +5 -0
  493. package/hydrate/index.js +811 -451
  494. package/package.json +8 -9
  495. package/readme.md +2 -2
  496. package/CHANGELOG.md +0 -1506
  497. package/dist/calcite/p-05107123.entry.js +0 -5
  498. package/dist/calcite/p-05d1dfc6.js +0 -5
  499. package/dist/calcite/p-0d4e82ab.system.entry.js +0 -5
  500. package/dist/calcite/p-10759c71.system.entry.js +0 -5
  501. package/dist/calcite/p-11113310.entry.js +0 -5
  502. package/dist/calcite/p-12e1c83f.system.entry.js +0 -5
  503. package/dist/calcite/p-1421e818.entry.js +0 -5
  504. package/dist/calcite/p-17e666d6.system.entry.js +0 -5
  505. package/dist/calcite/p-22ecf6df.entry.js +0 -5
  506. package/dist/calcite/p-2ba00b89.js +0 -5
  507. package/dist/calcite/p-2ecafa35.system.entry.js +0 -5
  508. package/dist/calcite/p-329e1831.system.entry.js +0 -5
  509. package/dist/calcite/p-3994ac99.system.entry.js +0 -5
  510. package/dist/calcite/p-42128a12.entry.js +0 -5
  511. package/dist/calcite/p-47313747.system.js +0 -5
  512. package/dist/calcite/p-4c7e3915.system.entry.js +0 -5
  513. package/dist/calcite/p-4ecd0331.entry.js +0 -5
  514. package/dist/calcite/p-5e6d76dc.entry.js +0 -5
  515. package/dist/calcite/p-777c833f.system.entry.js +0 -5
  516. package/dist/calcite/p-8711a0ae.system.entry.js +0 -5
  517. package/dist/calcite/p-89cdfa96.system.js +0 -5
  518. package/dist/calcite/p-8bc3e126.entry.js +0 -5
  519. package/dist/calcite/p-948aca0d.system.entry.js +0 -5
  520. package/dist/calcite/p-99ff3a2f.entry.js +0 -5
  521. package/dist/calcite/p-9fe349b9.entry.js +0 -5
  522. package/dist/calcite/p-a2cc027e.entry.js +0 -5
  523. package/dist/calcite/p-b42d730f.entry.js +0 -5
  524. package/dist/calcite/p-b4960d06.system.js +0 -5
  525. package/dist/calcite/p-bbe2337b.system.entry.js +0 -5
  526. package/dist/calcite/p-bbedf98c.entry.js +0 -5
  527. package/dist/calcite/p-be52c734.entry.js +0 -5
  528. package/dist/calcite/p-cb7b6425.entry.js +0 -5
  529. package/dist/calcite/p-d35e423d.js +0 -5
  530. package/dist/calcite/p-df9b4b76.entry.js +0 -5
  531. package/dist/calcite/p-e24b6c4a.system.entry.js +0 -5
  532. package/dist/calcite/p-e382c4e9.entry.js +0 -5
  533. package/dist/calcite/p-e40dd6fe.system.entry.js +0 -5
  534. package/dist/calcite/p-e5805bf1.entry.js +0 -5
  535. package/dist/calcite/p-eccb140e.entry.js +0 -5
  536. package/dist/calcite/p-f5bb39bb.js +0 -5
  537. package/dist/calcite/p-fb1da0f5.system.js +0 -5
  538. package/dist/cjs/form-00fb301c.js +0 -22
  539. package/dist/esm/form-cee9f632.js +0 -20
  540. package/dist/esm-es5/form-cee9f632.js +0 -5
  541. package/dist/esm-es5/index-66803519.js +0 -5
  542. package/dist/esm-es5/label-bb61bdef.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]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}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){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};