@esri/solutions-components 1.2.0-next.24 → 1.2.0-next.26

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 (531) hide show
  1. package/README.md +1 -5
  2. package/dist/cdn/{OJG6HIKN.js → 24KLA2WP.js} +2 -2
  3. package/dist/cdn/{BLIFIP2J.js → 26PRQQXA.js} +2 -2
  4. package/dist/cdn/{JIREIGOU.js → 27JLOUCD.js} +2 -2
  5. package/dist/cdn/{H2UXJKPU.js → 2E65E2R5.js} +1 -1
  6. package/dist/cdn/{T6KDHTIZ.js → 2FXH5IFF.js} +2 -2
  7. package/dist/cdn/{TKRGPMED.js → 2K3D4PUK.js} +2 -2
  8. package/dist/cdn/{YWXJ2RX3.js → 2K42LZML.js} +2 -2
  9. package/dist/cdn/2KGAPBDA.js +4 -0
  10. package/dist/cdn/{HP4JIDLF.js → 2KWGOUSP.js} +2 -2
  11. package/dist/cdn/{LYXGPO4K.js → 2PE7MVDM.js} +1 -1
  12. package/dist/cdn/{VK5SHRI7.js → 2XCNU24T.js} +2 -2
  13. package/dist/cdn/{34HAWRGI.js → 2YXTQZ2M.js} +2 -2
  14. package/dist/cdn/{ZT7KJDTU.js → 32EE3BJJ.js} +2 -2
  15. package/dist/cdn/336D6QU2.js +4 -0
  16. package/dist/cdn/{6JJBGLJE.js → 374JGWU7.js} +2 -2
  17. package/dist/cdn/{WUTY55ZF.js → 3ARUJDS5.js} +1 -1
  18. package/dist/cdn/{DED6BDXL.js → 3DMU4F6J.js} +2 -2
  19. package/dist/cdn/{X5FANKH6.js → 3HFPZ2M5.js} +2 -2
  20. package/dist/cdn/{3G3I5XU7.js → 3HYLAH6Q.js} +2 -2
  21. package/dist/cdn/{CELVLTD3.js → 3LW4ZKOW.js} +2 -2
  22. package/dist/cdn/{UQVFINXF.js → 3SXUN3QE.js} +2 -2
  23. package/dist/cdn/3X2KUHTY.js +18 -0
  24. package/dist/cdn/3XPNU7BI.js +18 -0
  25. package/dist/cdn/{W75YFHYB.js → 3XSBXJ4X.js} +2 -2
  26. package/dist/cdn/{4SOCIVF6.js → 42MWP46P.js} +1 -1
  27. package/dist/cdn/{WOXREBHW.js → 45665FH2.js} +2 -2
  28. package/dist/cdn/{G7OBBNFQ.js → 45OKFNZ2.js} +2 -2
  29. package/dist/cdn/{3VUSEXMB.js → 4C52EB73.js} +2 -2
  30. package/dist/cdn/{FLA5RSAG.js → 4ERQXLFA.js} +2 -2
  31. package/dist/cdn/4JVMPJCO.js +18 -0
  32. package/dist/cdn/{HRKWHIYV.js → 4LC5QHLO.js} +2 -2
  33. package/dist/cdn/{KSO7CXKH.js → 4MEHIVYA.js} +2 -2
  34. package/dist/cdn/{PRIALFET.js → 4NPMWF3B.js} +2 -2
  35. package/dist/cdn/{OC7V7KCG.js → 4PNJYQGR.js} +2 -2
  36. package/dist/cdn/{VX2H4KEW.js → 4R3STD7G.js} +2 -2
  37. package/dist/cdn/{NBZ4SJV4.js → 4TN73SUG.js} +2 -2
  38. package/dist/cdn/{5V5O4IVZ.js → 4VMPLQZP.js} +2 -2
  39. package/dist/cdn/{XCDDDB5R.js → 56NF367P.js} +2 -2
  40. package/dist/cdn/{TNHXSGP4.js → 56RMHUL3.js} +2 -2
  41. package/dist/cdn/{ZVYGJ3ZV.js → 5A2Y5ZFB.js} +2 -2
  42. package/dist/cdn/{GKD47RX5.js → 5CKOR2L6.js} +1 -1
  43. package/dist/cdn/{BR65SFX2.js → 5DRAJUEZ.js} +1 -1
  44. package/dist/cdn/{LNFEAJAZ.js → 5FZXFZOF.js} +2 -2
  45. package/dist/cdn/{TDZ7C2M7.js → 62R2473V.js} +2 -2
  46. package/dist/cdn/{QGWCUXVU.js → 62Y7ETSQ.js} +2 -2
  47. package/dist/cdn/{H34VS27L.js → 6AV5GFKS.js} +2 -2
  48. package/dist/cdn/{4BXRZ62B.js → 6DHRO6RA.js} +1 -1
  49. package/dist/cdn/6DSHNSXV.js +18 -0
  50. package/dist/cdn/{27VT6FGO.js → 6ESVYRQV.js} +1 -1
  51. package/dist/cdn/{NDJVE732.js → 6R45U63P.js} +2 -2
  52. package/dist/cdn/{CSH7RK4L.js → 6SYXTJP7.js} +2 -2
  53. package/dist/cdn/{XIKGCL6Z.js → 6WLLVDOT.js} +1 -1
  54. package/dist/cdn/{WNFEGMNZ.js → 72JGKJQE.js} +2 -2
  55. package/dist/cdn/{YOIQKWPE.js → 7FGP4726.js} +2 -2
  56. package/dist/cdn/{NEDCAXJL.js → 7IOXGCXM.js} +2 -2
  57. package/dist/cdn/{I5JM65X6.js → 7KVQG3XG.js} +2 -2
  58. package/dist/cdn/{FLMVVIYI.js → 7NF5X427.js} +2 -2
  59. package/dist/cdn/{FWE4FUJH.js → 7P3IUHDL.js} +2 -2
  60. package/dist/cdn/{AAXTQRZG.js → 7RH6MIWB.js} +2 -2
  61. package/dist/cdn/{RPY6EG62.js → A5S6W3ON.js} +2 -2
  62. package/dist/cdn/{YAYHUH5G.js → AHXERPRN.js} +2 -2
  63. package/dist/cdn/{E4JZL5IT.js → APDFHZ74.js} +2 -2
  64. package/dist/cdn/{SZNJD54W.js → AYVYACFY.js} +1 -1
  65. package/dist/cdn/{DCNEHZTW.js → B5CDNQXT.js} +2 -2
  66. package/dist/cdn/{J4UA37P6.js → BBGM24NN.js} +2 -2
  67. package/dist/cdn/{F37UKUAV.js → BFJAMA4P.js} +2 -2
  68. package/dist/cdn/{JKYLZXQW.js → BJ5Q672G.js} +2 -2
  69. package/dist/cdn/{GWYYMTWP.js → BLC5IKHB.js} +2 -2
  70. package/dist/cdn/BNC25SSV.js +4 -0
  71. package/dist/cdn/{6R6WIO6H.js → BVY3FHES.js} +2 -2
  72. package/dist/cdn/{5AERAR2L.js → BXQI3ZMZ.js} +1 -1
  73. package/dist/cdn/{RGGUA4QF.js → BXZEMWKO.js} +2 -2
  74. package/dist/cdn/{KTJDLUIU.js → C2Q4A3RV.js} +2 -2
  75. package/dist/cdn/{CZIXYCET.js → CLD74LLR.js} +2 -2
  76. package/dist/cdn/CLLIH2ZL.js +4 -0
  77. package/dist/cdn/{NWOOAUG7.js → CLNFH4AB.js} +2 -2
  78. package/dist/cdn/{T3HXN3EN.js → CSOWDE4B.js} +2 -2
  79. package/dist/cdn/{36BDQG6C.js → CW4WK6UQ.js} +2 -2
  80. package/dist/cdn/{TZ4BYOUZ.js → CXQBUQIR.js} +2 -2
  81. package/dist/cdn/{443EHILD.js → CY5N72KD.js} +2 -2
  82. package/dist/cdn/{55A2KYUG.js → D2BXHG6B.js} +2 -2
  83. package/dist/cdn/{GHD3JMA4.js → D2LUCAAV.js} +2 -2
  84. package/dist/cdn/{WFZWW33X.js → DCZGPVZS.js} +2 -2
  85. package/dist/cdn/{FAFTQRQY.js → DD7IRMU2.js} +2 -2
  86. package/dist/cdn/{LOIGPO5O.js → DPSJLIG2.js} +2 -2
  87. package/dist/cdn/{BTLVFHR2.js → DQJS2BRD.js} +1 -1
  88. package/dist/cdn/{RFLU2ZRI.js → DRWQMKPL.js} +2 -2
  89. package/dist/cdn/{WYDM2CB5.js → DTLBV43H.js} +2 -2
  90. package/dist/cdn/{5TKI4FG4.js → DVB6GNMC.js} +2 -2
  91. package/dist/cdn/{NZO56NNR.js → DVGMUBNT.js} +2 -2
  92. package/dist/cdn/{VJU2J222.js → DXDM36O6.js} +2 -2
  93. package/dist/cdn/DXS7UOD7.js +18 -0
  94. package/dist/cdn/E2CWYXA3.js +18 -0
  95. package/dist/cdn/{6Z7A2SPS.js → E2VNGWSV.js} +2 -2
  96. package/dist/cdn/{VW2WEXVP.js → E4IY2TLO.js} +1 -1
  97. package/dist/cdn/{4JCL7LZR.js → E5NMCTJI.js} +2 -2
  98. package/dist/cdn/{EYIL3WCN.js → E7ZSOO5U.js} +2 -2
  99. package/dist/cdn/{HBOBM65G.js → EAEMSYLV.js} +2 -2
  100. package/dist/cdn/{WL4NQCES.js → EC5SUG3Q.js} +2 -2
  101. package/dist/cdn/{STHO3HPO.js → EJIOAJIG.js} +2 -2
  102. package/dist/cdn/{GJEPJCWP.js → EUG54QVH.js} +2 -2
  103. package/dist/cdn/{FLMS2TR4.js → EUO5OQ77.js} +2 -2
  104. package/dist/cdn/{2M4ILWS4.js → EV7VDGQ3.js} +2 -2
  105. package/dist/cdn/EYX3CJXI.js +18 -0
  106. package/dist/cdn/{DFO6WKOY.js → F63I4BUN.js} +2 -2
  107. package/dist/cdn/{XH2Q2TTU.js → FE3Y2N3O.js} +2 -2
  108. package/dist/cdn/{3DQY36BR.js → FF4CBWT2.js} +2 -2
  109. package/dist/cdn/FHA6I7IB.js +18 -0
  110. package/dist/cdn/{RY2JRQIA.js → FI4EBVUK.js} +2 -2
  111. package/dist/cdn/{UMEH46X4.js → FJ7O47AQ.js} +2 -2
  112. package/dist/cdn/{VDTXZ2OC.js → FJAIG4PZ.js} +2 -2
  113. package/dist/cdn/{IJEJXWF7.js → FJFXKCW3.js} +2 -2
  114. package/dist/cdn/{NI64NXLH.js → FVQTX4DX.js} +1 -1
  115. package/dist/cdn/{7QBFHK6I.js → G2K266CK.js} +2 -2
  116. package/dist/cdn/{SU5NQO2Y.js → G3OR3RD4.js} +2 -2
  117. package/dist/cdn/{K2VMZCUX.js → G4JVAMYO.js} +2 -2
  118. package/dist/cdn/{V2K3CARG.js → G7J6NS5P.js} +2 -2
  119. package/dist/cdn/GBCQDVGN.js +18 -0
  120. package/dist/cdn/{FDGI4V7M.js → GLD6QMMM.js} +2 -2
  121. package/dist/cdn/{4RNO5M22.js → GLORY2Q3.js} +2 -2
  122. package/dist/cdn/{6EHWI7JM.js → GM3NQPFV.js} +2 -2
  123. package/dist/cdn/{4EQVVEVL.js → GNI64PEL.js} +2 -2
  124. package/dist/cdn/{K4HRSAES.js → GOYLOPJ3.js} +2 -2
  125. package/dist/cdn/GQCSOOLC.js +4 -0
  126. package/dist/cdn/{HXHGWVUO.js → GQWKR6ZH.js} +2 -2
  127. package/dist/cdn/{CO3TU24E.js → GRGSWHAS.js} +2 -2
  128. package/dist/cdn/{FCJJ2E2N.js → GS5HDZIE.js} +2 -2
  129. package/dist/cdn/{EAS42GZC.js → GTPA67XZ.js} +1 -1
  130. package/dist/cdn/{4WOSAZZE.js → GYRRBG6L.js} +2 -2
  131. package/dist/cdn/{EROCJUGG.js → HBZNFHQK.js} +2 -2
  132. package/dist/cdn/{L2WHYM3J.js → HCBYY275.js} +1 -1
  133. package/dist/cdn/{ZL7IV42Y.js → HEDBXJM7.js} +2 -2
  134. package/dist/cdn/HESZ3C6M.js +18 -0
  135. package/dist/cdn/{5NLABLUG.js → HFRCOLMH.js} +2 -2
  136. package/dist/cdn/{KZD2C2ML.js → HPT7FTOX.js} +2 -2
  137. package/dist/cdn/{7LEW57R4.js → HSCFJPMS.js} +2 -2
  138. package/dist/cdn/{XUNRNHCK.js → HTCTIT57.js} +2 -2
  139. package/dist/cdn/{4JHKVR7I.js → HXMNNJXU.js} +2 -2
  140. package/dist/cdn/HXWJEHNQ.js +18 -0
  141. package/dist/cdn/{QC34FER4.js → HYRSJC32.js} +2 -2
  142. package/dist/cdn/{URRLKSMA.js → HZO7UEFB.js} +2 -2
  143. package/dist/cdn/{CQIWHMR3.js → I2FGXEDE.js} +1 -1
  144. package/dist/cdn/{QUO6TIFZ.js → I2YPPOOM.js} +1 -1
  145. package/dist/cdn/{KRZ6DGKX.js → IJFJWLYK.js} +2 -2
  146. package/dist/cdn/{EOZZELAV.js → ILLNJSZ5.js} +2 -2
  147. package/dist/cdn/{PZ5GGYLN.js → ITJXBRWP.js} +2 -2
  148. package/dist/cdn/{O4ZKMCDY.js → IV45DYHD.js} +1 -1
  149. package/dist/cdn/{QBBC7A4Y.js → IXNDA5VZ.js} +1 -1
  150. package/dist/cdn/{J5GBXHV7.js → IXOCAJWG.js} +2 -2
  151. package/dist/cdn/{NAUVQEGN.js → IZUHNA5W.js} +2 -2
  152. package/dist/cdn/J3QX7P6J.js +18 -0
  153. package/dist/cdn/{A65SF5TP.js → JB2P6SXN.js} +2 -2
  154. package/dist/cdn/{BUQMZQDZ.js → JB5NDXDH.js} +2 -2
  155. package/dist/cdn/{GFXNHLR7.js → JEF4UV2K.js} +2 -2
  156. package/dist/cdn/{FBAY6DO3.js → JFPBJLVG.js} +2 -2
  157. package/dist/cdn/{PSACJE2J.js → JGHCMS5P.js} +2 -2
  158. package/dist/cdn/{VHW5YMZI.js → JLO4K7LS.js} +2 -2
  159. package/dist/cdn/{GHZ256AS.js → JNUMH3BN.js} +4 -4
  160. package/dist/cdn/{OPFB2Y4V.js → JP4K6XQE.js} +2 -2
  161. package/dist/cdn/JRTPZ6ES.js +18 -0
  162. package/dist/cdn/{2PC724CH.js → JWY4OWS3.js} +2 -2
  163. package/dist/cdn/{7OW5IQNG.js → K2BWFQJM.js} +2 -2
  164. package/dist/cdn/{XSE22DX2.js → K4J34WLO.js} +2 -2
  165. package/dist/cdn/{HST46P5Y.js → K4MCLE46.js} +2 -2
  166. package/dist/cdn/{5XHMHEC7.js → K5Q2KDOU.js} +2 -2
  167. package/dist/cdn/{JGT3UVSS.js → KCEWHR2X.js} +2 -2
  168. package/dist/cdn/{B6DL7APO.js → KD6VFEYI.js} +2 -2
  169. package/dist/cdn/{PFXC7WOR.js → KDVE3TUH.js} +2 -2
  170. package/dist/cdn/{2AI475Q6.js → KEFQKJ6B.js} +2 -2
  171. package/dist/cdn/{EIXF5OZH.js → KFX3THDY.js} +1 -1
  172. package/dist/cdn/{ANWXMLC5.js → KJJM3OEK.js} +2 -2
  173. package/dist/cdn/{R6MJ3BWC.js → KLPZNVNH.js} +1 -1
  174. package/dist/cdn/{2BLFCKKA.js → KOCZ4OFZ.js} +2 -2
  175. package/dist/cdn/{DWL4LXGS.js → KONPCHXM.js} +3 -3
  176. package/dist/cdn/{6Z47NIFS.js → KQFR7R2N.js} +2 -2
  177. package/dist/cdn/{VEUQH5L3.js → KQULX67Q.js} +2 -2
  178. package/dist/cdn/{QH2BEMM6.js → KVV4M7BE.js} +2 -2
  179. package/dist/cdn/{67TNRLBR.js → KVVPA63Y.js} +2 -2
  180. package/dist/cdn/{R22HIDGZ.js → KYAKBPGR.js} +2 -2
  181. package/dist/cdn/{KESHQJDL.js → L42KDYQE.js} +2 -2
  182. package/dist/cdn/{OLKLMVT2.js → L5MLUGPD.js} +2 -2
  183. package/dist/cdn/{MWLY3N7C.js → L6PQQN5H.js} +2 -2
  184. package/dist/cdn/{TEY2ATFL.js → L7H2XLV6.js} +2 -2
  185. package/dist/cdn/{DW7PYNVR.js → L7T2IR73.js} +2 -2
  186. package/dist/cdn/{YEKIMYDO.js → L7WBMNMV.js} +2 -2
  187. package/dist/cdn/LCGASXTT.js +18 -0
  188. package/dist/cdn/{FY6XKBZS.js → LCNXICCQ.js} +2 -2
  189. package/dist/cdn/{EOLIKK4H.js → LCZQP4VM.js} +2 -2
  190. package/dist/cdn/{TOEQLEDG.js → LHP76MB7.js} +2 -2
  191. package/dist/cdn/{WWSSJEOD.js → LIQPYHJK.js} +2 -2
  192. package/dist/cdn/{II25P5CO.js → LKHIMH3W.js} +2 -2
  193. package/dist/cdn/{QJRGXDSI.js → LTYO7BRS.js} +2 -2
  194. package/dist/cdn/{X4DEDSCC.js → LWGGLCXI.js} +2 -2
  195. package/dist/cdn/LXAALX4E.js +18 -0
  196. package/dist/cdn/{Z2EMCTSK.js → M3ZIJZJ3.js} +2 -2
  197. package/dist/cdn/{DVGLTRJU.js → MAYQRSPQ.js} +1 -1
  198. package/dist/cdn/{P7H776WT.js → MBZH2YNN.js} +2 -2
  199. package/dist/cdn/{LG6DSYZW.js → MCMZEYAP.js} +2 -2
  200. package/dist/cdn/{T74GGRMS.js → MEQMYPP3.js} +2 -2
  201. package/dist/cdn/{OABMD66T.js → MHQOCO5S.js} +2 -2
  202. package/dist/cdn/{UIGYM74T.js → MN2543D7.js} +2 -2
  203. package/dist/cdn/{7UWI5KWK.js → MNAFT2GX.js} +2 -2
  204. package/dist/cdn/MOJYKPVX.js +4 -0
  205. package/dist/cdn/{ZAL2JPN6.js → MSKT77WV.js} +1 -1
  206. package/dist/cdn/{6MECJUZM.js → MT7G72VG.js} +2 -2
  207. package/dist/cdn/N22RCG3K.js +4 -0
  208. package/dist/cdn/NFU4CVAT.js +18 -0
  209. package/dist/cdn/{P3LUAT4F.js → NGTTND2O.js} +2 -2
  210. package/dist/cdn/{MTH7WCDT.js → NICJBX5S.js} +2 -2
  211. package/dist/cdn/{FEODTSQT.js → NJ3BAM2B.js} +2 -2
  212. package/dist/cdn/{SKGMLLPH.js → NOONCQZF.js} +7 -7
  213. package/dist/cdn/{P6OT3PMN.js → NPRJ2MDW.js} +2 -2
  214. package/dist/cdn/NQUDNN5L.js +18 -0
  215. package/dist/cdn/{5D7BHC5A.js → NZVTYNMW.js} +2 -2
  216. package/dist/cdn/{27YRRENY.js → O45B5X3J.js} +2 -2
  217. package/dist/cdn/{SKZURFAS.js → O7JHHK3X.js} +2 -2
  218. package/dist/cdn/{KG4IFWCZ.js → OFEX5K4J.js} +2 -2
  219. package/dist/cdn/{2KZX4PSI.js → OGAMGH5M.js} +2 -2
  220. package/dist/cdn/{CYG5JUF7.js → OIRXB4BU.js} +1 -1
  221. package/dist/cdn/{ASC5OMBD.js → OVQLLUEP.js} +2 -2
  222. package/dist/cdn/{GZK6A527.js → OWPILYU5.js} +2 -2
  223. package/dist/cdn/{SNLUBEJI.js → P5D72UDZ.js} +2 -2
  224. package/dist/cdn/{HF6CCTGX.js → P6QBSSBF.js} +2 -2
  225. package/dist/cdn/{JEWJNGE6.js → PHRVNU5S.js} +2 -2
  226. package/dist/cdn/{4QNOYSPY.js → PLADJNNW.js} +2 -2
  227. package/dist/cdn/{SVTYAHMC.js → PLKB5BAY.js} +2 -2
  228. package/dist/cdn/{WP7F5HRM.js → PMAEYX5B.js} +2 -2
  229. package/dist/cdn/{PHHVQRLL.js → PMCKR77M.js} +2 -2
  230. package/dist/cdn/{AVA46ODH.js → PN3EXCUI.js} +2 -2
  231. package/dist/cdn/{4Y7ZVP46.js → PNC7GJX5.js} +2 -2
  232. package/dist/cdn/{3E3IBLXH.js → PNEXLQI2.js} +2 -2
  233. package/dist/cdn/{CYADZ6PK.js → POF72VTV.js} +2 -2
  234. package/dist/cdn/{ERSOKPXT.js → POKCZ3V4.js} +2 -2
  235. package/dist/cdn/{WOZIGPUB.js → PV2RRQIK.js} +2 -2
  236. package/dist/cdn/{ZJ5VS3XI.js → Q3RYWEUP.js} +2 -2
  237. package/dist/cdn/Q7LKYYVG.js +18 -0
  238. package/dist/cdn/{R47VKS7S.js → QALG5MCX.js} +2 -2
  239. package/dist/cdn/{T6DIELVZ.js → QF54B5PZ.js} +2 -2
  240. package/dist/cdn/{AO32HRV6.js → QG3USF4Y.js} +2 -2
  241. package/dist/cdn/{YFOSFQMV.js → QGW5FNJT.js} +1 -1
  242. package/dist/cdn/{BF6B5YPC.js → QKALFXP5.js} +1 -1
  243. package/dist/cdn/{43NXLAVY.js → QLCJCIZJ.js} +2 -2
  244. package/dist/cdn/{GKS4SDRE.js → QM4W7JMJ.js} +2 -2
  245. package/dist/cdn/{35KLNGC5.js → QMYZGGJI.js} +2 -2
  246. package/dist/cdn/{DK5FUIGH.js → QO6KCGB7.js} +1 -1
  247. package/dist/cdn/{BGC5OXBC.js → QQKQSMEB.js} +2 -2
  248. package/dist/cdn/{EHS77SRG.js → QRMAFUI4.js} +2 -2
  249. package/dist/cdn/{KXKFOLKN.js → QTTDHRAA.js} +1 -1
  250. package/dist/cdn/{IBLOFUUX.js → QUMKP3MN.js} +2 -2
  251. package/dist/cdn/{FFLBALPH.js → QXVWOTDR.js} +2 -2
  252. package/dist/cdn/{SSHAOTEK.js → R5UYZSKU.js} +2 -2
  253. package/dist/cdn/{GYIUJFGM.js → R6QDW36Y.js} +2 -2
  254. package/dist/cdn/REQ6SUUW.js +18 -0
  255. package/dist/cdn/{QYQTOIF6.js → RIALL5SY.js} +1 -1
  256. package/dist/cdn/RPEOATB5.js +18 -0
  257. package/dist/cdn/{NX4JHBIH.js → RR6DYONH.js} +2 -2
  258. package/dist/cdn/{WTVABM3O.js → RUBBHHA2.js} +2 -2
  259. package/dist/cdn/{VBGQ7FE6.js → RWPAQKNE.js} +2 -2
  260. package/dist/cdn/{BEV4LNQI.js → RYCN2WNH.js} +2 -2
  261. package/dist/cdn/RZGCWE6B.js +4 -0
  262. package/dist/cdn/{SMZGBF7A.js → S35DEH4O.js} +2 -2
  263. package/dist/cdn/{Q4ZZ6NDL.js → S4ZGRNK3.js} +2 -2
  264. package/dist/cdn/{T6FIJDJK.js → S6KONP5D.js} +2 -2
  265. package/dist/cdn/{TO6ZG5LX.js → S7WZDGWE.js} +1 -1
  266. package/dist/cdn/SCFWJINO.js +18 -0
  267. package/dist/cdn/{LH3A7YCF.js → SH3KFLOT.js} +3 -3
  268. package/dist/cdn/{KIUNRSQA.js → SIL26OVP.js} +2 -2
  269. package/dist/cdn/{MSBJECJS.js → SL2WOYUA.js} +2 -2
  270. package/dist/cdn/{2JWUVZ2L.js → SLMZ3EXF.js} +1 -1
  271. package/dist/cdn/{KWTCG2SE.js → SOQQPZYP.js} +2 -2
  272. package/dist/cdn/{2KHJ7DAR.js → SXNTJLJ5.js} +2 -2
  273. package/dist/cdn/{GGQUPRRV.js → SYR63WS4.js} +2 -2
  274. package/dist/cdn/SYYINKMJ.js +18 -0
  275. package/dist/cdn/T2ZL626B.js +64 -0
  276. package/dist/cdn/{BOHI7OOB.js → T4GHTIOI.js} +1 -1
  277. package/dist/cdn/{7GAWPJYN.js → T7PSBD2K.js} +2 -2
  278. package/dist/cdn/{QXX2SNE5.js → TCNQHM62.js} +2 -2
  279. package/dist/cdn/{QO2AZMFP.js → TCSANST6.js} +2 -2
  280. package/dist/cdn/{T7GSBDIG.js → TDOLI3MJ.js} +2 -2
  281. package/dist/cdn/{REW2XBKZ.js → TEZMIOXN.js} +1 -1
  282. package/dist/cdn/{IKBTX6QZ.js → TF7EVNSZ.js} +2 -2
  283. package/dist/cdn/{KOT36X5I.js → TP2TOJCY.js} +2 -2
  284. package/dist/cdn/{PHLPFYN3.js → TYK2KN46.js} +1 -1
  285. package/dist/cdn/{UNOFD42Q.js → U2DYOKUT.js} +1 -1
  286. package/dist/cdn/U5Q7L7IV.js +18 -0
  287. package/dist/cdn/{RRNRGQVC.js → UEUGCRSS.js} +2 -2
  288. package/dist/cdn/{CLFLK4OG.js → UEYUMFJR.js} +2 -2
  289. package/dist/cdn/{73OBTSKG.js → UFBKZY2Y.js} +2 -2
  290. package/dist/cdn/{3WHGZJJS.js → UFLRMHOA.js} +2 -2
  291. package/dist/cdn/{3WPZIU5L.js → UTXJRKVN.js} +2 -2
  292. package/dist/cdn/{SERCADIE.js → UVO4N63O.js} +2 -2
  293. package/dist/cdn/{2YG6C32T.js → V2XWGRQ4.js} +2 -2
  294. package/dist/cdn/{2S3FX57Y.js → V3TOUD4G.js} +2 -2
  295. package/dist/cdn/{MLY5XS76.js → V5B2ANE5.js} +2 -2
  296. package/dist/cdn/{FFZY7CPX.js → V6N2BOHM.js} +2 -2
  297. package/dist/cdn/{2ZWVBNPH.js → VBJBCOA4.js} +2 -2
  298. package/dist/cdn/VCHF7VKK.js +21 -0
  299. package/dist/cdn/{CFRDPWXR.js → VESAWDFI.js} +2 -2
  300. package/dist/cdn/{OQF6YVUK.js → VI5QNKY4.js} +2 -2
  301. package/dist/cdn/{ENUF5QK4.js → VIH4XUBT.js} +2 -2
  302. package/dist/cdn/{CHNYABSO.js → VLEOLXN7.js} +2 -2
  303. package/dist/cdn/{L6PIPEF2.js → VP644CSD.js} +2 -2
  304. package/dist/cdn/{6WW2DA2G.js → VYZBZ6Y7.js} +1 -1
  305. package/dist/cdn/{XVG5AXU3.js → W5J5NEH6.js} +2 -2
  306. package/dist/cdn/{OYGODC65.js → WBTYMW42.js} +2 -2
  307. package/dist/cdn/{LQVI3NR7.js → WCQUEVMF.js} +2 -2
  308. package/dist/cdn/WHOYKD3P.js +18 -0
  309. package/dist/cdn/{BUJ7HMXE.js → WIOAHEDF.js} +2 -2
  310. package/dist/cdn/{VK3OPHNA.js → WJWYDP5A.js} +2 -2
  311. package/dist/cdn/WLTAPFFM.js +18 -0
  312. package/dist/cdn/{4HFOPNFI.js → WOYZGDP4.js} +2 -2
  313. package/dist/cdn/{C7RFHH22.js → WPIWNKXJ.js} +2 -2
  314. package/dist/cdn/{76RER7LN.js → WRDZQGLN.js} +2 -2
  315. package/dist/cdn/{KX7PNFBK.js → WUCV5AYV.js} +2 -2
  316. package/dist/cdn/{Z2MGL6AZ.js → X463GSCH.js} +2 -2
  317. package/dist/cdn/{E23BMOKL.js → X5S5VG6G.js} +2 -2
  318. package/dist/cdn/{3P4LQ4TN.js → XBSAUMWE.js} +2 -2
  319. package/dist/cdn/{GQYBA7GH.js → XCJNZ6FA.js} +2 -2
  320. package/dist/cdn/{CE2PWV2T.js → XDQBYMET.js} +2 -2
  321. package/dist/cdn/XF4KJ7M4.js +18 -0
  322. package/dist/cdn/{T5CPOSYR.js → XF7HMOOJ.js} +1 -1
  323. package/dist/cdn/XFUMVODK.js +18 -0
  324. package/dist/cdn/XLWTPCSP.js +18 -0
  325. package/dist/cdn/{6XXBH32V.js → XOB3RAC7.js} +2 -2
  326. package/dist/cdn/XQ55W7BG.js +18 -0
  327. package/dist/cdn/{IMPPWVVG.js → XU4C7MA6.js} +2 -2
  328. package/dist/cdn/{UM5O6SR4.js → XWNG4K3N.js} +2 -2
  329. package/dist/cdn/{OUYGAAGX.js → YBQZUOZZ.js} +2 -2
  330. package/dist/cdn/{75CES5F2.js → YFOOZMDL.js} +2 -2
  331. package/dist/cdn/{HBNX26U7.js → YGQDCOUP.js} +2 -2
  332. package/dist/cdn/{W6XHOAIY.js → YJBALGDU.js} +2 -2
  333. package/dist/cdn/{W5O6BHYJ.js → YJGETEBD.js} +2 -2
  334. package/dist/cdn/{ANOEINZT.js → YRHLAWNX.js} +2 -2
  335. package/dist/cdn/{YMNTHO2F.js → Z2XWW7ZN.js} +2 -2
  336. package/dist/cdn/{G24DNHCB.js → Z5IRLGOP.js} +2 -2
  337. package/dist/cdn/{G37T64CV.js → Z7LU4D7Q.js} +2 -2
  338. package/dist/cdn/{JOSEALSV.js → Z7ML4UNP.js} +2 -2
  339. package/dist/cdn/{ZGXAJOK6.js → ZBDMKHIL.js} +2 -2
  340. package/dist/cdn/{YHMAN2VX.js → ZF56DPTU.js} +2 -2
  341. package/dist/cdn/{74AIX5RH.js → ZFEVJ556.js} +1 -1
  342. package/dist/cdn/{SGEGTSUZ.js → ZGS6ENKJ.js} +2 -2
  343. package/dist/cdn/{63DFPGXG.js → ZL6AJSDF.js} +2 -2
  344. package/dist/cdn/{7HWYZVCJ.js → ZMG4Y2N6.js} +2 -2
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  346. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  347. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
  348. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
  349. package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.en.json +1 -1
  350. package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.json +1 -1
  351. package/dist/cdn/index.js +2 -2
  352. package/dist/chunks/Auth.js +1 -1
  353. package/dist/chunks/CardsFetcher.js +1 -1
  354. package/dist/chunks/appConfig.js +1 -1
  355. package/dist/chunks/cardFetchingUtils.js +1 -1
  356. package/dist/chunks/cardsHelpers.js +1 -1
  357. package/dist/chunks/common.js +1 -1
  358. package/dist/chunks/deployAppContexts.js +1 -1
  359. package/dist/chunks/downloadUtils.js +1 -1
  360. package/dist/chunks/getItemIcon.js +1 -1
  361. package/dist/chunks/helpers.js +1 -1
  362. package/dist/chunks/interfaces.js +1 -1
  363. package/dist/chunks/loadModules.js +1 -1
  364. package/dist/chunks/mapViewUtils.js +1 -1
  365. package/dist/chunks/pciUtils.js +1 -1
  366. package/dist/chunks/popupUtils.js +1 -1
  367. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  368. package/dist/chunks/privilegeUtils.js +1 -1
  369. package/dist/chunks/publicNotificationContext.js +1 -1
  370. package/dist/chunks/queryUtils.js +1 -1
  371. package/dist/chunks/runtime.js +1 -1
  372. package/dist/chunks/solution-store.js +1 -1
  373. package/dist/chunks/templates.js +1 -1
  374. package/dist/chunks/useT9n.js +1 -1
  375. package/dist/components/arcgis-solutions-assistant/customElement.js +148 -133
  376. package/dist/components/arcgis-solutions-assistant/index.d.ts +0 -1
  377. package/dist/components/arcgis-solutions-assistant/index.js +0 -1
  378. package/dist/components/basemap-gallery/customElement.js +1 -1
  379. package/dist/components/buffer-tools/customElement.d.ts +2 -2
  380. package/dist/components/buffer-tools/customElement.js +1 -1
  381. package/dist/components/card-manager/customElement.d.ts +1 -2
  382. package/dist/components/card-manager/customElement.js +2 -2
  383. package/dist/components/consent-manager/customElement.d.ts +5 -5
  384. package/dist/components/consent-manager/customElement.js +142 -142
  385. package/dist/components/create-feature/customElement.js +1 -1
  386. package/dist/components/create-related-feature/customElement.js +1 -1
  387. package/dist/components/crowdsource-manager/customElement.js +2 -2
  388. package/dist/components/crowdsource-reporter/customElement.d.ts +1 -6
  389. package/dist/components/crowdsource-reporter/customElement.js +6 -6
  390. package/dist/components/deduct-calculator/customElement.d.ts +0 -1
  391. package/dist/components/deduct-calculator/customElement.js +1 -1
  392. package/dist/components/delete-button/customElement.js +2 -2
  393. package/dist/components/delete-dialog/customElement.js +2 -2
  394. package/dist/components/edit-card/customElement.js +6 -6
  395. package/dist/components/feature-details/customElement.d.ts +0 -2
  396. package/dist/components/feature-details/customElement.js +1 -1
  397. package/dist/components/feature-list/customElement.d.ts +1 -1
  398. package/dist/components/feature-list/customElement.js +44 -45
  399. package/dist/components/field-selection/customElement.js +1 -1
  400. package/dist/components/floor-filter/customElement.js +1 -1
  401. package/dist/components/info-card/customElement.d.ts +0 -1
  402. package/dist/components/info-card/customElement.js +2 -2
  403. package/dist/components/json-editor/customElement.js +1 -1
  404. package/dist/components/layer-list/customElement.d.ts +0 -1
  405. package/dist/components/layer-list/customElement.js +1 -1
  406. package/dist/components/layer-table/customElement.d.ts +1 -2
  407. package/dist/components/layer-table/customElement.js +12 -12
  408. package/dist/components/map-card/customElement.d.ts +6 -9
  409. package/dist/components/map-card/customElement.js +17 -27
  410. package/dist/components/map-draw-tools/customElement.js +2 -2
  411. package/dist/components/map-fullscreen/customElement.js +1 -1
  412. package/dist/components/map-layer-picker/customElement.d.ts +7 -7
  413. package/dist/components/map-layer-picker/customElement.js +1 -1
  414. package/dist/components/map-legend/customElement.js +1 -1
  415. package/dist/components/map-picker/customElement.js +5 -5
  416. package/dist/components/map-search/customElement.js +1 -1
  417. package/dist/components/map-select-tools/customElement.d.ts +3 -5
  418. package/dist/components/map-select-tools/customElement.js +13 -13
  419. package/dist/components/map-tools/customElement.d.ts +4 -10
  420. package/dist/components/map-tools/customElement.js +7 -7
  421. package/dist/components/pci-calculator/customElement.js +9 -9
  422. package/dist/components/pdf-download/customElement.js +29 -37
  423. package/dist/components/public-notification/customElement.d.ts +5 -6
  424. package/dist/components/public-notification/customElement.js +6 -9
  425. package/dist/components/refine-selection/customElement.d.ts +1 -4
  426. package/dist/components/refine-selection/customElement.js +15 -15
  427. package/dist/components/selection-tool/customElement.d.ts +2 -2
  428. package/dist/components/selection-tool/customElement.js +1 -1
  429. package/dist/components/solution-configuration/customElement.js +1 -1
  430. package/dist/components/solution-configure-titles/customElement.js +2 -2
  431. package/dist/components/solution-contents/customElement.js +1 -1
  432. package/dist/components/solution-delete-dialog/customElement.d.ts +0 -1
  433. package/dist/components/solution-delete-dialog/customElement.js +12 -10
  434. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  435. package/dist/components/solution-deployed-card/customElement.js +8 -8
  436. package/dist/components/solution-deployed-card-panel/customElement.js +20 -19
  437. package/dist/components/solution-deployed-card-panel/index.d.ts +1 -0
  438. package/dist/components/solution-deployed-card-panel/index.js +1 -0
  439. package/dist/components/solution-deploying-dialog/customElement.js +20 -33
  440. package/dist/components/solution-details-card/customElement.js +1 -1
  441. package/dist/components/solution-details-panel/customElement.js +46 -53
  442. package/dist/components/solution-item/customElement.js +1 -1
  443. package/dist/components/solution-item-accordion/customElement.js +2 -2
  444. package/dist/components/solution-item-details/customElement.js +1 -1
  445. package/dist/components/solution-item-diagram/customElement.js +2 -2
  446. package/dist/components/solution-item-icon/customElement.js +1 -1
  447. package/dist/components/solution-item-sharing/customElement.js +1 -1
  448. package/dist/components/solution-organization-variables/customElement.js +1 -1
  449. package/dist/components/solution-resource-card/customElement.js +1 -1
  450. package/dist/components/solution-resource-item/customElement.js +1 -1
  451. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  452. package/dist/components/solution-social-share/customElement.js +1 -1
  453. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  454. package/dist/components/solution-template-data/customElement.js +1 -1
  455. package/dist/components/solution-variables/customElement.js +1 -1
  456. package/dist/components/solutions-all-panel/customElement.js +1 -1
  457. package/dist/components/solutions-all-shell/customElement.js +34 -31
  458. package/dist/components/solutions-all-shell/index.d.ts +1 -1
  459. package/dist/components/solutions-all-shell/index.js +1 -1
  460. package/dist/components/solutions-deploy-app/customElement.js +3 -3
  461. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -1
  462. package/dist/components/solutions-deploy-app-nav/customElement.js +70 -31
  463. package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
  464. package/dist/components/solutions-deploy-app-nav/index.js +4 -1
  465. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  466. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  467. package/dist/components/solutions-deployed-shell/customElement.js +12 -15
  468. package/dist/components/solutions-deployed-shell/index.d.ts +0 -1
  469. package/dist/components/solutions-deployed-shell/index.js +0 -1
  470. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  471. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  472. package/dist/components/solutions-resources/customElement.js +1 -1
  473. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  474. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -0
  475. package/dist/components/solutions-searchsort-toolbar/customElement.js +73 -63
  476. package/dist/components/solutions-searchsort-toolbar/index.d.ts +1 -1
  477. package/dist/components/solutions-searchsort-toolbar/index.js +1 -1
  478. package/dist/components/spatial-ref/customElement.js +1 -1
  479. package/dist/components/store-manager/customElement.js +1 -1
  480. package/dist/docs/api.json +74 -55
  481. package/dist/docs/docs.json +57 -33
  482. package/dist/docs/vscode.html-custom-data.json +17 -17
  483. package/dist/docs/web-types.json +57 -47
  484. package/dist/index.d.ts +1 -0
  485. package/dist/index.js +1 -1
  486. package/dist/loader.js +1 -1
  487. package/dist/types/lumina.d.ts +1 -0
  488. package/dist/types/preact.d.ts +1 -0
  489. package/dist/types/preact10.d.ts +1 -0
  490. package/dist/types/react.d.ts +1 -0
  491. package/dist/types/stencil.d.ts +1 -0
  492. package/package.json +1 -1
  493. package/dist/cdn/2CCBXSKK.js +0 -4
  494. package/dist/cdn/2PHLVPTR.js +0 -4
  495. package/dist/cdn/3LF35Q54.js +0 -4
  496. package/dist/cdn/4RTC5XWR.js +0 -18
  497. package/dist/cdn/5JZITWD2.js +0 -18
  498. package/dist/cdn/5N7W6CKG.js +0 -18
  499. package/dist/cdn/5ROXJJIZ.js +0 -18
  500. package/dist/cdn/C5H65524.js +0 -18
  501. package/dist/cdn/D67LKKO3.js +0 -18
  502. package/dist/cdn/D7WDGASK.js +0 -65
  503. package/dist/cdn/DQZF7IPW.js +0 -18
  504. package/dist/cdn/DUYSEICC.js +0 -18
  505. package/dist/cdn/EE3RLK54.js +0 -18
  506. package/dist/cdn/EJX4TNGV.js +0 -18
  507. package/dist/cdn/EY4LNEPF.js +0 -18
  508. package/dist/cdn/FVLOODPF.js +0 -18
  509. package/dist/cdn/GDO7SFZU.js +0 -18
  510. package/dist/cdn/HFSAMU3B.js +0 -18
  511. package/dist/cdn/HWKBNZEW.js +0 -18
  512. package/dist/cdn/ILRIV2PZ.js +0 -18
  513. package/dist/cdn/JYBZAUFS.js +0 -18
  514. package/dist/cdn/K2C56RZ4.js +0 -21
  515. package/dist/cdn/K3OZMGZ3.js +0 -4
  516. package/dist/cdn/LCZYX2MS.js +0 -18
  517. package/dist/cdn/LPQM324E.js +0 -18
  518. package/dist/cdn/MZVQVHJA.js +0 -18
  519. package/dist/cdn/OOSMF7MX.js +0 -18
  520. package/dist/cdn/P7A24J32.js +0 -18
  521. package/dist/cdn/QU33YK2I.js +0 -4
  522. package/dist/cdn/RXDDH7T7.js +0 -4
  523. package/dist/cdn/T6NNOIF5.js +0 -4
  524. package/dist/cdn/TRN3X66C.js +0 -18
  525. package/dist/cdn/TW7EJR75.js +0 -18
  526. package/dist/cdn/VGHU623Q.js +0 -18
  527. package/dist/cdn/XDEV64FQ.js +0 -18
  528. package/dist/cdn/Y5S76IXI.js +0 -4
  529. package/dist/cdn/ZDTIXH2P.js +0 -18
  530. package/dist/cdn/ZF5KTUHD.js +0 -18
  531. package/dist/cdn/ZLEHSIQE.js +0 -18
package/README.md CHANGED
@@ -2,11 +2,9 @@
2
2
 
3
3
  solutions-components are shared web components used in Solutions apps.
4
4
 
5
- [See Lumina documentation](https://qawebgis.esri.com/components/lumina/introduction)
6
-
7
5
  ## Getting Started
8
6
 
9
- This repository is set up to use [Lumina](https://qawebgis.esri.com/components/lumina/introduction) to manage web component development; the project is a `web_component` project type
7
+ This repository is set up to manage web component development; the project is a `web_component` project type
10
8
 
11
9
  Set up:
12
10
 
@@ -52,8 +50,6 @@ This package uses `lint-staged` to run ESLint and Prettier on all staged files.
52
50
  To lint staged files, run `npm run lint` or `yarn lint`.
53
51
 
54
52
  Consider running that as part of pre-commit hook or GitHub Action.
55
- Documentation on
56
- [arcgis-web-components' linting setup](https://qawebgis.esri.com/components/monorepo/support-packages/linting) for guidance.
57
53
 
58
54
 
59
55
  ## Issues
@@ -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.24 */
4
- import{b as p}from"./4QNOYSPY.js";import{E as a,h as i,i as n,r}from"./6WW2DA2G.js";import"./EAS42GZC.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
3
+ v1.2.0-next.26 */
4
+ import{b as p}from"./PLADJNNW.js";import{E as a,h as i,i as n,r}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
@@ -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.24 */
4
- import{a as e}from"./PZ5GGYLN.js";import{a as _}from"./JGT3UVSS.js";import{b as f}from"./4QNOYSPY.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{C as d,D as v,E as h,G as o,I as a,h as l,i as t,r as m}from"./6WW2DA2G.js";import"./EAS42GZC.js";var $=l`@layer{:host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2: transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:400;font-size:.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3: transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px}}`,n={content:"instant-apps-popover__content",buttonContainer:"instant-apps-popover__button-container",action:"instant-apps-popover__action",actionDisabled:"instant-apps-popover--action-disabled",img:"instant-apps-popover__img",footer:"instant-apps-popover__footer"},p=class extends h{constructor(){super(...arguments),this._messages=_({name:"instant-apps-popover"}),this.popoverEl=d(),this.popoverTitle="",this.subtitle="",this.content="",this.placement="trailing-start",this.pagination=!1,this.disableAction=!1}static{this.properties={popoverTitle:3,subtitle:3,content:3,imgSrc:3,imgAlt:3,mediaSrc:3,index:11,referenceElement:3,parent:0,placement:1,refId:1,pagination:7,disableAction:7,popoverAction:0,messageOverrides:0}}static{this.styles=$}static{this.shadowRootOptions=m}updated(){!this.hasUpdated&&this.popoverEl.value&&(this.popoverEl.value.referenceElement=this.referenceElement)}render(){return t`<calcite-popover .heading=${this.popoverTitle} auto-close .placement=${this.placement} .messageOverrides=${{close:this._messages.close}} trigger-disabled ref-id=${this.refId??a} closable .referenceElement=${this.referenceElement} .label=${this.popoverTitle} ${v(this.popoverEl)}><div class=${`${n.content}${this.disableAction?` ${n.actionDisabled}`:""}`}>${this.disableAction?null:e("popover-action",t`<calcite-action class=${o(n.action)} @click=${this.popoverAction} .icon=${document.dir==="rtl"?"chevron-right":"chevron-left"} text-enabled .text=${this._messages.back??""}></calcite-action>`)}<section><span id=subtitle>${this.subtitle}</span><p>${this.content}</p>${this.imgSrc?e(`iac-popover-img-${this.refId}`,t`<img class=${o(n.img)} src=${this.imgSrc??a} alt=${(this.imgAlt?this.imgAlt:"")??a}>`):null}</section>${this.pagination?e(`iac-popover-footer-${this.index}`,t`<div class=${o(n.footer)}><span>${this.index+1} ${this._messages?.of} ${this.parent?.instantAppsPopovers?.size}</span>${this.renderPagination()}</div>`):null}</div></calcite-popover>`}renderPagination(){let{index:r,_messages:s,parent:i}=this;if(!i)return null;let g=i.instantAppsPopovers.size,u=r===0,c=r===g-1;return e("pagination-button-container",t`<div class=${o(n.buttonContainer)}>${u?null:e("prev",t`<calcite-button @click=${async()=>await i?.previous()} appearance=outline kind=neutral>${s.back}</calcite-button>`)}${e("next",t`<calcite-button @click=${async()=>{c?await i?.done():await i?.next()}}>${c?s.done:s.next}</calcite-button>`)}</div>`)}};f("instant-apps-popover",p);export{p as InstantAppsPopover};
3
+ v1.2.0-next.26 */
4
+ import{a as e}from"./ITJXBRWP.js";import{a as _}from"./KCEWHR2X.js";import{b as f}from"./PLADJNNW.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{C as d,D as v,E as h,G as o,I as a,h as l,i as t,r as m}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var $=l`@layer{:host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2: transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:400;font-size:.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3: transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px}}`,n={content:"instant-apps-popover__content",buttonContainer:"instant-apps-popover__button-container",action:"instant-apps-popover__action",actionDisabled:"instant-apps-popover--action-disabled",img:"instant-apps-popover__img",footer:"instant-apps-popover__footer"},p=class extends h{constructor(){super(...arguments),this._messages=_({name:"instant-apps-popover"}),this.popoverEl=d(),this.popoverTitle="",this.subtitle="",this.content="",this.placement="trailing-start",this.pagination=!1,this.disableAction=!1}static{this.properties={popoverTitle:3,subtitle:3,content:3,imgSrc:3,imgAlt:3,mediaSrc:3,index:11,referenceElement:3,parent:0,placement:1,refId:1,pagination:7,disableAction:7,popoverAction:0,messageOverrides:0}}static{this.styles=$}static{this.shadowRootOptions=m}updated(){!this.hasUpdated&&this.popoverEl.value&&(this.popoverEl.value.referenceElement=this.referenceElement)}render(){return t`<calcite-popover .heading=${this.popoverTitle} auto-close .placement=${this.placement} .messageOverrides=${{close:this._messages.close}} trigger-disabled ref-id=${this.refId??a} closable .referenceElement=${this.referenceElement} .label=${this.popoverTitle} ${v(this.popoverEl)}><div class=${`${n.content}${this.disableAction?` ${n.actionDisabled}`:""}`}>${this.disableAction?null:e("popover-action",t`<calcite-action class=${o(n.action)} @click=${this.popoverAction} .icon=${document.dir==="rtl"?"chevron-right":"chevron-left"} text-enabled .text=${this._messages.back??""}></calcite-action>`)}<section><span id=subtitle>${this.subtitle}</span><p>${this.content}</p>${this.imgSrc?e(`iac-popover-img-${this.refId}`,t`<img class=${o(n.img)} src=${this.imgSrc??a} alt=${(this.imgAlt?this.imgAlt:"")??a}>`):null}</section>${this.pagination?e(`iac-popover-footer-${this.index}`,t`<div class=${o(n.footer)}><span>${this.index+1} ${this._messages?.of} ${this.parent?.instantAppsPopovers?.size}</span>${this.renderPagination()}</div>`):null}</div></calcite-popover>`}renderPagination(){let{index:r,_messages:s,parent:i}=this;if(!i)return null;let g=i.instantAppsPopovers.size,u=r===0,c=r===g-1;return e("pagination-button-container",t`<div class=${o(n.buttonContainer)}>${u?null:e("prev",t`<calcite-button @click=${async()=>await i?.previous()} appearance=outline kind=neutral>${s.back}</calcite-button>`)}${e("next",t`<calcite-button @click=${async()=>{c?await i?.done():await i?.next()}}>${c?s.done:s.next}</calcite-button>`)}</div>`)}};f("instant-apps-popover",p);export{p as InstantAppsPopover};
@@ -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.24 */
4
- import{a as t}from"./IBLOFUUX.js";import"./O4ZKMCDY.js";import"./ZT7KJDTU.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import"./EAS42GZC.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
3
+ v1.2.0-next.26 */
4
+ import{a as t}from"./QUMKP3MN.js";import"./IV45DYHD.js";import"./32EE3BJJ.js";import"./KLPZNVNH.js";import"./5A2Y5ZFB.js";import"./ZFEVJ556.js";import"./XF7HMOOJ.js";import"./GTPA67XZ.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m 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.24 */
3
+ v1.2.0-next.26 */
4
4
  var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l 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.24 */
4
- import{a,b}from"./7OW5IQNG.js";import"./MSBJECJS.js";import"./CQIWHMR3.js";import"./QBBC7A4Y.js";import"./EAS42GZC.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
3
+ v1.2.0-next.26 */
4
+ import{a,b}from"./K2BWFQJM.js";import"./SL2WOYUA.js";import"./I2FGXEDE.js";import"./IXNDA5VZ.js";import"./GTPA67XZ.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import"./EAS42GZC.js";var a="Nemate dovoljno kredita za obavljanje ove operacije. Za pomo\u0107 se obratite svom administratoru sistema ArcGIS.",e="Ova alatka je objavljena iz bele\u017Enice. Pristup servisu ArcGIS Notebooks je blokiran za va\u0161u organizaciju. Kontaktirajte svog administratora da prilagodite ovu postavku.",o="${ dataPath } ne sme da ima ${ additionalProperty }.",i="${ dataPath } mora da odgovara \u0161emi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovo da sa\u010Duvate mapu.",t="Procena kredita nije uspela. Pomerite se nadole, ispravite gre\u0161ke i ponovo procenite kredite.",s="Do\u0161lo je do gre\u0161ke pri pokretanju analize.",n="${ dataPath } mora da bude jednako jednoj od ovih dozvoljenih vrednosti: ${ allowedValues }.",l="\u010Cuvanje istorije analize nije uspelo",d="Skladi\u0161te istorije je puno. Uklonite neke stavke iz istorije analize i poku\u0161ajte ponovo da ih sa\u010Duvate.",v="Ime servisa sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",j="\u010Cuvanje privremenog sloja kao hostovanog sloja geoobjekta nije zavr\u0161eno.",m="Preuzimanje klju\u010Dnih svojstava nije uspelo.",u="U\u010Ditavanje sloja nije uspelo.",p="Sloj nije dostupan.",k="${ dataPath } ne sme da ima vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do gre\u0161ke prilikom \u010Duvanja modela. Poku\u0161ajte da sa\u010Duvate ponovo.",h="${ dataPath } ne sme da ima manje od ${ limit } stavki.",z="${ dataPath } ne sme da bude kra\u0107e od ${ limit } karaktera.",P="U\u010Ditavanje stavke modela nije uspelo. Uverite se da model postoji i da je dobijena dozvola za pristup.",g="Dovr\u0161avanje zahteva nije uspelo.",E="Nemate dozvolu za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznaj vi\u0161e</calcite-link>",S="Prijava na portal nije uspela.",b="Neuspe\u0161no \u010Ditanje ulaznih podataka.",y="${ dataPath } nedostaje svojstvo pod nazivom ${ missingProperty }.",$="Sloj sa rezultatima ve\u0107 postoji s ovim nazivom. Slojevi sa rezultatima moraju imati jedinstveno ime u celoj organizaciji. Upotrebite drugi naziv.",I="Ime izlaza sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",f="Objavljivanje privremenog sloja kao hostovanog sloja nije uspelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovo pokrenite alatku da biste kreirali sloj sa va\u017Ee\u0107im poljima.",F="Slanje posla nije uspelo. Listajte nadole, ispravite gre\u0161ke i ponovo pokrenite analizu.",N="${ dataPath } mora da ima bar jedan karakter koji nije prazan.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:j,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:p,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,L as default,s as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,j as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,p as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
3
+ v1.2.0-next.26 */
4
+ import"./GTPA67XZ.js";var a="Nemate dovoljno kredita za obavljanje ove operacije. Za pomo\u0107 se obratite svom administratoru sistema ArcGIS.",e="Ova alatka je objavljena iz bele\u017Enice. Pristup servisu ArcGIS Notebooks je blokiran za va\u0161u organizaciju. Kontaktirajte svog administratora da prilagodite ovu postavku.",o="${ dataPath } ne sme da ima ${ additionalProperty }.",i="${ dataPath } mora da odgovara \u0161emi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovo da sa\u010Duvate mapu.",t="Procena kredita nije uspela. Pomerite se nadole, ispravite gre\u0161ke i ponovo procenite kredite.",s="Do\u0161lo je do gre\u0161ke pri pokretanju analize.",n="${ dataPath } mora da bude jednako jednoj od ovih dozvoljenih vrednosti: ${ allowedValues }.",l="\u010Cuvanje istorije analize nije uspelo",d="Skladi\u0161te istorije je puno. Uklonite neke stavke iz istorije analize i poku\u0161ajte ponovo da ih sa\u010Duvate.",v="Ime servisa sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",j="\u010Cuvanje privremenog sloja kao hostovanog sloja geoobjekta nije zavr\u0161eno.",m="Preuzimanje klju\u010Dnih svojstava nije uspelo.",u="U\u010Ditavanje sloja nije uspelo.",p="Sloj nije dostupan.",k="${ dataPath } ne sme da ima vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do gre\u0161ke prilikom \u010Duvanja modela. Poku\u0161ajte da sa\u010Duvate ponovo.",h="${ dataPath } ne sme da ima manje od ${ limit } stavki.",z="${ dataPath } ne sme da bude kra\u0107e od ${ limit } karaktera.",P="U\u010Ditavanje stavke modela nije uspelo. Uverite se da model postoji i da je dobijena dozvola za pristup.",g="Dovr\u0161avanje zahteva nije uspelo.",E="Nemate dozvolu za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznaj vi\u0161e</calcite-link>",S="Prijava na portal nije uspela.",b="Neuspe\u0161no \u010Ditanje ulaznih podataka.",y="${ dataPath } nedostaje svojstvo pod nazivom ${ missingProperty }.",$="Sloj sa rezultatima ve\u0107 postoji s ovim nazivom. Slojevi sa rezultatima moraju imati jedinstveno ime u celoj organizaciji. Upotrebite drugi naziv.",I="Ime izlaza sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",f="Objavljivanje privremenog sloja kao hostovanog sloja nije uspelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovo pokrenite alatku da biste kreirali sloj sa va\u017Ee\u0107im poljima.",F="Slanje posla nije uspelo. Listajte nadole, ispravite gre\u0161ke i ponovo pokrenite analizu.",N="${ dataPath } mora da ima bar jedan karakter koji nije prazan.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:j,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:p,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,L as default,s as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,j as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,p as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{o as u,p as v,q as _,r as p,v as g,w as C}from"./BF6B5YPC.js";import{b as h}from"./4QNOYSPY.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./6WW2DA2G.js";import"./EAS42GZC.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
3
+ v1.2.0-next.26 */
4
+ import{o as u,p as v,q as _,r as p,v as g,w as C}from"./QKALFXP5.js";import{b as h}from"./PLADJNNW.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
@@ -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.26 */
4
+ import{a,b}from"./FJAIG4PZ.js";import"./XF7HMOOJ.js";import"./GTPA67XZ.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -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.24 */
4
- import{a as n}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as o}from"./443EHILD.js";import{E as r,I as e,h as a,i as t,o as s}from"./6WW2DA2G.js";import"./EAS42GZC.js";var c=a`/** @license
3
+ v1.2.0-next.26 */
4
+ import{a as n}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as o}from"./CY5N72KD.js";import{E as r,I as e,h as a,i as t,o as s}from"./VYZBZ6Y7.js";import"./GTPA67XZ.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.24 */
3
+ v1.2.0-next.26 */
4
4
  function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r 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.24 */
4
- import{a as i}from"./CSH7RK4L.js";import"./KSO7CXKH.js";import"./GFXNHLR7.js";import"./CYG5JUF7.js";import"./3E3IBLXH.js";import"./EROCJUGG.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import"./ZAL2JPN6.js";import"./ENUF5QK4.js";import"./BOHI7OOB.js";import"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./EYIL3WCN.js";import"./IMPPWVVG.js";import"./YMNTHO2F.js";import"./4SOCIVF6.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import"./27VT6FGO.js";import{a as v}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as u}from"./443EHILD.js";import{E as p,G as a,h as r,i as h,l as c,r as d}from"./6WW2DA2G.js";import"./EAS42GZC.js";var g=r`@layer{/** @license
3
+ v1.2.0-next.26 */
4
+ import{a as i}from"./6SYXTJP7.js";import"./4MEHIVYA.js";import"./JEF4UV2K.js";import"./OIRXB4BU.js";import"./PNEXLQI2.js";import"./HBZNFHQK.js";import"./4R3STD7G.js";import"./HCBYY275.js";import"./MSKT77WV.js";import"./VIH4XUBT.js";import"./T4GHTIOI.js";import"./QTTDHRAA.js";import"./6WLLVDOT.js";import"./E7ZSOO5U.js";import"./XU4C7MA6.js";import"./Z2XWW7ZN.js";import"./42MWP46P.js";import"./KLPZNVNH.js";import"./5A2Y5ZFB.js";import"./ZFEVJ556.js";import"./XF7HMOOJ.js";import"./6ESVYRQV.js";import{a as v}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as u}from"./CY5N72KD.js";import{E as p,G as a,h as r,i as h,l as c,r as d}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var g=r`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{w as a}from"./YMNTHO2F.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
3
+ v1.2.0-next.26 */
4
+ import{w as a}from"./Z2XWW7ZN.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g 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.24 */
4
- import{b as c}from"./R6MJ3BWC.js";import{a as b}from"./ZVYGJ3ZV.js";import{a as u}from"./74AIX5RH.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
3
+ v1.2.0-next.26 */
4
+ import{b as c}from"./KLPZNVNH.js";import{a as b}from"./5A2Y5ZFB.js";import{a as u}from"./ZFEVJ556.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
@@ -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.26 */
4
+ import{a,b}from"./D2BXHG6B.js";import"./DVGMUBNT.js";import"./SL2WOYUA.js";import"./I2FGXEDE.js";import"./IXNDA5VZ.js";import"./TEZMIOXN.js";import"./GTPA67XZ.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -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.24 */
4
- import b from"./FLA5RSAG.js";import a from"./GWYYMTWP.js";import{a as _}from"./PZ5GGYLN.js";import{b as y}from"./4QNOYSPY.js";import"./5TKI4FG4.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./6WW2DA2G.js";import"./EAS42GZC.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.26 */
4
+ import b from"./4ERQXLFA.js";import a from"./BLC5IKHB.js";import{a as _}from"./ITJXBRWP.js";import{b as y}from"./PLADJNNW.js";import"./DVB6GNMC.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./VYZBZ6Y7.js";import"./GTPA67XZ.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.24 */
3
+ v1.2.0-next.26 */
4
4
  function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i 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.24 */
4
- import"./EAS42GZC.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
3
+ v1.2.0-next.26 */
4
+ import"./GTPA67XZ.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l 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.24 */
4
- import{e,f as t}from"./QBBC7A4Y.js";import"./EAS42GZC.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
3
+ v1.2.0-next.26 */
4
+ import{e,f as t}from"./IXNDA5VZ.js";import"./GTPA67XZ.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{a as p}from"./QYQTOIF6.js";import{a as m}from"./UNOFD42Q.js";import{a as c}from"./TO6ZG5LX.js";import{b as g}from"./4QNOYSPY.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./6WW2DA2G.js";import"./EAS42GZC.js";var u=l`:host{--instant-apps-header-height: auto;--instant-apps-header-min-height: 50px;--instant-apps-header-title-text-link-decoration: underline;--instant-apps-header-height--logo-scale--s: 55px;--instant-apps-header-logo-width--logo-scale--s: 35px;--instant-apps-header-logo-height--logo-scale--s: 35px;--instant-apps-header-height--logo-scale--m: 70px;--instant-apps-header-logo-width--logo-scale--m: 50px;--instant-apps-header-logo-height--logo-scale--m: 50px;--instant-apps-header-height--logo-scale--l: 80px;--instant-apps-header-logo-width--logo-scale--l: 60px;--instant-apps-header-logo-height--logo-scale--l: 60px;--instant-apps-header-actions-end-height: auto;width:100%}:host .image.image_resized img{width:100%}:host .header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--calcite-color-text-1":this.textColor})} id=infoButton alignment=start appearance=transparent kind=neutral icon-start=information-f scale=s .label=${this.infoTitleText} title=${this.infoTitleText??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
3
+ v1.2.0-next.26 */
4
+ import{a as p}from"./RIALL5SY.js";import{a as m}from"./U2DYOKUT.js";import{a as c}from"./S7WZDGWE.js";import{b as g}from"./PLADJNNW.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var u=l`:host{--instant-apps-header-height: auto;--instant-apps-header-min-height: 50px;--instant-apps-header-title-text-link-decoration: underline;--instant-apps-header-height--logo-scale--s: 55px;--instant-apps-header-logo-width--logo-scale--s: 35px;--instant-apps-header-logo-height--logo-scale--s: 35px;--instant-apps-header-height--logo-scale--m: 70px;--instant-apps-header-logo-width--logo-scale--m: 50px;--instant-apps-header-logo-height--logo-scale--m: 50px;--instant-apps-header-height--logo-scale--l: 80px;--instant-apps-header-logo-width--logo-scale--l: 60px;--instant-apps-header-logo-height--logo-scale--l: 60px;--instant-apps-header-actions-end-height: auto;width:100%}:host .image.image_resized img{width:100%}:host .header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--calcite-color-text-1":this.textColor})} id=infoButton alignment=start appearance=transparent kind=neutral icon-start=information-f scale=s .label=${this.infoTitleText} title=${this.infoTitleText??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
@@ -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.24 */
4
- import{a as t}from"./BUQMZQDZ.js";import"./QXX2SNE5.js";import"./73OBTSKG.js";import{a as r}from"./GKD47RX5.js";import"./36BDQG6C.js";import"./EIXF5OZH.js";import"./NI64NXLH.js";import"./VDTXZ2OC.js";import"./T5CPOSYR.js";import"./55A2KYUG.js";import"./AVA46ODH.js";import"./7OW5IQNG.js";import"./FFZY7CPX.js";import"./DCNEHZTW.js";import"./ASC5OMBD.js";import"./EOZZELAV.js";import"./7GAWPJYN.js";import"./6R6WIO6H.js";import"./NZO56NNR.js";import"./MSBJECJS.js";import"./CQIWHMR3.js";import"./QBBC7A4Y.js";import"./REW2XBKZ.js";import"./EAS42GZC.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.26 */
4
+ import{a as t}from"./JB5NDXDH.js";import"./TCNQHM62.js";import"./UFBKZY2Y.js";import{a as r}from"./5CKOR2L6.js";import"./CW4WK6UQ.js";import"./KFX3THDY.js";import"./FVQTX4DX.js";import"./FJAIG4PZ.js";import"./XF7HMOOJ.js";import"./D2BXHG6B.js";import"./PN3EXCUI.js";import"./K2BWFQJM.js";import"./V6N2BOHM.js";import"./B5CDNQXT.js";import"./OVQLLUEP.js";import"./ILLNJSZ5.js";import"./T7PSBD2K.js";import"./BVY3FHES.js";import"./DVGMUBNT.js";import"./SL2WOYUA.js";import"./I2FGXEDE.js";import"./IXNDA5VZ.js";import"./TEZMIOXN.js";import"./GTPA67XZ.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.24 */
4
- import{A as y,k as P,t as k,u as w,v as V,w as m,x as h,y as A,z as D}from"./6WW2DA2G.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
3
+ v1.2.0-next.26 */
4
+ import{A as y,k as P,t as k,u as w,v as V,w as m,x as h,y as A,z as D}from"./VYZBZ6Y7.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
@@ -0,0 +1,18 @@
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.26 */
4
+ import{a as D}from"./QO6KCGB7.js";import{b as F}from"./S6KONP5D.js";import{c as y,g as $,j as E}from"./KYAKBPGR.js";import{e as d}from"./6ESVYRQV.js";import{a as I,d as k,f as T}from"./6DHRO6RA.js";import{b as O}from"./AYVYACFY.js";import{a as G}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as V}from"./CY5N72KD.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as o,o as L,r as S}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var N=w`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.div-visible{display:inherit}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:.5rem}.padding-end-1-2{padding-inline-end:.5rem}.icon{--calcite-color-icon-color: var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,g=class extends v{constructor(){super(),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=!1,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.noResultText="",this.selectionLayerIds=[],this.searchDistanceEnabled=!1,this.useLayerFeaturesEnabled=!1,this._numSelected=0,this._searchTerm="",this._selectionLoading=!1,this._translations=G({name:"map-select-tools",blocking:!0}),this._bufferTools=u(),this._drawTools=u(),this._labelName=u(),this._pnContextConsumer=F({context:D,subscribe:!0}),this._searchElement=u(),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.selectionSetChange=L(),this.listenOn(window,"searchConfigurationChange",this.searchConfigurationChangeChanged),this.listenOn(window,"distanceChanged",this.distanceChanged),this.listenOn(window,"unitChanged",this.unitChanged)}static{this.properties={bufferColor:1,bufferOutlineColor:1,customLabelEnabled:5,enabledLayerIds:0,enableLayerFeatures:5,enableLayerFeaturesOnLoad:5,enableSearchDistance:5,enableSearchDistanceOnLoad:5,enableSketchTools:5,defaultBufferDistance:9,defaultBufferUnit:1,geometries:0,isUpdate:5,layerViews:0,mapView:0,noResultText:1,searchConfiguration:0,selectionSet:0,selectionLayerIds:0,selectLayerView:0,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,searchDistanceEnabled:5,useLayerFeaturesEnabled:5,_numSelected:16,_searchTerm:16,_selectionLoading:16,_translations:16}}static{this.styles=N}static{this.shadowRootOptions=S}willUpdate(e){e.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.watchGeometriesHandler(this.geometries,e.get("geometries")),e.has("mapView")&&this.mapView&&this.mapViewWatchHandler(this.mapView,e.get("mapView")),e.has("searchConfiguration")&&this.searchConfiguration&&this.watchSearchConfigurationHandler(this.searchConfiguration,e.get("searchConfiguration")),e.has("defaultBufferUnit")&&this.hasUpdated&&(this.selectionSet&&(this.selectionSet.unit=this.defaultBufferUnit),this._bufferTools.value&&this.defaultBufferUnit!==void 0&&(this._bufferTools.value.unit=this.defaultBufferUnit),this._updateLabel()),e.has("defaultBufferDistance")&&this.hasUpdated&&(this.selectionSet&&(this.selectionSet.distance=this.defaultBufferDistance),this._updateLabel())}async watchGeometriesHandler(e,t){if(e!==t&&e.length>0)return this._highlightWithOIDsOrGeoms()}async mapViewWatchHandler(e,t){e&&e!==t&&await this._init()}async watchSearchConfigurationHandler(e,t){JSON.stringify(e)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate&&this.selectionSet?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.value?.distance,download:!0,unit:this._bufferTools.value?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this.searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this.useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(e){this.searchConfiguration=e.detail}async distanceChanged(e){await this._distanceChanged(e.detail)}async unitChanged(e){e.detail.newValue!==e.detail.oldValue&&(this._unit=e.detail.newValue,await this._updateLabel())}async load(){await this._initModules()}async loaded(){await this._init()}render(){let e=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return o`${this._getMapLayerPicker()}<div class="border-bottom"></div><div class="padding-top-sides-1"><div class="search-widget" ${p(this._searchElement)}></div><div class=${_(t)}><map-draw-tools active class=${_(e)} .editGraphicsEnabled=${!this.useLayerFeaturesEnabled} .graphics=${this._graphics} .mapView=${this.mapView} @sketchGraphicsChange=${s=>void this._sketchGraphicsChanged(s)} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} ${p(this._drawTools)}></map-draw-tools></div>${this.enableSearchDistance?this._getBufferOptions():void 0}${this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0}${this._getNumSelected()}</div><div class="border-bottom"></div>${this._getNameInput()}`}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);let e=this.searchDistanceEnabled?"search-distance":"div-not-visible",t=typeof this.selectionSet?.distance=="number"?this.selectionSet.distance:this.defaultBufferDistance;return o`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.searchDistance}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=search-distance-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=search-distance-icon><span class="tooltip-message">${this._translations.useSearchDistanceTootip}</span></calcite-popover><calcite-switch .checked=${this.searchDistanceEnabled} @calciteSwitchChange=${()=>this.searchDistanceEnabled=!this.searchDistanceEnabled}></calcite-switch></div><div class=${_(e)}><buffer-tools .disabled=${!this.searchDistanceEnabled} .distance=${t} .geometries=${this.geometries} @bufferComplete=${s=>void this._bufferComplete(s)} .unit=${this.selectionSet?.unit||this.defaultBufferUnit} ${p(this._bufferTools)}></buffer-tools></div></div>`}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this.useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);let e=this.useLayerFeaturesEnabled?"div-visible":"div-not-visible";return o`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.useLayerFeatures}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=use-layer-features-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=use-layer-features-icon><span class="tooltip-message">${this._translations.useLayerFeaturesTooltip}</span></calcite-popover><calcite-switch .checked=${this.useLayerFeaturesEnabled} @calciteSwitchChange=${()=>{this._useLayerFeaturesEnabledChanged()}}></calcite-switch></div><div class=${`${e} padding-top-1`}><map-layer-picker .enabledLayerIds=${this.selectionLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>{this._layerSelectionChange(t)}} .selectedIds=${this.layerViews.map(t=>t.layer.id)}></map-layer-picker></div></div>`}_getNumSelected(){let e=this._translations._lang==="en"?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return o`<div class="padding-top-1 padding-bottom-1" style=${C({"align-items":"end",display:"flex"})}>${this._selectionLoading?o`<div><calcite-loader class="info-blue padding-end-1-2" inline .label=${e||""} scale=m type=indeterminate></calcite-loader></div>`:o`<calcite-icon class="info-blue padding-end-1-2" icon=feature-layer scale=s></calcite-icon>`}<calcite-input-message class="info-blue" scale=m>${this._selectionLoading?e:this.noResultText&&this._numSelected===0?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())}</calcite-input-message></div>`}_getNameInput(){let e=this.customLabelEnabled?"":"display-none";return o`<div class=${`padding-sides-1 padding-top-1 ${e}`}><calcite-label class="font-bold">${this._translations.listName}<calcite-input @input=${()=>{this._selectionLabel=this._labelName.value?this._labelName.value.value:""}} .placeholder=${this._translations.listNamePlaceholder} .value=${this._selectionLabel||""} ${p(this._labelName)}></calcite-input></calcite-label></div>`}_getMapLayerPicker(){let e=this.selectionSet?.layerView?.layer.id;return o`<div class="display-flex padding-sides-1 padding-bottom-1"><calcite-label class="font-bold width-full label-margin-0">${this._translations.inputLayer}<map-layer-picker .enabledLayerIds=${this.enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>void this._inputLayerSelectionChange(t)} .selectedIds=${this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet&&e!==void 0?[e]:[]}></map-layer-picker></calcite-label></div>`}async _initModules(){let[e,t,s,i,a,l]=await O(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/operators/unionOperator","esri/layers/FeatureLayer"]);this._esriRequest=e,this.GraphicsLayer=t,this.Graphic=s,this.Search=i,this._unionOperator=a,this.FeatureLayer=l}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs||[],this.searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this.useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.reduce((e,t)=>{let s=t.type==="point"?this.sketchPointSymbol:t.type==="polyline"?this.sketchLineSymbol:this.sketchPolygonSymbol;return this.Graphic&&e.push(new this.Graphic({geometry:t,symbol:s})),e},[]),this._selectionLabel=this.selectionSet?.label,this.useLayerFeaturesEnabled||await this._drawTools.value?.updateGraphics(),this.selectionSet.layerView&&this.mapView&&await E(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement.value){let e=this.searchConfiguration&&this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement.value,searchTerm:this._searchTerm,...e};this._searchWidget?(this._searchWidget.view=this.mapView,this._searchWidget.searchTerm=this._searchTerm):this._searchWidget=this.Search&&new this.Search(t),this._searchWidget&&(this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.viewModel.addHandles(this._searchWidget.on("search-clear",()=>{let s=this._searchClearLabel();this._searchResult?.name&&this._clearResults(!1,s)})),this._searchWidget.viewModel.addHandles(this._searchWidget.on("select-result",s=>{this._selectResult(s.result)})),await this._searchWidget.when(()=>{this._searchWidget&&(this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&this.searchConfiguration.allPlaceholder.toLowerCase()!=="find address or place"?this.searchConfiguration.allPlaceholder:this._translations.placeholder)}))}}async _selectResult(e){if(e){this._searchResult=e;let t=e.feature,s=t?.layer,i=this.selectLayerView?.layer,a=Number(t?.getObjectId()),l;s?.sourceJSON?.isView&&s.url&&(l=await this._getViewSourceUrl(s.url));let r;i?.sourceJSON?.isView&&i.url&&(r=await this._getViewSourceUrl(i.url));let c=s?.url?.toLowerCase(),n=l?.toLowerCase(),h=i?.url?.toLowerCase(),m=r?.toLowerCase(),f=c&&h&&(c===h||c===m||n===h||n===m)&&!Number.isNaN(a),x=f?[a]:void 0;this._workflowType=d.SEARCH,this._updateLabel();let b=[e.feature];this._updateSelection(b,f,x),this._drawTools.value&&(this._drawTools.value.graphics=b),this._searchWidget?.resultGraphic&&(this._searchWidget.resultGraphic.visible=!1)}else{let t=this._searchClearLabel();this._clearResults(!1,t)}}async _getViewSourceUrl(e){let t="",s=`${e}/sources?f=json`;try{let i=this._esriRequest&&await this._esriRequest(s,{query:{f:"json"}});i?.data?.services?.length===1&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value&&this._labelName.value.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(e,t){let s=e?.sources;return s&&s?.length>0?(e={...e,includeDefaultSources:!1},s.forEach(i=>{if(i.hasOwnProperty("layer")){let a=i,l=a.layer?.id,r=l?t.map?.findLayerById(l):null,c=a?.layer?.url;r&&a?a.layer=r:c&&this.FeatureLayer&&(a.layer=new this.FeatureLayer(c))}}),s?.forEach(i=>{if(i.hasOwnProperty("locator")){let a=i;if(a?.name==="ArcGIS World Geocoding Service"){let l=a.outFields||["Addr_type","Match_addr","StAddr","City"];a.outFields=l,a.singleLineFieldName="SingleLine"}a.url=a.url,delete a.url}})):e={...e,includeDefaultSources:!0},e}_initGraphicsLayer(){let e=this._pnContextConsumer.value,t=this._translations.bufferLayer;if(this.mapView){let s=this.mapView.map.layers.findIndex(i=>i.title===t);if(s>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(s);else if(this._bufferGraphicsLayer=this.GraphicsLayer&&new this.GraphicsLayer({title:t,listMode:"hide"}),this._bufferGraphicsLayer){e.managedLayers[t]="buffer";let i=this.mapView.map.layers.findIndex(a=>a.title===this._translations.sketchLayer);i>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,i):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(e,t=!1){let s=e.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this.useLayerFeaturesEnabled?d.SELECT:d.SKETCH,this._workflowType===d.SKETCH&&this._drawTools.value&&await this._drawTools.value.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this.useLayerFeaturesEnabled&&!t){let i=Array.isArray(s)?s.map(a=>a.geometry):this.geometries;await this._selectLayerFeatures(i[0])}else{let i=s.reduce((l,r)=>(r?.layer?.objectIdField?l.push(Number(r.attributes[r.layer.objectIdField])):r.getObjectId&&l.push(Number(r.getObjectId())),l),[]),a=e.detail.useOIDs&&i.length>0;this._updateSelection(s,a,i),a&&await this._highlightFeatures(i)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs&&this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(e){let t=this._pnContextConsumer.value;if(t.removeHandles(),e.length>0&&this.selectLayerView&&this.mapView){let s=await $(e,this.selectLayerView,this.mapView);t.highlightHandles.push(s)}this._numSelected=e.length,this.selectionSetChange.emit(e.length)}async _selectFeatures(e){this._selectionLoading=!0,this._selectedIds=this.selectLayerView&&await I(e,this.selectLayerView.layer)||[],this._selectionLoading=!1,this._drawTools.value&&(this._drawTools.value.graphics=this._graphics),await this._highlightFeatures(this._selectedIds)}async _bufferComplete(e){this._bufferGeometry=Array.isArray(e.detail)?e.detail[0]:e.detail;let t=this._bufferTools.value&&Number(this._bufferTools.value.distance),s=0;if(this._bufferGeometry){let i={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},a=this.Graphic&&new this.Graphic({geometry:this._bufferGeometry,symbol:i});this._bufferGraphicsLayer&&a&&this.mapView&&(this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(a),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(a.geometry?.extent)),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(e){let t=this._unionOperator&&T(e,this._unionOperator);return t?this._selectFeatures(t):Promise.resolve()}async _clearResults(e=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value&&(this._labelName.value.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),e&&this._searchWidget&&this._clearSearchWidget(),this._pnContextConsumer.value.removeHandles(),this._drawTools.value?.clear&&(this._graphics=[],await this._drawTools.value.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget?.clear(),this._searchResult=void 0}_updateSelection(e,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(e)?e.reduce((i,a)=>(a.geometry&&i.push(a.geometry),i),[]):this.geometries,this._graphics=e}async _updateLabel(){if(this.enableSearchDistance){let e=this._translations.sketch&&this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._translations.select&&this._selectionLabel.indexOf(this._translations.select)>-1,s=this._selectionLabel.indexOf(this._searchResult?.name)>-1,i=this._workflowType===d.SEARCH?this._searchResult?.name:this._workflowType===d.SELECT?this._translations.select:this._translations.sketch,a=this._bufferTools.value?this._bufferTools.value.unit:this._unit,l=this._bufferTools.value&&a&&await this._bufferTools.value.getTranslatedUnit(a),r=Number.isNaN(Number(this._distance))&&this._bufferTools.value?this._bufferTools.value.distance:this._distance;this._selectionLabel=e||t||s||!this._selectionLabel?`${i} ${r} ${l}`:this._selectionLabel,this._labelName.value&&(this._labelName.value.value=this._selectionLabel)}}async _layerSelectionChange(e){if(Array.isArray(e.detail)&&e.detail.length>0){let t=e.detail.reduce((s,i)=>(this.mapView&&s.push(y(this.mapView,i)),s),[]);return Promise.all(t).then(s=>{this.layerViews=s.reduce((i,a)=>(a&&i.push(a),i),[]),this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})})}}async _inputLayerSelectionChange(e){let t=e?.detail?.length>0?e.detail[0]:"";(!this.selectLayerView||t!==this.selectLayerView.layer.id)&&(this.selectLayerView=this.mapView&&await y(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(e){e.newValue!==e.oldValue&&(this._distance=e.newValue,await this._updateLabel())}async _selectLayerFeatures(e){this._selectionLoading=!0;let t=this.layerViews.map(s=>(this._featuresCollection[s.layer.id]=[],k(0,s.layer,e,this._featuresCollection)));return Promise.all(t).then(async s=>{this._selectionLoading=!1;let i=[];s.forEach(n=>{Object.keys(n).forEach(h=>{i=i.concat(n[h])})});let a=!1;i.forEach(n=>{let h=n.geometry;n.symbol=h&&h.type==="point"?this.sketchPointSymbol:h&&h.type==="polyline"?this.sketchLineSymbol:h&&h.type==="polygon"?this.sketchPolygonSymbol:void 0,a=n?.layer?.hasOwnProperty("objectIdField")||n.hasOwnProperty("getObjectId")});let l=this.layerViews[0].layer,r=this.selectLayerView?.layer,c=a&&l.url===r?.url&&r?.layerId===l.layerId;await this._sketchGraphicsChanged({detail:{graphics:i,useOIDs:c}},!0)})}_useLayerFeaturesEnabledChanged(){this.useLayerFeaturesEnabled=!this.useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}};V("map-select-tools",g);export{g as MapSelectTools};
@@ -0,0 +1,18 @@
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.26 */
4
+ import{a as _,b as v}from"./MAYQRSPQ.js";import{b as n}from"./S6KONP5D.js";import{a as m}from"./3SXUN3QE.js";import{k as g,l as b}from"./6ESVYRQV.js";import{a as f}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as p}from"./CY5N72KD.js";import{C as o,D as a,E as u,H as r,h,i,o as d}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var y=h`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}`,c=class extends u{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=f({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=o(),this._solutionsFilterPanelRef=o(),this._isMobileContextConsumer=n({context:v,subscribe:!0,callback:e=>this.isMobile=e}),this._userSessionContextConsumer=n({context:_,subscribe:!0}),this.filterRemoved=d(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)}),this.listenOn(window,"toggleFilter",this._toggleFilter)}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=y}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let t=e.industry?Object.entries(g).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(b).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=s||"",e.value=s||t,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("searchTerm"in e&&(this._filters.searchTerm=e.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(e))}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-50 ${e}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}${this._filters.categories&&this._filters.categories?.length>0&&i`<calcite-button appearance=transparent icon-start=reset kind=neutral @click=${()=>{this._filters={...this._filters,categories:[]},this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this.filterRemoved.emit([])}} .label=${this._translations.clearIndustryFilter}>${this._translations.clearIndustryFilter}</calcite-button>`||""}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?i`<calcite-panel class=${`border-none ${this.filterOpen?"background-override":"filter background-override"}`} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100" @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${r(e)}><calcite-panel class="border-none"><solutions-filter-panel class="height-100" .isAIsettingEnabled=${!!this._userSessionContextConsumer.value?.token} @applyFilter=${t=>{this._filterApplied(t.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){if(!this._filters.categories)return;let e=this._filters.categories.filter(t=>t.type==="industry"||t.type==="domain");return e.length>0?m(e,t=>`${t.type}:${t.value}`,t=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${t.displayValue} @calciteChipClose=${()=>this._chipClosed(t.displayValue,t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`):void 0}_updateSolutionCount(e){this.solutionsCount=e.detail}_chipClosed(e,t){if(this._filters.categories){if(t==="industry")this._filters.categories=[];else{let s=this._filters.categories.filter(l=>l.displayValue!==e&&l.type!==t);this._filters.categories=s}this._filters.categories.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories):this._filters.searchTerm!==""?(this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this._allSolutionsPanelRef.value?.searchSolutions({searchTerm:this._filters.searchTerm})):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters.categories)}}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(this._filters.categories)if(e){let t=e;"displayValue"in e?this._filters.categories.push(e):Array.isArray(e)&&e.length>0&&(e.length>=2&&(t=[e[e.length-1]]),this._filters={categories:e,searchTerm:this._filters.searchTerm}),"searchTerm"in t&&(this._filters.searchTerm=t.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};p("solutions-all-shell",c);export{c as SolutionsAllShell};
@@ -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.24 */
4
- import a from"./KX7PNFBK.js";import{m as i,o as c}from"./27VT6FGO.js";export default $arcgis.t(([{c:d}])=>{async function I(r,s,o,e,t=c,a="created",l="desc",u=!1,f=[],g=[],m){if(!r?.IsSignedIn)return;let n={q:t,filter:"type:Solution",sortField:a,sortOrder:l,delay:u,categories:f};return n.q+=p(r,m),await y(s,n,e,g)}function p(r,s){let o="",e=r.PortalUserOrg,t=r.PortalUserName;return e&&(o+=" orgid:"+e),s!==i.ORGANIZATION&&t&&(o+=" owner:"+t),o}async function y(r,s,o,e){let t=await o.requestDeployedSolutionCards(s,r),a=d(t.cards,e);return{cards:t.cards,relatedSolutions:a}}return I},a)
3
+ v1.2.0-next.26 */
4
+ import a from"./WUCV5AYV.js";import{m as i,o as c}from"./6ESVYRQV.js";export default $arcgis.t(([{c:d}])=>{async function I(r,s,o,e,t=c,a="created",l="desc",u=!1,f=[],g=[],m){if(!r?.IsSignedIn)return;let n={q:t,filter:"type:Solution",sortField:a,sortOrder:l,delay:u,categories:f};return n.q+=p(r,m),await y(s,n,e,g)}function p(r,s){let o="",e=r.PortalUserOrg,t=r.PortalUserName;return e&&(o+=" orgid:"+e),s!==i.ORGANIZATION&&t&&(o+=" owner:"+t),o}async function y(r,s,o,e){let t=await o.requestDeployedSolutionCards(s,r),a=d(t.cards,e);return{cards:t.cards,relatedSolutions:a}}return I},a)