@esri/solutions-components 0.6.10 → 0.6.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (547) hide show
  1. package/dist/assets/t9n/map-select-tools/resources.json +2 -1
  2. package/dist/assets/t9n/map-select-tools/resources_en.json +2 -1
  3. package/dist/assets/t9n/map-tools/resources.json +4 -1
  4. package/dist/assets/t9n/map-tools/resources_en.json +4 -1
  5. package/dist/cjs/{ExpandToggle-c5690e14.js → ExpandToggle-511435d5.js} +1 -1
  6. package/dist/cjs/{FloatingArrow-675171a6.js → FloatingArrow-88e3f797.js} +1 -1
  7. package/dist/cjs/{Heading-3712677d.js → Heading-0da2a025.js} +1 -1
  8. package/dist/cjs/{ar-1dc23c0a.js → ar-0a371029.js} +5 -5
  9. package/dist/cjs/{basemap-gallery_5.cjs.entry.js → basemap-gallery_6.cjs.entry.js} +139 -10
  10. package/dist/cjs/{bg-4024b354.js → bg-f7538b74.js} +5 -5
  11. package/dist/cjs/{bs-3134d711.js → bs-6560857c.js} +5 -5
  12. package/dist/cjs/buffer-tools_4.cjs.entry.js +12 -10
  13. package/dist/cjs/{ca-8d6647d3.js → ca-d74198eb.js} +5 -5
  14. package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
  15. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  16. package/dist/cjs/{calcite-filter_5.cjs.entry.js → calcite-action-bar_3.cjs.entry.js} +168 -322
  17. package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
  18. package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
  19. package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
  20. package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
  21. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  22. package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
  23. package/dist/cjs/calcite-block.cjs.entry.js +5 -5
  24. package/dist/cjs/calcite-button.cjs.entry.js +4 -4
  25. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  26. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  27. package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
  28. package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
  29. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  30. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
  31. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
  32. package/dist/cjs/calcite-combobox_6.cjs.entry.js +10 -10
  33. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
  34. package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
  35. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  36. package/dist/cjs/calcite-filter_3.cjs.entry.js +387 -0
  37. package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
  38. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  39. package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
  40. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  41. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  42. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
  43. package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
  44. package/dist/cjs/{calcite-input-time-picker-4efcd55d.js → calcite-input-time-picker-188356eb.js} +53 -53
  45. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
  46. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
  47. package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
  48. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  49. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  50. package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
  51. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  52. package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
  53. package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
  54. package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
  55. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  56. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  57. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  58. package/dist/cjs/calcite-notice.cjs.entry.js +4 -4
  59. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  60. package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
  61. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
  62. package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
  63. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
  64. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
  65. package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
  66. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  67. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  68. package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
  69. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  70. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
  71. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
  72. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +9 -9
  73. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  74. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  75. package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
  76. package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
  77. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  78. package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
  79. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
  80. package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
  81. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  82. package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
  83. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  84. package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
  85. package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
  86. package/dist/cjs/calcite-tooltip.cjs.entry.js +3 -3
  87. package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -2
  88. package/dist/cjs/card-manager_3.cjs.entry.js +11 -10
  89. package/dist/cjs/{conditionalSlot-126d557f.js → conditionalSlot-f10611d3.js} +1 -1
  90. package/dist/cjs/crowdsource-manager.cjs.entry.js +36 -10
  91. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  92. package/dist/cjs/{cs-b24cd994.js → cs-bdf9949e.js} +5 -5
  93. package/dist/cjs/{da-9dee3a1f.js → da-ab198f94.js} +5 -5
  94. package/dist/cjs/{de-1a98b964.js → de-a859739c.js} +5 -5
  95. package/dist/cjs/{de-at-782e6c7f.js → de-at-126e66a1.js} +5 -5
  96. package/dist/cjs/{de-ch-d5c95469.js → de-ch-25eb45ed.js} +5 -5
  97. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  98. package/dist/cjs/{downloadUtils-471a6a2d.js → downloadUtils-43f5be48.js} +4 -4
  99. package/dist/cjs/edit-card_2.cjs.entry.js +27 -24
  100. package/dist/cjs/{el-af28cafa.js → el-9abbc3f2.js} +5 -5
  101. package/dist/cjs/{en-au-109f3119.js → en-au-8835d481.js} +5 -5
  102. package/dist/cjs/{en-ca-22890a25.js → en-ca-a8f1a438.js} +5 -5
  103. package/dist/cjs/{en-gb-dc23c9dd.js → en-gb-e8098e8c.js} +5 -5
  104. package/dist/cjs/{es-3f353355.js → es-bc99e2ad.js} +5 -5
  105. package/dist/cjs/{es-mx-ccb57857.js → es-mx-71461470.js} +5 -5
  106. package/dist/cjs/{et-119c047b.js → et-8fa437ac.js} +5 -5
  107. package/dist/cjs/{fi-13096d81.js → fi-1284d381.js} +5 -5
  108. package/dist/cjs/{form-7c6054c3.js → form-28bc6597.js} +1 -1
  109. package/dist/cjs/{fr-563dfcd5.js → fr-635089b1.js} +5 -5
  110. package/dist/cjs/{fr-ch-f66cfd49.js → fr-ch-09392bdc.js} +5 -5
  111. package/dist/cjs/{he-d8253a1a.js → he-44a07bad.js} +5 -5
  112. package/dist/cjs/{hi-58c7c3b5.js → hi-9bba524d.js} +5 -5
  113. package/dist/cjs/{hr-5aba114a.js → hr-fc0a64fd.js} +5 -5
  114. package/dist/cjs/{hu-38c15915.js → hu-b900be50.js} +5 -5
  115. package/dist/cjs/{id-3a94c080.js → id-d20a381a.js} +5 -5
  116. package/dist/cjs/{index-0e50040c.js → index-ee37804b.js} +3 -0
  117. package/dist/cjs/{index-2b60e135.js → index-feeb7b6a.js} +1 -1
  118. package/dist/cjs/{index.es-33154f03.js → index.es-8da43c21.js} +6 -6
  119. package/dist/cjs/{interfaces-d539e30c.js → interfaces-000be6de.js} +0 -5
  120. package/dist/cjs/{it-ch-970563cd.js → it-ch-e6bfb280.js} +5 -5
  121. package/dist/cjs/{it-88834555.js → it-d07dffbe.js} +5 -5
  122. package/dist/cjs/{ja-13d4b1ae.js → ja-3fac4cb9.js} +5 -5
  123. package/dist/cjs/{ko-10cbdd98.js → ko-7df47ba4.js} +5 -5
  124. package/dist/cjs/layout-manager.cjs.entry.js +3 -3
  125. package/dist/cjs/list-item.cjs.entry.js +1 -1
  126. package/dist/cjs/{loadModules-c5490589.js → loadModules-f6df8d6a.js} +1 -1
  127. package/dist/cjs/{loadable-6925d840.js → loadable-13605f73.js} +1 -1
  128. package/dist/cjs/loader.cjs.js +2 -2
  129. package/dist/cjs/{locale-88c21da2.js → locale-67f5f6b6.js} +1 -1
  130. package/dist/cjs/{lt-3fc5017a.js → lt-32e0b838.js} +5 -5
  131. package/dist/cjs/{lv-9d9cf999.js → lv-5822b401.js} +5 -5
  132. package/dist/cjs/map-select-tools_3.cjs.entry.js +16 -10
  133. package/dist/cjs/{mapViewUtils-9da2dddd.js → mapViewUtils-a4dd36ec.js} +1 -1
  134. package/dist/cjs/{mk-9f79812b.js → mk-76494f34.js} +5 -5
  135. package/dist/cjs/{nb-673fe3fd.js → nb-3ec52247.js} +5 -5
  136. package/dist/cjs/{nl-4dc0504f.js → nl-fe9ffca9.js} +5 -5
  137. package/dist/cjs/{openCloseComponent-05cb01ff.js → openCloseComponent-359d855c.js} +1 -1
  138. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  139. package/dist/cjs/{pl-d809a6c3.js → pl-13049aa3.js} +5 -5
  140. package/dist/cjs/{pt-br-55f1893a.js → pt-br-f222c9e6.js} +5 -5
  141. package/dist/cjs/{pt-78eefbc7.js → pt-ef1645ab.js} +5 -5
  142. package/dist/cjs/public-notification.cjs.entry.js +8 -8
  143. package/dist/cjs/{publicNotificationStore-55edd658.js → publicNotificationStore-b69862af.js} +1 -1
  144. package/dist/cjs/resources-f15abc99.js +29 -0
  145. package/dist/cjs/{ro-f0cff196.js → ro-712f9cbb.js} +5 -5
  146. package/dist/cjs/{ru-5e9b37f9.js → ru-45b18030.js} +5 -5
  147. package/dist/cjs/{shared-list-render-9bbcb306.js → shared-list-render-e5821654.js} +1 -1
  148. package/dist/cjs/{sk-322cd349.js → sk-db642b5a.js} +5 -5
  149. package/dist/cjs/{sl-fd948e50.js → sl-51811e20.js} +5 -5
  150. package/dist/cjs/solution-configuration.cjs.entry.js +5 -5
  151. package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
  152. package/dist/cjs/{solution-store-0004e4e6.js → solution-store-3cd104d8.js} +2 -2
  153. package/dist/cjs/solutions-components.cjs.js +2 -2
  154. package/dist/cjs/{sr-f0058b24.js → sr-c248524c.js} +5 -5
  155. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  156. package/dist/cjs/{sv-8a8378bf.js → sv-67777565.js} +5 -5
  157. package/dist/cjs/{t9n-62d807df.js → t9n-58d20225.js} +1 -1
  158. package/dist/cjs/{th-f219fad6.js → th-81fb9eb1.js} +5 -5
  159. package/dist/cjs/{tr-03109641.js → tr-b5da4c5c.js} +5 -5
  160. package/dist/cjs/{uk-dde46112.js → uk-e8ad8b3b.js} +5 -5
  161. package/dist/cjs/{utils-651e6663.js → utils-fddf1c6b.js} +1 -1
  162. package/dist/cjs/{vi-60ed6e30.js → vi-0b26505a.js} +5 -5
  163. package/dist/cjs/{zh-cn-a2f6f51d.js → zh-cn-40d02fac.js} +5 -5
  164. package/dist/cjs/{zh-hk-e14e2fc0.js → zh-hk-d1a89b9e.js} +5 -5
  165. package/dist/cjs/{zh-tw-7ea0d7e4.js → zh-tw-5691adb2.js} +5 -5
  166. package/dist/collection/collection-manifest.json +1 -0
  167. package/dist/collection/components/buffer-tools/buffer-tools.js +4 -2
  168. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +33 -7
  169. package/dist/collection/components/info-card/info-card.js +24 -21
  170. package/dist/collection/components/layer-table/layer-table.js +3 -2
  171. package/dist/collection/components/map-card/map-card.css +4 -0
  172. package/dist/collection/components/map-card/map-card.js +1 -1
  173. package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -0
  174. package/dist/collection/components/map-fullscreen/map-fullscreen.js +178 -0
  175. package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +29 -0
  176. package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +37 -0
  177. package/dist/collection/components/map-picker/map-picker.css +64 -64
  178. package/dist/collection/components/map-select-tools/map-select-tools.js +7 -1
  179. package/dist/collection/components/map-tools/map-tools.css +49 -45
  180. package/dist/collection/components/map-tools/map-tools.js +35 -29
  181. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  182. package/dist/collection/utils/interfaces.js +0 -5
  183. package/dist/collection/utils/interfaces.ts +0 -5
  184. package/dist/components/buffer-tools2.js +4 -2
  185. package/dist/components/crowdsource-manager.js +111 -79
  186. package/dist/components/info-card2.js +24 -21
  187. package/dist/components/interfaces.js +1 -6
  188. package/dist/components/layer-table2.js +3 -2
  189. package/dist/components/map-card2.js +44 -38
  190. package/dist/components/map-draw-tools2.js +1 -1
  191. package/dist/components/map-fullscreen.d.ts +11 -0
  192. package/dist/components/map-fullscreen.js +11 -0
  193. package/dist/components/map-fullscreen2.js +130 -0
  194. package/dist/components/map-select-tools2.js +7 -1
  195. package/dist/components/map-tools2.js +43 -34
  196. package/dist/components/pdf-download2.js +1 -1
  197. package/dist/components/public-notification.js +1 -1
  198. package/dist/components/refine-selection2.js +1 -1
  199. package/dist/components/solution-resource-item2.js +1 -1
  200. package/dist/components/solution-store.js +1 -1
  201. package/dist/esm/{ExpandToggle-3bfcb842.js → ExpandToggle-86761b28.js} +1 -1
  202. package/dist/esm/{FloatingArrow-cf140d6b.js → FloatingArrow-4a1b35d6.js} +1 -1
  203. package/dist/esm/{Heading-140d10ff.js → Heading-5258553c.js} +1 -1
  204. package/dist/esm/{ar-45abeb31.js → ar-4a5375c6.js} +5 -5
  205. package/dist/esm/{basemap-gallery_5.entry.js → basemap-gallery_6.entry.js} +139 -11
  206. package/dist/esm/{bg-af759e86.js → bg-b25e4b7a.js} +5 -5
  207. package/dist/esm/{bs-20d012de.js → bs-2485dfed.js} +5 -5
  208. package/dist/esm/buffer-tools_4.entry.js +12 -10
  209. package/dist/esm/{ca-1498df65.js → ca-bba36d26.js} +5 -5
  210. package/dist/esm/calcite-accordion-item.entry.js +2 -2
  211. package/dist/esm/calcite-accordion.entry.js +1 -1
  212. package/dist/esm/{calcite-filter_5.entry.js → calcite-action-bar_3.entry.js} +191 -343
  213. package/dist/esm/calcite-action-group_2.entry.js +4 -4
  214. package/dist/esm/calcite-action-pad.entry.js +5 -5
  215. package/dist/esm/calcite-action_2.entry.js +6 -6
  216. package/dist/esm/calcite-alert.entry.js +4 -4
  217. package/dist/esm/calcite-avatar.entry.js +1 -1
  218. package/dist/esm/calcite-block-section.entry.js +3 -3
  219. package/dist/esm/calcite-block.entry.js +5 -5
  220. package/dist/esm/calcite-button.entry.js +4 -4
  221. package/dist/esm/calcite-card.entry.js +3 -3
  222. package/dist/esm/calcite-checkbox.entry.js +3 -3
  223. package/dist/esm/calcite-chip-group.entry.js +2 -2
  224. package/dist/esm/calcite-chip.entry.js +4 -4
  225. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  226. package/dist/esm/calcite-color-picker.entry.js +3 -3
  227. package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
  228. package/dist/esm/calcite-combobox_6.entry.js +10 -10
  229. package/dist/esm/calcite-date-picker-day_3.entry.js +2 -2
  230. package/dist/esm/calcite-date-picker.entry.js +4 -4
  231. package/dist/esm/calcite-fab.entry.js +2 -2
  232. package/dist/esm/calcite-filter_3.entry.js +381 -0
  233. package/dist/esm/calcite-flow-item.entry.js +3 -3
  234. package/dist/esm/calcite-flow.entry.js +2 -2
  235. package/dist/esm/calcite-graph.entry.js +1 -1
  236. package/dist/esm/calcite-icon.entry.js +1 -1
  237. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  238. package/dist/esm/calcite-input-date-picker.entry.js +6 -6
  239. package/dist/esm/calcite-input-number_2.entry.js +4 -4
  240. package/dist/esm/{calcite-input-time-picker-227e60c3.js → calcite-input-time-picker-7da2e80a.js} +53 -53
  241. package/dist/esm/calcite-input-time-picker.entry.js +5 -5
  242. package/dist/esm/calcite-input-time-zone.entry.js +4 -4
  243. package/dist/esm/calcite-input_2.entry.js +4 -4
  244. package/dist/esm/calcite-label.entry.js +1 -1
  245. package/dist/esm/calcite-link.entry.js +2 -2
  246. package/dist/esm/calcite-list-item-group.entry.js +1 -1
  247. package/dist/esm/calcite-loader.entry.js +1 -1
  248. package/dist/esm/calcite-menu-item.entry.js +3 -3
  249. package/dist/esm/calcite-menu.entry.js +3 -3
  250. package/dist/esm/calcite-modal.entry.js +5 -5
  251. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  252. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  253. package/dist/esm/calcite-navigation.entry.js +2 -2
  254. package/dist/esm/calcite-notice.entry.js +4 -4
  255. package/dist/esm/calcite-option-group.entry.js +1 -1
  256. package/dist/esm/calcite-option_2.entry.js +3 -3
  257. package/dist/esm/calcite-pagination.entry.js +3 -3
  258. package/dist/esm/calcite-panel_2.entry.js +5 -5
  259. package/dist/esm/calcite-pick-list-group.entry.js +3 -3
  260. package/dist/esm/calcite-pick-list-item.entry.js +4 -4
  261. package/dist/esm/calcite-pick-list.entry.js +3 -3
  262. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  263. package/dist/esm/calcite-radio-button.entry.js +3 -3
  264. package/dist/esm/calcite-rating.entry.js +4 -4
  265. package/dist/esm/calcite-scrim.entry.js +2 -2
  266. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  267. package/dist/esm/calcite-shell-center-row.entry.js +2 -2
  268. package/dist/esm/calcite-shell-panel_14.entry.js +9 -9
  269. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  270. package/dist/esm/calcite-split-button.entry.js +2 -2
  271. package/dist/esm/calcite-stepper-item.entry.js +2 -2
  272. package/dist/esm/calcite-stepper.entry.js +1 -1
  273. package/dist/esm/calcite-switch.entry.js +3 -3
  274. package/dist/esm/calcite-text-area.entry.js +4 -4
  275. package/dist/esm/calcite-tile-select-group.entry.js +1 -1
  276. package/dist/esm/calcite-tile-select.entry.js +2 -2
  277. package/dist/esm/calcite-tile.entry.js +2 -2
  278. package/dist/esm/calcite-time-picker.entry.js +3 -3
  279. package/dist/esm/calcite-tip-group.entry.js +1 -1
  280. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  281. package/dist/esm/calcite-tip.entry.js +4 -4
  282. package/dist/esm/calcite-tooltip.entry.js +3 -3
  283. package/dist/esm/calcite-tree_3.entry.js +2 -2
  284. package/dist/esm/card-manager_3.entry.js +11 -10
  285. package/dist/esm/{conditionalSlot-55a14abd.js → conditionalSlot-dff8f839.js} +1 -1
  286. package/dist/esm/crowdsource-manager.entry.js +36 -10
  287. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  288. package/dist/esm/{cs-3bd67855.js → cs-1052c5ac.js} +5 -5
  289. package/dist/esm/{da-7a76e131.js → da-b7ed9204.js} +5 -5
  290. package/dist/esm/{de-at-0b6874cb.js → de-at-a993e5ae.js} +5 -5
  291. package/dist/esm/{de-0808a43e.js → de-bb68e752.js} +5 -5
  292. package/dist/esm/{de-ch-c9d429dd.js → de-ch-acff745d.js} +5 -5
  293. package/dist/esm/deduct-calculator.entry.js +1 -1
  294. package/dist/esm/{downloadUtils-8d4c13bb.js → downloadUtils-42156cd8.js} +4 -4
  295. package/dist/esm/edit-card_2.entry.js +27 -24
  296. package/dist/esm/{el-66001281.js → el-9de96ff0.js} +5 -5
  297. package/dist/esm/{en-au-6424fec0.js → en-au-f68b6bde.js} +5 -5
  298. package/dist/esm/{en-ca-f5f1659d.js → en-ca-5360517e.js} +5 -5
  299. package/dist/esm/{en-gb-796beadd.js → en-gb-de0b3125.js} +5 -5
  300. package/dist/esm/{es-cd139926.js → es-5ecbba77.js} +5 -5
  301. package/dist/esm/{es-mx-854dc3e4.js → es-mx-aa126462.js} +5 -5
  302. package/dist/esm/{et-2aa6782d.js → et-7113eeb8.js} +5 -5
  303. package/dist/esm/{fi-965727bd.js → fi-ffa60f15.js} +5 -5
  304. package/dist/esm/{form-04d47b0b.js → form-24e6ef1d.js} +1 -1
  305. package/dist/esm/{fr-c1884e89.js → fr-681c5bf6.js} +5 -5
  306. package/dist/esm/{fr-ch-1fd8dd3a.js → fr-ch-9af1f8b1.js} +5 -5
  307. package/dist/esm/{he-0d7b78b4.js → he-5188f277.js} +5 -5
  308. package/dist/esm/{hi-0376c82d.js → hi-6a31e3a4.js} +5 -5
  309. package/dist/esm/{hr-28a64903.js → hr-0598e59d.js} +5 -5
  310. package/dist/esm/{hu-44a02ff7.js → hu-13cb9f41.js} +5 -5
  311. package/dist/esm/{id-034fc4a5.js → id-7f342499.js} +5 -5
  312. package/dist/esm/{index-b5d9d795.js → index-c7de2486.js} +3 -0
  313. package/dist/esm/{index-b91c174c.js → index-f4bd5aa3.js} +1 -1
  314. package/dist/esm/{index.es-065c3035.js → index.es-f47c4153.js} +6 -6
  315. package/dist/esm/{interfaces-5a2fe8b4.js → interfaces-7470d906.js} +1 -6
  316. package/dist/esm/{it-56e52026.js → it-57d790f2.js} +5 -5
  317. package/dist/esm/{it-ch-a4a0e136.js → it-ch-081af760.js} +5 -5
  318. package/dist/esm/{ja-f2365272.js → ja-3affb68e.js} +5 -5
  319. package/dist/esm/{ko-e7650b4c.js → ko-736632aa.js} +5 -5
  320. package/dist/esm/layout-manager.entry.js +3 -3
  321. package/dist/esm/list-item.entry.js +1 -1
  322. package/dist/esm/{loadModules-f5f910b6.js → loadModules-2880c7e3.js} +1 -1
  323. package/dist/esm/{loadable-47170cb6.js → loadable-f848be11.js} +1 -1
  324. package/dist/esm/loader.js +3 -3
  325. package/dist/esm/{locale-efad8f83.js → locale-9624832c.js} +1 -1
  326. package/dist/esm/{lt-1577a952.js → lt-e7d9b1c3.js} +5 -5
  327. package/dist/esm/{lv-9ef7e4f6.js → lv-4d1a507e.js} +5 -5
  328. package/dist/esm/map-select-tools_3.entry.js +16 -10
  329. package/dist/esm/{mapViewUtils-f0c04325.js → mapViewUtils-00a04d52.js} +1 -1
  330. package/dist/esm/{mk-94264e08.js → mk-f960312d.js} +5 -5
  331. package/dist/esm/{nb-fa24d5b2.js → nb-4556b5e9.js} +5 -5
  332. package/dist/esm/{nl-33f10900.js → nl-8e281c01.js} +5 -5
  333. package/dist/esm/{openCloseComponent-10efeff3.js → openCloseComponent-9fce341c.js} +1 -1
  334. package/dist/esm/pci-calculator.entry.js +1 -1
  335. package/dist/esm/{pl-9ed16565.js → pl-1460fd5a.js} +5 -5
  336. package/dist/esm/{pt-52731ddf.js → pt-660332b6.js} +5 -5
  337. package/dist/esm/{pt-br-8de51ff4.js → pt-br-dba48f49.js} +5 -5
  338. package/dist/esm/public-notification.entry.js +8 -8
  339. package/dist/esm/{publicNotificationStore-ade82148.js → publicNotificationStore-90a6a274.js} +1 -1
  340. package/dist/esm/resources-74ea5c42.js +26 -0
  341. package/dist/esm/{ro-99f009ad.js → ro-ac18f292.js} +5 -5
  342. package/dist/esm/{ru-592ffaf0.js → ru-b914f6b7.js} +5 -5
  343. package/dist/esm/{shared-list-render-4f0f6af8.js → shared-list-render-cc889757.js} +1 -1
  344. package/dist/esm/{sk-44f7bd19.js → sk-1be12963.js} +5 -5
  345. package/dist/esm/{sl-08cad9bd.js → sl-5d47e4e4.js} +5 -5
  346. package/dist/esm/solution-configuration.entry.js +5 -5
  347. package/dist/esm/solution-contents_3.entry.js +5 -5
  348. package/dist/esm/{solution-store-46bc46a5.js → solution-store-cf902566.js} +2 -2
  349. package/dist/esm/solutions-components.js +3 -3
  350. package/dist/esm/{sr-84f261fc.js → sr-3281c92d.js} +5 -5
  351. package/dist/esm/store-manager.entry.js +1 -1
  352. package/dist/esm/{sv-d0d7bc1e.js → sv-e5169404.js} +5 -5
  353. package/dist/esm/{t9n-5f748619.js → t9n-d9c203e4.js} +1 -1
  354. package/dist/esm/{th-a5149d44.js → th-937796b8.js} +5 -5
  355. package/dist/esm/{tr-feb0cad4.js → tr-6d3b100b.js} +5 -5
  356. package/dist/esm/{uk-c9ba62a0.js → uk-a6edcacf.js} +5 -5
  357. package/dist/esm/{utils-0a5c1a07.js → utils-24a35b5a.js} +1 -1
  358. package/dist/esm/{vi-788dcb99.js → vi-bf4c179c.js} +5 -5
  359. package/dist/esm/{zh-cn-3ccfb820.js → zh-cn-de1858cb.js} +5 -5
  360. package/dist/esm/{zh-hk-b29b61e8.js → zh-hk-12fa404f.js} +5 -5
  361. package/dist/esm/{zh-tw-2bdbc6eb.js → zh-tw-5c4220e5.js} +5 -5
  362. package/dist/solutions-components/{p-1efcac52.entry.js → p-019fe9fe.entry.js} +3 -3
  363. package/dist/solutions-components/{p-95c11620.js → p-0503c78d.js} +2 -2
  364. package/dist/solutions-components/p-06712292.js +11 -0
  365. package/dist/solutions-components/{p-5eaaf6ea.entry.js → p-0870f436.entry.js} +1 -1
  366. package/dist/solutions-components/{p-99891e57.js → p-0a0c3764.js} +1 -1
  367. package/dist/solutions-components/{p-1bcfca9b.entry.js → p-0a883f51.entry.js} +1 -1
  368. package/dist/solutions-components/{p-3948a96c.js → p-0ca528ec.js} +1 -1
  369. package/dist/solutions-components/{p-456f5afe.entry.js → p-0d08a75d.entry.js} +1 -1
  370. package/dist/solutions-components/{p-0266ca81.js → p-0dab4c93.js} +1 -1
  371. package/dist/solutions-components/{p-f815b5ef.entry.js → p-0de1df10.entry.js} +1 -1
  372. package/dist/solutions-components/{p-138cf009.js → p-127c3866.js} +1 -1
  373. package/dist/solutions-components/p-12a7c2db.entry.js +6 -0
  374. package/dist/solutions-components/{p-d6f68a4e.entry.js → p-1552c479.entry.js} +1 -1
  375. package/dist/solutions-components/{p-dc9dad31.entry.js → p-15a9fe95.entry.js} +1 -1
  376. package/dist/solutions-components/{p-2bf63e2e.js → p-19ec0463.js} +1 -1
  377. package/dist/solutions-components/{p-651459e2.entry.js → p-1a47516a.entry.js} +2 -2
  378. package/dist/solutions-components/{p-3c15959e.js → p-1b4d6511.js} +1 -1
  379. package/dist/solutions-components/{p-b25005cf.entry.js → p-1ed80742.entry.js} +1 -1
  380. package/dist/solutions-components/{p-ec889511.js → p-1f69762c.js} +1 -1
  381. package/dist/solutions-components/{p-7f9642d5.js → p-22833bd3.js} +1 -1
  382. package/dist/solutions-components/{p-5958dad9.js → p-245d667e.js} +1 -1
  383. package/dist/solutions-components/{p-c9df539a.entry.js → p-25718b9f.entry.js} +1 -1
  384. package/dist/solutions-components/{p-0f85fa4b.js → p-2723beaa.js} +1 -1
  385. package/dist/solutions-components/{p-ae6a7b3b.entry.js → p-2821ab80.entry.js} +1 -1
  386. package/dist/solutions-components/{p-7262469a.js → p-2937523d.js} +1 -1
  387. package/dist/solutions-components/{p-bde323ec.js → p-29b2f046.js} +1 -1
  388. package/dist/solutions-components/p-2a58e378.js +21 -0
  389. package/dist/solutions-components/p-2cff8331.entry.js +6 -0
  390. package/dist/solutions-components/{p-0b8463d6.js → p-2d614afc.js} +1 -1
  391. package/dist/solutions-components/{p-aea37c90.js → p-300f4299.js} +1 -1
  392. package/dist/solutions-components/{p-64e2c099.js → p-30542275.js} +1 -1
  393. package/dist/solutions-components/{p-688f6a0a.js → p-318790b8.js} +1 -1
  394. package/dist/solutions-components/{p-e4253e1b.entry.js → p-31c9aa38.entry.js} +1 -1
  395. package/dist/solutions-components/{p-446ab7f8.entry.js → p-31d2a105.entry.js} +1 -1
  396. package/dist/solutions-components/p-33613993.js +7 -0
  397. package/dist/solutions-components/{p-7060caf6.js → p-337f6adf.js} +1 -1
  398. package/dist/solutions-components/{p-5ceef49b.js → p-34169501.js} +1 -1
  399. package/dist/solutions-components/{p-4d76eaf6.entry.js → p-3658ebd8.entry.js} +1 -1
  400. package/dist/solutions-components/{p-3445a8c6.js → p-3691a072.js} +1 -1
  401. package/dist/solutions-components/{p-28b5a7cf.js → p-38211628.js} +1 -1
  402. package/dist/solutions-components/{p-e2637fe6.js → p-38cc8a4d.js} +1 -1
  403. package/dist/solutions-components/{p-0fa3d1aa.js → p-39fe9a4c.js} +1 -1
  404. package/dist/solutions-components/{p-4f9f97b2.entry.js → p-3a7cd2b0.entry.js} +1 -1
  405. package/dist/solutions-components/{p-ca3d7edd.entry.js → p-3b891cc4.entry.js} +1 -1
  406. package/dist/solutions-components/{p-0f8440bb.entry.js → p-3cc30e11.entry.js} +1 -1
  407. package/dist/solutions-components/{p-8f8d2861.js → p-3d3772fb.js} +1 -1
  408. package/dist/solutions-components/{p-667e7134.entry.js → p-3e9fc0aa.entry.js} +1 -1
  409. package/dist/solutions-components/{p-635bbbd4.js → p-418be467.js} +1 -1
  410. package/dist/solutions-components/{p-586f0e3d.entry.js → p-45419d93.entry.js} +1 -1
  411. package/dist/solutions-components/{p-a46f1b45.js → p-45b829b5.js} +1 -1
  412. package/dist/solutions-components/{p-58167087.entry.js → p-48329056.entry.js} +1 -1
  413. package/dist/solutions-components/{p-6be3c411.js → p-4b4559f9.js} +1 -1
  414. package/dist/solutions-components/{p-8544d557.entry.js → p-4bd793ef.entry.js} +1 -1
  415. package/dist/solutions-components/{p-cec47579.entry.js → p-4cb7cdb7.entry.js} +1 -1
  416. package/dist/solutions-components/{p-0f77e83c.entry.js → p-4d91443a.entry.js} +2 -2
  417. package/dist/solutions-components/{p-6ce7b446.entry.js → p-52ec0b32.entry.js} +1 -1
  418. package/dist/solutions-components/{p-da6acb22.entry.js → p-537c34a4.entry.js} +1 -1
  419. package/dist/solutions-components/{p-7a027758.entry.js → p-54064b61.entry.js} +1 -1
  420. package/dist/solutions-components/{p-60c15592.js → p-54cc02c9.js} +1 -1
  421. package/dist/solutions-components/{p-2592c0b8.js → p-557d4cc5.js} +1 -1
  422. package/dist/solutions-components/{p-8f68f1d3.entry.js → p-61af54b9.entry.js} +1 -1
  423. package/dist/solutions-components/{p-0109bef4.entry.js → p-628c170b.entry.js} +1 -1
  424. package/dist/solutions-components/{p-e0c011b8.js → p-62e3adbb.js} +1 -1
  425. package/dist/solutions-components/{p-1e7a31c1.entry.js → p-64541510.entry.js} +1 -1
  426. package/dist/solutions-components/{p-3ce89910.entry.js → p-65022e7f.entry.js} +1 -1
  427. package/dist/solutions-components/{p-bbb0d957.entry.js → p-66dd455f.entry.js} +1 -1
  428. package/dist/solutions-components/{p-f596eabd.entry.js → p-68630513.entry.js} +1 -1
  429. package/dist/solutions-components/{p-1cebde99.js → p-69e26726.js} +1 -1
  430. package/dist/solutions-components/{p-78a40191.entry.js → p-701409be.entry.js} +2 -2
  431. package/dist/solutions-components/{p-636f4631.js → p-702c6093.js} +1 -1
  432. package/dist/solutions-components/{p-1dbaff04.entry.js → p-712ea336.entry.js} +1 -1
  433. package/dist/solutions-components/{p-7b2314ac.js → p-71400268.js} +1 -1
  434. package/dist/solutions-components/{p-89504313.entry.js → p-74521615.entry.js} +1 -1
  435. package/dist/solutions-components/{p-5c9fa0e7.js → p-747a1293.js} +1 -1
  436. package/dist/solutions-components/{p-8927339d.js → p-74aa84f6.js} +1 -1
  437. package/dist/solutions-components/{p-57c08531.entry.js → p-753da967.entry.js} +1 -1
  438. package/dist/solutions-components/{p-168a7d63.js → p-75e707d1.js} +1 -1
  439. package/dist/solutions-components/{p-f8dd2784.js → p-767002cd.js} +2 -2
  440. package/dist/solutions-components/{p-17a29fa6.entry.js → p-792fcd62.entry.js} +1 -1
  441. package/dist/solutions-components/{p-d864b7e3.js → p-79d7f324.js} +1 -1
  442. package/dist/solutions-components/{p-b28b6d40.js → p-7a11983d.js} +1 -1
  443. package/dist/solutions-components/{p-ea285144.js → p-80b87453.js} +1 -1
  444. package/dist/solutions-components/{p-864c190b.entry.js → p-8150ad0e.entry.js} +1 -1
  445. package/dist/solutions-components/{p-5e08d4de.js → p-82f0b25b.js} +1 -1
  446. package/dist/solutions-components/{p-e2eb4fd3.entry.js → p-85791b16.entry.js} +1 -1
  447. package/dist/solutions-components/{p-0ecd7346.js → p-85e0d2a3.js} +1 -1
  448. package/dist/solutions-components/{p-6ddc9567.entry.js → p-87971116.entry.js} +2 -2
  449. package/dist/solutions-components/{p-c79c7978.entry.js → p-89617f30.entry.js} +1 -1
  450. package/dist/solutions-components/{p-6eb4ba8f.js → p-89cbb86a.js} +1 -1
  451. package/dist/solutions-components/{p-ced11bea.entry.js → p-8a91195f.entry.js} +1 -1
  452. package/dist/solutions-components/{p-34ef43ce.entry.js → p-8b2e460e.entry.js} +1 -1
  453. package/dist/solutions-components/{p-ec378ea0.entry.js → p-8e3e1ce8.entry.js} +1 -1
  454. package/dist/solutions-components/{p-072155f9.js → p-8e9d9e6a.js} +1 -1
  455. package/dist/solutions-components/{p-a287be8b.js → p-90a9126f.js} +1 -1
  456. package/dist/solutions-components/{p-8c61431d.js → p-9391bb74.js} +1 -1
  457. package/dist/solutions-components/{p-2154de6d.js → p-941721ba.js} +1 -1
  458. package/dist/solutions-components/{p-38f906f2.js → p-9504c1b7.js} +1 -1
  459. package/dist/solutions-components/{p-0dd8368d.entry.js → p-97088307.entry.js} +1 -1
  460. package/dist/solutions-components/{p-35cb6eca.entry.js → p-9791fbf1.entry.js} +2 -2
  461. package/dist/solutions-components/{p-6295e168.entry.js → p-97b69f54.entry.js} +1 -1
  462. package/dist/solutions-components/{p-261394d7.entry.js → p-981fc8e4.entry.js} +1 -1
  463. package/dist/solutions-components/{p-1fba74a5.entry.js → p-9961a2f9.entry.js} +1 -1
  464. package/dist/solutions-components/{p-3cfaf52b.entry.js → p-9abb1c4c.entry.js} +2 -2
  465. package/dist/solutions-components/{p-452850b4.entry.js → p-9b75102b.entry.js} +1 -1
  466. package/dist/solutions-components/{p-7bb12deb.js → p-a097edf0.js} +1 -1
  467. package/dist/solutions-components/p-a16e6f5f.entry.js +6 -0
  468. package/dist/solutions-components/{p-167eb73b.js → p-a19d8147.js} +1 -1
  469. package/dist/solutions-components/{p-31aaa60f.js → p-a59dba2f.js} +1 -1
  470. package/dist/solutions-components/{p-8af52074.entry.js → p-ac1bd870.entry.js} +1 -1
  471. package/dist/solutions-components/{p-9370bb48.entry.js → p-ad19f9b0.entry.js} +1 -1
  472. package/dist/solutions-components/{p-9a35ef8e.js → p-ae3ec77d.js} +1 -1
  473. package/dist/solutions-components/{p-56f1d66b.entry.js → p-ae4ad673.entry.js} +2 -2
  474. package/dist/solutions-components/{p-13290851.js → p-afb35c95.js} +1 -1
  475. package/dist/solutions-components/{p-ebbff02e.js → p-b029c6d8.js} +1 -1
  476. package/dist/solutions-components/{p-80cb42e4.entry.js → p-b09d8c0e.entry.js} +1 -1
  477. package/dist/solutions-components/{p-c1dcc1e7.js → p-b1daad7e.js} +1 -1
  478. package/dist/solutions-components/p-b6a1c34f.entry.js +17 -0
  479. package/dist/solutions-components/{p-f153f1c9.entry.js → p-b7093e6d.entry.js} +1 -1
  480. package/dist/solutions-components/{p-01c83b8c.entry.js → p-b97886b3.entry.js} +1 -1
  481. package/dist/solutions-components/{p-8d00a17e.js → p-bbfc2724.js} +1 -1
  482. package/dist/solutions-components/{p-149b4d3c.entry.js → p-bd82849c.entry.js} +1 -1
  483. package/dist/solutions-components/{p-c3ab7439.js → p-bfc78840.js} +1 -1
  484. package/dist/solutions-components/{p-cd673260.js → p-bff158ff.js} +1 -1
  485. package/dist/solutions-components/{p-879d6377.entry.js → p-c033b8ec.entry.js} +1 -1
  486. package/dist/solutions-components/{p-feff224c.entry.js → p-c261335b.entry.js} +1 -1
  487. package/dist/solutions-components/{p-10e1ebe4.entry.js → p-ca5be55f.entry.js} +2 -2
  488. package/dist/solutions-components/{p-2c0dc7b1.js → p-cc462e38.js} +1 -1
  489. package/dist/solutions-components/{p-cc2393c3.entry.js → p-cc624b0c.entry.js} +1 -1
  490. package/dist/solutions-components/{p-46352a57.entry.js → p-d118a76e.entry.js} +1 -1
  491. package/dist/solutions-components/p-d54c2dfd.entry.js +6 -0
  492. package/dist/solutions-components/{p-476e5302.js → p-d74e95e5.js} +1 -1
  493. package/dist/solutions-components/{p-0c2e392e.entry.js → p-d793ec96.entry.js} +1 -1
  494. package/dist/solutions-components/{p-90cef98d.entry.js → p-d7d466e8.entry.js} +1 -1
  495. package/dist/solutions-components/{p-27e0f599.js → p-d902b790.js} +1 -1
  496. package/dist/solutions-components/{p-e3d72832.entry.js → p-da760d1d.entry.js} +2 -2
  497. package/dist/solutions-components/{p-cee23126.js → p-dac10448.js} +1 -1
  498. package/dist/solutions-components/{p-8b74f5bb.entry.js → p-dc80cb69.entry.js} +1 -1
  499. package/dist/solutions-components/{p-9b76bf3d.js → p-dd5f68f2.js} +1 -1
  500. package/dist/solutions-components/{p-470a9ec4.entry.js → p-dda325a4.entry.js} +1 -1
  501. package/dist/solutions-components/{p-410068d9.entry.js → p-e502ccce.entry.js} +1 -1
  502. package/dist/solutions-components/{p-5d62566c.entry.js → p-e7304151.entry.js} +1 -1
  503. package/dist/solutions-components/{p-ac0abf04.entry.js → p-e849d2ba.entry.js} +2 -2
  504. package/dist/solutions-components/{p-73220ff1.js → p-e9fcf408.js} +1 -1
  505. package/dist/solutions-components/{p-28d2670f.entry.js → p-eb58da32.entry.js} +1 -1
  506. package/dist/solutions-components/{p-42f9ab43.entry.js → p-efd70bf7.entry.js} +2 -2
  507. package/dist/solutions-components/{p-be146646.js → p-f0f5ecb2.js} +1 -1
  508. package/dist/solutions-components/{p-082365d6.entry.js → p-f4e5b7e5.entry.js} +1 -1
  509. package/dist/solutions-components/{p-c70392c4.entry.js → p-f524cc5b.entry.js} +1 -1
  510. package/dist/solutions-components/{p-81814234.entry.js → p-f6b19af7.entry.js} +1 -1
  511. package/dist/solutions-components/{p-872036a8.js → p-f6cf9943.js} +1 -1
  512. package/dist/solutions-components/{p-c968f9aa.entry.js → p-f72e0965.entry.js} +1 -1
  513. package/dist/solutions-components/{p-b28ff52c.js → p-f7aa542c.js} +1 -1
  514. package/dist/solutions-components/p-f812e3ee.entry.js +17 -0
  515. package/dist/solutions-components/{p-66b5211f.entry.js → p-f8944f59.entry.js} +1 -1
  516. package/dist/solutions-components/{p-a1c6db13.entry.js → p-fb23ba4a.entry.js} +1 -1
  517. package/dist/solutions-components/p-fb74e4a9.js +11 -0
  518. package/dist/solutions-components/{p-46e0ce0c.entry.js → p-fbd71543.entry.js} +1 -1
  519. package/dist/solutions-components/{p-29efbf76.entry.js → p-ff863f3d.entry.js} +1 -1
  520. package/dist/solutions-components/p-ffbe89cf.entry.js +6 -0
  521. package/dist/solutions-components/solutions-components.esm.js +1 -1
  522. package/dist/solutions-components/utils/interfaces.ts +0 -5
  523. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +21 -1
  524. package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +71 -0
  525. package/dist/types/components/map-tools/map-tools.d.ts +15 -7
  526. package/dist/types/components/pdf-download/pdf-download.d.ts +1 -1
  527. package/dist/types/components.d.ts +31 -10
  528. package/dist/types/preact.d.ts +3 -3
  529. package/dist/types/utils/interfaces.d.ts +0 -4
  530. package/package.json +1 -1
  531. package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -250
  532. package/dist/esm/calcite-action-bar.entry.js +0 -246
  533. package/dist/esm/polyfills/core-js.js +0 -11
  534. package/dist/esm/polyfills/dom.js +0 -79
  535. package/dist/esm/polyfills/es5-html-element.js +0 -1
  536. package/dist/esm/polyfills/index.js +0 -34
  537. package/dist/esm/polyfills/system.js +0 -6
  538. package/dist/solutions-components/p-18538cd9.entry.js +0 -11
  539. package/dist/solutions-components/p-868df4a0.js +0 -21
  540. package/dist/solutions-components/p-869d4521.entry.js +0 -6
  541. package/dist/solutions-components/p-9310b882.js +0 -7
  542. package/dist/solutions-components/p-9eba78eb.entry.js +0 -6
  543. package/dist/solutions-components/p-c26cd409.entry.js +0 -6
  544. package/dist/solutions-components/p-d4cb29ed.entry.js +0 -6
  545. package/dist/solutions-components/p-e4d2fcc5.js +0 -11
  546. package/dist/solutions-components/p-fb7ca639.entry.js +0 -6
  547. package/dist/solutions-components/p-fe96e0d9.entry.js +0 -23
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,c as t,h as s,H as e,g as a}from"./p-9310b882.js";import{l}from"./p-0266ca81.js";import{g as h,h as n,d as o,e as r,f as d,i as c,j as p,k as g}from"./p-f8dd2784.js";import{c as b,e as u,f as v}from"./p-868df4a0.js";import{s as y}from"./p-3445a8c6.js";import{a as m,g as f}from"./p-7f9642d5.js";import{d as w,a as S}from"./p-95c11620.js";import"./p-2c0dc7b1.js";import"./p-e1a4994d.js";const _=class{constructor(s){i(this,s),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}distanceChanged(i){this._distanceChanged(i.detail)}unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){return this._init()}render(){return s(e,null,this._getMapLayerPicker(),s("div",{class:"border-bottom"}),s("div",{class:"padding-top-sides-1"},s("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{class:"padding-top-1"},s("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),s("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const e=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),s("div",{class:e},s("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id))})))}_getNumSelected(){const i=m(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[]})))}async _initModules(){const[i,t,s,e,a]=await l(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=s,this._geometryEngine=e,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),this._initSearchWidget()}async _initSelectionSet(){var i,t,s,e;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(s=this.selectionSet)||void 0===s?void 0:s.label,this._useLayerFeaturesEnabled||null===(e=this._drawTools)||void 0===e||e.updateGraphics(),await h(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}_initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,s;if(i.result){this._searchResult=i.result;const e=(null===(s=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===s?void 0:s.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=e?[i.result.feature.getObjectId()]:void 0;this._workflowType=b.SEARCH,this._updateLabel();const l=[i.result.feature];this._updateSelection(l,e,a),this._drawTools.graphics=l,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const s=null==i?void 0:i.sources;return(null==s?void 0:s.length)>0?(i.includeDefaultSources=!1,s.forEach((i=>{var s,e;if(i.hasOwnProperty("layer")){const a=i,l=null===(s=a.layer)||void 0===s?void 0:s.id,h=l?t.map.findLayerById(l):null,n=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:n&&(a.layer=new this.FeatureLayer(n))}})),null==s||s.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),y.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}async _sketchGraphicsChanged(i,t=!1){const s=i.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this._useLayerFeaturesEnabled?b.SELECT:b.SKETCH,this._workflowType===b.SKETCH&&this._drawTools.updateGraphics(),this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(s)?s.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=s.reduce(((i,t)=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),e=i.detail.useOIDs&&t.length>0;this._updateSelection(s,e,t),e&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){y.removeHandles(),i.length>0&&y.highlightHandles.push(await n(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await o(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,s=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(i){const t=r(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var s;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),y.removeHandles(),(null===(s=this._drawTools)||void 0===s?void 0:s.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}_updateLabel(){var i,t;const s=this._selectionLabel.indexOf(this._translations.sketch)>-1,e=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,l=this._workflowType===b.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===b.SELECT?this._translations.select:this._translations.sketch,h=this._unit?this._unit:this._bufferTools.unit,n=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=s||e||a||!this._selectionLabel?`${l} ${n} ${h}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>d(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const s=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&s===this.selectLayerView.layer.id||(this.selectLayerView=await d(this.mapView,s),this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}_distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],c(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((s=>{t=t.concat(i[s])}))}));let s=!1;t.forEach((i=>{var t;const e=i.geometry;i.symbol="point"===e.type?this.sketchPointSymbol:"polyline"===e.type?this.sketchLineSymbol:"polygon"===e.type?this.sketchPolygonSymbol:void 0,s=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const e=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&s;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:e}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};_.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-ui-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),P=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,s=!0){return w(i,!0,t,s)}async downloadPDF(i,t=!1,s="",e=""){var a;return S(i,null===(a=this._labelInfoElement.selectedOption)||void 0===a?void 0:a.value,t,s,e)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,s("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidRender(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="&lrm;"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"&rlm;";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const s=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),e=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return s<e?-1:s>e?1:0})).forEach(((i,t)=>{const s=document.createElement("calcite-option");s.value=i,s.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(s),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(s.selected=!0,this._labelInfoElement.selectedOption=s)}))}get el(){return a(this)}};P.style=":host{display:block}";const x=class{constructor(s){i(this,s),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=u.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return s(e,null,s("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{class:"display-flex"},s("calcite-label",{class:"font-bold width-full label-margin-0"},s("div",{class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id]})),s("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{class:"padding-1"},s("div",{class:"padding-bottom-1"},s("calcite-segmented-control",{class:"w-100"},s("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(u.ADD),value:u.ADD},s("span",{class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(u.REMOVE),value:u.REMOVE},s("span",{class:"font-weight-500"},this._translations.remove)))),s("div",null,s("map-draw-tools",{active:!0,drawMode:v.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),s("br",null),s("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const s=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(s)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var s;const e=null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===b.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===b.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const s={};s[i]={addIds:[],removeIds:[],layerView:await d(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),s):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:b.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:s,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===u.ADD?u.REMOVE:u.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===u.ADD?u.REMOVE:u.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===b.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=p(i);return Object.keys(t).reduce(((i,s)=>i+t[s].ids.length),0)}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}async _selectFeatures(i){var t,s;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const e=await c(0,null===(s=this._refineLayer)||void 0===s?void 0:s.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(e).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(e[i]))}));const l=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(l,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),y.highlightHandles=await g(this.selectionSets)}_clearHighlight(){y.removeHandles()}async _updateIds(i,t,s,e){let a=!1;const l=this._refineSelectionSet.refineInfos,h=e.layer.id,n={};n[h]={addIds:[],removeIds:[],layerView:e};const o=Object.keys(l).indexOf(h)>-1?l[h]:n[h];if(t===u.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&s.push({ids:i,mode:t,layerView:e}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const l=this.selectionSets.reduce(((t,s)=>(i.forEach((i=>{s.workflowType!==b.REFINE?s.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(s.refineInfos).some((a=>{const l=s.refineInfos[a];if(l.layerView.layer.id===e.layer.id&&l.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...l,...o.removeIds])],o.addIds=o.addIds.filter((i=>l.indexOf(i)<0)),o.removeIds.length>0&&s.push({ids:l,mode:t,layerView:e}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==b.REFINE&&t.layerView.layer.id===e.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[h]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{_ as map_select_tools,P as pdf_download,x as refine_selection}
@@ -1,6 +0,0 @@
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-9310b882.js";import{g as s}from"./p-7f9642d5.js";import{E as l}from"./p-868df4a0.js";import"./p-e1a4994d.js";const a=class{constructor(i){t(this,i),this.classicGrid=!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){const i=t.detail;this._expandPopup=!1,this._mapInfo=this._getMapInfo(i.id),this._mapView=i.mapView,this._mapView.popupEnabled=!1}async componentWillLoad(){await this._getTranslations()}render(){return i(e,null,i("calcite-shell",{class:"position-relative"},i("calcite-panel",{class:"width-full height-full"},this._getBody(this._layoutMode,this._panelOpen,this.hideMap))))}_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:"padding-1-2 "+(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",{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}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% - 0.5rem - 25px)}.adjusted-height-100{height:calc(100% - 1rem - 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}
@@ -1,11 +0,0 @@
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 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";
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
- */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}
@@ -1,6 +0,0 @@
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 s,g as e,c as a}from"./p-9310b882.js";import{l as n}from"./p-0266ca81.js";import{g as h}from"./p-7f9642d5.js";import{g as o}from"./p-868df4a0.js";import"./p-e1a4994d.js";const r=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapWidget=void 0}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return i(s,null,i("div",{ref:t=>{this._basemapElement=t}}))}async _initModules(){const[t]=await n(["esri/widgets/BasemapGallery"]);this.BasemapGallery=t}_initBaseMapGallery(t){t&&this.BasemapGallery&&(this.basemapWidget?this.basemapWidget.view=t:this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t}))}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return i(s,null,i("div",{ref:t=>{this._legendElement=t}}))}async _initModules(){const[t]=await n(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,view:t}))}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapInfoChange=a(this,"mapInfoChange",7),this._loadedId="",this.mapInfos=[],this._mapListExpanded=!1,this._webMapInfo=void 0}_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=null==t?void 0:t.id,this.mapInfoChange.emit(t))}mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this.mapInfoChange.emit(t[0])}render(){return i(s,null,this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidRender(){this._mapListExpanded&&await this._list.setFocus()}componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){var t;return i("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},null===(t=this._webMapInfo)||void 0===t?void 0:t.name)}_getToolbar(){return i("div",{class:"display-flex"},i("calcite-action-bar",{class:"action-bar-color border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return i("div",{class:t?"map-list":"display-none"},i("calcite-list",{id:"mapList",ref:t=>this._list=t,selectionAppearance:"border"},this.mapInfos.map((t=>i("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){this._mapListExpanded=!1,this._webMapInfo=t}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}get el(){return e(this)}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};l.style=":host{display:block}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.action-bar-color{background-color:var(--calcite-ui-border-3) !important}";const d=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return i(s,null,i("div",{class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await n(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};if(this.searchConfiguration){const i=this._getSearchConfig(this.searchConfiguration,this.mapView);t=Object.assign({},i)}this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return(null==s?void 0:s.length)>0?(t.includeDefaultSources=!1,s.forEach((t=>{var s,e;if(t.hasOwnProperty("layer")){const a=t,n=null===(s=a.layer)||void 0===s?void 0:s.id,h=n?i.map.findLayerById(n):null,o=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:o&&(a.layer=new this.FeatureLayer(o))}})),null==s||s.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===(null==i?void 0:i.name)&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t=Object.assign(Object.assign({},t),{includeDefaultSources:!0}),t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};d.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}";const p=class{constructor(i){t(this,i),this.expandMap=a(this,"expandMap",7),this.layout="vertical",this.mapView=void 0,this.searchConfiguration=void 0,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations()}render(){const t=this._showTools?"":"display-none",e=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",n=this._showLegendWidget?"":"display-none";return i(s,null,i("div",null,i("calcite-action",{alignment:"center",class:"border square-40",compact:!1,icon:this._showTools?"chevrons-up":"chevrons-down",onClick:()=>{this._toggleTools()},scale:"s",text:""}),i("calcite-action-bar",{class:`width-40 border margin-top-1-2 ${t}`,"expand-disabled":!0,layout:this.layout},this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())),this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())),this._getActionGroup("expand",!1,this._translations.expand,(()=>this._expand())),this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())))),i("basemap-gallery",{class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),i("map-search",{class:e,mapView:this.mapView,ref:t=>{this._searchElement=t},searchConfiguration:this.searchConfiguration}),i("map-legend",{class:n,mapView:this.mapView,ref:t=>{this._legendElement=t}}))}_getActionGroup(t,s,e,a){return i("calcite-action-group",{class:"square-40-41"},i("calcite-action",{alignment:"center",class:"square-40",compact:!1,disabled:s,icon:t,id:t,onClick:a,scale:"s",text:""},i("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),i("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},i("span",null,e)))}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_expand(){this.expandMap.emit(o.EXPAND)}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};p.style=":host{display:block}.display-none{display:none}.border{border:1px solid var(--calcite-ui-border-3)}.margin-top-1-2{margin-top:0.5rem}.square-40{width:40px;height:40px}.width-40{width:40px}.square-40-41{width:40px;height:41px}";export{r as basemap_gallery,c as map_legend,l as map_picker,d as map_search,p as map_tools}
@@ -1,23 +0,0 @@
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 e,h as i,F as s,g as n,H as a}from"./p-9310b882.js";import{f as l}from"./p-3a844a72.js";import{c as o,u as c,d as r}from"./p-ad75b9bb.js";import{s as h,a as d,c as u}from"./p-476e5302.js";import{c as p,d as f}from"./p-7f271c31.js";import{u as g,s as m,c as b,d as v}from"./p-2592c0b8.js";import{d as x}from"./p-a82f35c9.js";import{t as y,r as C,a as w}from"./p-a16feeec.js";import{c as k}from"./p-588bc0c0.js";import{u as L,a as I,M as E,g as S,I as z,C as A,S as D}from"./p-1eda2d20.js";import{d as j,c as F}from"./p-f7b520ae.js";import"./p-43ba7a04.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v1.6.1
11
- */const M=class{constructor(i){t(this,i),this.calciteFilterChange=e(this,"calciteFilterChange",6),this.filterDebounced=x(((t,e=!1,i)=>this.updateFiltered(l(this.items,t),e,i)),250),this.inputHandler=t=>{const e=t.target;this.value=e.value,this.filterDebounced(e.value,!0)},this.keyDownHandler=t=>{"Escape"===t.key&&(this.clear(),t.preventDefault()),"Enter"===t.key&&t.preventDefault()},this.clear=()=>{this.value="",this.filterDebounced("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filterDebounced(this.value)}onMessagesChange(){}valueHandler(t){this.filterDebounced(t)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async componentWillLoad(){h(this),this.updateFiltered(l(this.items,this.value)),await m(this)}connectedCallback(){o(this),p(this),b(this)}componentDidRender(){c(this)}disconnectedCallback(){r(this),f(this),v(this),this.filterDebounced.cancel()}componentDidLoad(){d(this)}async filter(t=this.value){return new Promise((e=>{this.value=t,this.filterDebounced(t,!1,e)}))}async setFocus(){var t;await u(this),null===(t=this.el)||void 0===t||t.focus()}updateFiltered(t,e=!1,i){this.filteredItems=t,e&&this.calciteFilterChange.emit(),null==i||i()}render(){const{disabled:t,scale:e}=this;return i(s,null,i("div",{class:"container"},i("label",null,i("calcite-input",{"aria-label":this.messages.label,clearable:!0,disabled:t,icon:"search",messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,scale:e,type:"text",value:this.value,ref:t=>{this.textInput=t}}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};M.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([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}:host([hidden]){display:none}[hidden]{display:none}";
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
- * v1.6.1
16
- */
17
- const T=class{constructor(i){t(this,i),this.calciteHandleNudge=e(this,"calciteHandleNudge",6),this.calciteInternalHandleChange=e(this,"calciteInternalHandleChange",6),this.handleKeyDown=t=>{switch(t.key){case" ":this.activated=!this.activated,t.preventDefault();break;case"ArrowUp":if(!this.activated)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.activated)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"down"})}},this.handleBlur=()=>{this.activated=!1},this.activated=!1,this.dragHandle=void 0,this.messages=void 0,this.setPosition=void 0,this.setSize=void 0,this.label=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleAriaTextChange(){const t=this.getAriaText("live");t&&this.calciteInternalHandleChange.emit({message:t})}onMessagesChange(){}connectedCallback(){b(this),p(this)}async componentWillLoad(){h(this),await m(this)}componentDidLoad(){d(this)}disconnectedCallback(){v(this),f(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){var t;await u(this),null===(t=this.handleButton)||void 0===t||t.focus()}getAriaText(t){const{setPosition:e,setSize:i,label:s,messages:n,activated:a}=this;return n&&s&&"number"==typeof i&&"number"==typeof e?("label"===t?a?n.dragHandleChange:n.dragHandleIdle:a?n.dragHandleActive:n.dragHandleCommit).replace("{position}",e.toString()).replace("{itemLabel}",s).replace("{total}",i.toString()):null}render(){var t;return i("span",{"aria-label":this.getAriaText("label"),"aria-pressed":y(this.activated),class:{handle:!0,"handle--activated":this.activated},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0",title:null===(t=this.messages)||void 0===t?void 0:t.dragHandle,ref:t=>{this.handleButton=t}},i("calcite-icon",{icon:"drag",scale:"s"}))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messages:["handleAriaTextChange"],label:["handleAriaTextChange"],activated:["handleAriaTextChange"],setPosition:["handleAriaTextChange"],setSize:["handleAriaTextChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};T.style=":host{display:flex}.handle{display:flex;cursor:move;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-ui-border-input);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([hidden]){display:none}[hidden]{display:none}";
18
- /*!
19
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
21
- * v1.6.1
22
- */
23
- const H="actions-start",P="actions-end",O="calcite-list-item",_=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6),this.dragSelector="calcite-list-item",this.enabledListItems=[],this.handleSelector="calcite-handle",this.listItems=[],this.mutationObserver=k("mutation",(()=>this.updateListItems())),this.handleDefaultSlotChange=t=>{L(I(t.target)),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()},this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=C(t)},this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=C(t)},this.setActiveListItem=()=>{const{enabledListItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{listItems:e,filteredData:i,filterText:s}=this,n=i.map((t=>t.value)),a=null==e?void 0:e.filter((t=>e.every((e=>e===t||!t.contains(e))))),l=e.filter((t=>!s||n.includes(t.value)))||[],o=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:l,visibleParents:o}))),this.filteredItems=l,t&&this.calciteListFilter.emit()},this.setFilterEl=t=>{this.filterEl=t,this.performFilter()},this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e,this.updateFilteredData(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=x(((t=!1)=>{const{selectionAppearance:e,selectionMode:i,dragEnabled:s}=this;if(this.parentListEl)return this.queryListItems(!0).forEach((t=>{t.selectionAppearance=e,t.selectionMode=i,t.dragHandle=s})),void this.setUpSorting();const n=this.queryListItems();n.forEach((t=>{t.selectionAppearance=e,t.selectionMode=i,t.dragHandle=s})),this.listItems=n,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl&&(this.filterEl.items=this.dataForFilter)),this.updateFilteredItems(t),this.enabledListItems=this.filteredItems.filter((t=>!t.disabled&&!t.closed)),this.setActiveListItem(),this.updateSelectedItems(t),this.setUpSorting()}),0),this.queryListItems=(t=!1)=>Array.from(this.el.querySelectorAll(t?":scope > calcite-list-item":O)),this.focusRow=t=>{const{enabledListItems:e}=this;t&&(e.forEach((e=>e.active=e===t)),t.setFocus())},this.isNavigable=t=>{var e;const i=null===(e=t.parentElement)||void 0===e?void 0:e.closest(O);return!i||i.open&&this.isNavigable(i)},this.handleListKeydown=t=>{var e;if(t.defaultPrevented||this.parentListEl)return;const{key:i}=t,s=this.enabledListItems.filter((t=>this.isNavigable(t))),n=s.findIndex((t=>t.active));if("ArrowDown"===i){t.preventDefault();const e=t.target===this.filterEl?0:n+1;s[e]&&this.focusRow(s[e])}else if("ArrowUp"===i){if(t.preventDefault(),0===n&&this.filterEnabled)return void(null===(e=this.filterEl)||void 0===e||e.setFocus());const i=n-1;s[i]&&this.focusRow(s[i])}else if("Home"===i){t.preventDefault();const e=s[0];e&&this.focusRow(e)}else if("End"===i){t.preventDefault();const e=s[s.length-1];e&&this.focusRow(e)}},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.group=void 0,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.assistiveText=void 0,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1}async handleFilterTextChange(){this.performFilter()}handleListItemChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();const{enabledListItems:e}=this,i=e.findIndex((t=>t.active))-1;e[i]&&this.focusRow(e[i])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalHandleChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleCalciteHandleNudge(t){this.parentListEl||this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i,selectionMode:s}=this;!e.selected||"single"!==s&&"single-persist"!==s||i.forEach((t=>t.selected=t===e)),this.updateSelectedItems()}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems(!0))}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){this.connectObserver(),this.updateListItems(),this.setUpSorting(),o(this),this.parentListEl=this.el.parentElement.closest("calcite-list")}disconnectedCallback(){this.disconnectObserver(),j(this),r(this)}componentWillLoad(){h(this)}componentDidRender(){c(this)}componentDidLoad(){d(this)}async setFocus(){var t,e;return await u(this),this.filterEnabled?null===(t=this.filterEl)||void 0===t?void 0:t.setFocus():null===(e=this.enabledListItems.find((t=>t.active)))||void 0===e?void 0:e.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:l,filterText:o,hasFilterActionsStart:c,hasFilterActionsEnd:r}=this;return i("div",{class:"container"},this.dragEnabled?i("span",{"aria-live":"assertive",class:"assistive-text"},this.assistiveText):null,t?i("calcite-scrim",{class:"scrim",loading:t}):null,i("table",{"aria-busy":y(t),"aria-label":e||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},a||c||r?i("thead",null,i("tr",{class:{"sticky-pos":!0}},i("th",{colSpan:E},i("calcite-stack",{class:"stack"},i("slot",{name:"filter-actions-start",onSlotchange:this.handleFilterActionsStartSlotChange,slot:H}),i("calcite-filter",{"aria-label":l,disabled:t||s,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:l,value:o,ref:this.setFilterEl}),i("slot",{name:"filter-actions-end",onSlotchange:this.handleFilterActionsEndSlotChange,slot:P}))))):null,i("tbody",{class:"table-container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}))))}connectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}setUpSorting(){const{dragEnabled:t}=this;t&&F(this)}onDragStart(){this.disconnectObserver()}onDragEnd(){this.connectObserver()}onDragSort(t){this.updateListItems();const{from:e,item:i,to:s}=t;this.calciteListOrderChange.emit({dragEl:i,fromEl:e,toEl:s})}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.hidden=s;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(s||i.add(n),this.filterElements({el:n,filteredItems:e,visibleParents:i}))}updateFilteredData(t=!1){const{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems(t))}async performFilter(){const{filterEl:t,filterText:e}=this;t&&(t.value=e,await t.filter(e),this.updateFilteredData())}handleNudgeEvent(t){const{direction:e}=t.detail,i=t.composedPath(),s=i.find((t=>"CALCITE-HANDLE"===t.tagName)),n=i.find((t=>"CALCITE-LIST-ITEM"===t.tagName)),a=null==n?void 0:n.parentElement;if(!a)return;const{enabledListItems:l}=this,o=l.filter((t=>t.parentElement===a)),c=o.length-1,r=o.indexOf(n);let h,d=!1;"up"===e?0===r?d=!0:h=r-1:r===c?h=0:r===c-1?d=!0:h=r+2,this.disconnectObserver(),d?a.appendChild(n):a.insertBefore(n,o[h]),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:n,fromEl:null,toEl:null}),s.setFocus().then((()=>{s.activated=!0}))}get el(){return n(this)}static get watchers(){return{filterText:["handleFilterTextChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"]}}};_.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:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky);background-color:var(--calcite-ui-foreground-1)}.sticky-pos th{padding:0px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const W=new Map,B=class{constructor(i){t(this,i),this.calciteListItemSelect=e(this,"calciteListItemSelect",6),this.calciteListItemClose=e(this,"calciteListItemClose",6),this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6),this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6),this.closeClickHandler=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=C(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=C(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=C(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=C(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=C(t)},this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)},this.toggleOpen=()=>{this.open=!this.open},this.itemClicked=t=>{t.defaultPrevented||(this.toggleSelected(),this.calciteInternalListItemActive.emit())},this.toggleSelected=()=>{const{selectionMode:t,selected:e}=this;this.disabled||("multiple"===t||"single"===t?this.selected=!e:"single-persist"===t&&(this.selected=!0),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:e}=t,i=t.composedPath(),{containerEl:s,contentEl:n,actionsStartEl:a,actionsEndEl:l,open:o,openable:c}=this,r=[a,n,l].filter(Boolean),h=r.findIndex((t=>i.includes(t)));if("Enter"===e)t.preventDefault(),this.toggleSelected();else if("ArrowRight"===e){t.preventDefault();const e=h+1;-1===h?!o&&c?(this.open=!0,this.focusCell(null)):r[0]&&this.focusCell(r[0]):r[h]&&r[e]&&this.focusCell(r[e])}else if("ArrowLeft"===e){t.preventDefault();const e=h-1;-1===h?(this.focusCell(null),o&&c?this.open=!1:this.calciteInternalFocusPreviousItem.emit()):0===h?(this.focusCell(null),s.focus()):r[h]&&r[e]&&this.focusCell(r[e])}},this.focusCellNull=()=>{this.focusCell(null)},this.focusCell=(t,e=!0)=>{const{contentEl:i,actionsStartEl:s,actionsEndEl:n,parentListEl:a}=this;e&&W.set(a,null),[s,i,n].filter(Boolean).forEach(((i,s)=>{const n="tabindex";i===t?(i.setAttribute(n,"0"),e&&W.set(a,s)):i.removeAttribute(n)})),null==t||t.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.dragHandle=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1}activeHandler(t){t||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){o(this),p(this),b(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=S(t)+1,this.visualLevel=S(t,!0),this.setSelectionDefaults()}async componentWillLoad(){h(this),await m(this)}componentDidLoad(){d(this)}componentDidRender(){c(this,"managed")}disconnectedCallback(){r(this),f(this),v(this)}async setFocus(){await u(this);const{containerEl:t,contentEl:e,actionsStartEl:i,actionsEndEl:s,parentListEl:n}=this,a=W.get(n);if("number"!=typeof a)null==t||t.focus();else{const n=[i,e,s].filter(Boolean);n[a]?this.focusCell(n[a]):null==t||t.focus()}}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;return"none"===e||"border"===s?null:i("td",{class:A.selectionContainer,key:"selection-container",onClick:this.itemClicked},i("calcite-icon",{icon:t?"multiple"===e?z.selectedMultiple:z.selectedSingle:z.unselected,scale:"s"}))}renderDragHandle(){return this.dragHandle?i("td",{class:A.dragContainer,key:"drag-handle-container"},i("calcite-handle",{label:this.label,setPosition:this.setPosition,setSize:this.setSize})):null}renderOpen(){const{el:t,open:e,openable:s,parentListEl:n}=this,a=w(t);return s?i("td",{class:A.openContainer,key:"open-container",onClick:this.toggleOpen},i("calcite-icon",{icon:e?z.open:"rtl"===a?z.closedRTL:z.closedLTR,scale:"s"})):(null==n?void 0:n.openable)?i("td",{class:A.openContainer,key:"open-container",onClick:this.itemClicked},i("calcite-icon",{icon:z.blank,scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:A.actionsStart,hidden:!e,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},i("slot",{name:D.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:A.actionsEnd,hidden:!(e||s),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},i("slot",{name:D.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",icon:z.close,key:"close-action",label:n.close,onClick:this.closeClickHandler,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:A.contentStart,hidden:!t},i("slot",{name:D.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:A.customContent,hidden:!t},i("slot",{name:D.content,onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:A.contentEnd,hidden:!t},i("slot",{name:D.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return s||!t&&!e?null:i("div",{class:A.content,key:"content"},t?i("div",{class:A.label,key:"label"},t):null,e?i("div",{class:A.description,key:"description"},e):null)}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n}=this,a=n||!!e||!!t,l=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{[A.contentContainer]:!0,[A.contentContainerSelectable]:"none"!==s,[A.contentContainerHasCenterContent]:a},key:"content-container",onClick:this.itemClicked,role:"gridcell",ref:t=>this.contentEl=t},l)}render(){const{openable:t,open:e,level:s,setPosition:n,setSize:l,active:o,label:c,selected:r,selectionAppearance:h,selectionMode:d,closed:u}=this,p="none"!==d&&"border"===h,f=p&&r,g=p&&!r;return i(a,null,i("tr",{"aria-expanded":t?y(e):null,"aria-label":c,"aria-level":s,"aria-posinset":n,"aria-selected":y(r),"aria-setsize":l,class:{[A.container]:!0,[A.containerBorderSelected]:f,[A.containerBorderUnselected]:g},hidden:u,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${this.visualLevel}`},tabIndex:o?0:-1,ref:t=>this.containerEl=t},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),i("div",{class:{[A.nestedContainer]:!0,[A.nestedContainerHidden]:t&&!e}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t})))}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;t&&(e||(this.selectionMode=t.selectionMode),i||(this.selectionAppearance=t.selectionAppearance))}handleOpenableChange(t){if(!t)return;const{parentListEl:e}=this,i=I(t);L(i);const s=!!i.length;s&&e&&!e.openable&&(e.openable=!0),this.openable=s,s||(this.open=!1)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};B.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{z-index:var(--calcite-app-z-index-sticky);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 )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const K=class{constructor(e){t(this,e),this.handleActionsStartSlotChange=t=>{this.hasActionsStart=C(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=C(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=C(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=C(t)},this.disabled=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasContentStart=!1,this.hasContentEnd=!1}renderActionsStart(){const{hasActionsStart:t}=this;return i("div",{class:"actions-start",hidden:!t,key:"actions-start-container"},i("slot",{name:H,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{hasActionsEnd:t}=this;return i("div",{class:"actions-end",hidden:!t,key:"actions-end-container"},i("slot",{name:P,onSlotchange:this.handleActionsEndSlotChange}))}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:"content-start",hidden:!t},i("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderDefaultContent(){return i("div",{class:"content"},i("slot",null))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:"content-end",hidden:!t},i("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}render(){return i(a,null,i("div",{class:"container"},this.renderActionsStart(),this.renderContentStart(),this.renderDefaultContent(),this.renderContentEnd(),this.renderActionsEnd()))}};K.style=":host([disabled]) .content{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}";export{M as calcite_filter,T as calcite_handle,_ as calcite_list,B as calcite_list_item,K as calcite_stack}