@esri/solutions-components 0.6.11 → 0.6.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (589) hide show
  1. package/dist/assets/t9n/layer-table/resources.json +4 -3
  2. package/dist/assets/t9n/layer-table/resources_en.json +4 -3
  3. package/dist/assets/t9n/map-select-tools/resources.json +2 -1
  4. package/dist/assets/t9n/map-select-tools/resources_en.json +2 -1
  5. package/dist/assets/t9n/map-tools/resources.json +4 -1
  6. package/dist/assets/t9n/map-tools/resources_en.json +4 -1
  7. package/dist/cjs/{ExpandToggle-c5690e14.js → ExpandToggle-511435d5.js} +1 -1
  8. package/dist/cjs/{FloatingArrow-675171a6.js → FloatingArrow-88e3f797.js} +1 -1
  9. package/dist/cjs/{Heading-3712677d.js → Heading-0da2a025.js} +1 -1
  10. package/dist/cjs/{ar-1dc23c0a.js → ar-0a371029.js} +5 -5
  11. package/dist/cjs/{basemap-gallery_5.cjs.entry.js → basemap-gallery_6.cjs.entry.js} +139 -10
  12. package/dist/cjs/{bg-4024b354.js → bg-f7538b74.js} +5 -5
  13. package/dist/cjs/{bs-3134d711.js → bs-6560857c.js} +5 -5
  14. package/dist/cjs/buffer-tools_4.cjs.entry.js +8 -8
  15. package/dist/cjs/{ca-8d6647d3.js → ca-d74198eb.js} +5 -5
  16. package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
  17. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  18. package/dist/cjs/{calcite-filter_5.cjs.entry.js → calcite-action-bar_3.cjs.entry.js} +168 -322
  19. package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
  20. package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
  21. package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
  22. package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
  23. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  24. package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
  25. package/dist/cjs/calcite-block.cjs.entry.js +5 -5
  26. package/dist/cjs/calcite-button.cjs.entry.js +4 -4
  27. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  28. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  29. package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
  30. package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
  31. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  32. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
  33. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
  34. package/dist/cjs/calcite-combobox_6.cjs.entry.js +10 -10
  35. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
  36. package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
  37. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  38. package/dist/cjs/calcite-filter_3.cjs.entry.js +387 -0
  39. package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
  40. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  41. package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
  42. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  43. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  44. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
  45. package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
  46. package/dist/cjs/{calcite-input-time-picker-4efcd55d.js → calcite-input-time-picker-188356eb.js} +53 -53
  47. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
  48. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
  49. package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
  50. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  51. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  52. package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
  53. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  54. package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
  55. package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
  56. package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
  57. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  58. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  59. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  60. package/dist/cjs/calcite-notice.cjs.entry.js +4 -4
  61. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  62. package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
  63. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
  64. package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
  65. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
  66. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
  67. package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
  68. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  69. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  70. package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
  71. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  72. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
  73. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
  74. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +10 -9
  75. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  76. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  77. package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
  78. package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
  79. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  80. package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
  81. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
  82. package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  84. package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
  85. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  86. package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
  87. package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
  88. package/dist/cjs/calcite-tooltip.cjs.entry.js +3 -3
  89. package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -2
  90. package/dist/cjs/card-manager_3.cjs.entry.js +70 -37
  91. package/dist/cjs/clean-url-d5326abb.js +573 -0
  92. package/dist/cjs/{conditionalSlot-126d557f.js → conditionalSlot-f10611d3.js} +1 -1
  93. package/dist/cjs/crowdsource-manager.cjs.entry.js +41 -13
  94. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  95. package/dist/cjs/{cs-b24cd994.js → cs-bdf9949e.js} +5 -5
  96. package/dist/cjs/{da-9dee3a1f.js → da-ab198f94.js} +5 -5
  97. package/dist/cjs/{de-1a98b964.js → de-a859739c.js} +5 -5
  98. package/dist/cjs/{de-at-782e6c7f.js → de-at-126e66a1.js} +5 -5
  99. package/dist/cjs/{de-ch-d5c95469.js → de-ch-25eb45ed.js} +5 -5
  100. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  101. package/dist/cjs/{downloadUtils-471a6a2d.js → downloadUtils-fb4744e0.js} +299 -54
  102. package/dist/cjs/edit-card_2.cjs.entry.js +30 -27
  103. package/dist/cjs/{el-af28cafa.js → el-9abbc3f2.js} +5 -5
  104. package/dist/cjs/{en-au-109f3119.js → en-au-8835d481.js} +5 -5
  105. package/dist/cjs/{en-ca-22890a25.js → en-ca-a8f1a438.js} +5 -5
  106. package/dist/cjs/{en-gb-dc23c9dd.js → en-gb-e8098e8c.js} +5 -5
  107. package/dist/cjs/{es-3f353355.js → es-bc99e2ad.js} +5 -5
  108. package/dist/cjs/{es-mx-ccb57857.js → es-mx-71461470.js} +5 -5
  109. package/dist/cjs/{et-119c047b.js → et-8fa437ac.js} +5 -5
  110. package/dist/cjs/{fi-13096d81.js → fi-1284d381.js} +5 -5
  111. package/dist/cjs/{form-7c6054c3.js → form-28bc6597.js} +1 -1
  112. package/dist/cjs/{fr-563dfcd5.js → fr-635089b1.js} +5 -5
  113. package/dist/cjs/{fr-ch-f66cfd49.js → fr-ch-09392bdc.js} +5 -5
  114. package/dist/cjs/{he-d8253a1a.js → he-44a07bad.js} +5 -5
  115. package/dist/cjs/{hi-58c7c3b5.js → hi-9bba524d.js} +5 -5
  116. package/dist/cjs/{hr-5aba114a.js → hr-fc0a64fd.js} +5 -5
  117. package/dist/cjs/{hu-38c15915.js → hu-b900be50.js} +5 -5
  118. package/dist/cjs/{id-3a94c080.js → id-d20a381a.js} +5 -5
  119. package/dist/cjs/{index-0e50040c.js → index-ee37804b.js} +3 -0
  120. package/dist/cjs/{index-2b60e135.js → index-feeb7b6a.js} +1 -1
  121. package/dist/cjs/{index.es-33154f03.js → index.es-372e33de.js} +7 -6
  122. package/dist/cjs/{interfaces-d539e30c.js → interfaces-000be6de.js} +0 -5
  123. package/dist/cjs/{it-ch-970563cd.js → it-ch-e6bfb280.js} +5 -5
  124. package/dist/cjs/{it-88834555.js → it-d07dffbe.js} +5 -5
  125. package/dist/cjs/{ja-13d4b1ae.js → ja-3fac4cb9.js} +5 -5
  126. package/dist/cjs/{ko-10cbdd98.js → ko-7df47ba4.js} +5 -5
  127. package/dist/cjs/layout-manager.cjs.entry.js +3 -3
  128. package/dist/cjs/list-item.cjs.entry.js +1 -1
  129. package/dist/cjs/{loadModules-c5490589.js → loadModules-f6df8d6a.js} +1 -1
  130. package/dist/cjs/{loadable-6925d840.js → loadable-13605f73.js} +1 -1
  131. package/dist/cjs/loader.cjs.js +2 -2
  132. package/dist/cjs/{locale-88c21da2.js → locale-67f5f6b6.js} +1 -1
  133. package/dist/cjs/{lt-3fc5017a.js → lt-32e0b838.js} +5 -5
  134. package/dist/cjs/{lv-9d9cf999.js → lv-5822b401.js} +5 -5
  135. package/dist/cjs/map-select-tools_3.cjs.entry.js +23 -14
  136. package/dist/cjs/{mapViewUtils-9da2dddd.js → mapViewUtils-a4dd36ec.js} +1 -1
  137. package/dist/cjs/{mk-9f79812b.js → mk-76494f34.js} +5 -5
  138. package/dist/cjs/{nb-673fe3fd.js → nb-3ec52247.js} +5 -5
  139. package/dist/cjs/{nl-4dc0504f.js → nl-fe9ffca9.js} +5 -5
  140. package/dist/cjs/{openCloseComponent-05cb01ff.js → openCloseComponent-359d855c.js} +1 -1
  141. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  142. package/dist/cjs/{pl-d809a6c3.js → pl-13049aa3.js} +5 -5
  143. package/dist/cjs/{pt-br-55f1893a.js → pt-br-f222c9e6.js} +5 -5
  144. package/dist/cjs/{pt-78eefbc7.js → pt-ef1645ab.js} +5 -5
  145. package/dist/cjs/public-notification.cjs.entry.js +12 -11
  146. package/dist/cjs/{publicNotificationStore-55edd658.js → publicNotificationStore-b69862af.js} +1 -1
  147. package/dist/cjs/resources-f15abc99.js +29 -0
  148. package/dist/cjs/{ro-f0cff196.js → ro-712f9cbb.js} +5 -5
  149. package/dist/cjs/{ru-5e9b37f9.js → ru-45b18030.js} +5 -5
  150. package/dist/cjs/{shared-list-render-9bbcb306.js → shared-list-render-e5821654.js} +1 -1
  151. package/dist/cjs/{sk-322cd349.js → sk-db642b5a.js} +5 -5
  152. package/dist/cjs/{sl-fd948e50.js → sl-51811e20.js} +5 -5
  153. package/dist/cjs/solution-configuration.cjs.entry.js +48 -47
  154. package/dist/cjs/solution-contents_3.cjs.entry.js +6 -5
  155. package/dist/cjs/{solution-store-0004e4e6.js → solution-store-c443e657.js} +9 -574
  156. package/dist/cjs/solutions-components.cjs.js +2 -2
  157. package/dist/cjs/{sr-f0058b24.js → sr-c248524c.js} +5 -5
  158. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  159. package/dist/cjs/{sv-8a8378bf.js → sv-67777565.js} +5 -5
  160. package/dist/cjs/{t9n-62d807df.js → t9n-58d20225.js} +1 -1
  161. package/dist/cjs/{th-f219fad6.js → th-81fb9eb1.js} +5 -5
  162. package/dist/cjs/{tr-03109641.js → tr-b5da4c5c.js} +5 -5
  163. package/dist/cjs/{uk-dde46112.js → uk-e8ad8b3b.js} +5 -5
  164. package/dist/cjs/{utils-651e6663.js → utils-fddf1c6b.js} +1 -1
  165. package/dist/cjs/{vi-60ed6e30.js → vi-0b26505a.js} +5 -5
  166. package/dist/cjs/{zh-cn-a2f6f51d.js → zh-cn-40d02fac.js} +5 -5
  167. package/dist/cjs/{zh-hk-e14e2fc0.js → zh-hk-d1a89b9e.js} +5 -5
  168. package/dist/cjs/{zh-tw-7ea0d7e4.js → zh-tw-5691adb2.js} +5 -5
  169. package/dist/collection/collection-manifest.json +1 -0
  170. package/dist/collection/components/card-manager/card-manager.css +0 -5
  171. package/dist/collection/components/card-manager/card-manager.js +1 -1
  172. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +2 -2
  173. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +73 -9
  174. package/dist/collection/components/edit-card/edit-card.css +8 -0
  175. package/dist/collection/components/info-card/info-card.css +14 -14
  176. package/dist/collection/components/info-card/info-card.js +25 -22
  177. package/dist/collection/components/layer-table/layer-table.css +12 -0
  178. package/dist/collection/components/layer-table/layer-table.js +93 -26
  179. package/dist/collection/components/map-card/map-card.css +4 -0
  180. package/dist/collection/components/map-card/map-card.js +1 -1
  181. package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -0
  182. package/dist/collection/components/map-fullscreen/map-fullscreen.js +178 -0
  183. package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +29 -0
  184. package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +37 -0
  185. package/dist/collection/components/map-select-tools/map-select-tools.js +7 -1
  186. package/dist/collection/components/map-tools/map-tools.css +8 -4
  187. package/dist/collection/components/map-tools/map-tools.js +35 -29
  188. package/dist/collection/components/pdf-download/pdf-download.js +35 -7
  189. package/dist/collection/components/public-notification/public-notification.js +3 -3
  190. package/dist/collection/utils/downloadUtils.js +208 -82
  191. package/dist/collection/utils/downloadUtils.ts +257 -85
  192. package/dist/collection/utils/interfaces.js +0 -5
  193. package/dist/collection/utils/interfaces.ts +0 -5
  194. package/dist/collection/utils/test/downloadUtils.spec.js +163 -134
  195. package/dist/collection/utils/test/downloadUtils.spec.tsx +2 -0
  196. package/dist/components/calcite-modal.js +1 -409
  197. package/dist/components/card-manager2.js +2 -2
  198. package/dist/components/clean-url.js +567 -0
  199. package/dist/components/crowdsource-manager.js +118 -82
  200. package/dist/components/downloadUtils.js +295 -50
  201. package/dist/components/edit-card2.js +1 -1
  202. package/dist/components/info-card2.js +26 -23
  203. package/dist/components/interfaces.js +1 -6
  204. package/dist/components/layer-table2.js +68 -33
  205. package/dist/components/map-card2.js +44 -38
  206. package/dist/components/map-draw-tools2.js +1 -1
  207. package/dist/components/map-fullscreen.d.ts +11 -0
  208. package/dist/components/map-fullscreen.js +11 -0
  209. package/dist/components/map-fullscreen2.js +130 -0
  210. package/dist/components/map-select-tools2.js +7 -1
  211. package/dist/components/map-tools2.js +43 -34
  212. package/dist/components/modal.js +416 -0
  213. package/dist/components/pdf-download2.js +7 -5
  214. package/dist/components/public-notification.js +4 -4
  215. package/dist/components/refine-selection2.js +1 -1
  216. package/dist/components/solution-configuration.js +25 -24
  217. package/dist/components/solution-resource-item2.js +1 -1
  218. package/dist/components/solution-store.js +3 -563
  219. package/dist/esm/{ExpandToggle-3bfcb842.js → ExpandToggle-e614e3e4.js} +2 -2
  220. package/dist/esm/{FloatingArrow-cf140d6b.js → FloatingArrow-4a1b35d6.js} +1 -1
  221. package/dist/esm/{Heading-140d10ff.js → Heading-5258553c.js} +1 -1
  222. package/dist/esm/{ar-45abeb31.js → ar-2f678abc.js} +10 -10
  223. package/dist/esm/{basemap-gallery_5.entry.js → basemap-gallery_6.entry.js} +139 -11
  224. package/dist/esm/{bg-af759e86.js → bg-e514c4d7.js} +10 -10
  225. package/dist/esm/{bs-20d012de.js → bs-81584b09.js} +10 -10
  226. package/dist/esm/buffer-tools_4.entry.js +11 -11
  227. package/dist/esm/{ca-1498df65.js → ca-e8c40e21.js} +10 -10
  228. package/dist/esm/calcite-accordion-item.entry.js +3 -3
  229. package/dist/esm/calcite-accordion.entry.js +1 -1
  230. package/dist/esm/{calcite-filter_5.entry.js → calcite-action-bar_3.entry.js} +193 -345
  231. package/dist/esm/calcite-action-group_2.entry.js +6 -6
  232. package/dist/esm/calcite-action-pad.entry.js +7 -7
  233. package/dist/esm/calcite-action_2.entry.js +10 -10
  234. package/dist/esm/calcite-alert.entry.js +6 -6
  235. package/dist/esm/calcite-avatar.entry.js +2 -2
  236. package/dist/esm/calcite-block-section.entry.js +5 -5
  237. package/dist/esm/calcite-block.entry.js +7 -7
  238. package/dist/esm/calcite-button.entry.js +7 -7
  239. package/dist/esm/calcite-card.entry.js +5 -5
  240. package/dist/esm/calcite-checkbox.entry.js +5 -5
  241. package/dist/esm/calcite-chip-group.entry.js +3 -3
  242. package/dist/esm/calcite-chip.entry.js +6 -6
  243. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +3 -3
  244. package/dist/esm/calcite-color-picker.entry.js +5 -5
  245. package/dist/esm/calcite-combobox-item-group.entry.js +3 -3
  246. package/dist/esm/calcite-combobox_6.entry.js +15 -15
  247. package/dist/esm/calcite-date-picker-day_3.entry.js +5 -5
  248. package/dist/esm/calcite-date-picker.entry.js +7 -7
  249. package/dist/esm/calcite-fab.entry.js +3 -3
  250. package/dist/esm/calcite-filter_3.entry.js +381 -0
  251. package/dist/esm/calcite-flow-item.entry.js +5 -5
  252. package/dist/esm/calcite-flow.entry.js +2 -2
  253. package/dist/esm/calcite-graph.entry.js +1 -1
  254. package/dist/esm/calcite-icon.entry.js +2 -2
  255. package/dist/esm/calcite-inline-editable.entry.js +6 -6
  256. package/dist/esm/calcite-input-date-picker.entry.js +12 -12
  257. package/dist/esm/calcite-input-number_2.entry.js +7 -7
  258. package/dist/esm/{calcite-input-time-picker-227e60c3.js → calcite-input-time-picker-fe6e499a.js} +57 -57
  259. package/dist/esm/calcite-input-time-picker.entry.js +10 -10
  260. package/dist/esm/calcite-input-time-zone.entry.js +7 -7
  261. package/dist/esm/calcite-input_2.entry.js +7 -7
  262. package/dist/esm/calcite-label.entry.js +3 -3
  263. package/dist/esm/calcite-link.entry.js +3 -3
  264. package/dist/esm/calcite-list-item-group.entry.js +1 -1
  265. package/dist/esm/calcite-loader.entry.js +1 -1
  266. package/dist/esm/calcite-menu-item.entry.js +5 -5
  267. package/dist/esm/calcite-menu.entry.js +5 -5
  268. package/dist/esm/calcite-modal.entry.js +8 -8
  269. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  270. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  271. package/dist/esm/calcite-navigation.entry.js +3 -3
  272. package/dist/esm/calcite-notice.entry.js +6 -6
  273. package/dist/esm/calcite-option-group.entry.js +1 -1
  274. package/dist/esm/calcite-option_2.entry.js +5 -5
  275. package/dist/esm/calcite-pagination.entry.js +5 -5
  276. package/dist/esm/calcite-panel_2.entry.js +7 -7
  277. package/dist/esm/calcite-pick-list-group.entry.js +4 -4
  278. package/dist/esm/calcite-pick-list-item.entry.js +6 -6
  279. package/dist/esm/calcite-pick-list.entry.js +4 -4
  280. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  281. package/dist/esm/calcite-radio-button.entry.js +5 -5
  282. package/dist/esm/calcite-rating.entry.js +7 -7
  283. package/dist/esm/calcite-scrim.entry.js +4 -4
  284. package/dist/esm/calcite-segmented-control_2.entry.js +5 -5
  285. package/dist/esm/calcite-shell-center-row.entry.js +3 -3
  286. package/dist/esm/calcite-shell-panel_14.entry.js +13 -12
  287. package/dist/esm/calcite-sortable-list.entry.js +3 -3
  288. package/dist/esm/calcite-split-button.entry.js +2 -2
  289. package/dist/esm/calcite-stepper-item.entry.js +4 -4
  290. package/dist/esm/calcite-stepper.entry.js +2 -2
  291. package/dist/esm/calcite-switch.entry.js +5 -5
  292. package/dist/esm/calcite-text-area.entry.js +7 -7
  293. package/dist/esm/calcite-tile-select-group.entry.js +1 -1
  294. package/dist/esm/calcite-tile-select.entry.js +2 -2
  295. package/dist/esm/calcite-tile.entry.js +3 -3
  296. package/dist/esm/calcite-time-picker.entry.js +6 -6
  297. package/dist/esm/calcite-tip-group.entry.js +1 -1
  298. package/dist/esm/calcite-tip-manager.entry.js +5 -5
  299. package/dist/esm/calcite-tip.entry.js +6 -6
  300. package/dist/esm/calcite-tooltip.entry.js +5 -5
  301. package/dist/esm/calcite-tree_3.entry.js +3 -3
  302. package/dist/esm/card-manager_3.entry.js +70 -37
  303. package/dist/esm/clean-url-bce022e6.js +567 -0
  304. package/dist/esm/{conditionalSlot-55a14abd.js → conditionalSlot-dff8f839.js} +1 -1
  305. package/dist/esm/crowdsource-manager.entry.js +41 -13
  306. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  307. package/dist/esm/{cs-3bd67855.js → cs-af5f115e.js} +10 -10
  308. package/dist/esm/{da-7a76e131.js → da-06d9e22c.js} +10 -10
  309. package/dist/esm/{date-bd5b879c.js → date-641ae749.js} +1 -1
  310. package/dist/esm/{de-at-0b6874cb.js → de-at-f55a700a.js} +10 -10
  311. package/dist/esm/{de-ch-c9d429dd.js → de-ch-7307675f.js} +10 -10
  312. package/dist/esm/{de-0808a43e.js → de-dc98363f.js} +10 -10
  313. package/dist/esm/deduct-calculator.entry.js +1 -1
  314. package/dist/esm/{dom-37f2dec9.js → dom-2b326ec3.js} +1 -1
  315. package/dist/esm/{downloadUtils-8d4c13bb.js → downloadUtils-67c7a6c8.js} +299 -54
  316. package/dist/esm/edit-card_2.entry.js +30 -27
  317. package/dist/esm/{el-66001281.js → el-91c64808.js} +10 -10
  318. package/dist/esm/{en-au-6424fec0.js → en-au-df08cc25.js} +10 -10
  319. package/dist/esm/{en-ca-f5f1659d.js → en-ca-175f7c0f.js} +10 -10
  320. package/dist/esm/{en-gb-796beadd.js → en-gb-90a08c7f.js} +10 -10
  321. package/dist/esm/{es-cd139926.js → es-5cb54b05.js} +10 -10
  322. package/dist/esm/{es-mx-854dc3e4.js → es-mx-3a0cb804.js} +10 -10
  323. package/dist/esm/{et-2aa6782d.js → et-eceac6dc.js} +10 -10
  324. package/dist/esm/{fi-965727bd.js → fi-26e1c14f.js} +10 -10
  325. package/dist/esm/{floating-ui-7cde67cf.js → floating-ui-9f8e4ed4.js} +1 -1
  326. package/dist/esm/{focusTrapComponent-ec344399.js → focusTrapComponent-ad2c3a31.js} +1 -1
  327. package/dist/esm/{form-04d47b0b.js → form-0871d2c6.js} +2 -2
  328. package/dist/esm/{fr-c1884e89.js → fr-12a5b0f7.js} +10 -10
  329. package/dist/esm/{fr-ch-1fd8dd3a.js → fr-ch-e3406887.js} +10 -10
  330. package/dist/esm/{he-0d7b78b4.js → he-61eba811.js} +10 -10
  331. package/dist/esm/{hi-0376c82d.js → hi-a50282b5.js} +10 -10
  332. package/dist/esm/{hr-28a64903.js → hr-da8bffaf.js} +10 -10
  333. package/dist/esm/{hu-44a02ff7.js → hu-dab932f1.js} +10 -10
  334. package/dist/esm/{id-034fc4a5.js → id-de468947.js} +10 -10
  335. package/dist/esm/{index-b5d9d795.js → index-c7de2486.js} +3 -0
  336. package/dist/esm/{index-b91c174c.js → index-f4bd5aa3.js} +1 -1
  337. package/dist/esm/{index.es-065c3035.js → index.es-59a67d3d.js} +7 -6
  338. package/dist/esm/{interfaces-5a2fe8b4.js → interfaces-7470d906.js} +1 -6
  339. package/dist/esm/{it-56e52026.js → it-375d9936.js} +10 -10
  340. package/dist/esm/{it-ch-a4a0e136.js → it-ch-7e663d63.js} +10 -10
  341. package/dist/esm/{ja-f2365272.js → ja-36dbe39d.js} +10 -10
  342. package/dist/esm/{ko-e7650b4c.js → ko-858bc871.js} +10 -10
  343. package/dist/esm/{label-b6dfb4d5.js → label-b8caf984.js} +1 -1
  344. package/dist/esm/layout-manager.entry.js +3 -3
  345. package/dist/esm/list-item.entry.js +1 -1
  346. package/dist/esm/{loadModules-f5f910b6.js → loadModules-2880c7e3.js} +1 -1
  347. package/dist/esm/{loadable-47170cb6.js → loadable-f848be11.js} +1 -1
  348. package/dist/esm/loader.js +3 -3
  349. package/dist/esm/{locale-146251f7.js → locale-00000ab4.js} +1 -1
  350. package/dist/esm/{locale-efad8f83.js → locale-9624832c.js} +1 -1
  351. package/dist/esm/{lt-1577a952.js → lt-d6dfa7e4.js} +10 -10
  352. package/dist/esm/{lv-9ef7e4f6.js → lv-facd25c5.js} +10 -10
  353. package/dist/esm/map-select-tools_3.entry.js +23 -14
  354. package/dist/esm/{mapViewUtils-f0c04325.js → mapViewUtils-00a04d52.js} +1 -1
  355. package/dist/esm/{mk-94264e08.js → mk-5ed05b6a.js} +10 -10
  356. package/dist/esm/{nb-fa24d5b2.js → nb-936fc687.js} +10 -10
  357. package/dist/esm/{nl-33f10900.js → nl-a923d626.js} +10 -10
  358. package/dist/esm/{openCloseComponent-10efeff3.js → openCloseComponent-9fce341c.js} +1 -1
  359. package/dist/esm/pci-calculator.entry.js +1 -1
  360. package/dist/esm/{pl-9ed16565.js → pl-b1426275.js} +10 -10
  361. package/dist/esm/{pt-52731ddf.js → pt-1ac2453f.js} +10 -10
  362. package/dist/esm/{pt-br-8de51ff4.js → pt-br-7194cc5f.js} +10 -10
  363. package/dist/esm/public-notification.entry.js +12 -11
  364. package/dist/esm/{publicNotificationStore-ade82148.js → publicNotificationStore-90a6a274.js} +1 -1
  365. package/dist/esm/resources-74ea5c42.js +26 -0
  366. package/dist/esm/{ro-99f009ad.js → ro-518aaed1.js} +10 -10
  367. package/dist/esm/{ru-592ffaf0.js → ru-762127a3.js} +10 -10
  368. package/dist/esm/{shared-list-render-4f0f6af8.js → shared-list-render-ec232615.js} +2 -2
  369. package/dist/esm/{sk-44f7bd19.js → sk-f367b7ba.js} +10 -10
  370. package/dist/esm/{sl-08cad9bd.js → sl-052fd4d2.js} +10 -10
  371. package/dist/esm/solution-configuration.entry.js +29 -28
  372. package/dist/esm/solution-contents_3.entry.js +6 -5
  373. package/dist/esm/{solution-store-46bc46a5.js → solution-store-b29d50f7.js} +4 -564
  374. package/dist/esm/solutions-components.js +3 -3
  375. package/dist/esm/{sortableComponent-8a84709a.js → sortableComponent-ebd6bb72.js} +1 -1
  376. package/dist/esm/{sr-84f261fc.js → sr-4dc0fdb9.js} +10 -10
  377. package/dist/esm/store-manager.entry.js +1 -1
  378. package/dist/esm/{sv-d0d7bc1e.js → sv-bdc87a4d.js} +10 -10
  379. package/dist/esm/{t9n-5f748619.js → t9n-9791aa0c.js} +2 -2
  380. package/dist/esm/{th-a5149d44.js → th-d9df674c.js} +10 -10
  381. package/dist/esm/{time-fa1151aa.js → time-73378c4a.js} +1 -1
  382. package/dist/esm/{tr-feb0cad4.js → tr-61e134eb.js} +10 -10
  383. package/dist/esm/{uk-c9ba62a0.js → uk-ea3d8da7.js} +10 -10
  384. package/dist/esm/{utils-667cc396.js → utils-593fafd7.js} +1 -1
  385. package/dist/esm/{utils-0a5c1a07.js → utils-bd52db7d.js} +3 -3
  386. package/dist/esm/{vi-788dcb99.js → vi-ade1c25b.js} +10 -10
  387. package/dist/esm/{zh-cn-3ccfb820.js → zh-cn-b8756118.js} +10 -10
  388. package/dist/esm/{zh-hk-b29b61e8.js → zh-hk-d18c05d9.js} +10 -10
  389. package/dist/esm/{zh-tw-2bdbc6eb.js → zh-tw-9c98ff7c.js} +10 -10
  390. package/dist/solutions-components/{p-ca3d7edd.entry.js → p-01fea8d5.entry.js} +1 -1
  391. package/dist/solutions-components/{p-0c2e392e.entry.js → p-0219a1a9.entry.js} +5 -5
  392. package/dist/solutions-components/{p-3ce89910.entry.js → p-02ff64f4.entry.js} +1 -1
  393. package/dist/solutions-components/p-062254a6.entry.js +6 -0
  394. package/dist/solutions-components/{p-cd673260.js → p-062d2f9a.js} +1 -1
  395. package/dist/solutions-components/{p-082365d6.entry.js → p-084bced1.entry.js} +1 -1
  396. package/dist/solutions-components/{p-feff224c.entry.js → p-088e4cfc.entry.js} +1 -1
  397. package/dist/solutions-components/{p-96239d0d.js → p-08e35485.js} +1 -1
  398. package/dist/solutions-components/{p-1bcfca9b.entry.js → p-0a883f51.entry.js} +1 -1
  399. package/dist/solutions-components/{p-8f8d2861.js → p-0d14d33a.js} +1 -1
  400. package/dist/solutions-components/{p-0266ca81.js → p-0dab4c93.js} +1 -1
  401. package/dist/solutions-components/{p-f815b5ef.entry.js → p-0de1df10.entry.js} +1 -1
  402. package/dist/solutions-components/{p-7f271c31.js → p-11550b3c.js} +3 -3
  403. package/dist/solutions-components/{p-9370bb48.entry.js → p-120c4098.entry.js} +1 -1
  404. package/dist/solutions-components/{p-586f0e3d.entry.js → p-12bcd474.entry.js} +1 -1
  405. package/dist/solutions-components/{p-149b4d3c.entry.js → p-1597ec4b.entry.js} +1 -1
  406. package/dist/solutions-components/{p-dc9dad31.entry.js → p-15a9fe95.entry.js} +1 -1
  407. package/dist/solutions-components/{p-13290851.js → p-17d176b5.js} +14 -43
  408. package/dist/solutions-components/{p-95c11620.js → p-1b41181b.js} +44 -29
  409. package/dist/solutions-components/{p-138cf009.js → p-1c5787b1.js} +1 -1
  410. package/dist/solutions-components/{p-01c83b8c.entry.js → p-1d9a5198.entry.js} +1 -1
  411. package/dist/solutions-components/{p-ec378ea0.entry.js → p-1dd5c4e6.entry.js} +1 -1
  412. package/dist/solutions-components/{p-6295e168.entry.js → p-1e62d118.entry.js} +1 -1
  413. package/dist/solutions-components/{p-b25005cf.entry.js → p-1ed80742.entry.js} +1 -1
  414. package/dist/solutions-components/{p-da6acb22.entry.js → p-1fae3819.entry.js} +1 -1
  415. package/dist/solutions-components/{p-5e08d4de.js → p-21aa112d.js} +1 -1
  416. package/dist/solutions-components/{p-7f9642d5.js → p-22833bd3.js} +1 -1
  417. package/dist/solutions-components/{p-66b5211f.entry.js → p-252a9a7f.entry.js} +1 -1
  418. package/dist/solutions-components/{p-80ea5869.js → p-26b28806.js} +1 -1
  419. package/dist/solutions-components/{p-0f85fa4b.js → p-2723beaa.js} +1 -1
  420. package/dist/solutions-components/{p-cee23126.js → p-280fd963.js} +3 -3
  421. package/dist/solutions-components/{p-ae6a7b3b.entry.js → p-2821ab80.entry.js} +1 -1
  422. package/dist/solutions-components/{p-d864b7e3.js → p-29049359.js} +1 -1
  423. package/dist/solutions-components/p-2a58e378.js +21 -0
  424. package/dist/solutions-components/{p-879d6377.entry.js → p-2b378389.entry.js} +1 -1
  425. package/dist/solutions-components/{p-2bf63e2e.js → p-2bdd1a5d.js} +1 -1
  426. package/dist/solutions-components/p-2cff8331.entry.js +6 -0
  427. package/dist/solutions-components/{p-cacfa6ae.js → p-2ee21e9d.js} +1 -1
  428. package/dist/solutions-components/{p-aea37c90.js → p-2f42ae51.js} +1 -1
  429. package/dist/solutions-components/{p-635bbbd4.js → p-30b3261c.js} +1 -1
  430. package/dist/solutions-components/{p-e4253e1b.entry.js → p-31c9aa38.entry.js} +1 -1
  431. package/dist/solutions-components/{p-0f77e83c.entry.js → p-32ba2223.entry.js} +2 -2
  432. package/dist/solutions-components/p-33613993.js +7 -0
  433. package/dist/solutions-components/{p-636f4631.js → p-34673137.js} +1 -1
  434. package/dist/solutions-components/{p-8f68f1d3.entry.js → p-3566ee69.entry.js} +1 -1
  435. package/dist/solutions-components/{p-a287be8b.js → p-358b9cc8.js} +1 -1
  436. package/dist/solutions-components/{p-3445a8c6.js → p-3691a072.js} +1 -1
  437. package/dist/solutions-components/p-3a6c8fc3.entry.js +6 -0
  438. package/dist/solutions-components/{p-e4d2fcc5.js → p-3a8d82a2.js} +2 -2
  439. package/dist/solutions-components/{p-0109bef4.entry.js → p-3ab94526.entry.js} +1 -1
  440. package/dist/solutions-components/p-3b1fc7a2.entry.js +6 -0
  441. package/dist/solutions-components/{p-0f8440bb.entry.js → p-3cc30e11.entry.js} +1 -1
  442. package/dist/solutions-components/{p-c1dcc1e7.js → p-3f7119c1.js} +1 -1
  443. package/dist/solutions-components/{p-be146646.js → p-3fcd035e.js} +1 -1
  444. package/dist/solutions-components/{p-3766be72.js → p-419c9d89.js} +1 -1
  445. package/dist/solutions-components/p-453d1b31.entry.js +6 -0
  446. package/dist/solutions-components/{p-7060caf6.js → p-46918548.js} +1 -1
  447. package/dist/solutions-components/p-49e9e4e3.js +12 -0
  448. package/dist/solutions-components/p-4d942b0f.entry.js +36 -0
  449. package/dist/solutions-components/{p-0ecd7346.js → p-4fc92419.js} +1 -1
  450. package/dist/solutions-components/{p-456f5afe.entry.js → p-52afbe07.entry.js} +1 -1
  451. package/dist/solutions-components/{p-6ce7b446.entry.js → p-52ec0b32.entry.js} +1 -1
  452. package/dist/solutions-components/{p-60c15592.js → p-54cc02c9.js} +1 -1
  453. package/dist/solutions-components/{p-8c61431d.js → p-573d0763.js} +1 -1
  454. package/dist/solutions-components/{p-6ddc9567.entry.js → p-59ef9461.entry.js} +2 -2
  455. package/dist/solutions-components/{p-c9df539a.entry.js → p-5e5749c0.entry.js} +1 -1
  456. package/dist/solutions-components/{p-7a027758.entry.js → p-5ff22d2e.entry.js} +1 -1
  457. package/dist/solutions-components/{p-8544d557.entry.js → p-617f32a0.entry.js} +1 -1
  458. package/dist/solutions-components/{p-1e7a31c1.entry.js → p-64541510.entry.js} +1 -1
  459. package/dist/solutions-components/{p-5c9fa0e7.js → p-6510c06c.js} +1 -1
  460. package/dist/solutions-components/{p-ec889511.js → p-65ba4d10.js} +1 -1
  461. package/dist/solutions-components/{p-cec47579.entry.js → p-65ffe4b0.entry.js} +1 -1
  462. package/dist/solutions-components/{p-bbb0d957.entry.js → p-66dd455f.entry.js} +1 -1
  463. package/dist/solutions-components/{p-3c15959e.js → p-68007503.js} +1 -1
  464. package/dist/solutions-components/{p-ac0abf04.entry.js → p-6ba8483c.entry.js} +2 -2
  465. package/dist/solutions-components/{p-1fba74a5.entry.js → p-6c8c7b98.entry.js} +2 -2
  466. package/dist/solutions-components/{p-29efbf76.entry.js → p-6e5d9ae9.entry.js} +1 -1
  467. package/dist/solutions-components/p-6ebf870c.entry.js +17 -0
  468. package/dist/solutions-components/{p-78a40191.entry.js → p-701409be.entry.js} +2 -2
  469. package/dist/solutions-components/{p-d2d3e4b5.js → p-72f34a0a.js} +1 -1
  470. package/dist/solutions-components/{p-261394d7.entry.js → p-7359a6ac.entry.js} +1 -1
  471. package/dist/solutions-components/{p-7a8d99fe.entry.js → p-73ab9d9a.entry.js} +1 -1
  472. package/dist/solutions-components/{p-3cfaf52b.entry.js → p-73fe6f7e.entry.js} +2 -2
  473. package/dist/solutions-components/{p-e0c011b8.js → p-7452d79a.js} +1 -1
  474. package/dist/solutions-components/{p-57c08531.entry.js → p-753da967.entry.js} +1 -1
  475. package/dist/solutions-components/{p-f8dd2784.js → p-767002cd.js} +2 -2
  476. package/dist/solutions-components/{p-5ceef49b.js → p-76c2c379.js} +1 -1
  477. package/dist/solutions-components/{p-2154de6d.js → p-788aa5d7.js} +1 -1
  478. package/dist/solutions-components/{p-2592c0b8.js → p-79cc0531.js} +2 -2
  479. package/dist/solutions-components/{p-167eb73b.js → p-7a0fa011.js} +1 -1
  480. package/dist/solutions-components/{p-1efcac52.entry.js → p-7a55cee6.entry.js} +1 -1
  481. package/dist/solutions-components/{p-58167087.entry.js → p-7bc63171.entry.js} +1 -1
  482. package/dist/solutions-components/{p-864c190b.entry.js → p-8150ad0e.entry.js} +1 -1
  483. package/dist/solutions-components/{p-5d62566c.entry.js → p-81664d83.entry.js} +1 -1
  484. package/dist/solutions-components/{p-38f906f2.js → p-8354f486.js} +1 -1
  485. package/dist/solutions-components/p-84dff306.entry.js +17 -0
  486. package/dist/solutions-components/{p-31aaa60f.js → p-8594fe6b.js} +1 -1
  487. package/dist/solutions-components/{p-c79c7978.entry.js → p-89617f30.entry.js} +1 -1
  488. package/dist/solutions-components/{p-ced11bea.entry.js → p-8a91195f.entry.js} +1 -1
  489. package/dist/solutions-components/{p-9a35ef8e.js → p-8b2d396e.js} +1 -1
  490. package/dist/solutions-components/{p-34ef43ce.entry.js → p-8b2e460e.entry.js} +1 -1
  491. package/dist/solutions-components/{p-e2637fe6.js → p-8ec6ea34.js} +1 -1
  492. package/dist/solutions-components/{p-e3d72832.entry.js → p-8ee00658.entry.js} +2 -2
  493. package/dist/solutions-components/{p-28b5a7cf.js → p-905fcf73.js} +1 -1
  494. package/dist/solutions-components/{p-410068d9.entry.js → p-929909bc.entry.js} +1 -1
  495. package/dist/solutions-components/{p-9b76bf3d.js → p-948b5722.js} +1 -1
  496. package/dist/solutions-components/{p-0fa3d1aa.js → p-956f3207.js} +1 -1
  497. package/dist/solutions-components/{p-b28ff52c.js → p-96287d23.js} +1 -1
  498. package/dist/solutions-components/{p-f596eabd.entry.js → p-964c0e7d.entry.js} +1 -1
  499. package/dist/solutions-components/{p-80cb42e4.entry.js → p-98051370.entry.js} +1 -1
  500. package/dist/solutions-components/p-9a8c51bf.entry.js +6 -0
  501. package/dist/solutions-components/{p-42f9ab43.entry.js → p-9a94f48c.entry.js} +1 -1
  502. package/dist/solutions-components/{p-688f6a0a.js → p-9b94501c.js} +1 -1
  503. package/dist/solutions-components/{p-1cebde99.js → p-9d4467a3.js} +1 -1
  504. package/dist/solutions-components/{p-872036a8.js → p-9e3c9cd2.js} +1 -1
  505. package/dist/solutions-components/{p-64e2c099.js → p-9fd59203.js} +1 -1
  506. package/dist/solutions-components/{p-7bb12deb.js → p-a097edf0.js} +1 -1
  507. package/dist/solutions-components/{p-27e0f599.js → p-a201bffc.js} +1 -1
  508. package/dist/solutions-components/{p-d6f68a4e.entry.js → p-a3729795.entry.js} +1 -1
  509. package/dist/solutions-components/{p-56f1d66b.entry.js → p-a47ed290.entry.js} +1 -1
  510. package/dist/solutions-components/{p-10e1ebe4.entry.js → p-a5ef322f.entry.js} +1 -1
  511. package/dist/solutions-components/p-a776b7e6.entry.js +6 -0
  512. package/dist/solutions-components/{p-4d76eaf6.entry.js → p-a97e8d6a.entry.js} +1 -1
  513. package/dist/solutions-components/{p-7262469a.js → p-aaea9203.js} +1 -1
  514. package/dist/solutions-components/{p-f153f1c9.entry.js → p-ad1d56b1.entry.js} +1 -1
  515. package/dist/solutions-components/{p-3948a96c.js → p-adeb0e8f.js} +1 -1
  516. package/dist/solutions-components/{p-446ab7f8.entry.js → p-af63959a.entry.js} +1 -1
  517. package/dist/solutions-components/{p-46e0ce0c.entry.js → p-b1125581.entry.js} +2 -2
  518. package/dist/solutions-components/{p-ebbff02e.js → p-b20a31c8.js} +1 -1
  519. package/dist/solutions-components/{p-7b2314ac.js → p-b81131b3.js} +1 -1
  520. package/dist/solutions-components/p-b892e595.entry.js +6 -0
  521. package/dist/solutions-components/{p-cc2393c3.entry.js → p-b89c5865.entry.js} +1 -1
  522. package/dist/solutions-components/{p-5958dad9.js → p-b9b52743.js} +1 -1
  523. package/dist/solutions-components/{p-5eaaf6ea.entry.js → p-ba99e562.entry.js} +1 -1
  524. package/dist/solutions-components/{p-0b8463d6.js → p-bc548c06.js} +1 -1
  525. package/dist/solutions-components/{p-bde323ec.js → p-bccbdeb5.js} +1 -1
  526. package/dist/solutions-components/{p-c968f9aa.entry.js → p-bd318e33.entry.js} +1 -1
  527. package/dist/solutions-components/{p-8927339d.js → p-bd766e49.js} +1 -1
  528. package/dist/solutions-components/{p-651459e2.entry.js → p-be36d5ed.entry.js} +2 -2
  529. package/dist/solutions-components/{p-c3ab7439.js → p-bfc78840.js} +1 -1
  530. package/dist/solutions-components/{p-452850b4.entry.js → p-c073d2d6.entry.js} +1 -1
  531. package/dist/solutions-components/{p-1dbaff04.entry.js → p-c644edf5.entry.js} +1 -1
  532. package/dist/solutions-components/p-c6b7e7ff.js +11 -0
  533. package/dist/solutions-components/{p-8b74f5bb.entry.js → p-ca0b3a2b.entry.js} +1 -1
  534. package/dist/solutions-components/{p-2c0dc7b1.js → p-cc462e38.js} +1 -1
  535. package/dist/solutions-components/{p-667e7134.entry.js → p-cfd88a2f.entry.js} +1 -1
  536. package/dist/solutions-components/{p-73220ff1.js → p-d5228aed.js} +1 -1
  537. package/dist/solutions-components/{p-476e5302.js → p-d74e95e5.js} +1 -1
  538. package/dist/solutions-components/{p-ea285144.js → p-d98caa4c.js} +1 -1
  539. package/dist/solutions-components/{p-a46f1b45.js → p-dd9c065e.js} +1 -1
  540. package/dist/solutions-components/{p-05b2bdf9.js → p-dedc167c.js} +1 -1
  541. package/dist/solutions-components/{p-a16feeec.js → p-e4f9b782.js} +1 -1
  542. package/dist/solutions-components/{p-8af52074.entry.js → p-e572a692.entry.js} +1 -1
  543. package/dist/solutions-components/{p-89504313.entry.js → p-e5dda947.entry.js} +1 -1
  544. package/dist/solutions-components/{p-8d00a17e.js → p-e7fbf2fe.js} +1 -1
  545. package/dist/solutions-components/{p-470a9ec4.entry.js → p-e9ba0c7f.entry.js} +1 -1
  546. package/dist/solutions-components/{p-28d2670f.entry.js → p-eb58da32.entry.js} +1 -1
  547. package/dist/solutions-components/{p-168a7d63.js → p-eb60ec2a.js} +1 -1
  548. package/dist/solutions-components/p-ecc95259.js +20 -0
  549. package/dist/solutions-components/{p-e2eb4fd3.entry.js → p-ee144348.entry.js} +1 -1
  550. package/dist/solutions-components/{p-6be3c411.js → p-f03bed0c.js} +1 -1
  551. package/dist/solutions-components/{p-b28b6d40.js → p-f5028a8e.js} +1 -1
  552. package/dist/solutions-components/{p-a1c6db13.entry.js → p-f50cf603.entry.js} +1 -1
  553. package/dist/solutions-components/{p-c70392c4.entry.js → p-f524cc5b.entry.js} +1 -1
  554. package/dist/solutions-components/{p-81814234.entry.js → p-f6b19af7.entry.js} +1 -1
  555. package/dist/solutions-components/{p-f7b520ae.js → p-f7d8b6b3.js} +1 -1
  556. package/dist/solutions-components/{p-6eb4ba8f.js → p-f9166fcb.js} +3 -3
  557. package/dist/solutions-components/{p-17a29fa6.entry.js → p-fb0f2016.entry.js} +1 -1
  558. package/dist/solutions-components/p-fb74e4a9.js +11 -0
  559. package/dist/solutions-components/solutions-components.esm.js +1 -1
  560. package/dist/solutions-components/utils/downloadUtils.ts +257 -85
  561. package/dist/solutions-components/utils/interfaces.ts +0 -5
  562. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +2 -0
  563. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +29 -1
  564. package/dist/types/components/layer-table/layer-table.d.ts +42 -26
  565. package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +71 -0
  566. package/dist/types/components/map-tools/map-tools.d.ts +15 -7
  567. package/dist/types/components/pdf-download/pdf-download.d.ts +5 -3
  568. package/dist/types/components.d.ts +67 -12
  569. package/dist/types/preact.d.ts +3 -3
  570. package/dist/types/utils/downloadUtils.d.ts +34 -16
  571. package/dist/types/utils/interfaces.d.ts +0 -4
  572. package/package.json +8 -9
  573. package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -250
  574. package/dist/esm/calcite-action-bar.entry.js +0 -246
  575. package/dist/solutions-components/p-072155f9.js +0 -12
  576. package/dist/solutions-components/p-0dd8368d.entry.js +0 -6
  577. package/dist/solutions-components/p-18538cd9.entry.js +0 -11
  578. package/dist/solutions-components/p-46352a57.entry.js +0 -6
  579. package/dist/solutions-components/p-4f9f97b2.entry.js +0 -37
  580. package/dist/solutions-components/p-868df4a0.js +0 -21
  581. package/dist/solutions-components/p-869d4521.entry.js +0 -6
  582. package/dist/solutions-components/p-90cef98d.entry.js +0 -6
  583. package/dist/solutions-components/p-9310b882.js +0 -7
  584. package/dist/solutions-components/p-99891e57.js +0 -11
  585. package/dist/solutions-components/p-9eba78eb.entry.js +0 -6
  586. package/dist/solutions-components/p-c26cd409.entry.js +0 -6
  587. package/dist/solutions-components/p-d4cb29ed.entry.js +0 -6
  588. package/dist/solutions-components/p-fb7ca639.entry.js +0 -6
  589. package/dist/solutions-components/p-fe96e0d9.entry.js +0 -23
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{a as t}from"./p-a16feeec.js";import{d as n}from"./p-a82f35c9.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}
6
+ import{a as t}from"./p-e4f9b782.js";import{d as n}from"./p-a82f35c9.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as _}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var m={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"周":_+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var r=100*_+m;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};_.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-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"周":_+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var r=100*_+m;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var 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-ch",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:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"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,a){var n=r[a];return Array.isArray(n)&&(n=n[t?0:1]),n.replace("%d",e)}var a={name:"de-ch",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:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"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(a,null,!0);export default a;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as t,h as l,H as a,g as i}from"./p-9310b882.js";import{E as s,a as c,b as r}from"./p-63a0e9bf.js";const u=class{constructor(l){e(this,l),this.deductValueComplete=t(this,"deductValueComplete",7),this._types=Object.keys(s).filter((e=>!isNaN(Number(s[e]))))}render(){return l(a,null,l("div",{class:"label-display"},l("calcite-label",{class:"label-display"},"Density %",this._getDensityInput()),l("calcite-label",{class:"label-display"},"Type",this._getTypeInput()),l("calcite-label",{class:"label-display"},"Severity",this._getSeverityInput())),l("div",null,this._getCalculateInput()))}_getDensityInput(){return l("calcite-input",{max:100,min:0,ref:e=>{this._densityElement=e},type:"number"})}_getTypeInput(){return l("calcite-select",{label:"",ref:e=>{this._typeElement=e}},this._types.map(((e,t)=>l("calcite-option",{value:s[e].toString()},`${e} (${t+1})`))))}_getSeverityInput(){return l("calcite-select",{label:"",ref:e=>{this._severityElement=e}},l("calcite-option",{value:c.H},"High"),l("calcite-option",{value:c.M},"Medium"),l("calcite-option",{value:c.L},"Low"))}_getCalculateInput(){return l("calcite-button",{onClick:()=>this._calculateDeduct(parseFloat(this._typeElement.value),this._severityElement.value,parseFloat(this._densityElement.value))},"Calculate Deduct Value")}_calculateDeduct(e,t,l){if(e&&t&&!isNaN(l)){const a=r(e.toString(),t.toString(),l.toString(),!0);this.deductValueComplete.emit(a),alert(a)}else alert("Type, severity, and a density number are required")}get el(){return i(this)}};u.style=":host{display:block;--calcite-label-margin-bottom:0}.label-display{display:block;padding-bottom:1rem}";export{u as deduct_calculator}
6
+ import{r as e,c as t,h as l,H as a,g as i}from"./p-33613993.js";import{E as s,a as c,b as r}from"./p-63a0e9bf.js";const u=class{constructor(l){e(this,l),this.deductValueComplete=t(this,"deductValueComplete",7),this._types=Object.keys(s).filter((e=>!isNaN(Number(s[e]))))}render(){return l(a,null,l("div",{class:"label-display"},l("calcite-label",{class:"label-display"},"Density %",this._getDensityInput()),l("calcite-label",{class:"label-display"},"Type",this._getTypeInput()),l("calcite-label",{class:"label-display"},"Severity",this._getSeverityInput())),l("div",null,this._getCalculateInput()))}_getDensityInput(){return l("calcite-input",{max:100,min:0,ref:e=>{this._densityElement=e},type:"number"})}_getTypeInput(){return l("calcite-select",{label:"",ref:e=>{this._typeElement=e}},this._types.map(((e,t)=>l("calcite-option",{value:s[e].toString()},`${e} (${t+1})`))))}_getSeverityInput(){return l("calcite-select",{label:"",ref:e=>{this._severityElement=e}},l("calcite-option",{value:c.H},"High"),l("calcite-option",{value:c.M},"Medium"),l("calcite-option",{value:c.L},"Low"))}_getCalculateInput(){return l("calcite-button",{onClick:()=>this._calculateDeduct(parseFloat(this._typeElement.value),this._severityElement.value,parseFloat(this._densityElement.value))},"Calculate Deduct Value")}_calculateDeduct(e,t,l){if(e&&t&&!isNaN(l)){const a=r(e.toString(),t.toString(),l.toString(),!0);this.deductValueComplete.emit(a),alert(a)}else alert("Type, severity, and a density number are required")}get el(){return i(this)}};u.style=":host{display:block;--calcite-label-margin-bottom:0}.label-display{display:block;padding-bottom:1rem}";export{u as deduct_calculator}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as o,h as a,H as i,g as e}from"./p-9310b882.js";import{c as s,d as n}from"./p-c3ab7439.js";import{s as r}from"./p-a16feeec.js";import{s as c,a as d,c as l}from"./p-476e5302.js";import{c as p,d as h}from"./p-7f271c31.js";import{u,c as x,d as g,s as b}from"./p-2592c0b8.js";import{t as m,E as f}from"./p-0fa3d1aa.js";import{c as v}from"./p-588bc0c0.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";import"./p-e761b7cd.js";import"./p-4a75b3dc.js";
6
+ import{r as t,c as o,h as i,H as a,g as e}from"./p-33613993.js";import{c as s,d as n}from"./p-bfc78840.js";import{s as r}from"./p-e4f9b782.js";import{s as c,a as d,c as l}from"./p-d74e95e5.js";import{c as p,d as h}from"./p-11550b3c.js";import{u,c as x,d as g,s as b}from"./p-79cc0531.js";import{t as m,E as f}from"./p-956f3207.js";import{c as v}from"./p-588bc0c0.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";import"./p-e761b7cd.js";import"./p-4a75b3dc.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
10
  * v1.6.1
11
- */const w=class{constructor(a){t(this,a),this.calciteActionPadToggle=o(this,"calciteActionPadToggle",6),this.mutationObserver=v("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const o=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{o.includes(t)||(t.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const o=r(t).filter((t=>null==t?void 0:t.matches("calcite-action-group")));this.setGroupLayout(o)},this.handleTooltipSlotChange=t=>{const o=r(t).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.expandTooltip=o[0]},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.expandTooltip=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(t){m({el:this.el,expanded:t})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){s(this),p(this),x(this)}disconnectedCallback(){h(this),g(this),n(this)}async componentWillLoad(){c(this);const{el:t,expanded:o}=this;m({el:t,expanded:o}),await b(this)}componentDidLoad(){d(this)}async setFocus(){var t;await l(this),null===(t=this.el)||void 0===t||t.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:o,messages:i,el:e,position:s,toggleExpand:n,scale:r,layout:c}=this,d=o?null:a(f,{collapseText:i.collapse,el:e,expandText:i.expand,expanded:t,position:s,scale:r,toggle:n,tooltip:this.expandTooltip,ref:this.setExpandToggleRef});return d?a("calcite-action-group",{class:"action-group--end",layout:c,scale:r},a("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),d):null}render(){return a(i,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},a("div",{class:"container"},a("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.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:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_action_pad}
11
+ */const w=class{constructor(i){t(this,i),this.calciteActionPadToggle=o(this,"calciteActionPadToggle",6),this.mutationObserver=v("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const o=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{o.includes(t)||(t.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const o=r(t).filter((t=>null==t?void 0:t.matches("calcite-action-group")));this.setGroupLayout(o)},this.handleTooltipSlotChange=t=>{const o=r(t).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.expandTooltip=o[0]},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.expandTooltip=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(t){m({el:this.el,expanded:t})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){s(this),p(this),x(this)}disconnectedCallback(){h(this),g(this),n(this)}async componentWillLoad(){c(this);const{el:t,expanded:o}=this;m({el:t,expanded:o}),await b(this)}componentDidLoad(){d(this)}async setFocus(){var t;await l(this),null===(t=this.el)||void 0===t||t.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:o,messages:a,el:e,position:s,toggleExpand:n,scale:r,layout:c}=this,d=o?null:i(f,{collapseText:a.collapse,el:e,expandText:a.expand,expanded:t,position:s,scale:r,toggle:n,tooltip:this.expandTooltip,ref:this.setExpandToggleRef});return d?i("calcite-action-group",{class:"action-group--end",layout:c,scale:r},i("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),d):null}render(){return i(a,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.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:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_action_pad}
@@ -0,0 +1,7 @@
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
+ let e,n,t=!1,l=null,o=!1;const s=e=>{const n=new URL(e,fe.t);return n.origin!==ue.location.origin?n.href:n.pathname},i="http://www.w3.org/1999/xlink",c={},r=e=>"object"==(e=typeof e)||"function"===e;function u(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const a=(e,n,...t)=>{let l=null,o=null,s=!1,i=!1;const c=[],u=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!r(l))&&(l+=""),s&&i?c[c.length-1].l+=l:c.push(s?f(null,l):l),i=s)};if(u(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,c,p);const a=f(e,null);return a.o=n,c.length>0&&(a.i=c),a.u=o,a},f=(e,n)=>({p:0,m:e,l:n,h:null,i:null,o:null,u:null}),d={},p={forEach:(e,n)=>e.map(y).forEach(n),map:(e,n)=>e.map(y).map(n).map(m)},y=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.v,vtag:e.m,vtext:e.l}),m=e=>{if("function"==typeof e.vtag){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),a(e.vtag,n,...e.vchildren||[])}const n=f(e.vtag,e.vtext);return n.o=e.vattrs,n.i=e.vchildren,n.u=e.vkey,n.v=e.vname,n},h=e=>ne(e).$,v=(e,n,t)=>{const l=h(e);return{emit:e=>$(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},$=(e,n,t)=>{const l=fe.ce(n,t);return e.dispatchEvent(l),l},b=new WeakMap,w=e=>"sc-"+e.g,g=(e,n,t,l,o,s)=>{if(t!==l){let c=oe(e,n),u=n.toLowerCase();if("class"===n){const n=e.classList,o=k(t),s=k(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===n){for(const n in t)l&&null!=l[n]||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in l)t&&l[n]===t[n]||(n.includes("-")?e.style.setProperty(n,l[n]):e.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&l(e);else if(c||"o"!==n[0]||"n"!==n[1]){const a=r(l);if((c||a&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?c=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(n)||(f?e.removeAttributeNS(i,n):e.removeAttribute(n)):(!c||4&s||o)&&!a&&(l=!0===l?"":l,f?e.setAttributeNS(i,n,l):e.setAttribute(n,l))}else n="-"===n[2]?n.slice(3):oe(ue,u)?u.slice(2):u[2]+n.slice(3),t&&fe.rel(e,n,t,!1),l&&fe.ael(e,n,l,!1)}},j=/\s/,k=e=>e?e.split(j):[],S=(e,n,t,l)=>{const o=11===n.h.nodeType&&n.h.host?n.h.host:n.h,s=e&&e.o||c,i=n.o||c;for(l in s)l in i||g(o,l,s[l],void 0,t,n.p);for(l in i)g(o,l,s[l],i[l],t,n.p)},O=(n,l,o)=>{const s=l.i[o];let i,c,r=0;if(null!==s.l)i=s.h=ae.createTextNode(s.l);else{if(t||(t="svg"===s.m),i=s.h=ae.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.m),t&&"foreignObject"===s.m&&(t=!1),S(null,s,t),null!=e&&i["s-si"]!==e&&i.classList.add(i["s-si"]=e),s.i)for(r=0;r<s.i.length;++r)c=O(n,s,r),c&&i.appendChild(c);"svg"===s.m?t=!1:"foreignObject"===i.tagName&&(t=!0)}return i},C=(e,t,l,o,s,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=O(null,l,s),c&&(o[s].h=c,r.insertBefore(c,t)))},M=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.h;L(n),e&&e.remove()}}},x=(e,n)=>e.m===n.m&&e.u===n.u,P=(e,n)=>{const l=n.h=e.h,o=e.i,s=n.i,i=n.m,c=n.l;null===c?(t="svg"===i||"foreignObject"!==i&&t,"slot"===i||S(e,n,t),null!==o&&null!==s?((e,n,t,l)=>{let o,s,i=0,c=0,r=0,u=0,a=n.length-1,f=n[0],d=n[a],p=l.length-1,y=l[0],m=l[p];for(;i<=a&&c<=p;)if(null==f)f=n[++i];else if(null==d)d=n[--a];else if(null==y)y=l[++c];else if(null==m)m=l[--p];else if(x(f,y))P(f,y),f=n[++i],y=l[++c];else if(x(d,m))P(d,m),d=n[--a],m=l[--p];else if(x(f,m))P(f,m),e.insertBefore(f.h,d.h.nextSibling),f=n[++i],m=l[--p];else if(x(d,y))P(d,y),e.insertBefore(d.h,f.h),d=n[--a],y=l[++c];else{for(r=-1,u=i;u<=a;++u)if(n[u]&&null!==n[u].u&&n[u].u===y.u){r=u;break}r>=0?(s=n[r],s.m!==y.m?o=O(n&&n[c],t,r):(P(s,y),n[r]=void 0,o=s.h),y=l[++c]):(o=O(n&&n[c],t,c),y=l[++c]),o&&f.h.parentNode.insertBefore(o,f.h)}i>a?C(e,null==l[p+1]?null:l[p+1].h,t,l,c,p):c>p&&M(n,i,a)})(l,o,n,s):null!==s?(null!==e.l&&(l.textContent=""),C(l,null,n,s,0,s.length-1)):null!==o&&M(o,0,o.length-1),t&&"svg"===i&&(t=!1)):e.l!==c&&(l.data=c)},L=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(L)},R=(e,n)=>{n&&!e.j&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.j=n)))},E=(e,n)=>{if(e.p|=16,!(4&e.p))return R(e,e.k),ge((()=>F(e,n)));e.p|=512},F=(e,n)=>{const t=e.S;let l;return n&&(e.p|=256,e.O&&(e.O.map((([e,n])=>V(t,e,n))),e.O=void 0),l=V(t,"componentWillLoad")),l=U(l,(()=>V(t,"componentWillRender"))),U(l,(()=>D(e,t,n)))},U=(e,n)=>W(e)?e.then(n):n(),W=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,D=async(e,n,t)=>{var l;const o=e.$,s=o["s-rc"];t&&(e=>{const n=e.C,t=e.$,l=n.p,o=((e,n)=>{var t;const l=w(n),o=re.get(l);if(e=11===e.nodeType?e:ae,o)if("string"==typeof o){let n,s=b.get(e=e.head||e);if(s||b.set(e,s=new Set),!s.has(l)){{n=ae.createElement("style"),n.innerHTML=o;const l=null!==(t=fe.M)&&void 0!==t?t:u(ae);null!=l&&n.setAttribute("nonce",l),e.insertBefore(n,e.querySelector("link"))}s&&s.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(e);N(e,n,o,t),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>A(e);0===n.length?t():(Promise.all(n).then(t),e.p|=4,n.length=0)}},N=(t,o,s,i)=>{try{l=o,o=o.render(),t.p&=-17,t.p|=2,((t,l,o=!1)=>{const s=t.$,i=t.C,c=t.P||f(null,null),r=(e=>e&&e.m===d)(l)?l:a(null,null,l);if(n=s.tagName,i.L&&(r.o=r.o||{},i.L.map((([e,n])=>r.o[n]=s[e]))),o&&r.o)for(const e of Object.keys(r.o))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.o[e]=s[e]);r.m=null,r.p|=4,t.P=r,r.h=c.h=s.shadowRoot||s,e=s["s-sc"],P(c,r)})(t,o,i)}catch(e){se(e,t.$)}return l=null,null},T=()=>l,A=e=>{const n=e.$,t=e.S,l=e.k;V(t,"componentDidRender"),64&e.p?V(t,"componentDidUpdate"):(e.p|=64,_(n),V(t,"componentDidLoad"),e.R(n),l||q()),e.F(n),e.j&&(e.j(),e.j=void 0),512&e.p&&be((()=>E(e,!1))),e.p&=-517},H=e=>{{const n=ne(e),t=n.$.isConnected;return t&&2==(18&n.p)&&E(n,!1),t}},q=()=>{_(ae.documentElement),be((()=>$(ue,"appload",{detail:{namespace:"solutions-components"}})))},V=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){se(e)}},_=e=>e.classList.add("hydrated"),z=(e,n,t)=>{if(n.U){e.watchers&&(n.W=e.watchers);const l=Object.entries(n.U),o=e.prototype;if(l.map((([e,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,e,{get(){return((e,n)=>ne(this).D.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=ne(e),s=o.$,i=o.D.get(n),c=o.p,u=o.S;if(t=((e,n)=>null==e||r(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.U[n][0]),(!(8&c)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.D.set(n,t),u)){if(l.W&&128&c){const e=l.W[n];e&&e.map((e=>{try{u[e](t,i,n)}catch(e){se(e,s)}}))}if(2==(18&c)){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(t,i,n))return;E(o,!1)}}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,e,{value(...n){const t=ne(this);return t.N.then((()=>t.S[e](...n)))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,n,l){fe.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(o.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=l.filter((([e,n])=>15&n[0])).map((([e,l])=>{const o=l[1]||e;return t.set(o,e),512&l[0]&&n.L.push([e,o]),o}))}}return e},B=e=>{V(e,"connectedCallback")},G=e=>{V(e,"disconnectedCallback")},I=(e,n={})=>{var t;const l=[],o=n.exclude||[],s=ue.customElements,i=ae.head,c=i.querySelector("meta[charset]"),r=ae.createElement("style"),a=[];let f,d=!0;Object.assign(fe,n),fe.t=new URL(n.resourcesUrl||"./",ae.baseURI).href,e.map((e=>{e[1].map((n=>{const t={p:n[0],g:n[1],U:n[2],T:n[3]};t.U=n[2],t.T=n[3],t.L=[],t.W={};const i=t.g,c=class extends HTMLElement{constructor(e){super(e),le(e=this,t),1&t.p&&e.attachShadow({mode:"open",delegatesFocus:!!(16&t.p)})}connectedCallback(){f&&(clearTimeout(f),f=null),d?a.push(this):fe.jmp((()=>(e=>{if(0==(1&fe.p)){const n=ne(e),t=n.C,l=()=>{};if(1&n.p)K(e,n,t.T),(null==n?void 0:n.S)?B(n.S):(null==n?void 0:n.A)&&n.A.then((()=>B(n.S)));else{n.p|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){R(n,n.k=t);break}}t.U&&Object.entries(t.U).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t,l,o)=>{if(0==(32&n.p)){n.p|=32;{if((o=ce(t)).then){const e=()=>{};o=await o,e()}o.isProxied||(t.W=o.watchers,z(o,t,2),o.isProxied=!0);const e=()=>{};n.p|=8;try{new o(n)}catch(e){se(e)}n.p&=-9,n.p|=128,e(),B(n.S)}if(o.style){let e=o.style;const n=w(t);if(!re.has(n)){const l=()=>{};((e,n,t)=>{let l=re.get(e);pe&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,re.set(e,l)})(n,e,!!(1&t.p)),l()}}}const s=n.k,i=()=>E(n,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,n,t)}l()}})(this)))}disconnectedCallback(){fe.jmp((()=>(async()=>{if(0==(1&fe.p)){const e=ne(this);e.H&&(e.H.map((e=>e())),e.H=void 0),(null==e?void 0:e.S)?G(e.S):(null==e?void 0:e.A)&&e.A.then((()=>G(e.S)))}})()))}componentOnReady(){return ne(this).A}};t.q=e[0],o.includes(i)||s.get(i)||(l.push(i),s.define(i,z(c,t,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(t=fe.M)&&void 0!==t?t:u(ae);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((e=>e.connectedCallback())):fe.jmp((()=>f=setTimeout(q,30)))},J=(e,n)=>n,K=(e,n,t)=>{t&&t.map((([t,l,o])=>{const s=X(e,t),i=Q(n,o),c=Y(t);fe.ael(s,l,i,c),(n.H=n.H||[]).push((()=>fe.rel(s,l,i,c)))}))},Q=(e,n)=>t=>{try{256&e.p?e.S[n](t):(e.O=e.O||[]).push([n,t])}catch(e){se(e)}},X=(e,n)=>4&n?ae:8&n?ue:16&n?ae.body:e,Y=e=>0!=(2&e),Z=e=>fe.M=e,ee=new WeakMap,ne=e=>ee.get(e),te=(e,n)=>ee.set(n.S=e,n),le=(e,n)=>{const t={p:0,$:e,C:n,D:new Map};return t.N=new Promise((e=>t.F=e)),t.A=new Promise((e=>t.R=e)),e["s-p"]=[],e["s-rc"]=[],K(e,t,n.T),ee.set(e,t)},oe=(e,n)=>n in e,se=(e,n)=>(0,console.error)(e,n),ie=new Map,ce=e=>{const n=e.g.replace(/-/g,"_"),t=e.q,l=ie.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(ie.set(t,e),e[n])),se)
7
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},re=new Map,ue="undefined"!=typeof window?window:{},ae=ue.document||{head:{}},fe={p:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},de=e=>Promise.resolve(e),pe=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ye=[],me=[],he=(e,n)=>t=>{e.push(t),o||(o=!0,n&&4&fe.p?be($e):fe.raf($e))},ve=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){se(e)}e.length=0},$e=()=>{ve(ye),ve(me),(o=ye.length>0)&&fe.raf($e)},be=e=>de().then(e),we=he(ye,!1),ge=he(me,!0);export{J as F,d as H,s as a,I as b,v as c,we as d,T as e,H as f,h as g,a as h,de as p,te as r,Z as 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 e}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var r={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};e.locale(r,null,!0);export default r;
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={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};e.locale(r,null,!0);export default r;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-9310b882.js";import{c as a,d as o,u as n}from"./p-ad75b9bb.js";import{c as r}from"./p-588bc0c0.js";import{d as h,c as d}from"./p-f7b520ae.js";import{h as l}from"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";
6
+ import{r as t,c as i,h as s,g as e}from"./p-33613993.js";import{c as a,d as o,u as n}from"./p-ad75b9bb.js";import{c as r}from"./p-588bc0c0.js";import{d as h,c as d}from"./p-f7d8b6b3.js";import{h as l}from"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var s=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(r(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(r(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(r(e)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(r(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(r(e)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-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 r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var a=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?a+(r(e)?"roky":"rokov"):a+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
@@ -3,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{c as a}from"./p-2c0dc7b1.js";
6
+ import{c as a}from"./p-cc462e38.js";
7
7
  /** @license
8
8
  * Copyright 2022 Esri
9
9
  *
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as i,H as e,g as h}from"./p-33613993.js";import{g as s}from"./p-22833bd3.js";import{E as l}from"./p-2a58e378.js";import"./p-e1a4994d.js";const a=class{constructor(i){t(this,i),this._shouldSetMapView=!1,this.classicGrid=!1,this.enableAutoRefresh=!0,this.enableInlineEdit=!1,this.showNewestFirst=!0,this.hideMap=!1,this.mapInfos=[],this.searchConfiguration=void 0,this.zoomAndScrollToSelected=!1,this._expandPopup=!1,this._translations=void 0,this._layoutMode=l.GRID,this._mapView=void 0,this._panelOpen=!0}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,this._expandPopup?(this._shouldSetMapView=!0,this._expandPopup=!1):this._setMapView()}async componentWillLoad(){await this._getTranslations()}render(){return i(e,null,i("calcite-shell",{class:"position-relative"},i("calcite-panel",{class:"width-full height-full"},this._getBody(this._layoutMode,this._panelOpen,this.hideMap))))}componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._setMapView())}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=this.classicGrid?i?"chevrons-down":"chevrons-up":i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:e=this.classicGrid?i?"chevrons-right":"chevrons-left":i?"chevrons-left":"chevrons-right";break;case l.GRID:e=this.classicGrid?i?"chevrons-up":"chevrons-down":i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-0")+" width-full position-relative";break;case l.GRID:e=this.classicGrid?(i?"position-relative":"position-absolute-53")+" height-full width-full display-flex":"height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:e="height-full position-relative "+(i?"width-1-2":"width-0")}return e}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=this.classicGrid?(i?"height-full":"height-53")+" position-relative width-full display-flex":(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,e,h){const s=this.classicGrid&&t===l.GRID&&e?"display-grid":t===l.HORIZONTAL?"":"display-flex";return i("calcite-panel",{class:"width-full height-full"},this.classicGrid?i("div",{class:`width-full height-full ${s}`},this._getTable(t,e),this._getMapAndCard(t,e,h)):i("div",{class:`width-full height-full ${s}`},this._getMapAndCard(t,e,h),this._getTable(t,e)))}_getMapAndCard(t,e,h){const s=this._getMapSizeClass(t,e);return this.classicGrid?i("div",{class:`${s} overflow-hidden`},this._getCardNode(t,h),this._getMapNode(t,h)):i("div",{class:`${s} overflow-hidden`},this._getMapNode(t,h),this._getPopupExpandNode(),this._getCardNode(t,h))}_getMapNode(t,e){return i("div",{class:`${this.classicGrid&&t===l.GRID?"width-full":this._expandPopup?"height-50-px":"adjusted-height-50"} overflow-hidden ${this.classicGrid&&t===l.GRID?"display-flex height-full width-1-2":t!==l.GRID||e?"display-none":""}`},i("map-card",{class:"width-full",mapInfos:this.mapInfos}))}_getPopupExpandNode(){const t=this._expandPopup?"chevrons-down":"chevrons-up";return i("div",{class:"height-49-px calcite-mode-dark"},i("calcite-panel",null,i("div",{class:"display-flex align-items-center",slot:"header-content"},i("calcite-icon",{class:"padding-inline-end-75",icon:"information",scale:"s"}),i("div",null,this._translations.information)),i("calcite-action",{class:"height-49-px",icon:t,onClick:()=>this._togglePopup(),slot:"header-actions-end"})))}_togglePopup(){this._expandPopup=!this._expandPopup}_getCardNode(t,e){return i("div",{class:""+(this.classicGrid&&t===l.GRID?"width-full adjusted-height-100":this._expandPopup?"width-50 adjusted-height-100-50":"width-50 height-full")},i("card-manager",{class:(this.classicGrid&&t===l.GRID?"":t!==l.GRID||this._expandPopup||e?"adjusted-height-100":"adjusted-height-50")+" width-full",mapView:null==this?void 0:this._mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,e){const h=this._getTableSizeClass(t,e),s=this._getDividerIcon(t,e),a=e?this._translations.close:this._translations.open,o="toggle-layout";return i("calcite-shell",{class:h+" border-bottom"},i("calcite-action-bar",{class:"border",expandDisabled:!0,layout:t===l.HORIZONTAL||this.classicGrid?"horizontal":"vertical",slot:this.classicGrid&&t!==l.VERTICAL?"footer":this.classicGrid&&t===l.VERTICAL?"panel-end":t===l.HORIZONTAL?"header":"panel-start"},i("calcite-action",{class:"toggle-node",icon:s,id:o,onClick:()=>this._toggleLayout(),text:""}),i("calcite-tooltip",{label:a,placement:"bottom","reference-element":o},i("span",null,a))),i("div",{class:"width-full height-full position-relative"},i("layer-table",{enableAutoRefresh:this.enableAutoRefresh,enableInlineEdit:this.enableInlineEdit,mapInfo:this._mapInfo,mapView:null==this?void 0:this._mapView,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected})))}_toggleLayout(){this._panelOpen=!this._panelOpen}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),i}_setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._mapView=this._mapChange.mapView,this._mapView.popupEnabled=!1}async _getTranslations(){const t=await s(this.el);this._translations=t[0]}get el(){return h(this)}};a.style=":host{display:block;--calcite-label-margin-bottom:0px}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-ui-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-49-px{height:49px}.height-50-px{height:50px}.padding-inline-end-75{padding-inline-end:0.75rem}.align-items-center{align-items:center}";export{a as crowdsource_manager}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,H as s,g as n}from"./p-9310b882.js";import{s as r,c as a,d as o,H as h}from"./p-072155f9.js";import{g as u}from"./p-8b448a5b.js";import{c,d,u as f}from"./p-ad75b9bb.js";import{n as m}from"./p-43ba7a04.js";import{c as l,d as p,g as v}from"./p-d2d3e4b5.js";import{c as b,s as M,a as g}from"./p-476e5302.js";import{n as y,g as D,c as Y,d as S}from"./p-7f271c31.js";import{d as j,a as w,c as k}from"./p-80ea5869.js";import{l as L,t as H,f as A,i as T}from"./p-96239d0d.js";import{c as _,s as C,d as $}from"./p-2592c0b8.js";
6
+ import{r as t,c as e,h as i,H as s,g as n}from"./p-33613993.js";import{s as r,c as a,d as o,H as h}from"./p-49e9e4e3.js";import{g as u}from"./p-8b448a5b.js";import{c,d,u as m}from"./p-ad75b9bb.js";import{n as f}from"./p-43ba7a04.js";import{c as l,d as p,g as v}from"./p-72f34a0a.js";import{c as M,s as b,a as g}from"./p-d74e95e5.js";import{n as y,g as D,c as Y,d as S}from"./p-11550b3c.js";import{d as j,a as w,c as k}from"./p-26b28806.js";import{l as L,t as H,f as A,i as T}from"./p-08e35485.js";import{c as _,s as C,d as $}from"./p-79cc0531.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
10
  * v1.6.1
11
- */var O=6e4,W=36e5,z="millisecond",F="second",I="minute",Z="hour",x="day",P="week",E="month",N="quarter",R="year",J="date",U="YYYY-MM-DDTHH:mm:ssZ",X="Invalid Date",q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,B=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const G={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}},K=Object.freeze({__proto__:null,default:G});var Q=function(t,e,i){var s=String(t);return!s||s.length>=e?t:""+Array(e+1-s.length).join(i)+t};const V={s:Q,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),s=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+Q(s,2,"0")+":"+Q(n,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var s=12*(i.year()-e.year())+(i.month()-e.month()),n=e.clone().add(s,E),r=i-n<0,a=e.clone().add(s+(r?-1:1),E);return+(-(s+(i-n)/(r?n-a:a-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:E,y:R,w:P,d:x,D:J,h:Z,m:I,s:F,ms:z,Q:N}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var tt="en",et={};et[tt]=G;var it=function(t){return t instanceof at},st=function t(e,i,s){var n;if(!e)return tt;if("string"==typeof e){var r=e.toLowerCase();et[r]&&(n=r),i&&(et[r]=i,n=r);var a=e.split("-");if(!n&&a.length>1)return t(a[0])}else{var o=e.name;et[o]=e,n=o}return!s&&n&&(tt=n),n||!s&&tt},nt=function(t,e){if(it(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new at(i)},rt=V;rt.l=st,rt.i=it,rt.w=function(t,e){return nt(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var at=function(){function t(t){this.$L=st(t.locale,null,!0),this.parse(t)}var e=t.prototype;return e.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(rt.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var s=e.match(q);if(s){var n=s[2]-1||0,r=(s[7]||"0").substring(0,3);return i?new Date(Date.UTC(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)):new Date(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},e.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},e.$utils=function(){return rt},e.isValid=function(){return!(this.$d.toString()===X)},e.isSame=function(t,e){var i=nt(t);return this.startOf(e)<=i&&i<=this.endOf(e)},e.isAfter=function(t,e){return nt(t)<this.startOf(e)},e.isBefore=function(t,e){return this.endOf(e)<nt(t)},e.$g=function(t,e,i){return rt.u(t)?this[e]:this.set(i,t)},e.unix=function(){return Math.floor(this.valueOf()/1e3)},e.valueOf=function(){return this.$d.getTime()},e.startOf=function(t,e){var i=this,s=!!rt.u(e)||e,n=rt.p(t),r=function(t,e){var n=rt.w(i.$u?Date.UTC(i.$y,e,t):new Date(i.$y,e,t),i);return s?n:n.endOf(x)},a=function(t,e){return rt.w(i.toDate()[t].apply(i.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(e)),i)},o=this.$W,h=this.$M,u=this.$D,c="set"+(this.$u?"UTC":"");switch(n){case R:return s?r(1,0):r(31,11);case E:return s?r(1,h):r(0,h+1);case P:var d=this.$locale().weekStart||0,f=(o<d?o+7:o)-d;return r(s?u-f:u+(6-f),h);case x:case J:return a(c+"Hours",0);case Z:return a(c+"Minutes",1);case I:return a(c+"Seconds",2);case F:return a(c+"Milliseconds",3);default:return this.clone()}},e.endOf=function(t){return this.startOf(t,!1)},e.$set=function(t,e){var i,s=rt.p(t),n="set"+(this.$u?"UTC":""),r=(i={},i[x]=n+"Date",i[J]=n+"Date",i[E]=n+"Month",i[R]=n+"FullYear",i[Z]=n+"Hours",i[I]=n+"Minutes",i[F]=n+"Seconds",i[z]=n+"Milliseconds",i)[s],a=s===x?this.$D+(e-this.$W):e;if(s===E||s===R){var o=this.clone().set(J,1);o.$d[r](a),o.init(),this.$d=o.set(J,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},e.set=function(t,e){return this.clone().$set(t,e)},e.get=function(t){return this[rt.p(t)]()},e.add=function(t,e){var i,s=this;t=Number(t);var n=rt.p(e),r=function(e){var i=nt(s);return rt.w(i.date(i.date()+Math.round(e*t)),s)};if(n===E)return this.set(E,this.$M+t);if(n===R)return this.set(R,this.$y+t);if(n===x)return r(1);if(n===P)return r(7);var a=(i={},i[I]=O,i[Z]=W,i[F]=1e3,i)[n]||1,o=this.$d.getTime()+t*a;return rt.w(o,this)},e.subtract=function(t,e){return this.add(-1*t,e)},e.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return i.invalidDate||X;var s=t||U,n=rt.z(this),r=this.$H,a=this.$m,o=this.$M,h=i.weekdays,u=i.months,c=function(t,i,n,r){return t&&(t[i]||t(e,s))||n[i].slice(0,r)},d=function(t){return rt.s(r%12||12,t,"0")},f=i.meridiem||function(t,e,i){var s=t<12?"AM":"PM";return i?s.toLowerCase():s};return s.replace(B,(function(t,s){return s||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return rt.s(e.$y,4,"0");case"M":return o+1;case"MM":return rt.s(o+1,2,"0");case"MMM":return c(i.monthsShort,o,u,3);case"MMMM":return c(u,o);case"D":return e.$D;case"DD":return rt.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return c(i.weekdaysMin,e.$W,h,2);case"ddd":return c(i.weekdaysShort,e.$W,h,3);case"dddd":return h[e.$W];case"H":return String(r);case"HH":return rt.s(r,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(r,a,!0);case"A":return f(r,a,!1);case"m":return String(a);case"mm":return rt.s(a,2,"0");case"s":return String(e.$s);case"ss":return rt.s(e.$s,2,"0");case"SSS":return rt.s(e.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},e.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},e.diff=function(t,e,i){var s,n=this,r=rt.p(e),a=nt(t),o=(a.utcOffset()-this.utcOffset())*O,h=this-a,u=function(){return rt.m(n,a)};switch(r){case R:s=u()/12;break;case E:s=u();break;case N:s=u()/3;break;case P:s=(h-o)/6048e5;break;case x:s=(h-o)/864e5;break;case Z:s=h/W;break;case I:s=h/O;break;case F:s=h/1e3;break;default:s=h}return i?s:rt.a(s)},e.daysInMonth=function(){return this.endOf(E).$D},e.$locale=function(){return et[this.$L]},e.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),s=st(t,e,!0);return s&&(i.$L=s),i},e.clone=function(){return rt.w(this.$d,this)},e.toDate=function(){return new Date(this.valueOf())},e.toJSON=function(){return this.isValid()?this.toISOString():null},e.toISOString=function(){return this.$d.toISOString()},e.toString=function(){return this.$d.toUTCString()},t}(),ot=at.prototype;nt.prototype=ot,[["$ms",z],["$s",F],["$m",I],["$H",Z],["$W",x],["$M",E],["$y",R],["$D",J]].forEach((function(t){ot[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),nt.extend=function(t,e){return t.$i||(t(e,at,nt),t.$i=!0),nt},nt.locale=st,nt.isDayjs=it,nt.unix=function(t){return nt(1e3*t)},nt.en=et[tt],nt.Ls=et,nt.p={};var ht=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,i){return e||i.slice(1)}))},ut={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ct=function(t,e){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,i,s){var n=s&&s.toUpperCase();return i||e[s]||ut[s]||ht(e[n])}))},dt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ft=/\d\d/,mt=/\d\d?/,lt=/\d*[^-_:/,()\s\d]+/,pt={},vt=function(t){return(t=+t)+(t>68?1900:2e3)},bt=function(t){return function(e){this[t]=+e}},Mt=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],gt=function(t){var e=pt[t];return e&&(e.indexOf?e:e.s.concat(e.f))},yt=function(t,e){var i,s=pt.meridiem;if(s){for(var n=1;n<=24;n+=1)if(t.indexOf(s(n,0,e))>-1){i=n>12;break}}else i=t===(e?"pm":"PM");return i},Dt={A:[lt,function(t){this.afternoon=yt(t,!1)}],a:[lt,function(t){this.afternoon=yt(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[ft,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[mt,bt("seconds")],ss:[mt,bt("seconds")],m:[mt,bt("minutes")],mm:[mt,bt("minutes")],H:[mt,bt("hours")],h:[mt,bt("hours")],HH:[mt,bt("hours")],hh:[mt,bt("hours")],D:[mt,bt("day")],DD:[ft,bt("day")],Do:[lt,function(t){var e=pt.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var s=1;s<=31;s+=1)e(s).replace(/\[|\]/g,"")===t&&(this.day=s)}],M:[mt,bt("month")],MM:[ft,bt("month")],MMM:[lt,function(t){var e=gt("months"),i=(gt("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],MMMM:[lt,function(t){var e=gt("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,bt("year")],YY:[ft,function(t){this.year=vt(t)}],YYYY:[/\d{4}/,bt("year")],Z:Mt,ZZ:Mt};const Yt=new Map([["ar",()=>import("./p-7262469a.js")],["bg",()=>import("./p-bde323ec.js")],["bs",()=>import("./p-ea285144.js")],["ca",()=>import("./p-0b8463d6.js")],["cs",()=>import("./p-0ecd7346.js")],["da",()=>import("./p-e2637fe6.js")],["de",()=>import("./p-3c15959e.js")],["de-at",()=>import("./p-8d00a17e.js")],["de-ch",()=>import("./p-635bbbd4.js")],["el",()=>import("./p-8f8d2861.js")],["en",()=>Promise.resolve().then((function(){return K}))],["en-au",()=>import("./p-7b2314ac.js")],["en-ca",()=>import("./p-2154de6d.js")],["en-gb",()=>import("./p-38f906f2.js")],["es",()=>import("./p-28b5a7cf.js")],["es-mx",()=>import("./p-ec889511.js")],["et",()=>import("./p-73220ff1.js")],["fi",()=>import("./p-872036a8.js")],["fr",()=>import("./p-8927339d.js")],["fr-ch",()=>import("./p-6be3c411.js")],["he",()=>import("./p-7060caf6.js")],["hi",()=>import("./p-5e08d4de.js")],["hr",()=>import("./p-a46f1b45.js")],["hu",()=>import("./p-27e0f599.js")],["id",()=>import("./p-e0c011b8.js")],["it",()=>import("./p-b28ff52c.js")],["it-ch",()=>import("./p-b28b6d40.js")],["ja",()=>import("./p-31aaa60f.js")],["ko",()=>import("./p-d864b7e3.js")],["lt",()=>import("./p-5c9fa0e7.js")],["lv",()=>import("./p-2bf63e2e.js")],["mk",()=>import("./p-3948a96c.js")],["nl",()=>import("./p-138cf009.js")],["nb",()=>import("./p-636f4631.js")],["pl",()=>import("./p-ebbff02e.js")],["pt",()=>import("./p-c1dcc1e7.js")],["pt-br",()=>import("./p-9b76bf3d.js")],["ro",()=>import("./p-64e2c099.js")],["ru",()=>import("./p-5958dad9.js")],["sk",()=>import("./p-a287be8b.js")],["sl",()=>import("./p-5ceef49b.js")],["sr",()=>import("./p-cd673260.js")],["sv",()=>import("./p-167eb73b.js")],["th",()=>import("./p-9a35ef8e.js")],["tr",()=>import("./p-be146646.js")],["uk",()=>import("./p-688f6a0a.js")],["vi",()=>import("./p-8c61431d.js")],["zh-cn",()=>import("./p-aea37c90.js")],["zh-hk",()=>import("./p-168a7d63.js")],["zh-tw",()=>import("./p-1cebde99.js")]]);nt.extend((function(t,e,i){i.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(vt=t.parseTwoDigitYear);var s=e.prototype,n=s.parse;s.parse=function(t){var e=t.date,s=t.utc,r=t.args;this.$u=s;var a=r[1];if("string"==typeof a){var o=!0===r[2],h=!0===r[3],u=o||h,c=r[2];h&&(c=r[2]),pt=this.$locale(),!o&&c&&(pt=i.Ls[c]),this.$d=function(t,e,i){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var s=function(t){for(var e=(t=ct(t,pt&&pt.formats)).match(dt),i=e.length,s=0;s<i;s+=1){var n=e[s],r=Dt[n],a=r&&r[1];e[s]=a?{regex:r&&r[0],parser:a}:n.replace(/^\[|\]$/g,"")}return function(t){for(var s={},n=0,r=0;n<i;n+=1){var a=e[n];if("string"==typeof a)r+=a.length;else{var o=a.regex,h=a.parser,u=t.slice(r),c=o.exec(u)[0];h.call(s,c),t=t.replace(c,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var i=t.hours;e?i<12&&(t.hours+=12):12===i&&(t.hours=0),delete t.afternoon}}(s),s}}(e),n=s(t),r=n.year,a=n.month,o=n.day,h=n.hours,u=n.minutes,c=n.seconds,d=n.milliseconds,f=n.zone,m=new Date,l=o||(r||a?1:m.getDate()),p=r||m.getFullYear(),v=0;r&&!a||(v=a>0?a-1:m.getMonth());var b=h||0,M=u||0,g=c||0,y=d||0;return f?new Date(Date.UTC(p,v,l,b,M,g,y+60*f.offset*1e3)):i?new Date(Date.UTC(p,v,l,b,M,g,y)):new Date(p,v,l,b,M,g,y)}catch(t){return new Date("")}}(e,a,s),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),u&&e!=this.format(a)&&(this.$d=new Date("")),pt={}}else if(a instanceof Array)for(var d=a.length,f=1;f<=d;f+=1){r[1]=a[f-1];var m=i.apply(this,r);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}f===d&&(this.$d=new Date(""))}else n.call(this,t)}})),nt.extend((function(t,e,i){var s=function(t){return t&&(t.indexOf?t:t.s)},n=function(t,e,i,n,r){var a=t.name?t:t.$locale(),o=s(a[e]),h=s(a[i]),u=o||h.map((function(t){return t.slice(0,n)}));if(!r)return u;var c=a.weekStart;return u.map((function(t,e){return u[(e+(c||0))%7]}))},r=function(){return i.Ls[i.locale()]},a=function(t,e){return t.formats[e]||ht(t.formats[e.toUpperCase()])},o=function(){var t=this;return{months:function(e){return e?e.format("MMMM"):n(t,"months")},monthsShort:function(e){return e?e.format("MMM"):n(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):n(t,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):n(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):n(t,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(t.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};e.prototype.localeData=function(){return o.bind(this)()},i.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(e){return a(t,e)},meridiem:t.meridiem,ordinal:t.ordinal}},i.months=function(){return n(r(),"months")},i.monthsShort=function(){return n(r(),"monthsShort","months",3)},i.weekdays=function(t){return n(r(),"weekdays",null,null,t)},i.weekdaysShort=function(t){return n(r(),"weekdaysShort","weekdays",3,t)},i.weekdaysMin=function(t){return n(r(),"weekdaysMin","weekdays",2,t)}})),nt.extend((function(t,e,i){var s=e.prototype,n=s.format;i.en.formats=ut,s.format=function(t){void 0===t&&(t=U);var e=this.$locale().formats,i=ct(t,void 0===e?{}:e);return n.call(this,i)}})),nt.extend((function(t,e){var i=e.prototype.parse;e.prototype.parse=function(t){if("string"==typeof t.date){var e=this.$locale();t.date=e&&e.preparse?e.preparse(t.date):t.date}return i.bind(this)(t)};var s=e.prototype.format;e.prototype.format=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=s.call.apply(s,[this].concat(e)),r=this.$locale();return r&&r.postformat?r.postformat(n):n};var n=e.prototype.fromToBase;n&&(e.prototype.fromToBase=function(t,e,i,s){var r=this.$locale()||i.$locale();return n.call(this,t,e,i,s,r&&r.postformat)})})),nt.extend((function(t,e,i){i.updateLocale=function(t,e){var s=i.Ls[t];if(s)return(e?Object.keys(e):[]).forEach((function(t){s[t]=e[t]})),s}}));const St=class{constructor(i){t(this,i),this.calciteInputTimePickerChange=e(this,"calciteInputTimePickerChange",7),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${u()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${u()}`,this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,e=this.delocalizeTimeString(t);if(!e)return void this.setValue("");e!==this.value&&this.setValue(e);const i=L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});i!==t&&this.setInputValue(i),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:e,numberingSystem:i}=this;if(i&&"latn"!==i){const s=t.target;y.numberFormatOptions={locale:e,numberingSystem:i,useGrouping:!1};const n=y.delocalize(s.value).split("").map((t=>m.includes(t)?y.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(n)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const e=t.target.value,i=this.shouldIncludeSeconds();this.setValue(H(e,i)),this.setInputValue(L({value:e,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:i}))},this.popoverCloseHandler=()=>{j(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}})},this.popoverOpenHandler=()=>{w(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:e,key:i}=t;if(!e)if("Enter"===i){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const e=this.delocalizeTimeString(this.calciteInputEl.value);this.setValue(e);const i=L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});e&&this.calciteInputEl.value!==i&&this.setInputValue(i)}else"ArrowDown"===i?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===i&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,k(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const e=this.value,i=A(t)||"";i!==e&&(this.userChangedValue=!0,this.value=i||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=e,this.setInputValue(L({value:e,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))))},this.setValueDirectly=t=>{const e=this.shouldIncludeSeconds();this.value=H(t,e),this.setInputValue(this.value?L({value:this.value,includeSeconds:e,locale:this.effectiveLocale,numberingSystem:this.numberingSystem}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(t){this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?j(this):w(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(L({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds()}))}stepWatcher(t,e){(e>=60&&t>0&&t<60||t>=60&&e>0&&e<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(L({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}async setFocus(){await b(this),this.el.focus()}async reposition(t=!1){var e;null===(e=this.popoverEl)||void 0===e||e.reposition(t)}delocalizeTimeString(t){nt.locale(this.effectiveLocale.toLowerCase());const e=nt(t,["LTS","LT"]);if(e.isValid()){let t=`${e.get("hour")}:${e.get("minute")}`;return this.shouldIncludeSeconds()&&(t+=`:${e.get("seconds")||0}`),A(t)||""}return""}async loadDateTimeLocaleData(){let t=D(this.effectiveLocale).toLowerCase();"no"===t&&(t="nb"),"pt-pt"===t&&(t="pt");const{default:e}=await Yt.get(t)();nt.locale(e,null,!0),nt.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){c(this),Y(this),T(this.value)?this.setValueDirectly(this.value):this.value=void 0,l(this),a(this),_(this)}async componentWillLoad(){M(this),await Promise.all([C(this),this.loadDateTimeLocaleData()])}componentDidLoad(){g(this),T(this.value)&&this.setInputValue(L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}disconnectedCallback(){d(this),p(this),o(this),S(this),j(this),$(this)}componentDidRender(){f(this)}render(){const{disabled:t,messages:e,readOnly:n,dialogId:r}=this;return i(s,{onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},i("div",{class:"input-wrapper",onClick:this.onInputWrapperClick},i("calcite-input",{"aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:v(this),lang:this.effectiveLocale,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:n,role:"combobox",scale:this.scale,step:this.step,ref:this.setCalciteInputEl}),this.renderToggleIcon(this.open)),i("calcite-popover",{focusTrapDisabled:!0,id:r,label:e.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},i("calcite-time-picker",{lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),i(h,{component:this}))}renderToggleIcon(t){return i("span",{class:"toggle-icon"},i("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};St.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::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([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([hidden]){display:none}[hidden]{display:none}";export{St as I,nt as d}
11
+ */var O=6e4,W=36e5,z="millisecond",F="second",I="minute",Z="hour",x="day",P="week",E="month",N="quarter",R="year",J="date",U="YYYY-MM-DDTHH:mm:ssZ",X="Invalid Date",q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,B=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const G={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}},K=Object.freeze({__proto__:null,default:G});var Q=function(t,e,i){var s=String(t);return!s||s.length>=e?t:""+Array(e+1-s.length).join(i)+t};const V={s:Q,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),s=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+Q(s,2,"0")+":"+Q(n,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var s=12*(i.year()-e.year())+(i.month()-e.month()),n=e.clone().add(s,E),r=i-n<0,a=e.clone().add(s+(r?-1:1),E);return+(-(s+(i-n)/(r?n-a:a-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:E,y:R,w:P,d:x,D:J,h:Z,m:I,s:F,ms:z,Q:N}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var tt="en",et={};et[tt]=G;var it=function(t){return t instanceof at},st=function t(e,i,s){var n;if(!e)return tt;if("string"==typeof e){var r=e.toLowerCase();et[r]&&(n=r),i&&(et[r]=i,n=r);var a=e.split("-");if(!n&&a.length>1)return t(a[0])}else{var o=e.name;et[o]=e,n=o}return!s&&n&&(tt=n),n||!s&&tt},nt=function(t,e){if(it(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new at(i)},rt=V;rt.l=st,rt.i=it,rt.w=function(t,e){return nt(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var at=function(){function t(t){this.$L=st(t.locale,null,!0),this.parse(t)}var e=t.prototype;return e.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(rt.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var s=e.match(q);if(s){var n=s[2]-1||0,r=(s[7]||"0").substring(0,3);return i?new Date(Date.UTC(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)):new Date(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},e.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},e.$utils=function(){return rt},e.isValid=function(){return!(this.$d.toString()===X)},e.isSame=function(t,e){var i=nt(t);return this.startOf(e)<=i&&i<=this.endOf(e)},e.isAfter=function(t,e){return nt(t)<this.startOf(e)},e.isBefore=function(t,e){return this.endOf(e)<nt(t)},e.$g=function(t,e,i){return rt.u(t)?this[e]:this.set(i,t)},e.unix=function(){return Math.floor(this.valueOf()/1e3)},e.valueOf=function(){return this.$d.getTime()},e.startOf=function(t,e){var i=this,s=!!rt.u(e)||e,n=rt.p(t),r=function(t,e){var n=rt.w(i.$u?Date.UTC(i.$y,e,t):new Date(i.$y,e,t),i);return s?n:n.endOf(x)},a=function(t,e){return rt.w(i.toDate()[t].apply(i.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(e)),i)},o=this.$W,h=this.$M,u=this.$D,c="set"+(this.$u?"UTC":"");switch(n){case R:return s?r(1,0):r(31,11);case E:return s?r(1,h):r(0,h+1);case P:var d=this.$locale().weekStart||0,m=(o<d?o+7:o)-d;return r(s?u-m:u+(6-m),h);case x:case J:return a(c+"Hours",0);case Z:return a(c+"Minutes",1);case I:return a(c+"Seconds",2);case F:return a(c+"Milliseconds",3);default:return this.clone()}},e.endOf=function(t){return this.startOf(t,!1)},e.$set=function(t,e){var i,s=rt.p(t),n="set"+(this.$u?"UTC":""),r=(i={},i[x]=n+"Date",i[J]=n+"Date",i[E]=n+"Month",i[R]=n+"FullYear",i[Z]=n+"Hours",i[I]=n+"Minutes",i[F]=n+"Seconds",i[z]=n+"Milliseconds",i)[s],a=s===x?this.$D+(e-this.$W):e;if(s===E||s===R){var o=this.clone().set(J,1);o.$d[r](a),o.init(),this.$d=o.set(J,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},e.set=function(t,e){return this.clone().$set(t,e)},e.get=function(t){return this[rt.p(t)]()},e.add=function(t,e){var i,s=this;t=Number(t);var n=rt.p(e),r=function(e){var i=nt(s);return rt.w(i.date(i.date()+Math.round(e*t)),s)};if(n===E)return this.set(E,this.$M+t);if(n===R)return this.set(R,this.$y+t);if(n===x)return r(1);if(n===P)return r(7);var a=(i={},i[I]=O,i[Z]=W,i[F]=1e3,i)[n]||1,o=this.$d.getTime()+t*a;return rt.w(o,this)},e.subtract=function(t,e){return this.add(-1*t,e)},e.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return i.invalidDate||X;var s=t||U,n=rt.z(this),r=this.$H,a=this.$m,o=this.$M,h=i.weekdays,u=i.months,c=function(t,i,n,r){return t&&(t[i]||t(e,s))||n[i].slice(0,r)},d=function(t){return rt.s(r%12||12,t,"0")},m=i.meridiem||function(t,e,i){var s=t<12?"AM":"PM";return i?s.toLowerCase():s};return s.replace(B,(function(t,s){return s||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return rt.s(e.$y,4,"0");case"M":return o+1;case"MM":return rt.s(o+1,2,"0");case"MMM":return c(i.monthsShort,o,u,3);case"MMMM":return c(u,o);case"D":return e.$D;case"DD":return rt.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return c(i.weekdaysMin,e.$W,h,2);case"ddd":return c(i.weekdaysShort,e.$W,h,3);case"dddd":return h[e.$W];case"H":return String(r);case"HH":return rt.s(r,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return m(r,a,!0);case"A":return m(r,a,!1);case"m":return String(a);case"mm":return rt.s(a,2,"0");case"s":return String(e.$s);case"ss":return rt.s(e.$s,2,"0");case"SSS":return rt.s(e.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},e.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},e.diff=function(t,e,i){var s,n=this,r=rt.p(e),a=nt(t),o=(a.utcOffset()-this.utcOffset())*O,h=this-a,u=function(){return rt.m(n,a)};switch(r){case R:s=u()/12;break;case E:s=u();break;case N:s=u()/3;break;case P:s=(h-o)/6048e5;break;case x:s=(h-o)/864e5;break;case Z:s=h/W;break;case I:s=h/O;break;case F:s=h/1e3;break;default:s=h}return i?s:rt.a(s)},e.daysInMonth=function(){return this.endOf(E).$D},e.$locale=function(){return et[this.$L]},e.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),s=st(t,e,!0);return s&&(i.$L=s),i},e.clone=function(){return rt.w(this.$d,this)},e.toDate=function(){return new Date(this.valueOf())},e.toJSON=function(){return this.isValid()?this.toISOString():null},e.toISOString=function(){return this.$d.toISOString()},e.toString=function(){return this.$d.toUTCString()},t}(),ot=at.prototype;nt.prototype=ot,[["$ms",z],["$s",F],["$m",I],["$H",Z],["$W",x],["$M",E],["$y",R],["$D",J]].forEach((function(t){ot[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),nt.extend=function(t,e){return t.$i||(t(e,at,nt),t.$i=!0),nt},nt.locale=st,nt.isDayjs=it,nt.unix=function(t){return nt(1e3*t)},nt.en=et[tt],nt.Ls=et,nt.p={};var ht=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,i){return e||i.slice(1)}))},ut={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ct=function(t,e){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,i,s){var n=s&&s.toUpperCase();return i||e[s]||ut[s]||ht(e[n])}))},dt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,mt=/\d\d/,ft=/\d\d?/,lt=/\d*[^-_:/,()\s\d]+/,pt={},vt=function(t){return(t=+t)+(t>68?1900:2e3)},Mt=function(t){return function(e){this[t]=+e}},bt=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],gt=function(t){var e=pt[t];return e&&(e.indexOf?e:e.s.concat(e.f))},yt=function(t,e){var i,s=pt.meridiem;if(s){for(var n=1;n<=24;n+=1)if(t.indexOf(s(n,0,e))>-1){i=n>12;break}}else i=t===(e?"pm":"PM");return i},Dt={A:[lt,function(t){this.afternoon=yt(t,!1)}],a:[lt,function(t){this.afternoon=yt(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[mt,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[ft,Mt("seconds")],ss:[ft,Mt("seconds")],m:[ft,Mt("minutes")],mm:[ft,Mt("minutes")],H:[ft,Mt("hours")],h:[ft,Mt("hours")],HH:[ft,Mt("hours")],hh:[ft,Mt("hours")],D:[ft,Mt("day")],DD:[mt,Mt("day")],Do:[lt,function(t){var e=pt.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var s=1;s<=31;s+=1)e(s).replace(/\[|\]/g,"")===t&&(this.day=s)}],M:[ft,Mt("month")],MM:[mt,Mt("month")],MMM:[lt,function(t){var e=gt("months"),i=(gt("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],MMMM:[lt,function(t){var e=gt("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,Mt("year")],YY:[mt,function(t){this.year=vt(t)}],YYYY:[/\d{4}/,Mt("year")],Z:bt,ZZ:bt};const Yt=new Map([["ar",()=>import("./p-aaea9203.js")],["bg",()=>import("./p-bccbdeb5.js")],["bs",()=>import("./p-d98caa4c.js")],["ca",()=>import("./p-bc548c06.js")],["cs",()=>import("./p-4fc92419.js")],["da",()=>import("./p-8ec6ea34.js")],["de",()=>import("./p-68007503.js")],["de-at",()=>import("./p-e7fbf2fe.js")],["de-ch",()=>import("./p-30b3261c.js")],["el",()=>import("./p-0d14d33a.js")],["en",()=>Promise.resolve().then((function(){return K}))],["en-au",()=>import("./p-b81131b3.js")],["en-ca",()=>import("./p-788aa5d7.js")],["en-gb",()=>import("./p-8354f486.js")],["es",()=>import("./p-905fcf73.js")],["es-mx",()=>import("./p-65ba4d10.js")],["et",()=>import("./p-d5228aed.js")],["fi",()=>import("./p-9e3c9cd2.js")],["fr",()=>import("./p-bd766e49.js")],["fr-ch",()=>import("./p-f03bed0c.js")],["he",()=>import("./p-46918548.js")],["hi",()=>import("./p-21aa112d.js")],["hr",()=>import("./p-dd9c065e.js")],["hu",()=>import("./p-a201bffc.js")],["id",()=>import("./p-7452d79a.js")],["it",()=>import("./p-96287d23.js")],["it-ch",()=>import("./p-f5028a8e.js")],["ja",()=>import("./p-8594fe6b.js")],["ko",()=>import("./p-29049359.js")],["lt",()=>import("./p-6510c06c.js")],["lv",()=>import("./p-2bdd1a5d.js")],["mk",()=>import("./p-adeb0e8f.js")],["nl",()=>import("./p-1c5787b1.js")],["nb",()=>import("./p-34673137.js")],["pl",()=>import("./p-b20a31c8.js")],["pt",()=>import("./p-3f7119c1.js")],["pt-br",()=>import("./p-948b5722.js")],["ro",()=>import("./p-9fd59203.js")],["ru",()=>import("./p-b9b52743.js")],["sk",()=>import("./p-358b9cc8.js")],["sl",()=>import("./p-76c2c379.js")],["sr",()=>import("./p-062d2f9a.js")],["sv",()=>import("./p-7a0fa011.js")],["th",()=>import("./p-8b2d396e.js")],["tr",()=>import("./p-3fcd035e.js")],["uk",()=>import("./p-9b94501c.js")],["vi",()=>import("./p-573d0763.js")],["zh-cn",()=>import("./p-2f42ae51.js")],["zh-hk",()=>import("./p-eb60ec2a.js")],["zh-tw",()=>import("./p-9d4467a3.js")]]);nt.extend((function(t,e,i){i.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(vt=t.parseTwoDigitYear);var s=e.prototype,n=s.parse;s.parse=function(t){var e=t.date,s=t.utc,r=t.args;this.$u=s;var a=r[1];if("string"==typeof a){var o=!0===r[2],h=!0===r[3],u=o||h,c=r[2];h&&(c=r[2]),pt=this.$locale(),!o&&c&&(pt=i.Ls[c]),this.$d=function(t,e,i){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var s=function(t){for(var e=(t=ct(t,pt&&pt.formats)).match(dt),i=e.length,s=0;s<i;s+=1){var n=e[s],r=Dt[n],a=r&&r[1];e[s]=a?{regex:r&&r[0],parser:a}:n.replace(/^\[|\]$/g,"")}return function(t){for(var s={},n=0,r=0;n<i;n+=1){var a=e[n];if("string"==typeof a)r+=a.length;else{var o=a.regex,h=a.parser,u=t.slice(r),c=o.exec(u)[0];h.call(s,c),t=t.replace(c,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var i=t.hours;e?i<12&&(t.hours+=12):12===i&&(t.hours=0),delete t.afternoon}}(s),s}}(e),n=s(t),r=n.year,a=n.month,o=n.day,h=n.hours,u=n.minutes,c=n.seconds,d=n.milliseconds,m=n.zone,f=new Date,l=o||(r||a?1:f.getDate()),p=r||f.getFullYear(),v=0;r&&!a||(v=a>0?a-1:f.getMonth());var M=h||0,b=u||0,g=c||0,y=d||0;return m?new Date(Date.UTC(p,v,l,M,b,g,y+60*m.offset*1e3)):i?new Date(Date.UTC(p,v,l,M,b,g,y)):new Date(p,v,l,M,b,g,y)}catch(t){return new Date("")}}(e,a,s),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),u&&e!=this.format(a)&&(this.$d=new Date("")),pt={}}else if(a instanceof Array)for(var d=a.length,m=1;m<=d;m+=1){r[1]=a[m-1];var f=i.apply(this,r);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}m===d&&(this.$d=new Date(""))}else n.call(this,t)}})),nt.extend((function(t,e,i){var s=function(t){return t&&(t.indexOf?t:t.s)},n=function(t,e,i,n,r){var a=t.name?t:t.$locale(),o=s(a[e]),h=s(a[i]),u=o||h.map((function(t){return t.slice(0,n)}));if(!r)return u;var c=a.weekStart;return u.map((function(t,e){return u[(e+(c||0))%7]}))},r=function(){return i.Ls[i.locale()]},a=function(t,e){return t.formats[e]||ht(t.formats[e.toUpperCase()])},o=function(){var t=this;return{months:function(e){return e?e.format("MMMM"):n(t,"months")},monthsShort:function(e){return e?e.format("MMM"):n(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):n(t,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):n(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):n(t,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(t.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};e.prototype.localeData=function(){return o.bind(this)()},i.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(e){return a(t,e)},meridiem:t.meridiem,ordinal:t.ordinal}},i.months=function(){return n(r(),"months")},i.monthsShort=function(){return n(r(),"monthsShort","months",3)},i.weekdays=function(t){return n(r(),"weekdays",null,null,t)},i.weekdaysShort=function(t){return n(r(),"weekdaysShort","weekdays",3,t)},i.weekdaysMin=function(t){return n(r(),"weekdaysMin","weekdays",2,t)}})),nt.extend((function(t,e,i){var s=e.prototype,n=s.format;i.en.formats=ut,s.format=function(t){void 0===t&&(t=U);var e=this.$locale().formats,i=ct(t,void 0===e?{}:e);return n.call(this,i)}})),nt.extend((function(t,e){var i=e.prototype.parse;e.prototype.parse=function(t){if("string"==typeof t.date){var e=this.$locale();t.date=e&&e.preparse?e.preparse(t.date):t.date}return i.bind(this)(t)};var s=e.prototype.format;e.prototype.format=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=s.call.apply(s,[this].concat(e)),r=this.$locale();return r&&r.postformat?r.postformat(n):n};var n=e.prototype.fromToBase;n&&(e.prototype.fromToBase=function(t,e,i,s){var r=this.$locale()||i.$locale();return n.call(this,t,e,i,s,r&&r.postformat)})})),nt.extend((function(t,e,i){i.updateLocale=function(t,e){var s=i.Ls[t];if(s)return(e?Object.keys(e):[]).forEach((function(t){s[t]=e[t]})),s}}));const St=class{constructor(i){t(this,i),this.calciteInputTimePickerChange=e(this,"calciteInputTimePickerChange",7),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${u()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${u()}`,this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,e=this.delocalizeTimeString(t);if(!e)return void this.setValue("");e!==this.value&&this.setValue(e);const i=L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});i!==t&&this.setInputValue(i),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:e,numberingSystem:i}=this;if(i&&"latn"!==i){const s=t.target;y.numberFormatOptions={locale:e,numberingSystem:i,useGrouping:!1};const n=y.delocalize(s.value).split("").map((t=>f.includes(t)?y.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(n)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const e=t.target.value,i=this.shouldIncludeSeconds();this.setValue(H(e,i)),this.setInputValue(L({value:e,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:i}))},this.popoverCloseHandler=()=>{j(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}})},this.popoverOpenHandler=()=>{w(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:e,key:i}=t;if(!e)if("Enter"===i){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const e=this.delocalizeTimeString(this.calciteInputEl.value);this.setValue(e);const i=L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});e&&this.calciteInputEl.value!==i&&this.setInputValue(i)}else"ArrowDown"===i?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===i&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,k(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const e=this.value,i=A(t)||"";i!==e&&(this.userChangedValue=!0,this.value=i||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=e,this.setInputValue(L({value:e,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))))},this.setValueDirectly=t=>{const e=this.shouldIncludeSeconds();this.value=H(t,e),this.setInputValue(this.value?L({value:this.value,includeSeconds:e,locale:this.effectiveLocale,numberingSystem:this.numberingSystem}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(t){this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?j(this):w(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(L({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds()}))}stepWatcher(t,e){(e>=60&&t>0&&t<60||t>=60&&e>0&&e<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(L({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}async setFocus(){await M(this),this.el.focus()}async reposition(t=!1){var e;null===(e=this.popoverEl)||void 0===e||e.reposition(t)}delocalizeTimeString(t){nt.locale(this.effectiveLocale.toLowerCase());const e=nt(t,["LTS","LT"]);if(e.isValid()){let t=`${e.get("hour")}:${e.get("minute")}`;return this.shouldIncludeSeconds()&&(t+=`:${e.get("seconds")||0}`),A(t)||""}return""}async loadDateTimeLocaleData(){let t=D(this.effectiveLocale).toLowerCase();"no"===t&&(t="nb"),"pt-pt"===t&&(t="pt");const{default:e}=await Yt.get(t)();nt.locale(e,null,!0),nt.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){c(this),Y(this),T(this.value)?this.setValueDirectly(this.value):this.value=void 0,l(this),a(this),_(this)}async componentWillLoad(){b(this),await Promise.all([C(this),this.loadDateTimeLocaleData()])}componentDidLoad(){g(this),T(this.value)&&this.setInputValue(L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}disconnectedCallback(){d(this),p(this),o(this),S(this),j(this),$(this)}componentDidRender(){m(this)}render(){const{disabled:t,messages:e,readOnly:n,dialogId:r}=this;return i(s,{onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},i("div",{class:"input-wrapper",onClick:this.onInputWrapperClick},i("calcite-input",{"aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:v(this),lang:this.effectiveLocale,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:n,role:"combobox",scale:this.scale,step:this.step,ref:this.setCalciteInputEl}),this.renderToggleIcon(this.open)),i("calcite-popover",{focusTrapDisabled:!0,id:r,label:e.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},i("calcite-time-picker",{lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),i(h,{component:this}))}renderToggleIcon(t){return i("span",{class:"toggle-icon"},i("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};St.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::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([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([hidden]){display:none}[hidden]{display:none}";export{St as I,nt as d}
@@ -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,f as i,g as o,c as s,H as a,F as l}from"./p-9310b882.js";import{c as n,d as c}from"./p-c3ab7439.js";import{a as r,i as h,s as d,r as p,n as b,d as u,y as m,e as g,t as f,h as x,g as v}from"./p-a16feeec.js";import{c as w,d as k}from"./p-7f271c31.js";import{c as y}from"./p-3d3e6e20.js";import{c as z,s as C,d as _,u as L}from"./p-2592c0b8.js";import{C as T}from"./p-e3525c00.js";import{g as I}from"./p-8b448a5b.js";import{c as H}from"./p-588bc0c0.js";import{c as M,d as A,u as j}from"./p-ad75b9bb.js";import{s as S,a as W,c as D}from"./p-476e5302.js";import{q as F,m as R,d as E,a as $,s as N,h as O,b as U,g as B,k as P,t as V,i as J,c as q,f as K,e as G,n as X,r as Y,j as Q,l as Z,o as tt,p as et,L as it}from"./p-cee23126.js";import{d as ot,c as st}from"./p-f7b520ae.js";import{C as at,S as lt}from"./p-ab072027.js";import{I as nt}from"./p-87d66120.js";import{g as ct}from"./p-7f9642d5.js";import{s as rt,E as ht}from"./p-13290851.js";import{d as dt}from"./p-868df4a0.js";import"./p-43ba7a04.js";import"./p-0ed14b4b.js";import"./p-99402001.js";import"./p-a82f35c9.js";import"./p-e1a4994d.js";import"./p-2c0dc7b1.js";
6
+ import{r as t,h as e,f as i,g as o,c as s,H as a,F as l}from"./p-33613993.js";import{c as n,d as c}from"./p-bfc78840.js";import{a as r,i as h,s as d,r as p,n as b,d as u,y as m,e as g,t as f,h as x,g as v}from"./p-e4f9b782.js";import{c as w,d as k}from"./p-11550b3c.js";import{c as y}from"./p-3d3e6e20.js";import{c as z,s as C,d as _,u as L}from"./p-79cc0531.js";import{C as T}from"./p-e3525c00.js";import{g as I}from"./p-8b448a5b.js";import{c as H}from"./p-588bc0c0.js";import{c as M,d as A,u as j}from"./p-ad75b9bb.js";import{s as S,a as W,c as D}from"./p-d74e95e5.js";import{q as F,m as R,d as E,a as $,s as N,h as O,b as U,g as B,k as P,t as V,i as J,c as q,f as K,e as G,n as X,r as Y,j as Q,l as Z,o as tt,p as et,L as it}from"./p-280fd963.js";import{d as ot,c as st}from"./p-f7d8b6b3.js";import{C as at,S as lt}from"./p-ab072027.js";import{I as nt}from"./p-87d66120.js";import{g as ct}from"./p-22833bd3.js";import{s as rt,E as ht}from"./p-17d176b5.js";import{d as dt}from"./p-2a58e378.js";import"./p-43ba7a04.js";import"./p-0ed14b4b.js";import"./p-99402001.js";import"./p-a82f35c9.js";import"./p-e1a4994d.js";import"./p-cc462e38.js";import"./p-ecc95259.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,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as s,H as e,g as o}from"./p-33613993.js";import{l as a}from"./p-0dab4c93.js";import{g as n}from"./p-22833bd3.js";import"./p-e1a4994d.js";const l=class{constructor(s){t(this,s),this.closeEdit=i(this,"closeEdit",7),this._shouldClose=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._translations=void 0}graphicIndexWatchHandler(){this._initEditorWidget()}graphicsWatchHandler(){this._initEditorWidget()}mapViewWatchHandler(){this._initEditorWidget()}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){var t,i;const s=document.getElementsByTagName("layer-table");if(1===s.length){const t=s[0];this.graphics=await t.getSelectedGraphics()}(null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&(null===(i=this.graphics[0])||void 0===i?void 0:i.layer)&&(this._layer=this.graphics[0].layer)}render(){var t;const i=!((null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled);return s(e,null,s("div",{class:"position-relative"},i?s("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},s("div",{slot:"message"},this._translations.enableEditing)):void 0,s("div",{slot:"content"},s("div",{id:"feature-form",ref:t=>this._editContainer=t}))))}async _initModules(){const[t,i]=await a(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}_initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div");this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,visibleElements:{snappingControls:!1,sketchTooltipControls:!1},container:t}),this._editHandle&&this._attachmentHandle&&this._activeWorkflowHandle&&(this._editHandle.remove(),this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._editHandle=this.reactiveUtils.when((()=>"ready"===this._editor.viewModel.state),(()=>{this._shouldClose&&(this.closeEdit.emit(),this._shouldClose=!1),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&(this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0)})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>{var t;return null===(t=this._editor.viewModel.activeWorkflow)||void 0===t?void 0:t.activeWorkflow}),(t=>{"update-table-record"!==(null==t?void 0:t.type)&&"create-features"!==(null==t?void 0:t.type)||(this._shouldClose=!1)})),this._editContainer.appendChild(t)}}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphicIndex:["graphicIndexWatchHandler"],graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-ui-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-ui-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-ui-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}";const r=class{constructor(s){t(this,s),this.selectionChanged=i(this,"selectionChanged",7),this.graphics=void 0,this.isLoading=!1,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._translations=void 0}async graphicsWatchHandler(){var t;if(this._features||await this._initFeaturesWidget(),this.graphics.length>0){const i=null===(t=this.graphics[0])||void 0===t?void 0:t.layer;this._editEnabled=i.editingEnabled&&i.capabilities.operations.supportsUpdate,this._features.open({features:this.graphics})}else this._features.clear(),this._features.close()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async closeEdit(){this._editRecordOpen=!1}async componentWillLoad(){await this._initModules(),await this._getTranslations()}render(){var t;const i=this.isLoading||this._editRecordOpen?"display-none":"position-absolute",o=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",a=!this.isLoading&&this._editRecordOpen?"display-none":"";return s(e,null,s("calcite-shell",null,s("calcite-loader",{class:this.isLoading?"":"display-none",label:this._translations.fetchingData}),s("div",{class:"esri-widget "+i,id:"features-node"}),s("div",{class:`${a} width-100`,slot:"footer"},s("div",{class:"display-flex top-border padding-1-2"},s("calcite-button",{appearance:"solid","icon-start":"pencil",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),s("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-edit"},s("span",null,this._translations.edit))),s("div",{class:"display-flex padding-1-2 button-container top-border"},s("div",{class:"min-width-100"},s("calcite-button",{appearance:"outline",id:"solutions-back",onClick:()=>this._back(),width:"full"},this._translations.back),s("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},s("span",null,this._translations.back))),s("div",null,this._getCount()),s("div",{class:"min-width-100"},s("calcite-button",{appearance:"outline",id:"solutions-next",onClick:()=>this._next(),width:"full"},this._translations.next),s("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-next"},s("span",null,this._translations.next))))),s("edit-card",{class:o,graphicIndex:null===(t=this._features)||void 0===t?void 0:t.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),s("calcite-alert",{icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},s("div",{slot:"title"},this._translations.editDisabled),s("div",{slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await a(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async _initFeaturesWidget(){return await this.mapView.when((()=>{this._features?this._features.view=this.mapView:(this._features=new this.Features({view:this.mapView,container:"features-node",visibleElements:{actionBar:!1,closeButton:!1,heading:!0}}),this.zoomAndScrollToSelected&&this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit(this._features.selectedFeature)})))}))}_alertClosed(){this._alertOpen=!1}_editRecordClosed(){this._editRecordOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){var t,i,s;const e=((null===(t=this._features)||void 0===t?void 0:t.viewModel.selectedFeatureIndex)+1).toString(),o=null===(s=null===(i=this._features)||void 0===i?void 0:i.features)||void 0===s?void 0:s.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",o)}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block;--calcite-label-margin-bottom:0}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:8px}tr:nth-child(odd){background:var(--calcite-ui-foreground-2)}.bottom-border{padding-bottom:0.5rem;border-bottom:1px solid var(--calcite-ui-border-1)}.padding-1-2{padding:0.5rem}.padding-top-1-2{padding-top:0.5rem}.font-color-3{color:var(--calcite-ui-text-3)}.display-none{display:none}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-ui-border-1)}.min-width-100{min-width:100px}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-ui-foreground-1) !important;height:100% !important}";export{l as edit_card,r as info_card}
@@ -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,h as s,H as t,g as o}from"./p-9310b882.js";const e=class{constructor(s){r(this,s)}render(){return s(t,null,s("slot",null))}async _getTranslations(){}get el(){return o(this)}};e.style=":host{display:block}";export{e as crowdsource_reporter}
6
+ import{r,h as s,H as t,g as o}from"./p-33613993.js";const e=class{constructor(s){r(this,s)}render(){return s(t,null,s("slot",null))}async _getTranslations(){}get el(){return o(this)}};e.style=":host{display:block}";export{e as crowdsource_reporter}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(a,null,!0);export default a;
6
+ import{d as e}from"./p-3a8d82a2.js";import"./p-33613993.js";import"./p-49e9e4e3.js";import"./p-e4f9b782.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-72f34a0a.js";import"./p-d74e95e5.js";import"./p-11550b3c.js";import"./p-588bc0c0.js";import"./p-26b28806.js";import"./p-08e35485.js";import"./p-79cc0531.js";var a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(a,null,!0);export default a;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as a}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
6
+ import{d as a}from"./p-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={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{n}from"./p-7f271c31.js";
6
+ import{n}from"./p-11550b3c.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,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as s,H as e,g as o}from"./p-33613993.js";import{t as a}from"./p-e4f9b782.js";import{c,d as n,H as h}from"./p-49e9e4e3.js";import{g as r}from"./p-8b448a5b.js";import{c as l,d,u as p}from"./p-ad75b9bb.js";import{i as b}from"./p-43ba7a04.js";import{c as u,d as m,g as v}from"./p-72f34a0a.js";import{c as g,s as k,a as f}from"./p-d74e95e5.js";import"./p-e3525c00.js";const x=class{constructor(s){t(this,s),this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",6),this.calciteCheckboxChange=i(this,"calciteCheckboxChange",6),this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",6),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{b(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()},this.checked=!1,this.disabled=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.indeterminate=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}async setFocus(){var t;await g(this),null===(t=this.toggleEl)||void 0===t||t.focus()}syncHiddenFormInput(t){t.type="checkbox"}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${r()}`,l(this),u(this),c(this)}disconnectedCallback(){d(this),m(this),n(this)}componentWillLoad(){k(this)}componentDidLoad(){f(this)}componentDidRender(){p(this)}render(){return s(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},s("div",{"aria-checked":a(this.checked),"aria-label":v(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,role:"checkbox",tabIndex:this.disabled?void 0:0,ref:t=>this.toggleEl=t},s("svg",{"aria-hidden":"true",class:"check-svg",viewBox:"0 0 16 16"},s("path",{d:this.getPath()})),s("slot",null)),s(h,{component:this}))}get el(){return o(this)}};x.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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 )}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_checkbox}
@@ -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 Y}from"./p-e4d2fcc5.js";import"./p-9310b882.js";import"./p-072155f9.js";import"./p-a16feeec.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-ad75b9bb.js";import"./p-43ba7a04.js";import"./p-d2d3e4b5.js";import"./p-476e5302.js";import"./p-7f271c31.js";import"./p-588bc0c0.js";import"./p-80ea5869.js";import"./p-96239d0d.js";import"./p-2592c0b8.js";var M={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function m(Y,m,_){return(M[_+(2===Y?"2":"")]||M[_]).replace("%d",Y)}var _={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},ordinal:function(Y){return Y},format:{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",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},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",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};Y.locale(_,null,!0);export default _;
6
+ import{d as Y}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={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function m(Y,m,_){return(M[_+(2===Y?"2":"")]||M[_]).replace("%d",Y)}var _={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},ordinal:function(Y){return Y},format:{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",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},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",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};Y.locale(_,null,!0);export default _;
@@ -0,0 +1,12 @@
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{q as n,c as t}from"./p-e4f9b782.js";import{h as e}from"./p-33613993.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);
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
+ */
12
+ const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||l).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function l(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function a(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let l;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),l||(l=s.createDocumentFragment()),l.append(e),e.addEventListener("change",d),b(n,e,t)})),l&&t.append(l),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,a as d,m as f,u as r,c as s}