@esri/solutions-components 0.6.11 → 0.6.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (589) hide show
  1. package/dist/assets/t9n/layer-table/resources.json +4 -3
  2. package/dist/assets/t9n/layer-table/resources_en.json +4 -3
  3. package/dist/assets/t9n/map-select-tools/resources.json +2 -1
  4. package/dist/assets/t9n/map-select-tools/resources_en.json +2 -1
  5. package/dist/assets/t9n/map-tools/resources.json +4 -1
  6. package/dist/assets/t9n/map-tools/resources_en.json +4 -1
  7. package/dist/cjs/{ExpandToggle-c5690e14.js → ExpandToggle-511435d5.js} +1 -1
  8. package/dist/cjs/{FloatingArrow-675171a6.js → FloatingArrow-88e3f797.js} +1 -1
  9. package/dist/cjs/{Heading-3712677d.js → Heading-0da2a025.js} +1 -1
  10. package/dist/cjs/{ar-1dc23c0a.js → ar-0a371029.js} +5 -5
  11. package/dist/cjs/{basemap-gallery_5.cjs.entry.js → basemap-gallery_6.cjs.entry.js} +139 -10
  12. package/dist/cjs/{bg-4024b354.js → bg-f7538b74.js} +5 -5
  13. package/dist/cjs/{bs-3134d711.js → bs-6560857c.js} +5 -5
  14. package/dist/cjs/buffer-tools_4.cjs.entry.js +8 -8
  15. package/dist/cjs/{ca-8d6647d3.js → ca-d74198eb.js} +5 -5
  16. package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
  17. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  18. package/dist/cjs/{calcite-filter_5.cjs.entry.js → calcite-action-bar_3.cjs.entry.js} +168 -322
  19. package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
  20. package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
  21. package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
  22. package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
  23. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  24. package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
  25. package/dist/cjs/calcite-block.cjs.entry.js +5 -5
  26. package/dist/cjs/calcite-button.cjs.entry.js +4 -4
  27. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  28. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  29. package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
  30. package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
  31. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  32. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
  33. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
  34. package/dist/cjs/calcite-combobox_6.cjs.entry.js +10 -10
  35. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
  36. package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
  37. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  38. package/dist/cjs/calcite-filter_3.cjs.entry.js +387 -0
  39. package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
  40. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  41. package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
  42. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  43. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  44. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
  45. package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
  46. package/dist/cjs/{calcite-input-time-picker-4efcd55d.js → calcite-input-time-picker-188356eb.js} +53 -53
  47. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
  48. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
  49. package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
  50. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  51. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  52. package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
  53. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  54. package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
  55. package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
  56. package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
  57. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  58. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  59. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  60. package/dist/cjs/calcite-notice.cjs.entry.js +4 -4
  61. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  62. package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
  63. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
  64. package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
  65. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
  66. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
  67. package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
  68. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  69. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  70. package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
  71. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  72. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
  73. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
  74. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +10 -9
  75. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  76. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  77. package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
  78. package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
  79. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  80. package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
  81. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
  82. package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  84. package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
  85. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  86. package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
  87. package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
  88. package/dist/cjs/calcite-tooltip.cjs.entry.js +3 -3
  89. package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -2
  90. package/dist/cjs/card-manager_3.cjs.entry.js +70 -37
  91. package/dist/cjs/clean-url-d5326abb.js +573 -0
  92. package/dist/cjs/{conditionalSlot-126d557f.js → conditionalSlot-f10611d3.js} +1 -1
  93. package/dist/cjs/crowdsource-manager.cjs.entry.js +41 -13
  94. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  95. package/dist/cjs/{cs-b24cd994.js → cs-bdf9949e.js} +5 -5
  96. package/dist/cjs/{da-9dee3a1f.js → da-ab198f94.js} +5 -5
  97. package/dist/cjs/{de-1a98b964.js → de-a859739c.js} +5 -5
  98. package/dist/cjs/{de-at-782e6c7f.js → de-at-126e66a1.js} +5 -5
  99. package/dist/cjs/{de-ch-d5c95469.js → de-ch-25eb45ed.js} +5 -5
  100. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  101. package/dist/cjs/{downloadUtils-471a6a2d.js → downloadUtils-fb4744e0.js} +299 -54
  102. package/dist/cjs/edit-card_2.cjs.entry.js +30 -27
  103. package/dist/cjs/{el-af28cafa.js → el-9abbc3f2.js} +5 -5
  104. package/dist/cjs/{en-au-109f3119.js → en-au-8835d481.js} +5 -5
  105. package/dist/cjs/{en-ca-22890a25.js → en-ca-a8f1a438.js} +5 -5
  106. package/dist/cjs/{en-gb-dc23c9dd.js → en-gb-e8098e8c.js} +5 -5
  107. package/dist/cjs/{es-3f353355.js → es-bc99e2ad.js} +5 -5
  108. package/dist/cjs/{es-mx-ccb57857.js → es-mx-71461470.js} +5 -5
  109. package/dist/cjs/{et-119c047b.js → et-8fa437ac.js} +5 -5
  110. package/dist/cjs/{fi-13096d81.js → fi-1284d381.js} +5 -5
  111. package/dist/cjs/{form-7c6054c3.js → form-28bc6597.js} +1 -1
  112. package/dist/cjs/{fr-563dfcd5.js → fr-635089b1.js} +5 -5
  113. package/dist/cjs/{fr-ch-f66cfd49.js → fr-ch-09392bdc.js} +5 -5
  114. package/dist/cjs/{he-d8253a1a.js → he-44a07bad.js} +5 -5
  115. package/dist/cjs/{hi-58c7c3b5.js → hi-9bba524d.js} +5 -5
  116. package/dist/cjs/{hr-5aba114a.js → hr-fc0a64fd.js} +5 -5
  117. package/dist/cjs/{hu-38c15915.js → hu-b900be50.js} +5 -5
  118. package/dist/cjs/{id-3a94c080.js → id-d20a381a.js} +5 -5
  119. package/dist/cjs/{index-0e50040c.js → index-ee37804b.js} +3 -0
  120. package/dist/cjs/{index-2b60e135.js → index-feeb7b6a.js} +1 -1
  121. package/dist/cjs/{index.es-33154f03.js → index.es-372e33de.js} +7 -6
  122. package/dist/cjs/{interfaces-d539e30c.js → interfaces-000be6de.js} +0 -5
  123. package/dist/cjs/{it-ch-970563cd.js → it-ch-e6bfb280.js} +5 -5
  124. package/dist/cjs/{it-88834555.js → it-d07dffbe.js} +5 -5
  125. package/dist/cjs/{ja-13d4b1ae.js → ja-3fac4cb9.js} +5 -5
  126. package/dist/cjs/{ko-10cbdd98.js → ko-7df47ba4.js} +5 -5
  127. package/dist/cjs/layout-manager.cjs.entry.js +3 -3
  128. package/dist/cjs/list-item.cjs.entry.js +1 -1
  129. package/dist/cjs/{loadModules-c5490589.js → loadModules-f6df8d6a.js} +1 -1
  130. package/dist/cjs/{loadable-6925d840.js → loadable-13605f73.js} +1 -1
  131. package/dist/cjs/loader.cjs.js +2 -2
  132. package/dist/cjs/{locale-88c21da2.js → locale-67f5f6b6.js} +1 -1
  133. package/dist/cjs/{lt-3fc5017a.js → lt-32e0b838.js} +5 -5
  134. package/dist/cjs/{lv-9d9cf999.js → lv-5822b401.js} +5 -5
  135. package/dist/cjs/map-select-tools_3.cjs.entry.js +23 -14
  136. package/dist/cjs/{mapViewUtils-9da2dddd.js → mapViewUtils-a4dd36ec.js} +1 -1
  137. package/dist/cjs/{mk-9f79812b.js → mk-76494f34.js} +5 -5
  138. package/dist/cjs/{nb-673fe3fd.js → nb-3ec52247.js} +5 -5
  139. package/dist/cjs/{nl-4dc0504f.js → nl-fe9ffca9.js} +5 -5
  140. package/dist/cjs/{openCloseComponent-05cb01ff.js → openCloseComponent-359d855c.js} +1 -1
  141. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  142. package/dist/cjs/{pl-d809a6c3.js → pl-13049aa3.js} +5 -5
  143. package/dist/cjs/{pt-br-55f1893a.js → pt-br-f222c9e6.js} +5 -5
  144. package/dist/cjs/{pt-78eefbc7.js → pt-ef1645ab.js} +5 -5
  145. package/dist/cjs/public-notification.cjs.entry.js +12 -11
  146. package/dist/cjs/{publicNotificationStore-55edd658.js → publicNotificationStore-b69862af.js} +1 -1
  147. package/dist/cjs/resources-f15abc99.js +29 -0
  148. package/dist/cjs/{ro-f0cff196.js → ro-712f9cbb.js} +5 -5
  149. package/dist/cjs/{ru-5e9b37f9.js → ru-45b18030.js} +5 -5
  150. package/dist/cjs/{shared-list-render-9bbcb306.js → shared-list-render-e5821654.js} +1 -1
  151. package/dist/cjs/{sk-322cd349.js → sk-db642b5a.js} +5 -5
  152. package/dist/cjs/{sl-fd948e50.js → sl-51811e20.js} +5 -5
  153. package/dist/cjs/solution-configuration.cjs.entry.js +48 -47
  154. package/dist/cjs/solution-contents_3.cjs.entry.js +6 -5
  155. package/dist/cjs/{solution-store-0004e4e6.js → solution-store-c443e657.js} +9 -574
  156. package/dist/cjs/solutions-components.cjs.js +2 -2
  157. package/dist/cjs/{sr-f0058b24.js → sr-c248524c.js} +5 -5
  158. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  159. package/dist/cjs/{sv-8a8378bf.js → sv-67777565.js} +5 -5
  160. package/dist/cjs/{t9n-62d807df.js → t9n-58d20225.js} +1 -1
  161. package/dist/cjs/{th-f219fad6.js → th-81fb9eb1.js} +5 -5
  162. package/dist/cjs/{tr-03109641.js → tr-b5da4c5c.js} +5 -5
  163. package/dist/cjs/{uk-dde46112.js → uk-e8ad8b3b.js} +5 -5
  164. package/dist/cjs/{utils-651e6663.js → utils-fddf1c6b.js} +1 -1
  165. package/dist/cjs/{vi-60ed6e30.js → vi-0b26505a.js} +5 -5
  166. package/dist/cjs/{zh-cn-a2f6f51d.js → zh-cn-40d02fac.js} +5 -5
  167. package/dist/cjs/{zh-hk-e14e2fc0.js → zh-hk-d1a89b9e.js} +5 -5
  168. package/dist/cjs/{zh-tw-7ea0d7e4.js → zh-tw-5691adb2.js} +5 -5
  169. package/dist/collection/collection-manifest.json +1 -0
  170. package/dist/collection/components/card-manager/card-manager.css +0 -5
  171. package/dist/collection/components/card-manager/card-manager.js +1 -1
  172. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +2 -2
  173. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +73 -9
  174. package/dist/collection/components/edit-card/edit-card.css +8 -0
  175. package/dist/collection/components/info-card/info-card.css +14 -14
  176. package/dist/collection/components/info-card/info-card.js +25 -22
  177. package/dist/collection/components/layer-table/layer-table.css +12 -0
  178. package/dist/collection/components/layer-table/layer-table.js +93 -26
  179. package/dist/collection/components/map-card/map-card.css +4 -0
  180. package/dist/collection/components/map-card/map-card.js +1 -1
  181. package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -0
  182. package/dist/collection/components/map-fullscreen/map-fullscreen.js +178 -0
  183. package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +29 -0
  184. package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +37 -0
  185. package/dist/collection/components/map-select-tools/map-select-tools.js +7 -1
  186. package/dist/collection/components/map-tools/map-tools.css +8 -4
  187. package/dist/collection/components/map-tools/map-tools.js +35 -29
  188. package/dist/collection/components/pdf-download/pdf-download.js +35 -7
  189. package/dist/collection/components/public-notification/public-notification.js +3 -3
  190. package/dist/collection/utils/downloadUtils.js +208 -82
  191. package/dist/collection/utils/downloadUtils.ts +257 -85
  192. package/dist/collection/utils/interfaces.js +0 -5
  193. package/dist/collection/utils/interfaces.ts +0 -5
  194. package/dist/collection/utils/test/downloadUtils.spec.js +163 -134
  195. package/dist/collection/utils/test/downloadUtils.spec.tsx +2 -0
  196. package/dist/components/calcite-modal.js +1 -409
  197. package/dist/components/card-manager2.js +2 -2
  198. package/dist/components/clean-url.js +567 -0
  199. package/dist/components/crowdsource-manager.js +118 -82
  200. package/dist/components/downloadUtils.js +295 -50
  201. package/dist/components/edit-card2.js +1 -1
  202. package/dist/components/info-card2.js +26 -23
  203. package/dist/components/interfaces.js +1 -6
  204. package/dist/components/layer-table2.js +68 -33
  205. package/dist/components/map-card2.js +44 -38
  206. package/dist/components/map-draw-tools2.js +1 -1
  207. package/dist/components/map-fullscreen.d.ts +11 -0
  208. package/dist/components/map-fullscreen.js +11 -0
  209. package/dist/components/map-fullscreen2.js +130 -0
  210. package/dist/components/map-select-tools2.js +7 -1
  211. package/dist/components/map-tools2.js +43 -34
  212. package/dist/components/modal.js +416 -0
  213. package/dist/components/pdf-download2.js +7 -5
  214. package/dist/components/public-notification.js +4 -4
  215. package/dist/components/refine-selection2.js +1 -1
  216. package/dist/components/solution-configuration.js +25 -24
  217. package/dist/components/solution-resource-item2.js +1 -1
  218. package/dist/components/solution-store.js +3 -563
  219. package/dist/esm/{ExpandToggle-3bfcb842.js → ExpandToggle-e614e3e4.js} +2 -2
  220. package/dist/esm/{FloatingArrow-cf140d6b.js → FloatingArrow-4a1b35d6.js} +1 -1
  221. package/dist/esm/{Heading-140d10ff.js → Heading-5258553c.js} +1 -1
  222. package/dist/esm/{ar-45abeb31.js → ar-2f678abc.js} +10 -10
  223. package/dist/esm/{basemap-gallery_5.entry.js → basemap-gallery_6.entry.js} +139 -11
  224. package/dist/esm/{bg-af759e86.js → bg-e514c4d7.js} +10 -10
  225. package/dist/esm/{bs-20d012de.js → bs-81584b09.js} +10 -10
  226. package/dist/esm/buffer-tools_4.entry.js +11 -11
  227. package/dist/esm/{ca-1498df65.js → ca-e8c40e21.js} +10 -10
  228. package/dist/esm/calcite-accordion-item.entry.js +3 -3
  229. package/dist/esm/calcite-accordion.entry.js +1 -1
  230. package/dist/esm/{calcite-filter_5.entry.js → calcite-action-bar_3.entry.js} +193 -345
  231. package/dist/esm/calcite-action-group_2.entry.js +6 -6
  232. package/dist/esm/calcite-action-pad.entry.js +7 -7
  233. package/dist/esm/calcite-action_2.entry.js +10 -10
  234. package/dist/esm/calcite-alert.entry.js +6 -6
  235. package/dist/esm/calcite-avatar.entry.js +2 -2
  236. package/dist/esm/calcite-block-section.entry.js +5 -5
  237. package/dist/esm/calcite-block.entry.js +7 -7
  238. package/dist/esm/calcite-button.entry.js +7 -7
  239. package/dist/esm/calcite-card.entry.js +5 -5
  240. package/dist/esm/calcite-checkbox.entry.js +5 -5
  241. package/dist/esm/calcite-chip-group.entry.js +3 -3
  242. package/dist/esm/calcite-chip.entry.js +6 -6
  243. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +3 -3
  244. package/dist/esm/calcite-color-picker.entry.js +5 -5
  245. package/dist/esm/calcite-combobox-item-group.entry.js +3 -3
  246. package/dist/esm/calcite-combobox_6.entry.js +15 -15
  247. package/dist/esm/calcite-date-picker-day_3.entry.js +5 -5
  248. package/dist/esm/calcite-date-picker.entry.js +7 -7
  249. package/dist/esm/calcite-fab.entry.js +3 -3
  250. package/dist/esm/calcite-filter_3.entry.js +381 -0
  251. package/dist/esm/calcite-flow-item.entry.js +5 -5
  252. package/dist/esm/calcite-flow.entry.js +2 -2
  253. package/dist/esm/calcite-graph.entry.js +1 -1
  254. package/dist/esm/calcite-icon.entry.js +2 -2
  255. package/dist/esm/calcite-inline-editable.entry.js +6 -6
  256. package/dist/esm/calcite-input-date-picker.entry.js +12 -12
  257. package/dist/esm/calcite-input-number_2.entry.js +7 -7
  258. package/dist/esm/{calcite-input-time-picker-227e60c3.js → calcite-input-time-picker-fe6e499a.js} +57 -57
  259. package/dist/esm/calcite-input-time-picker.entry.js +10 -10
  260. package/dist/esm/calcite-input-time-zone.entry.js +7 -7
  261. package/dist/esm/calcite-input_2.entry.js +7 -7
  262. package/dist/esm/calcite-label.entry.js +3 -3
  263. package/dist/esm/calcite-link.entry.js +3 -3
  264. package/dist/esm/calcite-list-item-group.entry.js +1 -1
  265. package/dist/esm/calcite-loader.entry.js +1 -1
  266. package/dist/esm/calcite-menu-item.entry.js +5 -5
  267. package/dist/esm/calcite-menu.entry.js +5 -5
  268. package/dist/esm/calcite-modal.entry.js +8 -8
  269. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  270. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  271. package/dist/esm/calcite-navigation.entry.js +3 -3
  272. package/dist/esm/calcite-notice.entry.js +6 -6
  273. package/dist/esm/calcite-option-group.entry.js +1 -1
  274. package/dist/esm/calcite-option_2.entry.js +5 -5
  275. package/dist/esm/calcite-pagination.entry.js +5 -5
  276. package/dist/esm/calcite-panel_2.entry.js +7 -7
  277. package/dist/esm/calcite-pick-list-group.entry.js +4 -4
  278. package/dist/esm/calcite-pick-list-item.entry.js +6 -6
  279. package/dist/esm/calcite-pick-list.entry.js +4 -4
  280. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  281. package/dist/esm/calcite-radio-button.entry.js +5 -5
  282. package/dist/esm/calcite-rating.entry.js +7 -7
  283. package/dist/esm/calcite-scrim.entry.js +4 -4
  284. package/dist/esm/calcite-segmented-control_2.entry.js +5 -5
  285. package/dist/esm/calcite-shell-center-row.entry.js +3 -3
  286. package/dist/esm/calcite-shell-panel_14.entry.js +13 -12
  287. package/dist/esm/calcite-sortable-list.entry.js +3 -3
  288. package/dist/esm/calcite-split-button.entry.js +2 -2
  289. package/dist/esm/calcite-stepper-item.entry.js +4 -4
  290. package/dist/esm/calcite-stepper.entry.js +2 -2
  291. package/dist/esm/calcite-switch.entry.js +5 -5
  292. package/dist/esm/calcite-text-area.entry.js +7 -7
  293. package/dist/esm/calcite-tile-select-group.entry.js +1 -1
  294. package/dist/esm/calcite-tile-select.entry.js +2 -2
  295. package/dist/esm/calcite-tile.entry.js +3 -3
  296. package/dist/esm/calcite-time-picker.entry.js +6 -6
  297. package/dist/esm/calcite-tip-group.entry.js +1 -1
  298. package/dist/esm/calcite-tip-manager.entry.js +5 -5
  299. package/dist/esm/calcite-tip.entry.js +6 -6
  300. package/dist/esm/calcite-tooltip.entry.js +5 -5
  301. package/dist/esm/calcite-tree_3.entry.js +3 -3
  302. package/dist/esm/card-manager_3.entry.js +70 -37
  303. package/dist/esm/clean-url-bce022e6.js +567 -0
  304. package/dist/esm/{conditionalSlot-55a14abd.js → conditionalSlot-dff8f839.js} +1 -1
  305. package/dist/esm/crowdsource-manager.entry.js +41 -13
  306. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  307. package/dist/esm/{cs-3bd67855.js → cs-af5f115e.js} +10 -10
  308. package/dist/esm/{da-7a76e131.js → da-06d9e22c.js} +10 -10
  309. package/dist/esm/{date-bd5b879c.js → date-641ae749.js} +1 -1
  310. package/dist/esm/{de-at-0b6874cb.js → de-at-f55a700a.js} +10 -10
  311. package/dist/esm/{de-ch-c9d429dd.js → de-ch-7307675f.js} +10 -10
  312. package/dist/esm/{de-0808a43e.js → de-dc98363f.js} +10 -10
  313. package/dist/esm/deduct-calculator.entry.js +1 -1
  314. package/dist/esm/{dom-37f2dec9.js → dom-2b326ec3.js} +1 -1
  315. package/dist/esm/{downloadUtils-8d4c13bb.js → downloadUtils-67c7a6c8.js} +299 -54
  316. package/dist/esm/edit-card_2.entry.js +30 -27
  317. package/dist/esm/{el-66001281.js → el-91c64808.js} +10 -10
  318. package/dist/esm/{en-au-6424fec0.js → en-au-df08cc25.js} +10 -10
  319. package/dist/esm/{en-ca-f5f1659d.js → en-ca-175f7c0f.js} +10 -10
  320. package/dist/esm/{en-gb-796beadd.js → en-gb-90a08c7f.js} +10 -10
  321. package/dist/esm/{es-cd139926.js → es-5cb54b05.js} +10 -10
  322. package/dist/esm/{es-mx-854dc3e4.js → es-mx-3a0cb804.js} +10 -10
  323. package/dist/esm/{et-2aa6782d.js → et-eceac6dc.js} +10 -10
  324. package/dist/esm/{fi-965727bd.js → fi-26e1c14f.js} +10 -10
  325. package/dist/esm/{floating-ui-7cde67cf.js → floating-ui-9f8e4ed4.js} +1 -1
  326. package/dist/esm/{focusTrapComponent-ec344399.js → focusTrapComponent-ad2c3a31.js} +1 -1
  327. package/dist/esm/{form-04d47b0b.js → form-0871d2c6.js} +2 -2
  328. package/dist/esm/{fr-c1884e89.js → fr-12a5b0f7.js} +10 -10
  329. package/dist/esm/{fr-ch-1fd8dd3a.js → fr-ch-e3406887.js} +10 -10
  330. package/dist/esm/{he-0d7b78b4.js → he-61eba811.js} +10 -10
  331. package/dist/esm/{hi-0376c82d.js → hi-a50282b5.js} +10 -10
  332. package/dist/esm/{hr-28a64903.js → hr-da8bffaf.js} +10 -10
  333. package/dist/esm/{hu-44a02ff7.js → hu-dab932f1.js} +10 -10
  334. package/dist/esm/{id-034fc4a5.js → id-de468947.js} +10 -10
  335. package/dist/esm/{index-b5d9d795.js → index-c7de2486.js} +3 -0
  336. package/dist/esm/{index-b91c174c.js → index-f4bd5aa3.js} +1 -1
  337. package/dist/esm/{index.es-065c3035.js → index.es-59a67d3d.js} +7 -6
  338. package/dist/esm/{interfaces-5a2fe8b4.js → interfaces-7470d906.js} +1 -6
  339. package/dist/esm/{it-56e52026.js → it-375d9936.js} +10 -10
  340. package/dist/esm/{it-ch-a4a0e136.js → it-ch-7e663d63.js} +10 -10
  341. package/dist/esm/{ja-f2365272.js → ja-36dbe39d.js} +10 -10
  342. package/dist/esm/{ko-e7650b4c.js → ko-858bc871.js} +10 -10
  343. package/dist/esm/{label-b6dfb4d5.js → label-b8caf984.js} +1 -1
  344. package/dist/esm/layout-manager.entry.js +3 -3
  345. package/dist/esm/list-item.entry.js +1 -1
  346. package/dist/esm/{loadModules-f5f910b6.js → loadModules-2880c7e3.js} +1 -1
  347. package/dist/esm/{loadable-47170cb6.js → loadable-f848be11.js} +1 -1
  348. package/dist/esm/loader.js +3 -3
  349. package/dist/esm/{locale-146251f7.js → locale-00000ab4.js} +1 -1
  350. package/dist/esm/{locale-efad8f83.js → locale-9624832c.js} +1 -1
  351. package/dist/esm/{lt-1577a952.js → lt-d6dfa7e4.js} +10 -10
  352. package/dist/esm/{lv-9ef7e4f6.js → lv-facd25c5.js} +10 -10
  353. package/dist/esm/map-select-tools_3.entry.js +23 -14
  354. package/dist/esm/{mapViewUtils-f0c04325.js → mapViewUtils-00a04d52.js} +1 -1
  355. package/dist/esm/{mk-94264e08.js → mk-5ed05b6a.js} +10 -10
  356. package/dist/esm/{nb-fa24d5b2.js → nb-936fc687.js} +10 -10
  357. package/dist/esm/{nl-33f10900.js → nl-a923d626.js} +10 -10
  358. package/dist/esm/{openCloseComponent-10efeff3.js → openCloseComponent-9fce341c.js} +1 -1
  359. package/dist/esm/pci-calculator.entry.js +1 -1
  360. package/dist/esm/{pl-9ed16565.js → pl-b1426275.js} +10 -10
  361. package/dist/esm/{pt-52731ddf.js → pt-1ac2453f.js} +10 -10
  362. package/dist/esm/{pt-br-8de51ff4.js → pt-br-7194cc5f.js} +10 -10
  363. package/dist/esm/public-notification.entry.js +12 -11
  364. package/dist/esm/{publicNotificationStore-ade82148.js → publicNotificationStore-90a6a274.js} +1 -1
  365. package/dist/esm/resources-74ea5c42.js +26 -0
  366. package/dist/esm/{ro-99f009ad.js → ro-518aaed1.js} +10 -10
  367. package/dist/esm/{ru-592ffaf0.js → ru-762127a3.js} +10 -10
  368. package/dist/esm/{shared-list-render-4f0f6af8.js → shared-list-render-ec232615.js} +2 -2
  369. package/dist/esm/{sk-44f7bd19.js → sk-f367b7ba.js} +10 -10
  370. package/dist/esm/{sl-08cad9bd.js → sl-052fd4d2.js} +10 -10
  371. package/dist/esm/solution-configuration.entry.js +29 -28
  372. package/dist/esm/solution-contents_3.entry.js +6 -5
  373. package/dist/esm/{solution-store-46bc46a5.js → solution-store-b29d50f7.js} +4 -564
  374. package/dist/esm/solutions-components.js +3 -3
  375. package/dist/esm/{sortableComponent-8a84709a.js → sortableComponent-ebd6bb72.js} +1 -1
  376. package/dist/esm/{sr-84f261fc.js → sr-4dc0fdb9.js} +10 -10
  377. package/dist/esm/store-manager.entry.js +1 -1
  378. package/dist/esm/{sv-d0d7bc1e.js → sv-bdc87a4d.js} +10 -10
  379. package/dist/esm/{t9n-5f748619.js → t9n-9791aa0c.js} +2 -2
  380. package/dist/esm/{th-a5149d44.js → th-d9df674c.js} +10 -10
  381. package/dist/esm/{time-fa1151aa.js → time-73378c4a.js} +1 -1
  382. package/dist/esm/{tr-feb0cad4.js → tr-61e134eb.js} +10 -10
  383. package/dist/esm/{uk-c9ba62a0.js → uk-ea3d8da7.js} +10 -10
  384. package/dist/esm/{utils-667cc396.js → utils-593fafd7.js} +1 -1
  385. package/dist/esm/{utils-0a5c1a07.js → utils-bd52db7d.js} +3 -3
  386. package/dist/esm/{vi-788dcb99.js → vi-ade1c25b.js} +10 -10
  387. package/dist/esm/{zh-cn-3ccfb820.js → zh-cn-b8756118.js} +10 -10
  388. package/dist/esm/{zh-hk-b29b61e8.js → zh-hk-d18c05d9.js} +10 -10
  389. package/dist/esm/{zh-tw-2bdbc6eb.js → zh-tw-9c98ff7c.js} +10 -10
  390. package/dist/solutions-components/{p-ca3d7edd.entry.js → p-01fea8d5.entry.js} +1 -1
  391. package/dist/solutions-components/{p-0c2e392e.entry.js → p-0219a1a9.entry.js} +5 -5
  392. package/dist/solutions-components/{p-3ce89910.entry.js → p-02ff64f4.entry.js} +1 -1
  393. package/dist/solutions-components/p-062254a6.entry.js +6 -0
  394. package/dist/solutions-components/{p-cd673260.js → p-062d2f9a.js} +1 -1
  395. package/dist/solutions-components/{p-082365d6.entry.js → p-084bced1.entry.js} +1 -1
  396. package/dist/solutions-components/{p-feff224c.entry.js → p-088e4cfc.entry.js} +1 -1
  397. package/dist/solutions-components/{p-96239d0d.js → p-08e35485.js} +1 -1
  398. package/dist/solutions-components/{p-1bcfca9b.entry.js → p-0a883f51.entry.js} +1 -1
  399. package/dist/solutions-components/{p-8f8d2861.js → p-0d14d33a.js} +1 -1
  400. package/dist/solutions-components/{p-0266ca81.js → p-0dab4c93.js} +1 -1
  401. package/dist/solutions-components/{p-f815b5ef.entry.js → p-0de1df10.entry.js} +1 -1
  402. package/dist/solutions-components/{p-7f271c31.js → p-11550b3c.js} +3 -3
  403. package/dist/solutions-components/{p-9370bb48.entry.js → p-120c4098.entry.js} +1 -1
  404. package/dist/solutions-components/{p-586f0e3d.entry.js → p-12bcd474.entry.js} +1 -1
  405. package/dist/solutions-components/{p-149b4d3c.entry.js → p-1597ec4b.entry.js} +1 -1
  406. package/dist/solutions-components/{p-dc9dad31.entry.js → p-15a9fe95.entry.js} +1 -1
  407. package/dist/solutions-components/{p-13290851.js → p-17d176b5.js} +14 -43
  408. package/dist/solutions-components/{p-95c11620.js → p-1b41181b.js} +44 -29
  409. package/dist/solutions-components/{p-138cf009.js → p-1c5787b1.js} +1 -1
  410. package/dist/solutions-components/{p-01c83b8c.entry.js → p-1d9a5198.entry.js} +1 -1
  411. package/dist/solutions-components/{p-ec378ea0.entry.js → p-1dd5c4e6.entry.js} +1 -1
  412. package/dist/solutions-components/{p-6295e168.entry.js → p-1e62d118.entry.js} +1 -1
  413. package/dist/solutions-components/{p-b25005cf.entry.js → p-1ed80742.entry.js} +1 -1
  414. package/dist/solutions-components/{p-da6acb22.entry.js → p-1fae3819.entry.js} +1 -1
  415. package/dist/solutions-components/{p-5e08d4de.js → p-21aa112d.js} +1 -1
  416. package/dist/solutions-components/{p-7f9642d5.js → p-22833bd3.js} +1 -1
  417. package/dist/solutions-components/{p-66b5211f.entry.js → p-252a9a7f.entry.js} +1 -1
  418. package/dist/solutions-components/{p-80ea5869.js → p-26b28806.js} +1 -1
  419. package/dist/solutions-components/{p-0f85fa4b.js → p-2723beaa.js} +1 -1
  420. package/dist/solutions-components/{p-cee23126.js → p-280fd963.js} +3 -3
  421. package/dist/solutions-components/{p-ae6a7b3b.entry.js → p-2821ab80.entry.js} +1 -1
  422. package/dist/solutions-components/{p-d864b7e3.js → p-29049359.js} +1 -1
  423. package/dist/solutions-components/p-2a58e378.js +21 -0
  424. package/dist/solutions-components/{p-879d6377.entry.js → p-2b378389.entry.js} +1 -1
  425. package/dist/solutions-components/{p-2bf63e2e.js → p-2bdd1a5d.js} +1 -1
  426. package/dist/solutions-components/p-2cff8331.entry.js +6 -0
  427. package/dist/solutions-components/{p-cacfa6ae.js → p-2ee21e9d.js} +1 -1
  428. package/dist/solutions-components/{p-aea37c90.js → p-2f42ae51.js} +1 -1
  429. package/dist/solutions-components/{p-635bbbd4.js → p-30b3261c.js} +1 -1
  430. package/dist/solutions-components/{p-e4253e1b.entry.js → p-31c9aa38.entry.js} +1 -1
  431. package/dist/solutions-components/{p-0f77e83c.entry.js → p-32ba2223.entry.js} +2 -2
  432. package/dist/solutions-components/p-33613993.js +7 -0
  433. package/dist/solutions-components/{p-636f4631.js → p-34673137.js} +1 -1
  434. package/dist/solutions-components/{p-8f68f1d3.entry.js → p-3566ee69.entry.js} +1 -1
  435. package/dist/solutions-components/{p-a287be8b.js → p-358b9cc8.js} +1 -1
  436. package/dist/solutions-components/{p-3445a8c6.js → p-3691a072.js} +1 -1
  437. package/dist/solutions-components/p-3a6c8fc3.entry.js +6 -0
  438. package/dist/solutions-components/{p-e4d2fcc5.js → p-3a8d82a2.js} +2 -2
  439. package/dist/solutions-components/{p-0109bef4.entry.js → p-3ab94526.entry.js} +1 -1
  440. package/dist/solutions-components/p-3b1fc7a2.entry.js +6 -0
  441. package/dist/solutions-components/{p-0f8440bb.entry.js → p-3cc30e11.entry.js} +1 -1
  442. package/dist/solutions-components/{p-c1dcc1e7.js → p-3f7119c1.js} +1 -1
  443. package/dist/solutions-components/{p-be146646.js → p-3fcd035e.js} +1 -1
  444. package/dist/solutions-components/{p-3766be72.js → p-419c9d89.js} +1 -1
  445. package/dist/solutions-components/p-453d1b31.entry.js +6 -0
  446. package/dist/solutions-components/{p-7060caf6.js → p-46918548.js} +1 -1
  447. package/dist/solutions-components/p-49e9e4e3.js +12 -0
  448. package/dist/solutions-components/p-4d942b0f.entry.js +36 -0
  449. package/dist/solutions-components/{p-0ecd7346.js → p-4fc92419.js} +1 -1
  450. package/dist/solutions-components/{p-456f5afe.entry.js → p-52afbe07.entry.js} +1 -1
  451. package/dist/solutions-components/{p-6ce7b446.entry.js → p-52ec0b32.entry.js} +1 -1
  452. package/dist/solutions-components/{p-60c15592.js → p-54cc02c9.js} +1 -1
  453. package/dist/solutions-components/{p-8c61431d.js → p-573d0763.js} +1 -1
  454. package/dist/solutions-components/{p-6ddc9567.entry.js → p-59ef9461.entry.js} +2 -2
  455. package/dist/solutions-components/{p-c9df539a.entry.js → p-5e5749c0.entry.js} +1 -1
  456. package/dist/solutions-components/{p-7a027758.entry.js → p-5ff22d2e.entry.js} +1 -1
  457. package/dist/solutions-components/{p-8544d557.entry.js → p-617f32a0.entry.js} +1 -1
  458. package/dist/solutions-components/{p-1e7a31c1.entry.js → p-64541510.entry.js} +1 -1
  459. package/dist/solutions-components/{p-5c9fa0e7.js → p-6510c06c.js} +1 -1
  460. package/dist/solutions-components/{p-ec889511.js → p-65ba4d10.js} +1 -1
  461. package/dist/solutions-components/{p-cec47579.entry.js → p-65ffe4b0.entry.js} +1 -1
  462. package/dist/solutions-components/{p-bbb0d957.entry.js → p-66dd455f.entry.js} +1 -1
  463. package/dist/solutions-components/{p-3c15959e.js → p-68007503.js} +1 -1
  464. package/dist/solutions-components/{p-ac0abf04.entry.js → p-6ba8483c.entry.js} +2 -2
  465. package/dist/solutions-components/{p-1fba74a5.entry.js → p-6c8c7b98.entry.js} +2 -2
  466. package/dist/solutions-components/{p-29efbf76.entry.js → p-6e5d9ae9.entry.js} +1 -1
  467. package/dist/solutions-components/p-6ebf870c.entry.js +17 -0
  468. package/dist/solutions-components/{p-78a40191.entry.js → p-701409be.entry.js} +2 -2
  469. package/dist/solutions-components/{p-d2d3e4b5.js → p-72f34a0a.js} +1 -1
  470. package/dist/solutions-components/{p-261394d7.entry.js → p-7359a6ac.entry.js} +1 -1
  471. package/dist/solutions-components/{p-7a8d99fe.entry.js → p-73ab9d9a.entry.js} +1 -1
  472. package/dist/solutions-components/{p-3cfaf52b.entry.js → p-73fe6f7e.entry.js} +2 -2
  473. package/dist/solutions-components/{p-e0c011b8.js → p-7452d79a.js} +1 -1
  474. package/dist/solutions-components/{p-57c08531.entry.js → p-753da967.entry.js} +1 -1
  475. package/dist/solutions-components/{p-f8dd2784.js → p-767002cd.js} +2 -2
  476. package/dist/solutions-components/{p-5ceef49b.js → p-76c2c379.js} +1 -1
  477. package/dist/solutions-components/{p-2154de6d.js → p-788aa5d7.js} +1 -1
  478. package/dist/solutions-components/{p-2592c0b8.js → p-79cc0531.js} +2 -2
  479. package/dist/solutions-components/{p-167eb73b.js → p-7a0fa011.js} +1 -1
  480. package/dist/solutions-components/{p-1efcac52.entry.js → p-7a55cee6.entry.js} +1 -1
  481. package/dist/solutions-components/{p-58167087.entry.js → p-7bc63171.entry.js} +1 -1
  482. package/dist/solutions-components/{p-864c190b.entry.js → p-8150ad0e.entry.js} +1 -1
  483. package/dist/solutions-components/{p-5d62566c.entry.js → p-81664d83.entry.js} +1 -1
  484. package/dist/solutions-components/{p-38f906f2.js → p-8354f486.js} +1 -1
  485. package/dist/solutions-components/p-84dff306.entry.js +17 -0
  486. package/dist/solutions-components/{p-31aaa60f.js → p-8594fe6b.js} +1 -1
  487. package/dist/solutions-components/{p-c79c7978.entry.js → p-89617f30.entry.js} +1 -1
  488. package/dist/solutions-components/{p-ced11bea.entry.js → p-8a91195f.entry.js} +1 -1
  489. package/dist/solutions-components/{p-9a35ef8e.js → p-8b2d396e.js} +1 -1
  490. package/dist/solutions-components/{p-34ef43ce.entry.js → p-8b2e460e.entry.js} +1 -1
  491. package/dist/solutions-components/{p-e2637fe6.js → p-8ec6ea34.js} +1 -1
  492. package/dist/solutions-components/{p-e3d72832.entry.js → p-8ee00658.entry.js} +2 -2
  493. package/dist/solutions-components/{p-28b5a7cf.js → p-905fcf73.js} +1 -1
  494. package/dist/solutions-components/{p-410068d9.entry.js → p-929909bc.entry.js} +1 -1
  495. package/dist/solutions-components/{p-9b76bf3d.js → p-948b5722.js} +1 -1
  496. package/dist/solutions-components/{p-0fa3d1aa.js → p-956f3207.js} +1 -1
  497. package/dist/solutions-components/{p-b28ff52c.js → p-96287d23.js} +1 -1
  498. package/dist/solutions-components/{p-f596eabd.entry.js → p-964c0e7d.entry.js} +1 -1
  499. package/dist/solutions-components/{p-80cb42e4.entry.js → p-98051370.entry.js} +1 -1
  500. package/dist/solutions-components/p-9a8c51bf.entry.js +6 -0
  501. package/dist/solutions-components/{p-42f9ab43.entry.js → p-9a94f48c.entry.js} +1 -1
  502. package/dist/solutions-components/{p-688f6a0a.js → p-9b94501c.js} +1 -1
  503. package/dist/solutions-components/{p-1cebde99.js → p-9d4467a3.js} +1 -1
  504. package/dist/solutions-components/{p-872036a8.js → p-9e3c9cd2.js} +1 -1
  505. package/dist/solutions-components/{p-64e2c099.js → p-9fd59203.js} +1 -1
  506. package/dist/solutions-components/{p-7bb12deb.js → p-a097edf0.js} +1 -1
  507. package/dist/solutions-components/{p-27e0f599.js → p-a201bffc.js} +1 -1
  508. package/dist/solutions-components/{p-d6f68a4e.entry.js → p-a3729795.entry.js} +1 -1
  509. package/dist/solutions-components/{p-56f1d66b.entry.js → p-a47ed290.entry.js} +1 -1
  510. package/dist/solutions-components/{p-10e1ebe4.entry.js → p-a5ef322f.entry.js} +1 -1
  511. package/dist/solutions-components/p-a776b7e6.entry.js +6 -0
  512. package/dist/solutions-components/{p-4d76eaf6.entry.js → p-a97e8d6a.entry.js} +1 -1
  513. package/dist/solutions-components/{p-7262469a.js → p-aaea9203.js} +1 -1
  514. package/dist/solutions-components/{p-f153f1c9.entry.js → p-ad1d56b1.entry.js} +1 -1
  515. package/dist/solutions-components/{p-3948a96c.js → p-adeb0e8f.js} +1 -1
  516. package/dist/solutions-components/{p-446ab7f8.entry.js → p-af63959a.entry.js} +1 -1
  517. package/dist/solutions-components/{p-46e0ce0c.entry.js → p-b1125581.entry.js} +2 -2
  518. package/dist/solutions-components/{p-ebbff02e.js → p-b20a31c8.js} +1 -1
  519. package/dist/solutions-components/{p-7b2314ac.js → p-b81131b3.js} +1 -1
  520. package/dist/solutions-components/p-b892e595.entry.js +6 -0
  521. package/dist/solutions-components/{p-cc2393c3.entry.js → p-b89c5865.entry.js} +1 -1
  522. package/dist/solutions-components/{p-5958dad9.js → p-b9b52743.js} +1 -1
  523. package/dist/solutions-components/{p-5eaaf6ea.entry.js → p-ba99e562.entry.js} +1 -1
  524. package/dist/solutions-components/{p-0b8463d6.js → p-bc548c06.js} +1 -1
  525. package/dist/solutions-components/{p-bde323ec.js → p-bccbdeb5.js} +1 -1
  526. package/dist/solutions-components/{p-c968f9aa.entry.js → p-bd318e33.entry.js} +1 -1
  527. package/dist/solutions-components/{p-8927339d.js → p-bd766e49.js} +1 -1
  528. package/dist/solutions-components/{p-651459e2.entry.js → p-be36d5ed.entry.js} +2 -2
  529. package/dist/solutions-components/{p-c3ab7439.js → p-bfc78840.js} +1 -1
  530. package/dist/solutions-components/{p-452850b4.entry.js → p-c073d2d6.entry.js} +1 -1
  531. package/dist/solutions-components/{p-1dbaff04.entry.js → p-c644edf5.entry.js} +1 -1
  532. package/dist/solutions-components/p-c6b7e7ff.js +11 -0
  533. package/dist/solutions-components/{p-8b74f5bb.entry.js → p-ca0b3a2b.entry.js} +1 -1
  534. package/dist/solutions-components/{p-2c0dc7b1.js → p-cc462e38.js} +1 -1
  535. package/dist/solutions-components/{p-667e7134.entry.js → p-cfd88a2f.entry.js} +1 -1
  536. package/dist/solutions-components/{p-73220ff1.js → p-d5228aed.js} +1 -1
  537. package/dist/solutions-components/{p-476e5302.js → p-d74e95e5.js} +1 -1
  538. package/dist/solutions-components/{p-ea285144.js → p-d98caa4c.js} +1 -1
  539. package/dist/solutions-components/{p-a46f1b45.js → p-dd9c065e.js} +1 -1
  540. package/dist/solutions-components/{p-05b2bdf9.js → p-dedc167c.js} +1 -1
  541. package/dist/solutions-components/{p-a16feeec.js → p-e4f9b782.js} +1 -1
  542. package/dist/solutions-components/{p-8af52074.entry.js → p-e572a692.entry.js} +1 -1
  543. package/dist/solutions-components/{p-89504313.entry.js → p-e5dda947.entry.js} +1 -1
  544. package/dist/solutions-components/{p-8d00a17e.js → p-e7fbf2fe.js} +1 -1
  545. package/dist/solutions-components/{p-470a9ec4.entry.js → p-e9ba0c7f.entry.js} +1 -1
  546. package/dist/solutions-components/{p-28d2670f.entry.js → p-eb58da32.entry.js} +1 -1
  547. package/dist/solutions-components/{p-168a7d63.js → p-eb60ec2a.js} +1 -1
  548. package/dist/solutions-components/p-ecc95259.js +20 -0
  549. package/dist/solutions-components/{p-e2eb4fd3.entry.js → p-ee144348.entry.js} +1 -1
  550. package/dist/solutions-components/{p-6be3c411.js → p-f03bed0c.js} +1 -1
  551. package/dist/solutions-components/{p-b28b6d40.js → p-f5028a8e.js} +1 -1
  552. package/dist/solutions-components/{p-a1c6db13.entry.js → p-f50cf603.entry.js} +1 -1
  553. package/dist/solutions-components/{p-c70392c4.entry.js → p-f524cc5b.entry.js} +1 -1
  554. package/dist/solutions-components/{p-81814234.entry.js → p-f6b19af7.entry.js} +1 -1
  555. package/dist/solutions-components/{p-f7b520ae.js → p-f7d8b6b3.js} +1 -1
  556. package/dist/solutions-components/{p-6eb4ba8f.js → p-f9166fcb.js} +3 -3
  557. package/dist/solutions-components/{p-17a29fa6.entry.js → p-fb0f2016.entry.js} +1 -1
  558. package/dist/solutions-components/p-fb74e4a9.js +11 -0
  559. package/dist/solutions-components/solutions-components.esm.js +1 -1
  560. package/dist/solutions-components/utils/downloadUtils.ts +257 -85
  561. package/dist/solutions-components/utils/interfaces.ts +0 -5
  562. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +2 -0
  563. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +29 -1
  564. package/dist/types/components/layer-table/layer-table.d.ts +42 -26
  565. package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +71 -0
  566. package/dist/types/components/map-tools/map-tools.d.ts +15 -7
  567. package/dist/types/components/pdf-download/pdf-download.d.ts +5 -3
  568. package/dist/types/components.d.ts +67 -12
  569. package/dist/types/preact.d.ts +3 -3
  570. package/dist/types/utils/downloadUtils.d.ts +34 -16
  571. package/dist/types/utils/interfaces.d.ts +0 -4
  572. package/package.json +8 -9
  573. package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -250
  574. package/dist/esm/calcite-action-bar.entry.js +0 -246
  575. package/dist/solutions-components/p-072155f9.js +0 -12
  576. package/dist/solutions-components/p-0dd8368d.entry.js +0 -6
  577. package/dist/solutions-components/p-18538cd9.entry.js +0 -11
  578. package/dist/solutions-components/p-46352a57.entry.js +0 -6
  579. package/dist/solutions-components/p-4f9f97b2.entry.js +0 -37
  580. package/dist/solutions-components/p-868df4a0.js +0 -21
  581. package/dist/solutions-components/p-869d4521.entry.js +0 -6
  582. package/dist/solutions-components/p-90cef98d.entry.js +0 -6
  583. package/dist/solutions-components/p-9310b882.js +0 -7
  584. package/dist/solutions-components/p-99891e57.js +0 -11
  585. package/dist/solutions-components/p-9eba78eb.entry.js +0 -6
  586. package/dist/solutions-components/p-c26cd409.entry.js +0 -6
  587. package/dist/solutions-components/p-d4cb29ed.entry.js +0 -6
  588. package/dist/solutions-components/p-fb7ca639.entry.js +0 -6
  589. package/dist/solutions-components/p-fe96e0d9.entry.js +0 -23
@@ -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 n,g as o}from"./p-9310b882.js";import{a as l,e as a,t as s}from"./p-a16feeec.js";import{a as r,c,d,H as h}from"./p-072155f9.js";import{c as m,d as u,u as g}from"./p-ad75b9bb.js";import{c as p,d as b}from"./p-d2d3e4b5.js";import{s as f,a as v,c as k}from"./p-476e5302.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";const w=class{constructor(i){e(this,i),this.calciteSegmentedControlChange=t(this,"calciteSegmentedControlChange",6),this.handleClick=e=>{this.disabled||"calcite-segmented-control-item"===e.target.localName&&this.selectItem(e.target,!0)},this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.layout="horizontal",this.name=void 0,this.scale="m",this.value=null,this.selectedItem=void 0,this.width="auto"}valueHandler(e){this.getItems().forEach((t=>t.checked=t.value===e))}handleSelectedItemChange(e,t){if(this.value=null==e?void 0:e.value,e===t)return;const i=this.getItems(),n=i.filter((t=>t===e)).pop();n?this.selectItem(n):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){f(this);const e=this.getItems(),t=e.filter((e=>e.checked)).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}componentDidLoad(){r(this,this.value),v(this)}connectedCallback(){m(this),p(this),c(this)}disconnectedCallback(){u(this),b(this),d(this)}componentDidRender(){g(this)}render(){return i(n,{onClick:this.handleClick,role:"radiogroup"},i("slot",null),i(h,{component:this}))}handleSelected(e){e.preventDefault(),this.selectItem(e.target),e.stopPropagation()}handleKeyDown(e){const{key:t}=e,{el:i,selectedItem:n}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;let o=t;"rtl"===l(i)&&("ArrowRight"===t&&(o="ArrowLeft"),"ArrowLeft"===t&&(o="ArrowRight"));const a=this.getItems();let s=-1;switch(a.forEach(((e,t)=>{e===n&&(s=t)})),o){case"ArrowLeft":case"ArrowUp":return e.preventDefault(),void this.selectItem(s<1?a[a.length-1]:a[s-1],!0);case"ArrowRight":case"ArrowDown":return e.preventDefault(),void this.selectItem(-1===s?a[1]:a[s+1]||a[0],!0);case" ":return e.preventDefault(),void this.selectItem(e.target,!0);default:return}}async setFocus(){var e;await k(this),null===(e=this.selectedItem||this.getItems()[0])||void 0===e||e.focus()}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(e,t=!1){if(e===this.selectedItem)return;const i=this.getItems();let n=null;i.forEach((i=>{const o=i===e;(o&&!i.checked||!o&&i.checked)&&(i.checked=o),i.tabIndex=o?0:-1,o&&(n=i,t&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=n,n&&n.focus()}get el(){return o(this)}static get watchers(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};w.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:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::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}";
6
+ import{r as e,c as t,h as i,H as n,g as o}from"./p-33613993.js";import{a as l,e as a,t as s}from"./p-e4f9b782.js";import{a as r,c,d,H as h}from"./p-49e9e4e3.js";import{c as m,d as u,u as g}from"./p-ad75b9bb.js";import{c as p,d as b}from"./p-72f34a0a.js";import{s as f,a as v,c as k}from"./p-d74e95e5.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";const w=class{constructor(i){e(this,i),this.calciteSegmentedControlChange=t(this,"calciteSegmentedControlChange",6),this.handleClick=e=>{this.disabled||"calcite-segmented-control-item"===e.target.localName&&this.selectItem(e.target,!0)},this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.layout="horizontal",this.name=void 0,this.scale="m",this.value=null,this.selectedItem=void 0,this.width="auto"}valueHandler(e){this.getItems().forEach((t=>t.checked=t.value===e))}handleSelectedItemChange(e,t){if(this.value=null==e?void 0:e.value,e===t)return;const i=this.getItems(),n=i.filter((t=>t===e)).pop();n?this.selectItem(n):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){f(this);const e=this.getItems(),t=e.filter((e=>e.checked)).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}componentDidLoad(){r(this,this.value),v(this)}connectedCallback(){m(this),p(this),c(this)}disconnectedCallback(){u(this),b(this),d(this)}componentDidRender(){g(this)}render(){return i(n,{onClick:this.handleClick,role:"radiogroup"},i("slot",null),i(h,{component:this}))}handleSelected(e){e.preventDefault(),this.selectItem(e.target),e.stopPropagation()}handleKeyDown(e){const{key:t}=e,{el:i,selectedItem:n}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;let o=t;"rtl"===l(i)&&("ArrowRight"===t&&(o="ArrowLeft"),"ArrowLeft"===t&&(o="ArrowRight"));const a=this.getItems();let s=-1;switch(a.forEach(((e,t)=>{e===n&&(s=t)})),o){case"ArrowLeft":case"ArrowUp":return e.preventDefault(),void this.selectItem(s<1?a[a.length-1]:a[s-1],!0);case"ArrowRight":case"ArrowDown":return e.preventDefault(),void this.selectItem(-1===s?a[1]:a[s+1]||a[0],!0);case" ":return e.preventDefault(),void this.selectItem(e.target,!0);default:return}}async setFocus(){var e;await k(this),null===(e=this.selectedItem||this.getItems()[0])||void 0===e||e.focus()}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(e,t=!1){if(e===this.selectedItem)return;const i=this.getItems();let n=null;i.forEach((i=>{const o=i===e;(o&&!i.checked||!o&&i.checked)&&(i.checked=o),i.tabIndex=o?0:-1,o&&(n=i,t&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=n,n&&n.focus()}get el(){return o(this)}static get watchers(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};w.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:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::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}";
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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var m={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(_){return _},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.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:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};_.locale(m,null,!0);export default m;
6
+ import{d as _}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";var m={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(_){return _},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.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:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};_.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{h as i,r as t,c as s,H as e,g as a}from"./p-9310b882.js";import{c as n,d as o,H as l}from"./p-072155f9.js";import{g as h}from"./p-8b448a5b.js";import{c as r,d as c,u as d}from"./p-ad75b9bb.js";import{c as p,d as u}from"./p-d2d3e4b5.js";import{s as m,a as v,c as f}from"./p-476e5302.js";import{c as b,d as g}from"./p-7f271c31.js";import{u as y,c as w,s as k,d as x}from"./p-2592c0b8.js";import"./p-a16feeec.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";import"./p-588bc0c0.js";
6
+ import{h as i,r as t,c as s,H as e,g as a}from"./p-33613993.js";import{c as n,d as o,H as l}from"./p-49e9e4e3.js";import{g as h}from"./p-8b448a5b.js";import{c as r,d as c,u as d}from"./p-ad75b9bb.js";import{c as p,d as u}from"./p-72f34a0a.js";import{s as m,a as v,c as f}from"./p-d74e95e5.js";import{c as b,d as g}from"./p-11550b3c.js";import{u as y,c as w,s as k,d as x}from"./p-79cc0531.js";import"./p-e4f9b782.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";import"./p-588bc0c0.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 i,h as t,g as e}from"./p-9310b882.js";import{c as s,d as a}from"./p-7f271c31.js";import{u as n,c,s as o,d as r}from"./p-2592c0b8.js";import{c as l}from"./p-588bc0c0.js";import{B as h}from"./p-a16feeec.js";import"./p-43ba7a04.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";
6
+ import{r as i,h as t,g as s}from"./p-33613993.js";import{c as e,d as a}from"./p-11550b3c.js";import{u as n,c,s as o,d as r}from"./p-79cc0531.js";import{c as l}from"./p-588bc0c0.js";import{B as h}from"./p-e4f9b782.js";import"./p-43ba7a04.js";import"./p-8b448a5b.js";import"./p-e3525c00.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.6.1
11
- */const d=class{constructor(t){i(this,t),this.resizeObserver=l("resize",(()=>this.handleResize())),this.handleDefaultSlotChange=i=>{this.hasContent=h(i)},this.storeLoaderEl=i=>{this.loaderEl=i,this.handleResize()},this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.loaderScale=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasContent=!1}onMessagesChange(){}effectiveLocaleChange(){n(this,this.effectiveLocale)}connectedCallback(){var i;s(this),c(this),null===(i=this.resizeObserver)||void 0===i||i.observe(this.el)}async componentWillLoad(){await o(this)}disconnectedCallback(){var i;a(this),r(this),null===(i=this.resizeObserver)||void 0===i||i.disconnect()}render(){const{hasContent:i,loading:e,messages:s}=this;return t("div",{class:"scrim"},e?t("calcite-loader",{label:s.loading,ref:this.storeLoaderEl,scale:this.loaderScale}):null,t("div",{class:"content",hidden:!i},t("slot",{onSlotchange:this.handleDefaultSlotChange})))}getScale(i){return i<72?"s":i>=480?"l":"m"}handleResize(){var i;const{loaderEl:t,el:e}=this;t&&(this.loaderScale=this.getScale(null!==(i=Math.min(e.clientHeight,e.clientWidth))&&void 0!==i?i:0))}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};d.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_scrim}
11
+ */const d=class{constructor(t){i(this,t),this.resizeObserver=l("resize",(()=>this.handleResize())),this.handleDefaultSlotChange=i=>{this.hasContent=h(i)},this.storeLoaderEl=i=>{this.loaderEl=i,this.handleResize()},this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.loaderScale=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasContent=!1}onMessagesChange(){}effectiveLocaleChange(){n(this,this.effectiveLocale)}connectedCallback(){var i;e(this),c(this),null===(i=this.resizeObserver)||void 0===i||i.observe(this.el)}async componentWillLoad(){await o(this)}disconnectedCallback(){var i;a(this),r(this),null===(i=this.resizeObserver)||void 0===i||i.disconnect()}render(){const{hasContent:i,loading:s,messages:e}=this;return t("div",{class:"scrim"},s?t("calcite-loader",{label:e.loading,ref:this.storeLoaderEl,scale:this.loaderScale}):null,t("div",{class:"content",hidden:!i},t("slot",{onSlotchange:this.handleDefaultSlotChange})))}getScale(i){return i<72?"s":i>=480?"l":"m"}handleResize(){var i;const{loaderEl:t,el:s}=this;t&&(this.loaderScale=this.getScale(null!==(i=Math.min(s.clientHeight,s.clientWidth))&&void 0!==i?i:0))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};d.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_scrim}
@@ -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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,r,t){var a=e+" ";switch(t){case"m":return r?"minuta":"minutę";case"mm":return a+(i(e)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return a+(i(e)?"godziny":"godzin");case"MM":return a+(i(e)?"miesiące":"miesięcy");case"yy":return a+(i(e)?"lata":"lat")}}var t="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),_=/D MMMM/,s=function(e,i){return _.test(i)?t[e.month()]:a[e.month()]};s.s=a,s.f=t;var m={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:s,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},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"}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,r,t){var a=e+" ";switch(t){case"m":return r?"minuta":"minutę";case"mm":return a+(i(e)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return a+(i(e)?"godziny":"godzin");case"MM":return a+(i(e)?"miesiące":"miesięcy");case"yy":return a+(i(e)?"lata":"lat")}}var t="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),_=/D MMMM/,s=function(e,i){return _.test(i)?t[e.month()]:a[e.month()]};s.s=a,s.f=t;var m={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:s,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},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"}};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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},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"}};e.locale(a,null,!0);export default a;
6
+ import{d as e}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},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"}};e.locale(a,null,!0);export default a;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,c as t,h as s,H as e,g as a}from"./p-33613993.js";import{l}from"./p-0dab4c93.js";import{g as h,h as n,d as o,e as r,f as d,i as c,j as p,k as g}from"./p-767002cd.js";import{c as b,e as u,f as v}from"./p-2a58e378.js";import{s as y}from"./p-3691a072.js";import{a as m,g as f}from"./p-22833bd3.js";import{d as w,a as S}from"./p-1b41181b.js";import"./p-cc462e38.js";import"./p-e1a4994d.js";import"./p-ecc95259.js";const _=class{constructor(s){i(this,s),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}distanceChanged(i){this._distanceChanged(i.detail)}unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init(),await this._searchWidget.when((()=>{this._searchWidget.allPlaceholder=this._translations.placeholder,this._searchWidget.defaultSources.forEach((i=>{i.placeholder=this._translations.placeholder}))}))}render(){return s(e,null,this._getMapLayerPicker(),s("div",{class:"border-bottom"}),s("div",{class:"padding-top-sides-1"},s("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{class:"padding-top-1"},s("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),s("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const e=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),s("div",{class:e},s("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id))})))}_getNumSelected(){const i=m(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[]})))}async _initModules(){const[i,t,s,e,a]=await l(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=s,this._geometryEngine=e,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),this._initSearchWidget()}async _initSelectionSet(){var i,t,s,e;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(s=this.selectionSet)||void 0===s?void 0:s.label,this._useLayerFeaturesEnabled||null===(e=this._drawTools)||void 0===e||e.updateGraphics(),await h(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}_initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,s;if(i.result){this._searchResult=i.result;const e=(null===(s=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===s?void 0:s.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=e?[i.result.feature.getObjectId()]:void 0;this._workflowType=b.SEARCH,this._updateLabel();const l=[i.result.feature];this._updateSelection(l,e,a),this._drawTools.graphics=l,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const s=null==i?void 0:i.sources;return(null==s?void 0:s.length)>0?(i.includeDefaultSources=!1,s.forEach((i=>{var s,e;if(i.hasOwnProperty("layer")){const a=i,l=null===(s=a.layer)||void 0===s?void 0:s.id,h=l?t.map.findLayerById(l):null,n=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:n&&(a.layer=new this.FeatureLayer(n))}})),null==s||s.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),y.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}async _sketchGraphicsChanged(i,t=!1){const s=i.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this._useLayerFeaturesEnabled?b.SELECT:b.SKETCH,this._workflowType===b.SKETCH&&this._drawTools.updateGraphics(),this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(s)?s.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=s.reduce(((i,t)=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),e=i.detail.useOIDs&&t.length>0;this._updateSelection(s,e,t),e&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){y.removeHandles(),i.length>0&&y.highlightHandles.push(await n(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await o(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,s=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(i){const t=r(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var s;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),y.removeHandles(),(null===(s=this._drawTools)||void 0===s?void 0:s.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}_updateLabel(){var i,t;const s=this._selectionLabel.indexOf(this._translations.sketch)>-1,e=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,l=this._workflowType===b.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===b.SELECT?this._translations.select:this._translations.sketch,h=this._unit?this._unit:this._bufferTools.unit,n=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=s||e||a||!this._selectionLabel?`${l} ${n} ${h}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>d(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const s=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&s===this.selectLayerView.layer.id||(this.selectLayerView=await d(this.mapView,s),this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}_distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],c(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((s=>{t=t.concat(i[s])}))}));let s=!1;t.forEach((i=>{var t;const e=i.geometry;i.symbol="point"===e.type?this.sketchPointSymbol:"polyline"===e.type?this.sketchLineSymbol:"polygon"===e.type?this.sketchPolygonSymbol:void 0,s=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const e=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&s;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:e}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};_.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-ui-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),P=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,s,e=!0){return w(i,t,!0,s,e)}async downloadPDF(i,t,s=!1,e="",a=""){var l;return S(i,t,null===(l=this._labelInfoElement.selectedOption)||void 0===l?void 0:l.value,s,e,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,s("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="&lrm;"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"&rlm;";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const s=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),e=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return s<e?-1:s>e?1:0})).forEach(((i,t)=>{const s=document.createElement("calcite-option");s.value=i,s.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(s),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(s.selected=!0,this._labelInfoElement.selectedOption=s)}))}get el(){return a(this)}};P.style=":host{display:block}";const x=class{constructor(s){i(this,s),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=u.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return s(e,null,s("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{class:"display-flex"},s("calcite-label",{class:"font-bold width-full label-margin-0"},s("div",{class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id]})),s("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{class:"padding-1"},s("div",{class:"padding-bottom-1"},s("calcite-segmented-control",{class:"w-100"},s("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(u.ADD),value:u.ADD},s("span",{class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(u.REMOVE),value:u.REMOVE},s("span",{class:"font-weight-500"},this._translations.remove)))),s("div",null,s("map-draw-tools",{active:!0,drawMode:v.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),s("br",null),s("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const s=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(s)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var s;const e=null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===b.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===b.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const s={};s[i]={addIds:[],removeIds:[],layerView:await d(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),s):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:b.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:s,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===u.ADD?u.REMOVE:u.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===u.ADD?u.REMOVE:u.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===b.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=p(i);return Object.keys(t).reduce(((i,s)=>i+t[s].ids.length),0)}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}async _selectFeatures(i){var t,s;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const e=await c(0,null===(s=this._refineLayer)||void 0===s?void 0:s.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(e).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(e[i]))}));const l=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(l,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),y.highlightHandles=await g(this.selectionSets)}_clearHighlight(){y.removeHandles()}async _updateIds(i,t,s,e){let a=!1;const l=this._refineSelectionSet.refineInfos,h=e.layer.id,n={};n[h]={addIds:[],removeIds:[],layerView:e};const o=Object.keys(l).indexOf(h)>-1?l[h]:n[h];if(t===u.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&s.push({ids:i,mode:t,layerView:e}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const l=this.selectionSets.reduce(((t,s)=>(i.forEach((i=>{s.workflowType!==b.REFINE?s.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(s.refineInfos).some((a=>{const l=s.refineInfos[a];if(l.layerView.layer.id===e.layer.id&&l.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...l,...o.removeIds])],o.addIds=o.addIds.filter((i=>l.indexOf(i)<0)),o.removeIds.length>0&&s.push({ids:l,mode:t,layerView:e}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==b.REFINE&&t.layerView.layer.id===e.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[h]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{_ as map_select_tools,P as pdf_download,x as refine_selection}
@@ -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 o,g as n,a as c}from"./p-9310b882.js";import{h as a,n as s,z as l,g as r,r as d,a as h,t as p,y as m}from"./p-a16feeec.js";import{c as u,d as b}from"./p-c3ab7439.js";import{c as g,d as f,u as k}from"./p-ad75b9bb.js";import{C as v}from"./p-e3525c00.js";import"./p-8b448a5b.js";import"./p-588bc0c0.js";
6
+ import{r as e,c as t,h as i,H as o,g as n,a as c}from"./p-33613993.js";import{h as a,n as s,z as l,g as r,r as d,a as h,t as p,y as m}from"./p-e4f9b782.js";import{c as u,d as b}from"./p-bfc78840.js";import{c as g,d as f,u as k}from"./p-ad75b9bb.js";import{C as v}from"./p-e3525c00.js";import"./p-8b448a5b.js";import"./p-588bc0c0.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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.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-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.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 e,h as i,F as a,g as s}from"./p-9310b882.js";import{c as o,d as n}from"./p-c3ab7439.js";import{g as c,t as r}from"./p-a16feeec.js";import{c as l,d as h,u as d}from"./p-ad75b9bb.js";import{s as p,a as m,c as u}from"./p-476e5302.js";import{c as f,d as b}from"./p-7f271c31.js";import{u as g,c as v,s as x,d as w}from"./p-2592c0b8.js";import{I as k}from"./p-87d66120.js";import{I as y,C as j,S as C}from"./p-ab072027.js";import"./p-588bc0c0.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";const W=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){l(this),f(this),v(this),o(this)}async componentWillLoad(){await x(this),p(this)}componentDidLoad(){m(this)}disconnectedCallback(){h(this),b(this),w(this),n(this)}componentDidRender(){d(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;await u(this),null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[j.icon]:!0,[j.iconDot]:t===k.circle},onClick:this.pickListClickHandler},t===k.square?i("calcite-icon",{flipRtl:e,icon:y.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:j.remove,icon:y.remove,onClick:this.removeClickHandler,slot:C.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return c(t,C.actionsStart)?i("div",{class:{[j.actions]:!0,[j.actionsStart]:!0}},i("slot",{name:C.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return c(t,C.actionsEnd)||e?i("div",{class:{[j.actions]:!0,[j.actionsEnd]:!0}},i("slot",{name:C.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(a,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:j.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":r(this.selected),class:j.textContainer,role:"menuitemcheckbox"},i("span",{class:j.title},e),t?i("span",{class:j.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};W.style='@charset "UTF-8";: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{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-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);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label: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 )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{W as calcite_pick_list_item}
6
+ import{r as t,c as e,h as i,F as a,g as s}from"./p-33613993.js";import{c as o,d as n}from"./p-bfc78840.js";import{g as c,t as r}from"./p-e4f9b782.js";import{c as l,d as h,u as d}from"./p-ad75b9bb.js";import{s as p,a as m,c as u}from"./p-d74e95e5.js";import{c as f,d as b}from"./p-11550b3c.js";import{u as g,c as v,s as x,d as w}from"./p-79cc0531.js";import{I as k}from"./p-87d66120.js";import{I as y,C as j,S as C}from"./p-ab072027.js";import"./p-588bc0c0.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";const W=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){l(this),f(this),v(this),o(this)}async componentWillLoad(){await x(this),p(this)}componentDidLoad(){m(this)}disconnectedCallback(){h(this),b(this),w(this),n(this)}componentDidRender(){d(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;await u(this),null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[j.icon]:!0,[j.iconDot]:t===k.circle},onClick:this.pickListClickHandler},t===k.square?i("calcite-icon",{flipRtl:e,icon:y.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:j.remove,icon:y.remove,onClick:this.removeClickHandler,slot:C.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return c(t,C.actionsStart)?i("div",{class:{[j.actions]:!0,[j.actionsStart]:!0}},i("slot",{name:C.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return c(t,C.actionsEnd)||e?i("div",{class:{[j.actions]:!0,[j.actionsEnd]:!0}},i("slot",{name:C.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(a,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:j.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":r(this.selected),class:j.textContainer,role:"menuitemcheckbox"},i("span",{class:j.title},e),t?i("span",{class:j.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};W.style='@charset "UTF-8";: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{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-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);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label: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 )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{W as calcite_pick_list_item}
@@ -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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export default s;
6
+ import{d as e}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export default s;
@@ -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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var m={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(_){var m=_%100;if(m>10&&m<20)return _+"-ти";var p=_%10;return 1===p?_+"-ви":2===p?_+"-ри":7===p||8===p?_+"-ми":_+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.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:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};_.locale(m,null,!0);export default m;
6
+ import{d as _}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";var m={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(_){var m=_%100;if(m>10&&m<20)return _+"-ти";var p=_%10;return 1===p?_+"-ви":2===p?_+"-ри":7===p||8===p?_+"-ми":_+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.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:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};_.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-9310b882.js";import{c as o}from"./p-588bc0c0.js";import{h as a}from"./p-a16feeec.js";import{c,d as r,a as l,H as h}from"./p-072155f9.js";import{c as d,d as p,u}from"./p-ad75b9bb.js";import{c as m,d as b,g as v}from"./p-d2d3e4b5.js";import{s as f,a as g,c as C}from"./p-476e5302.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";const w=class{constructor(i){e(this,i),this.calciteInternalOptionChange=t(this,"calciteInternalOptionChange",6),this.mutationObserver=o("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}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=e,this.internallySetLabel=e),this.value&&this.value!==this.internallySetValue||(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 z=class{constructor(i){e(this,i),this.calciteSelectChange=t(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=o("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),c(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),l(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),a(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"]}}};z.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,z as calcite_select}
6
+ import{r as e,c as t,h as i,g as s,F as n}from"./p-33613993.js";import{c as a}from"./p-588bc0c0.js";import{h as o}from"./p-e4f9b782.js";import{c,d as r,a as l,H as h}from"./p-49e9e4e3.js";import{c as d,d as p,u}from"./p-ad75b9bb.js";import{c as m,d as b,g as v}from"./p-72f34a0a.js";import{s as f,a as g,c as C}from"./p-d74e95e5.js";import"./p-8b448a5b.js";import"./p-e3525c00.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}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=e,this.internallySetLabel=e),this.value&&this.value!==this.internallySetValue||(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 z=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),c(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),l(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"]}}};z.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,z 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{d as e}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.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-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.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,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 s,g as o}from"./p-9310b882.js";import{q as n,i as a,A as r,t as l}from"./p-a16feeec.js";import{c,b as h,a as d,r as f,F as p}from"./p-cacfa6ae.js";import{g as u}from"./p-8b448a5b.js";import{o as m}from"./p-7bb12deb.js";import{F as g}from"./p-0f85fa4b.js";import"./p-e3525c00.js";import"./p-a82f35c9.js";
6
+ import{r as t,c as i,h as e,H as s,g as o}from"./p-33613993.js";import{q as n,i as a,A as r,t as l}from"./p-e4f9b782.js";import{c,b as h,a as d,r as p,F as f}from"./p-2ee21e9d.js";import{g as u}from"./p-8b448a5b.js";import{o as m}from"./p-a097edf0.js";import{F as g}from"./p-2723beaa.js";import"./p-e3525c00.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.
@@ -19,4 +19,4 @@ function b(t){const{referenceElement:i}=t;return("string"==typeof i?n(t,{id:i}):
19
19
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
20
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
21
21
  * v1.6.1
22
- */const w=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.hoveredTooltip=null,this.clickedTooltip=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const e=b(i);e instanceof Element&&e.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const i=t.composedPath(),{activeTooltip:e}=this;if(e?.open&&i.includes(e))return void this.clearHoverTimeout();const s=this.queryTooltip(i);this.hoveredTooltip=s,this.isClosableClickedTooltip(s)||(this.clickedTooltip=null,s?this.openHoveredTooltip(s):e&&this.closeHoveredTooltip())},this.pointerDownHandler=t=>{if(!a(t))return;const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,i?.closeOnClick&&(this.toggleTooltip(i,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.activeTooltip!==this.hoveredTooltip&&(this.closeActiveTooltip(),t===this.hoveredTooltip&&this.toggleTooltip(t,!0)))}),this.activeTooltip?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);e&&this.registerShadowRoot(e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);i&&this.unregisterShadowRoot(i),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0}),t.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0}),t.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,i){this.closeActiveTooltip(),i&&this.clearHoverTimeout(),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());e&&!this.isClosableClickedTooltip(e)&&this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=(i.get(t)??0)+1;1===e&&this.addShadowListeners(t),i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=i.get(t)-1;0===e&&this.removeShadowListeners(t),i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?r(t):null}},y=class{constructor(e){t(this,e),this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=i(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${u()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=b(this.el),c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;t&&e&&!s&&console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute(v,i),w.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(v),w.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=h,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){m(this),t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded),this.open&&m(this)}async componentWillLoad(){this.open&&m(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),d(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:a,arrowEl:r}=this;return f(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:a,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this,a=t&&o,r=!a;return e(s,{"aria-hidden":l(r),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":r,id:this.getId(),role:"tooltip"},e("div",{class:{[p.animation]:!0,[p.animationActive]:a},ref:this.setTransitionEl},e(g,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:"container"},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};y.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-app-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tooltip}
22
+ */const w=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.hoveredTooltip=null,this.clickedTooltip=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const e=b(i);e instanceof Element&&e.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const i=t.composedPath(),{activeTooltip:e}=this;if(e?.open&&i.includes(e))return void this.clearHoverTimeout();const s=this.queryTooltip(i);this.hoveredTooltip=s,this.isClosableClickedTooltip(s)||(this.clickedTooltip=null,s?this.openHoveredTooltip(s):e&&this.closeHoveredTooltip())},this.pointerDownHandler=t=>{if(!a(t))return;const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,i?.closeOnClick&&(this.toggleTooltip(i,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.activeTooltip!==this.hoveredTooltip&&(this.closeActiveTooltip(),t===this.hoveredTooltip&&this.toggleTooltip(t,!0)))}),this.activeTooltip?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);e&&this.registerShadowRoot(e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);i&&this.unregisterShadowRoot(i),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0}),t.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0}),t.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,i){this.closeActiveTooltip(),i&&this.clearHoverTimeout(),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());e&&!this.isClosableClickedTooltip(e)&&this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=(i.get(t)??0)+1;1===e&&this.addShadowListeners(t),i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=i.get(t)-1;0===e&&this.removeShadowListeners(t),i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?r(t):null}},y=class{constructor(e){t(this,e),this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=i(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${u()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=b(this.el),c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;t&&e&&!s&&console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute(v,i),w.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(v),w.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=h,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){m(this),t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded),this.open&&m(this)}async componentWillLoad(){this.open&&m(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),d(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:a,arrowEl:r}=this;return p(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:a,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this,a=t&&o,r=!a;return e(s,{"aria-hidden":l(r),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":r,id:this.getId(),role:"tooltip"},e("div",{class:{[f.animation]:!0,[f.animationActive]:a},ref:this.setTransitionEl},e(g,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:"container"},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};y.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-app-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tooltip}
@@ -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 t}from"./p-9310b882.js";import{c as o}from"./p-588bc0c0.js";
6
+ import{f as t}from"./p-33613993.js";import{c as o}from"./p-588bc0c0.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 c,H as e,g as o}from"./p-9310b882.js";import{c as n,d as a}from"./p-c3ab7439.js";import{g as r,a as s,t as l,c as d}from"./p-a16feeec.js";import{C as h}from"./p-e3525c00.js";import"./p-588bc0c0.js";import"./p-8b448a5b.js";
6
+ import{r as i,c as t,h as c,H as e,g as o}from"./p-33613993.js";import{c as n,d as a}from"./p-bfc78840.js";import{g as r,a as s,t as l,c as d}from"./p-e4f9b782.js";import{C as h}from"./p-e3525c00.js";import"./p-588bc0c0.js";import"./p-8b448a5b.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 t,c as e,h as i,g as o}from"./p-9310b882.js";import{c as n,d as a}from"./p-c3ab7439.js";import{w as s,g as c}from"./p-a16feeec.js";import{s as l,a as r,c as d}from"./p-476e5302.js";import{c as h,d as g}from"./p-7f271c31.js";import{c as m,d as p,s as f,u}from"./p-2592c0b8.js";import{K as v}from"./p-c6e55b32.js";import"./p-588bc0c0.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";
6
+ import{r as t,c as e,h as i,g as o}from"./p-33613993.js";import{c as n,d as a}from"./p-bfc78840.js";import{v as s,g as c}from"./p-e4f9b782.js";import{s as l,a as r,c as d}from"./p-d74e95e5.js";import{c as h,d as g}from"./p-11550b3c.js";import{c as m,d as p,s as f,u}from"./p-79cc0531.js";import{K as v}from"./p-c6e55b32.js";import"./p-588bc0c0.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.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.
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{a as n}from"./p-33613993.js";import{c as o}from"./p-419c9d89.js";import{g as s}from"./p-11550b3c.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v1.6.1
11
+ */const t={},a={};async function r(o){const c=s(o);if(t[c])return t[c];a[c]||(a[c]=fetch(n(`./assets/date-picker/nls/${c}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${c}" not found or invalid, falling back to english`),r("en")))));const i=await a[c];return t[c]=i,i}function c(n){return n.map(((n,s)=>o(n,1===s)))}export{r as a,c as g}
@@ -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-9310b882.js";import{f as o,a as c,t as n}from"./p-a16feeec.js";import{g as l}from"./p-8b448a5b.js";import{i as r}from"./p-43ba7a04.js";import{c as d,d as h}from"./p-7f271c31.js";import{u as g,c as u,s as p,d as m}from"./p-2592c0b8.js";import{c as v,s as f,a as b}from"./p-476e5302.js";import"./p-e3525c00.js";import"./p-588bc0c0.js";
6
+ import{r as e,c as t,h as i,H as s,g as a}from"./p-33613993.js";import{f as o,a as c,t as n}from"./p-e4f9b782.js";import{g as l}from"./p-8b448a5b.js";import{i as r}from"./p-43ba7a04.js";import{c as d,d as h}from"./p-11550b3c.js";import{u as g,c as u,s as p,d as m}from"./p-79cc0531.js";import{c as v,s as f,a as b}from"./p-d74e95e5.js";import"./p-e3525c00.js";import"./p-588bc0c0.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{e,f as t}from"./p-9310b882.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=((e,t)=>e!==t))=>{const s=o(e);let n=new Map(Object.entries(null!=s?s:{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{var t;n=new Map(Object.entries(null!==(t=o(e))&&void 0!==t?t:{})),r.reset.forEach((e=>e()))},u=e=>(r.get.forEach((t=>t(e))),n.get(e)),i=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},p="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>u(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(i(t,s),!0)}),a=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:p,get:u,set:i,on:a,onChange:(t,s)=>{const n=a("set",((e,n)=>{e===t&&s(n)})),r=a("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(a("set",t.set)),t.get&&e.push(a("get",t.get)),t.reset&&e.push(a("reset",t.reset)),t.dispose&&e.push(a("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
6
+ import{e,f as t}from"./p-33613993.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=((e,t)=>e!==t))=>{const s=o(e);let n=new Map(Object.entries(null!=s?s:{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{var t;n=new Map(Object.entries(null!==(t=o(e))&&void 0!==t?t:{})),r.reset.forEach((e=>e()))},u=e=>(r.get.forEach((t=>t(e))),n.get(e)),i=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},p="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>u(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(i(t,s),!0)}),a=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:p,get:u,set:i,on:a,onChange:(t,s)=>{const n=a("set",((e,n)=>{e===t&&s(n)})),r=a("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(a("set",t.set)),t.get&&e.push(a("get",t.get)),t.reset&&e.push(a("reset",t.reset)),t.dispose&&e.push(a("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
@@ -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 e,h as t,H as n,g as c}from"./p-9310b882.js";import{r as a,t as s}from"./p-a16feeec.js";import{c as o,d as r}from"./p-c3ab7439.js";import{a as l,s as h,c as d}from"./p-476e5302.js";import{u as p,c as u,d as v,s as m}from"./p-2592c0b8.js";import{c as b,u as g,d as f}from"./p-ad75b9bb.js";import{c as k,d as x}from"./p-7f271c31.js";import{c as y}from"./p-588bc0c0.js";import{i as z}from"./p-43ba7a04.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";
6
+ import{r as i,c as e,h as t,H as n,g as c}from"./p-33613993.js";import{r as a,t as s}from"./p-e4f9b782.js";import{c as o,d as r}from"./p-bfc78840.js";import{a as l,s as h,c as d}from"./p-d74e95e5.js";import{u as p,c as u,d as v,s as m}from"./p-79cc0531.js";import{c as b,u as g,d as f}from"./p-ad75b9bb.js";import{c as k,d as x}from"./p-11550b3c.js";import{c as y}from"./p-588bc0c0.js";import{i as z}from"./p-43ba7a04.js";import"./p-8b448a5b.js";import"./p-e3525c00.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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";function a(e,a,t,s){var m={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return a?(m[t][2]?m[t][2]:m[t][1]).replace("%d",e):(s?m[t][0]:m[t][1]).replace("%d",e)}var t={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},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"}};e.locale(t,null,!0);export default t;
6
+ import{d as a}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";function e(a,e,t,s){var m={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return e?(m[t][2]?m[t][2]:m[t][1]).replace("%d",a):(s?m[t][0]:m[t][1]).replace("%d",a)}var t={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(a){return a+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy: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"}};a.locale(t,null,!0);export default t;
@@ -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-9310b882.js";
6
+ import{f as n}from"./p-33613993.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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var e={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(_){return _},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"}};_.locale(e,null,!0);export default e;
6
+ import{d as _}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";var e={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(_){return _},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"}};_.locale(e,null,!0);export default e;
@@ -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-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),_="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),e=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,t=function(a,t){return e.test(t)?s[a.month()]:_[a.month()]};t.s=_,t.f=s;var o={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:t,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,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:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(a){return a+"."}};a.locale(o,null,!0);export default o;
6
+ import{d as a}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";var s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),_="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),e=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,t=function(a,t){return e.test(t)?s[a.month()]:_[a.month()]};t.s=_,t.f=s;var o={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:t,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,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:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(a){return a+"."}};a.locale(o,null,!0);export default o;
@@ -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{n as t}from"./p-a16feeec.js";
6
+ import{n as t}from"./p-e4f9b782.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.