@esri/calcite-components 1.0.0-next.476 → 1.0.0-next.479

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 (853) hide show
  1. package/dist/calcite/assets/icon/listCheckAll16.json +1 -0
  2. package/dist/calcite/assets/icon/listCheckAll24.json +1 -0
  3. package/dist/calcite/assets/icon/listCheckAll32.json +1 -0
  4. package/dist/calcite/assets/icon/ltrElementsAlign16.json +1 -0
  5. package/dist/calcite/assets/icon/ltrElementsAlign24.json +1 -0
  6. package/dist/calcite/assets/icon/ltrElementsAlign32.json +1 -0
  7. package/dist/calcite/assets/icon/ltrParagraphAlign16.json +1 -0
  8. package/dist/calcite/assets/icon/ltrParagraphAlign24.json +1 -0
  9. package/dist/calcite/assets/icon/ltrParagraphAlign32.json +1 -0
  10. package/dist/calcite/assets/icon/rangefinder16.json +1 -0
  11. package/dist/calcite/assets/icon/rangefinder24.json +1 -0
  12. package/dist/calcite/assets/icon/rangefinder32.json +1 -0
  13. package/dist/calcite/assets/icon/rasterAnalysis24.json +1 -1
  14. package/dist/calcite/assets/icon/rasterAnalysis32.json +1 -1
  15. package/dist/calcite/assets/icon/rfid16.json +1 -0
  16. package/dist/calcite/assets/icon/rfid24.json +1 -0
  17. package/dist/calcite/assets/icon/rfid32.json +1 -0
  18. package/dist/calcite/assets/icon/rtlElementsAlign16.json +1 -0
  19. package/dist/calcite/assets/icon/rtlElementsAlign24.json +1 -0
  20. package/dist/calcite/assets/icon/rtlElementsAlign32.json +1 -0
  21. package/dist/calcite/assets/icon/rtlParagraphAlign16.json +1 -0
  22. package/dist/calcite/assets/icon/rtlParagraphAlign24.json +1 -0
  23. package/dist/calcite/assets/icon/rtlParagraphAlign32.json +1 -0
  24. package/dist/calcite/calcite.esm.js +2 -2
  25. package/dist/calcite/calcite.js +1 -1
  26. package/dist/calcite/index.esm.js +1 -1
  27. package/dist/calcite/{p-5c5b9125.system.entry.js → p-001abe45.system.entry.js} +2 -2
  28. package/dist/calcite/{p-484edd98.system.js → p-010c7083.system.js} +1 -1
  29. package/dist/calcite/{p-bcce902f.system.entry.js → p-012c233f.system.entry.js} +2 -2
  30. package/dist/calcite/{p-4d7c460c.entry.js → p-01a27b60.entry.js} +2 -2
  31. package/dist/calcite/{p-6fef0a13.system.entry.js → p-0255e148.system.entry.js} +2 -2
  32. package/dist/calcite/{p-dae8006f.js → p-02b0ed6f.js} +1 -1
  33. package/dist/calcite/{p-d51b00fb.js → p-02d45b54.js} +2 -2
  34. package/dist/calcite/{p-e41efea8.system.entry.js → p-0316b59f.system.entry.js} +2 -2
  35. package/dist/calcite/{p-bd054abc.system.entry.js → p-033a20d5.system.entry.js} +2 -2
  36. package/dist/calcite/{p-d713905d.system.entry.js → p-0552e9a4.system.entry.js} +2 -2
  37. package/dist/calcite/{p-9a855e4b.system.entry.js → p-076f3589.system.entry.js} +2 -2
  38. package/dist/calcite/{p-d43fa837.entry.js → p-07ca4185.entry.js} +2 -2
  39. package/dist/calcite/{p-ffdd9c71.entry.js → p-0c205253.entry.js} +2 -2
  40. package/dist/calcite/{p-1330f6bc.entry.js → p-0c472b0c.entry.js} +2 -2
  41. package/dist/calcite/p-0d04b4ab.system.js +6 -0
  42. package/dist/calcite/p-0e369b8b.entry.js +6 -0
  43. package/dist/calcite/{p-bb1c2372.system.js → p-0eedb265.system.js} +2 -2
  44. package/dist/calcite/{p-45d5e557.js → p-1259a4a5.js} +1 -1
  45. package/dist/calcite/p-12919896.system.entry.js +6 -0
  46. package/dist/calcite/{p-1c2a6a73.system.entry.js → p-138157e7.system.entry.js} +3 -3
  47. package/dist/calcite/{p-63f4b74b.entry.js → p-1583e9a1.entry.js} +2 -2
  48. package/dist/calcite/{p-944df338.entry.js → p-17b5840c.entry.js} +2 -2
  49. package/dist/calcite/{p-d72b1282.entry.js → p-1840ae7f.entry.js} +2 -2
  50. package/dist/calcite/{p-6d16da65.entry.js → p-1b6329d5.entry.js} +2 -2
  51. package/dist/calcite/{p-3b86624c.entry.js → p-1fc564c7.entry.js} +2 -2
  52. package/dist/calcite/p-21128806.js +6 -0
  53. package/dist/calcite/{p-c3a69d6a.system.entry.js → p-22ac2115.system.entry.js} +2 -2
  54. package/dist/calcite/{p-131f671f.system.entry.js → p-23af34c3.system.entry.js} +2 -2
  55. package/dist/calcite/{p-7fb6f4bf.js → p-25cfcc1b.js} +2 -2
  56. package/dist/calcite/{p-b8988c8d.entry.js → p-282b100d.entry.js} +2 -2
  57. package/dist/calcite/{p-f6fbc4ef.entry.js → p-28a6d753.entry.js} +2 -2
  58. package/dist/calcite/{p-319df46b.js → p-296c9d0e.js} +2 -2
  59. package/dist/calcite/{p-4f8e0d2d.system.js → p-2d4f75cc.system.js} +1 -1
  60. package/dist/calcite/{p-3f301e7d.system.js → p-2e31a95a.system.js} +2 -2
  61. package/dist/calcite/{p-6ee15895.system.entry.js → p-2ec3abfb.system.entry.js} +2 -2
  62. package/dist/calcite/{p-8cdaf0cd.js → p-314feca3.js} +2 -2
  63. package/dist/calcite/{p-3713e5b0.entry.js → p-31fab9bf.entry.js} +2 -2
  64. package/dist/calcite/{p-32ede342.system.entry.js → p-37f4ac6e.system.entry.js} +2 -2
  65. package/dist/calcite/{p-0b947fa4.entry.js → p-398640df.entry.js} +2 -2
  66. package/dist/calcite/{p-1a844e56.entry.js → p-3d2e64a7.entry.js} +2 -2
  67. package/dist/calcite/{p-6fd1a448.system.js → p-3d49892d.system.js} +2 -2
  68. package/dist/calcite/{p-83b03259.entry.js → p-3ea1034b.entry.js} +2 -2
  69. package/dist/calcite/{p-c363cb8c.system.entry.js → p-3fcaf270.system.entry.js} +2 -2
  70. package/dist/calcite/{p-57e4785f.system.entry.js → p-40df7c87.system.entry.js} +2 -2
  71. package/dist/calcite/{p-41c25bee.js → p-40e629ce.js} +1 -1
  72. package/dist/calcite/{p-2c96da03.js → p-414f78e6.js} +2 -2
  73. package/dist/calcite/{p-9d7a3116.system.entry.js → p-4179b194.system.entry.js} +2 -2
  74. package/dist/calcite/p-44e5475a.system.entry.js +6 -0
  75. package/dist/calcite/{p-5ed0aaca.entry.js → p-450d94cd.entry.js} +2 -2
  76. package/dist/calcite/{p-a5788bca.system.js → p-466d98dc.system.js} +1 -1
  77. package/dist/calcite/{p-807539e9.system.entry.js → p-47a95178.system.entry.js} +2 -2
  78. package/dist/calcite/{p-d3618023.system.entry.js → p-4a11d1ba.system.entry.js} +2 -2
  79. package/dist/calcite/{p-5669f880.system.js → p-4a770350.system.js} +2 -2
  80. package/dist/calcite/{p-c46f7561.js → p-4b4c6dd5.js} +2 -2
  81. package/dist/calcite/{p-2b3a5c7b.system.js → p-4c5a51cb.system.js} +2 -2
  82. package/dist/calcite/{p-8d51935f.entry.js → p-4eca0e69.entry.js} +2 -2
  83. package/dist/calcite/{p-63f9d483.system.entry.js → p-4f672d9c.system.entry.js} +2 -2
  84. package/dist/calcite/{p-cb05e3cd.system.js → p-507da748.system.js} +1 -1
  85. package/dist/calcite/{p-4ace81e9.entry.js → p-53fce7f1.entry.js} +2 -2
  86. package/dist/calcite/{p-dc376347.entry.js → p-54f85324.entry.js} +2 -2
  87. package/dist/calcite/{p-7821e7fd.system.entry.js → p-55b8c527.system.entry.js} +2 -2
  88. package/dist/calcite/{p-127ae5ab.system.js → p-55dde837.system.js} +2 -2
  89. package/dist/calcite/{p-aa6b453c.system.entry.js → p-567f403a.system.entry.js} +2 -2
  90. package/dist/calcite/{p-f7c90343.system.entry.js → p-58e2308d.system.entry.js} +3 -3
  91. package/dist/calcite/{p-dbf8f134.entry.js → p-594ceae9.entry.js} +2 -2
  92. package/dist/calcite/{p-df5faee3.js → p-5a90b3ac.js} +1 -1
  93. package/dist/calcite/{p-6ead23be.entry.js → p-60a2b90d.entry.js} +2 -2
  94. package/dist/calcite/p-61337c50.system.js +6 -0
  95. package/dist/calcite/{p-76870dea.js → p-622aa523.js} +1 -1
  96. package/dist/calcite/{p-3d5dc0ba.js → p-644e7538.js} +2 -2
  97. package/dist/calcite/{p-e53bf165.entry.js → p-6626eb80.entry.js} +2 -2
  98. package/dist/calcite/{p-82fd4f01.entry.js → p-66990e2f.entry.js} +2 -2
  99. package/dist/calcite/{p-f89b2d32.system.js → p-677f82ee.system.js} +1 -1
  100. package/dist/calcite/{p-831f47f2.system.entry.js → p-6a3b3caa.system.entry.js} +2 -2
  101. package/dist/calcite/{p-f0612408.js → p-7005c27d.js} +2 -2
  102. package/dist/calcite/{p-62e2dcbe.system.entry.js → p-70ed2899.system.entry.js} +2 -2
  103. package/dist/calcite/{p-60a665f7.system.entry.js → p-72aadb1e.system.entry.js} +2 -2
  104. package/dist/calcite/{p-f497f1f6.system.entry.js → p-75d39938.system.entry.js} +2 -2
  105. package/dist/calcite/{p-f13fa84e.entry.js → p-76c92909.entry.js} +2 -2
  106. package/dist/calcite/{p-ddacbd8f.js → p-796b5da7.js} +1 -1
  107. package/dist/calcite/{p-99873a4a.entry.js → p-79a3b6b9.entry.js} +2 -2
  108. package/dist/calcite/{p-ab8f3201.entry.js → p-7b1ce7f1.entry.js} +2 -2
  109. package/dist/calcite/{p-f8e0ae75.js → p-7ffe8f06.js} +1 -1
  110. package/dist/calcite/{p-4bfac5f8.entry.js → p-82ca3dfe.entry.js} +2 -2
  111. package/dist/calcite/{p-eede01b9.system.entry.js → p-83f7cfa4.system.entry.js} +2 -2
  112. package/dist/calcite/{p-16355327.entry.js → p-8e128810.entry.js} +2 -2
  113. package/dist/calcite/{p-2ecfba39.system.entry.js → p-8f1e2112.system.entry.js} +3 -3
  114. package/dist/calcite/{p-b3d66cad.system.js → p-8f6cb6af.system.js} +2 -2
  115. package/dist/calcite/{p-d4136f00.system.entry.js → p-8fd3634d.system.entry.js} +2 -2
  116. package/dist/calcite/{p-0d960533.entry.js → p-90b0d736.entry.js} +2 -2
  117. package/dist/calcite/{p-5ff0bb0b.system.entry.js → p-90c4d477.system.entry.js} +2 -2
  118. package/dist/calcite/{p-dfa897c5.js → p-913b0ee4.js} +2 -2
  119. package/dist/calcite/{p-ba6115a0.entry.js → p-955059c7.entry.js} +2 -2
  120. package/dist/calcite/{p-a65cdf53.system.entry.js → p-9704f2af.system.entry.js} +2 -2
  121. package/dist/calcite/{p-d9730455.system.js → p-9a0ab637.system.js} +1 -1
  122. package/dist/calcite/{p-ff5b04a0.entry.js → p-9b44427d.entry.js} +2 -2
  123. package/dist/calcite/{p-1eba9175.system.entry.js → p-9c71711f.system.entry.js} +2 -2
  124. package/dist/calcite/{p-d71f17f1.entry.js → p-9d0dd1ba.entry.js} +2 -2
  125. package/dist/calcite/{p-1355557b.system.js → p-9da75a1c.system.js} +1 -1
  126. package/dist/calcite/{p-890c305f.entry.js → p-a06e728e.entry.js} +2 -2
  127. package/dist/calcite/{p-f33c2256.entry.js → p-a25f1b43.entry.js} +2 -2
  128. package/dist/calcite/{p-2e51f778.system.entry.js → p-a4380f53.system.entry.js} +2 -2
  129. package/dist/calcite/{p-c15a9313.js → p-a4e180ff.js} +1 -1
  130. package/dist/calcite/{p-4837378a.system.entry.js → p-a5a5bdd5.system.entry.js} +2 -2
  131. package/dist/calcite/{p-bf88963f.system.entry.js → p-a6a3de6b.system.entry.js} +2 -2
  132. package/dist/calcite/{p-7e581dde.system.entry.js → p-a813a29f.system.entry.js} +2 -2
  133. package/dist/calcite/{p-6456af6c.system.entry.js → p-a829cfdd.system.entry.js} +2 -2
  134. package/dist/calcite/{p-f0e00c93.system.entry.js → p-a951d0ca.system.entry.js} +2 -2
  135. package/dist/calcite/{p-9cab8f89.entry.js → p-ab31aff6.entry.js} +2 -2
  136. package/dist/calcite/{p-a90a010f.system.entry.js → p-ab9393f4.system.entry.js} +2 -2
  137. package/dist/calcite/{p-15ccf398.entry.js → p-af5170a1.entry.js} +2 -2
  138. package/dist/calcite/{p-ae9fa19b.system.js → p-b44066fa.system.js} +1 -1
  139. package/dist/calcite/{p-94c1c624.system.entry.js → p-b5a70721.system.entry.js} +2 -2
  140. package/dist/calcite/{p-712cf526.entry.js → p-b7d449ac.entry.js} +2 -2
  141. package/dist/calcite/{p-dbec5c49.js → p-b95b059e.js} +2 -2
  142. package/dist/calcite/{p-3010ee5d.entry.js → p-bb6550df.entry.js} +2 -2
  143. package/dist/calcite/{p-c4ea8711.entry.js → p-bbe29b83.entry.js} +2 -2
  144. package/dist/calcite/{p-78e96ae7.system.js → p-bd58961a.system.js} +1 -1
  145. package/dist/calcite/{p-e87cc1a4.js → p-c0a00fcd.js} +1 -1
  146. package/dist/calcite/{p-ef0e2ef8.js → p-c1798e47.js} +1 -1
  147. package/dist/calcite/{p-f0bd3368.system.entry.js → p-c189a8f5.system.entry.js} +2 -2
  148. package/dist/calcite/{p-434d08c6.system.js → p-c23ed287.system.js} +1 -1
  149. package/dist/calcite/{p-91b7a7fe.entry.js → p-c2618906.entry.js} +2 -2
  150. package/dist/calcite/{p-8a318906.entry.js → p-c36cf24c.entry.js} +2 -2
  151. package/dist/calcite/{p-6a29eaf7.entry.js → p-c61f0196.entry.js} +2 -2
  152. package/dist/calcite/{p-00f80e9b.system.js → p-c70c43df.system.js} +1 -1
  153. package/dist/calcite/{p-ab63d052.system.entry.js → p-c7e647a1.system.entry.js} +2 -2
  154. package/dist/calcite/{p-3afe551a.entry.js → p-c895d5f2.entry.js} +2 -2
  155. package/dist/calcite/{p-e1ce20eb.system.entry.js → p-c8bb36c5.system.entry.js} +2 -2
  156. package/dist/calcite/{p-70e816c6.system.js → p-c97da14c.system.js} +1 -1
  157. package/dist/calcite/{p-b374ffde.system.entry.js → p-cb60ff4f.system.entry.js} +2 -2
  158. package/dist/calcite/{p-208c2b9e.system.entry.js → p-cc3716a6.system.entry.js} +2 -2
  159. package/dist/calcite/{p-49ef9879.system.entry.js → p-d11c4ce9.system.entry.js} +2 -2
  160. package/dist/calcite/{p-422164e2.system.js → p-d16b63e1.system.js} +3 -3
  161. package/dist/calcite/{p-7c8f4e42.entry.js → p-d2323792.entry.js} +2 -2
  162. package/dist/calcite/{p-e3e1325b.system.entry.js → p-d28096d9.system.entry.js} +2 -2
  163. package/dist/calcite/{p-47871e98.system.entry.js → p-d473a5f5.system.entry.js} +2 -2
  164. package/dist/calcite/{p-606fc2c2.entry.js → p-d58e1550.entry.js} +2 -2
  165. package/dist/calcite/{p-dd60a825.system.entry.js → p-d6c808d6.system.entry.js} +2 -2
  166. package/dist/calcite/{p-25e5da09.js → p-d71608be.js} +1 -1
  167. package/dist/calcite/{p-196d2e06.js → p-d78d5d1e.js} +1 -1
  168. package/dist/calcite/p-db9bc97e.entry.js +6 -0
  169. package/dist/calcite/{p-26c42747.js → p-dd4df576.js} +1 -1
  170. package/dist/calcite/{p-9b964a83.entry.js → p-e184c59f.entry.js} +2 -2
  171. package/dist/calcite/{p-c6c4f772.system.entry.js → p-e29fb9cf.system.entry.js} +2 -2
  172. package/dist/calcite/{p-655cec22.entry.js → p-e7d1d85f.entry.js} +2 -2
  173. package/dist/calcite/{p-e53dd604.entry.js → p-e820870d.entry.js} +2 -2
  174. package/dist/calcite/{p-9b5bb8b2.entry.js → p-e91ae6dd.entry.js} +2 -2
  175. package/dist/calcite/{p-eefbb4da.system.entry.js → p-ed8666c9.system.entry.js} +2 -2
  176. package/dist/calcite/{p-8a665593.system.entry.js → p-eda300dd.system.entry.js} +2 -2
  177. package/dist/calcite/{p-96239aa7.entry.js → p-edb51c04.entry.js} +2 -2
  178. package/dist/calcite/{p-757d0db2.entry.js → p-ee96a07e.entry.js} +2 -2
  179. package/dist/calcite/{p-3798e936.system.js → p-efef481b.system.js} +2 -2
  180. package/dist/calcite/{p-01b3c79a.system.js → p-f0de8ef9.system.js} +1 -1
  181. package/dist/calcite/{p-54ec142f.system.js → p-f1e8d3f0.system.js} +2 -2
  182. package/dist/calcite/{p-cb89a644.system.entry.js → p-f5818d96.system.entry.js} +3 -3
  183. package/dist/calcite/{p-d5650eb8.entry.js → p-f5b01e78.entry.js} +2 -2
  184. package/dist/calcite/{p-df5ec08f.system.entry.js → p-f78ba023.system.entry.js} +2 -2
  185. package/dist/calcite/{p-d6f69d48.system.js → p-f85cee67.system.js} +1 -1
  186. package/dist/calcite/{p-c10bcd31.system.entry.js → p-f9b22a5a.system.entry.js} +2 -2
  187. package/dist/calcite/{p-58747a29.entry.js → p-fb1639d5.entry.js} +2 -2
  188. package/dist/calcite/p-fb33131c.system.entry.js +6 -0
  189. package/dist/calcite/{p-32f8fd56.entry.js → p-fe0b31be.entry.js} +2 -2
  190. package/dist/calcite/{p-f36ca4c0.entry.js → p-ff4cfdcd.entry.js} +2 -2
  191. package/dist/cjs/{ExpandToggle-c72128b5.js → ExpandToggle-4215b427.js} +5 -5
  192. package/dist/cjs/{Heading-120c502f.js → Heading-19791210.js} +2 -2
  193. package/dist/cjs/{array-a86a520c.js → array-47c77c68.js} +1 -1
  194. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  196. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  199. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  200. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  202. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  203. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  204. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  206. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  207. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  208. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  209. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  210. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -16
  211. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  212. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  214. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  216. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  217. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +12 -12
  219. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  220. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  221. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  222. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  223. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-list_3.cjs.entry.js +10 -10
  225. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  226. package/dist/cjs/calcite-modal.cjs.entry.js +20 -20
  227. package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
  228. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  229. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  230. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  231. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  232. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  233. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  234. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  235. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  236. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  237. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  238. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  239. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  240. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  241. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  242. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  243. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  244. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  245. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  246. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  247. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  248. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  249. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  250. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  251. package/dist/cjs/calcite.cjs.js +2 -2
  252. package/dist/cjs/{conditionalSlot-66ba52d2.js → conditionalSlot-e207b82c.js} +3 -3
  253. package/dist/cjs/{debounce-cab88cfd.js → debounce-fb614795.js} +1 -1
  254. package/dist/cjs/{dom-f3b19f08.js → dom-adb06778.js} +2 -2
  255. package/dist/cjs/{forIn-c5fb4c32.js → forIn-e71052b6.js} +2 -2
  256. package/dist/cjs/{form-1e8e5bea.js → form-cb0cbffd.js} +3 -3
  257. package/dist/cjs/{guid-27f6b741.js → guid-77b29f6c.js} +1 -1
  258. package/dist/cjs/{index-e69e444c.js → index-f98e5cf7.js} +1 -1
  259. package/dist/cjs/index.cjs.js +1 -1
  260. package/dist/cjs/{interactive-426578f9.js → interactive-c087f4c4.js} +1 -1
  261. package/dist/cjs/{interfaces-86d7e96d.js → interfaces-fe957430.js} +1 -1
  262. package/dist/cjs/{label-620f41c3.js → label-7c4adc1f.js} +2 -2
  263. package/dist/cjs/loader.cjs.js +2 -2
  264. package/dist/cjs/{locale-74bd470f.js → locale-4813aaf7.js} +2 -2
  265. package/dist/cjs/{math-a409ca2a.js → math-e47ac5e4.js} +1 -1
  266. package/dist/cjs/{number-273b32e0.js → number-a157cea8.js} +1 -1
  267. package/dist/cjs/{observers-e58af2a5.js → observers-4dcb4447.js} +1 -1
  268. package/dist/cjs/{popper-647b0054.js → popper-daaacd0c.js} +2 -2
  269. package/dist/cjs/{resources-dbe7cbf8.js → resources-30283b8e.js} +1 -1
  270. package/dist/cjs/{resources-89f05471.js → resources-85ecd236.js} +3 -3
  271. package/dist/cjs/{resources-82801b63.js → resources-a14869de.js} +5 -5
  272. package/dist/cjs/{resources-2db20dfd.js → resources-a562b143.js} +1 -1
  273. package/dist/cjs/{sortable.esm-a49865dc.js → sortable.esm-89d4b918.js} +1 -1
  274. package/dist/cjs/{utils-eea5356b.js → utils-a8aa98ca.js} +1 -1
  275. package/dist/collection/components/accordion/accordion.js +1 -1
  276. package/dist/collection/components/accordion/interfaces.js +1 -1
  277. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  278. package/dist/collection/components/action/action.css +1 -1
  279. package/dist/collection/components/action/action.js +1 -1
  280. package/dist/collection/components/action/resources.js +1 -1
  281. package/dist/collection/components/action-bar/action-bar.js +1 -1
  282. package/dist/collection/components/action-bar/resources.js +1 -1
  283. package/dist/collection/components/action-bar/utils.js +1 -1
  284. package/dist/collection/components/action-group/action-group.js +1 -1
  285. package/dist/collection/components/action-group/resources.js +1 -1
  286. package/dist/collection/components/action-menu/action-menu.js +1 -1
  287. package/dist/collection/components/action-menu/resources.js +1 -1
  288. package/dist/collection/components/action-pad/action-pad.js +1 -1
  289. package/dist/collection/components/action-pad/resources.js +1 -1
  290. package/dist/collection/components/alert/alert.js +1 -1
  291. package/dist/collection/components/alert/interfaces.js +1 -1
  292. package/dist/collection/components/alert/resources.js +1 -1
  293. package/dist/collection/components/avatar/avatar.js +1 -1
  294. package/dist/collection/components/avatar/utils.js +1 -1
  295. package/dist/collection/components/block/block.js +1 -1
  296. package/dist/collection/components/block/resources.js +1 -1
  297. package/dist/collection/components/block-section/block-section.js +1 -1
  298. package/dist/collection/components/block-section/interfaces.js +1 -1
  299. package/dist/collection/components/block-section/resources.js +1 -1
  300. package/dist/collection/components/button/button.js +1 -1
  301. package/dist/collection/components/button/interfaces.js +1 -1
  302. package/dist/collection/components/button/resources.js +1 -1
  303. package/dist/collection/components/card/card.js +1 -1
  304. package/dist/collection/components/card/resources.js +1 -1
  305. package/dist/collection/components/checkbox/checkbox.js +1 -1
  306. package/dist/collection/components/chip/chip.css +1 -1
  307. package/dist/collection/components/chip/chip.js +1 -1
  308. package/dist/collection/components/chip/interfaces.js +1 -1
  309. package/dist/collection/components/chip/resources.js +1 -1
  310. package/dist/collection/components/color-picker/color-picker.js +1 -1
  311. package/dist/collection/components/color-picker/interfaces.js +1 -1
  312. package/dist/collection/components/color-picker/resources.js +1 -1
  313. package/dist/collection/components/color-picker/utils.js +1 -1
  314. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  315. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  316. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  317. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  318. package/dist/collection/components/combobox/combobox.js +1 -1
  319. package/dist/collection/components/combobox/interfaces.js +1 -1
  320. package/dist/collection/components/combobox/resources.js +1 -1
  321. package/dist/collection/components/combobox/utils.js +1 -1
  322. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  323. package/dist/collection/components/combobox-item/resources.js +1 -1
  324. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  325. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  326. package/dist/collection/components/date-picker/date-picker.js +1 -1
  327. package/dist/collection/components/date-picker/interfaces.js +1 -1
  328. package/dist/collection/components/date-picker/resources.js +1 -1
  329. package/dist/collection/components/date-picker/utils.js +1 -1
  330. package/dist/collection/components/date-picker-day/date-picker-day.css +1 -2
  331. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  332. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  333. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  334. package/dist/collection/components/dropdown/dropdown.js +1 -1
  335. package/dist/collection/components/dropdown/interfaces.js +1 -1
  336. package/dist/collection/components/dropdown/resources.js +1 -1
  337. package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
  338. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  339. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  340. package/dist/collection/components/dropdown-group/resources.js +1 -1
  341. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -0
  342. package/dist/collection/components/dropdown-item/dropdown-item.js +6 -8
  343. package/dist/collection/components/dropdown-item/resources.js +1 -1
  344. package/dist/collection/components/fab/fab.js +1 -1
  345. package/dist/collection/components/fab/resources.js +1 -1
  346. package/dist/collection/components/filter/filter.css +2 -2
  347. package/dist/collection/components/filter/filter.js +1 -1
  348. package/dist/collection/components/filter/resources.js +1 -1
  349. package/dist/collection/components/flow/flow.js +1 -1
  350. package/dist/collection/components/flow/interfaces.js +1 -1
  351. package/dist/collection/components/flow/resources.js +1 -1
  352. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  353. package/dist/collection/components/functional/Heading.js +1 -1
  354. package/dist/collection/components/graph/graph.js +1 -1
  355. package/dist/collection/components/graph/interfaces.js +1 -1
  356. package/dist/collection/components/graph/util.js +1 -1
  357. package/dist/collection/components/handle/handle.js +1 -1
  358. package/dist/collection/components/handle/resources.js +1 -1
  359. package/dist/collection/components/icon/assets/icon/listCheckAll16.json +1 -0
  360. package/dist/collection/components/icon/assets/icon/listCheckAll24.json +1 -0
  361. package/dist/collection/components/icon/assets/icon/listCheckAll32.json +1 -0
  362. package/dist/collection/components/icon/assets/icon/ltrElementsAlign16.json +1 -0
  363. package/dist/collection/components/icon/assets/icon/ltrElementsAlign24.json +1 -0
  364. package/dist/collection/components/icon/assets/icon/ltrElementsAlign32.json +1 -0
  365. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign16.json +1 -0
  366. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign24.json +1 -0
  367. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign32.json +1 -0
  368. package/dist/collection/components/icon/assets/icon/rangefinder16.json +1 -0
  369. package/dist/collection/components/icon/assets/icon/rangefinder24.json +1 -0
  370. package/dist/collection/components/icon/assets/icon/rangefinder32.json +1 -0
  371. package/dist/collection/components/icon/assets/icon/rasterAnalysis24.json +1 -1
  372. package/dist/collection/components/icon/assets/icon/rasterAnalysis32.json +1 -1
  373. package/dist/collection/components/icon/assets/icon/rfid16.json +1 -0
  374. package/dist/collection/components/icon/assets/icon/rfid24.json +1 -0
  375. package/dist/collection/components/icon/assets/icon/rfid32.json +1 -0
  376. package/dist/collection/components/icon/assets/icon/rtlElementsAlign16.json +1 -0
  377. package/dist/collection/components/icon/assets/icon/rtlElementsAlign24.json +1 -0
  378. package/dist/collection/components/icon/assets/icon/rtlElementsAlign32.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign16.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign24.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign32.json +1 -0
  382. package/dist/collection/components/icon/icon.js +1 -1
  383. package/dist/collection/components/icon/resources.js +1 -1
  384. package/dist/collection/components/icon/utils.js +1 -1
  385. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  386. package/dist/collection/components/inline-editable/resources.js +1 -1
  387. package/dist/collection/components/input/input.js +1 -1
  388. package/dist/collection/components/input/interfaces.js +1 -1
  389. package/dist/collection/components/input/resources.js +1 -1
  390. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  391. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  392. package/dist/collection/components/input-message/input-message.js +1 -1
  393. package/dist/collection/components/input-message/interfaces.js +1 -1
  394. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  395. package/dist/collection/components/interfaces.js +1 -1
  396. package/dist/collection/components/label/label.css +2 -2
  397. package/dist/collection/components/label/label.js +1 -1
  398. package/dist/collection/components/label/resources.js +1 -1
  399. package/dist/collection/components/link/link.js +1 -1
  400. package/dist/collection/components/list/list.js +1 -1
  401. package/dist/collection/components/list/resources.js +1 -1
  402. package/dist/collection/components/list-item/list-item.css +3 -2
  403. package/dist/collection/components/list-item/list-item.js +1 -1
  404. package/dist/collection/components/list-item/resources.js +1 -1
  405. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  406. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  407. package/dist/collection/components/list-item-group/resources.js +1 -1
  408. package/dist/collection/components/loader/loader.js +1 -1
  409. package/dist/collection/components/modal/interfaces.js +1 -1
  410. package/dist/collection/components/modal/modal.css +5 -5
  411. package/dist/collection/components/modal/modal.js +41 -41
  412. package/dist/collection/components/modal/resources.js +1 -1
  413. package/dist/collection/components/notice/notice.css +1 -1
  414. package/dist/collection/components/notice/notice.js +23 -23
  415. package/dist/collection/components/notice/resources.js +1 -1
  416. package/dist/collection/components/option/option.js +1 -1
  417. package/dist/collection/components/option-group/option-group.js +1 -1
  418. package/dist/collection/components/pagination/pagination.css +1 -1
  419. package/dist/collection/components/pagination/pagination.js +1 -1
  420. package/dist/collection/components/pagination/resources.js +1 -1
  421. package/dist/collection/components/panel/panel.js +1 -1
  422. package/dist/collection/components/panel/resources.js +1 -1
  423. package/dist/collection/components/pick-list/pick-list.js +1 -1
  424. package/dist/collection/components/pick-list/resources.js +1 -1
  425. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  426. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  427. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  428. package/dist/collection/components/pick-list-group/resources.js +1 -1
  429. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  430. package/dist/collection/components/pick-list-item/resources.js +1 -1
  431. package/dist/collection/components/popover/PopoverManager.js +1 -1
  432. package/dist/collection/components/popover/popover.js +1 -1
  433. package/dist/collection/components/popover/resources.js +1 -1
  434. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  435. package/dist/collection/components/progress/progress.js +1 -1
  436. package/dist/collection/components/radio-button/radio-button.js +1 -1
  437. package/dist/collection/components/radio-button/resources.js +1 -1
  438. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  439. package/dist/collection/components/radio-group/interfaces.js +1 -1
  440. package/dist/collection/components/radio-group/radio-group.js +1 -1
  441. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  442. package/dist/collection/components/radio-group-item/resources.js +1 -1
  443. package/dist/collection/components/rating/rating.js +1 -1
  444. package/dist/collection/components/rating/resources.js +1 -1
  445. package/dist/collection/components/scrim/resources.js +1 -1
  446. package/dist/collection/components/scrim/scrim.js +1 -1
  447. package/dist/collection/components/select/resources.js +1 -1
  448. package/dist/collection/components/select/select.js +1 -1
  449. package/dist/collection/components/shell/resources.js +1 -1
  450. package/dist/collection/components/shell/shell.js +1 -1
  451. package/dist/collection/components/shell-center-row/resources.js +1 -1
  452. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  453. package/dist/collection/components/shell-panel/resources.js +1 -1
  454. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  455. package/dist/collection/components/slider/slider.js +1 -1
  456. package/dist/collection/components/sortable-list/resources.js +1 -1
  457. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  458. package/dist/collection/components/split-button/resources.js +1 -1
  459. package/dist/collection/components/split-button/split-button.js +1 -1
  460. package/dist/collection/components/stepper/interfaces.js +1 -1
  461. package/dist/collection/components/stepper/stepper.js +1 -1
  462. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  463. package/dist/collection/components/switch/switch.js +1 -1
  464. package/dist/collection/components/tab/interfaces.js +1 -1
  465. package/dist/collection/components/tab/tab.js +1 -1
  466. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  467. package/dist/collection/components/tab-title/tab-title.css +0 -1
  468. package/dist/collection/components/tab-title/tab-title.js +1 -1
  469. package/dist/collection/components/tabs/interfaces.js +1 -1
  470. package/dist/collection/components/tabs/resources.js +1 -1
  471. package/dist/collection/components/tabs/tabs.js +1 -1
  472. package/dist/collection/components/tile/resources.js +1 -1
  473. package/dist/collection/components/tile/tile.js +1 -1
  474. package/dist/collection/components/tile-select/interfaces.js +1 -1
  475. package/dist/collection/components/tile-select/resources.js +1 -1
  476. package/dist/collection/components/tile-select/tile-select.js +1 -1
  477. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  478. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  479. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  480. package/dist/collection/components/time-picker/resources.js +1 -1
  481. package/dist/collection/components/time-picker/time-picker.js +1 -1
  482. package/dist/collection/components/tip/resources.js +1 -1
  483. package/dist/collection/components/tip/tip.js +1 -1
  484. package/dist/collection/components/tip-group/tip-group.js +1 -1
  485. package/dist/collection/components/tip-manager/resources.js +1 -1
  486. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  487. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  488. package/dist/collection/components/tooltip/resources.js +1 -1
  489. package/dist/collection/components/tooltip/tooltip.js +1 -1
  490. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  491. package/dist/collection/components/tree/interfaces.js +1 -1
  492. package/dist/collection/components/tree/tree.js +1 -1
  493. package/dist/collection/components/tree-item/interfaces.js +1 -1
  494. package/dist/collection/components/tree-item/resources.js +1 -1
  495. package/dist/collection/components/tree-item/tree-item.js +1 -1
  496. package/dist/collection/components/value-list/resources.js +1 -1
  497. package/dist/collection/components/value-list/value-list.js +1 -1
  498. package/dist/collection/components/value-list-item/resources.js +1 -1
  499. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  500. package/dist/collection/utils/array.js +1 -1
  501. package/dist/collection/utils/conditionalSlot.js +1 -1
  502. package/dist/collection/utils/date.js +1 -1
  503. package/dist/collection/utils/dom.js +1 -1
  504. package/dist/collection/utils/filter.js +1 -1
  505. package/dist/collection/utils/form.js +1 -1
  506. package/dist/collection/utils/globalAttributes.js +1 -1
  507. package/dist/collection/utils/guid.js +1 -1
  508. package/dist/collection/utils/interactive.js +1 -1
  509. package/dist/collection/utils/key.js +1 -1
  510. package/dist/collection/utils/label.js +1 -1
  511. package/dist/collection/utils/locale.js +1 -1
  512. package/dist/collection/utils/math.js +1 -1
  513. package/dist/collection/utils/number.js +1 -1
  514. package/dist/collection/utils/observers.js +1 -1
  515. package/dist/collection/utils/popper.js +1 -1
  516. package/dist/collection/utils/resources.js +1 -1
  517. package/dist/collection/utils/time.js +1 -1
  518. package/dist/components/ExpandToggle.js +1 -1
  519. package/dist/components/Heading.js +1 -1
  520. package/dist/components/action-group.js +1 -1
  521. package/dist/components/action-menu.js +1 -1
  522. package/dist/components/action.js +2 -2
  523. package/dist/components/array.js +1 -1
  524. package/dist/components/button.js +1 -1
  525. package/dist/components/calcite-accordion-item.js +1 -1
  526. package/dist/components/calcite-accordion.js +1 -1
  527. package/dist/components/calcite-action-bar.js +1 -1
  528. package/dist/components/calcite-action-group.js +1 -1
  529. package/dist/components/calcite-action-menu.js +1 -1
  530. package/dist/components/calcite-action-pad.js +1 -1
  531. package/dist/components/calcite-action.js +1 -1
  532. package/dist/components/calcite-alert.js +1 -1
  533. package/dist/components/calcite-avatar.js +1 -1
  534. package/dist/components/calcite-block-section.js +1 -1
  535. package/dist/components/calcite-block.js +1 -1
  536. package/dist/components/calcite-button.js +1 -1
  537. package/dist/components/calcite-card.js +1 -1
  538. package/dist/components/calcite-checkbox.js +1 -1
  539. package/dist/components/calcite-chip.js +1 -1
  540. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  541. package/dist/components/calcite-color-picker-swatch.js +1 -1
  542. package/dist/components/calcite-color-picker.js +1 -1
  543. package/dist/components/calcite-combobox-item-group.js +1 -1
  544. package/dist/components/calcite-combobox-item.js +1 -1
  545. package/dist/components/calcite-combobox.js +1 -1
  546. package/dist/components/calcite-date-picker-day.js +1 -1
  547. package/dist/components/calcite-date-picker-month-header.js +1 -1
  548. package/dist/components/calcite-date-picker-month.js +1 -1
  549. package/dist/components/calcite-date-picker.js +1 -1
  550. package/dist/components/calcite-dropdown-group.js +2 -2
  551. package/dist/components/calcite-dropdown-item.js +7 -9
  552. package/dist/components/calcite-dropdown.js +1 -1
  553. package/dist/components/calcite-fab.js +1 -1
  554. package/dist/components/calcite-filter.js +1 -1
  555. package/dist/components/calcite-flow.js +1 -1
  556. package/dist/components/calcite-graph.js +1 -1
  557. package/dist/components/calcite-handle.js +1 -1
  558. package/dist/components/calcite-icon.js +1 -1
  559. package/dist/components/calcite-inline-editable.js +1 -1
  560. package/dist/components/calcite-input-date-picker.js +2 -2
  561. package/dist/components/calcite-input-message.js +1 -1
  562. package/dist/components/calcite-input-time-picker.js +1 -1
  563. package/dist/components/calcite-input.js +1 -1
  564. package/dist/components/calcite-label.js +1 -1
  565. package/dist/components/calcite-link.js +1 -1
  566. package/dist/components/calcite-list-item-group.js +2 -2
  567. package/dist/components/calcite-list-item.js +2 -2
  568. package/dist/components/calcite-list.js +1 -1
  569. package/dist/components/calcite-loader.js +1 -1
  570. package/dist/components/calcite-modal.js +15 -15
  571. package/dist/components/calcite-notice.js +8 -8
  572. package/dist/components/calcite-option-group.js +1 -1
  573. package/dist/components/calcite-option.js +1 -1
  574. package/dist/components/calcite-pagination.js +2 -2
  575. package/dist/components/calcite-panel.js +1 -1
  576. package/dist/components/calcite-pick-list-group.js +1 -1
  577. package/dist/components/calcite-pick-list-item.js +1 -1
  578. package/dist/components/calcite-pick-list.js +1 -1
  579. package/dist/components/calcite-popover-manager.js +1 -1
  580. package/dist/components/calcite-popover.js +1 -1
  581. package/dist/components/calcite-progress.js +1 -1
  582. package/dist/components/calcite-radio-button-group.js +1 -1
  583. package/dist/components/calcite-radio-button.js +1 -1
  584. package/dist/components/calcite-radio-group-item.js +1 -1
  585. package/dist/components/calcite-radio-group.js +1 -1
  586. package/dist/components/calcite-rating.js +1 -1
  587. package/dist/components/calcite-scrim.js +1 -1
  588. package/dist/components/calcite-select.js +1 -1
  589. package/dist/components/calcite-shell-center-row.js +1 -1
  590. package/dist/components/calcite-shell-panel.js +1 -1
  591. package/dist/components/calcite-shell.js +1 -1
  592. package/dist/components/calcite-slider.js +1 -1
  593. package/dist/components/calcite-sortable-list.js +1 -1
  594. package/dist/components/calcite-split-button.js +1 -1
  595. package/dist/components/calcite-stepper-item.js +1 -1
  596. package/dist/components/calcite-stepper.js +1 -1
  597. package/dist/components/calcite-switch.js +1 -1
  598. package/dist/components/calcite-tab-nav.js +1 -1
  599. package/dist/components/calcite-tab-title.js +1 -1
  600. package/dist/components/calcite-tab.js +1 -1
  601. package/dist/components/calcite-tabs.js +1 -1
  602. package/dist/components/calcite-tile-select-group.js +2 -2
  603. package/dist/components/calcite-tile-select.js +1 -1
  604. package/dist/components/calcite-tile.js +1 -1
  605. package/dist/components/calcite-time-picker.js +1 -1
  606. package/dist/components/calcite-tip-group.js +1 -1
  607. package/dist/components/calcite-tip-manager.js +1 -1
  608. package/dist/components/calcite-tip.js +1 -1
  609. package/dist/components/calcite-tooltip-manager.js +1 -1
  610. package/dist/components/calcite-tooltip.js +1 -1
  611. package/dist/components/calcite-tree-item.js +1 -1
  612. package/dist/components/calcite-tree.js +1 -1
  613. package/dist/components/calcite-value-list-item.js +1 -1
  614. package/dist/components/calcite-value-list.js +1 -1
  615. package/dist/components/checkbox.js +1 -1
  616. package/dist/components/chip.js +2 -2
  617. package/dist/components/color-picker-hex-input.js +1 -1
  618. package/dist/components/color-picker-swatch.js +1 -1
  619. package/dist/components/conditionalSlot.js +1 -1
  620. package/dist/components/date-picker-day.js +2 -2
  621. package/dist/components/date-picker-month-header.js +1 -1
  622. package/dist/components/date-picker-month.js +1 -1
  623. package/dist/components/date-picker.js +1 -1
  624. package/dist/components/date.js +1 -1
  625. package/dist/components/debounce.js +1 -1
  626. package/dist/components/dom.js +1 -1
  627. package/dist/components/dropdown.js +1 -1
  628. package/dist/components/filter.js +2 -2
  629. package/dist/components/forIn.js +1 -1
  630. package/dist/components/form.js +1 -1
  631. package/dist/components/graph.js +1 -1
  632. package/dist/components/guid.js +1 -1
  633. package/dist/components/handle.js +1 -1
  634. package/dist/components/icon.js +1 -1
  635. package/dist/components/index.js +1 -1
  636. package/dist/components/input.js +1 -1
  637. package/dist/components/interactive.js +1 -1
  638. package/dist/components/interfaces.js +1 -1
  639. package/dist/components/interfaces2.js +1 -1
  640. package/dist/components/label.js +1 -1
  641. package/dist/components/label2.js +2 -2
  642. package/dist/components/link.js +1 -1
  643. package/dist/components/loader.js +1 -1
  644. package/dist/components/locale.js +1 -1
  645. package/dist/components/math.js +1 -1
  646. package/dist/components/number.js +1 -1
  647. package/dist/components/observers.js +1 -1
  648. package/dist/components/pick-list-item.js +1 -1
  649. package/dist/components/popover.js +1 -1
  650. package/dist/components/popper.js +1 -1
  651. package/dist/components/progress.js +1 -1
  652. package/dist/components/resources.js +1 -1
  653. package/dist/components/resources2.js +1 -1
  654. package/dist/components/resources3.js +1 -1
  655. package/dist/components/scrim.js +1 -1
  656. package/dist/components/shared-list-render.js +1 -1
  657. package/dist/components/sortable.esm.js +1 -1
  658. package/dist/components/switch.js +1 -1
  659. package/dist/components/tab-nav.js +1 -1
  660. package/dist/components/tab-title.js +2 -2
  661. package/dist/components/tab.js +1 -1
  662. package/dist/components/tabs.js +1 -1
  663. package/dist/components/tile.js +1 -1
  664. package/dist/components/time-picker.js +1 -1
  665. package/dist/components/utils.js +1 -1
  666. package/dist/components/utils2.js +1 -1
  667. package/dist/custom-elements/index.js +40 -42
  668. package/dist/esm/{ExpandToggle-1234ae1f.js → ExpandToggle-c7026669.js} +5 -5
  669. package/dist/esm/{Heading-d8b01fc1.js → Heading-d7128dad.js} +2 -2
  670. package/dist/esm/{array-2f7ff6a2.js → array-1ebb0fbc.js} +1 -1
  671. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  672. package/dist/esm/calcite-action-bar.entry.js +10 -10
  673. package/dist/esm/calcite-action-group.entry.js +8 -8
  674. package/dist/esm/calcite-action-menu.entry.js +8 -8
  675. package/dist/esm/calcite-action-pad.entry.js +9 -9
  676. package/dist/esm/calcite-action.entry.js +7 -7
  677. package/dist/esm/calcite-alert.entry.js +5 -5
  678. package/dist/esm/calcite-avatar.entry.js +5 -5
  679. package/dist/esm/calcite-block_2.entry.js +8 -8
  680. package/dist/esm/calcite-button.entry.js +8 -8
  681. package/dist/esm/calcite-card.entry.js +6 -6
  682. package/dist/esm/calcite-checkbox.entry.js +7 -7
  683. package/dist/esm/calcite-chip.entry.js +7 -7
  684. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  685. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  686. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  687. package/dist/esm/calcite-dropdown_3.entry.js +14 -16
  688. package/dist/esm/calcite-fab.entry.js +5 -5
  689. package/dist/esm/calcite-filter.entry.js +8 -8
  690. package/dist/esm/calcite-flow.entry.js +3 -3
  691. package/dist/esm/calcite-graph_2.entry.js +9 -9
  692. package/dist/esm/calcite-handle.entry.js +4 -4
  693. package/dist/esm/calcite-icon.entry.js +5 -5
  694. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  695. package/dist/esm/calcite-input-date-picker.entry.js +12 -12
  696. package/dist/esm/calcite-input-message.entry.js +4 -4
  697. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  698. package/dist/esm/calcite-input.entry.js +11 -11
  699. package/dist/esm/calcite-label.entry.js +6 -6
  700. package/dist/esm/calcite-link.entry.js +5 -5
  701. package/dist/esm/calcite-list_3.entry.js +10 -10
  702. package/dist/esm/calcite-loader.entry.js +3 -3
  703. package/dist/esm/calcite-modal.entry.js +20 -20
  704. package/dist/esm/calcite-notice.entry.js +14 -14
  705. package/dist/esm/calcite-option_3.entry.js +8 -8
  706. package/dist/esm/calcite-pagination.entry.js +6 -6
  707. package/dist/esm/calcite-panel.entry.js +9 -9
  708. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  709. package/dist/esm/calcite-popover_2.entry.js +7 -7
  710. package/dist/esm/calcite-progress.entry.js +2 -2
  711. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  712. package/dist/esm/calcite-radio-button.entry.js +8 -8
  713. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  714. package/dist/esm/calcite-rating.entry.js +7 -7
  715. package/dist/esm/calcite-scrim.entry.js +2 -2
  716. package/dist/esm/calcite-shell_3.entry.js +7 -7
  717. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  718. package/dist/esm/calcite-split-button.entry.js +3 -3
  719. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  720. package/dist/esm/calcite-switch.entry.js +7 -7
  721. package/dist/esm/calcite-tab_4.entry.js +7 -7
  722. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  723. package/dist/esm/calcite-tile.entry.js +7 -7
  724. package/dist/esm/calcite-tip_3.entry.js +7 -7
  725. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  726. package/dist/esm/calcite-tree_2.entry.js +6 -6
  727. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  728. package/dist/esm/calcite.js +2 -2
  729. package/dist/esm/{conditionalSlot-9d82a35b.js → conditionalSlot-503d3769.js} +3 -3
  730. package/dist/esm/{debounce-603234fb.js → debounce-1241cf91.js} +1 -1
  731. package/dist/esm/{dom-ee30a35e.js → dom-1efdede7.js} +2 -2
  732. package/dist/esm/{forIn-7b6dafd9.js → forIn-fb166749.js} +2 -2
  733. package/dist/esm/{form-d5bd9ec6.js → form-d576db9b.js} +3 -3
  734. package/dist/esm/{guid-af42efad.js → guid-601a38fd.js} +1 -1
  735. package/dist/esm/{index-f29de5d1.js → index-18760ac4.js} +1 -1
  736. package/dist/esm/index.js +1 -1
  737. package/dist/esm/{interactive-c7c32c38.js → interactive-839dc37e.js} +1 -1
  738. package/dist/esm/{interfaces-464fd2a7.js → interfaces-f2cef67b.js} +1 -1
  739. package/dist/esm/{label-2ccd1fec.js → label-32ae54d2.js} +2 -2
  740. package/dist/esm/loader.js +2 -2
  741. package/dist/esm/{locale-682fd20f.js → locale-73f68a9f.js} +2 -2
  742. package/dist/esm/{math-8e00dda6.js → math-fac5d12a.js} +1 -1
  743. package/dist/esm/{number-0476372a.js → number-8d6b0881.js} +1 -1
  744. package/dist/esm/{observers-0e4c65d6.js → observers-b37f2c11.js} +1 -1
  745. package/dist/esm/{popper-fe01783b.js → popper-3b7cddd6.js} +2 -2
  746. package/dist/esm/{resources-1d12bf2d.js → resources-caad26c2.js} +5 -5
  747. package/dist/esm/{resources-78b04a82.js → resources-d01af4f2.js} +1 -1
  748. package/dist/esm/{resources-a72eb0ee.js → resources-d9adf0aa.js} +1 -1
  749. package/dist/esm/{resources-e8c7f26f.js → resources-facbb78a.js} +3 -3
  750. package/dist/esm/{sortable.esm-24aacc6b.js → sortable.esm-36ae3f9c.js} +1 -1
  751. package/dist/esm/{utils-4a067e2c.js → utils-a03619ce.js} +1 -1
  752. package/dist/esm-es5/{ExpandToggle-1234ae1f.js → ExpandToggle-c7026669.js} +2 -2
  753. package/dist/esm-es5/{Heading-d8b01fc1.js → Heading-d7128dad.js} +2 -2
  754. package/dist/esm-es5/{array-2f7ff6a2.js → array-1ebb0fbc.js} +1 -1
  755. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  756. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  757. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  758. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  759. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  760. package/dist/esm-es5/calcite-action.entry.js +2 -2
  761. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  762. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  763. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  764. package/dist/esm-es5/calcite-button.entry.js +2 -2
  765. package/dist/esm-es5/calcite-card.entry.js +2 -2
  766. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  767. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  768. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  769. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  770. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  771. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  772. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  773. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  774. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  775. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  776. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  777. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  778. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  779. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  780. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  781. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  782. package/dist/esm-es5/calcite-input.entry.js +2 -2
  783. package/dist/esm-es5/calcite-label.entry.js +2 -2
  784. package/dist/esm-es5/calcite-link.entry.js +2 -2
  785. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  786. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  787. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  788. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  789. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  790. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  791. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  792. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  793. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  794. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  795. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  796. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  797. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  798. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  799. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  800. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  801. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  802. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  803. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  804. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  805. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  806. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  807. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  808. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  809. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  810. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  811. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  812. package/dist/esm-es5/calcite.js +2 -2
  813. package/dist/esm-es5/{conditionalSlot-9d82a35b.js → conditionalSlot-503d3769.js} +2 -2
  814. package/dist/esm-es5/{debounce-603234fb.js → debounce-1241cf91.js} +1 -1
  815. package/dist/esm-es5/{dom-ee30a35e.js → dom-1efdede7.js} +2 -2
  816. package/dist/esm-es5/{forIn-7b6dafd9.js → forIn-fb166749.js} +2 -2
  817. package/dist/esm-es5/{form-d5bd9ec6.js → form-d576db9b.js} +2 -2
  818. package/dist/esm-es5/{guid-af42efad.js → guid-601a38fd.js} +1 -1
  819. package/dist/esm-es5/{index-f29de5d1.js → index-18760ac4.js} +1 -1
  820. package/dist/esm-es5/index.js +1 -1
  821. package/dist/esm-es5/{interactive-c7c32c38.js → interactive-839dc37e.js} +1 -1
  822. package/dist/esm-es5/{interfaces-464fd2a7.js → interfaces-f2cef67b.js} +1 -1
  823. package/dist/esm-es5/{label-2ccd1fec.js → label-32ae54d2.js} +2 -2
  824. package/dist/esm-es5/loader.js +2 -2
  825. package/dist/esm-es5/{locale-682fd20f.js → locale-73f68a9f.js} +2 -2
  826. package/dist/esm-es5/{math-8e00dda6.js → math-fac5d12a.js} +1 -1
  827. package/dist/esm-es5/{number-0476372a.js → number-8d6b0881.js} +1 -1
  828. package/dist/esm-es5/{observers-0e4c65d6.js → observers-b37f2c11.js} +1 -1
  829. package/dist/esm-es5/{popper-fe01783b.js → popper-3b7cddd6.js} +2 -2
  830. package/dist/esm-es5/{resources-1d12bf2d.js → resources-caad26c2.js} +2 -2
  831. package/dist/esm-es5/{resources-78b04a82.js → resources-d01af4f2.js} +1 -1
  832. package/dist/esm-es5/{resources-a72eb0ee.js → resources-d9adf0aa.js} +1 -1
  833. package/dist/esm-es5/{resources-e8c7f26f.js → resources-facbb78a.js} +2 -2
  834. package/dist/esm-es5/{sortable.esm-24aacc6b.js → sortable.esm-36ae3f9c.js} +1 -1
  835. package/dist/esm-es5/{utils-4a067e2c.js → utils-a03619ce.js} +1 -1
  836. package/dist/extras/docs-json.json +57 -57
  837. package/dist/loader/cdn.js +1 -1
  838. package/dist/loader/index.cjs.js +1 -1
  839. package/dist/loader/index.es2017.js +1 -1
  840. package/dist/loader/index.js +1 -1
  841. package/dist/types/components/modal/modal.d.ts +28 -28
  842. package/dist/types/components/notice/notice.d.ts +18 -18
  843. package/dist/types/components.d.ts +53 -53
  844. package/hydrate/index.js +49 -51
  845. package/package.json +16 -16
  846. package/dist/calcite/p-04a62108.js +0 -6
  847. package/dist/calcite/p-6eb2cf12.system.entry.js +0 -6
  848. package/dist/calcite/p-8539ef09.entry.js +0 -6
  849. package/dist/calcite/p-97b9e114.entry.js +0 -6
  850. package/dist/calcite/p-b18ecf8c.system.entry.js +0 -6
  851. package/dist/calcite/p-c10e9cbe.system.entry.js +0 -6
  852. package/dist/calcite/p-f6f31626.system.js +0 -6
  853. package/dist/calcite/p-f7e186ba.system.js +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.476",
3
+ "version": "1.0.0-next.479",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -73,16 +73,16 @@
73
73
  "@babel/preset-react": "7.17.12",
74
74
  "@esri/calcite-base": "^1.2.0",
75
75
  "@esri/calcite-colors": "6.0.1",
76
- "@esri/calcite-ui-icons": "3.19.1",
76
+ "@esri/calcite-ui-icons": "3.19.3",
77
77
  "@esri/eslint-plugin-calcite-components": "0.1.4",
78
78
  "@stencil/eslint-plugin": "0.4.0",
79
79
  "@stencil/postcss": "2.1.0",
80
80
  "@stencil/sass": "1.5.2",
81
81
  "@stencil/state-tunnel": "^1.0.1",
82
- "@storybook/addon-a11y": "6.5.3",
83
- "@storybook/addon-docs": "6.5.3",
82
+ "@storybook/addon-a11y": "6.5.6",
83
+ "@storybook/addon-docs": "6.5.6",
84
84
  "@storybook/addon-knobs": "6.4.0",
85
- "@storybook/html": "6.5.3",
85
+ "@storybook/html": "6.5.6",
86
86
  "@storybook/storybook-deployer": "2.8.11",
87
87
  "@types/dedent": "0.7.0",
88
88
  "@types/git-semver-tags": "4.1.1",
@@ -96,23 +96,23 @@
96
96
  "@types/sortablejs": "1.13.0",
97
97
  "@types/standard-version": "7.0.1",
98
98
  "@types/yargs": "17.0.10",
99
- "@typescript-eslint/eslint-plugin": "5.25.0",
100
- "@typescript-eslint/parser": "5.25.0",
99
+ "@typescript-eslint/eslint-plugin": "5.27.0",
100
+ "@typescript-eslint/parser": "5.27.0",
101
101
  "@whitespace/storybook-addon-html": "5.0.0",
102
102
  "autoprefixer": "10.4.7",
103
103
  "axe-core": "4.4.2",
104
104
  "babel-loader": "8.2.5",
105
105
  "chalk": "4.1.2",
106
- "cheerio": "1.0.0-rc.10",
106
+ "cheerio": "1.0.0-rc.11",
107
107
  "chokidar": "3.5.3",
108
- "concurrently": "7.2.0",
108
+ "concurrently": "7.2.1",
109
109
  "conventional-changelog-cli": "2.2.2",
110
110
  "cpy-cli": "^4.0.0",
111
111
  "dedent": "0.7.0",
112
- "eslint": "8.15.0",
112
+ "eslint": "8.16.0",
113
113
  "eslint-config-prettier": "8.5.0",
114
- "eslint-plugin-jest": "26.2.2",
115
- "eslint-plugin-jsdoc": "39.3.0",
114
+ "eslint-plugin-jest": "26.4.6",
115
+ "eslint-plugin-jsdoc": "39.3.2",
116
116
  "eslint-plugin-prettier": "4.0.0",
117
117
  "eslint-plugin-react": "7.30.0",
118
118
  "eslint-plugin-unicorn": "42.0.0",
@@ -122,7 +122,7 @@
122
122
  "jest": "26.6.3",
123
123
  "jest-axe": "6.0.0",
124
124
  "jest-cli": "26.6.3",
125
- "lint-staged": "12.4.1",
125
+ "lint-staged": "12.4.3",
126
126
  "pify": "5.0.0",
127
127
  "postcss": "8.4.14",
128
128
  "prettier": "2.6.2",
@@ -133,14 +133,14 @@
133
133
  "shell-quote": "1.7.3",
134
134
  "standard-version": "9.5.0",
135
135
  "stencil-eslint-core": "0.3.1",
136
- "storybook": "6.5.3",
136
+ "storybook": "6.5.6",
137
137
  "storybook-addon-themes": "6.1.0",
138
138
  "storybook-rtl-addon": "0.3.3",
139
- "stylelint": "14.8.2",
139
+ "stylelint": "14.8.5",
140
140
  "stylelint-config-recommended-scss": "6.0.0",
141
141
  "tailwindcss": "3.0.24",
142
142
  "ts-jest": "27.1.2",
143
- "ts-node": "10.7.0",
143
+ "ts-node": "10.8.0",
144
144
  "typescript": "4.5.4",
145
145
  "updtr": "4.0.0",
146
146
  "workbox-build": "6.5.3",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.476
5
- */
6
- import{h as t}from"./p-25e5da09.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const a=`h${e.level}`;return delete e.level,t(a,Object.assign({},e),r)};export{r as H,e as c}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(i,e,t,a){function r(i){return i instanceof t?i:new t((function(e){e(i)}))}return new(t||(t=Promise))((function(t,n){function o(i){try{l(a.next(i))}catch(i){n(i)}}function c(i){try{l(a["throw"](i))}catch(i){n(i)}}function l(i){i.done?t(i.value):r(i.value).then(o,c)}l((a=a.apply(i,e||[])).next())}))};var __generator=this&&this.__generator||function(i,e){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,r,n,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(i){return function(e){return l([i,e])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(t)try{if(a=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;r=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(n=t.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){t.label=o[1];break}if(o[0]===6&&t.label<n[1]){t.label=n[1];n=o;break}if(n&&t.label<n[2]){t.label=n[2];t.ops.push(o);break}if(n[2])t.ops.pop();t.trys.pop();continue}o=e.call(i,t)}catch(i){o=[6,i];r=0}finally{a=n=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-next.476
6
- */System.register(["./p-f89b2d32.system.js","./p-127ae5ab.system.js","./p-00f80e9b.system.js","./p-2b3a5c7b.system.js","./p-70e816c6.system.js"],(function(i){"use strict";var e,t,a,r,n,o,c,l;return{setters:[function(i){e=i.r;t=i.c;a=i.h;r=i.g},function(i){n=i.g},function(i){o=i.g},function(i){c=i.c;l=i.d},function(){}],execute:function(){var s={title:"title",close:"close",imageContainer:"image-container",chipIcon:"chip-icon",closeIcon:"close-icon"};var p={close:"Close"};var u={image:"image"};var d={close:"x"};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([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;padding-left: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))}";var h=i("calcite_chip",function(){function i(i){var a=this;e(this,i);this.calciteChipDismiss=t(this,"calciteChipDismiss",7);this.appearance="solid";this.color="grey";this.dismissible=false;this.dismissLabel=p.close;this.iconFlipRtl=false;this.scale="m";this.closeClickHandler=function(i){i.preventDefault();a.calciteChipDismiss.emit(a.el)};this.guid=o()}i.prototype.connectedCallback=function(){c(this)};i.prototype.disconnectedCallback=function(){l(this)};i.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){(i=this.closeButton)===null||i===void 0?void 0:i.focus();return[2]}))}))};i.prototype.renderChipImage=function(){var i=this.el;var e=n(i,u.image);return e?a("div",{class:s.imageContainer,key:"image"},a("slot",{name:u.image})):null};i.prototype.render=function(){var i=this;var e=a("calcite-icon",{class:s.chipIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});var t=a("button",{"aria-describedby":this.guid,"aria-label":this.dismissLabel,class:s.close,onClick:this.closeClickHandler,ref:function(e){return i.closeButton=e}},a("calcite-icon",{class:s.closeIcon,icon:d.close,scale:"s"}));return a("div",{class:"container"},this.renderChipImage(),this.icon?e:null,a("span",{class:s.title,id:this.guid},a("slot",null)),this.dismissible?t:null)};Object.defineProperty(i.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return i}());h.style=m}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.476
5
- */
6
- import{r as t,c as e,h as a,H as i,g as r,F as o}from"./p-25e5da09.js";import{T as n,c as s,d as c,a as l,b as h,g as d,H as p,s as u,i as f,l as g,e as m,n as w,f as v,h as b}from"./p-f0612408.js";import{a as x,C as y}from"./p-c46f7561.js";import{u as k}from"./p-c15a9313.js";import{H as D}from"./p-04a62108.js";import"./p-d51b00fb.js";import"./p-196d2e06.js";import"./p-45d5e557.js";const _=class{constructor(a){t(this,a),this.calciteDatePickerChange=e(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=e(this,"calciteDatePickerRangeChange",7),this.intlPrevMonth=n.prevMonth,this.intlNextMonth=n.nextMonth,this.intlYear=n.year,this.locale=document.documentElement.lang||"en",this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.keyUpHandler=t=>{"Escape"===t.key&&this.reset()},this.monthHeaderSelectChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthActiveDateChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthHoverChange=t=>{if(!this.startAsDate)return void(this.hoverRange=void 0);const e=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:this.startAsDate,end:this.endAsDate},this.proximitySelectionDisabled)this.endAsDate?this.hoverRange=void 0:e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");else if(this.endAsDate){const t=s(e,this.startAsDate),a=s(e,this.endAsDate);a>0?(this.hoverRange.end=e,this.hoverRange.focused="end"):t<0||t>a?(this.hoverRange.start=e,this.hoverRange.focused="start"):(this.hoverRange.end=e,this.hoverRange.focused="end")}else e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.reset=()=>{var t,e,a,i,r,o;!Array.isArray(this.valueAsDate)&&this.valueAsDate&&(null===(t=this.valueAsDate)||void 0===t?void 0:t.getTime())!==(null===(e=this.activeDate)||void 0===e?void 0:e.getTime())&&(this.activeDate=new Date(this.valueAsDate)),this.startAsDate&&(null===(a=this.startAsDate)||void 0===a?void 0:a.getTime())!==(null===(i=this.activeStartDate)||void 0===i?void 0:i.getTime())&&(this.activeStartDate=new Date(this.startAsDate)),this.endAsDate&&(null===(r=this.endAsDate)||void 0===r?void 0:r.getTime())!==(null===(o=this.activeEndDate)||void 0===o?void 0:o.getTime())&&(this.activeEndDate=new Date(this.endAsDate))},this.monthDateChange=t=>{const e=new Date(t.detail);if(!this.range)return this.value=e?c(e):"",this.valueAsDate=e||null,this.activeDate=e||null,void this.calciteDatePickerChange.emit(e);if(!this.startAsDate||!this.endAsDate&&e<this.startAsDate)this.startAsDate&&this.setEndDate(new Date(this.startAsDate)),"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else if(this.endAsDate)if(this.proximitySelectionDisabled)this.setStartDate(e),this.endAsDate=this.activeEndDate=this.end=void 0;else if(this.activeRange)"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else{const t=s(e,this.startAsDate),a=s(e,this.endAsDate);0===a||t<0?this.setStartDate(e):0===t||a<0?this.setEndDate(e):t<a?this.setStartDate(e):this.setEndDate(e)}else this.setEndDate(e);this.calciteDatePickerChange.emit(e)}}handleValueAsDate(t){!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=t)}handleRangeChange(){const{startAsDate:t,endAsDate:e}=this;this.activeEndDate=e,this.activeStartDate=t}onMinChanged(t){t&&(this.minAsDate=l(t))}onMaxChanged(t){t&&(this.maxAsDate=l(t))}connectedCallback(){Array.isArray(this.value)?(this.valueAsDate=this.value.map((t=>l(t))),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=l(this.value)),this.start&&this.setStartAsDate(l(this.start)),this.end&&this.setEndAsDate(l(this.end)),this.min&&(this.minAsDate=l(this.min)),this.max&&(this.maxAsDate=l(this.max))}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}render(){var t;const e=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);let r=this.range?this.getActiveStartDate(e,this.minAsDate,this.maxAsDate):this.getActiveDate(e,this.minAsDate,this.maxAsDate);const o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)||this.proximitySelectionDisabled&&!o)||!n||(r=n),this.range&&this.mostRecentRangeValue&&(r=this.mostRecentRangeValue),a(i,{onBlur:this.reset,onKeyUp:this.keyUpHandler,role:"application"},this.renderCalendar(r,this.range&&this.activeRange&&"start"===this.activeRange&&o||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,e,o))}valueHandler(t){Array.isArray(t)?(this.valueAsDate=t.map((t=>l(t))),this.start=t[0],this.end=t[1]):t&&(this.valueAsDate=l(t),this.start="",this.end="")}startWatcher(t){this.setStartAsDate(l(t))}endWatcher(t){this.setEndAsDate(l(t))}async loadLocaleData(){const{locale:t}=this;this.localeData=await d(t)}renderCalendar(t,e,i,r,o){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||p,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:e,min:i,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r||new Date}),a("calcite-date-picker-month",{activeDate:t,endDate:this.range?o:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:e,min:i,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r,startDate:this.range?r:void 0})]}setStartAsDate(t,e){this.startAsDate=t,this.mostRecentRangeValue=this.startAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:t,endDate:this.endAsDate})}setEndAsDate(t,e){this.endAsDate=t,this.mostRecentRangeValue=this.endAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:t})}setEndDate(t){this.end=t?c(t):"",this.setEndAsDate(t,!0),this.activeEndDate=t||null}setStartDate(t){this.start=t?c(t):"",this.setStartAsDate(t,!0),this.activeStartDate=t||null}getActiveDate(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)}getActiveStartDate(t,e,a){return h(this.activeStartDate,e,a)||t||h(new Date,e,a)}getActiveEndDate(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};_.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{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}";const z=class{constructor(a){t(this,a),this.calciteDaySelect=e(this,"calciteDaySelect",7),this.calciteInternalDayHover=e(this,"calciteInternalDayHover",7),this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.onClick=()=>{!this.disabled&&this.calciteDaySelect.emit()},this.keyDownHandler=t=>{const e=t.key;" "!==e&&"Enter"!==e||!this.disabled&&this.calciteDaySelect.emit()}}mouseoverHandler(){this.calciteInternalDayHover.emit({disabled:this.disabled})}render(){const t=String(this.day).split("").map((t=>this.localeData.numerals[t])).join(""),e=x(this.el);return a(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},a("div",{class:{"day-v-wrapper":!0,[y.rtl]:"rtl"===e}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}componentDidRender(){k(this,this.isTabbable)}isTabbable(){return this.active}get el(){return r(this)}};z.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:-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-right:0px;margin-bottom:0px;margin-left:1px}: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}}";const C=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",7),this.calciteInternalDatePickerHover=e(this,"calciteInternalDatePickerHover",7),this.calciteDatePickerActiveDateChange=e(this,"calciteDatePickerActiveDateChange",7),this.calciteInternalDatePickerMouseOut=e(this,"calciteInternalDatePickerMouseOut",7),this.activeDate=new Date,this.keyDownHandler=t=>{const e="rtl"===this.el.dir;switch(t.key){case"ArrowUp":t.preventDefault(),this.addDays(-7);break;case"ArrowRight":t.preventDefault(),this.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault(),this.addDays(7);break;case"ArrowLeft":t.preventDefault(),this.addDays(e?1:-1);break;case"PageUp":t.preventDefault(),this.addMonths(-1);break;case"PageDown":t.preventDefault(),this.addMonths(1);break;case"Home":t.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":t.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=t=>{const e=t.target;t.detail.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(e.value),t.stopPropagation()},this.daySelect=t=>{this.calciteDatePickerSelect.emit(t.target.value)}}mouseoutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const t=this.activeDate.getMonth(),e=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:o,short:n,narrow:s}=this.localeData.days,c="s"===this.scale?s||n||o:n||o||s,l=[...c.slice(r,7),...c.slice(0,r)],h=this.getCurrentMonthDays(t,e),d=this.getPrevMonthdays(t,e,r),p=this.getNextMonthDays(t,e,r),f=[...d.map((a=>{const i=new Date(e,t-1,a);return this.renderDateDay(!1,a,i)})),...h.map((a=>{const i=new Date(e,t,a),r=u(i,this.activeDate);return this.renderDateDay(r,a,i,!0,!0)})),...p.map((a=>{const i=new Date(e,t+1,a);return this.renderDateDay(!1,a,i)}))],g=[];for(let t=0;t<f.length;t+=7)g.push(f.slice(t,t+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calender",role:"grid"},a("div",{class:"week-headers",role:"row"},l.map((t=>a("span",{class:"week-header",role:"columnheader"},t)))),g.map((t=>a("div",{class:"week-days",role:"row"},t)))))}addMonths(t){const e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}addDays(t=0){const e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}getPrevMonthdays(t,e,a){const i=new Date(e,t,0),r=i.getDate(),o=[];if(i.getDay()-6===a)return o;for(let t=Math.abs(i.getDay()-a);t>=0;t--)o.push(r-t);return o}getCurrentMonthDays(t,e){const a=new Date(e,t+1,0).getDate(),i=[];for(let t=0;t<a;t++)i.push(t+1);return i}getNextMonthDays(t,e,a){const i=new Date(e,t+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let t=0;t<(6-(i-a))%7;t++)r.push(t+1);return r}betweenSelectedRange(t){return!(!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate)||this.isRangeHover(t))}isSelected(t){return!!(u(t,this.selectedDate)||this.startDate&&u(t,this.startDate)||this.endDate&&u(t,this.endDate))}isStartOfRange(t){return!(!this.startDate||u(this.startDate,this.endDate)||!u(this.startDate,t)||this.isEndOfRange(t))}isEndOfRange(t){return!!(this.endDate&&!u(this.startDate,this.endDate)&&u(this.endDate,t)||!this.endDate&&this.hoverRange&&u(this.startDate,this.hoverRange.end)&&u(t,this.hoverRange.end))}renderDateDay(t,e,i,r,o){var n;const s=this.isFocusedOnStart(),c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&u(null===(n=this.hoverRange)||void 0===n?void 0:n.end,this.startDate);return a("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":s,"focused--end":!s},currentMonth:r,day:e,disabled:!f(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),key:i.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!u(this.startDate,this.endDate),rangeHover:this.isRangeHover(i),ref:e=>{o&&t&&this.activeFocus&&(null==e||e.focus())},scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i})}isFocusedOnStart(){var t;return"start"===(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)}isHoverInRange(){if(!this.hoverRange)return!1;const{start:t,end:e}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||e<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)}isRangeHover(t){if(!this.hoverRange)return!1;const{start:e,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),o=r&&(!i&&t>this.startDate&&(t<a||u(t,a))||i&&t<this.endDate&&(t>e||u(t,e))),n=!r&&(!i&&t>=this.endDate&&(t<a||u(t,a))||i&&(t<this.startDate||this.endDate&&u(t,this.startDate))&&(t>e||u(t,e)));return o||n}get el(){return r(this)}};C.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}.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}";const A=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",7),this.onYearKey=t=>{const e=t.target.value;switch(t.key){case"ArrowDown":t.preventDefault(),this.setYear({localizedYear:e,offset:-1});break;case"ArrowUp":t.preventDefault(),this.setYear({localizedYear:e,offset:1})}},this.onYearChange=t=>{this.setYear({localizedYear:t.target.value})},this.onYearInput=t=>{this.setYear({localizedYear:t.target.value,commit:!1})},this.prevMonthClick=t=>{this.handleArrowClick(t,this.prevMonthDate)},this.prevMonthKeydown=t=>{const e=t.key;" "!==e&&"Enter"!==e||this.prevMonthClick(t)},this.nextMonthClick=t=>{this.handleArrowClick(t,this.nextMonthDate)},this.nextMonthKeydown=t=>{const e=t.key;" "!==e&&"Enter"!==e||this.nextMonthClick(t)},this.handleArrowClick=(t,e)=>{null==t||t.preventDefault(),t.stopPropagation(),this.calciteDatePickerSelect.emit(e)}}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{class:"header"},this.renderContent())}renderContent(){var t;if(!this.activeDate||!this.localeData)return null;const e=this.activeDate.getMonth(),{months:i,unitOrder:r}=this.localeData,n=(i.wide||i.narrow||i.abbreviated)[e],s=g(this.activeDate.getFullYear(),this.localeData),c="l"===this.scale?"m":"s",l=m(r),h=l.indexOf("y")<l.indexOf("m"),d=null===(t=this.localeData.year)||void 0===t?void 0:t.suffix;return a(o,null,a("a",{"aria-disabled":(this.prevMonthDate.getMonth()===e).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===e?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:c})),a("div",{class:{text:!0,"text--reverse":h}},a(D,{class:"month",level:this.headingLevel},n),a("span",{class:"year-wrap"},a("input",{"aria-label":this.intlYear,class:{year:!0,"year--suffix":!!d},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:t=>this.yearInput=t,type:"text",value:s}),d&&a("span",{class:"suffix"},a("span",{"aria-hidden":"true",class:"suffix__invisible"},s)," "+d))),a("a",{"aria-disabled":(this.nextMonthDate.getMonth()===e).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===e?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:c})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=h(w(this.activeDate),this.min,this.max),this.prevMonthDate=h(v(this.activeDate),this.min,this.max))}getInRangeDate({localizedYear:t,offset:e=0}){const{min:a,max:i,activeDate:r,localeData:o}=this,n=b(t,o),s=n.toString().length,c=!isNaN(n)&&n+e,l=c&&(!a||a.getFullYear()<=c)&&(!i||i.getFullYear()>=c);if(c&&l&&s===t.length){const t=new Date(r);return t.setFullYear(c),h(t,a,i)}}setYear({localizedYear:t,commit:e=!0,offset:a=0}){const{yearInput:i,activeDate:r,localeData:o}=this,n=this.getInRangeDate({localizedYear:t,offset:a});n&&this.calciteDatePickerSelect.emit(n),e&&(i.value=g((n||r).getFullYear(),o))}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};A.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}.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}";export{_ as calcite_date_picker,z as calcite_date_picker_day,C as calcite_date_picker_month,A as calcite_date_picker_month_header}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.476
5
- */
6
- import{r as i,c as a,h as t,g as e}from"./p-25e5da09.js";import{g as r}from"./p-c46f7561.js";import{g as n}from"./p-45d5e557.js";import{c as o,d as c}from"./p-7fb6f4bf.js";import"./p-41c25bee.js";const l=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)}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing: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;padding-left: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{l as calcite_chip}
@@ -1,6 +0,0 @@
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-next.476
6
- */System.register(["./p-f89b2d32.system.js","./p-f6f31626.system.js","./p-127ae5ab.system.js","./p-a5788bca.system.js","./p-3798e936.system.js","./p-b3d66cad.system.js","./p-d9730455.system.js","./p-00f80e9b.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-right:0px;margin-bottom:0px;margin-left:1px}: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}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function s(t){try{l(i.next(t))}catch(t){r(t)}}function o(t){try{l(i["throw"](t))}catch(t){r(t)}}function l(t){t.done?a(t.value):n(t.value).then(s,o)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return l([t,e])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;n=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(s[0]===6&&a.label<r[1]){a.label=r[1];r=s;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(s);break}if(r[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];n=0}finally{i=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.476
6
- */System.register(["./p-f89b2d32.system.js","./p-f6f31626.system.js","./p-54ec142f.system.js","./p-bb1c2372.system.js","./p-5669f880.system.js","./p-a5788bca.system.js","./p-127ae5ab.system.js","./p-b3d66cad.system.js","./p-d9730455.system.js","./p-00f80e9b.system.js"],(function(t){"use strict";var e,a,i,n,r,s,o,l,c,p,u,h,d,f,m,v,y,g,b,w,D,k,x,I,A,P,C,_;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.H;r=t.g},function(t){s=t.T;o=t.d;l=t.a;c=t.b;p=t.g;u=t.s;h=t.p;d=t.i},function(t){f=t.c;m=t.d;v=t.g},function(t){y=t.s;g=t.c;b=t.d;w=t.H},function(t){D=t.d;k=t.f;x=t.u;I=t.C;A=t.c;P=t.p},function(t){C=t.u},function(t){_=t.t},function(){},function(){},function(){}],execute:function(){var E="@-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{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--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([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}.calendar-picker-wrapper{position:static;width:100%;--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-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .menu-container{pointer-events:initial;visibility:visible}.menu-container--active .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.input .calcite-input__wrapper{margin-top:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{height:0.75rem;width:0.75rem;min-width:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var F=t("calcite_input_date_picker",function(){function t(t){var i=this;e(this,t);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.calciteInputDatePickerChange=a(this,"calciteInputDatePickerChange",7);this.calciteInternalInputDatePickerOpen=a(this,"calciteInternalInputDatePickerOpen",7);this.calciteInternalInputDatePickerClose=a(this,"calciteInternalInputDatePickerClose",7);this.disabled=false;this.active=false;this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.placement=D;this.range=false;this.required=false;this.overlayPositioning="absolute";this.proximitySelectionDisabled=false;this.layout="horizontal";this.focusedInput="start";this.activeTransitionProp="opacity";this.setFilteredPlacements=function(){var t=i,e=t.el,a=t.flipPlacements;i.filteredFlipPlacements=a?k(a,e):null};this.transitionEnd=function(t){if(t.propertyName===i.activeTransitionProp){i.active?i.calciteInternalInputDatePickerOpen.emit():i.calciteInternalInputDatePickerClose.emit()}};this.setStartInput=function(t){i.startInput=t};this.setEndInput=function(t){i.endInput=t};this.deactivate=function(){i.active=false};this.keyDownHandler=function(t){if(t.key==="Enter"&&!t.defaultPrevented){y(i)}};this.keyUpHandler=function(t){if(t.key==="Escape"){i.active=false}};this.inputBlur=function(t){i.blur(t.detail)};this.startInputFocus=function(){i.active=true;i.focusedInput="start"};this.endInputFocus=function(){i.active=true;i.focusedInput="end"};this.inputInput=function(t){i.input(t.detail.value)};this.setMenuEl=function(t){if(t){i.menuEl=t;i.createPopper()}};this.setStartWrapper=function(t){i.startWrapper=t;i.setReferenceEl()};this.setEndWrapper=function(t){i.endWrapper=t;i.setReferenceEl()};this.handleDateChange=function(t){if(i.range){return}i.value=o(t.detail)};this.handleDateRangeChange=function(t){var e,a;if(!i.range||!t.detail){return}var n=t.detail,r=n.startDate,s=n.endDate;i.start=o(r);i.end=o(s);i.value=[i.start,i.end];if(i.shouldFocusRangeEnd()){(e=i.endInput)===null||e===void 0?void 0:e.setFocus()}else if(i.shouldFocusRangeStart()){(a=i.startInput)===null||a===void 0?void 0:a.setFocus()}}}t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.valueHandler=function(t){if(Array.isArray(t)){this.valueAsDate=t.map((function(t){return l(t)}));this.start=t[0];this.end=t[1]}else if(t){this.valueAsDate=l(t);this.start="";this.end=""}else{this.valueAsDate=undefined;this.start=undefined;this.end=undefined}};t.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};t.prototype.onMinChanged=function(t){if(t){this.minAsDate=l(t)}};t.prototype.onMaxChanged=function(t){if(t){this.maxAsDate=l(t)}};t.prototype.activeHandler=function(){if(!this.disabled){this.reposition();return}this.active=false};t.prototype.handleDateOrRangeChange=function(){this.calciteInputDatePickerChange.emit()};t.prototype.calciteDaySelectHandler=function(){if(this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()){return}this.active=false};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.startInput)===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,i,n,r;return __generator(this,(function(s){switch(s.label){case 0:t=this,e=t.placement,a=t.popper,i=t.menuEl;n=this.getModifiers();if(!a)return[3,2];return[4,x({el:i,modifiers:n,placement:e,popper:a})];case 1:r=s.sent();return[3,3];case 2:r=this.createPopper();s.label=3;case 3:r;return[2]}}))}))};t.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(t){return l(t)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=l(this.value);this.start="";this.end=""}if(this.start){this.startAsDate=l(this.start)}if(this.end){this.endAsDate=l(this.end)}if(this.min){this.minAsDate=l(this.min)}if(this.max){this.maxAsDate=l(this.max)}this.createPopper();f(this);g(this);this.setFilteredPlacements()};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.disconnectedCallback=function(){this.destroyPopper();m(this);b(this)};t.prototype.componentDidRender=function(){C(this)};t.prototype.render=function(){var t;var e,a;var r=this.disabled;var s=c(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var o=this.range?c(this.endAsDate,this.minAsDate,this.maxAsDate):null;var l=o?o.toLocaleDateString(this.locale):"";var p=s?s.toLocaleDateString(this.locale):"";return i(n,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&i("div",{"aria-expanded":_(this.active),class:"input-container",role:"application"},i("div",{class:"input-wrapper",ref:this.setStartWrapper},i("calcite-input",{class:"input ".concat(this.layout==="vertical"&&this.range?"no-bottom-border":""),disabled:r,icon:"calendar",label:v(this),"number-button-type":"none",onCalciteInputInput:this.inputInput,onCalciteInternalInputBlur:this.inputBlur,onCalciteInternalInputFocus:this.startInputFocus,placeholder:(e=this.localeData)===null||e===void 0?void 0:e.placeholder,ref:this.setStartInput,scale:this.scale,type:"text",value:p})),i("div",{"aria-hidden":_(!this.active),class:{"menu-container":true,"menu-container--active":this.active},ref:this.setMenuEl},i("div",{class:(t={},t["calendar-picker-wrapper"]=true,t["calendar-picker-wrapper--end"]=this.focusedInput==="end",t[I.animation]=true,t[I.animationActive]=this.active,t),onTransitionEnd:this.transitionEnd},i("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&this.layout==="horizontal"&&i("div",{class:"horizontal-arrow-container"},i("calcite-icon",{flipRtl:true,icon:"arrow-right",scale:"s"})),this.range&&this.layout==="vertical"&&this.scale!=="s"&&i("div",{class:"vertical-arrow-container"},i("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&i("div",{class:"input-wrapper",ref:this.setEndWrapper},i("calcite-input",{class:{input:true,"border-top-color-one":this.layout==="vertical"&&this.range},disabled:r,icon:"calendar","number-button-type":"none",onCalciteInputInput:this.inputInput,onCalciteInternalInputBlur:this.inputBlur,onCalciteInternalInputFocus:this.endInputFocus,placeholder:(a=this.localeData)===null||a===void 0?void 0:a.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:l}))),i(w,{component:this}))};t.prototype.setReferenceEl=function(){var t=this,e=t.focusedInput,a=t.layout,i=t.endWrapper,n=t.startWrapper;this.referenceEl=e==="end"||a==="vertical"?i||n:n||i;this.createPopper()};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:this.filteredFlipPlacements||P};var e={name:"eventListeners",enabled:this.active};return[t,e]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,a=t.placement,i=t.referenceEl,n=t.overlayPositioning;if(!e||!i){return}var r=this.getModifiers();this.popper=A({el:e,modifiers:r,overlayPositioning:n,placement:a,referenceEl:i})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.startWatcher=function(t){this.startAsDate=l(t)};t.prototype.endWatcher=function(t){this.endAsDate=l(t)};t.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(a){switch(a.label){case 0:t=this.locale;e=this;return[4,p(t)];case 1:e.localeData=a.sent();return[2]}}))}))};t.prototype.clearCurrentValue=function(){if(!this.range){if(typeof this.value==="string"&&this.value){this.calciteDatePickerChange.emit()}this.value="";return}var t=this.focusedInput;if(t==="start"){if(this.start){this.calciteDatePickerRangeChange.emit()}this.value=Array.isArray(this.value)?["",this.value[1]||""]:[""];this.start=undefined}else if(t==="end"){if(this.end){this.calciteDatePickerRangeChange.emit()}this.value=Array.isArray(this.value)?[this.value[0]||"",""]:["",""];this.end=undefined}};t.prototype.input=function(t){var e=this.getDateFromInput(t);if(!e){this.clearCurrentValue();return}if(!this.range){this.value=o(e);this.calciteDatePickerChange.emit(e);return}var a=this.focusedInput;if(a==="start"){if(!this.startAsDate||!u(e,this.startAsDate)){var i=o(e);this.value=Array.isArray(this.value)?[i,this.value[1]||""]:[i];this.start=i;this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}}else if(a==="end"){if(!this.endAsDate||!u(e,this.endAsDate)){var n=o(e);this.value=Array.isArray(this.value)?[this.value[0]||"",n]:["",n];this.end=n;this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}}};t.prototype.blur=function(t){var e=this,a=e.locale,i=e.focusedInput,n=e.endAsDate,r=e.range,s=e.startAsDate,o=e.valueAsDate;var l=this.getDateFromInput(t.value);if(!l){if(!r&&o){t.value=Array.isArray(o)?o[i==="end"?1:0].toLocaleDateString(a):o.toLocaleDateString(a)}else if(i==="start"&&s){t.value=s.toLocaleDateString(a)}else if(i==="end"&&n){t.value=n.toLocaleDateString(a)}}};t.prototype.shouldFocusRangeStart=function(){return!!(this.endAsDate&&!this.startAsDate&&this.focusedInput==="end"&&this.startInput)};t.prototype.shouldFocusRangeEnd=function(){return!!(this.startAsDate&&!this.endAsDate&&this.focusedInput==="start"&&this.endInput)};t.prototype.getDateFromInput=function(t){if(!this.localeData){return false}var e=this.localeData.separator;var a=h(t,this.localeData),i=a.day,n=a.month,r=a.year;var s=i>0;var o=n>-1;var l=new Date(r,n,i);l.setFullYear(r);var c=!isNaN(l.getTime());var p=t.split(e).filter((function(t){return t})).length>2;var u=r.toString().length>0;if(s&&o&&c&&p&&u&&d(l,this.min,this.max)){return l}return false};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabledChange"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],min:["onMinChanged"],max:["onMaxChanged"],active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return t}());F.style=E}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{c(r.next(t))}catch(t){a(t)}}function u(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=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++;i=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=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=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-next.476
6
- */System.register(["./p-f89b2d32.system.js","./p-b3d66cad.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:f,b:c,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var i={};var a={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(c){switch(c.label){case 0:n=r(t);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,a[n]];case 1:u=c.sent();i[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var i=!(e instanceof Date)||r>=e.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function c(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var i=e instanceof Date&&r<e.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return e}if(a){return n}return t}function f(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var i=w(r);var a=m(t).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.476
5
- */
6
- System.register(["./p-f89b2d32.system.js","./p-127ae5ab.system.js","./p-434d08c6.system.js","./p-1355557b.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.f;n=t.h},function(t){r=t.a},function(t){o=t.S},function(t){i=t.S}],execute:function(){t("t",p);var a=t("o",150);var c=2;var u=function(t){var e=t.height,n=t.actionHeight,r=t.groupCount;return Math.floor((e-r*c)/n)};var l=t("g",(function(t){var e=t.actionCount,n=t.actionHeight,r=t.height,o=t.groupCount;return Math.max(e-u({height:r,actionHeight:n,groupCount:o}),0)}));var f=t("q",(function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===o.trigger:true}))}));var s=t("a",(function(t){var n=t.actionGroups,r=t.expanded,o=t.overflowCount;var a=o;n.reverse().forEach((function(t){var n=0;var o=f(t).reverse();o.forEach((function(t){if(t.slot===i.menuActions){t.removeAttribute("slot");t.textEnabled=r}}));if(a>0){o.some((function(t){var e=o.filter((function(t){return!t.slot}));if(e.length>1&&o.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",i.menuActions);n++;if(n>1){a--}}return a<1}))}e(t)}))}));var v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function h(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function p(t){var e=t.parent,n=t.expanded;f(e).filter((function(t){return t.slot!==i.menuActions})).forEach((function(t){return t.textEnabled=n}));e.querySelectorAll("calcite-action-group").forEach((function(t){return t.expanded=n}))}var d=function(t){var e=t.tooltip,n=t.referenceElement,r=t.expanded,o=t.ref;if(e){e.referenceElement=!r&&n?n:null}if(o){o(n)}return n};var g=t("E",(function(t){var e=t.expanded,o=t.intlExpand,i=t.intlCollapse,a=t.toggle,c=t.el,u=t.position,l=t.tooltip,f=t.ref,s=t.scale;var p=r(c)==="rtl";var g=e?i:o;var m=[v.chevronsLeft,v.chevronsRight];if(p){m.reverse()}var x=h(u,c)==="end";var E=x?m[1]:m[0];var b=x?m[0]:m[1];var y=n("calcite-action",{icon:e?E:b,onClick:a,ref:function(t){return d({tooltip:l,referenceElement:t,expanded:e,ref:f})},scale:s,text:g,textEnabled:e});return y}))}}}));