@esri/calcite-components 1.0.0-beta.72 → 1.0.0-beta.73

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 (690) hide show
  1. package/dist/calcite/assets/calcite-icon/explore16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/explore24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/explore32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/partlyCloudy16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/partlyCloudy24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/partlyCloudy32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/rightAlign16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/rightAlign24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/rightAlign32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/screenshotMode16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/screenshotMode24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/screenshotMode32.json +1 -0
  13. package/dist/calcite/calcite.css +1 -1
  14. package/dist/calcite/calcite.esm.js +1 -1
  15. package/dist/calcite/calcite.js +1 -1
  16. package/dist/calcite/{p-a4a12ffb.system.entry.js → p-0134e87c.system.entry.js} +2 -2
  17. package/dist/calcite/p-02856c5a.system.entry.js +5 -0
  18. package/dist/calcite/p-04bf9bca.system.entry.js +5 -0
  19. package/dist/calcite/p-07284a52.system.js +5 -0
  20. package/dist/calcite/p-082c3059.system.entry.js +5 -0
  21. package/dist/calcite/p-0ac72794.system.entry.js +5 -0
  22. package/dist/calcite/p-0b187e6a.system.entry.js +5 -0
  23. package/dist/calcite/p-0d9a5d78.entry.js +5 -0
  24. package/dist/calcite/p-12c57970.js +5 -0
  25. package/dist/calcite/p-141c978b.system.entry.js +5 -0
  26. package/dist/calcite/p-1509da0f.system.entry.js +5 -0
  27. package/dist/calcite/p-15a38242.system.entry.js +5 -0
  28. package/dist/calcite/{p-2151c991.entry.js → p-18c9da83.entry.js} +1 -1
  29. package/dist/calcite/p-1ae01548.system.js +5 -0
  30. package/dist/calcite/p-1d26d522.system.entry.js +5 -0
  31. package/dist/calcite/p-2015299a.entry.js +5 -0
  32. package/dist/calcite/{p-27d9be53.entry.js → p-209f2049.entry.js} +1 -1
  33. package/dist/calcite/p-20d2db84.entry.js +5 -0
  34. package/dist/calcite/{p-a4784cf3.system.entry.js → p-227da2a5.system.entry.js} +1 -1
  35. package/dist/calcite/p-26481e18.js +5 -0
  36. package/dist/calcite/{p-0f2b51bf.system.js → p-26755e82.system.js} +1 -1
  37. package/dist/calcite/{p-f9e7371d.entry.js → p-2c278864.entry.js} +1 -1
  38. package/dist/calcite/p-2c3bbbb4.system.entry.js +5 -0
  39. package/dist/calcite/p-3366ef60.entry.js +5 -0
  40. package/dist/calcite/p-3baf4001.system.entry.js +5 -0
  41. package/dist/calcite/p-3c14f089.system.entry.js +5 -0
  42. package/dist/calcite/{p-66fda99e.entry.js → p-3c1841bd.entry.js} +1 -1
  43. package/dist/calcite/p-3c34f20d.system.js +5 -0
  44. package/dist/calcite/p-3e8cf990.entry.js +5 -0
  45. package/dist/calcite/p-3f51ac4b.system.entry.js +5 -0
  46. package/dist/calcite/p-4364e76a.system.js +5 -0
  47. package/dist/calcite/{p-fd255a24.entry.js → p-475b5015.entry.js} +1 -1
  48. package/dist/calcite/{p-eebd2bb0.entry.js → p-481366ac.entry.js} +1 -1
  49. package/dist/calcite/p-4aa28569.entry.js +5 -0
  50. package/dist/calcite/{p-d3bd900e.js → p-4f9b0b0f.js} +1 -1
  51. package/dist/calcite/p-4fee156d.system.entry.js +5 -0
  52. package/dist/calcite/{p-d3db2b58.system.entry.js → p-513bc44f.system.entry.js} +1 -1
  53. package/dist/calcite/p-54e07c75.entry.js +5 -0
  54. package/dist/calcite/p-557f31e6.system.entry.js +5 -0
  55. package/dist/calcite/{p-f4a7fa43.entry.js → p-55e6b0b2.entry.js} +1 -1
  56. package/dist/calcite/p-57555baa.system.entry.js +5 -0
  57. package/dist/calcite/p-59222393.entry.js +5 -0
  58. package/dist/calcite/{p-40e16f41.entry.js → p-5cce1e8b.entry.js} +1 -1
  59. package/dist/calcite/p-5d9fe852.entry.js +5 -0
  60. package/dist/calcite/p-5dcd2088.system.entry.js +5 -0
  61. package/dist/calcite/p-6173cf08.system.js +5 -0
  62. package/dist/calcite/{p-fc9025a2.entry.js → p-66ca7309.entry.js} +1 -1
  63. package/dist/calcite/{p-30036f23.system.entry.js → p-6c453fd0.system.entry.js} +1 -1
  64. package/dist/calcite/p-6cd93563.entry.js +5 -0
  65. package/dist/calcite/p-6dbcd698.system.entry.js +5 -0
  66. package/dist/calcite/p-6e0fd056.entry.js +5 -0
  67. package/dist/calcite/p-6f0c4739.system.entry.js +5 -0
  68. package/dist/calcite/p-6fb2082b.entry.js +5 -0
  69. package/dist/calcite/{p-ce704ece.js → p-7017ca05.js} +1 -1
  70. package/dist/calcite/p-70566b09.system.entry.js +5 -0
  71. package/dist/calcite/p-732a0005.system.entry.js +5 -0
  72. package/dist/calcite/p-74365957.system.entry.js +5 -0
  73. package/dist/calcite/p-748c198c.system.entry.js +5 -0
  74. package/dist/calcite/p-765d6b57.system.entry.js +5 -0
  75. package/dist/calcite/{p-444ecda9.entry.js → p-770c1d6b.entry.js} +1 -1
  76. package/dist/calcite/p-7a2142c2.system.entry.js +5 -0
  77. package/dist/calcite/p-7a28e833.system.entry.js +5 -0
  78. package/dist/calcite/p-7bd71ff0.system.entry.js +5 -0
  79. package/dist/calcite/{p-8ebc2d51.entry.js → p-805c94b9.entry.js} +1 -1
  80. package/dist/calcite/p-83d41684.entry.js +5 -0
  81. package/dist/calcite/{p-8c4b6059.system.entry.js → p-84738edb.system.entry.js} +1 -1
  82. package/dist/calcite/p-869eb8f9.entry.js +5 -0
  83. package/dist/calcite/{p-04cc8259.entry.js → p-8e1945e3.entry.js} +1 -1
  84. package/dist/calcite/p-90f7c357.system.entry.js +5 -0
  85. package/dist/calcite/p-917e53a2.system.entry.js +5 -0
  86. package/dist/calcite/p-92ad7d95.entry.js +5 -0
  87. package/dist/calcite/p-94398466.system.entry.js +5 -0
  88. package/dist/calcite/{p-18d9a261.system.js → p-99d32fc3.system.js} +1 -1
  89. package/dist/calcite/p-9acd0a18.entry.js +5 -0
  90. package/dist/calcite/p-a348ffb1.system.entry.js +5 -0
  91. package/dist/calcite/p-a57bd5e6.entry.js +5 -0
  92. package/dist/calcite/p-a76aa7d2.system.entry.js +5 -0
  93. package/dist/calcite/{p-0b45733b.entry.js → p-a7f8b343.entry.js} +1 -1
  94. package/dist/calcite/p-a88d8075.entry.js +5 -0
  95. package/dist/calcite/p-ac234622.system.entry.js +5 -0
  96. package/dist/calcite/p-ae224016.system.entry.js +5 -0
  97. package/dist/calcite/p-afa72097.system.entry.js +5 -0
  98. package/dist/calcite/p-b01c3a89.system.entry.js +5 -0
  99. package/dist/calcite/{p-d8039e8a.system.entry.js → p-b1a43a5f.system.entry.js} +1 -1
  100. package/dist/calcite/p-b55fa7bc.entry.js +5 -0
  101. package/dist/calcite/p-b5bb4618.system.entry.js +5 -0
  102. package/dist/calcite/p-b63dfa63.entry.js +5 -0
  103. package/dist/calcite/p-bb4dcd31.js +5 -0
  104. package/dist/calcite/{p-f25f139a.entry.js → p-bc85a791.entry.js} +1 -1
  105. package/dist/calcite/{p-e0b1e90c.entry.js → p-bccf787f.entry.js} +1 -1
  106. package/dist/calcite/{p-9a8f3883.entry.js → p-bfd9f64a.entry.js} +1 -1
  107. package/dist/calcite/p-c077d664.entry.js +5 -0
  108. package/dist/calcite/p-c3124245.system.entry.js +5 -0
  109. package/dist/calcite/p-c5761666.entry.js +5 -0
  110. package/dist/calcite/p-c7b8a068.entry.js +5 -0
  111. package/dist/calcite/{p-523bc291.system.js → p-cbea8bac.system.js} +1 -1
  112. package/dist/calcite/p-cc63f8f9.entry.js +5 -0
  113. package/dist/calcite/p-cd54c8d0.system.entry.js +5 -0
  114. package/dist/calcite/{p-bca0b34f.entry.js → p-cfcb2161.entry.js} +1 -1
  115. package/dist/calcite/p-d00fbd1e.entry.js +5 -0
  116. package/dist/calcite/{p-4f7ebefc.system.js → p-d4bafc77.system.js} +1 -1
  117. package/dist/calcite/p-d5b221b1.entry.js +5 -0
  118. package/dist/calcite/p-d6bfa9b1.entry.js +5 -0
  119. package/dist/calcite/{p-7ff5e336.entry.js → p-d6e8d643.entry.js} +1 -1
  120. package/dist/calcite/p-d8653ba3.entry.js +5 -0
  121. package/dist/calcite/p-db85eed9.entry.js +5 -0
  122. package/dist/calcite/{p-b437a8eb.system.entry.js → p-dba7c714.system.entry.js} +1 -1
  123. package/dist/calcite/p-dd9f2e61.js +5 -0
  124. package/dist/calcite/p-e2094dff.system.entry.js +5 -0
  125. package/dist/calcite/p-e426746f.system.entry.js +5 -0
  126. package/dist/calcite/p-e5130ebf.system.entry.js +5 -0
  127. package/dist/calcite/p-e62edb4d.system.entry.js +5 -0
  128. package/dist/calcite/{p-f72c037c.entry.js → p-e63f0806.entry.js} +1 -1
  129. package/dist/calcite/p-e7103edc.entry.js +5 -0
  130. package/dist/calcite/p-e8270c76.system.entry.js +5 -0
  131. package/dist/calcite/p-eca26cba.system.entry.js +5 -0
  132. package/dist/calcite/p-ef6f8370.entry.js +5 -0
  133. package/dist/calcite/{p-87327c2f.system.entry.js → p-f26cad61.system.entry.js} +1 -1
  134. package/dist/calcite/p-f3b489d9.js +5 -0
  135. package/dist/calcite/p-f3d02833.js +5 -0
  136. package/dist/calcite/{p-f39dc5fd.entry.js → p-f5739197.entry.js} +1 -1
  137. package/dist/calcite/p-f63b9411.entry.js +5 -0
  138. package/dist/calcite/p-f70f5521.system.entry.js +5 -0
  139. package/dist/calcite/{p-d9414082.system.entry.js → p-f763b1e7.system.entry.js} +1 -1
  140. package/dist/calcite/p-f87c1273.js +5 -0
  141. package/dist/calcite/p-f8c99ef3.system.entry.js +5 -0
  142. package/dist/calcite/p-f8f128a2.entry.js +5 -0
  143. package/dist/calcite/{p-f1f65708.entry.js → p-f95fb85f.entry.js} +1 -1
  144. package/dist/calcite/{p-a2a22cbc.entry.js → p-fc3c1e91.entry.js} +1 -1
  145. package/dist/calcite/p-fcde21ce.system.js +5 -0
  146. package/dist/calcite/p-fdd3ea5e.entry.js +5 -0
  147. package/dist/calcite/{p-06ddf228.entry.js → p-fe3fff79.entry.js} +1 -1
  148. package/dist/calcite/p-fee9511c.system.entry.js +5 -0
  149. package/dist/cjs/{CalciteExpandToggle-d654421a.js → CalciteExpandToggle-38ca208f.js} +1 -1
  150. package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
  151. package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -3
  152. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  153. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  154. package/dist/cjs/calcite-action-pad.cjs.entry.js +3 -3
  155. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  156. package/dist/cjs/calcite-alert.cjs.entry.js +3 -3
  157. package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
  158. package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
  159. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  160. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  161. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  162. package/dist/cjs/calcite-chip.cjs.entry.js +2 -2
  163. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +4 -4
  164. package/dist/cjs/calcite-combobox_3.cjs.entry.js +7 -7
  165. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -14
  166. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +5 -5
  167. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  168. package/dist/cjs/calcite-filter.cjs.entry.js +2 -2
  169. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  170. package/dist/cjs/calcite-graph_2.cjs.entry.js +5 -5
  171. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  172. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  173. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  174. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +9 -9
  175. package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
  176. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  177. package/dist/cjs/calcite-input.cjs.entry.js +28 -18
  178. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  179. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  180. package/dist/cjs/calcite-list_3.cjs.entry.js +4 -4
  181. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  183. package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
  184. package/dist/cjs/calcite-option_3.cjs.entry.js +6 -6
  185. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  186. package/dist/cjs/calcite-panel.cjs.entry.js +2 -2
  187. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +6 -5
  188. package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -6
  189. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  191. package/dist/cjs/calcite-radio-button.cjs.entry.js +20 -9
  192. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +5 -50
  193. package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
  194. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-shell_3.cjs.entry.js +4 -4
  196. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  197. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  198. package/dist/cjs/calcite-stepper_2.cjs.entry.js +3 -3
  199. package/dist/cjs/calcite-switch.cjs.entry.js +4 -4
  200. package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +38 -3
  202. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  203. package/dist/cjs/calcite-tip_3.cjs.entry.js +4 -4
  204. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-tree_2.cjs.entry.js +3 -3
  206. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -6
  207. package/dist/cjs/calcite.cjs.js +1 -1
  208. package/dist/cjs/{dom-19822169.js → dom-db7722f2.js} +25 -8
  209. package/dist/cjs/{form-a5b44a1f.js → form-ad18d4fc.js} +1 -1
  210. package/dist/cjs/{label-8e3552b2.js → label-4776bb0e.js} +5 -2
  211. package/dist/cjs/loader.cjs.js +1 -1
  212. package/dist/cjs/locale-b9b153dd.js +127 -0
  213. package/dist/cjs/number-e813e801.js +84 -0
  214. package/dist/cjs/{popper-a7580aca.js → popper-adfdc032.js} +29 -10
  215. package/dist/cjs/{resources-6c4b32ef.js → resources-8273cb31.js} +13 -2
  216. package/dist/cjs/{resources-16974e48.js → resources-c524c005.js} +1 -1
  217. package/dist/collection/collection-manifest.json +1 -1
  218. package/dist/collection/components/calcite-accordion/calcite-accordion.css +3 -13
  219. package/dist/collection/components/calcite-accordion/calcite-accordion.js +1 -1
  220. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +31 -61
  221. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +1 -1
  222. package/dist/collection/components/calcite-action/calcite-action.css +46 -91
  223. package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +7 -18
  224. package/dist/collection/components/calcite-action-group/calcite-action-group.css +5 -18
  225. package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +11 -23
  226. package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +26 -25
  227. package/dist/collection/components/calcite-alert/calcite-alert.css +56 -104
  228. package/dist/collection/components/calcite-alert/calcite-alert.js +1 -1
  229. package/dist/collection/components/calcite-avatar/calcite-avatar.css +8 -20
  230. package/dist/collection/components/calcite-block/calcite-block.css +43 -53
  231. package/dist/collection/components/calcite-block-section/calcite-block-section.css +25 -41
  232. package/dist/collection/components/calcite-button/calcite-button.css +83 -226
  233. package/dist/collection/components/calcite-card/calcite-card.css +49 -60
  234. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +11 -24
  235. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +1 -1
  236. package/dist/collection/components/calcite-chip/calcite-chip.css +18 -41
  237. package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +11 -41
  238. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +7 -17
  239. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +7 -18
  240. package/dist/collection/components/calcite-combobox/calcite-combobox.css +28 -47
  241. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +34 -41
  242. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +8 -19
  243. package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +4 -14
  244. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +7 -6
  245. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +37 -59
  246. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +21 -31
  247. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +34 -56
  248. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +3 -20
  249. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +10 -20
  250. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +48 -59
  251. package/dist/collection/components/calcite-fab/calcite-fab.css +10 -16
  252. package/dist/collection/components/calcite-filter/calcite-filter.css +20 -34
  253. package/dist/collection/components/calcite-flow/calcite-flow.css +22 -34
  254. package/dist/collection/components/calcite-graph/calcite-graph.css +3 -14
  255. package/dist/collection/components/calcite-handle/calcite-handle.css +4 -18
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore16.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore24.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore32.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy16.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy24.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy32.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign16.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign24.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign32.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode16.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode24.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode32.json +1 -0
  268. package/dist/collection/components/calcite-icon/calcite-icon.css +12 -14
  269. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +5 -12
  270. package/dist/collection/components/calcite-input/calcite-input.css +94 -156
  271. package/dist/collection/components/calcite-input/calcite-input.js +22 -12
  272. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +28 -46
  273. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +1 -1
  274. package/dist/collection/components/calcite-input-message/calcite-input-message.css +12 -23
  275. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +1 -11
  276. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +2 -2
  277. package/dist/collection/components/calcite-label/calcite-label.css +19 -34
  278. package/dist/collection/components/calcite-link/calcite-link.css +16 -33
  279. package/dist/collection/components/calcite-list/calcite-list.css +9 -16
  280. package/dist/collection/components/calcite-list-item/calcite-list-item.css +23 -46
  281. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +7 -17
  282. package/dist/collection/components/calcite-loader/calcite-loader.css +37 -62
  283. package/dist/collection/components/calcite-modal/calcite-modal.css +95 -102
  284. package/dist/collection/components/calcite-notice/calcite-notice.css +43 -81
  285. package/dist/collection/components/calcite-option/calcite-option.css +1 -11
  286. package/dist/collection/components/calcite-option-group/calcite-option-group.css +1 -11
  287. package/dist/collection/components/calcite-pagination/calcite-pagination.css +20 -54
  288. package/dist/collection/components/calcite-panel/calcite-panel.css +50 -73
  289. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +16 -26
  290. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +12 -4
  291. package/dist/collection/components/calcite-pick-list/resources.js +1 -1
  292. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +10 -0
  293. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +14 -27
  294. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +43 -60
  295. package/dist/collection/components/calcite-popover/calcite-popover.css +24 -34
  296. package/dist/collection/components/calcite-popover/calcite-popover.js +1 -1
  297. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +1 -11
  298. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +1 -1
  299. package/dist/collection/components/calcite-progress/calcite-progress.css +7 -20
  300. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +8 -21
  301. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +16 -5
  302. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +1 -14
  303. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +3 -15
  304. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +17 -28
  305. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +0 -45
  306. package/dist/collection/components/calcite-rating/calcite-rating.css +10 -24
  307. package/dist/collection/components/calcite-scrim/calcite-scrim.css +17 -29
  308. package/dist/collection/components/calcite-select/calcite-select.css +23 -39
  309. package/dist/collection/components/calcite-shell/calcite-shell.css +43 -43
  310. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +26 -21
  311. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +33 -52
  312. package/dist/collection/components/calcite-slider/calcite-slider.css +45 -93
  313. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +1 -11
  314. package/dist/collection/components/calcite-split-button/calcite-split-button.css +7 -27
  315. package/dist/collection/components/calcite-stepper/calcite-stepper.css +8 -18
  316. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +38 -72
  317. package/dist/collection/components/calcite-switch/calcite-switch.css +24 -47
  318. package/dist/collection/components/calcite-tab/calcite-tab.css +10 -20
  319. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +13 -23
  320. package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +40 -65
  321. package/dist/collection/components/calcite-tabs/calcite-tabs.css +3 -13
  322. package/dist/collection/components/calcite-tile/calcite-tile.css +52 -85
  323. package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +52 -87
  324. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +21 -2
  325. package/dist/collection/components/calcite-tile-select/resources.js +20 -0
  326. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +1 -12
  327. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +15 -47
  328. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +4 -4
  329. package/dist/collection/components/calcite-tip/calcite-tip.css +20 -36
  330. package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +4 -14
  331. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +34 -49
  332. package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +12 -20
  333. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +1 -1
  334. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +1 -11
  335. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -1
  336. package/dist/collection/components/calcite-tree/calcite-tree.css +1 -11
  337. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +22 -58
  338. package/dist/collection/components/calcite-value-list/calcite-value-list.css +17 -25
  339. package/dist/collection/components/calcite-value-list/calcite-value-list.js +22 -8
  340. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +22 -33
  341. package/dist/collection/utils/dom.js +25 -8
  342. package/dist/collection/utils/label.js +4 -1
  343. package/dist/collection/utils/locale.js +42 -38
  344. package/dist/collection/utils/number.js +48 -23
  345. package/dist/components/calcite-accordion-item.js +1 -1
  346. package/dist/components/calcite-accordion.js +1 -1
  347. package/dist/components/calcite-action-bar.js +1 -1
  348. package/dist/components/calcite-action-group2.js +1 -1
  349. package/dist/components/calcite-action-menu2.js +1 -1
  350. package/dist/components/calcite-action-pad.js +1 -1
  351. package/dist/components/calcite-action2.js +1 -1
  352. package/dist/components/calcite-alert.js +2 -2
  353. package/dist/components/calcite-avatar.js +1 -1
  354. package/dist/components/calcite-block-section.js +1 -1
  355. package/dist/components/calcite-block.js +1 -1
  356. package/dist/components/calcite-button2.js +1 -1
  357. package/dist/components/calcite-card.js +1 -1
  358. package/dist/components/calcite-checkbox2.js +2 -2
  359. package/dist/components/calcite-chip2.js +1 -1
  360. package/dist/components/calcite-color-picker-hex-input2.js +1 -1
  361. package/dist/components/calcite-color-picker-swatch2.js +1 -1
  362. package/dist/components/calcite-color-picker.js +1 -1
  363. package/dist/components/calcite-combobox-item-group.js +1 -1
  364. package/dist/components/calcite-combobox-item.js +1 -1
  365. package/dist/components/calcite-combobox.js +1 -1
  366. package/dist/components/calcite-date-picker-day2.js +1 -1
  367. package/dist/components/calcite-date-picker-month-header2.js +1 -1
  368. package/dist/components/calcite-date-picker-month2.js +1 -1
  369. package/dist/components/calcite-date-picker2.js +8 -7
  370. package/dist/components/calcite-dropdown-group.js +1 -1
  371. package/dist/components/calcite-dropdown-item.js +1 -1
  372. package/dist/components/calcite-dropdown2.js +1 -1
  373. package/dist/components/calcite-fab.js +1 -1
  374. package/dist/components/calcite-filter2.js +1 -1
  375. package/dist/components/calcite-flow.js +1 -1
  376. package/dist/components/calcite-graph2.js +1 -1
  377. package/dist/components/calcite-handle2.js +1 -1
  378. package/dist/components/calcite-icon2.js +1 -1
  379. package/dist/components/calcite-inline-editable.js +1 -1
  380. package/dist/components/calcite-input-date-picker.js +2 -2
  381. package/dist/components/calcite-input-message.js +1 -1
  382. package/dist/components/calcite-input-time-picker.js +2 -2
  383. package/dist/components/calcite-input2.js +23 -13
  384. package/dist/components/calcite-label2.js +1 -1
  385. package/dist/components/calcite-link2.js +1 -1
  386. package/dist/components/calcite-list-item-group.js +1 -1
  387. package/dist/components/calcite-list-item.js +1 -1
  388. package/dist/components/calcite-list.js +1 -1
  389. package/dist/components/calcite-loader2.js +1 -1
  390. package/dist/components/calcite-modal.js +1 -1
  391. package/dist/components/calcite-notice.js +1 -1
  392. package/dist/components/calcite-option-group.js +1 -1
  393. package/dist/components/calcite-option.js +1 -1
  394. package/dist/components/calcite-pagination.js +1 -1
  395. package/dist/components/calcite-panel.js +1 -1
  396. package/dist/components/calcite-pick-list-group.js +1 -1
  397. package/dist/components/calcite-pick-list-item2.js +1 -1
  398. package/dist/components/calcite-pick-list.js +3 -2
  399. package/dist/components/calcite-popover-manager.js +2 -2
  400. package/dist/components/calcite-popover2.js +2 -2
  401. package/dist/components/calcite-progress2.js +1 -1
  402. package/dist/components/calcite-radio-button-group.js +1 -1
  403. package/dist/components/calcite-radio-button.js +17 -6
  404. package/dist/components/calcite-radio-group-item.js +1 -46
  405. package/dist/components/calcite-radio-group.js +1 -1
  406. package/dist/components/calcite-rating.js +1 -1
  407. package/dist/components/calcite-scrim2.js +1 -1
  408. package/dist/components/calcite-select.js +1 -1
  409. package/dist/components/calcite-shell-center-row.js +1 -1
  410. package/dist/components/calcite-shell-panel.js +1 -1
  411. package/dist/components/calcite-shell.js +1 -1
  412. package/dist/components/calcite-slider.js +1 -1
  413. package/dist/components/calcite-sortable-list.js +1 -1
  414. package/dist/components/calcite-split-button.js +1 -1
  415. package/dist/components/calcite-stepper-item.js +1 -1
  416. package/dist/components/calcite-stepper.js +1 -1
  417. package/dist/components/calcite-switch2.js +1 -1
  418. package/dist/components/calcite-tab-nav2.js +1 -1
  419. package/dist/components/calcite-tab-title2.js +1 -1
  420. package/dist/components/calcite-tab2.js +1 -1
  421. package/dist/components/calcite-tabs2.js +1 -1
  422. package/dist/components/calcite-tile-select-group.js +1 -1
  423. package/dist/components/calcite-tile-select.js +37 -2
  424. package/dist/components/calcite-tile2.js +1 -1
  425. package/dist/components/calcite-time-picker2.js +4 -4
  426. package/dist/components/calcite-tip-group.js +1 -1
  427. package/dist/components/calcite-tip-manager.js +1 -1
  428. package/dist/components/calcite-tip.js +1 -1
  429. package/dist/components/calcite-tooltip-manager2.js +2 -2
  430. package/dist/components/calcite-tooltip.js +2 -2
  431. package/dist/components/calcite-tree-item.js +1 -1
  432. package/dist/components/calcite-tree.js +1 -1
  433. package/dist/components/calcite-value-list-item.js +1 -1
  434. package/dist/components/calcite-value-list.js +11 -4
  435. package/dist/components/dom.js +25 -8
  436. package/dist/components/label.js +4 -1
  437. package/dist/components/locale.js +42 -38
  438. package/dist/components/number.js +49 -24
  439. package/dist/components/popper.js +28 -9
  440. package/dist/components/resources3.js +1 -1
  441. package/dist/components/shared-list-render.js +11 -1
  442. package/dist/custom-elements/index.js +603 -504
  443. package/dist/esm/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-1b1bf600.js} +1 -1
  444. package/dist/esm/calcite-accordion_2.entry.js +3 -3
  445. package/dist/esm/calcite-action-bar.entry.js +3 -3
  446. package/dist/esm/calcite-action-group.entry.js +2 -2
  447. package/dist/esm/calcite-action-menu.entry.js +2 -2
  448. package/dist/esm/calcite-action-pad.entry.js +3 -3
  449. package/dist/esm/calcite-action.entry.js +1 -1
  450. package/dist/esm/calcite-alert.entry.js +3 -3
  451. package/dist/esm/calcite-avatar.entry.js +2 -2
  452. package/dist/esm/calcite-block_2.entry.js +3 -3
  453. package/dist/esm/calcite-button.entry.js +3 -3
  454. package/dist/esm/calcite-card.entry.js +1 -1
  455. package/dist/esm/calcite-checkbox.entry.js +5 -5
  456. package/dist/esm/calcite-chip.entry.js +2 -2
  457. package/dist/esm/calcite-color-picker_3.entry.js +4 -4
  458. package/dist/esm/calcite-combobox_3.entry.js +7 -7
  459. package/dist/esm/calcite-date-picker_4.entry.js +15 -14
  460. package/dist/esm/calcite-dropdown_3.entry.js +5 -5
  461. package/dist/esm/calcite-fab.entry.js +2 -2
  462. package/dist/esm/calcite-filter.entry.js +2 -2
  463. package/dist/esm/calcite-flow.entry.js +1 -1
  464. package/dist/esm/calcite-graph_2.entry.js +5 -5
  465. package/dist/esm/calcite-handle.entry.js +1 -1
  466. package/dist/esm/calcite-icon.entry.js +2 -2
  467. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  468. package/dist/esm/calcite-input-date-picker.entry.js +9 -9
  469. package/dist/esm/calcite-input-message.entry.js +2 -2
  470. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  471. package/dist/esm/calcite-input.entry.js +28 -18
  472. package/dist/esm/calcite-label.entry.js +1 -1
  473. package/dist/esm/calcite-link.entry.js +2 -2
  474. package/dist/esm/calcite-list_3.entry.js +4 -4
  475. package/dist/esm/calcite-loader.entry.js +1 -1
  476. package/dist/esm/calcite-modal.entry.js +2 -2
  477. package/dist/esm/calcite-notice.entry.js +2 -2
  478. package/dist/esm/calcite-option_3.entry.js +6 -6
  479. package/dist/esm/calcite-pagination.entry.js +1 -1
  480. package/dist/esm/calcite-panel.entry.js +2 -2
  481. package/dist/esm/calcite-pick-list_3.entry.js +6 -5
  482. package/dist/esm/calcite-popover_2.entry.js +6 -6
  483. package/dist/esm/calcite-progress.entry.js +1 -1
  484. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  485. package/dist/esm/calcite-radio-button.entry.js +20 -9
  486. package/dist/esm/calcite-radio-group_2.entry.js +5 -50
  487. package/dist/esm/calcite-rating.entry.js +4 -4
  488. package/dist/esm/calcite-scrim.entry.js +1 -1
  489. package/dist/esm/calcite-shell_3.entry.js +4 -4
  490. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  491. package/dist/esm/calcite-split-button.entry.js +1 -1
  492. package/dist/esm/calcite-stepper_2.entry.js +3 -3
  493. package/dist/esm/calcite-switch.entry.js +4 -4
  494. package/dist/esm/calcite-tab_4.entry.js +5 -5
  495. package/dist/esm/calcite-tile-select_2.entry.js +38 -3
  496. package/dist/esm/calcite-tile.entry.js +2 -2
  497. package/dist/esm/calcite-tip_3.entry.js +4 -4
  498. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  499. package/dist/esm/calcite-tree_2.entry.js +3 -3
  500. package/dist/esm/calcite-value-list_2.entry.js +13 -6
  501. package/dist/esm/calcite.js +1 -1
  502. package/dist/esm/{dom-f24e866c.js → dom-e55f9eaf.js} +25 -8
  503. package/dist/esm/{form-160b0fb5.js → form-147bc6d7.js} +1 -1
  504. package/dist/esm/{label-5559055d.js → label-240ef148.js} +5 -2
  505. package/dist/esm/loader.js +1 -1
  506. package/dist/esm/locale-1b48f64f.js +122 -0
  507. package/dist/esm/number-8779395f.js +76 -0
  508. package/dist/esm/{popper-f5caedc4.js → popper-1814b3c1.js} +29 -10
  509. package/dist/esm/{resources-b4eee1d4.js → resources-74c807b4.js} +1 -1
  510. package/dist/esm/{resources-35c1823f.js → resources-a6abee37.js} +13 -3
  511. package/dist/esm-es5/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-1b1bf600.js} +1 -1
  512. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  513. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  514. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  515. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  516. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  517. package/dist/esm-es5/calcite-action.entry.js +1 -1
  518. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  519. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  520. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  521. package/dist/esm-es5/calcite-button.entry.js +1 -1
  522. package/dist/esm-es5/calcite-card.entry.js +1 -1
  523. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  524. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  525. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  526. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  527. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  528. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  529. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  530. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  531. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  532. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  533. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  534. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  535. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  536. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  537. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  538. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  539. package/dist/esm-es5/calcite-input.entry.js +1 -1
  540. package/dist/esm-es5/calcite-label.entry.js +1 -1
  541. package/dist/esm-es5/calcite-link.entry.js +1 -1
  542. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  543. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  544. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  545. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  546. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  547. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  548. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  549. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  550. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  551. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  552. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  553. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  554. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  555. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  556. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  557. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  558. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  559. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  560. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  561. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  562. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  563. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  564. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  565. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  566. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  567. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  568. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  569. package/dist/esm-es5/dom-e55f9eaf.js +5 -0
  570. package/dist/esm-es5/{form-160b0fb5.js → form-147bc6d7.js} +1 -1
  571. package/dist/esm-es5/label-240ef148.js +5 -0
  572. package/dist/esm-es5/locale-1b48f64f.js +5 -0
  573. package/dist/esm-es5/number-8779395f.js +5 -0
  574. package/dist/esm-es5/popper-1814b3c1.js +5 -0
  575. package/dist/esm-es5/{resources-b4eee1d4.js → resources-74c807b4.js} +1 -1
  576. package/dist/esm-es5/resources-a6abee37.js +5 -0
  577. package/dist/extras/docs-json.json +19 -13
  578. package/dist/types/components/calcite-tile-select/resources.d.ts +16 -0
  579. package/dist/types/components.d.ts +9 -9
  580. package/dist/types/stencil-public-runtime.d.ts +6 -4
  581. package/dist/types/utils/dom.d.ts +18 -3
  582. package/dist/types/utils/number.d.ts +2 -1
  583. package/hydrate/index.js +606 -507
  584. package/package.json +24 -24
  585. package/readme.md +2 -2
  586. package/dist/calcite/p-0229a408.js +0 -5
  587. package/dist/calcite/p-057197f8.entry.js +0 -5
  588. package/dist/calcite/p-05c10c53.entry.js +0 -5
  589. package/dist/calcite/p-05edaadf.system.entry.js +0 -5
  590. package/dist/calcite/p-112f20e6.system.entry.js +0 -5
  591. package/dist/calcite/p-11f01c0a.entry.js +0 -5
  592. package/dist/calcite/p-1942876c.js +0 -5
  593. package/dist/calcite/p-288899b9.entry.js +0 -5
  594. package/dist/calcite/p-2b294f8e.system.entry.js +0 -5
  595. package/dist/calcite/p-2be1e8ee.entry.js +0 -5
  596. package/dist/calcite/p-2d939f9e.system.entry.js +0 -5
  597. package/dist/calcite/p-2fbd50f3.system.entry.js +0 -5
  598. package/dist/calcite/p-35a5c74c.system.js +0 -5
  599. package/dist/calcite/p-3739338a.system.entry.js +0 -5
  600. package/dist/calcite/p-3c25cb72.system.entry.js +0 -5
  601. package/dist/calcite/p-3d8ee39d.system.entry.js +0 -5
  602. package/dist/calcite/p-3dae9da3.js +0 -5
  603. package/dist/calcite/p-3e9c6068.entry.js +0 -5
  604. package/dist/calcite/p-3f8527a3.entry.js +0 -5
  605. package/dist/calcite/p-40991717.entry.js +0 -5
  606. package/dist/calcite/p-4278fb57.entry.js +0 -5
  607. package/dist/calcite/p-44cce7a3.system.entry.js +0 -5
  608. package/dist/calcite/p-4d02c6c0.system.entry.js +0 -5
  609. package/dist/calcite/p-4e9d072a.system.js +0 -5
  610. package/dist/calcite/p-4f1f716a.system.entry.js +0 -5
  611. package/dist/calcite/p-52cc870b.js +0 -5
  612. package/dist/calcite/p-55f68e28.entry.js +0 -5
  613. package/dist/calcite/p-57169a74.entry.js +0 -5
  614. package/dist/calcite/p-5c9d89ce.system.entry.js +0 -5
  615. package/dist/calcite/p-62f3d4df.system.js +0 -5
  616. package/dist/calcite/p-63b9f804.entry.js +0 -5
  617. package/dist/calcite/p-689790cb.system.entry.js +0 -5
  618. package/dist/calcite/p-69bd1f5f.system.entry.js +0 -5
  619. package/dist/calcite/p-6a87d7b2.entry.js +0 -5
  620. package/dist/calcite/p-6cc23c39.system.js +0 -5
  621. package/dist/calcite/p-6faaa8af.system.entry.js +0 -5
  622. package/dist/calcite/p-6fb63fc1.entry.js +0 -5
  623. package/dist/calcite/p-72a60528.system.entry.js +0 -5
  624. package/dist/calcite/p-763479d6.system.entry.js +0 -5
  625. package/dist/calcite/p-768018df.entry.js +0 -5
  626. package/dist/calcite/p-76eda40b.entry.js +0 -5
  627. package/dist/calcite/p-7ac9f860.entry.js +0 -5
  628. package/dist/calcite/p-83744979.system.js +0 -5
  629. package/dist/calcite/p-88296be9.system.entry.js +0 -5
  630. package/dist/calcite/p-88b31760.system.entry.js +0 -5
  631. package/dist/calcite/p-8a8982ab.system.entry.js +0 -5
  632. package/dist/calcite/p-9180be05.system.entry.js +0 -5
  633. package/dist/calcite/p-93a189be.entry.js +0 -5
  634. package/dist/calcite/p-97117a5d.entry.js +0 -5
  635. package/dist/calcite/p-97efd284.system.entry.js +0 -5
  636. package/dist/calcite/p-998829cb.system.entry.js +0 -5
  637. package/dist/calcite/p-9a1ffbad.system.entry.js +0 -5
  638. package/dist/calcite/p-9b979692.entry.js +0 -5
  639. package/dist/calcite/p-9fc14d49.entry.js +0 -5
  640. package/dist/calcite/p-9feb0f5a.system.entry.js +0 -5
  641. package/dist/calcite/p-a3c498de.entry.js +0 -5
  642. package/dist/calcite/p-a6f99f79.entry.js +0 -5
  643. package/dist/calcite/p-a98344e2.system.entry.js +0 -5
  644. package/dist/calcite/p-a9f596be.system.entry.js +0 -5
  645. package/dist/calcite/p-adf4699d.system.entry.js +0 -5
  646. package/dist/calcite/p-b180d943.system.entry.js +0 -5
  647. package/dist/calcite/p-b2f0596f.entry.js +0 -5
  648. package/dist/calcite/p-b43e699c.system.entry.js +0 -5
  649. package/dist/calcite/p-ba7c0f01.system.entry.js +0 -5
  650. package/dist/calcite/p-bd091b49.system.entry.js +0 -5
  651. package/dist/calcite/p-bdca5372.entry.js +0 -5
  652. package/dist/calcite/p-bfa6bd72.entry.js +0 -5
  653. package/dist/calcite/p-c00b1d26.js +0 -5
  654. package/dist/calcite/p-c2bfd7f9.system.entry.js +0 -5
  655. package/dist/calcite/p-c2fcf603.system.entry.js +0 -5
  656. package/dist/calcite/p-c34c4414.system.js +0 -5
  657. package/dist/calcite/p-c70bacc8.system.entry.js +0 -5
  658. package/dist/calcite/p-c8c6323c.entry.js +0 -5
  659. package/dist/calcite/p-cb660e54.entry.js +0 -5
  660. package/dist/calcite/p-cd5d5756.system.entry.js +0 -5
  661. package/dist/calcite/p-cf499949.entry.js +0 -5
  662. package/dist/calcite/p-d17cfab3.entry.js +0 -5
  663. package/dist/calcite/p-d4d5665a.system.entry.js +0 -5
  664. package/dist/calcite/p-dc7124e9.entry.js +0 -5
  665. package/dist/calcite/p-dc777403.system.entry.js +0 -5
  666. package/dist/calcite/p-dda22c7e.system.entry.js +0 -5
  667. package/dist/calcite/p-de67ba93.system.entry.js +0 -5
  668. package/dist/calcite/p-e09bac0d.system.entry.js +0 -5
  669. package/dist/calcite/p-e35b29f5.system.entry.js +0 -5
  670. package/dist/calcite/p-e54784a8.system.entry.js +0 -5
  671. package/dist/calcite/p-e63c6a55.system.entry.js +0 -5
  672. package/dist/calcite/p-e697ab57.system.entry.js +0 -5
  673. package/dist/calcite/p-e7801f1d.entry.js +0 -5
  674. package/dist/calcite/p-e7f7b0f8.js +0 -5
  675. package/dist/calcite/p-f2340d02.system.entry.js +0 -5
  676. package/dist/calcite/p-f28d8e9e.system.entry.js +0 -5
  677. package/dist/calcite/p-f2f2ad57.entry.js +0 -5
  678. package/dist/calcite/p-f595d924.js +0 -5
  679. package/dist/calcite/p-fc265aaf.entry.js +0 -5
  680. package/dist/calcite/p-fd94e88d.system.entry.js +0 -5
  681. package/dist/cjs/locale-33c458dc.js +0 -123
  682. package/dist/cjs/number-73f7b474.js +0 -58
  683. package/dist/esm/locale-4c38cf6d.js +0 -118
  684. package/dist/esm/number-06e8500e.js +0 -51
  685. package/dist/esm-es5/dom-f24e866c.js +0 -5
  686. package/dist/esm-es5/label-5559055d.js +0 -5
  687. package/dist/esm-es5/locale-4c38cf6d.js +0 -5
  688. package/dist/esm-es5/number-06e8500e.js +0 -5
  689. package/dist/esm-es5/popper-f5caedc4.js +0 -5
  690. package/dist/esm-es5/resources-35c1823f.js +0 -5
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i["throw"](t))}catch(t){o(t)}}function c(t){t.done?n(t.value):a(t.value).then(r,l)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */System.register(["./p-288bc438.system.js","./p-a0c02648.system.js","./p-07284a52.system.js","./p-4de6f4fd.system.js","./p-e020662f.system.js","./p-db10485b.system.js"],(function(t){"use strict";var e,n,i,a,o,r,l,c,s,u,f,m,d;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.F;o=t.g},function(t){r=t.C;l=t.I;c=t.S},function(t){s=t.g;u=t.f},function(t){f=t.g},function(t){m=t.g},function(t){d=t.c}],execute:function(){var p="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var v=["ArrowUp","ArrowDown"];var h=["ArrowUp","ArrowDown","End","Home"];var y=t("calcite_action_menu",function(){function t(t){var i=this;e(this,t);this.calciteActionMenuOpenChange=n(this,"calciteActionMenuOpenChange",7);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.mutationObserver=d("mutation",(function(){return i.getActions()}));this.guid="calcite-action-menu-"+m();this.menuId=this.guid+"-menu";this.menuButtonId=this.guid+"-menu-button";this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=i,e=t.el,n=t.menuButtonId,a=t.menuId,o=t.open,r=t.label;var l=s(e,c.trigger)||i.defaultMenuButtonEl;if(i.menuButtonEl===l){return}i.disconnectMenuButtonEl();i.menuButtonEl=l;i.setTooltipReferenceElement();if(!l){return}l.active=o;l.setAttribute("aria-controls",a);l.setAttribute("aria-expanded",o.toString());l.setAttribute("aria-haspopup","true");if(!l.id){l.id=n}if(!l.label){l.label=r}if(!l.text){l.text=r}l.addEventListener("click",i.menuButtonClick);l.addEventListener("keydown",i.menuButtonKeyDown);l.addEventListener("keyup",i.menuButtonKeyUp)};this.disconnectMenuButtonEl=function(){var t=i.menuButtonEl;if(!t){return}t.removeEventListener("click",i.menuButtonClick);t.removeEventListener("keydown",i.menuButtonKeyDown);t.removeEventListener("keyup",i.menuButtonKeyUp)};this.setDefaultMenuButtonEl=function(t){i.defaultMenuButtonEl=t;i.connectMenuButtonEl()};this.handleCalciteActionClick=function(){i.open=false;i.setFocus()};this.menuButtonClick=function(){i.toggleOpen()};this.setTooltipReferenceElement=function(){var t=i,e=t.el,n=t.expanded,a=t.menuButtonEl;var o=s(e,c.tooltip);var r=(o===null||o===void 0?void 0:o.tagName)==="SLOT"?o.assignedElements()[0]:o;if((r===null||r===void 0?void 0:r.tagName)==="CALCITE-TOOLTIP"){r.referenceElement=!n?a:null}};this.updateAction=function(t,e){var n=i,a=n.guid,o=n.activeMenuItemIndex;var r=a+"-action-"+e;t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=e===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(i.updateAction)};this.getActions=function(){var t=i.el;var e=i.getAssignedElements().filter((function(t){return t.tagName==="CALCITE-ACTION"&&t.slot!=="trigger"}));var n=e.length?e:Array.from(t.querySelectorAll("calcite-action:not([slot=trigger])"));i.updateActions(n);i.actionElements=n;i.connectMenuButtonEl()};this.menuButtonKeyUp=function(t){var e=t.key;var n=i.actionElements;if(!i.isValidKey(e,v)){return}t.preventDefault();if(!n.length){return}i.toggleOpen(true);i.handleActionNavigation(e,n)};this.menuButtonKeyDown=function(t){var e=t.key;if(!i.isValidKey(e,v)){return}t.preventDefault()};this.menuActionsContainerKeyDown=function(t){var e=t.key;var n=i,a=n.actionElements,o=n.activeMenuItemIndex;if(e==="Tab"){i.open=false;return}if(e===" "||e==="Enter"){t.preventDefault();var r=a[o];r?r.click():i.toggleOpen(false);return}if(i.isValidKey(e,h)){t.preventDefault()}};this.menuActionsContainerKeyUp=function(t){var e=t.key;var n=i.actionElements;if(e==="Escape"){i.toggleOpen(false);return}if(!i.isValidKey(e,h)){return}t.preventDefault();if(!n.length){return}i.handleActionNavigation(e,n)};this.handleActionNavigation=function(t,e){var n=i.activeMenuItemIndex;if(t==="Home"){i.activeMenuItemIndex=0}if(t==="End"){i.activeMenuItemIndex=e.length-1}if(t==="ArrowUp"){i.activeMenuItemIndex=f(Math.max(n-1,-1),e.length)}if(t==="ArrowDown"){i.activeMenuItemIndex=f(n+1,e.length)}};this.toggleOpenEnd=function(){i.setFocus();i.el.removeEventListener("calcitePopoverOpen",i.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!i.open}i.el.addEventListener("calcitePopoverOpen",i.toggleOpenEnd);i.open=t}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.getActions()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.disconnectMenuButtonEl()};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t)};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){u(this.open?this.menuEl:this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.el,n=t.label,a=t.scale;var o=i("slot",{name:c.trigger},i("calcite-action",{class:r.defaultTrigger,icon:l.menu,ref:this.setDefaultMenuButtonEl,scale:a,text:n}));return s(e,c.tooltip)?i("calcite-tooltip-manager",null,o):o};t.prototype.renderMenuItems=function(){var t=this;var e=this,n=e.actionElements,a=e.activeMenuItemIndex,o=e.open,l=e.menuId,c=e.menuButtonEl,s=e.label,u=e.placement,f=e.overlayPositioning;var m=n[a];var d=(m===null||m===void 0?void 0:m.id)||null;return i("calcite-popover",{disablePointer:true,label:s,offsetDistance:0,open:o,overlayPositioning:f,placement:u,referenceElement:c},i("div",{"aria-activedescendant":d,"aria-labelledby":c===null||c===void 0?void 0:c.id,class:r.menu,id:l,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:function(e){return t.menuEl=e},role:"menu",tabIndex:-1},i("slot",null)))};t.prototype.render=function(){return i(a,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:c.tooltip}))};t.prototype.getAssignedElements=function(){return Array.from(this.el.querySelectorAll("slot")).map((function(t){return t.assignedElements({flatten:true})})).reduce((function(t,e){return t.concat(e)}),[])};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}());y.style=p}}}));
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,c as i,h as a,H as e,g as o}from"./p-2e29554c.js";import{g as n}from"./p-8a63221d.js";import{a as r,f as s}from"./p-f87c1273.js";import{c,d,g as l}from"./p-bb4dcd31.js";import{c as h,d as m,H as p}from"./p-f3b489d9.js";import{g as u}from"./p-accdb0ce.js";let b=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===r(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let n=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return n=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,u(Math.max(n-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,u(n+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton();const t=this.rootNode.querySelector(`input[name="${this.name}"]:checked`);(null==t?void 0:t.value)||this.uncheckAllRadioButtonsInGroup()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${n()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};b.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-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-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){cursor:pointer}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{b as calcite_radio_button}
@@ -2,4 +2,4 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import{r as t,h as i,H as a,g as n}from"./p-2e29554c.js";import{s as e,d as s}from"./p-52cc870b.js";import"./p-8a63221d.js";var o;!function(t){t.valid="check-circle",t.invalid="exclamation-mark-triangle",t.idle="information"}(o||(o={}));let r=class{constructor(i){t(this,i),this.active=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=e(o,this.icon,this.status)}connectedCallback(){this.status=s(this.el,"status",this.status),this.scale=s(this.el,"scale",this.scale),this.requestedIcon=e(o,this.icon,this.status)}render(){return i(a,{"calcite-hydrated-hidden":!this.active},this.renderIcon(this.requestedIcon),i("slot",null))}renderIcon(t){if(t)return i("calcite-icon",{class:"calcite-input-message-icon",icon:t,scale:"s"})}get el(){return n(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};r.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing: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:150ms ease-in-out}:host([hidden]){display:none}:host([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium);visibility:hidden;height:0;pointer-events:none;opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active]){height:auto;visibility:visible;opacity:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active][scale=m]),:host([active][scale=l]){margin-top:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium)}:host([status][active][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][active][scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem;margin-top:0.25rem}:host([status][active][scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem;margin-top:0.25rem}";export{r as calcite_input_message}
5
+ import{r as t,h as i,H as a,g as n}from"./p-2e29554c.js";import{s as e,d as s}from"./p-f87c1273.js";import"./p-8a63221d.js";var o;!function(t){t.valid="check-circle",t.invalid="exclamation-mark-triangle",t.idle="information"}(o||(o={}));let r=class{constructor(i){t(this,i),this.active=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=e(o,this.icon,this.status)}connectedCallback(){this.status=s(this.el,"status",this.status),this.scale=s(this.el,"scale",this.scale),this.requestedIcon=e(o,this.icon,this.status)}render(){return i(a,{"calcite-hydrated-hidden":!this.active},this.renderIcon(this.requestedIcon),i("slot",null))}renderIcon(t){if(t)return i("calcite-icon",{class:"calcite-input-message-icon",icon:t,scale:"s"})}get el(){return n(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};r.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{pointer-events:none;visibility:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:0px;width:100%;-ms-flex-align:center;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active]){visibility:visible;height:auto;opacity:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active][scale=m]),:host([active][scale=l]){margin-top:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([status][active][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][active][scale=m]){margin-top:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][active][scale=l]){margin-top:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";export{r as calcite_input_message}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,c as i,h as a,H as e,g as s}from"./p-2e29554c.js";import{T as n,d as r,a as o,b as c,g as l,s as h,p,i as d}from"./p-4f9b0b0f.js";import{c as m,d as u,g as f}from"./p-bb4dcd31.js";import{c as w,d as b,H as v}from"./p-f3b489d9.js";import{u as g,C as y,c as k}from"./p-12c57970.js";import"./p-f3d02833.js";import"./p-dd9f2e61.js";import"./p-f87c1273.js";import"./p-8a63221d.js";let x=class{constructor(a){t(this,a),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",7),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",7),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",7),this.disabled=!1,this.active=!1,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.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.focusedInput="start",this.activeTransitionProp="opacity",this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteInputDatePickerOpen.emit():this.calciteInputDatePickerClose.emit())},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.active=!1},this.keyUpHandler=t=>{"Escape"===t.key&&(this.active=!1)},this.inputBlur=t=>{this.blur(t.detail)},this.startInputFocus=()=>{this.active=!0,this.focusedInput="start"},this.endInputFocus=()=>{this.active=!0,this.focusedInput="end"},this.inputInput=t=>{this.input(t.detail.value)},this.setMenuEl=t=>{t&&(this.menuEl=t,this.createPopper())},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(this.value=r(t.detail))},this.handleDateRangeChange=t=>{var i,a;if(!this.range||!t.detail)return;const{startDate:e,endDate:s}=t.detail;this.start=r(e),this.end=r(s),this.value=[this.start,this.end],this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(a=this.startInput)||void 0===a||a.setFocus())}}valueHandler(t){Array.isArray(t)?(this.valueAsDate=t.map((t=>o(t))),this.start=t[0],this.end=t[1]):t?(this.valueAsDate=o(t),this.start="",this.end=""):(this.valueAsDate=void 0,this.start=void 0,this.end=void 0)}onMinChanged(t){this.minAsDate=o(t)}onMaxChanged(t){this.maxAsDate=o(t)}activeHandler(){this.reposition()}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.active=!1)}async setFocus(){var t;null===(t=this.startInput)||void 0===t||t.setFocus()}async reposition(){const{popper:t,menuEl:i}=this,a=this.getModifiers();t?await g({el:i,modifiers:a,placement:"bottom-leading",popper:t}):this.createPopper()}connectedCallback(){Array.isArray(this.value)?(this.valueAsDate=this.value.map((t=>o(t))),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=o(this.value),this.start="",this.end=""),this.start&&(this.startAsDate=o(this.start)),this.end&&(this.endAsDate=o(this.end)),this.min&&(this.minAsDate=o(this.min)),this.max&&(this.maxAsDate=o(this.max)),this.createPopper(),m(this),w(this)}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}disconnectedCallback(){this.destroyPopper(),u(this),b(this)}render(){var t,i;const{disabled:s}=this,n=c(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),r=this.range?c(this.endAsDate,this.minAsDate,this.maxAsDate):null,o=r?r.toLocaleDateString(this.locale):"",l=n?n.toLocaleDateString(this.locale):"";return a(e,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":this.active.toString(),class:"input-container",role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:s,icon:"calendar",label:f(this),"number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,ref:this.setStartInput,scale:this.scale,type:"text",value:l})),a("div",{"aria-hidden":(!this.active).toString(),class:"menu-container",ref:this.setMenuEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[y.animation]:!0,[y.animationActive]:this.active},onTransitionEnd:this.transitionEnd},a("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&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:s,icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(i=this.localeData)||void 0===i?void 0:i.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:o}))),a(v,{component:this}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,this.createPopper()}onLabelClick(){this.setFocus()}getModifiers(){return[{name:"flip",enabled:!0,options:{fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]}}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,overlayPositioning:a}=this;if(!t||!i)return;const e=this.getModifiers();this.popper=k({el:t,modifiers:e,overlayPositioning:a,placement:"bottom-leading",referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}startWatcher(t){this.startAsDate=o(t)}endWatcher(t){this.endAsDate=o(t)}async loadLocaleData(){const{locale:t}=this;this.localeData=await l(t)}clearCurrentValue(){if(!this.range)return void(this.value="");const{focusedInput:t}=this;"start"===t?(this.value=Array.isArray(this.value)?["",this.value[1]||""]:[""],this.start=void 0):"end"===t&&(this.value=Array.isArray(this.value)?[this.value[0]||"",""]:["",""],this.end=void 0)}input(t){const i=this.getDateFromInput(t);if(!i)return void this.clearCurrentValue();if(!this.range)return void(this.value=r(i));const{focusedInput:a}=this;if("start"===a){if(!this.startAsDate||!h(i,this.startAsDate)){const t=r(i);this.value=Array.isArray(this.value)?[t,this.value[1]||""]:[t],this.start=t,this.calciteDatePickerRangeChange.emit({startDate:i,endDate:this.endAsDate})}}else if(!("end"!==a||this.endAsDate&&h(i,this.endAsDate))){const t=r(i);this.value=Array.isArray(this.value)?[this.value[0]||"",t]:["",t],this.end=t,this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:i})}}blur(t){const{locale:i,focusedInput:a,endAsDate:e,range:s,startAsDate:n,valueAsDate:r}=this;this.getDateFromInput(t.value)||(!s&&r?t.value=Array.isArray(r)?r["end"===a?1:0].toLocaleDateString(i):r.toLocaleDateString(i):"start"===a&&n?t.value=n.toLocaleDateString(i):"end"===a&&e&&(t.value=e.toLocaleDateString(i)))}shouldFocusRangeStart(){return!(!this.endAsDate||this.startAsDate||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}getDateFromInput(t){if(!this.localeData)return!1;const{separator:i}=this.localeData,{day:a,month:e,year:s}=p(t,this.localeData),n=a>0,r=e>-1,o=new Date(s,e,a);o.setFullYear(s);const c=!isNaN(o.getTime()),l=t.split(i).filter((t=>t)).length>2,h=s.toString().length>0;return!!(n&&r&&c&&l&&h&&d(o,this.min,this.max))&&o}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],min:["onMinChanged"],max:["onMaxChanged"],active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};x.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing: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 .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{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);pointer-events:none;visibility:hidden}:host([active]) .menu-container{pointer-events:auto;visibility:visible}.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}";export{x as calcite_input_date_picker}
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{c(a.next(t))}catch(t){r(t)}}function l(t){try{c(a["throw"](t))}catch(t){r(t)}}function c(t){t.done?i(t.value):n(t.value).then(o,l)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(t){return function(e){return c([t,e])}}function c(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */System.register(["./p-288bc438.system.js","./p-07284a52.system.js","./p-4364e76a.system.js","./p-cbea8bac.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,a,n,r,o,l,c,s,m,u,f;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;r=t.g},function(t){o=t.a;l=t.d},function(t){c=t.c;s=t.d},function(t){m=t.c;u=t.d;f=t.H},function(){}],execute:function(){var d="@-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;background-color:var(--calcite-ui-foreground-1);width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-item-align:start;align-self:flex-start}:host([width=full]){width:100%;min-width:-moz-fit-content;min-width:-webkit-fit-content;min-width:fit-content}:host([width=full]) ::slotted(calcite-radio-group-item){-ms-flex:1 1 auto;flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item){-ms-flex-pack:start;justify-content:flex-start}::slotted(calcite-radio-group-item[checked]),::slotted(calcite-radio-group-item:focus){z-index:0}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}::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 p=t("calcite_radio_group",function(){function t(t){var a=this;e(this,t);this.calciteRadioGroupChange=i(this,"calciteRadioGroupChange",7);this.appearance="solid";this.disabled=false;this.required=false;this.layout="horizontal";this.scale="m";this.value=null;this.width="auto";this.handleClick=function(t){if(t.target.localName==="calcite-radio-group-item"){a.selectItem(t.target,true)}}}t.prototype.valueHandler=function(t){var e=this.getItems();e.forEach((function(e){return e.checked=e.value===t}))};t.prototype.handleSelectedItemChange=function(t,e){this.value=t===null||t===void 0?void 0:t.value;if(t===e){return}var i=this.getItems();var a=Array.from(i).filter((function(e){return e===t})).pop();if(a){this.selectItem(a)}else if(i[0]){i[0].tabIndex=0}};t.prototype.componentWillLoad=function(){var t=this.getItems();var e=Array.from(t).filter((function(t){return t.checked})).pop();if(e){this.selectItem(e)}else if(t[0]){t[0].tabIndex=0}};t.prototype.connectedCallback=function(){c(this);m(this)};t.prototype.disconnectedCallback=function(){s(this);u(this)};t.prototype.render=function(){return a(n,{onClick:this.handleClick,role:"radiogroup",tabIndex:this.disabled?-1:null},a("slot",null),a(f,{component:this}))};t.prototype.handleSelected=function(t){t.stopPropagation();t.preventDefault();this.selectItem(t.target)};t.prototype.handleKeyDown=function(t){var e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];var i=t.key;var a=this,n=a.el,r=a.selectedItem;if(e.indexOf(i)===-1){return}var l=i;if(o(n)==="rtl"){if(i==="ArrowRight"){l="ArrowLeft"}if(i==="ArrowLeft"){l="ArrowRight"}}var c=this.getItems();var s=-1;c.forEach((function(t,e){if(t===r){s=e}}));switch(l){case"ArrowLeft":case"ArrowUp":t.preventDefault();var m=s<1?c.item(c.length-1):c.item(s-1);this.selectItem(m,true);return;case"ArrowRight":case"ArrowDown":t.preventDefault();var u=s===-1?c.item(1):c.item(s+1)||c.item(0);this.selectItem(u,true);return;case" ":t.preventDefault();this.selectItem(t.target,true);return;default:return}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.selectedItem||this.getItems()[0])===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.getItems=function(){return this.el.querySelectorAll("calcite-radio-group-item")};t.prototype.selectItem=function(t,e){var i=this;if(e===void 0){e=false}if(t===this.selectedItem){return}var a=this.getItems();var n=null;a.forEach((function(a){var r=a.value===t.value;if(r&&!a.checked||!r&&a.checked){a.checked=r}a.tabIndex=r?0:-1;if(r){n=a;if(e){i.calciteRadioGroupChange.emit(n.value)}}}));this.selectedItem=n;if(n){n.focus()}};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}},enumerable:false,configurable:true});return t}());p.style=d;var h={input:"input"};var b={radioGroupItemIcon:"radio-group-item-icon"};var g="@-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;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}.label--scale-s{padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.125rem;padding-bottom:0.125rem}.label--scale-m{padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.375rem;padding-bottom:0.375rem}.label--scale-l{padding-left:1rem;padding-right:1rem;padding-top:0.625rem;padding-bottom:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}.radio-group-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}";var w=t("calcite_radio_group_item",function(){function t(t){e(this,t);this.calciteRadioGroupItemChange=i(this,"calciteRadioGroupItemChange",7);this.checked=false;this.iconFlipRtl=false;this.iconPosition="start"}t.prototype.handleCheckedChange=function(){this.calciteRadioGroupItemChange.emit()};t.prototype.render=function(){var t=this,e=t.checked,i=t.value;var r=l(this.el,"scale","m");var o=l(this.el,"appearance","solid");var c=l(this.el,"layout","horizontal");var s=a("calcite-icon",{class:b.radioGroupItemIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});return a(n,{"aria-checked":e.toString(),role:"radio"},a("label",{class:{"label--scale-s":r==="s","label--scale-m":r==="m","label--scale-l":r==="l","label--horizontal":c==="horizontal","label--outline":o==="outline"}},this.icon&&this.iconPosition==="start"?s:null,a("slot",null,i),a("slot",{name:h.input}),this.icon&&this.iconPosition==="end"?s:null))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["handleCheckedChange"]}},enumerable:false,configurable:true});return t}());w.style=g}}}));
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function f(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(e.value).then(o,f)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(e){return function(t){return s([e,t])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];a=0}finally{n=i=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
+ */System.register(["./p-07284a52.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.a}],execute:function(){e({c:st,u:ut});var r="top";var n="bottom";var a="right";var i="left";var o="auto";var f=[r,n,a,i];var s="start";var u="end";var c="clippingParents";var v="viewport";var l="popper";var p="reference";var d=f.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+u])}),[]);var h=[].concat(f,[o]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+u])}),[]);var m="beforeRead";var g="read";var y="afterRead";var b="beforeMain";var w="main";var x="afterMain";var O="beforeWrite";var j="write";var E="afterWrite";var D=[m,g,y,b,w,x,O,j,E];function A(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function M(e){var t=k(e).Element;return e instanceof t||e instanceof Element}function L(e){var t=k(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function P(e){if(typeof ShadowRoot==="undefined"){return false}var t=k(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!L(a)||!A(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!L(n)||!A(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var H={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:B,requires:["computeStyles"]};function R(e){return e.split("-")[0]}var S=Math.max;var T=Math.min;var _=Math.round;function C(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(L(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=_(r.width)/o||1}if(i>0){a=_(r.height)/i||1}}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function q(e){var t=C(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function V(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&P(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return k(e).getComputedStyle(e)}function I(e){return["table","td","th"].indexOf(A(e))>=0}function F(e){return((M(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){if(A(e)==="html"){return e}return e.assignedSlot||e.parentNode||(P(e)?e.host:null)||F(e)}function z(e){if(!L(e)||N(e).position==="fixed"){return null}return e.offsetParent}function X(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&L(e)){var n=N(e);if(n.position==="fixed"){return null}}var a=U(e);while(L(a)&&["html","body"].indexOf(A(a))<0){var i=N(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function Y(e){var t=k(e);var r=z(e);while(r&&I(r)&&N(r).position==="static"){r=z(r)}if(r&&(A(r)==="html"||A(r)==="body"&&N(r).position==="static")){return t}return r||X(e)||t}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e,t,r){return S(e,T(t,r))}function K(e,t,r){var n=J(e,t,r);return n>r?r:n}function Q(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},Q(),e)}function $(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var ee=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return Z(typeof t!=="number"?t:$(t,f))};function te(e){var t;var o=e.state,f=e.name,s=e.options;var u=o.elements.arrow;var c=o.modifiersData.popperOffsets;var v=R(o.placement);var l=G(v);var p=[i,a].indexOf(v)>=0;var d=p?"height":"width";if(!u||!c){return}var h=ee(s.padding,o);var m=q(u);var g=l==="y"?r:i;var y=l==="y"?n:a;var b=o.rects.reference[d]+o.rects.reference[l]-c[l]-o.rects.popper[d];var w=c[l]-o.rects.reference[l];var x=Y(u);var O=x?l==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=b/2-w/2;var E=h[g];var D=O-m[d]-h[y];var A=O/2-m[d]/2+j;var k=J(E,A,D);var M=l;o.modifiersData[f]=(t={},t[M]=k,t.centerOffset=k-A,t)}function re(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!V(t.elements.popper,a)){return}t.elements.arrow=a}var ne={name:"arrow",enabled:true,phase:"main",fn:te,effect:re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:_(t*a)/a||0,y:_(r*a)/a||0}}function fe(e){var t;var o=e.popper,f=e.popperRect,s=e.placement,c=e.variation,v=e.offsets,l=e.position,p=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,m=e.isFixed;var g=v.x,y=g===void 0?0:g,b=v.y,w=b===void 0?0:b;var x=typeof h==="function"?h({x:y,y:w}):{x:y,y:w};y=x.x;w=x.y;var O=v.hasOwnProperty("x");var j=v.hasOwnProperty("y");var E=i;var D=r;var A=window;if(d){var M=Y(o);var L="clientHeight";var P="clientWidth";if(M===k(o)){M=F(o);if(N(M).position!=="static"&&l==="absolute"){L="scrollHeight";P="scrollWidth"}}M=M;if(s===r||(s===i||s===a)&&c===u){D=n;var W=m&&A.visualViewport?A.visualViewport.height:M[L];w-=W-f.height;w*=p?1:-1}if(s===i||(s===r||s===n)&&c===u){E=a;var B=m&&A.visualViewport?A.visualViewport.width:M[P];y-=B-f.width;y*=p?1:-1}}var H=Object.assign({position:l},d&&ie);var R=h===true?oe({x:y,y:w}):{x:y,y:w};y=R.x;w=R.y;if(p){var S;return Object.assign({},H,(S={},S[D]=j?"0":"",S[E]=O?"0":"",S.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",S))}return Object.assign({},H,(t={},t[D]=j?w+"px":"",t[E]=O?y+"px":"",t.transform="",t))}function se(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,f=r.roundOffsets,s=f===void 0?true:f;var u={placement:R(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:s})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ue={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:se,data:{}};var ce={passive:true};function ve(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,f=o===void 0?true:o;var s=k(t.elements.popper);var u=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){u.forEach((function(e){e.addEventListener("scroll",r.update,ce)}))}if(f){s.addEventListener("resize",r.update,ce)}return function(){if(i){u.forEach((function(e){e.removeEventListener("scroll",r.update,ce)}))}if(f){s.removeEventListener("resize",r.update,ce)}}}var le={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:ve,data:{}};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var he={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function ge(e){var t=k(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return C(F(e)).left+ge(e).scrollLeft}function be(e){var t=k(e);var r=F(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var f=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;f=n.offsetTop}}return{width:a,height:i,x:o+ye(e),y:f}}function we(e){var t;var r=F(e);var n=ge(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=S(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=S(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var f=-n.scrollLeft+ye(e);var s=-n.scrollTop;if(N(a||r).direction==="rtl"){f+=S(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:f,y:s}}function xe(e){var t=N(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Oe(e){if(["html","body","#document"].indexOf(A(e))>=0){return e.ownerDocument.body}if(L(e)&&xe(e)){return e}return Oe(U(e))}function je(e,t){var r;if(t===void 0){t=[]}var n=Oe(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=k(n);var o=a?[i].concat(i.visualViewport||[],xe(n)?n:[]):n;var f=t.concat(o);return a?f:f.concat(je(U(o)))}function Ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function De(e){var t=C(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function Ae(e,t){return t===v?Ee(be(e)):M(t)?De(t):Ee(we(F(e)))}function ke(e){var t=je(U(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&L(e)?Y(e):e;if(!M(n)){return[]}return t.filter((function(e){return M(e)&&V(e,n)&&A(e)!=="body"}))}function Me(e,t,r){var n=t==="clippingParents"?ke(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=Ae(e,r);t.top=S(n.top,t.top);t.right=T(n.right,t.right);t.bottom=T(n.bottom,t.bottom);t.left=S(n.left,t.left);return t}),Ae(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Le(e){var t=e.reference,o=e.element,f=e.placement;var c=f?R(f):null;var v=f?ae(f):null;var l=t.x+t.width/2-o.width/2;var p=t.y+t.height/2-o.height/2;var d;switch(c){case r:d={x:l,y:t.y-o.height};break;case n:d={x:l,y:t.y+t.height};break;case a:d={x:t.x+t.width,y:p};break;case i:d={x:t.x-o.width,y:p};break;default:d={x:t.x,y:t.y}}var h=c?G(c):null;if(h!=null){var m=h==="y"?"height":"width";switch(v){case s:d[h]=d[h]-(t[m]/2-o[m]/2);break;case u:d[h]=d[h]+(t[m]/2-o[m]/2);break}}return d}function Pe(e,t){if(t===void 0){t={}}var i=t,o=i.placement,s=o===void 0?e.placement:o,u=i.boundary,d=u===void 0?c:u,h=i.rootBoundary,m=h===void 0?v:h,g=i.elementContext,y=g===void 0?l:g,b=i.altBoundary,w=b===void 0?false:b,x=i.padding,O=x===void 0?0:x;var j=Z(typeof O!=="number"?O:$(O,f));var E=y===l?p:l;var D=e.rects.popper;var A=e.elements[w?E:y];var k=Me(M(A)?A:A.contextElement||F(e.elements.popper),d,m);var L=C(e.elements.reference);var P=Le({reference:L,element:D,strategy:"absolute",placement:s});var W=Ee(Object.assign({},D,P));var B=y===l?W:L;var H={top:k.top-B.top+j.top,bottom:B.bottom-k.bottom+j.bottom,left:k.left-B.left+j.left,right:B.right-k.right+j.right};var R=e.modifiersData.offset;if(y===l&&R){var S=R[s];Object.keys(H).forEach((function(e){var t=[a,n].indexOf(e)>=0?1:-1;var i=[r,n].indexOf(e)>=0?"y":"x";H[e]+=S[i]*t}))}return H}function We(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?h:u;var v=ae(n);var l=v?s?d:d.filter((function(e){return ae(e)===v})):f;var p=l.filter((function(e){return c.indexOf(e)>=0}));if(p.length===0){p=l}var m=p.reduce((function(t,r){t[r]=Pe(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[R(r)];return t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Be(e){if(R(e)===o){return[]}var t=de(e);return[me(e),t,me(t)]}function He(e){var t=e.state,f=e.options,u=e.name;if(t.modifiersData[u]._skip){return}var c=f.mainAxis,v=c===void 0?true:c,l=f.altAxis,p=l===void 0?true:l,d=f.fallbackPlacements,h=f.padding,m=f.boundary,g=f.rootBoundary,y=f.altBoundary,b=f.flipVariations,w=b===void 0?true:b,x=f.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var E=j===O;var D=d||(E||!w?[de(O)]:Be(O));var A=[O].concat(D).reduce((function(e,r){return e.concat(R(r)===o?We(t,{placement:r,boundary:m,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var k=t.rects.reference;var M=t.rects.popper;var L=new Map;var P=true;var W=A[0];for(var B=0;B<A.length;B++){var H=A[B];var S=R(H);var T=ae(H)===s;var _=[r,n].indexOf(S)>=0;var C=_?"width":"height";var q=Pe(t,{placement:H,boundary:m,rootBoundary:g,altBoundary:y,padding:h});var V=_?T?a:i:T?n:r;if(k[C]>M[C]){V=de(V)}var N=de(V);var I=[];if(v){I.push(q[S]<=0)}if(p){I.push(q[V]<=0,q[N]<=0)}if(I.every((function(e){return e}))){W=H;P=false;break}L.set(H,I)}if(P){var F=w?3:1;var U=function e(t){var r=A.find((function(e){var r=L.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){W=r;return"break"}};for(var z=F;z>0;z--){var X=U(z);if(X==="break")break}}if(t.placement!==W){t.modifiersData[u]._skip=true;t.placement=W;t.reset=true}}var Re={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Se(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Te(e){return[r,a,n,i].some((function(t){return e[t]>=0}))}function _e(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=Pe(t,{elementContext:"reference"});var f=Pe(t,{altBoundary:true});var s=Se(o,n);var u=Se(f,a,i);var c=Te(s);var v=Te(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:v};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var Ce={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:_e};function qe(e,t,n){var o=R(e);var f=[i,r].indexOf(o)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,u=s[0],c=s[1];u=u||0;c=(c||0)*f;return[i,a].indexOf(o)>=0?{x:c,y:u}:{x:u,y:c}}function Ve(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=h.reduce((function(e,r){e[r]=qe(r,t.rects,i);return e}),{});var f=o[t.placement],s=f.x,u=f.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=s;t.modifiersData.popperOffsets.y+=u}t.modifiersData[n]=o}var Ne={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Le({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Fe={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function Ue(e){return e==="x"?"y":"x"}function ze(e){var t=e.state,o=e.options,f=e.name;var u=o.mainAxis,c=u===void 0?true:u,v=o.altAxis,l=v===void 0?false:v,p=o.boundary,d=o.rootBoundary,h=o.altBoundary,m=o.padding,g=o.tether,y=g===void 0?true:g,b=o.tetherOffset,w=b===void 0?0:b;var x=Pe(t,{boundary:p,rootBoundary:d,padding:m,altBoundary:h});var O=R(t.placement);var j=ae(t.placement);var E=!j;var D=G(O);var A=Ue(D);var k=t.modifiersData.popperOffsets;var M=t.rects.reference;var L=t.rects.popper;var P=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var W=typeof P==="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P);var B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var H={x:0,y:0};if(!k){return}if(c){var _;var C=D==="y"?r:i;var V=D==="y"?n:a;var N=D==="y"?"height":"width";var I=k[D];var F=I+x[C];var U=I-x[V];var z=y?-L[N]/2:0;var X=j===s?M[N]:L[N];var Z=j===s?-L[N]:-M[N];var $=t.elements.arrow;var ee=y&&$?q($):{width:0,height:0};var te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Q();var re=te[C];var ne=te[V];var ie=J(0,M[N],ee[N]);var oe=E?M[N]/2-z-ie-re-W.mainAxis:X-ie-re-W.mainAxis;var fe=E?-M[N]/2+z+ie+ne+W.mainAxis:Z+ie+ne+W.mainAxis;var se=t.elements.arrow&&Y(t.elements.arrow);var ue=se?D==="y"?se.clientTop||0:se.clientLeft||0:0;var ce=(_=B==null?void 0:B[D])!=null?_:0;var ve=I+oe-ce-ue;var le=I+fe-ce;var pe=J(y?T(F,ve):F,I,y?S(U,le):U);k[D]=pe;H[D]=pe-I}if(l){var de;var he=D==="x"?r:i;var me=D==="x"?n:a;var ge=k[A];var ye=A==="y"?"height":"width";var be=ge+x[he];var we=ge-x[me];var xe=[r,i].indexOf(O)!==-1;var Oe=(de=B==null?void 0:B[A])!=null?de:0;var je=xe?be:ge-M[ye]-L[ye]-Oe+W.altAxis;var Ee=xe?ge+M[ye]+L[ye]-Oe-W.altAxis:we;var De=y&&xe?K(je,ge,Ee):J(y?je:be,ge,y?Ee:we);k[A]=De;H[A]=De-ge}t.modifiersData[f]=H}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:ze,requiresIfExists:["offset"]};function Ye(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ge(e){if(e===k(e)||!L(e)){return ge(e)}else{return Ye(e)}}function Je(e){var t=e.getBoundingClientRect();var r=_(t.width)/e.offsetWidth||1;var n=_(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ke(e,t,r){if(r===void 0){r=false}var n=L(t);var a=L(t)&&Je(t);var i=F(t);var o=C(e,a);var f={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(A(t)!=="body"||xe(i)){f=Ge(t)}if(L(t)){s=C(t,true);s.x+=t.clientLeft;s.y+=t.clientTop}else if(i){s.x=ye(i)}}return{x:o.left+f.scrollLeft-s.x,y:o.top+f.scrollTop-s.y,width:o.width,height:o.height}}function Qe(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function Ze(e){var t=Qe(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function $e(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function et(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function nt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?tt:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var f=[];var s=false;var u={state:o,setOptions:function e(a){var f=typeof a==="function"?a(o.options):a;v();o.options=Object.assign({},i,o.options,f);o.scrollParents={reference:M(t)?je(t):t.contextElement?je(t.contextElement):[],popper:je(r)};var s=Ze(et([].concat(n,o.options.modifiers)));o.orderedModifiers=s.filter((function(e){return e.enabled}));c();return u.update()},forceUpdate:function e(){if(s){return}var t=o.elements,r=t.reference,n=t.popper;if(!rt(r,n)){return}o.rects={reference:Ke(r,Y(n),o.options.strategy==="fixed"),popper:q(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],f=i.fn,c=i.options,v=c===void 0?{}:c,l=i.name;if(typeof f==="function"){o=f({state:o,options:v,name:l,instance:u})||o}}},update:$e((function(){return new Promise((function(e){u.forceUpdate();e(o)}))})),destroy:function e(){v();s=true}};if(!rt(t,r)){return u}u.setOptions(a).then((function(e){if(!s&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function c(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:u,options:n});var s=function e(){};f.push(i||s)}}))}function v(){f.forEach((function(e){return e()}));f=[]}return u}}var at=[le,Fe,ue,H,Ne,Re,Xe,ne,Ce];var it=nt({defaultModifiers:at});var ot=e("C",{animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"});function ft(e,r){var n=["left","right"];var a=["start","end"];if(t(e)==="rtl"){n.reverse();a.reverse()}return r.replace(/-leading/gi,"-"+a[0]).replace(/-trailing/gi,"-"+a[1]).replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function st(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return it(t,r,{strategy:i,placement:ft(r,n),modifiers:o})}function ut(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:e=ft(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:i.sent();return[2]}}))}))}function ct(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var vt=4;var lt=e("d",Math.ceil(ct(vt,vt)))}}}));
@@ -2,4 +2,4 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import{r as a,h as t,g as i}from"./p-2e29554c.js";let n=class{constructor(t){a(this,t),this.intlLoading="Loading",this.loading=!1}render(){const{el:a,loading:i,intlLoading:n}=this,e=a.innerHTML.trim().length>0,r=i?t("calcite-loader",{active:!0,label:n}):null,o=e?t("div",{class:"content"},t("slot",null)):null;return t("div",{class:"scrim"},r,o)}get el(){return i(this)}};n.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;position:absolute;z-index:50;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;width:100%;height:100%;top:0;right:0;bottom:0;left:0}@-webkit-keyframes calcite-scrim-fade-in{0%{--bg-opacity:0}100%{--text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--bg-opacity:0}100%{--text-opacity:1}}.scrim{display:-ms-flexbox;display:flex;position:absolute;overflow:hidden;top:0;right:0;bottom:0;left:0;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";export{n as calcite_scrim}
5
+ import{r as a,h as t,g as i}from"./p-2e29554c.js";let n=class{constructor(t){a(this,t),this.intlLoading="Loading",this.loading=!1}render(){const{el:a,loading:i,intlLoading:n}=this,e=a.innerHTML.trim().length>0,r=i?t("calcite-loader",{active:!0,label:n}):null,o=e?t("div",{class:"content"},t("slot",null)):null;return t("div",{class:"scrim"},r,o)}get el(){return i(this)}};n.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:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:50;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";export{n as calcite_scrim}