@esri/solutions-components 0.11.28 → 0.11.30

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 (969) hide show
  1. package/dist/cjs/card-manager_3.cjs.entry.js +3 -4
  2. package/dist/cjs/create-feature_4.cjs.entry.js +2 -2
  3. package/dist/cjs/downloadUtils-020884e7.js +3229 -0
  4. package/dist/cjs/feature-list.cjs.entry.js +2 -2
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  7. package/dist/cjs/popupUtils-450b675a.js +121 -0
  8. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  9. package/dist/cjs/solution-item-accordion.cjs.entry.js +10 -1
  10. package/dist/cjs/solutions-components.cjs.js +1 -1
  11. package/dist/collection/components/layer-table/layer-table.css +2 -0
  12. package/dist/collection/components/layer-table/layer-table.js +1 -2
  13. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +27 -1
  14. package/dist/collection/utils/downloadUtils.js +11 -5
  15. package/dist/collection/utils/downloadUtils.ts +15 -5
  16. package/dist/collection/vendor/calcite-components/22RQB3WE.js +4 -0
  17. package/dist/collection/vendor/calcite-components/24SER2VV.js +4 -0
  18. package/dist/collection/vendor/calcite-components/2BGMAPSV.js +4 -0
  19. package/dist/collection/vendor/calcite-components/2JKKAEPM.js +4 -0
  20. package/dist/collection/vendor/calcite-components/2M4WCGKG.js +4 -0
  21. package/dist/collection/vendor/calcite-components/2YAXZHP2.js +4 -0
  22. package/dist/collection/vendor/calcite-components/345Q4UHX.js +4 -0
  23. package/dist/collection/vendor/calcite-components/36DMRAV2.js +4 -0
  24. package/dist/collection/vendor/calcite-components/3DGJ6ZQI.js +4 -0
  25. package/dist/collection/vendor/calcite-components/3GICXOBQ.js +4 -0
  26. package/dist/collection/vendor/calcite-components/3IV6JSC2.js +4 -0
  27. package/dist/collection/vendor/calcite-components/3TOVZEQB.js +4 -0
  28. package/dist/collection/vendor/calcite-components/45GA6INB.js +4 -0
  29. package/dist/collection/vendor/calcite-components/46U4MKUU.js +4 -0
  30. package/dist/collection/vendor/calcite-components/4BSCJ722.js +4 -0
  31. package/dist/collection/vendor/calcite-components/4SEPDFCP.js +5 -0
  32. package/dist/collection/vendor/calcite-components/4TQLSUKH.js +4 -0
  33. package/dist/collection/vendor/calcite-components/4YZ27QWL.js +4 -0
  34. package/dist/collection/vendor/calcite-components/4Z7JRTON.js +4 -0
  35. package/dist/collection/vendor/calcite-components/5AVZLE2Q.js +4 -0
  36. package/dist/collection/vendor/calcite-components/5EPP4MG3.js +4 -0
  37. package/dist/collection/vendor/calcite-components/66B2H27W.js +4 -0
  38. package/dist/collection/vendor/calcite-components/6LW27BEV.js +4 -0
  39. package/dist/collection/vendor/calcite-components/6OZRZ36X.js +4 -0
  40. package/dist/collection/vendor/calcite-components/6X2SD2PW.js +4 -0
  41. package/dist/collection/vendor/calcite-components/6XTYGXNG.js +4 -0
  42. package/dist/collection/vendor/calcite-components/6ZTWHW63.js +4 -0
  43. package/dist/collection/vendor/calcite-components/7D3VEEUX.js +4 -0
  44. package/dist/collection/vendor/calcite-components/7E342YOK.js +4 -0
  45. package/dist/collection/vendor/calcite-components/7KSGVDSR.js +4 -0
  46. package/dist/collection/vendor/calcite-components/7PWETOIU.js +4 -0
  47. package/dist/collection/vendor/calcite-components/7QHUEK5R.js +4 -0
  48. package/dist/collection/vendor/calcite-components/7SX3RD7P.js +4 -0
  49. package/dist/collection/vendor/calcite-components/7U7FF3Y4.js +4 -0
  50. package/dist/collection/vendor/calcite-components/7WG5I3MP.js +4 -0
  51. package/dist/collection/vendor/calcite-components/A5GGYTUQ.js +4 -0
  52. package/dist/collection/vendor/calcite-components/AI3R3SU6.js +28 -0
  53. package/dist/collection/vendor/calcite-components/ARHYATTG.js +4 -0
  54. package/dist/collection/vendor/calcite-components/ATHBUWBY.js +4 -0
  55. package/dist/collection/vendor/calcite-components/AXXJNFKZ.js +4 -0
  56. package/dist/collection/vendor/calcite-components/AYZ73RWQ.js +4 -0
  57. package/dist/collection/vendor/calcite-components/BAHIPAHM.js +4 -0
  58. package/dist/collection/vendor/calcite-components/BRTDMTZ3.js +4 -0
  59. package/dist/collection/vendor/calcite-components/BRTESQOJ.js +4 -0
  60. package/dist/collection/vendor/calcite-components/BSRMWMHQ.js +4 -0
  61. package/dist/collection/vendor/calcite-components/BZKF5ZXQ.js +4 -0
  62. package/dist/collection/vendor/calcite-components/C46JYVUP.js +4 -0
  63. package/dist/collection/vendor/calcite-components/C54C5E23.js +4 -0
  64. package/dist/collection/vendor/calcite-components/CBSMKHOY.js +4 -0
  65. package/dist/collection/vendor/calcite-components/CFRBQXK4.js +4 -0
  66. package/dist/collection/vendor/calcite-components/CIV3PH3Z.js +4 -0
  67. package/dist/collection/vendor/calcite-components/CJYTY62F.js +4 -0
  68. package/dist/collection/vendor/calcite-components/CK6HQQX6.js +4 -0
  69. package/dist/collection/vendor/calcite-components/CMO3X257.js +4 -0
  70. package/dist/collection/vendor/calcite-components/CNO6NFH5.js +4 -0
  71. package/dist/collection/vendor/calcite-components/CWPRBG3T.js +4 -0
  72. package/dist/collection/vendor/calcite-components/CY6C2FDZ.js +4 -0
  73. package/dist/collection/vendor/calcite-components/D2HDFE7S.js +22 -0
  74. package/dist/collection/vendor/calcite-components/D36VWSDW.js +4 -0
  75. package/dist/collection/vendor/calcite-components/DBVNMM6Q.js +4 -0
  76. package/dist/collection/vendor/calcite-components/DDJ75RTI.js +4 -0
  77. package/dist/collection/vendor/calcite-components/DH4ISGHV.js +4 -0
  78. package/dist/collection/vendor/calcite-components/DNYBIAUI.js +4 -0
  79. package/dist/collection/vendor/calcite-components/DT67ZFPX.js +4 -0
  80. package/dist/collection/vendor/calcite-components/DTL2LM6T.js +4 -0
  81. package/dist/collection/vendor/calcite-components/E3R5SMVW.js +4 -0
  82. package/dist/collection/vendor/calcite-components/E4NMFIKN.js +4 -0
  83. package/dist/collection/vendor/calcite-components/EAML4EDI.js +5 -0
  84. package/dist/collection/vendor/calcite-components/ECEZ4R6E.js +4 -0
  85. package/dist/collection/vendor/calcite-components/EFI2G5WL.js +4 -0
  86. package/dist/collection/vendor/calcite-components/EHZCT5YZ.js +4 -0
  87. package/dist/collection/vendor/calcite-components/EOHVH6PN.js +4 -0
  88. package/dist/collection/vendor/calcite-components/ESBOJTBS.js +4 -0
  89. package/dist/collection/vendor/calcite-components/F6EGRKXW.js +4 -0
  90. package/dist/collection/vendor/calcite-components/FCN5RMLA.js +4 -0
  91. package/dist/collection/vendor/calcite-components/FDIM6DYL.js +4 -0
  92. package/dist/collection/vendor/calcite-components/FE3A3YUN.js +4 -0
  93. package/dist/collection/vendor/calcite-components/FHBFGCTR.js +4 -0
  94. package/dist/collection/vendor/calcite-components/FNFWOOMR.js +4 -0
  95. package/dist/collection/vendor/calcite-components/FNM4DZZH.js +4 -0
  96. package/dist/collection/vendor/calcite-components/G2KHDAZD.js +4 -0
  97. package/dist/collection/vendor/calcite-components/G3LH75CQ.js +4 -0
  98. package/dist/collection/vendor/calcite-components/G3ZJ2KQT.js +4 -0
  99. package/dist/collection/vendor/calcite-components/G7WFYVUC.js +5 -0
  100. package/dist/collection/vendor/calcite-components/GAAXSGWK.js +4 -0
  101. package/dist/collection/vendor/calcite-components/GE63ETFI.js +4 -0
  102. package/dist/collection/vendor/calcite-components/GFC7NS6P.js +4 -0
  103. package/dist/collection/vendor/calcite-components/GGO5TMB4.js +4 -0
  104. package/dist/collection/vendor/calcite-components/GKKCWEZX.js +4 -0
  105. package/dist/collection/vendor/calcite-components/GN5CPLSJ.js +4 -0
  106. package/dist/collection/vendor/calcite-components/GNUSLZWJ.js +4 -0
  107. package/dist/collection/vendor/calcite-components/GOOHYN3D.js +4 -0
  108. package/dist/collection/vendor/calcite-components/GPUFLCIT.js +4 -0
  109. package/dist/collection/vendor/calcite-components/GSXEMGSW.js +4 -0
  110. package/dist/collection/vendor/calcite-components/GYQTRH4V.js +4 -0
  111. package/dist/collection/vendor/calcite-components/HFIRIAQA.js +4 -0
  112. package/dist/collection/vendor/calcite-components/HGTV36FX.js +4 -0
  113. package/dist/collection/vendor/calcite-components/HKHPJJ34.js +4 -0
  114. package/dist/collection/vendor/calcite-components/HMVKZP47.js +4 -0
  115. package/dist/collection/vendor/calcite-components/I2OIH73C.js +4 -0
  116. package/dist/collection/vendor/calcite-components/I32TMNTO.js +4 -0
  117. package/dist/collection/vendor/calcite-components/I62DUDHI.js +4 -0
  118. package/dist/collection/vendor/calcite-components/IH4RXHJJ.js +4 -0
  119. package/dist/collection/vendor/calcite-components/IJCTXZQB.js +4 -0
  120. package/dist/collection/vendor/calcite-components/IXRMDUEL.js +4 -0
  121. package/dist/collection/vendor/calcite-components/IYDN67SF.js +4 -0
  122. package/dist/collection/vendor/calcite-components/JCWM5Z43.js +4 -0
  123. package/dist/collection/vendor/calcite-components/JEX42CPR.js +4 -0
  124. package/dist/collection/vendor/calcite-components/JFYDLHH7.js +4 -0
  125. package/dist/collection/vendor/calcite-components/JLZYAYOL.js +4 -0
  126. package/dist/collection/vendor/calcite-components/JUNCR7R2.js +4 -0
  127. package/dist/collection/vendor/calcite-components/JVNEJ36Z.js +4 -0
  128. package/dist/collection/vendor/calcite-components/K3ZBW4GY.js +4 -0
  129. package/dist/collection/vendor/calcite-components/KBDXI6DJ.js +4 -0
  130. package/dist/collection/vendor/calcite-components/KBNS3CCT.js +4 -0
  131. package/dist/collection/vendor/calcite-components/KI2NOBMU.js +4 -0
  132. package/dist/collection/vendor/calcite-components/KSNEQFZX.js +4 -0
  133. package/dist/collection/vendor/calcite-components/KSVYAIHK.js +4 -0
  134. package/dist/collection/vendor/calcite-components/KULDQOV2.js +4 -0
  135. package/dist/collection/vendor/calcite-components/KVSCG5E3.js +6 -0
  136. package/dist/collection/vendor/calcite-components/KW57BHXD.js +4 -0
  137. package/dist/collection/vendor/calcite-components/KWOOGTG2.js +4 -0
  138. package/dist/collection/vendor/calcite-components/L5FDXQMT.js +4 -0
  139. package/dist/collection/vendor/calcite-components/LB5ATL5Q.js +4 -0
  140. package/dist/collection/vendor/calcite-components/LH7KSBQC.js +4 -0
  141. package/dist/collection/vendor/calcite-components/LHSAAMYQ.js +4 -0
  142. package/dist/collection/vendor/calcite-components/LILDCWFX.js +4 -0
  143. package/dist/collection/vendor/calcite-components/LLSB73WA.js +4 -0
  144. package/dist/collection/vendor/calcite-components/LOZEGKG2.js +4 -0
  145. package/dist/collection/vendor/calcite-components/MBQZPRQ5.js +4 -0
  146. package/dist/collection/vendor/calcite-components/MCSX2S5T.js +4 -0
  147. package/dist/collection/vendor/calcite-components/MIKGJ3NM.js +4 -0
  148. package/dist/collection/vendor/calcite-components/MPAVJ7UH.js +4 -0
  149. package/dist/collection/vendor/calcite-components/MPX2M2VX.js +4 -0
  150. package/dist/collection/vendor/calcite-components/MQYH4ONZ.js +4 -0
  151. package/dist/collection/vendor/calcite-components/MUWK32IE.js +4 -0
  152. package/dist/collection/vendor/calcite-components/MZRO54UT.js +4 -0
  153. package/dist/collection/vendor/calcite-components/N2BVYYYP.js +4 -0
  154. package/dist/collection/vendor/calcite-components/N4MN6VQ7.js +4 -0
  155. package/dist/collection/vendor/calcite-components/N55N67N5.js +4 -0
  156. package/dist/collection/vendor/calcite-components/NODC2JA6.js +4 -0
  157. package/dist/collection/vendor/calcite-components/NVBNX55L.js +4 -0
  158. package/dist/collection/vendor/calcite-components/NWVCPRVB.js +4 -0
  159. package/dist/collection/vendor/calcite-components/O4O3TSE5.js +4 -0
  160. package/dist/collection/vendor/calcite-components/OE2AH2NC.js +4 -0
  161. package/dist/collection/vendor/calcite-components/OGED6PPP.js +4 -0
  162. package/dist/collection/vendor/calcite-components/OHOS32IT.js +4 -0
  163. package/dist/collection/vendor/calcite-components/OLMX7G3J.js +4 -0
  164. package/dist/collection/vendor/calcite-components/OOSULFCY.js +4 -0
  165. package/dist/collection/vendor/calcite-components/OPBQNK7J.js +4 -0
  166. package/dist/collection/vendor/calcite-components/OTHVFLNW.js +4 -0
  167. package/dist/collection/vendor/calcite-components/OTUG3NVT.js +4 -0
  168. package/dist/collection/vendor/calcite-components/PNHR5K2L.js +4 -0
  169. package/dist/collection/vendor/calcite-components/PT2XMADA.js +4 -0
  170. package/dist/collection/vendor/calcite-components/PZLVQQMT.js +4 -0
  171. package/dist/collection/vendor/calcite-components/QAYSDI3M.js +5 -0
  172. package/dist/collection/vendor/calcite-components/QCGLMLKW.js +4 -0
  173. package/dist/collection/vendor/calcite-components/QHASLHZN.js +4 -0
  174. package/dist/collection/vendor/calcite-components/QK2H5T7J.js +4 -0
  175. package/dist/collection/vendor/calcite-components/QLKHJI4P.js +4 -0
  176. package/dist/collection/vendor/calcite-components/QQ67AVDV.js +4 -0
  177. package/dist/collection/vendor/calcite-components/QU33PBBI.js +4 -0
  178. package/dist/collection/vendor/calcite-components/QYGED6CL.js +4 -0
  179. package/dist/collection/vendor/calcite-components/R3HMG2D6.js +4 -0
  180. package/dist/collection/vendor/calcite-components/R4RMVIKH.js +4 -0
  181. package/dist/collection/vendor/calcite-components/R6GNPMSV.js +4 -0
  182. package/dist/collection/vendor/calcite-components/RAFCSOOQ.js +4 -0
  183. package/dist/collection/vendor/calcite-components/RAQWKUOJ.js +4 -0
  184. package/dist/collection/vendor/calcite-components/RESHLE2Y.js +4 -0
  185. package/dist/collection/vendor/calcite-components/RJLKHCRB.js +4 -0
  186. package/dist/collection/vendor/calcite-components/RLSQLIV6.js +4 -0
  187. package/dist/collection/vendor/calcite-components/RMGYRZXR.js +4 -0
  188. package/dist/collection/vendor/calcite-components/RSAEDAEX.js +4 -0
  189. package/dist/collection/vendor/calcite-components/RUTUU2EH.js +4 -0
  190. package/dist/collection/vendor/calcite-components/RVMVJW6K.js +4 -0
  191. package/dist/collection/vendor/calcite-components/RVQMJBNS.js +4 -0
  192. package/dist/collection/vendor/calcite-components/S76CXQTI.js +4 -0
  193. package/dist/collection/vendor/calcite-components/SBZ6VJ75.js +4 -0
  194. package/dist/collection/vendor/calcite-components/SJKTCGW6.js +4 -0
  195. package/dist/collection/vendor/calcite-components/SKDMJE3X.js +4 -0
  196. package/dist/collection/vendor/calcite-components/SMUXJLDL.js +4 -0
  197. package/dist/collection/vendor/calcite-components/SYEQSDHG.js +4 -0
  198. package/dist/collection/vendor/calcite-components/T3NRBBZP.js +4 -0
  199. package/dist/collection/vendor/calcite-components/T5UPGHU3.js +4 -0
  200. package/dist/collection/vendor/calcite-components/T6HODD4B.js +4 -0
  201. package/dist/collection/vendor/calcite-components/TNR5VZG2.js +4 -0
  202. package/dist/collection/vendor/calcite-components/TQIVV2F7.js +4 -0
  203. package/dist/collection/vendor/calcite-components/TQTAM3XB.js +4 -0
  204. package/dist/collection/vendor/calcite-components/TSJJLMPA.js +4 -0
  205. package/dist/collection/vendor/calcite-components/TVDZM7WT.js +4 -0
  206. package/dist/collection/vendor/calcite-components/U3WK4DZT.js +4 -0
  207. package/dist/collection/vendor/calcite-components/U725E4ID.js +4 -0
  208. package/dist/collection/vendor/calcite-components/UELGJSYH.js +4 -0
  209. package/dist/collection/vendor/calcite-components/UJL3BWDH.js +4 -0
  210. package/dist/collection/vendor/calcite-components/URM3R65T.js +4 -0
  211. package/dist/collection/vendor/calcite-components/US3PQV6O.js +4 -0
  212. package/dist/collection/vendor/calcite-components/V4JZRN7T.js +4 -0
  213. package/dist/collection/vendor/calcite-components/VCSXFNPO.js +4 -0
  214. package/dist/collection/vendor/calcite-components/VG7BJBFG.js +4 -0
  215. package/dist/collection/vendor/calcite-components/VJD4CRQ3.js +4 -0
  216. package/dist/collection/vendor/calcite-components/VMRLYKNI.js +4 -0
  217. package/dist/collection/vendor/calcite-components/VNQNKQ2J.js +4 -0
  218. package/dist/collection/vendor/calcite-components/VST65PDC.js +4 -0
  219. package/dist/collection/vendor/calcite-components/WKTGTKRJ.js +4 -0
  220. package/dist/collection/vendor/calcite-components/WPAMFFBY.js +4 -0
  221. package/dist/collection/vendor/calcite-components/WSGL37LB.js +4 -0
  222. package/dist/collection/vendor/calcite-components/WWUBU6N5.js +4 -0
  223. package/dist/collection/vendor/calcite-components/X2UHFJHG.js +4 -0
  224. package/dist/collection/vendor/calcite-components/XBZLGRRI.js +4 -0
  225. package/dist/collection/vendor/calcite-components/XOVG6UH3.js +4 -0
  226. package/dist/collection/vendor/calcite-components/XT32TCZG.js +4 -0
  227. package/dist/collection/vendor/calcite-components/XXZIOSXQ.js +4 -0
  228. package/dist/collection/vendor/calcite-components/Y6VF7HSM.js +4 -0
  229. package/dist/collection/vendor/calcite-components/YA5A7PJR.js +4 -0
  230. package/dist/collection/vendor/calcite-components/YMRTHS5X.js +4 -0
  231. package/dist/collection/vendor/calcite-components/YTRT5XZT.js +4 -0
  232. package/dist/collection/vendor/calcite-components/YXLQFMOA.js +4 -0
  233. package/dist/collection/vendor/calcite-components/YYJSHQR3.js +4 -0
  234. package/dist/collection/vendor/calcite-components/Z6GA347Y.js +4 -0
  235. package/dist/collection/vendor/calcite-components/Z7VNUC77.js +4 -0
  236. package/dist/collection/vendor/calcite-components/ZA76CHET.js +4 -0
  237. package/dist/collection/vendor/calcite-components/ZGXTLCGJ.js +4 -0
  238. package/dist/collection/vendor/calcite-components/ZQO6E4FO.js +4 -0
  239. package/dist/collection/vendor/calcite-components/ZV442E6X.js +4 -0
  240. package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea16.json +1 -0
  241. package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea24.json +1 -0
  242. package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea32.json +1 -0
  243. package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance16.json +1 -0
  244. package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance24.json +1 -0
  245. package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance32.json +1 -0
  246. package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation16.json +1 -0
  247. package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation24.json +1 -0
  248. package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation32.json +1 -0
  249. package/dist/collection/vendor/calcite-components/calcite.css +1 -1
  250. package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
  251. package/dist/components/downloadUtils.js +11 -5
  252. package/dist/components/layer-table2.js +2 -3
  253. package/dist/components/solution-item-accordion.js +11 -1
  254. package/dist/esm/card-manager_3.entry.js +3 -4
  255. package/dist/esm/create-feature_4.entry.js +2 -2
  256. package/dist/esm/downloadUtils-700fda94.js +3223 -0
  257. package/dist/esm/feature-list.entry.js +2 -2
  258. package/dist/esm/loader.js +1 -1
  259. package/dist/esm/map-select-tools_3.entry.js +1 -1
  260. package/dist/esm/popupUtils-0e953f08.js +119 -0
  261. package/dist/esm/public-notification.entry.js +1 -1
  262. package/dist/esm/solution-item-accordion.entry.js +10 -1
  263. package/dist/esm/solutions-components.js +1 -1
  264. package/dist/solutions-components/p-02c347ec.entry.js +6 -0
  265. package/dist/solutions-components/p-3c97c203.entry.js +6 -0
  266. package/dist/solutions-components/p-689fd216.entry.js +6 -0
  267. package/dist/solutions-components/p-80c77f27.js +488 -0
  268. package/dist/solutions-components/p-91b4c80e.entry.js +6 -0
  269. package/dist/solutions-components/p-a7de6c48.js +21 -0
  270. package/dist/solutions-components/p-a961421c.entry.js +6 -0
  271. package/dist/solutions-components/p-d1d06100.entry.js +6 -0
  272. package/dist/solutions-components/solutions-components.esm.js +1 -1
  273. package/dist/solutions-components/utils/downloadUtils.ts +15 -5
  274. package/dist/solutions-components/vendor/calcite-components/22RQB3WE.js +4 -0
  275. package/dist/solutions-components/vendor/calcite-components/24SER2VV.js +4 -0
  276. package/dist/solutions-components/vendor/calcite-components/2BGMAPSV.js +4 -0
  277. package/dist/solutions-components/vendor/calcite-components/2JKKAEPM.js +4 -0
  278. package/dist/solutions-components/vendor/calcite-components/2M4WCGKG.js +4 -0
  279. package/dist/solutions-components/vendor/calcite-components/2YAXZHP2.js +4 -0
  280. package/dist/solutions-components/vendor/calcite-components/345Q4UHX.js +4 -0
  281. package/dist/solutions-components/vendor/calcite-components/36DMRAV2.js +4 -0
  282. package/dist/solutions-components/vendor/calcite-components/3DGJ6ZQI.js +4 -0
  283. package/dist/solutions-components/vendor/calcite-components/3GICXOBQ.js +4 -0
  284. package/dist/solutions-components/vendor/calcite-components/3IV6JSC2.js +4 -0
  285. package/dist/solutions-components/vendor/calcite-components/3TOVZEQB.js +4 -0
  286. package/dist/solutions-components/vendor/calcite-components/45GA6INB.js +4 -0
  287. package/dist/solutions-components/vendor/calcite-components/46U4MKUU.js +4 -0
  288. package/dist/solutions-components/vendor/calcite-components/4BSCJ722.js +4 -0
  289. package/dist/solutions-components/vendor/calcite-components/4SEPDFCP.js +5 -0
  290. package/dist/solutions-components/vendor/calcite-components/4TQLSUKH.js +4 -0
  291. package/dist/solutions-components/vendor/calcite-components/4YZ27QWL.js +4 -0
  292. package/dist/solutions-components/vendor/calcite-components/4Z7JRTON.js +4 -0
  293. package/dist/solutions-components/vendor/calcite-components/5AVZLE2Q.js +4 -0
  294. package/dist/solutions-components/vendor/calcite-components/5EPP4MG3.js +4 -0
  295. package/dist/solutions-components/vendor/calcite-components/66B2H27W.js +4 -0
  296. package/dist/solutions-components/vendor/calcite-components/6LW27BEV.js +4 -0
  297. package/dist/solutions-components/vendor/calcite-components/6OZRZ36X.js +4 -0
  298. package/dist/solutions-components/vendor/calcite-components/6X2SD2PW.js +4 -0
  299. package/dist/solutions-components/vendor/calcite-components/6XTYGXNG.js +4 -0
  300. package/dist/solutions-components/vendor/calcite-components/6ZTWHW63.js +4 -0
  301. package/dist/solutions-components/vendor/calcite-components/7D3VEEUX.js +4 -0
  302. package/dist/solutions-components/vendor/calcite-components/7E342YOK.js +4 -0
  303. package/dist/solutions-components/vendor/calcite-components/7KSGVDSR.js +4 -0
  304. package/dist/solutions-components/vendor/calcite-components/7PWETOIU.js +4 -0
  305. package/dist/solutions-components/vendor/calcite-components/7QHUEK5R.js +4 -0
  306. package/dist/solutions-components/vendor/calcite-components/7SX3RD7P.js +4 -0
  307. package/dist/solutions-components/vendor/calcite-components/7U7FF3Y4.js +4 -0
  308. package/dist/solutions-components/vendor/calcite-components/7WG5I3MP.js +4 -0
  309. package/dist/solutions-components/vendor/calcite-components/A5GGYTUQ.js +4 -0
  310. package/dist/solutions-components/vendor/calcite-components/AI3R3SU6.js +28 -0
  311. package/dist/solutions-components/vendor/calcite-components/ARHYATTG.js +4 -0
  312. package/dist/solutions-components/vendor/calcite-components/ATHBUWBY.js +4 -0
  313. package/dist/solutions-components/vendor/calcite-components/AXXJNFKZ.js +4 -0
  314. package/dist/solutions-components/vendor/calcite-components/AYZ73RWQ.js +4 -0
  315. package/dist/solutions-components/vendor/calcite-components/BAHIPAHM.js +4 -0
  316. package/dist/solutions-components/vendor/calcite-components/BRTDMTZ3.js +4 -0
  317. package/dist/solutions-components/vendor/calcite-components/BRTESQOJ.js +4 -0
  318. package/dist/solutions-components/vendor/calcite-components/BSRMWMHQ.js +4 -0
  319. package/dist/solutions-components/vendor/calcite-components/BZKF5ZXQ.js +4 -0
  320. package/dist/solutions-components/vendor/calcite-components/C46JYVUP.js +4 -0
  321. package/dist/solutions-components/vendor/calcite-components/C54C5E23.js +4 -0
  322. package/dist/solutions-components/vendor/calcite-components/CBSMKHOY.js +4 -0
  323. package/dist/solutions-components/vendor/calcite-components/CFRBQXK4.js +4 -0
  324. package/dist/solutions-components/vendor/calcite-components/CIV3PH3Z.js +4 -0
  325. package/dist/solutions-components/vendor/calcite-components/CJYTY62F.js +4 -0
  326. package/dist/solutions-components/vendor/calcite-components/CK6HQQX6.js +4 -0
  327. package/dist/solutions-components/vendor/calcite-components/CMO3X257.js +4 -0
  328. package/dist/solutions-components/vendor/calcite-components/CNO6NFH5.js +4 -0
  329. package/dist/solutions-components/vendor/calcite-components/CWPRBG3T.js +4 -0
  330. package/dist/solutions-components/vendor/calcite-components/CY6C2FDZ.js +4 -0
  331. package/dist/solutions-components/vendor/calcite-components/D2HDFE7S.js +22 -0
  332. package/dist/solutions-components/vendor/calcite-components/D36VWSDW.js +4 -0
  333. package/dist/solutions-components/vendor/calcite-components/DBVNMM6Q.js +4 -0
  334. package/dist/solutions-components/vendor/calcite-components/DDJ75RTI.js +4 -0
  335. package/dist/solutions-components/vendor/calcite-components/DH4ISGHV.js +4 -0
  336. package/dist/solutions-components/vendor/calcite-components/DNYBIAUI.js +4 -0
  337. package/dist/solutions-components/vendor/calcite-components/DT67ZFPX.js +4 -0
  338. package/dist/solutions-components/vendor/calcite-components/DTL2LM6T.js +4 -0
  339. package/dist/solutions-components/vendor/calcite-components/E3R5SMVW.js +4 -0
  340. package/dist/solutions-components/vendor/calcite-components/E4NMFIKN.js +4 -0
  341. package/dist/solutions-components/vendor/calcite-components/EAML4EDI.js +5 -0
  342. package/dist/solutions-components/vendor/calcite-components/ECEZ4R6E.js +4 -0
  343. package/dist/solutions-components/vendor/calcite-components/EFI2G5WL.js +4 -0
  344. package/dist/solutions-components/vendor/calcite-components/EHZCT5YZ.js +4 -0
  345. package/dist/solutions-components/vendor/calcite-components/EOHVH6PN.js +4 -0
  346. package/dist/solutions-components/vendor/calcite-components/ESBOJTBS.js +4 -0
  347. package/dist/solutions-components/vendor/calcite-components/F6EGRKXW.js +4 -0
  348. package/dist/solutions-components/vendor/calcite-components/FCN5RMLA.js +4 -0
  349. package/dist/solutions-components/vendor/calcite-components/FDIM6DYL.js +4 -0
  350. package/dist/solutions-components/vendor/calcite-components/FE3A3YUN.js +4 -0
  351. package/dist/solutions-components/vendor/calcite-components/FHBFGCTR.js +4 -0
  352. package/dist/solutions-components/vendor/calcite-components/FNFWOOMR.js +4 -0
  353. package/dist/solutions-components/vendor/calcite-components/FNM4DZZH.js +4 -0
  354. package/dist/solutions-components/vendor/calcite-components/G2KHDAZD.js +4 -0
  355. package/dist/solutions-components/vendor/calcite-components/G3LH75CQ.js +4 -0
  356. package/dist/solutions-components/vendor/calcite-components/G3ZJ2KQT.js +4 -0
  357. package/dist/solutions-components/vendor/calcite-components/G7WFYVUC.js +5 -0
  358. package/dist/solutions-components/vendor/calcite-components/GAAXSGWK.js +4 -0
  359. package/dist/solutions-components/vendor/calcite-components/GE63ETFI.js +4 -0
  360. package/dist/solutions-components/vendor/calcite-components/GFC7NS6P.js +4 -0
  361. package/dist/solutions-components/vendor/calcite-components/GGO5TMB4.js +4 -0
  362. package/dist/solutions-components/vendor/calcite-components/GKKCWEZX.js +4 -0
  363. package/dist/solutions-components/vendor/calcite-components/GN5CPLSJ.js +4 -0
  364. package/dist/solutions-components/vendor/calcite-components/GNUSLZWJ.js +4 -0
  365. package/dist/solutions-components/vendor/calcite-components/GOOHYN3D.js +4 -0
  366. package/dist/solutions-components/vendor/calcite-components/GPUFLCIT.js +4 -0
  367. package/dist/solutions-components/vendor/calcite-components/GSXEMGSW.js +4 -0
  368. package/dist/solutions-components/vendor/calcite-components/GYQTRH4V.js +4 -0
  369. package/dist/solutions-components/vendor/calcite-components/HFIRIAQA.js +4 -0
  370. package/dist/solutions-components/vendor/calcite-components/HGTV36FX.js +4 -0
  371. package/dist/solutions-components/vendor/calcite-components/HKHPJJ34.js +4 -0
  372. package/dist/solutions-components/vendor/calcite-components/HMVKZP47.js +4 -0
  373. package/dist/solutions-components/vendor/calcite-components/I2OIH73C.js +4 -0
  374. package/dist/solutions-components/vendor/calcite-components/I32TMNTO.js +4 -0
  375. package/dist/solutions-components/vendor/calcite-components/I62DUDHI.js +4 -0
  376. package/dist/solutions-components/vendor/calcite-components/IH4RXHJJ.js +4 -0
  377. package/dist/solutions-components/vendor/calcite-components/IJCTXZQB.js +4 -0
  378. package/dist/solutions-components/vendor/calcite-components/IXRMDUEL.js +4 -0
  379. package/dist/solutions-components/vendor/calcite-components/IYDN67SF.js +4 -0
  380. package/dist/solutions-components/vendor/calcite-components/JCWM5Z43.js +4 -0
  381. package/dist/solutions-components/vendor/calcite-components/JEX42CPR.js +4 -0
  382. package/dist/solutions-components/vendor/calcite-components/JFYDLHH7.js +4 -0
  383. package/dist/solutions-components/vendor/calcite-components/JLZYAYOL.js +4 -0
  384. package/dist/solutions-components/vendor/calcite-components/JUNCR7R2.js +4 -0
  385. package/dist/solutions-components/vendor/calcite-components/JVNEJ36Z.js +4 -0
  386. package/dist/solutions-components/vendor/calcite-components/K3ZBW4GY.js +4 -0
  387. package/dist/solutions-components/vendor/calcite-components/KBDXI6DJ.js +4 -0
  388. package/dist/solutions-components/vendor/calcite-components/KBNS3CCT.js +4 -0
  389. package/dist/solutions-components/vendor/calcite-components/KI2NOBMU.js +4 -0
  390. package/dist/solutions-components/vendor/calcite-components/KSNEQFZX.js +4 -0
  391. package/dist/solutions-components/vendor/calcite-components/KSVYAIHK.js +4 -0
  392. package/dist/solutions-components/vendor/calcite-components/KULDQOV2.js +4 -0
  393. package/dist/solutions-components/vendor/calcite-components/KVSCG5E3.js +6 -0
  394. package/dist/solutions-components/vendor/calcite-components/KW57BHXD.js +4 -0
  395. package/dist/solutions-components/vendor/calcite-components/KWOOGTG2.js +4 -0
  396. package/dist/solutions-components/vendor/calcite-components/L5FDXQMT.js +4 -0
  397. package/dist/solutions-components/vendor/calcite-components/LB5ATL5Q.js +4 -0
  398. package/dist/solutions-components/vendor/calcite-components/LH7KSBQC.js +4 -0
  399. package/dist/solutions-components/vendor/calcite-components/LHSAAMYQ.js +4 -0
  400. package/dist/solutions-components/vendor/calcite-components/LILDCWFX.js +4 -0
  401. package/dist/solutions-components/vendor/calcite-components/LLSB73WA.js +4 -0
  402. package/dist/solutions-components/vendor/calcite-components/LOZEGKG2.js +4 -0
  403. package/dist/solutions-components/vendor/calcite-components/MBQZPRQ5.js +4 -0
  404. package/dist/solutions-components/vendor/calcite-components/MCSX2S5T.js +4 -0
  405. package/dist/solutions-components/vendor/calcite-components/MIKGJ3NM.js +4 -0
  406. package/dist/solutions-components/vendor/calcite-components/MPAVJ7UH.js +4 -0
  407. package/dist/solutions-components/vendor/calcite-components/MPX2M2VX.js +4 -0
  408. package/dist/solutions-components/vendor/calcite-components/MQYH4ONZ.js +4 -0
  409. package/dist/solutions-components/vendor/calcite-components/MUWK32IE.js +4 -0
  410. package/dist/solutions-components/vendor/calcite-components/MZRO54UT.js +4 -0
  411. package/dist/solutions-components/vendor/calcite-components/N2BVYYYP.js +4 -0
  412. package/dist/solutions-components/vendor/calcite-components/N4MN6VQ7.js +4 -0
  413. package/dist/solutions-components/vendor/calcite-components/N55N67N5.js +4 -0
  414. package/dist/solutions-components/vendor/calcite-components/NODC2JA6.js +4 -0
  415. package/dist/solutions-components/vendor/calcite-components/NVBNX55L.js +4 -0
  416. package/dist/solutions-components/vendor/calcite-components/NWVCPRVB.js +4 -0
  417. package/dist/solutions-components/vendor/calcite-components/O4O3TSE5.js +4 -0
  418. package/dist/solutions-components/vendor/calcite-components/OE2AH2NC.js +4 -0
  419. package/dist/solutions-components/vendor/calcite-components/OGED6PPP.js +4 -0
  420. package/dist/solutions-components/vendor/calcite-components/OHOS32IT.js +4 -0
  421. package/dist/solutions-components/vendor/calcite-components/OLMX7G3J.js +4 -0
  422. package/dist/solutions-components/vendor/calcite-components/OOSULFCY.js +4 -0
  423. package/dist/solutions-components/vendor/calcite-components/OPBQNK7J.js +4 -0
  424. package/dist/solutions-components/vendor/calcite-components/OTHVFLNW.js +4 -0
  425. package/dist/solutions-components/vendor/calcite-components/OTUG3NVT.js +4 -0
  426. package/dist/solutions-components/vendor/calcite-components/PNHR5K2L.js +4 -0
  427. package/dist/solutions-components/vendor/calcite-components/PT2XMADA.js +4 -0
  428. package/dist/solutions-components/vendor/calcite-components/PZLVQQMT.js +4 -0
  429. package/dist/solutions-components/vendor/calcite-components/QAYSDI3M.js +5 -0
  430. package/dist/solutions-components/vendor/calcite-components/QCGLMLKW.js +4 -0
  431. package/dist/solutions-components/vendor/calcite-components/QHASLHZN.js +4 -0
  432. package/dist/solutions-components/vendor/calcite-components/QK2H5T7J.js +4 -0
  433. package/dist/solutions-components/vendor/calcite-components/QLKHJI4P.js +4 -0
  434. package/dist/solutions-components/vendor/calcite-components/QQ67AVDV.js +4 -0
  435. package/dist/solutions-components/vendor/calcite-components/QU33PBBI.js +4 -0
  436. package/dist/solutions-components/vendor/calcite-components/QYGED6CL.js +4 -0
  437. package/dist/solutions-components/vendor/calcite-components/R3HMG2D6.js +4 -0
  438. package/dist/solutions-components/vendor/calcite-components/R4RMVIKH.js +4 -0
  439. package/dist/solutions-components/vendor/calcite-components/R6GNPMSV.js +4 -0
  440. package/dist/solutions-components/vendor/calcite-components/RAFCSOOQ.js +4 -0
  441. package/dist/solutions-components/vendor/calcite-components/RAQWKUOJ.js +4 -0
  442. package/dist/solutions-components/vendor/calcite-components/RESHLE2Y.js +4 -0
  443. package/dist/solutions-components/vendor/calcite-components/RJLKHCRB.js +4 -0
  444. package/dist/solutions-components/vendor/calcite-components/RLSQLIV6.js +4 -0
  445. package/dist/solutions-components/vendor/calcite-components/RMGYRZXR.js +4 -0
  446. package/dist/solutions-components/vendor/calcite-components/RSAEDAEX.js +4 -0
  447. package/dist/solutions-components/vendor/calcite-components/RUTUU2EH.js +4 -0
  448. package/dist/solutions-components/vendor/calcite-components/RVMVJW6K.js +4 -0
  449. package/dist/solutions-components/vendor/calcite-components/RVQMJBNS.js +4 -0
  450. package/dist/solutions-components/vendor/calcite-components/S76CXQTI.js +4 -0
  451. package/dist/solutions-components/vendor/calcite-components/SBZ6VJ75.js +4 -0
  452. package/dist/solutions-components/vendor/calcite-components/SJKTCGW6.js +4 -0
  453. package/dist/solutions-components/vendor/calcite-components/SKDMJE3X.js +4 -0
  454. package/dist/solutions-components/vendor/calcite-components/SMUXJLDL.js +4 -0
  455. package/dist/solutions-components/vendor/calcite-components/SYEQSDHG.js +4 -0
  456. package/dist/solutions-components/vendor/calcite-components/T3NRBBZP.js +4 -0
  457. package/dist/solutions-components/vendor/calcite-components/T5UPGHU3.js +4 -0
  458. package/dist/solutions-components/vendor/calcite-components/T6HODD4B.js +4 -0
  459. package/dist/solutions-components/vendor/calcite-components/TNR5VZG2.js +4 -0
  460. package/dist/solutions-components/vendor/calcite-components/TQIVV2F7.js +4 -0
  461. package/dist/solutions-components/vendor/calcite-components/TQTAM3XB.js +4 -0
  462. package/dist/solutions-components/vendor/calcite-components/TSJJLMPA.js +4 -0
  463. package/dist/solutions-components/vendor/calcite-components/TVDZM7WT.js +4 -0
  464. package/dist/solutions-components/vendor/calcite-components/U3WK4DZT.js +4 -0
  465. package/dist/solutions-components/vendor/calcite-components/U725E4ID.js +4 -0
  466. package/dist/solutions-components/vendor/calcite-components/UELGJSYH.js +4 -0
  467. package/dist/solutions-components/vendor/calcite-components/UJL3BWDH.js +4 -0
  468. package/dist/solutions-components/vendor/calcite-components/URM3R65T.js +4 -0
  469. package/dist/solutions-components/vendor/calcite-components/US3PQV6O.js +4 -0
  470. package/dist/solutions-components/vendor/calcite-components/V4JZRN7T.js +4 -0
  471. package/dist/solutions-components/vendor/calcite-components/VCSXFNPO.js +4 -0
  472. package/dist/solutions-components/vendor/calcite-components/VG7BJBFG.js +4 -0
  473. package/dist/solutions-components/vendor/calcite-components/VJD4CRQ3.js +4 -0
  474. package/dist/solutions-components/vendor/calcite-components/VMRLYKNI.js +4 -0
  475. package/dist/solutions-components/vendor/calcite-components/VNQNKQ2J.js +4 -0
  476. package/dist/solutions-components/vendor/calcite-components/VST65PDC.js +4 -0
  477. package/dist/solutions-components/vendor/calcite-components/WKTGTKRJ.js +4 -0
  478. package/dist/solutions-components/vendor/calcite-components/WPAMFFBY.js +4 -0
  479. package/dist/solutions-components/vendor/calcite-components/WSGL37LB.js +4 -0
  480. package/dist/solutions-components/vendor/calcite-components/WWUBU6N5.js +4 -0
  481. package/dist/solutions-components/vendor/calcite-components/X2UHFJHG.js +4 -0
  482. package/dist/solutions-components/vendor/calcite-components/XBZLGRRI.js +4 -0
  483. package/dist/solutions-components/vendor/calcite-components/XOVG6UH3.js +4 -0
  484. package/dist/solutions-components/vendor/calcite-components/XT32TCZG.js +4 -0
  485. package/dist/solutions-components/vendor/calcite-components/XXZIOSXQ.js +4 -0
  486. package/dist/solutions-components/vendor/calcite-components/Y6VF7HSM.js +4 -0
  487. package/dist/solutions-components/vendor/calcite-components/YA5A7PJR.js +4 -0
  488. package/dist/solutions-components/vendor/calcite-components/YMRTHS5X.js +4 -0
  489. package/dist/solutions-components/vendor/calcite-components/YTRT5XZT.js +4 -0
  490. package/dist/solutions-components/vendor/calcite-components/YXLQFMOA.js +4 -0
  491. package/dist/solutions-components/vendor/calcite-components/YYJSHQR3.js +4 -0
  492. package/dist/solutions-components/vendor/calcite-components/Z6GA347Y.js +4 -0
  493. package/dist/solutions-components/vendor/calcite-components/Z7VNUC77.js +4 -0
  494. package/dist/solutions-components/vendor/calcite-components/ZA76CHET.js +4 -0
  495. package/dist/solutions-components/vendor/calcite-components/ZGXTLCGJ.js +4 -0
  496. package/dist/solutions-components/vendor/calcite-components/ZQO6E4FO.js +4 -0
  497. package/dist/solutions-components/vendor/calcite-components/ZV442E6X.js +4 -0
  498. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea16.json +1 -0
  499. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea24.json +1 -0
  500. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea32.json +1 -0
  501. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance16.json +1 -0
  502. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance24.json +1 -0
  503. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance32.json +1 -0
  504. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation16.json +1 -0
  505. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation24.json +1 -0
  506. package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation32.json +1 -0
  507. package/dist/solutions-components/vendor/calcite-components/calcite.css +1 -1
  508. package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
  509. package/dist/solutions-components_commit.txt +6 -6
  510. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +4 -0
  511. package/dist/types/components.d.ts +4 -0
  512. package/dist/types/utils/downloadUtils.d.ts +1 -1
  513. package/package.json +3 -3
  514. package/dist/cjs/downloadUtils-da9e19c6.js +0 -3223
  515. package/dist/cjs/popupUtils-69ad52f5.js +0 -121
  516. package/dist/collection/vendor/calcite-components/24XPU7PW.js +0 -4
  517. package/dist/collection/vendor/calcite-components/26HZKUXD.js +0 -4
  518. package/dist/collection/vendor/calcite-components/2DZDH5PW.js +0 -4
  519. package/dist/collection/vendor/calcite-components/2E4H4XCR.js +0 -5
  520. package/dist/collection/vendor/calcite-components/2FEK4CRN.js +0 -4
  521. package/dist/collection/vendor/calcite-components/2JG564MO.js +0 -4
  522. package/dist/collection/vendor/calcite-components/2Q4UEB7G.js +0 -4
  523. package/dist/collection/vendor/calcite-components/2RPVHRRK.js +0 -4
  524. package/dist/collection/vendor/calcite-components/2UCHSNWA.js +0 -4
  525. package/dist/collection/vendor/calcite-components/36XNABTH.js +0 -5
  526. package/dist/collection/vendor/calcite-components/3AQ2GZOJ.js +0 -4
  527. package/dist/collection/vendor/calcite-components/3BLAL4BM.js +0 -4
  528. package/dist/collection/vendor/calcite-components/3FMVZYYJ.js +0 -4
  529. package/dist/collection/vendor/calcite-components/3H4RHBLC.js +0 -4
  530. package/dist/collection/vendor/calcite-components/3HPRXYKG.js +0 -4
  531. package/dist/collection/vendor/calcite-components/3NQ3MF4Y.js +0 -4
  532. package/dist/collection/vendor/calcite-components/3QYPPYKC.js +0 -4
  533. package/dist/collection/vendor/calcite-components/3SN4BPNU.js +0 -4
  534. package/dist/collection/vendor/calcite-components/3TSDVYMK.js +0 -4
  535. package/dist/collection/vendor/calcite-components/44IELQRN.js +0 -4
  536. package/dist/collection/vendor/calcite-components/4EXGV2JM.js +0 -4
  537. package/dist/collection/vendor/calcite-components/4FFNZW2T.js +0 -4
  538. package/dist/collection/vendor/calcite-components/4IAN6EPQ.js +0 -4
  539. package/dist/collection/vendor/calcite-components/4LP6XZGU.js +0 -4
  540. package/dist/collection/vendor/calcite-components/5F57XCO4.js +0 -4
  541. package/dist/collection/vendor/calcite-components/5GKGAQME.js +0 -4
  542. package/dist/collection/vendor/calcite-components/5IDYJYNO.js +0 -4
  543. package/dist/collection/vendor/calcite-components/5NCQFUYM.js +0 -4
  544. package/dist/collection/vendor/calcite-components/5URVZAO7.js +0 -4
  545. package/dist/collection/vendor/calcite-components/5VK4UUOT.js +0 -4
  546. package/dist/collection/vendor/calcite-components/675BA2OJ.js +0 -4
  547. package/dist/collection/vendor/calcite-components/6BYBFB5X.js +0 -4
  548. package/dist/collection/vendor/calcite-components/6GYLT3HR.js +0 -4
  549. package/dist/collection/vendor/calcite-components/6HR6FZG5.js +0 -4
  550. package/dist/collection/vendor/calcite-components/6MXVP647.js +0 -4
  551. package/dist/collection/vendor/calcite-components/6ZVC3UDX.js +0 -4
  552. package/dist/collection/vendor/calcite-components/7DCX244D.js +0 -4
  553. package/dist/collection/vendor/calcite-components/7IVGC34Z.js +0 -4
  554. package/dist/collection/vendor/calcite-components/7MWKFHAB.js +0 -4
  555. package/dist/collection/vendor/calcite-components/7XHO3OGL.js +0 -4
  556. package/dist/collection/vendor/calcite-components/7ZKEYSIK.js +0 -4
  557. package/dist/collection/vendor/calcite-components/A55GXE4D.js +0 -4
  558. package/dist/collection/vendor/calcite-components/ANPPDEZT.js +0 -4
  559. package/dist/collection/vendor/calcite-components/AQU64FML.js +0 -4
  560. package/dist/collection/vendor/calcite-components/BWIN7F7V.js +0 -4
  561. package/dist/collection/vendor/calcite-components/CMPWL5OR.js +0 -4
  562. package/dist/collection/vendor/calcite-components/D2RJ2NDD.js +0 -4
  563. package/dist/collection/vendor/calcite-components/D7XRLD6B.js +0 -4
  564. package/dist/collection/vendor/calcite-components/DARUTTL6.js +0 -4
  565. package/dist/collection/vendor/calcite-components/DQUWVHQ4.js +0 -4
  566. package/dist/collection/vendor/calcite-components/DS66T4UB.js +0 -4
  567. package/dist/collection/vendor/calcite-components/DTEXOHOC.js +0 -4
  568. package/dist/collection/vendor/calcite-components/DWP35FP5.js +0 -4
  569. package/dist/collection/vendor/calcite-components/E4V4WLG3.js +0 -4
  570. package/dist/collection/vendor/calcite-components/E7BZN4HI.js +0 -4
  571. package/dist/collection/vendor/calcite-components/E7L45EZX.js +0 -4
  572. package/dist/collection/vendor/calcite-components/EAA5CDC7.js +0 -4
  573. package/dist/collection/vendor/calcite-components/EBQYZOJE.js +0 -4
  574. package/dist/collection/vendor/calcite-components/EEY7KS7V.js +0 -4
  575. package/dist/collection/vendor/calcite-components/EF4LF7JA.js +0 -4
  576. package/dist/collection/vendor/calcite-components/EG3KFCKT.js +0 -4
  577. package/dist/collection/vendor/calcite-components/EIKWAET5.js +0 -4
  578. package/dist/collection/vendor/calcite-components/ELQHGUUQ.js +0 -4
  579. package/dist/collection/vendor/calcite-components/ERSOIATK.js +0 -4
  580. package/dist/collection/vendor/calcite-components/EV222TOH.js +0 -4
  581. package/dist/collection/vendor/calcite-components/FBYOJ4XP.js +0 -4
  582. package/dist/collection/vendor/calcite-components/FD23ZJ5M.js +0 -4
  583. package/dist/collection/vendor/calcite-components/FKRFYIK4.js +0 -4
  584. package/dist/collection/vendor/calcite-components/FMQW5CPG.js +0 -4
  585. package/dist/collection/vendor/calcite-components/FO5IP7GC.js +0 -4
  586. package/dist/collection/vendor/calcite-components/FT75A5FT.js +0 -4
  587. package/dist/collection/vendor/calcite-components/FXQZQREX.js +0 -4
  588. package/dist/collection/vendor/calcite-components/FYRRB4YU.js +0 -4
  589. package/dist/collection/vendor/calcite-components/G4WSCO7F.js +0 -4
  590. package/dist/collection/vendor/calcite-components/G5LIFWLC.js +0 -4
  591. package/dist/collection/vendor/calcite-components/GCYW34DH.js +0 -4
  592. package/dist/collection/vendor/calcite-components/GD4KAPIS.js +0 -4
  593. package/dist/collection/vendor/calcite-components/GM2DDQTV.js +0 -4
  594. package/dist/collection/vendor/calcite-components/GO2WSYWK.js +0 -4
  595. package/dist/collection/vendor/calcite-components/GPCQIKHB.js +0 -4
  596. package/dist/collection/vendor/calcite-components/GWFN65PG.js +0 -4
  597. package/dist/collection/vendor/calcite-components/GYIYX666.js +0 -4
  598. package/dist/collection/vendor/calcite-components/H373LLT7.js +0 -4
  599. package/dist/collection/vendor/calcite-components/HANIGQEU.js +0 -4
  600. package/dist/collection/vendor/calcite-components/HBWBBKTZ.js +0 -4
  601. package/dist/collection/vendor/calcite-components/HPQH2IQI.js +0 -4
  602. package/dist/collection/vendor/calcite-components/HVFHWDZS.js +0 -4
  603. package/dist/collection/vendor/calcite-components/HZ2CJF4H.js +0 -4
  604. package/dist/collection/vendor/calcite-components/ICQDC5MP.js +0 -4
  605. package/dist/collection/vendor/calcite-components/IUPHPQ5W.js +0 -4
  606. package/dist/collection/vendor/calcite-components/JDC4CCNQ.js +0 -4
  607. package/dist/collection/vendor/calcite-components/JG5U4L3H.js +0 -4
  608. package/dist/collection/vendor/calcite-components/JIZ3ZUNT.js +0 -4
  609. package/dist/collection/vendor/calcite-components/JLOMSYFQ.js +0 -4
  610. package/dist/collection/vendor/calcite-components/JLTNOBGF.js +0 -4
  611. package/dist/collection/vendor/calcite-components/JN54BWVD.js +0 -4
  612. package/dist/collection/vendor/calcite-components/JN6GQD32.js +0 -4
  613. package/dist/collection/vendor/calcite-components/JPISN7UU.js +0 -4
  614. package/dist/collection/vendor/calcite-components/JUAKRLPE.js +0 -4
  615. package/dist/collection/vendor/calcite-components/JWG3XWKS.js +0 -4
  616. package/dist/collection/vendor/calcite-components/JXO6Q6PC.js +0 -4
  617. package/dist/collection/vendor/calcite-components/JZGJVQKB.js +0 -4
  618. package/dist/collection/vendor/calcite-components/K6ALYIOD.js +0 -4
  619. package/dist/collection/vendor/calcite-components/KDJM5H4R.js +0 -4
  620. package/dist/collection/vendor/calcite-components/KHJ3WR7G.js +0 -4
  621. package/dist/collection/vendor/calcite-components/KKIWAHJ5.js +0 -4
  622. package/dist/collection/vendor/calcite-components/KTBWW64D.js +0 -4
  623. package/dist/collection/vendor/calcite-components/KU2O6B36.js +0 -4
  624. package/dist/collection/vendor/calcite-components/KVUPM4TA.js +0 -4
  625. package/dist/collection/vendor/calcite-components/KX7ZCSRX.js +0 -4
  626. package/dist/collection/vendor/calcite-components/L23DZQI6.js +0 -4
  627. package/dist/collection/vendor/calcite-components/L2A3CRIP.js +0 -4
  628. package/dist/collection/vendor/calcite-components/L37A2ISQ.js +0 -4
  629. package/dist/collection/vendor/calcite-components/LAVRP2RO.js +0 -4
  630. package/dist/collection/vendor/calcite-components/LKSA6W5F.js +0 -4
  631. package/dist/collection/vendor/calcite-components/LL7Q6H5L.js +0 -4
  632. package/dist/collection/vendor/calcite-components/LM2XVEJC.js +0 -4
  633. package/dist/collection/vendor/calcite-components/LRGSGD6G.js +0 -4
  634. package/dist/collection/vendor/calcite-components/LSIQC7QO.js +0 -4
  635. package/dist/collection/vendor/calcite-components/LX3BNN2R.js +0 -4
  636. package/dist/collection/vendor/calcite-components/M25GARCS.js +0 -4
  637. package/dist/collection/vendor/calcite-components/M4GN65AZ.js +0 -4
  638. package/dist/collection/vendor/calcite-components/MDFZXOFP.js +0 -5
  639. package/dist/collection/vendor/calcite-components/MIBXI2CI.js +0 -4
  640. package/dist/collection/vendor/calcite-components/MRFLH6RW.js +0 -4
  641. package/dist/collection/vendor/calcite-components/MUSZ6RWB.js +0 -4
  642. package/dist/collection/vendor/calcite-components/MX5EJ4DJ.js +0 -4
  643. package/dist/collection/vendor/calcite-components/MX7YVZ2Z.js +0 -4
  644. package/dist/collection/vendor/calcite-components/MYZF2YXM.js +0 -4
  645. package/dist/collection/vendor/calcite-components/N65J4BH6.js +0 -4
  646. package/dist/collection/vendor/calcite-components/N7POKTYM.js +0 -4
  647. package/dist/collection/vendor/calcite-components/NGWZQ4DF.js +0 -4
  648. package/dist/collection/vendor/calcite-components/NH5KER32.js +0 -4
  649. package/dist/collection/vendor/calcite-components/NIUCAKLC.js +0 -4
  650. package/dist/collection/vendor/calcite-components/NJILTUYU.js +0 -4
  651. package/dist/collection/vendor/calcite-components/NNB7RMSP.js +0 -4
  652. package/dist/collection/vendor/calcite-components/NP5LTTOS.js +0 -4
  653. package/dist/collection/vendor/calcite-components/NU3PWREF.js +0 -4
  654. package/dist/collection/vendor/calcite-components/NZDSRTUF.js +0 -4
  655. package/dist/collection/vendor/calcite-components/O4LXC5MV.js +0 -4
  656. package/dist/collection/vendor/calcite-components/OJGLTFDQ.js +0 -4
  657. package/dist/collection/vendor/calcite-components/OM2SDJA4.js +0 -4
  658. package/dist/collection/vendor/calcite-components/OY3RU7OI.js +0 -4
  659. package/dist/collection/vendor/calcite-components/P7LZIGH7.js +0 -4
  660. package/dist/collection/vendor/calcite-components/PF4XEEY5.js +0 -4
  661. package/dist/collection/vendor/calcite-components/PODUJS2H.js +0 -4
  662. package/dist/collection/vendor/calcite-components/PTGDUPKQ.js +0 -4
  663. package/dist/collection/vendor/calcite-components/PULE4IG4.js +0 -4
  664. package/dist/collection/vendor/calcite-components/PYAEZBTT.js +0 -4
  665. package/dist/collection/vendor/calcite-components/Q4DBJLCB.js +0 -4
  666. package/dist/collection/vendor/calcite-components/Q5CP47UX.js +0 -4
  667. package/dist/collection/vendor/calcite-components/QBKTBLGQ.js +0 -4
  668. package/dist/collection/vendor/calcite-components/QBQA4E7G.js +0 -4
  669. package/dist/collection/vendor/calcite-components/QETLRCQW.js +0 -4
  670. package/dist/collection/vendor/calcite-components/QQDFER4A.js +0 -4
  671. package/dist/collection/vendor/calcite-components/QUUN5YJ3.js +0 -4
  672. package/dist/collection/vendor/calcite-components/RAGSXTXM.js +0 -4
  673. package/dist/collection/vendor/calcite-components/RCSWE64T.js +0 -4
  674. package/dist/collection/vendor/calcite-components/REFBGNGF.js +0 -4
  675. package/dist/collection/vendor/calcite-components/RJMOC4XG.js +0 -4
  676. package/dist/collection/vendor/calcite-components/RLL47KJQ.js +0 -4
  677. package/dist/collection/vendor/calcite-components/RNT7J5MG.js +0 -4
  678. package/dist/collection/vendor/calcite-components/RPYN5IF2.js +0 -4
  679. package/dist/collection/vendor/calcite-components/RRML3L24.js +0 -4
  680. package/dist/collection/vendor/calcite-components/RRVJ5QUL.js +0 -4
  681. package/dist/collection/vendor/calcite-components/RZO7PXBY.js +0 -4
  682. package/dist/collection/vendor/calcite-components/SHIRLQTM.js +0 -4
  683. package/dist/collection/vendor/calcite-components/SKNFNI3G.js +0 -4
  684. package/dist/collection/vendor/calcite-components/SYRJFWC5.js +0 -4
  685. package/dist/collection/vendor/calcite-components/T3GBBB3W.js +0 -4
  686. package/dist/collection/vendor/calcite-components/TQ427GJX.js +0 -6
  687. package/dist/collection/vendor/calcite-components/TRWHGTOM.js +0 -4
  688. package/dist/collection/vendor/calcite-components/TTYJV2AA.js +0 -4
  689. package/dist/collection/vendor/calcite-components/TWJJYAQX.js +0 -4
  690. package/dist/collection/vendor/calcite-components/U34FMDPO.js +0 -4
  691. package/dist/collection/vendor/calcite-components/UEMF24J4.js +0 -4
  692. package/dist/collection/vendor/calcite-components/UIX5KJAH.js +0 -4
  693. package/dist/collection/vendor/calcite-components/UK4MHTX3.js +0 -4
  694. package/dist/collection/vendor/calcite-components/UMC66FPD.js +0 -4
  695. package/dist/collection/vendor/calcite-components/UOWQEKZ5.js +0 -4
  696. package/dist/collection/vendor/calcite-components/UTQXVQSW.js +0 -4
  697. package/dist/collection/vendor/calcite-components/UZXKQDX5.js +0 -4
  698. package/dist/collection/vendor/calcite-components/VB5TESRK.js +0 -4
  699. package/dist/collection/vendor/calcite-components/VHJ3N6C3.js +0 -4
  700. package/dist/collection/vendor/calcite-components/VY7WVWHH.js +0 -4
  701. package/dist/collection/vendor/calcite-components/W34LH35I.js +0 -4
  702. package/dist/collection/vendor/calcite-components/W5SJYIG6.js +0 -4
  703. package/dist/collection/vendor/calcite-components/W7LKQZLC.js +0 -4
  704. package/dist/collection/vendor/calcite-components/WA5XUN7A.js +0 -4
  705. package/dist/collection/vendor/calcite-components/WEMPP7QH.js +0 -4
  706. package/dist/collection/vendor/calcite-components/WK57IMVA.js +0 -4
  707. package/dist/collection/vendor/calcite-components/WUO5GRAC.js +0 -5
  708. package/dist/collection/vendor/calcite-components/WVYNOISK.js +0 -4
  709. package/dist/collection/vendor/calcite-components/X3DSV2RP.js +0 -4
  710. package/dist/collection/vendor/calcite-components/X533PSPQ.js +0 -4
  711. package/dist/collection/vendor/calcite-components/XCP7OFYG.js +0 -4
  712. package/dist/collection/vendor/calcite-components/XHSJC65M.js +0 -22
  713. package/dist/collection/vendor/calcite-components/XNYI7YNV.js +0 -4
  714. package/dist/collection/vendor/calcite-components/XOXXCOFR.js +0 -4
  715. package/dist/collection/vendor/calcite-components/XWL453TD.js +0 -4
  716. package/dist/collection/vendor/calcite-components/XZCNA3MO.js +0 -4
  717. package/dist/collection/vendor/calcite-components/XZIEBVH3.js +0 -4
  718. package/dist/collection/vendor/calcite-components/Y2RMF5RD.js +0 -4
  719. package/dist/collection/vendor/calcite-components/Y5K6MWVI.js +0 -4
  720. package/dist/collection/vendor/calcite-components/Y73JSF6U.js +0 -4
  721. package/dist/collection/vendor/calcite-components/YDHV53C4.js +0 -4
  722. package/dist/collection/vendor/calcite-components/YFD73VVO.js +0 -4
  723. package/dist/collection/vendor/calcite-components/YGSOHLPD.js +0 -4
  724. package/dist/collection/vendor/calcite-components/YLRKAY6P.js +0 -4
  725. package/dist/collection/vendor/calcite-components/YMGAVFBF.js +0 -4
  726. package/dist/collection/vendor/calcite-components/YORUNTUJ.js +0 -4
  727. package/dist/collection/vendor/calcite-components/YQW2HZIZ.js +0 -4
  728. package/dist/collection/vendor/calcite-components/YU4QMLUK.js +0 -4
  729. package/dist/collection/vendor/calcite-components/Z5W27AI4.js +0 -4
  730. package/dist/collection/vendor/calcite-components/ZB7BTUGE.js +0 -4
  731. package/dist/collection/vendor/calcite-components/ZBMTRW4F.js +0 -4
  732. package/dist/collection/vendor/calcite-components/ZGKKQBVA.js +0 -4
  733. package/dist/collection/vendor/calcite-components/ZH3CXIUL.js +0 -4
  734. package/dist/collection/vendor/calcite-components/ZIFGJROL.js +0 -4
  735. package/dist/collection/vendor/calcite-components/ZL7RFBBU.js +0 -28
  736. package/dist/collection/vendor/calcite-components/ZLP5NNFX.js +0 -4
  737. package/dist/collection/vendor/calcite-components/ZQRVWYDH.js +0 -4
  738. package/dist/esm/downloadUtils-0b6677dc.js +0 -3217
  739. package/dist/esm/popupUtils-9233302d.js +0 -119
  740. package/dist/solutions-components/p-4084e2d1.js +0 -488
  741. package/dist/solutions-components/p-4294c7e6.entry.js +0 -6
  742. package/dist/solutions-components/p-477dbafa.entry.js +0 -6
  743. package/dist/solutions-components/p-83f0dd3b.entry.js +0 -6
  744. package/dist/solutions-components/p-87ae2979.entry.js +0 -6
  745. package/dist/solutions-components/p-9777c01f.entry.js +0 -6
  746. package/dist/solutions-components/p-ee8fa795.entry.js +0 -6
  747. package/dist/solutions-components/p-f3003b3a.js +0 -21
  748. package/dist/solutions-components/vendor/calcite-components/24XPU7PW.js +0 -4
  749. package/dist/solutions-components/vendor/calcite-components/26HZKUXD.js +0 -4
  750. package/dist/solutions-components/vendor/calcite-components/2DZDH5PW.js +0 -4
  751. package/dist/solutions-components/vendor/calcite-components/2E4H4XCR.js +0 -5
  752. package/dist/solutions-components/vendor/calcite-components/2FEK4CRN.js +0 -4
  753. package/dist/solutions-components/vendor/calcite-components/2JG564MO.js +0 -4
  754. package/dist/solutions-components/vendor/calcite-components/2Q4UEB7G.js +0 -4
  755. package/dist/solutions-components/vendor/calcite-components/2RPVHRRK.js +0 -4
  756. package/dist/solutions-components/vendor/calcite-components/2UCHSNWA.js +0 -4
  757. package/dist/solutions-components/vendor/calcite-components/36XNABTH.js +0 -5
  758. package/dist/solutions-components/vendor/calcite-components/3AQ2GZOJ.js +0 -4
  759. package/dist/solutions-components/vendor/calcite-components/3BLAL4BM.js +0 -4
  760. package/dist/solutions-components/vendor/calcite-components/3FMVZYYJ.js +0 -4
  761. package/dist/solutions-components/vendor/calcite-components/3H4RHBLC.js +0 -4
  762. package/dist/solutions-components/vendor/calcite-components/3HPRXYKG.js +0 -4
  763. package/dist/solutions-components/vendor/calcite-components/3NQ3MF4Y.js +0 -4
  764. package/dist/solutions-components/vendor/calcite-components/3QYPPYKC.js +0 -4
  765. package/dist/solutions-components/vendor/calcite-components/3SN4BPNU.js +0 -4
  766. package/dist/solutions-components/vendor/calcite-components/3TSDVYMK.js +0 -4
  767. package/dist/solutions-components/vendor/calcite-components/44IELQRN.js +0 -4
  768. package/dist/solutions-components/vendor/calcite-components/4EXGV2JM.js +0 -4
  769. package/dist/solutions-components/vendor/calcite-components/4FFNZW2T.js +0 -4
  770. package/dist/solutions-components/vendor/calcite-components/4IAN6EPQ.js +0 -4
  771. package/dist/solutions-components/vendor/calcite-components/4LP6XZGU.js +0 -4
  772. package/dist/solutions-components/vendor/calcite-components/5F57XCO4.js +0 -4
  773. package/dist/solutions-components/vendor/calcite-components/5GKGAQME.js +0 -4
  774. package/dist/solutions-components/vendor/calcite-components/5IDYJYNO.js +0 -4
  775. package/dist/solutions-components/vendor/calcite-components/5NCQFUYM.js +0 -4
  776. package/dist/solutions-components/vendor/calcite-components/5URVZAO7.js +0 -4
  777. package/dist/solutions-components/vendor/calcite-components/5VK4UUOT.js +0 -4
  778. package/dist/solutions-components/vendor/calcite-components/675BA2OJ.js +0 -4
  779. package/dist/solutions-components/vendor/calcite-components/6BYBFB5X.js +0 -4
  780. package/dist/solutions-components/vendor/calcite-components/6GYLT3HR.js +0 -4
  781. package/dist/solutions-components/vendor/calcite-components/6HR6FZG5.js +0 -4
  782. package/dist/solutions-components/vendor/calcite-components/6MXVP647.js +0 -4
  783. package/dist/solutions-components/vendor/calcite-components/6ZVC3UDX.js +0 -4
  784. package/dist/solutions-components/vendor/calcite-components/7DCX244D.js +0 -4
  785. package/dist/solutions-components/vendor/calcite-components/7IVGC34Z.js +0 -4
  786. package/dist/solutions-components/vendor/calcite-components/7MWKFHAB.js +0 -4
  787. package/dist/solutions-components/vendor/calcite-components/7XHO3OGL.js +0 -4
  788. package/dist/solutions-components/vendor/calcite-components/7ZKEYSIK.js +0 -4
  789. package/dist/solutions-components/vendor/calcite-components/A55GXE4D.js +0 -4
  790. package/dist/solutions-components/vendor/calcite-components/ANPPDEZT.js +0 -4
  791. package/dist/solutions-components/vendor/calcite-components/AQU64FML.js +0 -4
  792. package/dist/solutions-components/vendor/calcite-components/BWIN7F7V.js +0 -4
  793. package/dist/solutions-components/vendor/calcite-components/CMPWL5OR.js +0 -4
  794. package/dist/solutions-components/vendor/calcite-components/D2RJ2NDD.js +0 -4
  795. package/dist/solutions-components/vendor/calcite-components/D7XRLD6B.js +0 -4
  796. package/dist/solutions-components/vendor/calcite-components/DARUTTL6.js +0 -4
  797. package/dist/solutions-components/vendor/calcite-components/DQUWVHQ4.js +0 -4
  798. package/dist/solutions-components/vendor/calcite-components/DS66T4UB.js +0 -4
  799. package/dist/solutions-components/vendor/calcite-components/DTEXOHOC.js +0 -4
  800. package/dist/solutions-components/vendor/calcite-components/DWP35FP5.js +0 -4
  801. package/dist/solutions-components/vendor/calcite-components/E4V4WLG3.js +0 -4
  802. package/dist/solutions-components/vendor/calcite-components/E7BZN4HI.js +0 -4
  803. package/dist/solutions-components/vendor/calcite-components/E7L45EZX.js +0 -4
  804. package/dist/solutions-components/vendor/calcite-components/EAA5CDC7.js +0 -4
  805. package/dist/solutions-components/vendor/calcite-components/EBQYZOJE.js +0 -4
  806. package/dist/solutions-components/vendor/calcite-components/EEY7KS7V.js +0 -4
  807. package/dist/solutions-components/vendor/calcite-components/EF4LF7JA.js +0 -4
  808. package/dist/solutions-components/vendor/calcite-components/EG3KFCKT.js +0 -4
  809. package/dist/solutions-components/vendor/calcite-components/EIKWAET5.js +0 -4
  810. package/dist/solutions-components/vendor/calcite-components/ELQHGUUQ.js +0 -4
  811. package/dist/solutions-components/vendor/calcite-components/ERSOIATK.js +0 -4
  812. package/dist/solutions-components/vendor/calcite-components/EV222TOH.js +0 -4
  813. package/dist/solutions-components/vendor/calcite-components/FBYOJ4XP.js +0 -4
  814. package/dist/solutions-components/vendor/calcite-components/FD23ZJ5M.js +0 -4
  815. package/dist/solutions-components/vendor/calcite-components/FKRFYIK4.js +0 -4
  816. package/dist/solutions-components/vendor/calcite-components/FMQW5CPG.js +0 -4
  817. package/dist/solutions-components/vendor/calcite-components/FO5IP7GC.js +0 -4
  818. package/dist/solutions-components/vendor/calcite-components/FT75A5FT.js +0 -4
  819. package/dist/solutions-components/vendor/calcite-components/FXQZQREX.js +0 -4
  820. package/dist/solutions-components/vendor/calcite-components/FYRRB4YU.js +0 -4
  821. package/dist/solutions-components/vendor/calcite-components/G4WSCO7F.js +0 -4
  822. package/dist/solutions-components/vendor/calcite-components/G5LIFWLC.js +0 -4
  823. package/dist/solutions-components/vendor/calcite-components/GCYW34DH.js +0 -4
  824. package/dist/solutions-components/vendor/calcite-components/GD4KAPIS.js +0 -4
  825. package/dist/solutions-components/vendor/calcite-components/GM2DDQTV.js +0 -4
  826. package/dist/solutions-components/vendor/calcite-components/GO2WSYWK.js +0 -4
  827. package/dist/solutions-components/vendor/calcite-components/GPCQIKHB.js +0 -4
  828. package/dist/solutions-components/vendor/calcite-components/GWFN65PG.js +0 -4
  829. package/dist/solutions-components/vendor/calcite-components/GYIYX666.js +0 -4
  830. package/dist/solutions-components/vendor/calcite-components/H373LLT7.js +0 -4
  831. package/dist/solutions-components/vendor/calcite-components/HANIGQEU.js +0 -4
  832. package/dist/solutions-components/vendor/calcite-components/HBWBBKTZ.js +0 -4
  833. package/dist/solutions-components/vendor/calcite-components/HPQH2IQI.js +0 -4
  834. package/dist/solutions-components/vendor/calcite-components/HVFHWDZS.js +0 -4
  835. package/dist/solutions-components/vendor/calcite-components/HZ2CJF4H.js +0 -4
  836. package/dist/solutions-components/vendor/calcite-components/ICQDC5MP.js +0 -4
  837. package/dist/solutions-components/vendor/calcite-components/IUPHPQ5W.js +0 -4
  838. package/dist/solutions-components/vendor/calcite-components/JDC4CCNQ.js +0 -4
  839. package/dist/solutions-components/vendor/calcite-components/JG5U4L3H.js +0 -4
  840. package/dist/solutions-components/vendor/calcite-components/JIZ3ZUNT.js +0 -4
  841. package/dist/solutions-components/vendor/calcite-components/JLOMSYFQ.js +0 -4
  842. package/dist/solutions-components/vendor/calcite-components/JLTNOBGF.js +0 -4
  843. package/dist/solutions-components/vendor/calcite-components/JN54BWVD.js +0 -4
  844. package/dist/solutions-components/vendor/calcite-components/JN6GQD32.js +0 -4
  845. package/dist/solutions-components/vendor/calcite-components/JPISN7UU.js +0 -4
  846. package/dist/solutions-components/vendor/calcite-components/JUAKRLPE.js +0 -4
  847. package/dist/solutions-components/vendor/calcite-components/JWG3XWKS.js +0 -4
  848. package/dist/solutions-components/vendor/calcite-components/JXO6Q6PC.js +0 -4
  849. package/dist/solutions-components/vendor/calcite-components/JZGJVQKB.js +0 -4
  850. package/dist/solutions-components/vendor/calcite-components/K6ALYIOD.js +0 -4
  851. package/dist/solutions-components/vendor/calcite-components/KDJM5H4R.js +0 -4
  852. package/dist/solutions-components/vendor/calcite-components/KHJ3WR7G.js +0 -4
  853. package/dist/solutions-components/vendor/calcite-components/KKIWAHJ5.js +0 -4
  854. package/dist/solutions-components/vendor/calcite-components/KTBWW64D.js +0 -4
  855. package/dist/solutions-components/vendor/calcite-components/KU2O6B36.js +0 -4
  856. package/dist/solutions-components/vendor/calcite-components/KVUPM4TA.js +0 -4
  857. package/dist/solutions-components/vendor/calcite-components/KX7ZCSRX.js +0 -4
  858. package/dist/solutions-components/vendor/calcite-components/L23DZQI6.js +0 -4
  859. package/dist/solutions-components/vendor/calcite-components/L2A3CRIP.js +0 -4
  860. package/dist/solutions-components/vendor/calcite-components/L37A2ISQ.js +0 -4
  861. package/dist/solutions-components/vendor/calcite-components/LAVRP2RO.js +0 -4
  862. package/dist/solutions-components/vendor/calcite-components/LKSA6W5F.js +0 -4
  863. package/dist/solutions-components/vendor/calcite-components/LL7Q6H5L.js +0 -4
  864. package/dist/solutions-components/vendor/calcite-components/LM2XVEJC.js +0 -4
  865. package/dist/solutions-components/vendor/calcite-components/LRGSGD6G.js +0 -4
  866. package/dist/solutions-components/vendor/calcite-components/LSIQC7QO.js +0 -4
  867. package/dist/solutions-components/vendor/calcite-components/LX3BNN2R.js +0 -4
  868. package/dist/solutions-components/vendor/calcite-components/M25GARCS.js +0 -4
  869. package/dist/solutions-components/vendor/calcite-components/M4GN65AZ.js +0 -4
  870. package/dist/solutions-components/vendor/calcite-components/MDFZXOFP.js +0 -5
  871. package/dist/solutions-components/vendor/calcite-components/MIBXI2CI.js +0 -4
  872. package/dist/solutions-components/vendor/calcite-components/MRFLH6RW.js +0 -4
  873. package/dist/solutions-components/vendor/calcite-components/MUSZ6RWB.js +0 -4
  874. package/dist/solutions-components/vendor/calcite-components/MX5EJ4DJ.js +0 -4
  875. package/dist/solutions-components/vendor/calcite-components/MX7YVZ2Z.js +0 -4
  876. package/dist/solutions-components/vendor/calcite-components/MYZF2YXM.js +0 -4
  877. package/dist/solutions-components/vendor/calcite-components/N65J4BH6.js +0 -4
  878. package/dist/solutions-components/vendor/calcite-components/N7POKTYM.js +0 -4
  879. package/dist/solutions-components/vendor/calcite-components/NGWZQ4DF.js +0 -4
  880. package/dist/solutions-components/vendor/calcite-components/NH5KER32.js +0 -4
  881. package/dist/solutions-components/vendor/calcite-components/NIUCAKLC.js +0 -4
  882. package/dist/solutions-components/vendor/calcite-components/NJILTUYU.js +0 -4
  883. package/dist/solutions-components/vendor/calcite-components/NNB7RMSP.js +0 -4
  884. package/dist/solutions-components/vendor/calcite-components/NP5LTTOS.js +0 -4
  885. package/dist/solutions-components/vendor/calcite-components/NU3PWREF.js +0 -4
  886. package/dist/solutions-components/vendor/calcite-components/NZDSRTUF.js +0 -4
  887. package/dist/solutions-components/vendor/calcite-components/O4LXC5MV.js +0 -4
  888. package/dist/solutions-components/vendor/calcite-components/OJGLTFDQ.js +0 -4
  889. package/dist/solutions-components/vendor/calcite-components/OM2SDJA4.js +0 -4
  890. package/dist/solutions-components/vendor/calcite-components/OY3RU7OI.js +0 -4
  891. package/dist/solutions-components/vendor/calcite-components/P7LZIGH7.js +0 -4
  892. package/dist/solutions-components/vendor/calcite-components/PF4XEEY5.js +0 -4
  893. package/dist/solutions-components/vendor/calcite-components/PODUJS2H.js +0 -4
  894. package/dist/solutions-components/vendor/calcite-components/PTGDUPKQ.js +0 -4
  895. package/dist/solutions-components/vendor/calcite-components/PULE4IG4.js +0 -4
  896. package/dist/solutions-components/vendor/calcite-components/PYAEZBTT.js +0 -4
  897. package/dist/solutions-components/vendor/calcite-components/Q4DBJLCB.js +0 -4
  898. package/dist/solutions-components/vendor/calcite-components/Q5CP47UX.js +0 -4
  899. package/dist/solutions-components/vendor/calcite-components/QBKTBLGQ.js +0 -4
  900. package/dist/solutions-components/vendor/calcite-components/QBQA4E7G.js +0 -4
  901. package/dist/solutions-components/vendor/calcite-components/QETLRCQW.js +0 -4
  902. package/dist/solutions-components/vendor/calcite-components/QQDFER4A.js +0 -4
  903. package/dist/solutions-components/vendor/calcite-components/QUUN5YJ3.js +0 -4
  904. package/dist/solutions-components/vendor/calcite-components/RAGSXTXM.js +0 -4
  905. package/dist/solutions-components/vendor/calcite-components/RCSWE64T.js +0 -4
  906. package/dist/solutions-components/vendor/calcite-components/REFBGNGF.js +0 -4
  907. package/dist/solutions-components/vendor/calcite-components/RJMOC4XG.js +0 -4
  908. package/dist/solutions-components/vendor/calcite-components/RLL47KJQ.js +0 -4
  909. package/dist/solutions-components/vendor/calcite-components/RNT7J5MG.js +0 -4
  910. package/dist/solutions-components/vendor/calcite-components/RPYN5IF2.js +0 -4
  911. package/dist/solutions-components/vendor/calcite-components/RRML3L24.js +0 -4
  912. package/dist/solutions-components/vendor/calcite-components/RRVJ5QUL.js +0 -4
  913. package/dist/solutions-components/vendor/calcite-components/RZO7PXBY.js +0 -4
  914. package/dist/solutions-components/vendor/calcite-components/SHIRLQTM.js +0 -4
  915. package/dist/solutions-components/vendor/calcite-components/SKNFNI3G.js +0 -4
  916. package/dist/solutions-components/vendor/calcite-components/SYRJFWC5.js +0 -4
  917. package/dist/solutions-components/vendor/calcite-components/T3GBBB3W.js +0 -4
  918. package/dist/solutions-components/vendor/calcite-components/TQ427GJX.js +0 -6
  919. package/dist/solutions-components/vendor/calcite-components/TRWHGTOM.js +0 -4
  920. package/dist/solutions-components/vendor/calcite-components/TTYJV2AA.js +0 -4
  921. package/dist/solutions-components/vendor/calcite-components/TWJJYAQX.js +0 -4
  922. package/dist/solutions-components/vendor/calcite-components/U34FMDPO.js +0 -4
  923. package/dist/solutions-components/vendor/calcite-components/UEMF24J4.js +0 -4
  924. package/dist/solutions-components/vendor/calcite-components/UIX5KJAH.js +0 -4
  925. package/dist/solutions-components/vendor/calcite-components/UK4MHTX3.js +0 -4
  926. package/dist/solutions-components/vendor/calcite-components/UMC66FPD.js +0 -4
  927. package/dist/solutions-components/vendor/calcite-components/UOWQEKZ5.js +0 -4
  928. package/dist/solutions-components/vendor/calcite-components/UTQXVQSW.js +0 -4
  929. package/dist/solutions-components/vendor/calcite-components/UZXKQDX5.js +0 -4
  930. package/dist/solutions-components/vendor/calcite-components/VB5TESRK.js +0 -4
  931. package/dist/solutions-components/vendor/calcite-components/VHJ3N6C3.js +0 -4
  932. package/dist/solutions-components/vendor/calcite-components/VY7WVWHH.js +0 -4
  933. package/dist/solutions-components/vendor/calcite-components/W34LH35I.js +0 -4
  934. package/dist/solutions-components/vendor/calcite-components/W5SJYIG6.js +0 -4
  935. package/dist/solutions-components/vendor/calcite-components/W7LKQZLC.js +0 -4
  936. package/dist/solutions-components/vendor/calcite-components/WA5XUN7A.js +0 -4
  937. package/dist/solutions-components/vendor/calcite-components/WEMPP7QH.js +0 -4
  938. package/dist/solutions-components/vendor/calcite-components/WK57IMVA.js +0 -4
  939. package/dist/solutions-components/vendor/calcite-components/WUO5GRAC.js +0 -5
  940. package/dist/solutions-components/vendor/calcite-components/WVYNOISK.js +0 -4
  941. package/dist/solutions-components/vendor/calcite-components/X3DSV2RP.js +0 -4
  942. package/dist/solutions-components/vendor/calcite-components/X533PSPQ.js +0 -4
  943. package/dist/solutions-components/vendor/calcite-components/XCP7OFYG.js +0 -4
  944. package/dist/solutions-components/vendor/calcite-components/XHSJC65M.js +0 -22
  945. package/dist/solutions-components/vendor/calcite-components/XNYI7YNV.js +0 -4
  946. package/dist/solutions-components/vendor/calcite-components/XOXXCOFR.js +0 -4
  947. package/dist/solutions-components/vendor/calcite-components/XWL453TD.js +0 -4
  948. package/dist/solutions-components/vendor/calcite-components/XZCNA3MO.js +0 -4
  949. package/dist/solutions-components/vendor/calcite-components/XZIEBVH3.js +0 -4
  950. package/dist/solutions-components/vendor/calcite-components/Y2RMF5RD.js +0 -4
  951. package/dist/solutions-components/vendor/calcite-components/Y5K6MWVI.js +0 -4
  952. package/dist/solutions-components/vendor/calcite-components/Y73JSF6U.js +0 -4
  953. package/dist/solutions-components/vendor/calcite-components/YDHV53C4.js +0 -4
  954. package/dist/solutions-components/vendor/calcite-components/YFD73VVO.js +0 -4
  955. package/dist/solutions-components/vendor/calcite-components/YGSOHLPD.js +0 -4
  956. package/dist/solutions-components/vendor/calcite-components/YLRKAY6P.js +0 -4
  957. package/dist/solutions-components/vendor/calcite-components/YMGAVFBF.js +0 -4
  958. package/dist/solutions-components/vendor/calcite-components/YORUNTUJ.js +0 -4
  959. package/dist/solutions-components/vendor/calcite-components/YQW2HZIZ.js +0 -4
  960. package/dist/solutions-components/vendor/calcite-components/YU4QMLUK.js +0 -4
  961. package/dist/solutions-components/vendor/calcite-components/Z5W27AI4.js +0 -4
  962. package/dist/solutions-components/vendor/calcite-components/ZB7BTUGE.js +0 -4
  963. package/dist/solutions-components/vendor/calcite-components/ZBMTRW4F.js +0 -4
  964. package/dist/solutions-components/vendor/calcite-components/ZGKKQBVA.js +0 -4
  965. package/dist/solutions-components/vendor/calcite-components/ZH3CXIUL.js +0 -4
  966. package/dist/solutions-components/vendor/calcite-components/ZIFGJROL.js +0 -4
  967. package/dist/solutions-components/vendor/calcite-components/ZL7RFBBU.js +0 -28
  968. package/dist/solutions-components/vendor/calcite-components/ZLP5NNFX.js +0 -4
  969. package/dist/solutions-components/vendor/calcite-components/ZQRVWYDH.js +0 -4
@@ -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{g as h,l as o}from"./p-404cbf48.js";import{g as l,q as n,e as c,f as r,c as d}from"./p-5693ce7a.js";import{d as p}from"./p-4084e2d1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const b=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",h=this.layer?.isTable,o=h?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(a,{key:"803f5130e6f4fa0bf97cfdd2776e176786e736cc"},e("div",{key:"7c0a756f5de5f536b52d2e9f6629593eb3c85781",class:"overflow-auto height-full"},e("calcite-shell",{key:"9a6366bba429d5c29a5f1c556d6812f44d28ee2c",class:"position-relative "+t},e("div",{key:"61cb9f7942eb209e5e0bd751ab4b5ca026086882",class:"position-static z-index-500"},e("info-card",{key:"0c3b6f958384dab4bc1db2917a88215bafe330b1",enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"db9233d29cc88ddc6cb023bcf9e9190ecb721214",class:"position-relative "+s},e("calcite-panel",{key:"0d1c22a3ad3d2d2a56054b2e8609697987b45ca7"},e("div",{key:"cc5f7faa934f474ddca2d0ab74fd46dac240cc6f",class:"padding-1"},e("calcite-notice",{key:"2c2771696892455fcb1ec24d895cd321a84a8f49",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"0bbbd13e4e9a7b2240a85b41dbd00fc2a7e39c75",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"67bac627f68fc6bcda2b1a8965ab6d7fb12d2e4c",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},h?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"cd44af48bb05fd6ac41c0d66bdd9e01826ece1a4",class:"position-relative "+i},e("calcite-flow-item",{key:"648dfdc4fb559ecbf64ee43791e3d9799c346f1a",selected:!0},e("calcite-panel",{key:"855df56ed576e52c94dbe3cfa8f6d57427a37ba2",heading:o},e("calcite-action",{key:"156d1b20da3f02de66879531802aa2d2fb99b1ca",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"9b4556876d579a4f2bd02849737cd55b55f87cbd",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,enableSnapping:this.enableSnapping&&this.enableCreateFeatures,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsg:!1,showGuidingMsgWhileDrawing:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};b.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const f=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.honorMapFieldSettings=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0,this._queryingData=!1}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_editor;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_showHideDropdown;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_filterByExtentHandle;_tempSelectedIds;_outOFExtentOids=[];_shouldUpdateTableOnExtentChange=!0;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(t,i){await this._handleFilterUpdate(t),i?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):!1===i&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(t){this._shouldUpdateTableOnExtentChange=t}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async beforeMapInfoChange(t){const i=t.detail.ref,s=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const e=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(e?s.id:t.detail.currentId,!e)}}async editorInitialized(t){this._shouldUpdateTableOnExtentChange=!1,this._editor=t.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let a;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return a=t,!0})),a&&await c([s],a,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,s=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(s?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(s?t.detail.newId:t.detail.currentId,!0)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._queryingData?"":"display-none",h=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(a,{key:"6e02ad7e5552269917b8bc7ec31f19800362c137"},e("div",{key:"468b7ebb80ccbace252097ee930745b706b51f2a"},e("calcite-scrim",{key:"2686a4542df5eeb89efeb9c88ae056c4d2c6dd89",class:s,loading:this._queryingData}),e("calcite-shell",{key:"1a694b1d624097166b4b2448ee9f0dab0b3d7d16"},this._getTableControlRow("header"),e("div",{key:"9d69215cfd0afde5f309e70f60937d6750446293",class:`width-full ${l}`},e("calcite-panel",{key:"af48bada48c5b9f0f4c395f71aabcc8341c4e421",class:"height-full width-full"},n&&e("div",{key:"a210f0210963a7aa456806a2fc54539177e09fcd",class:"search-container border-bottom"},e("calcite-input",{key:"b3e76adefa7df5ce82d6308d0c7641021fb7bb97",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"cc4ae482f3aa58e4051629efadcfed915205c226",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"2c1efc1995f164c4bbbdc2e0554a467b49952b9f",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19",id:"solutions-selected-count-div"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",o))),this.createFilterModal&&this._filterModal()))}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;if(this._showOnlySelected)t=this._tempSelectedIds,i=!0;else{if(!await this._validateActiveEdits([],this.selectedIds))return;this._clearSelection(),this._tempSelectedIds=[]}this._searchExpression&&this._clearSearchDefinitionExpression();let s=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return e("div",{class:"display-flex height-51-px border-bottom",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist&&this._table?.columns?.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=!i.selected,i.selected?this._table.hideColumn(i.label):this._table.showColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected,i.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=this._featuresEmpty();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1},i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:s,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:s,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,s)}}),100))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,a,h,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,a){const h=void 0===this._layer||a;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:h,id:t,onClick:s,text:""},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.map((t=>parseInt(t.toString(),10))).toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{const t=this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));this._table.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(i)})))}async _handleOnChange(t){if(!await this._validateActiveEdits([...t.added],[...t.removed]))return;const i=[...this._getIds()];this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1}async _validateActiveEdits(t,i){let s=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let e=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){e="workflow:cancel-denied"===t.name}e&&(s=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else s=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=s,s}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields);0===t?.length?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");const i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some(((t,s)=>JSON.stringify(i[s])!==JSON.stringify(t)));if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||this.finishLoading()}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){const t=await this.queryAllIds(),i=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1));JSON.stringify(t)===JSON.stringify(this._allIds)&&JSON.stringify(this.selectedIds)===JSON.stringify(i)||(this._allIds=t,this.selectedIds=i,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await r(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_filterModal(){return alert("_filterModal how does this one get hit??"),e("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"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(async()=>{if(this._shouldUpdateTableOnExtentChange){await new Promise((t=>setTimeout(t,800))),this._table.filterGeometry=this.mapView.extent;const t={geometry:this.mapView.extent},i=await this._layer.queryObjectIds(t),s=this.selectedIds.filter((t=>!i.includes(t))),e=this._outOFExtentOids.filter((t=>i.includes(t)));s.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(s),this._outOFExtentOids=[...this._outOFExtentOids,...s]),e.length>0&&(this._table.highlightIds.addMany(e),this._outOFExtentOids=this._outOFExtentOids.filter((t=>!e.includes(t))))}this._allIds=await this.queryAllIds()}),{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){const t=this._layer.createQuery();return t.geometry=this._filterByExtentHandle?this.mapView.extent:null,t.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(t)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&(this._table.filterBySelectionEnabled=!0)):await this.clearSelection()}async _selectAll(){const t=this._allIds,i=t.filter((t=>this.selectedIds.indexOf(t)<0));await this._validateActiveEdits(i,this.selectedIds)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table.filterBySelectionEnabled=this._showOnlySelected}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}async _switchSelected(){const t=[...this.selectedIds],i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){const t={},i=this._getIds();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>{if(!i.hidden){const s=i?.name||i?.fieldName;s&&t.push(s.toLocaleLowerCase())}return t}),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(null,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await(this._table?.refresh()),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){if(this._layer){const t=await d(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=this._layer?.attributeTableTemplate?.elements;let a=[];e?.length>0&&this.honorMapFieldSettings&&(a=e.map((t=>t.fieldName)));const h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):a.length>0?a:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={icon:"information",iconText:i.description,type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return s&&s?.fields?s.fields.indexOf(i.name)>-1&&t.push(e):a.length>0?a.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),h?o?.sort(this._sortFields.bind(this,h)):o}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function u(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}f.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const m=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",h=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(a,{key:"5861d407b8529c6834d5d05450693d1fff2b71ee"},e("div",{key:"01e028e8a00fc66d5eaa8eb7f85b58d579c3e7ff",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),e("calcite-progress",{key:"6a0b7a2a734f3631b8c8a712acaf60a9e95c6c16",class:o,value:0}),e("div",{key:"74cebf9c194bfc5b72be3b397821f586a5923fa4",class:`${h} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"6c87207eecaacf61c594f1036af38c0548ea1767",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const a=this._webMapInfo.id,h=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||h){const t=new this.WebMap({portalItem:{id:a}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=u(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!h||this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(a)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",a=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${a}`,id:"solutions-map-layer-picker-container"},e("div",{class:`border-end ${i} ${s}`},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),s=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,s?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!s,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await d(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,a,h,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{b as card_manager,f as layer_table,m as map_card}
@@ -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}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as l}from"./p-f3003b3a.js";import{g as n,c as o,h as r}from"./p-5693ce7a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-4084e2d1.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const c=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=void 0,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;reactiveUtils;_popupUtils;_selectedLayer;_highlightHandle;_filterByMapExtentHandle;_highlights;_pagination;_calciteList;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;_searchExpression;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new l,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.initializeFeatureItems()}render(){const t=this._canShowFullTextSearch();return e("calcite-panel",{key:"da51d35e66ceea64f32ddf7872ac7133f98bfc48","full-height":!0,"full-width":!0},t&&e("calcite-input",{key:"04a50538873d5a87eb194edca98fa5a86818bfc4",class:"search",clearable:!0,icon:"search",onCalciteInputChange:this._searchTextChanged.bind(this),placeholder:this._searchPlaceHolder,title:"",type:"search"}),this._isLoading&&e("calcite-loader",{key:"f89602c8d36c41d8ed5b028619853ba8e1dedbc9",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"147d2072a916b9a0ec34d3819a8c88ded50673b1",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"ab769558c1489e9b24eff945b970230b5015a35c",slot:"message"},this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"aa05260aa25bd5023be842969f6660950269221e",class:"small"!==this.textSize||this.showFullTitle?"":"overflow-hidden",label:"",ref:t=>this._calciteList=t,"selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"6db2614c585cc95605998c2ddd96e9d8980ed875",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"59f0c7e97b02215ec717d902fdf6294ed7c82a67",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s,this.reactiveUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.initializeFeatureItems()}),{initial:!0})}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}_canShowFullTextSearch(){return((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._selectedLayer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._selectedLayer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let t=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){const i=this._selectedLayer.createQuery();i.fullText=this._fullTextSearchInfo,t=await this._selectedLayer.queryObjectIds(i),await this._updateSearchDefinitionExpression(t?.length?t:[-1])}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(t){const i=this._selectedLayer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._selectedLayer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_clearSearchDefinitionExpression(){const t=this._selectedLayer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._selectedLayer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await r([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView.extent:null};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const l=await i.queryFeatures(h);return await this.createFeatureItem(l)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const l=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),n="small"!==this.textSize||this.showFullTitle?"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title":"feature-list-popup-title-small-ellipsis",o=this._calciteList.offsetWidth-(this.showUserImageInList?115:65);return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`popup-title ${n}`,slot:"content-start",style:{maxWidth:"large"===this.textSize?"none":`${o}px`}},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},l)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let l=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(l+=`?token=${e}`),h.userProfileUrl=l,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30&&t.setAttribute("width","30"),i>30&&t.setAttribute("height","30"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"],filterByMapExtent:["filterByMapExtentHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap !important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3)}";export{c as feature_list}
@@ -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 s,H as o}from"./p-e996c38f.js";import{g as l}from"./p-404cbf48.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const a=class{constructor(i){e(this,i),this.solutionItemHover=t(this,"solutionItemHover",7),this.solutionItemSelect=t(this,"solutionItemSelect",7),this.solutionTypeHover=t(this,"solutionTypeHover",7),this.locale=void 0,this.listSelectionMode="none",this.templateInfos=[],this._sortedTemplateInfos=[],this._translations=void 0}get el(){return i(this)}_sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async deselectAll(){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((e=>{e.selected&&(e.selected=!1,e.parentElement.parentElement.expanded=!1)}))}async selectItem(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id===e&&(t.selected=!0,t.parentElement.parentElement.expanded=!0)}))}solutionItemHover;solutionItemSelect;solutionTypeHover;async componentWillLoad(){this._sortedTemplateInfos=this._sortTemplates(),await this._getTranslations()}render(){return s(o,{key:"1bb2a9dc8cff9e936c85316612546ba252e66b6e"},this._getAccordion())}_deselectOthers(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id!==e&&(t.selected=!1)}))}_getAccordion(){const e=[],t=this._sortedTemplateInfos.reduce(((t,i)=>{const s=this._getTypeForDisplay(i.type,i.typeKeywords);return e.indexOf(s)<0&&(e.push(s),t.push(this._getAccordionItem(i))),t}),[]);return s("calcite-accordion",{class:"border-override",selectionMode:"single"},t)}_getAccordionItem(e){const t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter((e=>this._getTypeForDisplay(e.type,e.typeKeywords)===t));return s("calcite-accordion-item",{description:`${t} (${i.length})`,onMouseEnter:()=>this.solutionTypeHover.emit({itemType:t,entering:!0}),onMouseLeave:()=>this.solutionTypeHover.emit({itemType:t,entering:!1})},s("solution-item-icon",{class:"padding-start-1 display-flex align-center",slot:"actions-start",type:e.type,typeKeywords:e.typeKeywords}),this._getList(i))}_getList(e){const t=this._sortTemplatesByTitle(e);return s("calcite-list",{label:"",selectionAppearance:"border",selectionMode:this.listSelectionMode},t.map((e=>this._getListItem(e))))}_getListItem(e){return s("calcite-list-item",{id:e.id,onCalciteListItemSelect:()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0})},onMouseEnter:()=>this.solutionItemHover.emit({itemId:e.id,entering:!0}),onMouseLeave:()=>this.solutionItemHover.emit({itemId:e.id,entering:!1}),value:e.id},s("div",{class:"solution-list-item-content",slot:"content"},s("div",{class:"solution-list-item-label"},e.title),s("div",{class:"solution-list-item-description"},e.snippet)),e.url?s("div",{slot:"actions-end"},s("calcite-action",{icon:"launch",id:e.id+"-launch",onClick:()=>window.open(e.url,"_blank"),text:""}),s("calcite-tooltip",{"overlay-positioning":"fixed","reference-element":e.id+"-launch"},s("span",null,this._translations?.openDetails))):null)}_sortTemplatesByTitle(e){return e.sort(((e,t)=>e.title<t.title?-1:e.title>t.title?1:0))}_sortTemplates(){return this.templateInfos.sort(((e,t)=>{const i=this._getTypeForSort(e),s=this._getTypeForSort(t);return this._sortOrder.indexOf(i)-this._sortOrder.indexOf(s)}))}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if("Feature Service"===e){const e=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=e&&s?"Table (hosted, view)":s?"Table (hosted)":e?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return"Web Mapping Application"===e&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i="Geoprocessing Service"===e?"Tool":i,i="Feed"===e?"Feed (hosted)":i,i="Real Time Analytic"===e?"Real Time Analytic (hosted)":i,i="Big Data Analytic"===e?"Big Data Analytic (hosted)":i,i="Vector Tile Service"===e?"Tile Layer":i,i}async _getTranslations(){const e=await l(this.el);this._translations=e[0]}static get watchers(){return{locale:["localeWatchHandler"],templateInfos:["templateInfosWatchHandler"]}}};a.style=":host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color:var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}";export{a as solution_item_accordion}
@@ -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,F as a,H as h}from"./p-e996c38f.js";import{l as o,g as n}from"./p-404cbf48.js";import{a as c,g as d}from"./p-5693ce7a.js";import{P as r}from"./p-f3003b3a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4084e2d1.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const l=class{constructor(e){t(this,e),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.drawComplete=i(this,"drawComplete",7),this.editingAttachment=i(this,"editingAttachment",7),this.progressStatus=i(this,"progressStatus",7),this.modeChanged=i(this,"modeChanged",7),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel=void 0,this.formElements=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.searchConfiguration=void 0,this.selectedLayerId=void 0,this.showGuidingMsg=!0,this.showGuidingMsgWhileDrawing=!0,this.submitNewReportsMessage=void 0,this._currentPage="templatePicker",this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}Editor;ExpressionInfo;FeatureLayer;FieldElement;FormTemplate;MapView;Search;_addingAttachment;_calciteNotice;_container;_editor;_isSubmitBtnClicked=!1;_mapViewContainer;reactiveUtils;_search;_searchDiv;_selectedLayer;_updatedMapView;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}componentDidRender(){this.isMobile&&(this._mapViewContainer.style.top=`${this._calciteNotice.offsetHeight+this._searchDiv.offsetHeight+80}px`)}disconnectedCallback(){this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&(this.mapView.ui.view.grid=null))}render(){const t="drawing"===this._currentPage?"":"display-none",i=this._editorLoading?"":"display-none",e=this._editorLoading?"display-none":"",h=this.isMobile?"show-map":"display-none";let o=this._translations.chooseCategoryMsg;return"drawing"===this._currentPage?o=this._translations.provideLocationMsg:"featureForm"===this._currentPage&&(o=this._translations.provideDetailsMsg),s(a,{key:"2c9644bd52600f493965881cd0be4975bc12112e"},this.showGuidingMsg&&(this.showGuidingMsgWhileDrawing||"drawing"!==this._currentPage)&&s("calcite-notice",{key:"9059dcfd2ec9dd24b6e9005b8a3d164cd585b994",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0,ref:t=>this._calciteNotice=t},s("div",{key:"9ecdee9591e21ca0c19de55240c9c30f90c36098",slot:"message"},o)),s("calcite-loader",{key:"81f0b3cabb02887df18d73e5e4bf372169863a1d",class:i,label:"",scale:"s"}),s("div",{key:"c820fbb57d7b85e2d03b827e62603fb47d4a494e",class:e,id:"feature-form"}),this.enableSearch&&s("div",{key:"c179237732e1da99329eeb489ad8778f5bb4eba4",class:`search-widget ${t} ${e}`,id:"search-widget-ref",ref:t=>this._searchDiv=t}),s("div",{key:"f56d2e9ed6cb2b5abc088db3e2014187760b79fd",class:`${h}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,i,e,s,a,h,n]=await o(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=i,this.Search=e,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=h,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer,zoom:this.mapView.zoom}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");const i=await c(this._updatedMapView);this._selectedLayer=await d(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||i.forEach((async i=>{t.push({layer:i,enabled:"feature"===i?.type&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const e=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(e);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(50),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),setTimeout((()=>{this._setFloorLevel(this.floorLevel)}),50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const h=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&"disabled"===this._editor.viewModel.featureFormViewModel.state&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))}));this._editor.viewModel.addHandles(h)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,i)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const e=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>i(t)))}),700)})),1===e.length&&this._editor.viewModel.featureTemplatesViewModel.select(e[0]);const s=e.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&i(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let i=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(i=t.results[0].results[0]?.feature.geometry)}));const e=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&i&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",i),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(e)}_getSearchConfig(t,i){const e=t.sources;return e?.length>0?(t.includeDefaultSources=!1,e.forEach((t=>{if(t.hasOwnProperty("layer")){const e=t,s=e.layer?.id,a=s?i.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.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}async _setFloorLevel(t){if(!t)return;const i=this._selectedLayer;if(i?.floorInfo?.floorField){const e=i.fields.find((t=>t.name===i.floorInfo.floorField));if(e&&!i?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(e.name,t),e.editable=!1;else if(i.formTemplate&&this.formElements){const e=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:i.floorInfo.floorField,editableExpression:"false",fieldName:i.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:e.name});this._updatedMapView.map.editableLayers.forEach((t=>{const i=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const h=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[e].concat(i)});t.formTemplate=h}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};l.style=":host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";const p=class{constructor(e){t(this,e),this.editsComplete=i(this,"editsComplete",7),this.deleteDialog=void 0,this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this.locale=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return e(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return s(h,{key:"a8b845e5a7283318d4e313914e8bf992c5405d82"},"button"===this.buttonType?s("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):s("calcite-action",{appearance:"solid",disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},s("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage(),s("calcite-tooltip",{key:"63e746d5066e96a13066cae6d3ad0b23c81437dc",placement:"bottom","reference-element":"button"===this.buttonType?"solutions-delete":this.icon},s("span",{key:"9f6708e8ff0255d6634c69cb66d9544dc5b053ba"},this._translations.delete)))}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:s("delete-dialog",{id:"solution-delete-dialog",ids:this.ids,layer:this.layer,locale:this.locale,onDeleteDialogClose:()=>this._confirmDelete=!1,open:this._confirmDelete})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:block}.delete-modal{position:fixed}";const b=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editorInitialized=i(this,"editorInitialized",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphicIndex=0,this.graphics=void 0,this.locale=void 0,this.mapView=void 0,this.open=!1,this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editorInitialized;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{setTimeout((()=>{this.editsComplete.emit()}),50)})))}render(){const t=this._editorLoading?"display-none":"position-absolute",i=this._editorLoading?"":"display-none";return s(h,{key:"d67dbfb453966623d26a1567df84bc58024305d7"},s("div",{key:"9cd13eaf0125ab39e1d24398ccfda17c9534317a",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:s("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},s("div",{slot:"message"},this._translations.enableEditing)),s("div",{key:"6cb4122611d8d8595cd85cd07224baa374066658",class:"position-absolute"},s("div",{key:"c4498b1ecd165fa594d9d1cef43f01643b5e3efb",class:t,id:"feature-form",ref:t=>this._editContainer=t}),s("calcite-loader",{key:"febb4d5c9a662ec9ffa6955114c8476c498116ee",class:i,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await o(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=await c(this.mapView),e=this.enableSnapping&&this.enableEditGeometry,s=i.map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({view:this.mapView,layerInfos:s,visibleElements:{flow:!0,settingsMenu:e,sketch:!1,snappingControls:e},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this.enableSnapping||t.classList.add("hide-editor-toolbar"),this._editContainer.appendChild(t),this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this.enableSnapping&&(this.mapView.ui.view.grid=null),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],open:["openWatchHandler"]}}};b.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const f=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.clearSelection=i(this,"clearSelection",7),this.selectionChanged=i(this,"selectionChanged",7),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.locale=void 0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0,this._navigatedToRelatedFeature=void 0}get el(){return e(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;_relatedFeature;async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async localeWatchHandler(){if(this.el.lang=this.locale,await this._getTranslations(),this._features){const t=[...this.graphics];this.graphics=[],this.graphics=t}}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;clearSelection;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this._navigatedToRelatedFeature||(this.graphics=[...t.detail])}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new r}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",i=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",e=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",a=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",o=this._features?.features?.length<2||this._navigatedToRelatedFeature,n=this.isMobile?"display-none":"",c=this._features?.selectedFeature?.getObjectId(),d=parseInt(c?.toString(),10)>-1?[c]:[],r=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,l=this._relatedFeature?[this._relatedFeature]:this.graphics,p=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex;return s(h,{key:"b62820abf5a5ce69261a7170dbc102ee8f656907"},s("calcite-shell",{key:"6c26e6c6e0247f96183ab7d300d2591c5beb5b94",style:{position:this.position}},this._getHeader(),s("calcite-loader",{key:"fc153dc30be352de54fd2d197e154cd09a8f39f2",class:t,label:this._translations.fetchingData}),s("div",{key:"8faba972e54dbc4086a5c74187279149c7bbfe6e",class:"esri-widget feature-node "+i,id:this._featuresNodeId}),s("div",{key:"3374bace58475d983d0b6b57c1c45faa6bddef6e",class:`${a} width-100`,slot:"footer"},this.allowEditing&&s("div",{key:"567ed97ca7a9a1d7245caa21ca23effe728b0ac9",class:"display-flex top-border padding-1-2"},s("calcite-button",{key:"caae5c4c5834bf7658bbe12c329ead2f8150f8cd",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&r?s("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:d,layer:this._layer,locale:this.locale,onEditsComplete:()=>this._closePopup()}):void 0,s("calcite-tooltip",{key:"57681bf90ac5d7c2a4bc9d3e15e3a93a675fbed1",placement:"bottom","reference-element":"solutions-edit"},s("span",{key:"018a661cd5f88ea5be62acbe762308ef25e7b681"},this._translations.edit)),this.isMobile&&r?s("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},s("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!o&&s("div",{key:"92ba3836a0b5fcd2717966ef6162e10968d43126",class:`display-flex padding-1-2 button-container top-border ${n}`},s("div",{key:"bf23c4f203efcea7c613d77d86efada639fa7c1b"},s("calcite-button",{key:"a416b24f360374e73679df9027b13f7651dbb723",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),s("calcite-tooltip",{key:"8849ca323a75d2fd21393a133f49c1ea201178d4",placement:"top","reference-element":"solutions-back"},s("span",{key:"84cd60a8c7a5678d99e2d803ebb705e986591cb5"},this._translations.back))),s("calcite-action",{key:"7d4e9984eda51a7b9d67bcc2bce3b258566bbeee",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},s("span",{key:"a14051ff8801623cc1dda9895f9bf98b5b4b8a36",class:"pagination-count"},this._count)),s("div",{key:"65bd33feeee7e1606548a9b21b9a3d1b78bc8931"},s("calcite-button",{key:"228969faa39e600546e8b9a00c888df4d00a6477",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),s("calcite-tooltip",{key:"8f343657583d421b7dbbd79067af998d11c30855",placement:"top","reference-element":"solutions-next"},s("span",{key:"98fc622e0ba9ae3878ac0cbc8c2c119fe5b4b489"},this._translations.next))))),s("edit-card",{key:"c99b429d633117c673a7c8effc7cb689233bce1e",class:e,enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphicIndex:p,graphics:l,locale:this.locale,mapView:this.mapView,open:this._editRecordOpen}),s("calcite-alert",{key:"82ac3ceb259b6f87b8bbbb196fcf61de705ed019",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},s("div",{key:"f113eb60f51d3b1d9fddf9c58e89c792e41e95b5",slot:"title"},this._translations.editDisabled),s("div",{key:"c010ac376e6e3497d86326bcb1e16976a4a026cd",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await o(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})),this.reactiveUtils.watch((()=>this._features.selectedDrillInFeature),(t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=null,this._navigatedToRelatedFeature=!1)})),this.el.querySelector("#"+this._featuresNodeId).addEventListener("calciteFlowItemClose",(()=>{this.clearSelection.emit()})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s("calcite-panel",{class:"border-width-0",slot:"header"},s("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),s("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),i=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};f.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{l as create_feature,p as delete_button,b as edit_card,f as info_card}
@@ -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,c as t,g as e,h as s,H as a}from"./p-e996c38f.js";import{a as h,l,g as n}from"./p-404cbf48.js";import{e as o,h as r,i as c,j as d,c as p,k as b,l as f,m as g}from"./p-5693ce7a.js";import{a as y,e as m,f as u}from"./p-80cb7c73.js";import{s as w}from"./p-e6859850.js";import{d as v,a as _}from"./p-4084e2d1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const S=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this.searchDistanceEnabled=!1,this.useLayerFeaturesEnabled=!1,this._numSelected=0,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0}get el(){return e(this)}_esriRequest;FeatureLayer;Graphic;GraphicsLayer;Search;_geometryEngine;_bufferGeometry;_bufferGraphicsLayer;_bufferTools;_distance;_drawTools;_labelName;_selectLayers;_searchElement;_searchResult;_searchWidget;_selectedIds=[];_selectionLabel="";_skipGeomOIDs;_sketchGraphic;_graphics=[];_unit;_workflowType;_featuresCollection={};async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(i,t){i&&i!==t&&await this._init()}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools?.distance,download:!0,unit:this._bufferTools?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this.searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this.useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}selectionSetChange;searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init()}render(){const i=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return s(a,{key:"1c312d53b800ca401726c653e12465e92abf0eef"},this._getMapLayerPicker(),s("div",{key:"2da9eb5316656769ec2f80dfa5fbdc190c62b1cb",class:"border-bottom"}),s("div",{key:"b21d332e5da0aa8cfb34fdab7a1075bfbd5efb42",class:"padding-top-sides-1"},s("div",{key:"2dd59511d4f07cc2cd43b5b5c2a8037303d21546",class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{key:"1149bcd2f36171b82f6902fbf89bb0400383fdde",class:t},s("map-draw-tools",{key:"2d3b1b91a108bf2bb2db463e7ffd4574f4a36dac",active:!0,class:i,editGraphicsEnabled:!this.useLayerFeaturesEnabled,graphics:this._graphics,locale:this.locale,mapView:this.mapView,onSketchGraphicsChange:i=>{this._sketchGraphicsChanged(i)},pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this.enableSearchDistance?this._getBufferOptions():void 0,this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0,this._getNumSelected()),s("div",{key:"d4068bef106e1f4226b1f9c104a626fe0a0f6700",class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);const i=this.searchDistanceEnabled?"search-distance":"div-not-visible",t="number"==typeof this.selectionSet?.distance?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this.searchDistanceEnabled,onCalciteSwitchChange:()=>this.searchDistanceEnabled=!this.searchDistanceEnabled})),s("div",{class:i},s("buffer-tools",{disabled:!this.searchDistanceEnabled,distance:t,geometries:this.geometries,locale:this.locale,onBufferComplete:i=>{this._bufferComplete(i)},ref:i=>this._bufferTools=i,unit:this.selectionSet?.unit||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this.useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);const i=this.useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this.useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=h(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._inputLayerSelectionChange(i)},selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,e,s,a,h]=await l(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this._esriRequest=i,this.GraphicsLayer=t,this.Graphic=e,this.Search=s,this._geometryEngine=a,this.FeatureLayer=h}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this.searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this.useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=this.selectionSet?.label,this.useLayerFeaturesEnabled||await(this._drawTools?.updateGraphics()),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm,...i};this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{this._selectResult(i.result)})),await this._searchWidget.when((()=>{this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}}async _selectResult(i){if(i){this._searchResult=i;const t=i.feature,e=t?.layer,s=this.selectLayerView.layer,a=t?.getObjectId();let h,l;e?.sourceJSON?.isView&&(h=await this._getViewSourceUrl(e.url)),s?.sourceJSON?.isView&&(l=await this._getViewSourceUrl(s.url));const n=e?.url?.toLowerCase(),o=h?.toLowerCase(),r=s?.url?.toLowerCase(),c=l?.toLowerCase(),d=n&&r&&(n===r||n===c||o===r||o===c)&&!isNaN(a),p=d?[a]:void 0;this._workflowType=y.SEARCH,this._updateLabel();const b=[i.feature];this._updateSelection(b,d,p),this._drawTools.graphics=b,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}async _getViewSourceUrl(i){let t="";const e=`${i}/sources?f=json`;try{const i=await this._esriRequest(e,{query:{f:"json"}});1===i?.data?.services?.length&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=i?.sources;return e?.length>0?(i={...i,includeDefaultSources:!1},e.forEach((i=>{if(i.hasOwnProperty("layer")){const e=i,s=e.layer?.id,a=s?t.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===t?.name&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i={...i,includeDefaultSources:!0},i}_initGraphicsLayer(){const i=this._translations.bufferLayer;if(this.mapView){const t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers[i]="buffer";const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this.useLayerFeaturesEnabled?y.SELECT:y.SKETCH,this._workflowType===y.SKETCH&&await this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this.useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>(t?.layer?.objectIdField?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i)),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await c(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=d(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName&&(this._labelName.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),this._drawTools?.clear&&(this._graphics=[],await this._drawTools.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){if(this.enableSearchDistance){const i=this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._selectionLabel.indexOf(this._translations.select)>-1,e=this._selectionLabel.indexOf(this._searchResult?.name)>-1,s=this._workflowType===y.SEARCH?this._searchResult?.name:this._workflowType===y.SELECT?this._translations.select:this._translations.sketch,a=this._unit?this._unit:this._bufferTools.unit,h=await this._bufferTools.getTranslatedUnit(a),l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=i||t||e||!this._selectionLabel?`${s} ${l} ${h}`:this._selectionLabel,this._labelName.value=this._selectionLabel}}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){const t=i?.detail?.length>0?i.detail[0]:"";this.selectLayerView&&t===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],b(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{const t=i.geometry;i.symbol="point"===t.type?this.sketchPointSymbol:"polyline"===t.type?this.sketchLineSymbol:"polygon"===t.type?this.sketchPolygonSymbol:void 0,e=i?.layer?.hasOwnProperty("objectIdField")||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer,a=this.selectLayerView.layer,h=e&&s.url===a.url&&a.layerId===s.layerId;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:h}},!0)}))}_useLayerFeaturesEnabledChanged(){this.useLayerFeaturesEnabled=!this.useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}static get watchers(){return{geometries:["watchGeometriesHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};S.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),k=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this.locale=void 0,this._translations=void 0}get el(){return e(this)}_labelInfoElement;_intl;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async downloadCSV(i,t,e,s=!0){return v(i,t,!0,e,s)}async downloadPDF(i,t,e=!1,s="",a=""){return _(i,t,this._labelInfoElement.selectedOption?.value,e,s,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(a,{key:"7ab69f7de831fc9e095b29a930e4256318ea6417"},s("calcite-select",{key:"e865dbfee1e05e856171e86d2b8376de7e251964",disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="&lrm;"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"&rlm;";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).forEach(((i,t)=>{const e=document.createElement("calcite-option");e.value=i,e.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(e),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(e.selected=!0)}))}static get watchers(){return{locale:["localeWatchHandler"]}}};k.style=":host{display:block}";const x=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this.addresseeLayer=void 0,this.enabledLayerIds=[],this.locale=void 0,this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=m.ADD,this._refineLayer=void 0}get el(){return e(this)}_addEnabled=!0;_drawTools;_refineSets=[];_enabledLayerIds=[];_layerPicker;_featuresCollection={};_refineSelectionSet;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}selectionLoadingChange;selectionSetsChanged;async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){return s(a,{key:"efa77aec940afdb80051b36300a492ac5764a413"},s("div",{key:"ac59062ad6b3bb15727d1d88ac99ba983c7a2ff9",class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{key:"27599ce74e9f7d6133f6cbfa40db4acfa8c00eeb",class:"display-flex"},s("calcite-label",{key:"b8acd5160effc68b7ee03a85ba8d6d2a5966c3e8",class:"font-bold width-full label-margin-0"},s("div",{key:"b2185de868b979281984019dbea9cf58a8bdef59",class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{key:"3bd42d1897e3d4374c9affeb20a4af09866645b4",class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{key:"3c7202cb44db02ff2650aa2075af55a51f180018",enabledLayerIds:this._enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{key:"90c204cd9c0b7fb339e857ca82d4038aaf133cc1",closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"refine-input-layer"},s("span",{key:"3ab34165e2d0cf5bdf2615ef938b22b135867831",class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{key:"6066dc8d8e02d05f7e1d2cfb93a52e9ce68f13e3",class:"padding-1"},s("div",{key:"61191f20e96c2bf7d6ac0e36bf6788cc03d76f81",class:"padding-bottom-1"},s("calcite-segmented-control",{key:"c02207e0a112ef9060e4dfe76a05720bd6d2f226",class:"w-100",width:"full"},s("calcite-segmented-control-item",{key:"5879edf2aa7423abd211fd3d8419cde372d30a9b",checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.ADD),value:m.ADD},s("span",{key:"29645f694e4df08d3bcfcaed745f1913fe46037a",class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{key:"f813c4601a40f8d945ca32b95df3a335e9b3d4ff",checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.REMOVE),value:m.REMOVE},s("span",{key:"801cf62e0a90d908357efe83f705c1484d11dbc9",class:"font-weight-500"},this._translations.remove)))),s("div",{key:"0b687ff2e7e4f3997c4559a4dbdb40d4c37fd5bc"},s("map-draw-tools",{key:"23084e78ffa344ae31df39a13cf8abcf0f313b83",active:!0,drawMode:u.REFINE,locale:this.locale,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:this._refineSelectionSet?.redoStack.length>0,ref:i=>{this._drawTools=i},undoEnabled:this._refineSelectionSet?.undoStack.length>0})),s("br",{key:"839e5ecbc67cee44924057e197ebb0897c2cbe28"}),s("calcite-list",{key:"7ad6b634078bab2f02c2b117e05b2385c6988aa5",class:"list-border",label:""},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){const t=i.detail?.graphics[0].geometry;this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{const e=t?.layerView?.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===y.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===y.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos={...t.refineInfos,...e}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:y.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===y.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=f(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){this.selectionLoadingChange.emit(!0),this._featuresCollection[this._refineLayer?.layer.id]=[];const t=await b(0,this._refineLayer?.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let e=[];Object.keys(t).forEach((i=>{i===this._refineLayer?.layer.id&&(e=e.concat(t[i]))}));const s=Array.isArray(e)?e.map((i=>i.attributes[i?.layer?.objectIdField])):[];await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await g(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const h=this._refineSelectionSet.refineInfos,l=s.layer.id,n={};n[l]={addIds:[],removeIds:[],layerView:s};const o=Object.keys(h).indexOf(l)>-1?h[l]:n[l];if(t===m.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const h=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==y.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const h=e.refineInfos[a];if(h.layerView.layer.id===s.layer.id&&h.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...h,...o.removeIds])],o.addIds=o.addIds.filter((i=>h.indexOf(i)<0)),o.removeIds.length>0&&e.push({ids:h,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==y.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[l]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}static get watchers(){return{locale:["localeWatchHandler"]}}};x.style=':host{display:block}.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}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.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:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110, 110, 110, .3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110, 110, 110, .3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';export{S as map_select_tools,k as pdf_download,x as refine_selection}
@@ -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,a as e,h as a,H as l}from"./p-e996c38f.js";import{b as o,c as n,a as h}from"./p-80cb7c73.js";import{l as c,g as r}from"./p-404cbf48.js";import{e as d,h as p}from"./p-5693ce7a.js";import{s as g}from"./p-e6859850.js";import{c as b,r as m}from"./p-4084e2d1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const f=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.initialNotice="",this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}get el(){return s(this)}_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popupEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=e("assets/data/images/onboarding.png")}render(){return a(l,{key:"48d98f3f0d6230fdec6227f7ba81250d38204d1c"},a("calcite-shell",{key:"cff88c2774df83a9b8af62910cfa4075ec8d61c0"},a("calcite-action-bar",{key:"eab17f993ae13af3f8bd06f8b0a66542799ea6f7",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections(),i=t?this._translations.listHasSetsTip:""!==this.initialNotice?this.initialNotice:this._translations.selectLayerAndAdd;return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1",label:""},this._selectionSets.reduce(((t,i,s)=>{const e=this._getSelectionSetIds(i);let l=!0;return i.workflowType===h.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,searchDistanceEnabled:this.enableSearchDistanceOnLoad,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol,useLayerFeaturesEnabled:this.enableLayerFeaturesOnLoad})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",e=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${e}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${e}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,locale:this.locale,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,e,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:s,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},e))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const s=this._getSelectionSetIds(i),e=i.workflowType!==h.REFINE||s.length>0;return!this._downloadActive&&i.download&&e&&(this._downloadActive=!0),e&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list",label:""},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const s=i?.layerView?.layer.id;t=this._updateExportInfos(t,s,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,e,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:e,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};f.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';export{f as public_notification}
@@ -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-4084e2d1.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 e{arcade;intl;async getPopupTitle(s,e){this.arcade||await this._initModules();let i={};for(const[t,e]of Object.entries(s.attributes))i={...i,[`{${t.toUpperCase()}}`]:e};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:e});null==r&&""===r||(i[`{expression/${o.name}}`.toUpperCase()]=r)}catch(t){console.error(t);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach((e=>{const o=s.attributes[e.name],n=a.popupTemplate.fieldInfos.find((t=>t.fieldName.toLowerCase()===e.name.toLowerCase())),r=t(o,e.type,e.domain,n?.format,this.intl);i[`{${e.name.toUpperCase()}}`]=r??o})),o?.replace(/{.*?}/g,(t=>null!=i[t.toUpperCase()]?i[t.toUpperCase()]:""))}_removeTags(t){return null==t||""===t?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){const[t,e]=await s(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=e}}export{e as P}
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0-next.123 */
4
- import{b as d}from"./ZBMTRW4F.js";import"./JDC4CCNQ.js";function _(a){return a%100==2}function s(a){return a%100==3||a%100==4}function m(a,e,c,n){var r=a+" ";switch(c){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"m":return e?"ena minuta":"eno minuto";case"mm":return _(a)?r+(e||n?"minuti":"minutama"):s(a)?r+(e||n?"minute":"minutami"):r+(e||n?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return _(a)?r+(e||n?"uri":"urama"):s(a)?r+(e||n?"ure":"urami"):r+(e||n?"ur":"urami");case"d":return e||n?"en dan":"enim dnem";case"dd":return _(a)?r+(e||n?"dneva":"dnevoma"):r+(e||n?"dni":"dnevi");case"M":return e||n?"en mesec":"enim mesecem";case"MM":return _(a)?r+(e||n?"meseca":"mesecema"):s(a)?r+(e||n?"mesece":"meseci"):r+(e||n?"mesecev":"meseci");case"y":return e||n?"eno leto":"enim letom";case"yy":return _(a)?r+(e||n?"leti":"letoma"):s(a)?r+(e||n?"leta":"leti"):r+(e||n?"let":"leti")}}var l={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_\u010Detrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._\u010Det._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_\u010De_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"\u010Dez %s",past:"pred %s",s:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m}};d.locale(l,null,!0);var t=l;export{t as default};
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0-next.123 */
4
- import{a as P}from"./SHIRLQTM.js";import"./OJGLTFDQ.js";import{a as f,b as S}from"./6HR6FZG5.js";import{a as l}from"./PYAEZBTT.js";import"./Y2RMF5RD.js";import{a as T}from"./JZGJVQKB.js";import{b as $}from"./W7LKQZLC.js";import"./5VK4UUOT.js";import{b as v}from"./3QYPPYKC.js";import"./YQW2HZIZ.js";import{I as u,d as g,e as a,i as r,u as i,v as w,w as p}from"./TQ427GJX.js";var y={handle:"handle",dropdown:"dropdown"},H={drag:"drag",blank:"blank"},h={label:"{label}",position:"{position}",total:"{total}"},D=["top","up","down","bottom"],M=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,m=class extends w{constructor(){super(...arguments),this.disabled=!1,this.messages=T({blocking:!0}),this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=P,this.scale="m",this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!1}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!1})}static{this.properties={disabled:7,flipPlacements:0,label:1,messageOverrides:0,messages:0,moveToItems:0,open:7,overlayPositioning:3,placement:3,scale:3,setPosition:9,setSize:9,widthScale:3}}static{this.styles=M}async setFocus(){await v(this),this.dropdownEl?.setFocus()}async load(){}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}updated(){f(this)}loaded(){}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:o,setSize:s}=this,n=e?t.repositionLabel.replace(h.label,e):t.reposition;return n=n.replace(h.position,o?o.toString():""),n.replace(h.total,s?s.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,o=this.moveToItems.find(s=>s.id===t);this.calciteSortHandleMove.emit({moveTo:o})}render(){let{disabled:e,flipPlacements:t,messages:o,open:s,overlayPositioning:n,placement:I,scale:d,setPosition:B,setSize:b,widthScale:C,moveToItems:O}=this,c=this.getLabel(),E=e||!B||!b||b<2&&O.length<1;return S({disabled:e,children:a`<calcite-dropdown class=${p(y.dropdown)} .disabled=${E} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${n} .placement=${I} .scale=${d} .widthScale=${C} ${$(this.setDropdownEl)}><calcite-action .active=${s} appearance=transparent class=${p(y.handle)} .dragHandle=${!0} .icon=${e?H.blank:H.drag} .label=${c} .scale=${d} slot=trigger .text=${c} title=${c??r}></calcite-action>${l("reorder",a`<calcite-dropdown-group .groupTitle=${o.reorder} .scale=${d} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`)}${this.renderMoveToGroup()}</calcite-dropdown>`})}renderMoveToItem(e){return l(e.id,a`<calcite-dropdown-item data-id=${e.id??r} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:o}=this;return t.length?l("move-to-items",a`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map(s=>this.renderMoveToItem(s))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t){return l(D[e],a`<calcite-dropdown-item data-value=${D[e]??r} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){let{setPosition:e}=this;return e!==1&&e!==2?this.renderDropdownItem(0,this.messages.moveToTop):null}renderUp(){return this.setPosition!==1?this.renderDropdownItem(1,this.messages.moveUp):null}renderDown(){return this.setPosition!==this.setSize?this.renderDropdownItem(2,this.messages.moveDown):null}renderBottom(){let{setPosition:e,setSize:t}=this;return e!==t&&e!==t-1?this.renderDropdownItem(3,this.messages.moveToBottom):null}};u("calcite-sort-handle",m);export{m as SortHandle};
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0-next.123 */
4
- import{a as s}from"./FYRRB4YU.js";import{I as i,d as e,e as t,v as r}from"./TQ427GJX.js";var a=e`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends r{static{this.properties={groupTitle:1}}static{this.styles=a}load(){s.deprecated("component",{name:"tip-group",removalVersion:4,suggested:["carousel","carousel-item"]})}render(){return t`<slot></slot>`}};i("calcite-tip-group",o);export{o as TipGroup};