@esri/solutions-components 1.1.0-next.20251003 → 1.1.0-next.20251007.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. package/dist/cdn/{6VAWBHQH.js → 23RNYCUX.js} +2 -2
  2. package/dist/cdn/{JAPLJADD.js → 25EAY44P.js} +2 -2
  3. package/dist/cdn/{WZIKGI4S.js → 2BRFHP6L.js} +2 -2
  4. package/dist/cdn/{7DW6E2G4.js → 2GQ6UAM3.js} +2 -2
  5. package/dist/cdn/{QLEOLUNQ.js → 2IQTEPJZ.js} +2 -2
  6. package/dist/cdn/{TGEGZY2G.js → 2IUHBPHJ.js} +2 -2
  7. package/dist/cdn/{RRCJCS53.js → 2JDTOOWA.js} +2 -2
  8. package/dist/cdn/{T2IELMDA.js → 2JPHX4SI.js} +2 -2
  9. package/dist/cdn/{PLVZ6KCL.js → 2LDXPYFC.js} +2 -2
  10. package/dist/cdn/{3VQ57FB7.js → 2REXDZPZ.js} +2 -2
  11. package/dist/cdn/{C3ULFDL6.js → 2XKY7VRX.js} +1 -1
  12. package/dist/cdn/{JJ5NAWQF.js → 345KHFAP.js} +2 -2
  13. package/dist/cdn/{FY3IA2CD.js → 34FJLUMK.js} +2 -2
  14. package/dist/cdn/{O73TK37S.js → 34LYISA3.js} +1 -1
  15. package/dist/cdn/{JMQYSN2U.js → 3EWQDBJH.js} +2 -2
  16. package/dist/cdn/{4QH5EQCM.js → 3HKMAZ7P.js} +2 -2
  17. package/dist/cdn/{QF5SFD5P.js → 3N4ZRI2R.js} +1 -1
  18. package/dist/cdn/3QLHCKDF.js +20 -0
  19. package/dist/cdn/{KFVDMG2X.js → 3RLT36PX.js} +2 -2
  20. package/dist/cdn/{IEWCFRS3.js → 3SUWOWNI.js} +2 -2
  21. package/dist/cdn/{6AN3IZTS.js → 3VXZONLC.js} +2 -2
  22. package/dist/cdn/{RG3HIFJ7.js → 3ZLTU5S3.js} +2 -2
  23. package/dist/cdn/{4Y5PAGVV.js → 4CAOPIEU.js} +2 -2
  24. package/dist/cdn/4HUZ576Y.js +4 -0
  25. package/dist/cdn/{QGM2IHP7.js → 4JV2VXKH.js} +2 -2
  26. package/dist/cdn/4KRZ5XHU.js +4 -0
  27. package/dist/cdn/{MTFQHJ7S.js → 4OSFXM5I.js} +2 -2
  28. package/dist/cdn/{4O4I37QW.js → 4SYLNZ6R.js} +2 -2
  29. package/dist/cdn/{O5IC74VW.js → 4W6APK4T.js} +2 -2
  30. package/dist/cdn/{G2HJS27Y.js → 57TU2757.js} +2 -2
  31. package/dist/cdn/{NPTS3X7S.js → 5AU3UVVI.js} +2 -2
  32. package/dist/cdn/{4K4JSGYM.js → 5DCSTFQL.js} +2 -2
  33. package/dist/cdn/{3MXHKKW3.js → 5GWC7QG2.js} +2 -2
  34. package/dist/cdn/{DDVJ3JLU.js → 5IFHBEBL.js} +2 -2
  35. package/dist/cdn/{IYGRD77H.js → 5J7ZEQ2M.js} +2 -2
  36. package/dist/cdn/{ZVL3K67Z.js → 5O442EOV.js} +2 -2
  37. package/dist/cdn/5QRVI2WO.js +379 -0
  38. package/dist/cdn/{4RE4Y5FQ.js → 5RXTZLQN.js} +2 -2
  39. package/dist/cdn/{C5JMA3VO.js → 5XRHV2ZL.js} +2 -2
  40. package/dist/cdn/{4PSBLA5A.js → 63P5O4B7.js} +1 -1
  41. package/dist/cdn/{G5A42QWN.js → 6H3E6UDA.js} +2 -2
  42. package/dist/cdn/{76YHYO6R.js → 6NQMSBTC.js} +2 -2
  43. package/dist/cdn/{GCCMX7HT.js → 6POPEKGV.js} +2 -2
  44. package/dist/cdn/{HYZPVUUU.js → 6QXPQNVW.js} +2 -2
  45. package/dist/cdn/{FTQB6L4P.js → 6UA7MGMQ.js} +2 -2
  46. package/dist/cdn/{R5MOLXYO.js → 73EFR23S.js} +2 -2
  47. package/dist/cdn/{ULYPTG4C.js → 7AGOME7H.js} +2 -2
  48. package/dist/cdn/{DMOU6E5N.js → 7BHBEVAM.js} +1 -1
  49. package/dist/cdn/{NBVYJDDR.js → 7BHDIJKI.js} +2 -2
  50. package/dist/cdn/{E6F3Q2WH.js → 7CLVLK6R.js} +1 -1
  51. package/dist/cdn/{4NXA4R4C.js → 7FTQ4TRE.js} +2 -2
  52. package/dist/cdn/{O44LA7OL.js → 7JP2H6ZO.js} +1 -1
  53. package/dist/cdn/{Z3IFAZMT.js → 7XQPJP2O.js} +2 -2
  54. package/dist/cdn/{36GXCPP5.js → AE5B7BUN.js} +2 -2
  55. package/dist/cdn/{7RLPE2LE.js → AJVXYTUE.js} +2 -2
  56. package/dist/cdn/{V3ZZ5N4R.js → ALGEWWHL.js} +2 -2
  57. package/dist/cdn/{XSZKL3RH.js → AMNEPKZH.js} +2 -2
  58. package/dist/cdn/ANCQW5PF.js +4 -0
  59. package/dist/cdn/{T3AL5SL4.js → AOIBL2RW.js} +2 -2
  60. package/dist/cdn/{AD2XEHSU.js → ARD3AXPX.js} +2 -2
  61. package/dist/cdn/{ZCNTFMFD.js → B35SCOYC.js} +1 -1
  62. package/dist/cdn/{EFVSZIO5.js → B5CXC6T4.js} +2 -2
  63. package/dist/cdn/{MCCOBK4U.js → B5IQKISE.js} +2 -2
  64. package/dist/cdn/{5CY6O5VY.js → BAE55LHR.js} +2 -2
  65. package/dist/cdn/{EGJJCZ6T.js → BBV4DJRN.js} +2 -2
  66. package/dist/cdn/{MPOQCAB6.js → BCYRT74S.js} +2 -2
  67. package/dist/cdn/{MDXWBTRA.js → BFFYBBYG.js} +2 -2
  68. package/dist/cdn/BFOMDLQR.js +18 -0
  69. package/dist/cdn/{53YVFBD6.js → BJMGBP2V.js} +3 -3
  70. package/dist/cdn/{JD2NWIUZ.js → BKPJQFOK.js} +1 -1
  71. package/dist/cdn/{G5QG243B.js → BKVX5QXH.js} +2 -2
  72. package/dist/cdn/{BUK3AXVT.js → BQPHIWVN.js} +4 -4
  73. package/dist/cdn/{CUAKPCDU.js → BXYGEACI.js} +2 -2
  74. package/dist/cdn/{IT2QFIDQ.js → BYS6RPZ2.js} +2 -2
  75. package/dist/cdn/{YWR4TMJW.js → BZWC5JDO.js} +2 -2
  76. package/dist/cdn/{62EH24ZG.js → CCH7SIF3.js} +2 -2
  77. package/dist/cdn/{DO4C2ZFB.js → CCZWYN2L.js} +2 -2
  78. package/dist/cdn/{NBPC3ZFT.js → CDDJYJ5L.js} +2 -2
  79. package/dist/cdn/CFK4AONK.js +18 -0
  80. package/dist/cdn/{KCRJ3JSU.js → CH3UFK6C.js} +2 -2
  81. package/dist/cdn/CL5MMUY6.js +18 -0
  82. package/dist/cdn/{6YK3D4GD.js → CS6TGE3X.js} +2 -2
  83. package/dist/cdn/{NVNJVDKY.js → CWW4TIP3.js} +2 -2
  84. package/dist/cdn/{PK5PHGBL.js → DBL73LBF.js} +2 -2
  85. package/dist/cdn/{QLUF3CA4.js → DFILBYHH.js} +2 -2
  86. package/dist/cdn/{R2BTBE5Y.js → DGG2R6PP.js} +1 -1
  87. package/dist/cdn/{ZLFAD7B6.js → DI33435F.js} +2 -2
  88. package/dist/cdn/{LZ3VYGB4.js → DI5J2CFS.js} +2 -2
  89. package/dist/cdn/{ZN44SNEG.js → DI6ZYUOP.js} +2 -2
  90. package/dist/cdn/{Q6F3I5ID.js → DICVUCL7.js} +2 -2
  91. package/dist/cdn/{IJ7XUCKZ.js → DJUAK5MT.js} +2 -2
  92. package/dist/cdn/DKFUHEDP.js +4 -0
  93. package/dist/cdn/{UMLSM7SQ.js → DLS6LBMG.js} +2 -2
  94. package/dist/cdn/{B32GA4ZY.js → DMVMCVRH.js} +2 -2
  95. package/dist/cdn/{RSOXCIBH.js → DNWSUZU6.js} +2 -2
  96. package/dist/cdn/{276ZHID6.js → DOTRAWE3.js} +2 -2
  97. package/dist/cdn/{NGPTQFAY.js → DS5QDJCC.js} +1 -1
  98. package/dist/cdn/{3FSQROF5.js → DTUV2SZQ.js} +1 -1
  99. package/dist/cdn/{M3WLEKZY.js → DVEARR2O.js} +1 -1
  100. package/dist/cdn/{G433TJJM.js → DWRK4ASH.js} +2 -2
  101. package/dist/cdn/{P4CH3JVD.js → DYB57UXW.js} +1 -1
  102. package/dist/cdn/{XLOS4YK7.js → E64NA5IJ.js} +2 -2
  103. package/dist/cdn/{CQK3BMBI.js → EBYV7LDT.js} +2 -2
  104. package/dist/cdn/{ZPZAW75N.js → EHYIXKQK.js} +2 -2
  105. package/dist/cdn/{6WUCMVS2.js → EKKF5NYB.js} +2 -2
  106. package/dist/cdn/{GYRPSJG5.js → EKX2N43V.js} +2 -2
  107. package/dist/cdn/{QXJZIFME.js → EP6GQK76.js} +2 -2
  108. package/dist/cdn/{JMNPNOMM.js → EQAAQXEV.js} +2 -2
  109. package/dist/cdn/{T7AEMZMX.js → ESJZHLJI.js} +2 -2
  110. package/dist/cdn/{MIMNLENH.js → EVLATB2D.js} +2 -2
  111. package/dist/cdn/{VWW3LSRO.js → EX7YXNQ4.js} +2 -2
  112. package/dist/cdn/{6F2I4B23.js → EXJGT27X.js} +2 -2
  113. package/dist/cdn/{GF32HN3G.js → EYJJXQ6T.js} +2 -2
  114. package/dist/cdn/{QBYTLAAR.js → EYPTTOZ2.js} +2 -2
  115. package/dist/cdn/{RGQ5Y5GC.js → F2GUNTZS.js} +2 -2
  116. package/dist/cdn/{SSNVKKF2.js → F5JHIBTP.js} +2 -2
  117. package/dist/cdn/FJRO4BGU.js +6 -0
  118. package/dist/cdn/{OXR3CLWM.js → FOAMHQSE.js} +2 -2
  119. package/dist/cdn/FQOXWDCQ.js +4 -0
  120. package/dist/cdn/{G6OXKKII.js → FR56FFEG.js} +2 -2
  121. package/dist/cdn/{3QTLO72X.js → FWXW2OGJ.js} +2 -2
  122. package/dist/cdn/{V4AQKHXK.js → G7E4MRCF.js} +2 -2
  123. package/dist/cdn/{R2VZTVWF.js → G7ZYRIBV.js} +2 -2
  124. package/dist/cdn/{REIIATFT.js → GA5JF4P7.js} +2 -2
  125. package/dist/cdn/{TNOZQKKG.js → GB7NCS3L.js} +1 -1
  126. package/dist/cdn/{AUBGDSNS.js → GDEFDXOK.js} +2 -2
  127. package/dist/cdn/{TKY57TEX.js → GDX66WJC.js} +2 -2
  128. package/dist/cdn/{GU2J27Y4.js → GFCI4PRE.js} +2 -2
  129. package/dist/cdn/GJFBOOTQ.js +4 -0
  130. package/dist/cdn/{UG6DTQWC.js → GJYAJRU4.js} +2 -2
  131. package/dist/cdn/GMAB24CO.js +4 -0
  132. package/dist/cdn/{TG6OB6L6.js → GQXZWV6G.js} +2 -2
  133. package/dist/cdn/{4YRN5QU6.js → GTI7TTVN.js} +2 -2
  134. package/dist/cdn/{VYKVHYXK.js → GTPYKXHI.js} +2 -2
  135. package/dist/cdn/{HL4CBUJV.js → GULWP3VY.js} +1 -1
  136. package/dist/cdn/{PULWJVQ6.js → GVG6ZDPJ.js} +1 -1
  137. package/dist/cdn/{BA2ODWAV.js → GVJ62BVM.js} +2 -2
  138. package/dist/cdn/{CRSVD2NX.js → GZPVVSWK.js} +2 -2
  139. package/dist/cdn/{6CH5PJ3D.js → H57LSFQD.js} +2 -2
  140. package/dist/cdn/{GL2DFPES.js → H6MAJN5V.js} +2 -2
  141. package/dist/cdn/{O5FSYFTO.js → HDQRTX7R.js} +2 -2
  142. package/dist/cdn/{74BJAXNM.js → HEHJKFLZ.js} +2 -2
  143. package/dist/cdn/{USH2FWEI.js → HPOZHIK5.js} +2 -2
  144. package/dist/cdn/{QT6NQCTF.js → HQ6LUKCF.js} +2 -2
  145. package/dist/cdn/{Z5526TL4.js → HS46BROK.js} +2 -2
  146. package/dist/cdn/{J73WKE2A.js → HVZETBKB.js} +2 -2
  147. package/dist/cdn/{M2HAF2GX.js → HWA4KP7B.js} +2 -2
  148. package/dist/cdn/{L7GNTOWS.js → HXPCAYJ4.js} +2 -2
  149. package/dist/cdn/{FZPBKB2A.js → HZX2QANF.js} +2 -2
  150. package/dist/cdn/{4V7S5IMD.js → I4DJ4JRG.js} +2 -2
  151. package/dist/cdn/{WBFSXBTD.js → IIEAS4PG.js} +2 -2
  152. package/dist/cdn/{DSQLWDME.js → IJVCRHJI.js} +2 -2
  153. package/dist/cdn/{OZSUO2RI.js → IKQVO7HX.js} +2 -2
  154. package/dist/cdn/{255FFRN6.js → IQ3OTAQ4.js} +2 -2
  155. package/dist/cdn/{KGFJINDZ.js → IU7QMDBW.js} +2 -2
  156. package/dist/cdn/{MAV2E7IR.js → IUTBQRGE.js} +2 -2
  157. package/dist/cdn/{6FQ5E7LZ.js → IVKF2SO2.js} +2 -2
  158. package/dist/cdn/{HOHL5YGO.js → IWEQMWUA.js} +2 -2
  159. package/dist/cdn/{UXHFA7TQ.js → IX2ARHHP.js} +1 -1
  160. package/dist/cdn/{BFMO27HI.js → IX75FB6F.js} +2 -2
  161. package/dist/cdn/{MLGWC5WC.js → IZG3RDWO.js} +2 -2
  162. package/dist/cdn/{52XXPOCM.js → IZQ3EUFI.js} +2 -2
  163. package/dist/cdn/{UFY4FKE4.js → J4RPWXAZ.js} +2 -2
  164. package/dist/cdn/{SG5MHJ4N.js → J5CQZYBN.js} +2 -2
  165. package/dist/cdn/{UXQTOOQF.js → JCWR4TWW.js} +2 -2
  166. package/dist/cdn/{DMYXBSFV.js → JFY2GKYD.js} +2 -2
  167. package/dist/cdn/{TTBW4SM4.js → JMWRTMVY.js} +2 -2
  168. package/dist/cdn/{QDGZPTOS.js → JPSXG3OI.js} +2 -2
  169. package/dist/cdn/{7APZNWWA.js → JQ6UI5DX.js} +2 -2
  170. package/dist/cdn/{HMFIFRBW.js → JTBFE7YA.js} +2 -2
  171. package/dist/cdn/{M3UIPWYF.js → JTDCZR27.js} +2 -2
  172. package/dist/cdn/{CGO26IXO.js → K3NGXIK7.js} +2 -2
  173. package/dist/cdn/{RVYKZUI7.js → K4A3KV5F.js} +2 -2
  174. package/dist/cdn/{UOTCT3X2.js → KCBJMAWP.js} +2 -2
  175. package/dist/cdn/{EQT2HI7R.js → KJT67556.js} +2 -2
  176. package/dist/cdn/{XKTAGUXR.js → KN3W5O5A.js} +2 -2
  177. package/dist/cdn/{DL3GVIIB.js → KNMEMHVR.js} +2 -2
  178. package/dist/cdn/KPK7R5G3.js +4 -0
  179. package/dist/cdn/{CRTVGF25.js → KPOOC4MV.js} +2 -2
  180. package/dist/cdn/{AMLT4MXJ.js → KQMB6PS2.js} +2 -2
  181. package/dist/cdn/{J3KF3PRN.js → KT4U4H5W.js} +2 -2
  182. package/dist/cdn/{WGAW32YJ.js → KTHYYGAI.js} +1 -1
  183. package/dist/cdn/{PDSJLVCU.js → KWQLECX2.js} +1 -1
  184. package/dist/cdn/{525LHKW2.js → L5L5B3F7.js} +2 -2
  185. package/dist/cdn/{XLOU4CT6.js → LCV7OVBM.js} +1 -1
  186. package/dist/cdn/{4AINUYJB.js → LEA3NJJT.js} +2 -2
  187. package/dist/cdn/{ENFNJDP4.js → LGFUKV3N.js} +2 -2
  188. package/dist/cdn/{NBFNKQRL.js → LRBCBZRO.js} +2 -2
  189. package/dist/cdn/{GW6MAVZB.js → LRLICM5M.js} +2 -2
  190. package/dist/cdn/{2VKF6PR4.js → LTIDIJED.js} +2 -2
  191. package/dist/cdn/{PJ6P5M6W.js → LUM3VJFG.js} +2 -2
  192. package/dist/cdn/{N6XFNMNC.js → LX4ZKNMH.js} +2 -2
  193. package/dist/cdn/{555R5J5L.js → LZGJ2VAE.js} +2 -2
  194. package/dist/cdn/{4BLZZ4AN.js → M3YEP4VL.js} +2 -2
  195. package/dist/cdn/{NWK4W24O.js → M5JFBQYL.js} +2 -2
  196. package/dist/cdn/{O4BW2L5G.js → MABSRXW6.js} +2 -2
  197. package/dist/cdn/{EHO2NULT.js → MEW5LPR4.js} +2 -2
  198. package/dist/cdn/{V4Z4WMMJ.js → MOOEJTQD.js} +2 -2
  199. package/dist/cdn/{NAAEMR7C.js → MOWTE4AA.js} +2 -2
  200. package/dist/cdn/{4EXRQCTU.js → MSKGANWQ.js} +2 -2
  201. package/dist/cdn/{ZIASRWEX.js → MTR7Y7K2.js} +2 -2
  202. package/dist/cdn/{NPZYRGJR.js → MUI3SV2F.js} +1 -1
  203. package/dist/cdn/{4IGJLSVQ.js → MVFFFET6.js} +2 -2
  204. package/dist/cdn/{PLJDLID2.js → MWI33SCU.js} +2 -2
  205. package/dist/cdn/{JMC5S3OP.js → MWR75R54.js} +2 -2
  206. package/dist/cdn/{D3RILYWV.js → MZIY6HZS.js} +2 -2
  207. package/dist/cdn/{76WTGL74.js → NAM7IFVX.js} +2 -2
  208. package/dist/cdn/NAXRAU2M.js +4 -0
  209. package/dist/cdn/{YDBXXYQT.js → NBPA6RIJ.js} +2 -2
  210. package/dist/cdn/{VOMUURUC.js → NF6OXWYZ.js} +2 -2
  211. package/dist/cdn/{UZ3FNZON.js → NFKSCTP6.js} +2 -2
  212. package/dist/cdn/{YUNO2IBI.js → NFRKDOES.js} +2 -2
  213. package/dist/cdn/{SKROSG35.js → NFZQVDQY.js} +2 -2
  214. package/dist/cdn/{63PGF4KB.js → NLHAWQMM.js} +2 -2
  215. package/dist/cdn/{DFUNTOD4.js → NNMWJY4Z.js} +2 -2
  216. package/dist/cdn/{EXUIACSX.js → NPPBXCED.js} +2 -2
  217. package/dist/cdn/{YNBOJIO2.js → NTAVDV5K.js} +1 -1
  218. package/dist/cdn/{5PEPXZUQ.js → O57CMSBW.js} +2 -2
  219. package/dist/cdn/OD3XVSB4.js +4 -0
  220. package/dist/cdn/{IO4BEC3B.js → OFKVPYAH.js} +2 -2
  221. package/dist/cdn/{BTBBUCFG.js → OG4CBZGX.js} +2 -2
  222. package/dist/cdn/{FNVLHQQW.js → OGNRB6E5.js} +2 -2
  223. package/dist/cdn/{NEWVUWSK.js → OLJB5ZX6.js} +2 -2
  224. package/dist/cdn/{HGTZZH7P.js → OPKCXLSS.js} +2 -2
  225. package/dist/cdn/{CV5QMNOP.js → OUEQWNWU.js} +2 -2
  226. package/dist/cdn/{4QJZ6RTQ.js → OVHCX5V6.js} +2 -2
  227. package/dist/cdn/{JJBMLBOD.js → OYBWUNBR.js} +2 -2
  228. package/dist/cdn/{OT7U2KKN.js → P2LJZ4R7.js} +1 -1
  229. package/dist/cdn/{4OIZKI5X.js → P452FU2A.js} +2 -2
  230. package/dist/cdn/{OBINZMHB.js → P5B5OPJ7.js} +2 -2
  231. package/dist/cdn/{2ONRUQFV.js → P5IYMZPU.js} +2 -2
  232. package/dist/cdn/{6BSJZZWP.js → P5WTX4AV.js} +2 -2
  233. package/dist/cdn/{ZD2KMD76.js → PBB762NR.js} +2 -2
  234. package/dist/cdn/{K7BJT7P5.js → PNMWHG2A.js} +2 -2
  235. package/dist/cdn/{JPAPTSIM.js → PUWI27EJ.js} +2 -2
  236. package/dist/cdn/{ECU5P5XQ.js → PV7JIFLO.js} +2 -2
  237. package/dist/cdn/PWZQUOIO.js +4 -0
  238. package/dist/cdn/{BASYG5EI.js → PXNBWHFQ.js} +2 -2
  239. package/dist/cdn/{YLQDUOIF.js → PYA6BXUC.js} +2 -2
  240. package/dist/cdn/{HW3AZE43.js → PZIZHAUI.js} +1 -1
  241. package/dist/cdn/{BLWJJIVF.js → Q2VEBPMP.js} +2 -2
  242. package/dist/cdn/{TFM3Q342.js → QCXP5YUZ.js} +1 -1
  243. package/dist/cdn/{SHYHZYKZ.js → QFSXTIFX.js} +2 -2
  244. package/dist/cdn/{KBYURVEW.js → QGZTCXHZ.js} +2 -2
  245. package/dist/cdn/{4DPOKY7J.js → QICKVKJ3.js} +2 -2
  246. package/dist/cdn/{YX5XY52P.js → QNQNS3YE.js} +2 -2
  247. package/dist/cdn/{BWXOVTHE.js → QQNIUC7N.js} +2 -2
  248. package/dist/cdn/{MIBJXLGF.js → QR2SQTCH.js} +2 -2
  249. package/dist/cdn/{7TLTRTJJ.js → QTCBCQZ2.js} +2 -2
  250. package/dist/cdn/{BE6Y4SAS.js → QUTZBGPK.js} +2 -2
  251. package/dist/cdn/{AAN2GORT.js → QZIXBRKD.js} +2 -2
  252. package/dist/cdn/{G5ID4AKW.js → R4IJ6HK7.js} +2 -2
  253. package/dist/cdn/{MLPRVROZ.js → R7HB6UKH.js} +2 -2
  254. package/dist/cdn/{ZJICNLKM.js → RAB2KG7C.js} +2 -2
  255. package/dist/cdn/{45KKZE6P.js → RCTGL2FP.js} +2 -2
  256. package/dist/cdn/{UPP373IZ.js → RD2WX543.js} +2 -2
  257. package/dist/cdn/{JPXZR7F6.js → RF4OY5XZ.js} +2 -2
  258. package/dist/cdn/{BCQ7PB5L.js → RMJIAKHU.js} +1 -1
  259. package/dist/cdn/{ZQCWMQNP.js → RNW4CN66.js} +1 -1
  260. package/dist/cdn/{EGSTJEDG.js → RPLMPA4K.js} +2 -2
  261. package/dist/cdn/RQQGLISY.js +18 -0
  262. package/dist/cdn/{Z2B6IWJT.js → RRW7XCIA.js} +2 -2
  263. package/dist/cdn/{K4U36B2V.js → RY5P5BOU.js} +2 -2
  264. package/dist/cdn/{NKHE4IDW.js → S7YJOERY.js} +2 -2
  265. package/dist/cdn/{UGCZTLUJ.js → SBQBYF4K.js} +2 -2
  266. package/dist/cdn/{66BJFYWK.js → SJH7VZSJ.js} +2 -2
  267. package/dist/cdn/{SQYDLSNS.js → SMDTMEBE.js} +2 -2
  268. package/dist/cdn/{ESXLY5ZV.js → SPDKTODN.js} +2 -2
  269. package/dist/cdn/{SKWHNZUO.js → SR6AD4QD.js} +2 -2
  270. package/dist/cdn/{SGLIPS4K.js → STLOP6CJ.js} +2 -2
  271. package/dist/cdn/{L3HN5AEC.js → SVLZC43Y.js} +2 -2
  272. package/dist/cdn/{YZ3L2PZE.js → T5XIUPXJ.js} +2 -2
  273. package/dist/cdn/{6SJN3RI6.js → TAW7AKE2.js} +1 -1
  274. package/dist/cdn/{VSD3M6NN.js → TEASRN7Y.js} +2 -2
  275. package/dist/cdn/{CNS57OWN.js → TFAY3XOM.js} +2 -2
  276. package/dist/cdn/{DEDFE33X.js → TIRNR2CP.js} +2 -2
  277. package/dist/cdn/{YETXYXLA.js → TJSIZLLY.js} +2 -2
  278. package/dist/cdn/{HOAEW2HA.js → TMGLEUWQ.js} +2 -2
  279. package/dist/cdn/{CVHMW6KL.js → TQ6ETPV2.js} +2 -2
  280. package/dist/cdn/{NITTCIVL.js → TU6YWCRM.js} +2 -2
  281. package/dist/cdn/{XCBEEW4Y.js → TXOENDRN.js} +2 -2
  282. package/dist/cdn/{HMM6LNIK.js → UBMWX24K.js} +2 -2
  283. package/dist/cdn/{N3SX4PJO.js → UCIJ7OPK.js} +2 -2
  284. package/dist/cdn/{WSRJWIJL.js → UCRPQIXK.js} +2 -2
  285. package/dist/cdn/{CG6TQX5R.js → UD7VDAKG.js} +2 -2
  286. package/dist/cdn/{5ZLN2E7F.js → UGCF4OIU.js} +2 -2
  287. package/dist/cdn/{GAJHKAP6.js → UGP753AZ.js} +2 -2
  288. package/dist/cdn/{4V6ENHCJ.js → UJ4Y66SF.js} +2 -2
  289. package/dist/cdn/{AWHMTVRK.js → UJILZPVR.js} +2 -2
  290. package/dist/cdn/{WTTVUTLF.js → UORRX6O6.js} +2 -2
  291. package/dist/cdn/{74AFVSP3.js → UULSSUP6.js} +2 -2
  292. package/dist/cdn/{EOP427LW.js → UZDSE25E.js} +2 -2
  293. package/dist/cdn/{WZEVKWM7.js → UZMJJZUY.js} +2 -2
  294. package/dist/cdn/{JSG72U23.js → V4CZPJAQ.js} +2 -2
  295. package/dist/cdn/{NB5Y75SB.js → V4WS3ZTF.js} +2 -2
  296. package/dist/cdn/{WYKWWP7A.js → VAHPHPAM.js} +2 -2
  297. package/dist/cdn/{DM5TQ2UX.js → VC7JUA25.js} +2 -2
  298. package/dist/cdn/{BXVIXLRN.js → VHD5YYNN.js} +2 -2
  299. package/dist/cdn/{SHSMDVKF.js → VKSJKOE2.js} +2 -2
  300. package/dist/cdn/{5W566AFV.js → W4SJRPXF.js} +2 -2
  301. package/dist/cdn/{ZYGVWDQR.js → W7JZXZPW.js} +2 -2
  302. package/dist/cdn/{QD45UNRU.js → WHHG5JY6.js} +1 -1
  303. package/dist/cdn/{H36WONTX.js → WIKHUM7W.js} +1 -1
  304. package/dist/cdn/{NRNJQ6LW.js → WJ7A5A7U.js} +1 -1
  305. package/dist/cdn/{74GRV4IA.js → WKHVDG5Y.js} +2 -2
  306. package/dist/cdn/{UOQ75LBF.js → WO4C3IFF.js} +2 -2
  307. package/dist/cdn/{FNU2KCAL.js → WPKL5LOX.js} +2 -2
  308. package/dist/cdn/{PGQILJGZ.js → WTC4UINM.js} +2 -2
  309. package/dist/cdn/{UWPYZKRU.js → WYPW3YEU.js} +2 -2
  310. package/dist/cdn/{GOMCCYIB.js → WZEK7EH3.js} +2 -2
  311. package/dist/cdn/{MUKFRDRU.js → X42IJITC.js} +2 -2
  312. package/dist/cdn/X4GJCR5U.js +4 -0
  313. package/dist/cdn/{WLOLHBFB.js → X7LWTITW.js} +2 -2
  314. package/dist/cdn/{VCKCORX7.js → XBG4WOKU.js} +2 -2
  315. package/dist/cdn/{VEPVOZOG.js → XFDZQS6K.js} +2 -2
  316. package/dist/cdn/{4SVJQ4LX.js → XGVXQSHY.js} +1 -1
  317. package/dist/cdn/{H6CR332J.js → XROGQBEM.js} +2 -2
  318. package/dist/cdn/{3X2PJRLH.js → XUNDEPWU.js} +2 -2
  319. package/dist/cdn/{LDCLSTHK.js → XVO576HM.js} +2 -2
  320. package/dist/cdn/{FQ34TDJ5.js → Y4L2AKM4.js} +2 -2
  321. package/dist/cdn/{N2UEZKKT.js → Y4ZPEHKX.js} +1 -1
  322. package/dist/cdn/{3OKTZASX.js → YHJCXSZM.js} +2 -2
  323. package/dist/cdn/{AXXSKOG7.js → YKONETBH.js} +2 -2
  324. package/dist/cdn/{XQVP3LAD.js → YKPZ7RKE.js} +1 -1
  325. package/dist/cdn/{N7M4R6MB.js → YPL6GT6C.js} +2 -2
  326. package/dist/cdn/{3OY3YMT5.js → YR3KFLNK.js} +1 -1
  327. package/dist/cdn/{ODRRKBUZ.js → YUQNIMR3.js} +2 -2
  328. package/dist/cdn/{WWWGD7IQ.js → YVDGEJ2V.js} +2 -2
  329. package/dist/cdn/{K7E3FYY7.js → ZCEFL75O.js} +1 -1
  330. package/dist/cdn/{TKZN4NGF.js → ZCNZIB5X.js} +2 -2
  331. package/dist/cdn/{GZTVZREB.js → ZCQZCQRA.js} +2 -2
  332. package/dist/cdn/{BCT76NH3.js → ZCZDGBZT.js} +2 -2
  333. package/dist/cdn/{F6ZCZA77.js → ZF4FJHV3.js} +2 -2
  334. package/dist/cdn/{ICBOQVUT.js → ZGDN65OM.js} +2 -2
  335. package/dist/cdn/{3I72PCEP.js → ZKZ2XXJ5.js} +1 -1
  336. package/dist/cdn/{HSOFX6JP.js → ZMNQWO6W.js} +2 -2
  337. package/dist/cdn/{TZMCPBQ6.js → ZR6UK3UQ.js} +2 -2
  338. package/dist/cdn/ZUM45Z2W.js +4 -0
  339. package/dist/cdn/{3SSM44AZ.js → ZVXYK72X.js} +2 -2
  340. package/dist/cdn/{EIOQMWBZ.js → ZYDNODZ2.js} +1 -1
  341. package/dist/cdn/{LV5REHNL.js → ZZPWM2Q2.js} +2 -2
  342. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ar.json +1 -0
  343. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_bg.json +1 -0
  344. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_bs.json +1 -0
  345. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ca.json +1 -0
  346. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_cs.json +1 -0
  347. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_da.json +1 -0
  348. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_de.json +1 -0
  349. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_el.json +1 -0
  350. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_es.json +1 -0
  351. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_et.json +1 -0
  352. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_fi.json +1 -0
  353. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_fr.json +1 -0
  354. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_he.json +1 -0
  355. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_hr.json +1 -0
  356. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_hu.json +1 -0
  357. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_id.json +1 -0
  358. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_it.json +1 -0
  359. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ja.json +1 -0
  360. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ko.json +1 -0
  361. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_lt.json +1 -0
  362. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_lv.json +1 -0
  363. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_nl.json +1 -0
  364. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_no.json +1 -0
  365. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pl.json +1 -0
  366. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pt-BR.json +1 -0
  367. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pt-PT.json +1 -0
  368. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ro.json +1 -0
  369. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ru.json +1 -0
  370. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sk.json +1 -0
  371. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sl.json +1 -0
  372. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sr.json +1 -0
  373. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sv.json +1 -0
  374. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_th.json +1 -0
  375. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_tr.json +1 -0
  376. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_uk.json +1 -0
  377. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_vi.json +1 -0
  378. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-CN.json +1 -0
  379. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-HK.json +1 -0
  380. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-TW.json +1 -0
  381. package/dist/cdn/index.js +2 -2
  382. package/dist/chunks/Auth.js +1 -1
  383. package/dist/chunks/CardsFetcher.js +1 -1
  384. package/dist/chunks/appConfig.js +1 -1
  385. package/dist/chunks/cardFetchingUtils.js +1 -1
  386. package/dist/chunks/cardsHelpers.js +1 -1
  387. package/dist/chunks/common.js +1 -1
  388. package/dist/chunks/deployAppContexts.js +1 -1
  389. package/dist/chunks/downloadUtils.js +1 -1
  390. package/dist/chunks/getItemIcon.js +1 -1
  391. package/dist/chunks/helpers.js +1 -1
  392. package/dist/chunks/interfaces.js +1 -1
  393. package/dist/chunks/loadModules.js +1 -1
  394. package/dist/chunks/mapViewUtils.js +1 -1
  395. package/dist/chunks/pciUtils.js +1 -1
  396. package/dist/chunks/popupUtils.js +1 -1
  397. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  398. package/dist/chunks/privilegeUtils.js +1 -1
  399. package/dist/chunks/publicNotificationContext.js +1 -1
  400. package/dist/chunks/queryUtils.js +1 -1
  401. package/dist/chunks/runtime.js +1 -1
  402. package/dist/chunks/solution-store.js +1 -1
  403. package/dist/chunks/templates.js +1 -1
  404. package/dist/chunks/useT9n.js +1 -1
  405. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  406. package/dist/components/basemap-gallery/customElement.js +1 -1
  407. package/dist/components/buffer-tools/customElement.js +1 -1
  408. package/dist/components/card-manager/customElement.js +1 -1
  409. package/dist/components/consent-manager/customElement.js +1 -1
  410. package/dist/components/create-feature/customElement.js +1 -1
  411. package/dist/components/create-related-feature/customElement.js +1 -1
  412. package/dist/components/crowdsource-manager/customElement.js +1 -1
  413. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  414. package/dist/components/deduct-calculator/customElement.js +1 -1
  415. package/dist/components/delete-button/customElement.js +1 -1
  416. package/dist/components/delete-dialog/customElement.js +1 -1
  417. package/dist/components/edit-card/customElement.js +1 -1
  418. package/dist/components/feature-details/customElement.js +1 -1
  419. package/dist/components/feature-list/customElement.js +1 -1
  420. package/dist/components/field-selection/customElement.js +91 -78
  421. package/dist/components/floor-filter/customElement.js +1 -1
  422. package/dist/components/info-card/customElement.js +1 -1
  423. package/dist/components/json-editor/customElement.js +1 -1
  424. package/dist/components/layer-list/customElement.js +1 -1
  425. package/dist/components/layer-table/customElement.d.ts +2 -0
  426. package/dist/components/layer-table/customElement.js +17 -14
  427. package/dist/components/map-card/customElement.js +1 -1
  428. package/dist/components/map-draw-tools/customElement.js +1 -1
  429. package/dist/components/map-fullscreen/customElement.js +1 -1
  430. package/dist/components/map-layer-picker/customElement.js +1 -1
  431. package/dist/components/map-legend/customElement.js +1 -1
  432. package/dist/components/map-picker/customElement.js +1 -1
  433. package/dist/components/map-search/customElement.js +1 -1
  434. package/dist/components/map-select-tools/customElement.js +1 -1
  435. package/dist/components/map-tools/customElement.js +1 -1
  436. package/dist/components/pci-calculator/customElement.js +1 -1
  437. package/dist/components/pdf-download/customElement.js +1 -1
  438. package/dist/components/public-notification/customElement.js +1 -1
  439. package/dist/components/refine-selection/customElement.js +1 -1
  440. package/dist/components/selection-tool/customElement.js +1 -1
  441. package/dist/components/solution-article-card/customElement.js +1 -1
  442. package/dist/components/solution-configuration/customElement.js +1 -1
  443. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  444. package/dist/components/solution-configure-titles/customElement.js +1 -1
  445. package/dist/components/solution-contents/customElement.js +1 -1
  446. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  447. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  448. package/dist/components/solution-deployed-card/customElement.js +1 -1
  449. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  450. package/dist/components/solution-details-card/customElement.js +1 -1
  451. package/dist/components/solution-details-panel/customElement.js +1 -1
  452. package/dist/components/solution-item/customElement.js +1 -1
  453. package/dist/components/solution-item-accordion/customElement.js +1 -1
  454. package/dist/components/solution-item-details/customElement.js +1 -1
  455. package/dist/components/solution-item-diagram/customElement.js +1 -1
  456. package/dist/components/solution-item-icon/customElement.js +1 -1
  457. package/dist/components/solution-item-sharing/customElement.js +1 -1
  458. package/dist/components/solution-organization-variables/customElement.js +1 -1
  459. package/dist/components/solution-resource-item/customElement.js +1 -1
  460. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  461. package/dist/components/solution-social-share/customElement.js +1 -1
  462. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  463. package/dist/components/solution-template-data/customElement.js +1 -1
  464. package/dist/components/solution-variables/customElement.js +1 -1
  465. package/dist/components/solutions-all-panel/customElement.js +1 -1
  466. package/dist/components/solutions-all-shell/customElement.d.ts +1 -1
  467. package/dist/components/solutions-all-shell/customElement.js +34 -31
  468. package/dist/components/solutions-article-panel/customElement.js +1 -1
  469. package/dist/components/solutions-articles/customElement.js +1 -1
  470. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  471. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  472. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  473. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +1 -1
  474. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  475. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  476. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  477. package/dist/components/solutions-filter-panel/customElement.d.ts +2 -8
  478. package/dist/components/solutions-filter-panel/customElement.js +1 -2
  479. package/dist/components/spatial-ref/customElement.js +1 -1
  480. package/dist/components/store-manager/customElement.js +1 -1
  481. package/dist/docs/api.json +9 -2
  482. package/dist/docs/docs.json +16 -2
  483. package/dist/docs/vscode.html-custom-data.json +1 -1
  484. package/dist/docs/web-types.json +12 -2
  485. package/dist/index.d.ts +1 -0
  486. package/dist/index.js +1 -1
  487. package/dist/loader.js +1 -1
  488. package/dist/types/lumina.d.ts +1 -0
  489. package/dist/types/preact.d.ts +1 -0
  490. package/dist/types/preact10.d.ts +1 -0
  491. package/dist/types/react.d.ts +1 -0
  492. package/dist/types/stencil.d.ts +1 -0
  493. package/dist/utils/interfaces.d.ts +4 -0
  494. package/package.json +20 -20
  495. package/dist/cdn/6SFMCZX5.js +0 -32
  496. package/dist/cdn/77JHJDO3.js +0 -4
  497. package/dist/cdn/A47CEPD4.js +0 -18
  498. package/dist/cdn/AQL2EEP6.js +0 -4
  499. package/dist/cdn/CFA55OMC.js +0 -18
  500. package/dist/cdn/DLEBYLCL.js +0 -4
  501. package/dist/cdn/DPF7M6FH.js +0 -4
  502. package/dist/cdn/E55QEAZU.js +0 -4
  503. package/dist/cdn/G2VAHTOZ.js +0 -18
  504. package/dist/cdn/JSLBDCYN.js +0 -4
  505. package/dist/cdn/LSNLFFRL.js +0 -18
  506. package/dist/cdn/LYQ3KTGD.js +0 -6
  507. package/dist/cdn/NDF3N6HW.js +0 -4
  508. package/dist/cdn/PUYL34E7.js +0 -379
  509. package/dist/cdn/QQMQZWHZ.js +0 -4
  510. package/dist/cdn/SP5Q3OWO.js +0 -4
  511. package/dist/cdn/U45RA23S.js +0 -4
  512. package/dist/cdn/W7MYYAYF.js +0 -4
  513. package/dist/cdn/XIH4QECN.js +0 -4
  514. package/dist/cdn/ZRJN3QPB.js +0 -4
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{a,b}from"./ZN44SNEG.js";import"./TNOZQKKG.js";import"./BCQ7PB5L.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{a as u}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b}from"./VSD3M6NN.js";import{D as m,E as f,h,i as p}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var _=h`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.height-51{height:51px}.width-51{width:51px}`,c=class extends f{constructor(){super(...arguments),this._translations=u({name:"field-selection",blocking:!0}),this._fieldSortOrder="default",this._selectedFields=[],this._fieldVisibilityPopoverClickHandler=i=>{this._fieldVisibilityPopoverNode?this._isInNode(i.target,"arcgis-field-pick-list")||(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0,document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)):document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)}}static{this.properties={layer:0,mapView:0,table:0,tableRef:0,_translations:16}}static{this.styles=_}render(){return p`<calcite-action class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${()=>this._handleFieldVisibilityClick()} @mouseover=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} @mouseout=${()=>this._removeTableTooltip()} @focus=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} ${m(i=>this._fieldVisibilityActionNode=i)}><calcite-icon scale=s icon=gear></calcite-icon></calcite-action>`}_handleFieldVisibilityClick(){if(this._fieldVisibilityPopoverNode)return;let i=this.table?.tableTemplate?.columnTemplates;if(this.layer&&this.mapView&&i&&this._fieldVisibilityActionNode){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler);let t=this.table.fieldColumns.map(s=>s.field);if(this._hasAttachmentsEnabled(this.layer)){let s="Attachments";if(!i.some(a=>a.fieldName===s)){let a={fieldName:s,type:"attachment",visible:!0};i.push(a)}t.push({name:s,alias:"Photos and files",type:"none",description:s})}if(this.table.relatedRecordsEnabled&&this.layer.relationships&&this.layer.relationships.length>0){let s=this.layer.parent;this.layer.relationships.forEach(a=>{let l;if(!i.some(n=>n.fieldName===a.name))if(a.name){l=a.name;let n={fieldName:l,type:"relationship",visible:!0};i.push(n)}else{let n=[...s?.layers||[],...s?.tables],o;if(n.some(r=>r.layerId===a.relatedTableId?(o=r,!0):!1),o){l=o.title,a.name=l;let r={fieldName:l,type:"relationship",visible:!0};i.push(r)}}l&&t.push({name:l,alias:`Related ${l}`,type:"none",description:`related:${l}`})})}let e=document.createElement("arcgis-field-pick-list");e.mapView=this.mapView,e.layer=this.layer,e.fields=t,e.showFieldInfo=!0,e.showFieldName=!0,e.showDescription=!1,e.showSelectionAll=!0,e.hideCancel=!0,e.hideSort=!1,e.showFilterLength=5,e.multiple=!0,e.heading=this._translations.fieldVisibility,e.okBtnText=this._translations.doneWithFieldChanges,e.filterPlaceholderText=this._translations.filterFields,e.sortBy=this._fieldSortOrder??"default",e.selectedFields=i.reduce((s,a)=>(a.visible&&s.push(a.fieldName),s),[]),this._selectedFields=e.selectedFields,e.style.minHeight="340px",e.popoverProps={refElement:this._fieldVisibilityActionNode,popoverWidth:300,placement:"bottom-end",offsetDistance:-20,triggerDisabled:!1,autoClose:!1},e.addEventListener("arcgisChange",s=>{s.stopPropagation();let a=s.detail.selectedFields,l=this._getDifference(a,this._selectedFields),n=this._getDifference(this._selectedFields,a);l.concat(n).forEach(o=>{let r=this.layer?.relationships?.map(d=>d.name)||[];if(o==="Attachments"){let d=this.table.columns.find(y=>"onShowAttachments"in y);d.hidden=n.indexOf(o)>-1}else r.indexOf(o)>-1?this.table.columns.filter(d=>"relationshipId"in d).forEach(d=>{n.indexOf(o)>-1,o==d.effectiveLabel&&(d.hidden=n.indexOf(o)>-1)}):this.table.toggleColumnVisibility(o)}),this._selectedFields=a,this._updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisSortByChange",s=>{s.stopPropagation(),this._fieldSortOrder=s.detail,this._sortFields(s.detail)}),e.addEventListener("arcgisClose",()=>{this._closePopovers(),setTimeout(()=>this._fieldVisibilityActionNode.setFocus(),200)}),document.body.appendChild(e),this._fieldVisibilityPopoverNode=e,setTimeout(()=>document.addEventListener("click",this._fieldVisibilityPopoverClickHandler),200)}}_sortFields(i){let t=this.table.tableTemplate.columnTemplates,e=this._getSortOrder(i),s=t.filter(l=>l.type!=="attachment"&&l.type!=="relationship").sort((l,n)=>{let o=e.indexOf(l.fieldName),r=e.indexOf(n.fieldName);return o===-1&&r!==-1?1:o!==-1&&r===-1?-1:o===-1&&r===-1?0:o-r}),a=t.filter(l=>l.type==="attachment"||l.type==="relationship");this.tableRef.setColumnOrder([...s,...a]),this._updateTable(this.table.tableTemplate)}_getSortOrder(i){let t=[...this.layer.fields];return i==="display"?t.sort((e,s)=>e.alias.localeCompare(s.alias)):i==="field"?t.sort((e,s)=>e.name.localeCompare(s.name)):i==="type"&&t.sort((e,s)=>e.type.localeCompare(s.type)),t.map(e=>e.name)}_getDifference(i,t){return i.filter(e=>!t.includes(e))}_updateTable(i){this.table.tableTemplate=i,this._isStandardView()&&this._syncAttributeTableTemplate()}async _syncAttributeTableTemplate(){let i=this.table.layer;if(i.attributeTableTemplate){let{_modules:t}=this,e=i.attributeTableTemplate.clone();t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,e),JSON.stringify(e)!==JSON.stringify(i.attributeTableTemplate)&&(i.attributeTableTemplate=e)}if(i.attributeTableTemplate?.orderByFields?.length>1){let t=i.attributeTableTemplate.clone(),e=this.table.activeSortOrders[0];t.orderByFields=[{field:e.fieldName,order:e.direction}],i.attributeTableTemplate=t,this._syncColumnDirectionsWithOrderByFields()}}_syncColumnDirectionsWithOrderByFields(){let i=this.table.activeSortOrders[0]?.fieldName;this.table.columns.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)}),this.table.tableTemplate?.columnTemplates.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)})}_isStandardView(){return!this.table.relatedTable&&!this.table.attachmentsViewOptions.objectId}_closePopovers(){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler),this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_addTableTooltip(i,t){let e=document.createElement("calcite-tooltip");e.className="table-tooltip",e.referenceElement=i,e.placement="trailing-start",e.open=!0;let s=document.createElement("div");s.className="tooltip",s.innerHTML=t,e.append(s),document.body.append(e)}_removeTableTooltip(){document.querySelectorAll(".table-tooltip").forEach(i=>i.parentNode?.removeChild(i))}_isInNode(i,t){for(;i;){if(i.nodeName===t.toUpperCase())return!0;i=i.parentElement}return!1}_hasAttachmentsEnabled(i){if(!i?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:e}}}=i;return t&&e}};b("field-selection",c);export{c as FieldSelection};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{Q as oe,R as re,S as ne,T as ae,U as le,V as ie,c as b,n as Z,o as W,p as M,q as ee,u as te,z as se}from"./LYQ3KTGD.js";import{b as y,h as Y}from"./HW3AZE43.js";var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await te(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await se({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Z(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(Y),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return re(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!ne(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ae(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await ie(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await le(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await oe(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,ee(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;export{St as a};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{a as h}from"./QXJZIFME.js";import{k as m}from"./HW3AZE43.js";import{a as A}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as I}from"./VSD3M6NN.js";import{E as F,h as S,i as l,o as y}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var T=S`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.border-color{--calcite-block-border-color: #00000000}`;var N={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},R=Object.keys(m).reduce((u,t)=>{let e=t;return u[e]=N[e]??[],u},{}),E=class extends F{constructor(){super(),this.hideIndustryFilter=!1,this.isAIsettingEnabled=!1,this._activeFilterSettings={categories:[],isOwnerMySolutions:!0,searchTerm:""},this._translations=A({name:"solutions-filter-panel",blocking:!0}),this.applyFilter=y(),this._handleFilterRemoved=t=>{let e=t.detail;Array.isArray(e)&&(this._activeFilterSettings={...this._activeFilterSettings,categories:[...e]})},this.listenOn(window,"filterRemoved",this._handleFilterRemoved)}static{this.properties={hideIndustryFilter:5,isAIsettingEnabled:5,_activeFilterSettings:16,_translations:16}}static{this.styles=T}changeIndustryFilter(t,e,o,d){if(t!==""||e!==""){let c=[];e!==""?c=[{displayValue:m[t],type:"industry",value:t,industry:t,domain:""},{displayValue:o,type:"domain",value:e,industry:t,domain:e}]:c=[{displayValue:o,type:e!==""?"domain":"industry",value:e!==""?e:t,industry:t,domain:e}],this._activeFilterSettings={...this._activeFilterSettings,categories:[...c]},d&&this.applyFilter.emit(c)}else{let c={displayValue:o,type:"industry",value:t,industry:t,domain:e};this._activeFilterSettings={...this._activeFilterSettings,categories:[c]},d&&this.applyFilter.emit(c)}}changeSearchFilter(t,e){this._activeFilterSettings={...this._activeFilterSettings,searchTerm:t},e&&this.applyFilter.emit({searchTerm:t})}clearFilters(){this.changeIndustryFilter("","",""),this.changeSearchFilter(""),this.applyFilter.emit(null)}render(){return l`<calcite-panel description .heading=${this._translations.findSolutions}><calcite-action icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action><calcite-input-text class="width-full" clearable icon=search @keyup=${t=>{let e=t.target;t.key==="Enter"?this.changeSearchFilter(e.value,!0):this.changeSearchFilter(e.value,e.value.length>=3||e.value.length===0)}} @blur=${t=>{let e=t.target;this.changeSearchFilter(e.value,!0)}} .placeholder=${this._translations.search.solutions} slot=content-top .value=${this._activeFilterSettings.searchTerm}></calcite-input-text><calcite-block-group .label=${this._translations.filters}>${!this.hideIndustryFilter&&this.renderIndustryBlock()||""}</calcite-block-group>${this.isAIsettingEnabled&&l`<calcite-button icon-start=speech-bubbles label="Solutions Assistant" round scale=l slot=footer-start></calcite-button>`||""}</calcite-panel>`}renderIndustryBlock(){let t=(i,a)=>this._activeFilterSettings.categories.some(s=>s.industry===i&&(s.domain??"")===a),e=i=>this._activeFilterSettings.categories.some(a=>a.industry===i&&(a.domain??"")===""),o=(i,a)=>a.length>0&&(e(i)||this._activeFilterSettings.categories.some(s=>s.industry===i&&!!s.domain&&a.includes(s.domain))),d=(i,a)=>a.map(s=>{let n=Object.keys(this._translations.industriesDomain).find(p=>p.toUpperCase()===s.toUpperCase()),r=n&&n in this._translations.industriesDomain?this._translations.industriesDomain[n]:s;return t(i,s)?h(s,l`<calcite-tree-item .label=${r} @click=${()=>this.changeIndustryFilter(i,s,r,!0)} selected>${r}</calcite-tree-item>`):h(s,l`<calcite-tree-item .label=${r} @click=${()=>this.changeIndustryFilter(i,s,r,!0)}>${r}</calcite-tree-item>`)}),c=Object.entries(R).map(([i,a])=>{let s=Object.keys(this._translations.industries).find(b=>b.toUpperCase()===i.toUpperCase()),n=s&&s in this._translations.industries?this._translations.industries[s]:i,r=a,p=e(i),g=o(i,r);return p?h(i,l`<calcite-tree-item .label=${n} @click=${()=>this.changeIndustryFilter(i,"",n,!0)} selected .expanded=${g?!0:void 0}>${n}${r.length>0&&l`<calcite-tree slot=children selection-mode=multiple>${d(i,r)}</calcite-tree>`||""}</calcite-tree-item>`):h(i,l`<calcite-tree-item .label=${n} @click=${()=>this.changeIndustryFilter(i,"",n,!0)} .expanded=${g?!0:void 0}>${n}${r.length>0&&l`<calcite-tree slot=children selection-mode=multiple>${d(i,r)}</calcite-tree>`||""}</calcite-tree-item>`)});return l`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-tree selection-mode=single-persist>${c}</calcite-tree></calcite-block>`}};I("solutions-filter-panel",E);export{E as SolutionsFilterPanel};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{a}from"./C5JMA3VO.js";import"./P4CH3JVD.js";import"./SG5MHJ4N.js";import"./PDSJLVCU.js";import"./REIIATFT.js";import"./M3WLEKZY.js";import"./4PSBLA5A.js";import"./BCQ7PB5L.js";export{a as buildUiSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{a,b}from"./555R5J5L.js";import"./CQK3BMBI.js";import"./CRSVD2NX.js";import"./O73TK37S.js";import"./TNOZQKKG.js";import"./6SJN3RI6.js";import"./BCQ7PB5L.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{a as t}from"./G5QG243B.js";import{s as e}from"./QF5SFD5P.js";var o=e(t,{"instant-apps-app-error":[()=>import("./DEDFE33X.js"),";clearErrorMessage"],"instant-apps-app-guide":[()=>import("./EQT2HI7R.js"),"data:,header"],"instant-apps-buffer":[()=>import("./R2VZTVWF.js").then(m=>m.default.then(e=>({InstantAppsBuffer:e}))),"bufferColor,bufferDistance,bufferGraphicSymbol:,bufferInputStep,bufferLayer:,bufferMaxDistance,bufferMinDistance,bufferOutlineColor,bufferOutlineWidth,bufferStyle,bufferUnit,disabled,geodesicBufferEnabled,inputGraphics:,readyToBuffer:,view:;clearBufferLayer,setFocus"],"instant-apps-control-panel":[()=>import("./NB5Y75SB.js"),"components:,view:"],"instant-apps-create":[()=>import("./FQ34TDJ5.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./PUYL34E7.js"),"allowedFileTypes:,beforeExport:,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./JJBMLBOD.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./G433TJJM.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./IYGRD77H.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./V3ZZ5N4R.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./76WTGL74.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./M3UIPWYF.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./DMYXBSFV.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./AMLT4MXJ.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./YDBXXYQT.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./ENFNJDP4.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./G5ID4AKW.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./KGFJINDZ.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./JMNPNOMM.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./NKHE4IDW.js"),"view:"],"instant-apps-landing-page":[()=>import("./HYZPVUUU.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./UPP373IZ.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./BXVIXLRN.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./R5MOLXYO.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-item":[()=>import("./QBYTLAAR.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./74GRV4IA.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./HMFIFRBW.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./UOQ75LBF.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./SGLIPS4K.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./4YRN5QU6.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./QDGZPTOS.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./SHYHZYKZ.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./YWR4TMJW.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./BLWJJIVF.js"),"closeBehavior,closeButtonDisabled,confirmationText,content,isConfirmed:,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./5PEPXZUQ.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{o as a};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{b as A}from"./BUK3AXVT.js";import"./LYQ3KTGD.js";import"./DSQLWDME.js";import"./3I72PCEP.js";import"./7RLPE2LE.js";import"./JMQYSN2U.js";import"./NEWVUWSK.js";import"./E6F3Q2WH.js";import"./QD45UNRU.js";import"./Z2B6IWJT.js";import"./K7E3FYY7.js";import"./ZQCWMQNP.js";import"./N2UEZKKT.js";import"./YETXYXLA.js";import"./JAPLJADD.js";import"./NVNJVDKY.js";import"./R2BTBE5Y.js";import"./PDSJLVCU.js";import"./REIIATFT.js";import"./M3WLEKZY.js";import"./4PSBLA5A.js";import"./YNBOJIO2.js";import{a as C}from"./E55QEAZU.js";import"./4SVJQ4LX.js";import"./G5QG243B.js";import{c as F,d as O,j as m}from"./YLQDUOIF.js";import{j as b}from"./HW3AZE43.js";import{c as S}from"./TFM3Q342.js";import{b as E}from"./3OY3YMT5.js";import{a as x}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as v}from"./VSD3M6NN.js";import{C as u,D as g,E as T,G as f,h as w,i as o,l as c,o as p,r as I}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var H=w`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.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}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{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)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,y=class extends T{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._hideTable=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=x({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.featureSelectionChange=p(),this.toggleFilter=p(),this.showDelete=p(),this.relatedRecordToggled=p(),this.editMultipleFeatures=p(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_hideTable:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){if(this._hideTable=!1,this._fetchingData=!0,!this._layer){this._fetchingData=!1,this._hideTable=!0;return}try{await this._layer.when(),this._definitionExpression=this._layer.definitionExpression||"",this._floorField=this._layer.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl()}catch(e){console.error(e),this._hideTable=!0}finally{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])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async setColumnOrder(e){this._setColumnTemplates(e)}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,n=this.mapView.allLayerViews.toArray(),h;n.some(async r=>r.layer.title===l?.title&&r.layer.type==="feature"?(h=r,this.mapView&&await m([i],h,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._size=0,this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData||this._hideTable?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${n&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${h=>void this._searchTextChanged(h)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}updated(){this._table&&this.updateRelatedAttachmentColumns()}async _initModules(){let[e,t,i,s]=await E(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),n=this._featuresEmpty(),h=this.featureSelectionMode==="single",r=this.enableCSV;if(this._relatedFeatureTable){let _=await this._queryRelatedFeatures();r=_&&Object.keys(_).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:n,toolTip:this._translations.selectAll}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:n,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),r&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:n,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,n,h){let r=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${r} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${n} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,h)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,relatedRecordsEnabled:!0,attachmentsEnabled:!0,highlightEnabled:!1,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._layerEditHandle=s.on("edits",async()=>{await new Promise(a=>setTimeout(a,50)),await this._refresh(!0)}),this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0,this._layerEditHandle&&this._layerEditHandle.remove();let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}_setColumnTemplates(e){this._table&&e&&(this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:e}))}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").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(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,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=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),n=this._table?.highlightIds.indexOf(l);n&&n<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.highlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let n=await this._queryRelatedFeatures(),h=[];n&&n[l]?.features&&(n[l].features.forEach(r=>{r.attributes&&h.push(r.attributes[e.objectIdField])}),i=h.length>0?h:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,n)=>{if(!n.hidden){let h=n?.name||n?.fieldName;h&&l.push(h.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(n=>n.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(e){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let t=this._getSelectedLayer(this.selectedRelatedIds);if(t&&this.relatedRecordToggled.emit(t),!e){let i=this._getSelectedIds();this.featureSelectionChange.emit(i)}}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await m(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s;this.mapInfo?.layerOptions?.layers.some(r=>r.id===e?(s=r,!0):!1);let a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(r=>r.fieldName));let n=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(r=>s?.fields&&s.fields.indexOf(r)>-1):l.length>0?l:void 0,h;return t&&(h=t.reduce((r,d)=>{let _={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&r.push(_):l.length>0?l.indexOf(d.name)>-1&&r.push(_):r.push(_),r},[])),h?n?h?.sort(this._sortFields.bind(this,n)):h:[]}updateRelatedAttachmentColumns(){let e;this.mapInfo?.layerOptions?.layers.some(h=>h.id===this._layer?.id?(e=h,!0):!1);let t=this.hasAttachmentsEnabled(this._layer),i=!0,s=e?.fieldOrder||[],a=s.some(h=>h?.name==="attachments"),l=s.filter(h=>typeof h=="object"&&h.name?.startsWith("related:")).map(h=>h.name.split("related:")[1]),n=(e?.extraFields||[]).map(h=>h.startsWith("related:")?h.split("related:")[1]:h);e?.extraFields&&(t=!!(a&&n.includes("attachments")&&this.hasAttachmentsEnabled(this._layer)),i=l.length>0,this._table?.columns.forEach(h=>{h.fieldName.startsWith("EsriFeatureTableRelationshipColumn")&&(h.hidden=!n.includes(h.effectiveLabel))})),this._table.relatedRecordsEnabled=i,this._table.attachmentsEnabled=t}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};v("layer-table",y);export{y as LayerTable};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{a as O}from"./3I72PCEP.js";import{e as _}from"./QD45UNRU.js";import{a as l,f as p}from"./ZQCWMQNP.js";import"./M3WLEKZY.js";import"./BCQ7PB5L.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./3VQ57FB7.js"),m={"hub:card:stat":()=>import("./UFY4FKE4.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./BCT76NH3.js"),m={"hub:card:follow":()=>import("./ZJICNLKM.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./Z5526TL4.js"),m=import("./GAJHKAP6.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./ODRRKBUZ.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./UMLSM7SQ.js"),"hub:site:create":()=>import("./GF32HN3G.js"),"hub:site:followers":()=>import("./DM5TQ2UX.js"),"hub:site:discussions":()=>import("./TKY57TEX.js"),"hub:site:settings":()=>import("./UWPYZKRU.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./4K4JSGYM.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./T7AEMZMX.js"),"hub:discussion:create":()=>import("./YZ3L2PZE.js"),"hub:discussion:settings":()=>import("./BTBBUCFG.js"),"hub:discussion:settings:discussions":()=>import("./UOTCT3X2.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./W7MYYAYF.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./BFMO27HI.js"),"hub:channel:create":()=>import("./DLEBYLCL.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./DPF7M6FH.js");r=l(n);let v=await{"hub:project:edit":()=>import("./MDXWBTRA.js"),"hub:project:create":()=>import("./WWWGD7IQ.js"),"hub:project:create2":()=>import("./H6CR332J.js"),"hub:project:metrics":()=>import("./EHO2NULT.js"),"hub:project:settings":()=>import("./WLOLHBFB.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./ZRJN3QPB.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./XCBEEW4Y.js"),"hub:initiative:create":()=>import("./L7GNTOWS.js"),"hub:initiative:create2":()=>import("./AUBGDSNS.js"),"hub:initiative:metrics":()=>import("./MAV2E7IR.js"),"hub:initiative:associations":()=>import("./62EH24ZG.js"),"hub:initiative:settings":()=>import("./6F2I4B23.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./L3HN5AEC.js");r=l(I);let D=await{"hub:page:edit":()=>import("./CNS57OWN.js"),"hub:page:create":()=>import("./N7M4R6MB.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./UXQTOOQF.js");r=l(K);let U=await{"hub:content:edit":()=>import("./JMC5S3OP.js"),"hub:content:discussions":()=>import("./4V7S5IMD.js"),"hub:content:settings":()=>import("./HSOFX6JP.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./CUAKPCDU.js");r=l(y);let k=await{"hub:template:edit":()=>import("./5W566AFV.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./77JHJDO3.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./UG6DTQWC.js"),"hub:group:create:association":()=>import("./TG6OB6L6.js"),"hub:group:create:view":()=>import("./XKTAGUXR.js"),"hub:group:create:edit":()=>import("./KBYURVEW.js"),"hub:group:create":()=>import("./PK5PHGBL.js"),"hub:group:edit":()=>import("./MTFQHJ7S.js"),"hub:group:settings":()=>import("./NBVYJDDR.js"),"hub:group:discussions":()=>import("./M2HAF2GX.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./KFVDMG2X.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./DL3GVIIB.js"),"hub:survey:settings":()=>import("./AD2XEHSU.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./SP5Q3OWO.js"),"hub:event:edit":()=>import("./6YK3D4GD.js"),"hub:event:registrants":()=>import("./PLVZ6KCL.js")}[a](),H=await{"hub:event:create":()=>import("./4EXRQCTU.js"),"hub:event:edit":()=>import("./276ZHID6.js"),"hub:event:registrants":()=>import("./WBFSXBTD.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./2ONRUQFV.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./QLEOLUNQ.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./NITTCIVL.js");r=l(N);let P=await{"hub:user:settings":()=>import("./JSG72U23.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251003 */
4
- import{b as v,c as S}from"./H36WONTX.js";import{b as d}from"./UZ3FNZON.js";import{a as _}from"./NBFNKQRL.js";import{k as y,l as m}from"./HW3AZE43.js";import{a as b}from"./2VKF6PR4.js";import"./SSNVKKF2.js";import"./4DPOKY7J.js";import{b as g}from"./VSD3M6NN.js";import{C as r,D as o,E as u,G as f,H as n,I as c,h,i,o as a}from"./QF5SFD5P.js";import"./BCQ7PB5L.js";var $=h`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}`,p=class extends u{constructor(){super(),this.solutionsCount=0,this.sortType="relevance",this.filterOpen=!0,this._filters=[],this.isMobile=!1,this._translations=b({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=r(),this._solutionsFilterPanelRef=r(),this._authContextConsumer=d({context:S,subscribe:!0}),this._isMobileContextConsumer=d({context:v,subscribe:!0,callback:e=>this.isMobile=e}),this.filterRemoved=a(),this.solutionsAllLoaded=a(),this.sortTypeChanged=a()}static{this.properties={appConfig:1,solutionsCount:9,sortType:1,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=$}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let t=e.industry?Object.entries(y).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(m).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=s||"",e.value=s||t,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&this._allSolutionsPanelRef.value?.searchSolutions(e)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}loaded(){this.solutionsAllLoaded.emit()}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??c} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override z-index-1"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?i`<calcite-panel class=${f(this.filterOpen?"background-override":"filter background-override")} id=solutions-all-shell-panel-start style=${n(e)}><solutions-filter-panel class="height-100" @applyFilter=${this._filterApplied} ${o(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${n(e)}><calcite-panel><solutions-filter-panel class="height-100" @applyFilter=${this._filterApplied} ${o(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel .agoSolutionsGroupId=${this.appConfig.primarySolutionsGroupId} .enterpriseSolutionsGroupId=${this.appConfig.agoBasedEnterpriseSolutionsGroupId} .locale=${this.appConfig.locale||"en"} .orgUrl=${this.appConfig.portalURL} @cardsFetched=${this._updateSolutionCount} .portalUrl=${this.appConfig.portalURL} .sortType=${this.sortType} style=${n(e)} @searchTermSet=${t=>this._solutionsFilterPanelRef.value.changeSearchFilter(t.detail,!1)} @sortTypeSet=${t=>this.sortType=t.detail} ${o(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){let e=this._filters.filter(t=>t.type==="industry"||t.type==="domain");return e.length>0?_(e,t=>`${t.type}:${t.value}`,t=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${t.displayValue} @calciteChipClose=${()=>this._chipClosed(t.displayValue,t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByNew,sortType:"new"},{displayValue:this._translations.sortByUpdated,sortType:"updated"}];return this._authContextConsumer.value.IsSignedIn&&e.push({displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}),i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??c}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this.sortTypeChanged.emit(this.sortType),this._allSolutionsPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e,t){if(t==="industry")this._filters=[];else{let s=this._filters.filter(l=>l.displayValue!==e&&l.type!==t);this._filters=s}this._filters.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters)}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(e.detail){let t=e.detail;"displayValue"in e.detail?this._filters.push(e.detail):Array.isArray(e.detail)&&e.detail.length>0&&(e.detail.length>=2&&(t=[e.detail[e.detail.length-1]]),this._filters=e.detail),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters=[],this._allSolutionsPanelRef.value?.searchSolutions()}};g("solutions-all-shell",p);export{p as SolutionsAllShell};