@esri/solutions-components 0.10.48 → 0.11.0

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 (1243) 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/component-69260f95.js +1073 -0
  105. package/dist/cjs/conditionalSlot-130cce71.js +54 -0
  106. package/dist/cjs/config-c999f8fc.js +40 -0
  107. package/dist/cjs/consent-manager.cjs.entry.js +7914 -45
  108. package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
  109. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  110. package/dist/cjs/cs-70e8ba01.js +149 -0
  111. package/dist/cjs/da-e8eb9ff4.js +69 -0
  112. package/dist/cjs/date-40a80298.js +264 -0
  113. package/dist/cjs/de-4b8310d2.js +93 -0
  114. package/dist/cjs/de-at-dc8ed8c3.js +92 -0
  115. package/dist/cjs/de-ch-c5971940.js +92 -0
  116. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  117. package/dist/cjs/downloadUtils-b6490537.js +3223 -0
  118. package/dist/cjs/el-a70d9f12.js +68 -0
  119. package/dist/cjs/en-au-88ddb80f.js +68 -0
  120. package/dist/cjs/en-ca-5a29b95b.js +67 -0
  121. package/dist/cjs/en-gb-3c763a84.js +71 -0
  122. package/dist/cjs/es-e83e8ff5.js +68 -0
  123. package/dist/cjs/es-mx-2ea879ef.js +67 -0
  124. package/dist/cjs/et-7b00c80d.js +94 -0
  125. package/dist/cjs/feature-list.cjs.entry.js +12 -10
  126. package/dist/cjs/fi-92ca007b.js +117 -0
  127. package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
  128. package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
  129. package/dist/cjs/form-dd5380da.js +370 -0
  130. package/dist/cjs/form-f2a43327.js +381 -0
  131. package/dist/cjs/fr-a1f5dfd4.js +70 -0
  132. package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
  133. package/dist/cjs/he-38b2b883.js +107 -0
  134. package/dist/cjs/helpers-47465fc2.js +940 -0
  135. package/dist/cjs/hi-a517b1a8.js +67 -0
  136. package/dist/cjs/hr-c1e34de1.js +82 -0
  137. package/dist/cjs/hu-e46e8ae7.js +90 -0
  138. package/dist/cjs/icon-f45e7fbb.js +979 -0
  139. package/dist/cjs/id-bfc376d8.js +68 -0
  140. package/dist/cjs/index-1ab17699.js +201 -0
  141. package/dist/cjs/index-3bae5121.js +1789 -0
  142. package/dist/cjs/index-5d8d6ae2.js +2157 -0
  143. package/dist/cjs/index.es-5fc7bebc.js +11221 -0
  144. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  145. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  146. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  147. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  148. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  149. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  150. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  151. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  152. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  153. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  154. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  155. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  156. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  157. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +16 -20
  158. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
  159. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  160. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  161. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  162. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  163. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  164. package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
  165. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -59
  166. package/dist/cjs/interactive-b59e6294.js +86 -0
  167. package/dist/cjs/interactive-e1c3ccf2.js +85 -0
  168. package/dist/cjs/it-6d8c8360.js +68 -0
  169. package/dist/cjs/it-ch-2b05812c.js +68 -0
  170. package/dist/cjs/ja-eb46f963.js +74 -0
  171. package/dist/cjs/ko-dbe28d19.js +74 -0
  172. package/dist/cjs/label-7f519bd9.js +186 -0
  173. package/dist/cjs/languageSwitcher-bca9ab2c.js +52 -0
  174. package/dist/cjs/loadable-19ab5827.js +98 -0
  175. package/dist/cjs/loader-97bb6b45.js +176 -0
  176. package/dist/cjs/loader.cjs.js +5 -5
  177. package/dist/cjs/locale-3a817e03.js +1488 -0
  178. package/dist/cjs/locale-80aff4b9.js +605 -0
  179. package/dist/cjs/locale-a79da367.js +160 -0
  180. package/dist/cjs/logger-780b61e8.js +61 -0
  181. package/dist/cjs/lt-651bfa9c.js +99 -0
  182. package/dist/cjs/lv-f6fe37a3.js +68 -0
  183. package/dist/cjs/map-select-tools_3.cjs.entry.js +15 -13
  184. package/dist/cjs/mk-1f0ffdf6.js +68 -0
  185. package/dist/cjs/nb-8b7b39ed.js +69 -0
  186. package/dist/cjs/nl-27515721.js +69 -0
  187. package/dist/cjs/observers-902ebe13.js +58 -0
  188. package/dist/cjs/openCloseComponent-039ee139.js +65 -0
  189. package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
  190. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  191. package/dist/cjs/pl-d2098514.js +116 -0
  192. package/dist/cjs/popupUtils-72d48968.js +121 -0
  193. package/dist/cjs/pt-a3304010.js +69 -0
  194. package/dist/cjs/pt-br-09d60ba8.js +67 -0
  195. package/dist/cjs/public-notification.cjs.entry.js +12 -10
  196. package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
  197. package/dist/cjs/request-19fdbaaa.js +21 -0
  198. package/dist/cjs/restHelpersGet-e4639890.js +507 -0
  199. package/dist/cjs/ro-2ea54b1c.js +68 -0
  200. package/dist/cjs/ru-f94ee202.js +128 -0
  201. package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
  202. package/dist/cjs/sk-3cdf67d8.js +150 -0
  203. package/dist/cjs/sl-075daf42.js +170 -0
  204. package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
  205. package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
  206. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  207. package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
  208. package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
  209. package/dist/cjs/solution-store-4e602251.js +1105 -0
  210. package/dist/cjs/solutions-components.cjs.js +6 -6
  211. package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
  212. package/dist/cjs/sr-2f08967b.js +103 -0
  213. package/dist/cjs/store-manager.cjs.entry.js +7 -7
  214. package/dist/cjs/sv-65f0e21c.js +73 -0
  215. package/dist/cjs/t9n-0195f685.js +108 -0
  216. package/dist/cjs/templates-1e84847a.js +407 -0
  217. package/dist/cjs/th-db63e592.js +67 -0
  218. package/dist/cjs/time-caa0abbe.js +301 -0
  219. package/dist/cjs/tr-b6401cac.js +68 -0
  220. package/dist/cjs/typeof-2a7e2dec.js +28 -0
  221. package/dist/cjs/uk-d00c351d.js +106 -0
  222. package/dist/cjs/update-243ea407.js +783 -0
  223. package/dist/cjs/utils-7eb34f90.js +153 -0
  224. package/dist/cjs/utils-d2bcba4f.js +79 -0
  225. package/dist/cjs/vi-efe4ad72.js +72 -0
  226. package/dist/cjs/zh-cn-63f07390.js +96 -0
  227. package/dist/cjs/zh-hk-84a86ab9.js +94 -0
  228. package/dist/cjs/zh-tw-894f1adf.js +94 -0
  229. package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
  230. package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
  231. package/dist/collection/collection-manifest.json +2 -4
  232. package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
  233. package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
  234. package/dist/collection/components/card-manager/card-manager.js +1 -1
  235. package/dist/collection/components/consent-manager/consent-manager.js +113 -37
  236. package/dist/collection/components/create-feature/create-feature.js +2 -2
  237. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
  238. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  239. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
  240. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  241. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  242. package/dist/collection/components/delete-button/delete-button.js +2 -2
  243. package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
  244. package/dist/collection/components/edit-card/edit-card.js +26 -2
  245. package/dist/collection/components/feature-details/feature-details.js +6 -6
  246. package/dist/collection/components/feature-list/feature-list.js +3 -3
  247. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  248. package/dist/collection/components/info-card/info-card.js +2 -2
  249. package/dist/collection/components/json-editor/json-editor.js +1 -1
  250. package/dist/collection/components/layer-table/layer-table.js +224 -47
  251. package/dist/collection/components/map-card/map-card.js +2 -2
  252. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  253. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  254. package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
  255. package/dist/collection/components/map-legend/map-legend.js +1 -1
  256. package/dist/collection/components/map-picker/map-picker.js +53 -4
  257. package/dist/collection/components/map-search/map-search.js +1 -1
  258. package/dist/collection/components/map-select-tools/map-select-tools.js +3 -3
  259. package/dist/collection/components/map-tools/map-tools.js +2 -2
  260. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  261. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  262. package/dist/collection/components/public-notification/public-notification.js +2 -2
  263. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  264. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  265. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  266. package/dist/collection/components/solution-item/solution-item.js +1 -1
  267. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  268. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  269. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  270. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  271. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  272. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  273. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  274. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  275. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  276. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  277. package/dist/collection/demos/consent-manager.html +56 -0
  278. package/dist/collection/utils/interfaces.ts +14 -0
  279. package/dist/components/IdentityManager.js +339 -0
  280. package/dist/components/asyncToGenerator.js +88 -0
  281. package/dist/components/basemap-gallery2.js +1 -1
  282. package/dist/components/buffer-tools2.js +1 -1
  283. package/dist/components/calcite-button2.js +273 -0
  284. package/dist/components/calcite-dialog.js +1 -663
  285. package/dist/components/calcite-dialog2.js +5867 -0
  286. package/dist/components/calcite-input2.js +992 -0
  287. package/dist/components/calcite-label2.js +100 -0
  288. package/dist/components/calcite-notice2.js +251 -0
  289. package/dist/components/card-manager2.js +10 -10
  290. package/dist/components/common.js +0 -1
  291. package/dist/components/component2.js +1048 -0
  292. package/dist/components/consent-manager.js +8053 -203
  293. package/dist/components/create-feature2.js +2 -2
  294. package/dist/components/create-related-feature2.js +1 -1
  295. package/dist/components/crowdsource-manager.js +37 -37
  296. package/dist/components/crowdsource-reporter.js +28 -28
  297. package/dist/components/deduct-calculator2.js +1 -1
  298. package/dist/components/delete-button2.js +29 -11
  299. package/dist/components/delete-dialog2.js +33 -9
  300. package/dist/components/dialog.js +670 -0
  301. package/dist/components/downloadUtils.js +10 -26
  302. package/dist/components/edit-card2.js +7 -2
  303. package/dist/components/feature-details2.js +23 -23
  304. package/dist/components/feature-list2.js +3 -3
  305. package/dist/components/floor-filter2.js +1 -1
  306. package/dist/components/form2.js +362 -0
  307. package/dist/components/icon2.js +960 -0
  308. package/dist/components/index.es.js +25 -104
  309. package/dist/components/index2.js +6 -5
  310. package/dist/components/info-card2.js +9 -9
  311. package/dist/components/instant-apps-language-switcher.js +6 -10
  312. package/dist/components/instant-apps-language-translator2.js +2 -809
  313. package/dist/components/instant-apps-time-filter.js +3 -57
  314. package/dist/components/interactive2.js +83 -0
  315. package/dist/components/json-editor2.js +1 -1
  316. package/dist/components/label3.js +179 -0
  317. package/dist/components/layer-table2.js +212 -69
  318. package/dist/components/loader2.js +173 -0
  319. package/dist/components/locale3.js +1311 -3
  320. package/dist/components/map-card2.js +2 -2
  321. package/dist/components/map-draw-tools2.js +1 -1
  322. package/dist/components/map-fullscreen2.js +1 -1
  323. package/dist/components/map-layer-picker2.js +53 -5
  324. package/dist/components/map-legend2.js +1 -1
  325. package/dist/components/map-picker2.js +28 -3
  326. package/dist/components/map-search2.js +1 -1
  327. package/dist/components/map-select-tools2.js +3 -3
  328. package/dist/components/map-tools2.js +2 -2
  329. package/dist/components/openCloseComponent2.js +64 -0
  330. package/dist/components/pci-calculator.js +1 -1
  331. package/dist/components/pdf-download2.js +1 -1
  332. package/dist/components/public-notification.js +2 -2
  333. package/dist/components/refine-selection2.js +1 -1
  334. package/dist/components/request.js +14 -0
  335. package/dist/components/restHelpersGet.js +74 -557
  336. package/dist/components/solution-configuration.js +27 -28
  337. package/dist/components/solution-contents2.js +1 -1
  338. package/dist/components/solution-item-accordion.js +1 -1
  339. package/dist/components/solution-item-details2.js +1 -1
  340. package/dist/components/solution-item-icon2.js +1 -1
  341. package/dist/components/solution-item-sharing2.js +1 -1
  342. package/dist/components/solution-item2.js +1 -1
  343. package/dist/components/solution-organization-variables2.js +1 -1
  344. package/dist/components/solution-resource-item2.js +1 -2
  345. package/dist/components/solution-resource.js +1701 -1
  346. package/dist/components/solution-spatial-ref2.js +1 -1
  347. package/dist/components/solution-store.js +36 -285
  348. package/dist/components/solution-template-data2.js +1 -1
  349. package/dist/components/solution-variables2.js +1 -1
  350. package/dist/components/spatial-ref.js +1 -1
  351. package/dist/components/templates.js +0 -1
  352. package/dist/components/typeof.js +25 -0
  353. package/dist/components/update.js +773 -0
  354. package/dist/esm/ExpandToggle-324f556e.js +108 -0
  355. package/dist/esm/FloatingArrow-cd37b366.js +46 -0
  356. package/dist/esm/Heading-b6b7a8a6.js +22 -0
  357. package/dist/esm/IdentityManager-6880e890.js +2012 -0
  358. package/dist/esm/Validation-b62abebe.js +18 -0
  359. package/dist/esm/app-globals-b6ef4076.js +65 -0
  360. package/dist/esm/ar-aa347a04.js +104 -0
  361. package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
  362. package/dist/esm/basemap-gallery_7.entry.js +37 -12
  363. package/dist/esm/bg-b56e89f6.js +82 -0
  364. package/dist/esm/browser-e42b9848.js +32 -0
  365. package/dist/esm/bs-62486009.js +51 -0
  366. package/dist/esm/buffer-tools_3.entry.js +7 -7
  367. package/dist/esm/ca-db6a81f3.js +71 -0
  368. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  369. package/dist/esm/calcite-action-bar.entry.js +9 -9
  370. package/dist/esm/calcite-action-group.entry.js +8 -8
  371. package/dist/esm/calcite-action-menu_2.entry.js +10 -10
  372. package/dist/esm/calcite-action-pad_2.entry.js +9 -9
  373. package/dist/esm/calcite-action_2.entry.js +14 -14
  374. package/dist/esm/calcite-alert_2.entry.js +495 -0
  375. package/dist/esm/calcite-avatar.entry.js +2 -2
  376. package/dist/esm/calcite-block-section.entry.js +7 -7
  377. package/dist/esm/calcite-block_5.entry.js +19 -19
  378. package/dist/esm/calcite-button-e86d99b3.js +279 -0
  379. package/dist/esm/calcite-button.entry.js +10 -10
  380. package/dist/esm/calcite-card-group.entry.js +5 -5
  381. package/dist/esm/calcite-card.entry.js +8 -8
  382. package/dist/esm/calcite-carousel_2.entry.js +8 -8
  383. package/dist/esm/calcite-checkbox.entry.js +7 -7
  384. package/dist/esm/calcite-chip-group.entry.js +5 -5
  385. package/dist/esm/calcite-chip_2.entry.js +10 -10
  386. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
  387. package/dist/esm/calcite-color-picker.entry.js +8 -8
  388. package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
  389. package/dist/esm/calcite-combobox_3.entry.js +68 -22
  390. package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
  391. package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
  392. package/dist/esm/calcite-dialog.entry.js +10 -10
  393. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  394. package/dist/esm/calcite-fab.entry.js +5 -5
  395. package/dist/esm/calcite-filter_5.entry.js +8 -8
  396. package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
  397. package/dist/esm/calcite-flow_4.entry.js +12 -12
  398. package/dist/esm/calcite-graph_2.entry.js +9 -9
  399. package/dist/esm/calcite-icon_2.entry.js +5 -5
  400. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  401. package/dist/esm/calcite-input-1f12bce0.js +998 -0
  402. package/dist/esm/calcite-input-number.entry.js +11 -11
  403. package/dist/esm/calcite-input-text.entry.js +11 -11
  404. package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
  405. package/dist/esm/calcite-input-time-picker.entry.js +15 -15
  406. package/dist/esm/calcite-input-time-zone.entry.js +10 -10
  407. package/dist/esm/calcite-input_2.entry.js +11 -11
  408. package/dist/esm/calcite-label-d80f6f1c.js +108 -0
  409. package/dist/esm/calcite-label.entry.js +3 -3
  410. package/dist/esm/calcite-link.entry.js +5 -5
  411. package/dist/esm/calcite-list-item-group.entry.js +2 -2
  412. package/dist/esm/calcite-menu-item.entry.js +7 -7
  413. package/dist/esm/calcite-menu.entry.js +7 -7
  414. package/dist/esm/calcite-meter.entry.js +7 -7
  415. package/dist/esm/calcite-modal_4.entry.js +965 -0
  416. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  417. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  418. package/dist/esm/calcite-navigation.entry.js +4 -4
  419. package/dist/esm/calcite-notice-acc12411.js +258 -0
  420. package/dist/esm/calcite-notice.entry.js +9 -9
  421. package/dist/esm/calcite-option-group.entry.js +1 -1
  422. package/dist/esm/calcite-option_2.entry.js +9 -9
  423. package/dist/esm/calcite-pagination.entry.js +7 -7
  424. package/dist/esm/calcite-pick-list-group.entry.js +8 -8
  425. package/dist/esm/calcite-pick-list-item.entry.js +11 -11
  426. package/dist/esm/calcite-pick-list.entry.js +9 -9
  427. package/dist/esm/calcite-radio-button-group.entry.js +6 -6
  428. package/dist/esm/calcite-radio-button.entry.js +7 -7
  429. package/dist/esm/calcite-rating.entry.js +10 -10
  430. package/dist/esm/calcite-scrim.entry.js +6 -6
  431. package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
  432. package/dist/esm/calcite-sheet.entry.js +8 -8
  433. package/dist/esm/calcite-shell-center-row.entry.js +7 -7
  434. package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
  435. package/dist/esm/calcite-shell.entry.js +5 -5
  436. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  437. package/dist/esm/calcite-split-button.entry.js +4 -4
  438. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  439. package/dist/esm/calcite-stepper.entry.js +6 -6
  440. package/dist/esm/calcite-switch.entry.js +7 -7
  441. package/dist/esm/calcite-table-cell_2.entry.js +8 -8
  442. package/dist/esm/calcite-table-row.entry.js +3 -3
  443. package/dist/esm/calcite-table.entry.js +7 -7
  444. package/dist/esm/calcite-text-area.entry.js +11 -11
  445. package/dist/esm/calcite-tile-group.entry.js +5 -5
  446. package/dist/esm/calcite-tile-select-group.entry.js +4 -4
  447. package/dist/esm/calcite-tile-select.entry.js +6 -6
  448. package/dist/esm/calcite-tile.entry.js +5 -5
  449. package/dist/esm/calcite-time-picker.entry.js +8 -8
  450. package/dist/esm/calcite-tip-group.entry.js +3 -3
  451. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  452. package/dist/esm/calcite-tip.entry.js +10 -10
  453. package/dist/esm/calcite-tooltip.entry.js +6 -6
  454. package/dist/esm/calcite-tree_2.entry.js +6 -6
  455. package/dist/esm/card-manager_3.entry.js +194 -51
  456. package/dist/esm/common-c8dc0e85.js +35 -0
  457. package/dist/esm/component-85f22c99.js +1048 -0
  458. package/dist/esm/conditionalSlot-2e16b206.js +51 -0
  459. package/dist/esm/config-e6645458.js +36 -0
  460. package/dist/esm/consent-manager.entry.js +7910 -41
  461. package/dist/esm/crowdsource-manager.entry.js +6 -6
  462. package/dist/esm/crowdsource-reporter.entry.js +3 -3
  463. package/dist/esm/cs-250e21c6.js +147 -0
  464. package/dist/esm/da-bab8eb4e.js +67 -0
  465. package/dist/esm/date-272939fd.js +248 -0
  466. package/dist/esm/de-808a43dc.js +91 -0
  467. package/dist/esm/de-at-9c396c81.js +90 -0
  468. package/dist/esm/de-ch-415303cf.js +90 -0
  469. package/dist/esm/deduct-calculator.entry.js +2 -2
  470. package/dist/esm/dom-66c5cd46.js +1165 -0
  471. package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
  472. package/dist/esm/el-3d1eaeb8.js +66 -0
  473. package/dist/esm/en-au-e6b00a93.js +66 -0
  474. package/dist/esm/en-ca-29b94ea2.js +65 -0
  475. package/dist/esm/en-gb-09267176.js +69 -0
  476. package/dist/esm/es-95fef748.js +66 -0
  477. package/dist/esm/es-mx-9b70cfc9.js +65 -0
  478. package/dist/esm/et-08cbe214.js +92 -0
  479. package/dist/esm/feature-list.entry.js +12 -10
  480. package/dist/esm/fi-e850e58b.js +115 -0
  481. package/dist/esm/floating-ui-1a431a21.js +2404 -0
  482. package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
  483. package/dist/esm/form-1528db83.js +362 -0
  484. package/dist/esm/form-99398da6.js +372 -0
  485. package/dist/esm/fr-c71b6844.js +68 -0
  486. package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
  487. package/dist/esm/he-311cb5ba.js +105 -0
  488. package/dist/esm/helpers-f52a734a.js +913 -0
  489. package/dist/esm/hi-c41f0938.js +65 -0
  490. package/dist/esm/hr-f42cc721.js +80 -0
  491. package/dist/esm/hu-d1d33b21.js +88 -0
  492. package/dist/esm/icon-18c0eb17.js +959 -0
  493. package/dist/esm/id-1867967d.js +66 -0
  494. package/dist/esm/index-38bde943.js +199 -0
  495. package/dist/esm/index-d233c7a2.js +1753 -0
  496. package/dist/esm/index-d88c3eb6.js +2155 -0
  497. package/dist/esm/index.es-d286eecc.js +11134 -0
  498. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  499. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  500. package/dist/esm/instant-apps-create.entry.js +2 -2
  501. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  502. package/dist/esm/instant-apps-export.entry.js +2 -2
  503. package/dist/esm/instant-apps-header.entry.js +2 -2
  504. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  505. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  506. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  507. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  508. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  509. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  510. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  511. package/dist/esm/instant-apps-language-switcher.entry.js +9 -13
  512. package/dist/esm/instant-apps-language-translator.entry.js +5 -5
  513. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  514. package/dist/esm/instant-apps-popover.entry.js +2 -2
  515. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  516. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  517. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  518. package/dist/esm/instant-apps-splash.entry.js +3 -3
  519. package/dist/esm/instant-apps-time-filter.entry.js +3 -57
  520. package/dist/esm/interactive-5139f8d7.js +83 -0
  521. package/dist/esm/interactive-cad37709.js +82 -0
  522. package/dist/esm/it-6a7495d8.js +66 -0
  523. package/dist/esm/it-ch-89fa3c82.js +66 -0
  524. package/dist/esm/ja-f87a1f44.js +72 -0
  525. package/dist/esm/ko-0f4c7a11.js +72 -0
  526. package/dist/esm/label-56002f24.js +179 -0
  527. package/dist/esm/label-7f52ca53.js +179 -0
  528. package/dist/esm/languageSwitcher-d0ca5d6f.js +49 -0
  529. package/dist/esm/loadable-dc3f24a8.js +93 -0
  530. package/dist/esm/loader-bae2aa52.js +173 -0
  531. package/dist/esm/loader.js +6 -6
  532. package/dist/esm/locale-586d9375.js +155 -0
  533. package/dist/esm/locale-911eca09.js +591 -0
  534. package/dist/esm/locale-be7fd298.js +1423 -0
  535. package/dist/esm/logger-ff14b12f.js +59 -0
  536. package/dist/esm/lt-a4b14416.js +97 -0
  537. package/dist/esm/lv-3901862d.js +66 -0
  538. package/dist/esm/map-select-tools_3.entry.js +15 -13
  539. package/dist/esm/mk-886d280d.js +66 -0
  540. package/dist/esm/nb-b667a0e1.js +67 -0
  541. package/dist/esm/nl-d357a092.js +67 -0
  542. package/dist/esm/observers-ab3d6528.js +56 -0
  543. package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
  544. package/dist/esm/openCloseComponent-c3f79463.js +63 -0
  545. package/dist/esm/pci-calculator.entry.js +2 -2
  546. package/dist/esm/pl-75d54069.js +114 -0
  547. package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
  548. package/dist/esm/pt-32bd5da2.js +67 -0
  549. package/dist/esm/pt-br-6f32314d.js +65 -0
  550. package/dist/esm/public-notification.entry.js +12 -10
  551. package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
  552. package/dist/esm/request-2dbb152a.js +19 -0
  553. package/dist/esm/restHelpersGet-a7fda344.js +493 -0
  554. package/dist/esm/ro-d238055e.js +66 -0
  555. package/dist/esm/ru-ef7165ff.js +126 -0
  556. package/dist/esm/shared-list-render-5f202c55.js +339 -0
  557. package/dist/esm/sk-959dbca1.js +148 -0
  558. package/dist/esm/sl-96436015.js +168 -0
  559. package/dist/esm/solution-configuration.entry.js +34 -34
  560. package/dist/esm/solution-contents_3.entry.js +11 -11
  561. package/dist/esm/solution-item-accordion.entry.js +3 -3
  562. package/dist/esm/solution-item-icon.entry.js +2 -2
  563. package/dist/esm/solution-resource-30a29505.js +1842 -0
  564. package/dist/esm/solution-store-f252cb74.js +1103 -0
  565. package/dist/esm/solutions-components.js +7 -7
  566. package/dist/esm/spatial-ref.entry.js +5 -6
  567. package/dist/esm/sr-73033c89.js +101 -0
  568. package/dist/esm/store-manager.entry.js +7 -7
  569. package/dist/esm/sv-b1153aa8.js +71 -0
  570. package/dist/esm/t9n-1698878e.js +103 -0
  571. package/dist/esm/templates-60f33938.js +401 -0
  572. package/dist/esm/th-e1a074e2.js +65 -0
  573. package/dist/esm/time-bca5f70b.js +286 -0
  574. package/dist/esm/tr-1350f529.js +66 -0
  575. package/dist/esm/typeof-ef2a007d.js +25 -0
  576. package/dist/esm/uk-18ded66c.js +104 -0
  577. package/dist/esm/update-ad0b88fa.js +773 -0
  578. package/dist/esm/utils-0da093e1.js +142 -0
  579. package/dist/esm/utils-30c4c8ca.js +66 -0
  580. package/dist/esm/vi-cee99413.js +70 -0
  581. package/dist/esm/zh-cn-6e204128.js +94 -0
  582. package/dist/esm/zh-hk-ffb02673.js +92 -0
  583. package/dist/esm/zh-tw-0f52dd8c.js +92 -0
  584. package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
  585. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
  586. package/dist/solutions-components/demos/consent-manager.html +56 -0
  587. package/dist/solutions-components/p-0094924f.entry.js +6 -0
  588. package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
  589. package/dist/solutions-components/p-018d1f95.entry.js +6 -0
  590. package/dist/solutions-components/p-025af0b3.entry.js +21 -0
  591. package/dist/solutions-components/p-0549a65c.js +6 -0
  592. package/dist/solutions-components/p-058d0542.js +17 -0
  593. package/dist/solutions-components/p-0668e30d.js +34 -0
  594. package/dist/solutions-components/p-066fc169.js +6 -0
  595. package/dist/solutions-components/p-067e36b2.entry.js +6 -0
  596. package/dist/solutions-components/p-0681b29b.entry.js +11 -0
  597. package/dist/solutions-components/p-0691d1af.entry.js +22 -0
  598. package/dist/solutions-components/p-088a5dca.js +67 -0
  599. package/dist/solutions-components/p-097b80df.js +6 -0
  600. package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
  601. package/dist/solutions-components/p-0a71f549.entry.js +29 -0
  602. package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
  603. package/dist/solutions-components/p-0b1fb6ae.js +36 -0
  604. package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
  605. package/dist/solutions-components/p-0e307601.entry.js +11 -0
  606. package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
  607. package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
  608. package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
  609. package/dist/solutions-components/p-135b2aba.js +16 -0
  610. package/dist/solutions-components/p-13bdb2c0.js +6 -0
  611. package/dist/solutions-components/p-14519a8a.entry.js +11 -0
  612. package/dist/solutions-components/p-1482f3cf.js +20 -0
  613. package/dist/solutions-components/p-1492bb6d.js +6 -0
  614. package/dist/solutions-components/p-1664573a.entry.js +6 -0
  615. package/dist/solutions-components/p-1900f9b1.js +11 -0
  616. package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
  617. package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
  618. package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
  619. package/dist/solutions-components/p-1fb3756b.js +6 -0
  620. package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
  621. package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
  622. package/dist/solutions-components/p-2130a063.entry.js +17 -0
  623. package/dist/solutions-components/p-21f90019.js +21 -0
  624. package/dist/solutions-components/p-230f7315.entry.js +6 -0
  625. package/dist/solutions-components/p-24b42859.entry.js +47 -0
  626. package/dist/solutions-components/p-26f9f9c8.js +11 -0
  627. package/dist/solutions-components/p-270ca219.entry.js +6 -0
  628. package/dist/solutions-components/p-27a91364.entry.js +17 -0
  629. package/dist/solutions-components/p-28498868.entry.js +11 -0
  630. package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
  631. package/dist/solutions-components/p-2ac553f6.js +6 -0
  632. package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
  633. package/dist/solutions-components/p-2bc98cb0.js +30 -0
  634. package/dist/solutions-components/p-2d96fdb9.js +6 -0
  635. package/dist/solutions-components/p-2dd8e49c.js +11 -0
  636. package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
  637. package/dist/solutions-components/p-3212300b.entry.js +6 -0
  638. package/dist/solutions-components/p-35245316.entry.js +6 -0
  639. package/dist/solutions-components/p-3643a87a.entry.js +6 -0
  640. package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
  641. package/dist/solutions-components/p-3828e77b.js +11 -0
  642. package/dist/solutions-components/p-38e0f88b.js +17 -0
  643. package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
  644. package/dist/solutions-components/p-3ba80c7c.js +6 -0
  645. package/dist/solutions-components/p-3d1f0434.js +21 -0
  646. package/dist/solutions-components/p-3ffc4738.js +6 -0
  647. package/dist/solutions-components/p-409401ce.js +11 -0
  648. package/dist/solutions-components/p-419df1ac.js +11 -0
  649. package/dist/solutions-components/p-46159285.js +6 -0
  650. package/dist/solutions-components/p-49a67314.entry.js +6 -0
  651. package/dist/solutions-components/p-4cbdea35.js +129 -0
  652. package/dist/solutions-components/p-4dfc2fc4.js +11 -0
  653. package/dist/solutions-components/p-4f236b5d.js +43 -0
  654. package/dist/solutions-components/p-4f50385f.js +16 -0
  655. package/dist/solutions-components/p-4fe489cf.js +6 -0
  656. package/dist/solutions-components/p-50239e15.entry.js +6 -0
  657. package/dist/solutions-components/p-531f66c7.entry.js +6 -0
  658. package/dist/solutions-components/p-570754a4.js +6 -0
  659. package/dist/solutions-components/p-570b13d9.js +67 -0
  660. package/dist/solutions-components/p-58d53a46.entry.js +6 -0
  661. package/dist/solutions-components/p-59970898.js +6 -0
  662. package/dist/solutions-components/p-59d02697.entry.js +11 -0
  663. package/dist/solutions-components/p-5b2ae6c4.js +6 -0
  664. package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
  665. package/dist/solutions-components/p-5c5cbe3c.js +6 -0
  666. package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
  667. package/dist/solutions-components/p-5cfa35f8.js +6 -0
  668. package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
  669. package/dist/solutions-components/p-5df09fe4.js +31 -0
  670. package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
  671. package/dist/solutions-components/p-5f099cd2.js +6 -0
  672. package/dist/solutions-components/p-60123545.js +6 -0
  673. package/dist/solutions-components/p-6148468f.js +11 -0
  674. package/dist/solutions-components/p-617d2160.js +6 -0
  675. package/dist/solutions-components/p-619a1ad0.js +6 -0
  676. package/dist/solutions-components/p-61d2582e.entry.js +6 -0
  677. package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
  678. package/dist/solutions-components/p-6708060e.js +11 -0
  679. package/dist/solutions-components/p-676a2d60.entry.js +6 -0
  680. package/dist/solutions-components/p-68b5ec37.js +11 -0
  681. package/dist/solutions-components/p-68cf5134.entry.js +12 -0
  682. package/dist/solutions-components/p-694cfe4c.js +6 -0
  683. package/dist/solutions-components/p-6bcde3c4.js +6 -0
  684. package/dist/solutions-components/p-6c73f067.js +16 -0
  685. package/dist/solutions-components/p-6d56f75e.js +11 -0
  686. package/dist/solutions-components/p-6db88e16.entry.js +11 -0
  687. package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
  688. package/dist/solutions-components/p-7053b20e.entry.js +6 -0
  689. package/dist/solutions-components/p-741151d4.js +6 -0
  690. package/dist/solutions-components/p-749fe711.js +6 -0
  691. package/dist/solutions-components/p-7518e92a.js +6 -0
  692. package/dist/solutions-components/p-7802efa1.entry.js +11 -0
  693. package/dist/solutions-components/p-782c71a7.js +6 -0
  694. package/dist/solutions-components/p-78aa10b0.js +6 -0
  695. package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
  696. package/dist/solutions-components/p-7a9e773b.js +6 -0
  697. package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
  698. package/dist/solutions-components/p-7aafba66.js +11 -0
  699. package/dist/solutions-components/p-7d619b04.entry.js +11 -0
  700. package/dist/solutions-components/p-7dc37540.js +11 -0
  701. package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
  702. package/dist/solutions-components/p-7fd55161.entry.js +6 -0
  703. package/dist/solutions-components/p-80168ff4.entry.js +11 -0
  704. package/dist/solutions-components/p-823684a3.js +6 -0
  705. package/dist/solutions-components/p-825ef4a7.js +6 -0
  706. package/dist/solutions-components/p-82d93164.js +11 -0
  707. package/dist/solutions-components/p-82f661c7.entry.js +11 -0
  708. package/dist/solutions-components/p-8378852e.js +6 -0
  709. package/dist/solutions-components/p-85bb5908.js +11 -0
  710. package/dist/solutions-components/p-866a2fad.js +11 -0
  711. package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
  712. package/dist/solutions-components/p-8850bd21.js +21 -0
  713. package/dist/solutions-components/p-896a5fce.entry.js +11 -0
  714. package/dist/solutions-components/p-8df5939f.js +6 -0
  715. package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
  716. package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
  717. package/dist/solutions-components/p-8ff4b2aa.js +488 -0
  718. package/dist/solutions-components/p-926e65eb.js +6 -0
  719. package/dist/solutions-components/p-94ad391c.js +40 -0
  720. package/dist/solutions-components/p-958c68c2.js +61 -0
  721. package/dist/solutions-components/p-95fcb607.js +6 -0
  722. package/dist/solutions-components/p-97df5300.js +27 -0
  723. package/dist/solutions-components/p-98079396.js +21 -0
  724. package/dist/solutions-components/p-98b1c057.entry.js +6 -0
  725. package/dist/solutions-components/p-9d4f62ca.js +6 -0
  726. package/dist/solutions-components/p-9d733373.entry.js +17 -0
  727. package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
  728. package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
  729. package/dist/solutions-components/p-9f89901b.entry.js +6 -0
  730. package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
  731. package/dist/solutions-components/p-a28502ac.entry.js +6 -0
  732. package/dist/solutions-components/p-a5df8093.entry.js +11 -0
  733. package/dist/solutions-components/p-a757bf75.js +16 -0
  734. package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
  735. package/dist/solutions-components/p-a91fc014.entry.js +6 -0
  736. package/dist/solutions-components/p-aa6656f0.js +6 -0
  737. package/dist/solutions-components/p-abe60b81.entry.js +6 -0
  738. package/dist/solutions-components/p-ad66b010.entry.js +11 -0
  739. package/dist/solutions-components/p-adb57e25.entry.js +6 -0
  740. package/dist/solutions-components/p-add122e7.js +6 -0
  741. package/dist/solutions-components/p-ae357552.entry.js +11 -0
  742. package/dist/solutions-components/p-af4f2d4a.js +11 -0
  743. package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
  744. package/dist/solutions-components/p-b14d2423.entry.js +11 -0
  745. package/dist/solutions-components/p-b1546c15.js +17 -0
  746. package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
  747. package/dist/solutions-components/p-b1f3c713.js +6 -0
  748. package/dist/solutions-components/p-b22046db.js +11 -0
  749. package/dist/solutions-components/p-b290affa.js +17 -0
  750. package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
  751. package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
  752. package/dist/solutions-components/p-b62871c3.entry.js +11 -0
  753. package/dist/solutions-components/p-b6a36bfe.js +6 -0
  754. package/dist/solutions-components/p-b915029b.js +6 -0
  755. package/dist/solutions-components/p-b98e9479.js +11 -0
  756. package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
  757. package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
  758. package/dist/solutions-components/p-bad614c0.entry.js +11 -0
  759. package/dist/solutions-components/p-bb158785.entry.js +11 -0
  760. package/dist/solutions-components/p-bc281e3b.js +6 -0
  761. package/dist/solutions-components/p-bc2b747e.js +6 -0
  762. package/dist/solutions-components/p-be78bc15.entry.js +6 -0
  763. package/dist/solutions-components/p-bf154e41.js +6 -0
  764. package/dist/solutions-components/p-c0f30138.entry.js +11 -0
  765. package/dist/solutions-components/p-c109e720.js +6 -0
  766. package/dist/solutions-components/p-c115215d.entry.js +6 -0
  767. package/dist/solutions-components/p-c433cc38.js +6 -0
  768. package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
  769. package/dist/solutions-components/p-c5e0e5ef.js +6 -0
  770. package/dist/solutions-components/p-c766823c.entry.js +11 -0
  771. package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
  772. package/dist/solutions-components/p-c8b26c56.js +6 -0
  773. package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
  774. package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
  775. package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
  776. package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
  777. package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
  778. package/dist/solutions-components/p-cea51591.js +16 -0
  779. package/dist/solutions-components/p-d0b1d33f.js +6 -0
  780. package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
  781. package/dist/solutions-components/p-d2a6e970.js +6 -0
  782. package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
  783. package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
  784. package/dist/solutions-components/p-d654b676.entry.js +11 -0
  785. package/dist/solutions-components/p-d65f8b73.js +6 -0
  786. package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
  787. package/dist/solutions-components/p-d96fe526.entry.js +22 -0
  788. package/dist/solutions-components/p-da0cb140.entry.js +11 -0
  789. package/dist/solutions-components/p-da36faca.entry.js +6 -0
  790. package/dist/solutions-components/p-daf6a012.entry.js +6 -0
  791. package/dist/solutions-components/p-dba4704c.js +11 -0
  792. package/dist/solutions-components/p-dd16d94e.js +6 -0
  793. package/dist/solutions-components/p-dd689226.js +11 -0
  794. package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
  795. package/dist/solutions-components/p-df4bfe45.js +6 -0
  796. package/dist/solutions-components/p-dfe18931.js +6 -0
  797. package/dist/solutions-components/p-e2570a80.js +11 -0
  798. package/dist/solutions-components/p-ea9e0a79.js +6 -0
  799. package/dist/solutions-components/p-eb88fddc.js +6 -0
  800. package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
  801. package/dist/solutions-components/p-ef0c43dc.js +6 -0
  802. package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
  803. package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
  804. package/dist/solutions-components/p-f1f356f0.js +7 -0
  805. package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
  806. package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
  807. package/dist/solutions-components/p-f6e81cf8.js +22 -0
  808. package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
  809. package/dist/solutions-components/p-f8ea8e73.js +6 -0
  810. package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
  811. package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
  812. package/dist/solutions-components/p-fe719f16.entry.js +6 -0
  813. package/dist/solutions-components/p-feebdac9.entry.js +17 -0
  814. package/dist/solutions-components/p-ff15447c.entry.js +6 -0
  815. package/dist/solutions-components/solutions-components.esm.js +1 -1
  816. package/dist/solutions-components/utils/interfaces.ts +14 -0
  817. package/dist/types/components/consent-manager/consent-manager.d.ts +23 -20
  818. package/dist/types/components/delete-button/delete-button.d.ts +1 -1
  819. package/dist/types/components/edit-card/edit-card.d.ts +4 -0
  820. package/dist/types/components/layer-table/layer-table.d.ts +55 -7
  821. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
  822. package/dist/types/components/map-picker/map-picker.d.ts +10 -2
  823. package/dist/types/components.d.ts +67 -34
  824. package/dist/types/preact.d.ts +6 -7
  825. package/dist/types/stencil-public-runtime.d.ts +6 -0
  826. package/dist/types/utils/interfaces.d.ts +12 -0
  827. package/package.json +13 -13
  828. package/dist/cjs/ExpandToggle-c5e409ce.js +0 -115
  829. package/dist/cjs/FloatingArrow-c2b50d47.js +0 -48
  830. package/dist/cjs/Heading-3e2d46fd.js +0 -25
  831. package/dist/cjs/Validation-c065b988.js +0 -20
  832. package/dist/cjs/app-globals-09eb9eb5.js +0 -67
  833. package/dist/cjs/ar-0afb390b.js +0 -106
  834. package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
  835. package/dist/cjs/bg-b1be4ef3.js +0 -84
  836. package/dist/cjs/browser-0bedacf5.js +0 -35
  837. package/dist/cjs/bs-a314390f.js +0 -53
  838. package/dist/cjs/ca-b8e89e47.js +0 -73
  839. package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
  840. package/dist/cjs/calcite-input-time-picker-42ed419f.js +0 -1870
  841. package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
  842. package/dist/cjs/common-eee0c33f.js +0 -38
  843. package/dist/cjs/conditionalSlot-003e6975.js +0 -54
  844. package/dist/cjs/config-2282fdac.js +0 -40
  845. package/dist/cjs/constants-bed33322.js +0 -860
  846. package/dist/cjs/cs-f14626e8.js +0 -149
  847. package/dist/cjs/da-2fce32d4.js +0 -69
  848. package/dist/cjs/date-e763caec.js +0 -264
  849. package/dist/cjs/de-2c1fce6f.js +0 -93
  850. package/dist/cjs/de-at-94de293d.js +0 -92
  851. package/dist/cjs/de-ch-d42f4faf.js +0 -92
  852. package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
  853. package/dist/cjs/downloadUtils-76bc7e30.js +0 -3240
  854. package/dist/cjs/el-8092eeb9.js +0 -68
  855. package/dist/cjs/en-au-9bc4467f.js +0 -68
  856. package/dist/cjs/en-ca-d9140239.js +0 -67
  857. package/dist/cjs/en-gb-f5e2af8e.js +0 -71
  858. package/dist/cjs/es-4b6327d7.js +0 -68
  859. package/dist/cjs/es-mx-f729412a.js +0 -67
  860. package/dist/cjs/et-ec115eb3.js +0 -94
  861. package/dist/cjs/fi-95701850.js +0 -117
  862. package/dist/cjs/floating-ui-a8693586.js +0 -2413
  863. package/dist/cjs/focusTrapComponent-48fdd3f6.js +0 -1013
  864. package/dist/cjs/form-a36bd0e5.js +0 -381
  865. package/dist/cjs/fr-ch-a231f229.js +0 -68
  866. package/dist/cjs/fr-e22a2684.js +0 -70
  867. package/dist/cjs/he-d0070eb9.js +0 -107
  868. package/dist/cjs/helpers-0493759d.js +0 -940
  869. package/dist/cjs/hi-04615e27.js +0 -67
  870. package/dist/cjs/hr-27fefb6d.js +0 -82
  871. package/dist/cjs/hu-63da9819.js +0 -90
  872. package/dist/cjs/id-d4fe65cd.js +0 -68
  873. package/dist/cjs/index-2b13a4d5.js +0 -201
  874. package/dist/cjs/index-4b68e4b4.js +0 -1770
  875. package/dist/cjs/index-f052f656.js +0 -2156
  876. package/dist/cjs/index.es-8336efed.js +0 -11307
  877. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
  878. package/dist/cjs/interactive-7ccdd728.js +0 -85
  879. package/dist/cjs/it-418a53bf.js +0 -68
  880. package/dist/cjs/it-ch-7f4632ab.js +0 -68
  881. package/dist/cjs/ja-6c5d5c7d.js +0 -74
  882. package/dist/cjs/ko-e4154b91.js +0 -74
  883. package/dist/cjs/loadable-f3fe73a2.js +0 -98
  884. package/dist/cjs/locale-339b55f0.js +0 -160
  885. package/dist/cjs/locale-4b820602.js +0 -120
  886. package/dist/cjs/locale-7eb2f603.js +0 -605
  887. package/dist/cjs/logger-912d7f26.js +0 -61
  888. package/dist/cjs/lt-d6dae6fd.js +0 -99
  889. package/dist/cjs/lv-bcf9724a.js +0 -68
  890. package/dist/cjs/mk-171505d2.js +0 -68
  891. package/dist/cjs/nb-0dcee19c.js +0 -69
  892. package/dist/cjs/nl-dace5864.js +0 -69
  893. package/dist/cjs/observers-affd684f.js +0 -58
  894. package/dist/cjs/openCloseComponent-044883e4.js +0 -65
  895. package/dist/cjs/pl-7755a609.js +0 -116
  896. package/dist/cjs/popupUtils-bc762034.js +0 -121
  897. package/dist/cjs/pt-3121cc39.js +0 -69
  898. package/dist/cjs/pt-br-67b16e3a.js +0 -67
  899. package/dist/cjs/publicNotificationStore-570204c1.js +0 -47
  900. package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
  901. package/dist/cjs/ro-7f726306.js +0 -68
  902. package/dist/cjs/ru-fc11963d.js +0 -128
  903. package/dist/cjs/share-item.cjs.entry.js +0 -61
  904. package/dist/cjs/shared-list-render-3d6ec3ca.js +0 -361
  905. package/dist/cjs/sk-e85b9c15.js +0 -150
  906. package/dist/cjs/sl-9eb375c2.js +0 -170
  907. package/dist/cjs/solution-resource-40e70253.js +0 -145
  908. package/dist/cjs/solution-store-4de89072.js +0 -1354
  909. package/dist/cjs/sr-1d2513be.js +0 -103
  910. package/dist/cjs/sv-f7693c9f.js +0 -73
  911. package/dist/cjs/t9n-64df74f3.js +0 -108
  912. package/dist/cjs/templates-0b7f886f.js +0 -408
  913. package/dist/cjs/th-0d2328bb.js +0 -67
  914. package/dist/cjs/time-513586eb.js +0 -301
  915. package/dist/cjs/tr-2c074411.js +0 -68
  916. package/dist/cjs/uk-5e16db67.js +0 -106
  917. package/dist/cjs/utils-3f10ea6b.js +0 -153
  918. package/dist/cjs/utils-d0049d76.js +0 -79
  919. package/dist/cjs/vi-2a4d8334.js +0 -72
  920. package/dist/cjs/zh-cn-126bcbc0.js +0 -96
  921. package/dist/cjs/zh-hk-aeeba861.js +0 -94
  922. package/dist/cjs/zh-tw-0cfb6e20.js +0 -94
  923. package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
  924. package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
  925. package/dist/collection/components/share-item/share-item.css +0 -19
  926. package/dist/collection/components/share-item/share-item.js +0 -80
  927. package/dist/components/arcgis-login.d.ts +0 -11
  928. package/dist/components/arcgis-login.js +0 -76
  929. package/dist/components/share-item.d.ts +0 -11
  930. package/dist/components/share-item.js +0 -76
  931. package/dist/esm/ExpandToggle-d2cde0b5.js +0 -108
  932. package/dist/esm/FloatingArrow-1ba04e83.js +0 -46
  933. package/dist/esm/Heading-82d9e017.js +0 -22
  934. package/dist/esm/Validation-594a63f5.js +0 -18
  935. package/dist/esm/app-globals-177bd1cd.js +0 -65
  936. package/dist/esm/ar-a85b5d05.js +0 -104
  937. package/dist/esm/arcgis-login.entry.js +0 -57
  938. package/dist/esm/bg-def28c6d.js +0 -82
  939. package/dist/esm/browser-e3f463e1.js +0 -32
  940. package/dist/esm/bs-86bb2bcb.js +0 -51
  941. package/dist/esm/ca-823e6ba8.js +0 -71
  942. package/dist/esm/calcite-alert_6.entry.js +0 -2096
  943. package/dist/esm/calcite-input-time-picker-c45e1964.js +0 -1867
  944. package/dist/esm/calcite-modal.entry.js +0 -389
  945. package/dist/esm/common-c3bbba83.js +0 -36
  946. package/dist/esm/conditionalSlot-720a3c33.js +0 -51
  947. package/dist/esm/config-3af0e436.js +0 -36
  948. package/dist/esm/constants-637a40f5.js +0 -856
  949. package/dist/esm/cs-87414fd8.js +0 -147
  950. package/dist/esm/da-f7060594.js +0 -67
  951. package/dist/esm/date-8f6c3f50.js +0 -248
  952. package/dist/esm/de-18aa2195.js +0 -91
  953. package/dist/esm/de-at-00f0ce55.js +0 -90
  954. package/dist/esm/de-ch-2bf886c0.js +0 -90
  955. package/dist/esm/delete-dialog.entry.js +0 -127
  956. package/dist/esm/dom-6f6759df.js +0 -1165
  957. package/dist/esm/downloadUtils-bc7a4ba1.js +0 -3233
  958. package/dist/esm/el-0c5df4ce.js +0 -66
  959. package/dist/esm/en-au-947d067e.js +0 -66
  960. package/dist/esm/en-ca-d80eb647.js +0 -65
  961. package/dist/esm/en-gb-78272f13.js +0 -69
  962. package/dist/esm/es-6b8b399b.js +0 -66
  963. package/dist/esm/es-mx-4f12df51.js +0 -65
  964. package/dist/esm/et-11aeba76.js +0 -92
  965. package/dist/esm/fi-c44d11d6.js +0 -115
  966. package/dist/esm/floating-ui-d21020a0.js +0 -2404
  967. package/dist/esm/focusTrapComponent-1ddc67c5.js +0 -1008
  968. package/dist/esm/form-e9b1ad9a.js +0 -372
  969. package/dist/esm/fr-cac28d20.js +0 -68
  970. package/dist/esm/fr-ch-a324bd02.js +0 -66
  971. package/dist/esm/he-eab95e66.js +0 -105
  972. package/dist/esm/helpers-91ca0f44.js +0 -913
  973. package/dist/esm/hi-cefe2a7e.js +0 -65
  974. package/dist/esm/hr-f863024d.js +0 -80
  975. package/dist/esm/hu-2921d1d5.js +0 -88
  976. package/dist/esm/id-4e25c1e7.js +0 -66
  977. package/dist/esm/index-39bc2e6d.js +0 -199
  978. package/dist/esm/index-904bc599.js +0 -1736
  979. package/dist/esm/index-e14fade9.js +0 -2154
  980. package/dist/esm/index.es-0d189a34.js +0 -11220
  981. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
  982. package/dist/esm/interactive-949b348f.js +0 -82
  983. package/dist/esm/it-1f2ce2fc.js +0 -66
  984. package/dist/esm/it-ch-fa4f6a28.js +0 -66
  985. package/dist/esm/ja-dd6ac9b5.js +0 -72
  986. package/dist/esm/ko-3c269b4f.js +0 -72
  987. package/dist/esm/label-1ef4763d.js +0 -179
  988. package/dist/esm/loadable-421e634e.js +0 -93
  989. package/dist/esm/locale-0d06fca0.js +0 -155
  990. package/dist/esm/locale-77038bee.js +0 -115
  991. package/dist/esm/locale-a75d14ff.js +0 -591
  992. package/dist/esm/logger-5c7a2fec.js +0 -59
  993. package/dist/esm/lt-8f5fd3eb.js +0 -97
  994. package/dist/esm/lv-d1afc7ed.js +0 -66
  995. package/dist/esm/mk-794650fc.js +0 -66
  996. package/dist/esm/nb-800989aa.js +0 -67
  997. package/dist/esm/nl-634b9b85.js +0 -67
  998. package/dist/esm/observers-2d4fa9e3.js +0 -56
  999. package/dist/esm/openCloseComponent-4621d4ae.js +0 -63
  1000. package/dist/esm/pl-45fb968c.js +0 -114
  1001. package/dist/esm/popupUtils-03dc398a.js +0 -119
  1002. package/dist/esm/pt-bd7887a6.js +0 -67
  1003. package/dist/esm/pt-br-d9181dce.js +0 -65
  1004. package/dist/esm/publicNotificationStore-8f6b0f93.js +0 -45
  1005. package/dist/esm/restHelpersGet-48113381.js +0 -976
  1006. package/dist/esm/ro-31fe0dcc.js +0 -66
  1007. package/dist/esm/ru-e73bc075.js +0 -126
  1008. package/dist/esm/share-item.entry.js +0 -57
  1009. package/dist/esm/shared-list-render-83bb7274.js +0 -339
  1010. package/dist/esm/sk-e7e24146.js +0 -148
  1011. package/dist/esm/sl-ad96d047.js +0 -168
  1012. package/dist/esm/solution-resource-f5809979.js +0 -142
  1013. package/dist/esm/solution-store-ff13861b.js +0 -1352
  1014. package/dist/esm/sr-785166a3.js +0 -101
  1015. package/dist/esm/sv-9f422817.js +0 -71
  1016. package/dist/esm/t9n-23649a4a.js +0 -103
  1017. package/dist/esm/templates-0b442208.js +0 -402
  1018. package/dist/esm/th-7e8b3dad.js +0 -65
  1019. package/dist/esm/time-5ca488ba.js +0 -286
  1020. package/dist/esm/tr-1b1dd6db.js +0 -66
  1021. package/dist/esm/uk-13d0afbf.js +0 -104
  1022. package/dist/esm/utils-0a78d3c9.js +0 -142
  1023. package/dist/esm/utils-a564ca55.js +0 -66
  1024. package/dist/esm/vi-82ec876c.js +0 -70
  1025. package/dist/esm/zh-cn-c4181895.js +0 -94
  1026. package/dist/esm/zh-hk-752cc263.js +0 -92
  1027. package/dist/esm/zh-tw-e653ba6c.js +0 -92
  1028. package/dist/solutions-components/p-053effee.entry.js +0 -6
  1029. package/dist/solutions-components/p-05ae2b11.entry.js +0 -6
  1030. package/dist/solutions-components/p-087c3740.entry.js +0 -6
  1031. package/dist/solutions-components/p-08c18450.js +0 -11
  1032. package/dist/solutions-components/p-09543b4e.js +0 -6
  1033. package/dist/solutions-components/p-09d34b2b.entry.js +0 -11
  1034. package/dist/solutions-components/p-0af967af.js +0 -6
  1035. package/dist/solutions-components/p-0f8241d2.entry.js +0 -6
  1036. package/dist/solutions-components/p-10a158fd.entry.js +0 -11
  1037. package/dist/solutions-components/p-115af8e4.entry.js +0 -11
  1038. package/dist/solutions-components/p-11c2426d.entry.js +0 -20
  1039. package/dist/solutions-components/p-1336a071.entry.js +0 -6
  1040. package/dist/solutions-components/p-1588fad8.entry.js +0 -6
  1041. package/dist/solutions-components/p-177b4cbc.js +0 -16
  1042. package/dist/solutions-components/p-184b270d.entry.js +0 -11
  1043. package/dist/solutions-components/p-191f30e1.entry.js +0 -11
  1044. package/dist/solutions-components/p-19e89591.entry.js +0 -12
  1045. package/dist/solutions-components/p-1afc5947.entry.js +0 -11
  1046. package/dist/solutions-components/p-1b1ff60a.entry.js +0 -6
  1047. package/dist/solutions-components/p-1e8af7ed.js +0 -6
  1048. package/dist/solutions-components/p-1f65aed7.js +0 -6
  1049. package/dist/solutions-components/p-1fafdc23.entry.js +0 -11
  1050. package/dist/solutions-components/p-20ed3f7f.entry.js +0 -11
  1051. package/dist/solutions-components/p-2105e658.entry.js +0 -6
  1052. package/dist/solutions-components/p-25f30972.entry.js +0 -11
  1053. package/dist/solutions-components/p-26ba0cc7.js +0 -17
  1054. package/dist/solutions-components/p-2714a658.entry.js +0 -6
  1055. package/dist/solutions-components/p-2714ede8.entry.js +0 -16
  1056. package/dist/solutions-components/p-274aa753.entry.js +0 -6
  1057. package/dist/solutions-components/p-294cd25c.js +0 -6
  1058. package/dist/solutions-components/p-2b9f9f7d.js +0 -16
  1059. package/dist/solutions-components/p-2d9072d8.entry.js +0 -11
  1060. package/dist/solutions-components/p-2e0aea4e.entry.js +0 -11
  1061. package/dist/solutions-components/p-2e42f34c.js +0 -6
  1062. package/dist/solutions-components/p-2f1ef41d.entry.js +0 -6
  1063. package/dist/solutions-components/p-2f784608.entry.js +0 -6
  1064. package/dist/solutions-components/p-351c7cbf.entry.js +0 -6
  1065. package/dist/solutions-components/p-368902f1.entry.js +0 -6
  1066. package/dist/solutions-components/p-39e21b70.js +0 -6
  1067. package/dist/solutions-components/p-3aee989b.js +0 -11
  1068. package/dist/solutions-components/p-3af39767.entry.js +0 -6
  1069. package/dist/solutions-components/p-3ba388b6.entry.js +0 -17
  1070. package/dist/solutions-components/p-3d999f0f.entry.js +0 -6
  1071. package/dist/solutions-components/p-3e44cfab.entry.js +0 -6
  1072. package/dist/solutions-components/p-3e87c19c.js +0 -6
  1073. package/dist/solutions-components/p-3f9ec755.js +0 -6
  1074. package/dist/solutions-components/p-3fe6c230.entry.js +0 -6
  1075. package/dist/solutions-components/p-41503b16.entry.js +0 -6
  1076. package/dist/solutions-components/p-4416d650.entry.js +0 -17
  1077. package/dist/solutions-components/p-443be7fe.js +0 -6
  1078. package/dist/solutions-components/p-44dc3dec.entry.js +0 -6
  1079. package/dist/solutions-components/p-4695cfab.js +0 -6
  1080. package/dist/solutions-components/p-499489c5.entry.js +0 -6
  1081. package/dist/solutions-components/p-49df6eb3.entry.js +0 -11
  1082. package/dist/solutions-components/p-4a665563.js +0 -6
  1083. package/dist/solutions-components/p-4b15f4a4.entry.js +0 -11
  1084. package/dist/solutions-components/p-4b47caf1.entry.js +0 -11
  1085. package/dist/solutions-components/p-4d6e359e.entry.js +0 -11
  1086. package/dist/solutions-components/p-4e3a18b1.js +0 -6
  1087. package/dist/solutions-components/p-4e6eb06e.js +0 -7
  1088. package/dist/solutions-components/p-4ff35ed4.js +0 -6
  1089. package/dist/solutions-components/p-5104cc98.js +0 -6
  1090. package/dist/solutions-components/p-51c6e6fe.js +0 -21
  1091. package/dist/solutions-components/p-545a48dc.entry.js +0 -11
  1092. package/dist/solutions-components/p-55bbfdbc.entry.js +0 -6
  1093. package/dist/solutions-components/p-5804e6e1.entry.js +0 -22
  1094. package/dist/solutions-components/p-58cff07f.entry.js +0 -11
  1095. package/dist/solutions-components/p-592ab45c.js +0 -6
  1096. package/dist/solutions-components/p-592f2000.entry.js +0 -6
  1097. package/dist/solutions-components/p-5b5b78c0.js +0 -6
  1098. package/dist/solutions-components/p-5e71e72a.js +0 -21
  1099. package/dist/solutions-components/p-614a66c4.entry.js +0 -11
  1100. package/dist/solutions-components/p-6166d8b4.js +0 -16
  1101. package/dist/solutions-components/p-61cc2efe.js +0 -6
  1102. package/dist/solutions-components/p-62c10928.entry.js +0 -6
  1103. package/dist/solutions-components/p-63d334b2.entry.js +0 -6
  1104. package/dist/solutions-components/p-677db47a.js +0 -6
  1105. package/dist/solutions-components/p-68375137.js +0 -6
  1106. package/dist/solutions-components/p-6a3f2249.entry.js +0 -6
  1107. package/dist/solutions-components/p-6acd19c5.entry.js +0 -12
  1108. package/dist/solutions-components/p-6b5b52c1.entry.js +0 -21
  1109. package/dist/solutions-components/p-6cad2a22.js +0 -6
  1110. package/dist/solutions-components/p-6f606cdb.js +0 -61
  1111. package/dist/solutions-components/p-7059fc40.js +0 -6
  1112. package/dist/solutions-components/p-70eba636.entry.js +0 -6
  1113. package/dist/solutions-components/p-71f31d39.js +0 -6
  1114. package/dist/solutions-components/p-74720d2b.js +0 -6
  1115. package/dist/solutions-components/p-7530a02f.js +0 -30
  1116. package/dist/solutions-components/p-764ff506.entry.js +0 -11
  1117. package/dist/solutions-components/p-76a1236d.entry.js +0 -6
  1118. package/dist/solutions-components/p-770a5a64.js +0 -11
  1119. package/dist/solutions-components/p-77865541.entry.js +0 -11
  1120. package/dist/solutions-components/p-78b6d3fe.entry.js +0 -6
  1121. package/dist/solutions-components/p-78df7603.entry.js +0 -11
  1122. package/dist/solutions-components/p-78e09c03.js +0 -6
  1123. package/dist/solutions-components/p-7a7951bd.entry.js +0 -11
  1124. package/dist/solutions-components/p-7bcfe068.entry.js +0 -6
  1125. package/dist/solutions-components/p-7cc8e95a.js +0 -11
  1126. package/dist/solutions-components/p-7d5d1b0a.js +0 -11
  1127. package/dist/solutions-components/p-7eee9aa8.js +0 -11
  1128. package/dist/solutions-components/p-7f68e6a4.js +0 -11
  1129. package/dist/solutions-components/p-7fb51464.entry.js +0 -17
  1130. package/dist/solutions-components/p-80ff858b.js +0 -6
  1131. package/dist/solutions-components/p-8304ce4b.js +0 -17
  1132. package/dist/solutions-components/p-85c068fd.js +0 -6
  1133. package/dist/solutions-components/p-85c3237c.js +0 -11
  1134. package/dist/solutions-components/p-860099d5.js +0 -6
  1135. package/dist/solutions-components/p-86a5caf8.js +0 -6
  1136. package/dist/solutions-components/p-86db882f.js +0 -6
  1137. package/dist/solutions-components/p-872986ce.entry.js +0 -11
  1138. package/dist/solutions-components/p-8a2ccb1e.js +0 -6
  1139. package/dist/solutions-components/p-8cb9ecf6.js +0 -6
  1140. package/dist/solutions-components/p-8d811472.js +0 -6
  1141. package/dist/solutions-components/p-8dc9d5b6.entry.js +0 -6
  1142. package/dist/solutions-components/p-8f8c7045.entry.js +0 -6
  1143. package/dist/solutions-components/p-8ff43000.entry.js +0 -11
  1144. package/dist/solutions-components/p-91a83986.entry.js +0 -47
  1145. package/dist/solutions-components/p-928f0b5e.entry.js +0 -6
  1146. package/dist/solutions-components/p-93d03bf0.js +0 -11
  1147. package/dist/solutions-components/p-94e51621.entry.js +0 -6
  1148. package/dist/solutions-components/p-977c099e.js +0 -11
  1149. package/dist/solutions-components/p-9bb44f57.js +0 -65
  1150. package/dist/solutions-components/p-9c25ee2c.entry.js +0 -6
  1151. package/dist/solutions-components/p-9c5d5171.js +0 -11
  1152. package/dist/solutions-components/p-9ce8e34f.js +0 -11
  1153. package/dist/solutions-components/p-9d86dd68.js +0 -6
  1154. package/dist/solutions-components/p-9d9e0e74.entry.js +0 -6
  1155. package/dist/solutions-components/p-9e8d7c1d.entry.js +0 -17
  1156. package/dist/solutions-components/p-9e996faa.js +0 -6
  1157. package/dist/solutions-components/p-a1473254.entry.js +0 -11
  1158. package/dist/solutions-components/p-a1ed15b8.entry.js +0 -11
  1159. package/dist/solutions-components/p-a329f05c.entry.js +0 -6
  1160. package/dist/solutions-components/p-a52fa87b.entry.js +0 -11
  1161. package/dist/solutions-components/p-a5f6a4b9.entry.js +0 -23
  1162. package/dist/solutions-components/p-a6790373.entry.js +0 -11
  1163. package/dist/solutions-components/p-a693aa25.entry.js +0 -17
  1164. package/dist/solutions-components/p-a7d249d9.js +0 -6
  1165. package/dist/solutions-components/p-a7d4b1a4.js +0 -6
  1166. package/dist/solutions-components/p-ac9c4111.entry.js +0 -12
  1167. package/dist/solutions-components/p-acc4d847.entry.js +0 -11
  1168. package/dist/solutions-components/p-adabe68e.entry.js +0 -6
  1169. package/dist/solutions-components/p-ae5ea416.entry.js +0 -6
  1170. package/dist/solutions-components/p-b138a65e.js +0 -11
  1171. package/dist/solutions-components/p-b49e1a78.js +0 -6
  1172. package/dist/solutions-components/p-b5a5da41.entry.js +0 -17
  1173. package/dist/solutions-components/p-b6d50640.entry.js +0 -6
  1174. package/dist/solutions-components/p-b8d1b57a.entry.js +0 -6
  1175. package/dist/solutions-components/p-b90978d2.js +0 -6
  1176. package/dist/solutions-components/p-b95968fa.entry.js +0 -6
  1177. package/dist/solutions-components/p-bab47a85.entry.js +0 -29
  1178. package/dist/solutions-components/p-bd35725f.js +0 -6
  1179. package/dist/solutions-components/p-be6cd650.entry.js +0 -11
  1180. package/dist/solutions-components/p-c0ceb17a.js +0 -6
  1181. package/dist/solutions-components/p-c2ceb29c.js +0 -6
  1182. package/dist/solutions-components/p-c350eacb.js +0 -143
  1183. package/dist/solutions-components/p-c399f2b8.entry.js +0 -6
  1184. package/dist/solutions-components/p-c604728b.js +0 -6
  1185. package/dist/solutions-components/p-c63451e1.entry.js +0 -11
  1186. package/dist/solutions-components/p-c7f86f73.entry.js +0 -6
  1187. package/dist/solutions-components/p-c8e22575.entry.js +0 -22
  1188. package/dist/solutions-components/p-c9422007.js +0 -6
  1189. package/dist/solutions-components/p-c9715704.entry.js +0 -11
  1190. package/dist/solutions-components/p-cb8d90d1.js +0 -11
  1191. package/dist/solutions-components/p-cc6f6e41.entry.js +0 -17
  1192. package/dist/solutions-components/p-cd482a33.js +0 -21
  1193. package/dist/solutions-components/p-cdc63710.entry.js +0 -11
  1194. package/dist/solutions-components/p-ce7b0b1a.entry.js +0 -11
  1195. package/dist/solutions-components/p-cf2947f6.entry.js +0 -11
  1196. package/dist/solutions-components/p-d02fb95c.entry.js +0 -17
  1197. package/dist/solutions-components/p-d031cf50.entry.js +0 -11
  1198. package/dist/solutions-components/p-d0d020a5.js +0 -37
  1199. package/dist/solutions-components/p-d0ebd10d.js +0 -6
  1200. package/dist/solutions-components/p-d154b5a1.entry.js +0 -11
  1201. package/dist/solutions-components/p-d1b2484b.entry.js +0 -17
  1202. package/dist/solutions-components/p-d2c2a105.entry.js +0 -11
  1203. package/dist/solutions-components/p-d2f8d8a8.entry.js +0 -6
  1204. package/dist/solutions-components/p-d37a68f7.entry.js +0 -6
  1205. package/dist/solutions-components/p-d390df76.entry.js +0 -11
  1206. package/dist/solutions-components/p-d3e1cc81.js +0 -6
  1207. package/dist/solutions-components/p-d851b11e.js +0 -6
  1208. package/dist/solutions-components/p-d9d25da8.entry.js +0 -11
  1209. package/dist/solutions-components/p-d9e9fe80.js +0 -16
  1210. package/dist/solutions-components/p-d9f3778e.js +0 -6
  1211. package/dist/solutions-components/p-daae2ae7.js +0 -6
  1212. package/dist/solutions-components/p-db7d5db8.entry.js +0 -6
  1213. package/dist/solutions-components/p-dc9d4be3.js +0 -6
  1214. package/dist/solutions-components/p-ddb37cba.entry.js +0 -11
  1215. package/dist/solutions-components/p-df062602.entry.js +0 -11
  1216. package/dist/solutions-components/p-e29e57db.entry.js +0 -6
  1217. package/dist/solutions-components/p-e2fd2e29.js +0 -6
  1218. package/dist/solutions-components/p-e3111b70.js +0 -6
  1219. package/dist/solutions-components/p-e37e117f.js +0 -11
  1220. package/dist/solutions-components/p-e4be63b6.entry.js +0 -11
  1221. package/dist/solutions-components/p-e4e7add2.js +0 -11
  1222. package/dist/solutions-components/p-e625aa69.entry.js +0 -6
  1223. package/dist/solutions-components/p-e93a531c.entry.js +0 -11
  1224. package/dist/solutions-components/p-e9a0d2f3.entry.js +0 -6
  1225. package/dist/solutions-components/p-e9d3365f.js +0 -22
  1226. package/dist/solutions-components/p-e9fcc194.entry.js +0 -6
  1227. package/dist/solutions-components/p-ee487e75.entry.js +0 -11
  1228. package/dist/solutions-components/p-ef773a13.js +0 -11
  1229. package/dist/solutions-components/p-f09744aa.entry.js +0 -6
  1230. package/dist/solutions-components/p-f3119757.entry.js +0 -11
  1231. package/dist/solutions-components/p-f4aadb3b.js +0 -36
  1232. package/dist/solutions-components/p-f5789e08.entry.js +0 -29
  1233. package/dist/solutions-components/p-f57978f3.entry.js +0 -6
  1234. package/dist/solutions-components/p-f6cc1cf8.entry.js +0 -17
  1235. package/dist/solutions-components/p-f845da58.js +0 -6
  1236. package/dist/solutions-components/p-fbf63d14.entry.js +0 -6
  1237. package/dist/solutions-components/p-fc7c88c8.js +0 -6
  1238. package/dist/solutions-components/p-fd019d15.js +0 -11
  1239. package/dist/solutions-components/p-fd40d066.js +0 -6
  1240. package/dist/solutions-components/p-febf9f75.entry.js +0 -11
  1241. package/dist/solutions-components/p-ff9e28d1.js +0 -488
  1242. package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
  1243. package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -1,2105 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- 'use strict';
7
-
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
- const index = require('./index-4b68e4b4.js');
11
- const dom = require('./dom-e11b7daf.js');
12
- const component = require('./component-65f2fe4b.js');
13
- const loadable = require('./loadable-f3fe73a2.js');
14
- const locale = require('./locale-7eb2f603.js');
15
- const openCloseComponent = require('./openCloseComponent-044883e4.js');
16
- const t9n = require('./t9n-64df74f3.js');
17
- const resources = require('./resources-72fc2b95.js');
18
- const interactive = require('./interactive-7ccdd728.js');
19
- const resources$1 = require('./resources-392a021f.js');
20
- const locale$1 = require('./locale-339b55f0.js');
21
- const mapViewUtils = require('./mapViewUtils-18c46b84.js');
22
- const popupUtils = require('./popupUtils-bc762034.js');
23
- require('./guid-d99f21fe.js');
24
- require('./resources-6c04ccee.js');
25
- require('./browser-0bedacf5.js');
26
- require('./key-cdfc85aa.js');
27
- require('./observers-affd684f.js');
28
- require('./esri-loader-08dc41bd.js');
29
- require('./_commonjsHelpers-baf43783.js');
30
- require('./interfaces-09c4c40e.js');
31
- require('./downloadUtils-76bc7e30.js');
32
- require('./index-f052f656.js');
33
- require('./solution-resource-40e70253.js');
34
- require('./restHelpersGet-5c2245a3.js');
35
-
36
- /*!
37
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
38
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
39
- * v2.13.2
40
- */
41
- const DURATIONS = {
42
- slow: 14000,
43
- medium: 10000,
44
- fast: 6000,
45
- };
46
- const SLOTS$1 = {
47
- actionsEnd: "actions-end",
48
- title: "title",
49
- message: "message",
50
- link: "link",
51
- };
52
- const CSS$1 = {
53
- actionsEnd: "actions-end",
54
- close: "close",
55
- container: "container",
56
- containerBottom: "container--bottom",
57
- containerBottomEnd: "container--bottom-end",
58
- containerBottomStart: "container--bottom-start",
59
- containerActive: "container--active",
60
- containerTop: "container--top",
61
- containerTopEnd: "container--top-end",
62
- containerTopStart: "container--top-start",
63
- content: "content",
64
- contentContainer: "content-container",
65
- dismissProgress: "dismiss-progress",
66
- footer: "footer",
67
- icon: "icon",
68
- containerEmbedded: "container--embedded",
69
- queueCount: "queue-count",
70
- queueCountActive: "queue-count--active",
71
- textContainer: "text-container",
72
- focused: "focused",
73
- };
74
-
75
- /*!
76
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
77
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
78
- * v2.13.2
79
- */
80
- const alertQueueTimeoutMs = 300;
81
- class AlertManager {
82
- constructor() {
83
- // --------------------------------------------------------------------------
84
- //
85
- // Private Properties
86
- //
87
- // --------------------------------------------------------------------------
88
- this.registeredElements = [];
89
- this.queueTimeoutId = null;
90
- }
91
- // --------------------------------------------------------------------------
92
- //
93
- // Public Methods
94
- //
95
- // --------------------------------------------------------------------------
96
- registerElement(alert) {
97
- const { registeredElements } = this;
98
- if (!registeredElements.includes(alert)) {
99
- switch (alert.queue) {
100
- case "immediate":
101
- registeredElements.unshift(alert);
102
- break;
103
- case "next":
104
- registeredElements.splice(1, 0, alert);
105
- break;
106
- case "last":
107
- registeredElements.push(alert);
108
- break;
109
- }
110
- this.updateAlerts();
111
- }
112
- }
113
- unregisterElement(alert) {
114
- const { registeredElements } = this;
115
- const index = registeredElements.indexOf(alert);
116
- if (index !== -1) {
117
- registeredElements.splice(index, 1);
118
- }
119
- alert.active = false;
120
- this.updateAlerts();
121
- }
122
- // --------------------------------------------------------------------------
123
- //
124
- // Private Methods
125
- //
126
- // --------------------------------------------------------------------------
127
- updateAlerts() {
128
- window.clearTimeout(this.queueTimeoutId);
129
- this.queueTimeoutId = null;
130
- this.registeredElements.forEach((alert, index) => {
131
- alert.openAlertCount = this.registeredElements.length;
132
- if (index === 0) {
133
- this.queueTimeoutId = window.setTimeout(() => (alert.active = true), alertQueueTimeoutMs);
134
- }
135
- else {
136
- alert.active = false;
137
- }
138
- });
139
- }
140
- }
141
-
142
- const alertCss = ":host{--calcite-internal-alert-edge-distance:2rem;display:block;inline-size:var(--calcite-alert-width)}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-alert-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));background-color:var(--calcite-alert-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);max-inline-size:calc(100% - var(--calcite-internal-alert-edge-distance) * 2);transition:opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-internal-alert-edge-distance), 0);inset-block-end:var(--calcite-internal-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-internal-alert-edge-distance)), 0);inset-block-start:var(--calcite-internal-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-internal-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-internal-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;border-start-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-end-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));outline-color:transparent}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress::after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-color-transparent-tint);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-internal-alert-min-height:3.5rem;inline-size:var(--calcite-alert-width, 40em)}:host([scale=s]) .close{padding:0.75rem}:host([scale=s]) .icon{padding-inline-start:0.75rem}:host([scale=s]) .text-container{padding-block:0.5rem;padding-inline:0.75rem 0.5rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-internal-alert-min-height:4.1875rem;inline-size:var(--calcite-alert-width, 50em)}:host([scale=m]) .close{padding:1rem}:host([scale=m]) .icon{padding-inline-start:1rem}:host([scale=m]) .text-container{padding-block:0.75rem;padding-inline:1rem 0.75rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-internal-alert-min-height:5.625rem;inline-size:var(--calcite-alert-width, 60em)}:host([scale=l]) .close{padding:1.25rem}:host([scale=l]) .icon{padding-inline-start:1.25rem}:host([scale=l]) .text-container{padding-block:1rem;padding-inline:1.25rem 1rem}:host([open]) .container--active{border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container--active[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-internal-alert-edge-distance)), inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0, var(--calcite-internal-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);margin-inline-end:0.5rem;color:var(--calcite-color-text-2)}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after,:host(:focus[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after,:host(:focus[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after,:host(:focus[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}.container.focused .dismiss-progress::after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--embedded{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}";
143
- const CalciteAlertStyle0 = alertCss;
144
-
145
- const manager = new AlertManager();
146
- const Alert = class {
147
- constructor(hostRef) {
148
- index.registerInstance(this, hostRef);
149
- this.calciteAlertBeforeClose = index.createEvent(this, "calciteAlertBeforeClose", 6);
150
- this.calciteAlertClose = index.createEvent(this, "calciteAlertClose", 6);
151
- this.calciteAlertBeforeOpen = index.createEvent(this, "calciteAlertBeforeOpen", 6);
152
- this.calciteAlertOpen = index.createEvent(this, "calciteAlertOpen", 6);
153
- this.handleKeyBoardFocus = () => {
154
- this.isFocused = true;
155
- this.handleFocus();
156
- };
157
- this.handleKeyBoardBlur = () => {
158
- this.isFocused = false;
159
- if (!this.isHovered) {
160
- this.handleBlur();
161
- }
162
- };
163
- this.autoCloseTimeoutId = null;
164
- this.totalOpenTime = 0;
165
- this.totalHoverTime = 0;
166
- this.openTransitionProp = "opacity";
167
- this.setTransitionEl = (el) => {
168
- this.transitionEl = el;
169
- };
170
- /** close and emit calciteInternalAlertSync event with the updated queue payload */
171
- this.closeAlert = () => {
172
- this.open = false;
173
- this.clearAutoCloseTimeout();
174
- };
175
- this.actionsEndSlotChangeHandler = (event) => {
176
- this.hasEndActions = dom.slotChangeHasAssignedElement(event);
177
- };
178
- this.handleMouseOver = () => {
179
- this.isHovered = true;
180
- this.handleFocus();
181
- };
182
- this.handleMouseLeave = () => {
183
- this.isHovered = false;
184
- if (!this.isFocused) {
185
- this.handleBlur();
186
- }
187
- };
188
- this.handleFocus = () => {
189
- this.clearAutoCloseTimeout();
190
- this.totalOpenTime = Date.now() - this.initialOpenTime;
191
- this.lastMouseOverBegin = Date.now();
192
- };
193
- this.handleBlur = () => {
194
- const hoverDuration = Date.now() - this.lastMouseOverBegin;
195
- const timeRemaining = DURATIONS[this.autoCloseDuration] - this.totalOpenTime + this.totalHoverTime;
196
- this.totalHoverTime = this.totalHoverTime ? hoverDuration + this.totalHoverTime : hoverDuration;
197
- this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), timeRemaining);
198
- };
199
- this.active = false;
200
- this.openAlertCount = 0;
201
- this.open = false;
202
- this.autoClose = false;
203
- this.autoCloseDuration = "medium";
204
- this.embedded = false;
205
- this.kind = "brand";
206
- this.icon = undefined;
207
- this.iconFlipRtl = false;
208
- this.label = undefined;
209
- this.numberingSystem = undefined;
210
- this.placement = "bottom";
211
- this.scale = "m";
212
- this.messages = undefined;
213
- this.messageOverrides = undefined;
214
- this.queue = "last";
215
- this.defaultMessages = undefined;
216
- this.effectiveLocale = "";
217
- this.numberStringFormatter = new locale.NumberStringFormat();
218
- this.hasEndActions = false;
219
- this.isFocused = false;
220
- }
221
- handleActiveChange() {
222
- this.clearAutoCloseTimeout();
223
- if (this.active && this.autoClose && !this.autoCloseTimeoutId) {
224
- this.initialOpenTime = Date.now();
225
- this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoCloseDuration]);
226
- }
227
- }
228
- openHandler() {
229
- openCloseComponent.onToggleOpenCloseComponent(this);
230
- if (this.open) {
231
- manager.registerElement(this.el);
232
- }
233
- else {
234
- manager.unregisterElement(this.el);
235
- }
236
- }
237
- updateDuration() {
238
- if (this.autoClose && this.autoCloseTimeoutId) {
239
- this.clearAutoCloseTimeout();
240
- this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoCloseDuration]);
241
- }
242
- }
243
- onMessagesChange() {
244
- /* wired up by t9n util */
245
- }
246
- handleQueueChange() {
247
- if (this.open) {
248
- manager.unregisterElement(this.el);
249
- manager.registerElement(this.el);
250
- }
251
- }
252
- //--------------------------------------------------------------------------
253
- //
254
- // Lifecycle
255
- //
256
- //--------------------------------------------------------------------------
257
- connectedCallback() {
258
- locale.connectLocalized(this);
259
- t9n.connectMessages(this);
260
- const open = this.open;
261
- if (open) {
262
- manager.registerElement(this.el);
263
- }
264
- this.numberStringFormatter.numberFormatOptions = {
265
- locale: this.effectiveLocale,
266
- numberingSystem: this.numberingSystem,
267
- signDisplay: "always",
268
- };
269
- }
270
- async componentWillLoad() {
271
- loadable.setUpLoadableComponent(this);
272
- await t9n.setUpMessages(this);
273
- if (this.open) {
274
- openCloseComponent.onToggleOpenCloseComponent(this);
275
- }
276
- }
277
- componentDidLoad() {
278
- loadable.setComponentLoaded(this);
279
- }
280
- disconnectedCallback() {
281
- manager.unregisterElement(this.el);
282
- this.clearAutoCloseTimeout();
283
- locale.disconnectLocalized(this);
284
- t9n.disconnectMessages(this);
285
- this.embedded = false;
286
- }
287
- render() {
288
- const { open, autoClose, label, placement, active, openAlertCount } = this;
289
- const role = autoClose ? "alert" : "alertdialog";
290
- const hidden = !open;
291
- const effectiveIcon = dom.setRequestedIcon(resources.KindIcons, this.icon, this.kind);
292
- const hasQueuedAlerts = openAlertCount > 1;
293
- return (index.h(index.Host, { key: 'cecedeaa678e4f6e22fd2aabc4d29bc8589430f6', "aria-hidden": dom.toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, index.h("div", { key: 'ca85d5f5ec313f3a305e01dcc8cbbad9647dd516', class: {
294
- [CSS$1.container]: true,
295
- [CSS$1.containerActive]: active,
296
- [`${CSS$1.container}--${placement}`]: true,
297
- [CSS$1.containerEmbedded]: this.embedded,
298
- [CSS$1.focused]: this.isFocused,
299
- }, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose ? this.handleMouseLeave : null, ref: this.setTransitionEl }, effectiveIcon && this.renderIcon(effectiveIcon), index.h("div", { key: '1f72f255c3e0630eed63bb62d3d50f4a2ba6a528', class: CSS$1.textContainer, onFocusin: this.autoClose && this.autoCloseTimeoutId ? this.handleKeyBoardFocus : null, onFocusout: this.autoClose ? this.handleKeyBoardBlur : null }, index.h("slot", { key: 'aade607960adea0a10f5eac85b119444085c9cf9', name: SLOTS$1.title }), index.h("slot", { key: '1f47158cfbf8c0626cd49246142fb750311b1d4a', name: SLOTS$1.message }), index.h("slot", { key: '5ba06e024b517f23168311828cc8ce41c21926a6', name: SLOTS$1.link })), this.renderActionsEnd(), hasQueuedAlerts ? this.renderQueueCount() : null, this.renderCloseButton(), open && active && autoClose ? index.h("div", { class: CSS$1.dismissProgress }) : null)));
300
- }
301
- renderCloseButton() {
302
- return (index.h("button", { "aria-label": this.messages.close, class: CSS$1.close, key: "close", onClick: this.closeAlert, onFocusin: this.autoClose ? this.handleKeyBoardFocus : null, onFocusout: this.autoClose ? this.handleKeyBoardBlur : null, ref: (el) => (this.closeButton = el), type: "button" }, index.h("calcite-icon", { icon: "x", scale: component.getIconScale(this.scale) })));
303
- }
304
- renderQueueCount() {
305
- const { openAlertCount } = this;
306
- const queueNumber = openAlertCount > 2 ? openAlertCount - 1 : 1;
307
- const queueText = this.numberStringFormatter.numberFormatter.format(queueNumber);
308
- return (index.h("div", { class: {
309
- [CSS$1.queueCount]: true,
310
- [CSS$1.queueCountActive]: openAlertCount > 1,
311
- }, key: "queue-count" }, index.h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
312
- }
313
- renderActionsEnd() {
314
- return (index.h("div", { class: CSS$1.actionsEnd }, index.h("slot", { name: SLOTS$1.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler })));
315
- }
316
- renderIcon(icon) {
317
- return (index.h("div", { class: CSS$1.icon }, index.h("calcite-icon", { flipRtl: this.iconFlipRtl, icon: icon, scale: component.getIconScale(this.scale) })));
318
- }
319
- //--------------------------------------------------------------------------
320
- //
321
- // Public Methods
322
- //
323
- //--------------------------------------------------------------------------
324
- /**
325
- * Sets focus on the component's "close" button, the first focusable item.
326
- *
327
- @returns {Promise<void>}
328
- */
329
- async setFocus() {
330
- await loadable.componentFocusable(this);
331
- const alertLinkEl = dom.getSlotted(this.el, { selector: "calcite-link" });
332
- if (!this.closeButton && !alertLinkEl) {
333
- return;
334
- }
335
- else if (alertLinkEl) {
336
- return alertLinkEl.setFocus();
337
- }
338
- else if (this.closeButton) {
339
- this.closeButton.focus();
340
- }
341
- }
342
- effectiveLocaleChange() {
343
- t9n.updateMessages(this, this.effectiveLocale);
344
- this.numberStringFormatter.numberFormatOptions = {
345
- locale: this.effectiveLocale,
346
- numberingSystem: this.numberingSystem,
347
- signDisplay: "always",
348
- };
349
- }
350
- numberingSystemChange() {
351
- this.numberStringFormatter.numberFormatOptions = {
352
- locale: this.effectiveLocale,
353
- numberingSystem: this.numberingSystem,
354
- signDisplay: "always",
355
- };
356
- }
357
- //--------------------------------------------------------------------------
358
- //
359
- // Private Methods
360
- //
361
- //--------------------------------------------------------------------------
362
- clearAutoCloseTimeout() {
363
- window.clearTimeout(this.autoCloseTimeoutId);
364
- this.autoCloseTimeoutId = null;
365
- }
366
- onBeforeOpen() {
367
- this.calciteAlertBeforeOpen.emit();
368
- }
369
- onOpen() {
370
- this.calciteAlertOpen.emit();
371
- }
372
- onBeforeClose() {
373
- this.calciteAlertBeforeClose.emit();
374
- }
375
- onClose() {
376
- this.calciteAlertClose.emit();
377
- }
378
- static get assetsDirs() { return ["assets"]; }
379
- get el() { return index.getElement(this); }
380
- static get watchers() { return {
381
- "active": ["handleActiveChange"],
382
- "open": ["openHandler"],
383
- "autoCloseDuration": ["updateDuration"],
384
- "messageOverrides": ["onMessagesChange"],
385
- "queue": ["handleQueueChange"],
386
- "effectiveLocale": ["effectiveLocaleChange"],
387
- "numberingSystem": ["numberingSystemChange"]
388
- }; }
389
- };
390
- Alert.style = CalciteAlertStyle0;
391
-
392
- /*!
393
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
394
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
395
- * v2.13.2
396
- */
397
- const CSS = {
398
- backButton: "back-button",
399
- };
400
- const ICONS = {
401
- backLeft: "chevron-left",
402
- backRight: "chevron-right",
403
- };
404
- const SLOTS = {
405
- actionBar: "action-bar",
406
- alerts: "alerts",
407
- contentTop: "content-top",
408
- contentBottom: "content-bottom",
409
- headerActionsStart: "header-actions-start",
410
- headerActionsEnd: "header-actions-end",
411
- headerMenuActions: "header-menu-actions",
412
- headerContent: "header-content",
413
- fab: "fab",
414
- footer: "footer",
415
- footerActions: "footer-actions",
416
- footerEnd: "footer-end",
417
- footerStart: "footer-start",
418
- };
419
-
420
- 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}";
421
- const CalciteFlowItemStyle0 = flowItemCss;
422
-
423
- const FlowItem = class {
424
- constructor(hostRef) {
425
- index.registerInstance(this, hostRef);
426
- this.calciteFlowItemBack = index.createEvent(this, "calciteFlowItemBack", 7);
427
- this.calciteFlowItemScroll = index.createEvent(this, "calciteFlowItemScroll", 6);
428
- this.calciteFlowItemClose = index.createEvent(this, "calciteFlowItemClose", 6);
429
- this.calciteFlowItemToggle = index.createEvent(this, "calciteFlowItemToggle", 6);
430
- // --------------------------------------------------------------------------
431
- //
432
- // Private Methods
433
- //
434
- // --------------------------------------------------------------------------
435
- this.handleInternalPanelScroll = (event) => {
436
- if (event.target !== this.containerEl) {
437
- return;
438
- }
439
- event.stopPropagation();
440
- this.calciteFlowItemScroll.emit();
441
- };
442
- this.handleInternalPanelClose = (event) => {
443
- if (event.target !== this.containerEl) {
444
- return;
445
- }
446
- event.stopPropagation();
447
- this.closed = true;
448
- this.calciteFlowItemClose.emit();
449
- };
450
- this.handleInternalPanelToggle = (event) => {
451
- if (event.target !== this.containerEl) {
452
- return;
453
- }
454
- event.stopPropagation();
455
- this.collapsed = event.target.collapsed;
456
- this.calciteFlowItemToggle.emit();
457
- };
458
- this.backButtonClick = () => {
459
- this.calciteFlowItemBack.emit();
460
- };
461
- this.setBackRef = (node) => {
462
- this.backButtonEl = node;
463
- };
464
- this.setContainerRef = (node) => {
465
- this.containerEl = node;
466
- };
467
- this.closable = false;
468
- this.closed = false;
469
- this.collapsed = false;
470
- this.collapseDirection = "down";
471
- this.collapsible = false;
472
- this.beforeBack = undefined;
473
- this.beforeClose = undefined;
474
- this.description = undefined;
475
- this.disabled = false;
476
- this.heading = undefined;
477
- this.headingLevel = undefined;
478
- this.loading = false;
479
- this.menuOpen = false;
480
- this.messageOverrides = undefined;
481
- this.messages = undefined;
482
- this.overlayPositioning = "absolute";
483
- this.scale = "m";
484
- this.showBackButton = false;
485
- this.defaultMessages = undefined;
486
- this.effectiveLocale = "";
487
- }
488
- onMessagesChange() {
489
- /* wired up by t9n util */
490
- }
491
- //--------------------------------------------------------------------------
492
- //
493
- // Lifecycle
494
- //
495
- //--------------------------------------------------------------------------
496
- connectedCallback() {
497
- locale.connectLocalized(this);
498
- t9n.connectMessages(this);
499
- }
500
- async componentWillLoad() {
501
- await t9n.setUpMessages(this);
502
- loadable.setUpLoadableComponent(this);
503
- }
504
- componentDidRender() {
505
- interactive.updateHostInteraction(this);
506
- }
507
- disconnectedCallback() {
508
- locale.disconnectLocalized(this);
509
- t9n.disconnectMessages(this);
510
- }
511
- componentDidLoad() {
512
- loadable.setComponentLoaded(this);
513
- }
514
- effectiveLocaleChange() {
515
- t9n.updateMessages(this, this.effectiveLocale);
516
- }
517
- // --------------------------------------------------------------------------
518
- //
519
- // Methods
520
- //
521
- // --------------------------------------------------------------------------
522
- /**
523
- * Sets focus on the component.
524
- *
525
- * @returns promise.
526
- */
527
- async setFocus() {
528
- await loadable.componentFocusable(this);
529
- const { backButtonEl, containerEl } = this;
530
- if (backButtonEl) {
531
- return backButtonEl.setFocus();
532
- }
533
- else if (containerEl) {
534
- return containerEl.setFocus();
535
- }
536
- }
537
- /**
538
- * Scrolls the component's content to a specified set of coordinates.
539
- *
540
- * @example
541
- * myCalciteFlowItem.scrollContentTo({
542
- * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
543
- * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
544
- * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
545
- * });
546
- * @param options - allows specific coordinates to be defined.
547
- * @returns - promise that resolves once the content is scrolled to.
548
- */
549
- async scrollContentTo(options) {
550
- await this.containerEl?.scrollContentTo(options);
551
- }
552
- // --------------------------------------------------------------------------
553
- //
554
- // Render Methods
555
- //
556
- // --------------------------------------------------------------------------
557
- renderBackButton() {
558
- const { el } = this;
559
- const rtl = dom.getElementDir(el) === "rtl";
560
- const { showBackButton, backButtonClick, messages } = this;
561
- const label = messages.back;
562
- const icon = rtl ? ICONS.backRight : ICONS.backLeft;
563
- 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;
564
- }
565
- render() {
566
- const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, overlayPositioning, beforeClose, } = this;
567
- 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$1.SLOTS.actionBar }), index.h("slot", { key: 'e76e55e654ff878acff734bdf387402a9e262159', name: SLOTS.alerts, slot: resources$1.SLOTS.alerts }), index.h("slot", { key: 'f7ab8839d7b101e31087130ebf3e36af1ec7da24', name: SLOTS.headerActionsStart, slot: resources$1.SLOTS.headerActionsStart }), index.h("slot", { key: '2932c4c15b168732356b8e55fcc3064f5b3f4cf5', name: SLOTS.headerActionsEnd, slot: resources$1.SLOTS.headerActionsEnd }), index.h("slot", { key: '1ef8a9050683022733695445092f8c626487d87b', name: SLOTS.headerContent, slot: resources$1.SLOTS.headerContent }), index.h("slot", { key: '24c0ab570a601a6c0edfb0c820e580fd24b158ce', name: SLOTS.headerMenuActions, slot: resources$1.SLOTS.headerMenuActions }), index.h("slot", { key: 'ec55bbe7ba939a6efb35225850c37a1aadb97275', name: SLOTS.fab, slot: resources$1.SLOTS.fab }), index.h("slot", { key: 'aa0bfec47656ef9f7f575cd933897a7909e5badc', name: SLOTS.contentTop, slot: resources$1.SLOTS.contentTop }), index.h("slot", { key: 'e23532d080e2df529c2aeb6af043c6efe7a0ab6d', name: SLOTS.contentBottom, slot: resources$1.SLOTS.contentBottom }), index.h("slot", { key: 'db6ffc0d9300c77067a4c88ab277de685c7713af', name: SLOTS.footerStart, slot: resources$1.SLOTS.footerStart }), index.h("slot", { key: '5f249356da9292f34c4036d0d0741f048fe999e9', name: SLOTS.footer, slot: resources$1.SLOTS.footer }), index.h("slot", { key: '7476137bacc0f3be5c97682c5027f74d73254765', name: SLOTS.footerEnd, slot: resources$1.SLOTS.footerEnd }), index.h("slot", { key: '58f60a46c42a05abe9b100a57d478d991e4f25bc', name: SLOTS.footerActions, slot: resources$1.SLOTS.footerActions }), index.h("slot", { key: '926a8d94b76b6fcdef6dfd219ba8180c44f81c35' })))));
568
- }
569
- static get assetsDirs() { return ["assets"]; }
570
- get el() { return index.getElement(this); }
571
- static get watchers() { return {
572
- "messageOverrides": ["onMessagesChange"],
573
- "effectiveLocale": ["effectiveLocaleChange"]
574
- }; }
575
- };
576
- FlowItem.style = CalciteFlowItemStyle0;
577
-
578
- 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}}";
579
- const CreateFeatureStyle0 = createFeatureCss;
580
-
581
- const CreateFeature = class {
582
- constructor(hostRef) {
583
- index.registerInstance(this, hostRef);
584
- this.success = index.createEvent(this, "success", 7);
585
- this.fail = index.createEvent(this, "fail", 7);
586
- this.drawComplete = index.createEvent(this, "drawComplete", 7);
587
- this.editingAttachment = index.createEvent(this, "editingAttachment", 7);
588
- this.progressStatus = index.createEvent(this, "progressStatus", 7);
589
- this.modeChanged = index.createEvent(this, "modeChanged", 7);
590
- this.mapView = undefined;
591
- this.selectedLayerId = undefined;
592
- this.customizeSubmit = false;
593
- this.locale = undefined;
594
- this.searchConfiguration = undefined;
595
- this.isMobile = undefined;
596
- this.floorLevel = undefined;
597
- this.formElements = undefined;
598
- this.enableSearch = false;
599
- this.showGuidingMsg = true;
600
- this.showGuidingMsgWhileDrawing = true;
601
- this._editorLoading = false;
602
- this._currentPage = "templatePicker";
603
- this._translations = undefined;
604
- }
605
- get el() { return index.getElement(this); }
606
- //--------------------------------------------------------------------------
607
- //
608
- // Properties (protected)
609
- //
610
- //--------------------------------------------------------------------------
611
- /**
612
- * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
613
- * The Editor constructor
614
- */
615
- Editor;
616
- /**
617
- * esri/form/ExpressionInfo: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html
618
- * The ExpressionInfo constructor
619
- */
620
- ExpressionInfo;
621
- /**
622
- * esri/form/elements/FieldElement: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html
623
- * The FieldElement constructor
624
- */
625
- FieldElement;
626
- /**
627
- * esri/form/FormTemplate: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html
628
- */
629
- FormTemplate;
630
- /**
631
- * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
632
- * The Editor instance
633
- */
634
- _editor;
635
- /**
636
- * https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
637
- * The Feature layer instance
638
- */
639
- FeatureLayer;
640
- /**
641
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
642
- * The MapView instance
643
- */
644
- MapView;
645
- /**
646
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
647
- * Updated map view instance
648
- */
649
- _updatedMapView;
650
- /**
651
- * esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
652
- * The Search instance
653
- */
654
- Search;
655
- /**
656
- * "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
657
- * The Search instance
658
- */
659
- _search;
660
- /**
661
- * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
662
- */
663
- reactiveUtils;
664
- /**
665
- * boolean: Flag to maintain the add attachment
666
- */
667
- _addingAttachment;
668
- /**
669
- * HTMLDivElement: The node the editor will be added to
670
- */
671
- _container;
672
- /**
673
- * HTMLDivElement: The node for the map view
674
- */
675
- _mapViewContainer;
676
- /**
677
- * boolean: Flag to maintain form submission using submit button
678
- */
679
- _isSubmitBtnClicked = false;
680
- /**
681
- * __esri.FeatureLayer: selected feature layer;
682
- */
683
- _selectedLayer;
684
- /**
685
- * HTMLDivElement: refrence for search div element
686
- */
687
- _searchDiv;
688
- /**
689
- * HTMLCalciteNoticeElement: calcite notice refrence element
690
- */
691
- _calciteNotice;
692
- //--------------------------------------------------------------------------
693
- //
694
- // Watch handlers
695
- //
696
- //--------------------------------------------------------------------------
697
- /**
698
- * Fetch translations when the locale is updated
699
- */
700
- async localeWatchHandler() {
701
- // to support url param and language switcher
702
- this.el.lang = this.locale;
703
- await this._getTranslations();
704
- }
705
- /**
706
- * Called each time the mapView prop is changed.
707
- */
708
- async mapViewWatchHandler() {
709
- await this.mapView.when(async () => {
710
- await this.init();
711
- });
712
- }
713
- /**
714
- * Called each time when isMobile prop is changed.
715
- */
716
- async isMobileHandler() {
717
- // emit an event when mode is changed to back to the feature selection panel (to avoid multiple maps conflict)
718
- this.modeChanged.emit();
719
- }
720
- /**
721
- * When _editorLoading is true the container node will be hidden while starting the create workflow
722
- */
723
- async _editorLoadingWatchHandler(v) {
724
- if (v) {
725
- this._container?.classList.add("display-none");
726
- if (this._selectedLayer?.isTable) {
727
- const template = this._selectedLayer.templates[0];
728
- const creationInfo = {
729
- layer: this._selectedLayer,
730
- template
731
- };
732
- await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(creationInfo);
733
- await this.hideEditorsElements();
734
- }
735
- else {
736
- await this.startCreate();
737
- }
738
- this._container?.classList.remove("display-none");
739
- this._editorLoading = false;
740
- }
741
- }
742
- //--------------------------------------------------------------------------
743
- //
744
- // Methods (public)
745
- //
746
- //--------------------------------------------------------------------------
747
- /**
748
- * Submit the created feature
749
- * @returns Promise that resolves when the operation is complete
750
- */
751
- async submit() {
752
- if (this._editor) {
753
- this._isSubmitBtnClicked = true;
754
- this._editor.viewModel.featureFormViewModel.submit();
755
- }
756
- }
757
- /**
758
- * refresh the feature form
759
- * @returns Promise that resolves when the operation is complete
760
- */
761
- async refresh(floorLevel) {
762
- if (this._editor) {
763
- void this._setFloorLevel(floorLevel);
764
- }
765
- }
766
- //--------------------------------------------------------------------------
767
- //
768
- // Events (public)
769
- //
770
- //--------------------------------------------------------------------------
771
- /**
772
- * Emitted on demand when the feature is created successfully
773
- */
774
- success;
775
- /**
776
- * Emitted on demand when the feature creation is failed
777
- */
778
- fail;
779
- /**
780
- * Emitted on demand when drawing is completed
781
- */
782
- drawComplete;
783
- /**
784
- * Emitted on demand when editing attachments
785
- */
786
- editingAttachment;
787
- /**
788
- * Emitted on demand when editor panel changes
789
- */
790
- progressStatus;
791
- /**
792
- * Emitted on switched form mobile to desktop or vice versa
793
- */
794
- modeChanged;
795
- //--------------------------------------------------------------------------
796
- //
797
- // Functions (lifecycle)
798
- //
799
- //--------------------------------------------------------------------------
800
- /**
801
- * StencilJS: Called once just after the component is first connected to the DOM.
802
- * @returns Promise when complete
803
- */
804
- async componentWillLoad() {
805
- await this._getTranslations();
806
- await this.initModules();
807
- }
808
- /**
809
- * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
810
- */
811
- async componentDidLoad() {
812
- await this.init();
813
- }
814
- /**
815
- * Called after each render
816
- * Used to adjust the map top in case of mobile
817
- */
818
- componentDidRender() {
819
- // update the map top according to space occupied by notice msg and search
820
- if (this.isMobile) {
821
- // get the height of notice, search and add 80px(editor msg) height to adjust the map top
822
- const top = this._calciteNotice.offsetHeight + this._searchDiv.offsetHeight + 80;
823
- this._mapViewContainer.style.top = `${top}px`;
824
- }
825
- }
826
- /**
827
- * StencilJS: Called every time the component is disconnected from the DOM,
828
- */
829
- disconnectedCallback() {
830
- if (this._editor) {
831
- this._editor.destroy();
832
- }
833
- }
834
- /**
835
- * Renders the component.
836
- */
837
- render() {
838
- const showSearchWidget = this._currentPage === 'drawing' ? "" : "display-none";
839
- const loaderClass = this._editorLoading ? "" : "display-none";
840
- const featureFormClass = this._editorLoading ? "display-none" : "";
841
- const mobileMapClass = this.isMobile ? "show-map" : "display-none";
842
- // hide guiding msg for drawing page when showGuidingMsgWhileDrawing is false
843
- const showGuidingMsg = this.showGuidingMsg && (this.showGuidingMsgWhileDrawing || this._currentPage !== "drawing");
844
- let guidingMsg = this._translations.chooseCategoryMsg;
845
- if (this._currentPage === 'drawing') {
846
- guidingMsg = this._translations.provideLocationMsg;
847
- }
848
- else if (this._currentPage === 'featureForm') {
849
- guidingMsg = this._translations.provideDetailsMsg;
850
- }
851
- return (index.h(index.Fragment, { key: '788b2ebb85b603452d4b4de05711510f7480c895' }, showGuidingMsg && index.h("calcite-notice", { key: 'cf41e701f5a7605531fa6351acf13ea20e219f7a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, index.h("div", { key: '1bb493a8e5a962c8a8c75ac37156edbf866c3916', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: '5d2e9a465cb7c6dbde8d941497fda87b4fc7c258', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: '23b8651f4040443ba731173d1818b515b718b754', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
852
- index.h("div", { key: '7f628d09111295d46fbf7b9605999c2ef88c258d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), index.h("div", { key: '3def9aaab0a2f03076a6c4c645cf5a080bbb9e75', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
853
- }
854
- //--------------------------------------------------------------------------
855
- //
856
- // Functions (protected)
857
- //
858
- //--------------------------------------------------------------------------
859
- /**
860
- * Init Editor widget and Search widget
861
- */
862
- async init() {
863
- if (this.mapView && this.selectedLayerId) {
864
- this._updatedMapView = this.mapView;
865
- // In mobile mode show the map in panel
866
- await (this.isMobile ? this.createMobileMapView() : this._loadWidgets());
867
- }
868
- }
869
- /**
870
- * Load esri javascript api modules
871
- * @returns Promise resolving when function is done
872
- * @protected
873
- */
874
- async initModules() {
875
- const [Editor, reactiveUtils, Search, ExpressionInfo, FieldElement, FormTemplate, MapView] = await locale$1.loadModules([
876
- "esri/widgets/Editor",
877
- "esri/core/reactiveUtils",
878
- "esri/widgets/Search",
879
- "esri/form/ExpressionInfo",
880
- "esri/form/elements/FieldElement",
881
- "esri/form/FormTemplate",
882
- "esri/views/MapView"
883
- ]);
884
- this.Editor = Editor;
885
- this.reactiveUtils = reactiveUtils;
886
- this.Search = Search;
887
- this.ExpressionInfo = ExpressionInfo;
888
- this.FieldElement = FieldElement;
889
- this.FormTemplate = FormTemplate;
890
- this.MapView = MapView;
891
- }
892
- /**
893
- * updates the map view (in case of mobile)
894
- * @protected
895
- */
896
- async createMobileMapView() {
897
- this._mapViewContainer.classList.add('hide-map');
898
- await new this.MapView({
899
- map: this.mapView.map,
900
- container: this._mapViewContainer,
901
- zoom: this.mapView.zoom
902
- }).when((view) => {
903
- // update the mapView and load all widgets
904
- this._updatedMapView = view;
905
- void this._loadWidgets();
906
- }, (e) => {
907
- console.log(e);
908
- });
909
- }
910
- /**
911
- * Loads the Editor and Search widgets
912
- * @protected
913
- */
914
- async _loadWidgets() {
915
- await this.createEditorWidget();
916
- if (this.enableSearch) {
917
- await this.createSearchWidget();
918
- }
919
- }
920
- /**
921
- * Display editor widget to create the new feature
922
- * @protected
923
- */
924
- async createEditorWidget() {
925
- if (this._editor) {
926
- this._editor.destroy();
927
- }
928
- const layerInfos = [];
929
- this._container = document.createElement("div");
930
- this._container?.classList.add("display-none");
931
- const allMapLayers = await mapViewUtils.getAllLayers(this._updatedMapView);
932
- this._selectedLayer = await mapViewUtils.getLayerOrTable(this.mapView, this.selectedLayerId);
933
- // if layer is selected then only use the layerInfos while initializing the editor widget
934
- if (!this._selectedLayer?.isTable) {
935
- // eslint-disable-next-line @typescript-eslint/no-misused-promises
936
- allMapLayers.forEach(async (eachLayer) => {
937
- layerInfos.push({
938
- layer: eachLayer,
939
- enabled: eachLayer?.type === "feature" && eachLayer?.id === this.selectedLayerId,
940
- addEnabled: true, // default is true, set to false to disable the ability to add a new feature
941
- updateEnabled: false, // if true, enable ability to edit an existing feature
942
- deleteEnabled: false // default is true, set to false to disable the ability to delete features
943
- });
944
- });
945
- }
946
- this._editor = new this.Editor({
947
- view: this._updatedMapView,
948
- layerInfos: layerInfos,
949
- visibleElements: {
950
- snappingControls: false,
951
- createFeaturesSection: true,
952
- editFeaturesSection: false
953
- },
954
- container: this._container
955
- });
956
- if (this._mapViewContainer) {
957
- this.el.insertBefore(this._container, this._mapViewContainer);
958
- }
959
- else {
960
- this.el.appendChild(this._container);
961
- }
962
- //Add handle to watch if attachments are added/edited
963
- const attachmentHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
964
- if (state === 'adding-attachment' || state === 'editing-attachment') {
965
- this._addingAttachment = true;
966
- this.editingAttachment.emit(true);
967
- }
968
- else {
969
- if (this._addingAttachment) {
970
- this.editingAttachment.emit(false);
971
- this._addingAttachment = false;
972
- }
973
- }
974
- });
975
- this._editor.viewModel.addHandles(attachmentHandle);
976
- //Add handle to watch featureTemplatesViewModel ready state and then start the creation
977
- const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
978
- if (state === 'ready' && this._editor.viewModel?.activeWorkflow?.type !== "create-features") {
979
- this.progressStatus.emit(0.5);
980
- this._editorLoading = true;
981
- }
982
- });
983
- this._editor.viewModel.addHandles(handle);
984
- //Add handle to watch featureFormViewModel ready state
985
- const formHandle = this.reactiveUtils.watch(() => this._editor.viewModel.featureFormViewModel?.state, (state) => {
986
- if (state === 'ready') {
987
- this._mapViewContainer?.classList?.replace("show-map", "hide-map");
988
- this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
989
- setTimeout(() => {
990
- void this._setFloorLevel(this.floorLevel);
991
- }, 50);
992
- this._currentPage = 'featureForm';
993
- this.progressStatus.emit(1);
994
- this.drawComplete.emit();
995
- }
996
- });
997
- this._editor.viewModel.addHandles(formHandle);
998
- //Add handle to watch editor viewmodel state and then show the search widget
999
- const createFeatureHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
1000
- if (state === 'creating-features') {
1001
- if (this._editor.viewModel.featureFormViewModel.state === 'disabled') {
1002
- this._mapViewContainer?.classList?.replace("hide-map", "show-map");
1003
- if (this._selectedLayer && !this._selectedLayer.isTable) {
1004
- this._currentPage = 'drawing';
1005
- }
1006
- }
1007
- }
1008
- });
1009
- this._editor.viewModel.addHandles(createFeatureHandle);
1010
- }
1011
- /**
1012
- * Start creating the feature
1013
- * @protected
1014
- */
1015
- async startCreate() {
1016
- // hides the header elements on template picker page
1017
- await this.hideEditorsElements();
1018
- return new Promise((resolve, reject) => {
1019
- if (this._editor.viewModel.featureTemplatesViewModel.items?.length) {
1020
- const items = this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");
1021
- //once the feature template is selected handle the event for formSubmit and sketch complete
1022
- //also, hide the headers and footer in the editor as we will be showing our own submit and cancel button
1023
- this._editor.viewModel.featureTemplatesViewModel.on('select', () => {
1024
- this.progressStatus.emit(0.75);
1025
- setTimeout(() => {
1026
- //hides the header and footer elements in editor widget
1027
- this.hideEditorsElements().then(() => {
1028
- resolve({});
1029
- }, e => reject(e));
1030
- }, 700);
1031
- });
1032
- //if only one feature template then directly start geometry creation for that
1033
- if (items.length === 1) {
1034
- this._editor.viewModel.featureTemplatesViewModel.select(items[0]);
1035
- }
1036
- const resolvePromise = items.length > 1;
1037
- this.hideEditorsElements().then(() => {
1038
- if (resolvePromise) {
1039
- resolve({});
1040
- }
1041
- }, e => resolvePromise && reject(e));
1042
- }
1043
- });
1044
- }
1045
- /**
1046
- * Display search widget to search location
1047
- * @protected
1048
- */
1049
- async createSearchWidget() {
1050
- let searchOptions = {
1051
- view: this._updatedMapView,
1052
- };
1053
- if (this.searchConfiguration) {
1054
- const searchConfiguration = this._getSearchConfig(this.searchConfiguration, this._updatedMapView);
1055
- searchOptions = {
1056
- ...searchConfiguration
1057
- };
1058
- }
1059
- this._search = new this.Search(searchOptions);
1060
- this._search.container = 'search-widget-ref';
1061
- this._search.popupEnabled = false;
1062
- this._search.resultGraphicEnabled = false;
1063
- let pointGeometry = null;
1064
- // on search get the geometry of the searched location and pass it in sketchViewModel and go to featureForm page
1065
- this._search.on('search-complete', (e) => {
1066
- void this._updatedMapView.goTo(e.results[0].results[0].extent);
1067
- if (this._selectedLayer.geometryType === 'point') {
1068
- pointGeometry = e.results[0].results[0]?.feature.geometry;
1069
- }
1070
- });
1071
- //Add handle to watch if search viewModel state is ready
1072
- const createFeatureHandle = this.reactiveUtils.watch(() => this._search.viewModel.state, (state) => {
1073
- if (state === 'ready') {
1074
- setTimeout(() => {
1075
- if (this._editor.viewModel.sketchViewModel.createGraphic && pointGeometry) {
1076
- this._editor.viewModel.sketchViewModel.createGraphic.set('geometry', pointGeometry);
1077
- this._editor.viewModel.sketchViewModel.complete();
1078
- void this.hideEditorsElements();
1079
- }
1080
- }, 100);
1081
- }
1082
- });
1083
- this._search.viewModel.addHandles(createFeatureHandle);
1084
- }
1085
- /**
1086
- * Initialize the search widget based on user defined configuration
1087
- *
1088
- * @param searchConfiguration search configuration defined by the user
1089
- * @param view the current map view
1090
- *
1091
- * @protected
1092
- */
1093
- _getSearchConfig(searchConfiguration, view) {
1094
- const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
1095
- const sources = searchConfiguration.sources;
1096
- if (sources?.length > 0) {
1097
- searchConfiguration[INCLUDE_DEFAULT_SOURCES] = false;
1098
- sources.forEach((source) => {
1099
- const isLayerSource = source.hasOwnProperty("layer");
1100
- if (isLayerSource) {
1101
- const layerSource = source;
1102
- const layerId = layerSource.layer?.id;
1103
- const layerFromMap = layerId ? view.map.findLayerById(layerId) : null;
1104
- const layerUrl = layerSource?.layer?.url;
1105
- if (layerFromMap) {
1106
- layerSource.layer = layerFromMap;
1107
- }
1108
- else if (layerUrl) {
1109
- layerSource.layer = new this.FeatureLayer(layerUrl);
1110
- }
1111
- }
1112
- });
1113
- sources?.forEach((source) => {
1114
- const isLocatorSource = source.hasOwnProperty("locator");
1115
- if (isLocatorSource) {
1116
- const locatorSource = source;
1117
- if (locatorSource?.name === "ArcGIS World Geocoding Service") {
1118
- const outFields = locatorSource.outFields || ["Addr_type", "Match_addr", "StAddr", "City"];
1119
- locatorSource.outFields = outFields;
1120
- locatorSource.singleLineFieldName = "SingleLine";
1121
- }
1122
- locatorSource.url = locatorSource.url;
1123
- delete locatorSource.url;
1124
- }
1125
- });
1126
- }
1127
- else {
1128
- searchConfiguration = {
1129
- ...searchConfiguration,
1130
- includeDefaultSources: true
1131
- };
1132
- }
1133
- return searchConfiguration;
1134
- }
1135
- /**
1136
- * Add the floor level value to form
1137
- * @param level selected floor level
1138
- *
1139
- * @protected
1140
- */
1141
- async _setFloorLevel(level) {
1142
- if (!level) {
1143
- return;
1144
- }
1145
- const layer = this._selectedLayer;
1146
- if (layer?.floorInfo?.floorField) {
1147
- const layerField = layer.fields.find((field) => field.name === layer.floorInfo.floorField);
1148
- // 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
1149
- if (layerField && !layer?.formTemplate) {
1150
- this._editor.viewModel.featureFormViewModel.setValue(layerField.name, level);
1151
- layerField.editable = false;
1152
- }
1153
- else if (layer.formTemplate && this.formElements) {
1154
- const floorInfoExpression = new this.ExpressionInfo({
1155
- expression: `"${level}"`,
1156
- name: "floor-info-test",
1157
- title: "Floor Info",
1158
- returnType: "string"
1159
- });
1160
- const levelIdFieldElement = new this.FieldElement({
1161
- label: layer.floorInfo.floorField,
1162
- editableExpression: 'false',
1163
- fieldName: layer.floorInfo.floorField,
1164
- input: {
1165
- type: "text-box",
1166
- maxLength: 50,
1167
- minLength: 0
1168
- },
1169
- valueExpression: floorInfoExpression.name
1170
- });
1171
- this._updatedMapView.map.editableLayers.forEach((layer) => {
1172
- const orgElements = this.formElements.orgElements;
1173
- const orgExpressionInfos = this.formElements.orgExpressionInfos;
1174
- const elements = [...orgElements];
1175
- elements.push(levelIdFieldElement);
1176
- // Creating formtemplate
1177
- const floorInfoTemplate = new this.FormTemplate({
1178
- title: layer.formTemplate.title,
1179
- description: layer.formTemplate.description,
1180
- elements,
1181
- expressionInfos: [floorInfoExpression].concat(orgExpressionInfos)
1182
- });
1183
- layer.formTemplate = floorInfoTemplate;
1184
- });
1185
- }
1186
- }
1187
- }
1188
- /**
1189
- * Hides the elements of editor widget
1190
- * @protected
1191
- */
1192
- async hideEditorsElements() {
1193
- if (!this.customizeSubmit) {
1194
- return;
1195
- }
1196
- await this.timeout(700);
1197
- //hides the header and footer on the featureForm
1198
- this.el.querySelector('.esri-editor')?.querySelectorAll('calcite-flow-item')?.forEach((flowItem) => {
1199
- const article = flowItem.shadowRoot?.querySelector('calcite-panel')?.shadowRoot?.querySelector('article');
1200
- //hide the header
1201
- article?.querySelector('header')?.setAttribute('style', 'display: none');
1202
- //hide the footer
1203
- article?.querySelector('footer')?.setAttribute('style', 'display: none');
1204
- });
1205
- }
1206
- /**
1207
- * On creation of feature emit the event that the feature is created
1208
- * @param evt feature submit event
1209
- * @protected
1210
- */
1211
- async submitted(evt) {
1212
- //return if any attribute is invalid , focus will be shifted to the invalid attribute in feature form
1213
- if (evt.invalid.length) {
1214
- this._isSubmitBtnClicked = false;
1215
- return;
1216
- }
1217
- //Submit only when valid attributes
1218
- //emit success or fail based on the result
1219
- if (evt.valid.length && this._isSubmitBtnClicked) {
1220
- this._isSubmitBtnClicked = false;
1221
- try {
1222
- await this._editor.activeWorkflow.commit();
1223
- //throw errors if any failures
1224
- if (this._editor.viewModel.failures?.length) {
1225
- this._editor.viewModel.failures.some((failure) => {
1226
- if (failure.error) {
1227
- throw (failure.error);
1228
- }
1229
- });
1230
- }
1231
- }
1232
- catch (e) {
1233
- this.fail.emit(e);
1234
- return;
1235
- }
1236
- this.success.emit();
1237
- }
1238
- }
1239
- /**
1240
- * call setTimeout in Promise wrapper
1241
- * @param delay The time, in milliseconds that the timer should wait before the promise is resolved
1242
- * @protected
1243
- */
1244
- timeout(delay) {
1245
- return new Promise(resolve => setTimeout(resolve, delay));
1246
- }
1247
- /**
1248
- * Fetches the component's translations
1249
- * @returns Promise when complete
1250
- * @protected
1251
- */
1252
- async _getTranslations() {
1253
- const messages = await locale$1.getLocaleComponentStrings(this.el);
1254
- this._translations = messages[0];
1255
- }
1256
- static get watchers() { return {
1257
- "locale": ["localeWatchHandler"],
1258
- "mapView": ["mapViewWatchHandler"],
1259
- "isMobile": ["isMobileHandler"],
1260
- "_editorLoading": ["_editorLoadingWatchHandler"]
1261
- }; }
1262
- };
1263
- CreateFeature.style = CreateFeatureStyle0;
1264
-
1265
- const deleteButtonCss = ":host{display:block}.delete-modal{position:fixed}";
1266
- const DeleteButtonStyle0 = deleteButtonCss;
1267
-
1268
- const DeleteButton = class {
1269
- constructor(hostRef) {
1270
- index.registerInstance(this, hostRef);
1271
- this.editsComplete = index.createEvent(this, "editsComplete", 7);
1272
- this.deleteDialog = undefined;
1273
- this.buttonType = "button";
1274
- this.disabled = false;
1275
- this.icon = undefined;
1276
- this.ids = [];
1277
- this.layer = undefined;
1278
- this.locale = undefined;
1279
- this._confirmDelete = false;
1280
- this._deleteEndabled = false;
1281
- this._supportsDelete = undefined;
1282
- this._translations = undefined;
1283
- }
1284
- get el() { return index.getElement(this); }
1285
- //--------------------------------------------------------------------------
1286
- //
1287
- // Properties (protected)
1288
- //
1289
- //--------------------------------------------------------------------------
1290
- //--------------------------------------------------------------------------
1291
- //
1292
- // Watch handlers
1293
- //
1294
- //--------------------------------------------------------------------------
1295
- /**
1296
- * watch for changes in layer view and verify if it has editing enabled
1297
- */
1298
- async idsWatchHandler() {
1299
- this._setDeleteEnabled();
1300
- }
1301
- /**
1302
- * watch for changes in layer view and verify if it has editing enabled
1303
- */
1304
- async layerWatchHandler() {
1305
- this._setDeleteEnabled();
1306
- }
1307
- /**
1308
- * Fetch translations when the locale is updated
1309
- */
1310
- async localeWatchHandler() {
1311
- // to support url param and language switcher
1312
- this.el.lang = this.locale;
1313
- await this._getTranslations();
1314
- }
1315
- //--------------------------------------------------------------------------
1316
- //
1317
- // Methods (public)
1318
- //
1319
- //--------------------------------------------------------------------------
1320
- //--------------------------------------------------------------------------
1321
- //
1322
- // Events (public)
1323
- //
1324
- //--------------------------------------------------------------------------
1325
- /**
1326
- * Emitted on demand when features have been deleted
1327
- */
1328
- editsComplete;
1329
- //--------------------------------------------------------------------------
1330
- //
1331
- // Functions (lifecycle)
1332
- //
1333
- //--------------------------------------------------------------------------
1334
- /**
1335
- * StencilJS: Called once just after the component is first connected to the DOM.
1336
- *
1337
- * @returns Promise when complete
1338
- */
1339
- async componentWillLoad() {
1340
- await this._getTranslations();
1341
- }
1342
- /**
1343
- * Renders the component.
1344
- */
1345
- render() {
1346
- return (index.h(index.Host, { key: '1816da3d5cd7903b4e699dffa4ac4836dca722bb' }, 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", compact: true, 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: '26fc4d4b4ea02b7a6c5e3f87abe2c5b8f96a3654', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, index.h("span", { key: 'c2f7b101bb3a99274fe7f364ad29365c212d856e' }, this._translations.delete))));
1347
- }
1348
- /**
1349
- * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
1350
- */
1351
- async componentDidLoad() {
1352
- this._setDeleteEnabled();
1353
- }
1354
- //--------------------------------------------------------------------------
1355
- //
1356
- // Functions (protected)
1357
- //
1358
- //--------------------------------------------------------------------------
1359
- /**
1360
- * Verify if the layer supports delete and that we have 1 or more ids
1361
- */
1362
- _setDeleteEnabled() {
1363
- this._supportsDelete = this.layer?.editingEnabled && this.layer?.capabilities?.operations?.supportsDelete;
1364
- this._deleteEndabled = !this.disabled || this._supportsDelete && this.ids.length > 0;
1365
- }
1366
- /**
1367
- * Delete all selected records or shows an alert if the layer does not have editing enabled
1368
- *
1369
- * @returns a promise that will resolve when the operation is complete
1370
- */
1371
- _delete() {
1372
- this._confirmDelete = true;
1373
- }
1374
- /**
1375
- * Show delete confirmation message
1376
- *
1377
- * @returns node to confirm or deny the delete operation
1378
- */
1379
- _deleteMessage() {
1380
- 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 }));
1381
- }
1382
- /**
1383
- * Fetches the component's translations
1384
- *
1385
- * @returns Promise when complete
1386
- * @protected
1387
- */
1388
- async _getTranslations() {
1389
- const messages = await locale$1.getLocaleComponentStrings(this.el);
1390
- this._translations = messages[0];
1391
- }
1392
- static get watchers() { return {
1393
- "ids": ["idsWatchHandler"],
1394
- "layer": ["layerWatchHandler"],
1395
- "locale": ["localeWatchHandler"]
1396
- }; }
1397
- };
1398
- DeleteButton.style = DeleteButtonStyle0;
1399
-
1400
- 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}";
1401
- const EditCardStyle0 = editCardCss;
1402
-
1403
- const EditCard = class {
1404
- constructor(hostRef) {
1405
- index.registerInstance(this, hostRef);
1406
- this.closeEdit = index.createEvent(this, "closeEdit", 7);
1407
- this.editsComplete = index.createEvent(this, "editsComplete", 7);
1408
- this.refreshGraphics = index.createEvent(this, "refreshGraphics", 7);
1409
- this.enableEditGeometry = false;
1410
- this.graphics = undefined;
1411
- this.locale = undefined;
1412
- this.mapView = undefined;
1413
- this.open = false;
1414
- this.graphicIndex = 0;
1415
- this._editorLoading = false;
1416
- this._translations = undefined;
1417
- }
1418
- get el() { return index.getElement(this); }
1419
- //--------------------------------------------------------------------------
1420
- //
1421
- // Properties (protected)
1422
- //
1423
- //--------------------------------------------------------------------------
1424
- /**
1425
- * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1426
- */
1427
- _activeWorkflowHandle;
1428
- /**
1429
- * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1430
- */
1431
- _addRelatedRecordHandle;
1432
- /**
1433
- * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1434
- */
1435
- _attachmentHandle;
1436
- /**
1437
- * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1438
- */
1439
- _editHandle;
1440
- /**
1441
- * esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
1442
- */
1443
- _layerEditHandle;
1444
- /**
1445
- * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
1446
- * The Editor constructor
1447
- */
1448
- Editor;
1449
- /**
1450
- * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
1451
- * The Editor instance
1452
- */
1453
- _editor;
1454
- /**
1455
- * esri/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
1456
- * OR
1457
- * esri/layers/support/SubtypeSublayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html
1458
- */
1459
- _layer;
1460
- /**
1461
- * HTMLDivElement: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
1462
- */
1463
- _editContainer;
1464
- /**
1465
- * any[]: Collection of edit controls created in "MULTI" edit mode
1466
- * These can be calcite-input-text, calcite-input-number, calcite-input-date-picker, calcite-input-time-picker, or calcite-combobox
1467
- */
1468
- _editControlElements;
1469
- /**
1470
- * boolean: When true edit controls will be disabled
1471
- */
1472
- _editingDisabled;
1473
- /**
1474
- * boolean: When true the Editor widget should be closed
1475
- * Without this logic we are taken to the Editors "Select" workflow step
1476
- */
1477
- _shouldClose = false;
1478
- /**
1479
- * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
1480
- */
1481
- reactiveUtils;
1482
- //--------------------------------------------------------------------------
1483
- //
1484
- // Watch handlers
1485
- //
1486
- //--------------------------------------------------------------------------
1487
- /**
1488
- * Watch for changes to the graphics and update the feature widget
1489
- */
1490
- async graphicsWatchHandler() {
1491
- if (this.graphics.length === 0 && this.open) {
1492
- await this._closeEdit(true);
1493
- }
1494
- }
1495
- /**
1496
- * Fetch translations when the locale is updated
1497
- */
1498
- async localeWatchHandler() {
1499
- // to support url param and language switcher
1500
- this.el.lang = this.locale;
1501
- await this._getTranslations();
1502
- }
1503
- async openWatchHandler(v) {
1504
- if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
1505
- this._editorLoading = true;
1506
- await this._initEditorWidget();
1507
- if (this.graphicIndex > -1 && this.graphics.length > 0 && this.open && !this._shouldClose) {
1508
- await this._startUpdate();
1509
- }
1510
- this._editorLoading = false;
1511
- }
1512
- if (!v) {
1513
- await this._closeEdit(true);
1514
- }
1515
- }
1516
- //--------------------------------------------------------------------------
1517
- //
1518
- // Methods (public)
1519
- //
1520
- //--------------------------------------------------------------------------
1521
- //--------------------------------------------------------------------------
1522
- //
1523
- // Events (public)
1524
- //
1525
- //--------------------------------------------------------------------------
1526
- /**
1527
- * Emitted on demand when the Editor widget should be closed
1528
- */
1529
- closeEdit;
1530
- /**
1531
- * Emitted on demand when edits are completed on current edit layer
1532
- */
1533
- editsComplete;
1534
- /**
1535
- * Emitted on demand when the editor is closed to handle
1536
- * things like attachment updates that don't fire the standard edit update event when complete
1537
- */
1538
- refreshGraphics;
1539
- async featureSelectionChange() {
1540
- if (this.open) {
1541
- await this._closeEdit(false);
1542
- }
1543
- }
1544
- //--------------------------------------------------------------------------
1545
- //
1546
- // Functions (lifecycle)
1547
- //
1548
- //--------------------------------------------------------------------------
1549
- /**
1550
- * StencilJS: Called once just after the component is first connected to the DOM.
1551
- *
1552
- * @returns Promise when complete
1553
- */
1554
- async componentWillLoad() {
1555
- await this._initModules();
1556
- await this._getTranslations();
1557
- }
1558
- /**
1559
- * Special handeling when used with layer-table.
1560
- * This allows us to only fetch graphics when the modal is opened rather than with every render of the layer-table.
1561
- *
1562
- * @returns Promise when complete
1563
- */
1564
- async componentWillRender() {
1565
- if (this.graphics?.length > 0 && this.graphics[0]?.layer) {
1566
- this._layer = this.graphics[0].layer;
1567
- if (this._layerEditHandle) {
1568
- this._layerEditHandle.remove();
1569
- }
1570
- // #896 Editing on sybtype group layer is failing in Manager
1571
- const layer = this._layer.type === "subtype-sublayer" ? this._layer.parent : this._layer;
1572
- this._layerEditHandle = layer.on("edits", () => {
1573
- this.editsComplete.emit();
1574
- });
1575
- }
1576
- }
1577
- /**
1578
- * Renders the component.
1579
- */
1580
- render() {
1581
- // This is a temp workaround hopefully...this._editingDisabled should reflect the current state but does not
1582
- // when you use MULTI edit mode...is fine in SINGLE
1583
- const editDisabled = this.graphics?.length > 0 && this.graphics[0] ?
1584
- !this.graphics[0].layer.editingEnabled : true;
1585
- const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
1586
- const loadingClass = this._editorLoading ? "" : "display-none";
1587
- return (index.h(index.Host, { key: '15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7' }, index.h("div", { key: 'bbaa7dbc405259b64dfceca89e45abf6372c76c3', 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: 'eb8b08fa0b08cf93581fb8e76d59bd8b5446770f', class: "position-absolute" }, index.h("div", { key: '03e525373c09fbcd4dad213738d97b99f1549975', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: '1cc46d8f6499a90736e05c2eed9bff71aff35d12', class: loadingClass, label: "", scale: "s" })))));
1588
- }
1589
- //--------------------------------------------------------------------------
1590
- //
1591
- // Functions (protected)
1592
- //
1593
- //--------------------------------------------------------------------------
1594
- /**
1595
- * Load esri javascript api modules
1596
- *
1597
- * @returns Promise resolving when function is done
1598
- */
1599
- async _initModules() {
1600
- const [Editor, reactiveUtils] = await locale$1.loadModules([
1601
- "esri/widgets/Editor",
1602
- "esri/core/reactiveUtils"
1603
- ]);
1604
- this.Editor = Editor;
1605
- this.reactiveUtils = reactiveUtils;
1606
- }
1607
- /**
1608
- * Init the Editor widget so we can display the popup content
1609
- */
1610
- async _initEditorWidget() {
1611
- if (this.mapView && this.graphics && this.graphics.length > 0 && this.graphics[0]) {
1612
- if (this._editor) {
1613
- this._editor.destroy();
1614
- }
1615
- const container = document.createElement("div");
1616
- const layers = await mapViewUtils.getAllLayers(this.mapView);
1617
- const layerInfos = layers.map(layer => {
1618
- return {
1619
- layer,
1620
- geometryUpdatesEnabled: this.enableEditGeometry
1621
- };
1622
- });
1623
- this._editor = new this.Editor({
1624
- allowedWorkflows: "update",
1625
- view: this.mapView,
1626
- layerInfos,
1627
- visibleElements: {
1628
- snappingControls: false
1629
- },
1630
- container
1631
- });
1632
- if (this._attachmentHandle && this._activeWorkflowHandle) {
1633
- this._attachmentHandle.remove();
1634
- this._activeWorkflowHandle.remove();
1635
- }
1636
- this._attachmentHandle = this.reactiveUtils.when(() => this._editor.viewModel.state === "adding-attachment" ||
1637
- this._editor.viewModel.state === "editing-attachment" ||
1638
- this._editor.viewModel.state === "creating-features", () => {
1639
- this._shouldClose = false;
1640
- });
1641
- this._activeWorkflowHandle = this.reactiveUtils.watch(() => this._editor.viewModel.activeWorkflow?.activeWorkflow, (activeWorkflow) => {
1642
- if (activeWorkflow?.type === "update-table-record" || activeWorkflow?.type === "create-features") {
1643
- this._shouldClose = false;
1644
- }
1645
- // Handle back click and when feature is de-selected from the table
1646
- // this ensures that we are not shown the Editors "Select" workflow step
1647
- if ((!activeWorkflow?.type && !activeWorkflow?.hasPendingEdits && !this._editor.activeWorkflow) || !this._editor?.activeWorkflow?.started) {
1648
- this.open = false;
1649
- }
1650
- });
1651
- // had issues with destroy before adding like this
1652
- this._editContainer.appendChild(container);
1653
- }
1654
- }
1655
- /**
1656
- * Close the edit widget
1657
- */
1658
- async _closeEdit(destroyOnClose) {
1659
- this._shouldClose = true;
1660
- if (destroyOnClose && this._editor?.activeWorkflow) {
1661
- if (this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits) {
1662
- await this._editor.activeWorkflow.reset();
1663
- await this._editor.cancelWorkflow();
1664
- }
1665
- this._editor.destroy();
1666
- }
1667
- else {
1668
- if (this.graphicIndex > -1 && this.graphics?.length > 0) {
1669
- this.refreshGraphics.emit(this.graphics);
1670
- }
1671
- }
1672
- this._shouldClose = false;
1673
- this.closeEdit.emit();
1674
- }
1675
- /**
1676
- * Start the update workflow for the editor widget
1677
- */
1678
- async _startUpdate() {
1679
- await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]);
1680
- this._shouldClose = true;
1681
- }
1682
- /**
1683
- * Fetches the component's translations
1684
- *
1685
- * @returns Promise when complete
1686
- */
1687
- async _getTranslations() {
1688
- const messages = await locale$1.getLocaleComponentStrings(this.el);
1689
- this._translations = messages[0];
1690
- }
1691
- static get watchers() { return {
1692
- "graphics": ["graphicsWatchHandler"],
1693
- "locale": ["localeWatchHandler"],
1694
- "open": ["openWatchHandler"]
1695
- }; }
1696
- };
1697
- EditCard.style = EditCardStyle0;
1698
-
1699
- 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}";
1700
- const InfoCardStyle0 = infoCardCss;
1701
-
1702
- const InfoCard = class {
1703
- constructor(hostRef) {
1704
- index.registerInstance(this, hostRef);
1705
- this.popupClosed = index.createEvent(this, "popupClosed", 7);
1706
- this.selectionChanged = index.createEvent(this, "selectionChanged", 7);
1707
- this.enableEditGeometry = false;
1708
- this.graphics = undefined;
1709
- this.isLoading = false;
1710
- this.isMobile = undefined;
1711
- this.mapView = undefined;
1712
- this.allowEditing = true;
1713
- this.highlightEnabled = true;
1714
- this.locale = undefined;
1715
- this.paginationEnabled = true;
1716
- this.position = 'absolute';
1717
- this._alertOpen = false;
1718
- this._count = "";
1719
- this._editRecordOpen = false;
1720
- this._mobileTitle = "";
1721
- this._showListView = false;
1722
- this._translations = undefined;
1723
- }
1724
- get el() { return index.getElement(this); }
1725
- //--------------------------------------------------------------------------
1726
- //
1727
- // Properties (protected)
1728
- //
1729
- //--------------------------------------------------------------------------
1730
- /**
1731
- * esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
1732
- * used for module import
1733
- */
1734
- Features;
1735
- /**
1736
- * boolean: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
1737
- */
1738
- _editEnabled;
1739
- /**
1740
- * esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
1741
- * used for widget instance
1742
- */
1743
- _features;
1744
- /**
1745
- * esri/widgets/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
1746
- */
1747
- _layer;
1748
- /**
1749
- * IPopupUtils: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
1750
- */
1751
- _popupUtils;
1752
- /**
1753
- * string: unique id for the features node
1754
- */
1755
- _featuresNodeId = 'features-node' + new Date().getMilliseconds().toString();
1756
- /**
1757
- * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
1758
- */
1759
- reactiveUtils;
1760
- //--------------------------------------------------------------------------
1761
- //
1762
- // Watch handlers
1763
- //
1764
- //--------------------------------------------------------------------------
1765
- /**
1766
- * Watch for changes to the graphic and update the feature widget
1767
- */
1768
- async graphicsWatchHandler() {
1769
- await this.setGraphics();
1770
- }
1771
- /**
1772
- * Watch for changes to the isMobile prop then init the Features widget
1773
- * We need to know if the title should be displayed by the widget (non mobile)
1774
- * or by us (mobile)
1775
- */
1776
- async isMobileWatchHandler() {
1777
- await this._initFeaturesWidget();
1778
- }
1779
- /**
1780
- * Fetch translations when the locale is updated
1781
- */
1782
- async localeWatchHandler() {
1783
- // to support url param and language switcher
1784
- this.el.lang = this.locale;
1785
- await this._getTranslations();
1786
- if (this._features) {
1787
- const graphics = [...this.graphics];
1788
- this.graphics = [];
1789
- this.graphics = graphics;
1790
- }
1791
- }
1792
- /**
1793
- * Watch for changes to the mapView and re-init the Feature widget
1794
- */
1795
- async mapViewWatchHandler() {
1796
- return await this._initFeaturesWidget();
1797
- }
1798
- //--------------------------------------------------------------------------
1799
- //
1800
- // Methods (public)
1801
- //
1802
- //--------------------------------------------------------------------------
1803
- /**
1804
- * Get the current selected feature from the Features widget
1805
- *
1806
- * @returns Promise resolving with the current feature
1807
- */
1808
- async getSelectedFeature() {
1809
- return this._features.selectedFeature;
1810
- }
1811
- /**
1812
- * Refresh the feature info
1813
- * @returns Promise when complete
1814
- */
1815
- async refresh() {
1816
- await this.setGraphics();
1817
- }
1818
- /**
1819
- * Go to the previous feature in the features widget
1820
- */
1821
- async back() {
1822
- this._features.previous();
1823
- this._count = this._getCount();
1824
- }
1825
- /**
1826
- * Go to the next feature in the features widget
1827
- */
1828
- async next() {
1829
- this._features.next();
1830
- this._count = this._getCount();
1831
- }
1832
- /**
1833
- * Toggle the visibility of the features list view
1834
- */
1835
- async toggleListView() {
1836
- this._showListView = !this._showListView;
1837
- const i = this._features.selectedFeatureIndex;
1838
- this._features.open({
1839
- features: this.graphics,
1840
- featureMenuOpen: this._showListView
1841
- });
1842
- this._features.selectedFeatureIndex = i;
1843
- }
1844
- /**
1845
- * update the current graphics to the features widget
1846
- */
1847
- async updateCurrentGraphic(selectedGraphic) {
1848
- this._features.selectedFeatureWidget.graphic = selectedGraphic;
1849
- }
1850
- //--------------------------------------------------------------------------
1851
- //
1852
- // Events (public)
1853
- //
1854
- //--------------------------------------------------------------------------
1855
- /**
1856
- * Emitted on demand when the popup is closed
1857
- */
1858
- popupClosed;
1859
- /**
1860
- * Emitted on demand when the selected index changes
1861
- */
1862
- selectionChanged;
1863
- /**
1864
- * Respond to and close the edit record display
1865
- *
1866
- * @returns a promise when the operation has completed
1867
- */
1868
- async closeEdit() {
1869
- this._editRecordOpen = false;
1870
- }
1871
- /**
1872
- * Reset key properties when the layer selection changes
1873
- */
1874
- async layerSelectionChange() {
1875
- this._showListView = false;
1876
- if (this._features?.viewModel) {
1877
- this._features.viewModel.featureMenuOpen = false;
1878
- this._features.close();
1879
- }
1880
- }
1881
- /**
1882
- * Refresh the info-card graphics
1883
- */
1884
- async refreshGraphics(evt) {
1885
- this.graphics = [...evt.detail];
1886
- }
1887
- //--------------------------------------------------------------------------
1888
- //
1889
- // Functions (lifecycle)
1890
- //
1891
- //--------------------------------------------------------------------------
1892
- /**
1893
- * StencilJS: Called once just after the component is first connected to the DOM.
1894
- *
1895
- * @returns Promise when complete
1896
- */
1897
- async componentWillLoad() {
1898
- await this._initModules();
1899
- await this._getTranslations();
1900
- this._popupUtils = new popupUtils.PopupUtils();
1901
- }
1902
- /**
1903
- * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
1904
- * @returns Promise when complete
1905
- */
1906
- async componentDidLoad() {
1907
- if (this.graphics?.length > 0) {
1908
- await this.setGraphics();
1909
- }
1910
- }
1911
- /**
1912
- * Renders the component.
1913
- */
1914
- render() {
1915
- const loadingClass = this.isLoading ? "" : "display-none";
1916
- const featureNodeClass = this.isLoading || this._editRecordOpen ? "visibility-hidden" : "position-absolute";
1917
- const editClass = !this.isLoading && this._editRecordOpen ? "position-absolute" : "display-none";
1918
- const editButtonClass = (!this.isLoading && this._editRecordOpen) || this._showListView ? "display-none" : "";
1919
- const nextBackDisabled = this._features?.features?.length < 2;
1920
- const nextBackClass = this.isMobile ? "display-none" : "";
1921
- const id = this._features?.selectedFeature?.getObjectId();
1922
- const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
1923
- const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
1924
- return (index.h(index.Host, { key: '54e47d0ec2be9149c3e667c9e940842804d96964' }, index.h("calcite-shell", { key: '14bb280d394ceaa74463979886ab09cdf393b26e', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: '3226709e73de16c795c348513183b26b88b7a726', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: 'ba4b0c34620c60e849bdf0ada785b9976156dd1c', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '440a4d3c0530f97031df2e2ab9511ef6035fb5da', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1925
- index.h("div", { key: '172b2e2cc10bdfb104057376ceba5d7f5f19ad61', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: '242daf0ec6c3fe4fcc11be4bbc19f810836714ec', 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: '760f8fcd1bcff2060e0a98e84a222107e55fef22', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: '30656b92e9bdbf3a9548586d91fc23bce2da9db3' }, this._translations.edit)), this.isMobile ? (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: '161902561c9686d74a511338dfc02efce0095af7', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: 'afd1459e3f69f60d96103854fe3dae71f18fc41e' }, index.h("calcite-button", { key: '59063d7fa2cf886afca66857cb1f74e42789e59f', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: '412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: '7c1512be35f16b4441c2a364e1b7a87e3c7caf97' }, this._translations.back))), index.h("calcite-action", { key: 'd4790efec0d13e6726ffe9d438683db6887d00b8', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: '98663d5c3b2f445db4e38cba98b8149c53cbc474', class: "pagination-count" }, this._count)), index.h("div", { key: '6ca88610950cf2852e2dc67588c77fd464ece3c5' }, index.h("calcite-button", { key: '577739ef819676dfd9cdee560a8cd22edcd9c6b7', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: '73a4f907d1a2f46a980c451572f1ba1e1b0b0596', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: 'd5f67497df866592b30d6c328f9f45716eb16153' }, this._translations.next))))), index.h("edit-card", { key: 'c8094993be5203f464cea4f632c14dbefa263a73', 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: '0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: 'c8b7b452430d6fedda5288fd58efae5526adeda7', slot: "title" }, this._translations.editDisabled), index.h("div", { key: 'b2dc954d43bb08908723f70796df5c77108d92d8', slot: "message" }, this._translations.enableEditing)))));
1926
- }
1927
- //--------------------------------------------------------------------------
1928
- //
1929
- // Functions (protected)
1930
- //
1931
- //--------------------------------------------------------------------------
1932
- /**
1933
- * Load esri javascript api modules
1934
- *
1935
- * @returns Promise resolving when function is done
1936
- *
1937
- * @protected
1938
- */
1939
- async _initModules() {
1940
- const [Features, reactiveUtils] = await locale$1.loadModules([
1941
- "esri/widgets/Features",
1942
- "esri/core/reactiveUtils"
1943
- ]);
1944
- this.Features = Features;
1945
- this.reactiveUtils = reactiveUtils;
1946
- }
1947
- /**
1948
- * Initializes the features widget if not created and updates the feature widget and other required states
1949
- *
1950
- * @protected
1951
- */
1952
- async setGraphics() {
1953
- if (!this._features) {
1954
- await this._initFeaturesWidget();
1955
- }
1956
- if (this.graphics.length > 0) {
1957
- this._layer = this.graphics[0]?.layer;
1958
- this._editEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsUpdate;
1959
- this._mobileTitle = await this._popupUtils.getPopupTitle(this.graphics[0], this.mapView.map);
1960
- this._features.open({
1961
- features: this.graphics
1962
- });
1963
- }
1964
- else {
1965
- this._features.clear();
1966
- this._features.close();
1967
- }
1968
- this._count = this._getCount();
1969
- }
1970
- /**
1971
- * Init the Feature widget so we can display the popup content
1972
- *
1973
- * @returns a promise when the operation has completed
1974
- *
1975
- * @protected
1976
- */
1977
- async _initFeaturesWidget() {
1978
- return this.isMobile !== undefined ? await this.mapView?.when(() => {
1979
- if (!this._features) {
1980
- this._features = new this.Features({
1981
- view: this.mapView,
1982
- container: this._featuresNodeId,
1983
- visibleElements: {
1984
- actionBar: false,
1985
- closeButton: false,
1986
- heading: !this.isMobile
1987
- }
1988
- });
1989
- this._features.viewModel.highlightEnabled = this.highlightEnabled;
1990
- this.reactiveUtils.watch(() => this._features.viewModel.featureMenuOpen, (isOpen) => {
1991
- this._count = this._getCount();
1992
- if (!isOpen) {
1993
- this._showListView = isOpen;
1994
- }
1995
- });
1996
- this.reactiveUtils.watch(() => this._features.selectedFeatureIndex, (i) => {
1997
- if (i > -1) {
1998
- this.selectionChanged.emit({ selectedFeature: [this._features.selectedFeature], selectedFeatureIndex: this._features.selectedFeatureIndex });
1999
- }
2000
- });
2001
- }
2002
- else {
2003
- this._features.view = this.mapView;
2004
- this._features.visibleElements.actionBar = false;
2005
- this._features.visibleElements.closeButton = false;
2006
- this._features.visibleElements.heading = !this.isMobile;
2007
- }
2008
- }) : Promise.resolve();
2009
- }
2010
- /**
2011
- * Get the mobile header
2012
- *
2013
- * @returns the header node to display when in mobile mode
2014
- *
2015
- * @protected
2016
- */
2017
- _getHeader() {
2018
- 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;
2019
- }
2020
- /**
2021
- * Close the popup and emit the selected features
2022
- */
2023
- _closePopup() {
2024
- this.popupClosed.emit();
2025
- }
2026
- /**
2027
- * Set the alertOpen member to false when the alert is closed
2028
- */
2029
- _alertClosed() {
2030
- this._alertOpen = false;
2031
- }
2032
- /**
2033
- * Open the edit record
2034
- */
2035
- _openEditRecord() {
2036
- if (this._editEnabled) {
2037
- this._editRecordOpen = true;
2038
- }
2039
- else {
2040
- this._alertOpen = true;
2041
- }
2042
- }
2043
- /**
2044
- * Go to the previous feature in the features widget
2045
- */
2046
- _back() {
2047
- this._features.previous();
2048
- this._count = this._getCount();
2049
- }
2050
- /**
2051
- * Go to the next feature in the features widget
2052
- */
2053
- _next() {
2054
- this._features.next();
2055
- this._count = this._getCount();
2056
- }
2057
- /**
2058
- * Get the current index of total string
2059
- *
2060
- * @returns the index of total string
2061
- */
2062
- _getCount() {
2063
- const index = (this._features?.viewModel.selectedFeatureIndex + 1).toString();
2064
- const total = this._features?.features?.length.toString();
2065
- return this._translations.indexOfTotal
2066
- .replace("{{index}}", index)
2067
- .replace("{{total}}", total);
2068
- }
2069
- /**
2070
- * Toggle the visibility of the features list view
2071
- */
2072
- _toggleListView() {
2073
- this._showListView = !this._showListView;
2074
- const i = this._features.selectedFeatureIndex;
2075
- this._features.open({
2076
- features: this.graphics,
2077
- featureMenuOpen: this._showListView
2078
- });
2079
- this._features.selectedFeatureIndex = i;
2080
- }
2081
- /**
2082
- * Fetches the component's translations
2083
- *
2084
- * @returns Promise when complete
2085
- * @protected
2086
- */
2087
- async _getTranslations() {
2088
- const messages = await locale$1.getLocaleComponentStrings(this.el);
2089
- this._translations = messages[0];
2090
- }
2091
- static get watchers() { return {
2092
- "graphics": ["graphicsWatchHandler"],
2093
- "isMobile": ["isMobileWatchHandler"],
2094
- "locale": ["localeWatchHandler"],
2095
- "mapView": ["mapViewWatchHandler"]
2096
- }; }
2097
- };
2098
- InfoCard.style = InfoCardStyle0;
2099
-
2100
- exports.calcite_alert = Alert;
2101
- exports.calcite_flow_item = FlowItem;
2102
- exports.create_feature = CreateFeature;
2103
- exports.delete_button = DeleteButton;
2104
- exports.edit_card = EditCard;
2105
- exports.info_card = InfoCard;