@esri/solutions-components 0.10.46 → 0.10.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (852) hide show
  1. package/dist/cjs/{ExpandToggle-2cdd9a8e.js → ExpandToggle-c5e409ce.js} +5 -5
  2. package/dist/cjs/{FloatingArrow-91a71a80.js → FloatingArrow-c2b50d47.js} +1 -1
  3. package/dist/cjs/{Heading-a3e36113.js → Heading-3e2d46fd.js} +1 -1
  4. package/dist/cjs/{Validation-55fc2417.js → Validation-c065b988.js} +1 -1
  5. package/dist/cjs/{app-globals-3ff4b752.js → app-globals-09eb9eb5.js} +5 -5
  6. package/dist/cjs/{ar-76c21e64.js → ar-0afb390b.js} +20 -20
  7. package/dist/cjs/{array-286e5a3b.js → array-a8a57676.js} +1 -1
  8. package/dist/cjs/{bg-14c9b066.js → bg-b1be4ef3.js} +20 -20
  9. package/dist/cjs/{browser-333a21c5.js → browser-0bedacf5.js} +1 -1
  10. package/dist/cjs/{bs-af03a828.js → bs-a314390f.js} +20 -20
  11. package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
  12. package/dist/cjs/{ca-ae8e24ac.js → ca-b8e89e47.js} +20 -20
  13. package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -10
  14. package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
  15. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  16. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +16 -16
  17. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
  18. package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
  19. package/dist/cjs/calcite-alert_6.cjs.entry.js +17 -17
  20. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  21. package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
  22. package/dist/cjs/calcite-block_5.cjs.entry.js +48 -28
  23. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  24. package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
  25. package/dist/cjs/calcite-card.cjs.entry.js +11 -11
  26. package/dist/cjs/calcite-carousel_2.cjs.entry.js +14 -14
  27. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  28. package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
  29. package/dist/cjs/calcite-chip_2.cjs.entry.js +16 -16
  30. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
  31. package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
  32. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
  33. package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -24
  34. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
  35. package/dist/cjs/calcite-dialog.cjs.entry.js +22 -17
  36. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
  37. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  38. package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
  39. package/dist/cjs/calcite-flow_4.cjs.entry.js +4 -4
  40. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
  41. package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
  42. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  43. package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
  44. package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
  45. package/dist/cjs/{calcite-input-time-picker-74396a94.js → calcite-input-time-picker-42ed419f.js} +64 -64
  46. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
  47. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +21 -21
  48. package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
  49. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  50. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  51. package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
  52. package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
  53. package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
  54. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  55. package/dist/cjs/calcite-modal.cjs.entry.js +16 -16
  56. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  57. package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
  58. package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
  59. package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
  60. package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
  61. package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
  62. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
  63. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
  64. package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
  65. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
  66. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  67. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  68. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  69. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
  70. package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
  71. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +23 -9
  72. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +29 -29
  73. package/dist/cjs/calcite-shell.cjs.entry.js +7 -7
  74. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  75. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  76. package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
  77. package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
  78. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  79. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
  80. package/dist/cjs/calcite-table-row.cjs.entry.js +7 -7
  81. package/dist/cjs/calcite-table.cjs.entry.js +10 -10
  82. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  83. package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
  84. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
  85. package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
  86. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  87. package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
  88. package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
  89. package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
  90. package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
  91. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
  92. package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
  93. package/dist/cjs/{component-5d190962.js → component-65f2fe4b.js} +1 -1
  94. package/dist/cjs/{conditionalSlot-37ff4832.js → conditionalSlot-003e6975.js} +2 -2
  95. package/dist/cjs/{config-e76d9931.js → config-2282fdac.js} +1 -1
  96. package/dist/cjs/crowdsource-reporter.cjs.entry.js +60 -3
  97. package/dist/cjs/{cs-5c693156.js → cs-f14626e8.js} +20 -20
  98. package/dist/cjs/{da-1a406d67.js → da-2fce32d4.js} +20 -20
  99. package/dist/cjs/{date-bb8f971c.js → date-e763caec.js} +2 -2
  100. package/dist/cjs/{de-11376da8.js → de-2c1fce6f.js} +20 -20
  101. package/dist/cjs/{de-at-a7437de2.js → de-at-94de293d.js} +20 -20
  102. package/dist/cjs/{de-ch-862dfe8d.js → de-ch-d42f4faf.js} +20 -20
  103. package/dist/cjs/{dom-795d4a33.js → dom-e11b7daf.js} +3 -3
  104. package/dist/cjs/{el-69fd471f.js → el-8092eeb9.js} +20 -20
  105. package/dist/cjs/{en-au-4af4c244.js → en-au-9bc4467f.js} +20 -20
  106. package/dist/cjs/{en-ca-dd0f74b8.js → en-ca-d9140239.js} +20 -20
  107. package/dist/cjs/{en-gb-d9916a0a.js → en-gb-f5e2af8e.js} +20 -20
  108. package/dist/cjs/{es-b96f4aa7.js → es-4b6327d7.js} +20 -20
  109. package/dist/cjs/{es-mx-7ce9a959.js → es-mx-f729412a.js} +20 -20
  110. package/dist/cjs/{et-ed1f6381.js → et-ec115eb3.js} +20 -20
  111. package/dist/cjs/{fi-16433386.js → fi-95701850.js} +20 -20
  112. package/dist/cjs/{filter-e600c2fe.js → filter-899cda85.js} +1 -1
  113. package/dist/cjs/{floating-ui-0f85d59c.js → floating-ui-a8693586.js} +4 -4
  114. package/dist/cjs/{focusTrapComponent-b19fd5d5.js → focusTrapComponent-48fdd3f6.js} +3 -3
  115. package/dist/cjs/{form-6dd8050a.js → form-a36bd0e5.js} +2 -2
  116. package/dist/cjs/{fr-ch-368648e3.js → fr-ch-a231f229.js} +20 -20
  117. package/dist/cjs/{fr-32b252ad.js → fr-e22a2684.js} +20 -20
  118. package/dist/cjs/{guid-e84a8375.js → guid-d99f21fe.js} +1 -1
  119. package/dist/cjs/{he-d139901b.js → he-d0070eb9.js} +20 -20
  120. package/dist/cjs/{hi-ba5e377e.js → hi-04615e27.js} +20 -20
  121. package/dist/cjs/{hr-87b5a9d8.js → hr-27fefb6d.js} +20 -20
  122. package/dist/cjs/{hu-3b80d082.js → hu-63da9819.js} +20 -20
  123. package/dist/cjs/{id-09dfbe6e.js → id-d4fe65cd.js} +20 -20
  124. package/dist/cjs/{index-89a62dc9.js → index-0b0f3737.js} +3 -3
  125. package/dist/cjs/{index-c134f2f6.js → index-b4e2f888.js} +3 -3
  126. package/dist/cjs/{index-0fb00064.js → index-fedf53b1.js} +2 -2
  127. package/dist/cjs/{input-8c28213d.js → input-ce93953f.js} +1 -1
  128. package/dist/cjs/instant-apps-export.cjs.entry.js +18 -5
  129. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +5 -6
  130. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +13 -6
  131. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -12
  132. package/dist/cjs/{interactive-a128ac30.js → interactive-7ccdd728.js} +1 -1
  133. package/dist/cjs/{it-da71aa25.js → it-418a53bf.js} +20 -20
  134. package/dist/cjs/{it-ch-00a4c4b4.js → it-ch-7f4632ab.js} +20 -20
  135. package/dist/cjs/{ja-c3519ced.js → ja-6c5d5c7d.js} +20 -20
  136. package/dist/cjs/{key-47c9469a.js → key-cdfc85aa.js} +1 -1
  137. package/dist/cjs/{ko-ea8cd08b.js → ko-e4154b91.js} +20 -20
  138. package/dist/cjs/{label-726fc287.js → label-e18f62c9.js} +3 -3
  139. package/dist/cjs/{loadable-1c888c87.js → loadable-f3fe73a2.js} +2 -2
  140. package/dist/cjs/loader.cjs.js +5 -5
  141. package/dist/cjs/{locale-da840314.js → locale-7eb2f603.js} +5 -5
  142. package/dist/cjs/{logger-f177776b.js → logger-912d7f26.js} +2 -2
  143. package/dist/cjs/{lt-4e8161c8.js → lt-d6dae6fd.js} +20 -20
  144. package/dist/cjs/{lv-b976ad37.js → lv-bcf9724a.js} +20 -20
  145. package/dist/cjs/{math-089392ef.js → math-34746601.js} +1 -1
  146. package/dist/cjs/{mk-e2ea18b4.js → mk-171505d2.js} +20 -20
  147. package/dist/cjs/{nb-d81f921b.js → nb-0dcee19c.js} +20 -20
  148. package/dist/cjs/{nl-7249cded.js → nl-dace5864.js} +20 -20
  149. package/dist/cjs/{observers-18d87cb5.js → observers-affd684f.js} +2 -2
  150. package/dist/cjs/{openCloseComponent-3c540d25.js → openCloseComponent-044883e4.js} +2 -2
  151. package/dist/cjs/{pl-d93521bd.js → pl-7755a609.js} +20 -20
  152. package/dist/cjs/{pt-bf297919.js → pt-3121cc39.js} +20 -20
  153. package/dist/cjs/{pt-br-2c9c4ba2.js → pt-br-67b16e3a.js} +20 -20
  154. package/dist/cjs/{region-26804632.js → region-7f262d75.js} +1 -1
  155. package/dist/cjs/{resources-cf1791da.js → resources-1454138b.js} +1 -1
  156. package/dist/cjs/{resources-9c07e2ea.js → resources-18358747.js} +1 -1
  157. package/dist/cjs/{resources-b3dc59f7.js → resources-2392e12e.js} +1 -1
  158. package/dist/cjs/{resources-eeda5acf.js → resources-23a86b54.js} +1 -1
  159. package/dist/cjs/{resources-f895ff54.js → resources-2ae05f17.js} +1 -1
  160. package/dist/cjs/{resources-535f936c.js → resources-392a021f.js} +1 -1
  161. package/dist/cjs/{resources-388efec5.js → resources-51c2cde3.js} +1 -1
  162. package/dist/cjs/{resources-18f799c7.js → resources-6c04ccee.js} +1 -1
  163. package/dist/cjs/{resources-f9ab74c4.js → resources-72fc2b95.js} +1 -1
  164. package/dist/cjs/{resources-7aaf489b.js → resources-9b6cf400.js} +1 -1
  165. package/dist/cjs/{responsive-a61585b1.js → responsive-9d6c09ff.js} +1 -1
  166. package/dist/cjs/{ro-b770ba3d.js → ro-7f726306.js} +20 -20
  167. package/dist/cjs/{ru-f70d0afe.js → ru-fc11963d.js} +20 -20
  168. package/dist/cjs/{shared-list-render-546c7296.js → shared-list-render-3d6ec3ca.js} +7 -7
  169. package/dist/cjs/{sk-67e2fd96.js → sk-e85b9c15.js} +20 -20
  170. package/dist/cjs/{sl-cf79e6c6.js → sl-9eb375c2.js} +20 -20
  171. package/dist/cjs/solutions-components.cjs.js +5 -5
  172. package/dist/cjs/{sortableComponent-5dfc7ff8.js → sortableComponent-6983a0f0.js} +1 -1
  173. package/dist/cjs/{sr-02a5153e.js → sr-1d2513be.js} +20 -20
  174. package/dist/cjs/{sv-1c32f9ba.js → sv-f7693c9f.js} +20 -20
  175. package/dist/cjs/{t9n-ed5c03a7.js → t9n-64df74f3.js} +3 -3
  176. package/dist/cjs/{th-ddd7073f.js → th-0d2328bb.js} +20 -20
  177. package/dist/cjs/{time-a92ca33f.js → time-513586eb.js} +3 -3
  178. package/dist/cjs/{time-zones-a7e83971.js → time-zones-bb3f09ac.js} +1 -1
  179. package/dist/cjs/{tr-31fcd3f7.js → tr-2c074411.js} +20 -20
  180. package/dist/cjs/{uk-a0f9e2bc.js → uk-5e16db67.js} +20 -20
  181. package/dist/cjs/{utils-51a793a5.js → utils-5f5839d7.js} +2 -2
  182. package/dist/cjs/{utils-7e5609ab.js → utils-d0049d76.js} +5 -4
  183. package/dist/cjs/{vi-d484e1b9.js → vi-2a4d8334.js} +20 -20
  184. package/dist/cjs/{zh-cn-3d843268.js → zh-cn-126bcbc0.js} +20 -20
  185. package/dist/cjs/{zh-hk-4aacd6d2.js → zh-hk-aeeba861.js} +20 -20
  186. package/dist/cjs/{zh-tw-cbd770ad.js → zh-tw-0cfb6e20.js} +20 -20
  187. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +93 -2
  188. package/dist/collection/demos/crowdsource-reporter.html +267 -266
  189. package/dist/components/ExpandToggle.js +2 -2
  190. package/dist/components/FloatingArrow.js +1 -1
  191. package/dist/components/Heading.js +1 -1
  192. package/dist/components/Validation.js +1 -1
  193. package/dist/components/accordion-item.js +1 -1
  194. package/dist/components/accordion.js +1 -1
  195. package/dist/components/action-bar.js +1 -1
  196. package/dist/components/action-group.js +1 -1
  197. package/dist/components/action-menu.js +1 -1
  198. package/dist/components/action-pad.js +1 -1
  199. package/dist/components/action.js +1 -1
  200. package/dist/components/alert.js +2 -2
  201. package/dist/components/array.js +1 -1
  202. package/dist/components/avatar.js +2 -2
  203. package/dist/components/block.js +1 -1
  204. package/dist/components/browser.js +1 -1
  205. package/dist/components/button.js +1 -1
  206. package/dist/components/calcite-block-section.js +1 -1
  207. package/dist/components/calcite-card.js +1 -1
  208. package/dist/components/calcite-dialog.js +8 -3
  209. package/dist/components/calcite-fab.js +1 -1
  210. package/dist/components/calcite-inline-editable.js +1 -1
  211. package/dist/components/calcite-input-time-picker.js +1 -1
  212. package/dist/components/calcite-input-time-zone.js +2 -2
  213. package/dist/components/calcite-list-item-group.js +1 -1
  214. package/dist/components/calcite-menu-item.js +1 -1
  215. package/dist/components/calcite-meter.js +1 -1
  216. package/dist/components/calcite-navigation-logo.js +1 -1
  217. package/dist/components/calcite-navigation.js +1 -1
  218. package/dist/components/calcite-radio-button-group.js +1 -1
  219. package/dist/components/calcite-rating.js +1 -1
  220. package/dist/components/calcite-sheet.js +1 -1
  221. package/dist/components/calcite-shell-center-row.js +16 -3
  222. package/dist/components/calcite-sortable-list.js +1 -1
  223. package/dist/components/calcite-split-button.js +1 -1
  224. package/dist/components/calcite-stepper-item.js +1 -1
  225. package/dist/components/calcite-stepper.js +2 -2
  226. package/dist/components/calcite-table-row.js +1 -1
  227. package/dist/components/calcite-table.js +1 -1
  228. package/dist/components/calcite-text-area.js +1 -1
  229. package/dist/components/calcite-tile-group.js +1 -1
  230. package/dist/components/calcite-tile-select.js +1 -1
  231. package/dist/components/calcite-tile.js +1 -1
  232. package/dist/components/calcite-tip-manager.js +1 -1
  233. package/dist/components/calcite-tip.js +1 -1
  234. package/dist/components/carousel-item.js +1 -1
  235. package/dist/components/carousel.js +1 -1
  236. package/dist/components/checkbox.js +1 -1
  237. package/dist/components/chip.js +2 -2
  238. package/dist/components/color-picker-hex-input.js +1 -1
  239. package/dist/components/color-picker-swatch.js +1 -1
  240. package/dist/components/combobox-item-group.js +1 -1
  241. package/dist/components/combobox-item.js +1 -1
  242. package/dist/components/combobox.js +5 -5
  243. package/dist/components/component.js +1 -1
  244. package/dist/components/conditionalSlot.js +1 -1
  245. package/dist/components/config.js +1 -1
  246. package/dist/components/crowdsource-reporter.js +65 -5
  247. package/dist/components/date-picker-month-header.js +1 -1
  248. package/dist/components/date-picker.js +2 -2
  249. package/dist/components/date.js +1 -1
  250. package/dist/components/dom.js +1 -1
  251. package/dist/components/dropdown.js +1 -1
  252. package/dist/components/filter.js +1 -1
  253. package/dist/components/filter2.js +1 -1
  254. package/dist/components/floating-ui.js +1 -1
  255. package/dist/components/flow-item.js +1 -1
  256. package/dist/components/flow.js +1 -1
  257. package/dist/components/focusTrapComponent.js +1 -1
  258. package/dist/components/form.js +1 -1
  259. package/dist/components/graph.js +1 -1
  260. package/dist/components/guid.js +1 -1
  261. package/dist/components/handle.js +1 -1
  262. package/dist/components/icon.js +2 -2
  263. package/dist/components/index.js +2 -2
  264. package/dist/components/input-date-picker.js +2 -2
  265. package/dist/components/input-message.js +1 -1
  266. package/dist/components/input-number.js +1 -1
  267. package/dist/components/input-text.js +1 -1
  268. package/dist/components/input.js +1 -1
  269. package/dist/components/input2.js +1 -1
  270. package/dist/components/instant-apps-export.js +18 -5
  271. package/dist/components/instant-apps-filter-list2.js +23 -2
  272. package/dist/components/instant-apps-language-switcher.js +5 -6
  273. package/dist/components/instant-apps-scoreboard.js +14 -6
  274. package/dist/components/instant-apps-time-filter.js +7 -12
  275. package/dist/components/interactive.js +1 -1
  276. package/dist/components/key.js +1 -1
  277. package/dist/components/label.js +1 -1
  278. package/dist/components/label2.js +1 -1
  279. package/dist/components/list.js +1 -1
  280. package/dist/components/loadable.js +1 -1
  281. package/dist/components/loader.js +1 -1
  282. package/dist/components/locale2.js +2 -2
  283. package/dist/components/logger.js +1 -1
  284. package/dist/components/math.js +1 -1
  285. package/dist/components/modal.js +1 -1
  286. package/dist/components/navigation-user.js +1 -1
  287. package/dist/components/notice.js +2 -2
  288. package/dist/components/observers.js +1 -1
  289. package/dist/components/openCloseComponent.js +1 -1
  290. package/dist/components/pagination.js +1 -1
  291. package/dist/components/panel.js +2 -2
  292. package/dist/components/pick-list-item.js +1 -1
  293. package/dist/components/popover.js +2 -2
  294. package/dist/components/radio-button.js +1 -1
  295. package/dist/components/resources.js +1 -1
  296. package/dist/components/resources2.js +1 -1
  297. package/dist/components/resources3.js +1 -1
  298. package/dist/components/resources4.js +1 -1
  299. package/dist/components/resources5.js +1 -1
  300. package/dist/components/resources6.js +1 -1
  301. package/dist/components/responsive.js +1 -1
  302. package/dist/components/scrim.js +1 -1
  303. package/dist/components/segmented-control-item.js +1 -1
  304. package/dist/components/segmented-control.js +1 -1
  305. package/dist/components/select.js +1 -1
  306. package/dist/components/shared-list-render.js +2 -2
  307. package/dist/components/shell-panel.js +1 -1
  308. package/dist/components/shell.js +1 -1
  309. package/dist/components/slider.js +1 -1
  310. package/dist/components/sortableComponent.js +1 -1
  311. package/dist/components/stack.js +1 -1
  312. package/dist/components/switch.js +1 -1
  313. package/dist/components/t9n.js +1 -1
  314. package/dist/components/tab-nav.js +1 -1
  315. package/dist/components/tab-title.js +1 -1
  316. package/dist/components/tab.js +1 -1
  317. package/dist/components/table-cell.js +1 -1
  318. package/dist/components/table-header.js +1 -1
  319. package/dist/components/tabs.js +1 -1
  320. package/dist/components/time-picker.js +2 -2
  321. package/dist/components/tooltip.js +3 -3
  322. package/dist/components/tree-item.js +1 -1
  323. package/dist/components/tree.js +1 -1
  324. package/dist/components/utils.js +2 -2
  325. package/dist/components/utils2.js +3 -2
  326. package/dist/components/utils3.js +1 -1
  327. package/dist/components/value-list-item.js +1 -1
  328. package/dist/components/value-list.js +2 -2
  329. package/dist/esm/{ExpandToggle-4d440eb0.js → ExpandToggle-d2cde0b5.js} +5 -5
  330. package/dist/esm/{FloatingArrow-4f645ccd.js → FloatingArrow-1ba04e83.js} +1 -1
  331. package/dist/esm/{Heading-80b3be96.js → Heading-82d9e017.js} +1 -1
  332. package/dist/esm/{Validation-cf136c56.js → Validation-594a63f5.js} +1 -1
  333. package/dist/esm/{app-globals-4aab2132.js → app-globals-177bd1cd.js} +5 -5
  334. package/dist/esm/{ar-d4e9c6ca.js → ar-a85b5d05.js} +20 -20
  335. package/dist/esm/{array-0e780f6f.js → array-e540e707.js} +1 -1
  336. package/dist/esm/{bg-e7db3070.js → bg-def28c6d.js} +20 -20
  337. package/dist/esm/{browser-b67d8df6.js → browser-e3f463e1.js} +1 -1
  338. package/dist/esm/{bs-154d0540.js → bs-86bb2bcb.js} +20 -20
  339. package/dist/esm/buffer-tools_3.entry.js +4 -4
  340. package/dist/esm/{ca-403d9586.js → ca-823e6ba8.js} +20 -20
  341. package/dist/esm/calcite-accordion_2.entry.js +10 -10
  342. package/dist/esm/calcite-action-bar.entry.js +14 -14
  343. package/dist/esm/calcite-action-group.entry.js +12 -12
  344. package/dist/esm/calcite-action-menu_2.entry.js +16 -16
  345. package/dist/esm/calcite-action-pad_2.entry.js +14 -14
  346. package/dist/esm/calcite-action_2.entry.js +20 -20
  347. package/dist/esm/calcite-alert_6.entry.js +17 -17
  348. package/dist/esm/calcite-avatar.entry.js +6 -6
  349. package/dist/esm/calcite-block-section.entry.js +10 -10
  350. package/dist/esm/calcite-block_5.entry.js +48 -28
  351. package/dist/esm/calcite-button.entry.js +14 -14
  352. package/dist/esm/calcite-card-group.entry.js +6 -6
  353. package/dist/esm/calcite-card.entry.js +11 -11
  354. package/dist/esm/calcite-carousel_2.entry.js +14 -14
  355. package/dist/esm/calcite-checkbox.entry.js +11 -11
  356. package/dist/esm/calcite-chip-group.entry.js +6 -6
  357. package/dist/esm/calcite-chip_2.entry.js +16 -16
  358. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  359. package/dist/esm/calcite-color-picker.entry.js +12 -12
  360. package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
  361. package/dist/esm/calcite-combobox_3.entry.js +24 -24
  362. package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
  363. package/dist/esm/calcite-dialog.entry.js +22 -17
  364. package/dist/esm/calcite-dropdown_2.entry.js +13 -13
  365. package/dist/esm/calcite-fab.entry.js +7 -7
  366. package/dist/esm/calcite-filter_5.entry.js +18 -18
  367. package/dist/esm/calcite-flow_4.entry.js +4 -4
  368. package/dist/esm/calcite-graph_2.entry.js +15 -15
  369. package/dist/esm/calcite-icon_2.entry.js +10 -10
  370. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  371. package/dist/esm/calcite-input-number.entry.js +16 -16
  372. package/dist/esm/calcite-input-text.entry.js +16 -16
  373. package/dist/esm/{calcite-input-time-picker-cc675f33.js → calcite-input-time-picker-c45e1964.js} +64 -64
  374. package/dist/esm/calcite-input-time-picker.entry.js +20 -20
  375. package/dist/esm/calcite-input-time-zone.entry.js +21 -21
  376. package/dist/esm/calcite-input_2.entry.js +16 -16
  377. package/dist/esm/calcite-label.entry.js +6 -6
  378. package/dist/esm/calcite-link.entry.js +6 -6
  379. package/dist/esm/calcite-list-item-group.entry.js +3 -3
  380. package/dist/esm/calcite-menu-item.entry.js +10 -10
  381. package/dist/esm/calcite-menu.entry.js +9 -9
  382. package/dist/esm/calcite-meter.entry.js +10 -10
  383. package/dist/esm/calcite-modal.entry.js +16 -16
  384. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  385. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  386. package/dist/esm/calcite-navigation.entry.js +6 -6
  387. package/dist/esm/calcite-notice.entry.js +15 -15
  388. package/dist/esm/calcite-option_2.entry.js +12 -12
  389. package/dist/esm/calcite-pagination.entry.js +12 -12
  390. package/dist/esm/calcite-pick-list-group.entry.js +10 -10
  391. package/dist/esm/calcite-pick-list-item.entry.js +15 -15
  392. package/dist/esm/calcite-pick-list.entry.js +13 -13
  393. package/dist/esm/calcite-radio-button-group.entry.js +8 -8
  394. package/dist/esm/calcite-radio-button.entry.js +11 -11
  395. package/dist/esm/calcite-rating.entry.js +14 -14
  396. package/dist/esm/calcite-scrim.entry.js +9 -9
  397. package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
  398. package/dist/esm/calcite-sheet.entry.js +10 -10
  399. package/dist/esm/calcite-shell-center-row.entry.js +23 -9
  400. package/dist/esm/calcite-shell-panel_14.entry.js +29 -29
  401. package/dist/esm/calcite-shell.entry.js +7 -7
  402. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  403. package/dist/esm/calcite-split-button.entry.js +4 -4
  404. package/dist/esm/calcite-stepper-item.entry.js +11 -11
  405. package/dist/esm/calcite-stepper.entry.js +10 -10
  406. package/dist/esm/calcite-switch.entry.js +11 -11
  407. package/dist/esm/calcite-table-cell_2.entry.js +13 -13
  408. package/dist/esm/calcite-table-row.entry.js +7 -7
  409. package/dist/esm/calcite-table.entry.js +10 -10
  410. package/dist/esm/calcite-text-area.entry.js +16 -16
  411. package/dist/esm/calcite-tile-group.entry.js +7 -7
  412. package/dist/esm/calcite-tile-select-group.entry.js +3 -3
  413. package/dist/esm/calcite-tile-select.entry.js +7 -7
  414. package/dist/esm/calcite-tile.entry.js +7 -7
  415. package/dist/esm/calcite-time-picker.entry.js +13 -13
  416. package/dist/esm/calcite-tip-group.entry.js +2 -2
  417. package/dist/esm/calcite-tip-manager.entry.js +12 -12
  418. package/dist/esm/calcite-tip.entry.js +13 -13
  419. package/dist/esm/calcite-tooltip.entry.js +10 -10
  420. package/dist/esm/calcite-tree_2.entry.js +10 -10
  421. package/dist/esm/{component-83541c88.js → component-09697fb8.js} +1 -1
  422. package/dist/esm/{conditionalSlot-8a0b08ef.js → conditionalSlot-720a3c33.js} +2 -2
  423. package/dist/esm/{config-16813c92.js → config-3af0e436.js} +1 -1
  424. package/dist/esm/crowdsource-reporter.entry.js +60 -3
  425. package/dist/esm/{cs-4687cf9f.js → cs-87414fd8.js} +20 -20
  426. package/dist/esm/{da-27cb521d.js → da-f7060594.js} +20 -20
  427. package/dist/esm/{date-4fc03f44.js → date-8f6c3f50.js} +2 -2
  428. package/dist/esm/{de-1fcb8b55.js → de-18aa2195.js} +20 -20
  429. package/dist/esm/{de-at-621e3161.js → de-at-00f0ce55.js} +20 -20
  430. package/dist/esm/{de-ch-dbe106ba.js → de-ch-2bf886c0.js} +20 -20
  431. package/dist/esm/{dom-75c641a7.js → dom-6f6759df.js} +3 -3
  432. package/dist/esm/{el-60cb7e8e.js → el-0c5df4ce.js} +20 -20
  433. package/dist/esm/{en-au-6b31eadf.js → en-au-947d067e.js} +20 -20
  434. package/dist/esm/{en-ca-c62e2c29.js → en-ca-d80eb647.js} +20 -20
  435. package/dist/esm/{en-gb-7b86a861.js → en-gb-78272f13.js} +20 -20
  436. package/dist/esm/{es-b048cf9a.js → es-6b8b399b.js} +20 -20
  437. package/dist/esm/{es-mx-a469d043.js → es-mx-4f12df51.js} +20 -20
  438. package/dist/esm/{et-09e59731.js → et-11aeba76.js} +20 -20
  439. package/dist/esm/{fi-98448a04.js → fi-c44d11d6.js} +20 -20
  440. package/dist/esm/{filter-c0066fe2.js → filter-848e0efa.js} +1 -1
  441. package/dist/esm/{floating-ui-93b345b1.js → floating-ui-d21020a0.js} +4 -4
  442. package/dist/esm/{focusTrapComponent-35b3348c.js → focusTrapComponent-1ddc67c5.js} +3 -3
  443. package/dist/esm/{form-d45062d8.js → form-e9b1ad9a.js} +2 -2
  444. package/dist/esm/{fr-3a6bc75f.js → fr-cac28d20.js} +20 -20
  445. package/dist/esm/{fr-ch-dd9aa577.js → fr-ch-a324bd02.js} +20 -20
  446. package/dist/esm/{guid-b0fb1de3.js → guid-45e997d8.js} +1 -1
  447. package/dist/esm/{he-510944f3.js → he-eab95e66.js} +20 -20
  448. package/dist/esm/{hi-b7f35ddc.js → hi-cefe2a7e.js} +20 -20
  449. package/dist/esm/{hr-91d6e89b.js → hr-f863024d.js} +20 -20
  450. package/dist/esm/{hu-ab576bec.js → hu-2921d1d5.js} +20 -20
  451. package/dist/esm/{id-5ebe99df.js → id-4e25c1e7.js} +20 -20
  452. package/dist/esm/{index-3aaf8d41.js → index-92bcd383.js} +2 -2
  453. package/dist/esm/{index-46fa2a72.js → index-c8258692.js} +3 -3
  454. package/dist/esm/{index-19dc829d.js → index-e86ce97a.js} +3 -3
  455. package/dist/esm/{input-e01adc49.js → input-461c96ef.js} +1 -1
  456. package/dist/esm/instant-apps-export.entry.js +18 -5
  457. package/dist/esm/instant-apps-language-switcher.entry.js +5 -6
  458. package/dist/esm/instant-apps-scoreboard.entry.js +13 -6
  459. package/dist/esm/instant-apps-time-filter.entry.js +7 -12
  460. package/dist/esm/{interactive-98ed6b6f.js → interactive-949b348f.js} +1 -1
  461. package/dist/esm/{it-62f24385.js → it-1f2ce2fc.js} +20 -20
  462. package/dist/esm/{it-ch-11bc01ef.js → it-ch-fa4f6a28.js} +20 -20
  463. package/dist/esm/{ja-4073b97b.js → ja-dd6ac9b5.js} +20 -20
  464. package/dist/esm/{key-e6b442de.js → key-2e7789c2.js} +1 -1
  465. package/dist/esm/{ko-c1f9c746.js → ko-3c269b4f.js} +20 -20
  466. package/dist/esm/{label-272c5973.js → label-1ef4763d.js} +3 -3
  467. package/dist/esm/{loadable-7cb2fc6f.js → loadable-421e634e.js} +2 -2
  468. package/dist/esm/loader.js +5 -5
  469. package/dist/esm/{locale-24516fec.js → locale-a75d14ff.js} +5 -5
  470. package/dist/esm/{logger-f75712ce.js → logger-5c7a2fec.js} +2 -2
  471. package/dist/esm/{lt-f293ef90.js → lt-8f5fd3eb.js} +20 -20
  472. package/dist/esm/{lv-cc60dc4f.js → lv-d1afc7ed.js} +20 -20
  473. package/dist/esm/{math-d7c8823c.js → math-abbf3537.js} +1 -1
  474. package/dist/esm/{mk-90d4457e.js → mk-794650fc.js} +20 -20
  475. package/dist/esm/{nb-3d8eb4cc.js → nb-800989aa.js} +20 -20
  476. package/dist/esm/{nl-a2e0732f.js → nl-634b9b85.js} +20 -20
  477. package/dist/esm/{observers-c83631e8.js → observers-2d4fa9e3.js} +2 -2
  478. package/dist/esm/{openCloseComponent-f642bffd.js → openCloseComponent-4621d4ae.js} +2 -2
  479. package/dist/esm/{pl-1e1abb9b.js → pl-45fb968c.js} +20 -20
  480. package/dist/esm/{pt-1bc85b37.js → pt-bd7887a6.js} +20 -20
  481. package/dist/esm/{pt-br-bd78f1f2.js → pt-br-d9181dce.js} +20 -20
  482. package/dist/esm/{region-a37e45f7.js → region-9343aba8.js} +1 -1
  483. package/dist/esm/{resources-c1a8d628.js → resources-2780a851.js} +1 -1
  484. package/dist/esm/{resources-14a1713f.js → resources-32f19aa5.js} +1 -1
  485. package/dist/esm/{resources-de1ba6bb.js → resources-3adf06cd.js} +1 -1
  486. package/dist/esm/{resources-be1618c8.js → resources-833bf39f.js} +1 -1
  487. package/dist/esm/{resources-aa7bb7b6.js → resources-912401b4.js} +1 -1
  488. package/dist/esm/{resources-8e2ed936.js → resources-ab131744.js} +1 -1
  489. package/dist/esm/{resources-35208c6c.js → resources-bc66182e.js} +1 -1
  490. package/dist/esm/{resources-bc1429eb.js → resources-d81723e9.js} +1 -1
  491. package/dist/esm/{resources-5956d3f9.js → resources-f6e948a0.js} +1 -1
  492. package/dist/esm/{resources-29590c8b.js → resources-fa50aa39.js} +1 -1
  493. package/dist/esm/{responsive-b2be423e.js → responsive-6cfebeae.js} +1 -1
  494. package/dist/esm/{ro-c1cb4571.js → ro-31fe0dcc.js} +20 -20
  495. package/dist/esm/{ru-deb7b95b.js → ru-e73bc075.js} +20 -20
  496. package/dist/esm/{shared-list-render-0d3e719c.js → shared-list-render-83bb7274.js} +7 -7
  497. package/dist/esm/{sk-e86a1a74.js → sk-e7e24146.js} +20 -20
  498. package/dist/esm/{sl-4f70ce5c.js → sl-ad96d047.js} +20 -20
  499. package/dist/esm/solutions-components.js +5 -5
  500. package/dist/esm/{sortableComponent-7f184466.js → sortableComponent-55f7a145.js} +1 -1
  501. package/dist/esm/{sr-bcde0bb0.js → sr-785166a3.js} +20 -20
  502. package/dist/esm/{sv-e585fbb5.js → sv-9f422817.js} +20 -20
  503. package/dist/esm/{t9n-9a5d28cf.js → t9n-23649a4a.js} +3 -3
  504. package/dist/esm/{th-f1746070.js → th-7e8b3dad.js} +20 -20
  505. package/dist/esm/{time-fbe17659.js → time-5ca488ba.js} +3 -3
  506. package/dist/esm/{time-zones-044d518b.js → time-zones-b8cfef3f.js} +1 -1
  507. package/dist/esm/{tr-065767bb.js → tr-1b1dd6db.js} +20 -20
  508. package/dist/esm/{uk-96e72322.js → uk-13d0afbf.js} +20 -20
  509. package/dist/esm/{utils-b5a6dbcd.js → utils-a564ca55.js} +5 -4
  510. package/dist/esm/{utils-dadbd166.js → utils-c1c0bd2c.js} +2 -2
  511. package/dist/esm/{vi-667fe4b6.js → vi-82ec876c.js} +20 -20
  512. package/dist/esm/{zh-cn-fbbbe429.js → zh-cn-c4181895.js} +20 -20
  513. package/dist/esm/{zh-hk-d11430a1.js → zh-hk-752cc263.js} +20 -20
  514. package/dist/esm/{zh-tw-4a1b522b.js → zh-tw-e653ba6c.js} +20 -20
  515. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
  516. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +6 -6
  517. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
  518. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
  519. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
  520. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
  521. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
  522. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
  523. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
  524. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
  525. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
  526. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
  527. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
  528. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
  529. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
  530. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
  531. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
  532. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +10 -19
  533. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
  534. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
  535. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  536. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  537. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
  538. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
  539. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  540. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
  541. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
  542. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  543. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
  544. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
  545. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
  546. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  547. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
  548. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
  549. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
  550. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
  551. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
  552. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
  553. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
  554. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
  555. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
  556. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
  557. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
  558. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
  559. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
  560. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
  561. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
  562. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  563. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
  564. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
  565. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
  566. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
  567. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
  568. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
  569. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
  570. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
  571. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
  572. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
  573. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
  574. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
  575. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
  576. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +7 -5
  577. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
  578. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
  579. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
  580. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +5 -6
  581. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
  582. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  583. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
  584. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
  585. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
  586. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
  587. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  588. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
  589. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
  590. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
  591. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
  592. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
  593. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
  594. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -5
  595. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  596. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
  597. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
  598. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
  599. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
  600. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
  601. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
  602. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
  603. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
  604. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
  605. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
  606. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
  607. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
  608. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
  609. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
  610. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
  611. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
  612. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
  613. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
  614. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
  615. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
  616. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  617. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
  618. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
  619. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
  620. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
  621. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
  622. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
  623. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
  624. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
  625. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
  626. package/dist/solutions-components/demos/crowdsource-reporter.html +267 -266
  627. package/dist/solutions-components/{p-6aab07ba.entry.js → p-087c3740.entry.js} +1 -1
  628. package/dist/solutions-components/{p-4f82eb55.js → p-08c18450.js} +1 -1
  629. package/dist/solutions-components/{p-ed844e16.entry.js → p-09d34b2b.entry.js} +3 -3
  630. package/dist/solutions-components/{p-d4f16e41.js → p-0af967af.js} +1 -1
  631. package/dist/solutions-components/{p-e01d27aa.entry.js → p-0f8241d2.entry.js} +1 -1
  632. package/dist/solutions-components/{p-d0f16cd3.entry.js → p-10a158fd.entry.js} +2 -2
  633. package/dist/solutions-components/{p-020143eb.entry.js → p-115af8e4.entry.js} +3 -3
  634. package/dist/solutions-components/{p-f898b163.js → p-12833b70.js} +1 -1
  635. package/dist/solutions-components/{p-91e05c99.js → p-13fd4eeb.js} +1 -1
  636. package/dist/solutions-components/{p-895e7b9c.js → p-177b4cbc.js} +5 -5
  637. package/dist/solutions-components/p-184b270d.entry.js +11 -0
  638. package/dist/solutions-components/{p-faf3343c.entry.js → p-191f30e1.entry.js} +2 -2
  639. package/dist/solutions-components/{p-5e406ad0.entry.js → p-19e89591.entry.js} +3 -3
  640. package/dist/solutions-components/{p-d3338131.entry.js → p-1afc5947.entry.js} +2 -2
  641. package/dist/solutions-components/{p-c97472e4.js → p-1b3684d7.js} +1 -1
  642. package/dist/solutions-components/{p-c9f94a25.js → p-1b59cd94.js} +1 -1
  643. package/dist/solutions-components/p-1e8af7ed.js +6 -0
  644. package/dist/solutions-components/{p-a584543f.js → p-1f65aed7.js} +1 -1
  645. package/dist/solutions-components/{p-2506309d.entry.js → p-1fafdc23.entry.js} +2 -2
  646. package/dist/solutions-components/{p-33d732d7.entry.js → p-20ed3f7f.entry.js} +2 -2
  647. package/dist/solutions-components/{p-fc243a76.entry.js → p-25f30972.entry.js} +2 -2
  648. package/dist/solutions-components/{p-621ad249.js → p-26ba0cc7.js} +2 -2
  649. package/dist/solutions-components/{p-47f85755.entry.js → p-2714ede8.entry.js} +4 -4
  650. package/dist/solutions-components/p-294cd25c.js +6 -0
  651. package/dist/solutions-components/p-2b9f9f7d.js +16 -0
  652. package/dist/solutions-components/{p-58338ff8.entry.js → p-2d9072d8.entry.js} +3 -3
  653. package/dist/solutions-components/{p-f966fadb.entry.js → p-2e0aea4e.entry.js} +3 -3
  654. package/dist/solutions-components/{p-f62b8031.js → p-2e42f34c.js} +1 -1
  655. package/dist/solutions-components/{p-6e93a997.entry.js → p-2f1ef41d.entry.js} +1 -1
  656. package/dist/solutions-components/p-368902f1.entry.js +6 -0
  657. package/dist/solutions-components/{p-60412359.js → p-39e21b70.js} +1 -1
  658. package/dist/solutions-components/{p-347f341e.js → p-3aee989b.js} +3 -3
  659. package/dist/solutions-components/{p-2154a0f9.entry.js → p-3af39767.entry.js} +1 -1
  660. package/dist/solutions-components/{p-91f0f556.entry.js → p-3ba388b6.entry.js} +3 -3
  661. package/dist/solutions-components/{p-16f52a67.js → p-3e87c19c.js} +1 -1
  662. package/dist/solutions-components/{p-efdd44e3.js → p-3f9ec755.js} +1 -1
  663. package/dist/solutions-components/{p-be9a6a87.entry.js → p-4416d650.entry.js} +3 -3
  664. package/dist/solutions-components/p-443be7fe.js +6 -0
  665. package/dist/solutions-components/{p-7b8d7eef.entry.js → p-49df6eb3.entry.js} +2 -2
  666. package/dist/solutions-components/{p-9e862c85.js → p-4a665563.js} +1 -1
  667. package/dist/solutions-components/{p-24ab8211.entry.js → p-4b15f4a4.entry.js} +2 -2
  668. package/dist/solutions-components/{p-097bf845.entry.js → p-4b47caf1.entry.js} +3 -3
  669. package/dist/solutions-components/{p-fae4708b.js → p-4bfecfe9.js} +1 -1
  670. package/dist/solutions-components/{p-3df0c310.entry.js → p-4d6e359e.entry.js} +2 -2
  671. package/dist/solutions-components/{p-da2fd30a.js → p-4e3a18b1.js} +1 -1
  672. package/dist/solutions-components/{p-39678a7e.js → p-4ff35ed4.js} +1 -1
  673. package/dist/solutions-components/{p-91371f97.js → p-51ab623a.js} +1 -1
  674. package/dist/solutions-components/{p-7ffa7eae.entry.js → p-545a48dc.entry.js} +3 -3
  675. package/dist/solutions-components/p-55bbfdbc.entry.js +6 -0
  676. package/dist/solutions-components/{p-876c3f5f.js → p-55d38454.js} +1 -1
  677. package/dist/solutions-components/{p-706cddd1.entry.js → p-5804e6e1.entry.js} +7 -7
  678. package/dist/solutions-components/{p-bb1de7a0.entry.js → p-58cff07f.entry.js} +3 -3
  679. package/dist/solutions-components/p-592ab45c.js +6 -0
  680. package/dist/solutions-components/p-5b5b78c0.js +6 -0
  681. package/dist/solutions-components/{p-72ab74b8.entry.js → p-614a66c4.entry.js} +3 -3
  682. package/dist/solutions-components/{p-c6dac8d2.js → p-6166d8b4.js} +5 -5
  683. package/dist/solutions-components/{p-9ff02b5e.js → p-61cc2efe.js} +1 -1
  684. package/dist/solutions-components/{p-96a983ab.entry.js → p-62c10928.entry.js} +1 -1
  685. package/dist/solutions-components/{p-3776809a.js → p-63a91fdb.js} +1 -1
  686. package/dist/solutions-components/p-63d334b2.entry.js +6 -0
  687. package/dist/solutions-components/{p-144b7a4d.js → p-677db47a.js} +1 -1
  688. package/dist/solutions-components/p-68375137.js +6 -0
  689. package/dist/solutions-components/{p-36b864ba.entry.js → p-6acd19c5.entry.js} +2 -2
  690. package/dist/solutions-components/{p-b3e498bd.js → p-6cad2a22.js} +1 -1
  691. package/dist/solutions-components/p-7059fc40.js +6 -0
  692. package/dist/solutions-components/{p-3cfc1e2e.js → p-70e78995.js} +1 -1
  693. package/dist/solutions-components/p-70eba636.entry.js +6 -0
  694. package/dist/solutions-components/{p-89334c32.js → p-71f31d39.js} +1 -1
  695. package/dist/solutions-components/{p-8d59545b.js → p-725a961a.js} +1 -1
  696. package/dist/solutions-components/{p-49fbb67d.js → p-74720d2b.js} +1 -1
  697. package/dist/solutions-components/{p-5230c9ff.entry.js → p-764ff506.entry.js} +2 -2
  698. package/dist/solutions-components/{p-d6902512.js → p-770a5a64.js} +1 -1
  699. package/dist/solutions-components/{p-15410144.js → p-77469834.js} +1 -1
  700. package/dist/solutions-components/{p-49ed272d.entry.js → p-77865541.entry.js} +2 -2
  701. package/dist/solutions-components/{p-0bfef9c6.entry.js → p-78df7603.entry.js} +3 -3
  702. package/dist/solutions-components/{p-efe845d9.js → p-78e09c03.js} +1 -1
  703. package/dist/solutions-components/{p-a9742ffc.entry.js → p-7a7951bd.entry.js} +3 -3
  704. package/dist/solutions-components/p-7cc8e95a.js +11 -0
  705. package/dist/solutions-components/{p-f746ec20.js → p-7d5d1b0a.js} +2 -2
  706. package/dist/solutions-components/{p-a02e2069.js → p-7eee9aa8.js} +1 -1
  707. package/dist/solutions-components/p-7f68e6a4.js +11 -0
  708. package/dist/solutions-components/{p-143f9e99.entry.js → p-7fb51464.entry.js} +3 -3
  709. package/dist/solutions-components/{p-8d0d5a69.js → p-80ff858b.js} +1 -1
  710. package/dist/solutions-components/p-8304ce4b.js +17 -0
  711. package/dist/solutions-components/{p-c0c6f4b2.js → p-85c068fd.js} +1 -1
  712. package/dist/solutions-components/{p-ff336351.js → p-85c3237c.js} +2 -2
  713. package/dist/solutions-components/{p-fb4f7ace.js → p-860099d5.js} +1 -1
  714. package/dist/solutions-components/{p-dac93fa8.js → p-86a5caf8.js} +1 -1
  715. package/dist/solutions-components/{p-b5ddeee9.js → p-86db882f.js} +1 -1
  716. package/dist/solutions-components/{p-e070ef82.entry.js → p-872986ce.entry.js} +3 -3
  717. package/dist/solutions-components/{p-f76d3cfe.js → p-8a2ccb1e.js} +1 -1
  718. package/dist/solutions-components/{p-471c6630.js → p-8cb9ecf6.js} +1 -1
  719. package/dist/solutions-components/{p-5949dd38.js → p-8d811472.js} +1 -1
  720. package/dist/solutions-components/{p-bb630f8c.entry.js → p-8dc9d5b6.entry.js} +1 -1
  721. package/dist/solutions-components/{p-40bfb158.entry.js → p-8ff43000.entry.js} +2 -2
  722. package/dist/solutions-components/{p-96027923.entry.js → p-91a83986.entry.js} +8 -8
  723. package/dist/solutions-components/{p-cd8e711f.entry.js → p-928f0b5e.entry.js} +1 -1
  724. package/dist/solutions-components/{p-c7f8b7f0.js → p-93d03bf0.js} +2 -2
  725. package/dist/solutions-components/p-94e51621.entry.js +6 -0
  726. package/dist/solutions-components/{p-b13aca6a.js → p-977c099e.js} +1 -1
  727. package/dist/solutions-components/{p-7b862835.js → p-997afdca.js} +1 -1
  728. package/dist/solutions-components/{p-89f86585.js → p-9c1a6360.js} +1 -1
  729. package/dist/solutions-components/{p-6adaac20.js → p-9c5d5171.js} +2 -2
  730. package/dist/solutions-components/{p-d25fc2c2.js → p-9ce8e34f.js} +2 -2
  731. package/dist/solutions-components/p-9d86dd68.js +6 -0
  732. package/dist/solutions-components/{p-7475b8b4.entry.js → p-9e8d7c1d.entry.js} +5 -5
  733. package/dist/solutions-components/p-9e996faa.js +6 -0
  734. package/dist/solutions-components/{p-fe58f3f0.entry.js → p-a1473254.entry.js} +2 -2
  735. package/dist/solutions-components/{p-1effd2f3.entry.js → p-a1ed15b8.entry.js} +3 -3
  736. package/dist/solutions-components/{p-1c9db4df.entry.js → p-a329f05c.entry.js} +1 -1
  737. package/dist/solutions-components/{p-af0e57e2.js → p-a3df6501.js} +1 -1
  738. package/dist/solutions-components/{p-08e9cb30.entry.js → p-a52fa87b.entry.js} +3 -3
  739. package/dist/solutions-components/{p-353312fc.entry.js → p-a5f6a4b9.entry.js} +6 -6
  740. package/dist/solutions-components/{p-181ac808.entry.js → p-a6790373.entry.js} +3 -3
  741. package/dist/solutions-components/{p-96385535.entry.js → p-a693aa25.entry.js} +5 -5
  742. package/dist/solutions-components/{p-f0c96a6a.js → p-a71250ea.js} +1 -1
  743. package/dist/solutions-components/{p-bf187297.js → p-a7d249d9.js} +1 -1
  744. package/dist/solutions-components/p-a7d4b1a4.js +6 -0
  745. package/dist/solutions-components/{p-f61fdfc6.entry.js → p-ac9c4111.entry.js} +2 -2
  746. package/dist/solutions-components/{p-3ec0ab00.entry.js → p-acc4d847.entry.js} +2 -2
  747. package/dist/solutions-components/{p-4a291f79.js → p-ae019e19.js} +1 -1
  748. package/dist/solutions-components/{p-e93184af.entry.js → p-ae5ea416.entry.js} +1 -1
  749. package/dist/solutions-components/{p-fa80bc7e.js → p-b138a65e.js} +2 -2
  750. package/dist/solutions-components/{p-b0b1c672.entry.js → p-b5a5da41.entry.js} +4 -4
  751. package/dist/solutions-components/{p-daff208e.js → p-b90978d2.js} +1 -1
  752. package/dist/solutions-components/p-bab47a85.entry.js +29 -0
  753. package/dist/solutions-components/{p-cf4273a0.js → p-bd35725f.js} +1 -1
  754. package/dist/solutions-components/{p-61aebbb5.js → p-bd7be7a7.js} +1 -1
  755. package/dist/solutions-components/{p-3517faab.entry.js → p-be6cd650.entry.js} +2 -2
  756. package/dist/solutions-components/{p-54a3d9b8.js → p-c0ceb17a.js} +1 -1
  757. package/dist/solutions-components/p-c2ceb29c.js +6 -0
  758. package/dist/solutions-components/p-c604728b.js +6 -0
  759. package/dist/solutions-components/{p-a922f993.entry.js → p-c63451e1.entry.js} +2 -2
  760. package/dist/solutions-components/{p-2cf41651.entry.js → p-c7f86f73.entry.js} +1 -1
  761. package/dist/solutions-components/{p-7d974838.js → p-c8ad7a15.js} +1 -1
  762. package/dist/solutions-components/{p-b10d9165.entry.js → p-c8e22575.entry.js} +6 -6
  763. package/dist/solutions-components/{p-685091db.js → p-c9422007.js} +1 -1
  764. package/dist/solutions-components/{p-d751e255.entry.js → p-c9715704.entry.js} +3 -3
  765. package/dist/solutions-components/p-cb8d90d1.js +11 -0
  766. package/dist/solutions-components/{p-5f63be31.entry.js → p-cc6f6e41.entry.js} +5 -5
  767. package/dist/solutions-components/{p-81681ba0.entry.js → p-cdc63710.entry.js} +2 -2
  768. package/dist/solutions-components/{p-3cadb18d.js → p-cdd08de8.js} +1 -1
  769. package/dist/solutions-components/{p-8a1a0f9b.entry.js → p-ce7b0b1a.entry.js} +3 -3
  770. package/dist/solutions-components/p-cf2947f6.entry.js +11 -0
  771. package/dist/solutions-components/p-d02fb95c.entry.js +17 -0
  772. package/dist/solutions-components/{p-8cdeed09.entry.js → p-d031cf50.entry.js} +3 -3
  773. package/dist/solutions-components/{p-3c775d00.js → p-d0ebd10d.js} +1 -1
  774. package/dist/solutions-components/{p-2ebd8a9b.entry.js → p-d154b5a1.entry.js} +2 -2
  775. package/dist/solutions-components/{p-2daeb1fe.js → p-d1a979b8.js} +1 -1
  776. package/dist/solutions-components/{p-b034e287.entry.js → p-d1b2484b.entry.js} +3 -3
  777. package/dist/solutions-components/{p-549cdc87.entry.js → p-d2c2a105.entry.js} +3 -3
  778. package/dist/solutions-components/{p-2a6ecaa9.entry.js → p-d390df76.entry.js} +2 -2
  779. package/dist/solutions-components/{p-296bd1c0.js → p-d3e1cc81.js} +1 -1
  780. package/dist/solutions-components/p-d4f7a87c.js +6 -0
  781. package/dist/solutions-components/{p-8d48a13f.js → p-d851b11e.js} +1 -1
  782. package/dist/solutions-components/{p-d75cf651.entry.js → p-d9d25da8.entry.js} +2 -2
  783. package/dist/solutions-components/{p-4253e9f1.js → p-d9e9fe80.js} +2 -2
  784. package/dist/solutions-components/p-d9f3778e.js +6 -0
  785. package/dist/solutions-components/{p-ec56afaa.js → p-daae2ae7.js} +1 -1
  786. package/dist/solutions-components/p-ddb37cba.entry.js +11 -0
  787. package/dist/solutions-components/{p-27bcce86.entry.js → p-df062602.entry.js} +3 -3
  788. package/dist/solutions-components/{p-e799935e.js → p-e2fd2e29.js} +1 -1
  789. package/dist/solutions-components/{p-5d8592e0.js → p-e3111b70.js} +1 -1
  790. package/dist/solutions-components/{p-745efeab.js → p-e37e117f.js} +1 -1
  791. package/dist/solutions-components/{p-b90ed430.entry.js → p-e4be63b6.entry.js} +2 -2
  792. package/dist/solutions-components/p-e4e7add2.js +11 -0
  793. package/dist/solutions-components/{p-44d04914.entry.js → p-e93a531c.entry.js} +2 -2
  794. package/dist/solutions-components/p-e9a0d2f3.entry.js +6 -0
  795. package/dist/solutions-components/{p-233f219c.js → p-ec51378a.js} +1 -1
  796. package/dist/solutions-components/{p-54e5a55d.js → p-ee3c41d6.js} +1 -1
  797. package/dist/solutions-components/{p-1862084a.entry.js → p-ee487e75.entry.js} +3 -3
  798. package/dist/solutions-components/{p-7d542581.js → p-eed08718.js} +1 -1
  799. package/dist/solutions-components/{p-72522a67.js → p-ef773a13.js} +1 -1
  800. package/dist/solutions-components/p-f09744aa.entry.js +6 -0
  801. package/dist/solutions-components/{p-e7acd771.entry.js → p-f3119757.entry.js} +2 -2
  802. package/dist/solutions-components/{p-67e7f047.entry.js → p-f5789e08.entry.js} +8 -8
  803. package/dist/solutions-components/{p-1fc9919b.entry.js → p-f6cc1cf8.entry.js} +5 -5
  804. package/dist/solutions-components/{p-7fdb374f.js → p-f845da58.js} +1 -1
  805. package/dist/solutions-components/{p-8f556cfc.entry.js → p-fbf63d14.entry.js} +1 -1
  806. package/dist/solutions-components/{p-13d2e3cb.js → p-fc7c88c8.js} +1 -1
  807. package/dist/solutions-components/{p-27a4a537.js → p-fd019d15.js} +2 -2
  808. package/dist/solutions-components/{p-ea822f6e.js → p-fd40d066.js} +1 -1
  809. package/dist/solutions-components/{p-4bb08a47.entry.js → p-febf9f75.entry.js} +2 -2
  810. package/dist/solutions-components/solutions-components.esm.js +1 -1
  811. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +21 -0
  812. package/dist/types/components.d.ts +4 -0
  813. package/package.json +12 -12
  814. package/dist/solutions-components/p-017f63c5.js +0 -6
  815. package/dist/solutions-components/p-0374291c.js +0 -6
  816. package/dist/solutions-components/p-086f8bbb.js +0 -6
  817. package/dist/solutions-components/p-1726f46c.js +0 -6
  818. package/dist/solutions-components/p-2291bf3f.entry.js +0 -6
  819. package/dist/solutions-components/p-2bb1b8a8.entry.js +0 -6
  820. package/dist/solutions-components/p-319f79c2.js +0 -6
  821. package/dist/solutions-components/p-347fa724.js +0 -6
  822. package/dist/solutions-components/p-45ab1117.entry.js +0 -11
  823. package/dist/solutions-components/p-5d2cd0a4.js +0 -11
  824. package/dist/solutions-components/p-5e25a0b8.js +0 -11
  825. package/dist/solutions-components/p-5e694bcc.entry.js +0 -29
  826. package/dist/solutions-components/p-5f6d9950.js +0 -6
  827. package/dist/solutions-components/p-6e5ea1cb.entry.js +0 -6
  828. package/dist/solutions-components/p-713949f2.js +0 -6
  829. package/dist/solutions-components/p-7cc351f6.js +0 -6
  830. package/dist/solutions-components/p-866cc732.js +0 -6
  831. package/dist/solutions-components/p-8ac08cc3.entry.js +0 -17
  832. package/dist/solutions-components/p-8e0a95ff.js +0 -16
  833. package/dist/solutions-components/p-904a670f.js +0 -6
  834. package/dist/solutions-components/p-93b87dd4.entry.js +0 -11
  835. package/dist/solutions-components/p-986dd5b2.js +0 -17
  836. package/dist/solutions-components/p-9f98f213.js +0 -6
  837. package/dist/solutions-components/p-ad9d1221.js +0 -11
  838. package/dist/solutions-components/p-b658f264.js +0 -6
  839. package/dist/solutions-components/p-c64d61d9.entry.js +0 -6
  840. package/dist/solutions-components/p-cb27611e.entry.js +0 -6
  841. package/dist/solutions-components/p-d4e07230.entry.js +0 -11
  842. package/dist/solutions-components/p-efaa77a0.js +0 -11
  843. package/dist/solutions-components/p-f4880179.entry.js +0 -6
  844. package/dist/solutions-components/p-fca48d30.entry.js +0 -6
  845. package/dist/solutions-components/p-fdbb52ca.js +0 -6
  846. /package/dist/cjs/{index-c44fa2e4.js → index-04255c05.js} +0 -0
  847. /package/dist/cjs/{index-p4VH55K1-8a6a97cb.js → index-p4VH55K1-3ec8b213.js} +0 -0
  848. /package/dist/esm/{index-8fda18f5.js → index-87ec7c0a.js} +0 -0
  849. /package/dist/esm/{index-p4VH55K1-881b80d8.js → index-p4VH55K1-c28a3519.js} +0 -0
  850. /package/dist/solutions-components/{p-794d1b98.js → p-1a3181c3.js} +0 -0
  851. /package/dist/solutions-components/{p-065e678f.js → p-6ae916a3.js} +0 -0
  852. /package/dist/solutions-components/{p-33ff2b9e.js → p-fc17754b.js} +0 -0
@@ -3,15 +3,15 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,H as s,g as a,F as o}from"./p-4e6eb06e.js";import{s as n,t as c,o as l,z as r,g as h}from"./p-621ad249.js";import{g as d}from"./p-4a291f79.js";import{s as p,a as f,c as b}from"./p-ad9d1221.js";import{N as m,c as u,d as g}from"./p-895e7b9c.js";import{o as y}from"./p-c7f8b7f0.js";import{c as v,s as w,d as k,u as x}from"./p-efaa77a0.js";import{K as _}from"./p-876c3f5f.js";import{u as C,I as z}from"./p-d6902512.js";import{S as E}from"./p-3776809a.js";import{l as W,g as H}from"./p-f4aadb3b.js";import{a as F,g as j}from"./p-d572627c.js";import{P as L}from"./p-cd482a33.js";import"./p-7d542581.js";import"./p-91371f97.js";import"./p-4f82eb55.js";import"./p-233f219c.js";import"./p-ff336351.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-ff9e28d1.js";import"./p-7530a02f.js";import"./p-d0d020a5.js";import"./p-9bb44f57.js";
6
+ import{r as t,c as e,h as i,H as s,g as a,F as o}from"./p-4e6eb06e.js";import{s as n,t as c,o as l,z as r,g as h}from"./p-26ba0cc7.js";import{g as d}from"./p-ae019e19.js";import{s as p,a as b,c as f}from"./p-7f68e6a4.js";import{N as m,c as u,d as g}from"./p-177b4cbc.js";import{o as y}from"./p-93d03bf0.js";import{c as v,s as w,d as k,u as x}from"./p-cb8d90d1.js";import{K as _}from"./p-55d38454.js";import{u as C,I as z}from"./p-770a5a64.js";import{S as E}from"./p-63a91fdb.js";import{l as W,g as H}from"./p-f4aadb3b.js";import{a as F,g as j}from"./p-d572627c.js";import{P as L}from"./p-cd482a33.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-08c18450.js";import"./p-ec51378a.js";import"./p-85c3237c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-ff9e28d1.js";import"./p-7530a02f.js";import"./p-d0d020a5.js";import"./p-9bb44f57.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.0
11
- */const S={slow:14e3,medium:1e4,fast:6e3},D="container",M="container--active",A="container--embedded",I="queue-count",P="queue-count--active",B="focused",T=new class{constructor(){this.registeredElements=[],this.queueTimeoutId=null}registerElement(t){const{registeredElements:e}=this;if(!e.includes(t)){switch(t.queue){case"immediate":e.unshift(t);break;case"next":e.splice(1,0,t);break;case"last":e.push(t)}this.updateAlerts()}}unregisterElement(t){const{registeredElements:e}=this,i=e.indexOf(t);-1!==i&&e.splice(i,1),t.active=!1,this.updateAlerts()}updateAlerts(){window.clearTimeout(this.queueTimeoutId),this.queueTimeoutId=null,this.registeredElements.forEach(((t,e)=>{t.openAlertCount=this.registeredElements.length,0===e?this.queueTimeoutId=window.setTimeout((()=>t.active=!0),300):t.active=!1}))}},V=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.handleKeyBoardFocus=()=>{this.isFocused=!0,this.handleFocus()},this.handleKeyBoardBlur=()=>{this.isFocused=!1,this.isHovered||this.handleBlur()},this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.open=!1,this.clearAutoCloseTimeout()},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=n(t)},this.handleMouseOver=()=>{this.isHovered=!0,this.handleFocus()},this.handleMouseLeave=()=>{this.isHovered=!1,this.isFocused||this.handleBlur()},this.handleFocus=()=>{this.clearAutoCloseTimeout(),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleBlur=()=>{const t=Date.now()-this.lastMouseOverBegin,e=S[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)},this.active=!1,this.openAlertCount=0,this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.embedded=!1,this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.queue="last",this.defaultMessages=void 0,this.effectiveLocale="",this.numberStringFormatter=new m,this.hasEndActions=!1,this.isFocused=!1}handleActiveChange(){this.clearAutoCloseTimeout(),this.active&&this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),S[this.autoCloseDuration]))}openHandler(){y(this),this.open?T.registerElement(this.el):T.unregisterElement(this.el)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(this.clearAutoCloseTimeout(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),S[this.autoCloseDuration]))}onMessagesChange(){}handleQueueChange(){this.open&&(T.unregisterElement(this.el),T.registerElement(this.el))}connectedCallback(){u(this),v(this),this.open&&T.registerElement(this.el),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}async componentWillLoad(){p(this),await w(this),this.open&&y(this)}componentDidLoad(){f(this)}disconnectedCallback(){T.unregisterElement(this.el),this.clearAutoCloseTimeout(),g(this),k(this),this.embedded=!1}render(){const{open:t,autoClose:e,label:a,placement:o,active:n,openAlertCount:l}=this,h=e?"alert":"alertdialog",d=!t,p=r(_,this.icon,this.kind),f=l>1;return i(s,{key:"cecedeaa678e4f6e22fd2aabc4d29bc8589430f6","aria-hidden":c(d),"aria-label":a,"calcite-hydrated-hidden":d,role:h},i("div",{key:"ca85d5f5ec313f3a305e01dcc8cbbad9647dd516",class:{[D]:!0,[M]:n,[`${D}--${o}`]:!0,[A]:this.embedded,[B]:this.isFocused},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose?this.handleMouseLeave:null,ref:this.setTransitionEl},p&&this.renderIcon(p),i("div",{key:"1f72f255c3e0630eed63bb62d3d50f4a2ba6a528",class:"text-container",onFocusin:this.autoClose&&this.autoCloseTimeoutId?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null},i("slot",{key:"aade607960adea0a10f5eac85b119444085c9cf9",name:"title"}),i("slot",{key:"1f47158cfbf8c0626cd49246142fb750311b1d4a",name:"message"}),i("slot",{key:"5ba06e024b517f23168311828cc8ce41c21926a6",name:"link"})),this.renderActionsEnd(),f?this.renderQueueCount():null,this.renderCloseButton(),t&&n&&e?i("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return i("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,onFocusin:this.autoClose?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:d(this.scale)}))}renderQueueCount(){const{openAlertCount:t}=this,e=this.numberStringFormatter.numberFormatter.format(t>2?t-1:1);return i("div",{class:{[I]:!0,[P]:t>1},key:"queue-count"},i("calcite-chip",{scale:this.scale,value:e},e))}renderActionsEnd(){return i("div",{class:"actions-end"},i("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return i("div",{class:"icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:d(this.scale)}))}async setFocus(){await b(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){x(this,this.effectiveLocale),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}numberingSystemChange(){this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}clearAutoCloseTimeout(){window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=null}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{active:["handleActiveChange"],open:["openHandler"],autoCloseDuration:["updateDuration"],messageOverrides:["onMessagesChange"],queue:["handleQueueChange"],effectiveLocale:["effectiveLocaleChange"],numberingSystem:["numberingSystemChange"]}}};V.style=':host{--calcite-internal-alert-edge-distance:2rem;display:block;inline-size:var(--calcite-alert-width)}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-alert-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));background-color:var(--calcite-alert-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);max-inline-size:calc(100% - var(--calcite-internal-alert-edge-distance) * 2);transition:opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-internal-alert-edge-distance), 0);inset-block-end:var(--calcite-internal-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-internal-alert-edge-distance)), 0);inset-block-start:var(--calcite-internal-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-internal-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-internal-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;border-start-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-end-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));outline-color:transparent}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress::after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-color-transparent-tint);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-internal-alert-min-height:3.5rem;inline-size:var(--calcite-alert-width, 40em)}:host([scale=s]) .close{padding:0.75rem}:host([scale=s]) .icon{padding-inline-start:0.75rem}:host([scale=s]) .text-container{padding-block:0.5rem;padding-inline:0.75rem 0.5rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-internal-alert-min-height:4.1875rem;inline-size:var(--calcite-alert-width, 50em)}:host([scale=m]) .close{padding:1rem}:host([scale=m]) .icon{padding-inline-start:1rem}:host([scale=m]) .text-container{padding-block:0.75rem;padding-inline:1rem 0.75rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-internal-alert-min-height:5.625rem;inline-size:var(--calcite-alert-width, 60em)}:host([scale=l]) .close{padding:1.25rem}:host([scale=l]) .icon{padding-inline-start:1.25rem}:host([scale=l]) .text-container{padding-block:1rem;padding-inline:1.25rem 1rem}:host([open]) .container--active{border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container--active[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-internal-alert-edge-distance)), inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0, var(--calcite-internal-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);margin-inline-end:0.5rem;color:var(--calcite-color-text-2)}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after,:host(:focus[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after,:host(:focus[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after,:host(:focus[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}.container.focused .dismiss-progress::after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--embedded{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';
10
+ * v2.13.2
11
+ */const S={slow:14e3,medium:1e4,fast:6e3},D="container",M="container--active",A="container--embedded",I="queue-count",P="queue-count--active",B="focused",T=new class{constructor(){this.registeredElements=[],this.queueTimeoutId=null}registerElement(t){const{registeredElements:e}=this;if(!e.includes(t)){switch(t.queue){case"immediate":e.unshift(t);break;case"next":e.splice(1,0,t);break;case"last":e.push(t)}this.updateAlerts()}}unregisterElement(t){const{registeredElements:e}=this,i=e.indexOf(t);-1!==i&&e.splice(i,1),t.active=!1,this.updateAlerts()}updateAlerts(){window.clearTimeout(this.queueTimeoutId),this.queueTimeoutId=null,this.registeredElements.forEach(((t,e)=>{t.openAlertCount=this.registeredElements.length,0===e?this.queueTimeoutId=window.setTimeout((()=>t.active=!0),300):t.active=!1}))}},V=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.handleKeyBoardFocus=()=>{this.isFocused=!0,this.handleFocus()},this.handleKeyBoardBlur=()=>{this.isFocused=!1,this.isHovered||this.handleBlur()},this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.open=!1,this.clearAutoCloseTimeout()},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=n(t)},this.handleMouseOver=()=>{this.isHovered=!0,this.handleFocus()},this.handleMouseLeave=()=>{this.isHovered=!1,this.isFocused||this.handleBlur()},this.handleFocus=()=>{this.clearAutoCloseTimeout(),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleBlur=()=>{const t=Date.now()-this.lastMouseOverBegin,e=S[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)},this.active=!1,this.openAlertCount=0,this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.embedded=!1,this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.queue="last",this.defaultMessages=void 0,this.effectiveLocale="",this.numberStringFormatter=new m,this.hasEndActions=!1,this.isFocused=!1}handleActiveChange(){this.clearAutoCloseTimeout(),this.active&&this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),S[this.autoCloseDuration]))}openHandler(){y(this),this.open?T.registerElement(this.el):T.unregisterElement(this.el)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(this.clearAutoCloseTimeout(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),S[this.autoCloseDuration]))}onMessagesChange(){}handleQueueChange(){this.open&&(T.unregisterElement(this.el),T.registerElement(this.el))}connectedCallback(){u(this),v(this),this.open&&T.registerElement(this.el),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}async componentWillLoad(){p(this),await w(this),this.open&&y(this)}componentDidLoad(){b(this)}disconnectedCallback(){T.unregisterElement(this.el),this.clearAutoCloseTimeout(),g(this),k(this),this.embedded=!1}render(){const{open:t,autoClose:e,label:a,placement:o,active:n,openAlertCount:l}=this,h=e?"alert":"alertdialog",d=!t,p=r(_,this.icon,this.kind),b=l>1;return i(s,{key:"cecedeaa678e4f6e22fd2aabc4d29bc8589430f6","aria-hidden":c(d),"aria-label":a,"calcite-hydrated-hidden":d,role:h},i("div",{key:"ca85d5f5ec313f3a305e01dcc8cbbad9647dd516",class:{[D]:!0,[M]:n,[`${D}--${o}`]:!0,[A]:this.embedded,[B]:this.isFocused},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose?this.handleMouseLeave:null,ref:this.setTransitionEl},p&&this.renderIcon(p),i("div",{key:"1f72f255c3e0630eed63bb62d3d50f4a2ba6a528",class:"text-container",onFocusin:this.autoClose&&this.autoCloseTimeoutId?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null},i("slot",{key:"aade607960adea0a10f5eac85b119444085c9cf9",name:"title"}),i("slot",{key:"1f47158cfbf8c0626cd49246142fb750311b1d4a",name:"message"}),i("slot",{key:"5ba06e024b517f23168311828cc8ce41c21926a6",name:"link"})),this.renderActionsEnd(),b?this.renderQueueCount():null,this.renderCloseButton(),t&&n&&e?i("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return i("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,onFocusin:this.autoClose?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:d(this.scale)}))}renderQueueCount(){const{openAlertCount:t}=this,e=this.numberStringFormatter.numberFormatter.format(t>2?t-1:1);return i("div",{class:{[I]:!0,[P]:t>1},key:"queue-count"},i("calcite-chip",{scale:this.scale,value:e},e))}renderActionsEnd(){return i("div",{class:"actions-end"},i("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return i("div",{class:"icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:d(this.scale)}))}async setFocus(){await f(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){x(this,this.effectiveLocale),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}numberingSystemChange(){this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}clearAutoCloseTimeout(){window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=null}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{active:["handleActiveChange"],open:["openHandler"],autoCloseDuration:["updateDuration"],messageOverrides:["onMessagesChange"],queue:["handleQueueChange"],effectiveLocale:["effectiveLocaleChange"],numberingSystem:["numberingSystemChange"]}}};V.style=':host{--calcite-internal-alert-edge-distance:2rem;display:block;inline-size:var(--calcite-alert-width)}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-alert-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));background-color:var(--calcite-alert-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);max-inline-size:calc(100% - var(--calcite-internal-alert-edge-distance) * 2);transition:opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-internal-alert-edge-distance), 0);inset-block-end:var(--calcite-internal-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-internal-alert-edge-distance)), 0);inset-block-start:var(--calcite-internal-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-internal-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-internal-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;border-start-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-end-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));outline-color:transparent}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress::after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-color-transparent-tint);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-internal-alert-min-height:3.5rem;inline-size:var(--calcite-alert-width, 40em)}:host([scale=s]) .close{padding:0.75rem}:host([scale=s]) .icon{padding-inline-start:0.75rem}:host([scale=s]) .text-container{padding-block:0.5rem;padding-inline:0.75rem 0.5rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-internal-alert-min-height:4.1875rem;inline-size:var(--calcite-alert-width, 50em)}:host([scale=m]) .close{padding:1rem}:host([scale=m]) .icon{padding-inline-start:1rem}:host([scale=m]) .text-container{padding-block:0.75rem;padding-inline:1rem 0.75rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-internal-alert-min-height:5.625rem;inline-size:var(--calcite-alert-width, 60em)}:host([scale=l]) .close{padding:1.25rem}:host([scale=l]) .icon{padding-inline-start:1.25rem}:host([scale=l]) .text-container{padding-block:1rem;padding-inline:1.25rem 1rem}:host([open]) .container--active{border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container--active[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-internal-alert-edge-distance)), inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0, var(--calcite-internal-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);margin-inline-end:0.5rem;color:var(--calcite-color-text-2)}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after,:host(:focus[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after,:host(:focus[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after,:host(:focus[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}.container.focused .dismiss-progress::after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--embedded{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';
12
12
  /*!
13
13
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
14
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.13.0
15
+ * v2.13.2
16
16
  */
17
- const O=class{constructor(i){t(this,i),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=e(this,"calciteFlowItemToggle",6),this.handleInternalPanelScroll=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.calciteFlowItemScroll.emit())},this.handleInternalPanelClose=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())},this.handleInternalPanelToggle=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.collapsed=t.target.collapsed,this.calciteFlowItemToggle.emit())},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.beforeClose=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.scale="m",this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){u(this),v(this)}async componentWillLoad(){await w(this),p(this)}componentDidRender(){C(this)}disconnectedCallback(){g(this),k(this)}componentDidLoad(){f(this)}effectiveLocaleChange(){x(this,this.effectiveLocale)}async setFocus(){await b(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===h(t),{showBackButton:s,backButtonClick:a,messages:o}=this,n=o.back;return s?i("calcite-action",{"aria-label":n,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:a,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:n,title:n}):null}render(){const{collapsed:t,collapseDirection:e,collapsible:a,closable:o,closed:n,description:c,disabled:l,heading:r,headingLevel:h,loading:d,menuOpen:p,messages:f,overlayPositioning:b,beforeClose:m}=this;return i(s,{key:"2e7872bb2687db0b67ddbf375f8ec0beaabbda36"},i(z,{key:"a9418954405a2cec2092bae3be5d77f02306e3c9",disabled:l},i("calcite-panel",{key:"d563c751421bf2d66c03286deaa613e09f585546",beforeClose:m,closable:o,closed:n,collapseDirection:e,collapsed:t,collapsible:a,description:c,disabled:l,heading:r,headingLevel:h,loading:d,menuOpen:p,messageOverrides:f,onCalcitePanelClose:this.handleInternalPanelClose,onCalcitePanelScroll:this.handleInternalPanelScroll,onCalcitePanelToggle:this.handleInternalPanelToggle,overlayPositioning:b,ref:this.setContainerRef,scale:this.scale},this.renderBackButton(),i("slot",{key:"c506ec8bb4debbd6a9da6c7941878de49776f614",name:"action-bar",slot:E.actionBar}),i("slot",{key:"e76e55e654ff878acff734bdf387402a9e262159",name:"alerts",slot:E.alerts}),i("slot",{key:"f7ab8839d7b101e31087130ebf3e36af1ec7da24",name:"header-actions-start",slot:E.headerActionsStart}),i("slot",{key:"2932c4c15b168732356b8e55fcc3064f5b3f4cf5",name:"header-actions-end",slot:E.headerActionsEnd}),i("slot",{key:"1ef8a9050683022733695445092f8c626487d87b",name:"header-content",slot:E.headerContent}),i("slot",{key:"24c0ab570a601a6c0edfb0c820e580fd24b158ce",name:"header-menu-actions",slot:E.headerMenuActions}),i("slot",{key:"ec55bbe7ba939a6efb35225850c37a1aadb97275",name:"fab",slot:E.fab}),i("slot",{key:"aa0bfec47656ef9f7f575cd933897a7909e5badc",name:"content-top",slot:E.contentTop}),i("slot",{key:"e23532d080e2df529c2aeb6af043c6efe7a0ab6d",name:"content-bottom",slot:E.contentBottom}),i("slot",{key:"db6ffc0d9300c77067a4c88ab277de685c7713af",name:"footer-start",slot:E.footerStart}),i("slot",{key:"5f249356da9292f34c4036d0d0741f048fe999e9",name:"footer",slot:E.footer}),i("slot",{key:"7476137bacc0f3be5c97682c5027f74d73254765",name:"footer-end",slot:E.footerEnd}),i("slot",{key:"58f60a46c42a05abe9b100a57d478d991e4f25bc",name:"footer-actions",slot:E.footerActions}),i("slot",{key:"926a8d94b76b6fcdef6dfd219ba8180c44f81c35"}))))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};O.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-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-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";const R=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.drawComplete=e(this,"drawComplete",7),this.editingAttachment=e(this,"editingAttachment",7),this.progressStatus=e(this,"progressStatus",7),this.modeChanged=e(this,"modeChanged",7),this.mapView=void 0,this.selectedLayerId=void 0,this.customizeSubmit=!1,this.locale=void 0,this.searchConfiguration=void 0,this.isMobile=void 0,this.floorLevel=void 0,this.formElements=void 0,this.enableSearch=!1,this.showGuidingMsg=!0,this.showGuidingMsgWhileDrawing=!0,this._editorLoading=!1,this._currentPage="templatePicker",this._translations=void 0}get el(){return a(this)}Editor;ExpressionInfo;FieldElement;FormTemplate;_editor;FeatureLayer;MapView;_updatedMapView;Search;_search;reactiveUtils;_addingAttachment;_container;_mapViewContainer;_isSubmitBtnClicked=!1;_selectedLayer;_searchDiv;_calciteNotice;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}componentDidRender(){this.isMobile&&(this._mapViewContainer.style.top=`${this._calciteNotice.offsetHeight+this._searchDiv.offsetHeight+80}px`)}disconnectedCallback(){this._editor&&this._editor.destroy()}render(){const t="drawing"===this._currentPage?"":"display-none",e=this._editorLoading?"":"display-none",s=this._editorLoading?"display-none":"",a=this.isMobile?"show-map":"display-none";let n=this._translations.chooseCategoryMsg;return"drawing"===this._currentPage?n=this._translations.provideLocationMsg:"featureForm"===this._currentPage&&(n=this._translations.provideDetailsMsg),i(o,{key:"788b2ebb85b603452d4b4de05711510f7480c895"},this.showGuidingMsg&&(this.showGuidingMsgWhileDrawing||"drawing"!==this._currentPage)&&i("calcite-notice",{key:"cf41e701f5a7605531fa6351acf13ea20e219f7a",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0,ref:t=>this._calciteNotice=t},i("div",{key:"1bb493a8e5a962c8a8c75ac37156edbf866c3916",slot:"message"},n)),i("calcite-loader",{key:"5d2e9a465cb7c6dbde8d941497fda87b4fc7c258",class:e,label:"",scale:"s"}),i("div",{key:"23b8651f4040443ba731173d1818b515b718b754",class:s,id:"feature-form"}),this.enableSearch&&i("div",{key:"7f628d09111295d46fbf7b9605999c2ef88c258d",class:`search-widget ${t} ${s}`,id:"search-widget-ref",ref:t=>this._searchDiv=t}),i("div",{key:"3def9aaab0a2f03076a6c4c645cf5a080bbb9e75",class:`${a}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,e,i,s,a,o,n]=await W(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=e,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=o,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer,zoom:this.mapView.zoom}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none");const e=await F(this._updatedMapView);this._selectedLayer=await j(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||e.forEach((async e=>{t.push({layer:e,enabled:"feature"===e?.type&&e?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{snappingControls:!1,createFeaturesSection:!0,editFeaturesSection:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(.5),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),setTimeout((()=>{this._setFloorLevel(this.floorLevel)}),50),this._currentPage="featureForm",this.progressStatus.emit(1),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const o=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&"disabled"===this._editor.viewModel.featureFormViewModel.state&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))}));this._editor.viewModel.addHandles(o)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,e)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const i=this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(.75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>e(t)))}),700)})),1===i.length&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);const s=i.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&e(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let e=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(e=t.results[0].results[0]?.feature.geometry)}));const i=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&e&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",e),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(i)}_getSearchConfig(t,e){const i=t.sources;return i?.length>0?(t.includeDefaultSources=!1,i.forEach((t=>{if(t.hasOwnProperty("layer")){const i=t,s=i.layer?.id,a=s?e.map.findLayerById(s):null,o=i?.layer?.url;a?i.layer=a:o&&(i.layer=new this.FeatureLayer(o))}})),i?.forEach((t=>{if(t.hasOwnProperty("locator")){const e=t;"ArcGIS World Geocoding Service"===e?.name&&(e.outFields=e.outFields||["Addr_type","Match_addr","StAddr","City"],e.singleLineFieldName="SingleLine"),e.url=e.url,delete e.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const e=this._selectedLayer;if(e?.floorInfo?.floorField){const i=e.fields.find((t=>t.name===e.floorInfo.floorField));if(i&&!e?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(i.name,t),i.editable=!1;else if(e.formTemplate&&this.formElements){const i=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:e.floorInfo.floorField,editableExpression:"false",fieldName:e.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:i.name});this._updatedMapView.map.editableLayers.forEach((t=>{const e=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const o=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[i].concat(e)});t.formTemplate=o}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const e=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");e?.querySelector("header")?.setAttribute("style","display: none"),e?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((e=>setTimeout(e,t)))}async _getTranslations(){const t=await H(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};R.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";const q=class{constructor(i){t(this,i),this.editsComplete=e(this,"editsComplete",7),this.deleteDialog=void 0,this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this.locale=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return a(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return i(s,{key:"1816da3d5cd7903b4e699dffa4ac4836dca722bb"},"button"===this.buttonType?i("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):i("calcite-action",{appearance:"solid",compact:!0,disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},i("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage(),i("calcite-tooltip",{key:"26fc4d4b4ea02b7a6c5e3f87abe2c5b8f96a3654",placement:"bottom","reference-element":"button"===this.buttonType?"solutions-delete":this.icon},i("span",{key:"c2f7b101bb3a99274fe7f364ad29365c212d856e"},this._translations.delete)))}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:i("delete-dialog",{id:"solution-delete-dialog",ids:this.ids,layer:this.layer,locale:this.locale,onDeleteDialogClose:()=>this._confirmDelete=!1,open:this._confirmDelete})}async _getTranslations(){const t=await H(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"],locale:["localeWatchHandler"]}}};q.style=":host{display:block}.delete-modal{position:fixed}";const U=class{constructor(i){t(this,i),this.closeEdit=e(this,"closeEdit",7),this.editsComplete=e(this,"editsComplete",7),this.refreshGraphics=e(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.graphics=void 0,this.locale=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}get el(){return a(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{this.editsComplete.emit()})))}render(){const t=this._editorLoading?"display-none":"position-absolute",e=this._editorLoading?"":"display-none";return i(s,{key:"15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7"},i("div",{key:"bbaa7dbc405259b64dfceca89e45abf6372c76c3",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:i("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},i("div",{slot:"message"},this._translations.enableEditing)),i("div",{key:"eb8b08fa0b08cf93581fb8e76d59bd8b5446770f",class:"position-absolute"},i("div",{key:"03e525373c09fbcd4dad213738d97b99f1549975",class:t,id:"feature-form",ref:t=>this._editContainer=t}),i("calcite-loader",{key:"1cc46d8f6499a90736e05c2eed9bff71aff35d12",class:e,label:"",scale:"s"}))))}async _initModules(){const[t,e]=await W(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=e}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),e=(await F(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:e,visibleElements:{snappingControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await H(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],open:["openWatchHandler"]}}};U.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const $=class{constructor(i){t(this,i),this.popupClosed=e(this,"popupClosed",7),this.selectionChanged=e(this,"selectionChanged",7),this.enableEditGeometry=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.locale=void 0,this.paginationEnabled=!0,this.position="absolute",this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0}get el(){return a(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;async graphicsWatchHandler(){await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async localeWatchHandler(){if(this.el.lang=this.locale,await this._getTranslations(),this._features){const t=[...this.graphics];this.graphics=[],this.graphics=t}}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new L}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",e=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",o=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",n=this._features?.features?.length<2,c=this.isMobile?"display-none":"",l=this._features?.selectedFeature?.getObjectId(),r=parseInt(l?.toString(),10)>-1?[l]:[],h=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return i(s,{key:"54e47d0ec2be9149c3e667c9e940842804d96964"},i("calcite-shell",{key:"14bb280d394ceaa74463979886ab09cdf393b26e",style:{position:this.position}},this._getHeader(),i("calcite-loader",{key:"3226709e73de16c795c348513183b26b88b7a726",class:t,label:this._translations.fetchingData}),i("div",{key:"ba4b0c34620c60e849bdf0ada785b9976156dd1c",class:"esri-widget feature-node "+e,id:this._featuresNodeId}),i("div",{key:"440a4d3c0530f97031df2e2ab9511ef6035fb5da",class:`${o} width-100`,slot:"footer"},this.allowEditing&&i("div",{key:"172b2e2cc10bdfb104057376ceba5d7f5f19ad61",class:"display-flex top-border padding-1-2"},i("calcite-button",{key:"242daf0ec6c3fe4fcc11be4bbc19f810836714ec",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&h?i("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:r,layer:this._layer,locale:this.locale,onEditsComplete:()=>this._closePopup()}):void 0,i("calcite-tooltip",{key:"760f8fcd1bcff2060e0a98e84a222107e55fef22",placement:"bottom","reference-element":"solutions-edit"},i("span",{key:"30656b92e9bdbf3a9548586d91fc23bce2da9db3"},this._translations.edit)),this.isMobile?i("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},i("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!n&&i("div",{key:"161902561c9686d74a511338dfc02efce0095af7",class:`display-flex padding-1-2 button-container top-border ${c}`},i("div",{key:"afd1459e3f69f60d96103854fe3dae71f18fc41e"},i("calcite-button",{key:"59063d7fa2cf886afca66857cb1f74e42789e59f",appearance:"transparent",disabled:n,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),i("calcite-tooltip",{key:"412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0",placement:"top","reference-element":"solutions-back"},i("span",{key:"7c1512be35f16b4441c2a364e1b7a87e3c7caf97"},this._translations.back))),i("calcite-action",{key:"d4790efec0d13e6726ffe9d438683db6887d00b8",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},i("span",{key:"98663d5c3b2f445db4e38cba98b8149c53cbc474",class:"pagination-count"},this._count)),i("div",{key:"6ca88610950cf2852e2dc67588c77fd464ece3c5"},i("calcite-button",{key:"577739ef819676dfd9cdee560a8cd22edcd9c6b7",appearance:"transparent",disabled:n,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),i("calcite-tooltip",{key:"73a4f907d1a2f46a980c451572f1ba1e1b0b0596",placement:"top","reference-element":"solutions-next"},i("span",{key:"d5f67497df866592b30d6c328f9f45716eb16153"},this._translations.next))))),i("edit-card",{key:"c8094993be5203f464cea4f632c14dbefa263a73",class:a,enableEditGeometry:this.enableEditGeometry,graphicIndex:this._features?.selectedFeatureIndex,graphics:this.graphics,locale:this.locale,mapView:this.mapView,open:this._editRecordOpen}),i("calcite-alert",{key:"0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},i("div",{key:"c8b7b452430d6fedda5288fd58efae5526adeda7",slot:"title"},this._translations.editDisabled),i("div",{key:"b2dc954d43bb08908723f70796df5c77108d92d8",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,e]=await W(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=e}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?i("calcite-panel",{class:"border-width-0",slot:"header"},i("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),i("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),e=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",e)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await H(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};$.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{V as calcite_alert,O as calcite_flow_item,R as create_feature,q as delete_button,U as edit_card,$ as info_card}
17
+ const O=class{constructor(i){t(this,i),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=e(this,"calciteFlowItemToggle",6),this.handleInternalPanelScroll=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.calciteFlowItemScroll.emit())},this.handleInternalPanelClose=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())},this.handleInternalPanelToggle=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.collapsed=t.target.collapsed,this.calciteFlowItemToggle.emit())},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.beforeClose=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.scale="m",this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){u(this),v(this)}async componentWillLoad(){await w(this),p(this)}componentDidRender(){C(this)}disconnectedCallback(){g(this),k(this)}componentDidLoad(){b(this)}effectiveLocaleChange(){x(this,this.effectiveLocale)}async setFocus(){await f(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===h(t),{showBackButton:s,backButtonClick:a,messages:o}=this,n=o.back;return s?i("calcite-action",{"aria-label":n,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:a,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:n,title:n}):null}render(){const{collapsed:t,collapseDirection:e,collapsible:a,closable:o,closed:n,description:c,disabled:l,heading:r,headingLevel:h,loading:d,menuOpen:p,messages:b,overlayPositioning:f,beforeClose:m}=this;return i(s,{key:"2e7872bb2687db0b67ddbf375f8ec0beaabbda36"},i(z,{key:"a9418954405a2cec2092bae3be5d77f02306e3c9",disabled:l},i("calcite-panel",{key:"d563c751421bf2d66c03286deaa613e09f585546",beforeClose:m,closable:o,closed:n,collapseDirection:e,collapsed:t,collapsible:a,description:c,disabled:l,heading:r,headingLevel:h,loading:d,menuOpen:p,messageOverrides:b,onCalcitePanelClose:this.handleInternalPanelClose,onCalcitePanelScroll:this.handleInternalPanelScroll,onCalcitePanelToggle:this.handleInternalPanelToggle,overlayPositioning:f,ref:this.setContainerRef,scale:this.scale},this.renderBackButton(),i("slot",{key:"c506ec8bb4debbd6a9da6c7941878de49776f614",name:"action-bar",slot:E.actionBar}),i("slot",{key:"e76e55e654ff878acff734bdf387402a9e262159",name:"alerts",slot:E.alerts}),i("slot",{key:"f7ab8839d7b101e31087130ebf3e36af1ec7da24",name:"header-actions-start",slot:E.headerActionsStart}),i("slot",{key:"2932c4c15b168732356b8e55fcc3064f5b3f4cf5",name:"header-actions-end",slot:E.headerActionsEnd}),i("slot",{key:"1ef8a9050683022733695445092f8c626487d87b",name:"header-content",slot:E.headerContent}),i("slot",{key:"24c0ab570a601a6c0edfb0c820e580fd24b158ce",name:"header-menu-actions",slot:E.headerMenuActions}),i("slot",{key:"ec55bbe7ba939a6efb35225850c37a1aadb97275",name:"fab",slot:E.fab}),i("slot",{key:"aa0bfec47656ef9f7f575cd933897a7909e5badc",name:"content-top",slot:E.contentTop}),i("slot",{key:"e23532d080e2df529c2aeb6af043c6efe7a0ab6d",name:"content-bottom",slot:E.contentBottom}),i("slot",{key:"db6ffc0d9300c77067a4c88ab277de685c7713af",name:"footer-start",slot:E.footerStart}),i("slot",{key:"5f249356da9292f34c4036d0d0741f048fe999e9",name:"footer",slot:E.footer}),i("slot",{key:"7476137bacc0f3be5c97682c5027f74d73254765",name:"footer-end",slot:E.footerEnd}),i("slot",{key:"58f60a46c42a05abe9b100a57d478d991e4f25bc",name:"footer-actions",slot:E.footerActions}),i("slot",{key:"926a8d94b76b6fcdef6dfd219ba8180c44f81c35"}))))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};O.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-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-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";const R=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.drawComplete=e(this,"drawComplete",7),this.editingAttachment=e(this,"editingAttachment",7),this.progressStatus=e(this,"progressStatus",7),this.modeChanged=e(this,"modeChanged",7),this.mapView=void 0,this.selectedLayerId=void 0,this.customizeSubmit=!1,this.locale=void 0,this.searchConfiguration=void 0,this.isMobile=void 0,this.floorLevel=void 0,this.formElements=void 0,this.enableSearch=!1,this.showGuidingMsg=!0,this.showGuidingMsgWhileDrawing=!0,this._editorLoading=!1,this._currentPage="templatePicker",this._translations=void 0}get el(){return a(this)}Editor;ExpressionInfo;FieldElement;FormTemplate;_editor;FeatureLayer;MapView;_updatedMapView;Search;_search;reactiveUtils;_addingAttachment;_container;_mapViewContainer;_isSubmitBtnClicked=!1;_selectedLayer;_searchDiv;_calciteNotice;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}componentDidRender(){this.isMobile&&(this._mapViewContainer.style.top=`${this._calciteNotice.offsetHeight+this._searchDiv.offsetHeight+80}px`)}disconnectedCallback(){this._editor&&this._editor.destroy()}render(){const t="drawing"===this._currentPage?"":"display-none",e=this._editorLoading?"":"display-none",s=this._editorLoading?"display-none":"",a=this.isMobile?"show-map":"display-none";let n=this._translations.chooseCategoryMsg;return"drawing"===this._currentPage?n=this._translations.provideLocationMsg:"featureForm"===this._currentPage&&(n=this._translations.provideDetailsMsg),i(o,{key:"788b2ebb85b603452d4b4de05711510f7480c895"},this.showGuidingMsg&&(this.showGuidingMsgWhileDrawing||"drawing"!==this._currentPage)&&i("calcite-notice",{key:"cf41e701f5a7605531fa6351acf13ea20e219f7a",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0,ref:t=>this._calciteNotice=t},i("div",{key:"1bb493a8e5a962c8a8c75ac37156edbf866c3916",slot:"message"},n)),i("calcite-loader",{key:"5d2e9a465cb7c6dbde8d941497fda87b4fc7c258",class:e,label:"",scale:"s"}),i("div",{key:"23b8651f4040443ba731173d1818b515b718b754",class:s,id:"feature-form"}),this.enableSearch&&i("div",{key:"7f628d09111295d46fbf7b9605999c2ef88c258d",class:`search-widget ${t} ${s}`,id:"search-widget-ref",ref:t=>this._searchDiv=t}),i("div",{key:"3def9aaab0a2f03076a6c4c645cf5a080bbb9e75",class:`${a}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,e,i,s,a,o,n]=await W(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=e,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=o,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer,zoom:this.mapView.zoom}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none");const e=await F(this._updatedMapView);this._selectedLayer=await j(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||e.forEach((async e=>{t.push({layer:e,enabled:"feature"===e?.type&&e?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{snappingControls:!1,createFeaturesSection:!0,editFeaturesSection:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(.5),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),setTimeout((()=>{this._setFloorLevel(this.floorLevel)}),50),this._currentPage="featureForm",this.progressStatus.emit(1),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const o=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&"disabled"===this._editor.viewModel.featureFormViewModel.state&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))}));this._editor.viewModel.addHandles(o)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,e)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const i=this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(.75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>e(t)))}),700)})),1===i.length&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);const s=i.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&e(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let e=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(e=t.results[0].results[0]?.feature.geometry)}));const i=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&e&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",e),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(i)}_getSearchConfig(t,e){const i=t.sources;return i?.length>0?(t.includeDefaultSources=!1,i.forEach((t=>{if(t.hasOwnProperty("layer")){const i=t,s=i.layer?.id,a=s?e.map.findLayerById(s):null,o=i?.layer?.url;a?i.layer=a:o&&(i.layer=new this.FeatureLayer(o))}})),i?.forEach((t=>{if(t.hasOwnProperty("locator")){const e=t;"ArcGIS World Geocoding Service"===e?.name&&(e.outFields=e.outFields||["Addr_type","Match_addr","StAddr","City"],e.singleLineFieldName="SingleLine"),e.url=e.url,delete e.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const e=this._selectedLayer;if(e?.floorInfo?.floorField){const i=e.fields.find((t=>t.name===e.floorInfo.floorField));if(i&&!e?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(i.name,t),i.editable=!1;else if(e.formTemplate&&this.formElements){const i=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:e.floorInfo.floorField,editableExpression:"false",fieldName:e.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:i.name});this._updatedMapView.map.editableLayers.forEach((t=>{const e=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const o=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[i].concat(e)});t.formTemplate=o}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const e=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");e?.querySelector("header")?.setAttribute("style","display: none"),e?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((e=>setTimeout(e,t)))}async _getTranslations(){const t=await H(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};R.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";const q=class{constructor(i){t(this,i),this.editsComplete=e(this,"editsComplete",7),this.deleteDialog=void 0,this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this.locale=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return a(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return i(s,{key:"1816da3d5cd7903b4e699dffa4ac4836dca722bb"},"button"===this.buttonType?i("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):i("calcite-action",{appearance:"solid",compact:!0,disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},i("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage(),i("calcite-tooltip",{key:"26fc4d4b4ea02b7a6c5e3f87abe2c5b8f96a3654",placement:"bottom","reference-element":"button"===this.buttonType?"solutions-delete":this.icon},i("span",{key:"c2f7b101bb3a99274fe7f364ad29365c212d856e"},this._translations.delete)))}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:i("delete-dialog",{id:"solution-delete-dialog",ids:this.ids,layer:this.layer,locale:this.locale,onDeleteDialogClose:()=>this._confirmDelete=!1,open:this._confirmDelete})}async _getTranslations(){const t=await H(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"],locale:["localeWatchHandler"]}}};q.style=":host{display:block}.delete-modal{position:fixed}";const U=class{constructor(i){t(this,i),this.closeEdit=e(this,"closeEdit",7),this.editsComplete=e(this,"editsComplete",7),this.refreshGraphics=e(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.graphics=void 0,this.locale=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}get el(){return a(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{this.editsComplete.emit()})))}render(){const t=this._editorLoading?"display-none":"position-absolute",e=this._editorLoading?"":"display-none";return i(s,{key:"15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7"},i("div",{key:"bbaa7dbc405259b64dfceca89e45abf6372c76c3",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:i("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},i("div",{slot:"message"},this._translations.enableEditing)),i("div",{key:"eb8b08fa0b08cf93581fb8e76d59bd8b5446770f",class:"position-absolute"},i("div",{key:"03e525373c09fbcd4dad213738d97b99f1549975",class:t,id:"feature-form",ref:t=>this._editContainer=t}),i("calcite-loader",{key:"1cc46d8f6499a90736e05c2eed9bff71aff35d12",class:e,label:"",scale:"s"}))))}async _initModules(){const[t,e]=await W(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=e}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),e=(await F(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:e,visibleElements:{snappingControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await H(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],open:["openWatchHandler"]}}};U.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const $=class{constructor(i){t(this,i),this.popupClosed=e(this,"popupClosed",7),this.selectionChanged=e(this,"selectionChanged",7),this.enableEditGeometry=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.locale=void 0,this.paginationEnabled=!0,this.position="absolute",this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0}get el(){return a(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;async graphicsWatchHandler(){await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async localeWatchHandler(){if(this.el.lang=this.locale,await this._getTranslations(),this._features){const t=[...this.graphics];this.graphics=[],this.graphics=t}}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new L}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",e=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",o=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",n=this._features?.features?.length<2,c=this.isMobile?"display-none":"",l=this._features?.selectedFeature?.getObjectId(),r=parseInt(l?.toString(),10)>-1?[l]:[],h=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return i(s,{key:"54e47d0ec2be9149c3e667c9e940842804d96964"},i("calcite-shell",{key:"14bb280d394ceaa74463979886ab09cdf393b26e",style:{position:this.position}},this._getHeader(),i("calcite-loader",{key:"3226709e73de16c795c348513183b26b88b7a726",class:t,label:this._translations.fetchingData}),i("div",{key:"ba4b0c34620c60e849bdf0ada785b9976156dd1c",class:"esri-widget feature-node "+e,id:this._featuresNodeId}),i("div",{key:"440a4d3c0530f97031df2e2ab9511ef6035fb5da",class:`${o} width-100`,slot:"footer"},this.allowEditing&&i("div",{key:"172b2e2cc10bdfb104057376ceba5d7f5f19ad61",class:"display-flex top-border padding-1-2"},i("calcite-button",{key:"242daf0ec6c3fe4fcc11be4bbc19f810836714ec",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&h?i("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:r,layer:this._layer,locale:this.locale,onEditsComplete:()=>this._closePopup()}):void 0,i("calcite-tooltip",{key:"760f8fcd1bcff2060e0a98e84a222107e55fef22",placement:"bottom","reference-element":"solutions-edit"},i("span",{key:"30656b92e9bdbf3a9548586d91fc23bce2da9db3"},this._translations.edit)),this.isMobile?i("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},i("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!n&&i("div",{key:"161902561c9686d74a511338dfc02efce0095af7",class:`display-flex padding-1-2 button-container top-border ${c}`},i("div",{key:"afd1459e3f69f60d96103854fe3dae71f18fc41e"},i("calcite-button",{key:"59063d7fa2cf886afca66857cb1f74e42789e59f",appearance:"transparent",disabled:n,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),i("calcite-tooltip",{key:"412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0",placement:"top","reference-element":"solutions-back"},i("span",{key:"7c1512be35f16b4441c2a364e1b7a87e3c7caf97"},this._translations.back))),i("calcite-action",{key:"d4790efec0d13e6726ffe9d438683db6887d00b8",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},i("span",{key:"98663d5c3b2f445db4e38cba98b8149c53cbc474",class:"pagination-count"},this._count)),i("div",{key:"6ca88610950cf2852e2dc67588c77fd464ece3c5"},i("calcite-button",{key:"577739ef819676dfd9cdee560a8cd22edcd9c6b7",appearance:"transparent",disabled:n,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),i("calcite-tooltip",{key:"73a4f907d1a2f46a980c451572f1ba1e1b0b0596",placement:"top","reference-element":"solutions-next"},i("span",{key:"d5f67497df866592b30d6c328f9f45716eb16153"},this._translations.next))))),i("edit-card",{key:"c8094993be5203f464cea4f632c14dbefa263a73",class:a,enableEditGeometry:this.enableEditGeometry,graphicIndex:this._features?.selectedFeatureIndex,graphics:this.graphics,locale:this.locale,mapView:this.mapView,open:this._editRecordOpen}),i("calcite-alert",{key:"0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},i("div",{key:"c8b7b452430d6fedda5288fd58efae5526adeda7",slot:"title"},this._translations.editDisabled),i("div",{key:"b2dc954d43bb08908723f70796df5c77108d92d8",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,e]=await W(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=e}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?i("calcite-panel",{class:"border-width-0",slot:"header"},i("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),i("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),e=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",e)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await H(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};$.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{V as calcite_alert,O as calcite_flow_item,R as create_feature,q as delete_button,U as edit_card,$ as info_card}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var o={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(o,null,!0);export{o as default}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,H as s,g as o}from"./p-4e6eb06e.js";import{d as a,f as n,t as c,b as r}from"./p-621ad249.js";import{f as l,c as d,a as h,b as p,F as m,r as b}from"./p-f746ec20.js";import{g as f}from"./p-7d542581.js";import{u,I as w}from"./p-d6902512.js";import{i as v}from"./p-233f219c.js";import{c as g,s as y,a as k}from"./p-ad9d1221.js";import{c as x}from"./p-ff336351.js";import{o as D}from"./p-c7f8b7f0.js";import{g as I}from"./p-4a291f79.js";import{C as z}from"./p-2daeb1fe.js";import"./p-91371f97.js";import"./p-4f82eb55.js";import"./p-c8d3207e.js";
6
+ import{r as t,c as e,h as i,H as s,g as o}from"./p-4e6eb06e.js";import{d as a,f as n,t as c,b as r}from"./p-26ba0cc7.js";import{f as l,c as d,a as h,b as p,F as m,r as b}from"./p-7d5d1b0a.js";import{g as f}from"./p-eed08718.js";import{u,I as w}from"./p-770a5a64.js";import{i as v}from"./p-ec51378a.js";import{c as g,s as y,a as k}from"./p-7f68e6a4.js";import{c as x}from"./p-85c3237c.js";import{o as D}from"./p-93d03bf0.js";import{g as I}from"./p-ae019e19.js";import{C as z}from"./p-d1a979b8.js";import"./p-51ab623a.js";import"./p-08c18450.js";import"./p-c8d3207e.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.0
10
+ * v2.13.2
11
11
  */const C=class{constructor(i){t(this,i),this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=e(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=x("mutation",(()=>this.updateItems())),this.resizeObserver=x("resize",(t=>this.resizeObserverCallback(t))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${f()}`,this.focusLastDropdownItem=!1,this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?l(e,t):null},this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(t?.querySelectorAll("calcite-dropdown-item")))).reduce(((t,e)=>[...t,...e]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((t=>t.scale=this.scale))},this.updateGroups=t=>{const e=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-dropdown-group")));this.groups=e,this.updateItems(),this.updateGroupScale()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:e}=t;e===this.referenceEl?this.setDropdownWidth():e===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:e}=this,i=t?.clientWidth;i&&e&&(e.style.minWidth=`${i}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t)return;this.reposition(!0);const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t,this.transitionEl=t},this.setReferenceEl=t=>{this.referenceEl=t,d(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(t)},this.setFloatingEl=t=>{this.floatingEl=t,d(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl))return;const{defaultPrevented:e,key:i}=t;return e?void 0:"Escape"===i||this.open&&t.shiftKey&&"Tab"===i?(this.closeCalciteDropdown(),void t.preventDefault()):void(v(i)?(this.toggleDropdown(),t.preventDefault()):"ArrowDown"!==i&&"ArrowUp"!==i||(this.focusLastDropdownItem="ArrowUp"===i,this.open=!0,this.el.addEventListener("calciteDropdownOpen",this.onOpenEnd)))},this.focusOnFirstActiveOrDefaultItem=()=>{const t=this.getTraversableItems().find((t=>t.selected))||(this.focusLastDropdownItem?this.items[this.items.length-1]:this.items[0]);this.focusLastDropdownItem=!1,t&&a(t)},this.onOpenEnd=()=>{this.focusOnFirstActiveOrDefaultItem(),this.el.removeEventListener("calciteDropdownOpen",this.onOpenEnd)},this.toggleDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.onOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=h,this.selectedItems=[],this.type="click",this.widthScale=void 0,this.scale="m"}openHandler(){D(this),this.disabled?this.open=!1:this.reposition(!0)}handleDisabledChange(t){t||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems(),this.updateGroupScale()}async setFocus(){await g(this),n(this.referenceEl)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.open&&(this.openHandler(),D(this)),this.updateItems(),d(this,this.referenceEl,this.floatingEl)}componentWillLoad(){y(this)}componentDidLoad(){k(this),d(this,this.referenceEl,this.floatingEl)}componentDidRender(){u(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),p(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(s,{key:"377c3d9687bc025f004b4efe58bfa5f0893d86d0"},i(w,{key:"9e2f48be045fc6db10cc7203a8b998ec2b6abafd",disabled:this.disabled},i("div",{key:"8607de2d53a4f8c4b29206ee56aa23ad4c2cbe3d",class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.toggleDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{key:"07de8df34055ddc39301654a5ca312ddf293e6a9","aria-controls":`${e}-menu`,"aria-expanded":c(t),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),i("div",{key:"c1469efb62eb704b021ce6479ad55deda59582d4","aria-hidden":c(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{key:"f875166d486a53cd393f17d9295974aa449d449f","aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[m.animation]:!0,[m.animationActive]:t},id:`${e}-menu`,ref:this.setScrollerAndTransitionEl,role:"menu"},i("slot",{key:"bc6e61383aaf85b3d6242a86c50da68bc8b31e27",onSlotchange:this.updateGroups})))))}async reposition(t=!1){const{floatingEl:e,referenceEl:i,placement:s,overlayPositioning:o,filteredFlipPlacements:a}=this;return b(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:s,flipPlacements:a,type:"menu"},t)}closeCalciteDropdownOnClick(t){this.disabled||!this.open||t.composedPath().includes(this.el)||this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown(),t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.toggleDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter((t=>!t.disabled&&!t.hidden))}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:e}=t.detail,i=e.target,s=this.getTraversableItems();switch(e.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(i);break;case"ArrowDown":r(s,i,"next");break;case"ArrowUp":r(s,i,"previous");break;case"Home":r(s,i,"first");break;case"End":r(s,i,"last")}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}updateGroupScale(){this.groups?.forEach((t=>t.scale=this.scale))}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:e}=this;let i,s=0,o=0;return this.groups.forEach((e=>{t>0&&s<t&&Array.from(e.children).forEach(((e,a)=>{0===a&&(isNaN(i)&&(i=e.offsetTop),o+=i),s<t&&(o+=e.offsetHeight,s+=1)}))})),e.length>t?o:0}closeCalciteDropdown(t=!0){this.open=!1,t&&a(this.triggers[0])}updateTabIndexOfItems(t){this.items.forEach((e=>{e.tabIndex=t!==e?-1:0}))}static get delegatesFocus(){return!0}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};C.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset, left, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const E=class{constructor(i){t(this,i),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.disabled=!1,this.href=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.label=void 0,this.rel=void 0,this.selected=!1,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){await g(this),this.el?.focus()}componentWillLoad(){y(this),this.initialize()}componentDidLoad(){k(this)}connectedCallback(){this.initialize()}componentDidRender(){u(this)}render(){const{href:t,selectionMode:e,label:o,iconFlipRtl:a}=this,n=i("calcite-icon",{key:"1ec1c941651dda8f39fa15427592141f04180f3e",class:z.iconStart,flipRtl:"start"===a||"both"===a,icon:this.iconStart,scale:I(this.scale)}),r=i("span",{key:"3ab167ed4054ca34b4e13e72b752af6cf25522ae",class:z.itemContent},i("slot",{key:"88cf44809fb48450c66cc8f105bbda008a78157d"})),l=i("calcite-icon",{key:"32fb27182943a032c0037f1f878a95c194d2dff1",class:z.iconEnd,flipRtl:"end"===a||"both"===a,icon:this.iconEnd,scale:I(this.scale)}),d=this.iconStart&&this.iconEnd?[n,r,l]:this.iconStart?[n,r]:this.iconEnd?[r,l]:r,h=t?i("a",{"aria-label":o,class:z.link,href:t,ref:t=>this.childLink=t,rel:this.rel,tabIndex:-1,target:this.target},d):d,p=t?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",m="none"!==e?c(this.selected):null,{disabled:b}=this;return i(s,{key:"beec8e51bf18bdcab1928181828b372cc70bb7ee","aria-checked":m,"aria-label":t?"":o,role:p,tabIndex:b?-1:0},i(w,{key:"5cbbd1074d6c571f4cac3a99e4a2c09bf113db55",disabled:b},i("div",{key:"bff025aeb280c9d0d829e5cf4d94e9392604e607",class:{[z.container]:!0,[z.containerNone]:"none"===e}},"none"!==e?i("calcite-icon",{class:z.icon,icon:"multiple"===e?"check":"bullet-point",scale:I(this.scale)}):null,h)))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};E.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline-color:transparent}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.container a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem}.dropdown-item-icon{position:relative;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}:host([scale=s]) .container{padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-item-icon,:host([scale=s]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-item-icon,:host([scale=m]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:0.625rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-item-icon,:host([scale=l]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-xl)}:host([scale=l]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-xl)}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container{color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .dropdown-link,:host(:active:not([disabled])) .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host([selected]) .container:not(.container--none-selection),:host([selected]) .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .dropdown-link calcite-icon{color:var(--calcite-color-brand)}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";export{C as calcite_dropdown,E as calcite_dropdown_item}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{h as t,r as i,c as s,H as e,g as a}from"./p-4e6eb06e.js";import{c as n,d as o,H as r}from"./p-6adaac20.js";import{g as c}from"./p-7d542581.js";import{u as l,I as h}from"./p-d6902512.js";import{c as d,d as p}from"./p-d25fc2c2.js";import{s as u,a as f,c as b}from"./p-ad9d1221.js";import{c as m,d as v}from"./p-895e7b9c.js";import{u as g,c as y,s as k,d as w}from"./p-efaa77a0.js";import{f as x}from"./p-621ad249.js";import"./p-4a291f79.js";import"./p-4f82eb55.js";import"./p-233f219c.js";import"./p-ff336351.js";import"./p-91371f97.js";
6
+ import{h as t,r as i,c as s,H as e,g as a}from"./p-4e6eb06e.js";import{c as n,d as o,H as c}from"./p-9c5d5171.js";import{g as r}from"./p-eed08718.js";import{u as l,I as h}from"./p-770a5a64.js";import{c as d,d as p}from"./p-9ce8e34f.js";import{s as u,a as b,c as f}from"./p-7f68e6a4.js";import{c as m,d as v}from"./p-177b4cbc.js";import{u as g,c as y,s as k,d as w}from"./p-cb8d90d1.js";import{f as x}from"./p-26ba0cc7.js";import"./p-ae019e19.js";import"./p-08c18450.js";import"./p-ec51378a.js";import"./p-85c3237c.js";import"./p-51ab623a.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.0
11
- */const j=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?void 0:"icon",icon:i?"star-f":"star",scale:s}),z=class{constructor(t){i(this,t),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t),s=t.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==i?i:0;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i),this.updateFocus(),t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i),this.updateFocus(),t.preventDefault();break;case"Tab":this.hoverValue=null}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e),this.updateFocus()},this.handleInputChange=t=>{if(!0===this.isKeyboardInteraction){const i=Number(t.target.value);this.hoverValue=i,this.value=i}},this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)},this.handleLabelPointerDown=t=>{const i=t.currentTarget,s=this.getValueFromLabelEvent(t);this.hoverValue=s,this.emit=!0,this.value=this.required||this.value!==s?s:0,i.focus()},this.handleLabelClick=t=>{t.preventDefault()},this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i},this.setLabelEl=t=>{this.labelElements.push(t)},this.emit=!1,this.guid=`calcite-ratings-${c()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){m(this),y(this),d(this),n(this)}async componentWillLoad(){await k(this),u(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,fraction:e,hovered:a,id:`${this.guid}-${s}`,partial:!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s,tabIndex:this.getTabIndex(s)}}))}componentDidLoad(){f(this)}disconnectedCallback(){v(this),w(this),p(this),o(this)}componentDidRender(){l(this)}render(){return t(e,{key:"0e3159f00247860bc8c33e0913f9dd1e9248d887",onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},t(h,{key:"04013c4189a6c47e8c4ca61ee51b4b8491108964",disabled:this.disabled},t("span",{key:"0fca81bc548e56b36cbf1695076517ba8204bef1",class:"wrapper"},t("fieldset",{key:"30578fd314ff0e26c7963d5a9ad5bf787c4a6af0",class:"fieldset",disabled:this.disabled},t("legend",{key:"18147ef049b4602781c7b7a2c102af81be7149d7",class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:i,checked:s,fraction:e,hovered:a,id:n,partial:o,selected:r,value:c,tabIndex:l})=>t("label",{class:{star:!0,selected:r,hovered:a,average:i,partial:o},"data-value":c,htmlFor:n,onClick:this.handleLabelClick,onFocus:this.handleLabelFocus,onKeyDown:this.handleLabelKeyDown,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver,ref:this.setLabelEl,tabIndex:l},t("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:n,name:this.guid,onChange:this.handleInputChange,tabIndex:-1,type:"radio",value:c}),t(j,{full:r||i,scale:this.scale}),o&&t("div",{class:"fraction",style:{width:100*e+"%"}},t(j,{full:!0,partial:!0,scale:this.scale})),t("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${c}`))))),(this.count||this.average)&&this.showChip?t("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&t("span",{class:"number--average"},this.average.toString()),!!this.count&&t("span",{class:"number--count"},"(",this.count?.toString(),")")):null),t(r,{key:"2aabd4db649ddc70a0b70d9f406f34e632676796",component:this}))))}onLabelClick(){this.setFocus()}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(t){return this.readOnly||this.value!==t&&(this.value||1!==t)?-1:0}getValueFromLabelEvent(t){return Number(t.currentTarget.getAttribute("data-value"))}getNextRatingValue(t){return 5===t?1:t+1}getPreviousRatingValue(t){return 1===t?5:t-1}async setFocus(){await b(this),x(this.el)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};z.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-color-border-input)}.star:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-color-status-warning)}.hovered,.selected{color:var(--calcite-color-brand)}.fraction{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-color-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{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}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_rating}
10
+ * v2.13.2
11
+ */const j=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?void 0:"icon",icon:i?"star-f":"star",scale:s}),z=class{constructor(t){i(this,t),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t),s=t.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==i?i:0;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i),this.updateFocus(),t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i),this.updateFocus(),t.preventDefault();break;case"Tab":this.hoverValue=null}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e),this.updateFocus()},this.handleInputChange=t=>{if(!0===this.isKeyboardInteraction){const i=Number(t.target.value);this.hoverValue=i,this.value=i}},this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)},this.handleLabelPointerDown=t=>{const i=t.currentTarget,s=this.getValueFromLabelEvent(t);this.hoverValue=s,this.emit=!0,this.value=this.required||this.value!==s?s:0,i.focus()},this.handleLabelClick=t=>{t.preventDefault()},this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i},this.setLabelEl=t=>{this.labelElements.push(t)},this.emit=!1,this.guid=`calcite-ratings-${r()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){m(this),y(this),d(this),n(this)}async componentWillLoad(){await k(this),u(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,fraction:e,hovered:a,id:`${this.guid}-${s}`,partial:!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s,tabIndex:this.getTabIndex(s)}}))}componentDidLoad(){b(this)}disconnectedCallback(){v(this),w(this),p(this),o(this)}componentDidRender(){l(this)}render(){return t(e,{key:"0e3159f00247860bc8c33e0913f9dd1e9248d887",onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},t(h,{key:"04013c4189a6c47e8c4ca61ee51b4b8491108964",disabled:this.disabled},t("span",{key:"0fca81bc548e56b36cbf1695076517ba8204bef1",class:"wrapper"},t("fieldset",{key:"30578fd314ff0e26c7963d5a9ad5bf787c4a6af0",class:"fieldset",disabled:this.disabled},t("legend",{key:"18147ef049b4602781c7b7a2c102af81be7149d7",class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:i,checked:s,fraction:e,hovered:a,id:n,partial:o,selected:c,value:r,tabIndex:l})=>t("label",{class:{star:!0,selected:c,hovered:a,average:i,partial:o},"data-value":r,htmlFor:n,onClick:this.handleLabelClick,onFocus:this.handleLabelFocus,onKeyDown:this.handleLabelKeyDown,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver,ref:this.setLabelEl,tabIndex:l},t("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:n,name:this.guid,onChange:this.handleInputChange,tabIndex:-1,type:"radio",value:r}),t(j,{full:c||i,scale:this.scale}),o&&t("div",{class:"fraction",style:{width:100*e+"%"}},t(j,{full:!0,partial:!0,scale:this.scale})),t("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${r}`))))),(this.count||this.average)&&this.showChip?t("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&t("span",{class:"number--average"},this.average.toString()),!!this.count&&t("span",{class:"number--count"},"(",this.count?.toString(),")")):null),t(c,{key:"2aabd4db649ddc70a0b70d9f406f34e632676796",component:this}))))}onLabelClick(){this.setFocus()}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(t){return this.readOnly||this.value!==t&&(this.value||1!==t)?-1:0}getValueFromLabelEvent(t){return Number(t.currentTarget.getAttribute("data-value"))}getNextRatingValue(t){return 5===t?1:t+1}getPreviousRatingValue(t){return 1===t?5:t-1}async setFocus(){await f(this),x(this.el)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};z.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-color-border-input)}.star:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-color-status-warning)}.hovered,.selected{color:var(--calcite-color-brand)}.fraction{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-color-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{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}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_rating}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as s,h as i,H as e,g as a}from"./p-4e6eb06e.js";import{u as o}from"./p-d6902512.js";import{s as r,a as c,c as n}from"./p-ad9d1221.js";import{c as h}from"./p-ff336351.js";import{l}from"./p-fa80bc7e.js";import{t as d}from"./p-621ad249.js";import{I as p}from"./p-15410144.js";import{m,d as f,a as b,s as u,h as g,b as y,g as x,k,i as w,c as j,e as v,f as I,r as L,j as z,l as C,n as H,o as F,p as D,L as R}from"./p-c6dac8d2.js";import"./p-4f82eb55.js";import"./p-a02e2069.js";import"./p-7d542581.js";import"./p-91371f97.js";import"./p-7d974838.js";import"./p-af0e57e2.js";import"./p-c8d3207e.js";l.deprecated("component",{name:"pick-list",removalVersion:3,suggested:"list"});const U=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=h("mutation",m.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=f.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=u.bind(this),this.handleFilter=g.bind(this),this.handleFilterEvent=y.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=k.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){w.call(this),j.call(this)}disconnectedCallback(){v.call(this)}componentWillLoad(){r(this)}componentDidLoad(){c(this),I.call(this)}componentDidRender(){o(this)}calciteListItemRemoveHandler(t){L.call(this,t)}calciteListItemChangeHandler(t){z.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){C.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){H.call(this,t)}setUpItems(){F.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),D.call(this,t)}getIconType(){return this.multiple?p.square:p.circle}render(){return i(e,{key:"3ee6797e112491804c876fcd4a4604a1251a5340","aria-busy":d(this.loading),onKeyDown:this.keyDownHandler,role:"menu"},i(R,{key:"7051d4428ef065516d29ac2e84f7736216af45a5",props:this}))}get el(){return a(this)}};U.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{U as calcite_pick_list}
6
+ import{r as t,c as s,h as i,H as e,g as a}from"./p-4e6eb06e.js";import{u as o}from"./p-770a5a64.js";import{s as r,a as c,c as n}from"./p-7f68e6a4.js";import{c as h}from"./p-85c3237c.js";import{l}from"./p-b138a65e.js";import{t as d}from"./p-26ba0cc7.js";import{I as p}from"./p-77469834.js";import{m,d as b,a as f,s as u,h as g,b as y,g as x,k,i as w,c as j,e as v,f as I,r as L,j as z,l as C,n as H,o as F,p as D,L as R}from"./p-6166d8b4.js";import"./p-08c18450.js";import"./p-7eee9aa8.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-c8ad7a15.js";import"./p-a3df6501.js";import"./p-c8d3207e.js";l.deprecated("component",{name:"pick-list",removalVersion:3,suggested:"list"});const U=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=h("mutation",m.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=b.bind(this),this.deselectSiblingItems=f.bind(this),this.selectSiblings=u.bind(this),this.handleFilter=g.bind(this),this.handleFilterEvent=y.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=k.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){w.call(this),j.call(this)}disconnectedCallback(){v.call(this)}componentWillLoad(){r(this)}componentDidLoad(){c(this),I.call(this)}componentDidRender(){o(this)}calciteListItemRemoveHandler(t){L.call(this,t)}calciteListItemChangeHandler(t){z.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){C.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){H.call(this,t)}setUpItems(){F.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),D.call(this,t)}getIconType(){return this.multiple?p.square:p.circle}render(){return i(e,{key:"3ee6797e112491804c876fcd4a4604a1251a5340","aria-busy":d(this.loading),onKeyDown:this.keyDownHandler,role:"menu"},i(R,{key:"7051d4428ef065516d29ac2e84f7736216af45a5",props:this}))}get el(){return a(this)}};U.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{U as calcite_pick_list}
@@ -6,6 +6,6 @@
6
6
  /*!
7
7
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
9
- * v2.13.0
9
+ * v2.13.2
10
10
  */
11
11
  const n={heading:"heading",container:"container",indented:"container--indented"},e={parentItem:"parent-item"};export{n as C,e as S}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as i,h as t,F as a,g as s}from"./p-4e6eb06e.js";import{c as n,d as o}from"./p-5e25a0b8.js";import{o as r}from"./p-621ad249.js";import{c,d as l}from"./p-895e7b9c.js";import{u as d,c as h,s as p,d as m}from"./p-efaa77a0.js";import{H as f,c as g}from"./p-b13aca6a.js";import{l as b}from"./p-fa80bc7e.js";import"./p-ff336351.js";import"./p-4f82eb55.js";import"./p-7d542581.js";import"./p-91371f97.js";import"./p-233f219c.js";import"./p-a02e2069.js";
6
+ import{r as e,c as i,h as t,F as s,g as a}from"./p-4e6eb06e.js";import{c as n,d as o}from"./p-7cc8e95a.js";import{o as r}from"./p-26ba0cc7.js";import{c,d as l}from"./p-177b4cbc.js";import{u as d,c as h,s as p,d as m}from"./p-cb8d90d1.js";import{H as g,c as f}from"./p-977c099e.js";import{l as b}from"./p-b138a65e.js";import"./p-85c3237c.js";import"./p-08c18450.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-ec51378a.js";import"./p-7eee9aa8.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.0
11
- */const u="thumbnail";b.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]});const v=class{constructor(t){e(this,t),this.calciteTipDismiss=i(this,"calciteTipDismiss",6),this.hideTip=()=>{this.closed=!0,this.calciteTipDismiss.emit()},this.closed=!1,this.closeDisabled=!1,this.heading=void 0,this.headingLevel=void 0,this.selected=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){n(this),c(this),h(this)}async componentWillLoad(){await p(this)}disconnectedCallback(){o(this),l(this),m(this)}renderHeader(){const{heading:e,headingLevel:i,el:a}=this,s=a.closest("calcite-tip-manager")?.headingLevel,n=s?g(s+1):null;return e?t("header",{class:"header"},t(f,{class:"heading",level:i||n},e)):null}renderDismissButton(){const{closeDisabled:e,hideTip:i}=this;return e?null:t("calcite-action",{class:"close",icon:"x",onClick:i,scale:"l",text:this.messages.close})}renderImageFrame(){const{el:e}=this;return r(e,u)?t("div",{class:"image-frame",key:"thumbnail"},t("slot",{name:u})):null}renderInfoNode(){return t("div",{class:"info"},t("slot",null))}renderContent(){return t("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return t(a,{key:"0ee5bf1ba2df1cccf7e6684bd0480344b074b16b"},t("article",{key:"55effd0a9eaa055167507e216983713fc1767e13",class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.style=":host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_tip}
10
+ * v2.13.2
11
+ */const u="thumbnail";b.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]});const v=class{constructor(t){e(this,t),this.calciteTipDismiss=i(this,"calciteTipDismiss",6),this.hideTip=()=>{this.closed=!0,this.calciteTipDismiss.emit()},this.closed=!1,this.closeDisabled=!1,this.heading=void 0,this.headingLevel=void 0,this.selected=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){n(this),c(this),h(this)}async componentWillLoad(){await p(this)}disconnectedCallback(){o(this),l(this),m(this)}renderHeader(){const{heading:e,headingLevel:i,el:s}=this,a=s.closest("calcite-tip-manager")?.headingLevel,n=a?f(a+1):null;return e?t("header",{class:"header"},t(g,{class:"heading",level:i||n},e)):null}renderDismissButton(){const{closeDisabled:e,hideTip:i}=this;return e?null:t("calcite-action",{class:"close",icon:"x",onClick:i,scale:"l",text:this.messages.close})}renderImageFrame(){const{el:e}=this;return r(e,u)?t("div",{class:"image-frame",key:"thumbnail"},t("slot",{name:u})):null}renderInfoNode(){return t("div",{class:"info"},t("slot",null))}renderContent(){return t("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return t(s,{key:"0ee5bf1ba2df1cccf7e6684bd0480344b074b16b"},t("article",{key:"55effd0a9eaa055167507e216983713fc1767e13",class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.style=":host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_tip}