@esri/solutions-components 1.1.0-next.20250827 → 1.1.0-next.20250828

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 (455) hide show
  1. package/dist/cdn/{BLFJVRBD.js → 226QGSSE.js} +2 -2
  2. package/dist/cdn/25HUIZA4.js +4 -0
  3. package/dist/cdn/{HIZSG3H7.js → 27VLTU5A.js} +2 -2
  4. package/dist/cdn/{NDLFKZLQ.js → 2EUXOCEX.js} +2 -2
  5. package/dist/cdn/{ZMC36ZP3.js → 2GWICTFG.js} +2 -2
  6. package/dist/cdn/{KRXVBCKO.js → 2MVD3YNU.js} +2 -2
  7. package/dist/cdn/{YT5K7YB3.js → 2QJUMLXI.js} +2 -2
  8. package/dist/cdn/{DIHMLGDI.js → 2RDE6TEB.js} +2 -2
  9. package/dist/cdn/{ZKKCHYBT.js → 2SFUHQ6X.js} +2 -2
  10. package/dist/cdn/{PRJODTJQ.js → 2WRYPENH.js} +2 -2
  11. package/dist/cdn/{3HKP3UZV.js → 2XFGTOP6.js} +2 -2
  12. package/dist/cdn/{T3MYKPCV.js → 2YIAFORL.js} +2 -2
  13. package/dist/cdn/{L7REH4GS.js → 3574ZP6N.js} +2 -2
  14. package/dist/cdn/{6SAXQW32.js → 3BTPCUS2.js} +1 -1
  15. package/dist/cdn/{YW3B543X.js → 3LJA2KLW.js} +2 -2
  16. package/dist/cdn/{UAQ4ENZD.js → 3NGSKAVB.js} +1 -1
  17. package/dist/cdn/{NDBPZYRM.js → 3NQBUYLZ.js} +2 -2
  18. package/dist/cdn/{W3Q55YM4.js → 3RB3RDC5.js} +2 -2
  19. package/dist/cdn/{23KXTS2Y.js → 3UUSTTNP.js} +2 -2
  20. package/dist/cdn/3V62ASGS.js +18 -0
  21. package/dist/cdn/{3WWG56IF.js → 42UTT3QJ.js} +2 -2
  22. package/dist/cdn/{2CSV5S6B.js → 44GZVSVC.js} +1 -1
  23. package/dist/cdn/{KSD5UON3.js → 466YND5P.js} +2 -2
  24. package/dist/cdn/{FPMWQKWP.js → 4ANMXM6Y.js} +2 -2
  25. package/dist/cdn/4BQTR7KV.js +21 -0
  26. package/dist/cdn/{5MIOBRDN.js → 4JQO2KRL.js} +1 -1
  27. package/dist/cdn/{TECZUTWG.js → 4L5D4PU4.js} +2 -2
  28. package/dist/cdn/{C2EJZCLH.js → 4SQ4NCJE.js} +2 -2
  29. package/dist/cdn/{TW5PXCJZ.js → 4U7FWGAN.js} +2 -2
  30. package/dist/cdn/{IM4TFY2P.js → 4UMY7KAN.js} +2 -2
  31. package/dist/cdn/{72KJNJUF.js → 4VKRNNLU.js} +2 -2
  32. package/dist/cdn/{TO2EI765.js → 4XGWADP2.js} +1 -1
  33. package/dist/cdn/{CQGXIOE7.js → 4XO7QZ5G.js} +2 -2
  34. package/dist/cdn/{5GW4RTJF.js → 5C4PTSCP.js} +2 -2
  35. package/dist/cdn/{SWNWQGWZ.js → 5HEHRHFZ.js} +1 -1
  36. package/dist/cdn/{ACLLRLYL.js → 5HEQNNZ7.js} +2 -2
  37. package/dist/cdn/{Y2KGXGVR.js → 5HIOGP26.js} +2 -2
  38. package/dist/cdn/{2F7ALXUX.js → 5HVMUH4B.js} +2 -2
  39. package/dist/cdn/{UH63RORK.js → 5IV4O7PP.js} +2 -2
  40. package/dist/cdn/{JSFZNTRY.js → 5JMXLP5R.js} +1 -1
  41. package/dist/cdn/{7A3NYGL6.js → 5KWFFKUR.js} +2 -2
  42. package/dist/cdn/{WV2QWUDT.js → 5LBMMACR.js} +2 -2
  43. package/dist/cdn/{D7PHPMMV.js → 5QTI6BJY.js} +2 -2
  44. package/dist/cdn/{XS26234E.js → 5VCVBSP5.js} +2 -2
  45. package/dist/cdn/{BITTOHCX.js → 5VQGHQGD.js} +2 -2
  46. package/dist/cdn/{WSUEFFYO.js → 63BSUV4F.js} +2 -2
  47. package/dist/cdn/{Q7JI6DI6.js → 6DVHPGNU.js} +2 -2
  48. package/dist/cdn/{P3ZCJWOC.js → 6GOYQXOO.js} +2 -2
  49. package/dist/cdn/{MMYJBMW4.js → 6NWBS6SL.js} +2 -2
  50. package/dist/cdn/{4NISMYAP.js → 6QFD3CIJ.js} +2 -2
  51. package/dist/cdn/{IXE2RCCX.js → 6ZSIJXTF.js} +1 -1
  52. package/dist/cdn/{56OZKJMF.js → 772C34UX.js} +2 -2
  53. package/dist/cdn/{VKVNRJC4.js → 775D3UWY.js} +1 -1
  54. package/dist/cdn/{AT7FRZO4.js → 7B3VVFHV.js} +2 -2
  55. package/dist/cdn/{PPTHIIKF.js → 7DM4YSPQ.js} +2 -2
  56. package/dist/cdn/{VSJSRFOM.js → 7DPLS5X7.js} +2 -2
  57. package/dist/cdn/{O674BOTY.js → 7KMVZIUS.js} +2 -2
  58. package/dist/cdn/{DN6RBQAY.js → 7LB33GTE.js} +2 -2
  59. package/dist/cdn/{B65G3U33.js → 7LLXICAU.js} +2 -2
  60. package/dist/cdn/{RUQ4ULAX.js → 7QBAKAAP.js} +1 -1
  61. package/dist/cdn/{5IU2HQQH.js → A3UF6KXG.js} +2 -2
  62. package/dist/cdn/{GLA2TUD2.js → A3XRWJOX.js} +1 -1
  63. package/dist/cdn/{JT3QFTQD.js → A463MFDX.js} +2 -2
  64. package/dist/cdn/{BPQUBZT7.js → AEDCRS34.js} +2 -2
  65. package/dist/cdn/{3Z2LUWXV.js → AIL4F46K.js} +2 -2
  66. package/dist/cdn/{LQKFDH35.js → AKF64ZKG.js} +2 -2
  67. package/dist/cdn/{PQHVUFRW.js → ALUTY67B.js} +2 -2
  68. package/dist/cdn/{SJZORYGU.js → AM2P5WWJ.js} +1 -1
  69. package/dist/cdn/{4B2YGZVH.js → AMSEELTG.js} +2 -2
  70. package/dist/cdn/{7CLHES5O.js → AQ4E6Z6L.js} +1 -1
  71. package/dist/cdn/{FSZNQWLJ.js → ARJDPDDZ.js} +2 -2
  72. package/dist/cdn/{554DSTXJ.js → BCHKYHQE.js} +2 -2
  73. package/dist/cdn/{GKZ6QUAP.js → BEOI2CT5.js} +2 -2
  74. package/dist/cdn/{JX4HPXM5.js → BFQCYQFO.js} +2 -2
  75. package/dist/cdn/{4KNNTHWK.js → BIPXL4KE.js} +1 -1
  76. package/dist/cdn/{ZXOTYGC2.js → BJMZ6V7L.js} +2 -2
  77. package/dist/cdn/{KI5GDRPD.js → BSFFEDDB.js} +2 -2
  78. package/dist/cdn/{MPDPELXB.js → BSV4H4QV.js} +2 -2
  79. package/dist/cdn/{42SZO5HE.js → BTOD6L6H.js} +2 -2
  80. package/dist/cdn/{4KGSOJYS.js → BTSS3LBI.js} +2 -2
  81. package/dist/cdn/{HYG6KEUR.js → BY52IW4J.js} +2 -2
  82. package/dist/cdn/{SHWTAJ6P.js → C6OFTWG5.js} +2 -2
  83. package/dist/cdn/{FU54TKFE.js → CIYHY3JZ.js} +2 -2
  84. package/dist/cdn/{U73R26ME.js → CMHM4AU3.js} +2 -2
  85. package/dist/cdn/{VGVTAFWC.js → CNL7M4K7.js} +2 -2
  86. package/dist/cdn/{5JFVMBO2.js → CPJ47BBO.js} +2 -2
  87. package/dist/cdn/{T77CMITV.js → CQCP5INR.js} +2 -2
  88. package/dist/cdn/{6GZIIGYC.js → CS234YFY.js} +2 -2
  89. package/dist/cdn/{2EMNUVGI.js → CUXGTYWR.js} +2 -2
  90. package/dist/cdn/{P7OO44D7.js → CZA4CCF2.js} +1 -1
  91. package/dist/cdn/{KNCG6Q2J.js → DDK5IIMB.js} +2 -2
  92. package/dist/cdn/{3TQRZCUD.js → DI7GBSSF.js} +2 -2
  93. package/dist/cdn/DJ7D6QIV.js +4 -0
  94. package/dist/cdn/{54Q7XCUA.js → DL6W2BEO.js} +2 -2
  95. package/dist/cdn/{UYJVLNBB.js → DMNUFLEY.js} +2 -2
  96. package/dist/cdn/{6VO5SKR3.js → DOJSJN7F.js} +2 -2
  97. package/dist/cdn/{YI25E4UP.js → DOWDGUKX.js} +2 -2
  98. package/dist/cdn/{E2NOR2HB.js → DPH4W2B2.js} +2 -2
  99. package/dist/cdn/{LQGRGOEO.js → DWZIABEQ.js} +2 -2
  100. package/dist/cdn/{62EXG3W5.js → E5LREUSI.js} +2 -2
  101. package/dist/cdn/{GXFK3UCL.js → EEOFZ5EC.js} +2 -2
  102. package/dist/cdn/{2BNTQ6LN.js → EH5OXTTD.js} +2 -2
  103. package/dist/cdn/{OFYEAURI.js → EI7UNT3L.js} +2 -2
  104. package/dist/cdn/{7L5PTVSC.js → EIHE5YP2.js} +2 -2
  105. package/dist/cdn/{ZJQG3QRK.js → EK2PZNV6.js} +2 -2
  106. package/dist/cdn/{MFCI7VHS.js → EKWS4PP6.js} +2 -2
  107. package/dist/cdn/{EIW5R2HH.js → EM63FLQD.js} +1 -1
  108. package/dist/cdn/{Q35GO2GB.js → EMFC7JJF.js} +2 -2
  109. package/dist/cdn/{IYKARSAW.js → EOFV6GEH.js} +2 -2
  110. package/dist/cdn/{FKA4MJJG.js → EPFFPUHV.js} +2 -2
  111. package/dist/cdn/{MVKWSNOG.js → ESIZWQ5K.js} +2 -2
  112. package/dist/cdn/{JWCQMP4N.js → EVBTDN6G.js} +2 -2
  113. package/dist/cdn/{QOMCKCGK.js → EWDEQPK7.js} +2 -2
  114. package/dist/cdn/{4EG3XCO3.js → EXCHA4EE.js} +2 -2
  115. package/dist/cdn/{LZLSRA5W.js → EYLJVJDM.js} +1 -1
  116. package/dist/cdn/{ORQAVVPC.js → F5ZMWFE7.js} +2 -2
  117. package/dist/cdn/{SOJH6ART.js → FD7W2RAW.js} +2 -2
  118. package/dist/cdn/{RI7CFHHT.js → FDADQCSD.js} +1 -1
  119. package/dist/cdn/{GF6CTCWW.js → FIKS3EDJ.js} +2 -2
  120. package/dist/cdn/{5XAWRL5A.js → FJKV655N.js} +2 -2
  121. package/dist/cdn/{NSARP2RF.js → FLU27GKB.js} +2 -2
  122. package/dist/cdn/{CKGLSF5S.js → FMZYI6QT.js} +2 -2
  123. package/dist/cdn/{ENY23UBT.js → FP46FJBW.js} +2 -2
  124. package/dist/cdn/FR7O5LDJ.js +4 -0
  125. package/dist/cdn/{WHFIDBDK.js → FW3QZ4PP.js} +2 -2
  126. package/dist/cdn/{2GGGYTSK.js → FWTK4SPE.js} +2 -2
  127. package/dist/cdn/{JFBVEJI5.js → G6WJYEG7.js} +2 -2
  128. package/dist/cdn/{LE3LTL7Z.js → G7OB4TIP.js} +2 -2
  129. package/dist/cdn/{NLDZAEVH.js → GCD5SMQJ.js} +2 -2
  130. package/dist/cdn/{KBGRXOOG.js → GFEACDFT.js} +2 -2
  131. package/dist/cdn/{TK3FUWDS.js → GFX4V3ZW.js} +2 -2
  132. package/dist/cdn/{WORYPRED.js → GFYESXYA.js} +2 -2
  133. package/dist/cdn/{LK25ZMER.js → GHRQ5OMT.js} +2 -2
  134. package/dist/cdn/{TOLYTYSJ.js → GJD2YHPE.js} +2 -2
  135. package/dist/cdn/{VL4CZC5A.js → GJE6JCGQ.js} +2 -2
  136. package/dist/cdn/{5VWV5TYC.js → GJQZMNXQ.js} +1 -1
  137. package/dist/cdn/{KCZAMIX5.js → GM2YCS6I.js} +2 -2
  138. package/dist/cdn/{TYZCCC74.js → GMWAFSXG.js} +1 -1
  139. package/dist/cdn/{Q3UAE3PQ.js → GN3LYSK4.js} +2 -2
  140. package/dist/cdn/{S5LFEUFW.js → GNAFPT4K.js} +2 -2
  141. package/dist/cdn/{7RGXA4TO.js → GRFYUQMC.js} +2 -2
  142. package/dist/cdn/{QLGNETM3.js → GTLDTFGM.js} +2 -2
  143. package/dist/cdn/{WY3CF6XU.js → H3RJWJ6R.js} +2 -2
  144. package/dist/cdn/{ON2RPFRY.js → HBVDJ5HK.js} +2 -2
  145. package/dist/cdn/{BCYE7SLF.js → HDO7HWGX.js} +2 -2
  146. package/dist/cdn/{ZKZQWG65.js → HE2ALR27.js} +1 -1
  147. package/dist/cdn/{VFTGXA7X.js → HFDCGIRQ.js} +1 -1
  148. package/dist/cdn/{JO5BTB2N.js → HGL2Q6AM.js} +2 -2
  149. package/dist/cdn/{NZ4X5KLT.js → HHXJHZWU.js} +2 -2
  150. package/dist/cdn/{RPPVQISX.js → HJZSNNXL.js} +2 -2
  151. package/dist/cdn/{3R73JLSD.js → HNRINH4M.js} +2 -2
  152. package/dist/cdn/{V7ZDOEFI.js → HPVYJFAK.js} +2 -2
  153. package/dist/cdn/{PG6MW32C.js → HQ6E5W5K.js} +2 -2
  154. package/dist/cdn/{IZYMJLKT.js → HR77KJSD.js} +2 -2
  155. package/dist/cdn/{A26MH4FT.js → HWMXCHVE.js} +2 -2
  156. package/dist/cdn/{VZJKTZYX.js → HWZKM5WI.js} +2 -2
  157. package/dist/cdn/{G2PUK7M7.js → I32NMVY7.js} +2 -2
  158. package/dist/cdn/{F4XBGVXB.js → I46RTMPO.js} +2 -2
  159. package/dist/cdn/{UM4TF6EP.js → I6SB6OUE.js} +2 -2
  160. package/dist/cdn/{BCNWLERJ.js → I7DNCKIP.js} +2 -2
  161. package/dist/cdn/{7VTLIZPS.js → I7DOK2P3.js} +2 -2
  162. package/dist/cdn/{FJW6HZH7.js → IAR5VLIT.js} +2 -2
  163. package/dist/cdn/{R37SYLOS.js → IHGPNQTM.js} +2 -2
  164. package/dist/cdn/{HJE5Y2QL.js → IJAVQIQY.js} +2 -2
  165. package/dist/cdn/{LNGJCRSK.js → IJYMY6LU.js} +2 -2
  166. package/dist/cdn/{VUBNDO4U.js → IKRRFKE6.js} +2 -2
  167. package/dist/cdn/{VZVLU7SB.js → IL6X7BAH.js} +2 -2
  168. package/dist/cdn/{U5CLOSGY.js → INMWS2AK.js} +2 -2
  169. package/dist/cdn/{EVXPAKGQ.js → IV2ICUCF.js} +1 -1
  170. package/dist/cdn/{W6GHXLLI.js → IVUZ3MTL.js} +2 -2
  171. package/dist/cdn/{AZW2NXEX.js → IZK32GOX.js} +1 -1
  172. package/dist/cdn/{3DHJOW6U.js → J25AGF6Z.js} +2 -2
  173. package/dist/cdn/{CGMZ6N7V.js → J2HKOKJZ.js} +2 -2
  174. package/dist/cdn/{76ZAB6L4.js → JBHG33RN.js} +2 -2
  175. package/dist/cdn/JH3TW34C.js +4 -0
  176. package/dist/cdn/{JIDJ6OHU.js → JKUOKISU.js} +2 -2
  177. package/dist/cdn/{RDD6K2IB.js → JOVKXD5Z.js} +2 -2
  178. package/dist/cdn/{7WIU5W3K.js → JP5VAE6Y.js} +2 -2
  179. package/dist/cdn/{UDBHIWAQ.js → JTOJXBPA.js} +2 -2
  180. package/dist/cdn/{NQ4IXP2N.js → JVKCIYQC.js} +2 -2
  181. package/dist/cdn/{VQ2MIMSZ.js → JX645F5Z.js} +1 -1
  182. package/dist/cdn/{R54VQUOZ.js → KDKNZUGD.js} +2 -2
  183. package/dist/cdn/{WGN5DCPW.js → KDOGXG5T.js} +1 -1
  184. package/dist/cdn/{TXXGRPTX.js → KDWXJPBI.js} +2 -2
  185. package/dist/cdn/{BBQBX5GC.js → KGBOZ3RU.js} +2 -2
  186. package/dist/cdn/KLDKDJBR.js +4 -0
  187. package/dist/cdn/{4JP22ZB2.js → KLY63CSF.js} +2 -2
  188. package/dist/cdn/{KLEVGTVA.js → KNZIJGNE.js} +2 -2
  189. package/dist/cdn/{BKARLQDQ.js → KO2D2ZR7.js} +2 -2
  190. package/dist/cdn/{A62HJDFV.js → KRM7IGDK.js} +2 -2
  191. package/dist/cdn/{PJU2MSEG.js → LCP3HDWL.js} +1 -1
  192. package/dist/cdn/{ZDL6PLMR.js → LG76ITDM.js} +2 -2
  193. package/dist/cdn/{Y6LR2LCC.js → LI3OJ3I2.js} +2 -2
  194. package/dist/cdn/{Q3Y5X3CB.js → LISV6CF3.js} +2 -2
  195. package/dist/cdn/{PLVL5DCZ.js → LM3MXKQM.js} +2 -2
  196. package/dist/cdn/{PDAPRJZT.js → LMPKEDGE.js} +2 -2
  197. package/dist/cdn/{OBVY6RXL.js → LPUL3M4W.js} +2 -2
  198. package/dist/cdn/{DKCKFJDN.js → LQ3MDUHZ.js} +2 -2
  199. package/dist/cdn/{KR6KZ6YQ.js → M3VQ3PZT.js} +1 -1
  200. package/dist/cdn/{CDP24SRW.js → M6RMUZSR.js} +2 -2
  201. package/dist/cdn/{WX5CMBDC.js → M74PUQGW.js} +2 -2
  202. package/dist/cdn/{Z7Y2RQEW.js → MGRHKWYD.js} +2 -2
  203. package/dist/cdn/{PV3PVCOT.js → MPOH52ZT.js} +2 -2
  204. package/dist/cdn/{K5QAR5IE.js → MRE4W3RZ.js} +2 -2
  205. package/dist/cdn/{24T2UJRZ.js → MSFATVQR.js} +2 -2
  206. package/dist/cdn/{DUKTYSCP.js → MUMAAFU6.js} +2 -2
  207. package/dist/cdn/{R7UBXNSY.js → MXDEBIVV.js} +2 -2
  208. package/dist/cdn/{QDJNWFHE.js → N2ZRCOK7.js} +2 -2
  209. package/dist/cdn/{VXSBPACS.js → N46CPYK6.js} +2 -2
  210. package/dist/cdn/{SAG2RN6G.js → NABMSVZR.js} +2 -2
  211. package/dist/cdn/{XZZO3LEZ.js → NE4VEZO4.js} +2 -2
  212. package/dist/cdn/{HCOV7GIV.js → NFG4MG7R.js} +2 -2
  213. package/dist/cdn/{Y2HYEQH3.js → NKZIY75J.js} +2 -2
  214. package/dist/cdn/{JH3RY3D6.js → NTLI7MYJ.js} +2 -2
  215. package/dist/cdn/{V2WQMGKF.js → NWF3JWPU.js} +1 -1
  216. package/dist/cdn/{42ABLPTV.js → NY54SXCT.js} +1 -1
  217. package/dist/cdn/{YBP2DH3I.js → O2Y336VP.js} +2 -2
  218. package/dist/cdn/{L7FVT5L6.js → O6G7FUHP.js} +2 -2
  219. package/dist/cdn/{7GECVVKE.js → O7SJWTIT.js} +2 -2
  220. package/dist/cdn/{4UEY7UQK.js → OSRI4P6U.js} +2 -2
  221. package/dist/cdn/{QYNK7LZC.js → OTGX3VSB.js} +2 -2
  222. package/dist/cdn/{LA4OK6NM.js → OUBJ5ZGX.js} +2 -2
  223. package/dist/cdn/{VNMKDG4X.js → OV7DFJGX.js} +2 -2
  224. package/dist/cdn/{TEJOPCNO.js → P6SEF77G.js} +2 -2
  225. package/dist/cdn/{VMIK7WW5.js → P6SZMVOM.js} +2 -2
  226. package/dist/cdn/{S42DWOUI.js → P7TNHA6I.js} +2 -2
  227. package/dist/cdn/{FGTK47K3.js → PK6HXDUN.js} +2 -2
  228. package/dist/cdn/{42HEJHI6.js → PVV3USCI.js} +2 -2
  229. package/dist/cdn/{LJNHHMWR.js → PVZWDJJN.js} +2 -2
  230. package/dist/cdn/{MRK57PD2.js → PXTM3BXQ.js} +2 -2
  231. package/dist/cdn/{JKP7J4MY.js → Q4TNDAMB.js} +2 -2
  232. package/dist/cdn/QBUJFNVI.js +4 -0
  233. package/dist/cdn/{3TF5G4KA.js → QCXYLIX7.js} +2 -2
  234. package/dist/cdn/{2QPO6WBI.js → QERQEDRX.js} +2 -2
  235. package/dist/cdn/{G74CBTNP.js → QK53UXEM.js} +2 -2
  236. package/dist/cdn/{4YLFWLNL.js → QM6BU3QZ.js} +2 -2
  237. package/dist/cdn/{TO66BS4X.js → QRDFSKLO.js} +2 -2
  238. package/dist/cdn/{5AAX26HN.js → QTJGDEO5.js} +2 -2
  239. package/dist/cdn/{JO2SUDF2.js → QY5XBNSA.js} +2 -2
  240. package/dist/cdn/QZJM3UVY.js +4 -0
  241. package/dist/cdn/{UWFYHJQK.js → QZOYPBOO.js} +2 -2
  242. package/dist/cdn/{I5BN3W5V.js → R25YPLON.js} +2 -2
  243. package/dist/cdn/{ROFLULEZ.js → R5BBJHNK.js} +2 -2
  244. package/dist/cdn/{EJSL5D4S.js → R72FDXTT.js} +2 -2
  245. package/dist/cdn/{RXJ74C67.js → RBZI6FS6.js} +2 -2
  246. package/dist/cdn/{6XIAEGPC.js → ROGT3C4G.js} +2 -2
  247. package/dist/cdn/{VRMI4ZHP.js → RR4PBHNF.js} +2 -2
  248. package/dist/cdn/{6WFASGQE.js → RSBFMPEE.js} +2 -2
  249. package/dist/cdn/{HM4KB6CF.js → RZGRORAH.js} +2 -2
  250. package/dist/cdn/{LNRE6HLQ.js → SIYXXXQW.js} +2 -2
  251. package/dist/cdn/{I6SQG26N.js → SJC3IN6H.js} +2 -2
  252. package/dist/cdn/{7RD27NRL.js → SNDH4A3Y.js} +2 -2
  253. package/dist/cdn/{OJ7AWUAC.js → SNE5QBZ4.js} +2 -2
  254. package/dist/cdn/{LMSQ6QYV.js → SO4XHFT6.js} +2 -2
  255. package/dist/cdn/{NMQGESGT.js → SRC6UU36.js} +2 -2
  256. package/dist/cdn/{W3T3PBW2.js → SSEJGOSJ.js} +2 -2
  257. package/dist/cdn/{NXFFCAR3.js → T3AWLN26.js} +2 -2
  258. package/dist/cdn/{5TEXL4WE.js → T4WHSUWN.js} +2 -2
  259. package/dist/cdn/{X6UPHTN5.js → T55VBYN6.js} +2 -2
  260. package/dist/cdn/{33PF5U5D.js → T5FCQZWC.js} +2 -2
  261. package/dist/cdn/{TTSMP3QZ.js → T6LQV7KH.js} +2 -2
  262. package/dist/cdn/T73KSKS2.js +4 -0
  263. package/dist/cdn/{UJQJT2QU.js → TD7V4IMR.js} +2 -2
  264. package/dist/cdn/{XHKWA64N.js → TEAJPJG5.js} +2 -2
  265. package/dist/cdn/{ANQYFRBA.js → THJ5I4FB.js} +1 -1
  266. package/dist/cdn/{OFZX44EJ.js → THX32L6J.js} +2 -2
  267. package/dist/cdn/{CA6BFUGF.js → TKCEDWO6.js} +2 -2
  268. package/dist/cdn/{PHYDKT7R.js → TM23OV5B.js} +2 -2
  269. package/dist/cdn/{NVILLYDB.js → TQMUFNCU.js} +2 -2
  270. package/dist/cdn/{JYZKLWFE.js → TQW6YSJQ.js} +2 -2
  271. package/dist/cdn/{LKAOJJOA.js → TU57MATG.js} +2 -2
  272. package/dist/cdn/{L4LA3QS7.js → TXGULLSL.js} +2 -2
  273. package/dist/cdn/{JYX4AQP3.js → TXOSZQCS.js} +1 -1
  274. package/dist/cdn/{HN3LHEND.js → TYFW5USV.js} +2 -2
  275. package/dist/cdn/{GAFR57GT.js → U4G4NDN4.js} +1 -1
  276. package/dist/cdn/{MX4VX6UT.js → U74ATJYL.js} +2 -2
  277. package/dist/cdn/{VWP7WZYJ.js → UECILZYG.js} +2 -2
  278. package/dist/cdn/{4LPIPBUJ.js → UHCN2RHJ.js} +2 -2
  279. package/dist/cdn/{FAOROQKT.js → UIDRKO4P.js} +2 -2
  280. package/dist/cdn/{6GA4TTU6.js → ULRMOIIF.js} +2 -2
  281. package/dist/cdn/{JPSVIVXD.js → UTHLY33U.js} +2 -2
  282. package/dist/cdn/{Q7VX66U3.js → UU2SCVOU.js} +2 -2
  283. package/dist/cdn/{PBL4GE2D.js → UXVRTL47.js} +1 -1
  284. package/dist/cdn/{SN2AHVW7.js → V2CYNA53.js} +2 -2
  285. package/dist/cdn/{KXQ35XCN.js → V476GRMI.js} +2 -2
  286. package/dist/cdn/{PAUUEQ7C.js → V6PJP4IP.js} +2 -2
  287. package/dist/cdn/{DCM7PX7I.js → V73GHOGW.js} +2 -2
  288. package/dist/cdn/{THZNSUZ3.js → V7NAE7VZ.js} +2 -2
  289. package/dist/cdn/{BEF54WQE.js → VCBGJYT4.js} +2 -2
  290. package/dist/cdn/{FBJVP34R.js → VMIBM6PC.js} +2 -2
  291. package/dist/cdn/{WH66M4HS.js → VPUNNC6S.js} +2 -2
  292. package/dist/cdn/{ZMWTIGNU.js → VQ62QZQU.js} +2 -2
  293. package/dist/cdn/{77NPZ3EN.js → VRDRHWN6.js} +2 -2
  294. package/dist/cdn/{PHD2JXXS.js → VTGMI5PO.js} +2 -2
  295. package/dist/cdn/{DGFTUMQV.js → VWEXAIVT.js} +2 -2
  296. package/dist/cdn/{YZIJDNAN.js → VXWEWJTC.js} +2 -2
  297. package/dist/cdn/{WSTODQK6.js → W3PGRKME.js} +4 -4
  298. package/dist/cdn/{5P3YHKR4.js → W3S3EGJF.js} +2 -2
  299. package/dist/cdn/{7ILSYUVG.js → W577TQI2.js} +2 -2
  300. package/dist/cdn/{QNKVMLMV.js → W5EAS3XP.js} +2 -2
  301. package/dist/cdn/{4VY45EEM.js → WFSA5X5Y.js} +2 -2
  302. package/dist/cdn/{UEMZOJP7.js → WGBZF2SU.js} +2 -2
  303. package/dist/cdn/{SNDNNU4N.js → WJIXMYFO.js} +2 -2
  304. package/dist/cdn/{XMVIE566.js → WPWHXT2X.js} +1 -1
  305. package/dist/cdn/{X4DMCESP.js → WQFHL3SI.js} +2 -2
  306. package/dist/cdn/{NWMDBUOR.js → WQHZU254.js} +2 -2
  307. package/dist/cdn/{HKBV6E2R.js → WQJONGME.js} +2 -2
  308. package/dist/cdn/{U6JSNIWW.js → WQYGHF4T.js} +2 -2
  309. package/dist/cdn/{5SV7SDN7.js → WXKKGXWR.js} +2 -2
  310. package/dist/cdn/{ZVUZQ5W7.js → WY4ONAAF.js} +2 -2
  311. package/dist/cdn/{3DTIANCI.js → X4GQFJRB.js} +2 -2
  312. package/dist/cdn/{7MWB4HVF.js → XAP3K3SC.js} +2 -2
  313. package/dist/cdn/{XMMOVBA2.js → XBKQQHEV.js} +2 -2
  314. package/dist/cdn/{HQ4PXF77.js → XFYRPLUH.js} +2 -2
  315. package/dist/cdn/{CFYWNESC.js → XH7K76V3.js} +2 -2
  316. package/dist/cdn/{NNDX2ITU.js → XLGWWA5S.js} +1 -1
  317. package/dist/cdn/{3PHDPXAJ.js → XVWVDRKA.js} +2 -2
  318. package/dist/cdn/{LXH5E4ZY.js → XXBHKPIC.js} +2 -2
  319. package/dist/cdn/{TOQSTROG.js → XXZ576GX.js} +1 -1
  320. package/dist/cdn/{OM6KDIHE.js → Y3YKFEU7.js} +2 -2
  321. package/dist/cdn/{ZHHGES6V.js → Y4VA7U7D.js} +2 -2
  322. package/dist/cdn/{UXBQKCZL.js → Y6I2OVEZ.js} +2 -2
  323. package/dist/cdn/{RELEWHKU.js → YC6I36VW.js} +2 -2
  324. package/dist/cdn/{CDAEAFDO.js → YGSA5NVJ.js} +2 -2
  325. package/dist/cdn/{ONIZDZMH.js → YMV43UIC.js} +2 -2
  326. package/dist/cdn/{XWPJDMG7.js → YV35CSEF.js} +2 -2
  327. package/dist/cdn/{S5E33LPI.js → Z2A4HO55.js} +2 -2
  328. package/dist/cdn/{HVLXKZED.js → Z3ULYDEC.js} +2 -2
  329. package/dist/cdn/{VHWUYUSU.js → Z43BYGVU.js} +2 -2
  330. package/dist/cdn/{NVSUEBGI.js → Z774P2PS.js} +2 -2
  331. package/dist/cdn/{Z6H7IRQE.js → Z7ARVIQA.js} +2 -2
  332. package/dist/cdn/{RV6BMNVM.js → ZF3IIQ63.js} +2 -2
  333. package/dist/cdn/{PHZI3UCV.js → ZMOFCR7O.js} +2 -2
  334. package/dist/cdn/{QX2NBXJD.js → ZTNDRVXH.js} +2 -2
  335. package/dist/cdn/{LTXJ67HX.js → ZVNFQMSP.js} +2 -2
  336. package/dist/cdn/{NQOP33PO.js → ZWW3M7TK.js} +2 -2
  337. package/dist/cdn/{6NELRJ2H.js → ZXJDQSSJ.js} +1 -1
  338. package/dist/cdn/{3UUEGJAX.js → ZYWCS54R.js} +2 -2
  339. package/dist/cdn/index.js +2 -2
  340. package/dist/chunks/Auth.js +1 -1
  341. package/dist/chunks/CardsFetcher.js +1 -1
  342. package/dist/chunks/appConfig.js +1 -1
  343. package/dist/chunks/cardFetchingUtils.js +1 -1
  344. package/dist/chunks/common.js +1 -1
  345. package/dist/chunks/deployAppContexts.js +1 -1
  346. package/dist/chunks/downloadUtils.js +1 -1
  347. package/dist/chunks/getItemIcon.js +1 -1
  348. package/dist/chunks/helpers.js +1 -1
  349. package/dist/chunks/index.js +1 -1
  350. package/dist/chunks/interfaces.js +1 -1
  351. package/dist/chunks/loadModules.js +1 -1
  352. package/dist/chunks/mapViewUtils.js +1 -1
  353. package/dist/chunks/pciUtils.js +1 -1
  354. package/dist/chunks/popupUtils.js +1 -1
  355. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  356. package/dist/chunks/privilegeUtils.js +1 -1
  357. package/dist/chunks/publicNotificationStore.js +1 -1
  358. package/dist/chunks/queryUtils.js +1 -1
  359. package/dist/chunks/runtime.js +1 -1
  360. package/dist/chunks/solution-store.js +1 -1
  361. package/dist/chunks/templates.js +1 -1
  362. package/dist/chunks/useT9n.js +1 -1
  363. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  364. package/dist/components/basemap-gallery/customElement.js +1 -1
  365. package/dist/components/buffer-tools/customElement.js +1 -1
  366. package/dist/components/card-manager/customElement.js +1 -1
  367. package/dist/components/consent-manager/customElement.js +1 -1
  368. package/dist/components/create-feature/customElement.js +1 -1
  369. package/dist/components/create-related-feature/customElement.js +1 -1
  370. package/dist/components/crowdsource-manager/customElement.js +1 -1
  371. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  372. package/dist/components/deduct-calculator/customElement.js +1 -1
  373. package/dist/components/delete-button/customElement.js +1 -1
  374. package/dist/components/delete-dialog/customElement.js +1 -1
  375. package/dist/components/edit-card/customElement.js +1 -1
  376. package/dist/components/feature-details/customElement.js +1 -1
  377. package/dist/components/feature-list/customElement.js +1 -1
  378. package/dist/components/field-selection/customElement.js +1 -1
  379. package/dist/components/floor-filter/customElement.js +1 -1
  380. package/dist/components/info-card/customElement.js +1 -1
  381. package/dist/components/json-editor/customElement.js +1 -1
  382. package/dist/components/layer-list/customElement.js +1 -1
  383. package/dist/components/layer-table/customElement.js +1 -1
  384. package/dist/components/map-card/customElement.js +1 -1
  385. package/dist/components/map-draw-tools/customElement.js +1 -1
  386. package/dist/components/map-fullscreen/customElement.js +1 -1
  387. package/dist/components/map-layer-picker/customElement.js +1 -1
  388. package/dist/components/map-legend/customElement.js +1 -1
  389. package/dist/components/map-picker/customElement.js +1 -1
  390. package/dist/components/map-search/customElement.js +1 -1
  391. package/dist/components/map-select-tools/customElement.js +1 -1
  392. package/dist/components/map-tools/customElement.js +1 -1
  393. package/dist/components/pci-calculator/customElement.js +1 -1
  394. package/dist/components/pdf-download/customElement.js +1 -1
  395. package/dist/components/public-notification/customElement.js +1 -1
  396. package/dist/components/refine-selection/customElement.js +1 -1
  397. package/dist/components/selection-tool/customElement.js +1 -1
  398. package/dist/components/solution-article-card/customElement.js +1 -1
  399. package/dist/components/solution-configuration/customElement.js +1 -1
  400. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  401. package/dist/components/solution-configure-titles/customElement.js +1 -1
  402. package/dist/components/solution-contents/customElement.js +1 -1
  403. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  404. package/dist/components/solution-deploy-dialog/customElement.js +3 -3
  405. package/dist/components/solution-deployed-card/customElement.js +1 -1
  406. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  407. package/dist/components/solution-details-card/customElement.js +1 -1
  408. package/dist/components/solution-details-panel/customElement.js +1 -1
  409. package/dist/components/solution-item/customElement.js +1 -1
  410. package/dist/components/solution-item-accordion/customElement.js +1 -1
  411. package/dist/components/solution-item-details/customElement.js +1 -1
  412. package/dist/components/solution-item-diagram/customElement.js +1 -1
  413. package/dist/components/solution-item-icon/customElement.js +1 -1
  414. package/dist/components/solution-item-sharing/customElement.js +1 -1
  415. package/dist/components/solution-organization-variables/customElement.js +1 -1
  416. package/dist/components/solution-resource-item/customElement.js +1 -1
  417. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  418. package/dist/components/solution-social-share/customElement.js +1 -1
  419. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  420. package/dist/components/solution-template-data/customElement.js +1 -1
  421. package/dist/components/solution-variables/customElement.js +1 -1
  422. package/dist/components/solutions-all-panel/customElement.js +1 -1
  423. package/dist/components/solutions-all-shell/customElement.js +1 -1
  424. package/dist/components/solutions-article-panel/customElement.js +1 -1
  425. package/dist/components/solutions-articles/customElement.js +1 -1
  426. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  427. package/dist/components/solutions-deploy-app/customElement.d.ts +19 -0
  428. package/dist/components/solutions-deploy-app/customElement.js +28 -24
  429. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  430. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  431. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  432. package/dist/components/spatial-ref/customElement.js +1 -1
  433. package/dist/components/store-manager/customElement.js +1 -1
  434. package/dist/docs/api.json +91 -4
  435. package/dist/docs/docs.json +69 -3
  436. package/dist/docs/vscode.html-custom-data.json +16 -1
  437. package/dist/docs/web-types.json +42 -3
  438. package/dist/index.js +1 -1
  439. package/dist/loader.js +2 -2
  440. package/dist/types/lumina.d.ts +1 -1
  441. package/dist/types/preact.d.ts +1 -1
  442. package/dist/types/react.d.ts +1 -1
  443. package/dist/types/stencil.d.ts +1 -1
  444. package/dist/utils/index.d.ts +1 -0
  445. package/package.json +6 -2
  446. package/dist/cdn/2UOIM3VP.js +0 -21
  447. package/dist/cdn/7ILIMXRZ.js +0 -4
  448. package/dist/cdn/D7PUM5DB.js +0 -4
  449. package/dist/cdn/EFTR3MFO.js +0 -4
  450. package/dist/cdn/GVL456QM.js +0 -4
  451. package/dist/cdn/OB3UET5F.js +0 -4
  452. package/dist/cdn/PMDEKKXF.js +0 -18
  453. package/dist/cdn/QAREBT4N.js +0 -4
  454. package/dist/cdn/UO6CSLS6.js +0 -4
  455. package/dist/cdn/XCFWYEW7.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import"./RUQ4ULAX.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.1.0-next.20250828 */
4
+ import"./7QBAKAAP.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{a as e}from"./HYG6KEUR.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
3
+ v1.1.0-next.20250828 */
4
+ import{a as e}from"./BY52IW4J.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{g as s}from"./UXBQKCZL.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S as a};
3
+ v1.1.0-next.20250828 */
4
+ import{g as s}from"./Y6I2OVEZ.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{a as I}from"./WH66M4HS.js";import"./PHZI3UCV.js";import{d as L}from"./6XIAEGPC.js";import{a as s}from"./JYX4AQP3.js";import"./VFTGXA7X.js";import{a as x}from"./OBVY6RXL.js";import"./3TQRZCUD.js";import"./U73R26ME.js";import{b as v}from"./X4DMCESP.js";import{C as h,D as r,E as y,G as m,H as $,h as g,i as l,o as b,r as w}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";var M=g`@layer{/** @license
3
+ v1.1.0-next.20250828 */
4
+ import{a as I}from"./VPUNNC6S.js";import"./ZMOFCR7O.js";import{d as L}from"./ROGT3C4G.js";import{a as s}from"./TXOSZQCS.js";import"./HFDCGIRQ.js";import{a as x}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as v}from"./WQFHL3SI.js";import{C as h,D as r,E as y,G as m,H as $,h as g,i as l,o as b,r as w}from"./44GZVSVC.js";import"./7QBAKAAP.js";var M=g`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import"./TOQSTROG.js";import{a as m}from"./OBVY6RXL.js";import"./3TQRZCUD.js";import"./U73R26ME.js";import{b as p}from"./X4DMCESP.js";import{D as c,E as h,h as r,i as d}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";var u=r`/** @license
3
+ v1.1.0-next.20250828 */
4
+ import"./XXZ576GX.js";import{a as m}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as p}from"./WQFHL3SI.js";import{D as c,E as h,h as r,i as d}from"./44GZVSVC.js";import"./7QBAKAAP.js";var u=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
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.20250828 */
4
+ import{a,b}from"./BSFFEDDB.js";import"./775D3UWY.js";import"./7QBAKAAP.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{a as t}from"./L7FVT5L6.js";import"./KI5GDRPD.js";import"./VKVNRJC4.js";import"./72KJNJUF.js";import"./NMQGESGT.js";import"./NZ4X5KLT.js";import"./JO2SUDF2.js";import"./LJNHHMWR.js";import"./5TEXL4WE.js";import"./SOJH6ART.js";import"./EIW5R2HH.js";import"./YZIJDNAN.js";import"./RI7CFHHT.js";import"./UAQ4ENZD.js";import"./KNCG6Q2J.js";import"./IYKARSAW.js";import"./G2PUK7M7.js";import"./SJZORYGU.js";import"./S42DWOUI.js";import"./I6SQG26N.js";import"./HYG6KEUR.js";import"./VQ2MIMSZ.js";import"./5MIOBRDN.js";import"./RUQ4ULAX.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.1.0-next.20250828 */
4
+ import{a as t}from"./O6G7FUHP.js";import"./BSFFEDDB.js";import"./775D3UWY.js";import"./4VKRNNLU.js";import"./SRC6UU36.js";import"./HHXJHZWU.js";import"./QY5XBNSA.js";import"./PVZWDJJN.js";import"./T4WHSUWN.js";import"./FD7W2RAW.js";import"./EM63FLQD.js";import"./VXWEWJTC.js";import"./FDADQCSD.js";import"./3NGSKAVB.js";import"./DDK5IIMB.js";import"./EOFV6GEH.js";import"./I32NMVY7.js";import"./AM2P5WWJ.js";import"./P7TNHA6I.js";import"./SJC3IN6H.js";import"./BY52IW4J.js";import"./JX645F5Z.js";import"./4JQO2KRL.js";import"./7QBAKAAP.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{a,b}from"./I6SQG26N.js";import"./HYG6KEUR.js";import"./VQ2MIMSZ.js";import"./5MIOBRDN.js";import"./RUQ4ULAX.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
3
+ v1.1.0-next.20250828 */
4
+ import{a,b}from"./SJC3IN6H.js";import"./BY52IW4J.js";import"./JX645F5Z.js";import"./4JQO2KRL.js";import"./7QBAKAAP.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
3
+ v1.1.0-next.20250828 */
4
4
  var s="calcite-mode-light",c="calcite-mode-dark";function a(e){let t=e?.closest(`.${c}, .${s}`);return t==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t?.classList.contains(c)?"dark":"light"}export{a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import c from"./QDJNWFHE.js";import{a as x}from"./X6UPHTN5.js";import a from"./NDLFKZLQ.js";import{a as F}from"./5XAWRL5A.js";import{a as D}from"./54Q7XCUA.js";import{E as R,h as N,i as L}from"./UXBQKCZL.js";import{b as E}from"./PHZI3UCV.js";import"./3TQRZCUD.js";import"./U73R26ME.js";import{D as g,E as $,G as H,h as I,i as b}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
3
+ v1.1.0-next.20250828 */
4
+ import c from"./N2ZRCOK7.js";import{a as x}from"./T55VBYN6.js";import a from"./2EUXOCEX.js";import{a as F}from"./FJKV655N.js";import{a as D}from"./DL6W2BEO.js";import{E as R,h as N,i as L}from"./Y6I2OVEZ.js";import{b as E}from"./ZMOFCR7O.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{D as g,E as $,G as H,h as I,i as b}from"./44GZVSVC.js";import"./7QBAKAAP.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{a as w}from"./L7REH4GS.js";import"./GLA2TUD2.js";import{c as R,h as O,i as V}from"./6XIAEGPC.js";import{d as n,e as h,g as $}from"./JYX4AQP3.js";import{d as E}from"./VFTGXA7X.js";import{a as x}from"./OBVY6RXL.js";import"./3TQRZCUD.js";import"./U73R26ME.js";import{b as L}from"./X4DMCESP.js";import{C as g,D as _,E as v,h as I,i as p,o as m,r as k}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";var A=I`@layer{/** @license
3
+ v1.1.0-next.20250828 */
4
+ import{a as w}from"./3574ZP6N.js";import"./A3XRWJOX.js";import{c as R,h as O,i as V}from"./ROGT3C4G.js";import{d as n,e as h,g as $}from"./TXOSZQCS.js";import{d as E}from"./HFDCGIRQ.js";import{a as x}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as L}from"./WQFHL3SI.js";import{C as g,D as _,E as v,h as I,i as p,o as m,r as k}from"./44GZVSVC.js";import"./7QBAKAAP.js";var A=I`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{a as O,c as R,d as g,e as u}from"./IZYMJLKT.js";import{a}from"./XMVIE566.js";import"./PDAPRJZT.js";import"./TYZCCC74.js";import{b as s,d as o,e as c}from"./42ABLPTV.js";import"./R7UBXNSY.js";import"./JSFZNTRY.js";import"./56OZKJMF.js";import"./AZW2NXEX.js";import"./6NELRJ2H.js";import"./V2WQMGKF.js";import"./PRJODTJQ.js";import"./7WIU5W3K.js";import"./TO2EI765.js";import"./UH63RORK.js";import"./WGN5DCPW.js";import{c as r}from"./VKVNRJC4.js";import"./RUQ4ULAX.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
3
+ v1.1.0-next.20250828 */
4
+ import{a as O,c as R,d as g,e as u}from"./HR77KJSD.js";import{a}from"./WPWHXT2X.js";import"./LMPKEDGE.js";import"./GMWAFSXG.js";import{b as s,d as o,e as c}from"./NY54SXCT.js";import"./MXDEBIVV.js";import"./5JMXLP5R.js";import"./772C34UX.js";import"./IZK32GOX.js";import"./ZXJDQSSJ.js";import"./NWF3JWPU.js";import"./2WRYPENH.js";import"./JP5VAE6Y.js";import"./4XGWADP2.js";import"./5IV4O7PP.js";import"./KDOGXG5T.js";import{c as r}from"./775D3UWY.js";import"./7QBAKAAP.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import"./RUQ4ULAX.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
3
+ v1.1.0-next.20250828 */
4
+ import"./7QBAKAAP.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{o as u,p as v,q as _,r as p,v as g,w as C}from"./UXBQKCZL.js";import{b as h}from"./PHZI3UCV.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
3
+ v1.1.0-next.20250828 */
4
+ import{o as u,p as v,q as _,r as p,v as g,w as C}from"./Y6I2OVEZ.js";import{b as h}from"./ZMOFCR7O.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./44GZVSVC.js";import"./7QBAKAAP.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{a as f}from"./5XAWRL5A.js";import{a as _}from"./ANQYFRBA.js";import{a as S}from"./54Q7XCUA.js";import{B as D,C as I}from"./UXBQKCZL.js";import{b as L}from"./PHZI3UCV.js";import"./3TQRZCUD.js";import"./U73R26ME.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
3
+ v1.1.0-next.20250828 */
4
+ import{a as f}from"./FJKV655N.js";import{a as _}from"./THJ5I4FB.js";import{a as S}from"./DL6W2BEO.js";import{B as D,C as I}from"./Y6I2OVEZ.js";import{b as L}from"./ZMOFCR7O.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./44GZVSVC.js";import"./7QBAKAAP.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{e,f as t}from"./5MIOBRDN.js";import"./RUQ4ULAX.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
3
+ v1.1.0-next.20250828 */
4
+ import{e,f as t}from"./4JQO2KRL.js";import"./7QBAKAAP.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
3
+ v1.1.0-next.20250828 */
4
4
  var o=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(o||{}),e=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(e||{}),t=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(t||{}),E=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(E||{}),i=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(i||{}),n=(a=>(a.CSV="CSV",a.PDF="PDF",a))(n||{}),r=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(r||{}),N="{{params.wkid||",S="}}",I=500,l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{}),R=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(R||{}),T=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKINGBASE="solutions:locationtracking",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(T||{}),u='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',s="(typekeywords:Solution,Template)",c="(typekeywords:Solution,Display Only)",C="portal:user:addExternalMembersToGroup",O="portal:user:createItem",p="portal:user:createGroup",L="portal:publisher:publishBigDataAnalytics",D="portal:publisher:publishFeatures",d="portal:publisher:publishFeeds",m="portal:publisher:publishServerGPServices",P="portal:publisher:publishRealTimeAnalytics",M="portal:user:shareToGroup",k="solutions:hubPremium",b="solutions:notebook",g="solutions:locationtracking:admin:tracking",G="solutions:locationtracking:tracking",y="solutions:locationtracking:admin",F="solutions:velocity",U="solutions:workflowManager",h=250;export{o as a,e as b,t as c,E as d,i as e,n as f,r as g,N as h,S as i,I as j,l as k,A as l,R as m,T as n,u as o,s as p,c as q,C as r,O as s,p as t,L as u,D as v,d as w,m as x,P as y,M as z,k as A,b as B,g as C,G as D,y as E,F,U as G,h as H};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import c from"./5JFVMBO2.js";import b from"./BEF54WQE.js";import{a}from"./BLFJVRBD.js";import"./GLA2TUD2.js";import"./YBP2DH3I.js";import"./PBL4GE2D.js";import"./23KXTS2Y.js";import"./BPQUBZT7.js";import"./3DHJOW6U.js";import"./R7UBXNSY.js";import"./NNDX2ITU.js";import"./6SAXQW32.js";import"./56OZKJMF.js";import"./AZW2NXEX.js";import"./6NELRJ2H.js";import"./V2WQMGKF.js";import"./JPSVIVXD.js";import"./PRJODTJQ.js";import"./7WIU5W3K.js";import"./TO2EI765.js";import"./LZLSRA5W.js";import"./UH63RORK.js";import"./WGN5DCPW.js";import"./VKVNRJC4.js";import{h as l,i as h}from"./JYX4AQP3.js";import{a as m}from"./OBVY6RXL.js";import"./3TQRZCUD.js";import"./U73R26ME.js";import{b as u}from"./X4DMCESP.js";import{E as p,h as d,i as r,o as n,r as f}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@layer{/** @license
3
+ v1.1.0-next.20250828 */
4
+ import c from"./CPJ47BBO.js";import b from"./VCBGJYT4.js";import{a}from"./226QGSSE.js";import"./A3XRWJOX.js";import"./O2Y336VP.js";import"./UXVRTL47.js";import"./3UUSTTNP.js";import"./AEDCRS34.js";import"./J25AGF6Z.js";import"./MXDEBIVV.js";import"./XLGWWA5S.js";import"./3BTPCUS2.js";import"./772C34UX.js";import"./IZK32GOX.js";import"./ZXJDQSSJ.js";import"./NWF3JWPU.js";import"./UTHLY33U.js";import"./2WRYPENH.js";import"./JP5VAE6Y.js";import"./4XGWADP2.js";import"./EYLJVJDM.js";import"./5IV4O7PP.js";import"./KDOGXG5T.js";import"./775D3UWY.js";import{h as l,i as h}from"./TXOSZQCS.js";import{a as m}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as u}from"./WQFHL3SI.js";import{E as p,h as d,i as r,o as n,r as f}from"./44GZVSVC.js";import"./7QBAKAAP.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
3
+ v1.1.0-next.20250828 */
4
4
  var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{a as m}from"./L7REH4GS.js";import"./GLA2TUD2.js";import{a as f,b as I,d as y}from"./6XIAEGPC.js";import"./JYX4AQP3.js";import"./VFTGXA7X.js";import{a as w}from"./OBVY6RXL.js";import"./3TQRZCUD.js";import"./U73R26ME.js";import{b as L}from"./X4DMCESP.js";import{C as o,D as d,E as u,G as p,H as c,h as _,i as a,l,o as h,r as g}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";var v=_`@layer{/** @license
3
+ v1.1.0-next.20250828 */
4
+ import{a as m}from"./3574ZP6N.js";import"./A3XRWJOX.js";import{a as f,b as I,d as y}from"./ROGT3C4G.js";import"./TXOSZQCS.js";import"./HFDCGIRQ.js";import{a as w}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as L}from"./WQFHL3SI.js";import{C as o,D as d,E as u,G as p,H as c,h as _,i as a,l,o as h,r as g}from"./44GZVSVC.js";import"./7QBAKAAP.js";var v=_`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import"./RUQ4ULAX.js";var a="Nie masz wystarczaj\u0105cej liczby kredyt\xF3w do wykonania tej operacji. Skontaktuj si\u0119 z administratorem systemu ArcGIS, aby uzyska\u0107 pomoc.",e="To narz\u0119dzie zosta\u0142o opublikowane z poziomu notatnika. Dost\u0119p do aplikacji ArcGIS Notebooks jest zablokowany dla Twojej instytucji. Skontaktuj si\u0119 z administratorem w celu dostosowania ustawienia.",i="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",o="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",r="Spr\xF3buj ponownie zapisa\u0107 map\u0119.",t="Oszacowanie kredyt\xF3w si\u0119 nie powiod\u0142o. Przewi\u0144 w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie oszacuj kredyty.",n="Podczas przeprowadzania analizy wyst\u0105pi\u0142 b\u0142\u0105d.",s="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",w="Nie powiod\u0142o si\u0119 zapisanie historii analiz",d="Pami\u0119\u0107 historii jest pe\u0142na. Usu\u0144 niekt\xF3re elementy z historii analiz i spr\xF3buj zapisa\u0107 ponownie.",l="Nazwa us\u0142ugi zawiera co najmniej jeden nieprawid\u0142owy znak.",c="Zapisanie warstwy tymczasowej jako hostowanej warstwy obiektowej nie powiod\u0142o si\u0119.",m="Nie uda\u0142o si\u0119 pobra\u0107 kluczowych w\u0142a\u015Bciwo\u015Bci.",y="Nie uda\u0142o si\u0119 wczyta\u0107 warstwy.",p="Warstwa jest niedost\u0119pna.",z="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",u="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisywania modelu. Spr\xF3buj ponownie zapisa\u0107.",j="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",k="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",h="Nie powiod\u0142o si\u0119 wczytywanie elementu modelu. Upewnij si\u0119, \u017Ce model istnieje i \u017Ce przyznano uprawnienia dost\u0119pu.",E="Nie powiod\u0142o si\u0119 wykonanie \u017C\u0105dania.",b="Nie masz uprawnie\u0144 do uruchomienia tego narz\u0119dzia. <calcite-link target='_blank' href='${ docLink }'>Dowiedz si\u0119 wi\u0119cej</calcite-link>",P="Nie mo\u017Cna zalogowa\u0107 si\u0119 w portalu.",N="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",S="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",$="Istnieje ju\u017C warstwa wynikowa o tej nazwie. Nazwy warstw wynikowych musz\u0105 by\u0107 niepowtarzalne w ca\u0142ej instytucji. U\u017Cyj innej nazwy.",v="Nazwa danych wynikowych zawiera co najmniej jeden nieprawid\u0142owy znak. <a href='${docLink}' target='_blank'>Dowiedz si\u0119 wi\u0119cej.</a>",f="Publikowanie warstwy tymczasowej jako warstwy hostowanej nie powiod\u0142o si\u0119 z powodu co najmniej jednego nieprawid\u0142owego pola. Uruchom ponownie narz\u0119dzie, aby utworzy\u0107 warstw\u0119 z prawid\u0142owymi polami.",I="Nie powiod\u0142o si\u0119 wys\u0142anie zadania. Przewi\u0144 widok w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie uruchom analiz\u0119.",T="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",g={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:o,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:w,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:p,maxItems:z,mbFailedToSave:u,minItems:j,minLength:k,modelNotFound:h,networkError:E,noPermissionToAccessTool:b,portalLoadError:P,queryFeaturesError:N,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:v,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,o as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,g as default,n as defaultError,s as enumValues,w as failedToSaveHistory,d as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,z as maxItems,u as mbFailedToSave,j as minItems,k as minLength,h as modelNotFound,E as networkError,b as noPermissionToAccessTool,P as portalLoadError,N as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,v as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
3
+ v1.1.0-next.20250828 */
4
+ import"./7QBAKAAP.js";var a="Nie masz wystarczaj\u0105cej liczby kredyt\xF3w do wykonania tej operacji. Skontaktuj si\u0119 z administratorem systemu ArcGIS, aby uzyska\u0107 pomoc.",e="To narz\u0119dzie zosta\u0142o opublikowane z poziomu notatnika. Dost\u0119p do aplikacji ArcGIS Notebooks jest zablokowany dla Twojej instytucji. Skontaktuj si\u0119 z administratorem w celu dostosowania ustawienia.",i="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",o="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",r="Spr\xF3buj ponownie zapisa\u0107 map\u0119.",t="Oszacowanie kredyt\xF3w si\u0119 nie powiod\u0142o. Przewi\u0144 w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie oszacuj kredyty.",n="Podczas przeprowadzania analizy wyst\u0105pi\u0142 b\u0142\u0105d.",s="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",w="Nie powiod\u0142o si\u0119 zapisanie historii analiz",d="Pami\u0119\u0107 historii jest pe\u0142na. Usu\u0144 niekt\xF3re elementy z historii analiz i spr\xF3buj zapisa\u0107 ponownie.",l="Nazwa us\u0142ugi zawiera co najmniej jeden nieprawid\u0142owy znak.",c="Zapisanie warstwy tymczasowej jako hostowanej warstwy obiektowej nie powiod\u0142o si\u0119.",m="Nie uda\u0142o si\u0119 pobra\u0107 kluczowych w\u0142a\u015Bciwo\u015Bci.",y="Nie uda\u0142o si\u0119 wczyta\u0107 warstwy.",p="Warstwa jest niedost\u0119pna.",z="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",u="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisywania modelu. Spr\xF3buj ponownie zapisa\u0107.",j="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",k="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",h="Nie powiod\u0142o si\u0119 wczytywanie elementu modelu. Upewnij si\u0119, \u017Ce model istnieje i \u017Ce przyznano uprawnienia dost\u0119pu.",E="Nie powiod\u0142o si\u0119 wykonanie \u017C\u0105dania.",b="Nie masz uprawnie\u0144 do uruchomienia tego narz\u0119dzia. <calcite-link target='_blank' href='${ docLink }'>Dowiedz si\u0119 wi\u0119cej</calcite-link>",P="Nie mo\u017Cna zalogowa\u0107 si\u0119 w portalu.",N="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",S="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",$="Istnieje ju\u017C warstwa wynikowa o tej nazwie. Nazwy warstw wynikowych musz\u0105 by\u0107 niepowtarzalne w ca\u0142ej instytucji. U\u017Cyj innej nazwy.",v="Nazwa danych wynikowych zawiera co najmniej jeden nieprawid\u0142owy znak. <a href='${docLink}' target='_blank'>Dowiedz si\u0119 wi\u0119cej.</a>",f="Publikowanie warstwy tymczasowej jako warstwy hostowanej nie powiod\u0142o si\u0119 z powodu co najmniej jednego nieprawid\u0142owego pola. Uruchom ponownie narz\u0119dzie, aby utworzy\u0107 warstw\u0119 z prawid\u0142owymi polami.",I="Nie powiod\u0142o si\u0119 wys\u0142anie zadania. Przewi\u0144 widok w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie uruchom analiz\u0119.",T="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",g={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:o,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:w,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:p,maxItems:z,mbFailedToSave:u,minItems:j,minLength:k,modelNotFound:h,networkError:E,noPermissionToAccessTool:b,portalLoadError:P,queryFeaturesError:N,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:v,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,o as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,g as default,n as defaultError,s as enumValues,w as failedToSaveHistory,d as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,z as maxItems,u as mbFailedToSave,j as minItems,k as minLength,h as modelNotFound,E as networkError,b as noPermissionToAccessTool,P as portalLoadError,N as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,v as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import"./RUQ4ULAX.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.1.0-next.20250828 */
4
+ import"./7QBAKAAP.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250827 */
4
- import{c as a}from"./SJZORYGU.js";import"./RUQ4ULAX.js";export{a as MetricSchema};
3
+ v1.1.0-next.20250828 */
4
+ import{c as a}from"./AM2P5WWJ.js";import"./7QBAKAAP.js";export{a as MetricSchema};