@esri/calcite-components 1.0.0-beta.80 → 1.0.0-beta.83

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 (1227) hide show
  1. package/dist/calcite/assets/date-picker/nls/ru.json +4 -4
  2. package/dist/calcite/assets/icon/compactness16.json +1 -0
  3. package/dist/calcite/assets/icon/compactness24.json +1 -0
  4. package/dist/calcite/assets/icon/compactness32.json +1 -0
  5. package/dist/calcite/assets/icon/configure16.json +1 -0
  6. package/dist/calcite/assets/icon/configure24.json +1 -0
  7. package/dist/calcite/assets/icon/configure32.json +1 -0
  8. package/dist/calcite/assets/icon/debugScript16.json +1 -0
  9. package/dist/calcite/assets/icon/debugScript24.json +1 -0
  10. package/dist/calcite/assets/icon/debugScript32.json +1 -0
  11. package/dist/calcite/assets/icon/dissolveFeatures16.json +1 -0
  12. package/dist/calcite/assets/icon/dissolveFeatures24.json +1 -0
  13. package/dist/calcite/assets/icon/dissolveFeatures32.json +1 -0
  14. package/dist/calcite/assets/icon/distanceType16.json +1 -0
  15. package/dist/calcite/assets/icon/distanceType24.json +1 -0
  16. package/dist/calcite/assets/icon/distanceType32.json +1 -0
  17. package/dist/calcite/assets/icon/fileEcd16.json +1 -0
  18. package/dist/calcite/assets/icon/fileEcd24.json +1 -0
  19. package/dist/calcite/assets/icon/fileEcd32.json +1 -0
  20. package/dist/calcite/assets/icon/gridDiamond16.json +1 -0
  21. package/dist/calcite/assets/icon/gridDiamond24.json +1 -0
  22. package/dist/calcite/assets/icon/gridDiamond32.json +1 -0
  23. package/dist/calcite/assets/icon/gridHexagon16.json +1 -0
  24. package/dist/calcite/assets/icon/gridHexagon24.json +1 -0
  25. package/dist/calcite/assets/icon/gridHexagon32.json +1 -0
  26. package/dist/calcite/assets/icon/gridTriangle16.json +1 -0
  27. package/dist/calcite/assets/icon/gridTriangle24.json +1 -0
  28. package/dist/calcite/assets/icon/gridTriangle32.json +1 -0
  29. package/dist/calcite/assets/icon/insets16.json +1 -0
  30. package/dist/calcite/assets/icon/insets24.json +1 -0
  31. package/dist/calcite/assets/icon/insets32.json +1 -0
  32. package/dist/calcite/assets/icon/listCheckAll16.json +1 -0
  33. package/dist/calcite/assets/icon/listCheckAll24.json +1 -0
  34. package/dist/calcite/assets/icon/listCheckAll32.json +1 -0
  35. package/dist/calcite/assets/icon/ltrElementsAlign16.json +1 -0
  36. package/dist/calcite/assets/icon/ltrElementsAlign24.json +1 -0
  37. package/dist/calcite/assets/icon/ltrElementsAlign32.json +1 -0
  38. package/dist/calcite/assets/icon/ltrParagraphAlign16.json +1 -0
  39. package/dist/calcite/assets/icon/ltrParagraphAlign24.json +1 -0
  40. package/dist/calcite/assets/icon/ltrParagraphAlign32.json +1 -0
  41. package/dist/calcite/assets/icon/maximumTerritoryDistance16.json +1 -0
  42. package/dist/calcite/assets/icon/maximumTerritoryDistance24.json +1 -0
  43. package/dist/calcite/assets/icon/maximumTerritoryDistance32.json +1 -0
  44. package/dist/calcite/assets/icon/minDistanceBetweenCenters16.json +1 -0
  45. package/dist/calcite/assets/icon/minDistanceBetweenCenters24.json +1 -0
  46. package/dist/calcite/assets/icon/minDistanceBetweenCenters32.json +1 -0
  47. package/dist/calcite/assets/icon/numberOfTerritories16.json +1 -0
  48. package/dist/calcite/assets/icon/numberOfTerritories24.json +1 -0
  49. package/dist/calcite/assets/icon/numberOfTerritories32.json +1 -0
  50. package/dist/calcite/assets/icon/overlapFeatures16.json +1 -0
  51. package/dist/calcite/assets/icon/overlapFeatures24.json +1 -0
  52. package/dist/calcite/assets/icon/overlapFeatures32.json +1 -0
  53. package/dist/calcite/assets/icon/profileVariables16.json +1 -0
  54. package/dist/calcite/assets/icon/profileVariables24.json +1 -0
  55. package/dist/calcite/assets/icon/profileVariables32.json +1 -0
  56. package/dist/calcite/assets/icon/rangefinder16.json +1 -0
  57. package/dist/calcite/assets/icon/rangefinder24.json +1 -0
  58. package/dist/calcite/assets/icon/rangefinder32.json +1 -0
  59. package/dist/calcite/assets/icon/rasterAnalysis16.json +1 -0
  60. package/dist/calcite/assets/icon/rasterAnalysis24.json +1 -0
  61. package/dist/calcite/assets/icon/rasterAnalysis32.json +1 -0
  62. package/dist/calcite/assets/icon/recurrence16.json +1 -0
  63. package/dist/calcite/assets/icon/recurrence24.json +1 -0
  64. package/dist/calcite/assets/icon/recurrence32.json +1 -0
  65. package/dist/calcite/assets/icon/rfid16.json +1 -0
  66. package/dist/calcite/assets/icon/rfid24.json +1 -0
  67. package/dist/calcite/assets/icon/rfid32.json +1 -0
  68. package/dist/calcite/assets/icon/rtlElementsAlign16.json +1 -0
  69. package/dist/calcite/assets/icon/rtlElementsAlign24.json +1 -0
  70. package/dist/calcite/assets/icon/rtlElementsAlign32.json +1 -0
  71. package/dist/calcite/assets/icon/rtlParagraphAlign16.json +1 -0
  72. package/dist/calcite/assets/icon/rtlParagraphAlign24.json +1 -0
  73. package/dist/calcite/assets/icon/rtlParagraphAlign32.json +1 -0
  74. package/dist/calcite/assets/icon/splitFeatures16.json +1 -0
  75. package/dist/calcite/assets/icon/splitFeatures24.json +1 -0
  76. package/dist/calcite/assets/icon/splitFeatures32.json +1 -0
  77. package/dist/calcite/assets/icon/territoryBufferDistance16.json +1 -0
  78. package/dist/calcite/assets/icon/territoryBufferDistance24.json +1 -0
  79. package/dist/calcite/assets/icon/territoryBufferDistance32.json +1 -0
  80. package/dist/calcite/assets/icon/testData16.json +1 -0
  81. package/dist/calcite/assets/icon/testData24.json +1 -0
  82. package/dist/calcite/assets/icon/testData32.json +1 -0
  83. package/dist/calcite/calcite.css +1 -1
  84. package/dist/calcite/calcite.esm.js +2 -1
  85. package/dist/calcite/calcite.js +1 -1
  86. package/dist/calcite/index.esm.js +1 -0
  87. package/dist/calcite/p-004e3dc9.js +6 -0
  88. package/dist/calcite/p-07587a94.system.entry.js +6 -0
  89. package/dist/calcite/{p-e66a8ca1.system.entry.js → p-0804ce36.system.entry.js} +3 -2
  90. package/dist/calcite/{p-9385e4b4.system.js → p-08b6213a.system.js} +2 -1
  91. package/dist/calcite/{p-9ac86d6a.entry.js → p-0cbdfc7e.entry.js} +2 -1
  92. package/dist/calcite/p-0d37d621.system.entry.js +6 -0
  93. package/dist/calcite/p-0e1c259f.system.entry.js +6 -0
  94. package/dist/calcite/p-0f41fb58.entry.js +6 -0
  95. package/dist/calcite/p-0fc84480.js +6 -0
  96. package/dist/calcite/p-132b60fd.system.entry.js +6 -0
  97. package/dist/calcite/p-1571ede3.system.entry.js +6 -0
  98. package/dist/calcite/{p-c2adeae4.entry.js → p-1755cd6f.entry.js} +2 -1
  99. package/dist/calcite/{p-6a541e77.system.js → p-191d0802.system.js} +2 -1
  100. package/dist/calcite/p-1a07da7e.system.js +6 -0
  101. package/dist/calcite/{p-b2493735.entry.js → p-1a5fc48b.entry.js} +2 -1
  102. package/dist/calcite/{p-4de6f4fd.system.js → p-1ba93966.system.js} +1 -0
  103. package/dist/calcite/{p-5958acc8.system.js → p-1bc2d58d.system.js} +1 -0
  104. package/dist/calcite/{p-5394666a.entry.js → p-1eb6cfb5.entry.js} +2 -1
  105. package/dist/calcite/p-1f94715e.entry.js +6 -0
  106. package/dist/calcite/p-2111668f.system.entry.js +6 -0
  107. package/dist/calcite/{p-5802a565.entry.js → p-23188966.entry.js} +2 -1
  108. package/dist/calcite/p-24edad61.entry.js +6 -0
  109. package/dist/calcite/p-25fd5141.entry.js +6 -0
  110. package/dist/calcite/p-2609d345.system.entry.js +6 -0
  111. package/dist/calcite/{p-052ba882.system.entry.js → p-26526a6d.system.entry.js} +2 -1
  112. package/dist/calcite/{p-8a7596e3.entry.js → p-2778cb53.entry.js} +2 -1
  113. package/dist/calcite/p-2785ecb9.system.js +6 -0
  114. package/dist/calcite/{p-6b5776af.js → p-292c567d.js} +1 -0
  115. package/dist/calcite/{p-7fc69a9d.js → p-2c974b60.js} +1 -0
  116. package/dist/calcite/{p-03c92ad2.entry.js → p-2e57803f.entry.js} +2 -1
  117. package/dist/calcite/{p-ac4aec20.system.js → p-2f82a677.system.js} +1 -0
  118. package/dist/calcite/p-2fcac2cf.system.entry.js +6 -0
  119. package/dist/calcite/p-2fd30fee.entry.js +6 -0
  120. package/dist/calcite/{p-1aded388.system.entry.js → p-358cba5a.system.entry.js} +2 -1
  121. package/dist/calcite/p-37c23e83.system.entry.js +6 -0
  122. package/dist/calcite/p-3962123d.system.entry.js +6 -0
  123. package/dist/calcite/{p-079a3322.js → p-3981a495.js} +1 -0
  124. package/dist/calcite/p-3a256056.entry.js +6 -0
  125. package/dist/calcite/{p-a11ee541.system.entry.js → p-3b54c4a0.system.entry.js} +2 -1
  126. package/dist/calcite/p-3d4548a9.js +6 -0
  127. package/dist/calcite/p-3f00dc7c.entry.js +6 -0
  128. package/dist/calcite/p-3f80afb9.system.entry.js +6 -0
  129. package/dist/calcite/p-41b0a2a1.system.js +6 -0
  130. package/dist/calcite/p-4214c119.system.entry.js +6 -0
  131. package/dist/calcite/p-45b6d321.entry.js +6 -0
  132. package/dist/calcite/p-4620ae05.entry.js +6 -0
  133. package/dist/calcite/p-462cefe9.system.entry.js +6 -0
  134. package/dist/calcite/{p-e095517f.system.js → p-46d30c39.system.js} +1 -0
  135. package/dist/calcite/p-476e276f.entry.js +6 -0
  136. package/dist/calcite/p-47bf0f7d.entry.js +6 -0
  137. package/dist/calcite/p-47dd3632.entry.js +6 -0
  138. package/dist/calcite/p-4a88016c.system.entry.js +6 -0
  139. package/dist/calcite/{p-bd38ff21.js → p-4effc6db.js} +1 -0
  140. package/dist/calcite/p-4f71c68d.js +6 -0
  141. package/dist/calcite/p-4f82d10a.system.entry.js +6 -0
  142. package/dist/calcite/{p-ef17447d.system.entry.js → p-506f5631.system.entry.js} +2 -1
  143. package/dist/calcite/p-515e5f7e.system.entry.js +6 -0
  144. package/dist/calcite/p-5207385b.system.entry.js +6 -0
  145. package/dist/calcite/p-53b147dc.system.entry.js +6 -0
  146. package/dist/calcite/{p-7ed4c551.system.js → p-57ccba45.system.js} +1 -0
  147. package/dist/calcite/{p-5bb4d012.entry.js → p-5904a047.entry.js} +2 -1
  148. package/dist/calcite/{p-97904e9a.entry.js → p-59122590.entry.js} +2 -1
  149. package/dist/calcite/p-59aae748.entry.js +6 -0
  150. package/dist/calcite/{p-b9a38a28.system.entry.js → p-5ae3ce21.system.entry.js} +2 -1
  151. package/dist/calcite/{p-05bf835f.js → p-5afb0fbb.js} +2 -1
  152. package/dist/calcite/p-5b60d64c.system.entry.js +6 -0
  153. package/dist/calcite/p-5df0640c.system.entry.js +6 -0
  154. package/dist/calcite/p-5e07a875.system.entry.js +6 -0
  155. package/dist/calcite/p-5eb016b6.system.entry.js +6 -0
  156. package/dist/calcite/p-61483431.system.entry.js +6 -0
  157. package/dist/calcite/p-623f6224.entry.js +6 -0
  158. package/dist/calcite/{p-3e9d96c6.system.entry.js → p-636e43ac.system.entry.js} +2 -1
  159. package/dist/calcite/p-63d2bcec.system.entry.js +6 -0
  160. package/dist/calcite/p-64384786.entry.js +6 -0
  161. package/dist/calcite/p-6531fb85.entry.js +6 -0
  162. package/dist/calcite/p-67af4998.entry.js +6 -0
  163. package/dist/calcite/p-67ef236d.entry.js +6 -0
  164. package/dist/calcite/{p-cb57638c.system.js → p-68e3013f.system.js} +2 -1
  165. package/dist/calcite/p-6a966c2f.entry.js +6 -0
  166. package/dist/calcite/{p-02d7cf64.system.entry.js → p-6bcb5a71.system.entry.js} +2 -1
  167. package/dist/calcite/p-6d41e372.system.entry.js +6 -0
  168. package/dist/calcite/p-717fac51.entry.js +6 -0
  169. package/dist/calcite/p-773b540e.system.entry.js +6 -0
  170. package/dist/calcite/{p-e020662f.system.js → p-77762ff3.system.js} +1 -0
  171. package/dist/calcite/p-78f2801c.entry.js +6 -0
  172. package/dist/calcite/p-799f79af.entry.js +6 -0
  173. package/dist/calcite/{p-2d09cc25.js → p-7a8cddad.js} +1 -0
  174. package/dist/calcite/p-7a95bbeb.entry.js +6 -0
  175. package/dist/calcite/p-7bbfe1a2.system.entry.js +6 -0
  176. package/dist/calcite/p-7d8fe7b3.system.entry.js +6 -0
  177. package/dist/calcite/p-7e576c74.system.entry.js +6 -0
  178. package/dist/calcite/p-800a9250.entry.js +6 -0
  179. package/dist/calcite/p-834f407d.system.entry.js +6 -0
  180. package/dist/calcite/p-85a769d3.system.entry.js +6 -0
  181. package/dist/calcite/p-878d7c09.system.js +6 -0
  182. package/dist/calcite/{p-4570cf6c.js → p-8dfe7af3.js} +2 -1
  183. package/dist/calcite/p-8e2129c6.system.entry.js +6 -0
  184. package/dist/calcite/p-900fd30e.js +6 -0
  185. package/dist/calcite/{p-eb3c084f.system.entry.js → p-912c9e61.system.entry.js} +2 -1
  186. package/dist/calcite/p-940ac25d.system.entry.js +6 -0
  187. package/dist/calcite/p-9634f60d.entry.js +6 -0
  188. package/dist/calcite/{p-a7770d75.entry.js → p-98dc9493.entry.js} +2 -1
  189. package/dist/calcite/{p-65dbbfb5.system.js → p-994d99ff.system.js} +3 -1
  190. package/dist/calcite/{p-7432e5ef.system.entry.js → p-9ba769e3.system.entry.js} +2 -1
  191. package/dist/calcite/{p-7bee4942.system.entry.js → p-9c85d763.system.entry.js} +2 -1
  192. package/dist/calcite/p-9d3f8b0c.system.entry.js +6 -0
  193. package/dist/calcite/p-9ea395ee.js +6 -0
  194. package/dist/calcite/p-a1118db1.entry.js +6 -0
  195. package/dist/calcite/p-a1176eac.system.entry.js +6 -0
  196. package/dist/calcite/p-a3e19cec.entry.js +6 -0
  197. package/dist/calcite/{p-8e0dd0af.system.entry.js → p-a5fd7a87.system.entry.js} +2 -1
  198. package/dist/calcite/p-a73419ab.js +6 -0
  199. package/dist/calcite/{p-3119ffce.system.js → p-a75ad7cb.system.js} +1 -0
  200. package/dist/calcite/p-a81ad35a.entry.js +6 -0
  201. package/dist/calcite/p-a945b681.system.js +6 -0
  202. package/dist/calcite/{p-7b8707b2.system.js → p-acafe8ca.system.js} +1 -0
  203. package/dist/calcite/p-adc2b773.entry.js +6 -0
  204. package/dist/calcite/{p-63624a01.js → p-ae6f5622.js} +1 -0
  205. package/dist/calcite/{p-1d6404b5.system.js → p-ba349f22.system.js} +1 -0
  206. package/dist/calcite/p-c1548c19.js +6 -0
  207. package/dist/calcite/p-c470cecf.entry.js +6 -0
  208. package/dist/calcite/p-c5eec108.entry.js +6 -0
  209. package/dist/calcite/{p-f344e163.entry.js → p-c84f0dec.entry.js} +2 -1
  210. package/dist/calcite/p-c86b91ca.entry.js +6 -0
  211. package/dist/calcite/{p-3c34f20d.system.js → p-c96917cb.system.js} +2 -1
  212. package/dist/calcite/p-caea0782.js +7 -0
  213. package/dist/calcite/p-cbe3c2c0.entry.js +6 -0
  214. package/dist/calcite/p-ccb27d44.system.entry.js +6 -0
  215. package/dist/calcite/{p-b06207bb.js → p-ccb5a784.js} +1 -0
  216. package/dist/calcite/p-d1d05643.entry.js +6 -0
  217. package/dist/calcite/p-d901c470.system.js +12 -0
  218. package/dist/calcite/p-db63dc35.system.entry.js +6 -0
  219. package/dist/calcite/p-dc10e8bb.system.entry.js +6 -0
  220. package/dist/calcite/p-ddb96773.system.js +6 -0
  221. package/dist/calcite/{p-cafd98e8.entry.js → p-df419c8b.entry.js} +2 -1
  222. package/dist/calcite/p-e0ff045a.js +6 -0
  223. package/dist/calcite/{p-1fc943d5.system.entry.js → p-e117fad1.system.entry.js} +2 -1
  224. package/dist/calcite/{p-c51699d3.system.js → p-e3076302.system.js} +2 -1
  225. package/dist/calcite/p-e321018b.js +12 -0
  226. package/dist/calcite/p-e6ef10e2.js +6 -0
  227. package/dist/calcite/p-e7336cab.entry.js +6 -0
  228. package/dist/calcite/{p-482885ae.system.entry.js → p-e9e34c7f.system.entry.js} +2 -1
  229. package/dist/calcite/p-ed0608ea.system.entry.js +6 -0
  230. package/dist/calcite/p-eda11878.entry.js +6 -0
  231. package/dist/calcite/{p-8ab345f2.js → p-edf3436f.js} +2 -1
  232. package/dist/calcite/p-ee47a382.system.entry.js +6 -0
  233. package/dist/calcite/p-ee8f8d7e.entry.js +6 -0
  234. package/dist/calcite/{p-cc6e7726.entry.js → p-ef4ca55d.entry.js} +2 -1
  235. package/dist/calcite/p-f1935a52.entry.js +6 -0
  236. package/dist/calcite/p-f313806e.entry.js +6 -0
  237. package/dist/calcite/p-f39d0565.system.entry.js +6 -0
  238. package/dist/calcite/{p-0a5d059d.js → p-f46cf640.js} +1 -0
  239. package/dist/calcite/{p-8a63221d.js → p-f54288ad.js} +1 -0
  240. package/dist/calcite/{p-a117af56.system.js → p-f7546789.system.js} +1 -0
  241. package/dist/calcite/p-f828bc9b.entry.js +6 -0
  242. package/dist/calcite/p-f850e63f.system.js +6 -0
  243. package/dist/calcite/{p-f68725d7.entry.js → p-f91e835d.entry.js} +2 -1
  244. package/dist/calcite/{p-f78023f1.system.js → p-f9687b03.system.js} +1 -0
  245. package/dist/calcite/p-f96d2623.system.entry.js +6 -0
  246. package/dist/calcite/{p-3b4662a5.entry.js → p-faaa959a.entry.js} +2 -1
  247. package/dist/calcite/p-fba2fa9f.system.js +6 -0
  248. package/dist/calcite/{p-78bc502f.entry.js → p-fd5a2277.entry.js} +2 -1
  249. package/dist/calcite/{p-18be4438.entry.js → p-fd70b6c1.entry.js} +2 -1
  250. package/dist/calcite/p-feb71776.system.entry.js +6 -0
  251. package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-988c63cd.js} +9 -6
  252. package/dist/cjs/{Heading-ec707493.js → Heading-19d7669b.js} +2 -1
  253. package/dist/cjs/{array-a5dedf5a.js → array-d5bca414.js} +1 -0
  254. package/dist/cjs/calcite-accordion_2.cjs.entry.js +24 -17
  255. package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -11
  256. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -7
  257. package/dist/cjs/calcite-action-menu.cjs.entry.js +28 -23
  258. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -10
  259. package/dist/cjs/calcite-action.cjs.entry.js +11 -6
  260. package/dist/cjs/calcite-alert.cjs.entry.js +18 -14
  261. package/dist/cjs/calcite-avatar.cjs.entry.js +11 -5
  262. package/dist/cjs/calcite-block_2.cjs.entry.js +32 -15
  263. package/dist/cjs/calcite-button.cjs.entry.js +24 -20
  264. package/dist/cjs/calcite-card.cjs.entry.js +23 -13
  265. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -9
  266. package/dist/cjs/calcite-chip.cjs.entry.js +16 -12
  267. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1417 -1389
  268. package/dist/cjs/calcite-combobox_3.cjs.entry.js +105 -58
  269. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +117 -44
  270. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +89 -48
  271. package/dist/cjs/calcite-fab.cjs.entry.js +6 -4
  272. package/dist/cjs/calcite-filter.cjs.entry.js +28 -21
  273. package/dist/cjs/calcite-flow.cjs.entry.js +13 -18
  274. package/dist/cjs/calcite-graph_2.cjs.entry.js +123 -48
  275. package/dist/cjs/calcite-handle.cjs.entry.js +7 -4
  276. package/dist/cjs/calcite-icon.cjs.entry.js +10 -5
  277. package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -18
  278. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +82 -32
  279. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
  280. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +90 -42
  281. package/dist/cjs/calcite-input.cjs.entry.js +76 -47
  282. package/dist/cjs/calcite-label.cjs.entry.js +7 -5
  283. package/dist/cjs/calcite-link.cjs.entry.js +8 -6
  284. package/dist/cjs/calcite-list_3.cjs.entry.js +21 -14
  285. package/dist/cjs/calcite-loader.cjs.entry.js +11 -8
  286. package/dist/cjs/calcite-modal.cjs.entry.js +31 -21
  287. package/dist/cjs/calcite-notice.cjs.entry.js +17 -14
  288. package/dist/cjs/calcite-option_3.cjs.entry.js +14 -13
  289. package/dist/cjs/calcite-pagination.cjs.entry.js +91 -5
  290. package/dist/cjs/calcite-panel.cjs.entry.js +44 -13
  291. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +33 -23
  292. package/dist/cjs/calcite-popover_2.cjs.entry.js +162 -56
  293. package/dist/cjs/calcite-progress.cjs.entry.js +2 -1
  294. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -2
  295. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -9
  296. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +12 -11
  297. package/dist/cjs/calcite-rating.cjs.entry.js +14 -9
  298. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -2
  299. package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -8
  300. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -4
  301. package/dist/cjs/calcite-split-button.cjs.entry.js +9 -5
  302. package/dist/cjs/calcite-stepper_2.cjs.entry.js +140 -117
  303. package/dist/cjs/calcite-switch.cjs.entry.js +13 -9
  304. package/dist/cjs/calcite-tab_4.cjs.entry.js +122 -81
  305. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
  306. package/dist/cjs/calcite-tile.cjs.entry.js +9 -7
  307. package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -10
  308. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +188 -144
  309. package/dist/cjs/calcite-tree_2.cjs.entry.js +33 -21
  310. package/dist/cjs/calcite-value-list_2.cjs.entry.js +40 -31
  311. package/dist/cjs/calcite.cjs.js +4 -3
  312. package/dist/cjs/{conditionalSlot-64f9bfd3.js → conditionalSlot-462ae1f4.js} +7 -2
  313. package/dist/cjs/{debounce-95979061.js → debounce-5127bc67.js} +1 -0
  314. package/dist/cjs/{dom-f3df220d.js → dom-b0904219.js} +28 -2
  315. package/dist/cjs/{forIn-a5d553af.js → forIn-265c8eb3.js} +2 -1
  316. package/dist/cjs/{form-0ef859c8.js → form-4c32a5c7.js} +36 -2
  317. package/dist/cjs/{guid-b270f0db.js → guid-8af0f93c.js} +1 -0
  318. package/dist/cjs/{index-1af0efd3.js → index-82ee13f7.js} +7 -7
  319. package/dist/cjs/index.cjs.js +1 -0
  320. package/dist/cjs/{interactive-87406231.js → interactive-15f9fd28.js} +7 -3
  321. package/dist/cjs/{interfaces-7216af30.js → interfaces-86334104.js} +1 -0
  322. package/dist/cjs/{label-980508de.js → label-131d9cce.js} +26 -18
  323. package/dist/cjs/loader.cjs.js +4 -3
  324. package/dist/cjs/{locale-02462821.js → locale-6c28abd8.js} +31 -28
  325. package/dist/cjs/{math-145c80e2.js → math-2f83830f.js} +1 -0
  326. package/dist/cjs/{number-e813e801.js → number-6f1151e7.js} +2 -1
  327. package/dist/cjs/{observers-79bfb8bc.js → observers-f672f664.js} +1 -0
  328. package/dist/cjs/{popper-64d89ef7.js → popper-5ca144d4.js} +29 -3
  329. package/dist/cjs/{resources-ac80e82c.js → resources-06f33bd4.js} +1 -0
  330. package/dist/cjs/{resources-7d5449fb.js → resources-08dc0a5e.js} +1 -0
  331. package/dist/cjs/{resources-e43fc9f3.js → resources-0de59f13.js} +9 -8
  332. package/dist/cjs/{resources-7811eb2c.js → resources-24a7ca1a.js} +44 -2
  333. package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-8e944897.js} +63 -54
  334. package/dist/cjs/{utils-6579522f.js → utils-f3a37c0a.js} +1 -0
  335. package/dist/collection/collection-manifest.json +1 -1
  336. package/dist/collection/components/accordion/accordion.js +16 -10
  337. package/dist/collection/components/accordion/interfaces.js +1 -0
  338. package/dist/collection/components/accordion-item/accordion-item.css +0 -2
  339. package/dist/collection/components/accordion-item/accordion-item.js +16 -14
  340. package/dist/collection/components/action/action.css +1 -3
  341. package/dist/collection/components/action/action.js +6 -2
  342. package/dist/collection/components/action/resources.js +1 -0
  343. package/dist/collection/components/action-bar/action-bar.js +16 -4
  344. package/dist/collection/components/action-bar/resources.js +1 -0
  345. package/dist/collection/components/action-bar/utils.js +1 -0
  346. package/dist/collection/components/action-group/action-group.js +1 -0
  347. package/dist/collection/components/action-group/resources.js +1 -0
  348. package/dist/collection/components/action-menu/action-menu.css +0 -2
  349. package/dist/collection/components/action-menu/action-menu.js +21 -16
  350. package/dist/collection/components/action-menu/resources.js +1 -0
  351. package/dist/collection/components/action-pad/action-pad.js +15 -4
  352. package/dist/collection/components/action-pad/resources.js +1 -0
  353. package/dist/collection/components/alert/alert.css +11 -24
  354. package/dist/collection/components/alert/alert.js +20 -15
  355. package/dist/collection/components/alert/interfaces.js +1 -0
  356. package/dist/collection/components/alert/resources.js +1 -0
  357. package/dist/collection/components/avatar/avatar.css +1 -1
  358. package/dist/collection/components/avatar/avatar.js +1 -0
  359. package/dist/collection/components/avatar/utils.js +6 -0
  360. package/dist/collection/components/block/block.css +0 -2
  361. package/dist/collection/components/block/block.js +37 -12
  362. package/dist/collection/components/block/resources.js +1 -0
  363. package/dist/collection/components/block-section/block-section.css +0 -2
  364. package/dist/collection/components/block-section/block-section.js +3 -2
  365. package/dist/collection/components/block-section/interfaces.js +1 -0
  366. package/dist/collection/components/block-section/resources.js +1 -0
  367. package/dist/collection/components/button/button.css +1 -3
  368. package/dist/collection/components/button/button.js +20 -15
  369. package/dist/collection/components/button/interfaces.js +1 -0
  370. package/dist/collection/components/button/resources.js +1 -0
  371. package/dist/collection/components/card/card.css +19 -5
  372. package/dist/collection/components/card/card.js +45 -10
  373. package/dist/collection/components/card/resources.js +3 -2
  374. package/dist/collection/components/checkbox/checkbox.css +13 -10
  375. package/dist/collection/components/checkbox/checkbox.js +5 -2
  376. package/dist/collection/components/chip/chip.css +23 -25
  377. package/dist/collection/components/chip/chip.js +7 -4
  378. package/dist/collection/components/chip/interfaces.js +1 -0
  379. package/dist/collection/components/chip/resources.js +4 -2
  380. package/dist/collection/components/color-picker/color-picker.css +2 -12
  381. package/dist/collection/components/color-picker/color-picker.js +76 -36
  382. package/dist/collection/components/color-picker/interfaces.js +1 -0
  383. package/dist/collection/components/color-picker/resources.js +1 -0
  384. package/dist/collection/components/color-picker/utils.js +1 -0
  385. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +48 -50
  386. package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
  387. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
  388. package/dist/collection/components/color-picker-swatch/resources.js +1 -0
  389. package/dist/collection/components/combobox/combobox.css +0 -2
  390. package/dist/collection/components/combobox/combobox.js +95 -47
  391. package/dist/collection/components/combobox/interfaces.js +1 -0
  392. package/dist/collection/components/combobox/resources.js +5 -0
  393. package/dist/collection/components/combobox/utils.js +1 -0
  394. package/dist/collection/components/combobox-item/combobox-item.css +1 -3
  395. package/dist/collection/components/combobox-item/combobox-item.js +11 -2
  396. package/dist/collection/components/combobox-item/resources.js +1 -0
  397. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -0
  398. package/dist/collection/components/combobox-item-group/resources.js +1 -0
  399. package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +4 -4
  400. package/dist/collection/components/date-picker/date-picker.js +36 -6
  401. package/dist/collection/components/date-picker/interfaces.js +1 -0
  402. package/dist/collection/components/date-picker/resources.js +1 -0
  403. package/dist/collection/components/date-picker/utils.js +7 -0
  404. package/dist/collection/components/date-picker-day/date-picker-day.css +7 -9
  405. package/dist/collection/components/date-picker-day/date-picker-day.js +4 -3
  406. package/dist/collection/components/date-picker-month/date-picker-month.js +38 -9
  407. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -7
  408. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +35 -19
  409. package/dist/collection/components/dropdown/dropdown.css +0 -1
  410. package/dist/collection/components/dropdown/dropdown.js +76 -35
  411. package/dist/collection/components/dropdown/interfaces.js +1 -0
  412. package/dist/collection/components/dropdown/resources.js +1 -0
  413. package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
  414. package/dist/collection/components/dropdown-group/dropdown-group.js +9 -6
  415. package/dist/collection/components/dropdown-group/interfaces.js +1 -0
  416. package/dist/collection/components/dropdown-group/resources.js +1 -0
  417. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -2
  418. package/dist/collection/components/dropdown-item/dropdown-item.js +19 -19
  419. package/dist/collection/components/dropdown-item/resources.js +1 -0
  420. package/dist/collection/components/fab/fab.js +2 -0
  421. package/dist/collection/components/fab/resources.js +1 -0
  422. package/dist/collection/components/filter/filter.css +2 -2
  423. package/dist/collection/components/filter/filter.js +20 -15
  424. package/dist/collection/components/filter/resources.js +3 -2
  425. package/dist/collection/components/flow/flow.css +1 -9
  426. package/dist/collection/components/flow/flow.js +12 -17
  427. package/dist/collection/components/flow/interfaces.js +1 -0
  428. package/dist/collection/components/flow/resources.js +1 -0
  429. package/dist/collection/components/functional/ExpandToggle.js +5 -2
  430. package/dist/collection/components/functional/Heading.js +1 -0
  431. package/dist/collection/components/graph/graph.css +1 -0
  432. package/dist/collection/components/graph/graph.js +1 -0
  433. package/dist/collection/components/graph/interfaces.js +1 -0
  434. package/dist/collection/components/graph/util.js +29 -0
  435. package/dist/collection/components/handle/handle.css +0 -2
  436. package/dist/collection/components/handle/handle.js +5 -3
  437. package/dist/collection/components/handle/resources.js +1 -0
  438. package/dist/collection/components/icon/assets/icon/compactness16.json +1 -0
  439. package/dist/collection/components/icon/assets/icon/compactness24.json +1 -0
  440. package/dist/collection/components/icon/assets/icon/compactness32.json +1 -0
  441. package/dist/collection/components/icon/assets/icon/configure16.json +1 -0
  442. package/dist/collection/components/icon/assets/icon/configure24.json +1 -0
  443. package/dist/collection/components/icon/assets/icon/configure32.json +1 -0
  444. package/dist/collection/components/icon/assets/icon/debugScript16.json +1 -0
  445. package/dist/collection/components/icon/assets/icon/debugScript24.json +1 -0
  446. package/dist/collection/components/icon/assets/icon/debugScript32.json +1 -0
  447. package/dist/collection/components/icon/assets/icon/dissolveFeatures16.json +1 -0
  448. package/dist/collection/components/icon/assets/icon/dissolveFeatures24.json +1 -0
  449. package/dist/collection/components/icon/assets/icon/dissolveFeatures32.json +1 -0
  450. package/dist/collection/components/icon/assets/icon/distanceType16.json +1 -0
  451. package/dist/collection/components/icon/assets/icon/distanceType24.json +1 -0
  452. package/dist/collection/components/icon/assets/icon/distanceType32.json +1 -0
  453. package/dist/collection/components/icon/assets/icon/fileEcd16.json +1 -0
  454. package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
  455. package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
  456. package/dist/collection/components/icon/assets/icon/gridDiamond16.json +1 -0
  457. package/dist/collection/components/icon/assets/icon/gridDiamond24.json +1 -0
  458. package/dist/collection/components/icon/assets/icon/gridDiamond32.json +1 -0
  459. package/dist/collection/components/icon/assets/icon/gridHexagon16.json +1 -0
  460. package/dist/collection/components/icon/assets/icon/gridHexagon24.json +1 -0
  461. package/dist/collection/components/icon/assets/icon/gridHexagon32.json +1 -0
  462. package/dist/collection/components/icon/assets/icon/gridTriangle16.json +1 -0
  463. package/dist/collection/components/icon/assets/icon/gridTriangle24.json +1 -0
  464. package/dist/collection/components/icon/assets/icon/gridTriangle32.json +1 -0
  465. package/dist/collection/components/icon/assets/icon/insets16.json +1 -0
  466. package/dist/collection/components/icon/assets/icon/insets24.json +1 -0
  467. package/dist/collection/components/icon/assets/icon/insets32.json +1 -0
  468. package/dist/collection/components/icon/assets/icon/listCheckAll16.json +1 -0
  469. package/dist/collection/components/icon/assets/icon/listCheckAll24.json +1 -0
  470. package/dist/collection/components/icon/assets/icon/listCheckAll32.json +1 -0
  471. package/dist/collection/components/icon/assets/icon/ltrElementsAlign16.json +1 -0
  472. package/dist/collection/components/icon/assets/icon/ltrElementsAlign24.json +1 -0
  473. package/dist/collection/components/icon/assets/icon/ltrElementsAlign32.json +1 -0
  474. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign16.json +1 -0
  475. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign24.json +1 -0
  476. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign32.json +1 -0
  477. package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance16.json +1 -0
  478. package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance24.json +1 -0
  479. package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance32.json +1 -0
  480. package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters16.json +1 -0
  481. package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters24.json +1 -0
  482. package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters32.json +1 -0
  483. package/dist/collection/components/icon/assets/icon/numberOfTerritories16.json +1 -0
  484. package/dist/collection/components/icon/assets/icon/numberOfTerritories24.json +1 -0
  485. package/dist/collection/components/icon/assets/icon/numberOfTerritories32.json +1 -0
  486. package/dist/collection/components/icon/assets/icon/overlapFeatures16.json +1 -0
  487. package/dist/collection/components/icon/assets/icon/overlapFeatures24.json +1 -0
  488. package/dist/collection/components/icon/assets/icon/overlapFeatures32.json +1 -0
  489. package/dist/collection/components/icon/assets/icon/profileVariables16.json +1 -0
  490. package/dist/collection/components/icon/assets/icon/profileVariables24.json +1 -0
  491. package/dist/collection/components/icon/assets/icon/profileVariables32.json +1 -0
  492. package/dist/collection/components/icon/assets/icon/rangefinder16.json +1 -0
  493. package/dist/collection/components/icon/assets/icon/rangefinder24.json +1 -0
  494. package/dist/collection/components/icon/assets/icon/rangefinder32.json +1 -0
  495. package/dist/collection/components/icon/assets/icon/rasterAnalysis16.json +1 -0
  496. package/dist/collection/components/icon/assets/icon/rasterAnalysis24.json +1 -0
  497. package/dist/collection/components/icon/assets/icon/rasterAnalysis32.json +1 -0
  498. package/dist/collection/components/icon/assets/icon/recurrence16.json +1 -0
  499. package/dist/collection/components/icon/assets/icon/recurrence24.json +1 -0
  500. package/dist/collection/components/icon/assets/icon/recurrence32.json +1 -0
  501. package/dist/collection/components/icon/assets/icon/rfid16.json +1 -0
  502. package/dist/collection/components/icon/assets/icon/rfid24.json +1 -0
  503. package/dist/collection/components/icon/assets/icon/rfid32.json +1 -0
  504. package/dist/collection/components/icon/assets/icon/rtlElementsAlign16.json +1 -0
  505. package/dist/collection/components/icon/assets/icon/rtlElementsAlign24.json +1 -0
  506. package/dist/collection/components/icon/assets/icon/rtlElementsAlign32.json +1 -0
  507. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign16.json +1 -0
  508. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign24.json +1 -0
  509. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign32.json +1 -0
  510. package/dist/collection/components/icon/assets/icon/splitFeatures16.json +1 -0
  511. package/dist/collection/components/icon/assets/icon/splitFeatures24.json +1 -0
  512. package/dist/collection/components/icon/assets/icon/splitFeatures32.json +1 -0
  513. package/dist/collection/components/icon/assets/icon/territoryBufferDistance16.json +1 -0
  514. package/dist/collection/components/icon/assets/icon/territoryBufferDistance24.json +1 -0
  515. package/dist/collection/components/icon/assets/icon/territoryBufferDistance32.json +1 -0
  516. package/dist/collection/components/icon/assets/icon/testData16.json +1 -0
  517. package/dist/collection/components/icon/assets/icon/testData24.json +1 -0
  518. package/dist/collection/components/icon/assets/icon/testData32.json +1 -0
  519. package/dist/collection/components/icon/icon.js +3 -2
  520. package/dist/collection/components/icon/resources.js +1 -0
  521. package/dist/collection/components/icon/utils.js +5 -0
  522. package/dist/collection/components/inline-editable/inline-editable.css +1 -4
  523. package/dist/collection/components/inline-editable/inline-editable.js +18 -13
  524. package/dist/collection/components/inline-editable/resources.js +1 -0
  525. package/dist/collection/components/input/input.css +14 -36
  526. package/dist/collection/components/input/input.js +106 -46
  527. package/dist/collection/components/input/interfaces.js +1 -0
  528. package/dist/collection/components/input/resources.js +4 -0
  529. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  530. package/dist/collection/components/input-date-picker/input-date-picker.js +107 -28
  531. package/dist/collection/components/input-message/input-message.css +11 -16
  532. package/dist/collection/components/input-message/input-message.js +1 -0
  533. package/dist/collection/components/input-message/interfaces.js +1 -0
  534. package/dist/collection/components/input-time-picker/input-time-picker.js +83 -14
  535. package/dist/collection/components/interfaces.js +1 -0
  536. package/dist/collection/components/label/label.css +2 -2
  537. package/dist/collection/components/label/label.js +2 -0
  538. package/dist/collection/components/label/resources.js +1 -0
  539. package/dist/collection/components/link/link.css +3 -14
  540. package/dist/collection/components/link/link.js +3 -1
  541. package/dist/collection/components/list/list.js +4 -3
  542. package/dist/collection/components/list/resources.js +1 -0
  543. package/dist/collection/components/list-item/list-item.css +20 -7
  544. package/dist/collection/components/list-item/list-item.js +12 -6
  545. package/dist/collection/components/list-item/resources.js +3 -1
  546. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  547. package/dist/collection/components/list-item-group/list-item-group.js +3 -2
  548. package/dist/collection/components/list-item-group/resources.js +1 -0
  549. package/dist/collection/components/loader/loader.css +3 -3
  550. package/dist/collection/components/loader/loader.js +18 -15
  551. package/dist/collection/components/modal/interfaces.js +1 -0
  552. package/dist/collection/components/modal/modal.css +7 -48
  553. package/dist/collection/components/modal/modal.js +79 -64
  554. package/dist/collection/components/modal/resources.js +1 -0
  555. package/dist/collection/components/notice/notice.css +5 -16
  556. package/dist/collection/components/notice/notice.js +27 -23
  557. package/dist/collection/components/notice/resources.js +1 -0
  558. package/dist/collection/components/option/option.js +5 -4
  559. package/dist/collection/components/option-group/option-group.js +4 -3
  560. package/dist/collection/components/pagination/pagination.css +2 -7
  561. package/dist/collection/components/pagination/pagination.js +32 -4
  562. package/dist/collection/components/pagination/resources.js +1 -0
  563. package/dist/collection/components/panel/panel.css +2 -1
  564. package/dist/collection/components/panel/panel.js +73 -12
  565. package/dist/collection/components/panel/resources.js +1 -0
  566. package/dist/collection/components/pick-list/pick-list.js +23 -11
  567. package/dist/collection/components/pick-list/resources.js +1 -0
  568. package/dist/collection/components/pick-list/shared-list-logic.js +3 -2
  569. package/dist/collection/components/pick-list/shared-list-render.js +3 -1
  570. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
  571. package/dist/collection/components/pick-list-group/resources.js +1 -0
  572. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -3
  573. package/dist/collection/components/pick-list-item/pick-list-item.js +25 -14
  574. package/dist/collection/components/pick-list-item/resources.js +1 -0
  575. package/dist/collection/components/popover/PopoverManager.js +75 -0
  576. package/dist/collection/components/popover/popover.css +5 -0
  577. package/dist/collection/components/popover/popover.js +121 -27
  578. package/dist/collection/components/popover/resources.js +1 -1
  579. package/dist/collection/components/popover-manager/popover-manager.js +33 -44
  580. package/dist/collection/components/progress/progress.js +1 -0
  581. package/dist/collection/components/radio-button/radio-button.css +10 -6
  582. package/dist/collection/components/radio-button/radio-button.js +6 -2
  583. package/dist/collection/components/radio-button/resources.js +1 -0
  584. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
  585. package/dist/collection/components/radio-group/interfaces.js +1 -0
  586. package/dist/collection/components/radio-group/radio-group.js +3 -2
  587. package/dist/collection/components/radio-group-item/radio-group-item.css +0 -2
  588. package/dist/collection/components/radio-group-item/radio-group-item.js +6 -5
  589. package/dist/collection/components/radio-group-item/resources.js +1 -0
  590. package/dist/collection/components/rating/rating.css +2 -12
  591. package/dist/collection/components/rating/rating.js +7 -2
  592. package/dist/collection/components/rating/resources.js +1 -0
  593. package/dist/collection/components/scrim/resources.js +1 -0
  594. package/dist/collection/components/scrim/scrim.js +4 -1
  595. package/dist/collection/components/select/resources.js +1 -0
  596. package/dist/collection/components/select/select.css +0 -2
  597. package/dist/collection/components/select/select.js +3 -2
  598. package/dist/collection/components/shell/resources.js +1 -0
  599. package/dist/collection/components/shell/shell.js +1 -0
  600. package/dist/collection/components/shell-center-row/resources.js +1 -0
  601. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  602. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -0
  603. package/dist/collection/components/shell-panel/resources.js +1 -0
  604. package/dist/collection/components/shell-panel/shell-panel.css +3 -6
  605. package/dist/collection/components/shell-panel/shell-panel.js +6 -1
  606. package/dist/collection/components/slider/slider.css +29 -2
  607. package/dist/collection/components/slider/slider.js +94 -41
  608. package/dist/collection/components/sortable-list/resources.js +1 -0
  609. package/dist/collection/components/sortable-list/sortable-list.js +1 -0
  610. package/dist/collection/components/split-button/resources.js +1 -0
  611. package/dist/collection/components/split-button/split-button.css +1 -4
  612. package/dist/collection/components/split-button/split-button.js +6 -2
  613. package/dist/{calcite/p-accdb0ce.js → collection/components/stepper/interfaces.js} +2 -1
  614. package/dist/collection/components/stepper/stepper.js +107 -67
  615. package/dist/collection/components/stepper-item/stepper-item.css +27 -2
  616. package/dist/collection/components/stepper-item/stepper-item.js +83 -82
  617. package/dist/collection/components/switch/switch.css +0 -2
  618. package/dist/collection/components/switch/switch.js +8 -4
  619. package/dist/collection/components/tab/interfaces.js +1 -0
  620. package/dist/collection/components/tab/tab.js +38 -22
  621. package/dist/collection/components/tab-nav/tab-nav.css +6 -0
  622. package/dist/collection/components/tab-nav/tab-nav.js +87 -37
  623. package/dist/collection/components/tab-title/tab-title.css +30 -15
  624. package/dist/collection/components/tab-title/tab-title.js +92 -44
  625. package/dist/collection/components/tabs/interfaces.js +1 -0
  626. package/dist/collection/components/tabs/resources.js +1 -0
  627. package/dist/collection/components/tabs/tabs.css +13 -1
  628. package/dist/collection/components/tabs/tabs.js +11 -9
  629. package/dist/collection/components/tile/resources.js +1 -0
  630. package/dist/collection/components/tile/tile.css +3 -4
  631. package/dist/collection/components/tile/tile.js +2 -0
  632. package/dist/collection/components/tile-select/interfaces.js +1 -0
  633. package/dist/collection/components/tile-select/resources.js +1 -0
  634. package/dist/collection/components/tile-select/tile-select.css +7 -2
  635. package/dist/collection/components/tile-select/tile-select.js +1 -0
  636. package/dist/collection/components/tile-select-group/interfaces.js +1 -0
  637. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  638. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -0
  639. package/dist/collection/components/time-picker/resources.js +1 -0
  640. package/dist/collection/components/time-picker/time-picker.js +61 -33
  641. package/dist/collection/components/tip/resources.js +1 -0
  642. package/dist/collection/components/tip/tip.css +0 -2
  643. package/dist/collection/components/tip/tip.js +1 -0
  644. package/dist/collection/components/tip-group/tip-group.js +1 -0
  645. package/dist/collection/components/tip-manager/resources.js +1 -0
  646. package/dist/collection/components/tip-manager/tip-manager.css +1 -13
  647. package/dist/collection/components/tip-manager/tip-manager.js +25 -5
  648. package/dist/collection/components/tooltip/TooltipManager.js +161 -0
  649. package/dist/collection/components/tooltip/resources.js +1 -1
  650. package/dist/collection/components/tooltip/tooltip.css +7 -4
  651. package/dist/collection/components/tooltip/tooltip.js +58 -29
  652. package/dist/collection/components/tooltip-manager/tooltip-manager.js +6 -163
  653. package/dist/collection/components/tree/interfaces.js +1 -0
  654. package/dist/collection/components/tree/tree.js +18 -12
  655. package/dist/collection/components/tree-item/interfaces.js +1 -0
  656. package/dist/collection/components/tree-item/resources.js +1 -0
  657. package/dist/collection/components/tree-item/tree-item.css +8 -14
  658. package/dist/collection/components/tree-item/tree-item.js +31 -24
  659. package/dist/collection/components/value-list/resources.js +1 -0
  660. package/dist/collection/components/value-list/value-list.js +41 -29
  661. package/dist/collection/components/value-list-item/resources.js +1 -0
  662. package/dist/collection/components/value-list-item/value-list-item.css +0 -2
  663. package/dist/collection/components/value-list-item/value-list-item.js +33 -23
  664. package/dist/collection/demos/_assets/demo-spacer.js +17 -0
  665. package/dist/collection/demos/_assets/demo-template.js +13 -0
  666. package/dist/collection/demos/_assets/head.js +45 -0
  667. package/dist/collection/demos/_assets/locales.js +223 -0
  668. package/dist/collection/utils/array.js +1 -0
  669. package/dist/collection/utils/conditionalSlot.js +5 -0
  670. package/dist/collection/utils/date.js +36 -0
  671. package/dist/collection/utils/dom.js +26 -1
  672. package/dist/collection/utils/filter.js +2 -1
  673. package/dist/collection/utils/form.js +32 -0
  674. package/dist/collection/utils/globalAttributes.js +6 -0
  675. package/dist/collection/utils/guid.js +1 -0
  676. package/dist/collection/utils/interactive.js +7 -3
  677. package/dist/collection/utils/key.js +1 -0
  678. package/dist/collection/utils/label.js +25 -17
  679. package/dist/collection/utils/locale.js +31 -27
  680. package/dist/collection/utils/math.js +1 -0
  681. package/dist/collection/utils/number.js +2 -1
  682. package/dist/collection/utils/observers.js +1 -0
  683. package/dist/collection/utils/popper.js +17 -2
  684. package/dist/collection/utils/resources.js +1 -0
  685. package/dist/collection/utils/time.js +1 -0
  686. package/dist/components/ExpandToggle.js +5 -2
  687. package/dist/components/Heading.js +1 -0
  688. package/dist/components/action-group.js +11 -16
  689. package/dist/components/action-menu.js +30 -31
  690. package/dist/components/action.js +7 -3
  691. package/dist/components/array.js +1 -0
  692. package/dist/components/button.js +19 -15
  693. package/dist/components/calcite-accordion-item.js +13 -11
  694. package/dist/components/calcite-accordion.js +12 -6
  695. package/dist/components/calcite-action-bar.js +20 -20
  696. package/dist/components/calcite-action-group.js +1 -0
  697. package/dist/components/calcite-action-menu.js +1 -0
  698. package/dist/components/calcite-action-pad.js +19 -20
  699. package/dist/components/calcite-action.js +1 -0
  700. package/dist/components/calcite-alert.js +16 -12
  701. package/dist/components/calcite-avatar.js +8 -2
  702. package/dist/components/calcite-block-section.js +4 -3
  703. package/dist/components/calcite-block.js +38 -27
  704. package/dist/components/calcite-button.js +1 -0
  705. package/dist/components/calcite-card.js +21 -10
  706. package/dist/components/calcite-checkbox.js +1 -0
  707. package/dist/components/calcite-chip.js +1 -0
  708. package/dist/components/calcite-color-picker-hex-input.js +1 -0
  709. package/dist/components/calcite-color-picker-swatch.js +1 -0
  710. package/dist/components/calcite-color-picker.js +77 -37
  711. package/dist/components/calcite-combobox-item-group.js +1 -0
  712. package/dist/components/calcite-combobox-item.js +4 -1
  713. package/dist/components/calcite-combobox.js +94 -48
  714. package/dist/components/calcite-date-picker-day.js +1 -0
  715. package/dist/components/calcite-date-picker-month-header.js +1 -0
  716. package/dist/components/calcite-date-picker-month.js +1 -0
  717. package/dist/components/calcite-date-picker.js +1 -0
  718. package/dist/components/calcite-dropdown-group.js +9 -6
  719. package/dist/components/calcite-dropdown-item.js +17 -17
  720. package/dist/components/calcite-dropdown.js +1 -0
  721. package/dist/components/calcite-fab.js +2 -0
  722. package/dist/components/calcite-filter.js +1 -0
  723. package/dist/components/calcite-flow.js +12 -17
  724. package/dist/components/calcite-graph.js +1 -0
  725. package/dist/components/calcite-handle.js +1 -0
  726. package/dist/components/calcite-icon.js +1 -0
  727. package/dist/components/calcite-inline-editable.js +18 -13
  728. package/dist/components/calcite-input-date-picker.js +76 -24
  729. package/dist/components/calcite-input-message.js +2 -1
  730. package/dist/components/calcite-input-time-picker.js +38 -11
  731. package/dist/components/calcite-input.js +1 -0
  732. package/dist/components/calcite-label.js +1 -0
  733. package/dist/components/calcite-link.js +1 -0
  734. package/dist/components/calcite-list-item-group.js +2 -1
  735. package/dist/components/calcite-list-item.js +12 -5
  736. package/dist/components/calcite-list.js +2 -1
  737. package/dist/components/calcite-loader.js +1 -0
  738. package/dist/components/calcite-modal.js +27 -18
  739. package/dist/components/calcite-notice.js +11 -8
  740. package/dist/components/calcite-option-group.js +3 -2
  741. package/dist/components/calcite-option.js +4 -3
  742. package/dist/components/calcite-pagination.js +90 -4
  743. package/dist/components/calcite-panel.js +50 -24
  744. package/dist/components/calcite-pick-list-group.js +2 -1
  745. package/dist/components/calcite-pick-list-item.js +1 -0
  746. package/dist/components/calcite-pick-list.js +13 -7
  747. package/dist/components/calcite-popover-manager.js +31 -37
  748. package/dist/components/calcite-popover.js +1 -0
  749. package/dist/components/calcite-progress.js +1 -0
  750. package/dist/components/calcite-radio-button-group.js +1 -0
  751. package/dist/components/calcite-radio-button.js +7 -3
  752. package/dist/components/calcite-radio-group-item.js +6 -5
  753. package/dist/components/calcite-radio-group.js +3 -2
  754. package/dist/components/calcite-rating.js +8 -3
  755. package/dist/components/calcite-scrim.js +1 -0
  756. package/dist/components/calcite-select.js +3 -2
  757. package/dist/components/calcite-shell-center-row.js +2 -1
  758. package/dist/components/calcite-shell-panel.js +3 -1
  759. package/dist/components/calcite-shell.js +1 -0
  760. package/dist/components/calcite-slider.js +86 -39
  761. package/dist/components/calcite-sortable-list.js +1 -0
  762. package/dist/components/calcite-split-button.js +7 -3
  763. package/dist/components/calcite-stepper-item.js +56 -64
  764. package/dist/components/calcite-stepper.js +83 -51
  765. package/dist/components/calcite-switch.js +1 -0
  766. package/dist/components/calcite-tab-nav.js +1 -0
  767. package/dist/components/calcite-tab-title.js +1 -0
  768. package/dist/components/calcite-tab.js +1 -0
  769. package/dist/components/calcite-tabs.js +1 -0
  770. package/dist/components/calcite-tile-select-group.js +2 -1
  771. package/dist/components/calcite-tile-select.js +2 -1
  772. package/dist/components/calcite-tile.js +1 -0
  773. package/dist/components/calcite-time-picker.js +1 -0
  774. package/dist/components/calcite-tip-group.js +1 -0
  775. package/dist/components/calcite-tip-manager.js +8 -5
  776. package/dist/components/calcite-tip.js +3 -2
  777. package/dist/components/calcite-tooltip-manager.js +48 -1
  778. package/dist/components/calcite-tooltip.js +195 -23
  779. package/dist/components/calcite-tree-item.js +19 -12
  780. package/dist/components/calcite-tree.js +12 -6
  781. package/dist/components/calcite-value-list-item.js +15 -11
  782. package/dist/components/calcite-value-list.js +20 -14
  783. package/dist/components/checkbox.js +6 -3
  784. package/dist/components/chip.js +11 -7
  785. package/dist/components/color-picker-hex-input.js +48 -50
  786. package/dist/components/color-picker-swatch.js +1337 -1345
  787. package/dist/components/conditionalSlot.js +5 -0
  788. package/dist/components/date-picker-day.js +4 -3
  789. package/dist/components/date-picker-month-header.js +36 -20
  790. package/dist/components/date-picker-month.js +36 -7
  791. package/dist/components/date-picker.js +42 -6
  792. package/dist/components/date.js +36 -0
  793. package/dist/components/debounce.js +1 -0
  794. package/dist/components/dom.js +27 -2
  795. package/dist/components/dropdown.js +65 -25
  796. package/dist/components/filter.js +22 -15
  797. package/dist/components/forIn.js +1 -0
  798. package/dist/components/form.js +34 -2
  799. package/dist/components/graph.js +30 -1
  800. package/dist/components/guid.js +1 -0
  801. package/dist/components/handle.js +5 -3
  802. package/dist/components/icon.js +7 -2
  803. package/dist/components/index.d.ts +1 -1
  804. package/dist/components/index.js +1 -0
  805. package/dist/components/input.js +71 -40
  806. package/dist/components/interactive.js +7 -3
  807. package/dist/components/interfaces.js +1 -0
  808. package/dist/components/interfaces2.js +1 -0
  809. package/dist/components/label.js +26 -18
  810. package/dist/components/label2.js +3 -1
  811. package/dist/components/link.js +4 -2
  812. package/dist/components/loader.js +9 -6
  813. package/dist/components/locale.js +31 -28
  814. package/dist/components/math.js +1 -0
  815. package/dist/components/number.js +2 -1
  816. package/dist/components/observers.js +1 -0
  817. package/dist/components/pick-list-item.js +16 -11
  818. package/dist/components/popover.js +152 -19
  819. package/dist/components/popper.js +27 -2
  820. package/dist/components/progress.js +1 -0
  821. package/dist/components/resources.js +11 -18
  822. package/dist/components/resources2.js +8 -5
  823. package/dist/components/resources3.js +25 -10
  824. package/dist/components/scrim.js +4 -1
  825. package/dist/components/shared-list-render.js +8 -7
  826. package/dist/components/sortable.esm.js +63 -54
  827. package/dist/components/switch.js +8 -4
  828. package/dist/components/tab-nav.js +53 -25
  829. package/dist/components/tab-title.js +45 -34
  830. package/dist/components/tab.js +21 -17
  831. package/dist/components/tabs.js +9 -7
  832. package/dist/components/tile.js +3 -1
  833. package/dist/components/time-picker.js +51 -27
  834. package/dist/components/utils.js +1 -0
  835. package/dist/components/utils2.js +1 -0
  836. package/dist/custom-elements/index.js +3712 -2723
  837. package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-ce794961.js} +9 -6
  838. package/dist/esm/{Heading-d5f1710a.js → Heading-9ccb3452.js} +2 -1
  839. package/dist/esm/{array-91a648e2.js → array-7a76d321.js} +1 -0
  840. package/dist/esm/calcite-accordion_2.entry.js +24 -17
  841. package/dist/esm/calcite-action-bar.entry.js +17 -11
  842. package/dist/esm/calcite-action-group.entry.js +8 -7
  843. package/dist/esm/calcite-action-menu.entry.js +28 -23
  844. package/dist/esm/calcite-action-pad.entry.js +15 -10
  845. package/dist/esm/calcite-action.entry.js +11 -6
  846. package/dist/esm/calcite-alert.entry.js +18 -14
  847. package/dist/esm/calcite-avatar.entry.js +11 -5
  848. package/dist/esm/calcite-block_2.entry.js +32 -15
  849. package/dist/esm/calcite-button.entry.js +24 -20
  850. package/dist/esm/calcite-card.entry.js +23 -13
  851. package/dist/esm/calcite-checkbox.entry.js +11 -9
  852. package/dist/esm/calcite-chip.entry.js +16 -12
  853. package/dist/esm/calcite-color-picker_3.entry.js +1417 -1389
  854. package/dist/esm/calcite-combobox_3.entry.js +105 -58
  855. package/dist/esm/calcite-date-picker_4.entry.js +117 -44
  856. package/dist/esm/calcite-dropdown_3.entry.js +89 -48
  857. package/dist/esm/calcite-fab.entry.js +6 -4
  858. package/dist/esm/calcite-filter.entry.js +28 -21
  859. package/dist/esm/calcite-flow.entry.js +13 -18
  860. package/dist/esm/calcite-graph_2.entry.js +123 -48
  861. package/dist/esm/calcite-handle.entry.js +7 -4
  862. package/dist/esm/calcite-icon.entry.js +10 -5
  863. package/dist/esm/calcite-inline-editable.entry.js +23 -18
  864. package/dist/esm/calcite-input-date-picker.entry.js +82 -32
  865. package/dist/esm/calcite-input-message.entry.js +5 -4
  866. package/dist/esm/calcite-input-time-picker_2.entry.js +90 -42
  867. package/dist/esm/calcite-input.entry.js +77 -48
  868. package/dist/esm/calcite-label.entry.js +7 -5
  869. package/dist/esm/calcite-link.entry.js +8 -6
  870. package/dist/esm/calcite-list_3.entry.js +21 -14
  871. package/dist/esm/calcite-loader.entry.js +11 -8
  872. package/dist/esm/calcite-modal.entry.js +31 -21
  873. package/dist/esm/calcite-notice.entry.js +17 -14
  874. package/dist/esm/calcite-option_3.entry.js +14 -13
  875. package/dist/esm/calcite-pagination.entry.js +91 -5
  876. package/dist/esm/calcite-panel.entry.js +44 -13
  877. package/dist/esm/calcite-pick-list_3.entry.js +33 -23
  878. package/dist/esm/calcite-popover_2.entry.js +162 -56
  879. package/dist/esm/calcite-progress.entry.js +2 -1
  880. package/dist/esm/calcite-radio-button-group.entry.js +3 -2
  881. package/dist/esm/calcite-radio-button.entry.js +13 -9
  882. package/dist/esm/calcite-radio-group_2.entry.js +12 -11
  883. package/dist/esm/calcite-rating.entry.js +14 -9
  884. package/dist/esm/calcite-scrim.entry.js +5 -2
  885. package/dist/esm/calcite-shell_3.entry.js +10 -8
  886. package/dist/esm/calcite-sortable-list.entry.js +5 -4
  887. package/dist/esm/calcite-split-button.entry.js +9 -5
  888. package/dist/esm/calcite-stepper_2.entry.js +140 -117
  889. package/dist/esm/calcite-switch.entry.js +13 -9
  890. package/dist/esm/calcite-tab_4.entry.js +122 -81
  891. package/dist/esm/calcite-tile-select_2.entry.js +6 -5
  892. package/dist/esm/calcite-tile.entry.js +9 -7
  893. package/dist/esm/calcite-tip_3.entry.js +13 -10
  894. package/dist/esm/calcite-tooltip_2.entry.js +188 -144
  895. package/dist/esm/calcite-tree_2.entry.js +33 -21
  896. package/dist/esm/calcite-value-list_2.entry.js +40 -31
  897. package/dist/esm/calcite.js +4 -3
  898. package/dist/esm/{conditionalSlot-67f579ff.js → conditionalSlot-6be8f3bd.js} +7 -2
  899. package/dist/esm/{debounce-79648d42.js → debounce-9626aac0.js} +1 -0
  900. package/dist/esm/{dom-e7fa77b9.js → dom-4caa79e4.js} +28 -3
  901. package/dist/esm/{forIn-48d8fb84.js → forIn-091a9d50.js} +2 -1
  902. package/dist/esm/{form-5e4609eb.js → form-7c2e444b.js} +35 -3
  903. package/dist/esm/{guid-196bd5ea.js → guid-27925469.js} +1 -0
  904. package/dist/esm/{index-bd94948c.js → index-1e02e91b.js} +7 -7
  905. package/dist/esm/index.js +1 -0
  906. package/dist/esm/{interactive-48b5cc0f.js → interactive-32803ed8.js} +7 -3
  907. package/dist/esm/{interfaces-0e5b954c.js → interfaces-64ad1cde.js} +1 -0
  908. package/dist/esm/{label-68f22660.js → label-ccf07634.js} +26 -18
  909. package/dist/esm/loader.js +4 -3
  910. package/dist/esm/{locale-fc850b7c.js → locale-705ed382.js} +31 -28
  911. package/dist/esm/{math-456207f5.js → math-351ff0de.js} +1 -0
  912. package/dist/esm/{number-8779395f.js → number-bb265f44.js} +2 -1
  913. package/dist/esm/{observers-46118290.js → observers-c18e9524.js} +1 -0
  914. package/dist/esm/polyfills/css-shim.js +1 -1
  915. package/dist/esm/{popper-da45ec93.js → popper-44b3ba83.js} +28 -3
  916. package/dist/esm/{resources-73dac782.js → resources-0aacb21d.js} +44 -2
  917. package/dist/esm/{resources-b5c3d9a7.js → resources-529884cb.js} +9 -8
  918. package/dist/esm/{resources-027bd8f9.js → resources-a2cad43d.js} +1 -0
  919. package/dist/esm/{resources-34334875.js → resources-a32d1180.js} +1 -0
  920. package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-4e7d5c7b.js} +63 -54
  921. package/dist/esm/{utils-e84055a3.js → utils-2f763d44.js} +1 -0
  922. package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-ce794961.js} +2 -1
  923. package/dist/esm-es5/{Heading-d5f1710a.js → Heading-9ccb3452.js} +2 -1
  924. package/dist/esm-es5/{array-91a648e2.js → array-7a76d321.js} +1 -0
  925. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
  926. package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
  927. package/dist/esm-es5/calcite-action-group.entry.js +2 -1
  928. package/dist/esm-es5/calcite-action-menu.entry.js +3 -2
  929. package/dist/esm-es5/calcite-action-pad.entry.js +3 -2
  930. package/dist/esm-es5/calcite-action.entry.js +2 -1
  931. package/dist/esm-es5/calcite-alert.entry.js +3 -2
  932. package/dist/esm-es5/calcite-avatar.entry.js +2 -1
  933. package/dist/esm-es5/calcite-block_2.entry.js +2 -1
  934. package/dist/esm-es5/calcite-button.entry.js +2 -1
  935. package/dist/esm-es5/calcite-card.entry.js +2 -1
  936. package/dist/esm-es5/calcite-checkbox.entry.js +3 -2
  937. package/dist/esm-es5/calcite-chip.entry.js +3 -2
  938. package/dist/esm-es5/calcite-color-picker_3.entry.js +3 -2
  939. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -2
  940. package/dist/esm-es5/calcite-date-picker_4.entry.js +3 -2
  941. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -2
  942. package/dist/esm-es5/calcite-fab.entry.js +2 -1
  943. package/dist/esm-es5/calcite-filter.entry.js +2 -1
  944. package/dist/esm-es5/calcite-flow.entry.js +2 -1
  945. package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
  946. package/dist/esm-es5/calcite-handle.entry.js +2 -1
  947. package/dist/esm-es5/calcite-icon.entry.js +2 -1
  948. package/dist/esm-es5/calcite-inline-editable.entry.js +3 -2
  949. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
  950. package/dist/esm-es5/calcite-input-message.entry.js +2 -1
  951. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +3 -2
  952. package/dist/esm-es5/calcite-input.entry.js +3 -2
  953. package/dist/esm-es5/calcite-label.entry.js +2 -1
  954. package/dist/esm-es5/calcite-link.entry.js +3 -2
  955. package/dist/esm-es5/calcite-list_3.entry.js +3 -2
  956. package/dist/esm-es5/calcite-loader.entry.js +2 -1
  957. package/dist/esm-es5/calcite-modal.entry.js +3 -2
  958. package/dist/esm-es5/calcite-notice.entry.js +3 -2
  959. package/dist/esm-es5/calcite-option_3.entry.js +2 -1
  960. package/dist/esm-es5/calcite-pagination.entry.js +2 -1
  961. package/dist/esm-es5/calcite-panel.entry.js +3 -2
  962. package/dist/esm-es5/calcite-pick-list_3.entry.js +3 -2
  963. package/dist/esm-es5/calcite-popover_2.entry.js +2 -1
  964. package/dist/esm-es5/calcite-progress.entry.js +2 -1
  965. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
  966. package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
  967. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
  968. package/dist/esm-es5/calcite-rating.entry.js +2 -1
  969. package/dist/esm-es5/calcite-scrim.entry.js +2 -1
  970. package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
  971. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
  972. package/dist/esm-es5/calcite-split-button.entry.js +2 -1
  973. package/dist/esm-es5/calcite-stepper_2.entry.js +3 -2
  974. package/dist/esm-es5/calcite-switch.entry.js +3 -2
  975. package/dist/esm-es5/calcite-tab_4.entry.js +3 -2
  976. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -1
  977. package/dist/esm-es5/calcite-tile.entry.js +2 -1
  978. package/dist/esm-es5/calcite-tip_3.entry.js +3 -2
  979. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -2
  980. package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
  981. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
  982. package/dist/esm-es5/calcite.js +2 -1
  983. package/dist/esm-es5/{conditionalSlot-67f579ff.js → conditionalSlot-6be8f3bd.js} +2 -1
  984. package/dist/esm-es5/{debounce-79648d42.js → debounce-9626aac0.js} +1 -0
  985. package/dist/esm-es5/dom-4caa79e4.js +6 -0
  986. package/dist/esm-es5/{forIn-48d8fb84.js → forIn-091a9d50.js} +2 -1
  987. package/dist/esm-es5/form-7c2e444b.js +6 -0
  988. package/dist/esm-es5/{guid-196bd5ea.js → guid-27925469.js} +1 -0
  989. package/dist/esm-es5/{index-bd94948c.js → index-1e02e91b.js} +4 -2
  990. package/dist/esm-es5/index.js +1 -0
  991. package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-32803ed8.js} +1 -0
  992. package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-64ad1cde.js} +1 -0
  993. package/dist/esm-es5/label-ccf07634.js +6 -0
  994. package/dist/esm-es5/loader.js +2 -1
  995. package/dist/esm-es5/locale-705ed382.js +6 -0
  996. package/dist/esm-es5/{math-456207f5.js → math-351ff0de.js} +1 -0
  997. package/dist/esm-es5/number-bb265f44.js +6 -0
  998. package/dist/esm-es5/{observers-46118290.js → observers-c18e9524.js} +1 -0
  999. package/dist/esm-es5/{popper-da45ec93.js → popper-44b3ba83.js} +2 -1
  1000. package/dist/esm-es5/{resources-73dac782.js → resources-0aacb21d.js} +3 -2
  1001. package/dist/esm-es5/resources-529884cb.js +6 -0
  1002. package/dist/esm-es5/{resources-027bd8f9.js → resources-a2cad43d.js} +1 -0
  1003. package/dist/esm-es5/{resources-34334875.js → resources-a32d1180.js} +1 -0
  1004. package/dist/esm-es5/sortable.esm-4e7d5c7b.js +12 -0
  1005. package/dist/esm-es5/{utils-e84055a3.js → utils-2f763d44.js} +1 -0
  1006. package/dist/extras/docs-json.d.ts +3 -0
  1007. package/dist/extras/docs-json.json +577 -301
  1008. package/dist/loader/cdn.js +1 -0
  1009. package/dist/loader/index.cjs.js +1 -0
  1010. package/dist/loader/index.es2017.js +1 -0
  1011. package/dist/loader/index.js +1 -0
  1012. package/dist/types/components/accordion/accordion.d.ts +6 -4
  1013. package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
  1014. package/dist/types/components/action/action.d.ts +4 -1
  1015. package/dist/types/components/action-bar/action-bar.d.ts +6 -1
  1016. package/dist/types/components/action-menu/action-menu.d.ts +4 -2
  1017. package/dist/types/components/action-pad/action-pad.d.ts +5 -1
  1018. package/dist/types/components/alert/alert.d.ts +11 -6
  1019. package/dist/types/components/avatar/utils.d.ts +5 -0
  1020. package/dist/types/components/block/block.d.ts +12 -4
  1021. package/dist/types/components/button/button.d.ts +7 -4
  1022. package/dist/types/components/card/card.d.ts +13 -4
  1023. package/dist/types/components/card/resources.d.ts +1 -1
  1024. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  1025. package/dist/types/components/chip/chip.d.ts +3 -1
  1026. package/dist/types/components/chip/resources.d.ts +3 -2
  1027. package/dist/types/components/color-picker/color-picker.d.ts +58 -18
  1028. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +5 -1
  1029. package/dist/types/components/combobox/combobox.d.ts +15 -4
  1030. package/dist/types/components/combobox/resources.d.ts +4 -0
  1031. package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
  1032. package/dist/types/components/date-picker/date-picker.d.ts +32 -3
  1033. package/dist/types/components/date-picker/utils.d.ts +5 -0
  1034. package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -1
  1035. package/dist/types/components/date-picker-month/date-picker-month.d.ts +30 -2
  1036. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +10 -1
  1037. package/dist/types/components/dropdown/dropdown.d.ts +18 -9
  1038. package/dist/types/components/dropdown-group/dropdown-group.d.ts +5 -3
  1039. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
  1040. package/dist/types/components/fab/fab.d.ts +1 -0
  1041. package/dist/types/components/filter/filter.d.ts +3 -3
  1042. package/dist/types/components/filter/resources.d.ts +1 -1
  1043. package/dist/types/components/flow/flow.d.ts +1 -4
  1044. package/dist/types/components/graph/util.d.ts +14 -0
  1045. package/dist/types/components/handle/handle.d.ts +1 -1
  1046. package/dist/types/components/icon/utils.d.ts +4 -0
  1047. package/dist/types/components/inline-editable/inline-editable.d.ts +10 -5
  1048. package/dist/types/components/input/input.d.ts +32 -13
  1049. package/dist/types/components/input/resources.d.ts +3 -0
  1050. package/dist/types/components/input-date-picker/input-date-picker.d.ts +35 -7
  1051. package/dist/types/components/input-message/input-message.d.ts +7 -3
  1052. package/dist/types/components/input-time-picker/input-time-picker.d.ts +15 -2
  1053. package/dist/types/components/interfaces.d.ts +1 -0
  1054. package/dist/types/components/label/label.d.ts +1 -0
  1055. package/dist/types/components/link/link.d.ts +2 -1
  1056. package/dist/types/components/list/list.d.ts +2 -2
  1057. package/dist/types/components/list-item/list-item.d.ts +3 -3
  1058. package/dist/types/components/list-item/resources.d.ts +1 -0
  1059. package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
  1060. package/dist/types/components/loader/loader.d.ts +11 -9
  1061. package/dist/types/components/modal/modal.d.ts +37 -28
  1062. package/dist/types/components/notice/notice.d.ts +24 -19
  1063. package/dist/types/components/option/option.d.ts +1 -1
  1064. package/dist/types/components/option-group/option-group.d.ts +1 -1
  1065. package/dist/types/components/pagination/pagination.d.ts +13 -3
  1066. package/dist/types/components/panel/panel.d.ts +18 -2
  1067. package/dist/types/components/pick-list/pick-list.d.ts +7 -3
  1068. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
  1069. package/dist/types/components/pick-list-item/pick-list-item.d.ts +9 -3
  1070. package/dist/types/components/popover/PopoverManager.d.ts +13 -0
  1071. package/dist/types/components/popover/popover.d.ts +32 -7
  1072. package/dist/types/components/popover/resources.d.ts +0 -1
  1073. package/dist/types/components/popover-manager/popover-manager.d.ts +7 -2
  1074. package/dist/types/components/radio-button/radio-button.d.ts +6 -0
  1075. package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
  1076. package/dist/types/components/rating/rating.d.ts +6 -2
  1077. package/dist/types/components/scrim/scrim.d.ts +3 -1
  1078. package/dist/types/components/shell-panel/shell-panel.d.ts +3 -0
  1079. package/dist/types/components/slider/slider.d.ts +24 -2
  1080. package/dist/types/components/split-button/split-button.d.ts +5 -2
  1081. package/dist/types/components/stepper/interfaces.d.ts +10 -0
  1082. package/dist/types/components/stepper/stepper.d.ts +20 -11
  1083. package/dist/types/components/stepper-item/stepper-item.d.ts +7 -8
  1084. package/dist/types/components/switch/switch.d.ts +3 -1
  1085. package/dist/types/components/tab/tab.d.ts +11 -8
  1086. package/dist/types/components/tab-nav/tab-nav.d.ts +34 -21
  1087. package/dist/types/components/tab-title/tab-title.d.ts +37 -28
  1088. package/dist/types/components/tabs/tabs.d.ts +7 -6
  1089. package/dist/types/components/tile/tile.d.ts +1 -0
  1090. package/dist/types/components/time-picker/time-picker.d.ts +45 -17
  1091. package/dist/types/components/tip-manager/tip-manager.d.ts +7 -1
  1092. package/dist/types/components/tooltip/TooltipManager.d.ts +28 -0
  1093. package/dist/types/components/tooltip/resources.d.ts +0 -1
  1094. package/dist/types/components/tooltip/tooltip.d.ts +15 -13
  1095. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +2 -29
  1096. package/dist/types/components/tree/tree.d.ts +14 -7
  1097. package/dist/types/components/tree-item/tree-item.d.ts +28 -14
  1098. package/dist/types/components/value-list/value-list.d.ts +20 -16
  1099. package/dist/types/components/value-list-item/value-list-item.d.ts +15 -12
  1100. package/dist/types/components.d.ts +606 -252
  1101. package/dist/types/preact.d.ts +63 -59
  1102. package/dist/types/utils/conditionalSlot.d.ts +4 -0
  1103. package/dist/types/utils/date.d.ts +35 -0
  1104. package/dist/types/utils/dom.d.ts +18 -2
  1105. package/dist/types/utils/form.d.ts +34 -5
  1106. package/dist/types/utils/globalAttributes.d.ts +5 -0
  1107. package/dist/types/utils/interactive.d.ts +7 -4
  1108. package/dist/types/utils/label.d.ts +7 -0
  1109. package/dist/types/utils/locale.d.ts +2 -1
  1110. package/dist/types/utils/popper.d.ts +6 -4
  1111. package/hydrate/index.d.ts +1 -1
  1112. package/hydrate/index.js +3805 -2797
  1113. package/package.json +49 -48
  1114. package/readme.md +4 -5
  1115. package/dist/calcite/p-07f1f162.system.entry.js +0 -5
  1116. package/dist/calcite/p-1263bcc0.entry.js +0 -5
  1117. package/dist/calcite/p-162604a0.entry.js +0 -5
  1118. package/dist/calcite/p-193749c1.entry.js +0 -5
  1119. package/dist/calcite/p-1aeca42a.system.entry.js +0 -5
  1120. package/dist/calcite/p-23145377.entry.js +0 -5
  1121. package/dist/calcite/p-28c333d0.entry.js +0 -5
  1122. package/dist/calcite/p-2bcaed33.entry.js +0 -5
  1123. package/dist/calcite/p-2dd22e8c.system.entry.js +0 -5
  1124. package/dist/calcite/p-2fae8516.system.entry.js +0 -5
  1125. package/dist/calcite/p-31c58f25.entry.js +0 -5
  1126. package/dist/calcite/p-32d6b962.entry.js +0 -5
  1127. package/dist/calcite/p-32efc4cd.system.entry.js +0 -5
  1128. package/dist/calcite/p-34730e94.entry.js +0 -5
  1129. package/dist/calcite/p-364db271.entry.js +0 -5
  1130. package/dist/calcite/p-364f0abe.system.entry.js +0 -5
  1131. package/dist/calcite/p-3915705c.entry.js +0 -5
  1132. package/dist/calcite/p-3e149640.system.entry.js +0 -5
  1133. package/dist/calcite/p-42227a04.entry.js +0 -5
  1134. package/dist/calcite/p-426f011a.entry.js +0 -5
  1135. package/dist/calcite/p-46071f17.entry.js +0 -5
  1136. package/dist/calcite/p-47d38839.entry.js +0 -5
  1137. package/dist/calcite/p-48637359.system.entry.js +0 -5
  1138. package/dist/calcite/p-4905189e.system.entry.js +0 -5
  1139. package/dist/calcite/p-496e907a.system.entry.js +0 -5
  1140. package/dist/calcite/p-4aecbaef.entry.js +0 -5
  1141. package/dist/calcite/p-4afb5a1b.system.entry.js +0 -5
  1142. package/dist/calcite/p-4eae61c5.entry.js +0 -5
  1143. package/dist/calcite/p-54c49493.entry.js +0 -5
  1144. package/dist/calcite/p-55e1a3a0.system.entry.js +0 -5
  1145. package/dist/calcite/p-569150ab.system.entry.js +0 -5
  1146. package/dist/calcite/p-588bfa74.system.js +0 -5
  1147. package/dist/calcite/p-5a8829cd.entry.js +0 -5
  1148. package/dist/calcite/p-5c637131.entry.js +0 -5
  1149. package/dist/calcite/p-5f6e35f3.entry.js +0 -5
  1150. package/dist/calcite/p-614d8925.js +0 -5
  1151. package/dist/calcite/p-6261469d.entry.js +0 -5
  1152. package/dist/calcite/p-653bd7bf.entry.js +0 -5
  1153. package/dist/calcite/p-69d2d9cf.system.entry.js +0 -5
  1154. package/dist/calcite/p-6ab3e489.entry.js +0 -5
  1155. package/dist/calcite/p-6b7b23d0.js +0 -5
  1156. package/dist/calcite/p-6c4a7041.system.entry.js +0 -5
  1157. package/dist/calcite/p-6e0103f5.system.entry.js +0 -5
  1158. package/dist/calcite/p-6ed27595.system.entry.js +0 -5
  1159. package/dist/calcite/p-6fba3e1b.system.entry.js +0 -5
  1160. package/dist/calcite/p-7247b667.system.entry.js +0 -5
  1161. package/dist/calcite/p-7260c869.system.entry.js +0 -5
  1162. package/dist/calcite/p-765c9bef.entry.js +0 -5
  1163. package/dist/calcite/p-7c88d545.js +0 -5
  1164. package/dist/calcite/p-824da4be.entry.js +0 -5
  1165. package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
  1166. package/dist/calcite/p-872e82a6.system.entry.js +0 -5
  1167. package/dist/calcite/p-87888359.entry.js +0 -5
  1168. package/dist/calcite/p-895d22f3.entry.js +0 -5
  1169. package/dist/calcite/p-8b982f91.entry.js +0 -5
  1170. package/dist/calcite/p-8f3a3e4e.js +0 -5
  1171. package/dist/calcite/p-963e9aec.system.entry.js +0 -5
  1172. package/dist/calcite/p-9940b82a.system.entry.js +0 -5
  1173. package/dist/calcite/p-9ad8c7c5.system.entry.js +0 -5
  1174. package/dist/calcite/p-9c913e3a.entry.js +0 -5
  1175. package/dist/calcite/p-9e61d89d.entry.js +0 -5
  1176. package/dist/calcite/p-a9b3ef39.js +0 -5
  1177. package/dist/calcite/p-a9ea7f4f.entry.js +0 -5
  1178. package/dist/calcite/p-aaa21a84.system.entry.js +0 -5
  1179. package/dist/calcite/p-aad14a5d.system.entry.js +0 -5
  1180. package/dist/calcite/p-ac9607f2.system.js +0 -11
  1181. package/dist/calcite/p-afe59546.entry.js +0 -5
  1182. package/dist/calcite/p-b0827b8c.system.entry.js +0 -5
  1183. package/dist/calcite/p-b10af2b4.entry.js +0 -5
  1184. package/dist/calcite/p-b2b6f712.js +0 -5
  1185. package/dist/calcite/p-b3c5247b.system.entry.js +0 -5
  1186. package/dist/calcite/p-b47dc903.system.entry.js +0 -5
  1187. package/dist/calcite/p-b765d197.system.js +0 -5
  1188. package/dist/calcite/p-bb401f25.system.js +0 -5
  1189. package/dist/calcite/p-bccbf58a.entry.js +0 -5
  1190. package/dist/calcite/p-bdcb43b1.system.entry.js +0 -5
  1191. package/dist/calcite/p-bffb4da3.system.entry.js +0 -5
  1192. package/dist/calcite/p-c228a1da.system.entry.js +0 -5
  1193. package/dist/calcite/p-c2caeb2a.system.entry.js +0 -5
  1194. package/dist/calcite/p-c4cb35ba.system.entry.js +0 -5
  1195. package/dist/calcite/p-c5ec8d74.js +0 -11
  1196. package/dist/calcite/p-c9fc13b9.system.entry.js +0 -5
  1197. package/dist/calcite/p-cb847074.entry.js +0 -5
  1198. package/dist/calcite/p-cbc6fee6.entry.js +0 -5
  1199. package/dist/calcite/p-cd5f5c8f.js +0 -5
  1200. package/dist/calcite/p-cd9226a1.system.entry.js +0 -5
  1201. package/dist/calcite/p-daf5f04c.system.js +0 -5
  1202. package/dist/calcite/p-dcf33bb2.js +0 -5
  1203. package/dist/calcite/p-dd9f2e61.js +0 -5
  1204. package/dist/calcite/p-e22ab8fa.entry.js +0 -5
  1205. package/dist/calcite/p-e3280a36.system.entry.js +0 -5
  1206. package/dist/calcite/p-e43605c5.entry.js +0 -5
  1207. package/dist/calcite/p-e4d1651b.system.entry.js +0 -5
  1208. package/dist/calcite/p-e55c5bb4.entry.js +0 -5
  1209. package/dist/calcite/p-ea4119b1.system.entry.js +0 -5
  1210. package/dist/calcite/p-ec9bab33.system.js +0 -5
  1211. package/dist/calcite/p-ecc31b40.system.entry.js +0 -5
  1212. package/dist/calcite/p-edf1e815.system.entry.js +0 -5
  1213. package/dist/calcite/p-ee522afa.system.entry.js +0 -5
  1214. package/dist/calcite/p-ef6b4184.js +0 -5
  1215. package/dist/calcite/p-f09e27b0.system.js +0 -5
  1216. package/dist/calcite/p-fa922721.system.js +0 -5
  1217. package/dist/calcite/p-fe9380a0.system.js +0 -5
  1218. package/dist/components/resources4.js +0 -15
  1219. package/dist/components/resources5.js +0 -32
  1220. package/dist/components/tooltip-manager.js +0 -175
  1221. package/dist/esm-es5/dom-e7fa77b9.js +0 -5
  1222. package/dist/esm-es5/form-5e4609eb.js +0 -5
  1223. package/dist/esm-es5/label-68f22660.js +0 -5
  1224. package/dist/esm-es5/locale-fc850b7c.js +0 -5
  1225. package/dist/esm-es5/number-8779395f.js +0 -5
  1226. package/dist/esm-es5/resources-b5c3d9a7.js +0 -5
  1227. package/dist/esm-es5/sortable.esm-04824d33.js +0 -11
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,n){function o(t){try{c(r.next(t))}catch(t){n(t)}}function s(t){try{c(r["throw"](t))}catch(t){n(t)}}function c(t){t.done?a(t.value):i(t.value).then(o,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];i=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,a){if(a||arguments.length===2)for(var r=0,i=e.length,n;r<i;r++){if(n||!(r in e)){if(!n)n=Array.prototype.slice.call(e,0,r);n[r]=e[r]}}return t.concat(n||Array.prototype.slice.call(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
+ * v1.0.0-beta.83
6
+ */System.register(["./p-994d99ff.system.js","./p-e3076302.system.js","./p-ddb96773.system.js","./p-a75ad7cb.system.js","./p-68e3013f.system.js","./p-878d7c09.system.js","./p-c96917cb.system.js","./p-77762ff3.system.js"],(function(t){"use strict";var e,a,r,i,n,o,s,c,l,d,h,u,f,p,g,v,m,w,D,y,b,x,k,A;return{setters:[function(t){e=t.r;a=t.c;r=t.h;i=t.H;n=t.g;o=t.F},function(t){s=t.T;c=t.c;l=t.d;d=t.a;h=t.b;u=t.g;f=t.H;p=t.s;g=t.i;v=t.l;m=t.e;w=t.n;D=t.f;y=t.h},function(t){b=t.a;x=t.C},function(t){k=t.u},function(t){A=t.H},function(){},function(){},function(){}],execute:function(){var R="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";var _=t("calcite_date_picker",function(){function t(t){var r=this;e(this,t);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyUpHandler=function(t){if(t.key==="Escape"){r.reset()}};this.monthHeaderSelectChange=function(t){var e=new Date(t.detail);if(!r.range){r.activeDate=e}else{if(r.activeRange==="end"){r.activeEndDate=e}else{r.activeStartDate=e}r.mostRecentRangeValue=e}};this.monthActiveDateChange=function(t){var e=new Date(t.detail);if(!r.range){r.activeDate=e}else{if(r.activeRange==="end"){r.activeEndDate=e}else{r.activeStartDate=e}r.mostRecentRangeValue=e}};this.monthHoverChange=function(t){if(!r.startAsDate){r.hoverRange=undefined;return}var e=new Date(t.detail);r.hoverRange={focused:r.activeRange||"start",start:r.startAsDate,end:r.endAsDate};if(!r.proximitySelectionDisabled){if(r.endAsDate){var a=c(e,r.startAsDate);var i=c(e,r.endAsDate);if(i>0){r.hoverRange.end=e;r.hoverRange.focused="end"}else if(a<0){r.hoverRange.start=e;r.hoverRange.focused="start"}else if(a>i){r.hoverRange.start=e;r.hoverRange.focused="start"}else{r.hoverRange.end=e;r.hoverRange.focused="end"}}else{if(e<r.startAsDate){r.hoverRange={focused:"start",start:e,end:r.startAsDate}}else{r.hoverRange.end=e;r.hoverRange.focused="end"}}}else{if(!r.endAsDate){if(e<r.startAsDate){r.hoverRange={focused:"start",start:e,end:r.startAsDate}}else{r.hoverRange.end=e;r.hoverRange.focused="end"}}else{r.hoverRange=undefined}}t.stopPropagation()};this.monthMouseOutChange=function(){if(r.hoverRange){r.hoverRange=undefined}};this.reset=function(){var t,e,a,i,n,o;if(!Array.isArray(r.valueAsDate)&&r.valueAsDate&&((t=r.valueAsDate)===null||t===void 0?void 0:t.getTime())!==((e=r.activeDate)===null||e===void 0?void 0:e.getTime())){r.activeDate=new Date(r.valueAsDate)}if(r.startAsDate&&((a=r.startAsDate)===null||a===void 0?void 0:a.getTime())!==((i=r.activeStartDate)===null||i===void 0?void 0:i.getTime())){r.activeStartDate=new Date(r.startAsDate)}if(r.endAsDate&&((n=r.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=r.activeEndDate)===null||o===void 0?void 0:o.getTime())){r.activeEndDate=new Date(r.endAsDate)}};this.monthDateChange=function(t){var e=new Date(t.detail);if(!r.range){r.value=e?l(e):"";r.valueAsDate=e||null;r.activeDate=e||null;r.calciteDatePickerChange.emit(e);return}if(!r.startAsDate||!r.endAsDate&&e<r.startAsDate){if(r.startAsDate){r.setEndDate(new Date(r.startAsDate))}if(r.activeRange=="end"){r.setEndDate(e)}else{r.setStartDate(e)}}else if(!r.endAsDate){r.setEndDate(e)}else{if(!r.proximitySelectionDisabled){if(r.activeRange){if(r.activeRange=="end"){r.setEndDate(e)}else{r.setStartDate(e)}}else{var a=c(e,r.startAsDate);var i=c(e,r.endAsDate);if(i===0||a<0){r.setStartDate(e)}else if(a===0||i<0){r.setEndDate(e)}else if(a<i){r.setStartDate(e)}else{r.setEndDate(e)}}}else{r.setStartDate(e);r.endAsDate=r.activeEndDate=r.end=undefined}}r.calciteDatePickerChange.emit(e)}}t.prototype.handleValueAsDate=function(t){if(!Array.isArray(t)&&t&&t!==this.activeDate){this.activeDate=t}};t.prototype.handleRangeChange=function(){var t=this,e=t.startAsDate,a=t.endAsDate;this.activeEndDate=a;this.activeStartDate=e};t.prototype.onMinChanged=function(t){if(t){this.minAsDate=d(t)}};t.prototype.onMaxChanged=function(t){if(t){this.maxAsDate=d(t)}};t.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(t){return d(t)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=d(this.value)}if(this.start){this.setStartAsDate(d(this.start))}if(this.end){this.setEndAsDate(d(this.end))}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(this.max)}};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();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};t.prototype.render=function(){var t;var e=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var a=this.range?this.getActiveStartDate(e,this.minAsDate,this.maxAsDate):this.getActiveDate(e,this.minAsDate,this.maxAsDate);var n=a;var o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((t=this.hoverRange)===null||t===void 0?void 0:t.focused)==="end"&&(!this.proximitySelectionDisabled||o))&&s){n=s}if(this.range&&this.mostRecentRangeValue){n=this.mostRecentRangeValue}var c=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:e||this.minAsDate:this.minAsDate;var l=this.range&&this.activeRange?this.activeRange==="start"?o||this.maxAsDate:this.maxAsDate:this.maxAsDate;return r(i,{onBlur:this.reset,onKeyUp:this.keyUpHandler,role:"application"},this.renderCalendar(n,l,c,e,o))};t.prototype.valueHandler=function(t){if(Array.isArray(t)){this.valueAsDate=t.map((function(t){return d(t)}));this.start=t[0];this.end=t[1]}else if(t){this.valueAsDate=d(t);this.start="";this.end=""}};t.prototype.startWatcher=function(t){this.setStartAsDate(d(t))};t.prototype.endWatcher=function(t){this.setEndAsDate(d(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,u(t)];case 1:e.localeData=a.sent();return[2]}}))}))};t.prototype.renderCalendar=function(t,e,a,i,n){return this.localeData&&[r("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||f,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:e,min:a,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i||new Date}),r("calcite-date-picker-month",{activeDate:t,endDate:this.range?n:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:e,min:a,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i,startDate:this.range?i:undefined})]};t.prototype.setStartAsDate=function(t,e){this.startAsDate=t;this.mostRecentRangeValue=this.startAsDate;if(e){this.calciteDatePickerRangeChange.emit({startDate:t,endDate:this.endAsDate})}};t.prototype.setEndAsDate=function(t,e){this.endAsDate=t;this.mostRecentRangeValue=this.endAsDate;if(e){this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:t})}};t.prototype.setEndDate=function(t){this.end=t?l(t):"";this.setEndAsDate(t,true);this.activeEndDate=t||null};t.prototype.setStartDate=function(t){this.start=t?l(t):"";this.setStartAsDate(t,true);this.activeStartDate=t||null};t.prototype.getActiveDate=function(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)};t.prototype.getActiveStartDate=function(t,e,a){return h(this.activeStartDate,e,a)||t||h(new Date,e,a)};t.prototype.getActiveEndDate=function(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return t}());_.style=R;var M="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;min-width:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);width:14.2857142857%}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-top:1px;margin-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";var C=t("calcite_date_picker_day",function(){function t(t){var r=this;e(this,t);this.calciteDaySelect=a(this,"calciteDaySelect",7);this.calciteInternalDayHover=a(this,"calciteInternalDayHover",7);this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.onClick=function(){!r.disabled&&r.calciteDaySelect.emit()};this.keyDownHandler=function(t){var e=t.key;if(e===" "||e==="Enter"){!r.disabled&&r.calciteDaySelect.emit()}}}t.prototype.mouseoverHandler=function(){this.calciteInternalDayHover.emit({disabled:this.disabled})};t.prototype.render=function(){var t;var e=this;var a=String(this.day).split("").map((function(t){return e.localeData.numerals[t]})).join("");var n=b(this.el);return r(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},r("div",{class:(t={"day-v-wrapper":true},t[x.rtl]=n==="rtl",t)},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},a)))))};t.prototype.componentDidRender=function(){k(this,this.isTabbable)};t.prototype.isTabbable=function(){return this.active};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());C.style=M;var S="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}.calender{margin-bottom:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);width:14.2857142857%}:host([scale=s]) .week-header{padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-left:0px;padding-right:0px;padding-top:1rem;padding-bottom:1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-top:0px;padding-bottom:0px;padding-left:6px;padding-right:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";var P=t("calcite_date_picker_month",function(){function t(t){var r=this;e(this,t);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.calciteInternalDatePickerHover=a(this,"calciteInternalDatePickerHover",7);this.calciteDatePickerActiveDateChange=a(this,"calciteDatePickerActiveDateChange",7);this.calciteInternalDatePickerMouseOut=a(this,"calciteInternalDatePickerMouseOut",7);this.activeDate=new Date;this.keyDownHandler=function(t){var e=r.el.dir==="rtl";switch(t.key){case"ArrowUp":t.preventDefault();r.addDays(-7);break;case"ArrowRight":t.preventDefault();r.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault();r.addDays(7);break;case"ArrowLeft":t.preventDefault();r.addDays(e?1:-1);break;case"PageUp":t.preventDefault();r.addMonths(-1);break;case"PageDown":t.preventDefault();r.addMonths(1);break;case"Home":t.preventDefault();r.activeDate.setDate(1);r.addDays();break;case"End":t.preventDefault();r.activeDate.setDate(new Date(r.activeDate.getFullYear(),r.activeDate.getMonth()+1,0).getDate());r.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":r.activeFocus=false}};this.disableActiveFocus=function(){r.activeFocus=false};this.dayHover=function(t){var e=t.target;if(t.detail.disabled){r.calciteInternalDatePickerMouseOut.emit()}else{r.calciteInternalDatePickerHover.emit(e.value)}t.stopPropagation()};this.daySelect=function(t){var e=t.target;r.calciteDatePickerSelect.emit(e.value)}}t.prototype.mouseoutHandler=function(){this.calciteInternalDatePickerMouseOut.emit()};t.prototype.render=function(){var t=this;var e=this.activeDate.getMonth();var a=this.activeDate.getFullYear();var n=this.localeData.weekStart%7;var o=this.localeData.days,s=o.abbreviated,c=o.short,l=o.narrow;var d=this.scale==="s"?l||c||s:c||s||l;var h=__spreadArray(__spreadArray([],d.slice(n,7),true),d.slice(0,n),true);var u=this.getCurrentMonthDays(e,a);var f=this.getPrevMonthdays(e,a,n);var g=this.getNextMonthDays(e,a,n);var v=__spreadArray(__spreadArray(__spreadArray([],f.map((function(r){var i=new Date(a,e-1,r);return t.renderDateDay(false,r,i)})),true),u.map((function(r){var i=new Date(a,e,r);var n=p(i,t.activeDate);return t.renderDateDay(n,r,i,true,true)})),true),g.map((function(r){var i=new Date(a,e+1,r);return t.renderDateDay(false,r,i)})),true);var m=[];for(var w=0;w<v.length;w+=7){m.push(v.slice(w,w+7))}return r(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calender",role:"grid"},r("div",{class:"week-headers",role:"row"},h.map((function(t){return r("span",{class:"week-header",role:"columnheader"},t)}))),m.map((function(t){return r("div",{class:"week-days",role:"row"},t)}))))};t.prototype.addMonths=function(t){var e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t);this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max));this.activeFocus=true};t.prototype.addDays=function(t){if(t===void 0){t=0}var e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t);this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max));this.activeFocus=true};t.prototype.getPrevMonthdays=function(t,e,a){var r=new Date(e,t,0);var i=r.getDate();var n=r.getDay();var o=[];if(n-6===a){return o}for(var s=Math.abs(r.getDay()-a);s>=0;s--){o.push(i-s)}return o};t.prototype.getCurrentMonthDays=function(t,e){var a=new Date(e,t+1,0).getDate();var r=[];for(var i=0;i<a;i++){r.push(i+1)}return r};t.prototype.getNextMonthDays=function(t,e,a){var r=new Date(e,t+1,0).getDay();var i=[];if(r===(a+6)%7){return i}for(var n=0;n<(6-(r-a))%7;n++){i.push(n+1)}return i};t.prototype.betweenSelectedRange=function(t){return!!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate&&!this.isRangeHover(t))};t.prototype.isSelected=function(t){return!!(p(t,this.selectedDate)||this.startDate&&p(t,this.startDate)||this.endDate&&p(t,this.endDate))};t.prototype.isStartOfRange=function(t){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,t)&&!this.isEndOfRange(t))};t.prototype.isEndOfRange=function(t){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,t)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(t,this.hoverRange.end))};t.prototype.renderDateDay=function(t,e,a,i,n){var o=this;var s;var c=this.isFocusedOnStart();var l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p((s=this.hoverRange)===null||s===void 0?void 0:s.end,this.startDate);return r("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:i,day:e,disabled:!g(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),key:a.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(e){if(n&&t&&o.activeFocus){e===null||e===void 0?void 0:e.focus()}},scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a})};t.prototype.isFocusedOnStart=function(){var t;return((t=this.hoverRange)===null||t===void 0?void 0:t.focused)==="start"};t.prototype.isHoverInRange=function(){if(!this.hoverRange){return false}var t=this.hoverRange,e=t.start,a=t.end;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||a<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)};t.prototype.isRangeHover=function(t){if(!this.hoverRange){return false}var e=this.hoverRange,a=e.start,r=e.end;var i=this.isFocusedOnStart();var n=this.isHoverInRange();var o=n&&(!i&&t>this.startDate&&(t<r||p(t,r))||i&&t<this.endDate&&(t>a||p(t,a)));var s=!n&&(!i&&t>=this.endDate&&(t<r||p(t,r))||i&&(t<this.startDate||this.endDate&&p(t,this.startDate))&&(t>a||p(t,a)));return o||s};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());P.style=S;var z="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([scale=s]) .text{margin-top:0.5rem;margin-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{height:2.25rem}:host([scale=m]) .text{margin-top:0.75rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{height:3rem}:host([scale=l]) .text{margin-top:1rem;margin-bottom:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{height:3.5rem}.chevron{margin-left:-0.25rem;margin-right:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-left:0.25rem;padding-right:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;width:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-top:auto;margin-bottom:auto;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-left:0.25rem;margin-right:0.25rem;margin-top:auto;margin-bottom:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;width:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{width:4rem;text-align:left}.year-wrap{position:relative}.suffix{position:absolute;top:0px;left:0px;width:4rem;white-space:nowrap;text-align:left}.suffix__invisible{visibility:hidden}";var H=t("calcite_date_picker_month_header",function(){function t(t){var r=this;e(this,t);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.onYearKey=function(t){var e=t.target.value;switch(t.key){case"ArrowDown":t.preventDefault();r.setYear({localizedYear:e,offset:-1});break;case"ArrowUp":t.preventDefault();r.setYear({localizedYear:e,offset:1});break}};this.onYearChange=function(t){r.setYear({localizedYear:t.target.value})};this.onYearInput=function(t){r.setYear({localizedYear:t.target.value,commit:false})};this.prevMonthClick=function(t){r.handleArrowClick(t,r.prevMonthDate)};this.prevMonthKeydown=function(t){var e=t.key;if(e===" "||e==="Enter"){r.prevMonthClick(t)}};this.nextMonthClick=function(t){r.handleArrowClick(t,r.nextMonthDate)};this.nextMonthKeydown=function(t){var e=t.key;if(e===" "||e==="Enter"){r.nextMonthClick(t)}};this.handleArrowClick=function(t,e){t===null||t===void 0?void 0:t.preventDefault();t.stopPropagation();r.calciteDatePickerSelect.emit(e)}}t.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};t.prototype.render=function(){return r("div",{class:"header"},this.renderContent())};t.prototype.renderContent=function(){var t=this;var e;if(!this.activeDate||!this.localeData){return null}var a=this.activeDate.getMonth();var i=this.localeData,n=i.months,s=i.unitOrder;var c=(n.wide||n.narrow||n.abbreviated)[a];var l=v(this.activeDate.getFullYear(),this.localeData);var d=this.scale==="l"?"m":"s";var h=m(s);var u=h.indexOf("y")<h.indexOf("m");var f=(e=this.localeData.year)===null||e===void 0?void 0:e.suffix;return r(o,null,r("a",{"aria-disabled":(this.prevMonthDate.getMonth()===a).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:d})),r("div",{class:{text:true,"text--reverse":u}},r(A,{class:"month",level:this.headingLevel},c),r("span",{class:"year-wrap"},r("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:function(e){return t.yearInput=e},type:"text",value:l}),f&&r("span",{class:"suffix"},r("span",{"aria-hidden":"true",class:"suffix__invisible"},l)," "+f))),r("a",{"aria-disabled":(this.nextMonthDate.getMonth()===a).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:d})))};t.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=h(w(this.activeDate),this.min,this.max);this.prevMonthDate=h(D(this.activeDate),this.min,this.max)};t.prototype.getInRangeDate=function(t){var e=t.localizedYear,a=t.offset,r=a===void 0?0:a;var i=this,n=i.min,o=i.max,s=i.activeDate,c=i.localeData;var l=y(e,c);var d=l.toString().length;var u=isNaN(l)?false:l+r;var f=u&&(!n||n.getFullYear()<=u)&&(!o||o.getFullYear()>=u);if(u&&f&&d===e.length){var p=new Date(s);p.setFullYear(u);return h(p,n,o)}};t.prototype.setYear=function(t){var e=t.localizedYear,a=t.commit,r=a===void 0?true:a,i=t.offset,n=i===void 0?0:i;var o=this,s=o.yearInput,c=o.activeDate,l=o.localeData;var d=this.getInRangeDate({localizedYear:e,offset:n});if(d){this.calciteDatePickerSelect.emit(d)}if(r){s.value=v((d||c).getFullYear(),l)}};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return t}());H.style=z}}}));
@@ -0,0 +1,6 @@
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
+ * v1.0.0-beta.83
5
+ */
6
+ System.register(["./p-994d99ff.system.js","./p-ddb96773.system.js","./p-77762ff3.system.js"],(function(t){"use strict";var i,a,e,n,s,o;return{setters:[function(t){i=t.r;a=t.h;e=t.H;n=t.g},function(t){s=t.s;o=t.d},function(){}],execute:function(){var c;(function(t){t["valid"]="check-circle";t["invalid"]="exclamation-mark-triangle";t["idle"]="information"})(c||(c={}));var r="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:0px;width:100%;-ms-flex-align:center;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active]){visibility:visible;height:auto;opacity:1;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active][scale=m]),:host([active][scale=l]){margin-top:var(--calcite-input-message-spacing-value)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-input-message-icon{pointer-events:none;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){margin-top:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){margin-top:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";var l=t("calcite_input_message",function(){function t(t){i(this,t);this.active=false;this.scale="m";this.status="idle"}t.prototype.handleIconEl=function(){this.requestedIcon=s(c,this.icon,this.status)};t.prototype.connectedCallback=function(){this.status=o(this.el,"status",this.status);this.scale=o(this.el,"scale",this.scale);this.requestedIcon=s(c,this.icon,this.status)};t.prototype.render=function(){var t=!this.active;return a(e,{"calcite-hydrated-hidden":t},this.renderIcon(this.requestedIcon),a("slot",null))};t.prototype.renderIcon=function(t){if(t){return a("calcite-icon",{class:"calcite-input-message-icon",icon:t,scale:"s"})}};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{status:["handleIconEl"],icon:["handleIconEl"]}},enumerable:false,configurable:true});return t}());l.style=r}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):r(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-beta.83
6
+ */System.register(["./p-994d99ff.system.js","./p-2785ecb9.system.js","./p-77762ff3.system.js","./p-ddb96773.system.js","./p-68e3013f.system.js","./p-2f82a677.system.js"],(function(e){"use strict";var t,n,i,r,a,o,s,l,c,p,f,d,m,u,h,b,v;return{setters:[function(e){t=e.r;n=e.c;i=e.f;r=e.h;a=e.H;o=e.g},function(e){s=e.a;l=e.f;c=e.u;p=e.c;f=e.C},function(e){d=e.g},function(e){m=e.h;u=e.t;h=e.q},function(e){b=e.H},function(e){v=e.c}],execute:function(){var w={container:"container",arrow:"arrow",imageContainer:"image-container",closeButtonContainer:"close-button-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContent:"header-content",heading:"heading"};var y={close:"Close"};var g="auto";var k="aria-controls";var x="aria-expanded";var D=2;var E=function(){function e(){var e=this;this.registeredElements=new WeakMap;this.registeredElementCount=0;this.queryPopover=function(t){var n=e.registeredElements;var i=t.find((function(e){return n.has(e)}));return n.get(i)};this.togglePopovers=function(t){var n=t.composedPath();var i=e.queryPopover(n);if(i&&!i.triggerDisabled){i.toggle();return}m(t.target,"calcite-popover").filter((function(e){return e.autoClose&&e.open&&!n.includes(e)})).forEach((function(e){return e.toggle(false)}))};this.keyHandler=function(t){if(t.key!=="Enter"&&t.key!==" "){return}e.togglePopovers(t)};this.clickHandler=function(t){e.togglePopovers(t)}}e.prototype.registerElement=function(e,t){this.registeredElementCount++;this.registeredElements.set(e,t);if(this.registeredElementCount===1){this.addListeners()}};e.prototype.unregisterElement=function(e){if(this.registeredElements.delete(e)){this.registeredElementCount--}if(this.registeredElementCount===0){this.removeListeners()}};e.prototype.addListeners=function(){document.addEventListener("pointerdown",this.clickHandler,{capture:true});document.addEventListener("keydown",this.keyHandler,{capture:true})};e.prototype.removeListeners=function(){document.removeEventListener("pointerdown",this.clickHandler,{capture:true});document.removeEventListener("keydown",this.keyHandler,{capture:true})};return e}();var P='@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([data-popper-placement][data-popper-reference-hidden]){pointer-events:none;opacity:0}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-bottom-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}';var _=new E;var C=e("calcite_popover",function(){function e(e){var i=this;t(this,e);this.calcitePopoverClose=n(this,"calcitePopoverClose",7);this.calcitePopoverOpen=n(this,"calcitePopoverOpen",7);this.autoClose=false;this.closeButton=false;this.dismissible=false;this.disableFlip=false;this.disablePointer=false;this.offsetDistance=s;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement=g;this.triggerDisabled=false;this.intlClose=y.close;this.guid="calcite-popover-".concat(d());this.activeTransitionProp="opacity";this.setFilteredPlacements=function(){var e=i,t=e.el,n=e.flipPlacements;i.filteredFlipPlacements=n?l(n,t):null};this.setUpReferenceElement=function(){i.removeReferences();i.effectiveReferenceElement=i.getReferenceElement();var e=i,t=e.el,n=e.referenceElement,r=e.effectiveReferenceElement;if(n&&!r){console.warn("".concat(t.tagName,': reference-element id "').concat(n,'" was not found.'),{el:t})}i.addReferences();i.createPopper()};this.getId=function(){return i.el.id||i.guid};this.setExpandedAttr=function(){var e=i,t=e.effectiveReferenceElement,n=e.open;if(!t){return}if("setAttribute"in t){t.setAttribute(x,u(n))}};this.addReferences=function(){var e=i.effectiveReferenceElement;if(!e){return}var t=i.getId();if("setAttribute"in e){e.setAttribute(k,t)}_.registerElement(e,i.el);i.setExpandedAttr()};this.removeReferences=function(){var e=i.effectiveReferenceElement;if(!e){return}if("removeAttribute"in e){e.removeAttribute(k);e.removeAttribute(x)}_.unregisterElement(e)};this.hide=function(){i.open=false};this.transitionEnd=function(e){if(e.propertyName===i.activeTransitionProp){i.open?i.calcitePopoverOpen.emit():i.calcitePopoverClose.emit()}}}e.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};e.prototype.offsetDistanceOffsetHandler=function(){this.reposition()};e.prototype.offsetSkiddingHandler=function(){this.reposition()};e.prototype.openHandler=function(){this.reposition();this.setExpandedAttr()};e.prototype.placementHandler=function(){this.reposition()};e.prototype.referenceElementHandler=function(){this.setUpReferenceElement()};e.prototype.connectedCallback=function(){this.setFilteredPlacements()};e.prototype.componentWillLoad=function(){this.setUpReferenceElement()};e.prototype.componentDidLoad=function(){this.reposition()};e.prototype.disconnectedCallback=function(){this.removeReferences();this.destroyPopper()};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,r,a;return __generator(this,(function(o){switch(o.label){case 0:e=this,t=e.popper,n=e.el,i=e.placement;r=this.getModifiers();if(!t)return[3,2];return[4,c({el:n,modifiers:r,placement:i,popper:t})];case 1:a=o.sent();return[3,3];case 2:a=this.createPopper();o.label=3;case 3:a;return[2]}}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){n=this.closeButtonEl;if(e==="close-button"&&n){i(n);n.setFocus();return[2]}(t=this.el)===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.toggle=function(e){if(e===void 0){e=!this.open}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=e;return[2]}))}))};e.prototype.getReferenceElement=function(){var e=this,t=e.referenceElement,n=e.el;return(typeof t==="string"?h(n,{id:t}):t)||null};e.prototype.getModifiers=function(){var e=this,t=e.arrowEl,n=e.disableFlip,i=e.disablePointer,r=e.offsetDistance,a=e.offsetSkidding,o=e.filteredFlipPlacements;var s={name:"flip",enabled:!n};if(o){s.options={fallbackPlacements:o}}var l={name:"arrow",enabled:!i};if(t){l.options={element:t}}var c={name:"offset",enabled:true,options:{offset:[a,r]}};var p={name:"eventListeners",enabled:this.open};return[l,s,c,p]};e.prototype.createPopper=function(){this.destroyPopper();var e=this,t=e.el,n=e.placement,i=e.effectiveReferenceElement,r=e.overlayPositioning;var a=this.getModifiers();this.popper=p({el:t,modifiers:a,overlayPositioning:r,placement:n,referenceEl:i})};e.prototype.destroyPopper=function(){var e=this.popper;if(e){e.destroy()}this.popper=null};e.prototype.renderCloseButton=function(){var e=this;var t=this,n=t.dismissible,i=t.closeButton,a=t.intlClose,o=t.heading;return n||i?r("div",{class:w.closeButtonContainer},r("calcite-action",{class:w.closeButton,onClick:this.hide,ref:function(t){return e.closeButtonEl=t},scale:o?"s":"m",text:a},r("calcite-icon",{icon:"x",scale:o?"s":"m"}))):null};e.prototype.renderHeader=function(){var e=this,t=e.heading,n=e.headingLevel;var i=t?r(b,{class:w.heading,level:n||D},t):null;return i?r("div",{class:w.header},i,this.renderCloseButton()):null};e.prototype.render=function(){var e,t;var n=this;var i=this,o=i.effectiveReferenceElement,s=i.heading,l=i.label,c=i.open,p=i.disablePointer;var d=o&&c;var m=!d;var h=!p?r("div",{class:w.arrow,ref:function(e){return n.arrowEl=e}}):null;return r(a,{"aria-hidden":u(m),"aria-label":l,"calcite-hydrated-hidden":m,id:this.getId(),role:"dialog"},r("div",{class:(e={},e[f.animation]=true,e[f.animationActive]=d,e),onTransitionEnd:this.transitionEnd},h,r("div",{class:(t={},t[w.hasHeader]=!!s,t[w.container]=true,t)},this.renderHeader(),r("div",{class:w.content},r("slot",null)),!s?this.renderCloseButton():null)))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}},enumerable:false,configurable:true});return e}());C.style=P;var H="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";var R=e("calcite_popover_manager",function(){function e(e){var n=this;t(this,e);this.mutationObserver=v("mutation",(function(){return n.setAutoClose()}));this.selector="[data-calcite-popover-reference]";this.autoClose=false}e.prototype.autoCloseHandler=function(){this.setAutoClose()};e.prototype.connectedCallback=function(){var e;this.setAutoClose();(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()};e.prototype.render=function(){return r("slot",null)};e.prototype.setAutoClose=function(){var e=this,t=e.autoClose,n=e.el;n.querySelectorAll("calcite-popover").forEach((function(e){return e.autoClose=t}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{autoClose:["autoCloseHandler"]}},enumerable:false,configurable:true});return e}());R.style=H}}}));
@@ -0,0 +1,6 @@
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
+ * v1.0.0-beta.83
5
+ */
6
+ import{r as i,c as a,h as t,g as e}from"./p-caea0782.js";import{g as r}from"./p-9ea395ee.js";import{g as n}from"./p-f54288ad.js";import{c as o,d as c}from"./p-0fc84480.js";import"./p-f46cf640.js";const s=class{constructor(t){i(this,t),this.calciteChipDismiss=a(this,"calciteChipDismiss",7),this.appearance="solid",this.color="grey",this.dismissible=!1,this.dismissLabel="Close",this.iconFlipRtl=!1,this.scale="m",this.closeClickHandler=i=>{i.preventDefault(),this.calciteChipDismiss.emit(this.el)},this.guid=n()}connectedCallback(){o(this)}disconnectedCallback(){c(this)}async setFocus(){var i;null===(i=this.closeButton)||void 0===i||i.focus()}renderChipImage(){const{el:i}=this;return r(i,"image")?t("div",{class:"image-container",key:"image"},t("slot",{name:"image"})):null}render(){const i=t("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"}),a=t("button",{"aria-describedby":this.guid,"aria-label":this.dismissLabel,class:"close",onClick:this.closeClickHandler,ref:i=>this.closeButton=i},t("calcite-icon",{class:"close-icon",icon:"x",scale:"s"}));return t("div",{class:"container"},this.renderChipImage(),this.icon?i:null,t("span",{class:"title",id:this.guid},t("slot",null)),this.dismissible?a:null)}get el(){return e(this)}};s.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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){height:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .image-container{height:1.25rem;width:1.25rem}:host([scale=m]){height:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .image-container{height:1.5rem;width:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([scale=l]){height:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .image-container{height:2rem;width:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container{display:-ms-inline-flexbox;display:inline-flex;height:100%;max-width:100%;-ms-flex-align:center;align-items:center}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) span{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([icon]:not([dismissible])) span{padding:0 var(--calcite-chip-spacing-unit-l)}:host button{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-height:100%;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding:0 var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}:host button:hover{background-color:var(--calcite-chip-transparent-hover)}:host button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host button:active{background-color:var(--calcite-chip-transparent-press)}.image-container{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;border-radius:50%}.chip-icon{position:relative;margin-top:0px;margin-bottom:0px;display:-ms-inline-flexbox;display:inline-flex;-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:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}:host([color=blue][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}:host([color=red][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=yellow][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}:host([color=green][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}:host([color=grey][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([color=grey][appearance=solid]) button,:host([color=grey][appearance=solid]) .close-icon{color:var(--calcite-ui-text-3)}:host([color=grey][appearance=solid]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}";export{s as calcite_chip}
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,n,i,e){function a(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{l(e.next(t))}catch(t){o(t)}}function s(t){try{l(e["throw"](t))}catch(t){o(t)}}function l(t){t.done?i(t.value):a(t.value).then(r,s)}l((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(n){return l([t,n])}}function l(r){if(e)throw new TypeError("Generator is already executing.");while(i)try{if(e=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=n.call(t,i)}catch(t){r=[6,t];a=0}finally{e=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[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
+ * v1.0.0-beta.83
6
+ */System.register(["./p-994d99ff.system.js","./p-ddb96773.system.js","./p-a75ad7cb.system.js","./p-77762ff3.system.js"],(function(t){"use strict";var n,i,e,a,o,r,s,l;return{setters:[function(t){n=t.r;i=t.h;e=t.H;a=t.g},function(t){o=t.a;r=t.C;s=t.f},function(t){l=t.u},function(){}],execute:function(){var c="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline}:host a,:host span{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{width:1em;height:1em;min-width:unset;min-height:unset}.calcite-link--icon{vertical-align:text-top;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-top:0.125rem}:host .calcite-link--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)), -webkit-gradient(linear, left top, left bottom, from(var(--calcite-link-blue-underline)), to(var(--calcite-link-blue-underline)));background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position:0% 100%, 100% 100%;background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var u=t("calcite_link",function(){function t(t){var i=this;n(this,t);this.disabled=false;this.download=false;this.storeTagRef=function(t){i.childEl=t}}t.prototype.componentDidRender=function(){l(this)};t.prototype.render=function(){var t;var n=this,a=n.download,s=n.el;var l=o(s);var c=this.href?"a":"span";var u=i("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var f=i("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var m=c;var p=c==="span"?"link":null;var d=c==="span"?0:null;return i(e,{role:"presentation"},i(m,{class:(t={},t[r.rtl]=l==="rtl",t),download:m==="a"&&(a===""||a)?a:null,href:m==="a"&&this.href,ref:this.storeTagRef,rel:m==="a"&&this.rel,role:p,tabIndex:d,target:m==="a"&&this.target},this.iconStart?u:null,i("slot",null),this.iconEnd?f:null))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){s(this.childEl);return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());u.style=c}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{s(a.next(t))}catch(t){o(t)}}function c(t){try{s(a["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):n(t.value).then(r,c)}s((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(o=r[0]&2?n["return"]:r[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;if(n=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];n=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[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
+ * v1.0.0-beta.83
6
+ */System.register(["./p-994d99ff.system.js","./p-77762ff3.system.js","./p-ddb96773.system.js","./p-fba2fa9f.system.js","./p-a945b681.system.js","./p-1ba93966.system.js","./p-a75ad7cb.system.js"],(function(t){"use strict";var e,i,a,n,o,r,c,s,l,d,u,h,f,p,m,b,k;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.g},function(t){c=t.a;s=t.f;l=t.t},function(t){d=t.c;u=t.d;h=t.g},function(t){f=t.c;p=t.d;m=t.H},function(t){b=t.g},function(t){k=t.u}],execute:function(){var v={container:"container"};var w='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::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 y=t("calcite_radio_button",function(){function t(t){var a=this;e(this,t);this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7);this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7);this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7);this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7);this.checked=false;this.disabled=false;this.focused=false;this.hidden=false;this.hovered=false;this.required=false;this.scale="m";this.selectItem=function(t,e){t[e].click()};this.queryButtons=function(){return Array.from(a.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((function(t){return t.name===a.name}))};this.isDefaultSelectable=function(){var t=a.queryButtons();return!t.some((function(t){return t.checked}))&&t[0]===a.el};this.check=function(){if(a.disabled){return}a.uncheckAllRadioButtonsInGroup();a.checked=true;a.focused=true;a.calciteRadioButtonChange.emit();a.setFocus()};this.clickHandler=function(){a.check()};this.setContainerEl=function(t){a.containerEl=t};this.handleKeyDown=function(t){var e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];var i=t.key;var n=a.el;if(e.indexOf(i)===-1){return}if(i===" "){a.check();return}var o=i;if(c(n)==="rtl"){if(i==="ArrowRight"){o="ArrowLeft"}if(i==="ArrowLeft"){o="ArrowRight"}}var r=Array.from(a.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((function(t){return t.name===a.name}));var s=0;var l=r.length;r.some((function(t,e){if(t.checked){s=e;return true}}));switch(o){case"ArrowLeft":case"ArrowUp":t.preventDefault();a.selectItem(r,b(Math.max(s-1,-1),l));return;case"ArrowRight":case"ArrowDown":t.preventDefault();a.selectItem(r,b(s+1,l));return;default:return}};this.onContainerBlur=function(){a.focused=false;a.calciteInternalRadioButtonBlur.emit()};this.onContainerFocus=function(){if(!a.disabled){a.focused=true;a.calciteInternalRadioButtonFocus.emit()}}}t.prototype.checkedChanged=function(t){if(t){this.uncheckOtherRadioButtonsInGroup()}this.calciteInternalRadioButtonCheckedChange.emit(t)};t.prototype.nameChanged=function(){this.checkLastRadioButton()};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.disabled){s(this.containerEl)}return[2]}))}))};t.prototype.onLabelClick=function(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();var e=t.currentTarget;var i=e.for?this.rootNode.querySelector('calcite-radio-button[id="'.concat(e.for,'"]')):e.querySelector('calcite-radio-button[name="'.concat(this.name,'"]'));if(i){i.checked=true;i.focused=true}this.calciteRadioButtonChange.emit();this.setFocus()}};t.prototype.checkLastRadioButton=function(){var t=this.queryButtons();var e=t.filter((function(t){return t.checked}));if((e===null||e===void 0?void 0:e.length)>1){var i=e[e.length-1];e.filter((function(t){return t!==i})).forEach((function(t){t.checked=false;t.emitCheckedChange()}))}};t.prototype.emitCheckedChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.calciteInternalRadioButtonCheckedChange.emit();return[2]}))}))};t.prototype.uncheckAllRadioButtonsInGroup=function(){var t=this.queryButtons();t.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.uncheckOtherRadioButtonsInGroup=function(){var t=this;var e=this.queryButtons();var i=e.filter((function(e){return e.guid!==t.guid}));i.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.getTabIndex=function(){if(this.disabled){return undefined}return this.checked||this.isDefaultSelectable()?0:-1};t.prototype.mouseenter=function(){this.hovered=true};t.prototype.mouseleave=function(){this.hovered=false};t.prototype.connectedCallback=function(){this.rootNode=this.el.getRootNode();this.guid=this.el.id||"calcite-radio-button-".concat(r());if(this.name){this.checkLastRadioButton()}d(this);f(this)};t.prototype.componentDidLoad=function(){if(this.focused&&!this.disabled){this.setFocus()}};t.prototype.disconnectedCallback=function(){u(this);p(this)};t.prototype.componentDidRender=function(){k(this)};t.prototype.render=function(){var t=this.getTabIndex();return a(n,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":l(this.checked),"aria-label":h(this),class:v.container,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(m,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["checkedChanged"],name:["nameChanged"]}},enumerable:false,configurable:true});return t}());y.style=w}}}));
@@ -0,0 +1,6 @@
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
+ * v1.0.0-beta.83
5
+ */
6
+ System.register(["./p-c96917cb.system.js"],(function(r){"use strict";var e,n,t;return{setters:[function(r){e=r.a;n=r.i;t=r.b}],execute:function(){r({d:f,g:m,l:p});var a=r("a",["ar","bg","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"]);var u=new RegExp("[.](?=.*[.])","g");var i=new RegExp("[^0-9-.]","g");var c=new RegExp(",","g");var o=(new Intl.NumberFormat).resolvedOptions().numberingSystem;function s(r,e){if(e===void 0){e=o}return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:e})}function f(r,t){return e(r,(function(r){var e=r.replace(l(t),"-").replace(v(t),"").replace(m(t),".").replace(u,"").replace(i,"");return n(e)?e:r}))}function v(r){var e=s(r);var n=e.formatToParts(1234567);var t=n.find((function(r){return r.type==="group"})).value;return t.trim().length===0?" ":t}function m(r){var e=s(r);var n=e.formatToParts(1.1);return n.find((function(r){return r.type==="decimal"})).value}function l(r){var e=s(r);var n=e.formatToParts(-9);return n.find((function(r){return r.type==="minusSign"})).value}function p(r,n,a,u){if(a===void 0){a=false}return e(r,(function(r){if(r){var e=Number(t(r.replace(c,"")));if(!isNaN(e)){var i=s(n,u);var o=i.formatToParts(e);var f=o.map((function(r){var e=r.type,t=r.value;switch(e){case"group":return a?v(n):"";case"decimal":return m(n);case"minusSign":return l(n);default:return t}})).reduce((function(r,e){return r+e}));return f}}return r}))}}}}));
@@ -1,5 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-beta.83
4
5
  */
5
- import{a as t}from"./p-8f3a3e4e.js";var n="top",e="bottom",r="right",o="left",i=[n,e,r,o],a=i.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(i,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(t){return t?(t.nodeName||"").toLowerCase():null}function p(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function s(t){return t instanceof p(t).Element||t instanceof Element}function l(t){return t instanceof p(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof p(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var b=Math.max,m=Math.min,h=Math.round;function y(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;if(l(t)&&n){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=h(e.width)/a||1),i>0&&(o=h(e.height)/i||1)}return{width:e.width/r,height:e.height/o,top:e.top/o,right:e.right/r,bottom:e.bottom/o,left:e.left/r,x:e.left/r,y:e.top/o}}function g(t){var n=y(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function x(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&d(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function w(t){return p(t).getComputedStyle(t)}function O(t){return["table","td","th"].indexOf(c(t))>=0}function j(t){return((s(t)?t.ownerDocument:t.document)||window.document).documentElement}function M(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||j(t)}function k(t){return l(t)&&"fixed"!==w(t).position?t.offsetParent:null}function E(t){for(var n=p(t),e=k(t);e&&O(e)&&"static"===w(e).position;)e=k(e);return e&&("html"===c(e)||"body"===c(e)&&"static"===w(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(t)&&"fixed"===w(t).position)return null;var e=M(t);for(d(e)&&(e=e.host);l(e)&&["html","body"].indexOf(c(e))<0;){var r=w(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function A(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function P(t,n,e){return b(t,m(n,e))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function R(t){return t.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function W(t){var i,a=t.popper,u=t.popperRect,f=t.placement,c=t.variation,s=t.offsets,l=t.position,d=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,m=t.isFixed,y=s.x,g=void 0===y?0:y,x=s.y,O=void 0===x?0:x,M="function"==typeof b?b({x:g,y:O}):{x:g,y:O};g=M.x,O=M.y;var k=s.hasOwnProperty("x"),A=s.hasOwnProperty("y"),P=o,q=n,B=window;if(v){var R=E(a),W="clientHeight",L="clientWidth";R===p(a)&&"static"!==w(R=j(a)).position&&"absolute"===l&&(W="scrollHeight",L="scrollWidth"),R=R,(f===n||(f===o||f===r)&&"end"===c)&&(q=e,O-=(m&&R===B&&B.visualViewport?B.visualViewport.height:R[W])-u.height,O*=d?1:-1),f!==o&&(f!==n&&f!==e||"end"!==c)||(P=r,g-=(m&&R===B&&B.visualViewport?B.visualViewport.width:R[L])-u.width,g*=d?1:-1)}var T,H=Object.assign({position:l},v&&S),I=!0===b?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:h(t.x*e)/e||0,y:h(n*e)/e||0}}({x:g,y:O}):{x:g,y:O};return g=I.x,O=I.y,Object.assign({},H,d?((T={})[q]=A?"0":"",T[P]=k?"0":"",T.transform=(B.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",T):((i={})[q]=A?O+"px":"",i[P]=k?g+"px":"",i.transform="",i))}var L={passive:!0},T={left:"right",right:"left",bottom:"top",top:"bottom"};function H(t){return t.replace(/left|right|bottom|top/g,(function(t){return T[t]}))}var I={start:"end",end:"start"};function C(t){return t.replace(/start|end/g,(function(t){return I[t]}))}function z(t){var n=p(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function $(t){return y(j(t)).left+z(t).scrollLeft}function D(t){var n=w(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function F(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:l(t)&&D(t)?t:F(M(t))}function U(t,n){var e;void 0===n&&(n=[]);var r=F(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=p(r),a=o?[i].concat(i.visualViewport||[],D(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(U(M(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _(t,n){return"viewport"===n?V(function(t){var n=p(t),e=j(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+$(t),y:u}}(t)):s(n)?function(t){var n=y(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):V(function(t){var n,e=j(t),r=z(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=b(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+$(t),f=-r.scrollTop;return"rtl"===w(o||e).direction&&(u+=b(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(j(t)))}function G(t){var i,a=t.reference,u=t.element,f=t.placement,c=f?v(f):null,p=f?R(f):null,s=a.x+a.width/2-u.width/2,l=a.y+a.height/2-u.height/2;switch(c){case n:i={x:s,y:a.y-u.height};break;case e:i={x:s,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:l};break;case o:i={x:a.x-u.width,y:l};break;default:i={x:a.x,y:a.y}}var d=c?A(c):null;if(null!=d){var b="y"===d?"height":"width";switch(p){case"start":i[d]=i[d]-(a[b]/2-u[b]/2);break;case"end":i[d]=i[d]+(a[b]/2-u[b]/2)}}return i}function J(t,o){void 0===o&&(o={});var a=o.placement,u=void 0===a?t.placement:a,f=o.boundary,p=void 0===f?"clippingParents":f,d=o.rootBoundary,v=void 0===d?"viewport":d,h=o.elementContext,g=void 0===h?"popper":h,O=o.altBoundary,k=void 0!==O&&O,A=o.padding,P=void 0===A?0:A,R=q("number"!=typeof P?P:B(P,i)),S=t.rects.popper,W=t.elements[k?"popper"===g?"reference":"popper":g],L=function(t,n,e){var r="clippingParents"===n?function(t){var n=U(M(t)),e=["absolute","fixed"].indexOf(w(t).position)>=0&&l(t)?E(t):t;return s(e)?n.filter((function(t){return s(t)&&x(t,e)&&"body"!==c(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=_(t,e);return n.top=b(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=b(r.left,n.left),n}),_(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(s(W)?W:W.contextElement||j(t.elements.popper),p,v),T=y(t.elements.reference),H=G({reference:T,element:S,strategy:"absolute",placement:u}),I=V(Object.assign({},S,H)),C="popper"===g?I:T,z={top:L.top-C.top+R.top,bottom:C.bottom-L.bottom+R.bottom,left:L.left-C.left+R.left,right:C.right-L.right+R.right},$=t.modifiersData.offset;if("popper"===g&&$){var D=$[u];Object.keys(z).forEach((function(t){var o=[r,e].indexOf(t)>=0?1:-1,i=[n,e].indexOf(t)>=0?"y":"x";z[t]+=D[i]*o}))}return z}function K(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,p=void 0===c?u:c,s=R(n.placement),l=s?f?a:a.filter((function(t){return R(t)===s})):i,d=l.filter((function(t){return p.indexOf(t)>=0}));0===d.length&&(d=l);var b=d.reduce((function(n,i){return n[i]=J(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[v(i)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function N(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Q(t){return[n,r,e,o].some((function(n){return t[n]>=0}))}function X(t,n,e){void 0===e&&(e=!1);var r,o,i=l(n),a=l(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=j(n),f=y(t,a),s={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!e)&&(("body"!==c(n)||D(u))&&(s=(r=n)!==p(r)&&l(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:z(r)),l(n)?((d=y(n,!0)).x+=n.clientLeft,d.y+=n.clientTop):u&&(d.x=$(u))),{x:f.left+s.scrollLeft-d.x,y:f.top+s.scrollTop-d.y,width:f.width,height:f.height}}function Y(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Z:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],p=!1,l={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:s(t)?U(t):t.contextElement?U(t.contextElement):[],popper:U(n)};var a,p,v=function(t){var n=Y(t);return f.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),p=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(p).map((function(t){return p[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!p){var t=u.elements,n=t.reference,e=t.popper;if(tt(n,e)){u.rects={reference:X(n,E(e),"fixed"===u.options.strategy),popper:g(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),p=!0}};if(!tt(t,n))return l;function d(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(r).then((function(t){!p&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=p(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,L)})),u&&f.addEventListener("resize",e.update,L),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,L)})),u&&f.removeEventListener("resize",e.update,L)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=G({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:v(n.placement),variation:R(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,W(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,W(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];l(o)&&c(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});l(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,a=t.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(t,i){return t[i]=function(t,e,i){var a=v(t),u=[o,n].indexOf(a)>=0?-1:1,f="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=f[0],p=f[1];return c=c||0,p=(p||0)*u,[o,r].indexOf(a)>=0?{x:p,y:c}:{x:c,y:p}}(i,e.rects,f),t}),{}),p=c[e.placement],s=p.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=p.x,e.modifiersData.popperOffsets.y+=s),e.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name;if(!i.modifiersData[u]._skip){for(var f=a.mainAxis,c=void 0===f||f,p=a.altAxis,s=void 0===p||p,l=a.fallbackPlacements,d=a.padding,b=a.boundary,m=a.rootBoundary,h=a.altBoundary,y=a.flipVariations,g=void 0===y||y,x=a.allowedAutoPlacements,w=i.options.placement,O=v(w),j=l||(O!==w&&g?function(t){if("auto"===v(t))return[];var n=H(t);return[C(t),n,C(n)]}(w):[H(w)]),M=[w].concat(j).reduce((function(t,n){return t.concat("auto"===v(n)?K(i,{placement:n,boundary:b,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:x}):n)}),[]),k=i.rects.reference,E=i.rects.popper,A=new Map,P=!0,q=M[0],B=0;B<M.length;B++){var S=M[B],W=v(S),L="start"===R(S),T=[n,e].indexOf(W)>=0,I=T?"width":"height",z=J(i,{placement:S,boundary:b,rootBoundary:m,altBoundary:h,padding:d}),$=T?L?r:o:L?e:n;k[I]>E[I]&&($=H($));var D=H($),F=[];if(c&&F.push(z[W]<=0),s&&F.push(z[$]<=0,z[D]<=0),F.every((function(t){return t}))){q=S,P=!1;break}A.set(S,F)}if(P)for(var U=function(t){var n=M.find((function(n){var e=A.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},V=g?3:1;V>0&&"break"!==U(V);V--);i.placement!==q&&(i.modifiersData[u]._skip=!0,i.placement=q,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name,f=a.mainAxis,c=void 0===f||f,p=a.altAxis,s=void 0!==p&&p,l=a.tether,d=void 0===l||l,h=a.tetherOffset,y=void 0===h?0:h,x=J(i,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=v(i.placement),O=R(i.placement),j=!O,M=A(w),k="x"===M?"y":"x",q=i.modifiersData.popperOffsets,B=i.rects.reference,S=i.rects.popper,W="function"==typeof y?y(Object.assign({},i.rects,{placement:i.placement})):y,L="number"==typeof W?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),T=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,H={x:0,y:0};if(q){if(c){var I,C="y"===M?n:o,z="y"===M?e:r,$="y"===M?"height":"width",D=q[M],F=D+x[C],U=D-x[z],V=d?-S[$]/2:0,_="start"===O?B[$]:S[$],G="start"===O?-S[$]:-B[$],K=i.elements.arrow,N=d&&K?g(K):{width:0,height:0},Q=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[C],Y=Q[z],Z=P(0,B[$],N[$]),tt=j?B[$]/2-V-Z-X-L.mainAxis:_-Z-X-L.mainAxis,nt=j?-B[$]/2+V+Z+Y+L.mainAxis:G+Z+Y+L.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=(I=null==T?void 0:T[M])?I:0,ot=D+nt-rt,it=P(d?m(F,D+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):F,D,d?b(U,ot):U);q[M]=it,H[M]=it-D}if(s){var at,ut=q[k],ft="y"===k?"height":"width",ct=ut+x["x"===M?n:o],pt=ut-x["x"===M?e:r],st=-1!==[n,o].indexOf(w),lt=null!=(at=null==T?void 0:T[k])?at:0,dt=st?ct:ut-B[ft]-S[ft]-lt+L.altAxis,vt=st?ut+B[ft]+S[ft]-lt-L.altAxis:pt,bt=d&&st?function(t,n,e){var r=P(t,n,e);return r>e?e:r}(dt,ut,vt):P(d?dt:ct,ut,d?vt:pt);q[k]=bt,H[k]=bt-ut}i.modifiersData[u]=H}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var a,u=t.state,f=t.name,c=t.options,p=u.elements.arrow,s=u.modifiersData.popperOffsets,l=v(u.placement),d=A(l),b=[o,r].indexOf(l)>=0?"height":"width";if(p&&s){var m=function(t,n){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:B(t,i))}(c.padding,u),h=g(p),y="y"===d?n:o,x="y"===d?e:r,w=u.rects.reference[b]+u.rects.reference[d]-s[d]-u.rects.popper[b],O=s[d]-u.rects.reference[d],j=E(p),M=j?"y"===d?j.clientHeight||0:j.clientWidth||0:0,k=M/2-h[b]/2+(w/2-O/2),R=P(m[y],k,M-h[b]-m[x]);u.modifiersData[f]=((a={})[d]=R,a.centerOffset=R-k,a)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&x(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=J(n,{elementContext:"reference"}),u=J(n,{altBoundary:!0}),f=N(a,r),c=N(u,o,i),p=Q(f),s=Q(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:s},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":s})}}]});const rt="bottom-leading",ot=["top-start","top","top-end","bottom-start","bottom","bottom-end"],it={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function at(n,e){const r=["left","right"],o=["start","end"];return"rtl"===t(n)&&(r.reverse(),o.reverse()),e.replace(/-leading/gi,`-${o[0]}`).replace(/-trailing/gi,`-${o[1]}`).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function ut({referenceEl:t,el:n,placement:e,overlayPositioning:r="absolute",modifiers:o}){return t?et(t,n,{strategy:r,placement:at(n,e),modifiers:o}):null}async function ft({el:t,modifiers:n,placement:e,popper:r}){const o=at(t,e);await r.setOptions({modifiers:n,placement:o})}const ct=Math.ceil((4,Math.sqrt(Math.pow(4,2)+Math.pow(4,2))));export{it as C,ct as a,ut as c,rt as d,ot as p,ft as u}
6
+ import{a as t}from"./p-9ea395ee.js";var n="top",e="bottom",r="right",o="left",i=[n,e,r,o],a=i.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(i,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(t){return t?(t.nodeName||"").toLowerCase():null}function s(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function p(t){return t instanceof s(t).Element||t instanceof Element}function l(t){return t instanceof s(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof s(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var b=Math.max,m=Math.min,h=Math.round;function y(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;if(l(t)&&n){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=h(e.width)/a||1),i>0&&(o=h(e.height)/i||1)}return{width:e.width/r,height:e.height/o,top:e.top/o,right:e.right/r,bottom:e.bottom/o,left:e.left/r,x:e.left/r,y:e.top/o}}function g(t){var n=y(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function x(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&d(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function w(t){return s(t).getComputedStyle(t)}function O(t){return["table","td","th"].indexOf(c(t))>=0}function j(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function M(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||j(t)}function k(t){return l(t)&&"fixed"!==w(t).position?t.offsetParent:null}function E(t){for(var n=s(t),e=k(t);e&&O(e)&&"static"===w(e).position;)e=k(e);return e&&("html"===c(e)||"body"===c(e)&&"static"===w(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(t)&&"fixed"===w(t).position)return null;var e=M(t);for(d(e)&&(e=e.host);l(e)&&["html","body"].indexOf(c(e))<0;){var r=w(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,n,e){return b(t,m(n,e))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function R(t){return t.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var i,a=t.popper,u=t.popperRect,f=t.placement,c=t.variation,p=t.offsets,l=t.position,d=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,m=t.isFixed,y=p.x,g=void 0===y?0:y,x=p.y,O=void 0===x?0:x,M="function"==typeof b?b({x:g,y:O}):{x:g,y:O};g=M.x,O=M.y;var k=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),A=o,q=n,B=window;if(v){var R=E(a),T="clientHeight",W="clientWidth";R===s(a)&&"static"!==w(R=j(a)).position&&"absolute"===l&&(T="scrollHeight",W="scrollWidth"),R=R,(f===n||(f===o||f===r)&&"end"===c)&&(q=e,O-=(m&&R===B&&B.visualViewport?B.visualViewport.height:R[T])-u.height,O*=d?1:-1),f!==o&&(f!==n&&f!==e||"end"!==c)||(A=r,g-=(m&&R===B&&B.visualViewport?B.visualViewport.width:R[W])-u.width,g*=d?1:-1)}var I,L=Object.assign({position:l},v&&S),$=!0===b?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:h(t.x*e)/e||0,y:h(n*e)/e||0}}({x:g,y:O}):{x:g,y:O};return g=$.x,O=$.y,Object.assign({},L,d?((I={})[q]=P?"0":"",I[A]=k?"0":"",I.transform=(B.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",I):((i={})[q]=P?O+"px":"",i[A]=k?g+"px":"",i.transform="",i))}var W={passive:!0},I={left:"right",right:"left",bottom:"top",top:"bottom"};function L(t){return t.replace(/left|right|bottom|top/g,(function(t){return I[t]}))}var $={start:"end",end:"start"};function H(t){return t.replace(/start|end/g,(function(t){return $[t]}))}function C(t){var n=s(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function z(t){return y(j(t)).left+C(t).scrollLeft}function D(t){var n=w(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function F(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:l(t)&&D(t)?t:F(M(t))}function U(t,n){var e;void 0===n&&(n=[]);var r=F(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=s(r),a=o?[i].concat(i.visualViewport||[],D(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(U(M(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _(t,n){return"viewport"===n?V(function(t){var n=s(t),e=j(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+z(t),y:u}}(t)):p(n)?function(t){var n=y(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):V(function(t){var n,e=j(t),r=C(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=b(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+z(t),f=-r.scrollTop;return"rtl"===w(o||e).direction&&(u+=b(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(j(t)))}function G(t){var i,a=t.reference,u=t.element,f=t.placement,c=f?v(f):null,s=f?R(f):null,p=a.x+a.width/2-u.width/2,l=a.y+a.height/2-u.height/2;switch(c){case n:i={x:p,y:a.y-u.height};break;case e:i={x:p,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:l};break;case o:i={x:a.x-u.width,y:l};break;default:i={x:a.x,y:a.y}}var d=c?P(c):null;if(null!=d){var b="y"===d?"height":"width";switch(s){case"start":i[d]=i[d]-(a[b]/2-u[b]/2);break;case"end":i[d]=i[d]+(a[b]/2-u[b]/2)}}return i}function J(t,o){void 0===o&&(o={});var a=o.placement,u=void 0===a?t.placement:a,f=o.boundary,s=void 0===f?"clippingParents":f,d=o.rootBoundary,v=void 0===d?"viewport":d,h=o.elementContext,g=void 0===h?"popper":h,O=o.altBoundary,k=void 0!==O&&O,P=o.padding,A=void 0===P?0:P,R=q("number"!=typeof A?A:B(A,i)),S=t.rects.popper,T=t.elements[k?"popper"===g?"reference":"popper":g],W=function(t,n,e){var r="clippingParents"===n?function(t){var n=U(M(t)),e=["absolute","fixed"].indexOf(w(t).position)>=0&&l(t)?E(t):t;return p(e)?n.filter((function(t){return p(t)&&x(t,e)&&"body"!==c(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=_(t,e);return n.top=b(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=b(r.left,n.left),n}),_(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(p(T)?T:T.contextElement||j(t.elements.popper),s,v),I=y(t.elements.reference),L=G({reference:I,element:S,strategy:"absolute",placement:u}),$=V(Object.assign({},S,L)),H="popper"===g?$:I,C={top:W.top-H.top+R.top,bottom:H.bottom-W.bottom+R.bottom,left:W.left-H.left+R.left,right:H.right-W.right+R.right},z=t.modifiersData.offset;if("popper"===g&&z){var D=z[u];Object.keys(C).forEach((function(t){var o=[r,e].indexOf(t)>=0?1:-1,i=[n,e].indexOf(t)>=0?"y":"x";C[t]+=D[i]*o}))}return C}function K(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?u:c,p=R(n.placement),l=p?f?a:a.filter((function(t){return R(t)===p})):i,d=l.filter((function(t){return s.indexOf(t)>=0}));0===d.length&&(d=l);var b=d.reduce((function(n,i){return n[i]=J(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[v(i)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function N(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Q(t){return[n,r,e,o].some((function(n){return t[n]>=0}))}function X(t,n,e){void 0===e&&(e=!1);var r,o,i=l(n),a=l(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=j(n),f=y(t,a),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!e)&&(("body"!==c(n)||D(u))&&(p=(r=n)!==s(r)&&l(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:C(r)),l(n)?((d=y(n,!0)).x+=n.clientLeft,d.y+=n.clientTop):u&&(d.x=z(u))),{x:f.left+p.scrollLeft-d.x,y:f.top+p.scrollTop-d.y,width:f.width,height:f.height}}function Y(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Z:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],s=!1,l={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:p(t)?U(t):t.contextElement?U(t.contextElement):[],popper:U(n)};var a,s,v=function(t){var n=Y(t);return f.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(tt(n,e)){u.rects={reference:X(n,E(e),"fixed"===u.options.strategy),popper:g(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),s=!0}};if(!tt(t,n))return l;function d(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=s(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,W)})),u&&f.addEventListener("resize",e.update,W),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,W)})),u&&f.removeEventListener("resize",e.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=G({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:v(n.placement),variation:R(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];l(o)&&c(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});l(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,a=t.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(t,i){return t[i]=function(t,e,i){var a=v(t),u=[o,n].indexOf(a)>=0?-1:1,f="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[o,r].indexOf(a)>=0?{x:s,y:c}:{x:c,y:s}}(i,e.rects,f),t}),{}),s=c[e.placement],p=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s.x,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name;if(!i.modifiersData[u]._skip){for(var f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0===s||s,l=a.fallbackPlacements,d=a.padding,b=a.boundary,m=a.rootBoundary,h=a.altBoundary,y=a.flipVariations,g=void 0===y||y,x=a.allowedAutoPlacements,w=i.options.placement,O=v(w),j=l||(O!==w&&g?function(t){if("auto"===v(t))return[];var n=L(t);return[H(t),n,H(n)]}(w):[L(w)]),M=[w].concat(j).reduce((function(t,n){return t.concat("auto"===v(n)?K(i,{placement:n,boundary:b,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:x}):n)}),[]),k=i.rects.reference,E=i.rects.popper,P=new Map,A=!0,q=M[0],B=0;B<M.length;B++){var S=M[B],T=v(S),W="start"===R(S),I=[n,e].indexOf(T)>=0,$=I?"width":"height",C=J(i,{placement:S,boundary:b,rootBoundary:m,altBoundary:h,padding:d}),z=I?W?r:o:W?e:n;k[$]>E[$]&&(z=L(z));var D=L(z),F=[];if(c&&F.push(C[T]<=0),p&&F.push(C[z]<=0,C[D]<=0),F.every((function(t){return t}))){q=S,A=!1;break}P.set(S,F)}if(A)for(var U=function(t){var n=M.find((function(n){var e=P.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},V=g?3:1;V>0&&"break"!==U(V);V--);i.placement!==q&&(i.modifiersData[u]._skip=!0,i.placement=q,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name,f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0!==s&&s,l=a.tether,d=void 0===l||l,h=a.tetherOffset,y=void 0===h?0:h,x=J(i,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=v(i.placement),O=R(i.placement),j=!O,M=P(w),k="x"===M?"y":"x",q=i.modifiersData.popperOffsets,B=i.rects.reference,S=i.rects.popper,T="function"==typeof y?y(Object.assign({},i.rects,{placement:i.placement})):y,W="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,L={x:0,y:0};if(q){if(c){var $,H="y"===M?n:o,C="y"===M?e:r,z="y"===M?"height":"width",D=q[M],F=D+x[H],U=D-x[C],V=d?-S[z]/2:0,_="start"===O?B[z]:S[z],G="start"===O?-S[z]:-B[z],K=i.elements.arrow,N=d&&K?g(K):{width:0,height:0},Q=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[H],Y=Q[C],Z=A(0,B[z],N[z]),tt=j?B[z]/2-V-Z-X-W.mainAxis:_-Z-X-W.mainAxis,nt=j?-B[z]/2+V+Z+Y+W.mainAxis:G+Z+Y+W.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=($=null==I?void 0:I[M])?$:0,ot=D+nt-rt,it=A(d?m(F,D+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):F,D,d?b(U,ot):U);q[M]=it,L[M]=it-D}if(p){var at,ut=q[k],ft="y"===k?"height":"width",ct=ut+x["x"===M?n:o],st=ut-x["x"===M?e:r],pt=-1!==[n,o].indexOf(w),lt=null!=(at=null==I?void 0:I[k])?at:0,dt=pt?ct:ut-B[ft]-S[ft]-lt+W.altAxis,vt=pt?ut+B[ft]+S[ft]-lt-W.altAxis:st,bt=d&&pt?function(t,n,e){var r=A(t,n,e);return r>e?e:r}(dt,ut,vt):A(d?dt:ct,ut,d?vt:st);q[k]=bt,L[k]=bt-ut}i.modifiersData[u]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var a,u=t.state,f=t.name,c=t.options,s=u.elements.arrow,p=u.modifiersData.popperOffsets,l=v(u.placement),d=P(l),b=[o,r].indexOf(l)>=0?"height":"width";if(s&&p){var m=function(t,n){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:B(t,i))}(c.padding,u),h=g(s),y="y"===d?n:o,x="y"===d?e:r,w=u.rects.reference[b]+u.rects.reference[d]-p[d]-u.rects.popper[b],O=p[d]-u.rects.reference[d],j=E(s),M=j?"y"===d?j.clientHeight||0:j.clientWidth||0:0,k=M/2-h[b]/2+(w/2-O/2),R=A(m[y],k,M-h[b]-m[x]);u.modifiersData[f]=((a={})[d]=R,a.centerOffset=R-k,a)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&x(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=J(n,{elementContext:"reference"}),u=J(n,{altBoundary:!0}),f=N(a,r),c=N(u,o,i),s=Q(f),p=Q(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}}]});const rt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ot="bottom-leading",it=["top-start","top","top-end","bottom-start","bottom","bottom-end"],at={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function ut(t,n){const e=t.filter((t=>rt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${rt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const r=["left","right"],o=["start","end"];return"rtl"===t(n)&&(r.reverse(),o.reverse()),e.replace(/-leading/gi,`-${o[0]}`).replace(/-trailing/gi,`-${o[1]}`).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function ct({referenceEl:t,el:n,placement:e,overlayPositioning:r="absolute",modifiers:o}){return t?et(t,n,{strategy:r,placement:ft(n,e),modifiers:o}):null}async function st({el:t,modifiers:n,placement:e,popper:r}){const o=ft(t,e);await r.setOptions({modifiers:n,placement:o})}const pt=Math.ceil((4,Math.sqrt(Math.pow(4,2)+Math.pow(4,2))));export{at as C,pt as a,ct as c,ot as d,ut as f,it as p,st as u}
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,n,e,a){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{s(a.next(t))}catch(t){r(t)}}function c(t){try{s(a["throw"](t))}catch(t){r(t)}}function s(t){t.done?e(t.value):i(t.value).then(o,c)}s((a=a.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(n){return s([t,n])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(e)try{if(a=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){e.label=o[1];break}if(o[0]===6&&e.label<r[1]){e.label=r[1];r=o;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(o);break}if(r[2])e.ops.pop();e.trys.pop();continue}o=n.call(t,e)}catch(t){o=[6,t];i=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-beta.83
6
+ */System.register(["./p-994d99ff.system.js","./p-ddb96773.system.js","./p-2f82a677.system.js","./p-77762ff3.system.js"],(function(t){"use strict";var n,e,a,i,r,o,c,s;return{setters:[function(t){n=t.a;e=t.r;a=t.h;i=t.H;r=t.g},function(t){o=t.a;c=t.t},function(t){s=t.c},function(){}],execute:function(){var l={icon:"icon",flipRtl:"flip-rtl"};var f={};var u={};var m={s:16,m:24,l:32};function h(t){var e=t.icon,a=t.scale;return __awaiter(this,void 0,void 0,(function(){var t,i,r,o,c,s;return __generator(this,(function(l){switch(l.label){case 0:t=m[a];i=p(e);r=i.charAt(i.length-1)==="F";o=r?i.substring(0,i.length-1):i;c="".concat(o).concat(t).concat(r?"F":"");if(f[c]){return[2,f[c]]}if(!u[c]){u[c]=fetch(n("./assets/icon/".concat(c,".json"))).then((function(t){return t.json()})).catch((function(){console.error('"'.concat(c,'" is not a valid calcite-ui-icon name'));return""}))}return[4,u[c]];case 1:s=l.sent();f[c]=s;return[2,s]}}))}))}function p(t){var n=!isNaN(Number(t.charAt(0)));var e=t.split("-");if(e.length===1){return n?"i".concat(t):t}return e.map((function(t,e){if(e===0){return n?"i".concat(t.toUpperCase()):t}return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";var d=t("calcite_icon",function(){function t(t){e(this,t);this.icon=null;this.flipRtl=false;this.scale="m";this.visible=false}t.prototype.connectedCallback=function(){var t=this;this.waitUntilVisible((function(){t.visible=true;t.loadIconPathData()}))};t.prototype.disconnectedCallback=function(){var t;(t=this.intersectionObserver)===null||t===void 0?void 0:t.disconnect();this.intersectionObserver=null};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.loadIconPathData();return[2]}))}))};t.prototype.render=function(){var t;var n=this,e=n.el,r=n.flipRtl,s=n.pathData,f=n.scale,u=n.textLabel;var h=o(e);var p=m[f];var b=!!u;var d=[].concat(s||"");return a(i,{"aria-hidden":c(!b),"aria-label":b?u:null,role:b?"img":null},a("svg",{class:(t={},t[l.flipRtl]=h==="rtl"&&r,t.svg=true,t),fill:"currentColor",height:"100%",viewBox:"0 0 ".concat(p," ").concat(p),width:"100%",xmlns:"http://www.w3.org/2000/svg"},d.map((function(t){return typeof t==="string"?a("path",{d:t}):a("path",{d:t.d,opacity:"opacity"in t?t.opacity:1})}))))};t.prototype.loadIconPathData=function(){return __awaiter(this,void 0,void 0,(function(){var t,n,e,a,i;return __generator(this,(function(r){switch(r.label){case 0:t=this,n=t.icon,e=t.scale,a=t.visible;if(!n||!a){return[2]}i=this;return[4,h({icon:n,scale:e})];case 1:i.pathData=r.sent();return[2]}}))}))};t.prototype.waitUntilVisible=function(t){var n=this;this.intersectionObserver=s("intersection",(function(e){e.forEach((function(e){if(e.isIntersecting){n.intersectionObserver.disconnect();n.intersectionObserver=null;t()}}))}),{rootMargin:"50px"});if(!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}},enumerable:false,configurable:true});return t}());d.style=b}}}));
@@ -0,0 +1,6 @@
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
+ * v1.0.0-beta.83
5
+ */
6
+ import{q as e,c as n}from"./p-9ea395ee.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>{var n;return null===(n=e.tagName)||void 0===n?void 0:n.includes("-")})).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=d.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){var n,t;return e.label||(null===(t=null===(n=e.labelEl)||void 0===n?void 0:n.textContent)||void 0===t?void 0:t.trim())||""}function d(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||b.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
@@ -2,4 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-65dbbfb5.system.js","./p-9385e4b4.system.js","./p-ec9bab33.system.js","./p-ac4aec20.system.js","./p-588bfa74.system.js","./p-1d6404b5.system.js","./p-f78023f1.system.js","./p-5958acc8.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,n,i,a,o,r,s,l,c,d,f,u,p,m,b,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.H;o=t.g},function(t){r=t.t;s=t.o;l=t.q;c=t.a;d=t.E;f=t.g},function(t){u=t.f;p=t.g},function(t){m=t.c},function(t){b=t.c;h=t.d},function(t){v=t.d},function(){},function(){},function(){}],execute:function(){var y={actionGroupBottom:"action-group--bottom"};var x={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var g={expand:"Expand",collapse:"Collapse"};var w="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var k=t("calcite_action_bar",function(){function t(t){var i=this;e(this,t);this.calciteActionBarToggle=n(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=m("mutation",(function(){var t=i,e=t.el,n=t.expanded;r({parent:e,expanded:n});i.conditionallyOverflowActions()}));this.resizeObserver=m("resize",(function(t){return i.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var e=t.composedPath();Array.from(i.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!e.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(i.resizeHandler)};this.resizeHandler=function(t){var e=t.contentRect.height;i.resize(e)};this.resize=v((function(t){var e;var n=i,a=n.el,o=n.expanded,r=n.expandDisabled;if(!t){return}var s=l(a);var d=r?s.length:s.length+1;var u=Array.from(a.querySelectorAll("calcite-action-group"));var m=p(a,x.bottomActions)||!r?u.length+1:u.length;var b=f({actionCount:d,actionHeight:(e=s[0])===null||e===void 0?void 0:e.clientHeight,height:t,groupCount:m});c({actionGroups:u,expanded:o,overflowCount:b})}),s);this.conditionallyOverflowActions=function(){if(!i.overflowActionsDisabled){i.overflowActions()}};this.toggleExpand=function(){i.expanded=!i.expanded};this.setExpandToggleRef=function(t){i.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){r({parent:this.el,expanded:t});this.calciteActionBarToggle.emit()};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,i=n.el,a=n.expanded;r({parent:i,expanded:a});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(i,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(i)}this.conditionallyOverflowActions();b(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();h(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,u(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,a=t.intlExpand,o=t.intlCollapse,r=t.el,s=t.position,l=t.toggleExpand,c=t.scale;var f=p(r,x.expandTooltip);var u=a||g.expand;var m=o||g.collapse;var b=!n?i(d,{el:r,expanded:e,intlCollapse:m,intlExpand:u,position:s,ref:this.setExpandToggleRef,scale:c,toggle:l,tooltip:f}):null;return p(r,x.bottomActions)||b?i("calcite-action-group",{class:y.actionGroupBottom,scale:c},i("slot",{name:x.bottomActions}),i("slot",{name:x.expandTooltip}),b):null};t.prototype.render=function(){return i(a,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}());k.style=w}}}));
5
+ * v1.0.0-beta.83
6
+ */System.register(["./p-994d99ff.system.js","./p-08b6213a.system.js","./p-ddb96773.system.js","./p-2f82a677.system.js","./p-1a07da7e.system.js","./p-ba349f22.system.js","./p-f9687b03.system.js","./p-1bc2d58d.system.js","./p-77762ff3.system.js"],(function(t){"use strict";var e,n,i,a,o,r,s,l,c,d,f,u,p,m,b,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.H;o=t.g},function(t){r=t.t;s=t.o;l=t.q;c=t.a;d=t.E;f=t.g},function(t){u=t.f;p=t.g},function(t){m=t.c},function(t){b=t.c;h=t.d},function(t){v=t.d},function(){},function(){},function(){}],execute:function(){var y={actionGroupBottom:"action-group--bottom"};var x={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var g={expand:"Expand",collapse:"Collapse"};var w="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var k=t("calcite_action_bar",function(){function t(t){var i=this;e(this,t);this.calciteActionBarToggle=n(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=m("mutation",(function(){var t=i,e=t.el,n=t.expanded;r({parent:e,expanded:n});i.conditionallyOverflowActions()}));this.resizeObserver=m("resize",(function(t){return i.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var e=t.composedPath();Array.from(i.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!e.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(i.resizeHandler)};this.resizeHandler=function(t){var e=t.contentRect.height;i.resize(e)};this.resize=v((function(t){var e;var n=i,a=n.el,o=n.expanded,r=n.expandDisabled;if(!t){return}var s=l(a);var d=r?s.length:s.length+1;var u=Array.from(a.querySelectorAll("calcite-action-group"));var m=p(a,x.bottomActions)||!r?u.length+1:u.length;var b=f({actionCount:d,actionHeight:(e=s[0])===null||e===void 0?void 0:e.clientHeight,height:t,groupCount:m});c({actionGroups:u,expanded:o,overflowCount:b})}),s);this.conditionallyOverflowActions=function(){if(!i.overflowActionsDisabled){i.overflowActions()}};this.toggleExpand=function(){i.expanded=!i.expanded;i.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){i.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){r({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,i=n.el,a=n.expanded;r({parent:i,expanded:a});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(i,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(i)}this.conditionallyOverflowActions();b(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();h(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,u(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,a=t.intlExpand,o=t.intlCollapse,r=t.el,s=t.position,l=t.toggleExpand,c=t.scale;var f=p(r,x.expandTooltip);var u=a||g.expand;var m=o||g.collapse;var b=!n?i(d,{el:r,expanded:e,intlCollapse:m,intlExpand:u,position:s,ref:this.setExpandToggleRef,scale:c,toggle:l,tooltip:f}):null;return p(r,x.bottomActions)||b?i("calcite-action-group",{class:y.actionGroupBottom,scale:c},i("slot",{name:x.bottomActions}),i("slot",{name:x.expandTooltip}),b):null};t.prototype.render=function(){return i(a,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}());k.style=w}}}));
@@ -0,0 +1,6 @@
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
+ * v1.0.0-beta.83
5
+ */
6
+ System.register(["./p-994d99ff.system.js","./p-ddb96773.system.js","./p-1a07da7e.system.js","./p-77762ff3.system.js","./p-2f82a677.system.js"],(function(t){"use strict";var e,a,i,n,o,r,l,s;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g},function(t){o=t.t;r=t.g},function(t){l=t.c;s=t.d},function(){},function(){}],execute:function(){var c={container:"container",header:"header",footer:"footer",title:"title",subtitle:"subtitle",checkboxWrapper:"checkbox-wrapper",thumbnailWrapper:"thumbnail-wrapper"};var d={thumbnail:"thumbnail",title:"title",subtitle:"subtitle",footerLeading:"footer-leading",footerTrailing:"footer-trailing"};var m={select:"Select",deselect:"Deselect",loading:"Loading"};var f="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;max-width:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-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);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{margin-top:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-width:100%;max-width:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;top:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:-ms-flexbox;display:flex}.calcite-card-container.inline{-ms-flex-direction:row;flex-direction:row}.calcite-card-container.inline>.container{width:60%}.calcite-card-container.inline>.thumbnail-wrapper{width:40%;-ms-flex-align:start;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){width:100%}";var h=t("calcite_card",function(){function t(t){var i=this;e(this,t);this.calciteCardSelect=a(this,"calciteCardSelect",7);this.loading=false;this.selected=false;this.selectable=false;this.intlLoading=m.loading;this.intlSelect=m.select;this.intlDeselect=m.deselect;this.thumbnailPosition="block-start";this.cardSelectClick=function(){i.selectCard()};this.cardSelectKeyDown=function(t){switch(t.key){case" ":case"Enter":i.selectCard();t.preventDefault();break}}}t.prototype.connectedCallback=function(){l(this)};t.prototype.disonnectedCallback=function(){s(this)};t.prototype.render=function(){var t;var e=this.thumbnailPosition.startsWith("inline");var a=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":true,inline:e}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{active:true,label:this.intlLoading})):null,a&&this.renderThumbnail(),i("section",{"aria-busy":o(this.loading),class:(t={},t[c.container]=true,t)},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!a&&this.renderThumbnail())};t.prototype.selectCard=function(){this.selected=!this.selected;this.calciteCardSelect.emit()};t.prototype.renderThumbnail=function(){return r(this.el,d.thumbnail)?i("section",{class:c.thumbnailWrapper},i("slot",{name:d.thumbnail})):null};t.prototype.renderCheckbox=function(){var t=this.selected?this.intlDeselect:this.intlSelect;return i("calcite-label",{class:c.checkboxWrapper,onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:t}))};t.prototype.renderHeader=function(){var t=this.el;var e=r(t,d.title);var a=r(t,d.subtitle);var n=e||a;return n?i("header",{class:c.header},i("slot",{name:d.title}),i("slot",{name:d.subtitle})):null};t.prototype.renderFooter=function(){var t=this.el;var e=r(t,d.footerLeading);var a=r(t,d.footerTrailing);var n=e||a;return n?i("footer",{class:c.footer},i("slot",{name:d.footerLeading}),i("slot",{name:d.footerTrailing})):null};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=f}}}));
@@ -0,0 +1,6 @@
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
+ * v1.0.0-beta.83
5
+ */
6
+ import{r as t,c as i,h as a,H as e,g as o}from"./p-caea0782.js";import{g as s}from"./p-f54288ad.js";import{a as n,f as r,t as c}from"./p-9ea395ee.js";import{c as d,d as l,g as h}from"./p-900fd30e.js";import{c as m,d as u,H as p}from"./p-004e3dc9.js";import{g as b}from"./p-a73419ab.js";import{u as f}from"./p-4effc6db.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.focused=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let s=0;const r=o.length;switch(o.some(((t,i)=>{if(t.checked)return s=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(s-1,-1),r));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(s+1,r));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||r(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${s()}`,this.name&&this.checkLastRadioButton(),d(this),m(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){l(this),u(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":h(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::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{w as calcite_radio_button}