@esri/solutions-components 0.6.42 → 0.6.44

Sign up to get free protection for your applications and to get access to all the features.
Files changed (510) hide show
  1. package/dist/cjs/{ExpandToggle-d2cec8de.js → ExpandToggle-965987de.js} +1 -1
  2. package/dist/cjs/{FloatingArrow-814ce566.js → FloatingArrow-5aba7af1.js} +1 -1
  3. package/dist/cjs/{Heading-2665acd8.js → Heading-b0970391.js} +1 -1
  4. package/dist/cjs/{ar-b68e4248.js → ar-e86d748c.js} +6 -6
  5. package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -3
  6. package/dist/cjs/{bg-451cb8df.js → bg-6f72f34d.js} +6 -6
  7. package/dist/cjs/{bs-36760197.js → bs-290f2e0c.js} +6 -6
  8. package/dist/cjs/buffer-tools_4.cjs.entry.js +7 -7
  9. package/dist/cjs/{ca-0159f257.js → ca-d9261215.js} +6 -6
  10. package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
  11. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  12. package/dist/cjs/calcite-action-bar_3.cjs.entry.js +5 -5
  13. package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
  14. package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
  15. package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
  16. package/dist/cjs/calcite-alert_3.cjs.entry.js +6 -6
  17. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  18. package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
  19. package/dist/cjs/calcite-block.cjs.entry.js +6 -6
  20. package/dist/cjs/calcite-button.cjs.entry.js +4 -4
  21. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  22. package/dist/cjs/calcite-checkbox_3.cjs.entry.js +4 -4
  23. package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
  24. package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
  25. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  26. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
  27. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
  28. package/dist/cjs/calcite-combobox_6.cjs.entry.js +9 -9
  29. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
  30. package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
  31. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  32. package/dist/cjs/calcite-filter_3.cjs.entry.js +3 -3
  33. package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
  34. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  35. package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
  36. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  38. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
  39. package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
  40. package/dist/cjs/{calcite-input-time-picker-ccb59f65.js → calcite-input-time-picker-b809da0b.js} +54 -54
  41. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +6 -6
  42. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
  43. package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
  44. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  45. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  46. package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
  47. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  48. package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
  49. package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
  50. package/dist/cjs/calcite-meter.cjs.entry.js +3 -3
  51. package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
  52. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  53. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  54. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  55. package/dist/cjs/calcite-notice_2.cjs.entry.js +6 -6
  56. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  57. package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
  58. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
  59. package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
  60. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
  61. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
  62. package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
  63. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  64. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  65. package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
  66. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  67. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
  68. package/dist/cjs/calcite-sheet.cjs.entry.js +3 -3
  69. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
  70. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +8 -8
  71. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  72. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  73. package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
  74. package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
  75. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  76. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +3 -3
  77. package/dist/cjs/calcite-table-row.cjs.entry.js +1 -1
  78. package/dist/cjs/calcite-table.cjs.entry.js +3 -3
  79. package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
  80. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
  81. package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
  82. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
  84. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  85. package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
  86. package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
  87. package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
  88. package/dist/cjs/{conditionalSlot-b6c29b8c.js → conditionalSlot-f577ba32.js} +1 -1
  89. package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
  90. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  91. package/dist/cjs/{cs-5f80bd6e.js → cs-b250298e.js} +6 -6
  92. package/dist/cjs/{da-aca16382.js → da-8715f736.js} +6 -6
  93. package/dist/cjs/{de-ea9b8674.js → de-9289461a.js} +6 -6
  94. package/dist/cjs/{de-at-0a13e71d.js → de-at-e7ef417f.js} +6 -6
  95. package/dist/cjs/{de-ch-43d6d352.js → de-ch-de539200.js} +6 -6
  96. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  97. package/dist/cjs/{downloadUtils-9be94c17.js → downloadUtils-d017810f.js} +96 -28
  98. package/dist/cjs/{el-7ac6dd9a.js → el-7701d486.js} +6 -6
  99. package/dist/cjs/{en-au-5de83593.js → en-au-6e2f2f4b.js} +6 -6
  100. package/dist/cjs/{en-ca-a61f6ba9.js → en-ca-8bc8ae5b.js} +6 -6
  101. package/dist/cjs/{en-gb-1338ef98.js → en-gb-6e0fd6a4.js} +6 -6
  102. package/dist/cjs/{es-64cdf5af.js → es-dd9fcddf.js} +6 -6
  103. package/dist/cjs/{es-mx-25166a52.js → es-mx-32e3b2ce.js} +6 -6
  104. package/dist/cjs/{et-99cffe63.js → et-9c241f89.js} +6 -6
  105. package/dist/cjs/{fi-2ed1b695.js → fi-946c7e09.js} +6 -6
  106. package/dist/cjs/{form-88dd1a8a.js → form-da1bc377.js} +1 -1
  107. package/dist/cjs/{fr-1ad89d6e.js → fr-1a8ac01d.js} +6 -6
  108. package/dist/cjs/{fr-ch-e2b274f9.js → fr-ch-02594f06.js} +6 -6
  109. package/dist/cjs/{he-de9f7309.js → he-e3dd7687.js} +6 -6
  110. package/dist/cjs/{hi-972ca162.js → hi-66fc4798.js} +6 -6
  111. package/dist/cjs/{hr-9340950d.js → hr-2dbffa4f.js} +6 -6
  112. package/dist/cjs/{hu-3fa1a13d.js → hu-22732855.js} +6 -6
  113. package/dist/cjs/{id-1de2751e.js → id-40469057.js} +6 -6
  114. package/dist/cjs/{index-1ffa261f.js → index-2d5760f2.js} +77 -15
  115. package/dist/cjs/{index-2bdbac04.js → index-74222073.js} +1 -1
  116. package/dist/cjs/{index.es-f8a598dc.js → index.es-de35a9a4.js} +4 -4
  117. package/dist/cjs/{it-7c92766b.js → it-72244e1f.js} +6 -6
  118. package/dist/cjs/{it-ch-291b8188.js → it-ch-111e0a76.js} +6 -6
  119. package/dist/cjs/{ja-3e145c4f.js → ja-64c49fbb.js} +6 -6
  120. package/dist/cjs/{ko-1b8f5e87.js → ko-ba039889.js} +6 -6
  121. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  122. package/dist/cjs/list-item.cjs.entry.js +1 -1
  123. package/dist/cjs/{loadModules-03328b9d.js → loadModules-ad1ab1a8.js} +1 -1
  124. package/dist/cjs/{loadable-f8b40373.js → loadable-53fa41ac.js} +1 -1
  125. package/dist/cjs/loader.cjs.js +1 -1
  126. package/dist/cjs/{locale-d50f3250.js → locale-ef06bf9e.js} +1 -1
  127. package/dist/cjs/{lt-200e08d2.js → lt-14caf6e3.js} +6 -6
  128. package/dist/cjs/{lv-6e5561b5.js → lv-90627da7.js} +6 -6
  129. package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
  130. package/dist/cjs/{mk-530773b7.js → mk-43da0937.js} +6 -6
  131. package/dist/cjs/{nb-6f6747f3.js → nb-6e84fe55.js} +6 -6
  132. package/dist/cjs/{nl-c6b3e47a.js → nl-b09e824f.js} +6 -6
  133. package/dist/cjs/{openCloseComponent-71c34b2c.js → openCloseComponent-56419b32.js} +1 -1
  134. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  135. package/dist/cjs/{pl-860110bc.js → pl-acc3eed9.js} +6 -6
  136. package/dist/cjs/{pt-6e3d2514.js → pt-445d1df2.js} +6 -6
  137. package/dist/cjs/{pt-br-66b1bb2b.js → pt-br-63d38ff8.js} +6 -6
  138. package/dist/cjs/public-notification.cjs.entry.js +6 -6
  139. package/dist/cjs/{publicNotificationStore-9c812ef4.js → publicNotificationStore-e1ae21f1.js} +1 -1
  140. package/dist/cjs/{ro-bd6b21e5.js → ro-3d33dcc0.js} +6 -6
  141. package/dist/cjs/{ru-fea2a60c.js → ru-6d33bd42.js} +6 -6
  142. package/dist/cjs/{shared-list-render-b1b515ba.js → shared-list-render-44ea9d69.js} +1 -1
  143. package/dist/cjs/{sk-f4693451.js → sk-8e7343e5.js} +6 -6
  144. package/dist/cjs/{sl-ba030ced.js → sl-b2721e1d.js} +6 -6
  145. package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
  146. package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
  147. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  148. package/dist/cjs/{solution-store-b40c2f46.js → solution-store-b70fdc30.js} +1 -1
  149. package/dist/cjs/solutions-components.cjs.js +2 -2
  150. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  151. package/dist/cjs/{sr-a3aeccbd.js → sr-6c42e7fd.js} +6 -6
  152. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  153. package/dist/cjs/{sv-f96afdb7.js → sv-09355347.js} +6 -6
  154. package/dist/cjs/{t9n-47b85291.js → t9n-78efea01.js} +1 -1
  155. package/dist/cjs/{th-7be3c0cf.js → th-b011dfda.js} +6 -6
  156. package/dist/cjs/{tr-2bf900ba.js → tr-64095398.js} +6 -6
  157. package/dist/cjs/{uk-8d7c74d5.js → uk-942a3963.js} +6 -6
  158. package/dist/cjs/{utils-e90327b4.js → utils-bad1a9c3.js} +1 -1
  159. package/dist/cjs/{vi-c010010c.js → vi-1f4b147c.js} +6 -6
  160. package/dist/cjs/{zh-cn-089aaea3.js → zh-cn-d312b710.js} +6 -6
  161. package/dist/cjs/{zh-hk-0676f0be.js → zh-hk-8237d0e3.js} +6 -6
  162. package/dist/cjs/{zh-tw-acce58bc.js → zh-tw-f28548c8.js} +6 -6
  163. package/dist/collection/collection-manifest.json +2 -2
  164. package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -19
  165. package/dist/collection/components/layout-manager/layout-manager.css +73 -73
  166. package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -19
  167. package/dist/collection/components/map-legend/map-legend.css +3 -3
  168. package/dist/collection/components/map-search/map-search.css +24 -24
  169. package/dist/collection/demos/new-public-notification.html +1 -1
  170. package/dist/collection/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +387 -0
  171. package/dist/collection/utils/downloadUtils.js +93 -25
  172. package/dist/collection/utils/downloadUtils.ts +131 -30
  173. package/dist/collection/utils/test/downloadUtils.spec.js +24 -2
  174. package/dist/collection/utils/test/downloadUtils.spec.tsx +27 -5
  175. package/dist/components/downloadUtils.js +93 -25
  176. package/dist/esm/{ExpandToggle-3973cf71.js → ExpandToggle-e107f9b4.js} +1 -1
  177. package/dist/esm/{FloatingArrow-bfb95cb7.js → FloatingArrow-3bcbf69c.js} +1 -1
  178. package/dist/esm/{Heading-a3130bc6.js → Heading-d54e4e64.js} +1 -1
  179. package/dist/esm/{ar-e66d9603.js → ar-6024936e.js} +6 -6
  180. package/dist/esm/basemap-gallery_7.entry.js +3 -3
  181. package/dist/esm/{bg-e3cef9f9.js → bg-0aaf375e.js} +6 -6
  182. package/dist/esm/{bs-e5350540.js → bs-a29d4263.js} +6 -6
  183. package/dist/esm/buffer-tools_4.entry.js +7 -7
  184. package/dist/esm/{ca-2e572adf.js → ca-7025e8bd.js} +6 -6
  185. package/dist/esm/calcite-accordion-item.entry.js +2 -2
  186. package/dist/esm/calcite-accordion.entry.js +1 -1
  187. package/dist/esm/calcite-action-bar_3.entry.js +5 -5
  188. package/dist/esm/calcite-action-group_2.entry.js +4 -4
  189. package/dist/esm/calcite-action-pad.entry.js +5 -5
  190. package/dist/esm/calcite-action_2.entry.js +6 -6
  191. package/dist/esm/calcite-alert_3.entry.js +6 -6
  192. package/dist/esm/calcite-avatar.entry.js +1 -1
  193. package/dist/esm/calcite-block-section.entry.js +3 -3
  194. package/dist/esm/calcite-block.entry.js +6 -6
  195. package/dist/esm/calcite-button.entry.js +4 -4
  196. package/dist/esm/calcite-card.entry.js +3 -3
  197. package/dist/esm/calcite-checkbox_3.entry.js +4 -4
  198. package/dist/esm/calcite-chip-group.entry.js +2 -2
  199. package/dist/esm/calcite-chip.entry.js +4 -4
  200. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  201. package/dist/esm/calcite-color-picker.entry.js +3 -3
  202. package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
  203. package/dist/esm/calcite-combobox_6.entry.js +9 -9
  204. package/dist/esm/calcite-date-picker-day_3.entry.js +2 -2
  205. package/dist/esm/calcite-date-picker.entry.js +4 -4
  206. package/dist/esm/calcite-fab.entry.js +2 -2
  207. package/dist/esm/calcite-filter_3.entry.js +3 -3
  208. package/dist/esm/calcite-flow-item.entry.js +3 -3
  209. package/dist/esm/calcite-flow.entry.js +2 -2
  210. package/dist/esm/calcite-graph.entry.js +1 -1
  211. package/dist/esm/calcite-icon.entry.js +1 -1
  212. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  213. package/dist/esm/calcite-input-date-picker.entry.js +6 -6
  214. package/dist/esm/calcite-input-number_2.entry.js +4 -4
  215. package/dist/esm/{calcite-input-time-picker-77523075.js → calcite-input-time-picker-970d2da4.js} +54 -54
  216. package/dist/esm/calcite-input-time-picker.entry.js +6 -6
  217. package/dist/esm/calcite-input-time-zone.entry.js +4 -4
  218. package/dist/esm/calcite-input_2.entry.js +4 -4
  219. package/dist/esm/calcite-label.entry.js +1 -1
  220. package/dist/esm/calcite-link.entry.js +2 -2
  221. package/dist/esm/calcite-list-item-group.entry.js +1 -1
  222. package/dist/esm/calcite-loader.entry.js +1 -1
  223. package/dist/esm/calcite-menu-item.entry.js +3 -3
  224. package/dist/esm/calcite-menu.entry.js +3 -3
  225. package/dist/esm/calcite-meter.entry.js +3 -3
  226. package/dist/esm/calcite-modal.entry.js +5 -5
  227. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  228. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  229. package/dist/esm/calcite-navigation.entry.js +2 -2
  230. package/dist/esm/calcite-notice_2.entry.js +6 -6
  231. package/dist/esm/calcite-option-group.entry.js +1 -1
  232. package/dist/esm/calcite-option_2.entry.js +3 -3
  233. package/dist/esm/calcite-pagination.entry.js +3 -3
  234. package/dist/esm/calcite-panel_2.entry.js +5 -5
  235. package/dist/esm/calcite-pick-list-group.entry.js +3 -3
  236. package/dist/esm/calcite-pick-list-item.entry.js +4 -4
  237. package/dist/esm/calcite-pick-list.entry.js +3 -3
  238. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  239. package/dist/esm/calcite-radio-button.entry.js +3 -3
  240. package/dist/esm/calcite-rating.entry.js +4 -4
  241. package/dist/esm/calcite-scrim.entry.js +2 -2
  242. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  243. package/dist/esm/calcite-sheet.entry.js +3 -3
  244. package/dist/esm/calcite-shell-center-row.entry.js +2 -2
  245. package/dist/esm/calcite-shell-panel_14.entry.js +8 -8
  246. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  247. package/dist/esm/calcite-split-button.entry.js +2 -2
  248. package/dist/esm/calcite-stepper-item.entry.js +2 -2
  249. package/dist/esm/calcite-stepper.entry.js +1 -1
  250. package/dist/esm/calcite-switch.entry.js +3 -3
  251. package/dist/esm/calcite-table-cell_2.entry.js +3 -3
  252. package/dist/esm/calcite-table-row.entry.js +1 -1
  253. package/dist/esm/calcite-table.entry.js +3 -3
  254. package/dist/esm/calcite-text-area.entry.js +4 -4
  255. package/dist/esm/calcite-tile-select-group.entry.js +1 -1
  256. package/dist/esm/calcite-tile-select.entry.js +2 -2
  257. package/dist/esm/calcite-tile.entry.js +2 -2
  258. package/dist/esm/calcite-time-picker.entry.js +3 -3
  259. package/dist/esm/calcite-tip-group.entry.js +1 -1
  260. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  261. package/dist/esm/calcite-tip.entry.js +4 -4
  262. package/dist/esm/card-manager_3.entry.js +4 -4
  263. package/dist/esm/{conditionalSlot-94095778.js → conditionalSlot-2966afcc.js} +1 -1
  264. package/dist/esm/crowdsource-manager.entry.js +2 -2
  265. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  266. package/dist/esm/{cs-4f054159.js → cs-e75d4f0f.js} +6 -6
  267. package/dist/esm/{da-6c556fce.js → da-7ef2ef83.js} +6 -6
  268. package/dist/esm/{de-ca621a89.js → de-8c937192.js} +6 -6
  269. package/dist/esm/{de-at-d3095241.js → de-at-2d6f27fb.js} +6 -6
  270. package/dist/esm/{de-ch-83fcc045.js → de-ch-94e48c2e.js} +6 -6
  271. package/dist/esm/deduct-calculator.entry.js +1 -1
  272. package/dist/esm/{downloadUtils-c9f4592e.js → downloadUtils-a3f28bae.js} +96 -28
  273. package/dist/esm/{el-0caa1e48.js → el-a2fbe5ed.js} +6 -6
  274. package/dist/esm/{en-au-1a9727f6.js → en-au-e41b88d1.js} +6 -6
  275. package/dist/esm/{en-ca-9efe6ab1.js → en-ca-87be65a9.js} +6 -6
  276. package/dist/esm/{en-gb-87813f25.js → en-gb-83952182.js} +6 -6
  277. package/dist/esm/{es-a564ac80.js → es-141e8350.js} +6 -6
  278. package/dist/esm/{es-mx-69a7843b.js → es-mx-b6a7e8b9.js} +6 -6
  279. package/dist/esm/{et-8018f213.js → et-938a5466.js} +6 -6
  280. package/dist/esm/{fi-c8023099.js → fi-b2c86fbe.js} +6 -6
  281. package/dist/esm/{form-43cd1811.js → form-77fd19cb.js} +1 -1
  282. package/dist/esm/{fr-4a6841af.js → fr-38f2377b.js} +6 -6
  283. package/dist/esm/{fr-ch-abed2e2a.js → fr-ch-f0aa93c8.js} +6 -6
  284. package/dist/esm/{he-0324b963.js → he-c4b286cd.js} +6 -6
  285. package/dist/esm/{hi-f1f4309f.js → hi-78cb42a0.js} +6 -6
  286. package/dist/esm/{hr-410e913d.js → hr-a4637cfd.js} +6 -6
  287. package/dist/esm/{hu-090901ba.js → hu-54c88160.js} +6 -6
  288. package/dist/esm/{id-52323c08.js → id-059e47c6.js} +6 -6
  289. package/dist/esm/{index-0740c914.js → index-b05b3079.js} +77 -15
  290. package/dist/esm/{index-71d123d4.js → index-da1495f5.js} +1 -1
  291. package/dist/esm/{index.es-35932b31.js → index.es-e0432a23.js} +4 -4
  292. package/dist/esm/{it-3980ce36.js → it-015c5cc3.js} +6 -6
  293. package/dist/esm/{it-ch-aa4b9653.js → it-ch-f345a8fe.js} +6 -6
  294. package/dist/esm/{ja-edbfdf17.js → ja-f6c91a37.js} +6 -6
  295. package/dist/esm/{ko-28dfbdfb.js → ko-7b0bfdfa.js} +6 -6
  296. package/dist/esm/layout-manager.entry.js +2 -2
  297. package/dist/esm/list-item.entry.js +1 -1
  298. package/dist/esm/{loadModules-687a30c5.js → loadModules-0bf05e85.js} +1 -1
  299. package/dist/esm/{loadable-0029bf3d.js → loadable-9617e31c.js} +1 -1
  300. package/dist/esm/loader.js +2 -2
  301. package/dist/esm/{locale-6be4e8f0.js → locale-5bdc0197.js} +1 -1
  302. package/dist/esm/{lt-36215874.js → lt-ebe0d73b.js} +6 -6
  303. package/dist/esm/{lv-5f613cfd.js → lv-f7cb8ecf.js} +6 -6
  304. package/dist/esm/map-select-tools_3.entry.js +6 -6
  305. package/dist/esm/{mk-a8e8d2f1.js → mk-fdcc6d81.js} +6 -6
  306. package/dist/esm/{nb-5accd1d3.js → nb-44fa5d1f.js} +6 -6
  307. package/dist/esm/{nl-aa9a0bb6.js → nl-72a97244.js} +6 -6
  308. package/dist/esm/{openCloseComponent-943c5248.js → openCloseComponent-ecc80ec6.js} +1 -1
  309. package/dist/esm/pci-calculator.entry.js +1 -1
  310. package/dist/esm/{pl-23465d62.js → pl-6594cf3b.js} +6 -6
  311. package/dist/esm/{pt-41864e9d.js → pt-a7407eb8.js} +6 -6
  312. package/dist/esm/{pt-br-c6bd3fe5.js → pt-br-83e7fa27.js} +6 -6
  313. package/dist/esm/public-notification.entry.js +6 -6
  314. package/dist/esm/{publicNotificationStore-f25d1e95.js → publicNotificationStore-05b455ff.js} +1 -1
  315. package/dist/esm/{ro-b554cdb2.js → ro-455d4855.js} +6 -6
  316. package/dist/esm/{ru-fabf5351.js → ru-afedf1c0.js} +6 -6
  317. package/dist/esm/{shared-list-render-eba3dbdf.js → shared-list-render-086be7e0.js} +1 -1
  318. package/dist/esm/{sk-6c30f92d.js → sk-593b7042.js} +6 -6
  319. package/dist/esm/{sl-53339340.js → sl-738e75ca.js} +6 -6
  320. package/dist/esm/solution-configuration.entry.js +4 -4
  321. package/dist/esm/solution-contents_3.entry.js +4 -4
  322. package/dist/esm/solution-item-icon.entry.js +1 -1
  323. package/dist/esm/{solution-store-17bb0a75.js → solution-store-c0ac9298.js} +1 -1
  324. package/dist/esm/solutions-components.js +3 -3
  325. package/dist/esm/spatial-ref.entry.js +2 -2
  326. package/dist/esm/{sr-bb55e815.js → sr-46d78867.js} +6 -6
  327. package/dist/esm/store-manager.entry.js +1 -1
  328. package/dist/esm/{sv-e7415076.js → sv-a5afd0c2.js} +6 -6
  329. package/dist/esm/{t9n-976a6630.js → t9n-709a2605.js} +1 -1
  330. package/dist/esm/{th-5035f441.js → th-0e794832.js} +6 -6
  331. package/dist/esm/{tr-8693739a.js → tr-c520e117.js} +6 -6
  332. package/dist/esm/{uk-dfe80c4a.js → uk-98d8c935.js} +6 -6
  333. package/dist/esm/{utils-f7c0de62.js → utils-1c26ea1b.js} +1 -1
  334. package/dist/esm/{vi-540a8ddc.js → vi-d6022534.js} +6 -6
  335. package/dist/esm/{zh-cn-28e77ef2.js → zh-cn-c112d022.js} +6 -6
  336. package/dist/esm/{zh-hk-15113982.js → zh-hk-2d857989.js} +6 -6
  337. package/dist/esm/{zh-tw-f33efd8d.js → zh-tw-196abcd0.js} +6 -6
  338. package/dist/solutions-components/demos/new-public-notification.html +1 -1
  339. package/dist/solutions-components/{p-d738fea9.js → p-00026bea.js} +1 -1
  340. package/dist/solutions-components/{p-dd7e8e5d.entry.js → p-0123207d.entry.js} +1 -1
  341. package/dist/solutions-components/{p-79beb262.js → p-02b1befe.js} +4 -4
  342. package/dist/solutions-components/{p-61e0440a.entry.js → p-02e84287.entry.js} +1 -1
  343. package/dist/solutions-components/{p-bc4c41ba.js → p-039ac222.js} +1 -1
  344. package/dist/solutions-components/{p-5347984d.entry.js → p-071d92ec.entry.js} +1 -1
  345. package/dist/solutions-components/{p-21a54586.entry.js → p-091f2e4a.entry.js} +1 -1
  346. package/dist/solutions-components/{p-735cdbaf.js → p-0a976cf8.js} +1 -1
  347. package/dist/solutions-components/{p-2ba31b8a.entry.js → p-0bd702b0.entry.js} +1 -1
  348. package/dist/solutions-components/{p-8c00bf84.entry.js → p-0c77262e.entry.js} +1 -1
  349. package/dist/solutions-components/{p-234d20b1.js → p-0ca9f9b0.js} +1 -1
  350. package/dist/solutions-components/{p-960d5e0d.entry.js → p-109dcfef.entry.js} +1 -1
  351. package/dist/solutions-components/{p-2af0a6c7.entry.js → p-11a5efc8.entry.js} +1 -1
  352. package/dist/solutions-components/{p-d5517d0d.js → p-123257b4.js} +1 -1
  353. package/dist/solutions-components/{p-f6fa0003.js → p-139ff4ab.js} +1 -1
  354. package/dist/solutions-components/{p-53fe14b3.entry.js → p-13d0424a.entry.js} +1 -1
  355. package/dist/solutions-components/{p-fa06a8f7.entry.js → p-1738c574.entry.js} +1 -1
  356. package/dist/solutions-components/{p-5e8dee25.entry.js → p-17452dc7.entry.js} +1 -1
  357. package/dist/solutions-components/{p-48ce2adc.js → p-18bdcb54.js} +1 -1
  358. package/dist/solutions-components/{p-0335478a.entry.js → p-1abf4a98.entry.js} +1 -1
  359. package/dist/solutions-components/{p-6d2d7943.js → p-1b606a4e.js} +1 -1
  360. package/dist/solutions-components/{p-937c2c82.entry.js → p-1d8b5383.entry.js} +1 -1
  361. package/dist/solutions-components/{p-86f33d1b.js → p-1efb6f5e.js} +1 -1
  362. package/dist/solutions-components/{p-c9936cc9.js → p-1f8b3c22.js} +1 -1
  363. package/dist/solutions-components/{p-d6b50da2.js → p-244fe501.js} +1 -1
  364. package/dist/solutions-components/{p-0591ccfd.entry.js → p-25736760.entry.js} +1 -1
  365. package/dist/solutions-components/{p-29120ecd.js → p-27431aa6.js} +1 -1
  366. package/dist/solutions-components/{p-2b59e4cf.js → p-27c3142d.js} +1 -1
  367. package/dist/solutions-components/{p-99900c72.entry.js → p-29f22e76.entry.js} +1 -1
  368. package/dist/solutions-components/{p-94785227.entry.js → p-2a8e0824.entry.js} +1 -1
  369. package/dist/solutions-components/{p-4277bdc8.entry.js → p-2c095772.entry.js} +2 -2
  370. package/dist/solutions-components/{p-aacbdedb.entry.js → p-2c49fea8.entry.js} +1 -1
  371. package/dist/solutions-components/{p-ae952961.entry.js → p-2c676869.entry.js} +1 -1
  372. package/dist/solutions-components/{p-6190f6b9.entry.js → p-2d34a885.entry.js} +1 -1
  373. package/dist/solutions-components/{p-bf73ccae.js → p-319e672e.js} +1 -1
  374. package/dist/solutions-components/{p-6d783ec5.js → p-3324bc9c.js} +1 -1
  375. package/dist/solutions-components/{p-b7f5a5c9.js → p-33833cea.js} +1 -1
  376. package/dist/solutions-components/{p-97b2521a.entry.js → p-3556a164.entry.js} +1 -1
  377. package/dist/solutions-components/{p-bee78404.js → p-369e28ed.js} +2 -2
  378. package/dist/solutions-components/{p-34ae5550.entry.js → p-37551e19.entry.js} +1 -1
  379. package/dist/solutions-components/{p-164a80fb.js → p-3a712812.js} +1 -1
  380. package/dist/solutions-components/{p-6c39845d.entry.js → p-3ca5956e.entry.js} +1 -1
  381. package/dist/solutions-components/{p-3b8d021c.js → p-3e1346f4.js} +1 -1
  382. package/dist/solutions-components/{p-1da1779e.entry.js → p-42472527.entry.js} +1 -1
  383. package/dist/solutions-components/{p-b6f9d874.js → p-427f8955.js} +1 -1
  384. package/dist/solutions-components/{p-fa63c8b1.js → p-4349f3f7.js} +1 -1
  385. package/dist/solutions-components/{p-22eb9ead.entry.js → p-44ddfacf.entry.js} +1 -1
  386. package/dist/solutions-components/{p-99391a15.entry.js → p-45cf4f67.entry.js} +1 -1
  387. package/dist/solutions-components/{p-13e96533.js → p-48a44c8d.js} +1 -1
  388. package/dist/solutions-components/{p-3a668467.js → p-49dc53cb.js} +1 -1
  389. package/dist/solutions-components/{p-e52091fa.js → p-4ce32f39.js} +1 -1
  390. package/dist/solutions-components/{p-8458b57c.entry.js → p-4daf1755.entry.js} +1 -1
  391. package/dist/solutions-components/{p-fc141ca0.js → p-4eb21769.js} +2 -2
  392. package/dist/solutions-components/{p-50d9056a.entry.js → p-4fbf3997.entry.js} +1 -1
  393. package/dist/solutions-components/{p-851edd3b.entry.js → p-50a7927d.entry.js} +1 -1
  394. package/dist/solutions-components/{p-7cc21aa4.entry.js → p-524078d6.entry.js} +1 -1
  395. package/dist/solutions-components/{p-6b61a3cd.js → p-528116a5.js} +1 -1
  396. package/dist/solutions-components/{p-a35a422a.js → p-52d5d2c7.js} +1 -1
  397. package/dist/solutions-components/{p-cfa0c38b.entry.js → p-5507d527.entry.js} +1 -1
  398. package/dist/solutions-components/{p-fbc7fc26.entry.js → p-557a1912.entry.js} +1 -1
  399. package/dist/solutions-components/{p-224f47c5.js → p-59f96664.js} +1 -1
  400. package/dist/solutions-components/{p-5a2c1d3a.entry.js → p-5a5676d4.entry.js} +1 -1
  401. package/dist/solutions-components/{p-6f59f4ee.js → p-5d5d10d5.js} +1 -1
  402. package/dist/solutions-components/{p-524dbb02.entry.js → p-5f4fba81.entry.js} +1 -1
  403. package/dist/solutions-components/{p-edf861a1.entry.js → p-60336409.entry.js} +1 -1
  404. package/dist/solutions-components/{p-04660d48.entry.js → p-63770d57.entry.js} +1 -1
  405. package/dist/solutions-components/{p-73c50d50.js → p-640de6e2.js} +2 -2
  406. package/dist/solutions-components/{p-9a66d8c7.js → p-64106e73.js} +1 -1
  407. package/dist/solutions-components/{p-0d773964.entry.js → p-64963b28.entry.js} +1 -1
  408. package/dist/solutions-components/{p-89e4299f.js → p-6536a858.js} +1 -1
  409. package/dist/solutions-components/{p-97effcfe.entry.js → p-68735975.entry.js} +1 -1
  410. package/dist/solutions-components/{p-80ff1462.entry.js → p-69925ee2.entry.js} +1 -1
  411. package/dist/solutions-components/{p-30019a9d.js → p-69b7a4da.js} +1 -1
  412. package/dist/solutions-components/{p-2a5903e0.js → p-6acf6258.js} +1 -1
  413. package/dist/solutions-components/{p-c2c000fc.entry.js → p-6b7be761.entry.js} +1 -1
  414. package/dist/solutions-components/{p-4f29d862.entry.js → p-6e779398.entry.js} +2 -2
  415. package/dist/solutions-components/{p-3a1ce0b3.entry.js → p-73e7af57.entry.js} +1 -1
  416. package/dist/solutions-components/{p-370cdc1a.js → p-761adec1.js} +1 -1
  417. package/dist/solutions-components/{p-9f8cd92d.js → p-76384a24.js} +1 -1
  418. package/dist/solutions-components/{p-b8ce608e.js → p-788f3c1c.js} +2 -2
  419. package/dist/solutions-components/{p-2df8b0d2.js → p-799ba781.js} +1 -1
  420. package/dist/solutions-components/{p-2db4adca.entry.js → p-7c937dad.entry.js} +1 -1
  421. package/dist/solutions-components/{p-40e95e2b.entry.js → p-7ea11939.entry.js} +1 -1
  422. package/dist/solutions-components/{p-852e7d6c.js → p-7fea302e.js} +1 -1
  423. package/dist/solutions-components/{p-a574b12e.entry.js → p-800d0291.entry.js} +1 -1
  424. package/dist/solutions-components/{p-2a0238d4.entry.js → p-8239ee0e.entry.js} +1 -1
  425. package/dist/solutions-components/{p-9a41ea03.js → p-83208f15.js} +1 -1
  426. package/dist/solutions-components/{p-994e84f7.js → p-857c255c.js} +1 -1
  427. package/dist/solutions-components/{p-40532d71.entry.js → p-87e51c05.entry.js} +1 -1
  428. package/dist/solutions-components/p-8a2ae571.js +11 -0
  429. package/dist/solutions-components/{p-fd1da29a.entry.js → p-8f535590.entry.js} +1 -1
  430. package/dist/solutions-components/p-8f650f5a.entry.js +6 -0
  431. package/dist/solutions-components/{p-0dfd47df.entry.js → p-9183a4ab.entry.js} +1 -1
  432. package/dist/solutions-components/{p-d8ac40a5.js → p-940c447c.js} +1 -1
  433. package/dist/solutions-components/{p-40d50491.entry.js → p-9640d89a.entry.js} +1 -1
  434. package/dist/solutions-components/{p-71049433.entry.js → p-98d82820.entry.js} +2 -2
  435. package/dist/solutions-components/{p-9894c380.js → p-9b5df16f.js} +1 -1
  436. package/dist/solutions-components/{p-f2c3068e.entry.js → p-9c64026c.entry.js} +1 -1
  437. package/dist/solutions-components/{p-3b3b8693.entry.js → p-9ddb9445.entry.js} +2 -2
  438. package/dist/solutions-components/{p-10375537.js → p-9e10d371.js} +1 -1
  439. package/dist/solutions-components/{p-2d143359.entry.js → p-9fd9dab0.entry.js} +1 -1
  440. package/dist/solutions-components/{p-56ccef9e.entry.js → p-a30bf8f8.entry.js} +1 -1
  441. package/dist/solutions-components/{p-8b912783.js → p-a3538132.js} +1 -1
  442. package/dist/solutions-components/{p-d32a1308.entry.js → p-a525e175.entry.js} +1 -1
  443. package/dist/solutions-components/{p-fc7de108.entry.js → p-a6774162.entry.js} +1 -1
  444. package/dist/solutions-components/{p-99d8a839.js → p-a9154c5a.js} +1 -1
  445. package/dist/solutions-components/{p-6ac73100.js → p-a99967f5.js} +1 -1
  446. package/dist/solutions-components/{p-d3104ab2.js → p-abfec82b.js} +1 -1
  447. package/dist/solutions-components/{p-d68f66a3.js → p-acd7494a.js} +1 -1
  448. package/dist/solutions-components/{p-7ea4f229.entry.js → p-b0e67c32.entry.js} +1 -1
  449. package/dist/solutions-components/{p-5f929b73.js → p-b3622a4e.js} +1 -1
  450. package/dist/solutions-components/{p-27492081.entry.js → p-b4ff1e38.entry.js} +1 -1
  451. package/dist/solutions-components/{p-4228202a.entry.js → p-b587b224.entry.js} +1 -1
  452. package/dist/solutions-components/{p-3db650c2.js → p-bc965d47.js} +1 -1
  453. package/dist/solutions-components/{p-7624927c.entry.js → p-bdc6be4b.entry.js} +2 -2
  454. package/dist/solutions-components/{p-c3417d14.js → p-c0ec94af.js} +1 -1
  455. package/dist/solutions-components/{p-3fc5f99b.entry.js → p-c191d28c.entry.js} +3 -3
  456. package/dist/solutions-components/{p-482534a7.js → p-c3546866.js} +1 -1
  457. package/dist/solutions-components/{p-7af492f8.js → p-c4a448a3.js} +1 -1
  458. package/dist/solutions-components/{p-3622ff5a.entry.js → p-c69ba9db.entry.js} +1 -1
  459. package/dist/solutions-components/{p-a64684d9.js → p-c8e772fb.js} +1 -1
  460. package/dist/solutions-components/{p-091120c5.entry.js → p-c90671e1.entry.js} +1 -1
  461. package/dist/solutions-components/{p-e8c5f63d.js → p-c9ba6598.js} +1 -1
  462. package/dist/solutions-components/{p-08306638.entry.js → p-c9d9ac15.entry.js} +1 -1
  463. package/dist/solutions-components/{p-029d8d56.entry.js → p-ca37ebd0.entry.js} +1 -1
  464. package/dist/solutions-components/{p-a366c1bd.entry.js → p-ca53679d.entry.js} +1 -1
  465. package/dist/solutions-components/{p-91ad3f1e.entry.js → p-ca780ab8.entry.js} +1 -1
  466. package/dist/solutions-components/{p-16d07093.js → p-cb8e599c.js} +1 -1
  467. package/dist/solutions-components/{p-90e780b3.js → p-cbe3b9ee.js} +1 -1
  468. package/dist/solutions-components/{p-8be9c706.entry.js → p-cdfe141e.entry.js} +2 -2
  469. package/dist/solutions-components/{p-880a0d62.entry.js → p-cefde738.entry.js} +1 -1
  470. package/dist/solutions-components/{p-52db1792.entry.js → p-cf765f54.entry.js} +1 -1
  471. package/dist/solutions-components/{p-9aa4ddb7.js → p-d0e59d62.js} +1 -1
  472. package/dist/solutions-components/{p-76c75cac.entry.js → p-d16db4eb.entry.js} +2 -2
  473. package/dist/solutions-components/{p-b17541d4.entry.js → p-d78136be.entry.js} +2 -2
  474. package/dist/solutions-components/{p-74c723d2.entry.js → p-d7953124.entry.js} +2 -2
  475. package/dist/solutions-components/{p-ca9bd37c.entry.js → p-d85e1fbe.entry.js} +2 -2
  476. package/dist/solutions-components/{p-038fa109.entry.js → p-dcf0f0c8.entry.js} +1 -1
  477. package/dist/solutions-components/{p-375fd36b.js → p-dd4a1910.js} +2 -2
  478. package/dist/solutions-components/{p-684a3ab9.entry.js → p-dd6b827e.entry.js} +1 -1
  479. package/dist/solutions-components/{p-946a0023.js → p-e004e8e2.js} +1 -1
  480. package/dist/solutions-components/{p-4ec6a622.entry.js → p-e1e22909.entry.js} +1 -1
  481. package/dist/solutions-components/{p-b4c0c62e.entry.js → p-e1f1e124.entry.js} +1 -1
  482. package/dist/solutions-components/{p-c29a20f1.entry.js → p-e416078b.entry.js} +1 -1
  483. package/dist/solutions-components/{p-a4e47e1d.entry.js → p-e592e744.entry.js} +1 -1
  484. package/dist/solutions-components/{p-5aa04e51.entry.js → p-ec830ecb.entry.js} +1 -1
  485. package/dist/solutions-components/{p-38d04674.entry.js → p-ed3bd9b8.entry.js} +1 -1
  486. package/dist/solutions-components/{p-c3bd1676.entry.js → p-ee13cafa.entry.js} +1 -1
  487. package/dist/solutions-components/{p-138a065a.entry.js → p-ee839f28.entry.js} +1 -1
  488. package/dist/solutions-components/{p-05948b48.js → p-eec708ad.js} +1 -1
  489. package/dist/solutions-components/{p-89b4b401.js → p-f066b1bd.js} +1 -1
  490. package/dist/solutions-components/p-f1782b8c.js +7 -0
  491. package/dist/solutions-components/{p-82cedafd.js → p-f20097e5.js} +1 -1
  492. package/dist/solutions-components/{p-387657b5.js → p-f3f83c1e.js} +1 -1
  493. package/dist/solutions-components/{p-649e12c3.entry.js → p-f6390960.entry.js} +1 -1
  494. package/dist/solutions-components/{p-420e1585.entry.js → p-f702119f.entry.js} +1 -1
  495. package/dist/solutions-components/{p-7d7b7536.entry.js → p-f9808dcb.entry.js} +1 -1
  496. package/dist/solutions-components/{p-bf8fef40.entry.js → p-fb67a388.entry.js} +1 -1
  497. package/dist/solutions-components/{p-5d28f356.entry.js → p-fbbfed75.entry.js} +1 -1
  498. package/dist/solutions-components/{p-a3426728.entry.js → p-fe9cdc3d.entry.js} +1 -1
  499. package/dist/solutions-components/solutions-components.esm.js +1 -1
  500. package/dist/solutions-components/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +387 -0
  501. package/dist/solutions-components/utils/downloadUtils.ts +131 -30
  502. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +27 -5
  503. package/dist/solutions-components_commit.txt +7 -0
  504. package/dist/types/components.d.ts +219 -0
  505. package/dist/types/stencil-public-runtime.d.ts +21 -0
  506. package/dist/types/utils/downloadUtils.d.ts +27 -3
  507. package/package.json +9 -9
  508. package/dist/solutions-components/p-91c78d98.js +0 -7
  509. package/dist/solutions-components/p-abc50d38.js +0 -11
  510. package/dist/solutions-components/p-f34f405a.entry.js +0 -6
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as i,h as t,H as o,g as s}from"./p-91c78d98.js";import{e as r,t as a}from"./p-4b9ba22d.js";import{c as n,d as c,H as l}from"./p-3db650c2.js";import{c as d,d as h,u as p}from"./p-2ee3afea.js";import{i as b}from"./p-34fb2a6e.js";import{c as u,d as m,g as k}from"./p-f52ee45d.js";import{c as v,s as f,a as g}from"./p-3a668467.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";const x=class{constructor(t){e(this,t),this.calciteSwitchChange=i(this,"calciteSwitchChange",6),this.keyDownHandler=e=>{!this.disabled&&b(e.key)&&(this.toggle(),e.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.setSwitchEl=e=>{this.switchEl=e},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.scale="m",this.checked=!1,this.value=void 0}async setFocus(){await v(this),r(this.switchEl)}syncHiddenFormInput(e){e.type="checkbox"}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}connectedCallback(){d(this),u(this),n(this)}componentWillLoad(){f(this)}componentDidLoad(){g(this)}disconnectedCallback(){h(this),m(this),c(this)}componentDidRender(){p(this)}render(){return t(o,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},t("div",{"aria-checked":a(this.checked),"aria-label":k(this),class:"container",role:"switch",tabIndex:0,ref:this.setSwitchEl},t("div",{class:"track"},t("div",{class:"handle"})),t(l,{component:this})))}get el(){return s(this)}};x.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;outline-color:transparent}:host(:focus) .track{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_switch}
6
+ import{r as e,c as i,h as t,H as o,g as s}from"./p-f1782b8c.js";import{e as r,t as a}from"./p-4b9ba22d.js";import{c as n,d as c,H as l}from"./p-bc965d47.js";import{c as d,d as h,u as p}from"./p-2ee3afea.js";import{i as b}from"./p-34fb2a6e.js";import{c as u,d as m,g as k}from"./p-f52ee45d.js";import{c as v,s as f,a as g}from"./p-49dc53cb.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";const x=class{constructor(t){e(this,t),this.calciteSwitchChange=i(this,"calciteSwitchChange",6),this.keyDownHandler=e=>{!this.disabled&&b(e.key)&&(this.toggle(),e.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.setSwitchEl=e=>{this.switchEl=e},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.scale="m",this.checked=!1,this.value=void 0}async setFocus(){await v(this),r(this.switchEl)}syncHiddenFormInput(e){e.type="checkbox"}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}connectedCallback(){d(this),u(this),n(this)}componentWillLoad(){f(this)}componentDidLoad(){g(this)}disconnectedCallback(){h(this),m(this),c(this)}componentDidRender(){p(this)}render(){return t(o,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},t("div",{"aria-checked":a(this.checked),"aria-label":k(this),class:"container",role:"switch",tabIndex:0,ref:this.setSwitchEl},t("div",{class:"track"},t("div",{class:"handle"})),t(l,{component:this})))}get el(){return s(this)}};x.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;outline-color:transparent}:host(:focus) .track{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_switch}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{a as n}from"./p-91c78d98.js";import{g as t}from"./p-bf9d3381.js";
6
+ import{a as n}from"./p-f1782b8c.js";import{g as t}from"./p-bf9d3381.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var m={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var m={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};e.locale(m,null,!0);export default m;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,H as n,g as s}from"./p-91c78d98.js";import{g as o,i as a,x as r,a as l}from"./p-4b9ba22d.js";import{s as c,c as h,d as u,H as d}from"./p-3db650c2.js";import{c as p,d as m,u as b}from"./p-2ee3afea.js";import{n as v}from"./p-34fb2a6e.js";import{c as f,d as g,g as x}from"./p-f52ee45d.js";import{s as k,a as w,c as y}from"./p-3a668467.js";import{n as z,i as j,p as I,s as E,f as C,c as D,d as L,B as F}from"./p-bf9d3381.js";import{c as W}from"./p-efc041d0.js";import{C as K}from"./p-3760847f.js";import{u as $,c as H,d as N,s as P}from"./p-29120ecd.js";import"./p-361b44ed.js";import"./p-86f482ca.js";
6
+ import{r as t,c as i,h as e,H as n,g as s}from"./p-f1782b8c.js";import{g as o,i as a,x as r,a as l}from"./p-4b9ba22d.js";import{s as c,c as h,d as u,H as d}from"./p-bc965d47.js";import{c as p,d as m,u as b}from"./p-2ee3afea.js";import{n as v}from"./p-34fb2a6e.js";import{c as f,d as g,g as x}from"./p-f52ee45d.js";import{s as k,a as w,c as y}from"./p-49dc53cb.js";import{n as z,i as j,p as I,s as E,f as C,c as D,d as L,B as F}from"./p-bf9d3381.js";import{c as W}from"./p-efc041d0.js";import{C as K}from"./p-3760847f.js";import{u as $,c as H,d as N,s as P}from"./p-27431aa6.js";import"./p-361b44ed.js";import"./p-86f482ca.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as i,h as e,g as t}from"./p-91c78d98.js";import{g as o}from"./p-361b44ed.js";import{g as c,a}from"./p-353ff6c3.js";import"./p-4b9ba22d.js";import"./p-3760847f.js";
6
+ import{r as i,h as e,g as t}from"./p-f1782b8c.js";import{g as o}from"./p-361b44ed.js";import{g as c,a}from"./p-353ff6c3.js";import"./p-4b9ba22d.js";import"./p-3760847f.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as o,h as e,g as t,F as a}from"./p-91c78d98.js";import{c as i,d as s}from"./p-73c50d50.js";import{g as r}from"./p-4b9ba22d.js";import"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.js";
6
+ import{r as e,h as o,g as t,F as a}from"./p-f1782b8c.js";import{c as i,d as s}from"./p-640de6e2.js";import{g as r}from"./p-4b9ba22d.js";import"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
10
  * v1.9.0
11
- */const n="action-bar",l=class{constructor(e){o(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){i(this)}disconnectedCallback(){s(this)}render(){const{el:o}=this,t=e("div",{class:"content"},e("slot",null)),i=r(o,n),s=[i?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:n})):null,t];return"end"===(null==i?void 0:i.position)&&s.reverse(),e(a,null,s)}get el(){return t(this)}};l.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_shell_center_row}
11
+ */const n="action-bar",l=class{constructor(o){e(this,o),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){i(this)}disconnectedCallback(){s(this)}render(){const{el:e}=this,t=o("div",{class:"content"},o("slot",null)),i=r(e,n),s=[i?o("div",{class:"action-bar-container",key:"action-bar"},o("slot",{name:n})):null,t];return"end"===(null==i?void 0:i.position)&&s.reverse(),o(a,null,s)}get el(){return t(this)}};l.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_shell_center_row}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,g as a}from"./p-91c78d98.js";import{c as n,u as o,d as s}from"./p-2ee3afea.js";import{c as l,s as c,a as r}from"./p-3a668467.js";import"./p-86f482ca.js";
6
+ import{r as t,c as i,h as e,g as a}from"./p-f1782b8c.js";import{c as n,u as o,d as s}from"./p-2ee3afea.js";import{c as l,s as c,a as r}from"./p-49dc53cb.js";import"./p-86f482ca.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as i,c as t,h as e,H as a,g as o}from"./p-91c78d98.js";import{c as n,d as s}from"./p-73c50d50.js";import{g as r,u as l,f as c,v as d}from"./p-4b9ba22d.js";import{d as h,a as m,c as p,u as b}from"./p-a47c8ae2.js";import{s as u,a as v,c as x}from"./p-3a668467.js";import{c as g}from"./p-efc041d0.js";import{o as f}from"./p-abc50d38.js";import{c as k,d as z}from"./p-bf9d3381.js";import{s as w,c as y,d as C,u as $}from"./p-29120ecd.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";
6
+ import{r as i,c as t,h as e,H as a,g as o}from"./p-f1782b8c.js";import{c as n,d as s}from"./p-640de6e2.js";import{g as r,u as l,f as c,v as d}from"./p-4b9ba22d.js";import{d as h,a as m,c as p,u as b}from"./p-a47c8ae2.js";import{s as u,a as v,c as x}from"./p-49dc53cb.js";import{c as g}from"./p-efc041d0.js";import{o as f}from"./p-8a2ae571.js";import{c as k,d as z}from"./p-bf9d3381.js";import{s as w,c as y,d as C,u as $}from"./p-27431aa6.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as s,h as i,g as e}from"./p-91c78d98.js";import{c as a,d as o,u as r}from"./p-2ee3afea.js";import{s as h,a as c,c as n}from"./p-3a668467.js";import{c as l}from"./p-efc041d0.js";import{I as d}from"./p-3003e56a.js";import{m as p,d as m,a as b,s as f,h as u,b as g,g as x,k as w,i as v,c as y,e as j,f as k,r as I,j as L,l as z,n as C,o as H,p as F,L as D}from"./p-946a0023.js";import"./p-86f482ca.js";import"./p-7d7e6744.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-59d706b4.js";import"./p-a82f35c9.js";const R=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=f.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=w.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this),a(this)}disconnectedCallback(){j.call(this),o(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this),k.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){I.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){C.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),F.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};R.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_pick_list}
6
+ import{r as t,c as s,h as i,g as e}from"./p-f1782b8c.js";import{c as a,d as o,u as r}from"./p-2ee3afea.js";import{s as h,a as c,c as n}from"./p-49dc53cb.js";import{c as l}from"./p-efc041d0.js";import{I as d}from"./p-3003e56a.js";import{m as p,d as m,a as b,s as f,h as u,b as g,g as x,k as w,i as v,c as y,e as j,f as k,r as I,j as L,l as z,n as C,o as H,p as F,L as D}from"./p-e004e8e2.js";import"./p-86f482ca.js";import"./p-7d7e6744.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-59d706b4.js";import"./p-a82f35c9.js";const R=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=f.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=w.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this),a(this)}disconnectedCallback(){j.call(this),o(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this),k.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){I.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){C.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),F.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};R.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_pick_list}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var a={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};e.locale(a,null,!0);export default a;
6
+ import{d as e}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var a={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};e.locale(a,null,!0);export default a;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var s=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(r(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(r(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(r(e)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(r(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(r(e)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var a=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?a+(r(e)?"roky":"rokov"):a+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as a}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
6
+ import{d as a}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as t,h as i,H as s,g as a}from"./p-91c78d98.js";import{f as o,a as n,t as c}from"./p-4b9ba22d.js";import{i as l}from"./p-34fb2a6e.js";import{c as r,d}from"./p-bf9d3381.js";import{u as h,c as g,s as u,d as p}from"./p-29120ecd.js";import{c as f,s as m,a as v}from"./p-3a668467.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-efc041d0.js";
6
+ import{r as e,c as t,h as i,H as s,g as a}from"./p-f1782b8c.js";import{f as o,a as n,t as c}from"./p-4b9ba22d.js";import{i as l}from"./p-34fb2a6e.js";import{c as r,d}from"./p-bf9d3381.js";import{u as h,c as g,s as u,d as p}from"./p-27431aa6.js";import{c as f,s as m,a as v}from"./p-49dc53cb.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-efc041d0.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{h as t}from"./p-91c78d98.js";
6
+ import{h as t}from"./p-f1782b8c.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
10
  * v1.9.0
11
- */const e={width:12,height:6,strokeWidth:1},i=({floatingLayout:i,key:o,ref:r})=>{const{width:a,height:h,strokeWidth:s}=e,d=a/2,n="vertical"===i,c=`M0,0 H${a} L${a-d},${h} Q${d},${h} ${d},${h} Z`;return t("svg",{"aria-hidden":"true",class:"calcite-floating-ui-arrow",height:a,key:o,ref:r,viewBox:`0 0 ${a} ${a+(n?0:s)}`,width:a+(n?s:0)},s>0&&t("path",{class:"calcite-floating-ui-arrow__stroke",d:c,fill:"none","stroke-width":s+1}),t("path",{d:c,stroke:"none"}))};export{i as F}
11
+ */const e={width:12,height:6,strokeWidth:1},i=({floatingLayout:i,key:o,ref:r})=>{const{width:a,height:h,strokeWidth:s}=e,n=a/2,c="vertical"===i,d=`M0,0 H${a} L${a-n},${h} Q${n},${h} ${n},${h} Z`;return t("svg",{"aria-hidden":"true",class:"calcite-floating-ui-arrow",height:a,key:o,ref:r,viewBox:`0 0 ${a} ${a+(c?0:s)}`,width:a+(c?s:0)},s>0&&t("path",{class:"calcite-floating-ui-arrow__stroke",d,fill:"none","stroke-width":s+1}),t("path",{d,stroke:"none"}))};export{i as F}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,g as o,H as s}from"./p-91c78d98.js";import{c as n,d as a}from"./p-73c50d50.js";import{x as c,g as l,q as r,i as h,A as d,t as p}from"./p-4b9ba22d.js";import{s as f,a as m,c as u}from"./p-3a668467.js";import{c as g,d as v}from"./p-bf9d3381.js";import{c as b,d as k,s as x,u as w}from"./p-29120ecd.js";import{K as y}from"./p-c24040ec.js";import{o as z}from"./p-abc50d38.js";import{c as C,b as E,a as H,r as j,F as R}from"./p-53368491.js";import{g as T}from"./p-361b44ed.js";import{F as L}from"./p-bee78404.js";import"./p-efc041d0.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-a82f35c9.js";
6
+ import{r as t,c as e,h as i,g as o,H as s}from"./p-f1782b8c.js";import{c as n,d as a}from"./p-640de6e2.js";import{x as c,g as l,q as r,i as h,A as d,t as p}from"./p-4b9ba22d.js";import{s as f,a as m,c as u}from"./p-49dc53cb.js";import{c as g,d as v}from"./p-bf9d3381.js";import{c as b,d as k,s as x,u as w}from"./p-27431aa6.js";import{K as y}from"./p-c24040ec.js";import{o as z}from"./p-8a2ae571.js";import{c as C,b as E,a as H,r as j,F as R}from"./p-53368491.js";import{g as T}from"./p-361b44ed.js";import{F as L}from"./p-369e28ed.js";import"./p-efc041d0.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-a82f35c9.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as _}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),m="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),p="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),e=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function o(_,r,t){var m,p;return"m"===t?r?"минута":"минуту":_+" "+(m=+_,p={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),m%10==1&&m%100!=11?p[0]:m%10>=2&&m%10<=4&&(m%100<10||m%100>=20)?p[1]:p[2])}var s=function(_,m){return e.test(m)?r[_.month()]:t[_.month()]};s.s=t,s.f=r;var i=function(_,r){return e.test(r)?m[_.month()]:p[_.month()]};i.s=p,i.f=m;var a={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:i,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:o,mm:o,h:"час",hh:o,d:"день",dd:o,M:"месяц",MM:o,y:"год",yy:o},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(a,null,!0);export default a;
6
+ import{d as _}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),m="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),p="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),e=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function o(_,r,t){var m,p;return"m"===t?r?"минута":"минуту":_+" "+(m=+_,p={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),m%10==1&&m%100!=11?p[0]:m%10>=2&&m%10<=4&&(m%100<10||m%100>=20)?p[1]:p[2])}var s=function(_,m){return e.test(m)?r[_.month()]:t[_.month()]};s.s=t,s.f=r;var a=function(_,r){return e.test(r)?m[_.month()]:p[_.month()]};a.s=p,a.f=m;var i={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:a,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:o,mm:o,h:"час",hh:o,d:"день",dd:o,M:"месяц",MM:o,y:"год",yy:o},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(i,null,!0);export default i;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as s,h as i,g as e}from"./p-91c78d98.js";import{c as a,C as o,D as n,a as l,H as r,O as h,b as c,S as d,d as p,R as u}from"./p-dd4e5f64.js";import{i as f,a as m}from"./p-4b9ba22d.js";import{C as v,n as g,h as b,o as w,a as x,b as C,p as y,c as k,t as S,d as A,e as j,f as D}from"./p-dd36af4f.js";import{c as $,d as z,u as F}from"./p-2ee3afea.js";import{i as O}from"./p-34fb2a6e.js";import{c as L,s as M,a as N}from"./p-3a668467.js";import{c as P,d as I}from"./p-bf9d3381.js";import{r as K,c as E,a as U}from"./p-2f9bab49.js";import{u as H,s as R,c as T,d as X}from"./p-29120ecd.js";import{t as V}from"./p-6665fa1f.js";import"./p-e1a4994d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-efc041d0.js";import"./p-a82f35c9.js";const q=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=v.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(o+a);this.internalColorSet(n,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&g(b(i,C(this.mode))))&&this.internalColorSet(a(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(a(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?h.max:"rgb"===this.channelMode?u[Object.keys(u)[i]]:r[Object.keys(r)[i]];let a;if(this.allowEmpty&&!s.value)a="";else{const t=Number(s.value);a=E(t+this.shiftKeyChannelAdjustment,0,e).toString()}s.value=a},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.allowEmpty&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i,o=Number(s.value);e[i]=a?w(o):o,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{O(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!f(t))return;const{offsetX:s,offsetY:i}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!f(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let o,n;const{clientX:l,clientY:r}=t;e.canvas.matches(":hover")?(o=l-a.x,n=r-a.y):(o=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,n=r<a.y+a.height&&r>a.y?r-a.y:r<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(o,n,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(o):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(o)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:o.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{allowEmpty:s,channelMode:e,channels:a,messages:n,alphaChannel:l}=this,r=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],c=m(this.el),d=l?a:a.slice(0,3);return i("calcite-tab",{class:o.control,key:t,selected:r},i("div",{class:o.channels,dir:"ltr"},d.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:x(t)),this.renderChannel(t,i,h[i],c,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:o.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=b(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=b(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=V(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,o=Math.round(r.s/a*t),n=Math.round(r.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(n),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(o+a);this.internalColorSet(n,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.color=n,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=g(b(n,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(n),this.dimensions=l.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!C(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{allowEmpty:i,format:e}=this;let o=!1;if(!i||t){const i=y(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);o=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const l=i&&!t?null:a(null!=t&&"object"==typeof t&&C(this.mode)?D(t):t),r=!k(l,this.color);(o||r)&&this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||n}effectiveLocaleChange(){H(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>{var s;return null===(s=t.classList)||void 0===s?void 0:s.contains(o.channel)})))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0}async setFocus(){await L(this),this.el.focus()}async componentWillLoad(){M(this);const{allowEmpty:t,color:s,format:i,value:e}=this,o=t&&!e,n=y(e),l=o||"auto"===i&&n||i===n,r=o?null:l?a(e):s;l||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const h=`${p}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h))),await R(this)}connectedCallback(){$(this),P(this),T(this)}componentDidLoad(){N(this)}disconnectedCallback(){document.removeEventListener("pointermove",this.globalPointerMoveHandler),document.removeEventListener("pointerup",this.globalPointerUpHandler),z(this),I(this),X(this)}componentDidRender(){F(this)}render(){const{allowEmpty:t,channelsDisabled:s,color:e,colorFieldScopeLeft:a,colorFieldScopeTop:l,dimensions:{slider:{width:c},thumb:{radius:d}},hexDisabled:p,hideChannels:u,hideHex:f,hideSaved:m,hueScopeLeft:v,messages:g,alphaChannel:w,opacityScopeLeft:C,savedColors:y,savedDisabled:k,scale:S,scopeOrientation:A}=this,j=e?b(e,w):null,D=d,$=null!=v?v:c*n.hue()/r.h,z=d,F=null!=C?C:c*x(n.alpha())/h.max,O=null===e,L="vertical"===A,M=p||f,N=s||u,P=k||m,[I,K]=this.getAdjustedScopePosition(a,l),[E,U]=this.getAdjustedScopePosition($,D),[H,R]=this.getAdjustedScopePosition(F,z);return i("div",{class:o.container},i("div",{class:o.controlAndScope},i("canvas",{class:o.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{"aria-label":L?g.value:g.saturation,"aria-valuemax":L?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(L?null==e?void 0:e.saturationv():null==e?void 0:e.value())||"0",class:{[o.scope]:!0,[o.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${K||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{class:o.previewAndSliders},i("calcite-color-picker-swatch",{class:o.preview,color:j,scale:"l"}),i("div",{class:o.sliders},i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{"aria-label":g.hue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==e?void 0:e.round().hue())||n.round().hue(),class:{[o.scope]:!0,[o.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${U}px`,left:`${E}px`},tabindex:"0",ref:this.storeHueScope})),w?i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":g.opacity,"aria-valuemax":h.max,"aria-valuemin":h.min,"aria-valuenow":(e||n).round().alpha(),class:{[o.scope]:!0,[o.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),M&&N?null:i("div",{class:{[o.controlSection]:!0,[o.section]:!0}},i("div",{class:o.hexAndChannelsGroup},M?null:i("div",{class:o.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:w,class:o.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:S,value:j})),N?null:i("calcite-tabs",{class:{[o.colorModeContainer]:!0,[o.splitSection]:!0},scale:"l"===S?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),P?null:i("div",{class:{[o.savedColorsSection]:!0,[o.section]:!0}},i("div",{class:o.header},i("label",null,g.saved),i("div",{class:o.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:o.deleteColor,disabled:O,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:S,type:"button"}),i("calcite-button",{appearance:"transparent",class:o.saveColor,disabled:O,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:S,type:"button"}))),y.length>0?i("div",{class:o.savedColors},[...y.map((t=>i("calcite-color-picker-swatch",{class:o.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:S,tabIndex:0})))]):null))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=C(t);if(i&&!e){const i=j(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=S(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:s}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(c/s*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:s}}}=this,i=w(h.max/s*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&k(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===v.HEXA;return g(b(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[S(s)]().round().object();return s.endsWith("a")?A(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){var s,i,e;const{dimensions:a}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(null===(s=this.colorFieldRenderingContext)||void 0===s?void 0:s.canvas,a.colorField);const o={width:a.slider.width,height:a.slider.height+2*(a.thumb.radius-a.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(null===(i=this.hueSliderRenderingContext)||void 0===i?void 0:i.canvas,o),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(null===(e=this.opacitySliderRenderingContext)||void 0===e?void 0:e.canvas,o)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,o=s.saturationv()/(r.s/e),n=i-s.value()/(r.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o,this.colorFieldScopeTop=n})),this.drawThumb(this.colorFieldRenderingContext,a,o,n,s)}drawThumb(t,s,i,e,a){const o=2*Math.PI;t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a.rgb().alpha(1).string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=s.hue()/(c/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=n})),this.drawThumb(this.hueSliderRenderingContext,e,n,o,s)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s,width:i},thumb:{radius:e}}}=this,o=e-s/2,n=t.createLinearGradient(0,0,i,0),l=["red","yellow","lime","cyan","blue","magenta","#ff0004"],r=1/(l.length-1);let h=0;l.forEach((t=>{n.addColorStop(h,a(t).string()),h+=r})),t.clearRect(0,0,i,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,i,0,o),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i,width:e},thumb:{radius:a}}}=this,o=a-i/2;t.clearRect(0,0,e,i+2*this.getSliderCapSpacing());const n=t.createLinearGradient(0,o,e,0),l=s.rgb().alpha(0),r=s.rgb().alpha(.5),h=s.rgb().alpha(1);n.addColorStop(0,l.string()),n.addColorStop(.5,r.string()),n.addColorStop(1,h.string()),this.drawSliderPath(t,i,e,0,o);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const o=s/2+1;t.beginPath(),t.moveTo(e+o,a),t.lineTo(e+i-o,a),t.quadraticCurveTo(e+i,a,e+i,a+o),t.lineTo(e+i,a+s-o),t.quadraticCurveTo(e+i,a+s,e+i-o,a+s),t.lineTo(e+o,a+s),t.quadraticCurveTo(e,a+s,e,a+s-o),t.lineTo(e,a+o),t.quadraticCurveTo(e,a,e+o,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=x(s.alpha())/(h.max/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,e,n,o,s)}getSliderBoundX(t,s,i){const e=U(t,s,i);return 0===e?t:-1===e?K(t,0,s,i,2*i):K(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(a(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-d/2,s-d/2]}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{q as calcite_color_picker}
6
+ import{r as t,c as s,h as i,g as e}from"./p-f1782b8c.js";import{c as a,C as o,D as n,a as l,H as r,O as h,b as c,S as d,d as p,R as u}from"./p-dd4e5f64.js";import{i as f,a as m}from"./p-4b9ba22d.js";import{C as v,n as g,h as b,o as w,a as x,b as C,p as y,c as k,t as S,d as A,e as j,f as D}from"./p-dd36af4f.js";import{c as $,d as z,u as F}from"./p-2ee3afea.js";import{i as O}from"./p-34fb2a6e.js";import{c as L,s as M,a as N}from"./p-49dc53cb.js";import{c as P,d as I}from"./p-bf9d3381.js";import{r as K,c as E,a as U}from"./p-2f9bab49.js";import{u as H,s as R,c as T,d as X}from"./p-27431aa6.js";import{t as V}from"./p-6665fa1f.js";import"./p-e1a4994d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-efc041d0.js";import"./p-a82f35c9.js";const q=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=v.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(o+a);this.internalColorSet(n,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&g(b(i,C(this.mode))))&&this.internalColorSet(a(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(a(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?h.max:"rgb"===this.channelMode?u[Object.keys(u)[i]]:r[Object.keys(r)[i]];let a;if(this.allowEmpty&&!s.value)a="";else{const t=Number(s.value);a=E(t+this.shiftKeyChannelAdjustment,0,e).toString()}s.value=a},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.allowEmpty&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i,o=Number(s.value);e[i]=a?w(o):o,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{O(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!f(t))return;const{offsetX:s,offsetY:i}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!f(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let o,n;const{clientX:l,clientY:r}=t;e.canvas.matches(":hover")?(o=l-a.x,n=r-a.y):(o=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,n=r<a.y+a.height&&r>a.y?r-a.y:r<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(o,n,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(o):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(o)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:o.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{allowEmpty:s,channelMode:e,channels:a,messages:n,alphaChannel:l}=this,r=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],c=m(this.el),d=l?a:a.slice(0,3);return i("calcite-tab",{class:o.control,key:t,selected:r},i("div",{class:o.channels,dir:"ltr"},d.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:x(t)),this.renderChannel(t,i,h[i],c,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:o.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=b(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=b(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=V(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,o=Math.round(r.s/a*t),n=Math.round(r.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(n),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(o+a);this.internalColorSet(n,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.color=n,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=g(b(n,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(n),this.dimensions=l.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!C(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{allowEmpty:i,format:e}=this;let o=!1;if(!i||t){const i=y(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);o=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const l=i&&!t?null:a(null!=t&&"object"==typeof t&&C(this.mode)?D(t):t),r=!k(l,this.color);(o||r)&&this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||n}effectiveLocaleChange(){H(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>{var s;return null===(s=t.classList)||void 0===s?void 0:s.contains(o.channel)})))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0}async setFocus(){await L(this),this.el.focus()}async componentWillLoad(){M(this);const{allowEmpty:t,color:s,format:i,value:e}=this,o=t&&!e,n=y(e),l=o||"auto"===i&&n||i===n,r=o?null:l?a(e):s;l||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const h=`${p}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h))),await R(this)}connectedCallback(){$(this),P(this),T(this)}componentDidLoad(){N(this)}disconnectedCallback(){document.removeEventListener("pointermove",this.globalPointerMoveHandler),document.removeEventListener("pointerup",this.globalPointerUpHandler),z(this),I(this),X(this)}componentDidRender(){F(this)}render(){const{allowEmpty:t,channelsDisabled:s,color:e,colorFieldScopeLeft:a,colorFieldScopeTop:l,dimensions:{slider:{width:c},thumb:{radius:d}},hexDisabled:p,hideChannels:u,hideHex:f,hideSaved:m,hueScopeLeft:v,messages:g,alphaChannel:w,opacityScopeLeft:C,savedColors:y,savedDisabled:k,scale:S,scopeOrientation:A}=this,j=e?b(e,w):null,D=d,$=null!=v?v:c*n.hue()/r.h,z=d,F=null!=C?C:c*x(n.alpha())/h.max,O=null===e,L="vertical"===A,M=p||f,N=s||u,P=k||m,[I,K]=this.getAdjustedScopePosition(a,l),[E,U]=this.getAdjustedScopePosition($,D),[H,R]=this.getAdjustedScopePosition(F,z);return i("div",{class:o.container},i("div",{class:o.controlAndScope},i("canvas",{class:o.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{"aria-label":L?g.value:g.saturation,"aria-valuemax":L?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(L?null==e?void 0:e.saturationv():null==e?void 0:e.value())||"0",class:{[o.scope]:!0,[o.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${K||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{class:o.previewAndSliders},i("calcite-color-picker-swatch",{class:o.preview,color:j,scale:"l"}),i("div",{class:o.sliders},i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{"aria-label":g.hue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==e?void 0:e.round().hue())||n.round().hue(),class:{[o.scope]:!0,[o.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${U}px`,left:`${E}px`},tabindex:"0",ref:this.storeHueScope})),w?i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":g.opacity,"aria-valuemax":h.max,"aria-valuemin":h.min,"aria-valuenow":(e||n).round().alpha(),class:{[o.scope]:!0,[o.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),M&&N?null:i("div",{class:{[o.controlSection]:!0,[o.section]:!0}},i("div",{class:o.hexAndChannelsGroup},M?null:i("div",{class:o.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:w,class:o.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:S,value:j})),N?null:i("calcite-tabs",{class:{[o.colorModeContainer]:!0,[o.splitSection]:!0},scale:"l"===S?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),P?null:i("div",{class:{[o.savedColorsSection]:!0,[o.section]:!0}},i("div",{class:o.header},i("label",null,g.saved),i("div",{class:o.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:o.deleteColor,disabled:O,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:S,type:"button"}),i("calcite-button",{appearance:"transparent",class:o.saveColor,disabled:O,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:S,type:"button"}))),y.length>0?i("div",{class:o.savedColors},[...y.map((t=>i("calcite-color-picker-swatch",{class:o.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:S,tabIndex:0})))]):null))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=C(t);if(i&&!e){const i=j(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=S(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:s}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(c/s*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:s}}}=this,i=w(h.max/s*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&k(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===v.HEXA;return g(b(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[S(s)]().round().object();return s.endsWith("a")?A(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){var s,i,e;const{dimensions:a}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(null===(s=this.colorFieldRenderingContext)||void 0===s?void 0:s.canvas,a.colorField);const o={width:a.slider.width,height:a.slider.height+2*(a.thumb.radius-a.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(null===(i=this.hueSliderRenderingContext)||void 0===i?void 0:i.canvas,o),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(null===(e=this.opacitySliderRenderingContext)||void 0===e?void 0:e.canvas,o)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,o=s.saturationv()/(r.s/e),n=i-s.value()/(r.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o,this.colorFieldScopeTop=n})),this.drawThumb(this.colorFieldRenderingContext,a,o,n,s)}drawThumb(t,s,i,e,a){const o=2*Math.PI;t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a.rgb().alpha(1).string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=s.hue()/(c/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=n})),this.drawThumb(this.hueSliderRenderingContext,e,n,o,s)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s,width:i},thumb:{radius:e}}}=this,o=e-s/2,n=t.createLinearGradient(0,0,i,0),l=["red","yellow","lime","cyan","blue","magenta","#ff0004"],r=1/(l.length-1);let h=0;l.forEach((t=>{n.addColorStop(h,a(t).string()),h+=r})),t.clearRect(0,0,i,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,i,0,o),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i,width:e},thumb:{radius:a}}}=this,o=a-i/2;t.clearRect(0,0,e,i+2*this.getSliderCapSpacing());const n=t.createLinearGradient(0,o,e,0),l=s.rgb().alpha(0),r=s.rgb().alpha(.5),h=s.rgb().alpha(1);n.addColorStop(0,l.string()),n.addColorStop(.5,r.string()),n.addColorStop(1,h.string()),this.drawSliderPath(t,i,e,0,o);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const o=s/2+1;t.beginPath(),t.moveTo(e+o,a),t.lineTo(e+i-o,a),t.quadraticCurveTo(e+i,a,e+i,a+o),t.lineTo(e+i,a+s-o),t.quadraticCurveTo(e+i,a+s,e+i-o,a+s),t.lineTo(e+o,a+s),t.quadraticCurveTo(e,a+s,e,a+s-o),t.lineTo(e,a+o),t.quadraticCurveTo(e,a,e+o,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=x(s.alpha())/(h.max/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,e,n,o,s)}getSliderBoundX(t,s,i){const e=U(t,s,i);return 0===e?t:-1===e?K(t,0,s,i,2*i):K(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(a(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-d/2,s-d/2]}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{q as calcite_color_picker}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,s,n){var m=e+" ";switch(s){case"s":return t||n?"pár sekund":"pár sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?m+(r(e)?"minuty":"minut"):m+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?m+(r(e)?"hodiny":"hodin"):m+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?m+(r(e)?"dny":"dní"):m+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?m+(r(e)?"měsíce":"měsíců"):m+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?m+(r(e)?"roky":"let"):m+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(s,null,!0);export default s;
6
+ import{d as e}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,s,n){var m=e+" ";switch(s){case"s":return t||n?"pár sekund":"pár sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?m+(r(e)?"minuty":"minut"):m+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?m+(r(e)?"hodiny":"hodin"):m+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?m+(r(e)?"dny":"dní"):m+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?m+(r(e)?"měsíce":"měsíců"):m+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?m+(r(e)?"roky":"let"):m+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(s,null,!0);export default s;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as n,h as i,g as e}from"./p-91c78d98.js";import{g as a}from"./p-361b44ed.js";import{c as o,d as s,u as c}from"./p-2ee3afea.js";import{c as l,s as d,a as r}from"./p-3a668467.js";import"./p-86f482ca.js";
6
+ import{r as t,c as n,h as i,g as e}from"./p-f1782b8c.js";import{g as a}from"./p-361b44ed.js";import{c as o,d as s,u as c}from"./p-2ee3afea.js";import{c as l,s as d,a as r}from"./p-49dc53cb.js";import"./p-86f482ca.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var m={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var m={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};e.locale(m,null,!0);export default m;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var m={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var m={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};e.locale(m,null,!0);export default m;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as t,h as i,g as s,F as n}from"./p-91c78d98.js";import{c as a}from"./p-efc041d0.js";import{e as o}from"./p-4b9ba22d.js";import{c as l,d as r,a as c,H as h}from"./p-3db650c2.js";import{c as d,d as p,u}from"./p-2ee3afea.js";import{c as m,d as b,g as v}from"./p-f52ee45d.js";import{s as f,a as g,c as C}from"./p-3a668467.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";const w=class{constructor(i){e(this,i),this.calciteInternalOptionChange=t(this,"calciteInternalOptionChange",6),this.mutationObserver=a("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(e,t,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:e},internallySetLabel:t,internallySetValue:i,label:s,value:n}=this;s&&s!==t||(this.label=e,this.internallySetLabel=e),null!=n&&n!==i||(this.value=e,this.internallySetValue=e)}connectedCallback(){var e;this.ensureTextContentDependentProps(),null===(e=this.mutationObserver)||void 0===e||e.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function x(e){return"CALCITE-OPTION"===e.tagName}const y=class{constructor(i){e(this,i),this.calciteSelectChange=t(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=a("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const e=Array.from(this.el.children).filter((e=>"CALCITE-OPTION"===e.tagName||"CALCITE-OPTION-GROUP"===e.tagName));this.clearInternalSelect(),e.forEach((e=>{var t;return null===(t=this.selectEl)||void 0===t?void 0:t.append(this.toNativeElement(e))}))},this.storeSelectRef=e=>{this.selectEl=e,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(e){this.el.querySelectorAll("calcite-option").forEach((t=>t.selected=t.value===e))}selectedOptionHandler(e){this.value=null==e?void 0:e.value}connectedCallback(){var e;const{el:t}=this;null===(e=this.mutationObserver)||void 0===e||e.observe(t,{subtree:!0,childList:!0}),d(this),m(this),l(this)}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect(),p(this),b(this),r(this)}componentWillLoad(){f(this)}componentDidLoad(){var e,t;g(this),c(this,null!==(t=null===(e=this.selectedOption)||void 0===e?void 0:e.value)&&void 0!==t?t:"")}componentDidRender(){u(this)}async setFocus(){await C(this),o(this.selectEl)}handleOptionOrGroupChange(e){e.stopPropagation();const t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),x(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,x(e)){const i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}clearInternalSelect(){this.componentToNativeEl.forEach((e=>e.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach(((i,s)=>{x(s)&&i===e&&(s.selected=!0,t=s,this.deselectAllExcept(s))})),t&&(this.selectedOption=t)}toNativeElement(e){if(x(e)){const t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(function(e){return"CALCITE-OPTION-GROUP"===e.tagName}(e)){const t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach((i=>{const s=this.toNativeElement(i);t.append(s),this.componentToNativeEl.set(e,s)})),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach((t=>{t!==e&&(t.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":v(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};y.style=":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}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_option,y as calcite_select}
6
+ import{r as e,c as t,h as i,g as s,F as n}from"./p-f1782b8c.js";import{c as a}from"./p-efc041d0.js";import{e as o}from"./p-4b9ba22d.js";import{c as l,d as c,a as r,H as h}from"./p-bc965d47.js";import{c as d,d as p,u}from"./p-2ee3afea.js";import{c as m,d as b,g as v}from"./p-f52ee45d.js";import{s as f,a as g,c as C}from"./p-49dc53cb.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";const w=class{constructor(i){e(this,i),this.calciteInternalOptionChange=t(this,"calciteInternalOptionChange",6),this.mutationObserver=a("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(e,t,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:e},internallySetLabel:t,internallySetValue:i,label:s,value:n}=this;s&&s!==t||(this.label=e,this.internallySetLabel=e),null!=n&&n!==i||(this.value=e,this.internallySetValue=e)}connectedCallback(){var e;this.ensureTextContentDependentProps(),null===(e=this.mutationObserver)||void 0===e||e.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function x(e){return"CALCITE-OPTION"===e.tagName}const y=class{constructor(i){e(this,i),this.calciteSelectChange=t(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=a("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const e=Array.from(this.el.children).filter((e=>"CALCITE-OPTION"===e.tagName||"CALCITE-OPTION-GROUP"===e.tagName));this.clearInternalSelect(),e.forEach((e=>{var t;return null===(t=this.selectEl)||void 0===t?void 0:t.append(this.toNativeElement(e))}))},this.storeSelectRef=e=>{this.selectEl=e,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(e){this.el.querySelectorAll("calcite-option").forEach((t=>t.selected=t.value===e))}selectedOptionHandler(e){this.value=null==e?void 0:e.value}connectedCallback(){var e;const{el:t}=this;null===(e=this.mutationObserver)||void 0===e||e.observe(t,{subtree:!0,childList:!0}),d(this),m(this),l(this)}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect(),p(this),b(this),c(this)}componentWillLoad(){f(this)}componentDidLoad(){var e,t;g(this),r(this,null!==(t=null===(e=this.selectedOption)||void 0===e?void 0:e.value)&&void 0!==t?t:"")}componentDidRender(){u(this)}async setFocus(){await C(this),o(this.selectEl)}handleOptionOrGroupChange(e){e.stopPropagation();const t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),x(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,x(e)){const i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}clearInternalSelect(){this.componentToNativeEl.forEach((e=>e.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach(((i,s)=>{x(s)&&i===e&&(s.selected=!0,t=s,this.deselectAllExcept(s))})),t&&(this.selectedOption=t)}toNativeElement(e){if(x(e)){const t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(function(e){return"CALCITE-OPTION-GROUP"===e.tagName}(e)){const t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach((i=>{const s=this.toNativeElement(i);t.append(s),this.componentToNativeEl.set(e,s)})),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach((t=>{t!==e&&(t.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":v(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};y.style=":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}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_option,y as calcite_select}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,h as i,H as e,g as s}from"./p-91c78d98.js";import{g as h}from"./p-99d8a839.js";import{E as l}from"./p-2a58e378.js";import"./p-e1a4994d.js";const o=class{constructor(i){t(this,i),this._shouldSetMapView=!1,this.classicGrid=!1,this.enableAutoRefresh=!1,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableInlineEdit=!1,this.enableLegend=!0,this.enableSearch=!0,this.enableHome=!0,this.enableZoom=!0,this.enableBasemap=!0,this.basemapConfig=void 0,this.showNewestFirst=!0,this.hideMap=!1,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.searchConfiguration=void 0,this.theme="light",this.zoomAndScrollToSelected=!1,this._expandPopup=!1,this._translations=void 0,this._layoutMode=l.GRID,this._mapView=void 0,this._panelOpen=!0}enableZoomWatchHandler(){this._initMapZoom()}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((()=>{this._setMapView()}))}async beforeMapChanged(){this._expandPopup&&(this._shouldSetMapView=!0,this._expandPopup=!1)}async componentWillLoad(){await this._getTranslations()}render(){return i(e,null,i("calcite-shell",{class:"position-relative"},i("calcite-panel",{class:"width-full height-full"},this._getBody(this._layoutMode,this._panelOpen,this.hideMap))))}componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._setMapView())}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=this.classicGrid?i?"chevrons-down":"chevrons-up":i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:e=this.classicGrid?i?"chevrons-right":"chevrons-left":i?"chevrons-left":"chevrons-right";break;case l.GRID:e=this.classicGrid?i?"chevrons-up":"chevrons-down":i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-0")+" width-full position-relative";break;case l.GRID:e=this.classicGrid?(i?"position-relative":"position-absolute-53")+" height-full width-full display-flex":"height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:e="height-full position-relative "+(i?"width-1-2":"width-0")}return e}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=this.classicGrid?(i?"height-full":"height-53")+" position-relative width-full display-flex":(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,e,s){const h=this.classicGrid&&t===l.GRID&&e?"display-grid":t===l.HORIZONTAL?"":"display-flex";return i("calcite-panel",{class:"width-full height-full"},this.classicGrid?i("div",{class:`width-full height-full ${h}`},this._getTable(t,e),this._getMapAndCard(t,e,s)):i("div",{class:`width-full height-full ${h}`},this._getMapAndCard(t,e,s),this._getTable(t,e)))}_getMapAndCard(t,e,s){const h=this._getMapSizeClass(t,e);return this.classicGrid?i("div",{class:`${h} overflow-hidden`},this._getCardNode(),this._getMapNode(t,s)):i("div",{class:`${h} overflow-hidden`},this._getMapNode(t,s),this._getPopupExpandNode())}_getMapNode(t,e){var s;return i("div",{class:`${this.classicGrid&&t===l.GRID?"width-full":"adjusted-height-50"} overflow-hidden ${this.classicGrid&&t===l.GRID?"display-flex height-full width-1-2":t!==l.GRID||e?"display-none":""}`},i("map-card",{basemapConfig:this.basemapConfig,class:"width-full",enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,hidden:this._expandPopup,mapInfos:null===(s=this.mapInfos)||void 0===s?void 0:s.filter((t=>!1!==t.visible)),theme:this.theme}))}_getPopupExpandNode(){const t=this._expandPopup?"chevrons-down":"chevrons-up",e="expand-popup",s=this._expandPopup?this._translations.collapsePopup:this._translations.expandPopup,h="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return i("div",{class:"calcite-mode-dark "+(this._expandPopup?"position-absolute-50":"height-full")},i("calcite-panel",null,i("div",{class:"display-flex align-items-center",slot:"header-content"},i("calcite-icon",{icon:"information",scale:"s"}),i("div",{class:"padding-inline-start-75"},this._translations.information)),i("calcite-action",{icon:t,id:e,onClick:()=>this._togglePopup(),slot:"header-actions-end"}),i("calcite-tooltip",{class:h,label:"",placement:"bottom","reference-element":e},i("span",null,s)),this._getCardNode()))}_togglePopup(){this._expandPopup=!this._expandPopup}_getCardNode(){return i("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},i("card-manager",{class:(this._expandPopup?"height-full":"height-50")+" width-full",mapView:null==this?void 0:this._mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,e){const s=this._getTableSizeClass(t,e),h=this._getDividerIcon(t,e),o=e?this._translations.close:this._translations.open,a="toggle-layout";return i("calcite-shell",{class:s+" border-bottom"},i("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:t===l.HORIZONTAL||this.classicGrid?"horizontal":"vertical",slot:this.classicGrid&&t!==l.VERTICAL?"footer":this.classicGrid&&t===l.VERTICAL?"panel-end":t===l.HORIZONTAL?"header":"panel-start"},i("calcite-action",{class:"toggle-node",icon:h,id:a,onClick:()=>this._toggleLayout(),text:""}),i("calcite-tooltip",{label:o,placement:"bottom","reference-element":a},i("span",null,o))),i("div",{class:"width-full height-full position-relative"},i("layer-table",{enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableInlineEdit:this.enableInlineEdit,enableZoom:this.enableZoom,mapInfo:this._mapInfo,mapView:null==this?void 0:this._mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected})))}_toggleLayout(){this._panelOpen=!this._panelOpen}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),i}_setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{enableZoom:["enableZoomWatchHandler"]}}};o.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-ui-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-ui-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-3)}.border-sides{border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}";export{o as crowdsource_manager}
6
+ import{r as t,h as i,H as e,g as s}from"./p-f1782b8c.js";import{g as h}from"./p-a9154c5a.js";import{E as l}from"./p-2a58e378.js";import"./p-e1a4994d.js";const o=class{constructor(i){t(this,i),this._shouldSetMapView=!1,this.classicGrid=!1,this.enableAutoRefresh=!1,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableInlineEdit=!1,this.enableLegend=!0,this.enableSearch=!0,this.enableHome=!0,this.enableZoom=!0,this.enableBasemap=!0,this.basemapConfig=void 0,this.showNewestFirst=!0,this.hideMap=!1,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.searchConfiguration=void 0,this.theme="light",this.zoomAndScrollToSelected=!1,this._expandPopup=!1,this._translations=void 0,this._layoutMode=l.GRID,this._mapView=void 0,this._panelOpen=!0}enableZoomWatchHandler(){this._initMapZoom()}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((()=>{this._setMapView()}))}async beforeMapChanged(){this._expandPopup&&(this._shouldSetMapView=!0,this._expandPopup=!1)}async componentWillLoad(){await this._getTranslations()}render(){return i(e,null,i("calcite-shell",{class:"position-relative"},i("calcite-panel",{class:"width-full height-full"},this._getBody(this._layoutMode,this._panelOpen,this.hideMap))))}componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._setMapView())}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=this.classicGrid?i?"chevrons-down":"chevrons-up":i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:e=this.classicGrid?i?"chevrons-right":"chevrons-left":i?"chevrons-left":"chevrons-right";break;case l.GRID:e=this.classicGrid?i?"chevrons-up":"chevrons-down":i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-0")+" width-full position-relative";break;case l.GRID:e=this.classicGrid?(i?"position-relative":"position-absolute-53")+" height-full width-full display-flex":"height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:e="height-full position-relative "+(i?"width-1-2":"width-0")}return e}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=this.classicGrid?(i?"height-full":"height-53")+" position-relative width-full display-flex":(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,e,s){const h=this.classicGrid&&t===l.GRID&&e?"display-grid":t===l.HORIZONTAL?"":"display-flex";return i("calcite-panel",{class:"width-full height-full"},this.classicGrid?i("div",{class:`width-full height-full ${h}`},this._getTable(t,e),this._getMapAndCard(t,e,s)):i("div",{class:`width-full height-full ${h}`},this._getMapAndCard(t,e,s),this._getTable(t,e)))}_getMapAndCard(t,e,s){const h=this._getMapSizeClass(t,e);return this.classicGrid?i("div",{class:`${h} overflow-hidden`},this._getCardNode(),this._getMapNode(t,s)):i("div",{class:`${h} overflow-hidden`},this._getMapNode(t,s),this._getPopupExpandNode())}_getMapNode(t,e){var s;return i("div",{class:`${this.classicGrid&&t===l.GRID?"width-full":"adjusted-height-50"} overflow-hidden ${this.classicGrid&&t===l.GRID?"display-flex height-full width-1-2":t!==l.GRID||e?"display-none":""}`},i("map-card",{basemapConfig:this.basemapConfig,class:"width-full",enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,hidden:this._expandPopup,mapInfos:null===(s=this.mapInfos)||void 0===s?void 0:s.filter((t=>!1!==t.visible)),theme:this.theme}))}_getPopupExpandNode(){const t=this._expandPopup?"chevrons-down":"chevrons-up",e="expand-popup",s=this._expandPopup?this._translations.collapsePopup:this._translations.expandPopup,h="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return i("div",{class:"calcite-mode-dark "+(this._expandPopup?"position-absolute-50":"height-full")},i("calcite-panel",null,i("div",{class:"display-flex align-items-center",slot:"header-content"},i("calcite-icon",{icon:"information",scale:"s"}),i("div",{class:"padding-inline-start-75"},this._translations.information)),i("calcite-action",{icon:t,id:e,onClick:()=>this._togglePopup(),slot:"header-actions-end"}),i("calcite-tooltip",{class:h,label:"",placement:"bottom","reference-element":e},i("span",null,s)),this._getCardNode()))}_togglePopup(){this._expandPopup=!this._expandPopup}_getCardNode(){return i("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},i("card-manager",{class:(this._expandPopup?"height-full":"height-50")+" width-full",mapView:null==this?void 0:this._mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,e){const s=this._getTableSizeClass(t,e),h=this._getDividerIcon(t,e),o=e?this._translations.close:this._translations.open,a="toggle-layout";return i("calcite-shell",{class:s+" border-bottom"},i("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:t===l.HORIZONTAL||this.classicGrid?"horizontal":"vertical",slot:this.classicGrid&&t!==l.VERTICAL?"footer":this.classicGrid&&t===l.VERTICAL?"panel-end":t===l.HORIZONTAL?"header":"panel-start"},i("calcite-action",{class:"toggle-node",icon:h,id:a,onClick:()=>this._toggleLayout(),text:""}),i("calcite-tooltip",{label:o,placement:"bottom","reference-element":a},i("span",null,o))),i("div",{class:"width-full height-full position-relative"},i("layer-table",{enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableInlineEdit:this.enableInlineEdit,enableZoom:this.enableZoom,mapInfo:this._mapInfo,mapView:null==this?void 0:this._mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected})))}_toggleLayout(){this._panelOpen=!this._panelOpen}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),i}_setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{enableZoom:["enableZoomWatchHandler"]}}};o.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-ui-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-ui-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-3)}.border-sides{border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}";export{o as crowdsource_manager}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var a={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],r=e%100;return"["+e+(a[(r-20)%10]||a[r]||a[0])+"]"}};e.locale(a,null,!0);export default a;
6
+ import{d as a}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var e={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(a){var e=["th","st","nd","rd"],r=a%100;return"["+a+(e[(r-20)%10]||e[r]||e[0])+"]"}};a.locale(e,null,!0);export default e;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{f as n}from"./p-91c78d98.js";
6
+ import{f as n}from"./p-f1782b8c.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.