@esri/solutions-components 1.2.0-next.31 → 1.2.0-next.32

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 (474) hide show
  1. package/dist/cdn/{UV2WNCQF.js → 226RSUQS.js} +2 -2
  2. package/dist/cdn/{EJ7ULT5F.js → 2533SPE5.js} +2 -2
  3. package/dist/cdn/{B3QZGAKL.js → 27D33J47.js} +2 -2
  4. package/dist/cdn/{M3ZETHYO.js → 27LGSFER.js} +2 -2
  5. package/dist/cdn/{AIWE35NS.js → 2BMNVKK5.js} +2 -2
  6. package/dist/cdn/{DKSGQFJD.js → 2CJXYNR2.js} +2 -2
  7. package/dist/cdn/{F5A5P5TO.js → 2EYHJDUT.js} +2 -2
  8. package/dist/cdn/{6CRO3RMM.js → 2G3OXRWV.js} +2 -2
  9. package/dist/cdn/{F37R3OXJ.js → 2JSIUIY6.js} +1 -1
  10. package/dist/cdn/{V2WCN5DX.js → 2K7IDGHY.js} +2 -2
  11. package/dist/cdn/{G25LXNP5.js → 2MF2OEUQ.js} +2 -2
  12. package/dist/cdn/{6AP7BDVC.js → 2SKZCOTK.js} +3 -3
  13. package/dist/cdn/{GBNDVZDC.js → 2UJUG7UC.js} +2 -2
  14. package/dist/cdn/{CZ5X5637.js → 2WCPREAP.js} +1 -1
  15. package/dist/cdn/{LKN6XSL5.js → 3AFZQXJ5.js} +2 -2
  16. package/dist/cdn/{UC6KMQRH.js → 3BJQGIHT.js} +2 -2
  17. package/dist/cdn/{A3DZ652X.js → 3G34WY3I.js} +2 -2
  18. package/dist/cdn/3JMCFVTU.js +4 -0
  19. package/dist/cdn/{4BBPYTMJ.js → 3KRUBACC.js} +2 -2
  20. package/dist/cdn/{MD7MMSUZ.js → 3NFGZ2RY.js} +1 -1
  21. package/dist/cdn/3OP45BTK.js +4 -0
  22. package/dist/cdn/3TPUZALB.js +4 -0
  23. package/dist/cdn/{HJZYONIH.js → 3VQ724OE.js} +2 -2
  24. package/dist/cdn/{ZGABFMI5.js → 43O7VYLV.js} +2 -2
  25. package/dist/cdn/{M7X7Z3UY.js → 4CYFZROM.js} +1 -1
  26. package/dist/cdn/4D4T24UJ.js +18 -0
  27. package/dist/cdn/{CHGMM5CE.js → 4EQN73FU.js} +2 -2
  28. package/dist/cdn/{VZNCCCR4.js → 4MLOCNMJ.js} +2 -2
  29. package/dist/cdn/{4TH2AQWE.js → 4NZUG7VR.js} +2 -2
  30. package/dist/cdn/{64F2C7FH.js → 4OK63PMJ.js} +2 -2
  31. package/dist/cdn/{ZKG2VPKR.js → 4TBXYLKJ.js} +2 -2
  32. package/dist/cdn/{BZCZ7VL4.js → 4WU24BUM.js} +2 -2
  33. package/dist/cdn/{ABT5YG3I.js → 4Z6JJUYO.js} +1 -1
  34. package/dist/cdn/{4FLNSTTX.js → 4ZYC34XW.js} +2 -2
  35. package/dist/cdn/{3YPVT2SF.js → 54QBBSG2.js} +2 -2
  36. package/dist/cdn/{5RVBDF5G.js → 55Q6RX4V.js} +2 -2
  37. package/dist/cdn/{QVJ7QQVE.js → 5KNDYAVZ.js} +2 -2
  38. package/dist/cdn/{26ZMWP6Z.js → 5L7BY6TA.js} +2 -2
  39. package/dist/cdn/{7KQEUB3J.js → 5MHJXZX4.js} +2 -2
  40. package/dist/cdn/{HAKLSL2C.js → 5OFY6VRG.js} +1 -1
  41. package/dist/cdn/{QRYOQHNP.js → 5PVYUNYJ.js} +2 -2
  42. package/dist/cdn/{QSYA2APQ.js → 5YIT3CVB.js} +2 -2
  43. package/dist/cdn/{RX5LXQBF.js → 5ZOEZVN4.js} +2 -2
  44. package/dist/cdn/{KYQKVXNP.js → 6CFN44ZL.js} +2 -2
  45. package/dist/cdn/{NOCFSXVG.js → 6L7ZOICS.js} +2 -2
  46. package/dist/cdn/{OMYBTBPL.js → 6SAAYOSM.js} +2 -2
  47. package/dist/cdn/{XCSYY3XX.js → 6TORQUZN.js} +2 -2
  48. package/dist/cdn/{4EWKLZQB.js → 6UNC422H.js} +1 -1
  49. package/dist/cdn/{AZY3OG5Z.js → 6UWIH6JU.js} +2 -2
  50. package/dist/cdn/{5XXUCV3V.js → 75B2OYMB.js} +2 -2
  51. package/dist/cdn/{ZN4UP4WI.js → 772AB3S4.js} +2 -2
  52. package/dist/cdn/{TCD2EBVI.js → 77FWIOVR.js} +1 -1
  53. package/dist/cdn/{WPY4LC3K.js → 7CLLPK3B.js} +2 -2
  54. package/dist/cdn/{L563AYUP.js → 7F66BHAC.js} +2 -2
  55. package/dist/cdn/{H3DUPFBO.js → 7VO4ABEW.js} +2 -2
  56. package/dist/cdn/{UW3ZGSQU.js → 7W3RMWJ3.js} +2 -2
  57. package/dist/cdn/{VNIE2PXO.js → 7WUL4H5R.js} +2 -2
  58. package/dist/cdn/{KV6E2SFN.js → 7YYQLLOE.js} +2 -2
  59. package/dist/cdn/{BG7THPYT.js → 7ZYW477V.js} +2 -2
  60. package/dist/cdn/{Z7WH3PY4.js → A2YFDC2B.js} +2 -2
  61. package/dist/cdn/{SEJZOKLD.js → A54HWSHD.js} +2 -2
  62. package/dist/cdn/{VWCVOS6M.js → ACWJ6KCF.js} +1 -1
  63. package/dist/cdn/{2IOG6JI2.js → AL7U5QYG.js} +2 -2
  64. package/dist/cdn/{NZDTEHWH.js → AMRIHWEQ.js} +2 -2
  65. package/dist/cdn/{OEIUCKZ7.js → AP7SZJBR.js} +2 -2
  66. package/dist/cdn/AQZFQVYS.js +160 -0
  67. package/dist/cdn/{REITZYXX.js → ARGEB5DE.js} +2 -2
  68. package/dist/cdn/{OGODOUBS.js → AROGFOSL.js} +2 -2
  69. package/dist/cdn/{SXGZX66A.js → ATTKQIVN.js} +2 -2
  70. package/dist/cdn/{KFTMUTWW.js → AUMP4YFY.js} +2 -2
  71. package/dist/cdn/{OF2SUOO3.js → B7GYU6F5.js} +2 -2
  72. package/dist/cdn/{4X5LCVEW.js → BBDKP7HK.js} +2 -2
  73. package/dist/cdn/{B6ACMA5B.js → BBDP5KAV.js} +2 -2
  74. package/dist/cdn/{MTURX67L.js → BFCAIYAN.js} +2 -2
  75. package/dist/cdn/{QCBF6D2I.js → BGDZJ6VU.js} +2 -2
  76. package/dist/cdn/{BYPEUWGZ.js → BIHRWE73.js} +2 -2
  77. package/dist/cdn/{D447J5GT.js → BK7HNYN5.js} +2 -2
  78. package/dist/cdn/{3CE2JQRD.js → BP4MMSBT.js} +2 -2
  79. package/dist/cdn/{VXKH2VOP.js → BS43P2CL.js} +1 -1
  80. package/dist/cdn/{QWCZAOXA.js → BUIXLVZE.js} +2 -2
  81. package/dist/cdn/{6YSJ5I5V.js → BXOSHZRF.js} +2 -2
  82. package/dist/cdn/{CWFWYRT4.js → BZZ6S3IG.js} +2 -2
  83. package/dist/cdn/{DPRMLSWB.js → C2UGN325.js} +2 -2
  84. package/dist/cdn/{7DFRNIIN.js → C7KS2SCQ.js} +2 -2
  85. package/dist/cdn/{IWFECRP6.js → CH3SNN7T.js} +2 -2
  86. package/dist/cdn/{AQMXUMFV.js → CRG25B6P.js} +2 -2
  87. package/dist/cdn/{MBPSOAK3.js → CU4CEWXB.js} +2 -2
  88. package/dist/cdn/{H3QLA57G.js → CZBPFNBZ.js} +2 -2
  89. package/dist/cdn/{HMVNFKGE.js → D4HSWT64.js} +2 -2
  90. package/dist/cdn/{5VA6CQMM.js → D7HV56P6.js} +2 -2
  91. package/dist/cdn/{FWANARJ7.js → DAX6QPYD.js} +2 -2
  92. package/dist/cdn/{YCB5OBM7.js → DDFCP3KD.js} +2 -2
  93. package/dist/cdn/{GHCAZWON.js → DFQFGKTL.js} +1 -1
  94. package/dist/cdn/{SMNRWNUV.js → DHF22ZIF.js} +1 -1
  95. package/dist/cdn/{4GSMGWKQ.js → DIGZCP3Z.js} +2 -2
  96. package/dist/cdn/{4WHF6Z3F.js → DNOBTNGW.js} +2 -2
  97. package/dist/cdn/{NMKJ5JOM.js → DPXBUQSM.js} +2 -2
  98. package/dist/cdn/{VP4CHRDT.js → DUBGSMCD.js} +1 -1
  99. package/dist/cdn/{LV3XG53H.js → DW5T6EQL.js} +2 -2
  100. package/dist/cdn/{R2Y4BFBA.js → E3OI4HJF.js} +1 -1
  101. package/dist/cdn/{K6QUJXWV.js → E4NGAT7A.js} +4 -4
  102. package/dist/cdn/E56VE45H.js +18 -0
  103. package/dist/cdn/{2VBJ24WG.js → E7CPFFSB.js} +2 -2
  104. package/dist/cdn/{E7AJJ7UX.js → EB2ZTQMN.js} +2 -2
  105. package/dist/cdn/{Y6WUVKKJ.js → ED2VJYUR.js} +2 -2
  106. package/dist/cdn/{ISBOWSOF.js → EFLGDHXP.js} +2 -2
  107. package/dist/cdn/{LKKXUC52.js → EG5AWTHC.js} +2 -2
  108. package/dist/cdn/{W3QOBRE2.js → EJMIOMK2.js} +2 -2
  109. package/dist/cdn/{3EF32E4B.js → EMEBN2OY.js} +2 -2
  110. package/dist/cdn/{I3BWD2LX.js → EMXWNH3D.js} +2 -2
  111. package/dist/cdn/{RSA4AWTB.js → EOLDOM7J.js} +2 -2
  112. package/dist/cdn/{RO4XDPUY.js → EP6WYYFX.js} +2 -2
  113. package/dist/cdn/{X4ZKBTN4.js → ETL2PJFL.js} +2 -2
  114. package/dist/cdn/{IJ2XYITD.js → ETLJSUVY.js} +2 -2
  115. package/dist/cdn/{QRBXPHG6.js → EVJFUOUK.js} +2 -2
  116. package/dist/cdn/{TCPOSEXP.js → EVVOSRAE.js} +2 -2
  117. package/dist/cdn/{YLYTCJC5.js → EWXEJDN5.js} +2 -2
  118. package/dist/cdn/{Z62OH3MN.js → EXYGLCOK.js} +2 -2
  119. package/dist/cdn/{4WSQCQFN.js → F2GMDA7Q.js} +2 -2
  120. package/dist/cdn/{JPZU2BUG.js → F65STCYL.js} +2 -2
  121. package/dist/cdn/{Q6QBQRTG.js → FD6HVDC7.js} +2 -2
  122. package/dist/cdn/{QJMIHCYA.js → FETMYFG3.js} +2 -2
  123. package/dist/cdn/{UO7CVYHI.js → FEV4CXOF.js} +2 -2
  124. package/dist/cdn/{HWS6ASNJ.js → FI27ITLW.js} +2 -2
  125. package/dist/cdn/{AA3OODB2.js → FUIYSEKC.js} +2 -2
  126. package/dist/cdn/{APRQR7XL.js → FULUSZ7P.js} +2 -2
  127. package/dist/cdn/{EB6Y35GJ.js → FVNYRH45.js} +2 -2
  128. package/dist/cdn/{QNZCOWWV.js → FW7VFDTJ.js} +2 -2
  129. package/dist/cdn/{SUGCGTUE.js → FXWTNVE6.js} +2 -2
  130. package/dist/cdn/{TXF4E6LF.js → G5JSTUL7.js} +1 -1
  131. package/dist/cdn/{P44724IG.js → G7HOXY3G.js} +2 -2
  132. package/dist/cdn/{GMIEOLX5.js → GB4T7CTI.js} +2 -2
  133. package/dist/cdn/{LEIIQ3A6.js → GCN7EO6L.js} +2 -2
  134. package/dist/cdn/{KQL6O3FK.js → GFBFNDJS.js} +2 -2
  135. package/dist/cdn/{ML4FQKR3.js → GLHAJG3D.js} +2 -2
  136. package/dist/cdn/{Q52VS7JD.js → GRJEDU6C.js} +2 -2
  137. package/dist/cdn/{F7FPLRM7.js → GYXRU4FG.js} +2 -2
  138. package/dist/cdn/{MPUF2TPM.js → H3JVWUDB.js} +1 -1
  139. package/dist/cdn/{LPBE2FHF.js → H5HS3X55.js} +2 -2
  140. package/dist/cdn/{L7MBYDMB.js → H5WHXVP3.js} +2 -2
  141. package/dist/cdn/{6KVTLN7I.js → HCVL53BB.js} +1 -1
  142. package/dist/cdn/{GWQCD476.js → HKHK72XF.js} +2 -2
  143. package/dist/cdn/{HKGZIXAW.js → HKYW6UNC.js} +2 -2
  144. package/dist/cdn/HNO22A5W.js +4 -0
  145. package/dist/cdn/{Q74EQS3O.js → HPG26NVY.js} +2 -2
  146. package/dist/cdn/{WTS5H53O.js → HQJOQ6TS.js} +2 -2
  147. package/dist/cdn/{PST6SAY2.js → HUS5Q5N3.js} +2 -2
  148. package/dist/cdn/{I5ZQTYAN.js → HV74OOTI.js} +2 -2
  149. package/dist/cdn/{CWPWSVA7.js → HW4JXSU7.js} +2 -2
  150. package/dist/cdn/{UFE4G4RJ.js → HWHLETHP.js} +1 -1
  151. package/dist/cdn/{OO6FJRTO.js → HWQBUM6E.js} +1 -1
  152. package/dist/cdn/{RDTGNHBE.js → I6O5SLO7.js} +2 -2
  153. package/dist/cdn/{NPAHQC2C.js → ICDGCYKC.js} +2 -2
  154. package/dist/cdn/{7P6J3DF5.js → INLPTSW6.js} +1 -1
  155. package/dist/cdn/{2H7IYD2F.js → IQERKY6M.js} +2 -2
  156. package/dist/cdn/{XZ627753.js → IVDQ3D2F.js} +2 -2
  157. package/dist/cdn/{JM4DQYUF.js → IVGZJGVJ.js} +2 -2
  158. package/dist/cdn/{RCR3LGTO.js → J5RMHJJZ.js} +2 -2
  159. package/dist/cdn/{TNAZAPLS.js → J6KKOJXB.js} +2 -2
  160. package/dist/cdn/{EWL35ZZV.js → J7SMQUVQ.js} +2 -2
  161. package/dist/cdn/{NFRC2QRL.js → JCKCTOK4.js} +2 -2
  162. package/dist/cdn/{WBLATNLZ.js → JELCGJJW.js} +2 -2
  163. package/dist/cdn/{GPA7SOWJ.js → JEV4XOC5.js} +2 -2
  164. package/dist/cdn/{NUOQWKHY.js → JFOYVZVT.js} +2 -2
  165. package/dist/cdn/{POS6K2UE.js → JGHJ7T4E.js} +1 -1
  166. package/dist/cdn/{H3KAICJN.js → JGNT234Q.js} +2 -2
  167. package/dist/cdn/{ESDGUCHM.js → JUKJAONH.js} +2 -2
  168. package/dist/cdn/{IZIT3Q6M.js → JXFJDV6P.js} +2 -2
  169. package/dist/cdn/{R5U2WANE.js → JYKKQ44G.js} +2 -2
  170. package/dist/cdn/{6L5JZ6CY.js → JYTJY76V.js} +2 -2
  171. package/dist/cdn/{DDU4V5V6.js → JZGEJ3NG.js} +2 -2
  172. package/dist/cdn/{SLMFVTWE.js → K77GAFTY.js} +1 -1
  173. package/dist/cdn/{NM44M4IW.js → KHDYAJMN.js} +2 -2
  174. package/dist/cdn/{3CQH3UC2.js → KKFK3PAX.js} +2 -2
  175. package/dist/cdn/{7SETBRJQ.js → KKLMWKJT.js} +2 -2
  176. package/dist/cdn/{WI5VAMGJ.js → KMXEINSJ.js} +2 -2
  177. package/dist/cdn/{WQBQCO4B.js → KNF5M7BG.js} +2 -2
  178. package/dist/cdn/{WDK5H56L.js → KOF5F4MV.js} +2 -2
  179. package/dist/cdn/{BNT5DJGY.js → KOTDPPYU.js} +2 -2
  180. package/dist/cdn/{ZCRLXSR3.js → KPGZ7JBF.js} +2 -2
  181. package/dist/cdn/{UE2IX2RL.js → KQNAYXSS.js} +2 -2
  182. package/dist/cdn/{JPU2OPHN.js → KRBOBAYH.js} +2 -2
  183. package/dist/cdn/{ZOD4ZXTC.js → KSKSXR7E.js} +2 -2
  184. package/dist/cdn/{YFF7HPPF.js → KTXY6JUR.js} +2 -2
  185. package/dist/cdn/{NEMKCYHR.js → KW2D73IV.js} +2 -2
  186. package/dist/cdn/{ADFNFEXR.js → L6UHHYJN.js} +2 -2
  187. package/dist/cdn/{2SQJ42QL.js → L7WZHHQP.js} +2 -2
  188. package/dist/cdn/{YARWRAKS.js → LCMJKQQF.js} +1 -1
  189. package/dist/cdn/{ESLRUAYH.js → LCYE2P4P.js} +1 -1
  190. package/dist/cdn/LJGQCJGV.js +18 -0
  191. package/dist/cdn/{GD2DMOOA.js → LJSJRWUN.js} +2 -2
  192. package/dist/cdn/{J4HGP2TR.js → LKAXALVZ.js} +2 -2
  193. package/dist/cdn/{KBQJQVZP.js → LKPPPHII.js} +2 -2
  194. package/dist/cdn/{NNA3NDDO.js → LKYPJK7N.js} +2 -2
  195. package/dist/cdn/{SJOOBDVL.js → LNT27BZT.js} +2 -2
  196. package/dist/cdn/{GMMJSQCO.js → LQ554PTP.js} +2 -2
  197. package/dist/cdn/{XDQDDZ44.js → LWLLPQE2.js} +2 -2
  198. package/dist/cdn/{AWZINHAE.js → MBI542NE.js} +2 -2
  199. package/dist/cdn/{ZWPKTGXD.js → MC5CS7OU.js} +2 -2
  200. package/dist/cdn/{3FUHLW24.js → MEVSXTYO.js} +2 -2
  201. package/dist/cdn/{27Q7IH64.js → MFBYUTW4.js} +2 -2
  202. package/dist/cdn/{CCWREFPV.js → MFSGVKWQ.js} +2 -2
  203. package/dist/cdn/{CN2QKE6N.js → MJKOGE3N.js} +2 -2
  204. package/dist/cdn/{POMBIM2T.js → ML4UFLI6.js} +2 -2
  205. package/dist/cdn/{GRFZ2FCA.js → MQEYUCSE.js} +1 -1
  206. package/dist/cdn/{ATVG5O7I.js → MTXENSWH.js} +2 -2
  207. package/dist/cdn/{6BSQ4FI6.js → N2D7YNGV.js} +2 -2
  208. package/dist/cdn/{QDOHJRID.js → N2ZTDWSC.js} +2 -2
  209. package/dist/cdn/{WQSKVYFF.js → N3UNRQRI.js} +2 -2
  210. package/dist/cdn/{D4QLXXIE.js → N4R4UY32.js} +2 -2
  211. package/dist/cdn/{RQ5KHDEQ.js → N52YZLFO.js} +2 -2
  212. package/dist/cdn/{UEOJE65W.js → N5XPROV3.js} +2 -2
  213. package/dist/cdn/{VQFP6AZI.js → NADKN23R.js} +2 -2
  214. package/dist/cdn/{3Y4L5QPG.js → NDJ2HJ5Y.js} +2 -2
  215. package/dist/cdn/{RKDFCEV6.js → NKINIKVZ.js} +2 -2
  216. package/dist/cdn/{UNAA6QIJ.js → NMX6NXPB.js} +2 -2
  217. package/dist/cdn/{YTP3FLYV.js → NSMZAAGW.js} +1 -1
  218. package/dist/cdn/{IEP7RNEW.js → NVQ3DF4Q.js} +2 -2
  219. package/dist/cdn/{LWHILP4F.js → NXJLGUDO.js} +2 -2
  220. package/dist/cdn/{SHN4JOAS.js → O6HSLYAV.js} +2 -2
  221. package/dist/cdn/{JXU4HAWE.js → O7G7KS2M.js} +2 -2
  222. package/dist/cdn/{NZQGONJV.js → O7NZHLH5.js} +2 -2
  223. package/dist/cdn/{6CDMAYRH.js → OADPHZPU.js} +2 -2
  224. package/dist/cdn/{2KXZDC54.js → OATLEUUN.js} +2 -2
  225. package/dist/cdn/ONRDM6FP.js +4 -0
  226. package/dist/cdn/{7BKAYHD3.js → OODGC2OA.js} +2 -2
  227. package/dist/cdn/{ZS5WKHPW.js → OUYN6TF2.js} +2 -2
  228. package/dist/cdn/{TYQ5FGMD.js → OWBLDGWB.js} +2 -2
  229. package/dist/cdn/{44PDCPXG.js → PMZRJVVV.js} +2 -2
  230. package/dist/cdn/{WKYLL2JX.js → PNVLSAUM.js} +2 -2
  231. package/dist/cdn/{GXVFUFAX.js → PRKXJNWK.js} +2 -2
  232. package/dist/cdn/{OVWM6TYS.js → PUCOETAA.js} +2 -2
  233. package/dist/cdn/{3FRGP6NR.js → PXUM4D5F.js} +2 -2
  234. package/dist/cdn/{MB4RZXW5.js → QCLNPDGR.js} +2 -2
  235. package/dist/cdn/QLHZVH4O.js +4 -0
  236. package/dist/cdn/{CG54KNHW.js → QN7FZ2ML.js} +2 -2
  237. package/dist/cdn/{7WVIQXD6.js → QOCCGMGD.js} +2 -2
  238. package/dist/cdn/{UHZSVZPK.js → QQV3FPUF.js} +2 -2
  239. package/dist/cdn/{QFL5XGCR.js → QTI7I4PL.js} +2 -2
  240. package/dist/cdn/{CPXQZ3SL.js → R2HGQMVI.js} +2 -2
  241. package/dist/cdn/{4FCZ4AZ7.js → R5WGML7Q.js} +2 -2
  242. package/dist/cdn/{O7S3FCYR.js → RDYSI2SW.js} +1 -1
  243. package/dist/cdn/{FEHN4KPL.js → RGF3MEGO.js} +2 -2
  244. package/dist/cdn/{ELMP3CV5.js → RTGTJIEP.js} +2 -2
  245. package/dist/cdn/{2KYKQUHK.js → RZZ2SY4D.js} +2 -2
  246. package/dist/cdn/{KHJ277OT.js → S3WBKB7G.js} +1 -1
  247. package/dist/cdn/{SH26YDC5.js → S46RMZLX.js} +2 -2
  248. package/dist/cdn/{MRSWEWWB.js → S6X4KLGJ.js} +2 -2
  249. package/dist/cdn/{7LHHPXFC.js → SA3GNKYZ.js} +2 -2
  250. package/dist/cdn/{FYNEWFSC.js → SBWC2Z7A.js} +2 -2
  251. package/dist/cdn/SCRBXRAG.js +4 -0
  252. package/dist/cdn/{2SHK7ROD.js → SEGP6OTS.js} +2 -2
  253. package/dist/cdn/{32OKNC7F.js → SH2X3MCA.js} +1 -1
  254. package/dist/cdn/{6KMBNOZ3.js → SMHLO4NY.js} +2 -2
  255. package/dist/cdn/{5YJPALMY.js → SRDBC3SX.js} +2 -2
  256. package/dist/cdn/{BEXA43V2.js → SVB72QSO.js} +2 -2
  257. package/dist/cdn/{EKGKWXEB.js → SZVSAWJF.js} +1 -1
  258. package/dist/cdn/{BOJKJLWQ.js → T3CZ6VVW.js} +2 -2
  259. package/dist/cdn/{6GINIJMQ.js → TCVK4C2M.js} +2 -2
  260. package/dist/cdn/{IDR3G6QJ.js → TEB2CQ3P.js} +2 -2
  261. package/dist/cdn/{TWIBC25F.js → TGRMOOLJ.js} +2 -2
  262. package/dist/cdn/{LDYUDDLO.js → THGJZRJO.js} +2 -2
  263. package/dist/cdn/{3HXDXA5V.js → TJ75LVBV.js} +2 -2
  264. package/dist/cdn/{VQIF3HW2.js → TKF2IU3A.js} +2 -2
  265. package/dist/cdn/{ZUJ3VJF5.js → TOKY6BVM.js} +2 -2
  266. package/dist/cdn/{6WIKCCYS.js → TRZWWCU3.js} +2 -2
  267. package/dist/cdn/{GFCB6UVI.js → TTIEDYOQ.js} +2 -2
  268. package/dist/cdn/{XJMRQKZW.js → TVYK36UN.js} +2 -2
  269. package/dist/cdn/{DPX5WAK6.js → TWPIW46R.js} +2 -2
  270. package/dist/cdn/{BCC43MR4.js → UE4FTD2D.js} +2 -2
  271. package/dist/cdn/{G3RMVSCM.js → UEWVLNKA.js} +2 -2
  272. package/dist/cdn/{4Q6AVQE7.js → UJTJYKXY.js} +2 -2
  273. package/dist/cdn/{5NCLW4RU.js → UKHPTBWY.js} +2 -2
  274. package/dist/cdn/{J4KULWAC.js → ULUKHPNG.js} +2 -2
  275. package/dist/cdn/{OPMQCAR3.js → UN45BZD2.js} +2 -2
  276. package/dist/cdn/{TVBP7E34.js → UROPSZAM.js} +2 -2
  277. package/dist/cdn/{2BG4TYOD.js → UTYQFFF5.js} +2 -2
  278. package/dist/cdn/{ZGCTHCV6.js → UWICDM6R.js} +1 -1
  279. package/dist/cdn/{FY32LSLJ.js → VAVQYNMD.js} +2 -2
  280. package/dist/cdn/{GHELMKMF.js → VBCJOCHF.js} +2 -2
  281. package/dist/cdn/{C5HMYUFH.js → VL73XB2R.js} +1 -1
  282. package/dist/cdn/{WTZNO7PN.js → VXD7EPFU.js} +2 -2
  283. package/dist/cdn/{AA5S43EA.js → W3AFIYR4.js} +2 -2
  284. package/dist/cdn/{UV62PU26.js → W55I5OIC.js} +2 -2
  285. package/dist/cdn/{7GMTKVDP.js → W65XYM6P.js} +2 -2
  286. package/dist/cdn/{H6DRMF2A.js → WBZASBBG.js} +2 -2
  287. package/dist/cdn/{W3UAB5V7.js → WDOIUCQC.js} +2 -2
  288. package/dist/cdn/{RZWTSUJZ.js → WGM64EDJ.js} +2 -2
  289. package/dist/cdn/{XH7Q5FKW.js → WH42WUWP.js} +2 -2
  290. package/dist/cdn/{LR5BWGNC.js → WIYNHJEI.js} +2 -2
  291. package/dist/cdn/WK3TIVHV.js +18 -0
  292. package/dist/cdn/{YA5GFONS.js → WKN346QR.js} +2 -2
  293. package/dist/cdn/{IBGVJQ3D.js → WRIRPG5Q.js} +1 -1
  294. package/dist/cdn/WSUT6DFK.js +18 -0
  295. package/dist/cdn/{26CIVFI7.js → WTCYLQLU.js} +2 -2
  296. package/dist/cdn/{3T7IYLMO.js → WW6W7GW2.js} +2 -2
  297. package/dist/cdn/{Q67LCQR5.js → X2WLW57Y.js} +2 -2
  298. package/dist/cdn/{7Y73EJQK.js → X53FFXAJ.js} +2 -2
  299. package/dist/cdn/{WF6EYQVV.js → X5RD7QRN.js} +2 -2
  300. package/dist/cdn/{HGTZFPBI.js → X6EHMTJE.js} +2 -2
  301. package/dist/cdn/{XS3JXY2Q.js → X6W3DJM7.js} +2 -2
  302. package/dist/cdn/{P7UXKWMX.js → X7YSUEG2.js} +2 -2
  303. package/dist/cdn/{SBR5OKMT.js → XDX3MW4G.js} +2 -2
  304. package/dist/cdn/{4B4DVSY5.js → XEFBLQ5S.js} +2 -2
  305. package/dist/cdn/{TM3QT4MY.js → XI4VCNTX.js} +2 -2
  306. package/dist/cdn/{WDH5XQN5.js → XLE7SRQ5.js} +2 -2
  307. package/dist/cdn/{VY4RTYGY.js → XN6BYFC2.js} +2 -2
  308. package/dist/cdn/{3GKOLG3P.js → XWA7ZD3X.js} +2 -2
  309. package/dist/cdn/{Z4KFLWH7.js → Y5SYQYT6.js} +2 -2
  310. package/dist/cdn/{DSESXQAF.js → Y723NOV3.js} +2 -2
  311. package/dist/cdn/{GA6IWULR.js → YANBHAQF.js} +2 -2
  312. package/dist/cdn/{UUPE5QOV.js → YGGTDVR7.js} +2 -2
  313. package/dist/cdn/{TG66S6FW.js → YHIYXKS4.js} +1 -1
  314. package/dist/cdn/YIICHF2I.js +4 -0
  315. package/dist/cdn/{6LD6WQRF.js → YLXQS46R.js} +2 -2
  316. package/dist/cdn/{AT4QQS4E.js → YNDROWKV.js} +2 -2
  317. package/dist/cdn/{N57KFLJ6.js → YQV3GLNY.js} +2 -2
  318. package/dist/cdn/{GFIYGODA.js → YRTO5ZQD.js} +1 -1
  319. package/dist/cdn/{CQRE2M4F.js → YRZKSSS7.js} +2 -2
  320. package/dist/cdn/{HTJXA6GN.js → YWPX7BZF.js} +1 -1
  321. package/dist/cdn/{MAZUKK57.js → YXECJCUS.js} +2 -2
  322. package/dist/cdn/{EZWJABZU.js → YYXIXFNZ.js} +2 -2
  323. package/dist/cdn/{GZPX7N7S.js → YZXODLH6.js} +2 -2
  324. package/dist/cdn/{6WXAPOXD.js → Z72F6PTI.js} +2 -2
  325. package/dist/cdn/{JSKC5AKJ.js → Z74ZKPXG.js} +2 -2
  326. package/dist/cdn/{ET2O476H.js → Z7RQZG64.js} +2 -2
  327. package/dist/cdn/{TFFGKLXZ.js → ZAECHS3J.js} +1 -1
  328. package/dist/cdn/{LORQGESC.js → ZAFBHUBA.js} +2 -2
  329. package/dist/cdn/{2ZCAWD3F.js → ZEIKF2BV.js} +2 -2
  330. package/dist/cdn/{HBZOEYFG.js → ZF6GB3FE.js} +2 -2
  331. package/dist/cdn/{3FHCXLTP.js → ZKIDYTK3.js} +2 -2
  332. package/dist/cdn/{OXM25VGF.js → ZLWQPMJJ.js} +1 -1
  333. package/dist/cdn/{2GPTZNVI.js → ZMAAYOYU.js} +2 -2
  334. package/dist/cdn/{6FQEMJLG.js → ZOZYWRVT.js} +1 -1
  335. package/dist/cdn/{2KCNUGHU.js → ZPAM5E6U.js} +2 -2
  336. package/dist/cdn/{A56WOLMU.js → ZTEONGSJ.js} +2 -2
  337. package/dist/cdn/{E7BTZQRN.js → ZU3JLDWF.js} +2 -2
  338. package/dist/cdn/{E6TINCRP.js → ZUO2J5HK.js} +2 -2
  339. package/dist/cdn/{TJ3ELT7Y.js → ZUO6JLDC.js} +2 -2
  340. package/dist/cdn/{7KD2EYNO.js → ZUPXYG2N.js} +2 -2
  341. package/dist/cdn/{ZMPDT3BZ.js → ZV66MRAV.js} +2 -2
  342. package/dist/cdn/{UJO2FYV6.js → ZWR4POC2.js} +2 -2
  343. package/dist/cdn/{2ITFRR75.js → ZZIB333L.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  346. package/dist/cdn/index.js +2 -2
  347. package/dist/chunks/Auth.js +1 -1
  348. package/dist/chunks/CardsFetcher.js +1 -1
  349. package/dist/chunks/appConfig.js +1 -1
  350. package/dist/chunks/cardFetchingUtils.js +1 -1
  351. package/dist/chunks/cardsHelpers.js +1 -1
  352. package/dist/chunks/common.js +1 -1
  353. package/dist/chunks/deployAppContexts.js +1 -1
  354. package/dist/chunks/downloadUtils.js +1 -1
  355. package/dist/chunks/getItemIcon.js +1 -1
  356. package/dist/chunks/helpers.js +1 -1
  357. package/dist/chunks/interfaces.js +1 -1
  358. package/dist/chunks/loadModules.js +1 -1
  359. package/dist/chunks/mapViewUtils.js +1 -1
  360. package/dist/chunks/pciUtils.js +1 -1
  361. package/dist/chunks/popupUtils.js +1 -1
  362. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  363. package/dist/chunks/privilegeUtils.js +1 -1
  364. package/dist/chunks/publicNotificationContext.js +1 -1
  365. package/dist/chunks/queryUtils.js +1 -1
  366. package/dist/chunks/runtime.js +1 -1
  367. package/dist/chunks/solution-store.js +1 -1
  368. package/dist/chunks/templates.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/components/arcgis-solutions-assistant/customElement.js +204 -193
  371. package/dist/components/arcgis-solutions-assistant/index.d.ts +1 -0
  372. package/dist/components/arcgis-solutions-assistant/index.js +1 -0
  373. package/dist/components/arcgis-solutions-assistant/utils/typewriter-text.d.ts +0 -1
  374. package/dist/components/basemap-gallery/customElement.js +1 -1
  375. package/dist/components/buffer-tools/customElement.js +1 -1
  376. package/dist/components/card-manager/customElement.js +1 -1
  377. package/dist/components/consent-manager/customElement.js +1 -1
  378. package/dist/components/create-feature/customElement.js +1 -1
  379. package/dist/components/create-related-feature/customElement.js +1 -1
  380. package/dist/components/crowdsource-manager/customElement.js +1 -1
  381. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  382. package/dist/components/deduct-calculator/customElement.js +1 -1
  383. package/dist/components/delete-button/customElement.js +1 -1
  384. package/dist/components/delete-dialog/customElement.js +1 -1
  385. package/dist/components/edit-card/customElement.js +1 -1
  386. package/dist/components/feature-details/customElement.js +1 -1
  387. package/dist/components/feature-list/customElement.js +1 -1
  388. package/dist/components/field-selection/customElement.js +1 -1
  389. package/dist/components/floor-filter/customElement.js +1 -1
  390. package/dist/components/info-card/customElement.js +1 -1
  391. package/dist/components/json-editor/customElement.js +1 -1
  392. package/dist/components/layer-list/customElement.js +1 -1
  393. package/dist/components/layer-table/customElement.js +1 -1
  394. package/dist/components/map-card/customElement.js +1 -1
  395. package/dist/components/map-draw-tools/customElement.js +1 -1
  396. package/dist/components/map-fullscreen/customElement.js +1 -1
  397. package/dist/components/map-layer-picker/customElement.js +1 -1
  398. package/dist/components/map-legend/customElement.js +1 -1
  399. package/dist/components/map-picker/customElement.js +1 -1
  400. package/dist/components/map-search/customElement.js +1 -1
  401. package/dist/components/map-select-tools/customElement.js +1 -1
  402. package/dist/components/map-tools/customElement.js +1 -1
  403. package/dist/components/pci-calculator/customElement.js +1 -1
  404. package/dist/components/pdf-download/customElement.js +1 -1
  405. package/dist/components/public-notification/customElement.js +1 -1
  406. package/dist/components/refine-selection/customElement.js +1 -1
  407. package/dist/components/selection-tool/customElement.js +1 -1
  408. package/dist/components/solution-configuration/customElement.js +1 -1
  409. package/dist/components/solution-configure-titles/customElement.js +1 -1
  410. package/dist/components/solution-contents/customElement.js +1 -1
  411. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  412. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  413. package/dist/components/solution-deployed-card/customElement.js +1 -1
  414. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  415. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  416. package/dist/components/solution-details-card/customElement.js +1 -1
  417. package/dist/components/solution-details-panel/customElement.js +1 -1
  418. package/dist/components/solution-item/customElement.js +1 -1
  419. package/dist/components/solution-item-accordion/customElement.js +1 -1
  420. package/dist/components/solution-item-details/customElement.js +1 -1
  421. package/dist/components/solution-item-diagram/customElement.js +1 -1
  422. package/dist/components/solution-item-icon/customElement.js +1 -1
  423. package/dist/components/solution-item-sharing/customElement.js +1 -1
  424. package/dist/components/solution-organization-variables/customElement.js +1 -1
  425. package/dist/components/solution-resource-card/customElement.js +1 -1
  426. package/dist/components/solution-resource-item/customElement.js +1 -1
  427. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  428. package/dist/components/solution-social-share/customElement.js +1 -1
  429. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  430. package/dist/components/solution-template-data/customElement.js +1 -1
  431. package/dist/components/solution-variables/customElement.js +1 -1
  432. package/dist/components/solutions-all-panel/customElement.js +22 -22
  433. package/dist/components/solutions-all-shell/customElement.js +1 -1
  434. package/dist/components/solutions-deploy-app/customElement.js +27 -24
  435. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  436. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +0 -6
  437. package/dist/components/solutions-deployed-filter-panel/customElement.js +3 -3
  438. package/dist/components/solutions-deployed-panel/customElement.js +14 -14
  439. package/dist/components/solutions-deployed-shell/customElement.js +21 -17
  440. package/dist/components/solutions-deployed-shell/index.d.ts +0 -1
  441. package/dist/components/solutions-deployed-shell/index.js +0 -1
  442. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  443. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  444. package/dist/components/solutions-resources/customElement.js +1 -1
  445. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  446. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  447. package/dist/components/spatial-ref/customElement.js +1 -1
  448. package/dist/components/store-manager/customElement.js +1 -1
  449. package/dist/docs/api.json +1 -30
  450. package/dist/docs/docs.json +1 -23
  451. package/dist/docs/vscode.html-custom-data.json +0 -5
  452. package/dist/docs/web-types.json +1 -14
  453. package/dist/index.js +1 -1
  454. package/dist/loader.js +2 -2
  455. package/dist/types/lumina.d.ts +1 -1
  456. package/dist/types/preact.d.ts +1 -1
  457. package/dist/types/preact10.d.ts +1 -1
  458. package/dist/types/react.d.ts +1 -1
  459. package/dist/types/stencil.d.ts +1 -1
  460. package/package.json +1 -1
  461. package/dist/cdn/26CIPTQN.js +0 -4
  462. package/dist/cdn/2NNRS6QJ.js +0 -18
  463. package/dist/cdn/3JZF6PQM.js +0 -4
  464. package/dist/cdn/43KJ7ZGS.js +0 -18
  465. package/dist/cdn/CZB5Z7GA.js +0 -4
  466. package/dist/cdn/EJQOZRVC.js +0 -4
  467. package/dist/cdn/EKP4LAMB.js +0 -160
  468. package/dist/cdn/FMCVXTPQ.js +0 -4
  469. package/dist/cdn/HZZL7AU3.js +0 -4
  470. package/dist/cdn/NKNKTKHO.js +0 -18
  471. package/dist/cdn/NZXEDJEA.js +0 -18
  472. package/dist/cdn/T6U4HMPV.js +0 -4
  473. package/dist/cdn/UCN2N7DB.js +0 -4
  474. package/dist/cdn/YR2Q4MEZ.js +0 -18
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{d as r}from"./VWCVOS6M.js";import{b as n}from"./W3UAB5V7.js";import{D as d,E as c,F as o,H as a,h as l,i}from"./HTJXA6GN.js";import"./KHJ277OT.js";var p=l`/** @license
3
+ v1.2.0-next.32 */
4
+ import{d as r}from"./ACWJ6KCF.js";import{b as n}from"./WDOIUCQC.js";import{D as d,E as c,F as o,H as a,h as l,i}from"./YWPX7BZF.js";import"./S3WBKB7G.js";var p=l`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as u}from"./Q67LCQR5.js";import a from"./QSYA2APQ.js";import{a as C}from"./ZS5WKHPW.js";import{a as x}from"./ATVG5O7I.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./MPUF2TPM.js";import{b as S}from"./GMIEOLX5.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{D as E,E as v,F as T,H as d,h as y,i as s,s as I}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
3
+ v1.2.0-next.32 */
4
+ import{a as u}from"./X2WLW57Y.js";import a from"./5YIT3CVB.js";import{a as C}from"./OUYN6TF2.js";import{a as x}from"./MTXENSWH.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./H3JVWUDB.js";import{b as S}from"./GB4T7CTI.js";import"./F2GMDA7Q.js";import"./YXECJCUS.js";import{D as E,E as v,F as T,H as d,h as y,i as s,s as I}from"./YWPX7BZF.js";import"./S3WBKB7G.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
3
+ v1.2.0-next.32 */
4
4
  var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as m,b as o,c as T,d as E}from"./FWANARJ7.js";import{a as t,b as e}from"./OXM25VGF.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./6FQEMJLG.js";import"./KHJ277OT.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
3
+ v1.2.0-next.32 */
4
+ import{a as m,b as o,c as T,d as E}from"./DAX6QPYD.js";import{a as t,b as e}from"./ZLWQPMJJ.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./ZOZYWRVT.js";import"./S3WBKB7G.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as r}from"./E6TINCRP.js";import{g as n}from"./FEHN4KPL.js";import"./UNAA6QIJ.js";import"./GRFZ2FCA.js";import"./QDOHJRID.js";import"./UJO2FYV6.js";import"./6CRO3RMM.js";import"./TXF4E6LF.js";import"./TG66S6FW.js";import"./UE2IX2RL.js";import"./VP4CHRDT.js";import"./32OKNC7F.js";import"./7P6J3DF5.js";import"./HMVNFKGE.js";import"./2KCNUGHU.js";import"./F5A5P5TO.js";import"./SMNRWNUV.js";import"./YARWRAKS.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./ZGCTHCV6.js";import{b as i}from"./ESLRUAYH.js";import{a as b}from"./WQBQCO4B.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{b as _}from"./W3UAB5V7.js";import{F as u,H as p,I as m,h,i as a,l as o}from"./HTJXA6GN.js";import"./KHJ277OT.js";var f=h`/** @license
3
+ v1.2.0-next.32 */
4
+ import{a as r}from"./ZUO2J5HK.js";import{g as n}from"./RGF3MEGO.js";import"./NMX6NXPB.js";import"./MQEYUCSE.js";import"./N2ZTDWSC.js";import"./ZWR4POC2.js";import"./2G3OXRWV.js";import"./G5JSTUL7.js";import"./YHIYXKS4.js";import"./KQNAYXSS.js";import"./DUBGSMCD.js";import"./SH2X3MCA.js";import"./INLPTSW6.js";import"./D4HSWT64.js";import"./ZPAM5E6U.js";import"./2EYHJDUT.js";import"./DHF22ZIF.js";import"./LCMJKQQF.js";import"./43O7VYLV.js";import"./RDYSI2SW.js";import"./UWICDM6R.js";import{b as i}from"./LCYE2P4P.js";import{a as b}from"./KNF5M7BG.js";import"./F2GMDA7Q.js";import"./YXECJCUS.js";import{b as _}from"./WDOIUCQC.js";import{F as u,H as p,I as m,h,i as a,l as o}from"./YWPX7BZF.js";import"./S3WBKB7G.js";var f=h`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as i}from"./2VBJ24WG.js";import{o as r}from"./UJO2FYV6.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K as b};
3
+ v1.2.0-next.32 */
4
+ import{a as i}from"./E7CPFFSB.js";import{o as r}from"./ZWR4POC2.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import e from"./7GMTKVDP.js";import b from"./WQSKVYFF.js";import"./Q67LCQR5.js";import a from"./QSYA2APQ.js";import{a as p}from"./ATVG5O7I.js";import"./MPUF2TPM.js";import{b as l}from"./GMIEOLX5.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{F as o,H as d,J as c,h as s,i as t,p as r}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([,{b:h},{i:g,t:v}])=>{var x=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: 500;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .instant-apps-interactive-legend__header--compact .esri-widget__heading{font-size:.9rem}:host .esri-widget__heading{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},a=class extends o{constructor(){super(...arguments),this._messages=p({name:"instant-apps-interactive-legend"}),this.isChild=!1,this.expanded=!0,this.layerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=x}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=g(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages?.collapse:this._messages?.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",_=h.get("compact")?` ${e.compact}`:"";return t`<header class=${`${e.interacitveLegendHeader} ${v(this.el)}${_}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i??""} .label=${i} scale=s></calcite-action><span><span class=${d(e.headerActionContainer)}><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};l("instant-apps-interactive-legend-layer-element-caption",a);return a},a,b,e)
3
+ v1.2.0-next.32 */
4
+ import e from"./W65XYM6P.js";import b from"./N3UNRQRI.js";import"./X2WLW57Y.js";import a from"./5YIT3CVB.js";import{a as p}from"./MTXENSWH.js";import"./H3JVWUDB.js";import{b as l}from"./GB4T7CTI.js";import"./F2GMDA7Q.js";import"./YXECJCUS.js";import{F as o,H as d,J as c,h as s,i as t,p as r}from"./YWPX7BZF.js";import"./S3WBKB7G.js";export default $arcgis.t(([,{b:h},{i:g,t:v}])=>{var x=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: 500;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .instant-apps-interactive-legend__header--compact .esri-widget__heading{font-size:.9rem}:host .esri-widget__heading{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},a=class extends o{constructor(){super(...arguments),this._messages=p({name:"instant-apps-interactive-legend"}),this.isChild=!1,this.expanded=!0,this.layerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=x}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=g(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages?.collapse:this._messages?.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",_=h.get("compact")?` ${e.compact}`:"";return t`<header class=${`${e.interacitveLegendHeader} ${v(this.el)}${_}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i??""} .label=${i} scale=s></calcite-action><span><span class=${d(e.headerActionContainer)}><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};l("instant-apps-interactive-legend-layer-element-caption",a);return a},a,b,e)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.32 */
4
+ import{a,b}from"./DPXBUQSM.js";import"./HCVL53BB.js";import"./DAX6QPYD.js";import"./ZLWQPMJJ.js";import"./ZOZYWRVT.js";import"./S3WBKB7G.js";export{a as EventEditorTypes,b as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as u,e as h}from"./LDYUDDLO.js";import{a}from"./E6TINCRP.js";import"./FEHN4KPL.js";import"./UNAA6QIJ.js";import"./GRFZ2FCA.js";import"./QDOHJRID.js";import"./UJO2FYV6.js";import"./6CRO3RMM.js";import"./TXF4E6LF.js";import"./TG66S6FW.js";import"./UE2IX2RL.js";import"./VP4CHRDT.js";import"./32OKNC7F.js";import"./7P6J3DF5.js";import"./HMVNFKGE.js";import"./2KCNUGHU.js";import"./F5A5P5TO.js";import"./SMNRWNUV.js";import"./YARWRAKS.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./ZGCTHCV6.js";import"./ESLRUAYH.js";import{b as l}from"./W3UAB5V7.js";import{F as i,p as o,s as n}from"./HTJXA6GN.js";import"./KHJ277OT.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.2.0-next.32 */
4
+ import{a as u,e as h}from"./THGJZRJO.js";import{a}from"./ZUO2J5HK.js";import"./RGF3MEGO.js";import"./NMX6NXPB.js";import"./MQEYUCSE.js";import"./N2ZTDWSC.js";import"./ZWR4POC2.js";import"./2G3OXRWV.js";import"./G5JSTUL7.js";import"./YHIYXKS4.js";import"./KQNAYXSS.js";import"./DUBGSMCD.js";import"./SH2X3MCA.js";import"./INLPTSW6.js";import"./D4HSWT64.js";import"./ZPAM5E6U.js";import"./2EYHJDUT.js";import"./DHF22ZIF.js";import"./LCMJKQQF.js";import"./43O7VYLV.js";import"./RDYSI2SW.js";import"./UWICDM6R.js";import"./LCYE2P4P.js";import{b as l}from"./WDOIUCQC.js";import{F as i,p as o,s as n}from"./YWPX7BZF.js";import"./S3WBKB7G.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
3
+ v1.2.0-next.32 */
4
4
  function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import"./KHJ277OT.js";var e="Za izvajanje tega postopka nimate dovolj kreditov. Za pomo\u010D se obrnite na va\u0161ega sistemskega administratorja ArcGIS.",a="To orodje je bilo objavljeno iz bele\u017Eke. Dostop do ArcGIS Notebooks je blokiran za va\u0161o organizacijo. Za prilagoditev nastavitve se obrnite na administratorja.",o="${ dataPath } ne sme imeti ${ additionalProperty }.",i="${ dataPath } se mora ujemati s shemo ene od teh: ${ schemaOptions }.",r="Poskusite ponovno shraniti karto.",t="Ocena kreditov ni uspela. Pomaknite se navzdol, popravite napake in znova ocenite kredite.",n="Med izvajanjem analize je pri\u0161lo do napake.",s="${ dataPath } mora biti enak eni od teh dovoljenih vrednosti: ${ allowedValues }.",l="Zgodovine analiz ni bilo mogo\u010De shraniti",d="Shramba zgodovine je polna. Odstranite nekaj elementov iz shrambe zgodovine in znova poskusite s shranjevanjem.",v="Ime storitve vsebuje enega ali ve\u010D neveljavnih znakov.",m="Shranjevanje za\u010Dasnega sloja kot gostujo\u010Dega zna\u010Dilnega sloja ni dokon\u010Dano.",j="Pridobivanje klju\u010Dnih lastnosti ni uspelo.",p="Nalaganje sloja ni uspelo",u="Sloj ni na voljo.",k="${ dataPath } ne sme imeti ve\u010D kot ${ limit } elementov.",c="Pri shranjevanju smodela je pri\u0161lo do napake. Poskusite ponovno shraniti.",h="${ dataPath } ne sme imeti manj kot ${ limit } elementov.",z="${ dataPath } ne sme biti kraj\u0161e od ${ limit } znakov.",b="Elementa modela ni bilo mogo\u010De nalo\u017Eiti. Prepri\u010Dajte se, da model obstaja in da je dovoljenje za dostop bilo odobreno.",g="Zahteve ni bilo mogo\u010De dokon\u010Dati.",P="Nimate dovoljenja za zagon tega orodja. <calcite-link target='_blank' href='${ docLink }'>Ve\u010D</calcite-link>",E="Prijava v portal ni mo\u017Ena.",S="Branje vhodnih podatkov ni uspelo.",y="${ dataPath } manjka lastnost imenovana ${ missingProperty }.",$="Sloj z rezultati s tem imenom \u017Ee obstaja. Sloji z rezultati morajo biti po vsej organizaciji poimenovani enoli\u010Dno. Uporabite druga\u010Dno ime.",I="Izhodno ime vsebuje enega ali ve\u010D neveljavnih znakov. <a href='${docLink}' target='_blank'>Ve\u010D o tem.</a>",f="Objava za\u010Dasnega sloja kot gostujo\u010Dega sloja ni bila uspe\u0161na zaradi enega ali ve\u010D neveljavnih polj. Ponovno za\u017Eenite orodje, da ustvarite sloj z veljavnimi polji.",F="Oddaja opravila ni uspela. Pomaknite se navzdol, popravite napake in znova za\u017Eenite analizo.",T="${ dataPath } mora vsebovati vsaj en znak, ki ni presledek.",N={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:j,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:b,networkError:g,noPermissionToAccessTool:P,portalLoadError:E,queryFeaturesError:S,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,N as default,n as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,j as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,b as modelNotFound,g as networkError,P as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,T as whiteSpacePattern};
3
+ v1.2.0-next.32 */
4
+ import"./S3WBKB7G.js";var e="Za izvajanje tega postopka nimate dovolj kreditov. Za pomo\u010D se obrnite na va\u0161ega sistemskega administratorja ArcGIS.",a="To orodje je bilo objavljeno iz bele\u017Eke. Dostop do ArcGIS Notebooks je blokiran za va\u0161o organizacijo. Za prilagoditev nastavitve se obrnite na administratorja.",o="${ dataPath } ne sme imeti ${ additionalProperty }.",i="${ dataPath } se mora ujemati s shemo ene od teh: ${ schemaOptions }.",r="Poskusite ponovno shraniti karto.",t="Ocena kreditov ni uspela. Pomaknite se navzdol, popravite napake in znova ocenite kredite.",n="Med izvajanjem analize je pri\u0161lo do napake.",s="${ dataPath } mora biti enak eni od teh dovoljenih vrednosti: ${ allowedValues }.",l="Zgodovine analiz ni bilo mogo\u010De shraniti",d="Shramba zgodovine je polna. Odstranite nekaj elementov iz shrambe zgodovine in znova poskusite s shranjevanjem.",v="Ime storitve vsebuje enega ali ve\u010D neveljavnih znakov.",m="Shranjevanje za\u010Dasnega sloja kot gostujo\u010Dega zna\u010Dilnega sloja ni dokon\u010Dano.",j="Pridobivanje klju\u010Dnih lastnosti ni uspelo.",p="Nalaganje sloja ni uspelo",u="Sloj ni na voljo.",k="${ dataPath } ne sme imeti ve\u010D kot ${ limit } elementov.",c="Pri shranjevanju smodela je pri\u0161lo do napake. Poskusite ponovno shraniti.",h="${ dataPath } ne sme imeti manj kot ${ limit } elementov.",z="${ dataPath } ne sme biti kraj\u0161e od ${ limit } znakov.",b="Elementa modela ni bilo mogo\u010De nalo\u017Eiti. Prepri\u010Dajte se, da model obstaja in da je dovoljenje za dostop bilo odobreno.",g="Zahteve ni bilo mogo\u010De dokon\u010Dati.",P="Nimate dovoljenja za zagon tega orodja. <calcite-link target='_blank' href='${ docLink }'>Ve\u010D</calcite-link>",E="Prijava v portal ni mo\u017Ena.",S="Branje vhodnih podatkov ni uspelo.",y="${ dataPath } manjka lastnost imenovana ${ missingProperty }.",$="Sloj z rezultati s tem imenom \u017Ee obstaja. Sloji z rezultati morajo biti po vsej organizaciji poimenovani enoli\u010Dno. Uporabite druga\u010Dno ime.",I="Izhodno ime vsebuje enega ali ve\u010D neveljavnih znakov. <a href='${docLink}' target='_blank'>Ve\u010D o tem.</a>",f="Objava za\u010Dasnega sloja kot gostujo\u010Dega sloja ni bila uspe\u0161na zaradi enega ali ve\u010D neveljavnih polj. Ponovno za\u017Eenite orodje, da ustvarite sloj z veljavnimi polji.",F="Oddaja opravila ni uspela. Pomaknite se navzdol, popravite napake in znova za\u017Eenite analizo.",T="${ dataPath } mora vsebovati vsaj en znak, ki ni presledek.",N={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:j,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:b,networkError:g,noPermissionToAccessTool:P,portalLoadError:E,queryFeaturesError:S,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,N as default,n as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,j as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,b as modelNotFound,g as networkError,P as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,T as whiteSpacePattern};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import a from"./QSYA2APQ.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
3
+ v1.2.0-next.32 */
4
+ import a from"./5YIT3CVB.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
5
5
  .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-left: 30px !important;
7
7
  }
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as e}from"./ZN4UP4WI.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.2.0-next.32 */
4
+ import{a as e}from"./772AB3S4.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
3
+ v1.2.0-next.32 */
4
4
  var n="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function t(e){return e||n}export{t 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as n}from"./WQBQCO4B.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{b as o}from"./W3UAB5V7.js";import{F as r,J as e,h as a,i as t,p as s}from"./HTJXA6GN.js";import"./KHJ277OT.js";var c=a`/** @license
3
+ v1.2.0-next.32 */
4
+ import{a as n}from"./KNF5M7BG.js";import"./F2GMDA7Q.js";import"./YXECJCUS.js";import{b as o}from"./WDOIUCQC.js";import{F as r,J as e,h as a,i as t,p as s}from"./YWPX7BZF.js";import"./S3WBKB7G.js";var c=a`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as l}from"./AQMXUMFV.js";import{a as e}from"./NMKJ5JOM.js";import{a as v}from"./IBGVJQ3D.js";import{a as y}from"./JSKC5AKJ.js";import{a as t}from"./A56WOLMU.js";import{a as i}from"./ZWPKTGXD.js";import{a as p}from"./REITZYXX.js";import{a as d}from"./5RVBDF5G.js";import{a as E}from"./BEXA43V2.js";import{a as s}from"./OGODOUBS.js";import{a as n}from"./KYQKVXNP.js";import{a}from"./UHZSVZPK.js";import{a as r}from"./2GPTZNVI.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.2.0-next.32 */
4
+ import{a as l}from"./CRG25B6P.js";import{a as e}from"./DPXBUQSM.js";import{a as v}from"./WRIRPG5Q.js";import{a as y}from"./Z74ZKPXG.js";import{a as t}from"./ZTEONGSJ.js";import{a as i}from"./MC5CS7OU.js";import{a as p}from"./ARGEB5DE.js";import{a as d}from"./55Q6RX4V.js";import{a as E}from"./SVB72QSO.js";import{a as s}from"./AROGFOSL.js";import{a as n}from"./6CFN44ZL.js";import{a}from"./QQV3FPUF.js";import{a as r}from"./ZMAAYOYU.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as t}from"./6GINIJMQ.js";import"./AQMXUMFV.js";import"./NMKJ5JOM.js";import{a as r}from"./6KVTLN7I.js";import"./FWANARJ7.js";import"./OXM25VGF.js";import"./IBGVJQ3D.js";import"./JSKC5AKJ.js";import"./ZGCTHCV6.js";import"./A56WOLMU.js";import"./ZWPKTGXD.js";import"./REITZYXX.js";import"./5RVBDF5G.js";import"./BEXA43V2.js";import"./OGODOUBS.js";import"./KYQKVXNP.js";import"./UHZSVZPK.js";import"./2GPTZNVI.js";import"./3FHCXLTP.js";import"./ZN4UP4WI.js";import"./ABT5YG3I.js";import"./6FQEMJLG.js";import"./CZ5X5637.js";import"./KHJ277OT.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
3
+ v1.2.0-next.32 */
4
+ import{a as t}from"./TCVK4C2M.js";import"./CRG25B6P.js";import"./DPXBUQSM.js";import{a as r}from"./HCVL53BB.js";import"./DAX6QPYD.js";import"./ZLWQPMJJ.js";import"./WRIRPG5Q.js";import"./Z74ZKPXG.js";import"./UWICDM6R.js";import"./ZTEONGSJ.js";import"./MC5CS7OU.js";import"./ARGEB5DE.js";import"./55Q6RX4V.js";import"./SVB72QSO.js";import"./AROGFOSL.js";import"./6CFN44ZL.js";import"./QQV3FPUF.js";import"./ZMAAYOYU.js";import"./ZKIDYTK3.js";import"./772AB3S4.js";import"./4Z6JJUYO.js";import"./ZOZYWRVT.js";import"./2WCPREAP.js";import"./S3WBKB7G.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a as h}from"./YTP3FLYV.js";import{a as U}from"./4EWKLZQB.js";import{b as m}from"./TCPOSEXP.js";import{b as t,d as l,e as d}from"./C5HMYUFH.js";import{a as N}from"./MD7MMSUZ.js";import{c as A}from"./ZGCTHCV6.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
3
+ v1.2.0-next.32 */
4
+ import{a as h}from"./NSMZAAGW.js";import{a as U}from"./6UNC422H.js";import{b as m}from"./EVVOSRAE.js";import{b as t,d as l,e as d}from"./VL73XB2R.js";import{a as N}from"./3NFGZ2RY.js";import{c as A}from"./UWICDM6R.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{K as l,M as I}from"./FEHN4KPL.js";import{h}from"./ESLRUAYH.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
3
+ v1.2.0-next.32 */
4
+ import{K as l,M as I}from"./RGF3MEGO.js";import{h}from"./LCYE2P4P.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import b from"./5YJPALMY.js";import a from"./QSYA2APQ.js";import{a as _}from"./ZS5WKHPW.js";import{b as y}from"./GMIEOLX5.js";import"./MAZUKK57.js";import{E as $,F as T,H as l,J as g,h as C,i as r,p as x,s as L}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
3
+ v1.2.0-next.32 */
4
+ import b from"./SRDBC3SX.js";import a from"./5YIT3CVB.js";import{a as _}from"./OUYN6TF2.js";import{b as y}from"./GB4T7CTI.js";import"./YXECJCUS.js";import{E as $,F as T,H as l,J as g,h as C,i as r,p as x,s as L}from"./YWPX7BZF.js";import"./S3WBKB7G.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{k as a}from"./UE2IX2RL.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
3
+ v1.2.0-next.32 */
4
+ import{k as a}from"./KQNAYXSS.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import"./KHJ277OT.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.2.0-next.32 */
4
+ import"./S3WBKB7G.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import{a,b}from"./AQMXUMFV.js";import"./ZN4UP4WI.js";import"./ABT5YG3I.js";import"./6FQEMJLG.js";import"./KHJ277OT.js";export{a as SurveyEditorTypes,b as SurveySchema};
3
+ v1.2.0-next.32 */
4
+ import{a,b}from"./CRG25B6P.js";import"./772AB3S4.js";import"./4Z6JJUYO.js";import"./ZOZYWRVT.js";import"./S3WBKB7G.js";export{a as SurveyEditorTypes,b as SurveySchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.31 */
4
- import"./KHJ277OT.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.2.0-next.32 */
4
+ import"./S3WBKB7G.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};