@esri/solutions-components 0.10.49 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1250) hide show
  1. package/dist/cjs/ExpandToggle-44886935.js +115 -0
  2. package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
  3. package/dist/cjs/Heading-ee0aa171.js +25 -0
  4. package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
  5. package/dist/cjs/Validation-9515ef0c.js +20 -0
  6. package/dist/cjs/app-globals-03a6ab9b.js +67 -0
  7. package/dist/cjs/ar-180cd9b0.js +106 -0
  8. package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
  10. package/dist/cjs/bg-fd095c86.js +84 -0
  11. package/dist/cjs/browser-717f77af.js +35 -0
  12. package/dist/cjs/bs-11fa6f0d.js +53 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
  14. package/dist/cjs/ca-0685b1cc.js +73 -0
  15. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
  16. package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
  17. package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
  18. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
  19. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
  20. package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
  21. package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
  22. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  23. package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
  24. package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
  25. package/dist/cjs/calcite-button-de2c2e75.js +282 -0
  26. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  27. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  28. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  29. package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
  30. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  31. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  32. package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
  33. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
  34. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  35. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
  36. package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
  37. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  38. package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
  39. package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
  40. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  42. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  43. package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
  44. package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
  45. package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
  46. package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
  47. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  48. package/dist/cjs/calcite-input-945ec162.js +1001 -0
  49. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  51. package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
  52. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
  53. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  54. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  55. package/dist/cjs/calcite-label-e7b67a86.js +111 -0
  56. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  57. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  58. package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
  59. package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
  60. package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
  61. package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
  62. package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -0
  63. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  64. package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
  65. package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
  66. package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
  67. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  68. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  69. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  70. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  71. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  72. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
  73. package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
  74. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  75. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  76. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
  78. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
  79. package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
  80. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  81. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
  82. package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
  83. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  84. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  85. package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
  86. package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
  87. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  88. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  89. package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
  90. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  91. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  92. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  93. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
  94. package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
  95. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  96. package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
  98. package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
  99. package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
  100. package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
  101. package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
  102. package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
  103. package/dist/cjs/common-10d11a29.js +37 -0
  104. package/dist/cjs/conditionalSlot-130cce71.js +54 -0
  105. package/dist/cjs/config-c999f8fc.js +40 -0
  106. package/dist/cjs/consent-manager.cjs.entry.js +7915 -46
  107. package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
  108. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  109. package/dist/cjs/cs-70e8ba01.js +149 -0
  110. package/dist/cjs/da-e8eb9ff4.js +69 -0
  111. package/dist/cjs/date-40a80298.js +264 -0
  112. package/dist/cjs/de-4b8310d2.js +93 -0
  113. package/dist/cjs/de-at-dc8ed8c3.js +92 -0
  114. package/dist/cjs/de-ch-c5971940.js +92 -0
  115. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  116. package/dist/cjs/downloadUtils-b6490537.js +3223 -0
  117. package/dist/cjs/el-a70d9f12.js +68 -0
  118. package/dist/cjs/en-au-88ddb80f.js +68 -0
  119. package/dist/cjs/en-ca-5a29b95b.js +67 -0
  120. package/dist/cjs/en-gb-3c763a84.js +71 -0
  121. package/dist/cjs/es-e83e8ff5.js +68 -0
  122. package/dist/cjs/es-mx-2ea879ef.js +67 -0
  123. package/dist/cjs/et-7b00c80d.js +94 -0
  124. package/dist/cjs/feature-list.cjs.entry.js +12 -10
  125. package/dist/cjs/fi-92ca007b.js +117 -0
  126. package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
  127. package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
  128. package/dist/cjs/form-dd5380da.js +370 -0
  129. package/dist/cjs/form-f2a43327.js +381 -0
  130. package/dist/cjs/fr-a1f5dfd4.js +70 -0
  131. package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
  132. package/dist/cjs/he-38b2b883.js +107 -0
  133. package/dist/cjs/helpers-47465fc2.js +940 -0
  134. package/dist/cjs/hi-a517b1a8.js +67 -0
  135. package/dist/cjs/hr-c1e34de1.js +82 -0
  136. package/dist/cjs/hu-e46e8ae7.js +90 -0
  137. package/dist/cjs/icon-f45e7fbb.js +979 -0
  138. package/dist/cjs/id-bfc376d8.js +68 -0
  139. package/dist/cjs/index-1ab17699.js +201 -0
  140. package/dist/cjs/index-3bae5121.js +1789 -0
  141. package/dist/cjs/index-5d8d6ae2.js +2157 -0
  142. package/dist/cjs/index.es-5fc7bebc.js +11221 -0
  143. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  144. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  145. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  146. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  147. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  148. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  149. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  150. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  151. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  152. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  153. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  154. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  155. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  156. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
  157. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
  158. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  159. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  160. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  161. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  162. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  163. package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
  164. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +3 -3
  165. package/dist/cjs/interactive-b59e6294.js +86 -0
  166. package/dist/cjs/interactive-e1c3ccf2.js +85 -0
  167. package/dist/cjs/it-6d8c8360.js +68 -0
  168. package/dist/cjs/it-ch-2b05812c.js +68 -0
  169. package/dist/cjs/ja-eb46f963.js +74 -0
  170. package/dist/cjs/ko-dbe28d19.js +74 -0
  171. package/dist/cjs/loadable-19ab5827.js +98 -0
  172. package/dist/cjs/loader-97bb6b45.js +176 -0
  173. package/dist/cjs/loader.cjs.js +5 -5
  174. package/dist/cjs/locale-3a817e03.js +1488 -0
  175. package/dist/cjs/locale-80aff4b9.js +605 -0
  176. package/dist/cjs/locale-a79da367.js +160 -0
  177. package/dist/cjs/logger-780b61e8.js +61 -0
  178. package/dist/cjs/lt-651bfa9c.js +99 -0
  179. package/dist/cjs/lv-f6fe37a3.js +68 -0
  180. package/dist/cjs/map-select-tools_3.cjs.entry.js +13 -11
  181. package/dist/cjs/mk-1f0ffdf6.js +68 -0
  182. package/dist/cjs/nb-8b7b39ed.js +69 -0
  183. package/dist/cjs/nl-27515721.js +69 -0
  184. package/dist/cjs/observers-902ebe13.js +58 -0
  185. package/dist/cjs/openCloseComponent-039ee139.js +65 -0
  186. package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
  187. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  188. package/dist/cjs/pl-d2098514.js +116 -0
  189. package/dist/cjs/popupUtils-72d48968.js +121 -0
  190. package/dist/cjs/pt-a3304010.js +69 -0
  191. package/dist/cjs/pt-br-09d60ba8.js +67 -0
  192. package/dist/cjs/public-notification.cjs.entry.js +12 -10
  193. package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
  194. package/dist/cjs/request-19fdbaaa.js +21 -0
  195. package/dist/cjs/restHelpersGet-e4639890.js +507 -0
  196. package/dist/cjs/ro-2ea54b1c.js +68 -0
  197. package/dist/cjs/ru-f94ee202.js +128 -0
  198. package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
  199. package/dist/cjs/sk-3cdf67d8.js +150 -0
  200. package/dist/cjs/sl-075daf42.js +170 -0
  201. package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
  202. package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
  203. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  204. package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
  205. package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
  206. package/dist/cjs/solution-store-4e602251.js +1105 -0
  207. package/dist/cjs/solutions-components.cjs.js +6 -6
  208. package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
  209. package/dist/cjs/sr-2f08967b.js +103 -0
  210. package/dist/cjs/store-manager.cjs.entry.js +7 -7
  211. package/dist/cjs/sv-65f0e21c.js +73 -0
  212. package/dist/cjs/t9n-0195f685.js +108 -0
  213. package/dist/cjs/templates-1e84847a.js +407 -0
  214. package/dist/cjs/th-db63e592.js +67 -0
  215. package/dist/cjs/time-caa0abbe.js +301 -0
  216. package/dist/cjs/tr-b6401cac.js +68 -0
  217. package/dist/cjs/typeof-2a7e2dec.js +28 -0
  218. package/dist/cjs/uk-d00c351d.js +106 -0
  219. package/dist/cjs/update-243ea407.js +783 -0
  220. package/dist/cjs/utils-7eb34f90.js +153 -0
  221. package/dist/cjs/utils-d2bcba4f.js +79 -0
  222. package/dist/cjs/vi-efe4ad72.js +72 -0
  223. package/dist/cjs/zh-cn-63f07390.js +96 -0
  224. package/dist/cjs/zh-hk-84a86ab9.js +94 -0
  225. package/dist/cjs/zh-tw-894f1adf.js +94 -0
  226. package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
  227. package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
  228. package/dist/collection/collection-manifest.json +2 -4
  229. package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
  230. package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
  231. package/dist/collection/components/card-manager/card-manager.js +1 -1
  232. package/dist/collection/components/consent-manager/consent-manager.js +116 -40
  233. package/dist/collection/components/create-feature/create-feature.js +2 -2
  234. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
  235. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  236. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
  237. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  238. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  239. package/dist/collection/components/delete-button/delete-button.js +2 -2
  240. package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
  241. package/dist/collection/components/edit-card/edit-card.js +26 -2
  242. package/dist/collection/components/feature-details/feature-details.js +6 -6
  243. package/dist/collection/components/feature-list/feature-list.js +3 -3
  244. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  245. package/dist/collection/components/info-card/info-card.js +2 -2
  246. package/dist/collection/components/json-editor/json-editor.js +1 -1
  247. package/dist/collection/components/layer-table/layer-table.js +224 -47
  248. package/dist/collection/components/map-card/map-card.js +2 -2
  249. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  250. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  251. package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
  252. package/dist/collection/components/map-legend/map-legend.js +1 -1
  253. package/dist/collection/components/map-picker/map-picker.js +53 -4
  254. package/dist/collection/components/map-search/map-search.js +1 -1
  255. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  256. package/dist/collection/components/map-tools/map-tools.js +2 -2
  257. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  258. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  259. package/dist/collection/components/public-notification/public-notification.js +2 -2
  260. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  261. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  262. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  263. package/dist/collection/components/solution-item/solution-item.js +1 -1
  264. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  265. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  266. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  267. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  268. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  269. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  270. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  271. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  272. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  273. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  274. package/dist/collection/demos/consent-manager.html +56 -0
  275. package/dist/collection/utils/interfaces.ts +14 -0
  276. package/dist/components/IdentityManager.js +6 -2154
  277. package/dist/components/asyncToGenerator.js +88 -0
  278. package/dist/components/basemap-gallery2.js +1 -1
  279. package/dist/components/buffer-tools2.js +1 -1
  280. package/dist/components/calcite-dialog.js +1 -663
  281. package/dist/components/card-manager2.js +10 -10
  282. package/dist/components/common.js +0 -1
  283. package/dist/components/consent-manager.js +8054 -204
  284. package/dist/components/create-feature2.js +2 -2
  285. package/dist/components/create-related-feature2.js +1 -1
  286. package/dist/components/crowdsource-manager.js +37 -37
  287. package/dist/components/crowdsource-reporter.js +28 -28
  288. package/dist/components/deduct-calculator2.js +1 -1
  289. package/dist/components/delete-button2.js +29 -11
  290. package/dist/components/delete-dialog2.js +33 -9
  291. package/dist/components/dialog.js +670 -0
  292. package/dist/components/downloadUtils.js +10 -26
  293. package/dist/components/edit-card2.js +7 -2
  294. package/dist/components/feature-details2.js +23 -23
  295. package/dist/components/feature-list2.js +3 -3
  296. package/dist/components/floor-filter2.js +1 -1
  297. package/dist/components/index.es.js +25 -104
  298. package/dist/components/index2.js +6 -5
  299. package/dist/components/info-card2.js +9 -9
  300. package/dist/components/json-editor2.js +1 -1
  301. package/dist/components/layer-table2.js +212 -69
  302. package/dist/components/map-card2.js +2 -2
  303. package/dist/components/map-draw-tools2.js +1 -1
  304. package/dist/components/map-fullscreen2.js +1 -1
  305. package/dist/components/map-layer-picker2.js +53 -5
  306. package/dist/components/map-legend2.js +1 -1
  307. package/dist/components/map-picker2.js +28 -3
  308. package/dist/components/map-search2.js +1 -1
  309. package/dist/components/map-select-tools2.js +1 -1
  310. package/dist/components/map-tools2.js +2 -2
  311. package/dist/components/pci-calculator.js +1 -1
  312. package/dist/components/pdf-download2.js +1 -1
  313. package/dist/components/public-notification.js +2 -2
  314. package/dist/components/refine-selection2.js +1 -1
  315. package/dist/components/restHelpersGet.js +74 -557
  316. package/dist/components/solution-configuration.js +27 -28
  317. package/dist/components/solution-contents2.js +1 -1
  318. package/dist/components/solution-item-accordion.js +1 -1
  319. package/dist/components/solution-item-details2.js +1 -1
  320. package/dist/components/solution-item-icon2.js +1 -1
  321. package/dist/components/solution-item-sharing2.js +1 -1
  322. package/dist/components/solution-item2.js +1 -1
  323. package/dist/components/solution-organization-variables2.js +1 -1
  324. package/dist/components/solution-resource-item2.js +1 -2
  325. package/dist/components/solution-resource.js +1701 -1
  326. package/dist/components/solution-spatial-ref2.js +1 -1
  327. package/dist/components/solution-store.js +36 -285
  328. package/dist/components/solution-template-data2.js +1 -1
  329. package/dist/components/solution-variables2.js +1 -1
  330. package/dist/components/spatial-ref.js +1 -1
  331. package/dist/components/templates.js +0 -1
  332. package/dist/components/typeof.js +25 -0
  333. package/dist/components/update.js +773 -0
  334. package/dist/esm/ExpandToggle-324f556e.js +108 -0
  335. package/dist/esm/FloatingArrow-cd37b366.js +46 -0
  336. package/dist/esm/Heading-b6b7a8a6.js +22 -0
  337. package/dist/esm/IdentityManager-6880e890.js +2012 -0
  338. package/dist/esm/Validation-b62abebe.js +18 -0
  339. package/dist/esm/app-globals-b6ef4076.js +65 -0
  340. package/dist/esm/ar-aa347a04.js +104 -0
  341. package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
  342. package/dist/esm/basemap-gallery_7.entry.js +37 -12
  343. package/dist/esm/bg-b56e89f6.js +82 -0
  344. package/dist/esm/browser-e42b9848.js +32 -0
  345. package/dist/esm/bs-62486009.js +51 -0
  346. package/dist/esm/buffer-tools_3.entry.js +7 -7
  347. package/dist/esm/ca-db6a81f3.js +71 -0
  348. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  349. package/dist/esm/calcite-action-bar.entry.js +9 -9
  350. package/dist/esm/calcite-action-group.entry.js +8 -8
  351. package/dist/esm/calcite-action-menu_2.entry.js +10 -10
  352. package/dist/esm/calcite-action-pad_2.entry.js +9 -9
  353. package/dist/esm/calcite-action_2.entry.js +14 -14
  354. package/dist/esm/calcite-alert_2.entry.js +495 -0
  355. package/dist/esm/calcite-avatar.entry.js +2 -2
  356. package/dist/esm/calcite-block-section.entry.js +7 -7
  357. package/dist/esm/calcite-block_5.entry.js +19 -19
  358. package/dist/esm/calcite-button-e86d99b3.js +279 -0
  359. package/dist/esm/calcite-button.entry.js +10 -10
  360. package/dist/esm/calcite-card-group.entry.js +5 -5
  361. package/dist/esm/calcite-card.entry.js +8 -8
  362. package/dist/esm/calcite-carousel_2.entry.js +8 -8
  363. package/dist/esm/calcite-checkbox.entry.js +7 -7
  364. package/dist/esm/calcite-chip-group.entry.js +5 -5
  365. package/dist/esm/calcite-chip_2.entry.js +10 -10
  366. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
  367. package/dist/esm/calcite-color-picker.entry.js +8 -8
  368. package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
  369. package/dist/esm/calcite-combobox_3.entry.js +68 -22
  370. package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
  371. package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
  372. package/dist/esm/calcite-dialog.entry.js +10 -10
  373. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  374. package/dist/esm/calcite-fab.entry.js +5 -5
  375. package/dist/esm/calcite-filter_5.entry.js +8 -8
  376. package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
  377. package/dist/esm/calcite-flow_4.entry.js +12 -12
  378. package/dist/esm/calcite-graph_2.entry.js +9 -9
  379. package/dist/esm/calcite-icon_2.entry.js +5 -5
  380. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  381. package/dist/esm/calcite-input-1f12bce0.js +998 -0
  382. package/dist/esm/calcite-input-number.entry.js +11 -11
  383. package/dist/esm/calcite-input-text.entry.js +11 -11
  384. package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
  385. package/dist/esm/calcite-input-time-picker.entry.js +15 -15
  386. package/dist/esm/calcite-input-time-zone.entry.js +10 -10
  387. package/dist/esm/calcite-input_2.entry.js +11 -11
  388. package/dist/esm/calcite-label-d80f6f1c.js +108 -0
  389. package/dist/esm/calcite-label.entry.js +3 -3
  390. package/dist/esm/calcite-link.entry.js +5 -5
  391. package/dist/esm/calcite-list-item-group.entry.js +2 -2
  392. package/dist/esm/calcite-menu-item.entry.js +7 -7
  393. package/dist/esm/calcite-menu.entry.js +7 -7
  394. package/dist/esm/calcite-meter.entry.js +7 -7
  395. package/dist/esm/calcite-modal_4.entry.js +965 -0
  396. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  397. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  398. package/dist/esm/calcite-navigation.entry.js +4 -4
  399. package/dist/esm/calcite-notice-acc12411.js +258 -0
  400. package/dist/esm/calcite-notice.entry.js +9 -9
  401. package/dist/esm/calcite-option-group.entry.js +1 -1
  402. package/dist/esm/calcite-option_2.entry.js +9 -9
  403. package/dist/esm/calcite-pagination.entry.js +7 -7
  404. package/dist/esm/calcite-pick-list-group.entry.js +8 -8
  405. package/dist/esm/calcite-pick-list-item.entry.js +11 -11
  406. package/dist/esm/calcite-pick-list.entry.js +9 -9
  407. package/dist/esm/calcite-radio-button-group.entry.js +6 -6
  408. package/dist/esm/calcite-radio-button.entry.js +7 -7
  409. package/dist/esm/calcite-rating.entry.js +10 -10
  410. package/dist/esm/calcite-scrim.entry.js +6 -6
  411. package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
  412. package/dist/esm/calcite-sheet.entry.js +8 -8
  413. package/dist/esm/calcite-shell-center-row.entry.js +7 -7
  414. package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
  415. package/dist/esm/calcite-shell.entry.js +5 -5
  416. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  417. package/dist/esm/calcite-split-button.entry.js +4 -4
  418. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  419. package/dist/esm/calcite-stepper.entry.js +6 -6
  420. package/dist/esm/calcite-switch.entry.js +7 -7
  421. package/dist/esm/calcite-table-cell_2.entry.js +8 -8
  422. package/dist/esm/calcite-table-row.entry.js +3 -3
  423. package/dist/esm/calcite-table.entry.js +7 -7
  424. package/dist/esm/calcite-text-area.entry.js +11 -11
  425. package/dist/esm/calcite-tile-group.entry.js +5 -5
  426. package/dist/esm/calcite-tile-select-group.entry.js +4 -4
  427. package/dist/esm/calcite-tile-select.entry.js +6 -6
  428. package/dist/esm/calcite-tile.entry.js +5 -5
  429. package/dist/esm/calcite-time-picker.entry.js +8 -8
  430. package/dist/esm/calcite-tip-group.entry.js +3 -3
  431. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  432. package/dist/esm/calcite-tip.entry.js +10 -10
  433. package/dist/esm/calcite-tooltip.entry.js +6 -6
  434. package/dist/esm/calcite-tree_2.entry.js +6 -6
  435. package/dist/esm/card-manager_3.entry.js +194 -51
  436. package/dist/esm/common-c8dc0e85.js +35 -0
  437. package/dist/esm/conditionalSlot-2e16b206.js +51 -0
  438. package/dist/esm/config-e6645458.js +36 -0
  439. package/dist/esm/consent-manager.entry.js +7911 -42
  440. package/dist/esm/crowdsource-manager.entry.js +6 -6
  441. package/dist/esm/crowdsource-reporter.entry.js +3 -3
  442. package/dist/esm/cs-250e21c6.js +147 -0
  443. package/dist/esm/da-bab8eb4e.js +67 -0
  444. package/dist/esm/date-272939fd.js +248 -0
  445. package/dist/esm/de-808a43dc.js +91 -0
  446. package/dist/esm/de-at-9c396c81.js +90 -0
  447. package/dist/esm/de-ch-415303cf.js +90 -0
  448. package/dist/esm/deduct-calculator.entry.js +2 -2
  449. package/dist/esm/dom-66c5cd46.js +1165 -0
  450. package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
  451. package/dist/esm/el-3d1eaeb8.js +66 -0
  452. package/dist/esm/en-au-e6b00a93.js +66 -0
  453. package/dist/esm/en-ca-29b94ea2.js +65 -0
  454. package/dist/esm/en-gb-09267176.js +69 -0
  455. package/dist/esm/es-95fef748.js +66 -0
  456. package/dist/esm/es-mx-9b70cfc9.js +65 -0
  457. package/dist/esm/et-08cbe214.js +92 -0
  458. package/dist/esm/feature-list.entry.js +12 -10
  459. package/dist/esm/fi-e850e58b.js +115 -0
  460. package/dist/esm/floating-ui-1a431a21.js +2404 -0
  461. package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
  462. package/dist/esm/form-1528db83.js +362 -0
  463. package/dist/esm/form-99398da6.js +372 -0
  464. package/dist/esm/fr-c71b6844.js +68 -0
  465. package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
  466. package/dist/esm/he-311cb5ba.js +105 -0
  467. package/dist/esm/helpers-f52a734a.js +913 -0
  468. package/dist/esm/hi-c41f0938.js +65 -0
  469. package/dist/esm/hr-f42cc721.js +80 -0
  470. package/dist/esm/hu-d1d33b21.js +88 -0
  471. package/dist/esm/icon-18c0eb17.js +959 -0
  472. package/dist/esm/id-1867967d.js +66 -0
  473. package/dist/esm/index-38bde943.js +199 -0
  474. package/dist/esm/index-d233c7a2.js +1753 -0
  475. package/dist/esm/index-d88c3eb6.js +2155 -0
  476. package/dist/esm/index.es-d286eecc.js +11134 -0
  477. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  478. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  479. package/dist/esm/instant-apps-create.entry.js +2 -2
  480. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  481. package/dist/esm/instant-apps-export.entry.js +2 -2
  482. package/dist/esm/instant-apps-header.entry.js +2 -2
  483. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  484. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  485. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  486. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  487. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  488. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  489. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  490. package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
  491. package/dist/esm/instant-apps-language-translator.entry.js +4 -4
  492. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  493. package/dist/esm/instant-apps-popover.entry.js +2 -2
  494. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  495. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  496. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  497. package/dist/esm/instant-apps-splash.entry.js +3 -3
  498. package/dist/esm/instant-apps-time-filter.entry.js +3 -3
  499. package/dist/esm/interactive-5139f8d7.js +83 -0
  500. package/dist/esm/interactive-cad37709.js +82 -0
  501. package/dist/esm/it-6a7495d8.js +66 -0
  502. package/dist/esm/it-ch-89fa3c82.js +66 -0
  503. package/dist/esm/ja-f87a1f44.js +72 -0
  504. package/dist/esm/ko-0f4c7a11.js +72 -0
  505. package/dist/esm/label-56002f24.js +179 -0
  506. package/dist/esm/loadable-dc3f24a8.js +93 -0
  507. package/dist/esm/loader-bae2aa52.js +173 -0
  508. package/dist/esm/loader.js +6 -6
  509. package/dist/esm/locale-586d9375.js +155 -0
  510. package/dist/esm/locale-911eca09.js +591 -0
  511. package/dist/esm/locale-be7fd298.js +1423 -0
  512. package/dist/esm/logger-ff14b12f.js +59 -0
  513. package/dist/esm/lt-a4b14416.js +97 -0
  514. package/dist/esm/lv-3901862d.js +66 -0
  515. package/dist/esm/map-select-tools_3.entry.js +13 -11
  516. package/dist/esm/mk-886d280d.js +66 -0
  517. package/dist/esm/nb-b667a0e1.js +67 -0
  518. package/dist/esm/nl-d357a092.js +67 -0
  519. package/dist/esm/observers-ab3d6528.js +56 -0
  520. package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
  521. package/dist/esm/openCloseComponent-c3f79463.js +63 -0
  522. package/dist/esm/pci-calculator.entry.js +2 -2
  523. package/dist/esm/pl-75d54069.js +114 -0
  524. package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
  525. package/dist/esm/pt-32bd5da2.js +67 -0
  526. package/dist/esm/pt-br-6f32314d.js +65 -0
  527. package/dist/esm/public-notification.entry.js +12 -10
  528. package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
  529. package/dist/esm/request-2dbb152a.js +19 -0
  530. package/dist/esm/restHelpersGet-a7fda344.js +493 -0
  531. package/dist/esm/ro-d238055e.js +66 -0
  532. package/dist/esm/ru-ef7165ff.js +126 -0
  533. package/dist/esm/shared-list-render-5f202c55.js +339 -0
  534. package/dist/esm/sk-959dbca1.js +148 -0
  535. package/dist/esm/sl-96436015.js +168 -0
  536. package/dist/esm/solution-configuration.entry.js +34 -34
  537. package/dist/esm/solution-contents_3.entry.js +11 -11
  538. package/dist/esm/solution-item-accordion.entry.js +3 -3
  539. package/dist/esm/solution-item-icon.entry.js +2 -2
  540. package/dist/esm/solution-resource-30a29505.js +1842 -0
  541. package/dist/esm/solution-store-f252cb74.js +1103 -0
  542. package/dist/esm/solutions-components.js +7 -7
  543. package/dist/esm/spatial-ref.entry.js +5 -6
  544. package/dist/esm/sr-73033c89.js +101 -0
  545. package/dist/esm/store-manager.entry.js +7 -7
  546. package/dist/esm/sv-b1153aa8.js +71 -0
  547. package/dist/esm/t9n-1698878e.js +103 -0
  548. package/dist/esm/templates-60f33938.js +401 -0
  549. package/dist/esm/th-e1a074e2.js +65 -0
  550. package/dist/esm/time-bca5f70b.js +286 -0
  551. package/dist/esm/tr-1350f529.js +66 -0
  552. package/dist/esm/typeof-ef2a007d.js +25 -0
  553. package/dist/esm/uk-18ded66c.js +104 -0
  554. package/dist/esm/update-ad0b88fa.js +773 -0
  555. package/dist/esm/utils-0da093e1.js +142 -0
  556. package/dist/esm/utils-30c4c8ca.js +66 -0
  557. package/dist/esm/vi-cee99413.js +70 -0
  558. package/dist/esm/zh-cn-6e204128.js +94 -0
  559. package/dist/esm/zh-hk-ffb02673.js +92 -0
  560. package/dist/esm/zh-tw-0f52dd8c.js +92 -0
  561. package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
  562. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
  563. package/dist/solutions-components/demos/consent-manager.html +56 -0
  564. package/dist/solutions-components/p-0094924f.entry.js +6 -0
  565. package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
  566. package/dist/solutions-components/p-018d1f95.entry.js +6 -0
  567. package/dist/solutions-components/p-025af0b3.entry.js +21 -0
  568. package/dist/solutions-components/p-0549a65c.js +6 -0
  569. package/dist/solutions-components/p-058d0542.js +17 -0
  570. package/dist/solutions-components/p-0668e30d.js +34 -0
  571. package/dist/solutions-components/p-066fc169.js +6 -0
  572. package/dist/solutions-components/p-067e36b2.entry.js +6 -0
  573. package/dist/solutions-components/p-0681b29b.entry.js +11 -0
  574. package/dist/solutions-components/p-0691d1af.entry.js +22 -0
  575. package/dist/solutions-components/p-088a5dca.js +67 -0
  576. package/dist/solutions-components/p-097b80df.js +6 -0
  577. package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
  578. package/dist/solutions-components/p-0a71f549.entry.js +29 -0
  579. package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
  580. package/dist/solutions-components/p-0b1fb6ae.js +36 -0
  581. package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
  582. package/dist/solutions-components/p-0e307601.entry.js +11 -0
  583. package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
  584. package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
  585. package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
  586. package/dist/solutions-components/p-135b2aba.js +16 -0
  587. package/dist/solutions-components/p-13bdb2c0.js +6 -0
  588. package/dist/solutions-components/p-14519a8a.entry.js +11 -0
  589. package/dist/solutions-components/p-1492bb6d.js +6 -0
  590. package/dist/solutions-components/p-1664573a.entry.js +6 -0
  591. package/dist/solutions-components/p-1900f9b1.js +11 -0
  592. package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
  593. package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
  594. package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
  595. package/dist/solutions-components/p-1fb3756b.js +6 -0
  596. package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
  597. package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
  598. package/dist/solutions-components/p-2130a063.entry.js +17 -0
  599. package/dist/solutions-components/p-21f90019.js +21 -0
  600. package/dist/solutions-components/p-230f7315.entry.js +6 -0
  601. package/dist/solutions-components/p-24b42859.entry.js +47 -0
  602. package/dist/solutions-components/p-26f9f9c8.js +11 -0
  603. package/dist/solutions-components/p-270ca219.entry.js +6 -0
  604. package/dist/solutions-components/p-27a91364.entry.js +17 -0
  605. package/dist/solutions-components/p-28498868.entry.js +11 -0
  606. package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
  607. package/dist/solutions-components/p-2ac553f6.js +6 -0
  608. package/dist/solutions-components/p-2b004a83.entry.js +11 -0
  609. package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
  610. package/dist/solutions-components/p-2bc98cb0.js +30 -0
  611. package/dist/solutions-components/p-2d96fdb9.js +6 -0
  612. package/dist/solutions-components/p-2dd8e49c.js +11 -0
  613. package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
  614. package/dist/solutions-components/p-3212300b.entry.js +6 -0
  615. package/dist/solutions-components/p-35245316.entry.js +6 -0
  616. package/dist/solutions-components/p-3643a87a.entry.js +6 -0
  617. package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
  618. package/dist/solutions-components/p-3828e77b.js +11 -0
  619. package/dist/solutions-components/p-38e0f88b.js +17 -0
  620. package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
  621. package/dist/solutions-components/p-3ba80c7c.js +6 -0
  622. package/dist/solutions-components/p-3d1f0434.js +21 -0
  623. package/dist/solutions-components/p-3ffc4738.js +6 -0
  624. package/dist/solutions-components/p-409401ce.js +11 -0
  625. package/dist/solutions-components/p-46159285.js +6 -0
  626. package/dist/solutions-components/p-49a67314.entry.js +6 -0
  627. package/dist/solutions-components/p-4cbdea35.js +129 -0
  628. package/dist/solutions-components/p-4dfc2fc4.js +11 -0
  629. package/dist/solutions-components/p-4f236b5d.js +43 -0
  630. package/dist/solutions-components/p-4f50385f.js +16 -0
  631. package/dist/solutions-components/p-4fe489cf.js +6 -0
  632. package/dist/solutions-components/p-50239e15.entry.js +6 -0
  633. package/dist/solutions-components/p-531f66c7.entry.js +6 -0
  634. package/dist/solutions-components/p-570754a4.js +6 -0
  635. package/dist/solutions-components/p-570b13d9.js +67 -0
  636. package/dist/solutions-components/p-58d53a46.entry.js +6 -0
  637. package/dist/solutions-components/p-59970898.js +6 -0
  638. package/dist/solutions-components/p-59d02697.entry.js +11 -0
  639. package/dist/solutions-components/p-5b2ae6c4.js +6 -0
  640. package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
  641. package/dist/solutions-components/p-5c5cbe3c.js +6 -0
  642. package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
  643. package/dist/solutions-components/p-5cfa35f8.js +6 -0
  644. package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
  645. package/dist/solutions-components/p-5df09fe4.js +31 -0
  646. package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
  647. package/dist/solutions-components/p-5f099cd2.js +6 -0
  648. package/dist/solutions-components/p-60123545.js +6 -0
  649. package/dist/solutions-components/p-6148468f.js +11 -0
  650. package/dist/solutions-components/p-617d2160.js +6 -0
  651. package/dist/solutions-components/p-619a1ad0.js +6 -0
  652. package/dist/solutions-components/p-61d2582e.entry.js +6 -0
  653. package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
  654. package/dist/solutions-components/p-6708060e.js +11 -0
  655. package/dist/solutions-components/p-676a2d60.entry.js +6 -0
  656. package/dist/solutions-components/p-68b5ec37.js +11 -0
  657. package/dist/solutions-components/p-68cf5134.entry.js +12 -0
  658. package/dist/solutions-components/p-694cfe4c.js +6 -0
  659. package/dist/solutions-components/p-6bcde3c4.js +6 -0
  660. package/dist/solutions-components/p-6c73f067.js +16 -0
  661. package/dist/solutions-components/p-6d56f75e.js +11 -0
  662. package/dist/solutions-components/p-6db88e16.entry.js +11 -0
  663. package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
  664. package/dist/solutions-components/p-7053b20e.entry.js +6 -0
  665. package/dist/solutions-components/p-741151d4.js +6 -0
  666. package/dist/solutions-components/p-749fe711.js +6 -0
  667. package/dist/solutions-components/p-7518e92a.js +6 -0
  668. package/dist/solutions-components/p-7802efa1.entry.js +11 -0
  669. package/dist/solutions-components/p-782c71a7.js +6 -0
  670. package/dist/solutions-components/p-78aa10b0.js +6 -0
  671. package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
  672. package/dist/solutions-components/p-7a9e773b.js +6 -0
  673. package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
  674. package/dist/solutions-components/p-7aafba66.js +11 -0
  675. package/dist/solutions-components/p-7d619b04.entry.js +11 -0
  676. package/dist/solutions-components/p-7dc37540.js +11 -0
  677. package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
  678. package/dist/solutions-components/p-7fd55161.entry.js +6 -0
  679. package/dist/solutions-components/p-80168ff4.entry.js +11 -0
  680. package/dist/solutions-components/p-823684a3.js +6 -0
  681. package/dist/solutions-components/p-825ef4a7.js +6 -0
  682. package/dist/solutions-components/p-82d93164.js +11 -0
  683. package/dist/solutions-components/p-82f661c7.entry.js +11 -0
  684. package/dist/solutions-components/p-8378852e.js +6 -0
  685. package/dist/solutions-components/p-85bb5908.js +11 -0
  686. package/dist/solutions-components/p-866a2fad.js +11 -0
  687. package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
  688. package/dist/solutions-components/p-8850bd21.js +21 -0
  689. package/dist/solutions-components/p-896a5fce.entry.js +11 -0
  690. package/dist/solutions-components/p-8df5939f.js +6 -0
  691. package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
  692. package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
  693. package/dist/solutions-components/p-8ff4b2aa.js +488 -0
  694. package/dist/solutions-components/p-94ad391c.js +40 -0
  695. package/dist/solutions-components/p-958c68c2.js +61 -0
  696. package/dist/solutions-components/p-95fcb607.js +6 -0
  697. package/dist/solutions-components/p-97df5300.js +27 -0
  698. package/dist/solutions-components/p-98079396.js +21 -0
  699. package/dist/solutions-components/p-98b1c057.entry.js +6 -0
  700. package/dist/solutions-components/p-9d4f62ca.js +6 -0
  701. package/dist/solutions-components/p-9d733373.entry.js +17 -0
  702. package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
  703. package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
  704. package/dist/solutions-components/p-9f89901b.entry.js +6 -0
  705. package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
  706. package/dist/solutions-components/p-a28502ac.entry.js +6 -0
  707. package/dist/solutions-components/p-a5df8093.entry.js +11 -0
  708. package/dist/solutions-components/p-a757bf75.js +16 -0
  709. package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
  710. package/dist/solutions-components/p-a91fc014.entry.js +6 -0
  711. package/dist/solutions-components/p-aa6656f0.js +6 -0
  712. package/dist/solutions-components/p-abe60b81.entry.js +6 -0
  713. package/dist/solutions-components/p-ad66b010.entry.js +11 -0
  714. package/dist/solutions-components/p-adb57e25.entry.js +6 -0
  715. package/dist/solutions-components/p-add122e7.js +6 -0
  716. package/dist/solutions-components/p-ae357552.entry.js +11 -0
  717. package/dist/solutions-components/p-af4f2d4a.js +11 -0
  718. package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
  719. package/dist/solutions-components/p-b14d2423.entry.js +11 -0
  720. package/dist/solutions-components/p-b1546c15.js +17 -0
  721. package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
  722. package/dist/solutions-components/p-b1f3c713.js +6 -0
  723. package/dist/solutions-components/p-b22046db.js +11 -0
  724. package/dist/solutions-components/p-b290affa.js +17 -0
  725. package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
  726. package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
  727. package/dist/solutions-components/p-b62871c3.entry.js +11 -0
  728. package/dist/solutions-components/p-b6a36bfe.js +6 -0
  729. package/dist/solutions-components/p-b915029b.js +6 -0
  730. package/dist/solutions-components/p-b98e9479.js +11 -0
  731. package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
  732. package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
  733. package/dist/solutions-components/p-bad614c0.entry.js +11 -0
  734. package/dist/solutions-components/p-bb158785.entry.js +11 -0
  735. package/dist/solutions-components/p-bc281e3b.js +6 -0
  736. package/dist/solutions-components/p-bc2b747e.js +6 -0
  737. package/dist/solutions-components/p-be78bc15.entry.js +6 -0
  738. package/dist/solutions-components/p-bf154e41.js +6 -0
  739. package/dist/solutions-components/p-c109e720.js +6 -0
  740. package/dist/solutions-components/p-c115215d.entry.js +6 -0
  741. package/dist/solutions-components/p-c433cc38.js +6 -0
  742. package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
  743. package/dist/solutions-components/p-c5e0e5ef.js +6 -0
  744. package/dist/solutions-components/p-c766823c.entry.js +11 -0
  745. package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
  746. package/dist/solutions-components/p-c8b26c56.js +6 -0
  747. package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
  748. package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
  749. package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
  750. package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
  751. package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
  752. package/dist/solutions-components/p-cea51591.js +16 -0
  753. package/dist/solutions-components/p-d0b1d33f.js +6 -0
  754. package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
  755. package/dist/solutions-components/p-d2a6e970.js +6 -0
  756. package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
  757. package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
  758. package/dist/solutions-components/p-d654b676.entry.js +11 -0
  759. package/dist/solutions-components/p-d65f8b73.js +6 -0
  760. package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
  761. package/dist/solutions-components/p-d96fe526.entry.js +22 -0
  762. package/dist/solutions-components/p-da0cb140.entry.js +11 -0
  763. package/dist/solutions-components/p-da36faca.entry.js +6 -0
  764. package/dist/solutions-components/p-daf6a012.entry.js +6 -0
  765. package/dist/solutions-components/p-dba4704c.js +11 -0
  766. package/dist/solutions-components/p-dd16d94e.js +6 -0
  767. package/dist/solutions-components/p-dd689226.js +11 -0
  768. package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
  769. package/dist/solutions-components/p-df4bfe45.js +6 -0
  770. package/dist/solutions-components/p-dfe18931.js +6 -0
  771. package/dist/solutions-components/p-e2570a80.js +11 -0
  772. package/dist/solutions-components/p-ea9e0a79.js +6 -0
  773. package/dist/solutions-components/p-eb88fddc.js +6 -0
  774. package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
  775. package/dist/solutions-components/p-ef0c43dc.js +6 -0
  776. package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
  777. package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
  778. package/dist/solutions-components/p-f1f356f0.js +7 -0
  779. package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
  780. package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
  781. package/dist/solutions-components/p-f6e81cf8.js +22 -0
  782. package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
  783. package/dist/solutions-components/p-f8ea8e73.js +6 -0
  784. package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
  785. package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
  786. package/dist/solutions-components/p-fe719f16.entry.js +6 -0
  787. package/dist/solutions-components/p-feebdac9.entry.js +17 -0
  788. package/dist/solutions-components/p-ff15447c.entry.js +6 -0
  789. package/dist/solutions-components/solutions-components.esm.js +1 -1
  790. package/dist/solutions-components/utils/interfaces.ts +14 -0
  791. package/dist/types/components/consent-manager/consent-manager.d.ts +24 -21
  792. package/dist/types/components/delete-button/delete-button.d.ts +1 -1
  793. package/dist/types/components/edit-card/edit-card.d.ts +4 -0
  794. package/dist/types/components/layer-table/layer-table.d.ts +55 -7
  795. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
  796. package/dist/types/components/map-picker/map-picker.d.ts +10 -2
  797. package/dist/types/components.d.ts +69 -36
  798. package/dist/types/preact.d.ts +6 -7
  799. package/dist/types/stencil-public-runtime.d.ts +6 -0
  800. package/dist/types/utils/interfaces.d.ts +12 -0
  801. package/package.json +10 -10
  802. package/dist/cjs/ExpandToggle-7cd6bc0d.js +0 -115
  803. package/dist/cjs/FloatingArrow-bf91ebb1.js +0 -48
  804. package/dist/cjs/Heading-ae667128.js +0 -25
  805. package/dist/cjs/IdentityManager-b7fa2f5f.js +0 -4174
  806. package/dist/cjs/Validation-a206c7a2.js +0 -20
  807. package/dist/cjs/app-globals-04574c64.js +0 -67
  808. package/dist/cjs/ar-c930d85d.js +0 -106
  809. package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
  810. package/dist/cjs/bg-a2001c61.js +0 -84
  811. package/dist/cjs/browser-040b13db.js +0 -35
  812. package/dist/cjs/bs-5576dc1b.js +0 -53
  813. package/dist/cjs/ca-220471e9.js +0 -73
  814. package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
  815. package/dist/cjs/calcite-button-ac4b979a.js +0 -281
  816. package/dist/cjs/calcite-dialog-97f38598.js +0 -5875
  817. package/dist/cjs/calcite-input-0ecf3d60.js +0 -1000
  818. package/dist/cjs/calcite-input-time-picker-4020e170.js +0 -1870
  819. package/dist/cjs/calcite-label-8ca1fbce.js +0 -110
  820. package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
  821. package/dist/cjs/calcite-notice-2e248d8d.js +0 -260
  822. package/dist/cjs/common-eee0c33f.js +0 -38
  823. package/dist/cjs/conditionalSlot-489d0ef0.js +0 -54
  824. package/dist/cjs/config-164bf148.js +0 -40
  825. package/dist/cjs/cs-a049b34a.js +0 -149
  826. package/dist/cjs/da-d71057be.js +0 -69
  827. package/dist/cjs/date-831e93f2.js +0 -264
  828. package/dist/cjs/de-at-977ab186.js +0 -92
  829. package/dist/cjs/de-b1eb21d0.js +0 -93
  830. package/dist/cjs/de-ch-486d1e5d.js +0 -92
  831. package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
  832. package/dist/cjs/downloadUtils-f50841bc.js +0 -3240
  833. package/dist/cjs/el-577ee36f.js +0 -68
  834. package/dist/cjs/en-au-e7c3a0f9.js +0 -68
  835. package/dist/cjs/en-ca-111580b6.js +0 -67
  836. package/dist/cjs/en-gb-b061a0ac.js +0 -71
  837. package/dist/cjs/es-ae90d3b8.js +0 -68
  838. package/dist/cjs/es-mx-620f2f82.js +0 -67
  839. package/dist/cjs/et-3b0bd1a9.js +0 -94
  840. package/dist/cjs/fi-8708148b.js +0 -117
  841. package/dist/cjs/floating-ui-a1745c4c.js +0 -2413
  842. package/dist/cjs/focusTrapComponent-59e1194f.js +0 -1013
  843. package/dist/cjs/form-3666a51b.js +0 -370
  844. package/dist/cjs/form-a2adec8c.js +0 -381
  845. package/dist/cjs/fr-9a9d3ce3.js +0 -70
  846. package/dist/cjs/fr-ch-95662c01.js +0 -68
  847. package/dist/cjs/he-f973a740.js +0 -107
  848. package/dist/cjs/helpers-292a0709.js +0 -940
  849. package/dist/cjs/hi-f0b9cea5.js +0 -67
  850. package/dist/cjs/hr-4654706f.js +0 -82
  851. package/dist/cjs/hu-bc3d5588.js +0 -90
  852. package/dist/cjs/icon-96d27ae8.js +0 -979
  853. package/dist/cjs/id-1131b8da.js +0 -68
  854. package/dist/cjs/index-29826564.js +0 -201
  855. package/dist/cjs/index-92385c74.js +0 -1772
  856. package/dist/cjs/index-f052f656.js +0 -2156
  857. package/dist/cjs/index.es-b8c8c931.js +0 -11307
  858. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
  859. package/dist/cjs/interactive-9f715ff8.js +0 -86
  860. package/dist/cjs/interactive-c384fd9b.js +0 -85
  861. package/dist/cjs/it-7a8ec220.js +0 -68
  862. package/dist/cjs/it-ch-f9cb696d.js +0 -68
  863. package/dist/cjs/ja-45b4845d.js +0 -74
  864. package/dist/cjs/ko-61449645.js +0 -74
  865. package/dist/cjs/loadable-9cb8a3cd.js +0 -98
  866. package/dist/cjs/loader-b9aa1d67.js +0 -176
  867. package/dist/cjs/locale-a0772a2b.js +0 -605
  868. package/dist/cjs/locale-afa30303.js +0 -160
  869. package/dist/cjs/locale-f6e0493d.js +0 -1488
  870. package/dist/cjs/logger-e5bdc044.js +0 -61
  871. package/dist/cjs/lt-2e727f9c.js +0 -99
  872. package/dist/cjs/lv-ed202e00.js +0 -68
  873. package/dist/cjs/mk-418a9e03.js +0 -68
  874. package/dist/cjs/nb-333e1c58.js +0 -69
  875. package/dist/cjs/nl-da937865.js +0 -69
  876. package/dist/cjs/observers-ce262300.js +0 -58
  877. package/dist/cjs/openCloseComponent-214808b0.js +0 -66
  878. package/dist/cjs/openCloseComponent-c0b7af22.js +0 -65
  879. package/dist/cjs/pl-cbe57516.js +0 -116
  880. package/dist/cjs/popupUtils-2a425c37.js +0 -121
  881. package/dist/cjs/pt-b1ec4928.js +0 -69
  882. package/dist/cjs/pt-br-e395a325.js +0 -67
  883. package/dist/cjs/publicNotificationStore-1d934df9.js +0 -47
  884. package/dist/cjs/request-9f87ab34.js +0 -21
  885. package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
  886. package/dist/cjs/ro-144b5f62.js +0 -68
  887. package/dist/cjs/ru-bf7d1a3e.js +0 -128
  888. package/dist/cjs/share-item.cjs.entry.js +0 -61
  889. package/dist/cjs/shared-list-render-0b452799.js +0 -361
  890. package/dist/cjs/sk-515227a5.js +0 -150
  891. package/dist/cjs/sl-f879b07d.js +0 -170
  892. package/dist/cjs/solution-resource-40e70253.js +0 -145
  893. package/dist/cjs/solution-store-f3257490.js +0 -1354
  894. package/dist/cjs/sr-0510fba6.js +0 -103
  895. package/dist/cjs/sv-c5fbe1ff.js +0 -73
  896. package/dist/cjs/t9n-e69b3d42.js +0 -108
  897. package/dist/cjs/templates-0b7f886f.js +0 -408
  898. package/dist/cjs/th-8cafcb47.js +0 -67
  899. package/dist/cjs/time-ceec376d.js +0 -301
  900. package/dist/cjs/tr-7f905223.js +0 -68
  901. package/dist/cjs/uk-991e83da.js +0 -106
  902. package/dist/cjs/utils-d8dabd76.js +0 -153
  903. package/dist/cjs/utils-e60dc760.js +0 -79
  904. package/dist/cjs/vi-d5eababe.js +0 -72
  905. package/dist/cjs/zh-cn-e6bc2622.js +0 -96
  906. package/dist/cjs/zh-hk-30480131.js +0 -94
  907. package/dist/cjs/zh-tw-1f3b4cda.js +0 -94
  908. package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
  909. package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
  910. package/dist/collection/components/share-item/share-item.css +0 -19
  911. package/dist/collection/components/share-item/share-item.js +0 -80
  912. package/dist/components/arcgis-login.d.ts +0 -11
  913. package/dist/components/arcgis-login.js +0 -76
  914. package/dist/components/share-item.d.ts +0 -11
  915. package/dist/components/share-item.js +0 -76
  916. package/dist/esm/ExpandToggle-51a5210b.js +0 -108
  917. package/dist/esm/FloatingArrow-41be757a.js +0 -46
  918. package/dist/esm/Heading-62ae5a41.js +0 -22
  919. package/dist/esm/IdentityManager-28f1ebb3.js +0 -4139
  920. package/dist/esm/Validation-e4b3bd31.js +0 -18
  921. package/dist/esm/app-globals-9df1c281.js +0 -65
  922. package/dist/esm/ar-000d3816.js +0 -104
  923. package/dist/esm/arcgis-login.entry.js +0 -57
  924. package/dist/esm/bg-50ceeb3e.js +0 -82
  925. package/dist/esm/browser-13cd5e9f.js +0 -32
  926. package/dist/esm/bs-8de5a54e.js +0 -51
  927. package/dist/esm/ca-3b560649.js +0 -71
  928. package/dist/esm/calcite-alert_6.entry.js +0 -2096
  929. package/dist/esm/calcite-button-3501ac03.js +0 -278
  930. package/dist/esm/calcite-dialog-21f00586.js +0 -5872
  931. package/dist/esm/calcite-input-355d3812.js +0 -997
  932. package/dist/esm/calcite-input-time-picker-0137aecc.js +0 -1867
  933. package/dist/esm/calcite-label-ac4a2e81.js +0 -107
  934. package/dist/esm/calcite-modal.entry.js +0 -389
  935. package/dist/esm/calcite-notice-56c3f190.js +0 -257
  936. package/dist/esm/common-c3bbba83.js +0 -36
  937. package/dist/esm/conditionalSlot-3eb5090f.js +0 -51
  938. package/dist/esm/config-1d142af8.js +0 -36
  939. package/dist/esm/cs-5cdc1d3f.js +0 -147
  940. package/dist/esm/da-30365c90.js +0 -67
  941. package/dist/esm/date-ac9ec758.js +0 -248
  942. package/dist/esm/de-at-941b583e.js +0 -90
  943. package/dist/esm/de-b89def95.js +0 -91
  944. package/dist/esm/de-ch-568c0c8e.js +0 -90
  945. package/dist/esm/delete-dialog.entry.js +0 -127
  946. package/dist/esm/dom-6f6759df.js +0 -1165
  947. package/dist/esm/downloadUtils-74a6bad9.js +0 -3233
  948. package/dist/esm/el-340bad09.js +0 -66
  949. package/dist/esm/en-au-b4bdb56c.js +0 -66
  950. package/dist/esm/en-ca-0a08923c.js +0 -65
  951. package/dist/esm/en-gb-f5381626.js +0 -69
  952. package/dist/esm/es-876b0a13.js +0 -66
  953. package/dist/esm/es-mx-955bc6a1.js +0 -65
  954. package/dist/esm/et-c76bc3b6.js +0 -92
  955. package/dist/esm/fi-52e100ba.js +0 -115
  956. package/dist/esm/floating-ui-5be07261.js +0 -2404
  957. package/dist/esm/focusTrapComponent-821ef6e1.js +0 -1008
  958. package/dist/esm/form-df6403ca.js +0 -362
  959. package/dist/esm/form-fbc745ea.js +0 -372
  960. package/dist/esm/fr-0699e247.js +0 -68
  961. package/dist/esm/fr-ch-c58b9b94.js +0 -66
  962. package/dist/esm/he-68c61be9.js +0 -105
  963. package/dist/esm/helpers-50d61130.js +0 -913
  964. package/dist/esm/hi-32cfce47.js +0 -65
  965. package/dist/esm/hr-962d1e56.js +0 -80
  966. package/dist/esm/hu-d13da86a.js +0 -88
  967. package/dist/esm/icon-3fb97c97.js +0 -959
  968. package/dist/esm/id-6de1980b.js +0 -66
  969. package/dist/esm/index-1b6f06f9.js +0 -199
  970. package/dist/esm/index-3eee2657.js +0 -1736
  971. package/dist/esm/index-e14fade9.js +0 -2154
  972. package/dist/esm/index.es-3b04354a.js +0 -11220
  973. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
  974. package/dist/esm/interactive-62057336.js +0 -82
  975. package/dist/esm/interactive-8a35f349.js +0 -83
  976. package/dist/esm/it-cccb6e82.js +0 -66
  977. package/dist/esm/it-ch-9d87107f.js +0 -66
  978. package/dist/esm/ja-1401a8ec.js +0 -72
  979. package/dist/esm/ko-9f06170e.js +0 -72
  980. package/dist/esm/label-1ef4763d.js +0 -179
  981. package/dist/esm/loadable-bbec26c5.js +0 -93
  982. package/dist/esm/loader-6a8f3dda.js +0 -173
  983. package/dist/esm/locale-22b2e8b1.js +0 -155
  984. package/dist/esm/locale-92d419e3.js +0 -1423
  985. package/dist/esm/locale-9f52f113.js +0 -591
  986. package/dist/esm/logger-5eff868b.js +0 -59
  987. package/dist/esm/lt-61945627.js +0 -97
  988. package/dist/esm/lv-def8646d.js +0 -66
  989. package/dist/esm/mk-db09f1f6.js +0 -66
  990. package/dist/esm/nb-ea4966a3.js +0 -67
  991. package/dist/esm/nl-159f195e.js +0 -67
  992. package/dist/esm/observers-4e931eb6.js +0 -56
  993. package/dist/esm/openCloseComponent-2022c9ab.js +0 -64
  994. package/dist/esm/openCloseComponent-9ae0e1fe.js +0 -63
  995. package/dist/esm/pl-5514150f.js +0 -114
  996. package/dist/esm/popupUtils-685635b7.js +0 -119
  997. package/dist/esm/pt-91415524.js +0 -67
  998. package/dist/esm/pt-br-0f472af4.js +0 -65
  999. package/dist/esm/publicNotificationStore-836d3cb4.js +0 -45
  1000. package/dist/esm/request-d71d6adf.js +0 -19
  1001. package/dist/esm/restHelpersGet-48113381.js +0 -976
  1002. package/dist/esm/ro-decfcb47.js +0 -66
  1003. package/dist/esm/ru-84ce786d.js +0 -126
  1004. package/dist/esm/share-item.entry.js +0 -57
  1005. package/dist/esm/shared-list-render-4dbefca0.js +0 -339
  1006. package/dist/esm/sk-4468c163.js +0 -148
  1007. package/dist/esm/sl-404f285f.js +0 -168
  1008. package/dist/esm/solution-resource-f5809979.js +0 -142
  1009. package/dist/esm/solution-store-5b79fffe.js +0 -1352
  1010. package/dist/esm/sr-152d8bf8.js +0 -101
  1011. package/dist/esm/sv-47115030.js +0 -71
  1012. package/dist/esm/t9n-cbccd1ca.js +0 -103
  1013. package/dist/esm/templates-0b442208.js +0 -402
  1014. package/dist/esm/th-1c539f57.js +0 -65
  1015. package/dist/esm/time-53cad131.js +0 -286
  1016. package/dist/esm/tr-432df990.js +0 -66
  1017. package/dist/esm/uk-46c024d3.js +0 -104
  1018. package/dist/esm/utils-0e3d8992.js +0 -142
  1019. package/dist/esm/utils-d55c5742.js +0 -66
  1020. package/dist/esm/vi-2ad870b8.js +0 -70
  1021. package/dist/esm/zh-cn-1955c2ce.js +0 -94
  1022. package/dist/esm/zh-hk-b32fb4c1.js +0 -92
  1023. package/dist/esm/zh-tw-67bdf163.js +0 -92
  1024. package/dist/solutions-components/p-000848d5.js +0 -6
  1025. package/dist/solutions-components/p-01021fdb.js +0 -6
  1026. package/dist/solutions-components/p-02800894.entry.js +0 -11
  1027. package/dist/solutions-components/p-03434d39.js +0 -11
  1028. package/dist/solutions-components/p-060b853f.entry.js +0 -6
  1029. package/dist/solutions-components/p-0bd7c945.js +0 -6
  1030. package/dist/solutions-components/p-0c985f61.entry.js +0 -6
  1031. package/dist/solutions-components/p-0ca3272e.entry.js +0 -6
  1032. package/dist/solutions-components/p-0ebb1a18.js +0 -11
  1033. package/dist/solutions-components/p-1092fdc9.entry.js +0 -6
  1034. package/dist/solutions-components/p-16afbc95.entry.js +0 -6
  1035. package/dist/solutions-components/p-18c10df7.entry.js +0 -6
  1036. package/dist/solutions-components/p-194bcdd6.entry.js +0 -12
  1037. package/dist/solutions-components/p-197cfd05.js +0 -6
  1038. package/dist/solutions-components/p-1afc6682.js +0 -6
  1039. package/dist/solutions-components/p-1c80d549.entry.js +0 -17
  1040. package/dist/solutions-components/p-1cbec431.entry.js +0 -6
  1041. package/dist/solutions-components/p-1e60d3ea.js +0 -6
  1042. package/dist/solutions-components/p-23c2e69d.entry.js +0 -11
  1043. package/dist/solutions-components/p-23d24056.entry.js +0 -11
  1044. package/dist/solutions-components/p-25ebeb0c.entry.js +0 -11
  1045. package/dist/solutions-components/p-25f84466.entry.js +0 -11
  1046. package/dist/solutions-components/p-25fe9f3e.entry.js +0 -6
  1047. package/dist/solutions-components/p-26ba0cc7.js +0 -17
  1048. package/dist/solutions-components/p-291faeb2.js +0 -6
  1049. package/dist/solutions-components/p-2a6eba20.entry.js +0 -11
  1050. package/dist/solutions-components/p-2b389ce5.entry.js +0 -11
  1051. package/dist/solutions-components/p-2b77a660.entry.js +0 -11
  1052. package/dist/solutions-components/p-2c78f92c.entry.js +0 -11
  1053. package/dist/solutions-components/p-2e193975.entry.js +0 -17
  1054. package/dist/solutions-components/p-32262047.entry.js +0 -11
  1055. package/dist/solutions-components/p-36470f6b.js +0 -6
  1056. package/dist/solutions-components/p-36552016.entry.js +0 -12
  1057. package/dist/solutions-components/p-37ddeea3.js +0 -488
  1058. package/dist/solutions-components/p-3812d485.entry.js +0 -6
  1059. package/dist/solutions-components/p-3948268c.entry.js +0 -6
  1060. package/dist/solutions-components/p-3b312dff.js +0 -6
  1061. package/dist/solutions-components/p-3b451796.js +0 -6
  1062. package/dist/solutions-components/p-3b54163f.js +0 -11
  1063. package/dist/solutions-components/p-3b859054.js +0 -16
  1064. package/dist/solutions-components/p-3cf3c658.entry.js +0 -29
  1065. package/dist/solutions-components/p-3d6698a7.js +0 -11
  1066. package/dist/solutions-components/p-3dfe5cdb.js +0 -6
  1067. package/dist/solutions-components/p-3e4ac28d.entry.js +0 -6
  1068. package/dist/solutions-components/p-3f0f6504.js +0 -6
  1069. package/dist/solutions-components/p-3f18fb1f.js +0 -11
  1070. package/dist/solutions-components/p-3f20a550.entry.js +0 -6
  1071. package/dist/solutions-components/p-3fc70768.entry.js +0 -6
  1072. package/dist/solutions-components/p-405118a8.entry.js +0 -11
  1073. package/dist/solutions-components/p-412759ed.entry.js +0 -11
  1074. package/dist/solutions-components/p-46da7d9f.entry.js +0 -6
  1075. package/dist/solutions-components/p-47fdc484.js +0 -17
  1076. package/dist/solutions-components/p-4858ae16.js +0 -6
  1077. package/dist/solutions-components/p-49888ae8.entry.js +0 -11
  1078. package/dist/solutions-components/p-4a13d8d9.js +0 -6
  1079. package/dist/solutions-components/p-4b1a9c65.js +0 -6
  1080. package/dist/solutions-components/p-4d14be12.entry.js +0 -11
  1081. package/dist/solutions-components/p-50721c04.js +0 -16
  1082. package/dist/solutions-components/p-531c7fdb.js +0 -11
  1083. package/dist/solutions-components/p-535335f2.js +0 -6
  1084. package/dist/solutions-components/p-53bf0fe4.js +0 -6
  1085. package/dist/solutions-components/p-544e3025.entry.js +0 -11
  1086. package/dist/solutions-components/p-55a6c0d1.entry.js +0 -6
  1087. package/dist/solutions-components/p-55b8fab3.entry.js +0 -6
  1088. package/dist/solutions-components/p-564d285a.entry.js +0 -6
  1089. package/dist/solutions-components/p-56b44bf7.entry.js +0 -11
  1090. package/dist/solutions-components/p-57079c91.entry.js +0 -6
  1091. package/dist/solutions-components/p-5732176e.entry.js +0 -47
  1092. package/dist/solutions-components/p-57409415.js +0 -17
  1093. package/dist/solutions-components/p-576843e9.js +0 -11
  1094. package/dist/solutions-components/p-5773023c.entry.js +0 -11
  1095. package/dist/solutions-components/p-5c20cdef.entry.js +0 -11
  1096. package/dist/solutions-components/p-5d1ab17e.entry.js +0 -21
  1097. package/dist/solutions-components/p-5dd95ca6.entry.js +0 -20
  1098. package/dist/solutions-components/p-5e71e72a.js +0 -21
  1099. package/dist/solutions-components/p-5f9afbb9.entry.js +0 -17
  1100. package/dist/solutions-components/p-6155f4e7.js +0 -6
  1101. package/dist/solutions-components/p-619b12c3.entry.js +0 -17
  1102. package/dist/solutions-components/p-61bd743b.entry.js +0 -22
  1103. package/dist/solutions-components/p-64860143.entry.js +0 -11
  1104. package/dist/solutions-components/p-64a569da.entry.js +0 -6
  1105. package/dist/solutions-components/p-6a1a4124.js +0 -6
  1106. package/dist/solutions-components/p-6b8a94f0.entry.js +0 -6
  1107. package/dist/solutions-components/p-6e842050.entry.js +0 -11
  1108. package/dist/solutions-components/p-721bf278.js +0 -6
  1109. package/dist/solutions-components/p-731eb030.js +0 -11
  1110. package/dist/solutions-components/p-73db9e69.entry.js +0 -11
  1111. package/dist/solutions-components/p-73e24177.js +0 -6
  1112. package/dist/solutions-components/p-74b25167.entry.js +0 -11
  1113. package/dist/solutions-components/p-7530a02f.js +0 -30
  1114. package/dist/solutions-components/p-760f833e.js +0 -6
  1115. package/dist/solutions-components/p-7781048a.js +0 -11
  1116. package/dist/solutions-components/p-779c8194.entry.js +0 -6
  1117. package/dist/solutions-components/p-7a1177c0.entry.js +0 -6
  1118. package/dist/solutions-components/p-7c7549b0.js +0 -61
  1119. package/dist/solutions-components/p-7e574f00.js +0 -11
  1120. package/dist/solutions-components/p-80913362.entry.js +0 -11
  1121. package/dist/solutions-components/p-80e05130.entry.js +0 -11
  1122. package/dist/solutions-components/p-81a2f4c3.entry.js +0 -12
  1123. package/dist/solutions-components/p-81c41f7b.entry.js +0 -11
  1124. package/dist/solutions-components/p-82ee3b26.js +0 -7
  1125. package/dist/solutions-components/p-8354374d.entry.js +0 -6
  1126. package/dist/solutions-components/p-844b7f82.entry.js +0 -6
  1127. package/dist/solutions-components/p-8535b484.entry.js +0 -17
  1128. package/dist/solutions-components/p-853db1b6.entry.js +0 -6
  1129. package/dist/solutions-components/p-85c0d237.entry.js +0 -11
  1130. package/dist/solutions-components/p-885b958c.entry.js +0 -6
  1131. package/dist/solutions-components/p-88e8400a.entry.js +0 -11
  1132. package/dist/solutions-components/p-899179d7.js +0 -6
  1133. package/dist/solutions-components/p-8a9d2564.entry.js +0 -11
  1134. package/dist/solutions-components/p-8b60e48a.entry.js +0 -11
  1135. package/dist/solutions-components/p-8d028e6a.entry.js +0 -11
  1136. package/dist/solutions-components/p-8f7a11c9.js +0 -21
  1137. package/dist/solutions-components/p-90240f7f.entry.js +0 -6
  1138. package/dist/solutions-components/p-917b535b.js +0 -11
  1139. package/dist/solutions-components/p-929b5bd1.entry.js +0 -6
  1140. package/dist/solutions-components/p-92c8093d.entry.js +0 -6
  1141. package/dist/solutions-components/p-934a6d75.js +0 -6
  1142. package/dist/solutions-components/p-938fc0cf.entry.js +0 -6
  1143. package/dist/solutions-components/p-94b818bb.js +0 -11
  1144. package/dist/solutions-components/p-973ec320.js +0 -36
  1145. package/dist/solutions-components/p-97b64bea.entry.js +0 -11
  1146. package/dist/solutions-components/p-97e56ccc.js +0 -6
  1147. package/dist/solutions-components/p-9b513db6.entry.js +0 -16
  1148. package/dist/solutions-components/p-9bb44f57.js +0 -65
  1149. package/dist/solutions-components/p-9c33a239.entry.js +0 -6
  1150. package/dist/solutions-components/p-9cc10554.js +0 -6
  1151. package/dist/solutions-components/p-9ce8e34f.js +0 -11
  1152. package/dist/solutions-components/p-9f38488c.js +0 -6
  1153. package/dist/solutions-components/p-a104bc28.js +0 -6
  1154. package/dist/solutions-components/p-a1e6cfd8.js +0 -6
  1155. package/dist/solutions-components/p-a3633e71.entry.js +0 -6
  1156. package/dist/solutions-components/p-a3bc6dd8.entry.js +0 -29
  1157. package/dist/solutions-components/p-a412c674.js +0 -11
  1158. package/dist/solutions-components/p-a4748493.entry.js +0 -11
  1159. package/dist/solutions-components/p-a570536b.js +0 -6
  1160. package/dist/solutions-components/p-a60d197e.entry.js +0 -6
  1161. package/dist/solutions-components/p-a806b4cf.entry.js +0 -17
  1162. package/dist/solutions-components/p-a927a4e4.entry.js +0 -6
  1163. package/dist/solutions-components/p-aaa0d91b.entry.js +0 -11
  1164. package/dist/solutions-components/p-ab2a12e4.entry.js +0 -17
  1165. package/dist/solutions-components/p-abcf272c.entry.js +0 -23
  1166. package/dist/solutions-components/p-ad536cdf.js +0 -11
  1167. package/dist/solutions-components/p-aef6e1f5.js +0 -6
  1168. package/dist/solutions-components/p-b13d3b66.js +0 -6
  1169. package/dist/solutions-components/p-b2064f52.entry.js +0 -6
  1170. package/dist/solutions-components/p-b209d4b9.js +0 -6
  1171. package/dist/solutions-components/p-b2a1177d.entry.js +0 -11
  1172. package/dist/solutions-components/p-b54b2fc6.js +0 -31
  1173. package/dist/solutions-components/p-b56b9a89.js +0 -11
  1174. package/dist/solutions-components/p-b5fe0c3e.entry.js +0 -6
  1175. package/dist/solutions-components/p-b6ea0097.js +0 -6
  1176. package/dist/solutions-components/p-b7b32972.entry.js +0 -6
  1177. package/dist/solutions-components/p-b7b5e88d.entry.js +0 -11
  1178. package/dist/solutions-components/p-b9afb782.entry.js +0 -6
  1179. package/dist/solutions-components/p-b9b3b48a.entry.js +0 -6
  1180. package/dist/solutions-components/p-ba62b5f4.js +0 -16
  1181. package/dist/solutions-components/p-bb9e232f.js +0 -6
  1182. package/dist/solutions-components/p-bba22752.js +0 -6
  1183. package/dist/solutions-components/p-bc47653a.js +0 -6
  1184. package/dist/solutions-components/p-bccc997c.js +0 -6
  1185. package/dist/solutions-components/p-bd220980.js +0 -21
  1186. package/dist/solutions-components/p-bd6a96db.js +0 -6
  1187. package/dist/solutions-components/p-bded7c22.entry.js +0 -6
  1188. package/dist/solutions-components/p-be28e2bf.js +0 -6
  1189. package/dist/solutions-components/p-be7c3f1d.js +0 -6
  1190. package/dist/solutions-components/p-c023fc82.js +0 -6
  1191. package/dist/solutions-components/p-c1160ad0.entry.js +0 -6
  1192. package/dist/solutions-components/p-c26b8546.entry.js +0 -6
  1193. package/dist/solutions-components/p-c2ff1a82.js +0 -6
  1194. package/dist/solutions-components/p-c323117d.js +0 -16
  1195. package/dist/solutions-components/p-c5713c95.entry.js +0 -11
  1196. package/dist/solutions-components/p-c8c16d43.js +0 -11
  1197. package/dist/solutions-components/p-c9b5a34f.js +0 -52
  1198. package/dist/solutions-components/p-ca26f8f8.js +0 -6
  1199. package/dist/solutions-components/p-cb007d2f.js +0 -6
  1200. package/dist/solutions-components/p-cc9e1367.entry.js +0 -6
  1201. package/dist/solutions-components/p-cdadd82c.entry.js +0 -17
  1202. package/dist/solutions-components/p-ce67bbbb.js +0 -11
  1203. package/dist/solutions-components/p-cf46113c.js +0 -6
  1204. package/dist/solutions-components/p-cfc2fae0.entry.js +0 -17
  1205. package/dist/solutions-components/p-d0d020a5.js +0 -37
  1206. package/dist/solutions-components/p-d21f3851.js +0 -11
  1207. package/dist/solutions-components/p-d2c460b9.entry.js +0 -11
  1208. package/dist/solutions-components/p-d4c44a94.js +0 -6
  1209. package/dist/solutions-components/p-dca07fd3.js +0 -143
  1210. package/dist/solutions-components/p-dcfe9514.entry.js +0 -6
  1211. package/dist/solutions-components/p-dd0bee4a.entry.js +0 -6
  1212. package/dist/solutions-components/p-de2fecc0.js +0 -40
  1213. package/dist/solutions-components/p-de44364f.js +0 -11
  1214. package/dist/solutions-components/p-decc356d.entry.js +0 -11
  1215. package/dist/solutions-components/p-e043aae3.js +0 -6
  1216. package/dist/solutions-components/p-e04831b9.js +0 -6
  1217. package/dist/solutions-components/p-e06f90a2.entry.js +0 -11
  1218. package/dist/solutions-components/p-e0e6d099.js +0 -21
  1219. package/dist/solutions-components/p-e21cb40e.entry.js +0 -11
  1220. package/dist/solutions-components/p-e33b7602.js +0 -6
  1221. package/dist/solutions-components/p-e385cdcf.entry.js +0 -11
  1222. package/dist/solutions-components/p-e3e89708.entry.js +0 -11
  1223. package/dist/solutions-components/p-e4206773.entry.js +0 -11
  1224. package/dist/solutions-components/p-e4c16e8f.entry.js +0 -6
  1225. package/dist/solutions-components/p-e6b2432e.entry.js +0 -6
  1226. package/dist/solutions-components/p-e76f93bc.js +0 -11
  1227. package/dist/solutions-components/p-e82a84ac.entry.js +0 -6
  1228. package/dist/solutions-components/p-e9d3365f.js +0 -22
  1229. package/dist/solutions-components/p-eb1edf3e.entry.js +0 -6
  1230. package/dist/solutions-components/p-ebac7396.entry.js +0 -6
  1231. package/dist/solutions-components/p-ecabb824.entry.js +0 -6
  1232. package/dist/solutions-components/p-ecfe49cf.entry.js +0 -6
  1233. package/dist/solutions-components/p-ed50a65b.entry.js +0 -17
  1234. package/dist/solutions-components/p-eda5e49e.entry.js +0 -11
  1235. package/dist/solutions-components/p-ef51b934.js +0 -6
  1236. package/dist/solutions-components/p-f22622b4.js +0 -6
  1237. package/dist/solutions-components/p-f2340619.js +0 -6
  1238. package/dist/solutions-components/p-f33c5883.entry.js +0 -6
  1239. package/dist/solutions-components/p-f4eea8c2.js +0 -67
  1240. package/dist/solutions-components/p-f7653a0b.js +0 -6
  1241. package/dist/solutions-components/p-f876de3f.js +0 -6
  1242. package/dist/solutions-components/p-f87f02a1.entry.js +0 -6
  1243. package/dist/solutions-components/p-faaf42a3.entry.js +0 -11
  1244. package/dist/solutions-components/p-fcd719b7.entry.js +0 -22
  1245. package/dist/solutions-components/p-fd152d68.js +0 -16
  1246. package/dist/solutions-components/p-fdf5a50e.entry.js +0 -11
  1247. package/dist/solutions-components/p-fe43b510.js +0 -17
  1248. package/dist/solutions-components/p-ff609816.entry.js +0 -11
  1249. package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
  1250. package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -0,0 +1,1744 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-d233c7a2.js';
7
+ import { g as getElementDir } from './dom-66c5cd46.js';
8
+ import { u as updateHostInteraction, I as InteractiveContainer } from './interactive-cad37709.js';
9
+ import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-dc3f24a8.js';
10
+ import { c as connectLocalized, d as disconnectLocalized } from './locale-911eca09.js';
11
+ import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-1698878e.js';
12
+ import { S as SLOTS$1 } from './resources-bc66182e.js';
13
+ import { l as loadModules, g as getLocaleComponentStrings } from './locale-586d9375.js';
14
+ import { a as getAllLayers, g as getLayerOrTable } from './mapViewUtils-f54edae3.js';
15
+ import { P as PopupUtils } from './popupUtils-ddb1f6fa.js';
16
+ import './guid-45e997d8.js';
17
+ import './resources-ab131744.js';
18
+ import './browser-e42b9848.js';
19
+ import './key-2e7789c2.js';
20
+ import './observers-ab3d6528.js';
21
+ import './esri-loader-c6842c6b.js';
22
+ import './_commonjsHelpers-089957fe.js';
23
+ import './interfaces-659e3836.js';
24
+ import './downloadUtils-8ba094d7.js';
25
+ import './typeof-ef2a007d.js';
26
+ import './index-d88c3eb6.js';
27
+ import './solution-resource-30a29505.js';
28
+ import './restHelpersGet-a7fda344.js';
29
+ import './update-ad0b88fa.js';
30
+
31
+ /*!
32
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
33
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
34
+ * v2.13.2
35
+ */
36
+ const CSS = {
37
+ backButton: "back-button",
38
+ };
39
+ const ICONS = {
40
+ backLeft: "chevron-left",
41
+ backRight: "chevron-right",
42
+ };
43
+ const SLOTS = {
44
+ actionBar: "action-bar",
45
+ alerts: "alerts",
46
+ contentTop: "content-top",
47
+ contentBottom: "content-bottom",
48
+ headerActionsStart: "header-actions-start",
49
+ headerActionsEnd: "header-actions-end",
50
+ headerMenuActions: "header-menu-actions",
51
+ headerContent: "header-content",
52
+ fab: "fab",
53
+ footer: "footer",
54
+ footerActions: "footer-actions",
55
+ footerEnd: "footer-end",
56
+ footerStart: "footer-start",
57
+ };
58
+
59
+ const flowItemCss = ":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}";
60
+ const CalciteFlowItemStyle0 = flowItemCss;
61
+
62
+ const FlowItem = class {
63
+ constructor(hostRef) {
64
+ registerInstance(this, hostRef);
65
+ this.calciteFlowItemBack = createEvent(this, "calciteFlowItemBack", 7);
66
+ this.calciteFlowItemScroll = createEvent(this, "calciteFlowItemScroll", 6);
67
+ this.calciteFlowItemClose = createEvent(this, "calciteFlowItemClose", 6);
68
+ this.calciteFlowItemToggle = createEvent(this, "calciteFlowItemToggle", 6);
69
+ // --------------------------------------------------------------------------
70
+ //
71
+ // Private Methods
72
+ //
73
+ // --------------------------------------------------------------------------
74
+ this.handleInternalPanelScroll = (event) => {
75
+ if (event.target !== this.containerEl) {
76
+ return;
77
+ }
78
+ event.stopPropagation();
79
+ this.calciteFlowItemScroll.emit();
80
+ };
81
+ this.handleInternalPanelClose = (event) => {
82
+ if (event.target !== this.containerEl) {
83
+ return;
84
+ }
85
+ event.stopPropagation();
86
+ this.closed = true;
87
+ this.calciteFlowItemClose.emit();
88
+ };
89
+ this.handleInternalPanelToggle = (event) => {
90
+ if (event.target !== this.containerEl) {
91
+ return;
92
+ }
93
+ event.stopPropagation();
94
+ this.collapsed = event.target.collapsed;
95
+ this.calciteFlowItemToggle.emit();
96
+ };
97
+ this.backButtonClick = () => {
98
+ this.calciteFlowItemBack.emit();
99
+ };
100
+ this.setBackRef = (node) => {
101
+ this.backButtonEl = node;
102
+ };
103
+ this.setContainerRef = (node) => {
104
+ this.containerEl = node;
105
+ };
106
+ this.closable = false;
107
+ this.closed = false;
108
+ this.collapsed = false;
109
+ this.collapseDirection = "down";
110
+ this.collapsible = false;
111
+ this.beforeBack = undefined;
112
+ this.beforeClose = undefined;
113
+ this.description = undefined;
114
+ this.disabled = false;
115
+ this.heading = undefined;
116
+ this.headingLevel = undefined;
117
+ this.loading = false;
118
+ this.menuOpen = false;
119
+ this.messageOverrides = undefined;
120
+ this.messages = undefined;
121
+ this.overlayPositioning = "absolute";
122
+ this.scale = "m";
123
+ this.showBackButton = false;
124
+ this.defaultMessages = undefined;
125
+ this.effectiveLocale = "";
126
+ }
127
+ onMessagesChange() {
128
+ /* wired up by t9n util */
129
+ }
130
+ //--------------------------------------------------------------------------
131
+ //
132
+ // Lifecycle
133
+ //
134
+ //--------------------------------------------------------------------------
135
+ connectedCallback() {
136
+ connectLocalized(this);
137
+ connectMessages(this);
138
+ }
139
+ async componentWillLoad() {
140
+ await setUpMessages(this);
141
+ setUpLoadableComponent(this);
142
+ }
143
+ componentDidRender() {
144
+ updateHostInteraction(this);
145
+ }
146
+ disconnectedCallback() {
147
+ disconnectLocalized(this);
148
+ disconnectMessages(this);
149
+ }
150
+ componentDidLoad() {
151
+ setComponentLoaded(this);
152
+ }
153
+ effectiveLocaleChange() {
154
+ updateMessages(this, this.effectiveLocale);
155
+ }
156
+ // --------------------------------------------------------------------------
157
+ //
158
+ // Methods
159
+ //
160
+ // --------------------------------------------------------------------------
161
+ /**
162
+ * Sets focus on the component.
163
+ *
164
+ * @returns promise.
165
+ */
166
+ async setFocus() {
167
+ await componentFocusable(this);
168
+ const { backButtonEl, containerEl } = this;
169
+ if (backButtonEl) {
170
+ return backButtonEl.setFocus();
171
+ }
172
+ else if (containerEl) {
173
+ return containerEl.setFocus();
174
+ }
175
+ }
176
+ /**
177
+ * Scrolls the component's content to a specified set of coordinates.
178
+ *
179
+ * @example
180
+ * myCalciteFlowItem.scrollContentTo({
181
+ * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
182
+ * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
183
+ * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
184
+ * });
185
+ * @param options - allows specific coordinates to be defined.
186
+ * @returns - promise that resolves once the content is scrolled to.
187
+ */
188
+ async scrollContentTo(options) {
189
+ await this.containerEl?.scrollContentTo(options);
190
+ }
191
+ // --------------------------------------------------------------------------
192
+ //
193
+ // Render Methods
194
+ //
195
+ // --------------------------------------------------------------------------
196
+ renderBackButton() {
197
+ const { el } = this;
198
+ const rtl = getElementDir(el) === "rtl";
199
+ const { showBackButton, backButtonClick, messages } = this;
200
+ const label = messages.back;
201
+ const icon = rtl ? ICONS.backRight : ICONS.backLeft;
202
+ return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label, title: label })) : null;
203
+ }
204
+ render() {
205
+ const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, overlayPositioning, beforeClose, } = this;
206
+ return (h(Host, { key: '2e7872bb2687db0b67ddbf375f8ec0beaabbda36' }, h(InteractiveContainer, { key: 'a9418954405a2cec2092bae3be5d77f02306e3c9', disabled: disabled }, h("calcite-panel", { key: 'd563c751421bf2d66c03286deaa613e09f585546', beforeClose: beforeClose, closable: closable, closed: closed, collapseDirection: collapseDirection, collapsed: collapsed, collapsible: collapsible, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handleInternalPanelClose, onCalcitePanelScroll: this.handleInternalPanelScroll, onCalcitePanelToggle: this.handleInternalPanelToggle, overlayPositioning: overlayPositioning, ref: this.setContainerRef, scale: this.scale }, this.renderBackButton(), h("slot", { key: 'c506ec8bb4debbd6a9da6c7941878de49776f614', name: SLOTS.actionBar, slot: SLOTS$1.actionBar }), h("slot", { key: 'e76e55e654ff878acff734bdf387402a9e262159', name: SLOTS.alerts, slot: SLOTS$1.alerts }), h("slot", { key: 'f7ab8839d7b101e31087130ebf3e36af1ec7da24', name: SLOTS.headerActionsStart, slot: SLOTS$1.headerActionsStart }), h("slot", { key: '2932c4c15b168732356b8e55fcc3064f5b3f4cf5', name: SLOTS.headerActionsEnd, slot: SLOTS$1.headerActionsEnd }), h("slot", { key: '1ef8a9050683022733695445092f8c626487d87b', name: SLOTS.headerContent, slot: SLOTS$1.headerContent }), h("slot", { key: '24c0ab570a601a6c0edfb0c820e580fd24b158ce', name: SLOTS.headerMenuActions, slot: SLOTS$1.headerMenuActions }), h("slot", { key: 'ec55bbe7ba939a6efb35225850c37a1aadb97275', name: SLOTS.fab, slot: SLOTS$1.fab }), h("slot", { key: 'aa0bfec47656ef9f7f575cd933897a7909e5badc', name: SLOTS.contentTop, slot: SLOTS$1.contentTop }), h("slot", { key: 'e23532d080e2df529c2aeb6af043c6efe7a0ab6d', name: SLOTS.contentBottom, slot: SLOTS$1.contentBottom }), h("slot", { key: 'db6ffc0d9300c77067a4c88ab277de685c7713af', name: SLOTS.footerStart, slot: SLOTS$1.footerStart }), h("slot", { key: '5f249356da9292f34c4036d0d0741f048fe999e9', name: SLOTS.footer, slot: SLOTS$1.footer }), h("slot", { key: '7476137bacc0f3be5c97682c5027f74d73254765', name: SLOTS.footerEnd, slot: SLOTS$1.footerEnd }), h("slot", { key: '58f60a46c42a05abe9b100a57d478d991e4f25bc', name: SLOTS.footerActions, slot: SLOTS$1.footerActions }), h("slot", { key: '926a8d94b76b6fcdef6dfd219ba8180c44f81c35' })))));
207
+ }
208
+ static get assetsDirs() { return ["assets"]; }
209
+ get el() { return getElement(this); }
210
+ static get watchers() { return {
211
+ "messageOverrides": ["onMessagesChange"],
212
+ "effectiveLocale": ["effectiveLocaleChange"]
213
+ }; }
214
+ };
215
+ FlowItem.style = CalciteFlowItemStyle0;
216
+
217
+ const createFeatureCss = ":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}}";
218
+ const CreateFeatureStyle0 = createFeatureCss;
219
+
220
+ const CreateFeature = class {
221
+ constructor(hostRef) {
222
+ registerInstance(this, hostRef);
223
+ this.success = createEvent(this, "success", 7);
224
+ this.fail = createEvent(this, "fail", 7);
225
+ this.drawComplete = createEvent(this, "drawComplete", 7);
226
+ this.editingAttachment = createEvent(this, "editingAttachment", 7);
227
+ this.progressStatus = createEvent(this, "progressStatus", 7);
228
+ this.modeChanged = createEvent(this, "modeChanged", 7);
229
+ this.mapView = undefined;
230
+ this.selectedLayerId = undefined;
231
+ this.customizeSubmit = false;
232
+ this.locale = undefined;
233
+ this.searchConfiguration = undefined;
234
+ this.isMobile = undefined;
235
+ this.floorLevel = undefined;
236
+ this.formElements = undefined;
237
+ this.enableSearch = false;
238
+ this.showGuidingMsg = true;
239
+ this.showGuidingMsgWhileDrawing = true;
240
+ this._editorLoading = false;
241
+ this._currentPage = "templatePicker";
242
+ this._translations = undefined;
243
+ }
244
+ get el() { return getElement(this); }
245
+ //--------------------------------------------------------------------------
246
+ //
247
+ // Properties (protected)
248
+ //
249
+ //--------------------------------------------------------------------------
250
+ /**
251
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
252
+ * The Editor constructor
253
+ */
254
+ Editor;
255
+ /**
256
+ * esri/form/ExpressionInfo: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html
257
+ * The ExpressionInfo constructor
258
+ */
259
+ ExpressionInfo;
260
+ /**
261
+ * esri/form/elements/FieldElement: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html
262
+ * The FieldElement constructor
263
+ */
264
+ FieldElement;
265
+ /**
266
+ * esri/form/FormTemplate: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html
267
+ */
268
+ FormTemplate;
269
+ /**
270
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
271
+ * The Editor instance
272
+ */
273
+ _editor;
274
+ /**
275
+ * https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
276
+ * The Feature layer instance
277
+ */
278
+ FeatureLayer;
279
+ /**
280
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
281
+ * The MapView instance
282
+ */
283
+ MapView;
284
+ /**
285
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
286
+ * Updated map view instance
287
+ */
288
+ _updatedMapView;
289
+ /**
290
+ * esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
291
+ * The Search instance
292
+ */
293
+ Search;
294
+ /**
295
+ * "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
296
+ * The Search instance
297
+ */
298
+ _search;
299
+ /**
300
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
301
+ */
302
+ reactiveUtils;
303
+ /**
304
+ * boolean: Flag to maintain the add attachment
305
+ */
306
+ _addingAttachment;
307
+ /**
308
+ * HTMLDivElement: The node the editor will be added to
309
+ */
310
+ _container;
311
+ /**
312
+ * HTMLDivElement: The node for the map view
313
+ */
314
+ _mapViewContainer;
315
+ /**
316
+ * boolean: Flag to maintain form submission using submit button
317
+ */
318
+ _isSubmitBtnClicked = false;
319
+ /**
320
+ * __esri.FeatureLayer: selected feature layer;
321
+ */
322
+ _selectedLayer;
323
+ /**
324
+ * HTMLDivElement: refrence for search div element
325
+ */
326
+ _searchDiv;
327
+ /**
328
+ * HTMLCalciteNoticeElement: calcite notice refrence element
329
+ */
330
+ _calciteNotice;
331
+ //--------------------------------------------------------------------------
332
+ //
333
+ // Watch handlers
334
+ //
335
+ //--------------------------------------------------------------------------
336
+ /**
337
+ * Fetch translations when the locale is updated
338
+ */
339
+ async localeWatchHandler() {
340
+ // to support url param and language switcher
341
+ this.el.lang = this.locale;
342
+ await this._getTranslations();
343
+ }
344
+ /**
345
+ * Called each time the mapView prop is changed.
346
+ */
347
+ async mapViewWatchHandler() {
348
+ await this.mapView.when(async () => {
349
+ await this.init();
350
+ });
351
+ }
352
+ /**
353
+ * Called each time when isMobile prop is changed.
354
+ */
355
+ async isMobileHandler() {
356
+ // emit an event when mode is changed to back to the feature selection panel (to avoid multiple maps conflict)
357
+ this.modeChanged.emit();
358
+ }
359
+ /**
360
+ * When _editorLoading is true the container node will be hidden while starting the create workflow
361
+ */
362
+ async _editorLoadingWatchHandler(v) {
363
+ if (v) {
364
+ this._container?.classList.add("display-none");
365
+ if (this._selectedLayer?.isTable) {
366
+ const template = this._selectedLayer.templates[0];
367
+ const creationInfo = {
368
+ layer: this._selectedLayer,
369
+ template
370
+ };
371
+ await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(creationInfo);
372
+ await this.hideEditorsElements();
373
+ }
374
+ else {
375
+ await this.startCreate();
376
+ }
377
+ this._container?.classList.remove("display-none");
378
+ this._editorLoading = false;
379
+ }
380
+ }
381
+ //--------------------------------------------------------------------------
382
+ //
383
+ // Methods (public)
384
+ //
385
+ //--------------------------------------------------------------------------
386
+ /**
387
+ * Submit the created feature
388
+ * @returns Promise that resolves when the operation is complete
389
+ */
390
+ async submit() {
391
+ if (this._editor) {
392
+ this._isSubmitBtnClicked = true;
393
+ this._editor.viewModel.featureFormViewModel.submit();
394
+ }
395
+ }
396
+ /**
397
+ * refresh the feature form
398
+ * @returns Promise that resolves when the operation is complete
399
+ */
400
+ async refresh(floorLevel) {
401
+ if (this._editor) {
402
+ void this._setFloorLevel(floorLevel);
403
+ }
404
+ }
405
+ //--------------------------------------------------------------------------
406
+ //
407
+ // Events (public)
408
+ //
409
+ //--------------------------------------------------------------------------
410
+ /**
411
+ * Emitted on demand when the feature is created successfully
412
+ */
413
+ success;
414
+ /**
415
+ * Emitted on demand when the feature creation is failed
416
+ */
417
+ fail;
418
+ /**
419
+ * Emitted on demand when drawing is completed
420
+ */
421
+ drawComplete;
422
+ /**
423
+ * Emitted on demand when editing attachments
424
+ */
425
+ editingAttachment;
426
+ /**
427
+ * Emitted on demand when editor panel changes
428
+ */
429
+ progressStatus;
430
+ /**
431
+ * Emitted on switched form mobile to desktop or vice versa
432
+ */
433
+ modeChanged;
434
+ //--------------------------------------------------------------------------
435
+ //
436
+ // Functions (lifecycle)
437
+ //
438
+ //--------------------------------------------------------------------------
439
+ /**
440
+ * StencilJS: Called once just after the component is first connected to the DOM.
441
+ * @returns Promise when complete
442
+ */
443
+ async componentWillLoad() {
444
+ await this._getTranslations();
445
+ await this.initModules();
446
+ }
447
+ /**
448
+ * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
449
+ */
450
+ async componentDidLoad() {
451
+ await this.init();
452
+ }
453
+ /**
454
+ * Called after each render
455
+ * Used to adjust the map top in case of mobile
456
+ */
457
+ componentDidRender() {
458
+ // update the map top according to space occupied by notice msg and search
459
+ if (this.isMobile) {
460
+ // get the height of notice, search and add 80px(editor msg) height to adjust the map top
461
+ const top = this._calciteNotice.offsetHeight + this._searchDiv.offsetHeight + 80;
462
+ this._mapViewContainer.style.top = `${top}px`;
463
+ }
464
+ }
465
+ /**
466
+ * StencilJS: Called every time the component is disconnected from the DOM,
467
+ */
468
+ disconnectedCallback() {
469
+ if (this._editor) {
470
+ this._editor.destroy();
471
+ }
472
+ }
473
+ /**
474
+ * Renders the component.
475
+ */
476
+ render() {
477
+ const showSearchWidget = this._currentPage === 'drawing' ? "" : "display-none";
478
+ const loaderClass = this._editorLoading ? "" : "display-none";
479
+ const featureFormClass = this._editorLoading ? "display-none" : "";
480
+ const mobileMapClass = this.isMobile ? "show-map" : "display-none";
481
+ // hide guiding msg for drawing page when showGuidingMsgWhileDrawing is false
482
+ const showGuidingMsg = this.showGuidingMsg && (this.showGuidingMsgWhileDrawing || this._currentPage !== "drawing");
483
+ let guidingMsg = this._translations.chooseCategoryMsg;
484
+ if (this._currentPage === 'drawing') {
485
+ guidingMsg = this._translations.provideLocationMsg;
486
+ }
487
+ else if (this._currentPage === 'featureForm') {
488
+ guidingMsg = this._translations.provideDetailsMsg;
489
+ }
490
+ return (h(Fragment, { key: '5ff1ae8fd3d3ca323e4a4cf58118632de8f666e8' }, showGuidingMsg && h("calcite-notice", { key: '908e0893f38e70a76541da6b102ff2664caeb5f1', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '2b070778d3d9d864ba4a3d0be2d766d5a2ddc398', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '1cc22fb1a2db9c69538dc72953c9a6181d197a17', class: loaderClass, label: "", scale: "s" }), h("div", { key: '68f8fb63bfb05aba67ac9b4906d61f0267718033', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
491
+ h("div", { key: 'a7688f8306d4c10a8abb45200fd89785cda444d8', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: 'ffed98a27fdc673fdbadc88533344d338f554ff3', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
492
+ }
493
+ //--------------------------------------------------------------------------
494
+ //
495
+ // Functions (protected)
496
+ //
497
+ //--------------------------------------------------------------------------
498
+ /**
499
+ * Init Editor widget and Search widget
500
+ */
501
+ async init() {
502
+ if (this.mapView && this.selectedLayerId) {
503
+ this._updatedMapView = this.mapView;
504
+ // In mobile mode show the map in panel
505
+ await (this.isMobile ? this.createMobileMapView() : this._loadWidgets());
506
+ }
507
+ }
508
+ /**
509
+ * Load esri javascript api modules
510
+ * @returns Promise resolving when function is done
511
+ * @protected
512
+ */
513
+ async initModules() {
514
+ const [Editor, reactiveUtils, Search, ExpressionInfo, FieldElement, FormTemplate, MapView] = await loadModules([
515
+ "esri/widgets/Editor",
516
+ "esri/core/reactiveUtils",
517
+ "esri/widgets/Search",
518
+ "esri/form/ExpressionInfo",
519
+ "esri/form/elements/FieldElement",
520
+ "esri/form/FormTemplate",
521
+ "esri/views/MapView"
522
+ ]);
523
+ this.Editor = Editor;
524
+ this.reactiveUtils = reactiveUtils;
525
+ this.Search = Search;
526
+ this.ExpressionInfo = ExpressionInfo;
527
+ this.FieldElement = FieldElement;
528
+ this.FormTemplate = FormTemplate;
529
+ this.MapView = MapView;
530
+ }
531
+ /**
532
+ * updates the map view (in case of mobile)
533
+ * @protected
534
+ */
535
+ async createMobileMapView() {
536
+ this._mapViewContainer.classList.add('hide-map');
537
+ await new this.MapView({
538
+ map: this.mapView.map,
539
+ container: this._mapViewContainer,
540
+ zoom: this.mapView.zoom
541
+ }).when((view) => {
542
+ // update the mapView and load all widgets
543
+ this._updatedMapView = view;
544
+ void this._loadWidgets();
545
+ }, (e) => {
546
+ console.log(e);
547
+ });
548
+ }
549
+ /**
550
+ * Loads the Editor and Search widgets
551
+ * @protected
552
+ */
553
+ async _loadWidgets() {
554
+ await this.createEditorWidget();
555
+ if (this.enableSearch) {
556
+ await this.createSearchWidget();
557
+ }
558
+ }
559
+ /**
560
+ * Display editor widget to create the new feature
561
+ * @protected
562
+ */
563
+ async createEditorWidget() {
564
+ if (this._editor) {
565
+ this._editor.destroy();
566
+ }
567
+ const layerInfos = [];
568
+ this._container = document.createElement("div");
569
+ this._container?.classList.add("display-none");
570
+ const allMapLayers = await getAllLayers(this._updatedMapView);
571
+ this._selectedLayer = await getLayerOrTable(this.mapView, this.selectedLayerId);
572
+ // if layer is selected then only use the layerInfos while initializing the editor widget
573
+ if (!this._selectedLayer?.isTable) {
574
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
575
+ allMapLayers.forEach(async (eachLayer) => {
576
+ layerInfos.push({
577
+ layer: eachLayer,
578
+ enabled: eachLayer?.type === "feature" && eachLayer?.id === this.selectedLayerId,
579
+ addEnabled: true, // default is true, set to false to disable the ability to add a new feature
580
+ updateEnabled: false, // if true, enable ability to edit an existing feature
581
+ deleteEnabled: false // default is true, set to false to disable the ability to delete features
582
+ });
583
+ });
584
+ }
585
+ this._editor = new this.Editor({
586
+ view: this._updatedMapView,
587
+ layerInfos: layerInfos,
588
+ visibleElements: {
589
+ snappingControls: false,
590
+ createFeaturesSection: true,
591
+ editFeaturesSection: false
592
+ },
593
+ container: this._container
594
+ });
595
+ if (this._mapViewContainer) {
596
+ this.el.insertBefore(this._container, this._mapViewContainer);
597
+ }
598
+ else {
599
+ this.el.appendChild(this._container);
600
+ }
601
+ //Add handle to watch if attachments are added/edited
602
+ const attachmentHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
603
+ if (state === 'adding-attachment' || state === 'editing-attachment') {
604
+ this._addingAttachment = true;
605
+ this.editingAttachment.emit(true);
606
+ }
607
+ else {
608
+ if (this._addingAttachment) {
609
+ this.editingAttachment.emit(false);
610
+ this._addingAttachment = false;
611
+ }
612
+ }
613
+ });
614
+ this._editor.viewModel.addHandles(attachmentHandle);
615
+ //Add handle to watch featureTemplatesViewModel ready state and then start the creation
616
+ const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
617
+ if (state === 'ready' && this._editor.viewModel?.activeWorkflow?.type !== "create-features") {
618
+ this.progressStatus.emit(0.5);
619
+ this._editorLoading = true;
620
+ }
621
+ });
622
+ this._editor.viewModel.addHandles(handle);
623
+ //Add handle to watch featureFormViewModel ready state
624
+ const formHandle = this.reactiveUtils.watch(() => this._editor.viewModel.featureFormViewModel?.state, (state) => {
625
+ if (state === 'ready') {
626
+ this._mapViewContainer?.classList?.replace("show-map", "hide-map");
627
+ this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
628
+ setTimeout(() => {
629
+ void this._setFloorLevel(this.floorLevel);
630
+ }, 50);
631
+ this._currentPage = 'featureForm';
632
+ this.progressStatus.emit(1);
633
+ this.drawComplete.emit();
634
+ }
635
+ });
636
+ this._editor.viewModel.addHandles(formHandle);
637
+ //Add handle to watch editor viewmodel state and then show the search widget
638
+ const createFeatureHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
639
+ if (state === 'creating-features') {
640
+ if (this._editor.viewModel.featureFormViewModel.state === 'disabled') {
641
+ this._mapViewContainer?.classList?.replace("hide-map", "show-map");
642
+ if (this._selectedLayer && !this._selectedLayer.isTable) {
643
+ this._currentPage = 'drawing';
644
+ }
645
+ }
646
+ }
647
+ });
648
+ this._editor.viewModel.addHandles(createFeatureHandle);
649
+ }
650
+ /**
651
+ * Start creating the feature
652
+ * @protected
653
+ */
654
+ async startCreate() {
655
+ // hides the header elements on template picker page
656
+ await this.hideEditorsElements();
657
+ return new Promise((resolve, reject) => {
658
+ if (this._editor.viewModel.featureTemplatesViewModel.items?.length) {
659
+ const items = this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");
660
+ //once the feature template is selected handle the event for formSubmit and sketch complete
661
+ //also, hide the headers and footer in the editor as we will be showing our own submit and cancel button
662
+ this._editor.viewModel.featureTemplatesViewModel.on('select', () => {
663
+ this.progressStatus.emit(0.75);
664
+ setTimeout(() => {
665
+ //hides the header and footer elements in editor widget
666
+ this.hideEditorsElements().then(() => {
667
+ resolve({});
668
+ }, e => reject(e));
669
+ }, 700);
670
+ });
671
+ //if only one feature template then directly start geometry creation for that
672
+ if (items.length === 1) {
673
+ this._editor.viewModel.featureTemplatesViewModel.select(items[0]);
674
+ }
675
+ const resolvePromise = items.length > 1;
676
+ this.hideEditorsElements().then(() => {
677
+ if (resolvePromise) {
678
+ resolve({});
679
+ }
680
+ }, e => resolvePromise && reject(e));
681
+ }
682
+ });
683
+ }
684
+ /**
685
+ * Display search widget to search location
686
+ * @protected
687
+ */
688
+ async createSearchWidget() {
689
+ let searchOptions = {
690
+ view: this._updatedMapView,
691
+ };
692
+ if (this.searchConfiguration) {
693
+ const searchConfiguration = this._getSearchConfig(this.searchConfiguration, this._updatedMapView);
694
+ searchOptions = {
695
+ ...searchConfiguration
696
+ };
697
+ }
698
+ this._search = new this.Search(searchOptions);
699
+ this._search.container = 'search-widget-ref';
700
+ this._search.popupEnabled = false;
701
+ this._search.resultGraphicEnabled = false;
702
+ let pointGeometry = null;
703
+ // on search get the geometry of the searched location and pass it in sketchViewModel and go to featureForm page
704
+ this._search.on('search-complete', (e) => {
705
+ void this._updatedMapView.goTo(e.results[0].results[0].extent);
706
+ if (this._selectedLayer.geometryType === 'point') {
707
+ pointGeometry = e.results[0].results[0]?.feature.geometry;
708
+ }
709
+ });
710
+ //Add handle to watch if search viewModel state is ready
711
+ const createFeatureHandle = this.reactiveUtils.watch(() => this._search.viewModel.state, (state) => {
712
+ if (state === 'ready') {
713
+ setTimeout(() => {
714
+ if (this._editor.viewModel.sketchViewModel.createGraphic && pointGeometry) {
715
+ this._editor.viewModel.sketchViewModel.createGraphic.set('geometry', pointGeometry);
716
+ this._editor.viewModel.sketchViewModel.complete();
717
+ void this.hideEditorsElements();
718
+ }
719
+ }, 100);
720
+ }
721
+ });
722
+ this._search.viewModel.addHandles(createFeatureHandle);
723
+ }
724
+ /**
725
+ * Initialize the search widget based on user defined configuration
726
+ *
727
+ * @param searchConfiguration search configuration defined by the user
728
+ * @param view the current map view
729
+ *
730
+ * @protected
731
+ */
732
+ _getSearchConfig(searchConfiguration, view) {
733
+ const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
734
+ const sources = searchConfiguration.sources;
735
+ if (sources?.length > 0) {
736
+ searchConfiguration[INCLUDE_DEFAULT_SOURCES] = false;
737
+ sources.forEach((source) => {
738
+ const isLayerSource = source.hasOwnProperty("layer");
739
+ if (isLayerSource) {
740
+ const layerSource = source;
741
+ const layerId = layerSource.layer?.id;
742
+ const layerFromMap = layerId ? view.map.findLayerById(layerId) : null;
743
+ const layerUrl = layerSource?.layer?.url;
744
+ if (layerFromMap) {
745
+ layerSource.layer = layerFromMap;
746
+ }
747
+ else if (layerUrl) {
748
+ layerSource.layer = new this.FeatureLayer(layerUrl);
749
+ }
750
+ }
751
+ });
752
+ sources?.forEach((source) => {
753
+ const isLocatorSource = source.hasOwnProperty("locator");
754
+ if (isLocatorSource) {
755
+ const locatorSource = source;
756
+ if (locatorSource?.name === "ArcGIS World Geocoding Service") {
757
+ const outFields = locatorSource.outFields || ["Addr_type", "Match_addr", "StAddr", "City"];
758
+ locatorSource.outFields = outFields;
759
+ locatorSource.singleLineFieldName = "SingleLine";
760
+ }
761
+ locatorSource.url = locatorSource.url;
762
+ delete locatorSource.url;
763
+ }
764
+ });
765
+ }
766
+ else {
767
+ searchConfiguration = {
768
+ ...searchConfiguration,
769
+ includeDefaultSources: true
770
+ };
771
+ }
772
+ return searchConfiguration;
773
+ }
774
+ /**
775
+ * Add the floor level value to form
776
+ * @param level selected floor level
777
+ *
778
+ * @protected
779
+ */
780
+ async _setFloorLevel(level) {
781
+ if (!level) {
782
+ return;
783
+ }
784
+ const layer = this._selectedLayer;
785
+ if (layer?.floorInfo?.floorField) {
786
+ const layerField = layer.fields.find((field) => field.name === layer.floorInfo.floorField);
787
+ // if layer field is present and form template is not present only then we can set value of floorfield into feature form otherwise create a mannual formtemplate to add the floorfeild element
788
+ if (layerField && !layer?.formTemplate) {
789
+ this._editor.viewModel.featureFormViewModel.setValue(layerField.name, level);
790
+ layerField.editable = false;
791
+ }
792
+ else if (layer.formTemplate && this.formElements) {
793
+ const floorInfoExpression = new this.ExpressionInfo({
794
+ expression: `"${level}"`,
795
+ name: "floor-info-test",
796
+ title: "Floor Info",
797
+ returnType: "string"
798
+ });
799
+ const levelIdFieldElement = new this.FieldElement({
800
+ label: layer.floorInfo.floorField,
801
+ editableExpression: 'false',
802
+ fieldName: layer.floorInfo.floorField,
803
+ input: {
804
+ type: "text-box",
805
+ maxLength: 50,
806
+ minLength: 0
807
+ },
808
+ valueExpression: floorInfoExpression.name
809
+ });
810
+ this._updatedMapView.map.editableLayers.forEach((layer) => {
811
+ const orgElements = this.formElements.orgElements;
812
+ const orgExpressionInfos = this.formElements.orgExpressionInfos;
813
+ const elements = [...orgElements];
814
+ elements.push(levelIdFieldElement);
815
+ // Creating formtemplate
816
+ const floorInfoTemplate = new this.FormTemplate({
817
+ title: layer.formTemplate.title,
818
+ description: layer.formTemplate.description,
819
+ elements,
820
+ expressionInfos: [floorInfoExpression].concat(orgExpressionInfos)
821
+ });
822
+ layer.formTemplate = floorInfoTemplate;
823
+ });
824
+ }
825
+ }
826
+ }
827
+ /**
828
+ * Hides the elements of editor widget
829
+ * @protected
830
+ */
831
+ async hideEditorsElements() {
832
+ if (!this.customizeSubmit) {
833
+ return;
834
+ }
835
+ await this.timeout(700);
836
+ //hides the header and footer on the featureForm
837
+ this.el.querySelector('.esri-editor')?.querySelectorAll('calcite-flow-item')?.forEach((flowItem) => {
838
+ const article = flowItem.shadowRoot?.querySelector('calcite-panel')?.shadowRoot?.querySelector('article');
839
+ //hide the header
840
+ article?.querySelector('header')?.setAttribute('style', 'display: none');
841
+ //hide the footer
842
+ article?.querySelector('footer')?.setAttribute('style', 'display: none');
843
+ });
844
+ }
845
+ /**
846
+ * On creation of feature emit the event that the feature is created
847
+ * @param evt feature submit event
848
+ * @protected
849
+ */
850
+ async submitted(evt) {
851
+ //return if any attribute is invalid , focus will be shifted to the invalid attribute in feature form
852
+ if (evt.invalid.length) {
853
+ this._isSubmitBtnClicked = false;
854
+ return;
855
+ }
856
+ //Submit only when valid attributes
857
+ //emit success or fail based on the result
858
+ if (evt.valid.length && this._isSubmitBtnClicked) {
859
+ this._isSubmitBtnClicked = false;
860
+ try {
861
+ await this._editor.activeWorkflow.commit();
862
+ //throw errors if any failures
863
+ if (this._editor.viewModel.failures?.length) {
864
+ this._editor.viewModel.failures.some((failure) => {
865
+ if (failure.error) {
866
+ throw (failure.error);
867
+ }
868
+ });
869
+ }
870
+ }
871
+ catch (e) {
872
+ this.fail.emit(e);
873
+ return;
874
+ }
875
+ this.success.emit();
876
+ }
877
+ }
878
+ /**
879
+ * call setTimeout in Promise wrapper
880
+ * @param delay The time, in milliseconds that the timer should wait before the promise is resolved
881
+ * @protected
882
+ */
883
+ timeout(delay) {
884
+ return new Promise(resolve => setTimeout(resolve, delay));
885
+ }
886
+ /**
887
+ * Fetches the component's translations
888
+ * @returns Promise when complete
889
+ * @protected
890
+ */
891
+ async _getTranslations() {
892
+ const messages = await getLocaleComponentStrings(this.el);
893
+ this._translations = messages[0];
894
+ }
895
+ static get watchers() { return {
896
+ "locale": ["localeWatchHandler"],
897
+ "mapView": ["mapViewWatchHandler"],
898
+ "isMobile": ["isMobileHandler"],
899
+ "_editorLoading": ["_editorLoadingWatchHandler"]
900
+ }; }
901
+ };
902
+ CreateFeature.style = CreateFeatureStyle0;
903
+
904
+ const deleteButtonCss = ":host{display:block}.delete-modal{position:fixed}";
905
+ const DeleteButtonStyle0 = deleteButtonCss;
906
+
907
+ const DeleteButton = class {
908
+ constructor(hostRef) {
909
+ registerInstance(this, hostRef);
910
+ this.editsComplete = createEvent(this, "editsComplete", 7);
911
+ this.deleteDialog = undefined;
912
+ this.buttonType = "button";
913
+ this.disabled = false;
914
+ this.icon = undefined;
915
+ this.ids = [];
916
+ this.layer = undefined;
917
+ this.locale = undefined;
918
+ this._confirmDelete = false;
919
+ this._deleteEndabled = false;
920
+ this._supportsDelete = undefined;
921
+ this._translations = undefined;
922
+ }
923
+ get el() { return getElement(this); }
924
+ //--------------------------------------------------------------------------
925
+ //
926
+ // Properties (protected)
927
+ //
928
+ //--------------------------------------------------------------------------
929
+ //--------------------------------------------------------------------------
930
+ //
931
+ // Watch handlers
932
+ //
933
+ //--------------------------------------------------------------------------
934
+ /**
935
+ * watch for changes in layer view and verify if it has editing enabled
936
+ */
937
+ async idsWatchHandler() {
938
+ this._setDeleteEnabled();
939
+ }
940
+ /**
941
+ * watch for changes in layer view and verify if it has editing enabled
942
+ */
943
+ async layerWatchHandler() {
944
+ this._setDeleteEnabled();
945
+ }
946
+ /**
947
+ * Fetch translations when the locale is updated
948
+ */
949
+ async localeWatchHandler() {
950
+ // to support url param and language switcher
951
+ this.el.lang = this.locale;
952
+ await this._getTranslations();
953
+ }
954
+ //--------------------------------------------------------------------------
955
+ //
956
+ // Methods (public)
957
+ //
958
+ //--------------------------------------------------------------------------
959
+ //--------------------------------------------------------------------------
960
+ //
961
+ // Events (public)
962
+ //
963
+ //--------------------------------------------------------------------------
964
+ /**
965
+ * Emitted on demand when features have been deleted
966
+ */
967
+ editsComplete;
968
+ //--------------------------------------------------------------------------
969
+ //
970
+ // Functions (lifecycle)
971
+ //
972
+ //--------------------------------------------------------------------------
973
+ /**
974
+ * StencilJS: Called once just after the component is first connected to the DOM.
975
+ *
976
+ * @returns Promise when complete
977
+ */
978
+ async componentWillLoad() {
979
+ await this._getTranslations();
980
+ }
981
+ /**
982
+ * Renders the component.
983
+ */
984
+ render() {
985
+ return (h(Host, { key: '16e40d762fda104d4b5687076a66c8a966c74838' }, this.buttonType === "button" ? (h("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()))) : (h("calcite-action", { appearance: "solid", disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), h("calcite-tooltip", { key: '43b52554c36cdeffb89e9c6c81bbb0a0549fa20b', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, h("span", { key: 'f27147140dedcea99d759d5a84128adfc788becc' }, this._translations.delete))));
986
+ }
987
+ /**
988
+ * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
989
+ */
990
+ async componentDidLoad() {
991
+ this._setDeleteEnabled();
992
+ }
993
+ //--------------------------------------------------------------------------
994
+ //
995
+ // Functions (protected)
996
+ //
997
+ //--------------------------------------------------------------------------
998
+ /**
999
+ * Verify if the layer supports delete and that we have 1 or more ids
1000
+ */
1001
+ _setDeleteEnabled() {
1002
+ this._supportsDelete = this.layer?.editingEnabled && this.layer?.capabilities?.operations?.supportsDelete;
1003
+ this._deleteEndabled = !this.disabled || this._supportsDelete && this.ids.length > 0;
1004
+ }
1005
+ /**
1006
+ * Delete all selected records or shows an alert if the layer does not have editing enabled
1007
+ *
1008
+ * @returns a promise that will resolve when the operation is complete
1009
+ */
1010
+ _delete() {
1011
+ this._confirmDelete = true;
1012
+ }
1013
+ /**
1014
+ * Show delete confirmation message
1015
+ *
1016
+ * @returns node to confirm or deny the delete operation
1017
+ */
1018
+ _deleteMessage() {
1019
+ return this.deleteDialog ? this.deleteDialog : (h("delete-dialog", { id: "solution-delete-dialog", ids: this.ids, layer: this.layer, locale: this.locale, onDeleteDialogClose: () => this._confirmDelete = false, open: this._confirmDelete }));
1020
+ }
1021
+ /**
1022
+ * Fetches the component's translations
1023
+ *
1024
+ * @returns Promise when complete
1025
+ * @protected
1026
+ */
1027
+ async _getTranslations() {
1028
+ const messages = await getLocaleComponentStrings(this.el);
1029
+ this._translations = messages[0];
1030
+ }
1031
+ static get watchers() { return {
1032
+ "ids": ["idsWatchHandler"],
1033
+ "layer": ["layerWatchHandler"],
1034
+ "locale": ["localeWatchHandler"]
1035
+ }; }
1036
+ };
1037
+ DeleteButton.style = DeleteButtonStyle0;
1038
+
1039
+ const editCardCss = ":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}";
1040
+ const EditCardStyle0 = editCardCss;
1041
+
1042
+ const EditCard = class {
1043
+ constructor(hostRef) {
1044
+ registerInstance(this, hostRef);
1045
+ this.closeEdit = createEvent(this, "closeEdit", 7);
1046
+ this.editorInitialized = createEvent(this, "editorInitialized", 7);
1047
+ this.editsComplete = createEvent(this, "editsComplete", 7);
1048
+ this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
1049
+ this.enableEditGeometry = false;
1050
+ this.graphics = undefined;
1051
+ this.locale = undefined;
1052
+ this.mapView = undefined;
1053
+ this.open = false;
1054
+ this.graphicIndex = 0;
1055
+ this._editorLoading = false;
1056
+ this._translations = undefined;
1057
+ }
1058
+ get el() { return getElement(this); }
1059
+ //--------------------------------------------------------------------------
1060
+ //
1061
+ // Properties (protected)
1062
+ //
1063
+ //--------------------------------------------------------------------------
1064
+ /**
1065
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1066
+ */
1067
+ _activeWorkflowHandle;
1068
+ /**
1069
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1070
+ */
1071
+ _addRelatedRecordHandle;
1072
+ /**
1073
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1074
+ */
1075
+ _attachmentHandle;
1076
+ /**
1077
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1078
+ */
1079
+ _editHandle;
1080
+ /**
1081
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1082
+ */
1083
+ _layerEditHandle;
1084
+ /**
1085
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
1086
+ * The Editor constructor
1087
+ */
1088
+ Editor;
1089
+ /**
1090
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
1091
+ * The Editor instance
1092
+ */
1093
+ _editor;
1094
+ /**
1095
+ * esri/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
1096
+ * OR
1097
+ * esri/layers/support/SubtypeSublayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html
1098
+ */
1099
+ _layer;
1100
+ /**
1101
+ * HTMLDivElement: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
1102
+ */
1103
+ _editContainer;
1104
+ /**
1105
+ * any[]: Collection of edit controls created in "MULTI" edit mode
1106
+ * These can be calcite-input-text, calcite-input-number, calcite-input-date-picker, calcite-input-time-picker, or calcite-combobox
1107
+ */
1108
+ _editControlElements;
1109
+ /**
1110
+ * boolean: When true edit controls will be disabled
1111
+ */
1112
+ _editingDisabled;
1113
+ /**
1114
+ * boolean: When true the Editor widget should be closed
1115
+ * Without this logic we are taken to the Editors "Select" workflow step
1116
+ */
1117
+ _shouldClose = false;
1118
+ /**
1119
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
1120
+ */
1121
+ reactiveUtils;
1122
+ //--------------------------------------------------------------------------
1123
+ //
1124
+ // Watch handlers
1125
+ //
1126
+ //--------------------------------------------------------------------------
1127
+ /**
1128
+ * Watch for changes to the graphics and update the feature widget
1129
+ */
1130
+ async graphicsWatchHandler() {
1131
+ if (this.graphics.length === 0 && this.open) {
1132
+ await this._closeEdit(true);
1133
+ }
1134
+ }
1135
+ /**
1136
+ * Fetch translations when the locale is updated
1137
+ */
1138
+ async localeWatchHandler() {
1139
+ // to support url param and language switcher
1140
+ this.el.lang = this.locale;
1141
+ await this._getTranslations();
1142
+ }
1143
+ async openWatchHandler(v) {
1144
+ if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
1145
+ this._editorLoading = true;
1146
+ await this._initEditorWidget();
1147
+ if (this.graphicIndex > -1 && this.graphics.length > 0 && this.open && !this._shouldClose) {
1148
+ await this._startUpdate();
1149
+ }
1150
+ this._editorLoading = false;
1151
+ }
1152
+ if (!v) {
1153
+ await this._closeEdit(true);
1154
+ }
1155
+ }
1156
+ //--------------------------------------------------------------------------
1157
+ //
1158
+ // Methods (public)
1159
+ //
1160
+ //--------------------------------------------------------------------------
1161
+ //--------------------------------------------------------------------------
1162
+ //
1163
+ // Events (public)
1164
+ //
1165
+ //--------------------------------------------------------------------------
1166
+ /**
1167
+ * Emitted on demand when the Editor widget should be closed
1168
+ */
1169
+ closeEdit;
1170
+ /**
1171
+ * Emit the Editor when it is initialized
1172
+ */
1173
+ editorInitialized;
1174
+ /**
1175
+ * Emitted on demand when edits are completed on current edit layer
1176
+ */
1177
+ editsComplete;
1178
+ /**
1179
+ * Emitted on demand when the editor is closed to handle
1180
+ * things like attachment updates that don't fire the standard edit update event when complete
1181
+ */
1182
+ refreshGraphics;
1183
+ async featureSelectionChange() {
1184
+ if (this.open) {
1185
+ await this._closeEdit(false);
1186
+ }
1187
+ }
1188
+ //--------------------------------------------------------------------------
1189
+ //
1190
+ // Functions (lifecycle)
1191
+ //
1192
+ //--------------------------------------------------------------------------
1193
+ /**
1194
+ * StencilJS: Called once just after the component is first connected to the DOM.
1195
+ *
1196
+ * @returns Promise when complete
1197
+ */
1198
+ async componentWillLoad() {
1199
+ await this._initModules();
1200
+ await this._getTranslations();
1201
+ }
1202
+ /**
1203
+ * Special handeling when used with layer-table.
1204
+ * This allows us to only fetch graphics when the modal is opened rather than with every render of the layer-table.
1205
+ *
1206
+ * @returns Promise when complete
1207
+ */
1208
+ async componentWillRender() {
1209
+ if (this.graphics?.length > 0 && this.graphics[0]?.layer) {
1210
+ this._layer = this.graphics[0].layer;
1211
+ if (this._layerEditHandle) {
1212
+ this._layerEditHandle.remove();
1213
+ }
1214
+ // #896 Editing on sybtype group layer is failing in Manager
1215
+ const layer = this._layer.type === "subtype-sublayer" ? this._layer.parent : this._layer;
1216
+ this._layerEditHandle = layer.on("edits", () => {
1217
+ this.editsComplete.emit();
1218
+ });
1219
+ }
1220
+ }
1221
+ /**
1222
+ * Renders the component.
1223
+ */
1224
+ render() {
1225
+ // This is a temp workaround hopefully...this._editingDisabled should reflect the current state but does not
1226
+ // when you use MULTI edit mode...is fine in SINGLE
1227
+ const editDisabled = this.graphics?.length > 0 && this.graphics[0] ?
1228
+ !this.graphics[0].layer.editingEnabled : true;
1229
+ const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
1230
+ const loadingClass = this._editorLoading ? "" : "display-none";
1231
+ return (h(Host, { key: '07a1ccdba5162490e20fee0ef555cef895f0885e' }, h("div", { key: '845beed84402ca9a4056bd7231eed52a89ff65b8', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: '0f8dcb1c8d2cd8df395a5f0b2abf9e1d3a50f11f', class: "position-absolute" }, h("div", { key: 'f0906c8e8c046f8464a5487958b6bc637207b00c', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: 'cb2e513262d14470287097572c905173a0c63f92', class: loadingClass, label: "", scale: "s" })))));
1232
+ }
1233
+ //--------------------------------------------------------------------------
1234
+ //
1235
+ // Functions (protected)
1236
+ //
1237
+ //--------------------------------------------------------------------------
1238
+ /**
1239
+ * Load esri javascript api modules
1240
+ *
1241
+ * @returns Promise resolving when function is done
1242
+ */
1243
+ async _initModules() {
1244
+ const [Editor, reactiveUtils] = await loadModules([
1245
+ "esri/widgets/Editor",
1246
+ "esri/core/reactiveUtils"
1247
+ ]);
1248
+ this.Editor = Editor;
1249
+ this.reactiveUtils = reactiveUtils;
1250
+ }
1251
+ /**
1252
+ * Init the Editor widget so we can display the popup content
1253
+ */
1254
+ async _initEditorWidget() {
1255
+ if (this.mapView && this.graphics && this.graphics.length > 0 && this.graphics[0]) {
1256
+ if (this._editor) {
1257
+ this._editor.destroy();
1258
+ }
1259
+ const container = document.createElement("div");
1260
+ const layers = await getAllLayers(this.mapView);
1261
+ const layerInfos = layers.map(layer => {
1262
+ return {
1263
+ layer,
1264
+ geometryUpdatesEnabled: this.enableEditGeometry
1265
+ };
1266
+ });
1267
+ this._editor = new this.Editor({
1268
+ view: this.mapView,
1269
+ layerInfos,
1270
+ visibleElements: {
1271
+ snappingControls: false
1272
+ },
1273
+ container
1274
+ });
1275
+ if (this._attachmentHandle && this._activeWorkflowHandle) {
1276
+ this._attachmentHandle.remove();
1277
+ this._activeWorkflowHandle.remove();
1278
+ }
1279
+ this._attachmentHandle = this.reactiveUtils.when(() => this._editor.viewModel.state === "adding-attachment" ||
1280
+ this._editor.viewModel.state === "editing-attachment" ||
1281
+ this._editor.viewModel.state === "creating-features", () => {
1282
+ this._shouldClose = false;
1283
+ });
1284
+ this._activeWorkflowHandle = this.reactiveUtils.watch(() => this._editor.viewModel.activeWorkflow?.activeWorkflow, (activeWorkflow) => {
1285
+ if (activeWorkflow?.type === "update-table-record" || activeWorkflow?.type === "create-features") {
1286
+ this._shouldClose = false;
1287
+ }
1288
+ // Handle back click and when feature is de-selected from the table
1289
+ // this ensures that we are not shown the Editors "Select" workflow step
1290
+ if ((!activeWorkflow?.type && !activeWorkflow?.hasPendingEdits && !this._editor.activeWorkflow) || !this._editor?.activeWorkflow?.started) {
1291
+ this.open = false;
1292
+ }
1293
+ });
1294
+ // had issues with destroy before adding like this
1295
+ this._editContainer.appendChild(container);
1296
+ this.editorInitialized.emit(this._editor);
1297
+ }
1298
+ }
1299
+ /**
1300
+ * Close the edit widget
1301
+ */
1302
+ async _closeEdit(destroyOnClose) {
1303
+ this._shouldClose = true;
1304
+ if (destroyOnClose && this._editor?.activeWorkflow) {
1305
+ if (this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits) {
1306
+ await this._editor.activeWorkflow.reset();
1307
+ await this._editor.cancelWorkflow();
1308
+ }
1309
+ this._editor.destroy();
1310
+ }
1311
+ else {
1312
+ if (this.graphicIndex > -1 && this.graphics?.length > 0) {
1313
+ this.refreshGraphics.emit(this.graphics);
1314
+ }
1315
+ }
1316
+ this._shouldClose = false;
1317
+ this.closeEdit.emit();
1318
+ }
1319
+ /**
1320
+ * Start the update workflow for the editor widget
1321
+ */
1322
+ async _startUpdate() {
1323
+ await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]);
1324
+ this._shouldClose = true;
1325
+ }
1326
+ /**
1327
+ * Fetches the component's translations
1328
+ *
1329
+ * @returns Promise when complete
1330
+ */
1331
+ async _getTranslations() {
1332
+ const messages = await getLocaleComponentStrings(this.el);
1333
+ this._translations = messages[0];
1334
+ }
1335
+ static get watchers() { return {
1336
+ "graphics": ["graphicsWatchHandler"],
1337
+ "locale": ["localeWatchHandler"],
1338
+ "open": ["openWatchHandler"]
1339
+ }; }
1340
+ };
1341
+ EditCard.style = EditCardStyle0;
1342
+
1343
+ const infoCardCss = ":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}";
1344
+ const InfoCardStyle0 = infoCardCss;
1345
+
1346
+ const InfoCard = class {
1347
+ constructor(hostRef) {
1348
+ registerInstance(this, hostRef);
1349
+ this.popupClosed = createEvent(this, "popupClosed", 7);
1350
+ this.selectionChanged = createEvent(this, "selectionChanged", 7);
1351
+ this.enableEditGeometry = false;
1352
+ this.graphics = undefined;
1353
+ this.isLoading = false;
1354
+ this.isMobile = undefined;
1355
+ this.mapView = undefined;
1356
+ this.allowEditing = true;
1357
+ this.highlightEnabled = true;
1358
+ this.locale = undefined;
1359
+ this.paginationEnabled = true;
1360
+ this.position = 'absolute';
1361
+ this._alertOpen = false;
1362
+ this._count = "";
1363
+ this._editRecordOpen = false;
1364
+ this._mobileTitle = "";
1365
+ this._showListView = false;
1366
+ this._translations = undefined;
1367
+ }
1368
+ get el() { return getElement(this); }
1369
+ //--------------------------------------------------------------------------
1370
+ //
1371
+ // Properties (protected)
1372
+ //
1373
+ //--------------------------------------------------------------------------
1374
+ /**
1375
+ * esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
1376
+ * used for module import
1377
+ */
1378
+ Features;
1379
+ /**
1380
+ * boolean: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
1381
+ */
1382
+ _editEnabled;
1383
+ /**
1384
+ * esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
1385
+ * used for widget instance
1386
+ */
1387
+ _features;
1388
+ /**
1389
+ * esri/widgets/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
1390
+ */
1391
+ _layer;
1392
+ /**
1393
+ * IPopupUtils: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
1394
+ */
1395
+ _popupUtils;
1396
+ /**
1397
+ * string: unique id for the features node
1398
+ */
1399
+ _featuresNodeId = 'features-node' + new Date().getMilliseconds().toString();
1400
+ /**
1401
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
1402
+ */
1403
+ reactiveUtils;
1404
+ //--------------------------------------------------------------------------
1405
+ //
1406
+ // Watch handlers
1407
+ //
1408
+ //--------------------------------------------------------------------------
1409
+ /**
1410
+ * Watch for changes to the graphic and update the feature widget
1411
+ */
1412
+ async graphicsWatchHandler() {
1413
+ await this.setGraphics();
1414
+ }
1415
+ /**
1416
+ * Watch for changes to the isMobile prop then init the Features widget
1417
+ * We need to know if the title should be displayed by the widget (non mobile)
1418
+ * or by us (mobile)
1419
+ */
1420
+ async isMobileWatchHandler() {
1421
+ await this._initFeaturesWidget();
1422
+ }
1423
+ /**
1424
+ * Fetch translations when the locale is updated
1425
+ */
1426
+ async localeWatchHandler() {
1427
+ // to support url param and language switcher
1428
+ this.el.lang = this.locale;
1429
+ await this._getTranslations();
1430
+ if (this._features) {
1431
+ const graphics = [...this.graphics];
1432
+ this.graphics = [];
1433
+ this.graphics = graphics;
1434
+ }
1435
+ }
1436
+ /**
1437
+ * Watch for changes to the mapView and re-init the Feature widget
1438
+ */
1439
+ async mapViewWatchHandler() {
1440
+ return await this._initFeaturesWidget();
1441
+ }
1442
+ //--------------------------------------------------------------------------
1443
+ //
1444
+ // Methods (public)
1445
+ //
1446
+ //--------------------------------------------------------------------------
1447
+ /**
1448
+ * Get the current selected feature from the Features widget
1449
+ *
1450
+ * @returns Promise resolving with the current feature
1451
+ */
1452
+ async getSelectedFeature() {
1453
+ return this._features.selectedFeature;
1454
+ }
1455
+ /**
1456
+ * Refresh the feature info
1457
+ * @returns Promise when complete
1458
+ */
1459
+ async refresh() {
1460
+ await this.setGraphics();
1461
+ }
1462
+ /**
1463
+ * Go to the previous feature in the features widget
1464
+ */
1465
+ async back() {
1466
+ this._features.previous();
1467
+ this._count = this._getCount();
1468
+ }
1469
+ /**
1470
+ * Go to the next feature in the features widget
1471
+ */
1472
+ async next() {
1473
+ this._features.next();
1474
+ this._count = this._getCount();
1475
+ }
1476
+ /**
1477
+ * Toggle the visibility of the features list view
1478
+ */
1479
+ async toggleListView() {
1480
+ this._showListView = !this._showListView;
1481
+ const i = this._features.selectedFeatureIndex;
1482
+ this._features.open({
1483
+ features: this.graphics,
1484
+ featureMenuOpen: this._showListView
1485
+ });
1486
+ this._features.selectedFeatureIndex = i;
1487
+ }
1488
+ /**
1489
+ * update the current graphics to the features widget
1490
+ */
1491
+ async updateCurrentGraphic(selectedGraphic) {
1492
+ this._features.selectedFeatureWidget.graphic = selectedGraphic;
1493
+ }
1494
+ //--------------------------------------------------------------------------
1495
+ //
1496
+ // Events (public)
1497
+ //
1498
+ //--------------------------------------------------------------------------
1499
+ /**
1500
+ * Emitted on demand when the popup is closed
1501
+ */
1502
+ popupClosed;
1503
+ /**
1504
+ * Emitted on demand when the selected index changes
1505
+ */
1506
+ selectionChanged;
1507
+ /**
1508
+ * Respond to and close the edit record display
1509
+ *
1510
+ * @returns a promise when the operation has completed
1511
+ */
1512
+ async closeEdit() {
1513
+ this._editRecordOpen = false;
1514
+ }
1515
+ /**
1516
+ * Reset key properties when the layer selection changes
1517
+ */
1518
+ async layerSelectionChange() {
1519
+ this._showListView = false;
1520
+ if (this._features?.viewModel) {
1521
+ this._features.viewModel.featureMenuOpen = false;
1522
+ this._features.close();
1523
+ }
1524
+ }
1525
+ /**
1526
+ * Refresh the info-card graphics
1527
+ */
1528
+ async refreshGraphics(evt) {
1529
+ this.graphics = [...evt.detail];
1530
+ }
1531
+ //--------------------------------------------------------------------------
1532
+ //
1533
+ // Functions (lifecycle)
1534
+ //
1535
+ //--------------------------------------------------------------------------
1536
+ /**
1537
+ * StencilJS: Called once just after the component is first connected to the DOM.
1538
+ *
1539
+ * @returns Promise when complete
1540
+ */
1541
+ async componentWillLoad() {
1542
+ await this._initModules();
1543
+ await this._getTranslations();
1544
+ this._popupUtils = new PopupUtils();
1545
+ }
1546
+ /**
1547
+ * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
1548
+ * @returns Promise when complete
1549
+ */
1550
+ async componentDidLoad() {
1551
+ if (this.graphics?.length > 0) {
1552
+ await this.setGraphics();
1553
+ }
1554
+ }
1555
+ /**
1556
+ * Renders the component.
1557
+ */
1558
+ render() {
1559
+ const loadingClass = this.isLoading ? "" : "display-none";
1560
+ const featureNodeClass = this.isLoading || this._editRecordOpen ? "visibility-hidden" : "position-absolute";
1561
+ const editClass = !this.isLoading && this._editRecordOpen ? "position-absolute" : "display-none";
1562
+ const editButtonClass = (!this.isLoading && this._editRecordOpen) || this._showListView ? "display-none" : "";
1563
+ const nextBackDisabled = this._features?.features?.length < 2;
1564
+ const nextBackClass = this.isMobile ? "display-none" : "";
1565
+ const id = this._features?.selectedFeature?.getObjectId();
1566
+ const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
1567
+ const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
1568
+ return (h(Host, { key: '66070d48134f89d9cf132572fe1adf790b6d3ec6' }, h("calcite-shell", { key: 'b77248dce176df940d8b0c347154b73738a5576d', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'c1638ca8320a0ae12a9ccd1fd8841efde4236ba5', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'cf5ee3be5c0ea3be36205dcf7c0747461802a5f1', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '6fbfa6947fa0fdb1b14a03217da60f07ecff2e1b', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1569
+ h("div", { key: 'fdcb078c3b3f183b06dc3a48d27fee46e3a4fffa', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '7193bec80a40f353d24e5d327d99d94a2c5ff356', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '228a9691edd916a5d644cb19db24898cdf7cab3b', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '5c696df370bcf230d3fc06523ec3cb9d96f2fe2b' }, this._translations.edit)), this.isMobile && deleteEnabled ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: 'e1b829a888913af6a9d777a2df0d65571ac3bec1', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '8746737a103266efe64a8f80c2359f9e170586d5' }, h("calcite-button", { key: 'ac6fc23dc2831608cc9c86fe384c0a927cd7d7ac', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: 'd4a1e2753c35e97064ca66d5c30deccd532fb158', placement: "top", "reference-element": "solutions-back" }, h("span", { key: 'caae32b5e32a0d89265293beccef157d227a7600' }, this._translations.back))), h("calcite-action", { key: 'a87f344a06896ad86886815254979793b057e4cd', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '6e6f84ebedb2540edb485fa0789fe8ea67e7188f', class: "pagination-count" }, this._count)), h("div", { key: '6acf22348a508c921865bb4c7e531f9a826a8eed' }, h("calcite-button", { key: 'f1d763e1747cff7e0b6bec08ec4fade3d1582379', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: 'def93e3d1f19b4e6eb3e54c5fbd918fed118cc0c', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'cb9b90a5b3129861b7f58fd0271c6120893dfd53' }, this._translations.next))))), h("edit-card", { key: '524819a6dc64775b88b22aaf24445fd5ebdeae24', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '394c3b416a5dc94381c8b93afd3308121fbebd81', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'f4868bf3b710d91ed7e3f1e34b846bd408febac0', slot: "title" }, this._translations.editDisabled), h("div", { key: '457b7d0c76bfac52340bec73f5d1d2abbd10f25a', slot: "message" }, this._translations.enableEditing)))));
1570
+ }
1571
+ //--------------------------------------------------------------------------
1572
+ //
1573
+ // Functions (protected)
1574
+ //
1575
+ //--------------------------------------------------------------------------
1576
+ /**
1577
+ * Load esri javascript api modules
1578
+ *
1579
+ * @returns Promise resolving when function is done
1580
+ *
1581
+ * @protected
1582
+ */
1583
+ async _initModules() {
1584
+ const [Features, reactiveUtils] = await loadModules([
1585
+ "esri/widgets/Features",
1586
+ "esri/core/reactiveUtils"
1587
+ ]);
1588
+ this.Features = Features;
1589
+ this.reactiveUtils = reactiveUtils;
1590
+ }
1591
+ /**
1592
+ * Initializes the features widget if not created and updates the feature widget and other required states
1593
+ *
1594
+ * @protected
1595
+ */
1596
+ async setGraphics() {
1597
+ if (!this._features) {
1598
+ await this._initFeaturesWidget();
1599
+ }
1600
+ if (this.graphics.length > 0) {
1601
+ this._layer = this.graphics[0]?.layer;
1602
+ this._editEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsUpdate;
1603
+ this._mobileTitle = await this._popupUtils.getPopupTitle(this.graphics[0], this.mapView.map);
1604
+ this._features.open({
1605
+ features: this.graphics
1606
+ });
1607
+ }
1608
+ else {
1609
+ this._features.clear();
1610
+ this._features.close();
1611
+ }
1612
+ this._count = this._getCount();
1613
+ }
1614
+ /**
1615
+ * Init the Feature widget so we can display the popup content
1616
+ *
1617
+ * @returns a promise when the operation has completed
1618
+ *
1619
+ * @protected
1620
+ */
1621
+ async _initFeaturesWidget() {
1622
+ return this.isMobile !== undefined ? await this.mapView?.when(() => {
1623
+ if (!this._features) {
1624
+ this._features = new this.Features({
1625
+ view: this.mapView,
1626
+ container: this._featuresNodeId,
1627
+ visibleElements: {
1628
+ actionBar: false,
1629
+ closeButton: false,
1630
+ heading: !this.isMobile
1631
+ }
1632
+ });
1633
+ this._features.viewModel.highlightEnabled = this.highlightEnabled;
1634
+ this.reactiveUtils.watch(() => this._features.viewModel.featureMenuOpen, (isOpen) => {
1635
+ this._count = this._getCount();
1636
+ if (!isOpen) {
1637
+ this._showListView = isOpen;
1638
+ }
1639
+ });
1640
+ this.reactiveUtils.watch(() => this._features.selectedFeatureIndex, (i) => {
1641
+ if (i > -1) {
1642
+ this.selectionChanged.emit({ selectedFeature: [this._features.selectedFeature], selectedFeatureIndex: this._features.selectedFeatureIndex });
1643
+ }
1644
+ });
1645
+ }
1646
+ else {
1647
+ this._features.view = this.mapView;
1648
+ this._features.visibleElements.actionBar = false;
1649
+ this._features.visibleElements.closeButton = false;
1650
+ this._features.visibleElements.heading = !this.isMobile;
1651
+ }
1652
+ }) : Promise.resolve();
1653
+ }
1654
+ /**
1655
+ * Get the mobile header
1656
+ *
1657
+ * @returns the header node to display when in mobile mode
1658
+ *
1659
+ * @protected
1660
+ */
1661
+ _getHeader() {
1662
+ return this.isMobile && !this._editRecordOpen ? (h("calcite-panel", { class: "border-width-0", slot: "header" }, h("calcite-action", { class: "end-border", icon: "chevron-left", iconFlipRtl: true, onClick: () => this._closePopup(), scale: "s", slot: "header-actions-start", text: "" }), h("span", { class: "font-bold", slot: "header-content" }, this._mobileTitle))) : undefined;
1663
+ }
1664
+ /**
1665
+ * Close the popup and emit the selected features
1666
+ */
1667
+ _closePopup() {
1668
+ this.popupClosed.emit();
1669
+ }
1670
+ /**
1671
+ * Set the alertOpen member to false when the alert is closed
1672
+ */
1673
+ _alertClosed() {
1674
+ this._alertOpen = false;
1675
+ }
1676
+ /**
1677
+ * Open the edit record
1678
+ */
1679
+ _openEditRecord() {
1680
+ if (this._editEnabled) {
1681
+ this._editRecordOpen = true;
1682
+ }
1683
+ else {
1684
+ this._alertOpen = true;
1685
+ }
1686
+ }
1687
+ /**
1688
+ * Go to the previous feature in the features widget
1689
+ */
1690
+ _back() {
1691
+ this._features.previous();
1692
+ this._count = this._getCount();
1693
+ }
1694
+ /**
1695
+ * Go to the next feature in the features widget
1696
+ */
1697
+ _next() {
1698
+ this._features.next();
1699
+ this._count = this._getCount();
1700
+ }
1701
+ /**
1702
+ * Get the current index of total string
1703
+ *
1704
+ * @returns the index of total string
1705
+ */
1706
+ _getCount() {
1707
+ const index = (this._features?.viewModel.selectedFeatureIndex + 1).toString();
1708
+ const total = this._features?.features?.length.toString();
1709
+ return this._translations.indexOfTotal
1710
+ .replace("{{index}}", index)
1711
+ .replace("{{total}}", total);
1712
+ }
1713
+ /**
1714
+ * Toggle the visibility of the features list view
1715
+ */
1716
+ _toggleListView() {
1717
+ this._showListView = !this._showListView;
1718
+ const i = this._features.selectedFeatureIndex;
1719
+ this._features.open({
1720
+ features: this.graphics,
1721
+ featureMenuOpen: this._showListView
1722
+ });
1723
+ this._features.selectedFeatureIndex = i;
1724
+ }
1725
+ /**
1726
+ * Fetches the component's translations
1727
+ *
1728
+ * @returns Promise when complete
1729
+ * @protected
1730
+ */
1731
+ async _getTranslations() {
1732
+ const messages = await getLocaleComponentStrings(this.el);
1733
+ this._translations = messages[0];
1734
+ }
1735
+ static get watchers() { return {
1736
+ "graphics": ["graphicsWatchHandler"],
1737
+ "isMobile": ["isMobileWatchHandler"],
1738
+ "locale": ["localeWatchHandler"],
1739
+ "mapView": ["mapViewWatchHandler"]
1740
+ }; }
1741
+ };
1742
+ InfoCard.style = InfoCardStyle0;
1743
+
1744
+ export { FlowItem as calcite_flow_item, CreateFeature as create_feature, DeleteButton as delete_button, EditCard as edit_card, InfoCard as info_card };