@esri/calcite-components 1.0.0-beta.67 → 1.0.0-beta.70

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 (1376) hide show
  1. package/CHANGELOG.md +1540 -0
  2. package/dist/calcite/assets/calcite-icon/checkExtent16.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/checkExtent24.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/checkExtent32.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/driveTime16.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/driveTime24.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/driveTime32.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/driveTimeLargest16.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/driveTimeLargest24.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/driveTimeLargest32.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/driveTimeXBar16.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/driveTimeXBar24.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/driveTimeXBar32.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/groupItems16.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/groupItems24.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/groupItems32.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/groupLayoutElements16.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/groupLayoutElements24.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/groupLayoutElements32.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/penMark16.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/ringsLargest16.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/ringsLargest24.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/ringsLargest32.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/ringsSmallest16.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/ringsSmallest24.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/ringsSmallest32.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/ringsXBar16.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/ringsXBar24.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/ringsXBar32.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/ungroupItems16.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/ungroupItems24.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/ungroupItems32.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  50. package/dist/calcite/calcite.css +1 -1
  51. package/dist/calcite/calcite.esm.js +5 -1
  52. package/dist/calcite/calcite.js +1 -1
  53. package/dist/calcite/index.esm.js +4 -0
  54. package/dist/calcite/p-004460a0.system.entry.js +5 -0
  55. package/dist/calcite/p-044d603d.system.entry.js +5 -0
  56. package/dist/calcite/p-047e1000.system.entry.js +5 -0
  57. package/dist/calcite/p-05bf835f.js +5 -0
  58. package/dist/calcite/p-05da7439.entry.js +5 -0
  59. package/dist/calcite/p-08d707c4.entry.js +5 -0
  60. package/dist/calcite/p-10708f87.system.entry.js +5 -0
  61. package/dist/calcite/p-109049e6.system.entry.js +5 -0
  62. package/dist/calcite/p-127e3513.system.entry.js +5 -0
  63. package/dist/calcite/p-1434e37e.entry.js +5 -0
  64. package/dist/calcite/p-15f3a0d7.system.entry.js +5 -0
  65. package/dist/calcite/p-16bb48f6.system.entry.js +5 -0
  66. package/dist/calcite/p-16f2d814.system.entry.js +5 -0
  67. package/dist/calcite/p-1942876c.js +5 -0
  68. package/dist/calcite/p-1a962bdd.js +5 -0
  69. package/dist/calcite/p-1aa89347.system.entry.js +5 -0
  70. package/dist/calcite/p-1c8fe17f.system.entry.js +5 -0
  71. package/dist/calcite/p-1d6404b5.system.js +5 -0
  72. package/dist/calcite/p-1dd440e6.system.entry.js +5 -0
  73. package/dist/calcite/p-1fb7138b.js +5 -0
  74. package/dist/calcite/p-243d95ab.system.entry.js +5 -0
  75. package/dist/calcite/p-2451da5b.entry.js +5 -0
  76. package/dist/calcite/p-26508b91.js +5 -0
  77. package/dist/calcite/p-288bc438.system.js +5 -0
  78. package/dist/calcite/p-289bc56f.entry.js +5 -0
  79. package/dist/calcite/p-29771742.entry.js +5 -0
  80. package/dist/calcite/p-2a714a22.entry.js +5 -0
  81. package/dist/calcite/p-2aa3007a.entry.js +5 -0
  82. package/dist/calcite/p-2d09cc25.js +5 -0
  83. package/dist/calcite/p-2e29554c.js +5 -0
  84. package/dist/calcite/p-33226317.entry.js +5 -0
  85. package/dist/calcite/p-33802886.entry.js +5 -0
  86. package/dist/calcite/p-34e5baa7.system.js +5 -0
  87. package/dist/calcite/p-378ffa38.system.js +5 -0
  88. package/dist/calcite/p-38bd222a.entry.js +5 -0
  89. package/dist/calcite/p-3a592bf3.system.entry.js +5 -0
  90. package/dist/calcite/p-3dae9da3.js +5 -0
  91. package/dist/calcite/p-3e6fcede.entry.js +5 -0
  92. package/dist/calcite/p-4035444d.system.js +5 -0
  93. package/dist/calcite/p-4778c5cf.system.entry.js +5 -0
  94. package/dist/calcite/p-477bac2c.system.js +5 -0
  95. package/dist/calcite/p-4acfb654.entry.js +5 -0
  96. package/dist/calcite/p-4d11efdb.system.entry.js +5 -0
  97. package/dist/calcite/p-4de6f4fd.system.js +5 -0
  98. package/dist/calcite/p-4e16515a.system.entry.js +5 -0
  99. package/dist/calcite/p-4f1f83d2.entry.js +5 -0
  100. package/dist/calcite/p-502ea583.entry.js +5 -0
  101. package/dist/calcite/p-523bc291.system.js +5 -0
  102. package/dist/calcite/p-52cc870b.js +5 -0
  103. package/dist/calcite/p-54394dfe.system.entry.js +5 -0
  104. package/dist/calcite/p-56b352bf.system.js +5 -0
  105. package/dist/calcite/p-578509a8.entry.js +5 -0
  106. package/dist/calcite/p-592da79d.system.entry.js +5 -0
  107. package/dist/calcite/p-59a285d8.system.entry.js +5 -0
  108. package/dist/calcite/p-5c0c29bc.entry.js +5 -0
  109. package/dist/calcite/p-5eee672a.system.entry.js +5 -0
  110. package/dist/calcite/p-5efd81e1.entry.js +5 -0
  111. package/dist/calcite/p-5f2a9710.system.entry.js +5 -0
  112. package/dist/calcite/p-5f817b79.entry.js +5 -0
  113. package/dist/calcite/p-6296644b.entry.js +5 -0
  114. package/dist/calcite/p-63da2e34.system.entry.js +5 -0
  115. package/dist/calcite/p-63e60894.entry.js +5 -0
  116. package/dist/calcite/p-6484ffb7.system.entry.js +5 -0
  117. package/dist/calcite/p-659898bf.entry.js +5 -0
  118. package/dist/calcite/p-6a541e77.system.js +5 -0
  119. package/dist/calcite/p-6cc23c39.system.js +5 -0
  120. package/dist/calcite/p-6d44b7d9.system.js +5 -0
  121. package/dist/calcite/p-714ae4f6.entry.js +5 -0
  122. package/dist/calcite/p-72563742.js +5 -0
  123. package/dist/calcite/p-74f390e1.system.entry.js +5 -0
  124. package/dist/calcite/p-75264173.entry.js +5 -0
  125. package/dist/calcite/p-75955cef.entry.js +5 -0
  126. package/dist/calcite/p-765fb8ed.entry.js +5 -0
  127. package/dist/calcite/p-7ba971b5.system.entry.js +5 -0
  128. package/dist/calcite/p-7bb94bfa.entry.js +5 -0
  129. package/dist/calcite/p-7cbc72b6.system.entry.js +5 -0
  130. package/dist/calcite/p-7ed4c551.system.js +5 -0
  131. package/dist/calcite/p-81ab443c.entry.js +5 -0
  132. package/dist/calcite/p-82c6cd9a.entry.js +5 -0
  133. package/dist/calcite/p-8340b572.js +5 -0
  134. package/dist/calcite/p-840f2937.system.entry.js +5 -0
  135. package/dist/calcite/p-8445bc9c.system.entry.js +5 -0
  136. package/dist/calcite/p-85032edc.system.entry.js +5 -0
  137. package/dist/calcite/p-8603b2e1.entry.js +5 -0
  138. package/dist/calcite/p-8a63221d.js +5 -0
  139. package/dist/calcite/p-8b2ead09.system.entry.js +5 -0
  140. package/dist/calcite/p-8baa9ba4.entry.js +5 -0
  141. package/dist/calcite/p-8e252799.system.js +5 -0
  142. package/dist/calcite/p-8fef13ca.system.entry.js +5 -0
  143. package/dist/calcite/p-91645bf7.system.js +5 -0
  144. package/dist/calcite/p-9338b0bc.entry.js +5 -0
  145. package/dist/calcite/p-9577dfd9.entry.js +5 -0
  146. package/dist/calcite/p-95b9a0f2.system.entry.js +5 -0
  147. package/dist/calcite/p-968ea270.entry.js +5 -0
  148. package/dist/calcite/p-9abbbcbd.system.entry.js +5 -0
  149. package/dist/calcite/p-9be6633a.entry.js +5 -0
  150. package/dist/calcite/p-a0c02648.system.js +5 -0
  151. package/dist/calcite/p-a5269f14.system.entry.js +5 -0
  152. package/dist/calcite/p-a61d85db.system.entry.js +5 -0
  153. package/dist/calcite/p-a62de092.js +5 -0
  154. package/dist/calcite/p-a8dc2982.system.entry.js +5 -0
  155. package/dist/calcite/p-aa47308a.entry.js +5 -0
  156. package/dist/calcite/p-ac9607f2.system.js +11 -0
  157. package/dist/calcite/p-accdb0ce.js +5 -0
  158. package/dist/calcite/p-ace12b8d.entry.js +5 -0
  159. package/dist/calcite/p-aced5f01.entry.js +5 -0
  160. package/dist/calcite/p-aec398f3.system.entry.js +5 -0
  161. package/dist/calcite/p-b06207bb.js +5 -0
  162. package/dist/calcite/p-b1351c3e.system.entry.js +5 -0
  163. package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
  164. package/dist/calcite/p-b1f88d45.system.js +5 -0
  165. package/dist/calcite/p-b2ab0485.js +5 -0
  166. package/dist/calcite/p-b4b1081f.system.entry.js +5 -0
  167. package/dist/calcite/p-b94bf8ac.system.entry.js +5 -0
  168. package/dist/calcite/p-c0e35328.entry.js +5 -0
  169. package/dist/calcite/p-c34c4414.system.js +5 -0
  170. package/dist/calcite/p-c3ba61ea.entry.js +5 -0
  171. package/dist/calcite/p-c4cb4fab.system.entry.js +5 -0
  172. package/dist/calcite/p-c5ec8d74.js +11 -0
  173. package/dist/calcite/p-c61ebee9.entry.js +5 -0
  174. package/dist/calcite/p-c87c04a9.entry.js +5 -0
  175. package/dist/calcite/p-ca3bb147.entry.js +5 -0
  176. package/dist/calcite/p-caf7085a.system.js +5 -0
  177. package/dist/calcite/p-cbe9f1a2.system.entry.js +5 -0
  178. package/dist/calcite/p-cbf6bb04.system.js +5 -0
  179. package/dist/calcite/p-cc788d2e.entry.js +5 -0
  180. package/dist/calcite/p-cced5508.system.entry.js +5 -0
  181. package/dist/calcite/p-cf03b144.system.entry.js +5 -0
  182. package/dist/calcite/p-d53cc958.js +5 -0
  183. package/dist/calcite/p-d550ee4d.entry.js +5 -0
  184. package/dist/calcite/p-d6e30c54.entry.js +5 -0
  185. package/dist/calcite/p-d6f20229.js +5 -0
  186. package/dist/calcite/p-db10485b.system.js +5 -0
  187. package/dist/calcite/p-dbe899c6.system.entry.js +5 -0
  188. package/dist/calcite/p-dd464e44.system.entry.js +5 -0
  189. package/dist/calcite/p-deb36fde.system.entry.js +5 -0
  190. package/dist/calcite/p-defcee80.system.entry.js +5 -0
  191. package/dist/calcite/p-dff7dc90.system.js +5 -0
  192. package/dist/calcite/p-e020662f.system.js +5 -0
  193. package/dist/calcite/p-e095517f.system.js +5 -0
  194. package/dist/calcite/p-e33fe285.system.entry.js +5 -0
  195. package/dist/calcite/p-e4acb5a8.js +5 -0
  196. package/dist/calcite/p-e52495d3.system.entry.js +5 -0
  197. package/dist/calcite/p-e5e3b591.entry.js +5 -0
  198. package/dist/calcite/p-e616f9b5.entry.js +5 -0
  199. package/dist/calcite/p-e6d05ad6.system.entry.js +5 -0
  200. package/dist/calcite/p-e70cb594.system.entry.js +5 -0
  201. package/dist/calcite/p-e956e279.js +5 -0
  202. package/dist/calcite/p-eada9cef.entry.js +5 -0
  203. package/dist/calcite/p-ecc00ef0.entry.js +5 -0
  204. package/dist/calcite/p-ed15771f.system.entry.js +5 -0
  205. package/dist/calcite/p-ed453bfb.entry.js +5 -0
  206. package/dist/calcite/p-ef39847e.entry.js +5 -0
  207. package/dist/calcite/p-efb2169a.entry.js +5 -0
  208. package/dist/calcite/p-f0338acf.system.entry.js +5 -0
  209. package/dist/calcite/p-f07d3627.js +5 -0
  210. package/dist/calcite/p-f1c5e7cf.entry.js +5 -0
  211. package/dist/calcite/p-f243b615.js +5 -0
  212. package/dist/calcite/p-f278dd53.entry.js +5 -0
  213. package/dist/calcite/p-f9c46578.entry.js +5 -0
  214. package/dist/calcite/p-fc47547f.system.entry.js +5 -0
  215. package/dist/calcite/p-fc643963.entry.js +5 -0
  216. package/dist/cjs/CalciteExpandToggle-5f60c98b.js +94 -0
  217. package/dist/cjs/CalciteHeading-112c19f9.js +19 -0
  218. package/dist/cjs/array-a5dedf5a.js +11 -0
  219. package/dist/cjs/calcite-accordion_2.cjs.entry.js +11 -4
  220. package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -8
  221. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -5
  222. package/dist/cjs/calcite-action-menu.cjs.entry.js +14 -8
  223. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -6
  224. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  225. package/dist/cjs/calcite-alert.cjs.entry.js +9 -5
  226. package/dist/cjs/calcite-avatar.cjs.entry.js +8 -4
  227. package/dist/cjs/calcite-block_2.cjs.entry.js +22 -17
  228. package/dist/cjs/calcite-button.cjs.entry.js +60 -39
  229. package/dist/cjs/calcite-card.cjs.entry.js +9 -5
  230. package/dist/cjs/calcite-checkbox.cjs.entry.js +38 -83
  231. package/dist/cjs/calcite-chip.cjs.entry.js +7 -3
  232. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +39 -38
  233. package/dist/cjs/calcite-combobox_3.cjs.entry.js +87 -24
  234. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +40 -18
  235. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +47 -38
  236. package/dist/cjs/calcite-fab.cjs.entry.js +7 -3
  237. package/dist/cjs/calcite-filter.cjs.entry.js +52 -19
  238. package/dist/cjs/calcite-flow.cjs.entry.js +6 -2
  239. package/dist/cjs/calcite-graph_2.cjs.entry.js +62 -34
  240. package/dist/cjs/calcite-handle.cjs.entry.js +5 -1
  241. package/dist/cjs/calcite-icon.cjs.entry.js +8 -4
  242. package/dist/cjs/calcite-inline-editable.cjs.entry.js +58 -44
  243. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +87 -30
  244. package/dist/cjs/calcite-input-message.cjs.entry.js +7 -3
  245. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +31 -18
  246. package/dist/cjs/calcite-input.cjs.entry.js +121 -80
  247. package/dist/cjs/calcite-label.cjs.entry.js +7 -3
  248. package/dist/cjs/calcite-link.cjs.entry.js +13 -3
  249. package/dist/cjs/calcite-list_3.cjs.entry.js +31 -6
  250. package/dist/cjs/calcite-loader.cjs.entry.js +7 -3
  251. package/dist/cjs/calcite-modal.cjs.entry.js +9 -5
  252. package/dist/cjs/calcite-notice.cjs.entry.js +9 -5
  253. package/dist/cjs/calcite-option_3.cjs.entry.js +46 -16
  254. package/dist/cjs/calcite-pagination.cjs.entry.js +7 -3
  255. package/dist/cjs/calcite-panel.cjs.entry.js +12 -7
  256. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -8
  257. package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -7
  258. package/dist/cjs/calcite-progress.cjs.entry.js +5 -1
  259. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -1
  260. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +37 -37
  261. package/dist/cjs/calcite-radio_2.cjs.entry.js +103 -97
  262. package/dist/cjs/calcite-rating.cjs.entry.js +27 -14
  263. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -1
  264. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -6
  265. package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -3
  266. package/dist/cjs/calcite-split-button.cjs.entry.js +7 -3
  267. package/dist/cjs/calcite-stepper_2.cjs.entry.js +8 -4
  268. package/dist/cjs/calcite-switch.cjs.entry.js +31 -46
  269. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -6
  270. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +9 -7
  271. package/dist/cjs/calcite-tile.cjs.entry.js +8 -4
  272. package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -5
  273. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +13 -8
  274. package/dist/cjs/calcite-tree_2.cjs.entry.js +24 -13
  275. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -8
  276. package/dist/cjs/calcite.cjs.js +7 -3
  277. package/dist/cjs/debounce-95979061.js +495 -0
  278. package/dist/cjs/dom-19822169.js +170 -0
  279. package/dist/cjs/forIn-a5d553af.js +622 -0
  280. package/dist/cjs/form-a5b44a1f.js +179 -0
  281. package/dist/cjs/guid-b270f0db.js +20 -0
  282. package/dist/cjs/index-6b5d2de5.js +1718 -0
  283. package/dist/cjs/index.cjs.js +4 -0
  284. package/dist/cjs/interfaces-54651c1c.js +13 -0
  285. package/dist/cjs/key-8bfb93ec.js +37 -0
  286. package/dist/cjs/label-8e3552b2.js +87 -0
  287. package/dist/cjs/loader.cjs.js +7 -3
  288. package/dist/cjs/locale-69dc9583.js +123 -0
  289. package/dist/cjs/math-145c80e2.js +21 -0
  290. package/dist/cjs/number-e6448e15.js +45 -0
  291. package/dist/cjs/observers-41837607.js +22 -0
  292. package/dist/cjs/popper-87bf13e6.js +1790 -0
  293. package/dist/cjs/resources-3f7b51c8.js +232 -0
  294. package/dist/cjs/resources-407a4290.js +20 -0
  295. package/dist/cjs/resources-cd25dbae.js +346 -0
  296. package/dist/cjs/resources-ffe563a2.js +21 -0
  297. package/dist/cjs/sortable.esm-d7a4560b.js +3019 -0
  298. package/dist/cjs/utils-55d67711.js +123 -0
  299. package/dist/collection/collection-manifest.json +2 -2
  300. package/dist/collection/components/calcite-accordion/calcite-accordion.js +6 -2
  301. package/dist/collection/components/calcite-accordion/interfaces.js +4 -0
  302. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +15 -8
  303. package/dist/collection/components/calcite-action/calcite-action.css +17 -68
  304. package/dist/collection/components/calcite-action/calcite-action.js +38 -35
  305. package/dist/collection/components/calcite-action/resources.js +4 -0
  306. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +4 -0
  307. package/dist/collection/components/calcite-action-bar/resources.js +4 -0
  308. package/dist/collection/components/calcite-action-bar/utils.js +4 -0
  309. package/dist/collection/components/calcite-action-group/calcite-action-group.js +4 -0
  310. package/dist/collection/components/calcite-action-group/resources.js +4 -0
  311. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +10 -4
  312. package/dist/collection/components/calcite-action-menu/resources.js +4 -0
  313. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +4 -0
  314. package/dist/collection/components/calcite-action-pad/resources.js +4 -0
  315. package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
  316. package/dist/collection/components/calcite-alert/calcite-alert.js +10 -6
  317. package/dist/collection/components/calcite-alert/interfaces.js +4 -0
  318. package/dist/collection/components/calcite-alert/resources.js +4 -0
  319. package/dist/collection/components/calcite-avatar/calcite-avatar.js +4 -0
  320. package/dist/collection/components/calcite-avatar/utils.js +4 -0
  321. package/dist/collection/components/calcite-block/calcite-block.css +25 -22
  322. package/dist/collection/components/calcite-block/calcite-block.js +17 -15
  323. package/dist/collection/components/calcite-block/resources.js +8 -2
  324. package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -0
  325. package/dist/collection/components/calcite-block-section/calcite-block-section.js +4 -0
  326. package/dist/collection/components/calcite-block-section/interfaces.js +4 -0
  327. package/dist/collection/components/calcite-block-section/resources.js +4 -0
  328. package/dist/collection/components/calcite-button/calcite-button.css +20 -14
  329. package/dist/collection/components/calcite-button/calcite-button.js +37 -37
  330. package/dist/collection/components/calcite-button/interfaces.js +4 -0
  331. package/dist/collection/components/calcite-button/resources.js +4 -0
  332. package/dist/collection/components/calcite-card/calcite-card.js +12 -8
  333. package/dist/collection/components/calcite-card/resources.js +4 -0
  334. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +26 -12
  335. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +72 -117
  336. package/dist/collection/components/calcite-chip/calcite-chip.js +6 -2
  337. package/dist/collection/components/calcite-chip/interfaces.js +4 -0
  338. package/dist/collection/components/calcite-chip/resources.js +4 -0
  339. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +67 -62
  340. package/dist/collection/components/calcite-color-picker/interfaces.js +4 -0
  341. package/dist/collection/components/calcite-color-picker/resources.js +4 -0
  342. package/dist/collection/components/calcite-color-picker/utils.js +4 -0
  343. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +19 -19
  344. package/dist/collection/components/calcite-color-picker-hex-input/resources.js +4 -0
  345. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +6 -2
  346. package/dist/collection/components/calcite-color-picker-swatch/resources.js +4 -0
  347. package/dist/collection/components/calcite-combobox/calcite-combobox.css +32 -4
  348. package/dist/collection/components/calcite-combobox/calcite-combobox.js +149 -24
  349. package/dist/collection/components/calcite-combobox/interfaces.js +4 -0
  350. package/dist/collection/components/calcite-combobox/resources.js +4 -0
  351. package/dist/collection/components/calcite-combobox/utils.js +4 -0
  352. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +1 -1
  353. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +4 -0
  354. package/dist/collection/components/calcite-combobox-item/resources.js +4 -0
  355. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +4 -0
  356. package/dist/collection/components/calcite-combobox-item-group/resources.js +4 -0
  357. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +55 -21
  358. package/dist/collection/components/calcite-date-picker/interfaces.js +4 -0
  359. package/dist/collection/components/calcite-date-picker/resources.js +4 -0
  360. package/dist/collection/components/calcite-date-picker/utils.js +4 -0
  361. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -1
  362. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +6 -2
  363. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +1 -1
  364. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +10 -6
  365. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -1
  366. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +4 -0
  367. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +47 -36
  368. package/dist/collection/components/calcite-dropdown/interfaces.js +4 -0
  369. package/dist/collection/components/calcite-dropdown/resources.js +4 -0
  370. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +6 -2
  371. package/dist/collection/components/calcite-dropdown-group/interfaces.js +4 -0
  372. package/dist/collection/components/calcite-dropdown-group/resources.js +4 -0
  373. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  374. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +10 -6
  375. package/dist/collection/components/calcite-dropdown-item/resources.js +4 -0
  376. package/dist/collection/components/calcite-fab/calcite-fab.js +6 -2
  377. package/dist/collection/components/calcite-fab/resources.js +4 -0
  378. package/dist/collection/components/calcite-filter/calcite-filter.js +113 -20
  379. package/dist/collection/components/calcite-filter/resources.js +4 -0
  380. package/dist/collection/components/calcite-flow/calcite-flow.js +4 -0
  381. package/dist/collection/components/calcite-flow/interfaces.js +4 -0
  382. package/dist/collection/components/calcite-flow/resources.js +4 -0
  383. package/dist/collection/components/calcite-graph/calcite-graph.js +52 -6
  384. package/dist/collection/components/calcite-graph/interfaces.js +4 -0
  385. package/dist/collection/components/calcite-graph/util.js +5 -1
  386. package/dist/collection/components/calcite-handle/calcite-handle.js +6 -2
  387. package/dist/collection/components/calcite-handle/resources.js +4 -0
  388. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  389. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  390. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  391. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  392. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  393. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  394. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  395. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  396. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  397. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  398. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  399. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  400. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  401. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  402. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  403. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  404. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  405. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  406. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  407. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  408. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  409. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
  410. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
  411. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
  412. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
  413. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
  414. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
  415. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  416. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  417. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  418. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  419. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  420. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  421. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  422. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  423. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  424. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
  425. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
  426. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
  427. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
  428. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
  429. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
  430. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  431. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  432. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  433. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  434. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  435. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  436. package/dist/collection/components/calcite-icon/calcite-icon.js +4 -0
  437. package/dist/collection/components/calcite-icon/resources.js +4 -0
  438. package/dist/collection/components/calcite-icon/utils.js +4 -0
  439. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +8 -54
  440. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +61 -45
  441. package/dist/collection/components/calcite-inline-editable/resources.js +11 -7
  442. package/dist/collection/components/calcite-input/calcite-input.css +102 -68
  443. package/dist/collection/components/calcite-input/calcite-input.js +159 -90
  444. package/dist/collection/components/calcite-input/interfaces.js +4 -0
  445. package/dist/collection/components/calcite-input/resources.js +18 -12
  446. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
  447. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +186 -59
  448. package/dist/collection/components/calcite-input-message/calcite-input-message.js +6 -2
  449. package/dist/collection/components/calcite-input-message/interfaces.js +4 -0
  450. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
  451. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +50 -15
  452. package/dist/collection/components/calcite-label/calcite-label.js +6 -2
  453. package/dist/collection/components/calcite-label/resources.js +4 -0
  454. package/dist/collection/components/calcite-link/calcite-link.js +15 -1
  455. package/dist/collection/components/calcite-list/calcite-list.js +37 -1
  456. package/dist/collection/components/calcite-list/resources.js +4 -0
  457. package/dist/collection/components/calcite-list-item/calcite-list-item.css +7 -0
  458. package/dist/collection/components/calcite-list-item/calcite-list-item.js +34 -2
  459. package/dist/collection/components/calcite-list-item/resources.js +4 -0
  460. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.js +4 -0
  461. package/dist/collection/components/calcite-list-item-group/resources.js +4 -0
  462. package/dist/collection/components/calcite-loader/calcite-loader.css +3 -6
  463. package/dist/collection/components/calcite-loader/calcite-loader.js +4 -0
  464. package/dist/collection/components/calcite-modal/calcite-modal.js +6 -2
  465. package/dist/collection/components/calcite-modal/interfaces.js +4 -0
  466. package/dist/collection/components/calcite-modal/resources.js +4 -0
  467. package/dist/collection/components/calcite-notice/calcite-notice.css +18 -6
  468. package/dist/collection/components/calcite-notice/calcite-notice.js +6 -2
  469. package/dist/collection/components/calcite-notice/resources.js +4 -0
  470. package/dist/collection/components/calcite-option/calcite-option.js +6 -2
  471. package/dist/collection/components/calcite-option-group/calcite-option-group.js +6 -2
  472. package/dist/collection/components/calcite-pagination/calcite-pagination.js +12 -8
  473. package/dist/collection/components/calcite-pagination/resources.js +4 -0
  474. package/dist/collection/components/calcite-panel/calcite-panel.css +16 -6
  475. package/dist/collection/components/calcite-panel/calcite-panel.js +7 -2
  476. package/dist/collection/components/calcite-panel/resources.js +5 -0
  477. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +4 -0
  478. package/dist/collection/components/calcite-pick-list/resources.js +4 -0
  479. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -0
  480. package/dist/collection/components/calcite-pick-list/shared-list-render.js +4 -0
  481. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +4 -0
  482. package/dist/collection/components/calcite-pick-list-group/resources.js +4 -0
  483. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +14 -10
  484. package/dist/collection/components/calcite-pick-list-item/resources.js +4 -0
  485. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  486. package/dist/collection/components/calcite-popover/calcite-popover.js +13 -9
  487. package/dist/collection/components/calcite-popover/resources.js +4 -0
  488. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +6 -2
  489. package/dist/collection/components/calcite-progress/calcite-progress.js +4 -0
  490. package/dist/collection/components/calcite-radio/calcite-radio.js +8 -4
  491. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
  492. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +115 -116
  493. package/dist/collection/components/calcite-radio-button/resources.js +5 -1
  494. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +4 -0
  495. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
  496. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +70 -30
  497. package/dist/collection/components/calcite-radio-group/interfaces.js +4 -0
  498. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -5
  499. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +6 -2
  500. package/dist/collection/components/calcite-radio-group-item/resources.js +4 -0
  501. package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
  502. package/dist/collection/components/calcite-rating/calcite-rating.js +65 -13
  503. package/dist/collection/components/calcite-rating/resources.js +4 -0
  504. package/dist/collection/components/calcite-scrim/calcite-scrim.js +6 -2
  505. package/dist/collection/components/calcite-scrim/resources.js +4 -0
  506. package/dist/collection/components/calcite-select/calcite-select.css +15 -0
  507. package/dist/collection/components/calcite-select/calcite-select.js +103 -13
  508. package/dist/collection/components/calcite-select/resources.js +4 -0
  509. package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
  510. package/dist/collection/components/calcite-shell/calcite-shell.js +4 -0
  511. package/dist/collection/components/calcite-shell/resources.js +4 -0
  512. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +4 -0
  513. package/dist/collection/components/calcite-shell-center-row/resources.js +4 -0
  514. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +38 -21
  515. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +6 -2
  516. package/dist/collection/components/calcite-shell-panel/resources.js +5 -0
  517. package/dist/collection/components/calcite-slider/calcite-slider.css +18 -4
  518. package/dist/collection/components/calcite-slider/calcite-slider.js +85 -24
  519. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +4 -0
  520. package/dist/collection/components/calcite-sortable-list/resources.js +4 -0
  521. package/dist/collection/components/calcite-split-button/calcite-split-button.js +6 -2
  522. package/dist/collection/components/calcite-split-button/resources.js +4 -0
  523. package/dist/collection/components/calcite-stepper/calcite-stepper.js +8 -4
  524. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +18 -14
  525. package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
  526. package/dist/collection/components/calcite-switch/calcite-switch.js +35 -62
  527. package/dist/collection/components/calcite-tab/calcite-tab.css +5 -0
  528. package/dist/collection/components/calcite-tab/calcite-tab.js +8 -4
  529. package/dist/collection/components/calcite-tab/interfaces.js +4 -0
  530. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +18 -14
  531. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +20 -16
  532. package/dist/collection/components/calcite-tabs/calcite-tabs.js +4 -0
  533. package/dist/collection/components/calcite-tabs/interfaces.js +4 -0
  534. package/dist/collection/components/calcite-tabs/resources.js +4 -0
  535. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  536. package/dist/collection/components/calcite-tile/calcite-tile.js +6 -2
  537. package/dist/collection/components/calcite-tile/resources.js +4 -0
  538. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +24 -11
  539. package/dist/collection/components/calcite-tile-select/interfaces.js +4 -0
  540. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +4 -0
  541. package/dist/collection/components/calcite-tile-select-group/interfaces.js +4 -0
  542. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +34 -30
  543. package/dist/collection/components/calcite-time-picker/resources.js +4 -0
  544. package/dist/collection/components/calcite-tip/calcite-tip.js +4 -0
  545. package/dist/collection/components/calcite-tip/resources.js +4 -0
  546. package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +4 -0
  547. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +4 -0
  548. package/dist/collection/components/calcite-tip-manager/resources.js +4 -0
  549. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +9 -5
  550. package/dist/collection/components/calcite-tooltip/resources.js +4 -0
  551. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +9 -4
  552. package/dist/collection/components/calcite-tree/calcite-tree.js +14 -10
  553. package/dist/collection/components/calcite-tree/interfaces.js +4 -0
  554. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +47 -69
  555. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +39 -28
  556. package/dist/collection/components/calcite-tree-item/interfaces.js +4 -0
  557. package/dist/collection/components/calcite-tree-item/resources.js +4 -0
  558. package/dist/collection/components/calcite-value-list/calcite-value-list.js +4 -0
  559. package/dist/collection/components/calcite-value-list/resources.js +4 -0
  560. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +10 -6
  561. package/dist/collection/components/calcite-value-list-item/resources.js +4 -0
  562. package/dist/collection/components/functional/CalciteExpandToggle.js +4 -0
  563. package/dist/collection/components/functional/CalciteHeading.js +4 -0
  564. package/dist/collection/components/interfaces.js +4 -0
  565. package/dist/collection/utils/array.js +4 -0
  566. package/dist/collection/utils/date.js +4 -0
  567. package/dist/collection/utils/dom.js +4 -0
  568. package/dist/collection/utils/filter.js +4 -0
  569. package/dist/collection/utils/form.js +171 -14
  570. package/dist/collection/utils/guid.js +4 -0
  571. package/dist/collection/utils/key.js +4 -0
  572. package/dist/collection/utils/label.js +41 -8
  573. package/dist/collection/utils/locale.js +4 -0
  574. package/dist/collection/utils/math.js +15 -0
  575. package/dist/collection/utils/number.js +4 -3
  576. package/dist/collection/utils/observers.js +4 -0
  577. package/dist/collection/utils/popper.js +6 -2
  578. package/dist/collection/utils/resources.js +4 -0
  579. package/dist/collection/utils/time.js +4 -0
  580. package/dist/components/CalciteExpandToggle.js +87 -0
  581. package/dist/components/CalciteHeading.js +16 -0
  582. package/dist/components/array.js +9 -0
  583. package/dist/components/calcite-accordion-item.d.ts +11 -0
  584. package/dist/components/calcite-accordion-item.js +159 -0
  585. package/dist/components/calcite-accordion.d.ts +11 -0
  586. package/dist/components/calcite-accordion.js +170 -0
  587. package/dist/components/calcite-action-bar.d.ts +11 -0
  588. package/dist/components/calcite-action-bar.js +269 -0
  589. package/dist/components/calcite-action-group.d.ts +11 -0
  590. package/dist/components/calcite-action-group.js +10 -0
  591. package/dist/components/calcite-action-group2.js +138 -0
  592. package/dist/components/calcite-action-menu.d.ts +11 -0
  593. package/dist/components/calcite-action-menu.js +10 -0
  594. package/dist/components/calcite-action-menu2.js +357 -0
  595. package/dist/components/calcite-action-pad.d.ts +11 -0
  596. package/dist/components/calcite-action-pad.js +201 -0
  597. package/dist/components/calcite-action.d.ts +11 -0
  598. package/dist/components/calcite-action.js +10 -0
  599. package/dist/components/calcite-action2.js +186 -0
  600. package/dist/components/calcite-alert.d.ts +11 -0
  601. package/dist/components/calcite-alert.js +235 -0
  602. package/dist/components/calcite-avatar.d.ts +11 -0
  603. package/dist/components/calcite-avatar.js +174 -0
  604. package/dist/components/calcite-block-section.d.ts +11 -0
  605. package/dist/components/calcite-block-section.js +142 -0
  606. package/dist/components/calcite-block.d.ts +11 -0
  607. package/dist/components/calcite-block.js +217 -0
  608. package/dist/components/calcite-button.d.ts +11 -0
  609. package/dist/components/calcite-button.js +10 -0
  610. package/dist/components/calcite-button2.js +246 -0
  611. package/dist/components/calcite-card.d.ts +11 -0
  612. package/dist/components/calcite-card.js +165 -0
  613. package/dist/components/calcite-checkbox.d.ts +11 -0
  614. package/dist/components/calcite-checkbox.js +10 -0
  615. package/dist/components/calcite-checkbox2.js +156 -0
  616. package/dist/components/calcite-chip.d.ts +11 -0
  617. package/dist/components/calcite-chip.js +10 -0
  618. package/dist/components/calcite-chip2.js +124 -0
  619. package/dist/components/calcite-color-picker-hex-input.d.ts +11 -0
  620. package/dist/components/calcite-color-picker-hex-input.js +10 -0
  621. package/dist/components/calcite-color-picker-hex-input2.js +352 -0
  622. package/dist/components/calcite-color-picker-swatch.d.ts +11 -0
  623. package/dist/components/calcite-color-picker-swatch.js +10 -0
  624. package/dist/components/calcite-color-picker-swatch2.js +2179 -0
  625. package/dist/components/calcite-color-picker.d.ts +11 -0
  626. package/dist/components/calcite-color-picker.js +970 -0
  627. package/dist/components/calcite-combobox-item-group.d.ts +11 -0
  628. package/dist/components/calcite-combobox-item-group.js +71 -0
  629. package/dist/components/calcite-combobox-item.d.ts +11 -0
  630. package/dist/components/calcite-combobox-item.js +171 -0
  631. package/dist/components/calcite-combobox.d.ts +11 -0
  632. package/dist/components/calcite-combobox.js +936 -0
  633. package/dist/components/calcite-date-picker-day.d.ts +11 -0
  634. package/dist/components/calcite-date-picker-day.js +10 -0
  635. package/dist/components/calcite-date-picker-day2.js +102 -0
  636. package/dist/components/calcite-date-picker-month-header.d.ts +11 -0
  637. package/dist/components/calcite-date-picker-month-header.js +10 -0
  638. package/dist/components/calcite-date-picker-month-header2.js +173 -0
  639. package/dist/components/calcite-date-picker-month.d.ts +11 -0
  640. package/dist/components/calcite-date-picker-month.js +10 -0
  641. package/dist/components/calcite-date-picker-month2.js +316 -0
  642. package/dist/components/calcite-date-picker.d.ts +11 -0
  643. package/dist/components/calcite-date-picker.js +10 -0
  644. package/dist/components/calcite-date-picker2.js +507 -0
  645. package/dist/components/calcite-dropdown-group.d.ts +11 -0
  646. package/dist/components/calcite-dropdown-group.js +93 -0
  647. package/dist/components/calcite-dropdown-item.d.ts +11 -0
  648. package/dist/components/calcite-dropdown-item.js +205 -0
  649. package/dist/components/calcite-dropdown.d.ts +11 -0
  650. package/dist/components/calcite-dropdown.js +10 -0
  651. package/dist/components/calcite-dropdown2.js +393 -0
  652. package/dist/components/calcite-fab.d.ts +11 -0
  653. package/dist/components/calcite-fab.js +130 -0
  654. package/dist/components/calcite-filter.d.ts +11 -0
  655. package/dist/components/calcite-filter.js +10 -0
  656. package/dist/components/calcite-filter2.js +199 -0
  657. package/dist/components/calcite-flow.d.ts +11 -0
  658. package/dist/components/calcite-flow.js +141 -0
  659. package/dist/components/calcite-graph.d.ts +11 -0
  660. package/dist/components/calcite-graph.js +10 -0
  661. package/dist/components/calcite-graph2.js +216 -0
  662. package/dist/components/calcite-handle.d.ts +11 -0
  663. package/dist/components/calcite-handle.js +10 -0
  664. package/dist/components/calcite-handle2.js +110 -0
  665. package/dist/components/calcite-icon.d.ts +11 -0
  666. package/dist/components/calcite-icon.js +10 -0
  667. package/dist/components/calcite-icon2.js +188 -0
  668. package/dist/components/calcite-inline-editable.d.ts +11 -0
  669. package/dist/components/calcite-inline-editable.js +255 -0
  670. package/dist/components/calcite-input-date-picker.d.ts +11 -0
  671. package/dist/components/calcite-input-date-picker.js +530 -0
  672. package/dist/components/calcite-input-message.d.ts +11 -0
  673. package/dist/components/calcite-input-message.js +100 -0
  674. package/dist/components/calcite-input-time-picker.d.ts +11 -0
  675. package/dist/components/calcite-input-time-picker.js +291 -0
  676. package/dist/components/calcite-input.d.ts +11 -0
  677. package/dist/components/calcite-input.js +10 -0
  678. package/dist/components/calcite-input2.js +542 -0
  679. package/dist/components/calcite-label.d.ts +11 -0
  680. package/dist/components/calcite-label.js +10 -0
  681. package/dist/components/calcite-label2.js +84 -0
  682. package/dist/components/calcite-link.d.ts +11 -0
  683. package/dist/components/calcite-link.js +10 -0
  684. package/dist/components/calcite-link2.js +100 -0
  685. package/dist/components/calcite-list-item-group.d.ts +11 -0
  686. package/dist/components/calcite-list-item-group.js +60 -0
  687. package/dist/components/calcite-list-item.d.ts +11 -0
  688. package/dist/components/calcite-list-item.js +120 -0
  689. package/dist/components/calcite-list.d.ts +11 -0
  690. package/dist/components/calcite-list.js +62 -0
  691. package/dist/components/calcite-loader.d.ts +11 -0
  692. package/dist/components/calcite-loader.js +10 -0
  693. package/dist/components/calcite-loader2.js +110 -0
  694. package/dist/components/calcite-modal.d.ts +11 -0
  695. package/dist/components/calcite-modal.js +420 -0
  696. package/dist/components/calcite-notice.d.ts +11 -0
  697. package/dist/components/calcite-notice.js +143 -0
  698. package/dist/components/calcite-option-group.d.ts +11 -0
  699. package/dist/components/calcite-option-group.js +64 -0
  700. package/dist/components/calcite-option.d.ts +11 -0
  701. package/dist/components/calcite-option.js +110 -0
  702. package/dist/components/calcite-pagination.d.ts +11 -0
  703. package/dist/components/calcite-pagination.js +210 -0
  704. package/dist/components/calcite-panel.d.ts +11 -0
  705. package/dist/components/calcite-panel.js +313 -0
  706. package/dist/components/calcite-pick-list-group.d.ts +11 -0
  707. package/dist/components/calcite-pick-list-group.js +73 -0
  708. package/dist/components/calcite-pick-list-item.d.ts +11 -0
  709. package/dist/components/calcite-pick-list-item.js +10 -0
  710. package/dist/components/calcite-pick-list-item2.js +233 -0
  711. package/dist/components/calcite-pick-list.d.ts +11 -0
  712. package/dist/components/calcite-pick-list.js +199 -0
  713. package/dist/components/calcite-popover-manager.d.ts +11 -0
  714. package/dist/components/calcite-popover-manager.js +96 -0
  715. package/dist/components/calcite-popover.d.ts +11 -0
  716. package/dist/components/calcite-popover.js +10 -0
  717. package/dist/components/calcite-popover2.js +335 -0
  718. package/dist/components/calcite-progress.d.ts +11 -0
  719. package/dist/components/calcite-progress.js +10 -0
  720. package/dist/components/calcite-progress2.js +55 -0
  721. package/dist/components/calcite-radio-button-group.d.ts +11 -0
  722. package/dist/components/calcite-radio-button-group.js +119 -0
  723. package/dist/components/calcite-radio-button.d.ts +11 -0
  724. package/dist/components/calcite-radio-button.js +297 -0
  725. package/dist/components/calcite-radio-group-item.d.ts +11 -0
  726. package/dist/components/calcite-radio-group-item.js +142 -0
  727. package/dist/components/calcite-radio-group.d.ts +11 -0
  728. package/dist/components/calcite-radio-group.js +234 -0
  729. package/dist/components/calcite-radio.d.ts +11 -0
  730. package/dist/components/calcite-radio.js +10 -0
  731. package/dist/components/calcite-radio2.js +71 -0
  732. package/dist/components/calcite-rating.d.ts +11 -0
  733. package/dist/components/calcite-rating.js +174 -0
  734. package/dist/components/calcite-scrim.d.ts +11 -0
  735. package/dist/components/calcite-scrim.js +10 -0
  736. package/dist/components/calcite-scrim2.js +77 -0
  737. package/dist/components/calcite-select.d.ts +11 -0
  738. package/dist/components/calcite-select.js +253 -0
  739. package/dist/components/calcite-shell-center-row.d.ts +11 -0
  740. package/dist/components/calcite-shell-center-row.js +84 -0
  741. package/dist/components/calcite-shell-panel.d.ts +11 -0
  742. package/dist/components/calcite-shell-panel.js +104 -0
  743. package/dist/components/calcite-shell.d.ts +11 -0
  744. package/dist/components/calcite-shell.js +102 -0
  745. package/dist/components/calcite-slider.d.ts +11 -0
  746. package/dist/components/calcite-slider.js +767 -0
  747. package/dist/components/calcite-sortable-list.d.ts +11 -0
  748. package/dist/components/calcite-sortable-list.js +193 -0
  749. package/dist/components/calcite-split-button.d.ts +11 -0
  750. package/dist/components/calcite-split-button.js +130 -0
  751. package/dist/components/calcite-stepper-item.d.ts +11 -0
  752. package/dist/components/calcite-stepper-item.js +192 -0
  753. package/dist/components/calcite-stepper.d.ts +11 -0
  754. package/dist/components/calcite-stepper.js +250 -0
  755. package/dist/components/calcite-switch.d.ts +11 -0
  756. package/dist/components/calcite-switch.js +10 -0
  757. package/dist/components/calcite-switch2.js +144 -0
  758. package/dist/components/calcite-tab-nav.d.ts +11 -0
  759. package/dist/components/calcite-tab-nav.js +10 -0
  760. package/dist/components/calcite-tab-nav2.js +212 -0
  761. package/dist/components/calcite-tab-title.d.ts +11 -0
  762. package/dist/components/calcite-tab-title.js +10 -0
  763. package/dist/components/calcite-tab-title2.js +233 -0
  764. package/dist/components/calcite-tab.d.ts +11 -0
  765. package/dist/components/calcite-tab.js +10 -0
  766. package/dist/components/calcite-tab2.js +125 -0
  767. package/dist/components/calcite-tabs.d.ts +11 -0
  768. package/dist/components/calcite-tabs.js +10 -0
  769. package/dist/components/calcite-tabs2.js +186 -0
  770. package/dist/components/calcite-tile-select-group.d.ts +11 -0
  771. package/dist/components/calcite-tile-select-group.js +48 -0
  772. package/dist/components/calcite-tile-select.d.ts +11 -0
  773. package/dist/components/calcite-tile-select.js +219 -0
  774. package/dist/components/calcite-tile.d.ts +11 -0
  775. package/dist/components/calcite-tile.js +10 -0
  776. package/dist/components/calcite-tile2.js +101 -0
  777. package/dist/components/calcite-time-picker.d.ts +11 -0
  778. package/dist/components/calcite-time-picker.js +10 -0
  779. package/dist/components/calcite-time-picker2.js +710 -0
  780. package/dist/components/calcite-tip-group.d.ts +11 -0
  781. package/dist/components/calcite-tip-group.js +41 -0
  782. package/dist/components/calcite-tip-manager.d.ts +11 -0
  783. package/dist/components/calcite-tip-manager.js +221 -0
  784. package/dist/components/calcite-tip.d.ts +11 -0
  785. package/dist/components/calcite-tip.js +143 -0
  786. package/dist/components/calcite-tooltip-manager.d.ts +11 -0
  787. package/dist/components/calcite-tooltip-manager.js +10 -0
  788. package/dist/components/calcite-tooltip-manager2.js +171 -0
  789. package/dist/components/calcite-tooltip.d.ts +11 -0
  790. package/dist/components/calcite-tooltip.js +227 -0
  791. package/dist/components/calcite-tree-item.d.ts +11 -0
  792. package/dist/components/calcite-tree-item.js +313 -0
  793. package/dist/components/calcite-tree.d.ts +11 -0
  794. package/dist/components/calcite-tree.js +219 -0
  795. package/dist/components/calcite-value-list-item.d.ts +11 -0
  796. package/dist/components/calcite-value-list-item.js +183 -0
  797. package/dist/components/calcite-value-list.d.ts +11 -0
  798. package/dist/components/calcite-value-list.js +274 -0
  799. package/dist/components/date.js +159 -0
  800. package/dist/components/debounce.js +486 -0
  801. package/dist/components/dom.js +153 -0
  802. package/dist/components/forIn.js +619 -0
  803. package/dist/components/form.js +174 -0
  804. package/dist/components/guid.js +18 -0
  805. package/dist/components/index.d.ts +26 -0
  806. package/dist/components/index.js +5 -0
  807. package/dist/components/interfaces.js +13 -0
  808. package/dist/components/interfaces2.js +14 -0
  809. package/dist/components/key.js +33 -0
  810. package/dist/components/label.js +83 -0
  811. package/dist/components/locale.js +118 -0
  812. package/dist/components/math.js +18 -0
  813. package/dist/components/number.js +40 -0
  814. package/dist/components/observers.js +22 -0
  815. package/dist/components/popper.js +1785 -0
  816. package/dist/components/resources.js +24 -0
  817. package/dist/components/resources2.js +13 -0
  818. package/dist/components/resources3.js +18 -0
  819. package/dist/components/resources4.js +32 -0
  820. package/dist/components/shared-list-render.js +286 -0
  821. package/dist/components/sortable.esm.js +3017 -0
  822. package/dist/components/utils.js +113 -0
  823. package/dist/components/utils2.js +38 -0
  824. package/dist/custom-elements/index.js +1330 -884
  825. package/dist/esm/CalciteExpandToggle-677f2f8b.js +87 -0
  826. package/dist/esm/CalciteHeading-1d6cd311.js +16 -0
  827. package/dist/esm/array-91a648e2.js +9 -0
  828. package/dist/esm/calcite-accordion_2.entry.js +11 -4
  829. package/dist/esm/calcite-action-bar.entry.js +12 -8
  830. package/dist/esm/calcite-action-group.entry.js +9 -5
  831. package/dist/esm/calcite-action-menu.entry.js +14 -8
  832. package/dist/esm/calcite-action-pad.entry.js +10 -6
  833. package/dist/esm/calcite-action.entry.js +11 -11
  834. package/dist/esm/calcite-alert.entry.js +9 -5
  835. package/dist/esm/calcite-avatar.entry.js +8 -4
  836. package/dist/esm/calcite-block_2.entry.js +22 -17
  837. package/dist/esm/calcite-button.entry.js +60 -39
  838. package/dist/esm/calcite-card.entry.js +9 -5
  839. package/dist/esm/calcite-checkbox.entry.js +38 -83
  840. package/dist/esm/calcite-chip.entry.js +7 -3
  841. package/dist/esm/calcite-color-picker_3.entry.js +39 -38
  842. package/dist/esm/calcite-combobox_3.entry.js +87 -24
  843. package/dist/esm/calcite-date-picker_4.entry.js +40 -18
  844. package/dist/esm/calcite-dropdown_3.entry.js +47 -38
  845. package/dist/esm/calcite-fab.entry.js +7 -3
  846. package/dist/esm/calcite-filter.entry.js +52 -19
  847. package/dist/esm/calcite-flow.entry.js +6 -2
  848. package/dist/esm/calcite-graph_2.entry.js +62 -34
  849. package/dist/esm/calcite-handle.entry.js +5 -1
  850. package/dist/esm/calcite-icon.entry.js +8 -4
  851. package/dist/esm/calcite-inline-editable.entry.js +58 -44
  852. package/dist/esm/calcite-input-date-picker.entry.js +87 -30
  853. package/dist/esm/calcite-input-message.entry.js +7 -3
  854. package/dist/esm/calcite-input-time-picker_2.entry.js +31 -18
  855. package/dist/esm/calcite-input.entry.js +121 -80
  856. package/dist/esm/calcite-label.entry.js +7 -3
  857. package/dist/esm/calcite-link.entry.js +13 -3
  858. package/dist/esm/calcite-list_3.entry.js +31 -6
  859. package/dist/esm/calcite-loader.entry.js +7 -3
  860. package/dist/esm/calcite-modal.entry.js +9 -5
  861. package/dist/esm/calcite-notice.entry.js +9 -5
  862. package/dist/esm/calcite-option_3.entry.js +46 -16
  863. package/dist/esm/calcite-pagination.entry.js +7 -3
  864. package/dist/esm/calcite-panel.entry.js +12 -7
  865. package/dist/esm/calcite-pick-list_3.entry.js +12 -8
  866. package/dist/esm/calcite-popover_2.entry.js +11 -7
  867. package/dist/esm/calcite-progress.entry.js +5 -1
  868. package/dist/esm/calcite-radio-button-group.entry.js +5 -1
  869. package/dist/esm/calcite-radio-group_2.entry.js +37 -37
  870. package/dist/esm/calcite-radio_2.entry.js +103 -97
  871. package/dist/esm/calcite-rating.entry.js +27 -14
  872. package/dist/esm/calcite-scrim.entry.js +5 -1
  873. package/dist/esm/calcite-shell_3.entry.js +11 -6
  874. package/dist/esm/calcite-sortable-list.entry.js +7 -3
  875. package/dist/esm/calcite-split-button.entry.js +7 -3
  876. package/dist/esm/calcite-stepper_2.entry.js +8 -4
  877. package/dist/esm/calcite-switch.entry.js +31 -46
  878. package/dist/esm/calcite-tab_4.entry.js +10 -6
  879. package/dist/esm/calcite-tile-select_2.entry.js +9 -7
  880. package/dist/esm/calcite-tile.entry.js +8 -4
  881. package/dist/esm/calcite-tip_3.entry.js +9 -5
  882. package/dist/esm/calcite-tooltip_2.entry.js +13 -8
  883. package/dist/esm/calcite-tree_2.entry.js +24 -13
  884. package/dist/esm/calcite-value-list_2.entry.js +12 -8
  885. package/dist/esm/calcite.js +7 -3
  886. package/dist/esm/debounce-79648d42.js +486 -0
  887. package/dist/esm/dom-f24e866c.js +153 -0
  888. package/dist/esm/forIn-48d8fb84.js +619 -0
  889. package/dist/esm/form-160b0fb5.js +174 -0
  890. package/dist/esm/guid-196bd5ea.js +18 -0
  891. package/dist/esm/index-9de00868.js +1685 -0
  892. package/dist/esm/index.js +4 -1
  893. package/dist/esm/interfaces-51dc4e1b.js +13 -0
  894. package/dist/esm/key-69001a68.js +33 -0
  895. package/dist/esm/label-5559055d.js +83 -0
  896. package/dist/esm/loader.js +7 -3
  897. package/dist/esm/locale-6c1b85c7.js +118 -0
  898. package/dist/esm/math-456207f5.js +18 -0
  899. package/dist/esm/number-e7393766.js +40 -0
  900. package/dist/esm/observers-8f0bc419.js +20 -0
  901. package/dist/esm/popper-dc4b45cf.js +1785 -0
  902. package/dist/esm/resources-16a2a25a.js +325 -0
  903. package/dist/esm/resources-584acd9b.js +17 -0
  904. package/dist/esm/resources-7c6029b6.js +16 -0
  905. package/dist/esm/resources-bece7a88.js +216 -0
  906. package/dist/esm/sortable.esm-04824d33.js +3017 -0
  907. package/dist/esm/utils-6beb0662.js +113 -0
  908. package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +5 -0
  909. package/dist/esm-es5/CalciteHeading-1d6cd311.js +5 -0
  910. package/dist/esm-es5/array-91a648e2.js +5 -0
  911. package/dist/esm-es5/calcite-accordion_2.entry.js +5 -1
  912. package/dist/esm-es5/calcite-action-bar.entry.js +5 -1
  913. package/dist/esm-es5/calcite-action-group.entry.js +5 -1
  914. package/dist/esm-es5/calcite-action-menu.entry.js +5 -1
  915. package/dist/esm-es5/calcite-action-pad.entry.js +5 -1
  916. package/dist/esm-es5/calcite-action.entry.js +5 -1
  917. package/dist/esm-es5/calcite-alert.entry.js +5 -1
  918. package/dist/esm-es5/calcite-avatar.entry.js +5 -1
  919. package/dist/esm-es5/calcite-block_2.entry.js +5 -1
  920. package/dist/esm-es5/calcite-button.entry.js +5 -1
  921. package/dist/esm-es5/calcite-card.entry.js +5 -1
  922. package/dist/esm-es5/calcite-checkbox.entry.js +5 -1
  923. package/dist/esm-es5/calcite-chip.entry.js +5 -1
  924. package/dist/esm-es5/calcite-color-picker_3.entry.js +5 -1
  925. package/dist/esm-es5/calcite-combobox_3.entry.js +5 -1
  926. package/dist/esm-es5/calcite-date-picker_4.entry.js +5 -1
  927. package/dist/esm-es5/calcite-dropdown_3.entry.js +5 -1
  928. package/dist/esm-es5/calcite-fab.entry.js +5 -1
  929. package/dist/esm-es5/calcite-filter.entry.js +5 -1
  930. package/dist/esm-es5/calcite-flow.entry.js +5 -1
  931. package/dist/esm-es5/calcite-graph_2.entry.js +5 -1
  932. package/dist/esm-es5/calcite-handle.entry.js +5 -1
  933. package/dist/esm-es5/calcite-icon.entry.js +5 -1
  934. package/dist/esm-es5/calcite-inline-editable.entry.js +5 -1
  935. package/dist/esm-es5/calcite-input-date-picker.entry.js +5 -1
  936. package/dist/esm-es5/calcite-input-message.entry.js +5 -1
  937. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +5 -1
  938. package/dist/esm-es5/calcite-input.entry.js +5 -1
  939. package/dist/esm-es5/calcite-label.entry.js +5 -1
  940. package/dist/esm-es5/calcite-link.entry.js +5 -1
  941. package/dist/esm-es5/calcite-list_3.entry.js +5 -1
  942. package/dist/esm-es5/calcite-loader.entry.js +5 -1
  943. package/dist/esm-es5/calcite-modal.entry.js +5 -1
  944. package/dist/esm-es5/calcite-notice.entry.js +5 -1
  945. package/dist/esm-es5/calcite-option_3.entry.js +5 -1
  946. package/dist/esm-es5/calcite-pagination.entry.js +5 -1
  947. package/dist/esm-es5/calcite-panel.entry.js +5 -1
  948. package/dist/esm-es5/calcite-pick-list_3.entry.js +5 -1
  949. package/dist/esm-es5/calcite-popover_2.entry.js +5 -1
  950. package/dist/esm-es5/calcite-progress.entry.js +5 -1
  951. package/dist/esm-es5/calcite-radio-button-group.entry.js +5 -1
  952. package/dist/esm-es5/calcite-radio-group_2.entry.js +5 -1
  953. package/dist/esm-es5/calcite-radio_2.entry.js +5 -1
  954. package/dist/esm-es5/calcite-rating.entry.js +5 -1
  955. package/dist/esm-es5/calcite-scrim.entry.js +5 -1
  956. package/dist/esm-es5/calcite-shell_3.entry.js +5 -1
  957. package/dist/esm-es5/calcite-sortable-list.entry.js +5 -1
  958. package/dist/esm-es5/calcite-split-button.entry.js +5 -1
  959. package/dist/esm-es5/calcite-stepper_2.entry.js +5 -1
  960. package/dist/esm-es5/calcite-switch.entry.js +5 -1
  961. package/dist/esm-es5/calcite-tab_4.entry.js +5 -1
  962. package/dist/esm-es5/calcite-tile-select_2.entry.js +5 -1
  963. package/dist/esm-es5/calcite-tile.entry.js +5 -1
  964. package/dist/esm-es5/calcite-tip_3.entry.js +5 -1
  965. package/dist/esm-es5/calcite-tooltip_2.entry.js +5 -1
  966. package/dist/esm-es5/calcite-tree_2.entry.js +5 -1
  967. package/dist/esm-es5/calcite-value-list_2.entry.js +5 -1
  968. package/dist/esm-es5/calcite.js +5 -1
  969. package/dist/esm-es5/debounce-79648d42.js +5 -0
  970. package/dist/esm-es5/dom-f24e866c.js +5 -0
  971. package/dist/esm-es5/forIn-48d8fb84.js +5 -0
  972. package/dist/esm-es5/form-160b0fb5.js +5 -0
  973. package/dist/esm-es5/guid-196bd5ea.js +5 -0
  974. package/dist/esm-es5/index-9de00868.js +5 -0
  975. package/dist/esm-es5/index.js +4 -0
  976. package/dist/esm-es5/interfaces-51dc4e1b.js +5 -0
  977. package/dist/esm-es5/key-69001a68.js +5 -0
  978. package/dist/esm-es5/label-5559055d.js +5 -0
  979. package/dist/esm-es5/loader.js +5 -1
  980. package/dist/esm-es5/locale-6c1b85c7.js +5 -0
  981. package/dist/esm-es5/math-456207f5.js +5 -0
  982. package/dist/esm-es5/number-e7393766.js +5 -0
  983. package/dist/esm-es5/observers-8f0bc419.js +5 -0
  984. package/dist/esm-es5/popper-dc4b45cf.js +5 -0
  985. package/dist/esm-es5/resources-16a2a25a.js +5 -0
  986. package/dist/esm-es5/resources-584acd9b.js +5 -0
  987. package/dist/esm-es5/resources-7c6029b6.js +5 -0
  988. package/dist/esm-es5/resources-bece7a88.js +5 -0
  989. package/dist/esm-es5/sortable.esm-04824d33.js +11 -0
  990. package/dist/esm-es5/utils-6beb0662.js +5 -0
  991. package/dist/extras/docs-json.json +858 -491
  992. package/dist/loader/cdn.js +4 -1
  993. package/dist/loader/index.cjs.js +4 -1
  994. package/dist/loader/index.es2017.js +4 -1
  995. package/dist/loader/index.js +4 -1
  996. package/dist/types/components/calcite-action/calcite-action.d.ts +2 -2
  997. package/dist/types/components/calcite-block/resources.d.ts +2 -0
  998. package/dist/types/components/calcite-button/calcite-button.d.ts +10 -3
  999. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +21 -22
  1000. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -2
  1001. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +20 -2
  1002. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
  1003. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +6 -4
  1004. package/dist/types/components/calcite-filter/calcite-filter.d.ts +24 -1
  1005. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  1006. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
  1007. package/dist/types/components/calcite-input/calcite-input.d.ts +23 -12
  1008. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  1009. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +38 -9
  1010. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +14 -5
  1011. package/dist/types/components/calcite-link/calcite-link.d.ts +2 -1
  1012. package/dist/types/components/calcite-list/calcite-list.d.ts +3 -0
  1013. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +3 -0
  1014. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  1015. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  1016. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +15 -16
  1017. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +14 -5
  1018. package/dist/types/components/calcite-rating/calcite-rating.d.ts +13 -2
  1019. package/dist/types/components/calcite-select/calcite-select.d.ts +20 -2
  1020. package/dist/types/components/calcite-shell-panel/resources.d.ts +1 -0
  1021. package/dist/types/components/calcite-slider/calcite-slider.d.ts +18 -4
  1022. package/dist/types/components/calcite-switch/calcite-switch.d.ts +11 -10
  1023. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +3 -3
  1024. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  1025. package/dist/types/components.d.ts +223 -30
  1026. package/dist/types/utils/form.d.ts +112 -1
  1027. package/dist/types/utils/label.d.ts +5 -0
  1028. package/dist/types/utils/math.d.ts +1 -0
  1029. package/dist/types/utils/number.d.ts +0 -1
  1030. package/dist/types/utils/popper.d.ts +1 -1
  1031. package/hydrate/index.js +1188 -719
  1032. package/package.json +43 -46
  1033. package/readme.md +5 -5
  1034. package/dist/calcite/p-00f2f64d.system.entry.js +0 -1
  1035. package/dist/calcite/p-010e5fb9.entry.js +0 -1
  1036. package/dist/calcite/p-03b25bb5.entry.js +0 -1
  1037. package/dist/calcite/p-058f3354.system.entry.js +0 -1
  1038. package/dist/calcite/p-0671d67f.entry.js +0 -1
  1039. package/dist/calcite/p-0a465f92.entry.js +0 -1
  1040. package/dist/calcite/p-0aa3fc7e.entry.js +0 -1
  1041. package/dist/calcite/p-0ae16e31.js +0 -1
  1042. package/dist/calcite/p-0b539bae.system.entry.js +0 -1
  1043. package/dist/calcite/p-0c356cca.entry.js +0 -1
  1044. package/dist/calcite/p-1114dae7.entry.js +0 -1
  1045. package/dist/calcite/p-14893331.system.entry.js +0 -1
  1046. package/dist/calcite/p-170fb8e8.system.entry.js +0 -1
  1047. package/dist/calcite/p-18a62b5e.js +0 -1
  1048. package/dist/calcite/p-19a2021f.entry.js +0 -1
  1049. package/dist/calcite/p-19ac376f.js +0 -1
  1050. package/dist/calcite/p-19d3b749.system.entry.js +0 -1
  1051. package/dist/calcite/p-1a53829b.system.entry.js +0 -1
  1052. package/dist/calcite/p-1c3c9e42.entry.js +0 -1
  1053. package/dist/calcite/p-1df0fd29.system.entry.js +0 -1
  1054. package/dist/calcite/p-203e04e5.entry.js +0 -1
  1055. package/dist/calcite/p-23b87c6a.system.entry.js +0 -1
  1056. package/dist/calcite/p-23edddc9.entry.js +0 -1
  1057. package/dist/calcite/p-2a9b4a25.system.js +0 -1
  1058. package/dist/calcite/p-2c235db8.system.js +0 -1
  1059. package/dist/calcite/p-2e9e2b7c.entry.js +0 -1
  1060. package/dist/calcite/p-30f1442b.js +0 -1
  1061. package/dist/calcite/p-32a0f498.entry.js +0 -1
  1062. package/dist/calcite/p-340e1f88.entry.js +0 -1
  1063. package/dist/calcite/p-3426e87b.system.js +0 -1
  1064. package/dist/calcite/p-354fbadd.js +0 -1
  1065. package/dist/calcite/p-38b3ff5f.system.entry.js +0 -1
  1066. package/dist/calcite/p-39b743d9.system.entry.js +0 -1
  1067. package/dist/calcite/p-3b55b390.entry.js +0 -1
  1068. package/dist/calcite/p-3cdef0cd.entry.js +0 -1
  1069. package/dist/calcite/p-43a9faca.js +0 -1
  1070. package/dist/calcite/p-44810e63.entry.js +0 -1
  1071. package/dist/calcite/p-482ec054.system.js +0 -1
  1072. package/dist/calcite/p-4936ee1a.entry.js +0 -1
  1073. package/dist/calcite/p-4a69f94f.entry.js +0 -1
  1074. package/dist/calcite/p-4bb3e49c.entry.js +0 -1
  1075. package/dist/calcite/p-4dc4c758.entry.js +0 -1
  1076. package/dist/calcite/p-4e3dcb60.entry.js +0 -1
  1077. package/dist/calcite/p-4f24139e.system.entry.js +0 -1
  1078. package/dist/calcite/p-4fce2a7a.system.js +0 -1
  1079. package/dist/calcite/p-4fda49e6.js +0 -1
  1080. package/dist/calcite/p-50ea2036.system.js +0 -1
  1081. package/dist/calcite/p-53caa311.system.js +0 -1
  1082. package/dist/calcite/p-55379ee6.system.entry.js +0 -1
  1083. package/dist/calcite/p-559ffa87.js +0 -1
  1084. package/dist/calcite/p-55f7adaa.system.entry.js +0 -1
  1085. package/dist/calcite/p-58421494.js +0 -1
  1086. package/dist/calcite/p-59f7b582.system.entry.js +0 -1
  1087. package/dist/calcite/p-5a1b0338.system.js +0 -1
  1088. package/dist/calcite/p-5eab55c1.entry.js +0 -1
  1089. package/dist/calcite/p-5f50d376.system.entry.js +0 -1
  1090. package/dist/calcite/p-62977e6b.system.entry.js +0 -1
  1091. package/dist/calcite/p-6350bcd3.system.js +0 -1
  1092. package/dist/calcite/p-65f4f1e9.entry.js +0 -1
  1093. package/dist/calcite/p-674bc090.system.js +0 -1
  1094. package/dist/calcite/p-675364da.system.entry.js +0 -1
  1095. package/dist/calcite/p-69837b80.entry.js +0 -1
  1096. package/dist/calcite/p-69e382de.entry.js +0 -1
  1097. package/dist/calcite/p-6a7d2f7c.entry.js +0 -1
  1098. package/dist/calcite/p-6cb2f24f.entry.js +0 -1
  1099. package/dist/calcite/p-6d98d9dc.system.entry.js +0 -1
  1100. package/dist/calcite/p-6edac967.system.entry.js +0 -1
  1101. package/dist/calcite/p-7521b7ab.system.entry.js +0 -1
  1102. package/dist/calcite/p-771da7ed.system.entry.js +0 -1
  1103. package/dist/calcite/p-79e0b61b.system.entry.js +0 -1
  1104. package/dist/calcite/p-7a241325.system.entry.js +0 -1
  1105. package/dist/calcite/p-7b71e1d4.js +0 -1
  1106. package/dist/calcite/p-7b856f76.system.entry.js +0 -1
  1107. package/dist/calcite/p-7c5c2b30.js +0 -1
  1108. package/dist/calcite/p-7e4036a3.system.entry.js +0 -1
  1109. package/dist/calcite/p-7e4be59e.system.entry.js +0 -1
  1110. package/dist/calcite/p-81371076.entry.js +0 -1
  1111. package/dist/calcite/p-8242ef10.entry.js +0 -1
  1112. package/dist/calcite/p-82a11724.system.js +0 -7
  1113. package/dist/calcite/p-835b14f7.system.entry.js +0 -1
  1114. package/dist/calcite/p-875b172e.entry.js +0 -1
  1115. package/dist/calcite/p-8958d1f6.system.js +0 -1
  1116. package/dist/calcite/p-8975e7c8.entry.js +0 -1
  1117. package/dist/calcite/p-8a16620b.system.js +0 -1
  1118. package/dist/calcite/p-8a30b93d.system.js +0 -1
  1119. package/dist/calcite/p-8cfab352.entry.js +0 -1
  1120. package/dist/calcite/p-8d5f5ebf.js +0 -1
  1121. package/dist/calcite/p-8d9bf455.entry.js +0 -1
  1122. package/dist/calcite/p-8dc31333.js +0 -1
  1123. package/dist/calcite/p-8e46c987.entry.js +0 -1
  1124. package/dist/calcite/p-8ef1afae.system.entry.js +0 -1
  1125. package/dist/calcite/p-8fb7b17f.system.entry.js +0 -1
  1126. package/dist/calcite/p-90b88d97.system.entry.js +0 -1
  1127. package/dist/calcite/p-90ee6b48.entry.js +0 -1
  1128. package/dist/calcite/p-93a7d961.system.entry.js +0 -1
  1129. package/dist/calcite/p-950bdd5b.system.entry.js +0 -1
  1130. package/dist/calcite/p-95dfb659.system.js +0 -1
  1131. package/dist/calcite/p-97b06cc3.entry.js +0 -1
  1132. package/dist/calcite/p-987310d2.system.js +0 -1
  1133. package/dist/calcite/p-9c371694.system.entry.js +0 -1
  1134. package/dist/calcite/p-a096738b.system.entry.js +0 -1
  1135. package/dist/calcite/p-a09cd797.entry.js +0 -1
  1136. package/dist/calcite/p-a0d4c79d.entry.js +0 -1
  1137. package/dist/calcite/p-a4e6e35b.js +0 -1
  1138. package/dist/calcite/p-a54a11ee.system.entry.js +0 -1
  1139. package/dist/calcite/p-a57a7f49.js +0 -7
  1140. package/dist/calcite/p-a6b26bd1.system.js +0 -1
  1141. package/dist/calcite/p-a75f07ae.entry.js +0 -1
  1142. package/dist/calcite/p-a83557c6.entry.js +0 -1
  1143. package/dist/calcite/p-a8650c17.system.js +0 -1
  1144. package/dist/calcite/p-ac44517b.system.entry.js +0 -1
  1145. package/dist/calcite/p-ad290529.system.entry.js +0 -1
  1146. package/dist/calcite/p-b10d0018.system.entry.js +0 -1
  1147. package/dist/calcite/p-b2425e21.js +0 -1
  1148. package/dist/calcite/p-b286e0a5.system.entry.js +0 -1
  1149. package/dist/calcite/p-b2a6687b.system.js +0 -1
  1150. package/dist/calcite/p-b2a79aa2.system.entry.js +0 -1
  1151. package/dist/calcite/p-b4cc79dc.system.js +0 -1
  1152. package/dist/calcite/p-bd291e00.entry.js +0 -1
  1153. package/dist/calcite/p-be531ce4.system.entry.js +0 -1
  1154. package/dist/calcite/p-be6b31d0.entry.js +0 -1
  1155. package/dist/calcite/p-bfca7d51.entry.js +0 -1
  1156. package/dist/calcite/p-c0ee1569.system.entry.js +0 -1
  1157. package/dist/calcite/p-c15a632e.system.entry.js +0 -1
  1158. package/dist/calcite/p-c23bfaf9.system.entry.js +0 -1
  1159. package/dist/calcite/p-c2cd9c1d.system.entry.js +0 -1
  1160. package/dist/calcite/p-c4953aa6.system.entry.js +0 -1
  1161. package/dist/calcite/p-c5257119.entry.js +0 -1
  1162. package/dist/calcite/p-c59d3bb3.system.entry.js +0 -1
  1163. package/dist/calcite/p-c95a18d4.entry.js +0 -1
  1164. package/dist/calcite/p-caf80cd7.js +0 -1
  1165. package/dist/calcite/p-cd8d0dda.entry.js +0 -1
  1166. package/dist/calcite/p-cebd4de5.js +0 -1
  1167. package/dist/calcite/p-cfdbd2e1.entry.js +0 -1
  1168. package/dist/calcite/p-d2907af5.entry.js +0 -1
  1169. package/dist/calcite/p-d2b9513d.entry.js +0 -1
  1170. package/dist/calcite/p-d53c2d2e.system.js +0 -1
  1171. package/dist/calcite/p-d5e63242.entry.js +0 -1
  1172. package/dist/calcite/p-d74caa31.system.entry.js +0 -1
  1173. package/dist/calcite/p-d78a24bb.entry.js +0 -1
  1174. package/dist/calcite/p-d7e0ef91.system.entry.js +0 -1
  1175. package/dist/calcite/p-d858b7ab.js +0 -1
  1176. package/dist/calcite/p-d8a015cb.system.entry.js +0 -1
  1177. package/dist/calcite/p-dc825c55.js +0 -1
  1178. package/dist/calcite/p-dcfa0bba.js +0 -1
  1179. package/dist/calcite/p-dd3f7c73.system.entry.js +0 -1
  1180. package/dist/calcite/p-dda58d1e.system.js +0 -1
  1181. package/dist/calcite/p-ddf50685.system.entry.js +0 -1
  1182. package/dist/calcite/p-de00c01f.entry.js +0 -1
  1183. package/dist/calcite/p-de9b7982.system.entry.js +0 -1
  1184. package/dist/calcite/p-defdc464.system.js +0 -1
  1185. package/dist/calcite/p-e87acd87.system.js +0 -1
  1186. package/dist/calcite/p-ea51eaaa.js +0 -1
  1187. package/dist/calcite/p-ebb0ef70.entry.js +0 -1
  1188. package/dist/calcite/p-ec397dae.entry.js +0 -1
  1189. package/dist/calcite/p-ef0ea98b.system.entry.js +0 -1
  1190. package/dist/calcite/p-ef38dee8.js +0 -1
  1191. package/dist/calcite/p-efe6556c.system.entry.js +0 -1
  1192. package/dist/calcite/p-f02d04ab.system.js +0 -1
  1193. package/dist/calcite/p-f1eddb0f.system.entry.js +0 -1
  1194. package/dist/calcite/p-f95c5864.entry.js +0 -1
  1195. package/dist/calcite/p-fc725435.entry.js +0 -1
  1196. package/dist/cjs/CalciteExpandToggle-b5735fd2.js +0 -90
  1197. package/dist/cjs/CalciteHeading-177f59f2.js +0 -15
  1198. package/dist/cjs/array-4fc5abfa.js +0 -7
  1199. package/dist/cjs/debounce-11980960.js +0 -491
  1200. package/dist/cjs/dom-c9cafa59.js +0 -166
  1201. package/dist/cjs/forIn-46535ded.js +0 -618
  1202. package/dist/cjs/form-432ae178.js +0 -18
  1203. package/dist/cjs/guid-4637ad8f.js +0 -16
  1204. package/dist/cjs/index-105d9087.js +0 -2062
  1205. package/dist/cjs/interfaces-bc0f5779.js +0 -9
  1206. package/dist/cjs/key-f470de4c.js +0 -33
  1207. package/dist/cjs/label-80f9023b.js +0 -54
  1208. package/dist/cjs/locale-eb4486ae.js +0 -119
  1209. package/dist/cjs/math-750406eb.js +0 -5
  1210. package/dist/cjs/number-77308374.js +0 -45
  1211. package/dist/cjs/observers-88b3a2d4.js +0 -18
  1212. package/dist/cjs/popper-a103e375.js +0 -1786
  1213. package/dist/cjs/resources-41daa7d4.js +0 -228
  1214. package/dist/cjs/resources-76637167.js +0 -17
  1215. package/dist/cjs/resources-ae299e51.js +0 -16
  1216. package/dist/cjs/resources-bbca3cea.js +0 -342
  1217. package/dist/cjs/sortable.esm-bcce1d94.js +0 -3015
  1218. package/dist/cjs/utils-d549a0a9.js +0 -119
  1219. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  1220. package/dist/custom-elements/bundles/accordion.d.ts +0 -1
  1221. package/dist/custom-elements/bundles/accordion.js +0 -5
  1222. package/dist/custom-elements/bundles/action-bar.d.ts +0 -1
  1223. package/dist/custom-elements/bundles/action-bar.js +0 -5
  1224. package/dist/custom-elements/bundles/action-menu.d.ts +0 -1
  1225. package/dist/custom-elements/bundles/action-menu.js +0 -5
  1226. package/dist/custom-elements/bundles/action-pad.d.ts +0 -1
  1227. package/dist/custom-elements/bundles/action-pad.js +0 -5
  1228. package/dist/custom-elements/bundles/action.d.ts +0 -1
  1229. package/dist/custom-elements/bundles/action.js +0 -5
  1230. package/dist/custom-elements/bundles/alert.d.ts +0 -1
  1231. package/dist/custom-elements/bundles/alert.js +0 -5
  1232. package/dist/custom-elements/bundles/avatar.d.ts +0 -1
  1233. package/dist/custom-elements/bundles/avatar.js +0 -5
  1234. package/dist/custom-elements/bundles/block.d.ts +0 -1
  1235. package/dist/custom-elements/bundles/block.js +0 -5
  1236. package/dist/custom-elements/bundles/button.d.ts +0 -1
  1237. package/dist/custom-elements/bundles/button.js +0 -5
  1238. package/dist/custom-elements/bundles/card.d.ts +0 -1
  1239. package/dist/custom-elements/bundles/card.js +0 -5
  1240. package/dist/custom-elements/bundles/checkbox.d.ts +0 -1
  1241. package/dist/custom-elements/bundles/checkbox.js +0 -5
  1242. package/dist/custom-elements/bundles/chip.d.ts +0 -1
  1243. package/dist/custom-elements/bundles/chip.js +0 -5
  1244. package/dist/custom-elements/bundles/color-picker.d.ts +0 -1
  1245. package/dist/custom-elements/bundles/color-picker.js +0 -5
  1246. package/dist/custom-elements/bundles/combobox.d.ts +0 -1
  1247. package/dist/custom-elements/bundles/combobox.js +0 -5
  1248. package/dist/custom-elements/bundles/date-picker.d.ts +0 -1
  1249. package/dist/custom-elements/bundles/date-picker.js +0 -5
  1250. package/dist/custom-elements/bundles/dropdown.d.ts +0 -1
  1251. package/dist/custom-elements/bundles/dropdown.js +0 -5
  1252. package/dist/custom-elements/bundles/fab.d.ts +0 -1
  1253. package/dist/custom-elements/bundles/fab.js +0 -5
  1254. package/dist/custom-elements/bundles/flow.d.ts +0 -1
  1255. package/dist/custom-elements/bundles/flow.js +0 -5
  1256. package/dist/custom-elements/bundles/icon.d.ts +0 -1
  1257. package/dist/custom-elements/bundles/icon.js +0 -5
  1258. package/dist/custom-elements/bundles/inline-editable.d.ts +0 -1
  1259. package/dist/custom-elements/bundles/inline-editable.js +0 -5
  1260. package/dist/custom-elements/bundles/input-date-picker.d.ts +0 -1
  1261. package/dist/custom-elements/bundles/input-date-picker.js +0 -5
  1262. package/dist/custom-elements/bundles/input-message.d.ts +0 -1
  1263. package/dist/custom-elements/bundles/input-message.js +0 -5
  1264. package/dist/custom-elements/bundles/input-time-picker.d.ts +0 -1
  1265. package/dist/custom-elements/bundles/input-time-picker.js +0 -5
  1266. package/dist/custom-elements/bundles/input.d.ts +0 -1
  1267. package/dist/custom-elements/bundles/input.js +0 -5
  1268. package/dist/custom-elements/bundles/label.d.ts +0 -1
  1269. package/dist/custom-elements/bundles/label.js +0 -5
  1270. package/dist/custom-elements/bundles/link.d.ts +0 -1
  1271. package/dist/custom-elements/bundles/link.js +0 -5
  1272. package/dist/custom-elements/bundles/list.d.ts +0 -1
  1273. package/dist/custom-elements/bundles/list.js +0 -5
  1274. package/dist/custom-elements/bundles/loader.d.ts +0 -1
  1275. package/dist/custom-elements/bundles/loader.js +0 -5
  1276. package/dist/custom-elements/bundles/modal.d.ts +0 -1
  1277. package/dist/custom-elements/bundles/modal.js +0 -5
  1278. package/dist/custom-elements/bundles/notice.d.ts +0 -1
  1279. package/dist/custom-elements/bundles/notice.js +0 -5
  1280. package/dist/custom-elements/bundles/pagination.d.ts +0 -1
  1281. package/dist/custom-elements/bundles/pagination.js +0 -5
  1282. package/dist/custom-elements/bundles/panel.d.ts +0 -1
  1283. package/dist/custom-elements/bundles/panel.js +0 -5
  1284. package/dist/custom-elements/bundles/pick-list.d.ts +0 -1
  1285. package/dist/custom-elements/bundles/pick-list.js +0 -5
  1286. package/dist/custom-elements/bundles/popover.d.ts +0 -1
  1287. package/dist/custom-elements/bundles/popover.js +0 -5
  1288. package/dist/custom-elements/bundles/progress.d.ts +0 -1
  1289. package/dist/custom-elements/bundles/progress.js +0 -5
  1290. package/dist/custom-elements/bundles/radio-button-group.d.ts +0 -1
  1291. package/dist/custom-elements/bundles/radio-button-group.js +0 -5
  1292. package/dist/custom-elements/bundles/radio-button.d.ts +0 -1
  1293. package/dist/custom-elements/bundles/radio-button.js +0 -5
  1294. package/dist/custom-elements/bundles/radio-group.d.ts +0 -1
  1295. package/dist/custom-elements/bundles/radio-group.js +0 -5
  1296. package/dist/custom-elements/bundles/rating.d.ts +0 -1
  1297. package/dist/custom-elements/bundles/rating.js +0 -5
  1298. package/dist/custom-elements/bundles/scrim.d.ts +0 -1
  1299. package/dist/custom-elements/bundles/scrim.js +0 -5
  1300. package/dist/custom-elements/bundles/select.d.ts +0 -1
  1301. package/dist/custom-elements/bundles/select.js +0 -5
  1302. package/dist/custom-elements/bundles/shell.d.ts +0 -1
  1303. package/dist/custom-elements/bundles/shell.js +0 -5
  1304. package/dist/custom-elements/bundles/slider.d.ts +0 -1
  1305. package/dist/custom-elements/bundles/slider.js +0 -5
  1306. package/dist/custom-elements/bundles/sortable-list.d.ts +0 -1
  1307. package/dist/custom-elements/bundles/sortable-list.js +0 -5
  1308. package/dist/custom-elements/bundles/split-button.d.ts +0 -1
  1309. package/dist/custom-elements/bundles/split-button.js +0 -5
  1310. package/dist/custom-elements/bundles/stepper.d.ts +0 -1
  1311. package/dist/custom-elements/bundles/stepper.js +0 -5
  1312. package/dist/custom-elements/bundles/switch.d.ts +0 -1
  1313. package/dist/custom-elements/bundles/switch.js +0 -5
  1314. package/dist/custom-elements/bundles/tab.d.ts +0 -1
  1315. package/dist/custom-elements/bundles/tab.js +0 -5
  1316. package/dist/custom-elements/bundles/tile-select-group.d.ts +0 -1
  1317. package/dist/custom-elements/bundles/tile-select-group.js +0 -5
  1318. package/dist/custom-elements/bundles/tile.d.ts +0 -1
  1319. package/dist/custom-elements/bundles/tile.js +0 -5
  1320. package/dist/custom-elements/bundles/tip.d.ts +0 -1
  1321. package/dist/custom-elements/bundles/tip.js +0 -5
  1322. package/dist/custom-elements/bundles/tooltip.d.ts +0 -1
  1323. package/dist/custom-elements/bundles/tooltip.js +0 -5
  1324. package/dist/custom-elements/bundles/tree.d.ts +0 -1
  1325. package/dist/custom-elements/bundles/tree.js +0 -5
  1326. package/dist/custom-elements/bundles/value-list.d.ts +0 -1
  1327. package/dist/custom-elements/bundles/value-list.js +0 -5
  1328. package/dist/custom-elements/index.mjs +0 -24489
  1329. package/dist/custom-elements/utils.d.ts +0 -2
  1330. package/dist/custom-elements/utils.js +0 -11
  1331. package/dist/esm/CalciteExpandToggle-a149fed4.js +0 -83
  1332. package/dist/esm/CalciteHeading-29855e9f.js +0 -12
  1333. package/dist/esm/array-af19adb2.js +0 -5
  1334. package/dist/esm/debounce-047e09f4.js +0 -482
  1335. package/dist/esm/dom-b369a031.js +0 -149
  1336. package/dist/esm/forIn-d55260fc.js +0 -615
  1337. package/dist/esm/form-8aa0d95b.js +0 -16
  1338. package/dist/esm/guid-09142681.js +0 -14
  1339. package/dist/esm/index-f8f0bea7.js +0 -2029
  1340. package/dist/esm/interfaces-355fccb6.js +0 -9
  1341. package/dist/esm/key-ec82f942.js +0 -29
  1342. package/dist/esm/label-7b249c54.js +0 -50
  1343. package/dist/esm/locale-8436bbe1.js +0 -114
  1344. package/dist/esm/math-c8e7aa13.js +0 -3
  1345. package/dist/esm/number-358ca1d4.js +0 -39
  1346. package/dist/esm/observers-c93d4fe5.js +0 -16
  1347. package/dist/esm/popper-2757192a.js +0 -1781
  1348. package/dist/esm/resources-28d71943.js +0 -212
  1349. package/dist/esm/resources-82817f70.js +0 -13
  1350. package/dist/esm/resources-c651d73a.js +0 -321
  1351. package/dist/esm/resources-c72ebfea.js +0 -12
  1352. package/dist/esm/sortable.esm-2f5354d3.js +0 -3013
  1353. package/dist/esm/utils-60acc1d6.js +0 -109
  1354. package/dist/esm-es5/CalciteExpandToggle-a149fed4.js +0 -1
  1355. package/dist/esm-es5/CalciteHeading-29855e9f.js +0 -1
  1356. package/dist/esm-es5/array-af19adb2.js +0 -1
  1357. package/dist/esm-es5/debounce-047e09f4.js +0 -1
  1358. package/dist/esm-es5/dom-b369a031.js +0 -1
  1359. package/dist/esm-es5/forIn-d55260fc.js +0 -1
  1360. package/dist/esm-es5/form-8aa0d95b.js +0 -1
  1361. package/dist/esm-es5/guid-09142681.js +0 -1
  1362. package/dist/esm-es5/index-f8f0bea7.js +0 -1
  1363. package/dist/esm-es5/interfaces-355fccb6.js +0 -1
  1364. package/dist/esm-es5/key-ec82f942.js +0 -1
  1365. package/dist/esm-es5/label-7b249c54.js +0 -1
  1366. package/dist/esm-es5/locale-8436bbe1.js +0 -1
  1367. package/dist/esm-es5/math-c8e7aa13.js +0 -1
  1368. package/dist/esm-es5/number-358ca1d4.js +0 -1
  1369. package/dist/esm-es5/observers-c93d4fe5.js +0 -1
  1370. package/dist/esm-es5/popper-2757192a.js +0 -1
  1371. package/dist/esm-es5/resources-28d71943.js +0 -1
  1372. package/dist/esm-es5/resources-82817f70.js +0 -1
  1373. package/dist/esm-es5/resources-c651d73a.js +0 -1
  1374. package/dist/esm-es5/resources-c72ebfea.js +0 -1
  1375. package/dist/esm-es5/sortable.esm-2f5354d3.js +0 -7
  1376. package/dist/esm-es5/utils-60acc1d6.js +0 -1
@@ -0,0 +1,5 @@
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,i){function l(e){try{o(r.next(e))}catch(e){i(e)}}function $(e){try{o(r["throw"](e))}catch(e){i(e)}}function o(e){e.done?n(e.value):a(e.value).then(l,$)}o((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,l;return l={next:$(0),throw:$(1),return:$(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function $(e){return function(t){return o([e,t])}}function o(l){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;a=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1];i=l;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(l);break}if(i[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];a=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[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
+ */System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r=e("N","calcite");var a;var i;var l=false;var $=false;var o=typeof window!=="undefined"?window:{};var s=e("d",o.document||{head:{}});var f={$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 u=true;var c=e("p",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],i=n[2];var l=p(e,r);var $=h(t,i);var o=m(r);f.ael(l,a,$,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return f.rel(l,a,$,o)}))}))}};var h=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){Ue(e)}}};var p=function(e,t){if(t&4)return s;if(t&8)return o;if(t&16)return s.body;return e};var m=function(e){return(e&2)!==0};var g="r";var y="o";var b="s";var w="t";var x="s-id";var R="sty-id";var N="c-id";var S="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var _="http://www.w3.org/1999/xlink";var k=function(e,t){if(t===void 0){t=""}{return function(){return}}};var L=function(e,t){{return function(){return}}};var C=new WeakMap;var A=function(e,t,n){var r=Be.get(e);if(v&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}Be.set(e,r)};var E=function(e,t,n,r){var a=j(t);var i=Be.get(a);e=e.nodeType===11?e:s;if(i){if(typeof i==="string"){e=e.head||e;var l=C.get(e);var $=void 0;if(!l){C.set(e,l=new Set)}if(!l.has(a)){if(e.host&&($=e.querySelector("["+R+'="'+a+'"]'))){$.innerHTML=i}else{{$=s.createElement("style");$.innerHTML=i}e.insertBefore($,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var I=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=k("attachStyles",t.$tagName$);var i=E(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var j=function(e,t){return"sc-"+e.$tagName$};var T=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var P={};var M="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var U=function(e){return e!=null};var z=function(e){e=typeof e;return e==="object"||e==="function"};var q=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=null;var l=false;var $=false;var o=[];var s=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!z(a)){a=String(a)}if(l&&$){o[o.length-1].$text$+=a}else{o.push(l?B(null,a):a)}$=l}}};s(n);if(t){if(t.key){i=t.key}{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,o,W)}var u=B(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}{u.$key$=i}return u}));var B=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}return n};var V=e("H",{});var H=function(e){return e&&e.$tag$===V};var W={forEach:function(e,t){return e.map(D).forEach(t)},map:function(e,t){return e.map(D).map(t).map(F)}};var D=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var F=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 q.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var n=B(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var G=function(e,t,n,r,a,i){if(n!==r){var l=Oe(e,t);var $=t.toLowerCase();if(t==="class"){var s=e.classList;var u=K(n);var c=K(r);s.remove.apply(s,u.filter((function(e){return e&&!c.includes(e)})));s.add.apply(s,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var v in n){if(!r||r[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in r){if(!n||r[v]!==n[v]){if(v.includes("-")){e.style.setProperty(v,r[v])}else{e.style[v]=r[v]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Oe(o,$)){t=$.slice(2)}else{t=$[2]+t.slice(3)}if(n){f.rel(e,t,n,false)}if(r){f.ael(e,t,r,false)}}else{var d=z(r);if((l||d&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var h=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=h){e[t]=h}}else{e[t]=r}}catch(e){}}var p=false;{if($!==($=$.replace(/^xlink\:?/,""))){t=$;p=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(_,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){r=r===true?"":r;if(p){e.setAttributeNS(_,t,r)}else{e.setAttribute(t,r)}}}}};var J=/\s/;var K=function(e){return!e?[]:e.split(J)};var Q=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||P;var l=t.$attrs$||P;{for(r in i){if(!(r in l)){G(a,r,i[r],undefined,n,t.$flags$)}}}for(r in l){G(a,r,i[r],l[r],n,t.$flags$)}};var X=function(e,t,n,r){var i=t.$children$[n];var $=0;var o;var f;if(i.$text$!==null){o=i.$elm$=s.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=s.createElementNS(l?M:O,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{Q(null,i,l)}if(U(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for($=0;$<i.$children$.length;++$){f=X(e,i,$);if(f){o.appendChild(f)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var Y=function(e,t,n,r,a,l){var $=e;var o;if($.shadowRoot&&$.tagName===i){$=$.shadowRoot}for(;a<=l;++a){if(r[a]){o=X(null,n,a);if(o){r[a].$elm$=o;$.insertBefore(o,t)}}}};var Z=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;re(r);a.remove()}}};var ee=function(e,t,n,r){var a=0;var i=0;var l=0;var $=0;var o=t.length-1;var s=t[0];var f=t[o];var u=r.length-1;var c=r[0];var v=r[u];var d;var h;while(a<=o&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--o]}else if(c==null){c=r[++i]}else if(v==null){v=r[--u]}else if(te(s,c)){ne(s,c);s=t[++a];c=r[++i]}else if(te(f,v)){ne(f,v);f=t[--o];v=r[--u]}else if(te(s,v)){ne(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=r[--u]}else if(te(f,c)){ne(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--o];c=r[++i]}else{l=-1;{for($=a;$<=o;++$){if(t[$]&&t[$].$key$!==null&&t[$].$key$===c.$key$){l=$;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=X(t&&t[i],n,l)}else{ne(h,c);t[l]=undefined;d=h.$elm$}c=r[++i]}else{d=X(t&&t[i],n,i);c=r[++i]}if(d){{s.$elm$.parentNode.insertBefore(d,s.$elm$)}}}}if(a>o){Y(e,r[u+1]==null?null:r[u+1].$elm$,n,r,i,u)}else if(i>u){Z(t,a,o)}};var te=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var ne=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var i=t.$tag$;var $=t.$text$;if($===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{Q(e,t,l)}}if(r!==null&&a!==null){ee(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}Y(n,null,t,a,0,a.length-1)}else if(r!==null){Z(r,0,r.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==$){n.data=$}};var re=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(re)}};var ae=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var l=e.$vnode$||B(null,null);var $=H(t)?t:q(null,null,t);i=n.tagName;if(r.$attrsToReflect$){$.$attrs$=$.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return $.$attrs$[r]=n[t]}))}$.$tag$=null;$.$flags$|=4;e.$vnode$=$;$.$elm$=l.$elm$=n.shadowRoot||n;{a=n["s-sc"]}ne(l,$)};var ie=e("g",(function(e){return Te(e).$hostElement$}));var le=e("c",(function(e,t,n){var r=ie(e);return{emit:function(e){return $e(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var $e=function(e,t,n){var r=f.ce(t,n);e.dispatchEvent(r);return r};var oe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var se=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}oe(e,e.$ancestorComponent$);var n=function(){return fe(e,t)};return Je(n)};var fe=function(e,t){var n=k("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 pe(r,t,n)}));e.$queuedListeners$=null}}{a=pe(r,"componentWillLoad")}}{a=me(a,(function(){return pe(r,"componentWillRender")}))}n();return me(a,(function(){return ue(e,r,t)}))};var ue=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,$,o;return __generator(this,(function(s){n=e.$hostElement$;a=k("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(r){I(e)}l=k("render",e.$cmpMeta$.$tagName$);{ce(e,t)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{$=n["s-p"];o=function(){return ve(e)};if($.length===0){o()}else{Promise.all($).then(o);e.$flags$|=4;$.length=0}}return[2]}))}))};var ce=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{ae(e,t)}}}}catch(t){Ue(t,e.$hostElement$)}return null};var ve=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=k("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{pe(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{ge(n)}{pe(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!i){he()}}}else{{pe(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Ge((function(){return se(e,false)}))}e.$flags$&=~(4|512)}};var de=e("f",(function(e){{var t=Te(e);var n=t.$hostElement$.isConnected;if(n&&(t.$flags$&(2|16))===2){se(t,false)}return n}}));var he=function(e){{ge(s.documentElement)}Ge((function(){return $e(o,"appload",{detail:{namespace:r}})}))};var pe=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){Ue(e)}}return undefined};var me=function(e,t){return e&&e.then?e.then(t):t()};var ge=function(e){return e.setAttribute("calcite-hydrated","")};var ye=function(e,t,n,r){var a=k("hydrateClient",t);var i=e.shadowRoot;var l=[];var $=[];var o=i?[]:null;var c=r.$vnode$=B(t,null);if(!f.$orgLocNodes$){we(s.body,f.$orgLocNodes$=new Map)}e[x]=n;e.removeAttribute(x);be(c,l,$,o,e,e,n);l.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=f.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&u&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!i){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}f.$orgLocNodes$.delete(n)}));if(i){o.map((function(e){if(e){i.appendChild(e)}}))}a()};var be=function(e,t,n,r,a,i,l){var $;var o;var f;var u;if(i.nodeType===1){$=i.getAttribute(N);if($){o=$.split(".");if(o[0]===l||o[0]==="0"){f={$flags$:0,$hostId$:o[0],$nodeId$:o[1],$depth$:o[2],$index$:o[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(f);i.removeAttribute(N);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;e=f;if(r&&f.$depth$==="0"){r[f.$index$]=f.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){be(e,t,n,r,a,i.childNodes[u],l)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){be(e,t,n,r,a,i.shadowRoot.childNodes[u],l)}}}else if(i.nodeType===8){o=i.nodeValue.split(".");if(o[1]===l||o[1]==="0"){$=o[0];f={$flags$:0,$hostId$:o[1],$nodeId$:o[2],$depth$:o[3],$index$:o[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if($===w){f.$elm$=i.nextSibling;if(f.$elm$&&f.$elm$.nodeType===3){f.$text$=f.$elm$.textContent;t.push(f);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;if(r&&f.$depth$==="0"){r[f.$index$]=f.$elm$}}}else if(f.$hostId$===l){if($===b){f.$tag$="slot";if(o[5]){i["s-sn"]=f.$name$=o[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(r){f.$elm$=s.createElement(f.$tag$);if(f.$name$){f.$elm$.setAttribute("name",f.$name$)}i.parentNode.insertBefore(f.$elm$,i);i.remove();if(f.$depth$==="0"){r[f.$index$]=f.$elm$}}n.push(f);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f}else if($===g){if(r){i.remove()}}}}}else if(e&&e.$tag$==="style"){var c=B(null,i.textContent);c.$elm$=i;c.$index$="0";e.$children$=[c]}};var we=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){we(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){we(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===y){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var xe=function(e,t){if(e!=null&&!z(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 Re=function(e,t){return Te(e).$instanceValues$.get(t)};var Ne=function(e,t,n,r){var a=Te(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var $=a.$flags$;var o=a.$lazyInstance$;n=xe(n,r.$members$[t][0]);if((!($&8)||l===undefined)&&n!==l){a.$instanceValues$.set(t,n);if(o){if(r.$watchers$&&$&128){var s=r.$watchers$[t];if(s){s.map((function(e){try{o[e](n,l,t)}catch(e){Ue(e,i)}}))}}if(($&(2|16))===2){if(o.componentShouldUpdate){if(o.componentShouldUpdate(n,l,t)===false){return}}se(a,false)}}}};var Se=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],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,r,{get:function(){return Re(this,r)},set:function(e){Ne(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&i&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=Te(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;f.jmp((function(){var t=i.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;i.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var _e=function(e,t,r,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,$,o,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=qe(r);if(!i.then)return[3,2];e=L();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{r.$watchers$=i.watchers}Se(i,r,2);i.isProxied=true}n=k("createInstance",r.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){Ue(e)}{t.$flags$&=~8}{t.$flags$|=128}n();ke(t.$lazyInstance$);if(i.style){a=i.style;l=j(r);if(!Be.has(l)){$=k("registerStyles",r.$tagName$);A(l,a,!!(r.$flags$&1));$()}}f.label=3;case 3:o=t.$ancestorComponent$;s=function(){return se(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}return[2]}}))}))};var ke=function(e){{pe(e,"connectedCallback")}};var Le=function(e){if((f.$flags$&1)===0){var t=Te(e);var n=t.$cmpMeta$;var r=k("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(x);if(a){if(n.$flags$&1){var i=E(e.shadowRoot,n);e.classList.remove(i+"-h",i+"-s")}ye(e,n.$tagName$,a,t)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){oe(t,t.$ancestorComponent$=l);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}}))}{_e(e,t,n)}}else{d(e,t,n.$listeners$);ke(t.$lazyInstance$)}r()}};var Ce=function(e){if((f.$flags$&1)===0){var t=Te(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{pe(n,"disconnectedCallback")}}};var Ae=e("b",(function(e,t){if(t===void 0){t={}}var n=k();var r=[];var a=t.exclude||[];var i=o.customElements;var l=s.head;var $=l.querySelector("meta[charset]");var u=s.createElement("style");var c=[];var v=s.querySelectorAll("["+R+"]");var d;var h=true;var p=0;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",s.baseURI).href;{f.$flags$|=2}{for(;p<v.length;p++){A(v[p].getAttribute(R),T(v[p].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 l=n.$tagName$;var $=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;Me(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{f.jmp((function(){return Le(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return Ce(e)}))};t.prototype.componentOnReady=function(){return Te(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){r.push(l);i.define(l,Se($,n,1))}}))}));{u.innerHTML=r+S;u.setAttribute("data-styles","");l.insertBefore(u,$?$.nextSibling:l.firstChild)}h=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return d=setTimeout(he,30)}))}}n()}));var Ee=e("a",(function(e){var t=new URL(e,f.$resourcesUrl$);return t.origin!==o.location.origin?t.href:t.pathname}));var Ie=e("F",(function(e,t){return t}));var je=new WeakMap;var Te=function(e){return je.get(e)};var Pe=e("r",(function(e,t){return je.set(t.$lazyInstance$=e,t)}));var Me=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"]=[]}d(e,n,t.$listeners$);return je.set(e,n)};var Oe=function(e,t){return t in e};var Ue=function(e,t){return(0,console.error)(e,t)};var ze=new Map;var qe=function(e,n,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=ze.get(i);if(l){return l[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{ze.set(i,e)}return e[a]}),Ue)};var Be=new Map;var Ve=[];var He=[];var We=function(e,t){return function(n){e.push(n);if(!$){$=true;if(t&&f.$flags$&4){Ge(Fe)}else{f.raf(Fe)}}}};var De=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Ue(e)}}e.length=0};var Fe=function(){De(Ve);{De(He);if($=Ve.length>0){f.raf(Fe)}}};var Ge=function(e){return c().then(e)};var Je=We(He,true)}}}));
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,h as a,F as i,g as n}from"./p-2e29554c.js";import{S as e,I as o,T as r}from"./p-f243b615.js";import{g as s}from"./p-52cc870b.js";import{S as c}from"./p-26508b91.js";import"./p-8a63221d.js";let l=class{constructor(a){t(this,a),this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.setMenuOpen=t=>{this.menuOpen=!!t.detail}}expandedHandler(){this.menuOpen=!1}renderTooltip(){const{el:t}=this;return s(t,e.menuTooltip)?a("slot",{name:e.menuTooltip,slot:c.tooltip}):null}renderMenu(){const{el:t,expanded:i,intlMore:n,menuOpen:l,scale:m}=this;return s(t,e.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:n||r.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:l,placement:"leading-start",scale:m},a("calcite-action",{icon:o.menu,scale:m,slot:c.trigger,text:n||r.more,textEnabled:i}),a("slot",{name:e.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};l.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){background-color:var(--calcite-ui-background);display:grid;grid-gap:1px;gap:1px;place-content:stretch;padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{l as calcite_action_group}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,c as a,h as e,H as i,g as n}from"./p-2e29554c.js";import{a as s,C as o}from"./p-52cc870b.js";import"./p-8a63221d.js";let r=class{constructor(e){t(this,e),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",3),this.alignment="start",this.status="idle",this.scale="m",this.layout="default",this.disableSpacing=!1,this.disabled=!1,this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})}}render(){const t=s(this.el);return e(i,{onClick:this.labelClickHandler},e("div",{class:{container:!0,[o.rtl]:"rtl"===t}},e("slot",null)))}get el(){return n(this)}};r.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([alignment=start]),:host([alignment=end]) .calcite--rtl{text-align:left}:host([alignment=end]),:host([alignment=start]) .calcite--rtl{text-align:right}:host([alignment=center]){text-align:center}:host([scale=s]) .container{font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:0.5rem}:host([scale=m]) .container{font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:0.75rem}:host([scale=l]) .container{font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:1rem}:host .container{color:var(--calcite-ui-text-1);cursor:pointer;width:100%;margin-top:0;margin-right:0;margin-left:0;line-height:1.375}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;grid-gap:0.25rem;gap:0.25rem}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;grid-gap:0.5rem;gap:0.5rem}:host([layout=inline][scale=l]) .container{grid-gap:0.75rem;gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--bg-opacity:0}:host([disable-spacing]) .container{grid-gap:0;gap:0;margin:0}";export{r as calcite_label}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,h as a,g as i,c as s,H as e}from"./p-2e29554c.js";import{g as n}from"./p-8a63221d.js";import{g as l}from"./p-72563742.js";import{j as r}from"./p-52cc870b.js";import{c as h}from"./p-2d09cc25.js";import{c as o,d as c}from"./p-3dae9da3.js";import{c as m,d as u,a as d,H as p}from"./p-1942876c.js";function b(t,a,i){const s=a[0]-t[0];return s?(3*(a[1]-t[1])/s-i)/2:i}function f(t,a,i,s,e){const[n,l]=t,[r,h]=a,o=(r-n)/3;return`C ${e([n+o,l+o*i]).join(",")} ${e([r-o,h-o*s]).join(",")} ${e([r,h]).join(",")}`}let x=class{constructor(a){t(this,a),this.data=[],this.width=300,this.height=100,this.graphId=`calcite-graph-${n()}`}render(){const{data:t,colorStops:i,width:s,height:e,highlightMax:n,highlightMin:l,min:r,max:h}=this,o=this.graphId;if(!t||0===t.length)return a("svg",{class:"svg",height:e,preserveAspectRatio:"none",viewBox:`0 0 ${s} ${e}`,width:s});const{min:c,max:m}=function(t){const[a,i]=t[0];return t.reduce((({min:t,max:a},[i,s])=>({min:[Math.min(t[0],i),Math.min(t[1],s)],max:[Math.max(a[0],i),Math.max(a[1],s)]})),{min:[a,i],max:[a,i]})}(t);let u=c,d=m;(r<c[0]||r>c[0])&&(u=[r,0]),(h>m[0]||h<m[0])&&(d=[h,m[1]]);const p=function({width:t,height:a,min:i,max:s}){const e=s[0]-i[0],n=s[1]-i[1];return s=>[(s[0]-i[0])/e*t,a-s[1]/n*a]}({min:u,max:d,width:s,height:e}),[x]=p([l,d[1]]),[g]=p([n,d[1]]),k=function({data:t,min:a,max:i,t:s}){if(0===t.length)return"";const[e,n]=s(t[0]),[l,r]=s(a),[h]=s(i);let o,c,m;const u=t.reduce(((a,i,e)=>{if(c=t[e-2],m=t[e-1],e>1){const t=function(t,a,i){const s=a[0]-t[0],e=i[0]-a[0],n=(a[1]-t[1])/(s||e<0&&0),l=(i[1]-a[1])/(e||s<0&&0),r=(n*e+l*s)/(s+e);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(r))||0}(c,m,i),e=void 0===o?b(c,m,t):o,n=f(c,m,e,t,s);return o=t,`${a} ${n}`}return a}),`M ${l},${r} L ${l},${n} L ${e},${n}`),d=t[t.length-1];return`${u} ${f(m,d,o,b(m,d,o),s)} L ${h},${r} Z`}({data:t,min:c,max:m,t:p}),_=i?`url(#linear-gradient-${o})`:void 0;return a("svg",{class:"svg",height:e,preserveAspectRatio:"none",viewBox:`0 0 ${s} ${e}`,width:s},i?a("defs",null,a("linearGradient",{id:`linear-gradient-${o}`,x1:"0",x2:"1",y1:"0",y2:"0"},i.map((({offset:t,color:i,opacity:s})=>a("stop",{offset:100*t+"%","stop-color":i,"stop-opacity":s}))))):null,void 0!==l?[a("mask",{height:"100%",id:`${o}1`,width:"100%",x:"0%",y:"0%"},a("path",{d:`\n M 0,0\n L ${x-1},0\n L ${x-1},${e}\n L 0,${e}\n Z\n `,fill:"white"})),a("mask",{height:"100%",id:`${o}2`,width:"100%",x:"0%",y:"0%"},a("path",{d:`\n M ${x+1},0\n L ${g-1},0\n L ${g-1},${e}\n L ${x+1}, ${e}\n Z\n `,fill:"white"})),a("mask",{height:"100%",id:`${o}3`,width:"100%",x:"0%",y:"0%"},a("path",{d:`\n M ${g+1},0\n L ${s},0\n L ${s},${e}\n L ${g+1}, ${e}\n Z\n `,fill:"white"})),a("path",{class:"graph-path",d:k,fill:_,mask:`url(#${o}1)`}),a("path",{class:"graph-path--highlight",d:k,fill:_,mask:`url(#${o}2)`}),a("path",{class:"graph-path",d:k,fill:_,mask:`url(#${o}3)`})]:a("path",{class:"graph-path",d:k,fill:_}))}get el(){return i(this)}};x.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0;padding:0;display:block}:host([data-style=slider-histogram]) svg{width:100%}:host([data-style=slider-histogram]) svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";let g=class{constructor(a){t(this,a),this.calciteSliderInput=s(this,"calciteSliderInput",7),this.calciteSliderChange=s(this,"calciteSliderChange",7),this.calciteSliderUpdate=s(this,"calciteSliderUpdate",7),this.disabled=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.value=null,this.guid=`calcite-slider-${n()}`,this.isRange=!1,this.activeProp="value",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[],this.dragUpdate=t=>{if(t.preventDefault(),this.dragProp){const a=this.translate(t.clientX||t.pageX);if(this.isRange&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=a-this.minValueDragRange,i=a+this.maxValueDragRange;i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange&&(this.minValue=this.clamp(t,"minValue"),this.maxValue=this.clamp(i,"maxValue"))}else this.minValueDragRange=a-this.minValue,this.maxValueDragRange=this.maxValue-a,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue(this.dragProp,this.clamp(a,this.dragProp))}},this.dragEnd=t=>{document.removeEventListener("pointermove",this.dragUpdate),document.removeEventListener("pointerup",this.dragEnd),document.removeEventListener("pointercancel",this.dragEnd),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null},this.storeTrackRef=t=>{this.trackEl=t}}histogramWatcher(t){this.hasHistogram=!!t}connectedCallback(){o(this),m(this)}disconnectedCallback(){c(this),u(this)}componentWillLoad(){this.isRange=!(!this.maxValue&&0!==this.maxValue),this.tickValues=this.generateTickValues(),this.value=this.clamp(this.value),d(this,this.value),this.snap&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),this.isRange&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&this.isRange&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels()}render(){const t=this.el.id||this.guid,i=this.minValue||this.min,s=this.maxValue||this.value,n=this.isRange?"maxValue":"value",l=this[n],r=this.shouldUseMinValue(),h=100*this.getUnitInterval(r?this.minValue:i),o=100*this.getUnitInterval(s),c=this.shouldMirror(),m=`${c?100-h:h}%`,u=`${c?o:100-o}%`,d=a("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:u}},a("div",{class:"handle"})),b=a("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:u}},a("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l),a("div",{class:"handle"})),f=a("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:u}},a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l)),x=a("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:u}},a("div",{class:"handle"}),a("div",{class:"handle-extension"})),g=a("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:u}},a("div",{class:"handle-extension"}),a("div",{class:"handle"})),k=a("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:u}},a("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l),a("div",{class:"handle"}),a("div",{class:"handle-extension"})),_=a("button",{"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===n,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=n,onPointerDown:()=>this.dragStart(n),ref:t=>this.maxHandle=t,role:"slider",style:{right:u}},a("div",{class:"handle-extension"}),a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l)),w=a("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},a("div",{class:"handle"})),v=a("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()),a("div",{class:"handle"})),y=a("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString())),$=a("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},a("div",{class:"handle-extension"}),a("div",{class:"handle"})),V=a("button",{"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},disabled:this.disabled,onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:m}},a("div",{class:"handle-extension"}),a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));return a(e,{id:t,onTouchStart:this.handleTouchStart},a("div",{class:{container:!0,"container--range":this.isRange}},this.renderGraph(),a("div",{class:"track",ref:this.storeTrackRef},a("div",{class:"track__range",onPointerDown:()=>this.dragStart("minMaxValue"),style:{left:`${c?100-o:h}%`,right:`${c?h:100-o}%`}}),a("div",{class:"ticks"},this.tickValues.map((t=>{const e=100*this.getUnitInterval(t)+"%";let n=t>=i&&t<=s;return r&&(n=t>=this.minValue&&t<=this.maxValue),a("span",{class:{tick:!0,"tick--active":n},style:{left:c?"":e,right:c?e:""}},this.renderTickLabel(t))})))),!this.precise&&!this.labelHandles&&this.isRange&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&this.isRange&&v,this.precise&&!this.labelHandles&&this.isRange&&$,this.precise&&this.labelHandles&&this.isRange&&V,this.hasHistogram&&!this.precise&&this.labelHandles&&this.isRange&&y,!this.precise&&!this.labelHandles&&d,!this.hasHistogram&&!this.precise&&this.labelHandles&&b,!this.hasHistogram&&this.precise&&!this.labelHandles&&x,this.hasHistogram&&this.precise&&!this.labelHandles&&g,!this.hasHistogram&&this.precise&&this.labelHandles&&k,this.hasHistogram&&!this.precise&&this.labelHandles&&f,this.hasHistogram&&this.precise&&this.labelHandles&&_,a(p,{component:this})))}renderGraph(){return this.histogram?a("div",{class:"graph"},a("calcite-graph",{colorStops:this.histogramStops,data:this.histogram,"data-style":"slider-histogram",height:48,highlightMax:this.isRange?this.maxValue:this.value,highlightMin:this.isRange?this.minValue:this.min,max:this.max,min:this.min,width:300})):null}renderTickLabel(t){const i=t===this.min,s=t===this.max,e=a("span",{class:{tick__label:!0,"tick__label--min":i,"tick__label--max":s}},t.toLocaleString());return this.labelTicks&&!this.hasHistogram&&!this.isRange||this.labelTicks&&!this.hasHistogram&&this.isRange&&!this.precise&&!this.labelHandles||this.labelTicks&&!this.hasHistogram&&this.isRange&&!this.precise&&this.labelHandles||this.labelTicks&&!this.hasHistogram&&this.isRange&&this.precise&&(i||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(i||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(i||s)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(i||s)?e:null}keyDownHandler(t){const a=this.shouldMirror(),{activeProp:i,max:s,min:e,pageStep:n,step:r}=this,h=this[i],o=l(t.key);if("Enter"===o||" "===o)return void t.preventDefault();let c;"ArrowUp"===o||"ArrowRight"===o?c=h+r*(a&&"ArrowRight"===o?-1:1):"ArrowDown"===o||"ArrowLeft"===o?c=h-r*(a&&"ArrowLeft"===o?-1:1):"PageUp"===o?n&&(c=h+n):"PageDown"===o?n&&(c=h-n):"Home"===o?c=e:"End"===o&&(c=s),isNaN(c)||(t.preventDefault(),this.setValue(i,this.clamp(c,i)))}clickHandler(t){this.focusActiveHandle(t.clientX)}pointerDownHandler(t){const a=this.translate(t.clientX||t.pageX);let i="value";this.isRange&&(i=a>=this.minValue&&a<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-a)<Math.abs(this.minValue-a)||a>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[i],this.dragStart(i),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue(i,this.clamp(a,i))}handleTouchStart(t){t.preventDefault()}async setFocus(){(this.minHandle?this.minHandle:this.maxHandle).focus()}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!this.isRange&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}generateTickValues(){const t=[];let a=this.min;for(;this.ticks&&a<this.max+this.ticks;)t.push(Math.min(a,this.max)),a+=this.ticks;return t}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,document.addEventListener("pointermove",this.dragUpdate),document.addEventListener("pointerup",this.dragEnd),document.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit(),this.calciteSliderUpdate.emit()}emitChange(){this.calciteSliderChange.emit()}setValue(t,a){this[t]!==a&&(this[t]=a,this.dragProp||this.emitChange(),this.emitInput())}clamp(t,a){return t=h(t,this.min,this.max),"maxValue"===a&&(t=Math.max(t,this.minValue)),"minValue"===a&&(t=Math.min(t,this.maxValue)),t}translate(t){const a=this.max-this.min,{left:i,width:s}=this.trackEl.getBoundingClientRect(),e=(t-i)/s,n=this.shouldMirror();let l=this.clamp(this.min+a*(n?1-e:e));return this.snap&&this.step&&(l=this.getClosestStep(l)),l}getClosestStep(t){if(t=this.clamp(t),this.step){const a=Math.round(t/this.step)*this.step;t=this.clamp(a)}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,a){return Math.abs(t.getBoundingClientRect().left-a)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const a=this.el.shadowRoot.querySelector(`.handle__label--${t}`),i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),s=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),e=i.getBoundingClientRect(),n=this.getHostOffset(e.left,e.right);a.style.transform=`translateX(${n}px)`,s.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,a=this.shouldMirror(),i=a?"value":"minValue",s=a?"minValue":"value",e=t.querySelector(`.handle__label--${i}`),n=t.querySelector(`.handle__label--${i}.static`),l=t.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${s}`),o=t.querySelector(`.handle__label--${s}.static`),c=t.querySelector(`.handle__label--${s}.transformed`),m=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),u=this.getFontSizeForElement(e),d=this.getRangeLabelOverlap(l,c),p=e,b=u/2;if(d>0){if(p.classList.add("hyphen"),0===m&&0===r){let t=d/2-b;t=-1===Math.sign(t)?Math.abs(t):-t;const a=this.getHostOffset(l.getBoundingClientRect().left+t-b,l.getBoundingClientRect().right+t-b);let i=d/2;const s=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);0!==a&&(t+=a,i+=a),0!==s&&(t+=s,i+=s),e.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-b}px)`,h.style.transform=`translateX(${i}px)`,c.style.transform=`translateX(${i}px)`}else if(r>0||m>0)e.style.transform=`translateX(${r+b}px)`,h.style.transform=`translateX(${d+m}px)`,c.style.transform=`translateX(${d+m}px)`;else if(r<0||m<0){let t=Math.abs(r)+d-b;t=-1===Math.sign(t)?Math.abs(t):-t,e.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-b}px)`}}else p.classList.remove("hyphen"),e.style.transform=`translateX(${r}px)`,l.style.transform=`translateX(${r}px)`,h.style.transform=`translateX(${m}px)`,c.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){if(!(this.hasHistogram||this.isRange||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!this.isRange&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!this.isRange&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!this.isRange&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&this.isRange&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const t=this.el.shadowRoot.querySelector(".thumb--minValue"),a=this.el.shadowRoot.querySelector(".thumb--value"),i=this.el.shadowRoot.querySelector(".tick__label--min"),s=this.el.shadowRoot.querySelector(".tick__label--max");!t&&a&&i&&s&&(i.style.opacity=this.isMinTickLabelObscured(i,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,a)?"0":"1"),t&&a&&i&&s&&(i.style.opacity=this.isMinTickLabelObscured(i,t)||this.isMinTickLabelObscured(i,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,t)||this.isMaxTickLabelObscured(s,a)&&this.hasHistogram?"0":"1")}getHostOffset(t,a){const i=this.el.getBoundingClientRect();return t+7<i.left?i.left-t-7:a-7>i.right?7-(a-i.right):0}getRangeLabelOverlap(t,a){const i=t.getBoundingClientRect(),s=a.getBoundingClientRect(),e=this.getFontSizeForElement(t);return Math.max(i.right+e-s.left,0)}isMinTickLabelObscured(t,a){const i=t.getBoundingClientRect(),s=a.getBoundingClientRect();return r(i,s)}isMaxTickLabelObscured(t,a){const i=t.getBoundingClientRect(),s=a.getBoundingClientRect();return r(i,s)}get el(){return i(this)}static get watchers(){return{histogram:["histogramWatcher"]}}};g.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.container{display:block;position:relative;padding:7px 0;margin:7px 0.5rem}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) .graph .graph-path--highlight{fill:var(--calcite-ui-text-3)}:host([label-handles]) .container,:host([precise]:not([precise=false])) .container{margin-top:21px}:host([label-ticks]),:host([precise]:not([precise=false])) .container--range{margin-bottom:21px}:host([precise]:not([precise=false])[label-handles]) .container{margin-top:35px}:host([precise]:not([precise=false])[label-handles]) .container--range{margin-bottom:35px}.thumb{position:absolute;border-style:none;background-color:transparent;cursor:pointer;outline:2px solid transparent;outline-offset:2px;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-family:inherit;z-index:2;-webkit-transform:translate(7px, -8px);transform:translate(7px, -8px)}.thumb .handle__label{font-size:var(--calcite-font-size--2);font-weight:500;line-height:1;color:var(--calcite-ui-text-2);margin-bottom:5px}.thumb .handle__label.static,.thumb .handle__label.transformed{opacity:0;position:absolute;top:0;bottom:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;width:1em}.thumb .handle{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;height:14px;width:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border 0.25s ease, background-color 0.25s ease, -webkit-box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, -webkit-box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, -webkit-box-shadow 0.25s ease}.thumb .handle-extension{width:2px;height:7px;background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb--minValue{-webkit-transform:translate(-7px, -8px);transform:translate(-7px, -8px)}:host([label-handles]) .thumb{-webkit-transform:translate(50%, -25px);transform:translate(50%, -25px)}:host([label-handles]) .thumb--minValue{-webkit-transform:translate(-50%, -25px);transform:translate(-50%, -25px)}:host([has-histogram][label-handles]) .thumb{-webkit-transform:translate(50%, -8px);transform:translate(50%, -8px)}:host([has-histogram][label-handles]) .thumb .handle__label{margin-bottom:unset;margin-top:5px}:host([has-histogram][label-handles]) .thumb--minValue{-webkit-transform:translate(-50%, -8px);transform:translate(-50%, -8px)}:host([precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -21px);transform:translate(7px, -21px)}:host([precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-7px, -2px);transform:translate(-7px, -2px)}:host([precise]:not([precise=false])) .thumb--minValue .handle__label{margin-bottom:unset;margin-top:5px}:host([has-histogram][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -2px);transform:translate(7px, -2px)}:host([has-histogram][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([ticks][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -20px);transform:translate(7px, -20px)}:host([ticks][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-7px, -3px);transform:translate(-7px, -3px)}:host([has-histogram][ticks][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -3px);transform:translate(7px, -3px)}:host([has-histogram][ticks][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}:host([label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -38px);transform:translate(50%, -38px)}:host([label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([has-histogram][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -2px);transform:translate(50%, -2px)}:host([has-histogram][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([ticks][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -37px);transform:translate(50%, -37px)}:host([ticks][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}:host([has-histogram][ticks][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -3px);transform:translate(50%, -3px)}:host([has-histogram][ticks][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}.thumb:focus,.thumb--active{z-index:3}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{height:2px;border-radius:0;z-index:1;background-color:var(--calcite-ui-border-2);-webkit-transition:all 250ms ease-in;transition:all 250ms ease-in;position:relative}.track__range{position:absolute;top:0;height:2px;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{content:"";position:absolute;top:-5px;width:100%;height:14px}.tick{position:absolute;top:-2px;width:2px;height:4px;left:var(--calcite-ui-border-1-offset);margin-left:-2px;border:1px solid var(--calcite-ui-foreground-1);background-color:var(--calcite-ui-border-1);pointer-events:none}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{position:absolute;font-size:var(--calcite-font-size--2);font-weight:500;color:var(--calcite-ui-text-2);width:4em;margin:14px -2em;text-align:center;display:block;pointer-events:none}.tick__label--min{left:0;margin:14px -3px;text-align:left;-webkit-transition:opacity 150ms;transition:opacity 150ms}.tick__label--max{left:unset;right:0;margin:14px -3px;text-align:right;-webkit-transition:opacity 50ms;transition:opacity 50ms}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max{margin:6px -3px;font-weight:300;color:var(--calcite-ui-text-3)}:host([has-histogram][precise]:not([precise=false])) .tick__label--min,:host([has-histogram][precise]:not([precise=false])) .tick__label--max{margin:6px -3px;font-weight:300;color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3)}:host([mirrored]:not([has-histogram])) .tick__label--min{right:0;left:unset;text-align:right}:host([mirrored]:not([has-histogram])) .tick__label--max{right:unset;left:0;text-align:left}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{x as calcite_graph,g as calcite_slider}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,c as i,h as e,g as a,H as n}from"./p-2e29554c.js";import{g as r}from"./p-72563742.js";import{d as s,a as o,C as c}from"./p-52cc870b.js";import"./p-8a63221d.js";let l=class{constructor(e){t(this,e),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",7),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.items=[],this.sortedItems=[]}contentWatcher(){"horizontal"===this.layout&&(!this.stepperContentContainer&&this.requestedContent&&this.addHorizontalContentContainer(),this.updateContent(this.requestedContent))}componentDidLoad(){this.currentPosition||this.calciteStepperItemChange.emit({position:0})}componentWillLoad(){"horizontal"!==this.layout||this.stepperContentContainer||this.addHorizontalContentContainer()}render(){return e("slot",null)}calciteStepperItemKeyEvent(t){const i=t.detail.item,e=t.target,a=0===this.itemIndex(e),n=this.itemIndex(e)===this.sortedItems.length-1;switch(r(i.key)){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(e);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(e);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}}registerItem(t){const i={item:t.target,position:t.detail.position,content:t.detail.content};i.content&&i.item.active&&(this.requestedContent=i.content),this.items.includes(i)||this.items.push(i),this.sortedItems=this.sortItems()}updateItem(t){t.detail.content&&(this.requestedContent=t.detail.content),this.currentPosition=t.detail.position,this.calciteStepperItemChange.emit({position:this.currentPosition})}async nextStep(){this.currentPosition=this.currentPosition+1<this.items.length?this.currentPosition+1:this.currentPosition,this.emitChangedItem()}async prevStep(){this.currentPosition=this.currentPosition-1>=0?this.currentPosition-1:this.currentPosition,this.emitChangedItem()}async goToStep(t){this.currentPosition=t-1,this.emitChangedItem()}async startStep(){this.currentPosition=0,this.emitChangedItem()}async endStep(){this.currentPosition=this.items.length-1,this.emitChangedItem()}addHorizontalContentContainer(){this.stepperContentContainer=document.createElement("div"),this.stepperContentContainer.classList.add("calcite-stepper-content"),this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)}emitChangedItem(){this.calciteStepperItemChange.emit({position:this.currentPosition})}focusFirstItem(){this.focusElement(this.sortedItems[0])}focusLastItem(){this.focusElement(this.sortedItems[this.sortedItems.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.focusElement(this.sortedItems[i+1]||this.sortedItems[0])}focusPrevItem(t){const i=this.itemIndex(t);this.focusElement(this.sortedItems[i-1]||this.sortedItems[this.sortedItems.length-1])}itemIndex(t){return this.sortedItems.indexOf(t)}focusElement(t){t.focus()}sortItems(){const t=Array.from(this.items).filter((t=>!t.item.disabled)).sort(((t,i)=>t.position-i.position)).map((t=>t.item));return[...Array.from(new Set(t))]}updateContent(t){this.stepperContentContainer.innerHTML="",this.stepperContentContainer.append(...t)}get el(){return a(this)}static get watchers(){return{requestedContent:["contentWatcher"]}}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;position:relative;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:stretch;align-items:stretch;width:100%;min-width:100%}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex:1 1 auto;flex:1 1 auto}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-width:100%}";let m=class{constructor(e){t(this,e),this.calciteStepperItemKeyEvent=i(this,"calciteStepperItemKeyEvent",7),this.calciteStepperItemSelect=i(this,"calciteStepperItemSelect",7),this.calciteStepperItemRegister=i(this,"calciteStepperItemRegister",7),this.active=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.icon=!1,this.numbered=!1,this.scale="m"}disabledWatcher(){this.registerStepperItem()}componentWillLoad(){this.icon=s(this.el,"icon",!1),this.numbered=s(this.el,"numbered",!1),this.layout=s(this.el,"layout",!1),this.scale=s(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.itemContent=this.getItemContent(),this.registerStepperItem(),this.active&&this.emitRequestedItem()}componentDidUpdate(){this.active&&this.emitRequestedItem()}render(){const t=o(this.el);return e(n,{"aria-expanded":this.active.toString(),onClick:()=>this.emitRequestedItem(),tabindex:this.disabled?null:0},e("div",{class:{container:!0,[c.rtl]:"rtl"===t}},e("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?e("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,e("div",{class:"stepper-item-header-text"},e("span",{class:"stepper-item-title"},this.itemTitle),e("span",{class:"stepper-item-subtitle"},this.itemSubtitle))),e("div",{class:"stepper-item-content"},e("slot",null))))}keyDownHandler(t){if(!this.disabled&&t.target===this.el)switch(r(t.key)){case" ":case"Enter":this.emitRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteStepperItemKeyEvent.emit({item:t}),t.preventDefault()}}updateActiveItemOnChange(t){t.target===this.parentStepperEl&&(this.activePosition=t.detail.position,this.determineActiveItem())}renderIcon(){return e("calcite-icon",{class:"stepper-item-icon",icon:this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineActiveItem(){this.active=!this.disabled&&this.itemPosition===this.activePosition}registerStepperItem(){this.calciteStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})}emitRequestedItem(){this.disabled||this.calciteStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})}getItemContent(){var t;return(null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))?this.el.shadowRoot.querySelector("slot").assignedNodes({flatten:!0}):this.el.querySelector(".stepper-item-content")?this.el.querySelector(".stepper-item-content").childNodes:null}getItemPosition(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"]}}};m.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-right:0.25rem}:host([scale=s]) .stepper-item-subtitle{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-right:0.5rem}:host([scale=m]) .stepper-item-subtitle{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-right:0.75rem}:host([scale=l]) .stepper-item-subtitle{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;position:relative;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative;border-width:0;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);cursor:pointer;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.calcite--rtl{margin-left:var(--calcite-stepper-item-spacing-unit-l);margin-right:0}:host{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;cursor:pointer}:host .stepper-item-content,:host .stepper-item-header{padding:var(--calcite-stepper-item-spacing-unit-l) var(--calcite-stepper-item-spacing-unit-m);padding-left:0;text-align:left;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.calcite--rtl .stepper-item-content,.calcite--rtl .stepper-item-header{padding-right:0;text-align:right;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-left:initial}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{-ms-flex-direction:column;flex-direction:column;width:100%;display:none;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-right:var(--calcite-stepper-item-spacing-unit-m);color:var(--calcite-ui-text-3);margin-top:1px;opacity:var(--calcite-ui-opacity-disabled);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;height:0.75rem;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.calcite--rtl .stepper-item-icon{margin-left:var(--calcite-stepper-item-spacing-unit-l);margin-right:0}:host .stepper-item-header-text{margin-right:auto;-ms-flex-direction:column;flex-direction:column;text-align:initial}.calcite--rtl .stepper-item-header-text{margin-left:auto;margin-right:0}:host .stepper-item-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);margin-bottom:0.25rem}:host .stepper-item-subtitle{color:var(--calcite-ui-text-3)}.calcite--rtl .stepper-item-title{margin-right:0;margin-left:auto}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-right:var(--calcite-stepper-item-spacing-unit-m)}.calcite--rtl .stepper-item-number{margin-left:var(--calcite-stepper-item-spacing-unit-m);margin-right:initial}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]),:host([disabled]) *{cursor:not-allowed;pointer-events:auto}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0;border-left-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0;padding-bottom:0;padding-right:0;margin-left:0;margin-right:0;margin-top:0;padding-left:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{margin-top:1px;margin-right:0;margin-bottom:0;margin-left:auto;-ms-flex-order:3;order:3;padding-left:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=vertical]) .container .stepper-item-header{padding-right:0}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl{border-left-width:0;border-right-width:2px;border-color:var(--calcite-ui-border-3);padding-top:0;padding-bottom:0;padding-left:0;padding-right:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl .stepper-item-icon{margin-bottom:0;margin-left:0;padding-left:0;padding-right:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl .stepper-item-header{padding-left:0;padding-right:intial}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}";export{l as calcite_stepper,m as calcite_stepper_item}
@@ -0,0 +1,5 @@
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
+ const t=(t,a,s)=>Math.max(a,Math.min(t,s)),a=t=>{const a=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return a?Math.max(0,(a[1]?a[1].length:0)-(a[2]?+a[2]:0)):0};export{t as c,a as d}
@@ -0,0 +1,5 @@
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
+ const e="calcite";let t,n,l=!1,s=!1;const o="undefined"!=typeof window?window:{},i=o.document||{head:{}},c={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},r=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),f=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=$(e,n),i=u(t,s),r=d(n);c.ael(o,l,i,r),(t.o=t.o||[]).push((()=>c.rel(o,l,i,r)))}))},u=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){ue(e)}},$=(e,t)=>4&t?i:8&t?o:16&t?i.body:e,d=e=>0!=(2&e),h="http://www.w3.org/1999/xlink",p=new WeakMap,y=(e,t,n)=>{let l=he.get(e);a&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,he.set(e,l)},m=(e,t)=>{let n=w(t),l=he.get(n);if(e=11===e.nodeType?e:i,l)if("string"==typeof l){let t,s=p.get(e=e.head||e);s||p.set(e,s=new Set),s.has(n)||(e.host&&(t=e.querySelector(`[sty-id="${n}"]`))?t.innerHTML=l:(t=i.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link"))),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},w=e=>"sc-"+e.$,b=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),g={},v=e=>"object"==(e=typeof e)||"function"===e,k=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1,c=[];const r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!v(l))&&(l+=""),o&&i?c[c.length-1].h+=l:c.push(o?j(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,x);const a=j(e,null);return a.p=t,c.length>0&&(a.m=c),a.g=s,a},j=(e,t)=>({t:0,v:e,h:t,k:null,m:null,p:null,g:null}),S={},x={forEach:(e,t)=>e.map(O).forEach(t),map:(e,t)=>e.map(O).map(t).map(M)},O=e=>({vattrs:e.p,vchildren:e.m,vkey:e.g,vname:e.j,vtag:e.v,vtext:e.h}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),k(e.vtag,t,...e.vchildren||[])}const t=j(e.vtag,e.vtext);return t.p=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.j=e.vname,t},C=(e,t,n,l,s,i)=>{if(n!==l){let r=fe(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=P(n),o=P(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=v(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,c?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):fe(o,a)?a.slice(2):a[2]+t.slice(3),n&&c.rel(e,t,n,!1),l&&c.ael(e,t,l,!1)}},L=/\s/,P=e=>e?e.split(L):[],R=(e,t,n,l)=>{const s=11===t.k.nodeType&&t.k.host?t.k.host:t.k,o=e&&e.p||g,i=t.p||g;for(l in o)l in i||C(s,l,o[l],void 0,n,t.t);for(l in i)C(s,l,o[l],i[l],n,t.t)},E=(e,n,s)=>{let o,c,r=n.m[s],a=0;if(null!==r.h)o=r.k=i.createTextNode(r.h);else{if(l||(l="svg"===r.v),o=r.k=i.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r.v),l&&"foreignObject"===r.v&&(l=!1),R(null,r,l),null!=t&&o["s-si"]!==t&&o.classList.add(o["s-si"]=t),r.m)for(a=0;a<r.m.length;++a)c=E(e,r,a),c&&o.appendChild(c);"svg"===r.v?l=!1:"foreignObject"===o.tagName&&(l=!0)}return o},I=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=E(null,l,o),c&&(s[o].k=c,r.insertBefore(c,t)))},U=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.k,F(l),s.remove())},W=(e,t)=>e.v===t.v&&e.g===t.g,D=(e,t)=>{const n=t.k=e.k,s=e.m,o=t.m,i=t.v,c=t.h;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||R(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,f=t.length-1,u=t[0],$=t[f],d=l.length-1,h=l[0],p=l[d];for(;i<=f&&c<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--f];else if(null==h)h=l[++c];else if(null==p)p=l[--d];else if(W(u,h))D(u,h),u=t[++i],h=l[++c];else if(W($,p))D($,p),$=t[--f],p=l[--d];else if(W(u,p))D(u,p),e.insertBefore(u.k,$.k.nextSibling),u=t[++i],p=l[--d];else if(W($,h))D($,h),e.insertBefore($.k,u.k),$=t[--f],h=l[++c];else{for(r=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].g&&t[a].g===h.g){r=a;break}r>=0?(o=t[r],o.v!==h.v?s=E(t&&t[c],n,r):(D(o,h),t[r]=void 0,s=o.k),h=l[++c]):(s=E(t&&t[c],n,c),h=l[++c]),s&&u.k.parentNode.insertBefore(s,u.k)}i>f?I(e,null==l[d+1]?null:l[d+1].k,n,l,c,d):c>d&&U(t,i,f)})(n,s,t,o):null!==o?(null!==e.h&&(n.textContent=""),I(n,null,t,o,0,o.length-1)):null!==s&&U(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.h!==c&&(n.data=c)},F=e=>{e.p&&e.p.ref&&e.p.ref(null),e.m&&e.m.map(F)},T=e=>ce(e).S,A=(e,t,n)=>{const l=T(e);return{emit:e=>H(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},H=(e,t,n)=>{const l=c.ce(t,n);return e.dispatchEvent(l),l},N=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},q=(e,t)=>{if(e.t|=16,!(4&e.t))return N(e,e.M),ve((()=>V(e,t)));e.t|=512},V=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>K(n,e,t))),e.u=null),l=K(n,"componentWillLoad")),l=Q(l,(()=>K(n,"componentWillRender"))),Q(l,(()=>_(e,n,t)))},_=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.C,n=e.S,l=t.t,s=m(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);z(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>B(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},z=(e,l)=>{try{l=l.render(),e.t&=-17,e.t|=2,((e,l)=>{const s=e.S,o=e.C,i=e.L||j(null,null),c=(e=>e&&e.v===S)(l)?l:k(null,null,l);n=s.tagName,o.P&&(c.p=c.p||{},o.P.map((([e,t])=>c.p[t]=s[e]))),c.v=null,c.t|=4,e.L=c,c.k=i.k=s.shadowRoot||s,t=s["s-sc"],D(i,c)})(e,l)}catch(t){ue(t,e.S)}return null},B=e=>{const t=e.S,n=e.i,l=e.M;K(n,"componentDidRender"),64&e.t?K(n,"componentDidUpdate"):(e.t|=64,X(t),K(n,"componentDidLoad"),e.R(t),l||J()),e.I(t),e.O&&(e.O(),e.O=void 0),512&e.t&&ge((()=>q(e,!1))),e.t&=-517},G=e=>{{const t=ce(e),n=t.S.isConnected;return n&&2==(18&t.t)&&q(t,!1),n}},J=()=>{X(i.documentElement),ge((()=>H(o,"appload",{detail:{namespace:"calcite"}})))},K=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ue(e)}},Q=(e,t)=>e&&e.then?e.then(t):t(),X=e=>e.setAttribute("calcite-hydrated",""),Y=(e,t,n,l,s,o,c)=>{let r,a,f,u;if(1===o.nodeType){for(r=o.getAttribute("c-id"),r&&(a=r.split("."),a[0]!==c&&"0"!==a[0]||(f={t:0,U:a[0],W:a[1],D:a[2],F:a[3],v:o.tagName.toLowerCase(),k:o,p:null,m:null,g:null,j:null,h:null},t.push(f),o.removeAttribute("c-id"),e.m||(e.m=[]),e.m[f.F]=f,e=f,l&&"0"===f.D&&(l[f.F]=f.k))),u=o.childNodes.length-1;u>=0;u--)Y(e,t,n,l,s,o.childNodes[u],c);if(o.shadowRoot)for(u=o.shadowRoot.childNodes.length-1;u>=0;u--)Y(e,t,n,l,s,o.shadowRoot.childNodes[u],c)}else if(8===o.nodeType)a=o.nodeValue.split("."),a[1]!==c&&"0"!==a[1]||(r=a[0],f={t:0,U:a[1],W:a[2],D:a[3],F:a[4],k:o,p:null,m:null,g:null,j:null,v:null,h:null},"t"===r?(f.k=o.nextSibling,f.k&&3===f.k.nodeType&&(f.h=f.k.textContent,t.push(f),o.remove(),e.m||(e.m=[]),e.m[f.F]=f,l&&"0"===f.D&&(l[f.F]=f.k))):f.U===c&&("s"===r?(f.v="slot",o["s-sn"]=a[5]?f.j=a[5]:"",o["s-sr"]=!0,l&&(f.k=i.createElement(f.v),f.j&&f.k.setAttribute("name",f.j),o.parentNode.insertBefore(f.k,o),o.remove(),"0"===f.D&&(l[f.F]=f.k)),n.push(f),e.m||(e.m=[]),e.m[f.F]=f):"r"===r&&l&&o.remove()));else if(e&&"style"===e.v){const t=j(null,o.textContent);t.k=o,t.F="0",e.m=[t]}},Z=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)Z(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)Z(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},ee=(e,t,n)=>{if(t.T){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.T),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ce(this).H.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ce(e),o=s.S,i=s.H.get(t),c=s.t,r=s.i;if(n=((e,t)=>null==e||v(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.T[t][0]),!(8&c&&void 0!==i||n===i)&&(s.H.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){ue(e,o)}}))}if(2==(18&c)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(n,i,t))return;q(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ce(this);return n.N.then((()=>n.i[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){c.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.P.push([e,s]),s}))}}return e},te=e=>{K(e,"connectedCallback")},ne=e=>{if(0==(1&c.t)){const t=ce(e),n=t.C,l=()=>{};if(1&t.t)f(e,t,n.q),te(t.i);else{let l;if(t.t|=1,l=e.getAttribute("s-id"),l){if(1&n.t){const t=m(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],r=s?[]:null,a=l.L=j(t,null);c.V||Z(i.body,c.V=new Map),e["s-id"]=n,e.removeAttribute("s-id"),Y(a,o,[],r,e,e,n),o.map((e=>{const n=e.U+"."+e.W,l=c.V.get(n),o=e.k;l&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),c.V.delete(n)})),s&&r.map((e=>{e&&s.appendChild(e)}))})(e,n.$,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){N(t,t.M=n);break}}n.T&&Object.entries(n.T).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=de(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,ee(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){ue(e)}t.t&=-9,t.t|=128,e(),te(t.i)}if(s.style){let e=s.style;const t=w(n);if(!he.has(t)){const l=()=>{};y(t,e,!!(1&n.t)),l()}}}const o=t.M,i=()=>q(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},le=(e,t={})=>{const n=[],l=t.exclude||[],s=o.customElements,r=i.head,a=r.querySelector("meta[charset]"),f=i.createElement("style"),u=[],$=i.querySelectorAll("[sty-id]");let d,h=!0,p=0;for(Object.assign(c,t),c.l=new URL(t.resourcesUrl||"./",i.baseURI).href,c.t|=2;p<$.length;p++)y($[p].getAttribute("sty-id"),b($[p].innerHTML),!0);e.map((e=>{e[1].map((t=>{const o={t:t[0],$:t[1],T:t[2],q:t[3]};o.T=t[2],o.q=t[3],o.P=[],o.A={};const i=o.$,r=class extends HTMLElement{constructor(e){super(e),ae(e=this,o),1&o.t&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),h?u.push(this):c.jmp((()=>ne(this)))}disconnectedCallback(){c.jmp((()=>(()=>{if(0==(1&c.t)){const e=ce(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),K(t,"disconnectedCallback")}})()))}componentOnReady(){return ce(this)._}};o.B=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,ee(r,o,1)))}))})),f.innerHTML=n+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",f.setAttribute("data-styles",""),r.insertBefore(f,a?a.nextSibling:r.firstChild),h=!1,u.length?u.map((e=>e.connectedCallback())):c.jmp((()=>d=setTimeout(J,30)))},se=e=>{const t=new URL(e,c.l);return t.origin!==o.location.origin?t.href:t.pathname},oe=(e,t)=>t,ie=new WeakMap,ce=e=>ie.get(e),re=(e,t)=>ie.set(t.i=e,t),ae=(e,t)=>{const n={t:0,S:e,C:t,H:new Map};return n.N=new Promise((e=>n.I=e)),n._=new Promise((e=>n.R=e)),e["s-p"]=[],e["s-rc"]=[],f(e,n,t.q),ie.set(e,n)},fe=(e,t)=>t in e,ue=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.$.replace(/-/g,"_"),n=e.B,l=$e.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>($e.set(n,e),e[t])),ue)},he=new Map,pe=[],ye=[],me=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&c.t?ge(be):c.raf(be))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ue(e)}e.length=0},be=()=>{we(pe),we(ye),(s=pe.length>0)&&c.raf(be)},ge=e=>r().then(e),ve=me(ye,!0);export{oe as F,S as H,e as N,se as a,le as b,A as c,i as d,G as f,T as g,k as h,r as p,re as r}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,c as i,h as a,H as e,g as n,F as s}from"./p-2e29554c.js";import{g as o}from"./p-8a63221d.js";import{n as r,a as l,k as c,d as m,C as h}from"./p-52cc870b.js";import{g as d}from"./p-72563742.js";import{c as b}from"./p-e4acb5a8.js";let p=class{constructor(a){t(this,a),this.calciteTabRegister=i(this,"calciteTabRegister",7),this.active=!1,this.scale="m",this.guid=`calcite-tab-title-${o()}`}render(){const t=this.el.id||this.guid;return a(e,{"aria-expanded":this.active.toString(),"aria-labelledby":this.labeledBy,id:t,role:"tabpanel"},a("section",null,a("slot",null)))}componentDidLoad(){this.calciteTabRegister.emit()}componentWillRender(){var t;this.scale=null===(t=this.el.closest("calcite-tabs"))||void 0===t?void 0:t.scale}disconnectedCallback(){var t;null===(t=document.body)||void 0===t||t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}tabChangeHandler(t){t.target.closest("calcite-tabs")===this.el.closest("calcite-tabs")&&(this.tab?this.active=this.tab===t.detail.tab:this.getTabIndex().then((i=>{this.active=i===t.detail.tab})))}async getTabIndex(){return Array.prototype.indexOf.call(r(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],i=[]){this.labeledBy=i[t.indexOf(this.el.id)]||null}get el(){return n(this)}};p.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([active]) section{display:block}:host{display:none;color:var(--calcite-ui-text-3);width:100%;height:100%}:host([active]){display:block;width:100%;height:100%;overflow:auto}section{height:100%;width:100%;display:none}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem}";let f=class{constructor(a){t(this,a),this.calciteTabChange=i(this,"calciteTabChange",7),this.scale="m",this.layout="inline",this.position="below",this.bordered=!1,this.animationActiveDuration=.3,this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateOffsetPosition()}}async selectedTabChanged(){localStorage&&this.storageId&&null!=this.selectedTab&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTab)),this.calciteTabChange.emit({tab:this.selectedTab}),this.selectedTabEl=await this.getTabTitleById(this.selectedTab)}selectedTabElChanged(){this.updateOffsetPosition(),this.updateActiveWidth(),this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const i=JSON.parse(localStorage.getItem(t));this.selectedTab=i,this.calciteTabChange.emit({tab:this.selectedTab})}}componentWillRender(){var t,i,a,e;this.layout=null===(t=this.el.closest("calcite-tabs"))||void 0===t?void 0:t.layout,this.position=null===(i=this.el.closest("calcite-tabs"))||void 0===i?void 0:i.position,this.scale=null===(a=this.el.closest("calcite-tabs"))||void 0===a?void 0:a.scale,this.bordered=null===(e=this.el.closest("calcite-tabs"))||void 0===e?void 0:e.bordered,this.selectedTabEl&&this.updateOffsetPosition()}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.active))&&!this.selectedTab&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteTabChange.emit({tab:t})}))}render(){const t=l(this.el),i=`${this.indicatorWidth}px`,n=`${this.indicatorOffset}px`;return a(e,{role:"tablist"},a("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},a("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},a("div",{class:"tab-nav-active-indicator",ref:t=>this.activeIndicatorEl=t,style:"rtl"!==t?{width:i,left:n}:{width:i,right:n}})),a("slot",null)))}resizeHandler(){this.activeIndicatorEl.style.transitionDuration="0s",this.updateActiveWidth(),this.updateOffsetPosition()}focusPreviousTabHandler(t){const i=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);(this.enabledTabTitles[i-1]||this.enabledTabTitles[this.enabledTabTitles.length-1]).focus(),t.stopPropagation(),t.preventDefault()}focusNextTabHandler(t){const i=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);(this.enabledTabTitles[i+1]||this.enabledTabTitles[0]).focus(),t.stopPropagation(),t.preventDefault()}activateTabHandler(t){this.selectedTab=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target),t.stopPropagation(),t.preventDefault()}updateTabTitles(t){t.target.active&&(this.selectedTab=t.detail)}globalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTab!==t.detail.tab&&(this.selectedTab=t.detail.tab)}updateOffsetPosition(){var t,i,a,e,n;const s=l(this.el),o=null===(t=this.activeIndicatorContainerEl)||void 0===t?void 0:t.offsetWidth,r=null===(i=this.selectedTabEl)||void 0===i?void 0:i.offsetLeft,c=null===(a=this.selectedTabEl)||void 0===a?void 0:a.offsetWidth;this.indicatorOffset="rtl"!==s?r-(null===(e=this.tabNavEl)||void 0===e?void 0:e.scrollLeft):o-(r+c)+(null===(n=this.tabNavEl)||void 0===n?void 0:n.scrollLeft)}updateActiveWidth(){var t;this.indicatorWidth=null===(t=this.selectedTabEl)||void 0===t?void 0:t.offsetWidth}getIndexOfTabTitle(t,i=this.tabTitles){return i.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((i=>this.tabTitles[i.indexOf(t)]))}get tabTitles(){return c(this.el,"calcite-tab-title")}get enabledTabTitles(){return c(this.el,"calcite-tab-title:not([disabled])")}get el(){return n(this)}static get watchers(){return{selectedTab:["selectedTabChanged"],selectedTabEl:["selectedTabElChanged"]}}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;overflow:auto;-ms-flex-pack:start;justify-content:flex-start;-webkit-overflow-scrolling:touch;padding:0.25rem;margin:-0.25rem}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{width:100%;right:0;left:0;bottom:0;position:absolute;overflow:hidden;height:0.125rem}.tab-nav-active-indicator{position:absolute;bottom:0;display:block;-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);background-color:var(--calcite-ui-brand);height:0.125rem}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}";let u=class{constructor(a){t(this,a),this.calciteTabsActivate=i(this,"calciteTabsActivate",7),this.calciteTabsFocusNext=i(this,"calciteTabsFocusNext",7),this.calciteTabsFocusPrevious=i(this,"calciteTabsFocusPrevious",7),this.calciteTabTitleRegister=i(this,"calciteTabTitleRegister",7),this.active=!1,this.disabled=!1,this.bordered=!1,this.mutationObserver=b("mutation",(()=>this.updateHasText())),this.hasText=!1,this.guid=`calcite-tab-title-${o()}`}activeTabChanged(){this.active&&this.emitActiveTab()}connectedCallback(){this.setupTextContentObserver(),this.parentTabNavEl=this.el.closest("calcite-tab-nav"),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=document.body)||void 0===i||i.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}))}componentWillLoad(){this.updateHasText(),this.tab&&this.active&&this.emitActiveTab()}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.position=this.parentTabsEl.position,this.scale=this.parentTabsEl.scale,this.bordered=this.parentTabsEl.bordered),!this.parentTabsEl&&this.parentTabNavEl&&(this.position=m(this.parentTabNavEl,"position",this.position),this.scale=m(this.parentTabNavEl,"scale",this.scale))}render(){const t=l(this.el),i=this.el.id||this.guid,n=this.disabled?"span":"a",s=this.bordered&&!this.disabled&&"center"!==this.layout,o=a("calcite-icon",{class:"calcite-tab-title--icon icon-start",dir:t,flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),r=a("calcite-icon",{class:"calcite-tab-title--icon icon-end",dir:t,flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return a(e,{"aria-controls":this.controls,"aria-expanded":this.active.toString(),id:i,role:"tab",tabindex:this.disabled?"-1":"0"},a(n,{class:{container:!0,"container--has-text":this.hasText,[h.rtl]:"rtl"===t},style:s&&{width:`${this.parentTabNavEl.indicatorWidth}px`}},this.iconStart?o:null,a("slot",null),this.iconEnd?r:null))}async componentDidLoad(){this.calciteTabTitleRegister.emit(await this.getTabIdentifier())}tabChangeHandler(t){this.parentTabNavEl===t.target&&(this.tab?this.active=this.tab===t.detail.tab:this.getTabIndex().then((i=>{this.active=i===t.detail.tab})))}onClick(){this.emitActiveTab()}keyDownHandler(t){switch(d(t.key)){case" ":case"Enter":this.emitActiveTab(),t.preventDefault();break;case"ArrowRight":"ltr"===l(this.el)?this.calciteTabsFocusNext.emit():this.calciteTabsFocusPrevious.emit();break;case"ArrowLeft":"ltr"===l(this.el)?this.calciteTabsFocusPrevious.emit():this.calciteTabsFocusNext.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],i=[]){this.controls=t[i.indexOf(this.el.id)]||null}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}emitActiveTab(){this.disabled||this.calciteTabsActivate.emit({tab:this.tab})}get el(){return n(this)}static get watchers(){return{active:["activeTabChanged"]}}};u.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;margin-right:1.25rem;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){text-align:center;margin-top:0;margin-bottom:0;margin-left:1.25rem;margin-right:1.25rem;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host(:active) a,:host(:focus) a,:host(:hover) a{text-decoration:none;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-border-2)}:host([active]) a{color:var(--calcite-ui-text-1);border-color:transparent}:host([disabled]){pointer-events:none}:host([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) a,:host([scale=m]) span{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;border-bottom-color:transparent;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text .calcite-tab-title--icon.icon-start{margin-right:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{margin-left:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-right:0.5rem}.container--has-text.calcite--rtl .calcite-tab-title--icon.icon-end{margin-left:0;margin-right:0.5rem}.container--has-text.calcite--rtl .calcite-tab-title--icon.icon-start{margin-left:0.5rem;margin-right:0}:host([icon-start][icon-end]) .calcite--rtl .calcite-tab-title--icon:first-child{margin-left:0.5rem;margin-right:0}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}";let w=class{constructor(i){t(this,i),this.layout="inline",this.position="above",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}connectedCallback(){"center"===this.layout&&(this.bordered=!1)}render(){return a(s,null,a("slot",{name:"tab-nav"}),a("section",null,a("slot",null)))}calciteTabTitleRegister(t){this.titles=[...this.titles,t.target],this.registryHandler(),t.stopPropagation()}calciteTabTitleUnregister(t){this.titles=this.titles.filter((i=>i!==t.detail)),this.registryHandler(),t.stopPropagation()}calciteTabRegister(t){this.tabs=[...this.tabs,t.target],this.registryHandler(),t.stopPropagation()}calciteTabUnregister(t){this.tabs=this.tabs.filter((i=>i!==t.detail)),this.registryHandler(),t.stopPropagation()}async registryHandler(){let t,i;if(this.tabs.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=this.tabs.sort(((t,i)=>t.tab.localeCompare(i.tab))).map((t=>t.id)),i=this.titles.sort(((t,i)=>t.tab.localeCompare(i.tab))).map((t=>t.id));else{const a=await Promise.all(this.tabs.map((t=>t.getTabIndex()))),e=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=a.reduce(((t,i,a)=>(t[i]=this.tabs[a].id,t)),[]),i=e.reduce(((t,i,a)=>(t[i]=this.titles[a].id,t)),[])}this.tabs.forEach((a=>a.updateAriaInfo(t,i))),this.titles.forEach((a=>a.updateAriaInfo(t,i)))}get el(){return n(this)}};w.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}";export{p as calcite_tab,f as calcite_tab_nav,u as calcite_tab_title,w as calcite_tabs}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as a,h as t,g as i}from"./p-2e29554c.js";let e=class{constructor(t){a(this,t),this.type="determinate",this.value=0,this.reversed=!1}render(){return t("div",{"aria-label":this.label||this.text,"aria-valuemax":1,"aria-valuemin":0,"aria-valuenow":this.value,role:"progressbar"},t("div",{class:"track"},t("div",{class:{bar:!0,indeterminate:"indeterminate"===this.type,reversed:this.reversed},style:"determinate"===this.type?{width:100*this.value+"%"}:{}})),this.text?t("div",{class:"text"},this.text):null)}get el(){return i(this)}};e.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{position:relative;display:block;width:100%}.track,.bar{position:absolute;top:0;height:2px}.track{z-index:0;width:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{background-color:var(--calcite-ui-brand);z-index:0}.indeterminate{width:20%;-webkit-animation:looping-progress-bar-ani 2200ms linear infinite;animation:looping-progress-bar-ani 2200ms linear infinite}.reversed{animation-direction:reverse}.text{padding-top:1rem;padding-bottom:0;padding-left:0;padding-right:0;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium)}@-webkit-keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{width:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{width:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}";export{e as calcite_progress}
@@ -0,0 +1,5 @@
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
+ System.register(["./p-288bc438.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.h}],execute:function(){e("c",n);function n(e){return Math.min(Math.max(Math.ceil(e),1),6)}var r=e("C",(function(e,n){var r="h"+e.level;delete e.level;return t(r,Object.assign({},e),n)}))}}}));
@@ -0,0 +1,5 @@
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
+ System.register([],(function(r){"use strict";return{execute:function(){r({a:u,c:g,h:f,i:a,n:S,p:v,r:t});function t(r){var t=r.r,n=r.g,e=r.b;return("#"+t.toString(16).padStart(2,"0")+n.toString(16).padStart(2,"0")+e.toString(16).padStart(2,"0")).toLowerCase()}var n=r("b",/^[0-9A-F]$/i);var e=/^#[0-9A-F]{3}$/i;var i=/^#[0-9A-F]{6}$/i;function a(r){return s(r)||u(r)}function s(r){return r&&r.length===4&&e.test(r)}function u(r){return r&&r.length===7&&i.test(r)}function S(r){r=r.toLowerCase();if(!r.startsWith("#")){r="#"+r}if(s(r)){return t(f(r))}return r}function f(r){if(!a(r)){return null}r=r.replace("#","");if(r.length===3){var t=r.split(""),n=t[0],e=t[1],i=t[2];var s=parseInt(""+n+n,16);var u=parseInt(""+e+e,16);var S=parseInt(""+i+i,16);return{r:s,g:u,b:S}}var f=parseInt(r.slice(0,2),16);var o=parseInt(r.slice(2,4),16);var c=parseInt(r.slice(4,6),16);return{r:f,g:o,b:c}}var o=function(r){return r};var c=r("C",o({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"}));var l=o({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function v(r){if(typeof r==="string"){if(r.startsWith("#")){var t=r.length;if(t===4||t===7){return c.HEX}if(t===5||t===9){return c.HEXA}}if(r.startsWith("rgba(")){return c.RGBA_CSS}if(r.startsWith("rgb(")){return c.RGB_CSS}if(r.startsWith("hsl(")){return c.HSL_CSS}if(r.startsWith("hsla(")){return c.HSLA_CSS}}if(typeof r==="object"){if(h(r,"r","g","b")){return h(r,"a")?l.RGBA:l.RGB}if(h(r,"h","s","l")){return h(r,"a")?l.HSLA:l.HSL}if(h(r,"h","s","v")){return h(r,"a")?l.HSVA:l.HSV}}return null}function h(r){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}return t.every((function(t){return t&&r&&""+t in r}))}function g(r,t){return(r===null||r===void 0?void 0:r.rgbNumber())===(t===null||t===void 0?void 0:t.rgbNumber())}}}}));
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,c as e,h as i,H as a,g as n}from"./p-2e29554c.js";import{g as o,a as r,C as s}from"./p-52cc870b.js";import{C as l}from"./p-8340b572.js";import"./p-8a63221d.js";const c={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};let m=class{constructor(i){t(this,i),this.calciteBlockToggle=e(this,"calciteBlockToggle",7),this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.intlLoading="Loading",this.intlOptions="Options",this.loading=!1,this.open=!1,this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()}}renderScrim(){const{disabled:t,loading:e}=this,a=i("slot",null);return[e||t?i("calcite-scrim",{loading:e}):null,a]}renderIcon(){const{el:t,status:e}=this,a=this.loading&&!this.open,n=a?c.refresh:c[e],r=o(t,"icon")||n,s=n?i("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e,loading:a},icon:n,scale:"m"}):i("slot",{name:"icon"});return r?i("div",{class:"icon"},s):null}render(){const{collapsible:t,disabled:e,el:n,heading:r,intlCollapse:s,intlExpand:m,loading:d,open:g,summary:p,intlLoading:f,headingLevel:h}=this,u=g?s||"Collapse":m||"Expand",b=i("header",{class:"header"},this.renderIcon(),i("div",{class:"title"},i(l,{class:"heading",level:h||4},r),p?i("div",{class:"summary"},p):null)),w=!!o(n,"control"),k=!!o(n,"header-menu-actions"),x=g?c.opened:c.closed,y=i("div",{class:"header-container"},this.dragHandle?i("calcite-handle",null):null,t?i("button",{"aria-expanded":t?g.toString():null,"aria-label":u,class:"toggle",onClick:this.onHeaderClick,title:u},b,w||k?null:i("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:x,scale:"s"})):b,d?i("calcite-loader",{inline:!0,"is-active":!0,label:f}):w?i("div",{class:"control-container"},i("slot",{name:"control"})):null,k?i("calcite-action-menu",{label:this.intlOptions||"Options"},i("slot",{name:"header-menu-actions"})):null);return i(a,{tabIndex:e?-1:null},i("article",{"aria-busy":d.toString(),class:{article:!0}},y,i("div",{class:"content",hidden:!g},this.renderScrim())))}get el(){return n(this)}};m.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-inline:0.75rem;padding-block:0px}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0px;margin-inline-start:0px}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}';const d={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};let g=class{constructor(i){t(this,i),this.calciteBlockSectionToggle=e(this,"calciteBlockSectionToggle",7),this.open=!1,this.toggleDisplay="button",this.handleHeaderKeyDown=t=>{" "!==t.key&&"Enter"!==t.key||(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()}}renderStatusIcon(){var t;const{status:e}=this,a=null!==(t=d[e])&&void 0!==t&&t;return a?i("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e},icon:a,scale:"s"}):null}render(){const{el:t,intlCollapse:e,intlExpand:a,open:n,text:o,toggleDisplay:l}=this,c=r(t),m=n?d.menuOpen:"rtl"===c?d.menuClosedLeft:d.menuClosedRight,g=n?e||"Collapse":a||"Expand",p="switch"===l?i("div",{"aria-label":g,class:{toggle:!0,"toggle--switch":!0},onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:g},i("div",{class:"toggle--switch__content"},i("span",{class:"toggle--switch__text"},o)),i("calcite-switch",{checked:n,label:g,scale:"s",tabIndex:-1}),this.renderStatusIcon()):i("button",{"aria-label":g,class:{"section-header":!0,toggle:!0},name:g,onClick:this.toggleSection},i("calcite-icon",{icon:m,scale:"s"}),i("span",{class:"section-header__text"},o),this.renderStatusIcon());return i("section",{"aria-expanded":n.toString(),class:{[s.rtl]:"rtl"===c}},p,i("div",{class:"content",hidden:!n},i("slot",null)))}get el(){return n(this)}};g.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-left:0.25rem}.toggle--switch .status-icon{margin-left:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.calcite--rtl .toggle--switch calcite-switch{margin-left:0;margin-right:0.25rem}.calcite--rtl .toggle--switch .status-icon{margin-left:0;margin-right:0.5rem}";export{m as calcite_block,g as calcite_block_section}
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function s(t){try{l(i.next(t))}catch(t){r(t)}}function o(t){try{l(i["throw"](t))}catch(t){r(t)}}function l(t){t.done?a(t.value):n(t.value).then(s,o)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return l([t,e])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;n=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(s[0]===6&&a.label<r[1]){a.label=r[1];r=s;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(s);break}if(r[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];n=0}finally{i=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */System.register(["./p-288bc438.system.js","./p-dff7dc90.system.js","./p-6cc23c39.system.js","./p-56b352bf.system.js","./p-c34c4414.system.js","./p-523bc291.system.js","./p-b1f88d45.system.js","./p-4035444d.system.js","./p-91645bf7.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,a,i,n,r,s,o,l,c,p,u,h,d,f,m,v,y,g,b,D,w,k,x,A;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.H;r=t.g},function(t){s=t.T;o=t.d;l=t.a;c=t.b;p=t.g;u=t.s;h=t.p;d=t.i},function(t){f=t.a},function(t){m=t.g},function(t){v=t.c;y=t.d;g=t.g},function(t){b=t.c;D=t.d;w=t.H},function(t){k=t.u;x=t.C;A=t.c},function(){},function(){},function(){}],execute:function(){var I="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var _="bottom-leading";var P=t("calcite_input_date_picker",function(){function t(t){var i=this;e(this,t);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.calciteInputDatePickerOpen=a(this,"calciteInputDatePickerOpen",7);this.calciteInputDatePickerClose=a(this,"calciteInputDatePickerClose",7);this.disabled=false;this.active=false;this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.required=false;this.overlayPositioning="absolute";this.proximitySelectionDisabled=false;this.layout="horizontal";this.focusedInput="start";this.activeTransitionProp="opacity";this.transitionEnd=function(t){if(t.propertyName===i.activeTransitionProp){i.active?i.calciteInputDatePickerOpen.emit():i.calciteInputDatePickerClose.emit()}};this.setStartInput=function(t){i.startInput=t};this.setEndInput=function(t){i.endInput=t};this.deactivate=function(){i.active=false};this.keyUpHandler=function(t){if(m(t.key)==="Escape"){i.active=false}};this.inputBlur=function(t){i.blur(t.detail)};this.startInputFocus=function(){i.active=true;i.focusedInput="start"};this.endInputFocus=function(){i.active=true;i.focusedInput="end"};this.inputInput=function(t){i.input(t.detail.value)};this.setMenuEl=function(t){if(t){i.menuEl=t;i.createPopper()}};this.setStartWrapper=function(t){i.startWrapper=t;i.setReferenceEl()};this.setEndWrapper=function(t){i.endWrapper=t;i.setReferenceEl()};this.handleDateChange=function(t){if(i.range){return}i.value=o(t.detail)};this.handleDateRangeChange=function(t){var e,a;if(!i.range||!t.detail){return}var n=t.detail,r=n.startDate,s=n.endDate;i.start=o(r);i.end=o(s);i.value=[i.start,i.end];if(i.shouldFocusRangeEnd()){(e=i.endInput)===null||e===void 0?void 0:e.setFocus()}else if(i.shouldFocusRangeStart()){(a=i.startInput)===null||a===void 0?void 0:a.setFocus()}}}t.prototype.valueHandler=function(t){if(Array.isArray(t)){this.valueAsDate=t.map((function(t){return l(t)}));this.start=t[0];this.end=t[1]}else if(t){this.valueAsDate=l(t);this.start="";this.end=""}else{this.valueAsDate=undefined;this.start=undefined;this.end=undefined}};t.prototype.activeHandler=function(){this.reposition()};t.prototype.calciteDaySelectHandler=function(){if(this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()){return}this.active=false};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.startInput)===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,i,n;return __generator(this,(function(r){switch(r.label){case 0:t=this,e=t.popper,a=t.menuEl;i=this.getModifiers();if(!e)return[3,2];return[4,k({el:a,modifiers:i,placement:_,popper:e})];case 1:n=r.sent();return[3,3];case 2:n=this.createPopper();r.label=3;case 3:n;return[2]}}))}))};t.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(t){return l(t)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=l(this.value);this.start="";this.end=""}if(this.start){this.startAsDate=l(this.start)}if(this.end){this.endAsDate=l(this.end)}if(this.min){this.minAsDate=l(this.min)}if(this.max){this.maxAsDate=l(this.max)}this.createPopper();v(this);b(this)};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.loadLocaleData()];case 1:t.sent();return[2]}}))}))};t.prototype.disconnectedCallback=function(){this.destroyPopper();y(this);D(this)};t.prototype.render=function(){var t;var e,a;var r=this.disabled;var s=c(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var o=this.range?c(this.endAsDate,this.minAsDate,this.maxAsDate):null;var l=o?o.toLocaleDateString(this.locale):"";var p=s?s.toLocaleDateString(this.locale):"";var u=f(this.el);return i(n,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&i("div",{"aria-expanded":this.active.toString(),class:"input-container",dir:u,role:"application"},i("div",{class:"input-wrapper",ref:this.setStartWrapper},i("calcite-input",{class:"input "+(this.layout==="vertical"&&this.range?"no-bottom-border":""),disabled:r,icon:"calendar",label:g(this),"number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:(e=this.localeData)===null||e===void 0?void 0:e.placeholder,ref:this.setStartInput,scale:this.scale,type:"text",value:p})),i("div",{"aria-hidden":(!this.active).toString(),class:"menu-container",ref:this.setMenuEl},i("div",{class:(t={},t["calendar-picker-wrapper"]=true,t["calendar-picker-wrapper--end"]=this.focusedInput==="end",t[x.animation]=true,t[x.animationActive]=this.active,t),onTransitionEnd:this.transitionEnd},i("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&this.layout==="horizontal"&&i("div",{class:"horizontal-arrow-container"},i("calcite-icon",{flipRtl:true,icon:"arrow-right",scale:"s"})),this.range&&this.layout==="vertical"&&this.scale!=="s"&&i("div",{class:"vertical-arrow-container"},i("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&i("div",{class:"input-wrapper",ref:this.setEndWrapper},i("calcite-input",{class:{input:true,"border-t-color-1":this.layout==="vertical"&&this.range},disabled:r,icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:(a=this.localeData)===null||a===void 0?void 0:a.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:l}))),i(w,{component:this}))};t.prototype.setReferenceEl=function(){var t=this,e=t.focusedInput,a=t.layout,i=t.endWrapper,n=t.startWrapper;this.referenceEl=e==="end"||a==="vertical"?i||n:n||i;this.createPopper()};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]};return[t]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,a=t.referenceEl,i=t.overlayPositioning;if(!e||!a){return}var n=this.getModifiers();this.popper=A({el:e,modifiers:n,overlayPositioning:i,placement:_,referenceEl:a})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.startWatcher=function(t){this.startAsDate=l(t)};t.prototype.endWatcher=function(t){this.endAsDate=l(t)};t.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(a){switch(a.label){case 0:t=this.locale;e=this;return[4,p(t)];case 1:e.localeData=a.sent();return[2]}}))}))};t.prototype.clearCurrentValue=function(){if(!this.range){this.value="";return}var t=this.focusedInput;if(t==="start"){this.value=Array.isArray(this.value)?["",this.value[1]||""]:[""];this.start=undefined}else if(t==="end"){this.value=Array.isArray(this.value)?[this.value[0]||"",""]:["",""];this.end=undefined}};t.prototype.input=function(t){var e=this.getDateFromInput(t);if(!e){this.clearCurrentValue();return}if(!this.range){this.value=o(e);return}var a=this.focusedInput;if(a==="start"){if(!this.startAsDate||!u(e,this.startAsDate)){var i=o(e);this.value=Array.isArray(this.value)?[i,this.value[1]||""]:[i];this.start=i;this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}}else if(a==="end"){if(!this.endAsDate||!u(e,this.endAsDate)){var n=o(e);this.value=Array.isArray(this.value)?[this.value[0]||"",n]:["",n];this.end=n;this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}}};t.prototype.blur=function(t){var e=this,a=e.locale,i=e.focusedInput,n=e.endAsDate,r=e.range,s=e.startAsDate,o=e.valueAsDate;var l=this.getDateFromInput(t.value);if(!l){if(!r&&o){t.value=Array.isArray(o)?o[i==="end"?1:0].toLocaleDateString(a):o.toLocaleDateString(a)}else if(i==="start"&&s){t.value=s.toLocaleDateString(a)}else if(i==="end"&&n){t.value=n.toLocaleDateString(a)}}};t.prototype.shouldFocusRangeStart=function(){return!!(this.endAsDate&&!this.startAsDate&&this.focusedInput==="end"&&this.startInput)};t.prototype.shouldFocusRangeEnd=function(){return!!(this.startAsDate&&!this.endAsDate&&this.focusedInput==="start"&&this.endInput)};t.prototype.getDateFromInput=function(t){if(!this.localeData){return false}var e=this.localeData.separator;var a=h(t,this.localeData),i=a.day,n=a.month,r=a.year;var s=i>0;var o=n>-1;var l=new Date(r,n,i);l.setFullYear(r);var c=!isNaN(l.getTime());var p=t.split(e).filter((function(t){return t})).length>2;var u=r.toString().length>0;if(s&&o&&c&&p&&u&&d(l,this.min,this.max)){return l}return false};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueHandler"],active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return t}());P.style=I}}}));
@@ -0,0 +1,5 @@
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 n,c as t}from"./p-52cc870b.js";const c=new WeakMap;function e(e){const o=(c=>{const{id:e}=c,o=e&&n(c,`calcite-label[for="${e}"]`);if(o)return o;const l=t(c,"calcite-label");return!l||function(n,t){let c;const e="custom-element-ancestor-check",o=e=>{e.stopImmediatePropagation();const o=e.composedPath();c=o.slice(o.indexOf(t),o.indexOf(n))};return n.addEventListener(e,o,{once:!0}),t.dispatchEvent(new CustomEvent(e,{composed:!0,bubbles:!0})),n.removeEventListener(e,o),c.filter((c=>c!==t&&c!==n)).filter((n=>{var t;return null===(t=n.tagName)||void 0===t?void 0:t.includes("-")})).length>0}(l,c)?null:l})(e.el);if(!o||c.has(o))return;e.labelEl=o;const l=i.bind(e);c.set(e.labelEl,l),e.labelEl.addEventListener("calciteInternalLabelClick",l)}function o(n){if(!n.labelEl)return;const t=c.get(n.labelEl);n.labelEl.removeEventListener("calciteInternalLabelClick",t),c.delete(n.labelEl)}function l(n){var t,c;return n.label||(null===(c=null===(t=n.labelEl)||void 0===t?void 0:t.textContent)||void 0===c?void 0:c.trim())||""}function i(n){this.el.contains(n.detail.sourceEvent.target)||this.onLabelClick(n)}export{e as c,o as d,l as g}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,c as i,h as e,H as a,g as o}from"./p-2e29554c.js";import{f as r,a as s,C as n,g as l,e as c,i as d}from"./p-52cc870b.js";import{g as m}from"./p-72563742.js";import{c as h}from"./p-e4acb5a8.js";import"./p-8a63221d.js";function b(t,i,e,a=20,o=0){let r=[];if(o>=a)return r;const s=t=>{const r=t.assignedNodes().filter((t=>1===t.nodeType));return r.length>0?b(r[0].parentElement,i,e,a,o+1):[]},n=Array.from(t.children||[]);for(const t of n)i(t)||(e(t)&&r.push(t),null!=t.shadowRoot?r.push(...b(t.shadowRoot,i,e,a,o+1)):"SLOT"===t.tagName?r.push(...s(t)):r.push(...b(t,i,e,a,o+1)));return r}function u(t){return t.hasAttribute("hidden")||t.hasAttribute("aria-hidden")&&"false"!==t.getAttribute("aria-hidden")||"none"===t.style.display||"0"===t.style.opacity||"hidden"===t.style.visibility||"collapse"===t.style.visibility}const f=t=>{return d(t)||"-1"!==(i=t).getAttribute("tabindex")&&!u(i)&&!function(t){return t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&"false"!==t.getAttribute("aria-disabled")}(i)&&(i.hasAttribute("tabindex")||(i instanceof HTMLAnchorElement||i instanceof HTMLAreaElement)&&i.hasAttribute("href")||i instanceof HTMLButtonElement||i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement||i instanceof HTMLSelectElement||i instanceof HTMLIFrameElement);var i},p=t=>b(t,u,f);let x=class{constructor(e){t(this,e),this.calciteModalOpen=i(this,"calciteModalOpen",7),this.calciteModalClose=i(this,"calciteModalClose",7),this.active=!1,this.beforeClose=()=>Promise.resolve(),this.disableCloseButton=!1,this.disableOutsideClose=!1,this.intlClose="Close",this.disableEscape=!1,this.scale="m",this.width="m",this.backgroundColor="white",this.noPadding=!1,this.hasFooter=!0,this.mutationObserver=h("mutation",(()=>this.updateFooterVisibility())),this.activeTransitionProp="opacity",this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteModalOpen.emit():this.calciteModalClose.emit())},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.disableOutsideClose||this.close()},this.close=()=>this.beforeClose(this.el).then((()=>{this.active=!1,r(this.previousActiveElement),this.removeOverflowHiddenClass()})),this.focusFirstElement=()=>{r(this.closeButtonEl)},this.focusLastElement=()=>{const t=p(this.el).filter((t=>!t.getAttribute("data-focus-fence")));r(t.length>0?t[t.length-1]:this.closeButtonEl)},this.updateFooterVisibility=()=>{this.hasFooter=!!this.el.querySelector("[slot=back], [slot=secondary], [slot=primary]")}}componentWillLoad(){this.active&&this.open()}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateFooterVisibility()}disconnectedCallback(){var t;this.removeOverflowHiddenClass(),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const t=s(this.el);return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{modal:!0,[n.rtl]:"rtl"===t},onTransitionEnd:this.transitionEnd},e("div",{"data-focus-fence":!0,onFocus:this.focusLastElement,tabindex:"0"}),e("div",{class:"header"},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:"header"}))),e("div",{class:{content:!0,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:t=>this.modalContent=t},e("slot",{name:"content"})),this.renderFooter(),e("div",{"data-focus-fence":!0,onFocus:this.focusFirstElement,tabindex:"0"})))}renderFooter(){return this.hasFooter?e("div",{class:"footer"},e("span",{class:"back"},e("slot",{name:"back"})),e("span",{class:"secondary"},e("slot",{name:"secondary"})),e("span",{class:"primary"},e("slot",{name:"primary"}))):null}renderCloseButton(){return this.disableCloseButton?null:e("button",{"aria-label":this.intlClose,class:"close",onClick:this.close,ref:t=>this.closeButtonEl=t,title:this.intlClose},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"l"}))}renderStyle(){return isNaN(parseInt(`${this.width}`))?null:e("style",null,`\n .modal {\n max-width: ${this.width}px !important;\n }\n @media screen and (max-width: ${this.width}px) {\n .modal {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n `)}handleEscape(t){this.active&&!this.disableEscape&&"Escape"===m(t.key)&&this.close()}async focusElement(t){return t&&t.focus(),this.setFocus()}async setFocus(t){const i=this.closeButtonEl;return r("close-button"===t?i:p(this.el)[0]||i)}async scrollContent(t=0,i=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:t,left:i,behavior:"smooth"}):(this.modalContent.scrollTop=t,this.modalContent.scrollLeft=i))}async toggleModal(t,i){t!==i&&(t?this.open():t||this.close())}open(){this.previousActiveElement=document.activeElement,this.el.addEventListener("calciteModalOpen",this.openEnd),this.active=!0;const t=l(this.el,"header"),i=l(this.el,"content");this.titleId=c(t),this.contentId=c(i),document.documentElement.classList.add("overflow-hidden")}removeOverflowHiddenClass(){document.documentElement.classList.remove("overflow-hidden")}get el(){return o(this)}static get watchers(){return{active:["toggleModal"]}}};x.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);-webkit-box-sizing:border-box;box-sizing:border-box;float:none;margin:1.5rem;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);width:100%;opacity:0;pointer-events:none;overflow:hidden;z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal{opacity:1;pointer-events:auto;visibility:visible;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;max-width:100%;min-width:0;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;color:var(--calcite-ui-text-3);-ms-flex-order:2;order:2;cursor:pointer;border-top-right-radius:0.25rem;background-color:transparent;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.calcite--rtl .close{border-top-left-radius:0.25rem;border-top-right-radius:0}.title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-order:1;order:1;min-width:0;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;padding:0;height:100%;overflow:auto;display:block;background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;width:100%;background-color:var(--calcite-ui-foreground-1);border-width:0;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-right:auto}.calcite--rtl .back{margin-left:auto;margin-right:0}.secondary{display:block;margin-left:0.25rem;margin-right:0.25rem}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-radius:0 var(--calcite-border-radius) 0 0}}@media screen and (max-width: 860px){:host([docked]) .calcite--rtl .close{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0;border-bottom-left-radius:0}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.calcite--rtl .back,.back,.secondary{margin:0;margin-bottom:0.25rem}}";export{x as calcite_modal}
@@ -0,0 +1,5 @@
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
+ System.register(["./p-91645bf7.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.a}],execute:function(){r({d:a,g:i,l:f});var e=r("a",["ar","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]);function n(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function a(r,t){if(r){var e=u(t);var n=i(t);var a=r.split("");var f=a.lastIndexOf(n);var s=a.map((function(r,t){if(r===e||r===n&&t!==f){return""}return r})).reduce((function(r,t){return r+t})).replace(n,".");return isNaN(Number(s))?r:s}return r}function u(r){var t=n(r);var e=t.formatToParts(1234567.8);var a=e.find((function(r){return r.type==="group"})).value;return a.trim().length===0?" ":a}function i(r){var t=n(r);var e=t.formatToParts(1234567.8);var a=e.find((function(r){return r.type==="decimal"})).value;return a.trim().length===0?" ":a}function f(r,e,a){if(a===void 0){a=false}if(r){var f=Number(t(r));if(!isNaN(f)){var s=n(e);var c=s.formatToParts(f);var o=c.map((function(r){var t=r.type,n=r.value;switch(t){case"group":return a?u(e):"";case"decimal":return i(e);default:return n}})).reduce((function(r,t){return r+t}));return o}}return r}}}}));