@esri/solutions-components 0.11.11 → 0.11.13

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 (1253) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +258 -49
  2. package/dist/cjs/buffer-tools_2.cjs.entry.js +122 -28
  3. package/dist/cjs/card-manager_3.cjs.entry.js +433 -98
  4. package/dist/cjs/consent-manager.cjs.entry.js +55 -13
  5. package/dist/cjs/create-feature_4.cjs.entry.js +247 -53
  6. package/dist/cjs/create-related-feature_3.cjs.entry.js +166 -35
  7. package/dist/cjs/crowdsource-manager.cjs.entry.js +247 -58
  8. package/dist/cjs/crowdsource-reporter.cjs.entry.js +213 -52
  9. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  10. package/dist/cjs/delete-dialog.cjs.entry.js +37 -8
  11. package/dist/cjs/downloadUtils-37a2426c.js +3223 -0
  12. package/dist/cjs/feature-list.cjs.entry.js +95 -24
  13. package/dist/cjs/helpers-f649d911.js +867 -0
  14. package/dist/cjs/index-915dd9e3.js +201 -0
  15. package/dist/cjs/index-dd05c644.js +1901 -0
  16. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  17. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +4 -4
  18. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  19. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  20. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  21. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  22. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +2 -2
  23. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  24. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  25. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  26. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  27. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  28. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  29. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  30. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  31. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
  32. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
  33. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +1 -1
  34. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  35. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  36. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  37. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  38. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  39. package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
  40. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +3 -3
  41. package/dist/cjs/json-editor_7.cjs.entry.js +227 -49
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/cjs/locale-9cb687b1.js +160 -0
  44. package/dist/cjs/locale-d10ec17b.js +943 -0
  45. package/dist/cjs/map-layer-picker.cjs.entry.js +112 -27
  46. package/dist/cjs/map-select-tools_3.cjs.entry.js +229 -50
  47. package/dist/cjs/pci-calculator.cjs.entry.js +15 -2
  48. package/dist/cjs/popupUtils-c1061629.js +121 -0
  49. package/dist/cjs/public-notification.cjs.entry.js +194 -44
  50. package/dist/cjs/publicNotificationStore-30643216.js +47 -0
  51. package/dist/cjs/solution-configuration.cjs.entry.js +52 -17
  52. package/dist/cjs/solution-contents_3.cjs.entry.js +84 -18
  53. package/dist/cjs/solution-item-accordion.cjs.entry.js +39 -9
  54. package/dist/cjs/solution-item-icon.cjs.entry.js +18 -4
  55. package/dist/cjs/solution-store-9b6ae901.js +1105 -0
  56. package/dist/cjs/solutions-components.cjs.js +2 -2
  57. package/dist/cjs/spatial-ref.cjs.entry.js +45 -10
  58. package/dist/cjs/store-manager.cjs.entry.js +21 -6
  59. package/dist/cjs/utils-acaa2acd.js +153 -0
  60. package/dist/collection/assets/t9n/consent-manager/resources.json +1 -1
  61. package/dist/collection/assets/t9n/consent-manager/resources_en.json +1 -1
  62. package/dist/collection/collection-manifest.json +1 -1
  63. package/dist/collection/components/basemap-gallery/basemap-gallery.js +19 -5
  64. package/dist/collection/components/buffer-tools/buffer-tools.js +52 -13
  65. package/dist/collection/components/card-manager/card-manager.js +71 -17
  66. package/dist/collection/components/consent-manager/consent-manager.js +53 -13
  67. package/dist/collection/components/create-feature/create-feature.js +68 -16
  68. package/dist/collection/components/create-related-feature/create-related-feature.js +44 -10
  69. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +245 -58
  70. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +211 -52
  71. package/dist/collection/components/delete-button/delete-button.js +55 -13
  72. package/dist/collection/components/delete-dialog/delete-dialog.js +35 -8
  73. package/dist/collection/components/edit-card/edit-card.js +43 -10
  74. package/dist/collection/components/feature-details/feature-details.js +70 -17
  75. package/dist/collection/components/feature-list/feature-list.js +91 -22
  76. package/dist/collection/components/floor-filter/floor-filter.js +19 -5
  77. package/dist/collection/components/info-card/info-card.js +77 -18
  78. package/dist/collection/components/json-editor/json-editor.js +28 -7
  79. package/dist/collection/components/layer-list/layer-list.js +50 -12
  80. package/dist/collection/components/layer-table/layer-table.js +177 -41
  81. package/dist/collection/components/map-card/map-card.js +182 -43
  82. package/dist/collection/components/map-draw-tools/map-draw-tools.js +66 -15
  83. package/dist/collection/components/map-fullscreen/map-fullscreen.js +18 -4
  84. package/dist/collection/components/map-layer-picker/map-layer-picker.js +108 -25
  85. package/dist/collection/components/map-legend/map-legend.js +15 -4
  86. package/dist/collection/components/map-picker/map-picker.js +35 -8
  87. package/dist/collection/components/map-search/map-search.js +35 -8
  88. package/dist/collection/components/map-select-tools/map-select-tools.js +138 -32
  89. package/dist/collection/components/map-tools/map-tools.js +115 -27
  90. package/dist/collection/components/pci-calculator/pci-calculator.js +14 -3
  91. package/dist/collection/components/pdf-download/pdf-download.js +27 -6
  92. package/dist/collection/components/public-notification/public-notification.js +189 -41
  93. package/dist/collection/components/refine-selection/refine-selection.js +59 -13
  94. package/dist/collection/components/solution-configuration/solution-configuration.js +48 -13
  95. package/dist/collection/components/solution-contents/solution-contents.js +13 -4
  96. package/dist/collection/components/solution-item/solution-item.js +36 -9
  97. package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +0 -4
  98. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +36 -8
  99. package/dist/collection/components/solution-item-details/solution-item-details.js +35 -16
  100. package/dist/collection/components/solution-item-icon/solution-item-icon.js +17 -5
  101. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +27 -6
  102. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +24 -6
  103. package/dist/collection/components/solution-resource-item/solution-resource-item.js +36 -8
  104. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +31 -7
  105. package/dist/collection/components/solution-template-data/solution-template-data.js +49 -8
  106. package/dist/collection/components/solution-variables/solution-variables.js +24 -6
  107. package/dist/collection/components/spatial-ref/spatial-ref.js +43 -8
  108. package/dist/collection/components/store-manager/store-manager.js +18 -5
  109. package/dist/collection/vendor/calcite-components/24P6DEQH.js +4 -0
  110. package/dist/collection/vendor/calcite-components/2AVRQATR.js +4 -0
  111. package/dist/collection/vendor/calcite-components/2CTO4WXV.js +4 -0
  112. package/dist/collection/vendor/calcite-components/2I33XQO3.js +4 -0
  113. package/dist/collection/vendor/calcite-components/2VMQ4ZHH.js +4 -0
  114. package/dist/collection/vendor/calcite-components/2XGOJ2TK.js +4 -0
  115. package/dist/collection/vendor/calcite-components/2Z6KCCXZ.js +4 -0
  116. package/dist/collection/vendor/calcite-components/36GZKNTR.js +4 -0
  117. package/dist/collection/vendor/calcite-components/3APPCCCZ.js +4 -0
  118. package/dist/collection/vendor/calcite-components/3AWHEFUT.js +4 -0
  119. package/dist/collection/vendor/calcite-components/3NZA5FPC.js +4 -0
  120. package/dist/collection/vendor/calcite-components/4CJKDY6O.js +4 -0
  121. package/dist/collection/vendor/calcite-components/4CN4DMSY.js +4 -0
  122. package/dist/collection/vendor/calcite-components/4D6XNDXD.js +4 -0
  123. package/dist/collection/vendor/calcite-components/4GH4R7AR.js +4 -0
  124. package/dist/collection/vendor/calcite-components/4NZ22FMP.js +4 -0
  125. package/dist/collection/vendor/calcite-components/4TW23CN7.js +4 -0
  126. package/dist/collection/vendor/calcite-components/4W55CXIJ.js +4 -0
  127. package/dist/collection/vendor/calcite-components/4YCDJ4BL.js +4 -0
  128. package/dist/collection/vendor/calcite-components/57KYZCIP.js +4 -0
  129. package/dist/collection/vendor/calcite-components/5DTLNTCL.js +4 -0
  130. package/dist/collection/vendor/calcite-components/5E4NPYBD.js +4 -0
  131. package/dist/collection/vendor/calcite-components/5E6WFGQD.js +4 -0
  132. package/dist/collection/vendor/calcite-components/5TU2CNVP.js +4 -0
  133. package/dist/collection/vendor/calcite-components/5U35BULS.js +4 -0
  134. package/dist/collection/vendor/calcite-components/5WIIOMNV.js +6 -0
  135. package/dist/collection/vendor/calcite-components/62UA4F4S.js +4 -0
  136. package/dist/collection/vendor/calcite-components/62VYJEUG.js +4 -0
  137. package/dist/collection/vendor/calcite-components/65NO3JUC.js +4 -0
  138. package/dist/collection/vendor/calcite-components/6GZCW3B4.js +4 -0
  139. package/dist/collection/vendor/calcite-components/6LJIPAYF.js +4 -0
  140. package/dist/collection/vendor/calcite-components/6LTFSVKG.js +4 -0
  141. package/dist/collection/vendor/calcite-components/6QDWHJ5K.js +4 -0
  142. package/dist/collection/vendor/calcite-components/6U6YH5MS.js +4 -0
  143. package/dist/collection/vendor/calcite-components/6VFJT5QA.js +4 -0
  144. package/dist/collection/vendor/calcite-components/6Y4OKAGD.js +4 -0
  145. package/dist/collection/vendor/calcite-components/74SSYUHC.js +5 -0
  146. package/dist/collection/vendor/calcite-components/75GQA36Q.js +4 -0
  147. package/dist/collection/vendor/calcite-components/7AD7VKZ6.js +4 -0
  148. package/dist/collection/vendor/calcite-components/7MGQRD7Z.js +4 -0
  149. package/dist/collection/vendor/calcite-components/7Q4LBBRD.js +4 -0
  150. package/dist/collection/vendor/calcite-components/7YRITLGU.js +4 -0
  151. package/dist/collection/vendor/calcite-components/A43TKJ6J.js +4 -0
  152. package/dist/collection/vendor/calcite-components/A4LOL6RT.js +4 -0
  153. package/dist/collection/vendor/calcite-components/A6LI6WSB.js +4 -0
  154. package/dist/collection/vendor/calcite-components/AD27WW7R.js +4 -0
  155. package/dist/collection/vendor/calcite-components/AHU7FP65.js +4 -0
  156. package/dist/collection/vendor/calcite-components/AI3NCYN4.js +4 -0
  157. package/dist/collection/vendor/calcite-components/AU24EMIU.js +4 -0
  158. package/dist/collection/vendor/calcite-components/AZ2MVQY2.js +4 -0
  159. package/dist/collection/vendor/calcite-components/BNWN4RE2.js +4 -0
  160. package/dist/collection/vendor/calcite-components/BQHDLRDE.js +4 -0
  161. package/dist/collection/vendor/calcite-components/BYJ6CJMV.js +4 -0
  162. package/dist/collection/vendor/calcite-components/C456ACXC.js +4 -0
  163. package/dist/collection/vendor/calcite-components/CFACWEH3.js +4 -0
  164. package/dist/collection/vendor/calcite-components/CZ6YBXDI.js +4 -0
  165. package/dist/collection/vendor/calcite-components/D2IBWEZJ.js +4 -0
  166. package/dist/collection/vendor/calcite-components/D5V7QPEQ.js +4 -0
  167. package/dist/collection/vendor/calcite-components/DV72VFBR.js +4 -0
  168. package/dist/collection/vendor/calcite-components/DXTGGP6F.js +4 -0
  169. package/dist/collection/vendor/calcite-components/DYX3VYAF.js +4 -0
  170. package/dist/collection/vendor/calcite-components/E4INVUQF.js +4 -0
  171. package/dist/collection/vendor/calcite-components/EC76JAWC.js +4 -0
  172. package/dist/collection/vendor/calcite-components/EFBSBD4Q.js +4 -0
  173. package/dist/collection/vendor/calcite-components/EGQT3WAL.js +4 -0
  174. package/dist/collection/vendor/calcite-components/ELLEOMPV.js +4 -0
  175. package/dist/collection/vendor/calcite-components/EQL77WNN.js +4 -0
  176. package/dist/collection/vendor/calcite-components/EREAGDHN.js +4 -0
  177. package/dist/collection/vendor/calcite-components/ETCKBCGT.js +4 -0
  178. package/dist/collection/vendor/calcite-components/F3MFWM7N.js +4 -0
  179. package/dist/collection/vendor/calcite-components/F57BIANZ.js +4 -0
  180. package/dist/collection/vendor/calcite-components/FLGYQACS.js +4 -0
  181. package/dist/collection/vendor/calcite-components/FVKXG7IX.js +4 -0
  182. package/dist/collection/vendor/calcite-components/FX4E46UA.js +4 -0
  183. package/dist/collection/vendor/calcite-components/FXMO4NFQ.js +4 -0
  184. package/dist/collection/vendor/calcite-components/G377AV4F.js +4 -0
  185. package/dist/collection/vendor/calcite-components/G4UFYIPU.js +4 -0
  186. package/dist/collection/vendor/calcite-components/G5GEKU4E.js +4 -0
  187. package/dist/collection/vendor/calcite-components/GEIJQLU7.js +4 -0
  188. package/dist/collection/vendor/calcite-components/GI3XXRNT.js +4 -0
  189. package/dist/collection/vendor/calcite-components/GQMODQ6D.js +4 -0
  190. package/dist/collection/vendor/calcite-components/GSVJHXH2.js +4 -0
  191. package/dist/collection/vendor/calcite-components/GUMVKQTR.js +4 -0
  192. package/dist/collection/vendor/calcite-components/GVOEPDQC.js +4 -0
  193. package/dist/collection/vendor/calcite-components/GWWXB6FV.js +4 -0
  194. package/dist/collection/vendor/calcite-components/GYOK6DI7.js +4 -0
  195. package/dist/collection/vendor/calcite-components/HDAL3OW2.js +4 -0
  196. package/dist/collection/vendor/calcite-components/HIP3N6DH.js +4 -0
  197. package/dist/collection/vendor/calcite-components/HLGSDCWJ.js +4 -0
  198. package/dist/collection/vendor/calcite-components/HPFASJXB.js +4 -0
  199. package/dist/collection/vendor/calcite-components/HPY2G26P.js +4 -0
  200. package/dist/collection/vendor/calcite-components/HYWMTX3X.js +4 -0
  201. package/dist/collection/vendor/calcite-components/HZGIYOHQ.js +4 -0
  202. package/dist/collection/vendor/calcite-components/HZWEQZY7.js +4 -0
  203. package/dist/collection/vendor/calcite-components/I3PTWPIY.js +4 -0
  204. package/dist/collection/vendor/calcite-components/I4CET6OW.js +5 -0
  205. package/dist/collection/vendor/calcite-components/I4G6P727.js +4 -0
  206. package/dist/collection/vendor/calcite-components/I6YTTPYR.js +4 -0
  207. package/dist/collection/vendor/calcite-components/IG7V543A.js +4 -0
  208. package/dist/collection/vendor/calcite-components/IGJ6NR2R.js +4 -0
  209. package/dist/collection/vendor/calcite-components/IMHYTFTU.js +4 -0
  210. package/dist/collection/vendor/calcite-components/IN5OHY5V.js +4 -0
  211. package/dist/collection/vendor/calcite-components/IPMCFXXP.js +4 -0
  212. package/dist/collection/vendor/calcite-components/IWHKNQVC.js +4 -0
  213. package/dist/collection/vendor/calcite-components/IXRENB6A.js +4 -0
  214. package/dist/collection/vendor/calcite-components/J6LILHDF.js +4 -0
  215. package/dist/collection/vendor/calcite-components/JADXGLI3.js +4 -0
  216. package/dist/collection/vendor/calcite-components/JLXVLF74.js +4 -0
  217. package/dist/collection/vendor/calcite-components/JWVCWXY6.js +4 -0
  218. package/dist/collection/vendor/calcite-components/K3474HB5.js +4 -0
  219. package/dist/collection/vendor/calcite-components/K43H5XTK.js +4 -0
  220. package/dist/collection/vendor/calcite-components/KEKOJLYV.js +4 -0
  221. package/dist/collection/vendor/calcite-components/KEXGE4NJ.js +4 -0
  222. package/dist/collection/vendor/calcite-components/KK3Z3W4I.js +4 -0
  223. package/dist/collection/vendor/calcite-components/KS4B6LK4.js +4 -0
  224. package/dist/collection/vendor/calcite-components/KUAZDOO6.js +4 -0
  225. package/dist/collection/vendor/calcite-components/KUGH3USL.js +4 -0
  226. package/dist/collection/vendor/calcite-components/KZL3CPTV.js +5 -0
  227. package/dist/collection/vendor/calcite-components/L3P7IWQ6.js +4 -0
  228. package/dist/collection/vendor/calcite-components/L5FEKBXU.js +5 -0
  229. package/dist/collection/vendor/calcite-components/L7UUJ325.js +4 -0
  230. package/dist/collection/vendor/calcite-components/LF6Z3CUU.js +4 -0
  231. package/dist/collection/vendor/calcite-components/LIPHS6R3.js +4 -0
  232. package/dist/collection/vendor/calcite-components/LNMOXDYH.js +4 -0
  233. package/dist/collection/vendor/calcite-components/LNX6IEUD.js +4 -0
  234. package/dist/collection/vendor/calcite-components/LSGKUJVV.js +4 -0
  235. package/dist/collection/vendor/calcite-components/LXOXPZWA.js +4 -0
  236. package/dist/collection/vendor/calcite-components/LYIEETRB.js +4 -0
  237. package/dist/collection/vendor/calcite-components/M5B5XMQA.js +28 -0
  238. package/dist/collection/vendor/calcite-components/M6TFTMFD.js +4 -0
  239. package/dist/collection/vendor/calcite-components/MO24RCUT.js +4 -0
  240. package/dist/collection/vendor/calcite-components/MOTR6ZPN.js +4 -0
  241. package/dist/collection/vendor/calcite-components/MPZIFQAA.js +4 -0
  242. package/dist/collection/vendor/calcite-components/MSERO633.js +4 -0
  243. package/dist/collection/vendor/calcite-components/N2ACZZPH.js +4 -0
  244. package/dist/collection/vendor/calcite-components/N2QB6H74.js +4 -0
  245. package/dist/collection/vendor/calcite-components/N6UWSSGW.js +4 -0
  246. package/dist/collection/vendor/calcite-components/NALQXSWX.js +4 -0
  247. package/dist/collection/vendor/calcite-components/NCKQSORU.js +4 -0
  248. package/dist/collection/vendor/calcite-components/NFGDGOX2.js +4 -0
  249. package/dist/collection/vendor/calcite-components/NJDS6SVP.js +4 -0
  250. package/dist/collection/vendor/calcite-components/NN7IWJQ4.js +4 -0
  251. package/dist/collection/vendor/calcite-components/NSI34PAP.js +4 -0
  252. package/dist/collection/vendor/calcite-components/O42B2Q4F.js +4 -0
  253. package/dist/collection/vendor/calcite-components/OGF5TUWN.js +4 -0
  254. package/dist/collection/vendor/calcite-components/OJCYBIGG.js +4 -0
  255. package/dist/collection/vendor/calcite-components/OOY2MGXQ.js +4 -0
  256. package/dist/collection/vendor/calcite-components/OQW7QIRH.js +4 -0
  257. package/dist/collection/vendor/calcite-components/OTCDMLUC.js +4 -0
  258. package/dist/collection/vendor/calcite-components/OZVEH4B5.js +4 -0
  259. package/dist/collection/vendor/calcite-components/P7HTSDH2.js +22 -0
  260. package/dist/collection/vendor/calcite-components/PLA7W3AT.js +4 -0
  261. package/dist/collection/vendor/calcite-components/PLXESTWV.js +4 -0
  262. package/dist/collection/vendor/calcite-components/PMITL6IC.js +4 -0
  263. package/dist/collection/vendor/calcite-components/PQBKOUKQ.js +4 -0
  264. package/dist/collection/vendor/calcite-components/PWUMIRZ6.js +4 -0
  265. package/dist/collection/vendor/calcite-components/Q5J2S3VY.js +4 -0
  266. package/dist/collection/vendor/calcite-components/QCZULBWY.js +4 -0
  267. package/dist/collection/vendor/calcite-components/QG6HHELM.js +4 -0
  268. package/dist/collection/vendor/calcite-components/QO3T2U37.js +4 -0
  269. package/dist/collection/vendor/calcite-components/QUDJ3N3N.js +4 -0
  270. package/dist/collection/vendor/calcite-components/QZIFYSUW.js +4 -0
  271. package/dist/collection/vendor/calcite-components/RBW3635P.js +4 -0
  272. package/dist/collection/vendor/calcite-components/RHRLZ43T.js +4 -0
  273. package/dist/collection/vendor/calcite-components/ROGH35KN.js +4 -0
  274. package/dist/collection/vendor/calcite-components/RU7EMDYD.js +4 -0
  275. package/dist/collection/vendor/calcite-components/RYTO443L.js +4 -0
  276. package/dist/collection/vendor/calcite-components/SA6NHSUC.js +4 -0
  277. package/dist/collection/vendor/calcite-components/SGUU7WHF.js +4 -0
  278. package/dist/collection/vendor/calcite-components/SHC4YDKE.js +4 -0
  279. package/dist/collection/vendor/calcite-components/T2ALVZYL.js +4 -0
  280. package/dist/collection/vendor/calcite-components/T3SQ25MS.js +4 -0
  281. package/dist/collection/vendor/calcite-components/TAD74E6K.js +4 -0
  282. package/dist/collection/vendor/calcite-components/TKUCTGZQ.js +4 -0
  283. package/dist/collection/vendor/calcite-components/TNN7X24K.js +4 -0
  284. package/dist/collection/vendor/calcite-components/TVLD3AOO.js +4 -0
  285. package/dist/collection/vendor/calcite-components/U6YW2HHD.js +4 -0
  286. package/dist/collection/vendor/calcite-components/UIF5EHAA.js +4 -0
  287. package/dist/collection/vendor/calcite-components/UPPZPSLX.js +4 -0
  288. package/dist/collection/vendor/calcite-components/UPVIMVOR.js +4 -0
  289. package/dist/collection/vendor/calcite-components/V56SP7RX.js +4 -0
  290. package/dist/collection/vendor/calcite-components/V6MKTTBQ.js +4 -0
  291. package/dist/collection/vendor/calcite-components/V7HGGFTI.js +4 -0
  292. package/dist/collection/vendor/calcite-components/V7JMIX7A.js +4 -0
  293. package/dist/collection/vendor/calcite-components/VALEMC46.js +4 -0
  294. package/dist/collection/vendor/calcite-components/VF6LK743.js +4 -0
  295. package/dist/collection/vendor/calcite-components/VICC3NDD.js +4 -0
  296. package/dist/collection/vendor/calcite-components/VP7NXOWD.js +4 -0
  297. package/dist/collection/vendor/calcite-components/VQDN7OO3.js +4 -0
  298. package/dist/collection/vendor/calcite-components/VRHJ5OK7.js +4 -0
  299. package/dist/collection/vendor/calcite-components/VSJGDSNK.js +4 -0
  300. package/dist/collection/vendor/calcite-components/VTNRWHPJ.js +4 -0
  301. package/dist/collection/vendor/calcite-components/VWRFMVFO.js +4 -0
  302. package/dist/collection/vendor/calcite-components/VYNHH43V.js +4 -0
  303. package/dist/collection/vendor/calcite-components/VZCTXPAB.js +4 -0
  304. package/dist/collection/vendor/calcite-components/W2PJHNUO.js +4 -0
  305. package/dist/collection/vendor/calcite-components/WGOS6SLC.js +4 -0
  306. package/dist/collection/vendor/calcite-components/WI77ICVL.js +4 -0
  307. package/dist/collection/vendor/calcite-components/WIMUFNVO.js +4 -0
  308. package/dist/collection/vendor/calcite-components/WKIE22JL.js +4 -0
  309. package/dist/collection/vendor/calcite-components/WL55EYBZ.js +4 -0
  310. package/dist/collection/vendor/calcite-components/WNKEORGU.js +4 -0
  311. package/dist/collection/vendor/calcite-components/WR2VE6JZ.js +4 -0
  312. package/dist/collection/vendor/calcite-components/XF5JMHOK.js +4 -0
  313. package/dist/collection/vendor/calcite-components/XIZD6JFU.js +4 -0
  314. package/dist/collection/vendor/calcite-components/XKHOO62D.js +4 -0
  315. package/dist/collection/vendor/calcite-components/XV33QQSP.js +4 -0
  316. package/dist/collection/vendor/calcite-components/XXCPMHQI.js +4 -0
  317. package/dist/collection/vendor/calcite-components/XYEB5PRT.js +4 -0
  318. package/dist/collection/vendor/calcite-components/Y3HCVBC6.js +4 -0
  319. package/dist/collection/vendor/calcite-components/Y7BXR2VY.js +4 -0
  320. package/dist/collection/vendor/calcite-components/YDUPLCIG.js +4 -0
  321. package/dist/collection/vendor/calcite-components/YOV6OIH2.js +4 -0
  322. package/dist/collection/vendor/calcite-components/YPEU6VCU.js +4 -0
  323. package/dist/collection/vendor/calcite-components/YUVCAMVK.js +4 -0
  324. package/dist/collection/vendor/calcite-components/YWAPFYEJ.js +4 -0
  325. package/dist/collection/vendor/calcite-components/YZIMMUUW.js +4 -0
  326. package/dist/collection/vendor/calcite-components/Z2FJJLZ3.js +4 -0
  327. package/dist/collection/vendor/calcite-components/ZQ6GYGGS.js +4 -0
  328. package/dist/collection/vendor/calcite-components/ZQG72P7P.js +4 -0
  329. package/dist/collection/vendor/calcite-components/ZROM77D7.js +4 -0
  330. package/dist/collection/vendor/calcite-components/ZWBJOZZD.js +4 -0
  331. package/dist/collection/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
  332. package/dist/collection/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
  333. package/dist/collection/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
  334. package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
  335. package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
  336. package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
  337. package/dist/collection/vendor/calcite-components/calcite.esm.js +4 -6
  338. package/dist/components/basemap-gallery2.js +19 -3
  339. package/dist/components/buffer-tools2.js +52 -11
  340. package/dist/components/card-manager2.js +71 -15
  341. package/dist/components/consent-manager.js +53 -11
  342. package/dist/components/create-feature2.js +68 -14
  343. package/dist/components/create-related-feature2.js +44 -8
  344. package/dist/components/crowdsource-manager.js +245 -56
  345. package/dist/components/crowdsource-reporter.js +211 -50
  346. package/dist/components/delete-button2.js +55 -11
  347. package/dist/components/delete-dialog2.js +35 -6
  348. package/dist/components/edit-card2.js +43 -8
  349. package/dist/components/feature-details2.js +70 -15
  350. package/dist/components/feature-list2.js +91 -20
  351. package/dist/components/floor-filter2.js +19 -3
  352. package/dist/components/info-card2.js +77 -16
  353. package/dist/components/json-editor2.js +28 -5
  354. package/dist/components/layer-list2.js +50 -10
  355. package/dist/components/layer-table2.js +177 -39
  356. package/dist/components/map-card2.js +182 -41
  357. package/dist/components/map-draw-tools2.js +66 -13
  358. package/dist/components/map-fullscreen2.js +18 -2
  359. package/dist/components/map-layer-picker2.js +108 -23
  360. package/dist/components/map-legend2.js +15 -2
  361. package/dist/components/map-picker2.js +35 -6
  362. package/dist/components/map-search2.js +35 -6
  363. package/dist/components/map-select-tools2.js +138 -30
  364. package/dist/components/map-tools2.js +115 -25
  365. package/dist/components/pci-calculator.js +14 -1
  366. package/dist/components/pdf-download2.js +27 -4
  367. package/dist/components/public-notification.js +189 -39
  368. package/dist/components/refine-selection2.js +59 -11
  369. package/dist/components/solution-configuration.js +48 -13
  370. package/dist/components/solution-contents2.js +13 -2
  371. package/dist/components/solution-item-accordion.js +37 -7
  372. package/dist/components/solution-item-details2.js +35 -14
  373. package/dist/components/solution-item-icon2.js +17 -3
  374. package/dist/components/solution-item-sharing2.js +27 -4
  375. package/dist/components/solution-item2.js +36 -7
  376. package/dist/components/solution-organization-variables2.js +24 -4
  377. package/dist/components/solution-resource-item2.js +36 -6
  378. package/dist/components/solution-spatial-ref2.js +31 -5
  379. package/dist/components/solution-template-data2.js +49 -8
  380. package/dist/components/solution-variables2.js +24 -4
  381. package/dist/components/spatial-ref.js +43 -8
  382. package/dist/components/store-manager.js +18 -3
  383. package/dist/esm/basemap-gallery_7.entry.js +258 -49
  384. package/dist/esm/buffer-tools_2.entry.js +122 -28
  385. package/dist/esm/card-manager_3.entry.js +433 -98
  386. package/dist/esm/consent-manager.entry.js +55 -13
  387. package/dist/esm/create-feature_4.entry.js +247 -53
  388. package/dist/esm/create-related-feature_3.entry.js +166 -35
  389. package/dist/esm/crowdsource-manager.entry.js +247 -58
  390. package/dist/esm/crowdsource-reporter.entry.js +213 -52
  391. package/dist/esm/deduct-calculator.entry.js +1 -1
  392. package/dist/esm/delete-dialog.entry.js +37 -8
  393. package/dist/esm/downloadUtils-05da05a5.js +3217 -0
  394. package/dist/esm/feature-list.entry.js +95 -24
  395. package/dist/esm/helpers-3d7571df.js +841 -0
  396. package/dist/esm/index-29ce74dd.js +199 -0
  397. package/dist/esm/index-b49a8ff6.js +1868 -0
  398. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  399. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +4 -4
  400. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  401. package/dist/esm/instant-apps-create.entry.js +2 -2
  402. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  403. package/dist/esm/instant-apps-export.entry.js +2 -2
  404. package/dist/esm/instant-apps-filter-list_2.entry.js +2 -2
  405. package/dist/esm/instant-apps-header.entry.js +1 -1
  406. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  407. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  408. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  409. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  410. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  411. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  412. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  413. package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
  414. package/dist/esm/instant-apps-language-translator.entry.js +4 -4
  415. package/dist/esm/instant-apps-measurement-tool.entry.js +1 -1
  416. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  417. package/dist/esm/instant-apps-popover.entry.js +2 -2
  418. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  419. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  420. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  421. package/dist/esm/instant-apps-splash.entry.js +2 -2
  422. package/dist/esm/instant-apps-time-filter.entry.js +3 -3
  423. package/dist/esm/json-editor_7.entry.js +227 -49
  424. package/dist/esm/loader.js +2 -2
  425. package/dist/esm/locale-2b4fcfe1.js +155 -0
  426. package/dist/esm/locale-63587966.js +938 -0
  427. package/dist/esm/map-layer-picker.entry.js +112 -27
  428. package/dist/esm/map-select-tools_3.entry.js +229 -50
  429. package/dist/esm/pci-calculator.entry.js +15 -2
  430. package/dist/esm/popupUtils-d4429b90.js +119 -0
  431. package/dist/esm/public-notification.entry.js +194 -44
  432. package/dist/esm/publicNotificationStore-0af2f0c7.js +45 -0
  433. package/dist/esm/solution-configuration.entry.js +52 -17
  434. package/dist/esm/solution-contents_3.entry.js +84 -18
  435. package/dist/esm/solution-item-accordion.entry.js +39 -9
  436. package/dist/esm/solution-item-icon.entry.js +18 -4
  437. package/dist/esm/solution-store-8f4fe1d9.js +1103 -0
  438. package/dist/esm/solutions-components.js +3 -3
  439. package/dist/esm/spatial-ref.entry.js +45 -10
  440. package/dist/esm/store-manager.entry.js +21 -6
  441. package/dist/esm/utils-f9183b76.js +142 -0
  442. package/dist/solutions-components/assets/t9n/consent-manager/resources.json +1 -1
  443. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +1 -1
  444. package/dist/solutions-components/p-004426dc.entry.js +6 -0
  445. package/dist/solutions-components/p-01068666.entry.js +6 -0
  446. package/dist/solutions-components/p-02c009a2.entry.js +6 -0
  447. package/dist/solutions-components/p-1546373f.entry.js +6 -0
  448. package/dist/solutions-components/p-1f670efc.entry.js +6 -0
  449. package/dist/solutions-components/p-1f72c19b.entry.js +6 -0
  450. package/dist/solutions-components/p-27ff3a85.entry.js +6 -0
  451. package/dist/solutions-components/p-285c4fe6.js +21 -0
  452. package/dist/solutions-components/p-2fc2238d.entry.js +6 -0
  453. package/dist/solutions-components/p-33ca9789.entry.js +6 -0
  454. package/dist/solutions-components/p-37fd56c8.entry.js +6 -0
  455. package/dist/solutions-components/p-3df0f3d3.js +6 -0
  456. package/dist/solutions-components/p-419233a3.js +488 -0
  457. package/dist/solutions-components/p-442a68ea.entry.js +6 -0
  458. package/dist/solutions-components/p-4b5ea333.entry.js +6 -0
  459. package/dist/solutions-components/p-4bd66ae5.entry.js +6 -0
  460. package/dist/solutions-components/p-4d55eb0e.entry.js +6 -0
  461. package/dist/solutions-components/p-50dfa0b8.entry.js +6 -0
  462. package/dist/solutions-components/p-59633ef0.entry.js +6 -0
  463. package/dist/solutions-components/p-67befb92.entry.js +6 -0
  464. package/dist/solutions-components/p-68fd9d5d.entry.js +6 -0
  465. package/dist/solutions-components/p-723482d1.js +21 -0
  466. package/dist/solutions-components/p-750a8a39.entry.js +6 -0
  467. package/dist/solutions-components/p-79756a0f.entry.js +6 -0
  468. package/dist/solutions-components/p-7b42823b.entry.js +6 -0
  469. package/dist/solutions-components/p-7ded7b2e.js +36 -0
  470. package/dist/solutions-components/p-80033583.entry.js +6 -0
  471. package/dist/solutions-components/p-8384ba17.entry.js +6 -0
  472. package/dist/solutions-components/p-893d8e26.entry.js +6 -0
  473. package/dist/solutions-components/p-905a911c.entry.js +6 -0
  474. package/dist/solutions-components/p-94aca64c.entry.js +6 -0
  475. package/dist/solutions-components/p-957a880f.entry.js +6 -0
  476. package/dist/solutions-components/p-9775f9d7.entry.js +6 -0
  477. package/dist/solutions-components/p-9b741908.entry.js +11 -0
  478. package/dist/solutions-components/p-9c4ea2e2.entry.js +6 -0
  479. package/dist/solutions-components/p-a0f4c730.entry.js +6 -0
  480. package/dist/solutions-components/p-a5bfdb73.entry.js +6 -0
  481. package/dist/solutions-components/p-a650b356.entry.js +6 -0
  482. package/dist/solutions-components/p-a725bcdf.entry.js +6 -0
  483. package/dist/solutions-components/p-abe9c0de.entry.js +6 -0
  484. package/dist/solutions-components/p-af355bbd.entry.js +6 -0
  485. package/dist/solutions-components/p-b266dcf6.entry.js +6 -0
  486. package/dist/solutions-components/p-b7a6512b.js +6 -0
  487. package/dist/solutions-components/p-b9fc59da.js +6 -0
  488. package/dist/solutions-components/p-be144ed5.entry.js +6 -0
  489. package/dist/solutions-components/p-c1ec9613.entry.js +6 -0
  490. package/dist/solutions-components/p-c3107e95.entry.js +6 -0
  491. package/dist/solutions-components/p-c34857fe.js +129 -0
  492. package/dist/solutions-components/p-c3eae9ba.js +7 -0
  493. package/dist/solutions-components/p-c60990bf.entry.js +6 -0
  494. package/dist/solutions-components/p-c65ff1a0.entry.js +21 -0
  495. package/dist/solutions-components/p-c97d6d8a.entry.js +6 -0
  496. package/dist/solutions-components/p-c987cdf2.entry.js +6 -0
  497. package/dist/solutions-components/p-ddd731d3.entry.js +6 -0
  498. package/dist/solutions-components/p-f053236e.entry.js +6 -0
  499. package/dist/solutions-components/p-f08084fb.entry.js +21 -0
  500. package/dist/solutions-components/p-fb75e187.js +6 -0
  501. package/dist/solutions-components/solutions-components.esm.js +1 -1
  502. package/dist/solutions-components/vendor/calcite-components/24P6DEQH.js +4 -0
  503. package/dist/solutions-components/vendor/calcite-components/2AVRQATR.js +4 -0
  504. package/dist/solutions-components/vendor/calcite-components/2CTO4WXV.js +4 -0
  505. package/dist/solutions-components/vendor/calcite-components/2I33XQO3.js +4 -0
  506. package/dist/solutions-components/vendor/calcite-components/2VMQ4ZHH.js +4 -0
  507. package/dist/solutions-components/vendor/calcite-components/2XGOJ2TK.js +4 -0
  508. package/dist/solutions-components/vendor/calcite-components/2Z6KCCXZ.js +4 -0
  509. package/dist/solutions-components/vendor/calcite-components/36GZKNTR.js +4 -0
  510. package/dist/solutions-components/vendor/calcite-components/3APPCCCZ.js +4 -0
  511. package/dist/solutions-components/vendor/calcite-components/3AWHEFUT.js +4 -0
  512. package/dist/solutions-components/vendor/calcite-components/3NZA5FPC.js +4 -0
  513. package/dist/solutions-components/vendor/calcite-components/4CJKDY6O.js +4 -0
  514. package/dist/solutions-components/vendor/calcite-components/4CN4DMSY.js +4 -0
  515. package/dist/solutions-components/vendor/calcite-components/4D6XNDXD.js +4 -0
  516. package/dist/solutions-components/vendor/calcite-components/4GH4R7AR.js +4 -0
  517. package/dist/solutions-components/vendor/calcite-components/4NZ22FMP.js +4 -0
  518. package/dist/solutions-components/vendor/calcite-components/4TW23CN7.js +4 -0
  519. package/dist/solutions-components/vendor/calcite-components/4W55CXIJ.js +4 -0
  520. package/dist/solutions-components/vendor/calcite-components/4YCDJ4BL.js +4 -0
  521. package/dist/solutions-components/vendor/calcite-components/57KYZCIP.js +4 -0
  522. package/dist/solutions-components/vendor/calcite-components/5DTLNTCL.js +4 -0
  523. package/dist/solutions-components/vendor/calcite-components/5E4NPYBD.js +4 -0
  524. package/dist/solutions-components/vendor/calcite-components/5E6WFGQD.js +4 -0
  525. package/dist/solutions-components/vendor/calcite-components/5TU2CNVP.js +4 -0
  526. package/dist/solutions-components/vendor/calcite-components/5U35BULS.js +4 -0
  527. package/dist/solutions-components/vendor/calcite-components/5WIIOMNV.js +6 -0
  528. package/dist/solutions-components/vendor/calcite-components/62UA4F4S.js +4 -0
  529. package/dist/solutions-components/vendor/calcite-components/62VYJEUG.js +4 -0
  530. package/dist/solutions-components/vendor/calcite-components/65NO3JUC.js +4 -0
  531. package/dist/solutions-components/vendor/calcite-components/6GZCW3B4.js +4 -0
  532. package/dist/solutions-components/vendor/calcite-components/6LJIPAYF.js +4 -0
  533. package/dist/solutions-components/vendor/calcite-components/6LTFSVKG.js +4 -0
  534. package/dist/solutions-components/vendor/calcite-components/6QDWHJ5K.js +4 -0
  535. package/dist/solutions-components/vendor/calcite-components/6U6YH5MS.js +4 -0
  536. package/dist/solutions-components/vendor/calcite-components/6VFJT5QA.js +4 -0
  537. package/dist/solutions-components/vendor/calcite-components/6Y4OKAGD.js +4 -0
  538. package/dist/solutions-components/vendor/calcite-components/74SSYUHC.js +5 -0
  539. package/dist/solutions-components/vendor/calcite-components/75GQA36Q.js +4 -0
  540. package/dist/solutions-components/vendor/calcite-components/7AD7VKZ6.js +4 -0
  541. package/dist/solutions-components/vendor/calcite-components/7MGQRD7Z.js +4 -0
  542. package/dist/solutions-components/vendor/calcite-components/7Q4LBBRD.js +4 -0
  543. package/dist/solutions-components/vendor/calcite-components/7YRITLGU.js +4 -0
  544. package/dist/solutions-components/vendor/calcite-components/A43TKJ6J.js +4 -0
  545. package/dist/solutions-components/vendor/calcite-components/A4LOL6RT.js +4 -0
  546. package/dist/solutions-components/vendor/calcite-components/A6LI6WSB.js +4 -0
  547. package/dist/solutions-components/vendor/calcite-components/AD27WW7R.js +4 -0
  548. package/dist/solutions-components/vendor/calcite-components/AHU7FP65.js +4 -0
  549. package/dist/solutions-components/vendor/calcite-components/AI3NCYN4.js +4 -0
  550. package/dist/solutions-components/vendor/calcite-components/AU24EMIU.js +4 -0
  551. package/dist/solutions-components/vendor/calcite-components/AZ2MVQY2.js +4 -0
  552. package/dist/solutions-components/vendor/calcite-components/BNWN4RE2.js +4 -0
  553. package/dist/solutions-components/vendor/calcite-components/BQHDLRDE.js +4 -0
  554. package/dist/solutions-components/vendor/calcite-components/BYJ6CJMV.js +4 -0
  555. package/dist/solutions-components/vendor/calcite-components/C456ACXC.js +4 -0
  556. package/dist/solutions-components/vendor/calcite-components/CFACWEH3.js +4 -0
  557. package/dist/solutions-components/vendor/calcite-components/CZ6YBXDI.js +4 -0
  558. package/dist/solutions-components/vendor/calcite-components/D2IBWEZJ.js +4 -0
  559. package/dist/solutions-components/vendor/calcite-components/D5V7QPEQ.js +4 -0
  560. package/dist/solutions-components/vendor/calcite-components/DV72VFBR.js +4 -0
  561. package/dist/solutions-components/vendor/calcite-components/DXTGGP6F.js +4 -0
  562. package/dist/solutions-components/vendor/calcite-components/DYX3VYAF.js +4 -0
  563. package/dist/solutions-components/vendor/calcite-components/E4INVUQF.js +4 -0
  564. package/dist/solutions-components/vendor/calcite-components/EC76JAWC.js +4 -0
  565. package/dist/solutions-components/vendor/calcite-components/EFBSBD4Q.js +4 -0
  566. package/dist/solutions-components/vendor/calcite-components/EGQT3WAL.js +4 -0
  567. package/dist/solutions-components/vendor/calcite-components/ELLEOMPV.js +4 -0
  568. package/dist/solutions-components/vendor/calcite-components/EQL77WNN.js +4 -0
  569. package/dist/solutions-components/vendor/calcite-components/EREAGDHN.js +4 -0
  570. package/dist/solutions-components/vendor/calcite-components/ETCKBCGT.js +4 -0
  571. package/dist/solutions-components/vendor/calcite-components/F3MFWM7N.js +4 -0
  572. package/dist/solutions-components/vendor/calcite-components/F57BIANZ.js +4 -0
  573. package/dist/solutions-components/vendor/calcite-components/FLGYQACS.js +4 -0
  574. package/dist/solutions-components/vendor/calcite-components/FVKXG7IX.js +4 -0
  575. package/dist/solutions-components/vendor/calcite-components/FX4E46UA.js +4 -0
  576. package/dist/solutions-components/vendor/calcite-components/FXMO4NFQ.js +4 -0
  577. package/dist/solutions-components/vendor/calcite-components/G377AV4F.js +4 -0
  578. package/dist/solutions-components/vendor/calcite-components/G4UFYIPU.js +4 -0
  579. package/dist/solutions-components/vendor/calcite-components/G5GEKU4E.js +4 -0
  580. package/dist/solutions-components/vendor/calcite-components/GEIJQLU7.js +4 -0
  581. package/dist/solutions-components/vendor/calcite-components/GI3XXRNT.js +4 -0
  582. package/dist/solutions-components/vendor/calcite-components/GQMODQ6D.js +4 -0
  583. package/dist/solutions-components/vendor/calcite-components/GSVJHXH2.js +4 -0
  584. package/dist/solutions-components/vendor/calcite-components/GUMVKQTR.js +4 -0
  585. package/dist/solutions-components/vendor/calcite-components/GVOEPDQC.js +4 -0
  586. package/dist/solutions-components/vendor/calcite-components/GWWXB6FV.js +4 -0
  587. package/dist/solutions-components/vendor/calcite-components/GYOK6DI7.js +4 -0
  588. package/dist/solutions-components/vendor/calcite-components/HDAL3OW2.js +4 -0
  589. package/dist/solutions-components/vendor/calcite-components/HIP3N6DH.js +4 -0
  590. package/dist/solutions-components/vendor/calcite-components/HLGSDCWJ.js +4 -0
  591. package/dist/solutions-components/vendor/calcite-components/HPFASJXB.js +4 -0
  592. package/dist/solutions-components/vendor/calcite-components/HPY2G26P.js +4 -0
  593. package/dist/solutions-components/vendor/calcite-components/HYWMTX3X.js +4 -0
  594. package/dist/solutions-components/vendor/calcite-components/HZGIYOHQ.js +4 -0
  595. package/dist/solutions-components/vendor/calcite-components/HZWEQZY7.js +4 -0
  596. package/dist/solutions-components/vendor/calcite-components/I3PTWPIY.js +4 -0
  597. package/dist/solutions-components/vendor/calcite-components/I4CET6OW.js +5 -0
  598. package/dist/solutions-components/vendor/calcite-components/I4G6P727.js +4 -0
  599. package/dist/solutions-components/vendor/calcite-components/I6YTTPYR.js +4 -0
  600. package/dist/solutions-components/vendor/calcite-components/IG7V543A.js +4 -0
  601. package/dist/solutions-components/vendor/calcite-components/IGJ6NR2R.js +4 -0
  602. package/dist/solutions-components/vendor/calcite-components/IMHYTFTU.js +4 -0
  603. package/dist/solutions-components/vendor/calcite-components/IN5OHY5V.js +4 -0
  604. package/dist/solutions-components/vendor/calcite-components/IPMCFXXP.js +4 -0
  605. package/dist/solutions-components/vendor/calcite-components/IWHKNQVC.js +4 -0
  606. package/dist/solutions-components/vendor/calcite-components/IXRENB6A.js +4 -0
  607. package/dist/solutions-components/vendor/calcite-components/J6LILHDF.js +4 -0
  608. package/dist/solutions-components/vendor/calcite-components/JADXGLI3.js +4 -0
  609. package/dist/solutions-components/vendor/calcite-components/JLXVLF74.js +4 -0
  610. package/dist/solutions-components/vendor/calcite-components/JWVCWXY6.js +4 -0
  611. package/dist/solutions-components/vendor/calcite-components/K3474HB5.js +4 -0
  612. package/dist/solutions-components/vendor/calcite-components/K43H5XTK.js +4 -0
  613. package/dist/solutions-components/vendor/calcite-components/KEKOJLYV.js +4 -0
  614. package/dist/solutions-components/vendor/calcite-components/KEXGE4NJ.js +4 -0
  615. package/dist/solutions-components/vendor/calcite-components/KK3Z3W4I.js +4 -0
  616. package/dist/solutions-components/vendor/calcite-components/KS4B6LK4.js +4 -0
  617. package/dist/solutions-components/vendor/calcite-components/KUAZDOO6.js +4 -0
  618. package/dist/solutions-components/vendor/calcite-components/KUGH3USL.js +4 -0
  619. package/dist/solutions-components/vendor/calcite-components/KZL3CPTV.js +5 -0
  620. package/dist/solutions-components/vendor/calcite-components/L3P7IWQ6.js +4 -0
  621. package/dist/solutions-components/vendor/calcite-components/L5FEKBXU.js +5 -0
  622. package/dist/solutions-components/vendor/calcite-components/L7UUJ325.js +4 -0
  623. package/dist/solutions-components/vendor/calcite-components/LF6Z3CUU.js +4 -0
  624. package/dist/solutions-components/vendor/calcite-components/LIPHS6R3.js +4 -0
  625. package/dist/solutions-components/vendor/calcite-components/LNMOXDYH.js +4 -0
  626. package/dist/solutions-components/vendor/calcite-components/LNX6IEUD.js +4 -0
  627. package/dist/solutions-components/vendor/calcite-components/LSGKUJVV.js +4 -0
  628. package/dist/solutions-components/vendor/calcite-components/LXOXPZWA.js +4 -0
  629. package/dist/solutions-components/vendor/calcite-components/LYIEETRB.js +4 -0
  630. package/dist/solutions-components/vendor/calcite-components/M5B5XMQA.js +28 -0
  631. package/dist/solutions-components/vendor/calcite-components/M6TFTMFD.js +4 -0
  632. package/dist/solutions-components/vendor/calcite-components/MO24RCUT.js +4 -0
  633. package/dist/solutions-components/vendor/calcite-components/MOTR6ZPN.js +4 -0
  634. package/dist/solutions-components/vendor/calcite-components/MPZIFQAA.js +4 -0
  635. package/dist/solutions-components/vendor/calcite-components/MSERO633.js +4 -0
  636. package/dist/solutions-components/vendor/calcite-components/N2ACZZPH.js +4 -0
  637. package/dist/solutions-components/vendor/calcite-components/N2QB6H74.js +4 -0
  638. package/dist/solutions-components/vendor/calcite-components/N6UWSSGW.js +4 -0
  639. package/dist/solutions-components/vendor/calcite-components/NALQXSWX.js +4 -0
  640. package/dist/solutions-components/vendor/calcite-components/NCKQSORU.js +4 -0
  641. package/dist/solutions-components/vendor/calcite-components/NFGDGOX2.js +4 -0
  642. package/dist/solutions-components/vendor/calcite-components/NJDS6SVP.js +4 -0
  643. package/dist/solutions-components/vendor/calcite-components/NN7IWJQ4.js +4 -0
  644. package/dist/solutions-components/vendor/calcite-components/NSI34PAP.js +4 -0
  645. package/dist/solutions-components/vendor/calcite-components/O42B2Q4F.js +4 -0
  646. package/dist/solutions-components/vendor/calcite-components/OGF5TUWN.js +4 -0
  647. package/dist/solutions-components/vendor/calcite-components/OJCYBIGG.js +4 -0
  648. package/dist/solutions-components/vendor/calcite-components/OOY2MGXQ.js +4 -0
  649. package/dist/solutions-components/vendor/calcite-components/OQW7QIRH.js +4 -0
  650. package/dist/solutions-components/vendor/calcite-components/OTCDMLUC.js +4 -0
  651. package/dist/solutions-components/vendor/calcite-components/OZVEH4B5.js +4 -0
  652. package/dist/solutions-components/vendor/calcite-components/P7HTSDH2.js +22 -0
  653. package/dist/solutions-components/vendor/calcite-components/PLA7W3AT.js +4 -0
  654. package/dist/solutions-components/vendor/calcite-components/PLXESTWV.js +4 -0
  655. package/dist/solutions-components/vendor/calcite-components/PMITL6IC.js +4 -0
  656. package/dist/solutions-components/vendor/calcite-components/PQBKOUKQ.js +4 -0
  657. package/dist/solutions-components/vendor/calcite-components/PWUMIRZ6.js +4 -0
  658. package/dist/solutions-components/vendor/calcite-components/Q5J2S3VY.js +4 -0
  659. package/dist/solutions-components/vendor/calcite-components/QCZULBWY.js +4 -0
  660. package/dist/solutions-components/vendor/calcite-components/QG6HHELM.js +4 -0
  661. package/dist/solutions-components/vendor/calcite-components/QO3T2U37.js +4 -0
  662. package/dist/solutions-components/vendor/calcite-components/QUDJ3N3N.js +4 -0
  663. package/dist/solutions-components/vendor/calcite-components/QZIFYSUW.js +4 -0
  664. package/dist/solutions-components/vendor/calcite-components/RBW3635P.js +4 -0
  665. package/dist/solutions-components/vendor/calcite-components/RHRLZ43T.js +4 -0
  666. package/dist/solutions-components/vendor/calcite-components/ROGH35KN.js +4 -0
  667. package/dist/solutions-components/vendor/calcite-components/RU7EMDYD.js +4 -0
  668. package/dist/solutions-components/vendor/calcite-components/RYTO443L.js +4 -0
  669. package/dist/solutions-components/vendor/calcite-components/SA6NHSUC.js +4 -0
  670. package/dist/solutions-components/vendor/calcite-components/SGUU7WHF.js +4 -0
  671. package/dist/solutions-components/vendor/calcite-components/SHC4YDKE.js +4 -0
  672. package/dist/solutions-components/vendor/calcite-components/T2ALVZYL.js +4 -0
  673. package/dist/solutions-components/vendor/calcite-components/T3SQ25MS.js +4 -0
  674. package/dist/solutions-components/vendor/calcite-components/TAD74E6K.js +4 -0
  675. package/dist/solutions-components/vendor/calcite-components/TKUCTGZQ.js +4 -0
  676. package/dist/solutions-components/vendor/calcite-components/TNN7X24K.js +4 -0
  677. package/dist/solutions-components/vendor/calcite-components/TVLD3AOO.js +4 -0
  678. package/dist/solutions-components/vendor/calcite-components/U6YW2HHD.js +4 -0
  679. package/dist/solutions-components/vendor/calcite-components/UIF5EHAA.js +4 -0
  680. package/dist/solutions-components/vendor/calcite-components/UPPZPSLX.js +4 -0
  681. package/dist/solutions-components/vendor/calcite-components/UPVIMVOR.js +4 -0
  682. package/dist/solutions-components/vendor/calcite-components/V56SP7RX.js +4 -0
  683. package/dist/solutions-components/vendor/calcite-components/V6MKTTBQ.js +4 -0
  684. package/dist/solutions-components/vendor/calcite-components/V7HGGFTI.js +4 -0
  685. package/dist/solutions-components/vendor/calcite-components/V7JMIX7A.js +4 -0
  686. package/dist/solutions-components/vendor/calcite-components/VALEMC46.js +4 -0
  687. package/dist/solutions-components/vendor/calcite-components/VF6LK743.js +4 -0
  688. package/dist/solutions-components/vendor/calcite-components/VICC3NDD.js +4 -0
  689. package/dist/solutions-components/vendor/calcite-components/VP7NXOWD.js +4 -0
  690. package/dist/solutions-components/vendor/calcite-components/VQDN7OO3.js +4 -0
  691. package/dist/solutions-components/vendor/calcite-components/VRHJ5OK7.js +4 -0
  692. package/dist/solutions-components/vendor/calcite-components/VSJGDSNK.js +4 -0
  693. package/dist/solutions-components/vendor/calcite-components/VTNRWHPJ.js +4 -0
  694. package/dist/solutions-components/vendor/calcite-components/VWRFMVFO.js +4 -0
  695. package/dist/solutions-components/vendor/calcite-components/VYNHH43V.js +4 -0
  696. package/dist/solutions-components/vendor/calcite-components/VZCTXPAB.js +4 -0
  697. package/dist/solutions-components/vendor/calcite-components/W2PJHNUO.js +4 -0
  698. package/dist/solutions-components/vendor/calcite-components/WGOS6SLC.js +4 -0
  699. package/dist/solutions-components/vendor/calcite-components/WI77ICVL.js +4 -0
  700. package/dist/solutions-components/vendor/calcite-components/WIMUFNVO.js +4 -0
  701. package/dist/solutions-components/vendor/calcite-components/WKIE22JL.js +4 -0
  702. package/dist/solutions-components/vendor/calcite-components/WL55EYBZ.js +4 -0
  703. package/dist/solutions-components/vendor/calcite-components/WNKEORGU.js +4 -0
  704. package/dist/solutions-components/vendor/calcite-components/WR2VE6JZ.js +4 -0
  705. package/dist/solutions-components/vendor/calcite-components/XF5JMHOK.js +4 -0
  706. package/dist/solutions-components/vendor/calcite-components/XIZD6JFU.js +4 -0
  707. package/dist/solutions-components/vendor/calcite-components/XKHOO62D.js +4 -0
  708. package/dist/solutions-components/vendor/calcite-components/XV33QQSP.js +4 -0
  709. package/dist/solutions-components/vendor/calcite-components/XXCPMHQI.js +4 -0
  710. package/dist/solutions-components/vendor/calcite-components/XYEB5PRT.js +4 -0
  711. package/dist/solutions-components/vendor/calcite-components/Y3HCVBC6.js +4 -0
  712. package/dist/solutions-components/vendor/calcite-components/Y7BXR2VY.js +4 -0
  713. package/dist/solutions-components/vendor/calcite-components/YDUPLCIG.js +4 -0
  714. package/dist/solutions-components/vendor/calcite-components/YOV6OIH2.js +4 -0
  715. package/dist/solutions-components/vendor/calcite-components/YPEU6VCU.js +4 -0
  716. package/dist/solutions-components/vendor/calcite-components/YUVCAMVK.js +4 -0
  717. package/dist/solutions-components/vendor/calcite-components/YWAPFYEJ.js +4 -0
  718. package/dist/solutions-components/vendor/calcite-components/YZIMMUUW.js +4 -0
  719. package/dist/solutions-components/vendor/calcite-components/Z2FJJLZ3.js +4 -0
  720. package/dist/solutions-components/vendor/calcite-components/ZQ6GYGGS.js +4 -0
  721. package/dist/solutions-components/vendor/calcite-components/ZQG72P7P.js +4 -0
  722. package/dist/solutions-components/vendor/calcite-components/ZROM77D7.js +4 -0
  723. package/dist/solutions-components/vendor/calcite-components/ZWBJOZZD.js +4 -0
  724. package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
  725. package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
  726. package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
  727. package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
  728. package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
  729. package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
  730. package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +4 -6
  731. package/dist/solutions-components_commit.txt +4 -7
  732. package/package.json +10 -10
  733. package/dist/cjs/downloadUtils-9ce90176.js +0 -3223
  734. package/dist/cjs/helpers-6a222aa7.js +0 -867
  735. package/dist/cjs/index-af14245a.js +0 -1828
  736. package/dist/cjs/index-ffd12cb0.js +0 -201
  737. package/dist/cjs/locale-1c60be9c.js +0 -160
  738. package/dist/cjs/locale-2dd3020a.js +0 -943
  739. package/dist/cjs/popupUtils-93b14f86.js +0 -121
  740. package/dist/cjs/publicNotificationStore-beb782de.js +0 -47
  741. package/dist/cjs/solution-store-3cf25b71.js +0 -1105
  742. package/dist/cjs/utils-53383d03.js +0 -153
  743. package/dist/collection/vendor/calcite-components/2OHLWTVV.js +0 -6
  744. package/dist/collection/vendor/calcite-components/2YNPAPXX.js +0 -6
  745. package/dist/collection/vendor/calcite-components/3MV46GBB.js +0 -6
  746. package/dist/collection/vendor/calcite-components/3OQ2ZMWE.js +0 -6
  747. package/dist/collection/vendor/calcite-components/3VYZVKRG.js +0 -6
  748. package/dist/collection/vendor/calcite-components/3YAQ3WXL.js +0 -6
  749. package/dist/collection/vendor/calcite-components/3YMYDWGD.js +0 -6
  750. package/dist/collection/vendor/calcite-components/4BBHRHVO.js +0 -6
  751. package/dist/collection/vendor/calcite-components/4Y32YCMF.js +0 -6
  752. package/dist/collection/vendor/calcite-components/52M672S5.js +0 -6
  753. package/dist/collection/vendor/calcite-components/5DHYCNO3.js +0 -6
  754. package/dist/collection/vendor/calcite-components/5MCURGUM.js +0 -6
  755. package/dist/collection/vendor/calcite-components/5O6ZNC7G.js +0 -6
  756. package/dist/collection/vendor/calcite-components/5RROROO5.js +0 -6
  757. package/dist/collection/vendor/calcite-components/5WC57GPQ.js +0 -6
  758. package/dist/collection/vendor/calcite-components/5WSY45L7.js +0 -6
  759. package/dist/collection/vendor/calcite-components/5XKYFEBC.js +0 -6
  760. package/dist/collection/vendor/calcite-components/66KPC4YV.js +0 -6
  761. package/dist/collection/vendor/calcite-components/67MILQAM.js +0 -6
  762. package/dist/collection/vendor/calcite-components/67YJME3J.js +0 -7
  763. package/dist/collection/vendor/calcite-components/6BG6DXGU.js +0 -6
  764. package/dist/collection/vendor/calcite-components/6J7J7RFI.js +0 -6
  765. package/dist/collection/vendor/calcite-components/6KJHPKLM.js +0 -6
  766. package/dist/collection/vendor/calcite-components/6LBWQVLS.js +0 -6
  767. package/dist/collection/vendor/calcite-components/6LOB5NKS.js +0 -6
  768. package/dist/collection/vendor/calcite-components/74AHNYT6.js +0 -6
  769. package/dist/collection/vendor/calcite-components/75LS6AUK.js +0 -6
  770. package/dist/collection/vendor/calcite-components/7AC4OZRT.js +0 -6
  771. package/dist/collection/vendor/calcite-components/7CTQOYNN.js +0 -6
  772. package/dist/collection/vendor/calcite-components/7IMTQM3A.js +0 -6
  773. package/dist/collection/vendor/calcite-components/7NNFVP5Y.js +0 -6
  774. package/dist/collection/vendor/calcite-components/7PLH76D5.js +0 -6
  775. package/dist/collection/vendor/calcite-components/7SRUH72U.js +0 -6
  776. package/dist/collection/vendor/calcite-components/7WIMMB52.js +0 -6
  777. package/dist/collection/vendor/calcite-components/A3TZO3T4.js +0 -6
  778. package/dist/collection/vendor/calcite-components/A4JSLISH.js +0 -7
  779. package/dist/collection/vendor/calcite-components/A77L2PAE.js +0 -6
  780. package/dist/collection/vendor/calcite-components/AAJZVCOQ.js +0 -6
  781. package/dist/collection/vendor/calcite-components/AK7JTREX.js +0 -6
  782. package/dist/collection/vendor/calcite-components/APJDJGRX.js +0 -6
  783. package/dist/collection/vendor/calcite-components/B7XAXKYO.js +0 -6
  784. package/dist/collection/vendor/calcite-components/B7YRQCNE.js +0 -6
  785. package/dist/collection/vendor/calcite-components/BAAOO7UE.js +0 -6
  786. package/dist/collection/vendor/calcite-components/BKJX2UVI.js +0 -6
  787. package/dist/collection/vendor/calcite-components/BMTT77MQ.js +0 -6
  788. package/dist/collection/vendor/calcite-components/BMULWGQL.js +0 -6
  789. package/dist/collection/vendor/calcite-components/BOOD43TE.js +0 -6
  790. package/dist/collection/vendor/calcite-components/BT6BGDUQ.js +0 -6
  791. package/dist/collection/vendor/calcite-components/C4BI2I6X.js +0 -6
  792. package/dist/collection/vendor/calcite-components/CARSEP6Y.js +0 -6
  793. package/dist/collection/vendor/calcite-components/CARUWMRC.js +0 -6
  794. package/dist/collection/vendor/calcite-components/CGP5NAVZ.js +0 -6
  795. package/dist/collection/vendor/calcite-components/CHPU2ORW.js +0 -6
  796. package/dist/collection/vendor/calcite-components/CKCZ6NNQ.js +0 -6
  797. package/dist/collection/vendor/calcite-components/CLWQ573O.js +0 -6
  798. package/dist/collection/vendor/calcite-components/COVTDEEB.js +0 -6
  799. package/dist/collection/vendor/calcite-components/CSDMYGZU.js +0 -6
  800. package/dist/collection/vendor/calcite-components/CSR5Q44Q.js +0 -6
  801. package/dist/collection/vendor/calcite-components/CWDZ4NQP.js +0 -6
  802. package/dist/collection/vendor/calcite-components/D7V3NS2J.js +0 -6
  803. package/dist/collection/vendor/calcite-components/DHITRFFR.js +0 -6
  804. package/dist/collection/vendor/calcite-components/DL6GCZF7.js +0 -6
  805. package/dist/collection/vendor/calcite-components/DPLQUB7Z.js +0 -6
  806. package/dist/collection/vendor/calcite-components/DQWJPC22.js +0 -6
  807. package/dist/collection/vendor/calcite-components/DRM7BNH3.js +0 -6
  808. package/dist/collection/vendor/calcite-components/DWIP44NC.js +0 -6
  809. package/dist/collection/vendor/calcite-components/E3RER5S3.js +0 -6
  810. package/dist/collection/vendor/calcite-components/ECWNOIEW.js +0 -6
  811. package/dist/collection/vendor/calcite-components/EPKORG4B.js +0 -6
  812. package/dist/collection/vendor/calcite-components/ERE76CER.js +0 -6
  813. package/dist/collection/vendor/calcite-components/EU5GIDX7.js +0 -6
  814. package/dist/collection/vendor/calcite-components/FB6NATRQ.js +0 -6
  815. package/dist/collection/vendor/calcite-components/FHAIE7PW.js +0 -6
  816. package/dist/collection/vendor/calcite-components/FITCS5RA.js +0 -6
  817. package/dist/collection/vendor/calcite-components/FJUGYL5W.js +0 -6
  818. package/dist/collection/vendor/calcite-components/FP5CKCOM.js +0 -6
  819. package/dist/collection/vendor/calcite-components/FQ6G6HKC.js +0 -6
  820. package/dist/collection/vendor/calcite-components/FQTOWUOI.js +0 -6
  821. package/dist/collection/vendor/calcite-components/FSBJYIK7.js +0 -6
  822. package/dist/collection/vendor/calcite-components/FUR5QRYV.js +0 -6
  823. package/dist/collection/vendor/calcite-components/FV5F4TOB.js +0 -30
  824. package/dist/collection/vendor/calcite-components/GHRW2Z4J.js +0 -6
  825. package/dist/collection/vendor/calcite-components/GKLGNYAX.js +0 -6
  826. package/dist/collection/vendor/calcite-components/GRGOLBJ6.js +0 -6
  827. package/dist/collection/vendor/calcite-components/H2QNORW6.js +0 -6
  828. package/dist/collection/vendor/calcite-components/H6JENZS2.js +0 -6
  829. package/dist/collection/vendor/calcite-components/HE6ZJBOG.js +0 -6
  830. package/dist/collection/vendor/calcite-components/HEYQRNVV.js +0 -6
  831. package/dist/collection/vendor/calcite-components/HJ7LTJIL.js +0 -6
  832. package/dist/collection/vendor/calcite-components/HUXUCABV.js +0 -6
  833. package/dist/collection/vendor/calcite-components/HVG3FNW6.js +0 -6
  834. package/dist/collection/vendor/calcite-components/I5RDDH5E.js +0 -6
  835. package/dist/collection/vendor/calcite-components/IGLINVEB.js +0 -6
  836. package/dist/collection/vendor/calcite-components/IH6XHUKC.js +0 -6
  837. package/dist/collection/vendor/calcite-components/IN4OTIGO.js +0 -6
  838. package/dist/collection/vendor/calcite-components/IOQ5NGFA.js +0 -6
  839. package/dist/collection/vendor/calcite-components/ITIJ42U7.js +0 -6
  840. package/dist/collection/vendor/calcite-components/ITILALYC.js +0 -6
  841. package/dist/collection/vendor/calcite-components/J3NSY2Y7.js +0 -6
  842. package/dist/collection/vendor/calcite-components/J4RAJYKF.js +0 -6
  843. package/dist/collection/vendor/calcite-components/J6IGXQYQ.js +0 -6
  844. package/dist/collection/vendor/calcite-components/JA2ML5I6.js +0 -6
  845. package/dist/collection/vendor/calcite-components/JOTIQZAS.js +0 -6
  846. package/dist/collection/vendor/calcite-components/JULIKI65.js +0 -6
  847. package/dist/collection/vendor/calcite-components/JW6QBCWN.js +0 -6
  848. package/dist/collection/vendor/calcite-components/JWIQZFGO.js +0 -6
  849. package/dist/collection/vendor/calcite-components/K4HQ6WGE.js +0 -6
  850. package/dist/collection/vendor/calcite-components/K4OPLD7F.js +0 -6
  851. package/dist/collection/vendor/calcite-components/KHULIKKP.js +0 -7
  852. package/dist/collection/vendor/calcite-components/KRZMNBJS.js +0 -6
  853. package/dist/collection/vendor/calcite-components/LDAXCWWP.js +0 -6
  854. package/dist/collection/vendor/calcite-components/LMRFYM2J.js +0 -6
  855. package/dist/collection/vendor/calcite-components/LSUXEOMN.js +0 -6
  856. package/dist/collection/vendor/calcite-components/M5BOCCQL.js +0 -6
  857. package/dist/collection/vendor/calcite-components/M5XI6NNV.js +0 -6
  858. package/dist/collection/vendor/calcite-components/M7MOBM7M.js +0 -6
  859. package/dist/collection/vendor/calcite-components/MA2YIQZL.js +0 -6
  860. package/dist/collection/vendor/calcite-components/MBJAGWVS.js +0 -6
  861. package/dist/collection/vendor/calcite-components/MI3BWAKN.js +0 -6
  862. package/dist/collection/vendor/calcite-components/MOO4BCRV.js +0 -6
  863. package/dist/collection/vendor/calcite-components/MVHJMI6L.js +0 -6
  864. package/dist/collection/vendor/calcite-components/MZRLL3GR.js +0 -6
  865. package/dist/collection/vendor/calcite-components/N2FZGLE3.js +0 -6
  866. package/dist/collection/vendor/calcite-components/N2UM5A2L.js +0 -6
  867. package/dist/collection/vendor/calcite-components/NNL2N4OB.js +0 -6
  868. package/dist/collection/vendor/calcite-components/NP3SY2AL.js +0 -6
  869. package/dist/collection/vendor/calcite-components/NPYZ3JS7.js +0 -6
  870. package/dist/collection/vendor/calcite-components/NS47CSEP.js +0 -6
  871. package/dist/collection/vendor/calcite-components/NSL6XZ2B.js +0 -6
  872. package/dist/collection/vendor/calcite-components/NW4BVBVD.js +0 -6
  873. package/dist/collection/vendor/calcite-components/O66NAEPJ.js +0 -6
  874. package/dist/collection/vendor/calcite-components/OA55VNGP.js +0 -6
  875. package/dist/collection/vendor/calcite-components/OHEBCS4O.js +0 -6
  876. package/dist/collection/vendor/calcite-components/OI755RA3.js +0 -6
  877. package/dist/collection/vendor/calcite-components/OUC47AKY.js +0 -6
  878. package/dist/collection/vendor/calcite-components/PIOS7EUM.js +0 -6
  879. package/dist/collection/vendor/calcite-components/PJPFKU6T.js +0 -6
  880. package/dist/collection/vendor/calcite-components/PJT7DMRY.js +0 -6
  881. package/dist/collection/vendor/calcite-components/QDTRI7C7.js +0 -6
  882. package/dist/collection/vendor/calcite-components/QIG2J5PE.js +0 -6
  883. package/dist/collection/vendor/calcite-components/QO6KDHE7.js +0 -6
  884. package/dist/collection/vendor/calcite-components/QP3WP6XK.js +0 -6
  885. package/dist/collection/vendor/calcite-components/QRMUPTEN.js +0 -6
  886. package/dist/collection/vendor/calcite-components/QS2H5WWV.js +0 -7
  887. package/dist/collection/vendor/calcite-components/QSXIXUQG.js +0 -6
  888. package/dist/collection/vendor/calcite-components/R4UWD64I.js +0 -6
  889. package/dist/collection/vendor/calcite-components/R6R2QDCZ.js +0 -6
  890. package/dist/collection/vendor/calcite-components/R7BOWUQR.js +0 -6
  891. package/dist/collection/vendor/calcite-components/RBX4II3R.js +0 -6
  892. package/dist/collection/vendor/calcite-components/RGXKBYDS.js +0 -6
  893. package/dist/collection/vendor/calcite-components/RIG4ZWVJ.js +0 -6
  894. package/dist/collection/vendor/calcite-components/RM7DO3WC.js +0 -6
  895. package/dist/collection/vendor/calcite-components/RM7JYDOG.js +0 -6
  896. package/dist/collection/vendor/calcite-components/RS3QB5Z6.js +0 -6
  897. package/dist/collection/vendor/calcite-components/RTNOQY3F.js +0 -6
  898. package/dist/collection/vendor/calcite-components/RXFQEBLZ.js +0 -6
  899. package/dist/collection/vendor/calcite-components/S72C3HDO.js +0 -6
  900. package/dist/collection/vendor/calcite-components/SCVHHYPP.js +0 -6
  901. package/dist/collection/vendor/calcite-components/SH3ZYF5Y.js +0 -6
  902. package/dist/collection/vendor/calcite-components/SLRX7WEV.js +0 -6
  903. package/dist/collection/vendor/calcite-components/SQBCUXGV.js +0 -6
  904. package/dist/collection/vendor/calcite-components/SUMUVN3S.js +0 -6
  905. package/dist/collection/vendor/calcite-components/SUOP4NP6.js +0 -6
  906. package/dist/collection/vendor/calcite-components/SV2NJMD7.js +0 -6
  907. package/dist/collection/vendor/calcite-components/T5H4BCFU.js +0 -6
  908. package/dist/collection/vendor/calcite-components/T5XJU6AI.js +0 -24
  909. package/dist/collection/vendor/calcite-components/T6NZYTYO.js +0 -6
  910. package/dist/collection/vendor/calcite-components/TEFAP3AK.js +0 -6
  911. package/dist/collection/vendor/calcite-components/TEGL7RHQ.js +0 -6
  912. package/dist/collection/vendor/calcite-components/TGH5IJQY.js +0 -6
  913. package/dist/collection/vendor/calcite-components/TGYJTTJS.js +0 -6
  914. package/dist/collection/vendor/calcite-components/TITRCHWJ.js +0 -6
  915. package/dist/collection/vendor/calcite-components/TRYKNJDA.js +0 -6
  916. package/dist/collection/vendor/calcite-components/TYYR7NIL.js +0 -8
  917. package/dist/collection/vendor/calcite-components/TZEZTECF.js +0 -6
  918. package/dist/collection/vendor/calcite-components/U2E5SVFR.js +0 -6
  919. package/dist/collection/vendor/calcite-components/U5VSHGIS.js +0 -6
  920. package/dist/collection/vendor/calcite-components/U64XMC5X.js +0 -6
  921. package/dist/collection/vendor/calcite-components/UK4SFYVV.js +0 -6
  922. package/dist/collection/vendor/calcite-components/UKF62PNM.js +0 -6
  923. package/dist/collection/vendor/calcite-components/UOL6J47W.js +0 -6
  924. package/dist/collection/vendor/calcite-components/UV7H22PE.js +0 -6
  925. package/dist/collection/vendor/calcite-components/UXOOSEIU.js +0 -6
  926. package/dist/collection/vendor/calcite-components/UXZ36VC5.js +0 -6
  927. package/dist/collection/vendor/calcite-components/UY67UAZN.js +0 -6
  928. package/dist/collection/vendor/calcite-components/VFBARPZ3.js +0 -6
  929. package/dist/collection/vendor/calcite-components/VGYCDODV.js +0 -6
  930. package/dist/collection/vendor/calcite-components/VHXHAFDO.js +0 -6
  931. package/dist/collection/vendor/calcite-components/VN2EAAQF.js +0 -6
  932. package/dist/collection/vendor/calcite-components/VOECRNMH.js +0 -6
  933. package/dist/collection/vendor/calcite-components/VQRNTTAX.js +0 -6
  934. package/dist/collection/vendor/calcite-components/VVXJONZL.js +0 -6
  935. package/dist/collection/vendor/calcite-components/W5CGAHOI.js +0 -6
  936. package/dist/collection/vendor/calcite-components/WA7LZURK.js +0 -6
  937. package/dist/collection/vendor/calcite-components/WAAS66H6.js +0 -6
  938. package/dist/collection/vendor/calcite-components/WAE55O4U.js +0 -6
  939. package/dist/collection/vendor/calcite-components/WAXI7XKE.js +0 -6
  940. package/dist/collection/vendor/calcite-components/WEFAANMG.js +0 -6
  941. package/dist/collection/vendor/calcite-components/WH772PDM.js +0 -6
  942. package/dist/collection/vendor/calcite-components/X43KWDQ7.js +0 -6
  943. package/dist/collection/vendor/calcite-components/X5W76SNV.js +0 -6
  944. package/dist/collection/vendor/calcite-components/X6IC7EBC.js +0 -6
  945. package/dist/collection/vendor/calcite-components/XBYWX3OD.js +0 -6
  946. package/dist/collection/vendor/calcite-components/XIJN5ZXM.js +0 -6
  947. package/dist/collection/vendor/calcite-components/XKQ2CMVV.js +0 -6
  948. package/dist/collection/vendor/calcite-components/YBQG5R2L.js +0 -6
  949. package/dist/collection/vendor/calcite-components/YHWNAASP.js +0 -6
  950. package/dist/collection/vendor/calcite-components/YMNUCKVA.js +0 -6
  951. package/dist/collection/vendor/calcite-components/YMR2Q5CU.js +0 -6
  952. package/dist/collection/vendor/calcite-components/YNGSTQ4R.js +0 -6
  953. package/dist/collection/vendor/calcite-components/YP2D5DKM.js +0 -6
  954. package/dist/collection/vendor/calcite-components/YPRJFE6R.js +0 -6
  955. package/dist/collection/vendor/calcite-components/YVIEKCN2.js +0 -6
  956. package/dist/collection/vendor/calcite-components/YWM7TWVP.js +0 -6
  957. package/dist/collection/vendor/calcite-components/YZ3FOSUR.js +0 -6
  958. package/dist/collection/vendor/calcite-components/YZG67JHT.js +0 -6
  959. package/dist/collection/vendor/calcite-components/ZBSXA5F6.js +0 -6
  960. package/dist/collection/vendor/calcite-components/ZFAXCWF5.js +0 -6
  961. package/dist/collection/vendor/calcite-components/ZFKXMQJP.js +0 -6
  962. package/dist/collection/vendor/calcite-components/ZK7O524P.js +0 -6
  963. package/dist/collection/vendor/calcite-components/ZKNKPGVW.js +0 -6
  964. package/dist/collection/vendor/calcite-components/ZLFRGGT3.js +0 -6
  965. package/dist/esm/downloadUtils-1179f077.js +0 -3217
  966. package/dist/esm/helpers-bd1ff401.js +0 -841
  967. package/dist/esm/index-c247b62b.js +0 -199
  968. package/dist/esm/index-df5db8e9.js +0 -1795
  969. package/dist/esm/locale-4744c8a4.js +0 -938
  970. package/dist/esm/locale-7874c756.js +0 -155
  971. package/dist/esm/popupUtils-cfe51dfd.js +0 -119
  972. package/dist/esm/publicNotificationStore-9ec5e22a.js +0 -45
  973. package/dist/esm/solution-store-4c39c654.js +0 -1103
  974. package/dist/esm/utils-04fffcaf.js +0 -142
  975. package/dist/solutions-components/p-1d1d7e63.entry.js +0 -6
  976. package/dist/solutions-components/p-28858c2f.entry.js +0 -6
  977. package/dist/solutions-components/p-2a16aa29.entry.js +0 -6
  978. package/dist/solutions-components/p-30ea587b.entry.js +0 -6
  979. package/dist/solutions-components/p-318f5c87.entry.js +0 -6
  980. package/dist/solutions-components/p-3335285a.js +0 -21
  981. package/dist/solutions-components/p-33d03eb9.entry.js +0 -6
  982. package/dist/solutions-components/p-34b50565.entry.js +0 -6
  983. package/dist/solutions-components/p-37ae171f.entry.js +0 -6
  984. package/dist/solutions-components/p-37fe59a0.entry.js +0 -6
  985. package/dist/solutions-components/p-38814554.entry.js +0 -6
  986. package/dist/solutions-components/p-3f14b242.entry.js +0 -6
  987. package/dist/solutions-components/p-3f83917b.entry.js +0 -6
  988. package/dist/solutions-components/p-404cbf48.js +0 -36
  989. package/dist/solutions-components/p-4b98adf3.entry.js +0 -6
  990. package/dist/solutions-components/p-5093ae54.entry.js +0 -11
  991. package/dist/solutions-components/p-552fb1c0.entry.js +0 -6
  992. package/dist/solutions-components/p-6369b974.entry.js +0 -6
  993. package/dist/solutions-components/p-648b5a9e.js +0 -6
  994. package/dist/solutions-components/p-64a6162f.entry.js +0 -6
  995. package/dist/solutions-components/p-64f814dd.entry.js +0 -6
  996. package/dist/solutions-components/p-6f4e5c19.entry.js +0 -6
  997. package/dist/solutions-components/p-7dc7d3dc.entry.js +0 -6
  998. package/dist/solutions-components/p-7dc95675.js +0 -6
  999. package/dist/solutions-components/p-83ba1288.entry.js +0 -6
  1000. package/dist/solutions-components/p-8585c128.entry.js +0 -6
  1001. package/dist/solutions-components/p-8717729a.js +0 -6
  1002. package/dist/solutions-components/p-8d281f47.js +0 -488
  1003. package/dist/solutions-components/p-95d1c104.entry.js +0 -6
  1004. package/dist/solutions-components/p-97f33e9f.js +0 -6
  1005. package/dist/solutions-components/p-980d9473.entry.js +0 -6
  1006. package/dist/solutions-components/p-9e3a40bc.entry.js +0 -6
  1007. package/dist/solutions-components/p-b536e583.entry.js +0 -21
  1008. package/dist/solutions-components/p-bc8d8128.entry.js +0 -6
  1009. package/dist/solutions-components/p-be16bc80.entry.js +0 -6
  1010. package/dist/solutions-components/p-c2e57b81.entry.js +0 -6
  1011. package/dist/solutions-components/p-c50ff9f1.entry.js +0 -6
  1012. package/dist/solutions-components/p-c9686e6c.entry.js +0 -6
  1013. package/dist/solutions-components/p-d099573a.entry.js +0 -6
  1014. package/dist/solutions-components/p-d1551601.entry.js +0 -6
  1015. package/dist/solutions-components/p-d324196d.entry.js +0 -6
  1016. package/dist/solutions-components/p-d59fb1a7.entry.js +0 -6
  1017. package/dist/solutions-components/p-da1e098c.js +0 -129
  1018. package/dist/solutions-components/p-dafc6680.entry.js +0 -6
  1019. package/dist/solutions-components/p-dc704bc6.entry.js +0 -6
  1020. package/dist/solutions-components/p-e3e35c14.entry.js +0 -6
  1021. package/dist/solutions-components/p-e43c8944.entry.js +0 -21
  1022. package/dist/solutions-components/p-e5cb329f.entry.js +0 -6
  1023. package/dist/solutions-components/p-e6859850.js +0 -21
  1024. package/dist/solutions-components/p-e996c38f.js +0 -7
  1025. package/dist/solutions-components/p-ea09b078.entry.js +0 -6
  1026. package/dist/solutions-components/p-ed443a0b.entry.js +0 -6
  1027. package/dist/solutions-components/p-ee3bb943.entry.js +0 -6
  1028. package/dist/solutions-components/p-f0b1b6f6.entry.js +0 -6
  1029. package/dist/solutions-components/p-f9deadd7.entry.js +0 -6
  1030. package/dist/solutions-components/p-fe9b2c74.entry.js +0 -6
  1031. package/dist/solutions-components/p-ffe1e3a3.entry.js +0 -6
  1032. package/dist/solutions-components/vendor/calcite-components/2OHLWTVV.js +0 -6
  1033. package/dist/solutions-components/vendor/calcite-components/2YNPAPXX.js +0 -6
  1034. package/dist/solutions-components/vendor/calcite-components/3MV46GBB.js +0 -6
  1035. package/dist/solutions-components/vendor/calcite-components/3OQ2ZMWE.js +0 -6
  1036. package/dist/solutions-components/vendor/calcite-components/3VYZVKRG.js +0 -6
  1037. package/dist/solutions-components/vendor/calcite-components/3YAQ3WXL.js +0 -6
  1038. package/dist/solutions-components/vendor/calcite-components/3YMYDWGD.js +0 -6
  1039. package/dist/solutions-components/vendor/calcite-components/4BBHRHVO.js +0 -6
  1040. package/dist/solutions-components/vendor/calcite-components/4Y32YCMF.js +0 -6
  1041. package/dist/solutions-components/vendor/calcite-components/52M672S5.js +0 -6
  1042. package/dist/solutions-components/vendor/calcite-components/5DHYCNO3.js +0 -6
  1043. package/dist/solutions-components/vendor/calcite-components/5MCURGUM.js +0 -6
  1044. package/dist/solutions-components/vendor/calcite-components/5O6ZNC7G.js +0 -6
  1045. package/dist/solutions-components/vendor/calcite-components/5RROROO5.js +0 -6
  1046. package/dist/solutions-components/vendor/calcite-components/5WC57GPQ.js +0 -6
  1047. package/dist/solutions-components/vendor/calcite-components/5WSY45L7.js +0 -6
  1048. package/dist/solutions-components/vendor/calcite-components/5XKYFEBC.js +0 -6
  1049. package/dist/solutions-components/vendor/calcite-components/66KPC4YV.js +0 -6
  1050. package/dist/solutions-components/vendor/calcite-components/67MILQAM.js +0 -6
  1051. package/dist/solutions-components/vendor/calcite-components/67YJME3J.js +0 -7
  1052. package/dist/solutions-components/vendor/calcite-components/6BG6DXGU.js +0 -6
  1053. package/dist/solutions-components/vendor/calcite-components/6J7J7RFI.js +0 -6
  1054. package/dist/solutions-components/vendor/calcite-components/6KJHPKLM.js +0 -6
  1055. package/dist/solutions-components/vendor/calcite-components/6LBWQVLS.js +0 -6
  1056. package/dist/solutions-components/vendor/calcite-components/6LOB5NKS.js +0 -6
  1057. package/dist/solutions-components/vendor/calcite-components/74AHNYT6.js +0 -6
  1058. package/dist/solutions-components/vendor/calcite-components/75LS6AUK.js +0 -6
  1059. package/dist/solutions-components/vendor/calcite-components/7AC4OZRT.js +0 -6
  1060. package/dist/solutions-components/vendor/calcite-components/7CTQOYNN.js +0 -6
  1061. package/dist/solutions-components/vendor/calcite-components/7IMTQM3A.js +0 -6
  1062. package/dist/solutions-components/vendor/calcite-components/7NNFVP5Y.js +0 -6
  1063. package/dist/solutions-components/vendor/calcite-components/7PLH76D5.js +0 -6
  1064. package/dist/solutions-components/vendor/calcite-components/7SRUH72U.js +0 -6
  1065. package/dist/solutions-components/vendor/calcite-components/7WIMMB52.js +0 -6
  1066. package/dist/solutions-components/vendor/calcite-components/A3TZO3T4.js +0 -6
  1067. package/dist/solutions-components/vendor/calcite-components/A4JSLISH.js +0 -7
  1068. package/dist/solutions-components/vendor/calcite-components/A77L2PAE.js +0 -6
  1069. package/dist/solutions-components/vendor/calcite-components/AAJZVCOQ.js +0 -6
  1070. package/dist/solutions-components/vendor/calcite-components/AK7JTREX.js +0 -6
  1071. package/dist/solutions-components/vendor/calcite-components/APJDJGRX.js +0 -6
  1072. package/dist/solutions-components/vendor/calcite-components/B7XAXKYO.js +0 -6
  1073. package/dist/solutions-components/vendor/calcite-components/B7YRQCNE.js +0 -6
  1074. package/dist/solutions-components/vendor/calcite-components/BAAOO7UE.js +0 -6
  1075. package/dist/solutions-components/vendor/calcite-components/BKJX2UVI.js +0 -6
  1076. package/dist/solutions-components/vendor/calcite-components/BMTT77MQ.js +0 -6
  1077. package/dist/solutions-components/vendor/calcite-components/BMULWGQL.js +0 -6
  1078. package/dist/solutions-components/vendor/calcite-components/BOOD43TE.js +0 -6
  1079. package/dist/solutions-components/vendor/calcite-components/BT6BGDUQ.js +0 -6
  1080. package/dist/solutions-components/vendor/calcite-components/C4BI2I6X.js +0 -6
  1081. package/dist/solutions-components/vendor/calcite-components/CARSEP6Y.js +0 -6
  1082. package/dist/solutions-components/vendor/calcite-components/CARUWMRC.js +0 -6
  1083. package/dist/solutions-components/vendor/calcite-components/CGP5NAVZ.js +0 -6
  1084. package/dist/solutions-components/vendor/calcite-components/CHPU2ORW.js +0 -6
  1085. package/dist/solutions-components/vendor/calcite-components/CKCZ6NNQ.js +0 -6
  1086. package/dist/solutions-components/vendor/calcite-components/CLWQ573O.js +0 -6
  1087. package/dist/solutions-components/vendor/calcite-components/COVTDEEB.js +0 -6
  1088. package/dist/solutions-components/vendor/calcite-components/CSDMYGZU.js +0 -6
  1089. package/dist/solutions-components/vendor/calcite-components/CSR5Q44Q.js +0 -6
  1090. package/dist/solutions-components/vendor/calcite-components/CWDZ4NQP.js +0 -6
  1091. package/dist/solutions-components/vendor/calcite-components/D7V3NS2J.js +0 -6
  1092. package/dist/solutions-components/vendor/calcite-components/DHITRFFR.js +0 -6
  1093. package/dist/solutions-components/vendor/calcite-components/DL6GCZF7.js +0 -6
  1094. package/dist/solutions-components/vendor/calcite-components/DPLQUB7Z.js +0 -6
  1095. package/dist/solutions-components/vendor/calcite-components/DQWJPC22.js +0 -6
  1096. package/dist/solutions-components/vendor/calcite-components/DRM7BNH3.js +0 -6
  1097. package/dist/solutions-components/vendor/calcite-components/DWIP44NC.js +0 -6
  1098. package/dist/solutions-components/vendor/calcite-components/E3RER5S3.js +0 -6
  1099. package/dist/solutions-components/vendor/calcite-components/ECWNOIEW.js +0 -6
  1100. package/dist/solutions-components/vendor/calcite-components/EPKORG4B.js +0 -6
  1101. package/dist/solutions-components/vendor/calcite-components/ERE76CER.js +0 -6
  1102. package/dist/solutions-components/vendor/calcite-components/EU5GIDX7.js +0 -6
  1103. package/dist/solutions-components/vendor/calcite-components/FB6NATRQ.js +0 -6
  1104. package/dist/solutions-components/vendor/calcite-components/FHAIE7PW.js +0 -6
  1105. package/dist/solutions-components/vendor/calcite-components/FITCS5RA.js +0 -6
  1106. package/dist/solutions-components/vendor/calcite-components/FJUGYL5W.js +0 -6
  1107. package/dist/solutions-components/vendor/calcite-components/FP5CKCOM.js +0 -6
  1108. package/dist/solutions-components/vendor/calcite-components/FQ6G6HKC.js +0 -6
  1109. package/dist/solutions-components/vendor/calcite-components/FQTOWUOI.js +0 -6
  1110. package/dist/solutions-components/vendor/calcite-components/FSBJYIK7.js +0 -6
  1111. package/dist/solutions-components/vendor/calcite-components/FUR5QRYV.js +0 -6
  1112. package/dist/solutions-components/vendor/calcite-components/FV5F4TOB.js +0 -30
  1113. package/dist/solutions-components/vendor/calcite-components/GHRW2Z4J.js +0 -6
  1114. package/dist/solutions-components/vendor/calcite-components/GKLGNYAX.js +0 -6
  1115. package/dist/solutions-components/vendor/calcite-components/GRGOLBJ6.js +0 -6
  1116. package/dist/solutions-components/vendor/calcite-components/H2QNORW6.js +0 -6
  1117. package/dist/solutions-components/vendor/calcite-components/H6JENZS2.js +0 -6
  1118. package/dist/solutions-components/vendor/calcite-components/HE6ZJBOG.js +0 -6
  1119. package/dist/solutions-components/vendor/calcite-components/HEYQRNVV.js +0 -6
  1120. package/dist/solutions-components/vendor/calcite-components/HJ7LTJIL.js +0 -6
  1121. package/dist/solutions-components/vendor/calcite-components/HUXUCABV.js +0 -6
  1122. package/dist/solutions-components/vendor/calcite-components/HVG3FNW6.js +0 -6
  1123. package/dist/solutions-components/vendor/calcite-components/I5RDDH5E.js +0 -6
  1124. package/dist/solutions-components/vendor/calcite-components/IGLINVEB.js +0 -6
  1125. package/dist/solutions-components/vendor/calcite-components/IH6XHUKC.js +0 -6
  1126. package/dist/solutions-components/vendor/calcite-components/IN4OTIGO.js +0 -6
  1127. package/dist/solutions-components/vendor/calcite-components/IOQ5NGFA.js +0 -6
  1128. package/dist/solutions-components/vendor/calcite-components/ITIJ42U7.js +0 -6
  1129. package/dist/solutions-components/vendor/calcite-components/ITILALYC.js +0 -6
  1130. package/dist/solutions-components/vendor/calcite-components/J3NSY2Y7.js +0 -6
  1131. package/dist/solutions-components/vendor/calcite-components/J4RAJYKF.js +0 -6
  1132. package/dist/solutions-components/vendor/calcite-components/J6IGXQYQ.js +0 -6
  1133. package/dist/solutions-components/vendor/calcite-components/JA2ML5I6.js +0 -6
  1134. package/dist/solutions-components/vendor/calcite-components/JOTIQZAS.js +0 -6
  1135. package/dist/solutions-components/vendor/calcite-components/JULIKI65.js +0 -6
  1136. package/dist/solutions-components/vendor/calcite-components/JW6QBCWN.js +0 -6
  1137. package/dist/solutions-components/vendor/calcite-components/JWIQZFGO.js +0 -6
  1138. package/dist/solutions-components/vendor/calcite-components/K4HQ6WGE.js +0 -6
  1139. package/dist/solutions-components/vendor/calcite-components/K4OPLD7F.js +0 -6
  1140. package/dist/solutions-components/vendor/calcite-components/KHULIKKP.js +0 -7
  1141. package/dist/solutions-components/vendor/calcite-components/KRZMNBJS.js +0 -6
  1142. package/dist/solutions-components/vendor/calcite-components/LDAXCWWP.js +0 -6
  1143. package/dist/solutions-components/vendor/calcite-components/LMRFYM2J.js +0 -6
  1144. package/dist/solutions-components/vendor/calcite-components/LSUXEOMN.js +0 -6
  1145. package/dist/solutions-components/vendor/calcite-components/M5BOCCQL.js +0 -6
  1146. package/dist/solutions-components/vendor/calcite-components/M5XI6NNV.js +0 -6
  1147. package/dist/solutions-components/vendor/calcite-components/M7MOBM7M.js +0 -6
  1148. package/dist/solutions-components/vendor/calcite-components/MA2YIQZL.js +0 -6
  1149. package/dist/solutions-components/vendor/calcite-components/MBJAGWVS.js +0 -6
  1150. package/dist/solutions-components/vendor/calcite-components/MI3BWAKN.js +0 -6
  1151. package/dist/solutions-components/vendor/calcite-components/MOO4BCRV.js +0 -6
  1152. package/dist/solutions-components/vendor/calcite-components/MVHJMI6L.js +0 -6
  1153. package/dist/solutions-components/vendor/calcite-components/MZRLL3GR.js +0 -6
  1154. package/dist/solutions-components/vendor/calcite-components/N2FZGLE3.js +0 -6
  1155. package/dist/solutions-components/vendor/calcite-components/N2UM5A2L.js +0 -6
  1156. package/dist/solutions-components/vendor/calcite-components/NNL2N4OB.js +0 -6
  1157. package/dist/solutions-components/vendor/calcite-components/NP3SY2AL.js +0 -6
  1158. package/dist/solutions-components/vendor/calcite-components/NPYZ3JS7.js +0 -6
  1159. package/dist/solutions-components/vendor/calcite-components/NS47CSEP.js +0 -6
  1160. package/dist/solutions-components/vendor/calcite-components/NSL6XZ2B.js +0 -6
  1161. package/dist/solutions-components/vendor/calcite-components/NW4BVBVD.js +0 -6
  1162. package/dist/solutions-components/vendor/calcite-components/O66NAEPJ.js +0 -6
  1163. package/dist/solutions-components/vendor/calcite-components/OA55VNGP.js +0 -6
  1164. package/dist/solutions-components/vendor/calcite-components/OHEBCS4O.js +0 -6
  1165. package/dist/solutions-components/vendor/calcite-components/OI755RA3.js +0 -6
  1166. package/dist/solutions-components/vendor/calcite-components/OUC47AKY.js +0 -6
  1167. package/dist/solutions-components/vendor/calcite-components/PIOS7EUM.js +0 -6
  1168. package/dist/solutions-components/vendor/calcite-components/PJPFKU6T.js +0 -6
  1169. package/dist/solutions-components/vendor/calcite-components/PJT7DMRY.js +0 -6
  1170. package/dist/solutions-components/vendor/calcite-components/QDTRI7C7.js +0 -6
  1171. package/dist/solutions-components/vendor/calcite-components/QIG2J5PE.js +0 -6
  1172. package/dist/solutions-components/vendor/calcite-components/QO6KDHE7.js +0 -6
  1173. package/dist/solutions-components/vendor/calcite-components/QP3WP6XK.js +0 -6
  1174. package/dist/solutions-components/vendor/calcite-components/QRMUPTEN.js +0 -6
  1175. package/dist/solutions-components/vendor/calcite-components/QS2H5WWV.js +0 -7
  1176. package/dist/solutions-components/vendor/calcite-components/QSXIXUQG.js +0 -6
  1177. package/dist/solutions-components/vendor/calcite-components/R4UWD64I.js +0 -6
  1178. package/dist/solutions-components/vendor/calcite-components/R6R2QDCZ.js +0 -6
  1179. package/dist/solutions-components/vendor/calcite-components/R7BOWUQR.js +0 -6
  1180. package/dist/solutions-components/vendor/calcite-components/RBX4II3R.js +0 -6
  1181. package/dist/solutions-components/vendor/calcite-components/RGXKBYDS.js +0 -6
  1182. package/dist/solutions-components/vendor/calcite-components/RIG4ZWVJ.js +0 -6
  1183. package/dist/solutions-components/vendor/calcite-components/RM7DO3WC.js +0 -6
  1184. package/dist/solutions-components/vendor/calcite-components/RM7JYDOG.js +0 -6
  1185. package/dist/solutions-components/vendor/calcite-components/RS3QB5Z6.js +0 -6
  1186. package/dist/solutions-components/vendor/calcite-components/RTNOQY3F.js +0 -6
  1187. package/dist/solutions-components/vendor/calcite-components/RXFQEBLZ.js +0 -6
  1188. package/dist/solutions-components/vendor/calcite-components/S72C3HDO.js +0 -6
  1189. package/dist/solutions-components/vendor/calcite-components/SCVHHYPP.js +0 -6
  1190. package/dist/solutions-components/vendor/calcite-components/SH3ZYF5Y.js +0 -6
  1191. package/dist/solutions-components/vendor/calcite-components/SLRX7WEV.js +0 -6
  1192. package/dist/solutions-components/vendor/calcite-components/SQBCUXGV.js +0 -6
  1193. package/dist/solutions-components/vendor/calcite-components/SUMUVN3S.js +0 -6
  1194. package/dist/solutions-components/vendor/calcite-components/SUOP4NP6.js +0 -6
  1195. package/dist/solutions-components/vendor/calcite-components/SV2NJMD7.js +0 -6
  1196. package/dist/solutions-components/vendor/calcite-components/T5H4BCFU.js +0 -6
  1197. package/dist/solutions-components/vendor/calcite-components/T5XJU6AI.js +0 -24
  1198. package/dist/solutions-components/vendor/calcite-components/T6NZYTYO.js +0 -6
  1199. package/dist/solutions-components/vendor/calcite-components/TEFAP3AK.js +0 -6
  1200. package/dist/solutions-components/vendor/calcite-components/TEGL7RHQ.js +0 -6
  1201. package/dist/solutions-components/vendor/calcite-components/TGH5IJQY.js +0 -6
  1202. package/dist/solutions-components/vendor/calcite-components/TGYJTTJS.js +0 -6
  1203. package/dist/solutions-components/vendor/calcite-components/TITRCHWJ.js +0 -6
  1204. package/dist/solutions-components/vendor/calcite-components/TRYKNJDA.js +0 -6
  1205. package/dist/solutions-components/vendor/calcite-components/TYYR7NIL.js +0 -8
  1206. package/dist/solutions-components/vendor/calcite-components/TZEZTECF.js +0 -6
  1207. package/dist/solutions-components/vendor/calcite-components/U2E5SVFR.js +0 -6
  1208. package/dist/solutions-components/vendor/calcite-components/U5VSHGIS.js +0 -6
  1209. package/dist/solutions-components/vendor/calcite-components/U64XMC5X.js +0 -6
  1210. package/dist/solutions-components/vendor/calcite-components/UK4SFYVV.js +0 -6
  1211. package/dist/solutions-components/vendor/calcite-components/UKF62PNM.js +0 -6
  1212. package/dist/solutions-components/vendor/calcite-components/UOL6J47W.js +0 -6
  1213. package/dist/solutions-components/vendor/calcite-components/UV7H22PE.js +0 -6
  1214. package/dist/solutions-components/vendor/calcite-components/UXOOSEIU.js +0 -6
  1215. package/dist/solutions-components/vendor/calcite-components/UXZ36VC5.js +0 -6
  1216. package/dist/solutions-components/vendor/calcite-components/UY67UAZN.js +0 -6
  1217. package/dist/solutions-components/vendor/calcite-components/VFBARPZ3.js +0 -6
  1218. package/dist/solutions-components/vendor/calcite-components/VGYCDODV.js +0 -6
  1219. package/dist/solutions-components/vendor/calcite-components/VHXHAFDO.js +0 -6
  1220. package/dist/solutions-components/vendor/calcite-components/VN2EAAQF.js +0 -6
  1221. package/dist/solutions-components/vendor/calcite-components/VOECRNMH.js +0 -6
  1222. package/dist/solutions-components/vendor/calcite-components/VQRNTTAX.js +0 -6
  1223. package/dist/solutions-components/vendor/calcite-components/VVXJONZL.js +0 -6
  1224. package/dist/solutions-components/vendor/calcite-components/W5CGAHOI.js +0 -6
  1225. package/dist/solutions-components/vendor/calcite-components/WA7LZURK.js +0 -6
  1226. package/dist/solutions-components/vendor/calcite-components/WAAS66H6.js +0 -6
  1227. package/dist/solutions-components/vendor/calcite-components/WAE55O4U.js +0 -6
  1228. package/dist/solutions-components/vendor/calcite-components/WAXI7XKE.js +0 -6
  1229. package/dist/solutions-components/vendor/calcite-components/WEFAANMG.js +0 -6
  1230. package/dist/solutions-components/vendor/calcite-components/WH772PDM.js +0 -6
  1231. package/dist/solutions-components/vendor/calcite-components/X43KWDQ7.js +0 -6
  1232. package/dist/solutions-components/vendor/calcite-components/X5W76SNV.js +0 -6
  1233. package/dist/solutions-components/vendor/calcite-components/X6IC7EBC.js +0 -6
  1234. package/dist/solutions-components/vendor/calcite-components/XBYWX3OD.js +0 -6
  1235. package/dist/solutions-components/vendor/calcite-components/XIJN5ZXM.js +0 -6
  1236. package/dist/solutions-components/vendor/calcite-components/XKQ2CMVV.js +0 -6
  1237. package/dist/solutions-components/vendor/calcite-components/YBQG5R2L.js +0 -6
  1238. package/dist/solutions-components/vendor/calcite-components/YHWNAASP.js +0 -6
  1239. package/dist/solutions-components/vendor/calcite-components/YMNUCKVA.js +0 -6
  1240. package/dist/solutions-components/vendor/calcite-components/YMR2Q5CU.js +0 -6
  1241. package/dist/solutions-components/vendor/calcite-components/YNGSTQ4R.js +0 -6
  1242. package/dist/solutions-components/vendor/calcite-components/YP2D5DKM.js +0 -6
  1243. package/dist/solutions-components/vendor/calcite-components/YPRJFE6R.js +0 -6
  1244. package/dist/solutions-components/vendor/calcite-components/YVIEKCN2.js +0 -6
  1245. package/dist/solutions-components/vendor/calcite-components/YWM7TWVP.js +0 -6
  1246. package/dist/solutions-components/vendor/calcite-components/YZ3FOSUR.js +0 -6
  1247. package/dist/solutions-components/vendor/calcite-components/YZG67JHT.js +0 -6
  1248. package/dist/solutions-components/vendor/calcite-components/ZBSXA5F6.js +0 -6
  1249. package/dist/solutions-components/vendor/calcite-components/ZFAXCWF5.js +0 -6
  1250. package/dist/solutions-components/vendor/calcite-components/ZFKXMQJP.js +0 -6
  1251. package/dist/solutions-components/vendor/calcite-components/ZK7O524P.js +0 -6
  1252. package/dist/solutions-components/vendor/calcite-components/ZKNKPGVW.js +0 -6
  1253. package/dist/solutions-components/vendor/calcite-components/ZLFRGGT3.js +0 -6
@@ -1,142 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { b as getLocaleComponentStrings } from './locale-4744c8a4.js';
7
- import { c as createStore } from './index-c247b62b.js';
8
-
9
- var EInputType;
10
- (function (EInputType) {
11
- EInputType["User"] = "user";
12
- EInputType["Translation"] = "translation";
13
- })(EInputType || (EInputType = {}));
14
- var ESettingType;
15
- (function (ESettingType) {
16
- ESettingType["String"] = "string";
17
- ESettingType["TextEditor"] = "textEditor";
18
- })(ESettingType || (ESettingType = {}));
19
- var EIcons;
20
- (function (EIcons) {
21
- EIcons["ExpandCollapse"] = "list-merge";
22
- EIcons["SettingIndicator"] = "list-button";
23
- EIcons["Popover"] = "information";
24
- EIcons["Expanded"] = "chevron-down";
25
- EIcons["Collapsed"] = "chevron-right";
26
- EIcons["Copy"] = "copy-to-clipboard";
27
- EIcons["Breadcrumb"] = "chevron-right";
28
- EIcons["DefaultIcon"] = "language";
29
- EIcons["Title"] = "title";
30
- EIcons["Subtitle"] = "subheading";
31
- EIcons["Text"] = "text";
32
- EIcons["Description"] = "description";
33
- EIcons["Button"] = "button";
34
- EIcons["String"] = "string";
35
- })(EIcons || (EIcons = {}));
36
- var ECalciteMode;
37
- (function (ECalciteMode) {
38
- ECalciteMode["Light"] = "calcite-mode-light";
39
- ECalciteMode["Dark"] = "calcite-mode-dark";
40
- })(ECalciteMode || (ECalciteMode = {}));
41
-
42
- const CKEditorStyles = `
43
- .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
44
- margin-left: 30px !important;
45
- }
46
- `;
47
-
48
- const LanguageTranslatorStore = createStore({
49
- uiData: null,
50
- currentLanguage: null,
51
- lastSave: null,
52
- saving: false,
53
- currentLocaleSettingItem: null,
54
- portalItemResource: null,
55
- portalItemResourceT9n: null,
56
- });
57
- const languageTranslatorState = LanguageTranslatorStore.state;
58
- const store = LanguageTranslatorStore;
59
-
60
- function generateUIData(appSettings, locales) {
61
- var _a;
62
- if (!appSettings)
63
- return;
64
- const existingUIData = store.get('uiData');
65
- const uiData = new Map();
66
- uiData.set('locales', locales);
67
- uiData.set('translatedLanguageLabels', Object.assign({}, appSettings.translatedLanguageLabels));
68
- appSettings.content.forEach(contentItem => {
69
- var _a, _b;
70
- const { type, label, value, uiLocation } = contentItem;
71
- const setting = existingUIData === null || existingUIData === void 0 ? void 0 : existingUIData.get(contentItem.id);
72
- uiData.set(contentItem.id, {
73
- userLocaleData: {
74
- type: type !== null && type !== void 0 ? type : null,
75
- label: label !== null && label !== void 0 ? label : null,
76
- value: value !== null && value !== void 0 ? value : null,
77
- },
78
- expanded: true,
79
- selected: (_a = setting === null || setting === void 0 ? void 0 : setting['selected']) !== null && _a !== void 0 ? _a : false,
80
- uiLocation,
81
- tip: (_b = contentItem === null || contentItem === void 0 ? void 0 : contentItem.tip) !== null && _b !== void 0 ? _b : null,
82
- });
83
- });
84
- const settingKeys = appSettings.content.map(contentItem => contentItem.id);
85
- const noneSelected = settingKeys.every((key) => {
86
- const setting = uiData.get(key);
87
- return !setting.selected;
88
- });
89
- const setting = uiData.get(settingKeys[0]);
90
- if (noneSelected && setting) {
91
- const existingData = existingUIData === null || existingUIData === void 0 ? void 0 : existingUIData.get(settingKeys[0]);
92
- setting.selected = (_a = existingData === null || existingData === void 0 ? void 0 : existingData['selected']) !== null && _a !== void 0 ? _a : true;
93
- }
94
- return uiData;
95
- }
96
- async function getMessages(el) {
97
- const messages = await getLocaleComponentStrings(el);
98
- return messages[0];
99
- }
100
- function getUIDataKeys() {
101
- var _a;
102
- const settingKeys = [];
103
- (_a = languageTranslatorState.uiData) === null || _a === void 0 ? void 0 : _a.forEach((_value, key) => {
104
- if (key !== 'locales' && key !== 'translatedLanguageLabels') {
105
- settingKeys.push(key);
106
- }
107
- });
108
- return settingKeys;
109
- }
110
- function getT9nData(locale, data) {
111
- const portalItemResourceT9n = store.get('portalItemResourceT9n');
112
- let dataToWrite;
113
- if (!(portalItemResourceT9n === null || portalItemResourceT9n === void 0 ? void 0 : portalItemResourceT9n[locale])) {
114
- portalItemResourceT9n[locale] = {};
115
- }
116
- dataToWrite = Object.assign(Object.assign({}, portalItemResourceT9n), { [locale]: Object.assign(Object.assign({}, portalItemResourceT9n[locale]), data) });
117
- return dataToWrite;
118
- }
119
- function getLocales(localeItems) {
120
- var _a;
121
- return (_a = localeItems === null || localeItems === void 0 ? void 0 : localeItems.map(localeItem => localeItem.locale)) !== null && _a !== void 0 ? _a : [];
122
- }
123
- function isCalciteModeDark() {
124
- return document.body.classList.contains(ECalciteMode.Dark);
125
- }
126
- function initExternalCKEditorStyles() {
127
- const style = document.createElement('style');
128
- style.innerHTML = CKEditorStyles;
129
- document.head.appendChild(style);
130
- }
131
- async function updateLastSave(resource) {
132
- const data = store.get('portalItemResourceT9n');
133
- const lastSave = Date.now();
134
- store.set('lastSave', lastSave);
135
- const dataStr = JSON.stringify(Object.assign(Object.assign({}, data), { lastSave }));
136
- const blobParts = [dataStr];
137
- const options = { type: 'application/json' };
138
- const blob = new Blob(blobParts, options);
139
- resource.update(blob);
140
- }
141
-
142
- export { EIcons as E, generateUIData as a, getLocales as b, getUIDataKeys as c, ESettingType as d, isCalciteModeDark as e, ECalciteMode as f, getMessages as g, EInputType as h, initExternalCKEditorStyles as i, getT9nData as j, languageTranslatorState as l, store as s, updateLastSave as u };
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as t,g as i,h as a,H as s}from"./p-e996c38f.js";import{s as c}from"./p-da1e098c.js";import{g as l}from"./p-404cbf48.js";import{n}from"./p-8850bd21.js";import{C as r,g as o}from"./p-80cb7c73.js";import"./p-8717729a.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-0a24ad5f.js";const h=class{constructor(i){e(this,i),this.solutionItemSelected=t(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}get el(){return i(this)}valueWatchHandler(e,t){e&&e!==t&&Array.isArray(e)&&e.length>0&&this._treeItemSelected(e[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return a(s,{key:"37e448ea1e2f90ba78d409253ac92443309fcb10"},a("calcite-tree",{key:"57eba99bbbabaf2b46817d1faab158b915ecd9a7"},this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(e){return e.map((e=>{const t=this.selectedItemId&&this.selectedItemId===e.id;return e.dependencies&&e.dependencies.length>0?a("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},a("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),a("span",{class:"icon-text",title:e.title},e.title),a("calcite-tree",{slot:"children"},this.renderHierarchy(e.dependencies))):a("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},a("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),a("span",{class:"icon-text",title:e.title},e.title))}))}solutionItemSelected;_treeItemSelected(e,t){const i=t?.target?.closest("calcite-tree-item");i&&(i.expanded=!i?.expanded),this.selectedItemId=e,this.solutionItemSelected.emit(e)}static get assetsDirs(){return["item-type-icons"]}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};h.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const d=class{constructor(t){e(this,t),this.authentication=void 0,this.itemId="",this.locale=void 0,this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}get el(){return i(this)}itemIdWatchHandler(){const e=c.getItemInfo(this.itemId);this.itemType=e.type}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return a(s,{key:"3985a0dbb1f383a629cb5dcbc7be3a3e58ee2c7f"},a("div",{key:"d75f55817d693dea817bfa2c5bdf17179aef115c",class:"configuration-container"},a("div",{key:"3a5ba206e78d1c7db76dd4329296a4c155573de0",class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(e){return a("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.groupDetailsTab),a("calcite-tab-title",null,this._translations.sharingTab)),a("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId,locale:this.locale})),a("calcite-tab",{class:"config-tab",id:"share-tab"},a("solution-item-sharing",{"group-id":this.itemId,locale:this.locale})))}_showItemTabs(e){return a("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.itemDetailsTab),a("calcite-tab-title",null,this._translations.dataTab),a("calcite-tab-title",null,this._translations.propertiesTab),a("calcite-tab-title",null,this._translations.resourcesTab)),a("calcite-tab",{class:"config-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId,locale:this.locale})),a("calcite-tab",{class:"config-tab",id:"data-tab"},a("solution-template-data",{instanceid:"data","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"props-tab"},a("solution-template-data",{instanceid:"properties","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"resources-tab"},a("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId,locale:this.locale})))}async _getTranslations(){const e=await l(this.el);this._translations=e[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};d.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const b="3857",f=class{constructor(i){e(this,i),this.featureServiceSpatialReferenceChange=t(this,"featureServiceSpatialReferenceChange",7),this.enableDefaultSpatialReferenceChange=t(this,"enableDefaultSpatialReferenceChange",7),this.enabledSpatialReferenceChange=t(this,"enabledSpatialReferenceChange",7),this.enabled=!1,this.enableDefault=!1,this.featureServices=[],this.locale=void 0,this._translations=void 0}get el(){return i(this)}enabledChanged(){this._handleSpatialRefParamChange()}enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._updateUIFromStore(),this._getTranslations()}render(){return this._updateUIFromStore(),a(s,{key:"b137587cf67e4f3bd498166c2c482894dd94e66d"},a("label",{key:"728399a596edc07757ec9c34cfe149c8ae65da3f",class:"switch-label"},a("calcite-switch",{key:"bd3310bae9296b86bb0f77474d200c430b974196",checked:this.enabled,class:"spatial-ref-switch",onCalciteSwitchChange:e=>this.enabled=e.target.checked,scale:"m"}),this._translations.enableSpatialReference),a("br",{key:"7f247a248515aff35d96125e1813ca40d1935c07"}),a("div",{key:"a2415c6cbb9cca553544106b24bb7268c4ff5bd2",class:"spatial-ref-component",id:"spatialRefDefn"},this._renderFeatureServicesList(this.featureServices)),a("label",{key:"46fccf4ef6cb409d1a74f62832d7fabd9f88cf44",class:"switch-label spatial-ref-component"},a("calcite-switch",{key:"74e3afca88b1770421be663ec0075ade8faf7a64",checked:this.enableDefault,class:"spatial-ref-switch",disabled:!this.enabled,onCalciteSwitchChange:e=>this.enableDefault=e.target.checked,scale:"m"}),this._translations.enableDefaultSpatialReference))}featureServiceSpatialReferenceChange;enableDefaultSpatialReferenceChange;enabledSpatialReferenceChange;solutionStoreHasChanges(){this.featureServices=c.getStoreInfo("featureServices")}async _testAccess(e,t,i,a){switch(e){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(t));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(t))}return Promise.resolve(null)}_clearFeatureServiceDefaults(e){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((e=>e.checked=!1)),e.forEach((e=>this._updateEnabledServices({detail:{switched:!1}},e)))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?b:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(e){return e?e.toString().startsWith(r)?e:`${r}${e}${o}`:e}_renderFeatureServicesList(e){const t=c.getStoreInfo("spatialReferenceInfo"),i=e.filter((e=>Object.keys(t.services).some((t=>t===e.id))));return i.length>0?a("div",null,a("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),a("ul",{class:"spatial-ref-services-list"},i.map((e=>a("li",{class:"spatial-ref-services-list-item"},a("label",{class:"switch-label"},a("calcite-switch",{checked:t.services[e.id],class:"spatial-ref-item-switch",disabled:!this.enabled,onCalciteSwitchChange:t=>this._updateEnabledServices(t,e),scale:"m"}),e.name)))))):null}_updateEnabledServices(e,t){const i=c.getStoreInfo("spatialReferenceInfo");i.services[t.id]=void 0!==e.detail?.switched?e.detail.switched:void 0===e.target?.checked||e.target.checked,c.setStoreInfo("spatialReferenceInfo",i),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(t)}_unparameterizeWkid(e){return e&&e.toString().startsWith(r)?e.substring(r.length,e.length-o.length):e}_updateFeatureServices(e){e.enabled||Object.keys(e.services).forEach((t=>{e.services[t]=!1})),this.featureServices.forEach((t=>{t.enabled=e.services[t.id],t.wkid=t.enabled?this._parameterizeWkid(t.wkid):this._unparameterizeWkid(t.wkid)})),c.setStoreInfo("featureServices",this.featureServices)}_updateStore(){const e=c.getStoreInfo("spatialReferenceInfo");e.enabled=this.enabled,this.enabled&&this.enableDefault?e.default=b:e.hasOwnProperty("default")&&delete e.default,c.setStoreInfo("spatialReferenceInfo",e),this._updateFeatureServices(e)}_updateUIFromStore(){const e=c.getStoreInfo("spatialReferenceInfo");this.enabled=e.enabled,this.enableDefault=!!e.default,this.featureServices=c.getStoreInfo("featureServices")}async _getTranslations(){const e=await l(this.el);this._translations=e[0]}static get watchers(){return{enabled:["enabledChanged"],enableDefault:["enableDefaultChanged"],locale:["localeWatchHandler"]}}};f.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{font-size:0.875rem;line-height:1.25rem}.spatial-ref-services-list{margin-block-start:0.5em;margin-block-end:0.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:0.25rem}";export{h as solution_contents,d as solution_item,f as solution_spatial_ref}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,f as t,h as i,g as n,c as a}from"./p-e996c38f.js";import{g as s,m as l,s as o,i as c,a as d,z as r,n as p,l as h,o as v,u as g,p as u}from"./p-97f33e9f.js";import{l as m}from"./p-d001e961.js";import{g as f}from"./p-80262cb7.js";import"./p-8717729a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const y=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){var e;this.expanded=!!(null===(e=this.layerCaption)||void 0===e?void 0:e.expanded)}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){return i("div",{key:"ab9a4911afa5f1021f3270c4fec409a708e2ec51",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service esri-legend__group-layer"},i("instant-apps-interactive-legend-layer-element-caption",{key:"bc80abe473c1b47920a78b072033d5b214f7822c",ref:e=>this.layerCaption=e,class:s(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),i("div",{key:"cf6dc1620eb0a95430129b9d414a9f6b893b61c2",class:"esri-legend__group-content "+(!1===this.expanded?"hide":"show")},i("slot",{key:"f346b52020e3cf4e3a072fdfa17a3762676aba53",name:"content"})))}get el(){return n(this)}};y.style=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}";const _=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){var e,t;return i("div",{key:"45305a415db8ba0a08ab69de820ff6b8711e1cee",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service"+(this.activeLayerInfo.parent?" esri-legend__group-layer-child":""),tabIndex:0},i("instant-apps-interactive-legend-layer-element-caption",{key:"7babce8571540883bca9e0ff07c0a152cbb30fbb",ref:e=>this.layerCaption=e,legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:s(this.el)}),i("div",{key:"c021d9c441c407d5fac6f246eb9f4b6ce76bcaa5",id:`${null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer)||void 0===t?void 0:t.id}-legend-layer`,class:"esri-legend__layer"+(!1===this.expanded?" hide":" show")},i("slot",{key:"761834066d924654c87a39601c1670625c88d863",name:"content"})))}get el(){return n(this)}};_.style=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}";const b=class{constructor(t){e(this,t),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText=void 0,this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){var e,t,n,a,s,c,d,r,p;const h=this.isChild?"esri-legend__layer-child-table":"esri-legend__layer-table",v=1===(null===(t=null===(e=this.legendElement)||void 0===e?void 0:e.infos)||void 0===t?void 0:t.length)&&!(null===(s=null===(a=null===(n=this.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===a?void 0:a.renderer)||void 0===s?void 0:s.field),g=!this.isSizeRamp&&this.isChild||this.isColorRamp?"":" esri-legend__layer-table--size-ramp",u=this.isInteractive?"":" instant-apps-interactive-legend__non-interactive",m=l(this.activeLayerInfo)?" instant-apps-interactive-legend__nested-unique-symbol":"";let f=!(!v||this.expanded||this.zoomTo)||this.expanded;return this.isRelationshipRamp&&(f=o.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id]),i("div",{key:"cd76a15dfd77c630708e61535a4d22d66385a4bf",class:`${h}${g}${u}${m}`},i("div",{key:"24eb28f5fa505d1d4471a750b5273b34af2f3428",id:`${null===(d=null===(c=this.activeLayerInfo)||void 0===c?void 0:c.layer)||void 0===d?void 0:d.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&v?"hide":"show"},i("instant-apps-interactive-legend-legend-element-caption",{key:"5ffd04439d1c99251e358afcf077628a780c8e40",ref:e=>this.legendLayerCaption=e,legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),i("div",{key:"content",id:`${null===(p=null===(r=this.activeLayerInfo)||void 0===r?void 0:r.layer)||void 0===p?void 0:p.id}-legend-element-content-${this.legendElementIndex}`,class:!1===f?"hide":"show"},i("slot",{key:"c95e14737a003f85f7c494e6d30d9f946bef464a",name:"content"})))}};var L;b.style=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"}(L||(L={}));const x=class{constructor(t){e(this,t),this.showAllSelectedEvent=a(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=a(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){var e,t,n,a;const s=l(this.activeLayerInfo),c=p(this.activeLayerInfo),{expanded:d}=this,r=o.get("compact"),h=r?" instant-apps-interactive-legend__layer-caption--compact":"";if(s&&!this.titleText)return null;const v=this.titleText&&i("span",{class:"instant-apps-interactive-legend__legend-layer-caption-text",title:this.titleText},this.titleText),g=(this.isInteractive||c)&&this.renderLegendElementCaptionControls();return i("div",{class:`esri-legend__layer-caption${h}`},i("calcite-action",{onClick:this.toggleExpanded(),icon:!1===d?"chevron-up":"chevron-down",appearance:"transparent",text:!1===d?null===(e=this.messages)||void 0===e?void 0:e.expand:null===(t=this.messages)||void 0===t?void 0:t.collapse,label:!1===d?null===(n=this.messages)||void 0===n?void 0:n.expand:null===(a=this.messages)||void 0===a?void 0:a.collapse,scale:"s"}),r?[v,g]:[g,v])}renderLegendElementCaptionControls(){return i("div",{key:"layer-caption-btn-container",class:"instant-apps-interactive-legend__layer-caption-btn-container"+(this.titleText?"":" instant-apps-interactive-legend__layer-caption-btn-container--no-text")},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return o.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){var e,t,n,a,s,l;const{data:o}=c,{id:d}=this.layer||{},r=(null===(t=null===(e=null==o?void 0:o[d])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size)>1,p="zoomToCompact";return[this.zoomTo&&[i("calcite-action",{id:p,class:"instant-apps-interactive-legend__zoom-to-btn",onClick:this.handleZoomTo(),icon:L.ZoomTo,appearance:"transparent",scale:"s",text:null===(n=this.messages)||void 0===n?void 0:n.zoomTo}),i("calcite-tooltip",{"reference-element":p,placement:"top",label:null===(a=this.messages)||void 0===a?void 0:a.zoomTo},null===(s=this.messages)||void 0===s?void 0:s.zoomTo)],r&&i("button",{onClick:this.handleShowAll(),class:"instant-apps-interactive-legend__show-all-btn"},null===(l=this.messages)||void 0===l?void 0:l.showAll)]}renderButtonUI(){var e,t,n,a,s,l,o,d;const{data:r}=c,{id:p}=this.layer||{},h="showAll",v="zoomTo";return[(null===(t=null===(e=null==r?void 0:r[p])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size)>1&&[i("calcite-button",{key:"show-all-button",id:h,label:null===(n=this.messages)||void 0===n?void 0:n.showAll,onClick:this.handleShowAll(),iconStart:L.ShowAll,appearance:"outline",round:!0}),i("calcite-tooltip",{referenceElement:h,placement:"top",label:null===(a=this.messages)||void 0===a?void 0:a.showAll},null===(s=this.messages)||void 0===s?void 0:s.showAll)],this.zoomTo&&[i("calcite-button",{key:"zoom-to-button",id:v,label:null===(l=this.messages)||void 0===l?void 0:l.zoomTo,onClick:this.handleZoomTo(),iconStart:L.ZoomTo,appearance:"outline",round:!0}),i("calcite-tooltip",{"reference-element":v,placement:"top",label:null===(o=this.messages)||void 0===o?void 0:o.zoomTo},null===(d=this.messages)||void 0===d?void 0:d.zoomTo)]]}toggleExpanded(){return()=>{var e,t;this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.legendElements)||void 0===t?void 0:t.filter((e=>"relationship-ramp"===e.type))).length>0&&o.set("relationshipRampExpandStates",Object.assign(Object.assign({},c.relationshipRampExpandStates),{[this.activeLayerInfo.layer.id]:this.expanded}))}}handleZoomTo(){return()=>{const e=h(this.layer),t=d(e,this.legendElement);r(e,this.legendvm.view,t)}}handleShowAll(){return()=>{var e,t;const i=null===(e=c.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id];d(i,this.legendElement)?(()=>{const e=v(i,this.legendElement.title);g({intLegendLayerData:e,layerId:this.layer.id})})():((()=>{const e=u(i);g({intLegendLayerData:e,layerId:this.layer.id})})(),this.showAllSelectedEvent.emit())}}get el(){return n(this)}};x.style=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight);padding:var(--instant-apps-interactive-legend-ui-padding)}html[dir=rtl] .sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}";const w=".esri-relationship-ramp--diamond__middle-column--ramp svg g",k=class{constructor(t){e(this,t),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){const e=0===c.data[this.activeLayerInfo.layer.id].queryExpressions.length,t=this.relationshipRamp.querySelector(w).children,i=t?Array.from(t):null;e&&(null==i||i.forEach((e=>{e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.classList.remove("esri-interactive-legend--selected-cell")})))}async componentWillLoad(){const[e]=await m(["esri/symbols/support/symbolUtils"]);this.symbolUtils=e}render(){var e,t;return i("div",{key:"b24758bce1743ae91567e78df38854fddabf52fd",ref:e=>{if(!(null==e?void 0:e.querySelector("relationshipStyles"))){const t=document.createElement("style");t.id="relationshipStyles",t.innerHTML="\n rect:hover {\n cursor: pointer;\n opacity: 0.8;\n }\n ",null==e||e.appendChild(t)}}},i("span",{key:"e3f3bc2a4e7d423bb6aec2072252654b3ac77b2e",class:"instant-apps-interactive-legend-relationship__instructional-text"},null===(t=null===(e=this.messages)||void 0===e?void 0:e.relationship)||void 0===t?void 0:t.instructionalText),this.renderRelationshipRamp())}renderRelationshipRamp(){var e;const t=(null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer).renderer,n=this.symbolUtils.renderRelationshipRampPreviewHTML(t);return i("div",{ref:e=>{this.relationshipRamp=e,this.applyRelationshipRampInteractivity()},key:"relationship-ramp-diamond",innerHTML:`${null==n?void 0:n.outerHTML}`})}applyRelationshipRampInteractivity(){if(!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&c.data))return;let e=setInterval((()=>{const t=this.relationshipRamp.querySelector(w);t&&(clearInterval(e),this.setupRelationshipDrawingStyle(t.children))}),10)}setupRelationshipDrawingStyle(e){const t=e?Array.from(e):null;if(!t)return;t.map(((e,t)=>{var i,n,a,s,l,o,c,d,r;const p=(null===(n=null===(i=this.activeLayerInfo)||void 0===i?void 0:i.layer)||void 0===n?void 0:n.renderer).uniqueValueInfos;if(p[t]){const i=null===(c=null===(o=null===(l=null===(s=null===(a=null==p?void 0:p[t])||void 0===a?void 0:a.symbol)||void 0===s?void 0:s.data)||void 0===l?void 0:l.symbol)||void 0===o?void 0:o.symbolLayers)||void 0===c?void 0:c[1].color,n=null===(r=null===(d=null==p?void 0:p[t])||void 0===d?void 0:d.symbol)||void 0===r?void 0:r.color;p.forEach(((t,a)=>{var s,l,o,c,d;const r=null===(s=null==t?void 0:t.symbol)||void 0===s?void 0:s.color,p=null===(d=null===(c=null===(o=null===(l=null==t?void 0:t.symbol)||void 0===l?void 0:l.data)||void 0===o?void 0:o.symbol)||void 0===c?void 0:c.symbolLayers)||void 0===d?void 0:d[1].color;let h=!1;h=p?p.every(((e,t)=>e===i[t])):r.r===n.r&&r.g===n.g&&r.b===n.b&&r.a===n.a,h&&this.setCellAttributes(e,a)})),e.classList.add("esri-interactive-legend__svg-rect-element")}}));const i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){const i=this.activeLayerInfo.layer.renderer.uniqueValueInfos,n=this.generateIndexPattern(t);i[n]&&(e.setAttribute("data-color",`${i[n].symbol.color}`),e.setAttribute("data-cell-index",`${n}`),e.setAttribute("tabindex","0"))}generateIndexPattern(e){const{focus:t,numClasses:i}=this.legendElement;return"HL"===t?e:2===i?this.twoClasses(e,t):3===i?this.threeClasses(e,t):4===i?this.fourClasses(e,t):null}twoClasses(e,t){return"HH"===t||null===t?0===e||2===e?e+1:1===e||3===e?e-1:null:"LH"===t?0===e?e+3:1===e?e+1:2===e?e-1:3===e?e-3:4===e?e+0:null:"LL"===t?0===e||1===e?e+2:2===e||3===e?e-2:null:void 0}threeClasses(e,t){return"HH"===t||null===t?0===e||3===e||6===e?e+2:2===e||5===e||8===e?e-2:e:"LH"===t?0===e?e+8:1===e?e+6:2===e?e+4:3===e?e+2:5===e?e-2:6===e?e-4:7===e?e-6:8===e?e-8:e:"LL"===t?0===e||1===e||2===e?e+6:6===e||7===e||8===e?e-6:e:void 0}fourClasses(e,t){return"HH"===t||null===t?0===e||4===e||8===e||12===e?e+3:1===e||5===e||9===e||13===e?e+1:2===e||6===e||10===e||14===e?e-1:3===e||7===e||11===e||15===e?e-3:null:"LH"===t?0===e?e+15:1===e?e+13:2===e?e+11:3===e?e+9:4===e?e+7:5===e?e+5:6===e?e+3:7===e?e+1:8===e?e-1:9===e?e-3:10===e?e-5:11===e?e-7:12===e?e-9:13===e?e-11:14===e?e-13:15===e?e-15:null:"LL"===t?0===e||1===e||2===e||3===e?e+12:4===e||5===e||6===e||7===e?e+4:8===e||9===e||10===e||11===e?e-4:12===e||13===e||14===e||15===e?e-12:null:void 0}reorderCellNodes(e){const t=[];for(;this.cellNodeCounter<=e.length-1;)e.map((e=>{parseInt(e.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(e)})),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){const{focus:t,numClasses:i}=this.legendElement;"HH"===t||null===t?this.relationshipFocusIsHighHigh(e,i):"LL"===t?this.relationshipFocusIsLowLow(e,i):"LH"===t?this.relationshipFocusIsLowHigh(e,i):"HL"===t&&this.relationshipFocusIsHighLow(e,i),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let i=t-1;i>=0;i--)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let i=0;i<t;i++)for(let n=0;n<t;n++)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let i=0;i<t;i++)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let i=t-1;i>=0;i--)for(let n=0;n<t;n++)this.setDataAttributes(e,n,i,t),this.cellNodeCounter++}setDataAttributes(e,t,i,n){const a=e[this.cellNodeCounter];2===n?this.twoClassAttributes(a,t,i):3===n?this.threeClassAttributes(a,t,i):this.fourClassAttributes(a,t,i)}twoClassAttributes(e,t,i){const{legendElement:n}=this;"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i)}threeClassAttributes(e,t,i){const{legendElement:n}=this;1===this.cellNodeCounter||3===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter?"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==n.focus?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}fourClassAttributes(e,t,i){const{legendElement:n}=this,{focus:a}=n;1===this.cellNodeCounter||2===this.cellNodeCounter||4===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter||8===this.cellNodeCounter||10===this.cellNodeCounter||11===this.cellNodeCounter||13===this.cellNodeCounter||14===this.cellNodeCounter?"HL"===a?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==a?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}setDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${i}`),this.setDataCellFocus(e,t,i)}swapDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${i}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocus(e,i,t)}setDataCellFocus(e,t,i){const{numClasses:n}=this.legendElement;2===n?this.setDataCellFocusForTwoClasses(e,t,i):3===n?this.setDataCellFocusForThreeClasses(e,t,i):4===n&&this.setDataCellFocusForFourClasses(e,t,i)}setDataCellFocusForTwoClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","HL"):1===t&&1===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForThreeClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM"):0===t&&2===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","ML"):1===t&&1===i?e.setAttribute("data-cell-focus","MM"):1===t&&2===i?e.setAttribute("data-cell-focus","MH"):2===t&&0===i?e.setAttribute("data-cell-focus","HL"):2===t&&1===i?e.setAttribute("data-cell-focus","HM"):2===t&&2===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForFourClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM1"):0===t&&2===i?e.setAttribute("data-cell-focus","LM2"):0===t&&3===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","M1L"):1===t&&1===i?e.setAttribute("data-cell-focus","M1M1"):1===t&&2===i?e.setAttribute("data-cell-focus","M1M2"):1===t&&3===i?e.setAttribute("data-cell-focus","M1H"):2===t&&0===i?e.setAttribute("data-cell-focus","M2L"):2===t&&1===i?e.setAttribute("data-cell-focus","M2M1"):2===t&&2===i?e.setAttribute("data-cell-focus","M2M2"):2===t&&3===i?e.setAttribute("data-cell-focus","M2H"):3===t&&0===i?e.setAttribute("data-cell-focus","HL"):3===t&&1===i?e.setAttribute("data-cell-focus","HM1"):3===t&&2===i?e.setAttribute("data-cell-focus","HM2"):3===t&&3===i&&e.setAttribute("data-cell-focus","HH")}applyEventHandlers(){const e=document.querySelectorAll(".esri-interactive-legend__svg-rect-element");Array.from(e).map((e=>{const t=e.getAttribute("data-feature-i"),i=e.getAttribute("data-feature-j"),n=e.getAttribute("data-cell-focus");e.onclick=()=>{this.handleFilter(t,i,n),this.handleSelectedElement(e)},e.onkeydown=a=>{const{key:s}=a;("Enter"===s||"Space"===s)&&(this.handleFilter(t,i,n),this.handleSelectedElement(e))}}))}async handleFilter(e,t,i){var n,a,s,l,o;const d=this.activeLayerInfo.layer,{authoringInfo:r}=d.renderer,{field1:p,field2:h}=r,{queryExpressions:v,fLayerView:g}=c.data[this.activeLayerInfo.layer.id];if("relationship-ramp"===this.legendElement.type&&r&&p&&h){const c=this.generateExpressionParams(p,h,r,e,t,i),d=this.generateExpressionForRelationship(c);0===v.length?v[0]=d:-1===v.indexOf(d)?v.push(d):v.splice(v.indexOf(d),1);const u=v.join(" OR "),y=null!==(a=null===(n=null==g?void 0:g.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==a?a:null,[_,b]=await m(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);if("filter"===(null===(s=this.filterMode)||void 0===s?void 0:s.type))g.filter=new _({where:u,timeExtent:(null===(l=null==g?void 0:g.filter)||void 0===l?void 0:l.timeExtent)?g.filter.timeExtent:null});else if(null===(o=this.filterMode)||void 0===o?void 0:o.effect){const{includedEffect:e,excludedEffect:t}=this.filterMode.effect,i=await f(t,g,"excludedEffect"),n=await f(e,g,"includedEffect");g.featureEffect=new b({filter:new _({where:u,timeExtent:y}),includedEffect:n,excludedEffect:i})}}}generateExpressionParams(e,t,i,n,a,s){const l=[],o=e.field,c=t.field,d=e.classBreakInfos,r=t.classBreakInfos,p=i.field1.hasOwnProperty("normalizationField")?i.field1.normalizationField:null,h=i.field2.hasOwnProperty("normalizationField")?i.field2.normalizationField:null;return d.forEach(((e,t)=>{const i=[];r.forEach(((e,n)=>{i.push([d[t],r[n]])})),l.push(i)})),{data:l,i:n,j:a,field1:p?`(${o}/${p})`:`${o}`,field2:h?`(${c}/${h})`:`${c}`,focus:s}}generateExpressionForRelationship(e){const{focus:t,field1:i,field2:n,data:a,i:s,j:l}=e;return"LL"===t?`${i} >= ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} >= ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:"LM"===t||"LM1"===t||"LM2"===t||"LH"===t?`${i} >= ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} > ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:"ML"===t||"M1L"===t||"M2L"===t||"HL"===t?`${i} > ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} >= ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:`${i} > ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} > ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`}handleSelectedElement(e){const t=e.classList;t.contains("esri-interactive-legend--selected-cell")?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),t.remove("esri-interactive-legend--selected-cell")):(t.add("esri-interactive-legend--selected-cell"),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"))}};k.style=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}";export{y as instant_apps_interactive_legend_group_legend_element,_ as instant_apps_interactive_legend_layer_element,b as instant_apps_interactive_legend_legend_element,x as instant_apps_interactive_legend_legend_element_caption,k as instant_apps_interactive_legend_relationship}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,H as s,g as l}from"./p-e996c38f.js";import{g as o}from"./p-648b5a9e.js";import"./p-d001e961.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const a=class{constructor(i){t(this,i),this.messages=void 0,this.view=void 0}render(){var t,l,o,a,e,n,d;const h="2d"!==(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.type)&&(null==this?void 0:this.view)?this._getSceneViewCommands():this._getMapViewCommands(),r=this._isMacLike()?"Option":"Alt";return i(s,{key:"9c8b38fe77e393b5c28dcdeb9f536136f1847a80"},i("calcite-block",{key:"129cc133e93e2817286b651e275c9be4cab404d7",open:!0,class:"instant-apps-keyboard-shortcuts__content",heading:null===(o=null===(l=null==this?void 0:this.messages)||void 0===l?void 0:l.generalShortcuts)||void 0===o?void 0:o.label},i("table",{key:"35c2075b9bfd4156dc599f7eb4230f8939b666d7"},this.renderTableHeader(),i("tr",{key:"4501f1eb90661c5c4dc21448faafc6b05c9c5f44"},i("td",{key:"dd5e19bf19397dc2d249280b779021436f792ca2"},`${r} + M`),i("td",{key:"7229f20c134afc765ffc5a6fc472ef240ec23d4f"},null===(e=null===(a=null==this?void 0:this.messages)||void 0===a?void 0:a.generalShortcuts)||void 0===e?void 0:e.title))),i("calcite-label",{key:"e0ad61c9410eddbe07411a1257208e72993e1552"},null===(d=null===(n=null==this?void 0:this.messages)||void 0===n?void 0:n.generalShortcuts)||void 0===d?void 0:d.title),i("table",{key:"da8a5261b67d71d969313c9643e45762dfd7ec1b"},this.renderTableHeader(),h.map((t=>i("tr",null,i("td",null,t.alias),i("td",null,t.title)))))))}componentDidLoad(){o(this)}renderTableHeader(){var t,s;return(null==this?void 0:this.messages)?i("tr",null,i("th",null,null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.generalShortcuts.shortcut),i("th",null,null===(s=null==this?void 0:this.messages)||void 0===s?void 0:s.generalShortcuts.action)):null}_getMapViewCommands(){return(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge},{alias:"N",title:null==this?void 0:this.messages.mapShortcuts.N},{alias:"A",title:null==this?void 0:this.messages.mapShortcuts.A},{alias:"D",title:null==this?void 0:this.messages.mapShortcuts.D},{alias:"+",title:null==this?void 0:this.messages.mapShortcuts.plus},{alias:"-",title:null==this?void 0:this.messages.mapShortcuts.minus}]:[]}_getSceneViewCommands(){var t;const i="global"===(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.viewingMode),s=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!!i},{alias:"P",title:null==this?void 0:this.messages.sceneShortcuts.P,show:!0},{alias:"N",title:null==this?void 0:this.messages.sceneShortcuts.N,show:!0},{alias:"W",title:null==this?void 0:this.messages.sceneShortcuts.W,show:!0},{alias:"A",title:null==this?void 0:this.messages.sceneShortcuts.A,show:!0},{alias:"D",title:null==this?void 0:this.messages.sceneShortcuts.D,show:!0},{alias:"S",title:null==this?void 0:this.messages.sceneShortcuts.S,show:!0},{alias:"J",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.J,show:!!i},{alias:"U",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.U,show:!!i}]:[];return(null==this?void 0:this.messages)?null==s?void 0:s.filter((t=>t.show)):[]}_isMacLike(){return/(Mac)/i.test(navigator.platform)}get el(){return l(this)}};a.style=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}";export{a as instant_apps_keyboard_shortcuts}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as e,h as s,H as o,F as h}from"./p-e996c38f.js";import{g as a}from"./p-404cbf48.js";import{E as l}from"./p-80cb7c73.js";import{g as n}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7),this.appLayout=void 0,this.appProxies=void 0,this.basemapConfig=void 0,this.coverPageEnabled=void 0,this.customInfoText=void 0,this.defaultAppLayout=void 0,this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableZoom=!0,this.locale=void 0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor=void 0,this.popupHeaderHoverColor=void 0,this.popupHeaderHoverTextColor=void 0,this.popupHeaderTextColor=void 0,this.searchConfiguration=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.zoomToScale=void 0,this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._isPortraitMobile=!1,this._translations=void 0,this._layer=void 0,this._layoutMode=l.GRID,this._mapInfo=void 0,this._mapView=void 0,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerIds=void 0,this._isLoading=!0}get el(){return e(this)}_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"24b7324257b94560153db83dd6b29730bef8f38f"},s("calcite-shell",{key:"c7a445ffdf9fa59c7bd1aff125a77e811f6ce736",class:"position-relative"},s("calcite-panel",{key:"81598a858cfbdfcb6346bc3efa6eb55699d2c5ff",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:case l.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case l.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case l.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===l.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==l.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} position-sticky`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,h="tableView"===this.appLayout,a=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",d=this._getTableSizeClass(t,i),r=t===l.HORIZONTAL?"horizontal":"vertical",c=t===l.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,g=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,u=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${d} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:r,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${a}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?g:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!g?u:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:h,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,a="toggle-layout";return s(h,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:a,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":a},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_filterModal(){return s("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset(),this._mapCard.resetFilter()},onFilterUpdate:async()=>{const t=this._filterList.filterCount>0;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?l.HORIZONTAL:l.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};d.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}";export{d as crowdsource_manager}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as e,h as s,H as a}from"./p-e996c38f.js";import{g as h}from"./p-404cbf48.js";import{g as n,d as o,p as l}from"./p-d572627c.js";import{s as r}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const c=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"61600c26f6e6f66b2b8fdfc4694059015cc83235"},s("div",{key:"211b48bb10b86e2b48729a02c21b2cb2d320b581",class:"map-layer-picker-container",style:i},s("div",{key:"b2f00e60282715337af2d0db3a1d4552b77aefae",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await l(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(r.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?r.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{c as map_layer_picker}
@@ -1,21 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{_ as t}from"./p-8d281f47.js";import{l as s}from"./p-404cbf48.js";
7
- /** @license
8
- * Copyright 2022 Esri
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this file except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- */class i{arcade;intl;async getPopupTitle(s,i){this.arcade||await this._initModules();let e={};for(const[t,i]of Object.entries(s.attributes))e={...e,[`{${t.toUpperCase()}}`]:i};const a=s.layer,o=this._removeTags(a?.popupTemplate?.title);if(o.includes("{expression/expr")&&null!=a?.popupTemplate?.expressionInfos)for(let t=0;t<a.popupTemplate?.expressionInfos.length;t++){const o=a.popupTemplate.expressionInfos[t],n=this.arcade.createArcadeProfile("popup");try{const t=await this.arcade.createArcadeExecutor(o.expression,n),r=await t.executeAsync({$feature:s,$layer:a,$map:i});null==r&&""===r||(e[`{expression/${o.name}}`.toUpperCase()]=r)}catch(t){console.error(t);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach((i=>{const o=s.attributes[i.name],n=a.popupTemplate.fieldInfos.find((t=>t.fieldName.toLowerCase()===i.name.toLowerCase())),r=t(o,i.type,i.domain,n?.format,this.intl);e[`{${i.name.toUpperCase()}}`]=r??o})),o?.replace(/{.*?}/g,(t=>null!=e[t.toUpperCase()]?e[t.toUpperCase()]:""))}_removeTags(t){return null==t||""===t?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){const[t,i]=await s(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=i}}export{i as P}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,g as i,h as s,H as e,c as a}from"./p-e996c38f.js";import{l as h,g as n}from"./p-404cbf48.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const o=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapConfig=void 0,this.basemapWidget=void 0}get el(){return i(this)}BasemapGallery;PortalBasemapsSource;_basemapElement;async basemapConfigWatchHandler(){if(this.basemapWidget?.source){const t=this.basemapWidget?.source;t.query=this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,await t.refresh()}}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"cc7e423a47742c0f5c3a5023b77157af09e56433"},s("div",{key:"9b41466e49c93e533f1d2a621707c5189c5092b3",ref:t=>{this._basemapElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t,i]=await h(["esri/widgets/BasemapGallery","esri/widgets/BasemapGallery/support/PortalBasemapsSource"]);this.BasemapGallery=t,this.PortalBasemapsSource=i}async _initBaseMapGallery(t){if(this.BasemapGallery){this.basemapWidget&&this.basemapWidget.destroy();const i=new this.PortalBasemapsSource({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?t=>!this.basemapConfig.basemapIdsToFilter.includes(t.portalItem.id):()=>!0});await i.refresh(),this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t,source:i})}}static get watchers(){return{basemapConfig:["basemapConfigWatchHandler"],mapView:["mapViewWatchHandler"]}}};o.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.facilityChanged=a(this,"facilityChanged",7),this.levelChanged=a(this,"levelChanged",7),this.siteChanged=a(this,"siteChanged",7),this.enabled=void 0,this.floorFilterWidget=void 0,this.mapView=void 0}get el(){return i(this)}FloorFilter;_floorFilterElement;reactiveUtils;_facilityHandle;_levelHandle;_siteHandle;async mapViewWatchHandler(){await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}facilityChanged;levelChanged;siteChanged;async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"51da7a656e7f56ecc8cc4093d3dab856f77b5c7a"},s("div",{key:"d2fda7047f09a673216484f5c202f039fca20108",ref:t=>{this._floorFilterElement=t}}))}async componentDidLoad(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}async _initModules(){const[t,i]=await h(["esri/widgets/FloorFilter","esri/core/reactiveUtils"]);this.FloorFilter=t,this.reactiveUtils=i}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement&&this._floorFilterElement.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement=document.createElement("div")}async _initFloorFilter(t){const i=t?.map;await i.when((()=>{t&&this.enabled&&this.FloorFilter&&i?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement,view:t}),this._facilityHandle?.remove(),this._facilityHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.facility),(t=>{this.facilityChanged.emit(t)})),this._levelHandle?.remove(),this._levelHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.level),(t=>{this.levelChanged.emit(t)})),this._siteHandle?.remove(),this._siteHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.site),(t=>{this.siteChanged.emit(t)})))}))}static get watchers(){return{mapView:["mapViewWatchHandler"],enabled:["enabledWatchHandler"]}}};c.style=":host{display:block}";const r=class{constructor(i){t(this,i),this.fullscreenStateChange=a(this,"fullscreenStateChange",7),this.mapView=void 0,this.fullscreenWidget=void 0}Fullscreen;_fullscreenElement;_fullscreenStateChangeHandle;reactiveUtils;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this._initFullscreenWidget()}))}fullscreenStateChange;async componentWillLoad(){await this._initModules()}render(){return s(e,{key:"657b81420a155322e56e3cb20b8656605233c0d4"},s("div",{key:"5ebf1f1b368f1d32bbcc4d8b1380d4aa7b985ab1",class:"fullscreen-widget",ref:t=>{this._fullscreenElement=t}}))}async componentDidUpdate(){await this._initFullscreenWidget()}async componentDidLoad(){await this._initFullscreenWidget()}async _initModules(){const[t,i]=await h(["esri/widgets/Fullscreen","esri/core/reactiveUtils"]);this.Fullscreen=t,this.reactiveUtils=i}async _initFullscreenWidget(){this.mapView&&this._fullscreenElement&&!this.fullscreenWidget?(this.fullscreenWidget=new this.Fullscreen({view:this.mapView}),await this.fullscreenWidget.when((()=>{this._fullscreenStateChangeHandle&&this._fullscreenStateChangeHandle.remove(),this._fullscreenStateChangeHandle=this.reactiveUtils.watch((()=>this.fullscreenWidget.viewModel.state),(t=>this.fullscreenStateChange.emit(t)))}))):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}get el(){return i(this)}Legend;_legendElement;async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"dd7414c2dccf150f1d47d8f9491d89905feb64af"},s("div",{key:"16951986e7602ea0b66a3f55ee1a678cc0af84ce",ref:t=>{this._legendElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t]=await h(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,respectLayerDefinitionExpression:!0,view:t}))}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}";const d=class{constructor(i){t(this,i),this.beforeMapInfoChange=a(this,"beforeMapInfoChange",7),this.mapInfoChange=a(this,"mapInfoChange",7),this.locale=void 0,this.mapInfos=[],this.isMapLayout=void 0,this._mapListExpanded=!1,this._translations=void 0,this._webMapInfo=void 0}get el(){return i(this)}_list;_loadedId="";_skipEditCheck=!1;_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._webMapSelected(t[0])}async setMapByID(t,i=!1){this._skipEditCheck=i;const s=this.mapInfos?.filter((i=>i.id===t));t&&s?.length>0&&this._webMapSelected(s[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}beforeMapInfoChange;mapInfoChange;async componentWillLoad(){await this._getTranslations()}render(){return s(e,{key:"f02389d06d3e4030387c0cded08b665fe8ee36eb"},this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){const t="map-picker-expand-toggle";return s("div",{class:"width-full"},s("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",iconStart:"map",id:t,kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},this._webMapInfo?.name),s("calcite-tooltip",{placement:"bottom","reference-element":t},s("span",null,this._translations.switchMap)))}_getToolbar(){return s("div",{class:"display-flex border-right"},s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return s("div",{class:t?"map-list border-bottom-1 adjusted-height "+(this.isMapLayout?"width-26":"width-full"):"display-none"},s("calcite-list",{id:"mapList",label:"",ref:t=>this._list=t,selectionAppearance:"border",selectionMode:"single"},this.mapInfos.map((t=>s("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){const i=this._loadedId;this._loadedId=t.id,this._skipEditCheck?this._webMapInfo=t:this.beforeMapInfoChange.emit({currentId:i,mapInfo:t,ref:this.el}).defaultPrevented||(this._webMapInfo=t),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],locale:["localeWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};d.style=":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-26{width:26% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}";const p=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}FeatureLayer;Search;_searchElement;_searchResult;async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return s(e,{key:"9c344160df28da3a895a9b7c3c7e32b8a43fa6b8"},s("div",{key:"d98417c82b0fae1c7abc5ef54886579182d5464a",class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return s?.length>0?(t.includeDefaultSources=!1,s.forEach((t=>{if(t.hasOwnProperty("layer")){const s=t,e=s.layer?.id,a=e?i.map.findLayerById(e):null,h=s?.layer?.url;a?s.layer=a:h&&(s.layer=new this.FeatureLayer(h))}})),s?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}";const m=class{constructor(i){t(this,i),this.basemapConfig=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.enableHome=void 0,this.enableSingleExpand=void 0,this.homeZoomToolsSize="m",this.layout="vertical",this.locale=void 0,this.mapView=void 0,this.mapWidgetsSize="m",this.position="top-right",this.searchConfiguration=void 0,this.stackTools=!0,this.toolOrder=void 0,this._hasFloorInfo=!1,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}get el(){return i(this)}Expand;_basemapElement;_floorFilterElement;_fullscreenElement;_legendElement;_searchElement;_widgets=[];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._hasFloorInfo=this.mapView?.map?.floorInfo}))}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showFloorFilterWatchHandler(t){const i=this._floorFilterElement.floorFilterWidget;t?this.mapView.ui.add(i,{position:this.position,index:1}):this.mapView.ui.remove(i)}async _showFullscreenWatchHandler(t){const i=this._fullscreenElement.fullscreenWidget;t?"ready"===i.viewModel.state&&i.viewModel.enter():"active"===i.viewModel.state&&i.viewModel.exit()}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){this._setZoomToolsSize();const t=this._showTools?"":"display-none",i=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",o=this._showFullscreen?"":"display-none",c=this.enableSingleExpand?"margin-top-1-2":"",r=this.toolOrder?this.toolOrder:["legend","search","fullscreen","floorfilter"],l=this.stackTools?"box-shadow":"";return s(e,{key:"2fc2ec5b50545b65962e3942512a935e4017908d"},s("div",{key:"aa7824c19b2dbdaf7e21d1bc59dd066f2b3623b5",class:this.enableBasemap||this.enableFullscreen||this.enableLegend||this.enableSearch?"":"display-none"},this.enableSingleExpand?s("div",{class:"box-shadow"},this._getActionGroup(this._showTools?"chevrons-up":"chevrons-down",!1,this._showTools?this._translations.collapse:this._translations.expand,(()=>this._toggleTools()))):void 0,s("div",{key:"7cd0c1f2f69cf961c11c7b8b3c1989342a300f77",class:`${c} ${l} ${t}`},this._getMapWidgets(r))),s("basemap-gallery",{key:"f6c9fc50b1e8360d4d60df85bd0c2341a0504fcf",basemapConfig:this.basemapConfig,class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),s("map-search",{key:"3e231e74bff5d0b373e6105b738a27aeef880094",class:i,mapView:this.mapView,ref:t=>{this._searchElement=t},resultGraphicEnabled:!0,searchConfiguration:this.searchConfiguration}),s("map-legend",{key:"ce1388b4892e6870ac3a38399e5ad619ab843be1",class:h,mapView:this.mapView,ref:t=>{this._legendElement=t}}),s("map-fullscreen",{key:"414ea8be82bbc1a9fd7f9ab63f5c1ee7e3dc25b1",class:o,mapView:this.mapView,onFullscreenStateChange:t=>this._fullscreenStateChange(t.detail),ref:t=>{this._fullscreenElement=t}}),s("floor-filter",{key:"9dcada2a4f2cd48a1db01d26b74b75aa09f37f8b",class:n,enabled:this.enableFloorFilter,mapView:this.mapView,ref:t=>{this._floorFilterElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/Expand"]);this.Expand=t}_setZoomToolsSize(){const t=document.getElementsByClassName("esri-zoom")[0]?.children[0],i=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(t&&i){const s="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";t.style.width=s,t.style.height=s,i.style.width=s,i.style.height=s}}_getMapWidgets(t){const i=this._showFullscreen?"full-screen-exit":"full-screen",s=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return t.map((t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())):this.enableLegend?this._getWidget(t,this._legendElement?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())):this.enableSearch?this._getWidget(t,this._searchElement?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(i,!1,s,(()=>this._expand())):this.enableFullscreen?this._getWidget(t,this._fullscreenElement?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())):this.enableBasemap?this._getWidget(t,this._basemapElement?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,(()=>this._toggleFloorFilter())):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement?.floorFilterWidget,!0):void 0}}))}_fullscreenStateChange(t){"ready"===t&&this._showFullscreen?this._showFullscreen=!1:"active"!==t||this._showFullscreen||(this._showFullscreen=!0)}_getActionGroup(t,i,e,a){return s("div",null,s("calcite-action",{alignment:"center",class:`${"s"===this.mapWidgetsSize?"square-32":"m"===this.mapWidgetsSize?"square-40":"square-48"} ${this.stackTools?"":"margin-bottom-1-2"} border-bottom ${this.stackTools?"":"box-shadow"}`,disabled:i,icon:t,id:t,onClick:a,scale:"s",text:""},s("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),s("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},s("span",null,e)))}_getWidget(t,i,s){if(this._widgets.indexOf(t)<0&&this.mapView&&i){const e=this.toolOrder.indexOf(t),a=new this.Expand({view:this.mapView,content:i});this.mapView.ui.add(s?a:i,{position:this.position,index:e>-1?e+(this.enableHome?2:1):1}),this._widgets.push(t)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showFloorFilter:["_showFloorFilterWatchHandler"],_showFullscreen:["_showFullscreenWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};m.style=":host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:0.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.margin-bottom-1-2{margin-bottom:0.5rem}";export{o as basemap_gallery,c as floor_filter,r as map_fullscreen,l as map_legend,d as map_picker,p as map_search,m as map_tools}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,h as e,H as a}from"./p-e996c38f.js";import{l as h,g as n}from"./p-404cbf48.js";import{f as l}from"./p-80cb7c73.js";import{s as r}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";const o=class{constructor(s){t(this,s),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.locale=void 0,this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}get el(){return s(this)}_geometryEngine;_bufferTimeout;_unitElement;_units;geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units[t]}bufferComplete;distanceChanged;unitChanged;async componentWillLoad(){await this._defineTranslations(),await this._initModules()}render(){return e(a,{key:"56719f53eabb0743adb129546e27e7dc99399021"},"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _defineTranslations(){await this._getTranslations(),this._initTranslatedUnits()}async _initModules(){const[t]=await h(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_initTranslatedUnits(){this._units={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers}}_getUnits(){return Object.keys(this._units).map((t=>e("calcite-option",{label:this._units[t],selected:this.unit===t,value:t})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return e("div",{class:"c-container"},e("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),e("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return e("div",null,e("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"],locale:["localeWatchHandler"]}}};o.style=':host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}';const c=class{constructor(s){t(this,s),this.selectionLoadingChange=i(this,"selectionLoadingChange",7),this.sketchGraphicsChange=i(this,"sketchGraphicsChange",7),this.drawUndo=i(this,"drawUndo",7),this.drawRedo=i(this,"drawRedo",7),this.active=!1,this.drawMode=l.SKETCH,this.editGraphicsEnabled=!0,this.graphics=void 0,this.locale=void 0,this.mapView=void 0,this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.redoEnabled=!1,this.undoEnabled=!1,this._translations=void 0,this._selectionMode=void 0}get el(){return s(this)}GraphicsLayer;SketchViewModel;Sketch;_sketchGraphicsLayer;_sketchViewModel;_sketchWidget;_sketchElement;graphicsWatchHandler(t,i){t&&t.length>0&&JSON.stringify(t)!==JSON.stringify(i)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(t),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(t))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapViewWatchHandler(t,i){t&&t!==i&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}selectionLoadingChange;sketchGraphicsChange;drawUndo;drawRedo;async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}disconnectedCallback(){this._sketchWidget.cancel(),this._clearSketch()}render(){const t=this.drawMode===l.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return e(a,{key:"55983c5e2102a1bc5c1936946a6c343d8b5e6ce4"},e("div",{key:"d0cd16b9f3d1386ce39236aacd7cd1ef9e585a55",class:this.drawMode===l.SKETCH?"border":"border esri-widget esri-sketch__panel"},e("div",{key:"cbeea2fc130e72a2b1739702cf49e35b798975ed",ref:t=>{this._sketchElement=t}}),e("div",{key:"50a103c4b4daf46f8da6607d6820545b44128aeb",class:t},e("calcite-action",{key:"35f3767f23b1e86545df36b765571f90a2f2fa32",disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),e("calcite-action",{key:"28961fa0141eda4848257fe7dd40e4c5a22ed65b",disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,s]=await h(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=s}_init(){this.mapView&&this._sketchElement&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){const t=this._translations.sketchLayer,i=this.mapView.map.layers.findIndex((i=>i.title===t));i>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(i):(this._sketchGraphicsLayer=new this.GraphicsLayer({title:t,listMode:"hide"}),r.managedLayers[t]="sketch",this.mapView.map.layers.add(this._sketchGraphicsLayer)),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer.addMany(this.graphics)}_initSketch(){const t={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};this._sketchWidget=new this.Sketch({...t,container:this._sketchElement,creationMode:"single",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===l.SKETCH}}),this._sketchViewModel=new this.SketchViewModel({...t}),this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol,this._sketchWidget.viewModel.pointSymbol=this.pointSymbol,this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol;let i=!1;this._sketchWidget.on("create",(t=>{"complete"===t.state&&(this.graphics=[t.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===l.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===l.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{if(this.editGraphicsEnabled){const i=t?.toolEventInfo?.type;"reshape-stop"!==i&&"move-stop"!==i||(this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}))}else this._sketchWidget.viewModel.cancel(),this._sketchViewModel.cancel()})),this._sketchWidget.on("delete",(()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("undo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("redo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}_clearSketch(){this._sketchWidget?.viewModel.cancel(),this.graphics=[],this._sketchGraphicsLayer?.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout((()=>{1===this.graphics.length&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})}),100)}_updateGraphicsSymbols(t){const i=t[0].geometry.type,s="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;s&&t.forEach((t=>t.symbol=s))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};c.style=':host{display:block}.border{outline:1px solid var(--calcite-color-border-input)}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.margin-top-1{margin-top:1rem}.border-left{border-left:1px solid rgba(110, 110, 110, .3)}.border-left[dir="rtl"]{border-right:1px solid rgba(110, 110, 110, .3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v:12px;--esri-widget-padding-h:15px;--esri-widget-padding:var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0;justify-content:flex-start !important}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}';export{o as buffer_tools,c as map_draw_tools}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,h as n,g as t,H as s}from"./p-e996c38f.js";import{l as a}from"./p-d001e961.js";import{g as o}from"./p-648b5a9e.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const e="instant-apps-sign-in__entry-button",r=class{constructor(n){i(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){o(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return n(s,{key:"ab1c9e194ed4eed74680dd242e0ea0f314cf1f56"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,t,s,a,o,e,r,l,c,p,d,h,g,u,v,_;const m=this.showIndicator?"instant-apps-sign-in__indicator":"";return n("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?n("calcite-navigation-user",{class:m,slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(t=this.user)||void 0===t?void 0:t.fullName,username:null===(s=this.user)||void 0===s?void 0:s.username,"user-id":null!==(o=null===(a=this.user)||void 0===a?void 0:a.id)&&void 0!==o?o:null===(r=null===(e=this.user)||void 0===e?void 0:e.sourceJSON)||void 0===r?void 0:r.id,textDisabled:!0}):n("button",{slot:"trigger"},n("calcite-avatar",{class:m,thumbnail:null===(l=this.user)||void 0===l?void 0:l.thumbnailUrl,"full-name":null===(c=this.user)||void 0===c?void 0:c.fullName,username:null===(p=this.user)||void 0===p?void 0:p.username,"user-id":null!==(h=null===(d=this.user)||void 0===d?void 0:d.id)&&void 0!==h?h:null===(u=null===(g=this.user)||void 0===g?void 0:g.sourceJSON)||void 0===u?void 0:u.id})),n("slot",{name:"sign-in-dropdown-top"}),n("calcite-dropdown-group",{"selection-mode":"none"},null===(v=this.signInDropdownItems)||void 0===v?void 0:v.map((i=>n("calcite-dropdown-item",{onClick:i.onClick},i.label))),n("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(_=this.messages)||void 0===_?void 0:_.signOut)))}renderSignInButton(){var i;const t="navigation"===this.type?"transparent":"solid";return n("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,t;return n("div",{class:"instant-apps-sign-in__entry-button-container"},n("calcite-button",{class:e,scale:"l",onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),n("calcite-button",{class:e,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.continueAsGuest))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,n,t]=await a(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=n,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await t.whenOnce((()=>this.portal.user)),this.user=this.portal.user)}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){var i;null===(i=this.portal.credential)||void 0===i||i.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;const n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),null!=this.closeLandingPage&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():null!=this.closeLandingPage&&this.closeLandingPage()}async checkSignInStatus(){try{const i=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=i,!0}catch(i){return this.portal.credential=null,!1}}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return t(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};r.style=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}';export{r as instant_apps_sign_in}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,h as e,H as a,F as h}from"./p-e996c38f.js";import{l,g as o}from"./p-404cbf48.js";import{g as c,a as n,b as r,c as d,h as u,d as p,q as f}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(s){t(this,s),this.togglePanel=i(this,"togglePanel",7),this.center=void 0,this.commentButtonText=void 0,this.commentSubmittedMessage=void 0,this.defaultWebmap="",this.description=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableHome=!0,this.enableLogin=void 0,this.enableNewReports=void 0,this.enableSearch=!0,this.enableZoom=!0,this.isMobile=void 0,this.layerExpressions=[],this.layerId=void 0,this.level=void 0,this.locale=void 0,this.loginTitle=void 0,this.mapInfos=[],this.mapView=void 0,this.objectId=void 0,this.reportButtonText=void 0,this.reportingOptions=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.theme="light",this.zoomToScale=void 0,this.floorLevel=void 0,this._featureCreationFailedErrorMsg=void 0,this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._mapInfo=void 0,this._reportSubmitted=!1,this._selectedLayerName=void 0,this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=void 0,this._updatedProgressBarStatus=.25,this._updatedSorting=void 0,this._updatedSortOption="sortNewest",this._commentSubmitted=!1,this._addingCommentFailed=!1}get el(){return s(this)}_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(){this.updatePanelState(!1,this._showFullPanel)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const i=await c(this.mapView,t);i.floorInfo?.floorField&&this._updateFloorDefinitionExpression(i)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),setTimeout((()=>{"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50))}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){this._flowItems.includes("filter-panel")&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e(a,{key:"42f88dcb756add8af6af0936b7ef9aef47a43236"},this._reportSubmitted&&e("calcite-alert",{key:"7d5c337096d2e3562bd133d5313acc34f941b8f2","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},e("div",{key:"4ece38e9af3c6eba4e89cf96ca8fe82a96116bcb",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&e("calcite-alert",{key:"6c93202ccab7729a523f51f816279df0e7e2f4d4","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},e("div",{key:"cba71216aa8aa01098b2f9c6295341b9d501372d",slot:"title"},this._translations.error),e("div",{key:"3d457cfb00cc11208c34a121af6c5592d9540a04",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&e("calcite-alert",{key:"f782a94f3e4ea2252b92e6aa1c65d565dcf95b7b","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},e("div",{key:"57d71698daf2f5cfbb2bb971b8c062baa797d279",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&e("calcite-alert",{key:"c132ab8aceff09560f4e8300c6de03f9034443d9","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},e("div",{key:"840e834c1c6597d0bd3841fde4f1014de9e6604b",slot:"title"},this._translations.error),e("div",{key:"b8348d5cd55a298dbe42e4ccffb9f951bac1f8e1",slot:"message"},this._translations.addingCommentFailedMsg)),e("div",{key:"21f2a585a214dcdac6bec1b313025a5bf48317c4"},e("calcite-shell",{key:"3b0d3506ea75937c6627f20b3f468b28c00dbd22","content-behind":!0},this._getReporter())))}async _initModules(){const[t,i]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=i}async setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayer=await c(this.mapView,t),this._selectedLayerName=i,this._validLayers.forEach((i=>{this._nonVisibleValidLayers.find((t=>t.id===i.id))||i.set("visible",!t||i.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),e("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?e("calcite-flow",null,t?.length>0&&t):e("calcite-loader",{label:"",scale:"m"}))}async sortOptionClick(t,i,s){this._updatedSorting={field:t,order:i},this._updatedSortOption=s}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return e("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},e("calcite-list",{label:"","selection-mode":"single"},e("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","sortNewest")},selected:"sortNewest"===this._updatedSortOption,value:"sortNewest"}),e("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","sortOldest")},selected:"sortOldest"===this._updatedSortOption,value:"sortOldest"}),t&&e(h,null,e("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","sortHighestVoted")},selected:"sortHighestVoted"===this._updatedSortOption,value:"sortHighestVoted"}),e("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","sortLowestVoted")},selected:"sortLowestVoted"===this._updatedSortOption,value:"sortLowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&e("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0,"full-width":!0},e("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},this._translations.chooseCategoryMsg)),e("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this)},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("create-feature",{customizeSubmit:!0,enableSearch:!0,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=.25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){const i=t.detail,s=await n(this.mapView),e=[];this._validLayers=[],this._nonVisibleValidLayers=[],s.forEach((t=>{i.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&e.push(t.id))})),this.handleMapClick(),this._hasValidLayers=e.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}async displayFeaturesList(t){this._updatedSorting={field:"",order:"desc"},this._updatedSortOption="sortNewest",await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=.25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,i){this._sidePanelCollapsed=t,this._showFullPanel=i,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,i=await r(this.mapView);t.relationships.some((s=>{const e=i.filter((i=>t.url===i.url&&i.layerId===s.relatedTableId));if(e&&e.length>0)return this._relatedTable=e[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,i){const s=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this._toggleSort(),e("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&e("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&s&&e("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0},e("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),e("calcite-panel",{"full-height":!0},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(this._filterList.filterCount>0),ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),e("calcite-panel",null,e("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&e("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return e("div",{class:"feature-pagination"},e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},e("span",{class:"pagination-count"},this._getCount())),e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),e("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("calcite-panel",{"full-height":!0},e("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),e("calcite-panel",null,e("create-related-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField],this._getLayersConfig(i.id)?.comment&&i.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await d(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return e("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const s=t.filter((t=>this._validLayers.includes(t.layer))),e=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(s.length>0&&(await this.setSelectedFeatures(s),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),e.length>0){this.mapView.popupEnabled=!0;const t={features:e,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const i=`${t.floorInfo.floorField} = '${this.floorLevel}'`,s=t.definitionExpression;t.definitionExpression=s?.indexOf(this._floorExpression)>-1?s.replace(this._floorExpression,i):i,this._floorExpression=i}_getFormElements(){const t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i&&this.floorLevel&&t?.formTemplate){const i=this._formElements.find((i=>i.id===t.id));0!==this._formElements.length&&i||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,i){return Object.keys(t).reduce(((s,e)=>{const a=this.reportingOptions?this._getLayersConfig(e)?.visible:t[e].supportsAdd;return!i.includes(e)&&a&&s.push(e),s}),[])}async _updateFeatures(){for(const t of this._editableLayerIds){const i=await d(this.mapView,t);await this._showMyFeaturesOnly(i);const s=i.layer?.floorInfo?.floorField;s&&this.floorLevel&&this._updateFloorDefinitionExpression(i.layer)}}async _showMyFeaturesOnly(t){const i=this.mapView.map.portalItem.portal?.credential?.userId;if(i){const s=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&s?new this.FeatureFilter({where:s+"='"+i+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),i=await n(this.mapView),s=[];i.forEach((i=>{"feature"===i?.type&&i?.editingEnabled&&i?.capabilities?.operations?.supportsAdd&&(t[i.id].supportsAdd=!0),i?.editingEnabled||s.push(i.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,s),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._selectedLayerId?i.searchParams.set("layerid",this._selectedLayerId):i.searchParams.delete("layerid"),this._selectedFeature?.length?i.searchParams.set("oid",this._currentFeatureId):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await c(this.mapView,this.layerId);if(t){const i=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(await this.setSelectedFeatures(i),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await c(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const i=this._currentLayerExpressions[0];for(const s of i.expressions){const{active:i,definitionExpression:e}=s;i&&e&&t.push(`(${e})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,i.operator)}}updateFilterLayerDefExpression(t,i){const s=this._initDefExpressions[this._selectedLayerId],e=t?.length>0&&null!=s?`(${t.join(i)}) AND (${s})`:t.length>0?t.join(i):s;this._selectedLayer.definitionExpression=e}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,i){t?.forEach((t=>{const s=i?.find((i=>i.id===t.id));null!=s&&(t.title=s.title,t.expressions?.forEach((t=>{const i=s.expressions?.find((i=>i.id===t.id));null!=i&&(t.name=i.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as s,g as e}from"./p-e996c38f.js";import{s as r}from"./p-da1e098c.js";import{c as i,d as a}from"./p-f6e81cf8.js";import"./p-8717729a.js";import"./p-80cb7c73.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const o=class{constructor(e){t(this,e),this.stateLoaded=s(this,"stateLoaded",7),this.value="",this.templates=[],this.authentication=void 0}get el(){return e(this)}connectedCallback(){this._handleValueChange(this.value),this._initValueObserver()}render(){return null}stateLoaded;async getStoreInfo(t){return Promise.resolve(r.getStoreInfo(t))}_valueObserver;_handleValueChange(t){if(""!==t){const s=JSON.parse(t);r.setStoreInfo("solutionData",s);const e=i(s.templates);r.setStoreInfo("featureServices",e),r.setStoreInfo("spatialReferenceInfo",a(e,s)),this.templates=s.templates,this.stateLoaded.emit(r)}}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.some((t=>{const s=t.target[t.attributeName];if("attributes"===t.type&&"value"===t.attributeName&&s!==t.oldValue)return this._handleValueChange(s),!0}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};export{o as store_manager}