@esri/solutions-components 0.6.12 → 0.6.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (338) 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/cjs/calcite-shell-panel_14.cjs.entry.js +2 -1
  4. package/dist/cjs/card-manager_3.cjs.entry.js +60 -28
  5. package/dist/cjs/clean-url-d5326abb.js +573 -0
  6. package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -3
  7. package/dist/cjs/{downloadUtils-43f5be48.js → downloadUtils-fb4744e0.js} +296 -51
  8. package/dist/cjs/edit-card_2.cjs.entry.js +3 -3
  9. package/dist/cjs/{index.es-8da43c21.js → index.es-372e33de.js} +2 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -5
  12. package/dist/cjs/public-notification.cjs.entry.js +5 -4
  13. package/dist/cjs/solution-configuration.cjs.entry.js +44 -43
  14. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -1
  15. package/dist/cjs/{solution-store-3cd104d8.js → solution-store-c443e657.js} +7 -572
  16. package/dist/cjs/solutions-components.cjs.js +1 -1
  17. package/dist/collection/components/card-manager/card-manager.css +0 -5
  18. package/dist/collection/components/card-manager/card-manager.js +1 -1
  19. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +2 -2
  20. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +40 -2
  21. package/dist/collection/components/edit-card/edit-card.css +8 -0
  22. package/dist/collection/components/info-card/info-card.css +14 -14
  23. package/dist/collection/components/info-card/info-card.js +1 -1
  24. package/dist/collection/components/layer-table/layer-table.css +12 -0
  25. package/dist/collection/components/layer-table/layer-table.js +90 -24
  26. package/dist/collection/components/pdf-download/pdf-download.js +34 -6
  27. package/dist/collection/components/public-notification/public-notification.js +3 -3
  28. package/dist/collection/utils/downloadUtils.js +208 -82
  29. package/dist/collection/utils/downloadUtils.ts +257 -85
  30. package/dist/collection/utils/test/downloadUtils.spec.js +163 -134
  31. package/dist/collection/utils/test/downloadUtils.spec.tsx +2 -0
  32. package/dist/components/calcite-modal.js +1 -409
  33. package/dist/components/card-manager2.js +2 -2
  34. package/dist/components/clean-url.js +567 -0
  35. package/dist/components/crowdsource-manager.js +16 -12
  36. package/dist/components/downloadUtils.js +295 -50
  37. package/dist/components/edit-card2.js +1 -1
  38. package/dist/components/info-card2.js +2 -2
  39. package/dist/components/layer-table2.js +65 -31
  40. package/dist/components/modal.js +416 -0
  41. package/dist/components/pdf-download2.js +6 -4
  42. package/dist/components/public-notification.js +3 -3
  43. package/dist/components/solution-configuration.js +25 -24
  44. package/dist/components/solution-store.js +2 -562
  45. package/dist/esm/{ExpandToggle-86761b28.js → ExpandToggle-e614e3e4.js} +1 -1
  46. package/dist/esm/{ar-4a5375c6.js → ar-2f678abc.js} +8 -8
  47. package/dist/esm/{bg-b25e4b7a.js → bg-e514c4d7.js} +8 -8
  48. package/dist/esm/{bs-2485dfed.js → bs-81584b09.js} +8 -8
  49. package/dist/esm/buffer-tools_4.entry.js +4 -4
  50. package/dist/esm/{ca-bba36d26.js → ca-e8c40e21.js} +8 -8
  51. package/dist/esm/calcite-accordion-item.entry.js +1 -1
  52. package/dist/esm/calcite-action-bar_3.entry.js +5 -5
  53. package/dist/esm/calcite-action-group_2.entry.js +3 -3
  54. package/dist/esm/calcite-action-pad.entry.js +4 -4
  55. package/dist/esm/calcite-action_2.entry.js +5 -5
  56. package/dist/esm/calcite-alert.entry.js +3 -3
  57. package/dist/esm/calcite-avatar.entry.js +1 -1
  58. package/dist/esm/calcite-block-section.entry.js +3 -3
  59. package/dist/esm/calcite-block.entry.js +3 -3
  60. package/dist/esm/calcite-button.entry.js +5 -5
  61. package/dist/esm/calcite-card.entry.js +3 -3
  62. package/dist/esm/calcite-checkbox.entry.js +3 -3
  63. package/dist/esm/calcite-chip-group.entry.js +1 -1
  64. package/dist/esm/calcite-chip.entry.js +3 -3
  65. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
  66. package/dist/esm/calcite-color-picker.entry.js +3 -3
  67. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  68. package/dist/esm/calcite-combobox_6.entry.js +7 -7
  69. package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
  70. package/dist/esm/calcite-date-picker.entry.js +5 -5
  71. package/dist/esm/calcite-fab.entry.js +1 -1
  72. package/dist/esm/calcite-filter_3.entry.js +3 -3
  73. package/dist/esm/calcite-flow-item.entry.js +3 -3
  74. package/dist/esm/calcite-icon.entry.js +1 -1
  75. package/dist/esm/calcite-inline-editable.entry.js +4 -4
  76. package/dist/esm/calcite-input-date-picker.entry.js +9 -9
  77. package/dist/esm/calcite-input-number_2.entry.js +5 -5
  78. package/dist/esm/{calcite-input-time-picker-7da2e80a.js → calcite-input-time-picker-fe6e499a.js} +55 -55
  79. package/dist/esm/calcite-input-time-picker.entry.js +8 -8
  80. package/dist/esm/calcite-input-time-zone.entry.js +5 -5
  81. package/dist/esm/calcite-input_2.entry.js +5 -5
  82. package/dist/esm/calcite-label.entry.js +2 -2
  83. package/dist/esm/calcite-link.entry.js +1 -1
  84. package/dist/esm/calcite-menu-item.entry.js +3 -3
  85. package/dist/esm/calcite-menu.entry.js +3 -3
  86. package/dist/esm/calcite-modal.entry.js +4 -4
  87. package/dist/esm/calcite-navigation.entry.js +1 -1
  88. package/dist/esm/calcite-notice.entry.js +3 -3
  89. package/dist/esm/calcite-option_2.entry.js +3 -3
  90. package/dist/esm/calcite-pagination.entry.js +3 -3
  91. package/dist/esm/calcite-panel_2.entry.js +3 -3
  92. package/dist/esm/calcite-pick-list-group.entry.js +1 -1
  93. package/dist/esm/calcite-pick-list-item.entry.js +3 -3
  94. package/dist/esm/calcite-pick-list.entry.js +2 -2
  95. package/dist/esm/calcite-radio-button.entry.js +3 -3
  96. package/dist/esm/calcite-rating.entry.js +5 -5
  97. package/dist/esm/calcite-scrim.entry.js +3 -3
  98. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  99. package/dist/esm/calcite-shell-center-row.entry.js +1 -1
  100. package/dist/esm/calcite-shell-panel_14.entry.js +7 -6
  101. package/dist/esm/calcite-sortable-list.entry.js +2 -2
  102. package/dist/esm/calcite-stepper-item.entry.js +2 -2
  103. package/dist/esm/calcite-stepper.entry.js +1 -1
  104. package/dist/esm/calcite-switch.entry.js +3 -3
  105. package/dist/esm/calcite-text-area.entry.js +5 -5
  106. package/dist/esm/calcite-tile.entry.js +1 -1
  107. package/dist/esm/calcite-time-picker.entry.js +4 -4
  108. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  109. package/dist/esm/calcite-tip.entry.js +3 -3
  110. package/dist/esm/calcite-tooltip.entry.js +2 -2
  111. package/dist/esm/calcite-tree_3.entry.js +1 -1
  112. package/dist/esm/card-manager_3.entry.js +60 -28
  113. package/dist/esm/clean-url-bce022e6.js +567 -0
  114. package/dist/esm/crowdsource-manager.entry.js +5 -3
  115. package/dist/esm/{cs-1052c5ac.js → cs-af5f115e.js} +8 -8
  116. package/dist/esm/{da-b7ed9204.js → da-06d9e22c.js} +8 -8
  117. package/dist/esm/{date-bd5b879c.js → date-641ae749.js} +1 -1
  118. package/dist/esm/{de-at-a993e5ae.js → de-at-f55a700a.js} +8 -8
  119. package/dist/esm/{de-ch-acff745d.js → de-ch-7307675f.js} +8 -8
  120. package/dist/esm/{de-bb68e752.js → de-dc98363f.js} +8 -8
  121. package/dist/esm/{dom-37f2dec9.js → dom-2b326ec3.js} +1 -1
  122. package/dist/esm/{downloadUtils-42156cd8.js → downloadUtils-67c7a6c8.js} +296 -51
  123. package/dist/esm/edit-card_2.entry.js +3 -3
  124. package/dist/esm/{el-9de96ff0.js → el-91c64808.js} +8 -8
  125. package/dist/esm/{en-au-f68b6bde.js → en-au-df08cc25.js} +8 -8
  126. package/dist/esm/{en-ca-5360517e.js → en-ca-175f7c0f.js} +8 -8
  127. package/dist/esm/{en-gb-de0b3125.js → en-gb-90a08c7f.js} +8 -8
  128. package/dist/esm/{es-5ecbba77.js → es-5cb54b05.js} +8 -8
  129. package/dist/esm/{es-mx-aa126462.js → es-mx-3a0cb804.js} +8 -8
  130. package/dist/esm/{et-7113eeb8.js → et-eceac6dc.js} +8 -8
  131. package/dist/esm/{fi-ffa60f15.js → fi-26e1c14f.js} +8 -8
  132. package/dist/esm/{floating-ui-7cde67cf.js → floating-ui-9f8e4ed4.js} +1 -1
  133. package/dist/esm/{focusTrapComponent-ec344399.js → focusTrapComponent-ad2c3a31.js} +1 -1
  134. package/dist/esm/{form-24e6ef1d.js → form-0871d2c6.js} +1 -1
  135. package/dist/esm/{fr-681c5bf6.js → fr-12a5b0f7.js} +8 -8
  136. package/dist/esm/{fr-ch-9af1f8b1.js → fr-ch-e3406887.js} +8 -8
  137. package/dist/esm/{he-5188f277.js → he-61eba811.js} +8 -8
  138. package/dist/esm/{hi-6a31e3a4.js → hi-a50282b5.js} +8 -8
  139. package/dist/esm/{hr-0598e59d.js → hr-da8bffaf.js} +8 -8
  140. package/dist/esm/{hu-13cb9f41.js → hu-dab932f1.js} +8 -8
  141. package/dist/esm/{id-7f342499.js → id-de468947.js} +8 -8
  142. package/dist/esm/{index.es-f47c4153.js → index.es-59a67d3d.js} +2 -1
  143. package/dist/esm/{it-57d790f2.js → it-375d9936.js} +8 -8
  144. package/dist/esm/{it-ch-081af760.js → it-ch-7e663d63.js} +8 -8
  145. package/dist/esm/{ja-3affb68e.js → ja-36dbe39d.js} +8 -8
  146. package/dist/esm/{ko-736632aa.js → ko-858bc871.js} +8 -8
  147. package/dist/esm/{label-b6dfb4d5.js → label-b8caf984.js} +1 -1
  148. package/dist/esm/loader.js +1 -1
  149. package/dist/esm/{locale-146251f7.js → locale-00000ab4.js} +1 -1
  150. package/dist/esm/{lt-e7d9b1c3.js → lt-d6dfa7e4.js} +8 -8
  151. package/dist/esm/{lv-4d1a507e.js → lv-facd25c5.js} +8 -8
  152. package/dist/esm/map-select-tools_3.entry.js +8 -5
  153. package/dist/esm/{mk-f960312d.js → mk-5ed05b6a.js} +8 -8
  154. package/dist/esm/{nb-4556b5e9.js → nb-936fc687.js} +8 -8
  155. package/dist/esm/{nl-8e281c01.js → nl-a923d626.js} +8 -8
  156. package/dist/esm/{pl-1460fd5a.js → pl-b1426275.js} +8 -8
  157. package/dist/esm/{pt-660332b6.js → pt-1ac2453f.js} +8 -8
  158. package/dist/esm/{pt-br-dba48f49.js → pt-br-7194cc5f.js} +8 -8
  159. package/dist/esm/public-notification.entry.js +5 -4
  160. package/dist/esm/{ro-ac18f292.js → ro-518aaed1.js} +8 -8
  161. package/dist/esm/{ru-b914f6b7.js → ru-762127a3.js} +8 -8
  162. package/dist/esm/{shared-list-render-cc889757.js → shared-list-render-ec232615.js} +1 -1
  163. package/dist/esm/{sk-1be12963.js → sk-f367b7ba.js} +8 -8
  164. package/dist/esm/{sl-5d47e4e4.js → sl-052fd4d2.js} +8 -8
  165. package/dist/esm/solution-configuration.entry.js +25 -24
  166. package/dist/esm/solution-contents_3.entry.js +2 -1
  167. package/dist/esm/{solution-store-cf902566.js → solution-store-b29d50f7.js} +2 -562
  168. package/dist/esm/solutions-components.js +1 -1
  169. package/dist/esm/{sortableComponent-8a84709a.js → sortableComponent-ebd6bb72.js} +1 -1
  170. package/dist/esm/{sr-3281c92d.js → sr-4dc0fdb9.js} +8 -8
  171. package/dist/esm/{sv-e5169404.js → sv-bdc87a4d.js} +8 -8
  172. package/dist/esm/{t9n-d9c203e4.js → t9n-9791aa0c.js} +1 -1
  173. package/dist/esm/{th-937796b8.js → th-d9df674c.js} +8 -8
  174. package/dist/esm/{time-fa1151aa.js → time-73378c4a.js} +1 -1
  175. package/dist/esm/{tr-6d3b100b.js → tr-61e134eb.js} +8 -8
  176. package/dist/esm/{uk-a6edcacf.js → uk-ea3d8da7.js} +8 -8
  177. package/dist/esm/{utils-667cc396.js → utils-593fafd7.js} +1 -1
  178. package/dist/esm/{utils-24a35b5a.js → utils-bd52db7d.js} +2 -2
  179. package/dist/esm/{vi-bf4c179c.js → vi-ade1c25b.js} +8 -8
  180. package/dist/esm/{zh-cn-de1858cb.js → zh-cn-b8756118.js} +8 -8
  181. package/dist/esm/{zh-hk-12fa404f.js → zh-hk-d18c05d9.js} +8 -8
  182. package/dist/esm/{zh-tw-5c4220e5.js → zh-tw-9c98ff7c.js} +8 -8
  183. package/dist/solutions-components/{p-3b891cc4.entry.js → p-01fea8d5.entry.js} +1 -1
  184. package/dist/solutions-components/{p-d793ec96.entry.js → p-0219a1a9.entry.js} +5 -5
  185. package/dist/solutions-components/{p-65022e7f.entry.js → p-02ff64f4.entry.js} +1 -1
  186. package/dist/solutions-components/p-062254a6.entry.js +6 -0
  187. package/dist/solutions-components/{p-bff158ff.js → p-062d2f9a.js} +1 -1
  188. package/dist/solutions-components/{p-f4e5b7e5.entry.js → p-084bced1.entry.js} +1 -1
  189. package/dist/solutions-components/{p-c261335b.entry.js → p-088e4cfc.entry.js} +1 -1
  190. package/dist/solutions-components/{p-96239d0d.js → p-08e35485.js} +1 -1
  191. package/dist/solutions-components/{p-3d3772fb.js → p-0d14d33a.js} +1 -1
  192. package/dist/solutions-components/{p-7f271c31.js → p-11550b3c.js} +3 -3
  193. package/dist/solutions-components/{p-ad19f9b0.entry.js → p-120c4098.entry.js} +1 -1
  194. package/dist/solutions-components/{p-45419d93.entry.js → p-12bcd474.entry.js} +1 -1
  195. package/dist/solutions-components/{p-bd82849c.entry.js → p-1597ec4b.entry.js} +1 -1
  196. package/dist/solutions-components/{p-afb35c95.js → p-17d176b5.js} +14 -43
  197. package/dist/solutions-components/{p-0503c78d.js → p-1b41181b.js} +44 -29
  198. package/dist/solutions-components/{p-127c3866.js → p-1c5787b1.js} +1 -1
  199. package/dist/solutions-components/{p-b97886b3.entry.js → p-1d9a5198.entry.js} +1 -1
  200. package/dist/solutions-components/{p-8e3e1ce8.entry.js → p-1dd5c4e6.entry.js} +1 -1
  201. package/dist/solutions-components/{p-97b69f54.entry.js → p-1e62d118.entry.js} +1 -1
  202. package/dist/solutions-components/{p-537c34a4.entry.js → p-1fae3819.entry.js} +1 -1
  203. package/dist/solutions-components/{p-82f0b25b.js → p-21aa112d.js} +1 -1
  204. package/dist/solutions-components/{p-f8944f59.entry.js → p-252a9a7f.entry.js} +1 -1
  205. package/dist/solutions-components/{p-80ea5869.js → p-26b28806.js} +1 -1
  206. package/dist/solutions-components/{p-dac10448.js → p-280fd963.js} +3 -3
  207. package/dist/solutions-components/{p-79d7f324.js → p-29049359.js} +1 -1
  208. package/dist/solutions-components/{p-c033b8ec.entry.js → p-2b378389.entry.js} +1 -1
  209. package/dist/solutions-components/{p-19ec0463.js → p-2bdd1a5d.js} +1 -1
  210. package/dist/solutions-components/{p-cacfa6ae.js → p-2ee21e9d.js} +1 -1
  211. package/dist/solutions-components/{p-300f4299.js → p-2f42ae51.js} +1 -1
  212. package/dist/solutions-components/{p-418be467.js → p-30b3261c.js} +1 -1
  213. package/dist/solutions-components/{p-4d91443a.entry.js → p-32ba2223.entry.js} +1 -1
  214. package/dist/solutions-components/{p-702c6093.js → p-34673137.js} +1 -1
  215. package/dist/solutions-components/{p-61af54b9.entry.js → p-3566ee69.entry.js} +1 -1
  216. package/dist/solutions-components/{p-90a9126f.js → p-358b9cc8.js} +1 -1
  217. package/dist/solutions-components/p-3a6c8fc3.entry.js +6 -0
  218. package/dist/solutions-components/p-3a8d82a2.js +11 -0
  219. package/dist/solutions-components/{p-628c170b.entry.js → p-3ab94526.entry.js} +1 -1
  220. package/dist/solutions-components/p-3b1fc7a2.entry.js +6 -0
  221. package/dist/solutions-components/{p-b1daad7e.js → p-3f7119c1.js} +1 -1
  222. package/dist/solutions-components/{p-f0f5ecb2.js → p-3fcd035e.js} +1 -1
  223. package/dist/solutions-components/{p-3766be72.js → p-419c9d89.js} +1 -1
  224. package/dist/solutions-components/p-453d1b31.entry.js +6 -0
  225. package/dist/solutions-components/{p-337f6adf.js → p-46918548.js} +1 -1
  226. package/dist/solutions-components/p-49e9e4e3.js +12 -0
  227. package/dist/solutions-components/p-4d942b0f.entry.js +36 -0
  228. package/dist/solutions-components/{p-85e0d2a3.js → p-4fc92419.js} +1 -1
  229. package/dist/solutions-components/{p-0d08a75d.entry.js → p-52afbe07.entry.js} +1 -1
  230. package/dist/solutions-components/{p-9391bb74.js → p-573d0763.js} +1 -1
  231. package/dist/solutions-components/{p-87971116.entry.js → p-59ef9461.entry.js} +1 -1
  232. package/dist/solutions-components/{p-25718b9f.entry.js → p-5e5749c0.entry.js} +1 -1
  233. package/dist/solutions-components/{p-54064b61.entry.js → p-5ff22d2e.entry.js} +1 -1
  234. package/dist/solutions-components/{p-4bd793ef.entry.js → p-617f32a0.entry.js} +1 -1
  235. package/dist/solutions-components/{p-747a1293.js → p-6510c06c.js} +1 -1
  236. package/dist/solutions-components/{p-1f69762c.js → p-65ba4d10.js} +1 -1
  237. package/dist/solutions-components/{p-4cb7cdb7.entry.js → p-65ffe4b0.entry.js} +1 -1
  238. package/dist/solutions-components/{p-1b4d6511.js → p-68007503.js} +1 -1
  239. package/dist/solutions-components/{p-e849d2ba.entry.js → p-6ba8483c.entry.js} +2 -2
  240. package/dist/solutions-components/{p-9961a2f9.entry.js → p-6c8c7b98.entry.js} +2 -2
  241. package/dist/solutions-components/{p-ff863f3d.entry.js → p-6e5d9ae9.entry.js} +1 -1
  242. package/dist/solutions-components/{p-b6a1c34f.entry.js → p-6ebf870c.entry.js} +1 -1
  243. package/dist/solutions-components/{p-d2d3e4b5.js → p-72f34a0a.js} +1 -1
  244. package/dist/solutions-components/{p-981fc8e4.entry.js → p-7359a6ac.entry.js} +1 -1
  245. package/dist/solutions-components/{p-9791fbf1.entry.js → p-73ab9d9a.entry.js} +1 -1
  246. package/dist/solutions-components/{p-9abb1c4c.entry.js → p-73fe6f7e.entry.js} +1 -1
  247. package/dist/solutions-components/{p-62e3adbb.js → p-7452d79a.js} +1 -1
  248. package/dist/solutions-components/{p-34169501.js → p-76c2c379.js} +1 -1
  249. package/dist/solutions-components/{p-941721ba.js → p-788aa5d7.js} +1 -1
  250. package/dist/solutions-components/{p-557d4cc5.js → p-79cc0531.js} +2 -2
  251. package/dist/solutions-components/{p-a19d8147.js → p-7a0fa011.js} +1 -1
  252. package/dist/solutions-components/{p-019fe9fe.entry.js → p-7a55cee6.entry.js} +3 -3
  253. package/dist/solutions-components/{p-48329056.entry.js → p-7bc63171.entry.js} +1 -1
  254. package/dist/solutions-components/{p-e7304151.entry.js → p-81664d83.entry.js} +1 -1
  255. package/dist/solutions-components/{p-9504c1b7.js → p-8354f486.js} +1 -1
  256. package/dist/solutions-components/{p-f812e3ee.entry.js → p-84dff306.entry.js} +1 -1
  257. package/dist/solutions-components/{p-a59dba2f.js → p-8594fe6b.js} +1 -1
  258. package/dist/solutions-components/{p-ae3ec77d.js → p-8b2d396e.js} +1 -1
  259. package/dist/solutions-components/{p-38cc8a4d.js → p-8ec6ea34.js} +1 -1
  260. package/dist/solutions-components/{p-da760d1d.entry.js → p-8ee00658.entry.js} +1 -1
  261. package/dist/solutions-components/{p-38211628.js → p-905fcf73.js} +1 -1
  262. package/dist/solutions-components/{p-e502ccce.entry.js → p-929909bc.entry.js} +1 -1
  263. package/dist/solutions-components/{p-dd5f68f2.js → p-948b5722.js} +1 -1
  264. package/dist/solutions-components/{p-39fe9a4c.js → p-956f3207.js} +1 -1
  265. package/dist/solutions-components/{p-f7aa542c.js → p-96287d23.js} +1 -1
  266. package/dist/solutions-components/{p-68630513.entry.js → p-964c0e7d.entry.js} +1 -1
  267. package/dist/solutions-components/{p-b09d8c0e.entry.js → p-98051370.entry.js} +1 -1
  268. package/dist/solutions-components/p-9a8c51bf.entry.js +6 -0
  269. package/dist/solutions-components/{p-efd70bf7.entry.js → p-9a94f48c.entry.js} +2 -2
  270. package/dist/solutions-components/{p-318790b8.js → p-9b94501c.js} +1 -1
  271. package/dist/solutions-components/{p-69e26726.js → p-9d4467a3.js} +1 -1
  272. package/dist/solutions-components/{p-f6cf9943.js → p-9e3c9cd2.js} +1 -1
  273. package/dist/solutions-components/{p-30542275.js → p-9fd59203.js} +1 -1
  274. package/dist/solutions-components/{p-d902b790.js → p-a201bffc.js} +1 -1
  275. package/dist/solutions-components/{p-1552c479.entry.js → p-a3729795.entry.js} +1 -1
  276. package/dist/solutions-components/{p-ae4ad673.entry.js → p-a47ed290.entry.js} +2 -2
  277. package/dist/solutions-components/{p-ca5be55f.entry.js → p-a5ef322f.entry.js} +2 -2
  278. package/dist/solutions-components/p-a776b7e6.entry.js +6 -0
  279. package/dist/solutions-components/{p-3658ebd8.entry.js → p-a97e8d6a.entry.js} +1 -1
  280. package/dist/solutions-components/{p-2937523d.js → p-aaea9203.js} +1 -1
  281. package/dist/solutions-components/{p-b7093e6d.entry.js → p-ad1d56b1.entry.js} +1 -1
  282. package/dist/solutions-components/{p-0ca528ec.js → p-adeb0e8f.js} +1 -1
  283. package/dist/solutions-components/{p-31d2a105.entry.js → p-af63959a.entry.js} +1 -1
  284. package/dist/solutions-components/{p-fbd71543.entry.js → p-b1125581.entry.js} +2 -2
  285. package/dist/solutions-components/{p-b029c6d8.js → p-b20a31c8.js} +1 -1
  286. package/dist/solutions-components/{p-71400268.js → p-b81131b3.js} +1 -1
  287. package/dist/solutions-components/p-b892e595.entry.js +6 -0
  288. package/dist/solutions-components/{p-cc624b0c.entry.js → p-b89c5865.entry.js} +1 -1
  289. package/dist/solutions-components/{p-245d667e.js → p-b9b52743.js} +1 -1
  290. package/dist/solutions-components/{p-0870f436.entry.js → p-ba99e562.entry.js} +1 -1
  291. package/dist/solutions-components/{p-2d614afc.js → p-bc548c06.js} +1 -1
  292. package/dist/solutions-components/{p-29b2f046.js → p-bccbdeb5.js} +1 -1
  293. package/dist/solutions-components/{p-f72e0965.entry.js → p-bd318e33.entry.js} +1 -1
  294. package/dist/solutions-components/{p-74aa84f6.js → p-bd766e49.js} +1 -1
  295. package/dist/solutions-components/{p-1a47516a.entry.js → p-be36d5ed.entry.js} +1 -1
  296. package/dist/solutions-components/{p-9b75102b.entry.js → p-c073d2d6.entry.js} +1 -1
  297. package/dist/solutions-components/{p-712ea336.entry.js → p-c644edf5.entry.js} +1 -1
  298. package/dist/solutions-components/p-c6b7e7ff.js +11 -0
  299. package/dist/solutions-components/{p-dc80cb69.entry.js → p-ca0b3a2b.entry.js} +1 -1
  300. package/dist/solutions-components/{p-3e9fc0aa.entry.js → p-cfd88a2f.entry.js} +1 -1
  301. package/dist/solutions-components/{p-e9fcf408.js → p-d5228aed.js} +1 -1
  302. package/dist/solutions-components/{p-80b87453.js → p-d98caa4c.js} +1 -1
  303. package/dist/solutions-components/{p-45b829b5.js → p-dd9c065e.js} +1 -1
  304. package/dist/solutions-components/{p-05b2bdf9.js → p-dedc167c.js} +1 -1
  305. package/dist/solutions-components/{p-a16feeec.js → p-e4f9b782.js} +1 -1
  306. package/dist/solutions-components/{p-ac1bd870.entry.js → p-e572a692.entry.js} +1 -1
  307. package/dist/solutions-components/{p-74521615.entry.js → p-e5dda947.entry.js} +1 -1
  308. package/dist/solutions-components/{p-bbfc2724.js → p-e7fbf2fe.js} +1 -1
  309. package/dist/solutions-components/{p-dda325a4.entry.js → p-e9ba0c7f.entry.js} +1 -1
  310. package/dist/solutions-components/{p-75e707d1.js → p-eb60ec2a.js} +1 -1
  311. package/dist/solutions-components/p-ecc95259.js +20 -0
  312. package/dist/solutions-components/{p-85791b16.entry.js → p-ee144348.entry.js} +1 -1
  313. package/dist/solutions-components/{p-4b4559f9.js → p-f03bed0c.js} +1 -1
  314. package/dist/solutions-components/{p-7a11983d.js → p-f5028a8e.js} +1 -1
  315. package/dist/solutions-components/{p-fb23ba4a.entry.js → p-f50cf603.entry.js} +1 -1
  316. package/dist/solutions-components/{p-f7b520ae.js → p-f7d8b6b3.js} +1 -1
  317. package/dist/solutions-components/{p-89cbb86a.js → p-f9166fcb.js} +3 -3
  318. package/dist/solutions-components/{p-792fcd62.entry.js → p-fb0f2016.entry.js} +1 -1
  319. package/dist/solutions-components/solutions-components.esm.js +1 -1
  320. package/dist/solutions-components/utils/downloadUtils.ts +257 -85
  321. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +2 -0
  322. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +8 -0
  323. package/dist/types/components/layer-table/layer-table.d.ts +42 -26
  324. package/dist/types/components/pdf-download/pdf-download.d.ts +4 -2
  325. package/dist/types/components.d.ts +36 -2
  326. package/dist/types/utils/downloadUtils.d.ts +34 -16
  327. package/package.json +8 -9
  328. package/dist/solutions-components/p-06712292.js +0 -11
  329. package/dist/solutions-components/p-0a0c3764.js +0 -11
  330. package/dist/solutions-components/p-12a7c2db.entry.js +0 -6
  331. package/dist/solutions-components/p-3a7cd2b0.entry.js +0 -37
  332. package/dist/solutions-components/p-8e9d9e6a.js +0 -12
  333. package/dist/solutions-components/p-97088307.entry.js +0 -6
  334. package/dist/solutions-components/p-a16e6f5f.entry.js +0 -6
  335. package/dist/solutions-components/p-d118a76e.entry.js +0 -6
  336. package/dist/solutions-components/p-d54c2dfd.entry.js +0 -6
  337. package/dist/solutions-components/p-d7d466e8.entry.js +0 -6
  338. package/dist/solutions-components/p-ffbe89cf.entry.js +0 -6
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.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-33613993.js";import{c as a}from"./p-588bc0c0.js";import{h as o}from"./p-a16feeec.js";import{c,d as r,a as l,H as h}from"./p-8e9d9e6a.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-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}
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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.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-33613993.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 p,F as f}from"./p-cacfa6ae.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";
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.
@@ -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-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-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-33613993.js";import{c as n,d as a}from"./p-bfc78840.js";import{w as s,g as c}from"./p-a16feeec.js";import{s as l,a as r,c as d}from"./p-d74e95e5.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-557d4cc5.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-33613993.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-557d4cc5.js";import{c as v,s as f,a as b}from"./p-d74e95e5.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,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-33613993.js";import{r as a,t as s}from"./p-a16feeec.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-557d4cc5.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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.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,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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.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.
@@ -14,4 +14,4 @@ var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hre
14
14
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
15
  * v1.6.1
16
16
  */
17
- const N={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){const r=O(n,`.${t.darkMode}, .${t.lightMode}`);return r?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function L(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function R(n){return n.getRootNode()}function D(n){const t=R(n);return"host"in t?t:null}function k(n){return n.host||null}function C(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=R(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(k(R(r))):null}(n)}function U(n,t){return B(n,t)}function B(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return B(e instanceof ShadowRoot?e.host:e,t)}function P(n,t){return!!U(t,(t=>t===n||void 0))}async function j(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function z(n){n&&(h(n,N)[0]||n).focus()}const F=":not([slot])";function M(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:F;return r?.all?function(n,t,r){let e=t===F?q(n,F):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===F?q(n,F)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function q(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function G(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function V(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function X(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function Y(n){return Boolean(n).toString()}function H(n){return J(n)||function(n){return!!function(n){return function(n){return n.target.assignedNodes({flatten:!0})}(n).filter((n=>n.nodeType===Node.TEXT_NODE)).map((n=>n.textContent)).join("").trim()}(n)}(n)}function J(n){return!!K(n).length}function K(n){return n.target.assignedElements({flatten:!0})}function Q(n){return!(!n.isPrimary||0!==n.button)}const W=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],j(u),u};export{D as A,H as B,$ as a,P as b,O as c,W as d,L as e,z as f,M as g,j as h,Q as i,h as j,A as k,S as l,s as m,T as n,g as o,N as p,C as q,J as r,K as s,Y as t,I as u,x as v,V as w,X as x,G as y,R as z}
17
+ const N={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){const r=O(n,`.${t.darkMode}, .${t.lightMode}`);return r?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function L(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function R(n){return n.getRootNode()}function D(n){const t=R(n);return"host"in t?t:null}function k(n){return n.host||null}function C(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=R(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(k(R(r))):null}(n)}function U(n,t){return B(n,t)}function B(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return B(e instanceof ShadowRoot?e.host:e,t)}function P(n,t){return!!U(t,(t=>t===n||void 0))}async function j(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function z(n){n&&(h(n,N)[0]||n).focus()}const F=":not([slot])";function M(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:F;return r?.all?function(n,t,r){let e=t===F?q(n,F):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===F?q(n,F)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function q(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function G(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function V(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function X(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function Y(n){return Boolean(n).toString()}function H(n){return J(n)||function(n){return!!function(n){return function(n){return n.target.assignedNodes({flatten:!0})}(n).filter((n=>n.nodeType===Node.TEXT_NODE)).map((n=>n.textContent)).join("").trim()}(n)}(n)}function J(n){return!!K(n).length}function K(n){return n.target.assignedElements({flatten:!0})}function Q(n){return!(!n.isPrimary||0!==n.button)}const W=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],j(u),u};export{D as A,H as B,$ as a,P as b,O as c,W as d,L as e,z as f,M as g,j as h,Q as i,h as j,A as k,S as l,s as m,T as n,g as o,N as p,C as q,J as r,K as s,Y as t,x as u,V as v,X as w,I as x,G as y,R as z}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,H as n,g as s}from"./p-33613993.js";import{g as o,i as a,w as r,a as l}from"./p-a16feeec.js";import{s as c,c as h,d as u,H as d}from"./p-8e9d9e6a.js";import{c as p,d as b,u as m}from"./p-ad75b9bb.js";import{n as v}from"./p-43ba7a04.js";import{c as f,d as g,g as x}from"./p-d2d3e4b5.js";import{s as k,a as w,c as y}from"./p-d74e95e5.js";import{n as z,i as j,p as I,s as E,e as C,c as D,d as L,B as F}from"./p-7f271c31.js";import{c as W}from"./p-588bc0c0.js";import{C as K}from"./p-e3525c00.js";import{u as $,c as H,d as N,s as P}from"./p-557d4cc5.js";import"./p-8b448a5b.js";
6
+ import{r as t,c as i,h as e,H as n,g as s}from"./p-33613993.js";import{g as o,i as a,v as r,a as l}from"./p-e4f9b782.js";import{s as c,c as h,d as u,H as d}from"./p-49e9e4e3.js";import{c as p,d as b,u as m}from"./p-ad75b9bb.js";import{n as v}from"./p-43ba7a04.js";import{c as f,d as g,g as x}from"./p-72f34a0a.js";import{s as k,a as w,c as y}from"./p-d74e95e5.js";import{n as z,i as j,p as I,s as E,e as C,c as D,d as L,B as F}from"./p-11550b3c.js";import{c as W}from"./p-588bc0c0.js";import{C as K}from"./p-e3525c00.js";import{u as $,c as H,d as N,s as P}from"./p-79cc0531.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,H as s,g as a}from"./p-33613993.js";import{r as o,w as n,t as l,g as r}from"./p-a16feeec.js";import{s as c,a as d,c as h}from"./p-d74e95e5.js";import{c as u,d as m,n as p}from"./p-7f271c31.js";import{o as g}from"./p-a097edf0.js";import{c as v,s as f,d as b,u as k}from"./p-557d4cc5.js";import{K as w}from"./p-c6e55b32.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";import"./p-588bc0c0.js";
6
+ import{r as t,c as e,h as i,H as s,g as a}from"./p-33613993.js";import{r as o,v as n,t as l,g as r}from"./p-e4f9b782.js";import{s as c,a as d,c as h}from"./p-d74e95e5.js";import{c as u,d as m,n as p}from"./p-11550b3c.js";import{o as g}from"./p-a097edf0.js";import{c as v,s as f,d as b,u as k}from"./p-79cc0531.js";import{K as w}from"./p-c6e55b32.js";import"./p-8b448a5b.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,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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var n={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,!0);export default n;
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 r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,n){var a=r[n];return Array.isArray(a)&&(a=a[t?0:1]),a.replace("%d",e)}var n={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,!0);export default n;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,h as i,F as e,g as s,c as o}from"./p-33613993.js";import{c as n,d as a}from"./p-bfc78840.js";import{c,s as l,a as r}from"./p-d74e95e5.js";import{c as h,d}from"./p-7f271c31.js";import{u,c as p,d as m,s as f}from"./p-557d4cc5.js";import{S as g,C as v,I as x}from"./p-4a75b3dc.js";import{S as b,I as y}from"./p-e761b7cd.js";import{r as w,t as I,i as M,h as k}from"./p-a16feeec.js";import{g as j}from"./p-0ed14b4b.js";import{g as E}from"./p-8b448a5b.js";import{i as C}from"./p-43ba7a04.js";import"./p-588bc0c0.js";import"./p-e3525c00.js";const z=class{constructor(i){t(this,i),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=w(t)},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await c(this),this.el.focus()}connectedCallback(){h(this),p(this),n(this)}disconnectedCallback(){d(this),m(this),a(this)}async componentWillLoad(){l(this),await f(this)}componentDidLoad(){r(this)}renderMenu(){const{expanded:t,menuOpen:e,scale:s,layout:o,messages:n,overlayPositioning:a,hasMenuActions:c}=this;return i("calcite-action-menu",{expanded:t,flipPlacements:["left","right"],hidden:!c,label:n.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,overlayPositioning:a,placement:"horizontal"===o?"bottom-start":"leading-start",scale:s},i("calcite-action",{icon:y.menu,scale:s,slot:g.trigger,text:n.more,textEnabled:t}),i("slot",{name:b.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),i("slot",{name:b.menuTooltip,slot:g.tooltip}))}render(){return i(e,null,i("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}:host([hidden]){display:none}[hidden]{display:none}';const H=["ArrowUp","ArrowDown","End","Home"],A=class{constructor(i){t(this,i),this.calciteActionMenuOpen=o(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${E()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:s}=this,o=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==o&&(this.disconnectMenuButtonEl(),this.menuButtonEl=o,this.setTooltipReferenceElement(),o&&(o.active=e,o.setAttribute("aria-controls",i),o.setAttribute("aria-expanded",I(e)),o.setAttribute("aria-haspopup","true"),o.id||(o.id=t),o.label||(o.label=s),o.text||(o.text=s),o.addEventListener("pointerdown",this.menuButtonClick),o.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{M(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:s}=this;t&&(t.referenceElement=i||s?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:s}=this,o=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=o),t.active=i===s},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:s,open:o}=this;if(e.length){if(C(i)){if(t.preventDefault(),!o)return void this.toggleOpen();const i=e[s];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,e);this.open=!1}},this.handleActionNavigation=(t,i,e)=>{if(!this.isValidKey(i,H))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=e.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=e.length-1);const s=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=j(Math.max(s-1,-1),e.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=j(s+1,e.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){l(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){M(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await c(this),k(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:e,expanded:s}=this;return i("slot",{name:g.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{class:v.defaultTrigger,icon:x.menu,scale:e,text:t,textEnabled:s,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:e,open:s,menuId:o,menuButtonEl:n,label:a,placement:c,overlayPositioning:l,flipPlacements:r}=this,h=t[e];return i("calcite-popover",{flipPlacements:r,focusTrapDisabled:!0,label:a,offsetDistance:0,open:s,overlayPositioning:l,placement:c,pointerDisabled:!0,referenceElement:n},i("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==n?void 0:n.id,class:v.menu,id:o,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(e,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:g.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return s(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};A.style=":host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_action_group,A as calcite_action_menu}
6
+ import{r as t,h as i,F as e,g as s,c as o}from"./p-33613993.js";import{c as n,d as a}from"./p-bfc78840.js";import{c,s as l,a as r}from"./p-d74e95e5.js";import{c as h,d}from"./p-11550b3c.js";import{u,c as p,d as m,s as f}from"./p-79cc0531.js";import{S as g,C as v,I as x}from"./p-4a75b3dc.js";import{S as b,I as y}from"./p-e761b7cd.js";import{r as w,t as I,i as M,h as k}from"./p-e4f9b782.js";import{g as j}from"./p-0ed14b4b.js";import{g as E}from"./p-8b448a5b.js";import{i as C}from"./p-43ba7a04.js";import"./p-588bc0c0.js";import"./p-e3525c00.js";const z=class{constructor(i){t(this,i),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=w(t)},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await c(this),this.el.focus()}connectedCallback(){h(this),p(this),n(this)}disconnectedCallback(){d(this),m(this),a(this)}async componentWillLoad(){l(this),await f(this)}componentDidLoad(){r(this)}renderMenu(){const{expanded:t,menuOpen:e,scale:s,layout:o,messages:n,overlayPositioning:a,hasMenuActions:c}=this;return i("calcite-action-menu",{expanded:t,flipPlacements:["left","right"],hidden:!c,label:n.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,overlayPositioning:a,placement:"horizontal"===o?"bottom-start":"leading-start",scale:s},i("calcite-action",{icon:y.menu,scale:s,slot:g.trigger,text:n.more,textEnabled:t}),i("slot",{name:b.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),i("slot",{name:b.menuTooltip,slot:g.tooltip}))}render(){return i(e,null,i("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}:host([hidden]){display:none}[hidden]{display:none}';const H=["ArrowUp","ArrowDown","End","Home"],A=class{constructor(i){t(this,i),this.calciteActionMenuOpen=o(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${E()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:s}=this,o=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==o&&(this.disconnectMenuButtonEl(),this.menuButtonEl=o,this.setTooltipReferenceElement(),o&&(o.active=e,o.setAttribute("aria-controls",i),o.setAttribute("aria-expanded",I(e)),o.setAttribute("aria-haspopup","true"),o.id||(o.id=t),o.label||(o.label=s),o.text||(o.text=s),o.addEventListener("pointerdown",this.menuButtonClick),o.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{M(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:s}=this;t&&(t.referenceElement=i||s?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:s}=this,o=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=o),t.active=i===s},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:s,open:o}=this;if(e.length){if(C(i)){if(t.preventDefault(),!o)return void this.toggleOpen();const i=e[s];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,e);this.open=!1}},this.handleActionNavigation=(t,i,e)=>{if(!this.isValidKey(i,H))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=e.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=e.length-1);const s=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=j(Math.max(s-1,-1),e.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=j(s+1,e.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){l(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){M(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await c(this),k(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:e,expanded:s}=this;return i("slot",{name:g.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{class:v.defaultTrigger,icon:x.menu,scale:e,text:t,textEnabled:s,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:e,open:s,menuId:o,menuButtonEl:n,label:a,placement:c,overlayPositioning:l,flipPlacements:r}=this,h=t[e];return i("calcite-popover",{flipPlacements:r,focusTrapDisabled:!0,label:a,offsetDistance:0,open:s,overlayPositioning:l,placement:c,pointerDisabled:!0,referenceElement:n},i("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==n?void 0:n.id,class:v.menu,id:o,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(e,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:g.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return s(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};A.style=":host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_action_group,A as calcite_action_menu}
@@ -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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.js";var m={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH: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:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH: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;
@@ -0,0 +1,20 @@
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
+ /*! *****************************************************************************
7
+ Copyright (c) Microsoft Corporation.
8
+
9
+ Permission to use, copy, modify, and/or distribute this software for any
10
+ purpose with or without fee is hereby granted.
11
+
12
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
13
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
15
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
16
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
+ PERFORMANCE OF THIS SOFTWARE.
19
+ ***************************************************************************** */
20
+ var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])},e(r,t)},r=function(){return r=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},r.apply(this,arguments)};function t(e){return Object.keys(e).some((function(r){var t=e[r];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":case"Object":case"Date":case"Function":case"Boolean":case"String":case"Number":return!1;default:return!0}}))}function n(e){var r={};return Object.keys(e).forEach((function(t){var n,o,i=e[t];if(i&&i.toParam&&(i=i.toParam()),i||0===i||"boolean"==typeof i||"string"==typeof i){var a;switch(i.constructor.name){case"Array":var u=null===(o=null===(n=i[0])||void 0===n?void 0:n.constructor)||void 0===o?void 0:o.name;a="Array"===u?i:"Object"===u?JSON.stringify(i):i.join(",");break;case"Object":a=JSON.stringify(i);break;case"Date":a=i.valueOf();break;case"Function":a=null;break;case"Boolean":a=i+"";break;default:a=i}(a||0===a||"string"==typeof a||Array.isArray(a))&&(r[t]=a)}})),r}function o(e,r){return Array.isArray(r)&&r[0]&&Array.isArray(r[0])?r.map((function(r){return o(e,r)})).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(r)}function i(e){var r=n(e);return Object.keys(r).map((function(e){return o(e,r[e])})).join("&")}var a=function(e,r,t,n,o){e=e||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message="UNKNOWN_ERROR_CODE"===r?e:r+": "+e,this.originalMessage=e,this.code=r,this.response=t,this.url=n,this.options=o};(a.prototype=Object.create(Error.prototype)).constructor=a;var u="@esri/arcgis-rest-js",c={httpMethod:"POST",params:{f:"json"}},f=function(t){function n(e,r,n,o,i){void 0===e&&(e="AUTHENTICATION_ERROR"),void 0===r&&(r="AUTHENTICATION_ERROR_CODE");var a=t.call(this,e,r,n,o,i)||this;return a.name="ArcGISAuthError",a.message="AUTHENTICATION_ERROR_CODE"===r?e:r+": "+e,a}return function(r,t){function n(){this.constructor=r}e(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,t),n.prototype.retry=function(e,t){var n=this;void 0===t&&(t=3);var o=0,i=function(a,u){e(n.url,n.options).then((function(e){var t=r(r({},n.options),{authentication:e});return o+=1,s(n.url,t)})).then((function(e){a(e)})).catch((function(e){"ArcGISAuthError"===e.name&&o<t?i(a,u):u("ArcGISAuthError"===e.name&&o>=t?n:e)}))};return new Promise((function(e,r){i(e,r)}))},n}(a);function s(e,o){void 0===o&&(o={params:{f:"json"}});var s=r(r(r({httpMethod:"POST"},c),o),{params:r(r({},c.params),o.params),headers:r(r({},c.headers),o.headers)}),d=[],h=[];if(s.fetch||"undefined"==typeof fetch?(d.push("`fetch`"),h.push("`node-fetch`")):s.fetch=fetch.bind(Function("return this")()),"undefined"==typeof Promise&&(d.push("`Promise`"),h.push("`es6-promise`")),"undefined"==typeof FormData&&(d.push("`FormData`"),h.push("`isomorphic-form-data`")),!s.fetch||"undefined"==typeof Promise||"undefined"==typeof FormData)throw new Error("`arcgis-rest-request` requires a `fetch` implementation and global variables for `Promise` and `FormData` to be present in the global scope. You are missing "+d.join(", ")+". We recommend installing the "+h.join(", ")+" modules at the root of your application to add these to the global scope. See https://bit.ly/2KNwWaJ for more info.");var l=s.httpMethod,O=s.authentication,v=s.rawResponse,p=r({f:"json"},s.params),m=null,R={method:l,credentials:s.credentials||"same-origin"};return s.headers&&s.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(R.credentials="include"),(O?O.getToken(e,{fetch:s.fetch}).catch((function(r){return r.url=e,r.options=s,m=r,Promise.resolve("")})):Promise.resolve("")).then((function(o){o.length&&(p.token=o),O&&O.getDomainCredentials&&(R.credentials=O.getDomainCredentials(e));var a={};if("GET"===R.method){p.token&&s.hideToken&&"undefined"==typeof window&&(a["X-Esri-Authorization"]="Bearer "+p.token,delete p.token);var c=""===i(p)?e:e+"?"+i(p);s.maxUrlLength&&c.length>s.maxUrlLength||p.token&&s.hideToken?(R.method="POST",o.length&&s.hideToken&&(p.token=o,delete a["X-Esri-Authorization"])):e=c}var f=new RegExp("/items/.+/updateResources").test(e);return"POST"===R.method&&(R.body=function(e,r){var o=t(e)||r,a=n(e);if(o){var u=new FormData;return Object.keys(a).forEach((function(e){"undefined"!=typeof Blob&&a[e]instanceof Blob?u.append(e,a[e],a.fileName||a[e].name||e):u.append(e,a[e])})),u}return i(e)}(p,f)),R.headers=r(r({},a),s.headers),"undefined"!=typeof window||R.headers.referer||(R.headers.referer=u),t(p)||f||(R.headers["Content-Type"]="application/x-www-form-urlencoded"),s.fetch(e,R)})).then((function(r){if(!r.ok)throw new a(r.statusText,"HTTP "+r.status,r,e,s);if(v)return r;switch(p.f){case"json":case"geojson":return r.json();case"html":case"text":return r.text();default:return r.blob()}})).then((function(r){if("json"!==p.f&&"geojson"!==p.f||v)return r;var t=function(e,r,t,n,o){if(e.code>=400)throw new a(u=e.message,c=e.code,e,r,n);if(e.error){var i=e.error,u=i.message,c=i.code,s=i.messageCode,d=s||c||"UNKNOWN_ERROR_CODE";if(498===c||499===c||"GWM_0003"===s||400===c&&"Unable to generate token."===u)throw o||new f(u,d,e,r,n);throw new a(u,d,e,r,n)}if("failed"===e.status||"failure"===e.status){u=void 0,c="UNKNOWN_ERROR_CODE";try{u=JSON.parse(e.statusMessage).message,c=JSON.parse(e.statusMessage).code}catch(r){u=e.statusMessage||e.message}throw new a(u,c,e,r,n)}return e}(r,e,0,s,m);if(m){var n=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];s.authentication.federatedServers[n]={token:[],expires:new Date(Date.now()+864e5)},m=null}return t}))}function d(e){return"string"!=typeof e||"/"===(e=e.trim())[e.length-1]&&(e=e.slice(0,-1)),e}export{f as A,u as N,r as _,d as c,i as e,s as r}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,h as e,H as i,g as o,f as n,c as a}from"./p-33613993.js";import{t as s,i as r,f as c,q as l}from"./p-a16feeec.js";import{g as d}from"./p-8b448a5b.js";import{c as h,d as u,u as p}from"./p-ad75b9bb.js";import{s as f,a as b,c as v}from"./p-d74e95e5.js";import{c as m,d as g}from"./p-7f271c31.js";import{c as x}from"./p-588bc0c0.js";import{u as y,c as w,s as k,d as z}from"./p-557d4cc5.js";import{f as E,c as j,b as C,a as H,r as D,F as L}from"./p-cacfa6ae.js";import{d as P,a as R,c as F,u as $}from"./p-80ea5869.js";import{o as O}from"./p-a097edf0.js";import{H as A}from"./p-54cc02c9.js";import{i as I}from"./p-43ba7a04.js";import{F as S}from"./p-2723beaa.js";import"./p-e3525c00.js";import"./p-a82f35c9.js";
6
+ import{r as t,h as e,H as i,g as o,f as n,c as a}from"./p-33613993.js";import{t as s,i as r,f as c,q as l}from"./p-e4f9b782.js";import{g as d}from"./p-8b448a5b.js";import{c as h,d as u,u as p}from"./p-ad75b9bb.js";import{s as f,a as b,c as v}from"./p-d74e95e5.js";import{c as m,d as g}from"./p-11550b3c.js";import{c as x}from"./p-588bc0c0.js";import{u as y,c as w,s as k,d as z}from"./p-79cc0531.js";import{f as E,c as j,b as C,a as H,r as D,F as L}from"./p-2ee21e9d.js";import{d as P,a as R,c as F,u as $}from"./p-26b28806.js";import{o as O}from"./p-a097edf0.js";import{H as A}from"./p-54cc02c9.js";import{i as I}from"./p-43ba7a04.js";import{F as S}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.
@@ -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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.js";var m={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},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"}};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-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},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"}};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-06712292.js";import"./p-33613993.js";import"./p-8e9d9e6a.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-d74e95e5.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-557d4cc5.js";var o={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},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:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(o,null,!0);export default o;
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 o={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},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:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(o,null,!0);export default o;
@@ -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,h as i,F as t,g as a}from"./p-33613993.js";import{c as n,d as o}from"./p-bfc78840.js";import{g as l}from"./p-a16feeec.js";import{H as r,c as s}from"./p-54cc02c9.js";import{S as c,C as d}from"./p-99402001.js";import"./p-588bc0c0.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";const p=class{constructor(i){e(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){n(this)}disconnectedCallback(){o(this)}render(){var e;const{el:a,groupTitle:n,headingLevel:o}=this,p=null!==l(a,c.parentItem),m={[d.container]:!0,[d.indented]:p},g=n,h=null===(e=a.closest("calcite-pick-list"))||void 0===e?void 0:e.headingLevel,b=h?s(h+1):null;return i(t,null,g?i(r,{class:d.heading,level:o||b},g):null,i("slot",{name:c.parentItem}),i("section",{class:m},i("slot",null)))}get el(){return a(this)}};p.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_pick_list_group}
6
+ import{r as i,h as e,F as t,g as a}from"./p-33613993.js";import{c as n,d as o}from"./p-bfc78840.js";import{g as l}from"./p-e4f9b782.js";import{H as r,c as s}from"./p-54cc02c9.js";import{S as c,C as d}from"./p-99402001.js";import"./p-588bc0c0.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";const p=class{constructor(e){i(this,e),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){n(this)}disconnectedCallback(){o(this)}render(){var i;const{el:a,groupTitle:n,headingLevel:o}=this,p=null!==l(a,c.parentItem),m={[d.container]:!0,[d.indented]:p},g=n,h=null===(i=a.closest("calcite-pick-list"))||void 0===i?void 0:i.headingLevel,b=h?s(h+1):null;return e(t,null,g?e(r,{class:d.heading,level:o||b},g):null,e("slot",{name:c.parentItem}),e("section",{class:m},e("slot",null)))}get el(){return a(this)}};p.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_pick_list_group}
@@ -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{b as t}from"./p-a16feeec.js";
6
+ import{b as t}from"./p-e4f9b782.js";
7
7
  /**!
8
8
  * Sortable 1.15.0
9
9
  * @author RubaXa <trash@rubaxa.org>