@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,1752 @@
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
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ const index = require('./index-3bae5121.js');
11
+ const dom = require('./dom-e11b7daf.js');
12
+ const interactive = require('./interactive-e1c3ccf2.js');
13
+ const loadable = require('./loadable-19ab5827.js');
14
+ const locale = require('./locale-80aff4b9.js');
15
+ const t9n = require('./t9n-0195f685.js');
16
+ const resources = require('./resources-392a021f.js');
17
+ const locale$1 = require('./locale-a79da367.js');
18
+ const mapViewUtils = require('./mapViewUtils-18c46b84.js');
19
+ const popupUtils = require('./popupUtils-72d48968.js');
20
+ require('./guid-d99f21fe.js');
21
+ require('./resources-6c04ccee.js');
22
+ require('./browser-717f77af.js');
23
+ require('./key-cdfc85aa.js');
24
+ require('./observers-902ebe13.js');
25
+ require('./esri-loader-08dc41bd.js');
26
+ require('./_commonjsHelpers-baf43783.js');
27
+ require('./interfaces-09c4c40e.js');
28
+ require('./downloadUtils-b6490537.js');
29
+ require('./typeof-2a7e2dec.js');
30
+ require('./index-5d8d6ae2.js');
31
+ require('./solution-resource-d0a2f7fe.js');
32
+ require('./restHelpersGet-e4639890.js');
33
+ require('./update-243ea407.js');
34
+
35
+ /*!
36
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
37
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
38
+ * v2.13.2
39
+ */
40
+ const CSS = {
41
+ backButton: "back-button",
42
+ };
43
+ const ICONS = {
44
+ backLeft: "chevron-left",
45
+ backRight: "chevron-right",
46
+ };
47
+ const SLOTS = {
48
+ actionBar: "action-bar",
49
+ alerts: "alerts",
50
+ contentTop: "content-top",
51
+ contentBottom: "content-bottom",
52
+ headerActionsStart: "header-actions-start",
53
+ headerActionsEnd: "header-actions-end",
54
+ headerMenuActions: "header-menu-actions",
55
+ headerContent: "header-content",
56
+ fab: "fab",
57
+ footer: "footer",
58
+ footerActions: "footer-actions",
59
+ footerEnd: "footer-end",
60
+ footerStart: "footer-start",
61
+ };
62
+
63
+ 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}";
64
+ const CalciteFlowItemStyle0 = flowItemCss;
65
+
66
+ const FlowItem = class {
67
+ constructor(hostRef) {
68
+ index.registerInstance(this, hostRef);
69
+ this.calciteFlowItemBack = index.createEvent(this, "calciteFlowItemBack", 7);
70
+ this.calciteFlowItemScroll = index.createEvent(this, "calciteFlowItemScroll", 6);
71
+ this.calciteFlowItemClose = index.createEvent(this, "calciteFlowItemClose", 6);
72
+ this.calciteFlowItemToggle = index.createEvent(this, "calciteFlowItemToggle", 6);
73
+ // --------------------------------------------------------------------------
74
+ //
75
+ // Private Methods
76
+ //
77
+ // --------------------------------------------------------------------------
78
+ this.handleInternalPanelScroll = (event) => {
79
+ if (event.target !== this.containerEl) {
80
+ return;
81
+ }
82
+ event.stopPropagation();
83
+ this.calciteFlowItemScroll.emit();
84
+ };
85
+ this.handleInternalPanelClose = (event) => {
86
+ if (event.target !== this.containerEl) {
87
+ return;
88
+ }
89
+ event.stopPropagation();
90
+ this.closed = true;
91
+ this.calciteFlowItemClose.emit();
92
+ };
93
+ this.handleInternalPanelToggle = (event) => {
94
+ if (event.target !== this.containerEl) {
95
+ return;
96
+ }
97
+ event.stopPropagation();
98
+ this.collapsed = event.target.collapsed;
99
+ this.calciteFlowItemToggle.emit();
100
+ };
101
+ this.backButtonClick = () => {
102
+ this.calciteFlowItemBack.emit();
103
+ };
104
+ this.setBackRef = (node) => {
105
+ this.backButtonEl = node;
106
+ };
107
+ this.setContainerRef = (node) => {
108
+ this.containerEl = node;
109
+ };
110
+ this.closable = false;
111
+ this.closed = false;
112
+ this.collapsed = false;
113
+ this.collapseDirection = "down";
114
+ this.collapsible = false;
115
+ this.beforeBack = undefined;
116
+ this.beforeClose = undefined;
117
+ this.description = undefined;
118
+ this.disabled = false;
119
+ this.heading = undefined;
120
+ this.headingLevel = undefined;
121
+ this.loading = false;
122
+ this.menuOpen = false;
123
+ this.messageOverrides = undefined;
124
+ this.messages = undefined;
125
+ this.overlayPositioning = "absolute";
126
+ this.scale = "m";
127
+ this.showBackButton = false;
128
+ this.defaultMessages = undefined;
129
+ this.effectiveLocale = "";
130
+ }
131
+ onMessagesChange() {
132
+ /* wired up by t9n util */
133
+ }
134
+ //--------------------------------------------------------------------------
135
+ //
136
+ // Lifecycle
137
+ //
138
+ //--------------------------------------------------------------------------
139
+ connectedCallback() {
140
+ locale.connectLocalized(this);
141
+ t9n.connectMessages(this);
142
+ }
143
+ async componentWillLoad() {
144
+ await t9n.setUpMessages(this);
145
+ loadable.setUpLoadableComponent(this);
146
+ }
147
+ componentDidRender() {
148
+ interactive.updateHostInteraction(this);
149
+ }
150
+ disconnectedCallback() {
151
+ locale.disconnectLocalized(this);
152
+ t9n.disconnectMessages(this);
153
+ }
154
+ componentDidLoad() {
155
+ loadable.setComponentLoaded(this);
156
+ }
157
+ effectiveLocaleChange() {
158
+ t9n.updateMessages(this, this.effectiveLocale);
159
+ }
160
+ // --------------------------------------------------------------------------
161
+ //
162
+ // Methods
163
+ //
164
+ // --------------------------------------------------------------------------
165
+ /**
166
+ * Sets focus on the component.
167
+ *
168
+ * @returns promise.
169
+ */
170
+ async setFocus() {
171
+ await loadable.componentFocusable(this);
172
+ const { backButtonEl, containerEl } = this;
173
+ if (backButtonEl) {
174
+ return backButtonEl.setFocus();
175
+ }
176
+ else if (containerEl) {
177
+ return containerEl.setFocus();
178
+ }
179
+ }
180
+ /**
181
+ * Scrolls the component's content to a specified set of coordinates.
182
+ *
183
+ * @example
184
+ * myCalciteFlowItem.scrollContentTo({
185
+ * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
186
+ * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
187
+ * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
188
+ * });
189
+ * @param options - allows specific coordinates to be defined.
190
+ * @returns - promise that resolves once the content is scrolled to.
191
+ */
192
+ async scrollContentTo(options) {
193
+ await this.containerEl?.scrollContentTo(options);
194
+ }
195
+ // --------------------------------------------------------------------------
196
+ //
197
+ // Render Methods
198
+ //
199
+ // --------------------------------------------------------------------------
200
+ renderBackButton() {
201
+ const { el } = this;
202
+ const rtl = dom.getElementDir(el) === "rtl";
203
+ const { showBackButton, backButtonClick, messages } = this;
204
+ const label = messages.back;
205
+ const icon = rtl ? ICONS.backRight : ICONS.backLeft;
206
+ return showBackButton ? (index.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;
207
+ }
208
+ render() {
209
+ const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, overlayPositioning, beforeClose, } = this;
210
+ return (index.h(index.Host, { key: '2e7872bb2687db0b67ddbf375f8ec0beaabbda36' }, index.h(interactive.InteractiveContainer, { key: 'a9418954405a2cec2092bae3be5d77f02306e3c9', disabled: disabled }, index.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(), index.h("slot", { key: 'c506ec8bb4debbd6a9da6c7941878de49776f614', name: SLOTS.actionBar, slot: resources.SLOTS.actionBar }), index.h("slot", { key: 'e76e55e654ff878acff734bdf387402a9e262159', name: SLOTS.alerts, slot: resources.SLOTS.alerts }), index.h("slot", { key: 'f7ab8839d7b101e31087130ebf3e36af1ec7da24', name: SLOTS.headerActionsStart, slot: resources.SLOTS.headerActionsStart }), index.h("slot", { key: '2932c4c15b168732356b8e55fcc3064f5b3f4cf5', name: SLOTS.headerActionsEnd, slot: resources.SLOTS.headerActionsEnd }), index.h("slot", { key: '1ef8a9050683022733695445092f8c626487d87b', name: SLOTS.headerContent, slot: resources.SLOTS.headerContent }), index.h("slot", { key: '24c0ab570a601a6c0edfb0c820e580fd24b158ce', name: SLOTS.headerMenuActions, slot: resources.SLOTS.headerMenuActions }), index.h("slot", { key: 'ec55bbe7ba939a6efb35225850c37a1aadb97275', name: SLOTS.fab, slot: resources.SLOTS.fab }), index.h("slot", { key: 'aa0bfec47656ef9f7f575cd933897a7909e5badc', name: SLOTS.contentTop, slot: resources.SLOTS.contentTop }), index.h("slot", { key: 'e23532d080e2df529c2aeb6af043c6efe7a0ab6d', name: SLOTS.contentBottom, slot: resources.SLOTS.contentBottom }), index.h("slot", { key: 'db6ffc0d9300c77067a4c88ab277de685c7713af', name: SLOTS.footerStart, slot: resources.SLOTS.footerStart }), index.h("slot", { key: '5f249356da9292f34c4036d0d0741f048fe999e9', name: SLOTS.footer, slot: resources.SLOTS.footer }), index.h("slot", { key: '7476137bacc0f3be5c97682c5027f74d73254765', name: SLOTS.footerEnd, slot: resources.SLOTS.footerEnd }), index.h("slot", { key: '58f60a46c42a05abe9b100a57d478d991e4f25bc', name: SLOTS.footerActions, slot: resources.SLOTS.footerActions }), index.h("slot", { key: '926a8d94b76b6fcdef6dfd219ba8180c44f81c35' })))));
211
+ }
212
+ static get assetsDirs() { return ["assets"]; }
213
+ get el() { return index.getElement(this); }
214
+ static get watchers() { return {
215
+ "messageOverrides": ["onMessagesChange"],
216
+ "effectiveLocale": ["effectiveLocaleChange"]
217
+ }; }
218
+ };
219
+ FlowItem.style = CalciteFlowItemStyle0;
220
+
221
+ 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}}";
222
+ const CreateFeatureStyle0 = createFeatureCss;
223
+
224
+ const CreateFeature = class {
225
+ constructor(hostRef) {
226
+ index.registerInstance(this, hostRef);
227
+ this.success = index.createEvent(this, "success", 7);
228
+ this.fail = index.createEvent(this, "fail", 7);
229
+ this.drawComplete = index.createEvent(this, "drawComplete", 7);
230
+ this.editingAttachment = index.createEvent(this, "editingAttachment", 7);
231
+ this.progressStatus = index.createEvent(this, "progressStatus", 7);
232
+ this.modeChanged = index.createEvent(this, "modeChanged", 7);
233
+ this.mapView = undefined;
234
+ this.selectedLayerId = undefined;
235
+ this.customizeSubmit = false;
236
+ this.locale = undefined;
237
+ this.searchConfiguration = undefined;
238
+ this.isMobile = undefined;
239
+ this.floorLevel = undefined;
240
+ this.formElements = undefined;
241
+ this.enableSearch = false;
242
+ this.showGuidingMsg = true;
243
+ this.showGuidingMsgWhileDrawing = true;
244
+ this._editorLoading = false;
245
+ this._currentPage = "templatePicker";
246
+ this._translations = undefined;
247
+ }
248
+ get el() { return index.getElement(this); }
249
+ //--------------------------------------------------------------------------
250
+ //
251
+ // Properties (protected)
252
+ //
253
+ //--------------------------------------------------------------------------
254
+ /**
255
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
256
+ * The Editor constructor
257
+ */
258
+ Editor;
259
+ /**
260
+ * esri/form/ExpressionInfo: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html
261
+ * The ExpressionInfo constructor
262
+ */
263
+ ExpressionInfo;
264
+ /**
265
+ * esri/form/elements/FieldElement: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html
266
+ * The FieldElement constructor
267
+ */
268
+ FieldElement;
269
+ /**
270
+ * esri/form/FormTemplate: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html
271
+ */
272
+ FormTemplate;
273
+ /**
274
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
275
+ * The Editor instance
276
+ */
277
+ _editor;
278
+ /**
279
+ * https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
280
+ * The Feature layer instance
281
+ */
282
+ FeatureLayer;
283
+ /**
284
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
285
+ * The MapView instance
286
+ */
287
+ MapView;
288
+ /**
289
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
290
+ * Updated map view instance
291
+ */
292
+ _updatedMapView;
293
+ /**
294
+ * esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
295
+ * The Search instance
296
+ */
297
+ Search;
298
+ /**
299
+ * "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
300
+ * The Search instance
301
+ */
302
+ _search;
303
+ /**
304
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
305
+ */
306
+ reactiveUtils;
307
+ /**
308
+ * boolean: Flag to maintain the add attachment
309
+ */
310
+ _addingAttachment;
311
+ /**
312
+ * HTMLDivElement: The node the editor will be added to
313
+ */
314
+ _container;
315
+ /**
316
+ * HTMLDivElement: The node for the map view
317
+ */
318
+ _mapViewContainer;
319
+ /**
320
+ * boolean: Flag to maintain form submission using submit button
321
+ */
322
+ _isSubmitBtnClicked = false;
323
+ /**
324
+ * __esri.FeatureLayer: selected feature layer;
325
+ */
326
+ _selectedLayer;
327
+ /**
328
+ * HTMLDivElement: refrence for search div element
329
+ */
330
+ _searchDiv;
331
+ /**
332
+ * HTMLCalciteNoticeElement: calcite notice refrence element
333
+ */
334
+ _calciteNotice;
335
+ //--------------------------------------------------------------------------
336
+ //
337
+ // Watch handlers
338
+ //
339
+ //--------------------------------------------------------------------------
340
+ /**
341
+ * Fetch translations when the locale is updated
342
+ */
343
+ async localeWatchHandler() {
344
+ // to support url param and language switcher
345
+ this.el.lang = this.locale;
346
+ await this._getTranslations();
347
+ }
348
+ /**
349
+ * Called each time the mapView prop is changed.
350
+ */
351
+ async mapViewWatchHandler() {
352
+ await this.mapView.when(async () => {
353
+ await this.init();
354
+ });
355
+ }
356
+ /**
357
+ * Called each time when isMobile prop is changed.
358
+ */
359
+ async isMobileHandler() {
360
+ // emit an event when mode is changed to back to the feature selection panel (to avoid multiple maps conflict)
361
+ this.modeChanged.emit();
362
+ }
363
+ /**
364
+ * When _editorLoading is true the container node will be hidden while starting the create workflow
365
+ */
366
+ async _editorLoadingWatchHandler(v) {
367
+ if (v) {
368
+ this._container?.classList.add("display-none");
369
+ if (this._selectedLayer?.isTable) {
370
+ const template = this._selectedLayer.templates[0];
371
+ const creationInfo = {
372
+ layer: this._selectedLayer,
373
+ template
374
+ };
375
+ await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(creationInfo);
376
+ await this.hideEditorsElements();
377
+ }
378
+ else {
379
+ await this.startCreate();
380
+ }
381
+ this._container?.classList.remove("display-none");
382
+ this._editorLoading = false;
383
+ }
384
+ }
385
+ //--------------------------------------------------------------------------
386
+ //
387
+ // Methods (public)
388
+ //
389
+ //--------------------------------------------------------------------------
390
+ /**
391
+ * Submit the created feature
392
+ * @returns Promise that resolves when the operation is complete
393
+ */
394
+ async submit() {
395
+ if (this._editor) {
396
+ this._isSubmitBtnClicked = true;
397
+ this._editor.viewModel.featureFormViewModel.submit();
398
+ }
399
+ }
400
+ /**
401
+ * refresh the feature form
402
+ * @returns Promise that resolves when the operation is complete
403
+ */
404
+ async refresh(floorLevel) {
405
+ if (this._editor) {
406
+ void this._setFloorLevel(floorLevel);
407
+ }
408
+ }
409
+ //--------------------------------------------------------------------------
410
+ //
411
+ // Events (public)
412
+ //
413
+ //--------------------------------------------------------------------------
414
+ /**
415
+ * Emitted on demand when the feature is created successfully
416
+ */
417
+ success;
418
+ /**
419
+ * Emitted on demand when the feature creation is failed
420
+ */
421
+ fail;
422
+ /**
423
+ * Emitted on demand when drawing is completed
424
+ */
425
+ drawComplete;
426
+ /**
427
+ * Emitted on demand when editing attachments
428
+ */
429
+ editingAttachment;
430
+ /**
431
+ * Emitted on demand when editor panel changes
432
+ */
433
+ progressStatus;
434
+ /**
435
+ * Emitted on switched form mobile to desktop or vice versa
436
+ */
437
+ modeChanged;
438
+ //--------------------------------------------------------------------------
439
+ //
440
+ // Functions (lifecycle)
441
+ //
442
+ //--------------------------------------------------------------------------
443
+ /**
444
+ * StencilJS: Called once just after the component is first connected to the DOM.
445
+ * @returns Promise when complete
446
+ */
447
+ async componentWillLoad() {
448
+ await this._getTranslations();
449
+ await this.initModules();
450
+ }
451
+ /**
452
+ * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
453
+ */
454
+ async componentDidLoad() {
455
+ await this.init();
456
+ }
457
+ /**
458
+ * Called after each render
459
+ * Used to adjust the map top in case of mobile
460
+ */
461
+ componentDidRender() {
462
+ // update the map top according to space occupied by notice msg and search
463
+ if (this.isMobile) {
464
+ // get the height of notice, search and add 80px(editor msg) height to adjust the map top
465
+ const top = this._calciteNotice.offsetHeight + this._searchDiv.offsetHeight + 80;
466
+ this._mapViewContainer.style.top = `${top}px`;
467
+ }
468
+ }
469
+ /**
470
+ * StencilJS: Called every time the component is disconnected from the DOM,
471
+ */
472
+ disconnectedCallback() {
473
+ if (this._editor) {
474
+ this._editor.destroy();
475
+ }
476
+ }
477
+ /**
478
+ * Renders the component.
479
+ */
480
+ render() {
481
+ const showSearchWidget = this._currentPage === 'drawing' ? "" : "display-none";
482
+ const loaderClass = this._editorLoading ? "" : "display-none";
483
+ const featureFormClass = this._editorLoading ? "display-none" : "";
484
+ const mobileMapClass = this.isMobile ? "show-map" : "display-none";
485
+ // hide guiding msg for drawing page when showGuidingMsgWhileDrawing is false
486
+ const showGuidingMsg = this.showGuidingMsg && (this.showGuidingMsgWhileDrawing || this._currentPage !== "drawing");
487
+ let guidingMsg = this._translations.chooseCategoryMsg;
488
+ if (this._currentPage === 'drawing') {
489
+ guidingMsg = this._translations.provideLocationMsg;
490
+ }
491
+ else if (this._currentPage === 'featureForm') {
492
+ guidingMsg = this._translations.provideDetailsMsg;
493
+ }
494
+ return (index.h(index.Fragment, { key: '5ff1ae8fd3d3ca323e4a4cf58118632de8f666e8' }, showGuidingMsg && index.h("calcite-notice", { key: '908e0893f38e70a76541da6b102ff2664caeb5f1', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, index.h("div", { key: '2b070778d3d9d864ba4a3d0be2d766d5a2ddc398', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: '1cc22fb1a2db9c69538dc72953c9a6181d197a17', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: '68f8fb63bfb05aba67ac9b4906d61f0267718033', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
495
+ index.h("div", { key: 'a7688f8306d4c10a8abb45200fd89785cda444d8', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), index.h("div", { key: 'ffed98a27fdc673fdbadc88533344d338f554ff3', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
496
+ }
497
+ //--------------------------------------------------------------------------
498
+ //
499
+ // Functions (protected)
500
+ //
501
+ //--------------------------------------------------------------------------
502
+ /**
503
+ * Init Editor widget and Search widget
504
+ */
505
+ async init() {
506
+ if (this.mapView && this.selectedLayerId) {
507
+ this._updatedMapView = this.mapView;
508
+ // In mobile mode show the map in panel
509
+ await (this.isMobile ? this.createMobileMapView() : this._loadWidgets());
510
+ }
511
+ }
512
+ /**
513
+ * Load esri javascript api modules
514
+ * @returns Promise resolving when function is done
515
+ * @protected
516
+ */
517
+ async initModules() {
518
+ const [Editor, reactiveUtils, Search, ExpressionInfo, FieldElement, FormTemplate, MapView] = await locale$1.loadModules([
519
+ "esri/widgets/Editor",
520
+ "esri/core/reactiveUtils",
521
+ "esri/widgets/Search",
522
+ "esri/form/ExpressionInfo",
523
+ "esri/form/elements/FieldElement",
524
+ "esri/form/FormTemplate",
525
+ "esri/views/MapView"
526
+ ]);
527
+ this.Editor = Editor;
528
+ this.reactiveUtils = reactiveUtils;
529
+ this.Search = Search;
530
+ this.ExpressionInfo = ExpressionInfo;
531
+ this.FieldElement = FieldElement;
532
+ this.FormTemplate = FormTemplate;
533
+ this.MapView = MapView;
534
+ }
535
+ /**
536
+ * updates the map view (in case of mobile)
537
+ * @protected
538
+ */
539
+ async createMobileMapView() {
540
+ this._mapViewContainer.classList.add('hide-map');
541
+ await new this.MapView({
542
+ map: this.mapView.map,
543
+ container: this._mapViewContainer,
544
+ zoom: this.mapView.zoom
545
+ }).when((view) => {
546
+ // update the mapView and load all widgets
547
+ this._updatedMapView = view;
548
+ void this._loadWidgets();
549
+ }, (e) => {
550
+ console.log(e);
551
+ });
552
+ }
553
+ /**
554
+ * Loads the Editor and Search widgets
555
+ * @protected
556
+ */
557
+ async _loadWidgets() {
558
+ await this.createEditorWidget();
559
+ if (this.enableSearch) {
560
+ await this.createSearchWidget();
561
+ }
562
+ }
563
+ /**
564
+ * Display editor widget to create the new feature
565
+ * @protected
566
+ */
567
+ async createEditorWidget() {
568
+ if (this._editor) {
569
+ this._editor.destroy();
570
+ }
571
+ const layerInfos = [];
572
+ this._container = document.createElement("div");
573
+ this._container?.classList.add("display-none");
574
+ const allMapLayers = await mapViewUtils.getAllLayers(this._updatedMapView);
575
+ this._selectedLayer = await mapViewUtils.getLayerOrTable(this.mapView, this.selectedLayerId);
576
+ // if layer is selected then only use the layerInfos while initializing the editor widget
577
+ if (!this._selectedLayer?.isTable) {
578
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
579
+ allMapLayers.forEach(async (eachLayer) => {
580
+ layerInfos.push({
581
+ layer: eachLayer,
582
+ enabled: eachLayer?.type === "feature" && eachLayer?.id === this.selectedLayerId,
583
+ addEnabled: true, // default is true, set to false to disable the ability to add a new feature
584
+ updateEnabled: false, // if true, enable ability to edit an existing feature
585
+ deleteEnabled: false // default is true, set to false to disable the ability to delete features
586
+ });
587
+ });
588
+ }
589
+ this._editor = new this.Editor({
590
+ view: this._updatedMapView,
591
+ layerInfos: layerInfos,
592
+ visibleElements: {
593
+ snappingControls: false,
594
+ createFeaturesSection: true,
595
+ editFeaturesSection: false
596
+ },
597
+ container: this._container
598
+ });
599
+ if (this._mapViewContainer) {
600
+ this.el.insertBefore(this._container, this._mapViewContainer);
601
+ }
602
+ else {
603
+ this.el.appendChild(this._container);
604
+ }
605
+ //Add handle to watch if attachments are added/edited
606
+ const attachmentHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
607
+ if (state === 'adding-attachment' || state === 'editing-attachment') {
608
+ this._addingAttachment = true;
609
+ this.editingAttachment.emit(true);
610
+ }
611
+ else {
612
+ if (this._addingAttachment) {
613
+ this.editingAttachment.emit(false);
614
+ this._addingAttachment = false;
615
+ }
616
+ }
617
+ });
618
+ this._editor.viewModel.addHandles(attachmentHandle);
619
+ //Add handle to watch featureTemplatesViewModel ready state and then start the creation
620
+ const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
621
+ if (state === 'ready' && this._editor.viewModel?.activeWorkflow?.type !== "create-features") {
622
+ this.progressStatus.emit(0.5);
623
+ this._editorLoading = true;
624
+ }
625
+ });
626
+ this._editor.viewModel.addHandles(handle);
627
+ //Add handle to watch featureFormViewModel ready state
628
+ const formHandle = this.reactiveUtils.watch(() => this._editor.viewModel.featureFormViewModel?.state, (state) => {
629
+ if (state === 'ready') {
630
+ this._mapViewContainer?.classList?.replace("show-map", "hide-map");
631
+ this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
632
+ setTimeout(() => {
633
+ void this._setFloorLevel(this.floorLevel);
634
+ }, 50);
635
+ this._currentPage = 'featureForm';
636
+ this.progressStatus.emit(1);
637
+ this.drawComplete.emit();
638
+ }
639
+ });
640
+ this._editor.viewModel.addHandles(formHandle);
641
+ //Add handle to watch editor viewmodel state and then show the search widget
642
+ const createFeatureHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
643
+ if (state === 'creating-features') {
644
+ if (this._editor.viewModel.featureFormViewModel.state === 'disabled') {
645
+ this._mapViewContainer?.classList?.replace("hide-map", "show-map");
646
+ if (this._selectedLayer && !this._selectedLayer.isTable) {
647
+ this._currentPage = 'drawing';
648
+ }
649
+ }
650
+ }
651
+ });
652
+ this._editor.viewModel.addHandles(createFeatureHandle);
653
+ }
654
+ /**
655
+ * Start creating the feature
656
+ * @protected
657
+ */
658
+ async startCreate() {
659
+ // hides the header elements on template picker page
660
+ await this.hideEditorsElements();
661
+ return new Promise((resolve, reject) => {
662
+ if (this._editor.viewModel.featureTemplatesViewModel.items?.length) {
663
+ const items = this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");
664
+ //once the feature template is selected handle the event for formSubmit and sketch complete
665
+ //also, hide the headers and footer in the editor as we will be showing our own submit and cancel button
666
+ this._editor.viewModel.featureTemplatesViewModel.on('select', () => {
667
+ this.progressStatus.emit(0.75);
668
+ setTimeout(() => {
669
+ //hides the header and footer elements in editor widget
670
+ this.hideEditorsElements().then(() => {
671
+ resolve({});
672
+ }, e => reject(e));
673
+ }, 700);
674
+ });
675
+ //if only one feature template then directly start geometry creation for that
676
+ if (items.length === 1) {
677
+ this._editor.viewModel.featureTemplatesViewModel.select(items[0]);
678
+ }
679
+ const resolvePromise = items.length > 1;
680
+ this.hideEditorsElements().then(() => {
681
+ if (resolvePromise) {
682
+ resolve({});
683
+ }
684
+ }, e => resolvePromise && reject(e));
685
+ }
686
+ });
687
+ }
688
+ /**
689
+ * Display search widget to search location
690
+ * @protected
691
+ */
692
+ async createSearchWidget() {
693
+ let searchOptions = {
694
+ view: this._updatedMapView,
695
+ };
696
+ if (this.searchConfiguration) {
697
+ const searchConfiguration = this._getSearchConfig(this.searchConfiguration, this._updatedMapView);
698
+ searchOptions = {
699
+ ...searchConfiguration
700
+ };
701
+ }
702
+ this._search = new this.Search(searchOptions);
703
+ this._search.container = 'search-widget-ref';
704
+ this._search.popupEnabled = false;
705
+ this._search.resultGraphicEnabled = false;
706
+ let pointGeometry = null;
707
+ // on search get the geometry of the searched location and pass it in sketchViewModel and go to featureForm page
708
+ this._search.on('search-complete', (e) => {
709
+ void this._updatedMapView.goTo(e.results[0].results[0].extent);
710
+ if (this._selectedLayer.geometryType === 'point') {
711
+ pointGeometry = e.results[0].results[0]?.feature.geometry;
712
+ }
713
+ });
714
+ //Add handle to watch if search viewModel state is ready
715
+ const createFeatureHandle = this.reactiveUtils.watch(() => this._search.viewModel.state, (state) => {
716
+ if (state === 'ready') {
717
+ setTimeout(() => {
718
+ if (this._editor.viewModel.sketchViewModel.createGraphic && pointGeometry) {
719
+ this._editor.viewModel.sketchViewModel.createGraphic.set('geometry', pointGeometry);
720
+ this._editor.viewModel.sketchViewModel.complete();
721
+ void this.hideEditorsElements();
722
+ }
723
+ }, 100);
724
+ }
725
+ });
726
+ this._search.viewModel.addHandles(createFeatureHandle);
727
+ }
728
+ /**
729
+ * Initialize the search widget based on user defined configuration
730
+ *
731
+ * @param searchConfiguration search configuration defined by the user
732
+ * @param view the current map view
733
+ *
734
+ * @protected
735
+ */
736
+ _getSearchConfig(searchConfiguration, view) {
737
+ const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
738
+ const sources = searchConfiguration.sources;
739
+ if (sources?.length > 0) {
740
+ searchConfiguration[INCLUDE_DEFAULT_SOURCES] = false;
741
+ sources.forEach((source) => {
742
+ const isLayerSource = source.hasOwnProperty("layer");
743
+ if (isLayerSource) {
744
+ const layerSource = source;
745
+ const layerId = layerSource.layer?.id;
746
+ const layerFromMap = layerId ? view.map.findLayerById(layerId) : null;
747
+ const layerUrl = layerSource?.layer?.url;
748
+ if (layerFromMap) {
749
+ layerSource.layer = layerFromMap;
750
+ }
751
+ else if (layerUrl) {
752
+ layerSource.layer = new this.FeatureLayer(layerUrl);
753
+ }
754
+ }
755
+ });
756
+ sources?.forEach((source) => {
757
+ const isLocatorSource = source.hasOwnProperty("locator");
758
+ if (isLocatorSource) {
759
+ const locatorSource = source;
760
+ if (locatorSource?.name === "ArcGIS World Geocoding Service") {
761
+ const outFields = locatorSource.outFields || ["Addr_type", "Match_addr", "StAddr", "City"];
762
+ locatorSource.outFields = outFields;
763
+ locatorSource.singleLineFieldName = "SingleLine";
764
+ }
765
+ locatorSource.url = locatorSource.url;
766
+ delete locatorSource.url;
767
+ }
768
+ });
769
+ }
770
+ else {
771
+ searchConfiguration = {
772
+ ...searchConfiguration,
773
+ includeDefaultSources: true
774
+ };
775
+ }
776
+ return searchConfiguration;
777
+ }
778
+ /**
779
+ * Add the floor level value to form
780
+ * @param level selected floor level
781
+ *
782
+ * @protected
783
+ */
784
+ async _setFloorLevel(level) {
785
+ if (!level) {
786
+ return;
787
+ }
788
+ const layer = this._selectedLayer;
789
+ if (layer?.floorInfo?.floorField) {
790
+ const layerField = layer.fields.find((field) => field.name === layer.floorInfo.floorField);
791
+ // 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
792
+ if (layerField && !layer?.formTemplate) {
793
+ this._editor.viewModel.featureFormViewModel.setValue(layerField.name, level);
794
+ layerField.editable = false;
795
+ }
796
+ else if (layer.formTemplate && this.formElements) {
797
+ const floorInfoExpression = new this.ExpressionInfo({
798
+ expression: `"${level}"`,
799
+ name: "floor-info-test",
800
+ title: "Floor Info",
801
+ returnType: "string"
802
+ });
803
+ const levelIdFieldElement = new this.FieldElement({
804
+ label: layer.floorInfo.floorField,
805
+ editableExpression: 'false',
806
+ fieldName: layer.floorInfo.floorField,
807
+ input: {
808
+ type: "text-box",
809
+ maxLength: 50,
810
+ minLength: 0
811
+ },
812
+ valueExpression: floorInfoExpression.name
813
+ });
814
+ this._updatedMapView.map.editableLayers.forEach((layer) => {
815
+ const orgElements = this.formElements.orgElements;
816
+ const orgExpressionInfos = this.formElements.orgExpressionInfos;
817
+ const elements = [...orgElements];
818
+ elements.push(levelIdFieldElement);
819
+ // Creating formtemplate
820
+ const floorInfoTemplate = new this.FormTemplate({
821
+ title: layer.formTemplate.title,
822
+ description: layer.formTemplate.description,
823
+ elements,
824
+ expressionInfos: [floorInfoExpression].concat(orgExpressionInfos)
825
+ });
826
+ layer.formTemplate = floorInfoTemplate;
827
+ });
828
+ }
829
+ }
830
+ }
831
+ /**
832
+ * Hides the elements of editor widget
833
+ * @protected
834
+ */
835
+ async hideEditorsElements() {
836
+ if (!this.customizeSubmit) {
837
+ return;
838
+ }
839
+ await this.timeout(700);
840
+ //hides the header and footer on the featureForm
841
+ this.el.querySelector('.esri-editor')?.querySelectorAll('calcite-flow-item')?.forEach((flowItem) => {
842
+ const article = flowItem.shadowRoot?.querySelector('calcite-panel')?.shadowRoot?.querySelector('article');
843
+ //hide the header
844
+ article?.querySelector('header')?.setAttribute('style', 'display: none');
845
+ //hide the footer
846
+ article?.querySelector('footer')?.setAttribute('style', 'display: none');
847
+ });
848
+ }
849
+ /**
850
+ * On creation of feature emit the event that the feature is created
851
+ * @param evt feature submit event
852
+ * @protected
853
+ */
854
+ async submitted(evt) {
855
+ //return if any attribute is invalid , focus will be shifted to the invalid attribute in feature form
856
+ if (evt.invalid.length) {
857
+ this._isSubmitBtnClicked = false;
858
+ return;
859
+ }
860
+ //Submit only when valid attributes
861
+ //emit success or fail based on the result
862
+ if (evt.valid.length && this._isSubmitBtnClicked) {
863
+ this._isSubmitBtnClicked = false;
864
+ try {
865
+ await this._editor.activeWorkflow.commit();
866
+ //throw errors if any failures
867
+ if (this._editor.viewModel.failures?.length) {
868
+ this._editor.viewModel.failures.some((failure) => {
869
+ if (failure.error) {
870
+ throw (failure.error);
871
+ }
872
+ });
873
+ }
874
+ }
875
+ catch (e) {
876
+ this.fail.emit(e);
877
+ return;
878
+ }
879
+ this.success.emit();
880
+ }
881
+ }
882
+ /**
883
+ * call setTimeout in Promise wrapper
884
+ * @param delay The time, in milliseconds that the timer should wait before the promise is resolved
885
+ * @protected
886
+ */
887
+ timeout(delay) {
888
+ return new Promise(resolve => setTimeout(resolve, delay));
889
+ }
890
+ /**
891
+ * Fetches the component's translations
892
+ * @returns Promise when complete
893
+ * @protected
894
+ */
895
+ async _getTranslations() {
896
+ const messages = await locale$1.getLocaleComponentStrings(this.el);
897
+ this._translations = messages[0];
898
+ }
899
+ static get watchers() { return {
900
+ "locale": ["localeWatchHandler"],
901
+ "mapView": ["mapViewWatchHandler"],
902
+ "isMobile": ["isMobileHandler"],
903
+ "_editorLoading": ["_editorLoadingWatchHandler"]
904
+ }; }
905
+ };
906
+ CreateFeature.style = CreateFeatureStyle0;
907
+
908
+ const deleteButtonCss = ":host{display:block}.delete-modal{position:fixed}";
909
+ const DeleteButtonStyle0 = deleteButtonCss;
910
+
911
+ const DeleteButton = class {
912
+ constructor(hostRef) {
913
+ index.registerInstance(this, hostRef);
914
+ this.editsComplete = index.createEvent(this, "editsComplete", 7);
915
+ this.deleteDialog = undefined;
916
+ this.buttonType = "button";
917
+ this.disabled = false;
918
+ this.icon = undefined;
919
+ this.ids = [];
920
+ this.layer = undefined;
921
+ this.locale = undefined;
922
+ this._confirmDelete = false;
923
+ this._deleteEndabled = false;
924
+ this._supportsDelete = undefined;
925
+ this._translations = undefined;
926
+ }
927
+ get el() { return index.getElement(this); }
928
+ //--------------------------------------------------------------------------
929
+ //
930
+ // Properties (protected)
931
+ //
932
+ //--------------------------------------------------------------------------
933
+ //--------------------------------------------------------------------------
934
+ //
935
+ // Watch handlers
936
+ //
937
+ //--------------------------------------------------------------------------
938
+ /**
939
+ * watch for changes in layer view and verify if it has editing enabled
940
+ */
941
+ async idsWatchHandler() {
942
+ this._setDeleteEnabled();
943
+ }
944
+ /**
945
+ * watch for changes in layer view and verify if it has editing enabled
946
+ */
947
+ async layerWatchHandler() {
948
+ this._setDeleteEnabled();
949
+ }
950
+ /**
951
+ * Fetch translations when the locale is updated
952
+ */
953
+ async localeWatchHandler() {
954
+ // to support url param and language switcher
955
+ this.el.lang = this.locale;
956
+ await this._getTranslations();
957
+ }
958
+ //--------------------------------------------------------------------------
959
+ //
960
+ // Methods (public)
961
+ //
962
+ //--------------------------------------------------------------------------
963
+ //--------------------------------------------------------------------------
964
+ //
965
+ // Events (public)
966
+ //
967
+ //--------------------------------------------------------------------------
968
+ /**
969
+ * Emitted on demand when features have been deleted
970
+ */
971
+ editsComplete;
972
+ //--------------------------------------------------------------------------
973
+ //
974
+ // Functions (lifecycle)
975
+ //
976
+ //--------------------------------------------------------------------------
977
+ /**
978
+ * StencilJS: Called once just after the component is first connected to the DOM.
979
+ *
980
+ * @returns Promise when complete
981
+ */
982
+ async componentWillLoad() {
983
+ await this._getTranslations();
984
+ }
985
+ /**
986
+ * Renders the component.
987
+ */
988
+ render() {
989
+ return (index.h(index.Host, { key: '16e40d762fda104d4b5687076a66c8a966c74838' }, this.buttonType === "button" ? (index.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()))) : (index.h("calcite-action", { appearance: "solid", disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, index.h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), index.h("calcite-tooltip", { key: '43b52554c36cdeffb89e9c6c81bbb0a0549fa20b', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, index.h("span", { key: 'f27147140dedcea99d759d5a84128adfc788becc' }, this._translations.delete))));
990
+ }
991
+ /**
992
+ * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
993
+ */
994
+ async componentDidLoad() {
995
+ this._setDeleteEnabled();
996
+ }
997
+ //--------------------------------------------------------------------------
998
+ //
999
+ // Functions (protected)
1000
+ //
1001
+ //--------------------------------------------------------------------------
1002
+ /**
1003
+ * Verify if the layer supports delete and that we have 1 or more ids
1004
+ */
1005
+ _setDeleteEnabled() {
1006
+ this._supportsDelete = this.layer?.editingEnabled && this.layer?.capabilities?.operations?.supportsDelete;
1007
+ this._deleteEndabled = !this.disabled || this._supportsDelete && this.ids.length > 0;
1008
+ }
1009
+ /**
1010
+ * Delete all selected records or shows an alert if the layer does not have editing enabled
1011
+ *
1012
+ * @returns a promise that will resolve when the operation is complete
1013
+ */
1014
+ _delete() {
1015
+ this._confirmDelete = true;
1016
+ }
1017
+ /**
1018
+ * Show delete confirmation message
1019
+ *
1020
+ * @returns node to confirm or deny the delete operation
1021
+ */
1022
+ _deleteMessage() {
1023
+ return this.deleteDialog ? this.deleteDialog : (index.h("delete-dialog", { id: "solution-delete-dialog", ids: this.ids, layer: this.layer, locale: this.locale, onDeleteDialogClose: () => this._confirmDelete = false, open: this._confirmDelete }));
1024
+ }
1025
+ /**
1026
+ * Fetches the component's translations
1027
+ *
1028
+ * @returns Promise when complete
1029
+ * @protected
1030
+ */
1031
+ async _getTranslations() {
1032
+ const messages = await locale$1.getLocaleComponentStrings(this.el);
1033
+ this._translations = messages[0];
1034
+ }
1035
+ static get watchers() { return {
1036
+ "ids": ["idsWatchHandler"],
1037
+ "layer": ["layerWatchHandler"],
1038
+ "locale": ["localeWatchHandler"]
1039
+ }; }
1040
+ };
1041
+ DeleteButton.style = DeleteButtonStyle0;
1042
+
1043
+ 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}";
1044
+ const EditCardStyle0 = editCardCss;
1045
+
1046
+ const EditCard = class {
1047
+ constructor(hostRef) {
1048
+ index.registerInstance(this, hostRef);
1049
+ this.closeEdit = index.createEvent(this, "closeEdit", 7);
1050
+ this.editorInitialized = index.createEvent(this, "editorInitialized", 7);
1051
+ this.editsComplete = index.createEvent(this, "editsComplete", 7);
1052
+ this.refreshGraphics = index.createEvent(this, "refreshGraphics", 7);
1053
+ this.enableEditGeometry = false;
1054
+ this.graphics = undefined;
1055
+ this.locale = undefined;
1056
+ this.mapView = undefined;
1057
+ this.open = false;
1058
+ this.graphicIndex = 0;
1059
+ this._editorLoading = false;
1060
+ this._translations = undefined;
1061
+ }
1062
+ get el() { return index.getElement(this); }
1063
+ //--------------------------------------------------------------------------
1064
+ //
1065
+ // Properties (protected)
1066
+ //
1067
+ //--------------------------------------------------------------------------
1068
+ /**
1069
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1070
+ */
1071
+ _activeWorkflowHandle;
1072
+ /**
1073
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1074
+ */
1075
+ _addRelatedRecordHandle;
1076
+ /**
1077
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1078
+ */
1079
+ _attachmentHandle;
1080
+ /**
1081
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1082
+ */
1083
+ _editHandle;
1084
+ /**
1085
+ * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1086
+ */
1087
+ _layerEditHandle;
1088
+ /**
1089
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
1090
+ * The Editor constructor
1091
+ */
1092
+ Editor;
1093
+ /**
1094
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
1095
+ * The Editor instance
1096
+ */
1097
+ _editor;
1098
+ /**
1099
+ * esri/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
1100
+ * OR
1101
+ * esri/layers/support/SubtypeSublayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html
1102
+ */
1103
+ _layer;
1104
+ /**
1105
+ * HTMLDivElement: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
1106
+ */
1107
+ _editContainer;
1108
+ /**
1109
+ * any[]: Collection of edit controls created in "MULTI" edit mode
1110
+ * These can be calcite-input-text, calcite-input-number, calcite-input-date-picker, calcite-input-time-picker, or calcite-combobox
1111
+ */
1112
+ _editControlElements;
1113
+ /**
1114
+ * boolean: When true edit controls will be disabled
1115
+ */
1116
+ _editingDisabled;
1117
+ /**
1118
+ * boolean: When true the Editor widget should be closed
1119
+ * Without this logic we are taken to the Editors "Select" workflow step
1120
+ */
1121
+ _shouldClose = false;
1122
+ /**
1123
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
1124
+ */
1125
+ reactiveUtils;
1126
+ //--------------------------------------------------------------------------
1127
+ //
1128
+ // Watch handlers
1129
+ //
1130
+ //--------------------------------------------------------------------------
1131
+ /**
1132
+ * Watch for changes to the graphics and update the feature widget
1133
+ */
1134
+ async graphicsWatchHandler() {
1135
+ if (this.graphics.length === 0 && this.open) {
1136
+ await this._closeEdit(true);
1137
+ }
1138
+ }
1139
+ /**
1140
+ * Fetch translations when the locale is updated
1141
+ */
1142
+ async localeWatchHandler() {
1143
+ // to support url param and language switcher
1144
+ this.el.lang = this.locale;
1145
+ await this._getTranslations();
1146
+ }
1147
+ async openWatchHandler(v) {
1148
+ if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
1149
+ this._editorLoading = true;
1150
+ await this._initEditorWidget();
1151
+ if (this.graphicIndex > -1 && this.graphics.length > 0 && this.open && !this._shouldClose) {
1152
+ await this._startUpdate();
1153
+ }
1154
+ this._editorLoading = false;
1155
+ }
1156
+ if (!v) {
1157
+ await this._closeEdit(true);
1158
+ }
1159
+ }
1160
+ //--------------------------------------------------------------------------
1161
+ //
1162
+ // Methods (public)
1163
+ //
1164
+ //--------------------------------------------------------------------------
1165
+ //--------------------------------------------------------------------------
1166
+ //
1167
+ // Events (public)
1168
+ //
1169
+ //--------------------------------------------------------------------------
1170
+ /**
1171
+ * Emitted on demand when the Editor widget should be closed
1172
+ */
1173
+ closeEdit;
1174
+ /**
1175
+ * Emit the Editor when it is initialized
1176
+ */
1177
+ editorInitialized;
1178
+ /**
1179
+ * Emitted on demand when edits are completed on current edit layer
1180
+ */
1181
+ editsComplete;
1182
+ /**
1183
+ * Emitted on demand when the editor is closed to handle
1184
+ * things like attachment updates that don't fire the standard edit update event when complete
1185
+ */
1186
+ refreshGraphics;
1187
+ async featureSelectionChange() {
1188
+ if (this.open) {
1189
+ await this._closeEdit(false);
1190
+ }
1191
+ }
1192
+ //--------------------------------------------------------------------------
1193
+ //
1194
+ // Functions (lifecycle)
1195
+ //
1196
+ //--------------------------------------------------------------------------
1197
+ /**
1198
+ * StencilJS: Called once just after the component is first connected to the DOM.
1199
+ *
1200
+ * @returns Promise when complete
1201
+ */
1202
+ async componentWillLoad() {
1203
+ await this._initModules();
1204
+ await this._getTranslations();
1205
+ }
1206
+ /**
1207
+ * Special handeling when used with layer-table.
1208
+ * This allows us to only fetch graphics when the modal is opened rather than with every render of the layer-table.
1209
+ *
1210
+ * @returns Promise when complete
1211
+ */
1212
+ async componentWillRender() {
1213
+ if (this.graphics?.length > 0 && this.graphics[0]?.layer) {
1214
+ this._layer = this.graphics[0].layer;
1215
+ if (this._layerEditHandle) {
1216
+ this._layerEditHandle.remove();
1217
+ }
1218
+ // #896 Editing on sybtype group layer is failing in Manager
1219
+ const layer = this._layer.type === "subtype-sublayer" ? this._layer.parent : this._layer;
1220
+ this._layerEditHandle = layer.on("edits", () => {
1221
+ this.editsComplete.emit();
1222
+ });
1223
+ }
1224
+ }
1225
+ /**
1226
+ * Renders the component.
1227
+ */
1228
+ render() {
1229
+ // This is a temp workaround hopefully...this._editingDisabled should reflect the current state but does not
1230
+ // when you use MULTI edit mode...is fine in SINGLE
1231
+ const editDisabled = this.graphics?.length > 0 && this.graphics[0] ?
1232
+ !this.graphics[0].layer.editingEnabled : true;
1233
+ const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
1234
+ const loadingClass = this._editorLoading ? "" : "display-none";
1235
+ return (index.h(index.Host, { key: '07a1ccdba5162490e20fee0ef555cef895f0885e' }, index.h("div", { key: '845beed84402ca9a4056bd7231eed52a89ff65b8', class: "position-absolute" }, editDisabled ? (index.h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, index.h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, index.h("div", { key: '0f8dcb1c8d2cd8df395a5f0b2abf9e1d3a50f11f', class: "position-absolute" }, index.h("div", { key: 'f0906c8e8c046f8464a5487958b6bc637207b00c', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: 'cb2e513262d14470287097572c905173a0c63f92', class: loadingClass, label: "", scale: "s" })))));
1236
+ }
1237
+ //--------------------------------------------------------------------------
1238
+ //
1239
+ // Functions (protected)
1240
+ //
1241
+ //--------------------------------------------------------------------------
1242
+ /**
1243
+ * Load esri javascript api modules
1244
+ *
1245
+ * @returns Promise resolving when function is done
1246
+ */
1247
+ async _initModules() {
1248
+ const [Editor, reactiveUtils] = await locale$1.loadModules([
1249
+ "esri/widgets/Editor",
1250
+ "esri/core/reactiveUtils"
1251
+ ]);
1252
+ this.Editor = Editor;
1253
+ this.reactiveUtils = reactiveUtils;
1254
+ }
1255
+ /**
1256
+ * Init the Editor widget so we can display the popup content
1257
+ */
1258
+ async _initEditorWidget() {
1259
+ if (this.mapView && this.graphics && this.graphics.length > 0 && this.graphics[0]) {
1260
+ if (this._editor) {
1261
+ this._editor.destroy();
1262
+ }
1263
+ const container = document.createElement("div");
1264
+ const layers = await mapViewUtils.getAllLayers(this.mapView);
1265
+ const layerInfos = layers.map(layer => {
1266
+ return {
1267
+ layer,
1268
+ geometryUpdatesEnabled: this.enableEditGeometry
1269
+ };
1270
+ });
1271
+ this._editor = new this.Editor({
1272
+ view: this.mapView,
1273
+ layerInfos,
1274
+ visibleElements: {
1275
+ snappingControls: false
1276
+ },
1277
+ container
1278
+ });
1279
+ if (this._attachmentHandle && this._activeWorkflowHandle) {
1280
+ this._attachmentHandle.remove();
1281
+ this._activeWorkflowHandle.remove();
1282
+ }
1283
+ this._attachmentHandle = this.reactiveUtils.when(() => this._editor.viewModel.state === "adding-attachment" ||
1284
+ this._editor.viewModel.state === "editing-attachment" ||
1285
+ this._editor.viewModel.state === "creating-features", () => {
1286
+ this._shouldClose = false;
1287
+ });
1288
+ this._activeWorkflowHandle = this.reactiveUtils.watch(() => this._editor.viewModel.activeWorkflow?.activeWorkflow, (activeWorkflow) => {
1289
+ if (activeWorkflow?.type === "update-table-record" || activeWorkflow?.type === "create-features") {
1290
+ this._shouldClose = false;
1291
+ }
1292
+ // Handle back click and when feature is de-selected from the table
1293
+ // this ensures that we are not shown the Editors "Select" workflow step
1294
+ if ((!activeWorkflow?.type && !activeWorkflow?.hasPendingEdits && !this._editor.activeWorkflow) || !this._editor?.activeWorkflow?.started) {
1295
+ this.open = false;
1296
+ }
1297
+ });
1298
+ // had issues with destroy before adding like this
1299
+ this._editContainer.appendChild(container);
1300
+ this.editorInitialized.emit(this._editor);
1301
+ }
1302
+ }
1303
+ /**
1304
+ * Close the edit widget
1305
+ */
1306
+ async _closeEdit(destroyOnClose) {
1307
+ this._shouldClose = true;
1308
+ if (destroyOnClose && this._editor?.activeWorkflow) {
1309
+ if (this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits) {
1310
+ await this._editor.activeWorkflow.reset();
1311
+ await this._editor.cancelWorkflow();
1312
+ }
1313
+ this._editor.destroy();
1314
+ }
1315
+ else {
1316
+ if (this.graphicIndex > -1 && this.graphics?.length > 0) {
1317
+ this.refreshGraphics.emit(this.graphics);
1318
+ }
1319
+ }
1320
+ this._shouldClose = false;
1321
+ this.closeEdit.emit();
1322
+ }
1323
+ /**
1324
+ * Start the update workflow for the editor widget
1325
+ */
1326
+ async _startUpdate() {
1327
+ await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]);
1328
+ this._shouldClose = true;
1329
+ }
1330
+ /**
1331
+ * Fetches the component's translations
1332
+ *
1333
+ * @returns Promise when complete
1334
+ */
1335
+ async _getTranslations() {
1336
+ const messages = await locale$1.getLocaleComponentStrings(this.el);
1337
+ this._translations = messages[0];
1338
+ }
1339
+ static get watchers() { return {
1340
+ "graphics": ["graphicsWatchHandler"],
1341
+ "locale": ["localeWatchHandler"],
1342
+ "open": ["openWatchHandler"]
1343
+ }; }
1344
+ };
1345
+ EditCard.style = EditCardStyle0;
1346
+
1347
+ 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}";
1348
+ const InfoCardStyle0 = infoCardCss;
1349
+
1350
+ const InfoCard = class {
1351
+ constructor(hostRef) {
1352
+ index.registerInstance(this, hostRef);
1353
+ this.popupClosed = index.createEvent(this, "popupClosed", 7);
1354
+ this.selectionChanged = index.createEvent(this, "selectionChanged", 7);
1355
+ this.enableEditGeometry = false;
1356
+ this.graphics = undefined;
1357
+ this.isLoading = false;
1358
+ this.isMobile = undefined;
1359
+ this.mapView = undefined;
1360
+ this.allowEditing = true;
1361
+ this.highlightEnabled = true;
1362
+ this.locale = undefined;
1363
+ this.paginationEnabled = true;
1364
+ this.position = 'absolute';
1365
+ this._alertOpen = false;
1366
+ this._count = "";
1367
+ this._editRecordOpen = false;
1368
+ this._mobileTitle = "";
1369
+ this._showListView = false;
1370
+ this._translations = undefined;
1371
+ }
1372
+ get el() { return index.getElement(this); }
1373
+ //--------------------------------------------------------------------------
1374
+ //
1375
+ // Properties (protected)
1376
+ //
1377
+ //--------------------------------------------------------------------------
1378
+ /**
1379
+ * esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
1380
+ * used for module import
1381
+ */
1382
+ Features;
1383
+ /**
1384
+ * boolean: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
1385
+ */
1386
+ _editEnabled;
1387
+ /**
1388
+ * esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
1389
+ * used for widget instance
1390
+ */
1391
+ _features;
1392
+ /**
1393
+ * esri/widgets/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
1394
+ */
1395
+ _layer;
1396
+ /**
1397
+ * IPopupUtils: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
1398
+ */
1399
+ _popupUtils;
1400
+ /**
1401
+ * string: unique id for the features node
1402
+ */
1403
+ _featuresNodeId = 'features-node' + new Date().getMilliseconds().toString();
1404
+ /**
1405
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
1406
+ */
1407
+ reactiveUtils;
1408
+ //--------------------------------------------------------------------------
1409
+ //
1410
+ // Watch handlers
1411
+ //
1412
+ //--------------------------------------------------------------------------
1413
+ /**
1414
+ * Watch for changes to the graphic and update the feature widget
1415
+ */
1416
+ async graphicsWatchHandler() {
1417
+ await this.setGraphics();
1418
+ }
1419
+ /**
1420
+ * Watch for changes to the isMobile prop then init the Features widget
1421
+ * We need to know if the title should be displayed by the widget (non mobile)
1422
+ * or by us (mobile)
1423
+ */
1424
+ async isMobileWatchHandler() {
1425
+ await this._initFeaturesWidget();
1426
+ }
1427
+ /**
1428
+ * Fetch translations when the locale is updated
1429
+ */
1430
+ async localeWatchHandler() {
1431
+ // to support url param and language switcher
1432
+ this.el.lang = this.locale;
1433
+ await this._getTranslations();
1434
+ if (this._features) {
1435
+ const graphics = [...this.graphics];
1436
+ this.graphics = [];
1437
+ this.graphics = graphics;
1438
+ }
1439
+ }
1440
+ /**
1441
+ * Watch for changes to the mapView and re-init the Feature widget
1442
+ */
1443
+ async mapViewWatchHandler() {
1444
+ return await this._initFeaturesWidget();
1445
+ }
1446
+ //--------------------------------------------------------------------------
1447
+ //
1448
+ // Methods (public)
1449
+ //
1450
+ //--------------------------------------------------------------------------
1451
+ /**
1452
+ * Get the current selected feature from the Features widget
1453
+ *
1454
+ * @returns Promise resolving with the current feature
1455
+ */
1456
+ async getSelectedFeature() {
1457
+ return this._features.selectedFeature;
1458
+ }
1459
+ /**
1460
+ * Refresh the feature info
1461
+ * @returns Promise when complete
1462
+ */
1463
+ async refresh() {
1464
+ await this.setGraphics();
1465
+ }
1466
+ /**
1467
+ * Go to the previous feature in the features widget
1468
+ */
1469
+ async back() {
1470
+ this._features.previous();
1471
+ this._count = this._getCount();
1472
+ }
1473
+ /**
1474
+ * Go to the next feature in the features widget
1475
+ */
1476
+ async next() {
1477
+ this._features.next();
1478
+ this._count = this._getCount();
1479
+ }
1480
+ /**
1481
+ * Toggle the visibility of the features list view
1482
+ */
1483
+ async toggleListView() {
1484
+ this._showListView = !this._showListView;
1485
+ const i = this._features.selectedFeatureIndex;
1486
+ this._features.open({
1487
+ features: this.graphics,
1488
+ featureMenuOpen: this._showListView
1489
+ });
1490
+ this._features.selectedFeatureIndex = i;
1491
+ }
1492
+ /**
1493
+ * update the current graphics to the features widget
1494
+ */
1495
+ async updateCurrentGraphic(selectedGraphic) {
1496
+ this._features.selectedFeatureWidget.graphic = selectedGraphic;
1497
+ }
1498
+ //--------------------------------------------------------------------------
1499
+ //
1500
+ // Events (public)
1501
+ //
1502
+ //--------------------------------------------------------------------------
1503
+ /**
1504
+ * Emitted on demand when the popup is closed
1505
+ */
1506
+ popupClosed;
1507
+ /**
1508
+ * Emitted on demand when the selected index changes
1509
+ */
1510
+ selectionChanged;
1511
+ /**
1512
+ * Respond to and close the edit record display
1513
+ *
1514
+ * @returns a promise when the operation has completed
1515
+ */
1516
+ async closeEdit() {
1517
+ this._editRecordOpen = false;
1518
+ }
1519
+ /**
1520
+ * Reset key properties when the layer selection changes
1521
+ */
1522
+ async layerSelectionChange() {
1523
+ this._showListView = false;
1524
+ if (this._features?.viewModel) {
1525
+ this._features.viewModel.featureMenuOpen = false;
1526
+ this._features.close();
1527
+ }
1528
+ }
1529
+ /**
1530
+ * Refresh the info-card graphics
1531
+ */
1532
+ async refreshGraphics(evt) {
1533
+ this.graphics = [...evt.detail];
1534
+ }
1535
+ //--------------------------------------------------------------------------
1536
+ //
1537
+ // Functions (lifecycle)
1538
+ //
1539
+ //--------------------------------------------------------------------------
1540
+ /**
1541
+ * StencilJS: Called once just after the component is first connected to the DOM.
1542
+ *
1543
+ * @returns Promise when complete
1544
+ */
1545
+ async componentWillLoad() {
1546
+ await this._initModules();
1547
+ await this._getTranslations();
1548
+ this._popupUtils = new popupUtils.PopupUtils();
1549
+ }
1550
+ /**
1551
+ * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
1552
+ * @returns Promise when complete
1553
+ */
1554
+ async componentDidLoad() {
1555
+ if (this.graphics?.length > 0) {
1556
+ await this.setGraphics();
1557
+ }
1558
+ }
1559
+ /**
1560
+ * Renders the component.
1561
+ */
1562
+ render() {
1563
+ const loadingClass = this.isLoading ? "" : "display-none";
1564
+ const featureNodeClass = this.isLoading || this._editRecordOpen ? "visibility-hidden" : "position-absolute";
1565
+ const editClass = !this.isLoading && this._editRecordOpen ? "position-absolute" : "display-none";
1566
+ const editButtonClass = (!this.isLoading && this._editRecordOpen) || this._showListView ? "display-none" : "";
1567
+ const nextBackDisabled = this._features?.features?.length < 2;
1568
+ const nextBackClass = this.isMobile ? "display-none" : "";
1569
+ const id = this._features?.selectedFeature?.getObjectId();
1570
+ const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
1571
+ const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
1572
+ return (index.h(index.Host, { key: '66070d48134f89d9cf132572fe1adf790b6d3ec6' }, index.h("calcite-shell", { key: 'b77248dce176df940d8b0c347154b73738a5576d', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: 'c1638ca8320a0ae12a9ccd1fd8841efde4236ba5', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: 'cf5ee3be5c0ea3be36205dcf7c0747461802a5f1', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '6fbfa6947fa0fdb1b14a03217da60f07ecff2e1b', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1573
+ index.h("div", { key: 'fdcb078c3b3f183b06dc3a48d27fee46e3a4fffa', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: '7193bec80a40f353d24e5d327d99d94a2c5ff356', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (index.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, index.h("calcite-tooltip", { key: '228a9691edd916a5d644cb19db24898cdf7cab3b', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: '5c696df370bcf230d3fc06523ec3cb9d96f2fe2b' }, this._translations.edit)), this.isMobile && deleteEnabled ? (index.h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, index.h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && index.h("div", { key: 'e1b829a888913af6a9d777a2df0d65571ac3bec1', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: '8746737a103266efe64a8f80c2359f9e170586d5' }, index.h("calcite-button", { key: 'ac6fc23dc2831608cc9c86fe384c0a927cd7d7ac', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: 'd4a1e2753c35e97064ca66d5c30deccd532fb158', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: 'caae32b5e32a0d89265293beccef157d227a7600' }, this._translations.back))), index.h("calcite-action", { key: 'a87f344a06896ad86886815254979793b057e4cd', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: '6e6f84ebedb2540edb485fa0789fe8ea67e7188f', class: "pagination-count" }, this._count)), index.h("div", { key: '6acf22348a508c921865bb4c7e531f9a826a8eed' }, index.h("calcite-button", { key: 'f1d763e1747cff7e0b6bec08ec4fade3d1582379', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: 'def93e3d1f19b4e6eb3e54c5fbd918fed118cc0c', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: 'cb9b90a5b3129861b7f58fd0271c6120893dfd53' }, this._translations.next))))), index.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 }), index.h("calcite-alert", { key: '394c3b416a5dc94381c8b93afd3308121fbebd81', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: 'f4868bf3b710d91ed7e3f1e34b846bd408febac0', slot: "title" }, this._translations.editDisabled), index.h("div", { key: '457b7d0c76bfac52340bec73f5d1d2abbd10f25a', slot: "message" }, this._translations.enableEditing)))));
1574
+ }
1575
+ //--------------------------------------------------------------------------
1576
+ //
1577
+ // Functions (protected)
1578
+ //
1579
+ //--------------------------------------------------------------------------
1580
+ /**
1581
+ * Load esri javascript api modules
1582
+ *
1583
+ * @returns Promise resolving when function is done
1584
+ *
1585
+ * @protected
1586
+ */
1587
+ async _initModules() {
1588
+ const [Features, reactiveUtils] = await locale$1.loadModules([
1589
+ "esri/widgets/Features",
1590
+ "esri/core/reactiveUtils"
1591
+ ]);
1592
+ this.Features = Features;
1593
+ this.reactiveUtils = reactiveUtils;
1594
+ }
1595
+ /**
1596
+ * Initializes the features widget if not created and updates the feature widget and other required states
1597
+ *
1598
+ * @protected
1599
+ */
1600
+ async setGraphics() {
1601
+ if (!this._features) {
1602
+ await this._initFeaturesWidget();
1603
+ }
1604
+ if (this.graphics.length > 0) {
1605
+ this._layer = this.graphics[0]?.layer;
1606
+ this._editEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsUpdate;
1607
+ this._mobileTitle = await this._popupUtils.getPopupTitle(this.graphics[0], this.mapView.map);
1608
+ this._features.open({
1609
+ features: this.graphics
1610
+ });
1611
+ }
1612
+ else {
1613
+ this._features.clear();
1614
+ this._features.close();
1615
+ }
1616
+ this._count = this._getCount();
1617
+ }
1618
+ /**
1619
+ * Init the Feature widget so we can display the popup content
1620
+ *
1621
+ * @returns a promise when the operation has completed
1622
+ *
1623
+ * @protected
1624
+ */
1625
+ async _initFeaturesWidget() {
1626
+ return this.isMobile !== undefined ? await this.mapView?.when(() => {
1627
+ if (!this._features) {
1628
+ this._features = new this.Features({
1629
+ view: this.mapView,
1630
+ container: this._featuresNodeId,
1631
+ visibleElements: {
1632
+ actionBar: false,
1633
+ closeButton: false,
1634
+ heading: !this.isMobile
1635
+ }
1636
+ });
1637
+ this._features.viewModel.highlightEnabled = this.highlightEnabled;
1638
+ this.reactiveUtils.watch(() => this._features.viewModel.featureMenuOpen, (isOpen) => {
1639
+ this._count = this._getCount();
1640
+ if (!isOpen) {
1641
+ this._showListView = isOpen;
1642
+ }
1643
+ });
1644
+ this.reactiveUtils.watch(() => this._features.selectedFeatureIndex, (i) => {
1645
+ if (i > -1) {
1646
+ this.selectionChanged.emit({ selectedFeature: [this._features.selectedFeature], selectedFeatureIndex: this._features.selectedFeatureIndex });
1647
+ }
1648
+ });
1649
+ }
1650
+ else {
1651
+ this._features.view = this.mapView;
1652
+ this._features.visibleElements.actionBar = false;
1653
+ this._features.visibleElements.closeButton = false;
1654
+ this._features.visibleElements.heading = !this.isMobile;
1655
+ }
1656
+ }) : Promise.resolve();
1657
+ }
1658
+ /**
1659
+ * Get the mobile header
1660
+ *
1661
+ * @returns the header node to display when in mobile mode
1662
+ *
1663
+ * @protected
1664
+ */
1665
+ _getHeader() {
1666
+ return this.isMobile && !this._editRecordOpen ? (index.h("calcite-panel", { class: "border-width-0", slot: "header" }, index.h("calcite-action", { class: "end-border", icon: "chevron-left", iconFlipRtl: true, onClick: () => this._closePopup(), scale: "s", slot: "header-actions-start", text: "" }), index.h("span", { class: "font-bold", slot: "header-content" }, this._mobileTitle))) : undefined;
1667
+ }
1668
+ /**
1669
+ * Close the popup and emit the selected features
1670
+ */
1671
+ _closePopup() {
1672
+ this.popupClosed.emit();
1673
+ }
1674
+ /**
1675
+ * Set the alertOpen member to false when the alert is closed
1676
+ */
1677
+ _alertClosed() {
1678
+ this._alertOpen = false;
1679
+ }
1680
+ /**
1681
+ * Open the edit record
1682
+ */
1683
+ _openEditRecord() {
1684
+ if (this._editEnabled) {
1685
+ this._editRecordOpen = true;
1686
+ }
1687
+ else {
1688
+ this._alertOpen = true;
1689
+ }
1690
+ }
1691
+ /**
1692
+ * Go to the previous feature in the features widget
1693
+ */
1694
+ _back() {
1695
+ this._features.previous();
1696
+ this._count = this._getCount();
1697
+ }
1698
+ /**
1699
+ * Go to the next feature in the features widget
1700
+ */
1701
+ _next() {
1702
+ this._features.next();
1703
+ this._count = this._getCount();
1704
+ }
1705
+ /**
1706
+ * Get the current index of total string
1707
+ *
1708
+ * @returns the index of total string
1709
+ */
1710
+ _getCount() {
1711
+ const index = (this._features?.viewModel.selectedFeatureIndex + 1).toString();
1712
+ const total = this._features?.features?.length.toString();
1713
+ return this._translations.indexOfTotal
1714
+ .replace("{{index}}", index)
1715
+ .replace("{{total}}", total);
1716
+ }
1717
+ /**
1718
+ * Toggle the visibility of the features list view
1719
+ */
1720
+ _toggleListView() {
1721
+ this._showListView = !this._showListView;
1722
+ const i = this._features.selectedFeatureIndex;
1723
+ this._features.open({
1724
+ features: this.graphics,
1725
+ featureMenuOpen: this._showListView
1726
+ });
1727
+ this._features.selectedFeatureIndex = i;
1728
+ }
1729
+ /**
1730
+ * Fetches the component's translations
1731
+ *
1732
+ * @returns Promise when complete
1733
+ * @protected
1734
+ */
1735
+ async _getTranslations() {
1736
+ const messages = await locale$1.getLocaleComponentStrings(this.el);
1737
+ this._translations = messages[0];
1738
+ }
1739
+ static get watchers() { return {
1740
+ "graphics": ["graphicsWatchHandler"],
1741
+ "isMobile": ["isMobileWatchHandler"],
1742
+ "locale": ["localeWatchHandler"],
1743
+ "mapView": ["mapViewWatchHandler"]
1744
+ }; }
1745
+ };
1746
+ InfoCard.style = InfoCardStyle0;
1747
+
1748
+ exports.calcite_flow_item = FlowItem;
1749
+ exports.create_feature = CreateFeature;
1750
+ exports.delete_button = DeleteButton;
1751
+ exports.edit_card = EditCard;
1752
+ exports.info_card = InfoCard;