@esri/solutions-components 1.2.0-next.6 → 1.2.0-next.8

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 (486) hide show
  1. package/dist/cdn/{Y5DBURZM.js → 23PHCUDC.js} +2 -2
  2. package/dist/cdn/{HPB356BE.js → 242ZJVDU.js} +2 -2
  3. package/dist/cdn/{CT5OPGW5.js → 265MN7VO.js} +2 -2
  4. package/dist/cdn/{Q2ZBJ5N6.js → 2E36RQGW.js} +2 -2
  5. package/dist/cdn/{GVZGXTDK.js → 2IEFFZ3C.js} +2 -2
  6. package/dist/cdn/{RKE526NJ.js → 2IH2YK5J.js} +2 -2
  7. package/dist/cdn/{5RDDXPRM.js → 2JUGBF5Z.js} +2 -2
  8. package/dist/cdn/{Q6ET57BS.js → 2MW5FFFN.js} +2 -2
  9. package/dist/cdn/{BDU6FBLG.js → 2OHDQ4WD.js} +2 -2
  10. package/dist/cdn/{ZRBRPLDW.js → 2QOQTUKN.js} +2 -2
  11. package/dist/cdn/{YYBA5O22.js → 2RLW3UK3.js} +2 -2
  12. package/dist/cdn/{OSKFOBPJ.js → 3EQBZRGH.js} +2 -2
  13. package/dist/cdn/{3KY6MGOJ.js → 3HBBMXHE.js} +2 -2
  14. package/dist/cdn/{GRSIJT3T.js → 3PWT6WTG.js} +2 -2
  15. package/dist/cdn/{DCHFQUOM.js → 3QUOCTEG.js} +2 -2
  16. package/dist/cdn/{EFYU4OWN.js → 3T5VFHCP.js} +2 -2
  17. package/dist/cdn/{Y4CZ7XFH.js → 3TST23TQ.js} +1 -1
  18. package/dist/cdn/{2NYFZ3GV.js → 3YWCFLWG.js} +2 -2
  19. package/dist/cdn/3ZH4K4KA.js +18 -0
  20. package/dist/cdn/{LFDSMJEU.js → 424CEK2Z.js} +2 -2
  21. package/dist/cdn/{OYYZVOIN.js → 42H5I7EW.js} +2 -2
  22. package/dist/cdn/43C44DKY.js +4 -0
  23. package/dist/cdn/{NK5IEUBF.js → 46CRLSME.js} +2 -2
  24. package/dist/cdn/{4AJTL34Z.js → 46UESGJK.js} +2 -2
  25. package/dist/cdn/{NR4CTORR.js → 4A3PG7XO.js} +2 -2
  26. package/dist/cdn/{PHF75FIZ.js → 4K27XVR4.js} +2 -2
  27. package/dist/cdn/{NQKLCRO4.js → 4MSGOASS.js} +2 -2
  28. package/dist/cdn/{7LDGOYUE.js → 4RXHDK6Z.js} +2 -2
  29. package/dist/cdn/{VTKU26GJ.js → 4UPTPCCV.js} +2 -2
  30. package/dist/cdn/{QMVHLMJD.js → 4UW2NAO4.js} +1 -1
  31. package/dist/cdn/{LNKLEGM7.js → 4WW3ICHW.js} +2 -2
  32. package/dist/cdn/{B3HDMUHB.js → 4Z3QZTQ5.js} +2 -2
  33. package/dist/cdn/{IAOE36VC.js → 56NWL3SJ.js} +2 -2
  34. package/dist/cdn/{3AKHI3FX.js → 57FEDGKP.js} +2 -2
  35. package/dist/cdn/{TSX6N6FB.js → 5AQ3AC2W.js} +2 -2
  36. package/dist/cdn/{ND4CBCIS.js → 5FN3WVHK.js} +1 -1
  37. package/dist/cdn/{JBCMZE55.js → 5H6Q6OC2.js} +2 -2
  38. package/dist/cdn/{43AII6JW.js → 5J45SC6T.js} +2 -2
  39. package/dist/cdn/{4ZBQDA7G.js → 5LBJMJRE.js} +2 -2
  40. package/dist/cdn/{GLY2GMK3.js → 5PBSBYXZ.js} +2 -2
  41. package/dist/cdn/{HIXYDI5J.js → 5QWPDEIM.js} +2 -2
  42. package/dist/cdn/{EWPFEAMD.js → 5TJAX6CN.js} +2 -2
  43. package/dist/cdn/{3U3CU6DD.js → 5TVT25KG.js} +2 -2
  44. package/dist/cdn/{HJ5OK6QT.js → 5ZUFRNFY.js} +2 -2
  45. package/dist/cdn/{OWKKFB6L.js → 66HNDUZX.js} +2 -2
  46. package/dist/cdn/{SWZKHEQX.js → 6B3I5H3V.js} +2 -2
  47. package/dist/cdn/{AN4ZPBV5.js → 6DNV5PJB.js} +1 -1
  48. package/dist/cdn/6GYEDZMT.js +4 -0
  49. package/dist/cdn/{WTMEVWQW.js → 6MOR7L6N.js} +2 -2
  50. package/dist/cdn/{W5BIA42K.js → 6RJJZZGW.js} +1 -1
  51. package/dist/cdn/{HLXK72ZK.js → 6RZ4KMTE.js} +2 -2
  52. package/dist/cdn/{YNAZN7XO.js → 6V3QGIDI.js} +2 -2
  53. package/dist/cdn/{D6VPFPWH.js → 7EZUBE7B.js} +2 -2
  54. package/dist/cdn/{YD7BBK2M.js → 7FJ6I4E7.js} +2 -2
  55. package/dist/cdn/{UOSJKW7E.js → 7H3RLLAJ.js} +1 -1
  56. package/dist/cdn/{BFLK4MV3.js → 7H6T2HT6.js} +2 -2
  57. package/dist/cdn/{DBIXZJBF.js → 7HKMMQDW.js} +2 -2
  58. package/dist/cdn/{OSRWBYQ2.js → 7HYAMVPE.js} +4 -4
  59. package/dist/cdn/{SWCTZZ5M.js → 7J23JVW4.js} +2 -2
  60. package/dist/cdn/{5G5N3YGW.js → 7JQD4FB2.js} +2 -2
  61. package/dist/cdn/{MA3THZBT.js → 7JZCGT73.js} +2 -2
  62. package/dist/cdn/{YJEFD5S2.js → 7O6HZBSM.js} +2 -2
  63. package/dist/cdn/{GXKTKNRR.js → 7PGJVX4U.js} +2 -2
  64. package/dist/cdn/{75HEJGBB.js → 7RHPWT7M.js} +2 -2
  65. package/dist/cdn/{C3YT4ILF.js → 7TZZHMOS.js} +2 -2
  66. package/dist/cdn/7Z2OMIDX.js +4 -0
  67. package/dist/cdn/{IQTDOEWO.js → A4NXH4OO.js} +2 -2
  68. package/dist/cdn/{FLHENYCD.js → A5EE6OCZ.js} +2 -2
  69. package/dist/cdn/{R53JAHXC.js → A76NURAD.js} +2 -2
  70. package/dist/cdn/{GRMJQUC5.js → AIKNRIPT.js} +1 -1
  71. package/dist/cdn/{3R3HPZAK.js → ALTJ7ILH.js} +2 -2
  72. package/dist/cdn/ANRRSKMN.js +4 -0
  73. package/dist/cdn/{4VRBEE4E.js → AWUMOVFD.js} +1 -1
  74. package/dist/cdn/B4BRIUKH.js +18 -0
  75. package/dist/cdn/{C2OY2PS6.js → B4T5V46H.js} +1 -1
  76. package/dist/cdn/{R7ZD74W4.js → BD72WU7W.js} +2 -2
  77. package/dist/cdn/{R6JKKEMB.js → BN4ZRCRV.js} +2 -2
  78. package/dist/cdn/{OIGW2DAZ.js → BR4RWSPE.js} +2 -2
  79. package/dist/cdn/{WUJ53CX4.js → BS2IH672.js} +2 -2
  80. package/dist/cdn/{NFU53Y7C.js → BUAWSEWJ.js} +2 -2
  81. package/dist/cdn/{SRTKEQJS.js → BZOHPBSK.js} +1 -1
  82. package/dist/cdn/{UWFX6UHY.js → C3XEHNWJ.js} +2 -2
  83. package/dist/cdn/{KS6EZ4SP.js → C3ZYJFGZ.js} +2 -2
  84. package/dist/cdn/{PF5AT3NA.js → CEGZZ3VM.js} +2 -2
  85. package/dist/cdn/{CRRLSSMP.js → CHMYBHXC.js} +2 -2
  86. package/dist/cdn/{7F75Q6X6.js → CIAMCYZF.js} +2 -2
  87. package/dist/cdn/{EEUJQ4PE.js → CL3RGGOT.js} +2 -2
  88. package/dist/cdn/{MVA2DOPM.js → CQR6ZJ3Y.js} +2 -2
  89. package/dist/cdn/{64P5PANG.js → CRWMIW6E.js} +3 -3
  90. package/dist/cdn/{6OU6VXZE.js → CSOVKKCB.js} +1 -1
  91. package/dist/cdn/{C3VQSVMI.js → CTBKFIFY.js} +1 -1
  92. package/dist/cdn/{7LCAN4QM.js → CTREVWEG.js} +2 -2
  93. package/dist/cdn/{RX4SFFGS.js → CUQU47MV.js} +2 -2
  94. package/dist/cdn/{R23EOL5Y.js → CUW2FL7B.js} +2 -2
  95. package/dist/cdn/CV2FNRYE.js +4 -0
  96. package/dist/cdn/{YA6EJEOH.js → CYBRHVMD.js} +2 -2
  97. package/dist/cdn/{CMPTEVJI.js → CZ4VSMAQ.js} +2 -2
  98. package/dist/cdn/{43IHB26O.js → CZJ3RSCF.js} +2 -2
  99. package/dist/cdn/{UW26Z7RU.js → D3UIWRVA.js} +2 -2
  100. package/dist/cdn/{SVF7MDUC.js → D7W6V2FZ.js} +2 -2
  101. package/dist/cdn/{TMCHHM55.js → DAJPL7A6.js} +1 -1
  102. package/dist/cdn/{LDLEQ6CC.js → DHTY4OOW.js} +2 -2
  103. package/dist/cdn/{I5ZRIC3T.js → DJBQAKM7.js} +2 -2
  104. package/dist/cdn/{XMUV2USG.js → DJDNTU6V.js} +2 -2
  105. package/dist/cdn/{UXBBI55T.js → DKW6UBER.js} +2 -2
  106. package/dist/cdn/{VPQLYHEX.js → DOEH5ZVT.js} +2 -2
  107. package/dist/cdn/{7ASCWQCT.js → DT5VPDH3.js} +2 -2
  108. package/dist/cdn/{SGHNBHUF.js → DTHGPPXC.js} +2 -2
  109. package/dist/cdn/{JJLDTGMR.js → DTUYSMPI.js} +2 -2
  110. package/dist/cdn/{RDMEIRHP.js → E3MFERQX.js} +2 -2
  111. package/dist/cdn/EAQS4FUG.js +18 -0
  112. package/dist/cdn/EEKOQVBB.js +18 -0
  113. package/dist/cdn/{UWXPCF47.js → EG7OXLBP.js} +2 -2
  114. package/dist/cdn/{OKBR2JNZ.js → EKKHOK27.js} +2 -2
  115. package/dist/cdn/{Q5S5ARM5.js → ERFMMLHY.js} +2 -2
  116. package/dist/cdn/{OTUI5EVK.js → ERI2I4QD.js} +2 -2
  117. package/dist/cdn/{RKTPYPYJ.js → ESHX67OS.js} +2 -2
  118. package/dist/cdn/{RJ47PZ2M.js → ESUFDLJP.js} +2 -2
  119. package/dist/cdn/{CLZFMS77.js → EVFLREAG.js} +2 -2
  120. package/dist/cdn/{IYTGK3X3.js → EYXMOG4T.js} +2 -2
  121. package/dist/cdn/{2M3SOJDG.js → F3UJ3XFL.js} +2 -2
  122. package/dist/cdn/{EGW2IVRZ.js → F4SE4CYU.js} +2 -2
  123. package/dist/cdn/{JDTP4G5P.js → FAYUH4ZL.js} +2 -2
  124. package/dist/cdn/{5CXTZ7NA.js → FGP2FQZM.js} +2 -2
  125. package/dist/cdn/{RGNOHVXO.js → FORF6B3Z.js} +1 -1
  126. package/dist/cdn/{6YSZRWQG.js → FUKMDGE5.js} +2 -2
  127. package/dist/cdn/{AYBN7RSJ.js → FWC5JTS2.js} +1 -1
  128. package/dist/cdn/{SBXHMIGN.js → FWGZLF34.js} +2 -2
  129. package/dist/cdn/{6OUC5SZJ.js → FZPDQRLQ.js} +2 -2
  130. package/dist/cdn/{NJRBMGQU.js → G2GKF7F7.js} +2 -2
  131. package/dist/cdn/{RHNCXWTD.js → G3COLP6O.js} +2 -2
  132. package/dist/cdn/{5GNTAQBB.js → G56EFDF5.js} +2 -2
  133. package/dist/cdn/{6BZPVMC3.js → G67WQ7EK.js} +2 -2
  134. package/dist/cdn/G73VJ3M7.js +18 -0
  135. package/dist/cdn/{VVWDTGJA.js → GETIEY2N.js} +2 -2
  136. package/dist/cdn/{LY6TIHQF.js → GEWRTAEY.js} +1 -1
  137. package/dist/cdn/{ASILD6CB.js → GODHBW4D.js} +2 -2
  138. package/dist/cdn/{FQYAST2K.js → GRBWDUAE.js} +2 -2
  139. package/dist/cdn/{7OLQQGDE.js → GRGYG6ZB.js} +2 -2
  140. package/dist/cdn/{KOVCA4QV.js → GU3X6WVU.js} +2 -2
  141. package/dist/cdn/{ZD6YAEWR.js → GUE2KLZF.js} +2 -2
  142. package/dist/cdn/{DZIWUAHO.js → GVLGCQV5.js} +2 -2
  143. package/dist/cdn/{YUTI6A3R.js → H57UXYLC.js} +2 -2
  144. package/dist/cdn/{4HZ73PXZ.js → HB7GFW2F.js} +2 -2
  145. package/dist/cdn/{EPOTUER2.js → HBFAHBYK.js} +2 -2
  146. package/dist/cdn/{POVFCWA4.js → HDB2LOU3.js} +2 -2
  147. package/dist/cdn/{5DBXMD4E.js → HIZ63N6P.js} +1 -1
  148. package/dist/cdn/{K6OWNAQ2.js → HLW755DY.js} +2 -2
  149. package/dist/cdn/{WEZ56UHN.js → HNJBDRZK.js} +2 -2
  150. package/dist/cdn/{I4WG6VZ7.js → HNTUTNCA.js} +2 -2
  151. package/dist/cdn/HPA3S6EH.js +4 -0
  152. package/dist/cdn/{42QAHP2H.js → HSIQ7LDL.js} +2 -2
  153. package/dist/cdn/{SEYIBXFF.js → HSJ5YBGH.js} +1 -1
  154. package/dist/cdn/{CKRFN5RP.js → HSPCD4MZ.js} +1 -1
  155. package/dist/cdn/{ISDT7CP2.js → HUBKDQDZ.js} +2 -2
  156. package/dist/cdn/{7D6B7W25.js → HUICZ36N.js} +2 -2
  157. package/dist/cdn/{C6XO55UG.js → I3KEQ3N4.js} +2 -2
  158. package/dist/cdn/{GTZDDRKB.js → I7BGTKQQ.js} +1 -1
  159. package/dist/cdn/{P3U5VVRM.js → IC376S4N.js} +2 -2
  160. package/dist/cdn/{AZ4GC4RH.js → IC5D5ZEG.js} +2 -2
  161. package/dist/cdn/{MMOLUBH6.js → IFYMP3RJ.js} +2 -2
  162. package/dist/cdn/IJZ7RH3K.js +18 -0
  163. package/dist/cdn/{3C4J2KTB.js → INDGQ7I5.js} +2 -2
  164. package/dist/cdn/{WDQUXD5I.js → INYDJYFF.js} +1 -1
  165. package/dist/cdn/{EJHIYSSF.js → IQHOW6B3.js} +2 -2
  166. package/dist/cdn/{NNP5DIE4.js → IZPEE7EA.js} +2 -2
  167. package/dist/cdn/{OHFKWVKT.js → J36ELBGN.js} +2 -2
  168. package/dist/cdn/{LJRZYCQX.js → J4ZFOKWR.js} +2 -2
  169. package/dist/cdn/{EHEL3Y7B.js → J7CSWKH2.js} +2 -2
  170. package/dist/cdn/{6TG774RB.js → JAB46Q2U.js} +1 -1
  171. package/dist/cdn/{P2SYJ24C.js → JC7D7DR7.js} +2 -2
  172. package/dist/cdn/{KEVAPUV7.js → JHH2YZMO.js} +2 -2
  173. package/dist/cdn/{P2XBWR3K.js → JJLMC76G.js} +2 -2
  174. package/dist/cdn/{UHRZV2BI.js → JKSI5ZMB.js} +1 -1
  175. package/dist/cdn/{KN7GU34G.js → JOLFA4BG.js} +2 -2
  176. package/dist/cdn/{AHQC773M.js → JQB2ZVA6.js} +1 -1
  177. package/dist/cdn/JRO6YHAM.js +18 -0
  178. package/dist/cdn/{G7REA73G.js → JUZZFAAP.js} +2 -2
  179. package/dist/cdn/{7QXVNVSY.js → JWECLXIX.js} +1 -1
  180. package/dist/cdn/{CWSEEEMU.js → K66IIFGC.js} +2 -2
  181. package/dist/cdn/{X74PFPTS.js → K6VGFWR2.js} +2 -2
  182. package/dist/cdn/{3BHENULJ.js → KCPULRL4.js} +2 -2
  183. package/dist/cdn/KE3ZSZN4.js +4 -0
  184. package/dist/cdn/{K65QHEEW.js → KFJTURDK.js} +2 -2
  185. package/dist/cdn/{KOHDKHHL.js → L76MWZ6D.js} +2 -2
  186. package/dist/cdn/{M3TJ57X3.js → LE7HR7IW.js} +2 -2
  187. package/dist/cdn/{3QQBHMCG.js → LKFPSHUQ.js} +2 -2
  188. package/dist/cdn/{CNTAXM77.js → LLRKW666.js} +2 -2
  189. package/dist/cdn/{MIC6LQDI.js → LX2HTLJY.js} +2 -2
  190. package/dist/cdn/{BPYQOBRF.js → LYLCY3W4.js} +2 -2
  191. package/dist/cdn/{3KSTQFBT.js → M4RN56A5.js} +2 -2
  192. package/dist/cdn/{EX5IS2G6.js → MFO6ZTSP.js} +2 -2
  193. package/dist/cdn/{4DQWCLKY.js → MHTAOZQX.js} +1 -1
  194. package/dist/cdn/{MOYCNENS.js → MKDC2SCX.js} +2 -2
  195. package/dist/cdn/{7SQMKKG6.js → MLE72YF6.js} +2 -2
  196. package/dist/cdn/{TK5ARS6D.js → MMT5FM7A.js} +1 -1
  197. package/dist/cdn/{W4JEA3XE.js → MMTDGLQL.js} +2 -2
  198. package/dist/cdn/{S2PNPUQV.js → MNICPHAG.js} +2 -2
  199. package/dist/cdn/{YURM35K7.js → MRTVZ3FA.js} +2 -2
  200. package/dist/cdn/{HOZF62NG.js → MUAZDQVZ.js} +1 -1
  201. package/dist/cdn/{OQK3SNUT.js → MWMU7J4N.js} +2 -2
  202. package/dist/cdn/{3CTIZI7X.js → MYIWNWBX.js} +2 -2
  203. package/dist/cdn/{NHRWEIDY.js → N2ES5H7J.js} +2 -2
  204. package/dist/cdn/{KFK2QLX7.js → N2JVWR36.js} +2 -2
  205. package/dist/cdn/{O2CTIODV.js → N5UQMJ5B.js} +2 -2
  206. package/dist/cdn/{GYJUGCFY.js → NGIFYBG2.js} +2 -2
  207. package/dist/cdn/{PECFRP4P.js → NOMPCMGQ.js} +2 -2
  208. package/dist/cdn/{2I7ZXFLR.js → NPKGD2UW.js} +2 -2
  209. package/dist/cdn/{EC4BDQTX.js → NSW4XQCX.js} +2 -2
  210. package/dist/cdn/{DABFIHQ5.js → NTXNU5KJ.js} +2 -2
  211. package/dist/cdn/{CYYJ37UQ.js → NUBZKYGY.js} +1 -1
  212. package/dist/cdn/{FYA2RJLA.js → NZ7X7RNA.js} +2 -2
  213. package/dist/cdn/{55OACR4S.js → O2UDI5ZG.js} +2 -2
  214. package/dist/cdn/{BZ4XGUDM.js → O4YYSHMA.js} +2 -2
  215. package/dist/cdn/{644DJYKF.js → O75MXYU2.js} +2 -2
  216. package/dist/cdn/{5IOHRNFC.js → O7LZYDDA.js} +2 -2
  217. package/dist/cdn/{W3IJZ4HC.js → ODBYLGRJ.js} +2 -2
  218. package/dist/cdn/{FXYCWGPH.js → OEAH7BZO.js} +2 -2
  219. package/dist/cdn/{Z3YUGK3I.js → OFW75QJ5.js} +2 -2
  220. package/dist/cdn/{OI4YOMGG.js → OLNUCAY2.js} +1 -1
  221. package/dist/cdn/{3MHZEKGJ.js → ON35LOWT.js} +2 -2
  222. package/dist/cdn/{2EHFNAOJ.js → OR3N345S.js} +2 -2
  223. package/dist/cdn/{REH3U565.js → ORAQKCNZ.js} +2 -2
  224. package/dist/cdn/{KKP7HGNJ.js → OSRVKFMN.js} +2 -2
  225. package/dist/cdn/{YOPR6ELM.js → OUBHFNCT.js} +2 -2
  226. package/dist/cdn/{YQWNS5T6.js → OUH6GVIE.js} +2 -2
  227. package/dist/cdn/{HLI457TP.js → OUVL2CVN.js} +2 -2
  228. package/dist/cdn/{GCTTXEYI.js → OZWY6LCF.js} +2 -2
  229. package/dist/cdn/{MYB6PMPD.js → PEUJKF6B.js} +2 -2
  230. package/dist/cdn/{KB5XSYOH.js → PMNEPCAP.js} +2 -2
  231. package/dist/cdn/{C3ABCUGF.js → PPSHZUDG.js} +2 -2
  232. package/dist/cdn/{NB2MJP3T.js → PUMJHO6N.js} +2 -2
  233. package/dist/cdn/{UCWHVM3U.js → Q3WVWC55.js} +2 -2
  234. package/dist/cdn/{R6J3F2YU.js → Q4CRDRQG.js} +2 -2
  235. package/dist/cdn/{LPJY4EKV.js → Q5ZT6WRY.js} +1 -1
  236. package/dist/cdn/{AKC6SE65.js → QJXOEAET.js} +2 -2
  237. package/dist/cdn/{Q55L5Q3P.js → QM75PUNH.js} +2 -2
  238. package/dist/cdn/{VKL63NGD.js → QNVIGXOV.js} +1 -1
  239. package/dist/cdn/{YWSSWWW4.js → QUTXEUWF.js} +3 -3
  240. package/dist/cdn/{DYURGKBB.js → QVMJ2ERO.js} +2 -2
  241. package/dist/cdn/{HPHQDHOY.js → QVXNMCUG.js} +2 -2
  242. package/dist/cdn/{A6SDFMS4.js → QWORBXNV.js} +1 -1
  243. package/dist/cdn/{OQX77LVX.js → QY2SAW3T.js} +1 -1
  244. package/dist/cdn/{TBFTL5AS.js → R5XEOHRY.js} +2 -2
  245. package/dist/cdn/{XZCYXYAE.js → RAVAPNJT.js} +2 -2
  246. package/dist/cdn/{FT735SKP.js → RB5BFVBH.js} +2 -2
  247. package/dist/cdn/{JV55LN2M.js → RF2MZ6L4.js} +2 -2
  248. package/dist/cdn/{VIFGQWKG.js → RFLMWIV3.js} +2 -2
  249. package/dist/cdn/{RY44DI5D.js → RHG4ERFD.js} +2 -2
  250. package/dist/cdn/{RYN2SWCM.js → RJGQ2WIC.js} +2 -2
  251. package/dist/cdn/{7WK46WPW.js → RK7BITG7.js} +2 -2
  252. package/dist/cdn/{OEYJFMXJ.js → RLOP37O7.js} +2 -2
  253. package/dist/cdn/{NQISLIAP.js → RNRJYQR6.js} +2 -2
  254. package/dist/cdn/{JZC43XNE.js → RSZOXRB2.js} +2 -2
  255. package/dist/cdn/{LHFLSDVZ.js → RTT255CD.js} +2 -2
  256. package/dist/cdn/{72IRHFJ6.js → RYOFNHME.js} +2 -2
  257. package/dist/cdn/{QF6CYRL2.js → RZWPCLBI.js} +2 -2
  258. package/dist/cdn/{Q3A4PDPW.js → S6PZ4TQV.js} +2 -2
  259. package/dist/cdn/{PDCOACTW.js → S6SVJ7VM.js} +2 -2
  260. package/dist/cdn/{SSSE76D7.js → S7QNSRRI.js} +2 -2
  261. package/dist/cdn/{JS6X6QAW.js → S7YU3JX3.js} +2 -2
  262. package/dist/cdn/{Z5GGVIDD.js → SFSDK76O.js} +2 -2
  263. package/dist/cdn/{7XJB7VS7.js → SFWMPPCI.js} +2 -2
  264. package/dist/cdn/{3WLCCGUI.js → SQTYYN33.js} +2 -2
  265. package/dist/cdn/{URNU7X7T.js → SRIPMBTE.js} +2 -2
  266. package/dist/cdn/{BBXNS3EX.js → SU5KDQ2B.js} +2 -2
  267. package/dist/cdn/{46V3IO5X.js → T6DS55WX.js} +2 -2
  268. package/dist/cdn/{PP7NRPXZ.js → TBBJWCCR.js} +2 -2
  269. package/dist/cdn/{ZMAQKYQ6.js → TCZHHWHS.js} +2 -2
  270. package/dist/cdn/{3N2ZNCG2.js → THU44NOX.js} +1 -1
  271. package/dist/cdn/{RPLH7QHP.js → TJRGBV6E.js} +2 -2
  272. package/dist/cdn/{RQU6SEUA.js → TLSJZ2PC.js} +2 -2
  273. package/dist/cdn/{4WIF7IWJ.js → TOATY2NQ.js} +2 -2
  274. package/dist/cdn/{MGNNQNEI.js → TPAHJWIM.js} +2 -2
  275. package/dist/cdn/{63PYENHX.js → TSS3ICXX.js} +2 -2
  276. package/dist/cdn/{RYXX6HET.js → TTCKLGK7.js} +1 -1
  277. package/dist/cdn/{6MDG4NZX.js → TTYIUEPD.js} +2 -2
  278. package/dist/cdn/{7OLNN2MW.js → TYTEAAIQ.js} +2 -2
  279. package/dist/cdn/{YH6ADAVW.js → U2APIL5F.js} +2 -2
  280. package/dist/cdn/{V4HWOWHO.js → U6NBLLMQ.js} +2 -2
  281. package/dist/cdn/{JJIKYQZZ.js → U7OBIL3K.js} +2 -2
  282. package/dist/cdn/{AAJ34PVZ.js → UC2SS2QW.js} +2 -2
  283. package/dist/cdn/{LQUAXFLK.js → UDCDDGJR.js} +2 -2
  284. package/dist/cdn/{65LDPG2Z.js → UEZ73OO4.js} +2 -2
  285. package/dist/cdn/{3NOU63QC.js → UGX25KQA.js} +2 -2
  286. package/dist/cdn/{ZFWM4LAN.js → UJQYAOZR.js} +2 -2
  287. package/dist/cdn/{ZGHTOGQP.js → UNBTQP3H.js} +1 -1
  288. package/dist/cdn/UPKVTJ7R.js +4 -0
  289. package/dist/cdn/{RL3HBL5T.js → UU2Z7JBX.js} +2 -2
  290. package/dist/cdn/{R4UPUL7H.js → UZRP7ING.js} +2 -2
  291. package/dist/cdn/{LCCWTX2N.js → V22SW5BK.js} +2 -2
  292. package/dist/cdn/{XJGOAOI7.js → V5ZMR33N.js} +2 -2
  293. package/dist/cdn/{HTDQGAID.js → VAUSKOCH.js} +2 -2
  294. package/dist/cdn/{6NEMUKY7.js → VE3DGEUA.js} +2 -2
  295. package/dist/cdn/{KQSZKMVW.js → VKKWJXHO.js} +2 -2
  296. package/dist/cdn/{PGAZAITH.js → VQUBJW6R.js} +2 -2
  297. package/dist/cdn/{DER4LPHP.js → VSU4V6G6.js} +2 -2
  298. package/dist/cdn/{G26LLXS4.js → VV5SPLXA.js} +2 -2
  299. package/dist/cdn/{ZHJK7BD5.js → VXR3KDB7.js} +2 -2
  300. package/dist/cdn/{ELQB37S3.js → VXRAXWUC.js} +2 -2
  301. package/dist/cdn/{M6YGWTQ7.js → VXY4YS6I.js} +2 -2
  302. package/dist/cdn/{GNTRINMX.js → W6EJ2GL5.js} +2 -2
  303. package/dist/cdn/{3EW7ECME.js → W6Q6433S.js} +2 -2
  304. package/dist/cdn/{WXYU7L46.js → WGEFBZZV.js} +4 -4
  305. package/dist/cdn/{2B5AGHXF.js → WGY44T74.js} +2 -2
  306. package/dist/cdn/{Q5HKWIQ4.js → WH52X2WQ.js} +2 -2
  307. package/dist/cdn/{LN2I5LVU.js → WKVFZ37W.js} +2 -2
  308. package/dist/cdn/{VGIBWAX6.js → WLBCVFRX.js} +2 -2
  309. package/dist/cdn/{O3MIRFNV.js → WNX5GG4H.js} +2 -2
  310. package/dist/cdn/{TKYYVFBF.js → WXFDEIGF.js} +2 -2
  311. package/dist/cdn/{OADJ55J2.js → X7NMFGRR.js} +2 -2
  312. package/dist/cdn/{LSZ3JKFT.js → XAU5QP66.js} +2 -2
  313. package/dist/cdn/{BX5K5GT6.js → XCQZ6ASI.js} +2 -2
  314. package/dist/cdn/{CNZNQ3UI.js → XEYFGJYD.js} +2 -2
  315. package/dist/cdn/{P4FFI3FD.js → XKO4D6DI.js} +2 -2
  316. package/dist/cdn/{S6KMTGDZ.js → XLHMGVQW.js} +2 -2
  317. package/dist/cdn/{RFPZWOT4.js → XLQA6KJQ.js} +2 -2
  318. package/dist/cdn/XMRN7HDU.js +18 -0
  319. package/dist/cdn/{EGQGYDCU.js → XOHYWI6Z.js} +2 -2
  320. package/dist/cdn/{MBPZZJHU.js → XSQ3F75X.js} +2 -2
  321. package/dist/cdn/{FT3J6HPU.js → XZGSTRDT.js} +2 -2
  322. package/dist/cdn/XZKSDEYJ.js +18 -0
  323. package/dist/cdn/{V7YYPSUZ.js → Y2ATELTM.js} +2 -2
  324. package/dist/cdn/{ZN3QGUDV.js → Y3FH6SWD.js} +2 -2
  325. package/dist/cdn/{L4PBJ66Y.js → Y3FHW4MG.js} +2 -2
  326. package/dist/cdn/{ECNSXEJQ.js → Y4TAB6DZ.js} +1 -1
  327. package/dist/cdn/{XECYHGO2.js → Y5BRDADM.js} +2 -2
  328. package/dist/cdn/{PIKL7Y7Z.js → YFMWAKPP.js} +1 -1
  329. package/dist/cdn/{PFJBD3IN.js → YHZEZ73W.js} +2 -2
  330. package/dist/cdn/{LRAV7OBQ.js → YKVMQATP.js} +2 -2
  331. package/dist/cdn/{T36HJPUB.js → YOT3LZNC.js} +2 -2
  332. package/dist/cdn/{U4MDUHGI.js → YSM46MQM.js} +2 -2
  333. package/dist/cdn/{EYUS5GPS.js → YUBHAZNE.js} +2 -2
  334. package/dist/cdn/{TXXXMTGQ.js → YVLTKRLF.js} +2 -2
  335. package/dist/cdn/{RQSZEJEQ.js → YY2RTG4T.js} +2 -2
  336. package/dist/cdn/{CPKI7S65.js → Z3FUHTWT.js} +2 -2
  337. package/dist/cdn/{VIB4V3LB.js → Z7UP2YPN.js} +2 -2
  338. package/dist/cdn/{NOOGHUHO.js → ZBDBARFW.js} +2 -2
  339. package/dist/cdn/{XRK3LYSA.js → ZD4IAE56.js} +2 -2
  340. package/dist/cdn/{M3RICNEU.js → ZJIISPCN.js} +2 -2
  341. package/dist/cdn/{5CHNKTZ7.js → ZSYR27QK.js} +2 -2
  342. package/dist/cdn/{RNJUJD2O.js → ZZ3Y6MJT.js} +2 -2
  343. package/dist/cdn/{NFOXMEDQ.js → ZZRK2MDR.js} +2 -2
  344. package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -1
  349. package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -1
  350. package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
  352. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
  353. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
  354. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  355. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  356. package/dist/cdn/index.js +2 -2
  357. package/dist/chunks/Auth.js +14 -14
  358. package/dist/chunks/CardsFetcher.js +1 -1
  359. package/dist/chunks/appConfig.js +1 -1
  360. package/dist/chunks/cardFetchingUtils.js +1 -1
  361. package/dist/chunks/cardsHelpers.js +1 -1
  362. package/dist/chunks/common.js +1 -1
  363. package/dist/chunks/deployAppContexts.js +1 -1
  364. package/dist/chunks/downloadUtils.js +1 -1
  365. package/dist/chunks/getItemIcon.js +1 -1
  366. package/dist/chunks/helpers.js +30 -25
  367. package/dist/chunks/interfaces.js +1 -1
  368. package/dist/chunks/loadModules.js +1 -1
  369. package/dist/chunks/mapViewUtils.js +1 -1
  370. package/dist/chunks/pciUtils.js +1 -1
  371. package/dist/chunks/popupUtils.js +1 -1
  372. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  373. package/dist/chunks/privilegeUtils.js +1 -1
  374. package/dist/chunks/publicNotificationContext.js +1 -1
  375. package/dist/chunks/queryUtils.js +1 -1
  376. package/dist/chunks/runtime.js +1 -1
  377. package/dist/chunks/solution-store.js +1 -1
  378. package/dist/chunks/templates.js +1 -1
  379. package/dist/chunks/useT9n.js +1 -1
  380. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  381. package/dist/components/basemap-gallery/customElement.js +1 -1
  382. package/dist/components/buffer-tools/customElement.js +1 -1
  383. package/dist/components/card-manager/customElement.js +1 -1
  384. package/dist/components/consent-manager/customElement.js +1 -1
  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 +1 -1
  388. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  389. package/dist/components/deduct-calculator/customElement.js +1 -1
  390. package/dist/components/delete-button/customElement.js +1 -1
  391. package/dist/components/delete-dialog/customElement.js +1 -1
  392. package/dist/components/edit-card/customElement.js +1 -1
  393. package/dist/components/feature-details/customElement.js +1 -1
  394. package/dist/components/feature-list/customElement.js +1 -1
  395. package/dist/components/field-selection/customElement.js +1 -1
  396. package/dist/components/floor-filter/customElement.js +1 -1
  397. package/dist/components/info-card/customElement.js +1 -1
  398. package/dist/components/json-editor/customElement.js +1 -1
  399. package/dist/components/layer-list/customElement.js +1 -1
  400. package/dist/components/layer-table/customElement.js +16 -17
  401. package/dist/components/map-card/customElement.js +14 -15
  402. package/dist/components/map-draw-tools/customElement.js +1 -1
  403. package/dist/components/map-fullscreen/customElement.js +1 -1
  404. package/dist/components/map-layer-picker/customElement.d.ts +6 -0
  405. package/dist/components/map-layer-picker/customElement.js +25 -19
  406. package/dist/components/map-legend/customElement.js +1 -1
  407. package/dist/components/map-picker/customElement.js +1 -1
  408. package/dist/components/map-search/customElement.js +1 -1
  409. package/dist/components/map-select-tools/customElement.js +1 -1
  410. package/dist/components/map-tools/customElement.js +1 -1
  411. package/dist/components/pci-calculator/customElement.js +1 -1
  412. package/dist/components/pdf-download/customElement.js +1 -1
  413. package/dist/components/public-notification/customElement.js +1 -1
  414. package/dist/components/refine-selection/customElement.js +1 -1
  415. package/dist/components/selection-tool/customElement.js +1 -1
  416. package/dist/components/solution-configuration/customElement.js +1 -1
  417. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  418. package/dist/components/solution-configure-titles/customElement.js +1 -1
  419. package/dist/components/solution-contents/customElement.js +1 -1
  420. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  421. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  422. package/dist/components/solution-deployed-card/customElement.js +1 -1
  423. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  424. package/dist/components/solution-details-card/customElement.js +6 -6
  425. package/dist/components/solution-details-panel/customElement.js +19 -22
  426. package/dist/components/solution-item/customElement.js +1 -1
  427. package/dist/components/solution-item-accordion/customElement.js +1 -1
  428. package/dist/components/solution-item-details/customElement.js +1 -1
  429. package/dist/components/solution-item-diagram/customElement.js +1 -1
  430. package/dist/components/solution-item-icon/customElement.js +1 -1
  431. package/dist/components/solution-item-sharing/customElement.js +1 -1
  432. package/dist/components/solution-organization-variables/customElement.js +1 -1
  433. package/dist/components/solution-resource-card/customElement.js +2 -2
  434. package/dist/components/solution-resource-item/customElement.js +1 -1
  435. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  436. package/dist/components/solution-social-share/customElement.js +1 -1
  437. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  438. package/dist/components/solution-template-data/customElement.js +1 -1
  439. package/dist/components/solution-variables/customElement.js +1 -1
  440. package/dist/components/solutions-all-panel/customElement.js +1 -1
  441. package/dist/components/solutions-all-shell/customElement.js +25 -20
  442. package/dist/components/solutions-deploy-app/customElement.js +7 -8
  443. package/dist/components/solutions-deploy-app-nav/customElement.js +28 -22
  444. package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
  445. package/dist/components/solutions-deploy-app-nav/index.js +4 -1
  446. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  447. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  448. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  449. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  450. package/dist/components/solutions-filter-panel/customElement.js +63 -55
  451. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  452. package/dist/components/solutions-resources/customElement.js +1 -1
  453. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  454. package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
  455. package/dist/components/spatial-ref/customElement.js +1 -1
  456. package/dist/components/store-manager/customElement.js +1 -1
  457. package/dist/docs/api.json +59 -1
  458. package/dist/docs/docs.json +45 -1
  459. package/dist/docs/vscode.html-custom-data.json +10 -0
  460. package/dist/docs/web-types.json +27 -1
  461. package/dist/index.js +1 -1
  462. package/dist/loader.js +3 -3
  463. package/dist/types/lumina.d.ts +2 -2
  464. package/dist/types/preact.d.ts +2 -2
  465. package/dist/types/preact10.d.ts +2 -2
  466. package/dist/types/react.d.ts +2 -2
  467. package/dist/types/stencil.d.ts +2 -2
  468. package/dist/utils/helpers.d.ts +8 -1
  469. package/package.json +1 -1
  470. package/dist/cdn/7LVVHGLQ.js +0 -4
  471. package/dist/cdn/BVFYUULI.js +0 -18
  472. package/dist/cdn/BZQNZGIF.js +0 -18
  473. package/dist/cdn/C3OBOQOO.js +0 -18
  474. package/dist/cdn/E4MWWQ52.js +0 -18
  475. package/dist/cdn/GRTQAPQC.js +0 -18
  476. package/dist/cdn/HR5YMULP.js +0 -4
  477. package/dist/cdn/HX6UBWDB.js +0 -4
  478. package/dist/cdn/JWNDNXKO.js +0 -4
  479. package/dist/cdn/LRHWDN4E.js +0 -4
  480. package/dist/cdn/OWWSN3B2.js +0 -4
  481. package/dist/cdn/P5VGADLR.js +0 -18
  482. package/dist/cdn/PAAUUG27.js +0 -18
  483. package/dist/cdn/WL6MLDUU.js +0 -18
  484. package/dist/cdn/XGYQYEAR.js +0 -4
  485. package/dist/cdn/YPLTRSYP.js +0 -4
  486. package/dist/cdn/ZXKZXNEZ.js +0 -18
@@ -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.6 */
4
- import{a as t}from"./NNP5DIE4.js";import"./AYBN7RSJ.js";import"./PECFRP4P.js";import"./A6SDFMS4.js";import"./IYTGK3X3.js";import"./SRTKEQJS.js";import"./AN4ZPBV5.js";import"./6OU6VXZE.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.8 */
4
+ import{a as t}from"./IZPEE7EA.js";import"./FWC5JTS2.js";import"./NOMPCMGQ.js";import"./QWORBXNV.js";import"./EYXMOG4T.js";import"./BZOHPBSK.js";import"./6DNV5PJB.js";import"./CSOVKKCB.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.6 */
4
- import{a as x}from"./4DQWCLKY.js";import{a as b}from"./BFLK4MV3.js";import{c as _}from"./WDQUXD5I.js";import{b as w}from"./V4HWOWHO.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{C as u,D as g,E as f,G as o,h as m,i as s,l as h}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var d={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},z=new Map;Object.keys(d).forEach(r=>{z.set(r,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${d[r].fill}"><path d="${d[r].path}"/></svg>`)});function c(r){return z.get(r)||""}var V=m`:host{display:block;--instant-apps-create-action-background: var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-create-action-background-press: var(--calcite-color-foreground-3);--instant-apps-create-action-height: 100%;--instant-apps-create-action-width: fit-content;--instant-apps-create-action-icon-color: var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-create-background: var(--calcite-color-foreground-1);--instant-apps-create-text-color: var(--calcite-color-text-1);--instant-apps-create-popover-width: 450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1: var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1: var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 .5rem;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:.5rem;cursor:pointer;--calcite-color-text-link: var(--calcite-color-text-1);align-items:stretch;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.instant-apps-create__option:first-of-type{margin-top:.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:.75rem;color:var(--calcite-color-text-2);padding:.75rem 0 0 .75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:.25rem;color:#7e7e7e;--tw-translate-x: 0px;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:.15s;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}`,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",header:"instant-apps-create__header",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle"},v=class extends f{constructor(){super(...arguments),this._messages=b({name:"instant-apps-create",blocking:!0}),this.popoverEl=u(),this.baseClass=i.baseLight,this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"]}static{this.properties={baseClass:16,popoverIcon:1,mode:3,popoverPositioning:1,popoverPlacement:1,showHeader:5,content:0,options:0,portal:0}}static{this.styles=V}async load(){this.baseClass=x(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),this.initializePredefinedOptions()}willUpdate(t){t.has("content")&&this._createOptionsLookup&&Object.keys(this._createOptionsLookup).forEach(e=>{this._createOptionsLookup[e].href=this.hrefLookup(e)})}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initializeModules(){this.handles=await _()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:a,mapViewerDesc:n,arcgisStoryMaps:p,storyMapsDesc:l,experienceBuilder:A,experienceBuilderDesc:$,dashboards:y,dashboardsDesc:k}=this._messages;this._createOptionsLookup={"instant-apps":{title:t,subtitle:e,img:c("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:a,subtitle:n,img:c("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:p,subtitle:l,img:c("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:A,subtitle:$,img:c("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:y,subtitle:k,img:c("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),a=this._getEnvironment(e),n=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${n}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${n}`;case"story-maps":return`https://storymaps${a==="prod"?"":a}.arcgis.com/stories/new?${n}`;case"experience-builder":return`https://experience${a==="prod"?"":a}.arcgis.com/builder/page/template/?${n}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:a,urlKey:n}=t,{protocol:p}=window.location,l=n?`${n}.${e}`:a;return`${p}//${l}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return s`<div class=${o(this.baseClass)}>${t}</div>`}renderPopover(){let t=this.renderPanel();return[s`<calcite-popover reference-element=create-popover-btn .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close .label=${this._messages.createLabel} ${g(this.popoverEl)}>${t}</calcite-popover>`,s`<calcite-action id=create-popover-btn alignment=center .icon=${this.popoverIcon} title=${this._messages.create??h} .text=${this._messages.create}></calcite-action>`]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderPanelOptions(),a=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return s`<div class=${o(a)}>${t}${e}</div>`}renderHeader(){return s`<div class=${o(i.header)}><h3>${this._messages.create}</h3><p>${this._messages.createSubheading}</p></div>`}renderPanelOptions(){return s`<nav>${this.options.map(t=>this.renderOption(t))}</nav>`}renderOption(t){if(typeof t=="string"&&(t=this._createOptionsLookup?.[t]),t==null)return s`<div></div>`;let{title:e,subtitle:a,img:n,href:p}=t;return s`<a class=${o(i.option)} href=${p??h} target=_blank>${s`<span class=${o(i.optionIcon)} .innerHTML=${n??""}></span><span class=${o(i.optionText)}><span class=${o(i.optionTextWrapper)}><h3 class=${o(i.optionTitle)}>${e}</h3><calcite-icon scale=s icon=launch></calcite-icon></span><p class=${o(i.optionSubtitle)}>${a}</p></span>`}</a>`}};w("instant-apps-create",v);export{v as InstantAppsCreate};
3
+ v1.2.0-next.8 */
4
+ import{a as x}from"./MHTAOZQX.js";import{a as b}from"./7H6T2HT6.js";import{c as _}from"./INYDJYFF.js";import{b as w}from"./U6NBLLMQ.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{C as u,D as g,E as f,G as o,h as m,i as s,l as h}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var d={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},z=new Map;Object.keys(d).forEach(r=>{z.set(r,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${d[r].fill}"><path d="${d[r].path}"/></svg>`)});function c(r){return z.get(r)||""}var V=m`:host{display:block;--instant-apps-create-action-background: var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-create-action-background-press: var(--calcite-color-foreground-3);--instant-apps-create-action-height: 100%;--instant-apps-create-action-width: fit-content;--instant-apps-create-action-icon-color: var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-create-background: var(--calcite-color-foreground-1);--instant-apps-create-text-color: var(--calcite-color-text-1);--instant-apps-create-popover-width: 450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1: var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1: var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 .5rem;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:.5rem;cursor:pointer;--calcite-color-text-link: var(--calcite-color-text-1);align-items:stretch;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.instant-apps-create__option:first-of-type{margin-top:.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:.75rem;color:var(--calcite-color-text-2);padding:.75rem 0 0 .75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:.25rem;color:#7e7e7e;--tw-translate-x: 0px;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:.15s;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}`,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",header:"instant-apps-create__header",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle"},v=class extends f{constructor(){super(...arguments),this._messages=b({name:"instant-apps-create",blocking:!0}),this.popoverEl=u(),this.baseClass=i.baseLight,this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"]}static{this.properties={baseClass:16,popoverIcon:1,mode:3,popoverPositioning:1,popoverPlacement:1,showHeader:5,content:0,options:0,portal:0}}static{this.styles=V}async load(){this.baseClass=x(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),this.initializePredefinedOptions()}willUpdate(t){t.has("content")&&this._createOptionsLookup&&Object.keys(this._createOptionsLookup).forEach(e=>{this._createOptionsLookup[e].href=this.hrefLookup(e)})}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initializeModules(){this.handles=await _()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:a,mapViewerDesc:n,arcgisStoryMaps:p,storyMapsDesc:l,experienceBuilder:A,experienceBuilderDesc:$,dashboards:y,dashboardsDesc:k}=this._messages;this._createOptionsLookup={"instant-apps":{title:t,subtitle:e,img:c("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:a,subtitle:n,img:c("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:p,subtitle:l,img:c("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:A,subtitle:$,img:c("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:y,subtitle:k,img:c("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),a=this._getEnvironment(e),n=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${n}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${n}`;case"story-maps":return`https://storymaps${a==="prod"?"":a}.arcgis.com/stories/new?${n}`;case"experience-builder":return`https://experience${a==="prod"?"":a}.arcgis.com/builder/page/template/?${n}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:a,urlKey:n}=t,{protocol:p}=window.location,l=n?`${n}.${e}`:a;return`${p}//${l}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return s`<div class=${o(this.baseClass)}>${t}</div>`}renderPopover(){let t=this.renderPanel();return[s`<calcite-popover reference-element=create-popover-btn .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close .label=${this._messages.createLabel} ${g(this.popoverEl)}>${t}</calcite-popover>`,s`<calcite-action id=create-popover-btn alignment=center .icon=${this.popoverIcon} title=${this._messages.create??h} .text=${this._messages.create}></calcite-action>`]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderPanelOptions(),a=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return s`<div class=${o(a)}>${t}${e}</div>`}renderHeader(){return s`<div class=${o(i.header)}><h3>${this._messages.create}</h3><p>${this._messages.createSubheading}</p></div>`}renderPanelOptions(){return s`<nav>${this.options.map(t=>this.renderOption(t))}</nav>`}renderOption(t){if(typeof t=="string"&&(t=this._createOptionsLookup?.[t]),t==null)return s`<div></div>`;let{title:e,subtitle:a,img:n,href:p}=t;return s`<a class=${o(i.option)} href=${p??h} target=_blank>${s`<span class=${o(i.optionIcon)} .innerHTML=${n??""}></span><span class=${o(i.optionText)}><span class=${o(i.optionTextWrapper)}><h3 class=${o(i.optionTitle)}>${e}</h3><calcite-icon scale=s icon=launch></calcite-icon></span><p class=${o(i.optionSubtitle)}>${a}</p></span>`}</a>`}};w("instant-apps-create",v);export{v as InstantAppsCreate};
@@ -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.6 */
4
- import{a as e}from"./PDCOACTW.js";import{a as _}from"./BFLK4MV3.js";import{b as f}from"./V4HWOWHO.js";import"./HIXYDI5J.js";import"./U4MDUHGI.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"./QMVHLMJD.js";import"./6OU6VXZE.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.8 */
4
+ import{a as e}from"./S6SVJ7VM.js";import{a as _}from"./7H6T2HT6.js";import{b as f}from"./U6NBLLMQ.js";import"./5QWPDEIM.js";import"./YSM46MQM.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"./4UW2NAO4.js";import"./CSOVKKCB.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,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.6 */
4
- import{b as o}from"./SEYIBXFF.js";import{b as d}from"./43AII6JW.js";import{C as n,D as a,E as r,h as t,i as s}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var h=t`/**
3
+ v1.2.0-next.8 */
4
+ import{b as o}from"./HSJ5YBGH.js";import{b as d}from"./5J45SC6T.js";import{C as n,D as a,E as r,h as t,i as s}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var h=t`/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.6 */
4
- import{a as u}from"./7OLNN2MW.js";import a from"./GNTRINMX.js";import{a as C}from"./PDCOACTW.js";import{a as x}from"./BFLK4MV3.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./WDQUXD5I.js";import{b as S}from"./V4HWOWHO.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./QMVHLMJD.js";import"./6OU6VXZE.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
3
+ v1.2.0-next.8 */
4
+ import{a as u}from"./TYTEAAIQ.js";import a from"./W6EJ2GL5.js";import{a as C}from"./S6SVJ7VM.js";import{a as x}from"./7H6T2HT6.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./INYDJYFF.js";import{b as S}from"./U6NBLLMQ.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./4UW2NAO4.js";import"./CSOVKKCB.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.6 */
4
- import{a,b}from"./MIC6LQDI.js";import"./DYURGKBB.js";import"./4VRBEE4E.js";import"./ZGHTOGQP.js";import"./6OU6VXZE.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
3
+ v1.2.0-next.8 */
4
+ import{a,b}from"./LX2HTLJY.js";import"./QVMJ2ERO.js";import"./AWUMOVFD.js";import"./UNBTQP3H.js";import"./CSOVKKCB.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
@@ -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.6 */
4
- import e from"./NQISLIAP.js";import c from"./P2XBWR3K.js";import"./7OLNN2MW.js";import b from"./GNTRINMX.js";import"./WDQUXD5I.js";import{b as o}from"./V4HWOWHO.js";import"./U4MDUHGI.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./QMVHLMJD.js";import"./6OU6VXZE.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
3
+ v1.2.0-next.8 */
4
+ import e from"./RNRJYQR6.js";import c from"./JJLMC76G.js";import"./TYTEAAIQ.js";import b from"./W6EJ2GL5.js";import"./INYDJYFF.js";import{b as o}from"./U6NBLLMQ.js";import"./YSM46MQM.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./4UW2NAO4.js";import"./CSOVKKCB.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.6 */
4
- import{a as e}from"./7F75Q6X6.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
3
+ v1.2.0-next.8 */
4
+ import{a as e}from"./CIAMCYZF.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
@@ -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.6 */
4
- import{a as r}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as o}from"./43AII6JW.js";import{E as n,h as l,i as a,o as i}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var c=l`/** @license
3
+ v1.2.0-next.8 */
4
+ import{a as r}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as o}from"./5J45SC6T.js";import{E as n,h as l,i as a,o as i}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var c=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.6 */
4
- import{a,b}from"./HLI457TP.js";import"./DYURGKBB.js";import"./4VRBEE4E.js";import"./ZGHTOGQP.js";import"./6OU6VXZE.js";export{a as ContentEditorTypes,b as ContentSchema};
3
+ v1.2.0-next.8 */
4
+ import{a,b}from"./OUVL2CVN.js";import"./QVMJ2ERO.js";import"./AWUMOVFD.js";import"./UNBTQP3H.js";import"./CSOVKKCB.js";export{a as ContentEditorTypes,b as ContentSchema};
@@ -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.6 */
4
- import{a as t}from"./A6SDFMS4.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.2.0-next.8 */
4
+ import{a as t}from"./QWORBXNV.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s 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.6 */
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"./QMVHLMJD.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.8 */
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"./4UW2NAO4.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};
@@ -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.6 */
4
- import{b as d}from"./43AII6JW.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
3
+ v1.2.0-next.8 */
4
+ import{b as d}from"./5J45SC6T.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
@@ -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.8 */
4
+ import a from"./HPA3S6EH.js";import"./YOT3LZNC.js";import"./ERFMMLHY.js";import"./QY2SAW3T.js";import"./5PBSBYXZ.js";import"./NGIFYBG2.js";import"./RJGQ2WIC.js";import"./YFMWAKPP.js";import"./7H3RLLAJ.js";import"./EVFLREAG.js";import"./GEWRTAEY.js";import"./HIZ63N6P.js";import"./TTCKLGK7.js";import"./2MW5FFFN.js";import"./Y5BRDADM.js";import"./DT5VPDH3.js";import"./DAJPL7A6.js";import"./QWORBXNV.js";import"./EYXMOG4T.js";import"./BZOHPBSK.js";import"./6DNV5PJB.js";import{a as S}from"./4UPTPCCV.js";import"./U6NBLLMQ.js";import{c as w,j as M}from"./UJQYAOZR.js";import{j as u}from"./JWECLXIX.js";import"./NUBZKYGY.js";import{b as L}from"./HSJ5YBGH.js";import{a as $}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as v}from"./5J45SC6T.js";import{C as r,D as h,E as I,G as f,h as y,i as o,l as m,o as p,r as g}from"./4UW2NAO4.js";import"./CSOVKKCB.js";export default $arcgis.t(([{l:W}])=>{function V(l){return l?.indexOf("http://")!==-1}function b(l){return V(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(s=>{l.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=b(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=b(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=b(s.proxyUrl))}}))})}),l}var k=y`@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;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}.panel-header-override{--calcite-panel-header-content-space: 0px}@media only screen and (max-width:1024px){.esri-zoom{display:none!important}}}`,_=class extends I{constructor(){super(),this.defaultWebmapId="",this.defaultLayerId="",this.enableHome=!1,this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableShare=!1,this.enableMapLayerPicker=!1,this.enableMapPicker=!1,this.enableSingleExpand=!1,this.enableSearch=!1,this.enableBasemap=!1,this.featureSelectionMode="multiple",this.hide=!1,this.zoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-leading",this.mobileMapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.stackTools=!1,this.mapToolsOrder=[],this.mobileToolsOrder=[],this.isMapLayout=!1,this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.selectedFeaturesIds=[],this.showOnlyUpdatableLayers=!1,this.isMobile=!1,this.enableSelectionTool=!1,this._configLayerOrderDefined=!1,this._translations=$({name:"map-card",blocking:!0}),this._toolInfos=[],this._filterActive=!1,this._enabledLayerIds=[],this._defaultWebmapHonored=!1,this._loadedId="",this._mapDiv=r(),this._mapPicker=r(),this._mapTools=r(),this._mobMapTools=r(),this._mapListExpanded=!1,this._definitionExpression="",this._mapLayerPicker=r(),this._toolbar=r(),this._selectedWebMapId="",this._isValidWebMap=!0,this.mapChanged=p(),this.beforeMapChanged=p(),this.toggleFilter=p(),this.clearSelection=p(),this.editMultipleFeatures=p(),this.listenOn(window,"mapInfoChange",this.mapInfoChange),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.enableSingleExpand=!0,this.stackTools=!0,S(window)}static{this.properties={appLayout:1,appProxies:1,defaultWebmapId:1,defaultLayerId:1,enableHome:5,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableShare:5,enableMapLayerPicker:5,enableMapPicker:5,enableSingleExpand:5,enableSearch:5,enableBasemap:5,featureSelectionMode:1,basemapConfig:0,hide:5,zoomToolsSize:1,mapInfos:0,mapWidgetsIndex:9,mapWidgetsPosition:1,mobileMapWidgetsPosition:1,mapWidgetsSize:1,mapView:0,stackTools:5,theme:1,mapToolsOrder:0,mobileToolsOrder:0,isMapLayout:5,shareIncludeEmbed:5,shareIncludeSocial:5,selectedFeaturesIds:0,selectedLayer:0,zoomToScale:9,showOnlyUpdatableLayers:5,isMobile:5,mapInfo:0,enableSelectionTool:5,_configLayerOrderDefined:16,_translations:16,_searchConfiguration:16,_webMapInfo:16,_toolInfos:16,_filterActive:16,_mapDivHeight:16,_mapDivWidth:16}}static{this.styles=k}static{this.shadowRootOptions=g}willUpdate(e){e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("selectedLayer")&&this.selectedLayerWatchHandler(),e.has("selectedFeaturesIds")&&this.selectedFeaturesIdsWatchHandler()}appLayoutWatchHandler(){this._updateShareUrl()}async mapInfoWatchHandler(){this._configLayerOrderDefined="configLayerOrder"in(this.mapInfo?.layerOptions||{}),this._enabledLayerIds=W(this.mapInfo?.layerOptions?.layers||[],this.mapInfo?.layerOptions?.configLayerOrder)}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await this.selectedLayer?.when(async()=>{this._definitionExpression=this.selectedLayer?.definitionExpression||""})}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(e){this._filterActive=e,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.value&&this._mapLayerPicker.value.updateLayer()}async mapInfoChange(e){this._selectedWebMapId=e.detail.id,await this._loadMap(e.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout(()=>{this._initToolInfos()},50)}async load(){await this._initModules(),this._initToolInfos(),this._mapSizeObserver||(this._mapSizeObserver=new ResizeObserver(()=>{if(this._mapDivWidth&&this._mapDiv.value){let e=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value.offsetWidth-e}}))}render(){let e=this.hide?"visibility-hidden-1":"",i=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",s="height-full",t=this.isMapLayout?"":"display-none",a=this._isValidWebMap?"":"hidden",d=this.isMobile?"":"hidden";return this._handleMapVisibility(),this._validateActiveActions(),o`<calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker()}${this._getHeaderActions()}<div slot=header-actions-end class="display-flex absolute-right">${this.enableShare&&this.isMapLayout?this._getShare("share"):void 0}</div><calcite-progress class=${f(t)} value=0></calcite-progress><div class=${`${e} ${s}`}><div class="height-full" ${h(this._mapDiv)}></div></div>${o`<map-tools .basemapConfig=${this.basemapConfig} class=${`box-shadow ${i} ${a}`} .defaultLayerId=${this.defaultLayerId} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .enableSelectionTool=${this.enableSelectionTool} .isMobile=${this.isMobile} .parentComponentHeight=${this._mapDivHeight} .parentComponentWidth=${this._mapDivWidth} .zoomToolsSize=${this.zoomToolsSize} layout=horizontal .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .selectedLayer=${this.selectedLayer} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.mapToolsOrder} ${h(this._mapTools)}></map-tools><map-tools class=${`box-shadow ${i} ${d}`} .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this._enabledLayerIds} .enableMapLayerPicker=${this.enableMapLayerPicker} .enableMapPicker=${this.enableMapPicker} .isMobile=${this.isMobile} .zoomToolsSize=${this.zoomToolsSize} layout=vertical .mapInfos=${this.mapInfos} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .parentComponentHeight=${this._mapDivHeight} .position=${this.mobileMapWidgetsPosition} .selectedLayer=${this.selectedLayer} .selectedWebMapId=${this._selectedWebMapId} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} .stackTools=${this.stackTools} .toolOrder=${this.mobileToolsOrder} ${h(this._mobMapTools)}></map-tools>`}</calcite-panel>`}updated(){this._mapDivHeight=this._mapDiv.value?.offsetHeight??0,document.onclick=e=>this._handleDocumentClick(e)}loaded(){this._mapDiv.value&&this._mapSizeObserver?.observe(this._mapDiv.value),this._updateShareUrl()}async _initModules(){let[e,i,s,t]=await L(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=e,this.MapView=i,this.Home=s,this.esriConfig=t}async _loadMap(e){let i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter(n=>n.id===this.defaultWebmapId),t=JSON.stringify(e)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!e?.id&&this.mapInfos.length>0?this.mapInfos[0]:e;let a=this._webMapInfo.id,d=i&&e?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||d){let n=this.WebMap&&new this.WebMap({portalItem:{id:a}});try{n&&await n.load(),this.appProxies&&n&&this.esriConfig&&await T(n,this.esriConfig,this.appProxies),this.mapView=this.MapView&&new this.MapView({container:this._mapDiv.value,map:n,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapView&&await this.mapView.when(()=>{if(this.mapView){let c=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value&&this._mapDiv.value.offsetWidth-c,this._mapTools.value&&this.mapView.ui.add(this._mapTools.value,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._mobMapTools.value&&this.mapView.ui.add(this._mobMapTools.value,{position:this.mobileMapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=d?!0:this._defaultWebmapHonored,this._isValidWebMap=!0,this.mapChanged.emit({id:a,mapView:this.mapView,isValid:!0}),this.isMobile||document.getElementsByClassName("esri-zoom")[0]?.classList.remove("display-none")}})}catch(c){console.error(c),this._loadedId=a,this._isValidWebMap=!1,this.mapChanged.emit({id:a,mapView:void 0,isValid:!1}),document.getElementsByClassName("esri-zoom")[0]?.classList.add("display-none");return}}else i?(this._defaultWebmapHonored=!0,this._mapPicker.value&&this._mapPicker.value.setMapByID(a)):t&&this.mapView&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView,isValid:!0}));this._updateShareUrl()}_getMapLayerPicker(){let e=this.isMapLayout?"header-actions-start":"",i=this.mapInfos?.length>1?"":"display-none",s=this.isMapLayout?"height-0":"width-full",t="display-flex",a=this.isMapLayout?"":"display-none";return o`${!this.isMobile&&o`<div slot=${e??m}><map-picker class=${`${i} ${s}`} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} .selectedWebMapId=${this._selectedWebMapId} ${h(this._mapPicker)}></map-picker></div>`||""}<div slot=header-actions-start class=${`mapView-header display-flex ${a}`} id=solutions-map-layer-picker-container><div class=${`border-end ${t}`}>${this.mapView&&o`<map-layer-picker appearance=transparent .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${h(this._mapLayerPicker)}></map-layer-picker>`||""}</div></div>`}_getHeaderActions(){return o`<div slot=header-content><calcite-action-bar class=${f("display-flex")} expand-disabled expanded id=${this._getId("bar")??m} layout=horizontal><calcite-action-group>${this.isMapLayout?this._getActions():void 0}</calcite-action-group></calcite-action-bar></div>`}_getShare(e){return o`<div class="share-action" id=${this._getId(e)??m}>${this.mapView&&o`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${h(i=>{i&&(this._shareNode=i,this._updateShareUrl())})}></instant-apps-social-share>`||""}${this._getToolTip("bottom",`map-${e}`,this._translations?.share)}</div>`}_updateShareUrl(){let e=this._shareNode?.shareUrl;if(!e)return;let i=new URL(e);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),this.appLayout&&i.searchParams.set("applayout",this.appLayout),this._shareNode&&(this._shareNode.autoUpdateShareUrl=!1,this._shareNode.shareUrl=i.href)}_initToolInfos(){let e=this.selectedFeaturesIds.length>0,i=this.selectedFeaturesIds.length<2||this.selectedFeaturesIds.length>u,s=this.featureSelectionMode==="multiple"&&this.selectedLayer?.capabilities?.operations.supportsUpdate,t=[];t.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>void this._toggleFilter(),disabled:!1,toolTip:this._translations.filters}),t.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>void this._zoom(),disabled:!e,toolTip:this._translations.zoom}),s&&t.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this.selectedFeaturesIds),disabled:i,toolTip:this._translations.editMultiple}),t.push({active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer?.refresh(),disabled:!1,toolTip:this._translations.refresh}),t.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!e,toolTip:this._translations.clearSelection}),this._toolInfos=[...t]}_validateActiveActions(){let e=["filter"];this._toolInfos?.forEach(i=>{i&&e.indexOf(i.icon)>-1&&i.icon==="filter"&&(i.indicator=this._filterActive)})}_handleMapVisibility(){if(this._mapDiv.value){let e=this._mapDiv.value.getElementsByClassName("esri-view-surface")[0],i=this._mapDiv.value.getElementsByClassName("esri-attribution")[0];this._isValidWebMap?(e?.classList.remove("hidden"),i?.classList.remove("hidden")):(e?.classList.add("hidden"),i?.classList.add("hidden"))}}_validateEnabledActions(){let e=this.selectedFeaturesIds.length>0,i=this.selectedFeaturesIds.length<2||this.selectedFeaturesIds.length>u,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach(t=>{t&&s.indexOf(t.icon)>-1&&(t.disabled=t.icon==="pencil"?i:!e,t.toolTip=t.icon==="pencil"?this.selectedFeaturesIds.length>u?this._translations.featureEditLimitNotice:this._translations.editMultiple:t.toolTip)})}_handleDocumentClick(e){e.target.tagName!=="MAP-PICKER"&&(this._mapListExpanded=!1,this._mapPicker.value&&this._mapPicker.value.close())}async _zoom(){if(this.selectedLayer&&this.mapView){let e=await w(this.mapView,this.selectedLayer.id);e&&await M(this.selectedFeaturesIds,e,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let e=[];return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===this.selectedLayer?.id)),e.length>0}_getActions(){return this._toolInfos?.reduce((e,i)=>(i&&e.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,i.toolTip)),e),[])}_getToolTip(e,i,s){return o`<calcite-tooltip .placement=${e} .referenceElement=${i}><span>${s}</span></calcite-tooltip>`}_getAction(e,i,s,t,a,d,n,c){let x=this.selectedLayer===void 0?!0:d;return o`<calcite-action .active=${e} appearance=solid .disabled=${x} .icon=${i} .id=${`map-${i}`} .indicator=${s} .label=${t} .loading=${n} @click=${a} .text=${t} text-enabled></calcite-action>${this._getToolTip("auto",`map-${i}`,c)}`}_getId(e){return`solutions-action-${e}`}};v("map-card",_);return _},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.6 */
4
- import"./6OU6VXZE.js";var a="No teniu cr\xE8dits suficients per dur a terme aquesta operaci\xF3. Poseu-vos en contacte amb el vostre administrador de sistemes de l'ArcGIS per obtenir ajuda.",e="Aquesta eina s'ha publicat des d'un notebook. L'acc\xE9s a l'ArcGIS Notebooks est\xE0 bloquejat per a la vostra organitzaci\xF3. Poseu-vos en contacte amb l'administrador per ajustar la configuraci\xF3.",r="${ dataPath } no pot tenir ${ additionalProperty }.",s="${ dataPath } ha de coincidir amb l'esquema d'un d'aquests: ${ schemaOptions }.",o="Proveu de tornar a desar el mapa.",t="No s'han pogut estimar els cr\xE8dits. Desplaceu-vos cap avall, corregiu els errors i torneu a estimar els cr\xE8dits.",i="S'ha produ\xEFt un error en executar l'an\xE0lisi.",l="${ dataPath } ha de ser igual a un d'aquests valors permesos: ${ allowedValues }.",n="No s'ha pogut desar l'historial d'an\xE0lisi",d="L'emmagatzematge d'historial s'ha exhaurit. Elimineu alguns elements de l'historial d'an\xE0lisi i proveu de tornar-lo a desar.",c="El nom del servei cont\xE9 un o diversos car\xE0cters no v\xE0lids.",u="No s'ha pogut completar l'acci\xF3 de desar la capa temporal com a capa d'entitats allotjada.",m="No s'han pogut obtenir les propietats clau.",p="No s'ha pogut carregar la capa.",h="La capa no est\xE0 disponible.",v="${ dataPath } no pot tenir m\xE9s de ${ limit } elements.",g="S'ha produ\xEFt un error en desar el model. Torneu a provar de desar-lo.",E="${ dataPath } no pot tenir menys de ${ limit } elements.",y="${ dataPath } no pot tenir menys de ${ limit } car\xE0cters.",P="No s'ha pogut carregar l'element del model. Assegureu-vos que el model existeixi i que s'hagi concedit el perm\xEDs d'acc\xE9s.",b="No s'ha pogut completar la sol\xB7licitud.",N="No teniu perm\xEDs per executar aquesta eina. <calcite-link target='_blank' href='${ docLink }'>M\xE9s informaci\xF3</calcite-link>",f="No s'ha pogut iniciar la sessi\xF3 al portal.",S="No s'han pogut llegir les dades d'entrada.",q="A ${ dataPath } li falta una propietat anomenada ${ missingProperty }.",$="Ja existeix una capa de resultats amb aquest nom. Les capes de resultats han de ser anomenats de manera \xFAnica a tota l'organitzaci\xF3. Utilitzeu un altre nom.",k="El nom de la sortida cont\xE9 un o diversos car\xE0cters no v\xE0lids. <a href='${docLink}' target='_blank'>Obteniu m\xE9s informaci\xF3.</a>",x="No s'ha pogut publicar la capa temporal com a capa allotjada perqu\xE8 hi ha camps que no s\xF3n v\xE0lids. Torneu a executar l'eina per crear una capa amb camps v\xE0lids.",I="No s'ha pogut enviar el treball. Desplaceu-vos cap avall, corregiu els errors i torneu a executar l'an\xE0lisi.",L="${ dataPath } ha de tenir almenys un car\xE0cter que no sigui un espai en blanc.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:s,cannotWriteToItemResource:o,creditEstimationError:t,defaultError:i,enumValues:l,failedToSaveHistory:n,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:g,minItems:E,minLength:y,modelNotFound:P,networkError:b,noPermissionToAccessTool:N,portalLoadError:f,queryFeaturesError:S,requiredProperty:q,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:x,toolValidationError:I,whiteSpacePattern:L};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,s as anyOfValues,o as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,l as enumValues,n as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,g as mbFailedToSave,E as minItems,y as minLength,P as modelNotFound,b as networkError,N as noPermissionToAccessTool,f as portalLoadError,S as queryFeaturesError,q as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,x as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.2.0-next.8 */
4
+ import"./CSOVKKCB.js";var a="No teniu cr\xE8dits suficients per dur a terme aquesta operaci\xF3. Poseu-vos en contacte amb el vostre administrador de sistemes de l'ArcGIS per obtenir ajuda.",e="Aquesta eina s'ha publicat des d'un notebook. L'acc\xE9s a l'ArcGIS Notebooks est\xE0 bloquejat per a la vostra organitzaci\xF3. Poseu-vos en contacte amb l'administrador per ajustar la configuraci\xF3.",r="${ dataPath } no pot tenir ${ additionalProperty }.",s="${ dataPath } ha de coincidir amb l'esquema d'un d'aquests: ${ schemaOptions }.",o="Proveu de tornar a desar el mapa.",t="No s'han pogut estimar els cr\xE8dits. Desplaceu-vos cap avall, corregiu els errors i torneu a estimar els cr\xE8dits.",i="S'ha produ\xEFt un error en executar l'an\xE0lisi.",l="${ dataPath } ha de ser igual a un d'aquests valors permesos: ${ allowedValues }.",n="No s'ha pogut desar l'historial d'an\xE0lisi",d="L'emmagatzematge d'historial s'ha exhaurit. Elimineu alguns elements de l'historial d'an\xE0lisi i proveu de tornar-lo a desar.",c="El nom del servei cont\xE9 un o diversos car\xE0cters no v\xE0lids.",u="No s'ha pogut completar l'acci\xF3 de desar la capa temporal com a capa d'entitats allotjada.",m="No s'han pogut obtenir les propietats clau.",p="No s'ha pogut carregar la capa.",h="La capa no est\xE0 disponible.",v="${ dataPath } no pot tenir m\xE9s de ${ limit } elements.",g="S'ha produ\xEFt un error en desar el model. Torneu a provar de desar-lo.",E="${ dataPath } no pot tenir menys de ${ limit } elements.",y="${ dataPath } no pot tenir menys de ${ limit } car\xE0cters.",P="No s'ha pogut carregar l'element del model. Assegureu-vos que el model existeixi i que s'hagi concedit el perm\xEDs d'acc\xE9s.",b="No s'ha pogut completar la sol\xB7licitud.",N="No teniu perm\xEDs per executar aquesta eina. <calcite-link target='_blank' href='${ docLink }'>M\xE9s informaci\xF3</calcite-link>",f="No s'ha pogut iniciar la sessi\xF3 al portal.",S="No s'han pogut llegir les dades d'entrada.",q="A ${ dataPath } li falta una propietat anomenada ${ missingProperty }.",$="Ja existeix una capa de resultats amb aquest nom. Les capes de resultats han de ser anomenats de manera \xFAnica a tota l'organitzaci\xF3. Utilitzeu un altre nom.",k="El nom de la sortida cont\xE9 un o diversos car\xE0cters no v\xE0lids. <a href='${docLink}' target='_blank'>Obteniu m\xE9s informaci\xF3.</a>",x="No s'ha pogut publicar la capa temporal com a capa allotjada perqu\xE8 hi ha camps que no s\xF3n v\xE0lids. Torneu a executar l'eina per crear una capa amb camps v\xE0lids.",I="No s'ha pogut enviar el treball. Desplaceu-vos cap avall, corregiu els errors i torneu a executar l'an\xE0lisi.",L="${ dataPath } ha de tenir almenys un car\xE0cter que no sigui un espai en blanc.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:s,cannotWriteToItemResource:o,creditEstimationError:t,defaultError:i,enumValues:l,failedToSaveHistory:n,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:g,minItems:E,minLength:y,modelNotFound:P,networkError:b,noPermissionToAccessTool:N,portalLoadError:f,queryFeaturesError:S,requiredProperty:q,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:x,toolValidationError:I,whiteSpacePattern:L};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,s as anyOfValues,o as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,l as enumValues,n as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,g as mbFailedToSave,E as minItems,y as minLength,P as modelNotFound,b as networkError,N as noPermissionToAccessTool,f as portalLoadError,S as queryFeaturesError,q as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,x as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.6 */
4
- import{a as r}from"./HIXYDI5J.js";import{c as o}from"./43AII6JW.js";var s=r(o);export{s as a};
3
+ v1.2.0-next.8 */
4
+ import{a as r}from"./5QWPDEIM.js";import{c as o}from"./5J45SC6T.js";var s=r(o);export{s as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.6 */
4
- import{c as m}from"./UHRZV2BI.js";import{b as g}from"./RNJUJD2O.js";import{a as u}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as p}from"./43AII6JW.js";import{C as s,E as h,h as c,i as t,o as d}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var b=c`/** @license
3
+ v1.2.0-next.8 */
4
+ import{c as m}from"./JKSI5ZMB.js";import{b as g}from"./ZZ3Y6MJT.js";import{a as u}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as p}from"./5J45SC6T.js";import{C as s,E as h,h as c,i as t,o as d}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var b=c`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.8 */
4
+ import{b as y}from"./JKSI5ZMB.js";import{b as v}from"./ZZ3Y6MJT.js";import{a as _}from"./XLHMGVQW.js";import{k as b,l as m}from"./JWECLXIX.js";import{a as g}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as f}from"./5J45SC6T.js";import{C as o,D as a,E as d,G as p,H as r,I as u,h as c,i,o as h}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var S=c`/** @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:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.height-32{height:32px}`,n=class extends d{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=g({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=o(),this._solutionsFilterPanelRef=o(),this._isMobileContextConsumer=v({context:y,subscribe:!0,callback:e=>this.isMobile=e}),this.filterRemoved=h(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)})}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=S}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(b).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(m).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=t||"",e.domain=s||"",e.value=s||t,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("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.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??u} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-32 ${t}`} 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 @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=${p(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><solutions-filter-panel class="height-100" @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?_(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"in t&&(this._filters.searchTerm=t.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(t)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};f("solutions-all-shell",n);export{n 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.6 */
4
- import{a as n,e as c,f as d}from"./KEVAPUV7.js";import"./CLZFMS77.js";import"./LY6TIHQF.js";import"./5DBXMD4E.js";import"./RYXX6HET.js";import{d as r}from"./XECYHGO2.js";import"./7ASCWQCT.js";import"./TMCHHM55.js";import"./IYTGK3X3.js";import"./SRTKEQJS.js";import{a as o,b as i}from"./7F75Q6X6.js";import"./SWCTZZ5M.js";import"./P2SYJ24C.js";import"./ECNSXEJQ.js";import"./DBIXZJBF.js";import"./Y4CZ7XFH.js";import"./TK5ARS6D.js";import"./I5ZRIC3T.js";import"./AN4ZPBV5.js";import"./RQU6SEUA.js";import"./Q2ZBJ5N6.js";import"./2EHFNAOJ.js";import"./PHF75FIZ.js";import"./HLI457TP.js";import"./FQYAST2K.js";import"./KS6EZ4SP.js";import"./MIC6LQDI.js";import"./EHEL3Y7B.js";import"./X74PFPTS.js";import"./DYURGKBB.js";import"./4VRBEE4E.js";import"./ZGHTOGQP.js";import"./VKL63NGD.js";import"./6OU6VXZE.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};
3
+ v1.2.0-next.8 */
4
+ import{a as n,e as c,f as d}from"./JHH2YZMO.js";import"./EVFLREAG.js";import"./GEWRTAEY.js";import"./HIZ63N6P.js";import"./TTCKLGK7.js";import{d as r}from"./Y5BRDADM.js";import"./DT5VPDH3.js";import"./DAJPL7A6.js";import"./EYXMOG4T.js";import"./BZOHPBSK.js";import{a as o,b as i}from"./CIAMCYZF.js";import"./7J23JVW4.js";import"./JC7D7DR7.js";import"./Y4TAB6DZ.js";import"./7HKMMQDW.js";import"./3TST23TQ.js";import"./MMT5FM7A.js";import"./DJBQAKM7.js";import"./6DNV5PJB.js";import"./TLSJZ2PC.js";import"./2E36RQGW.js";import"./OR3N345S.js";import"./4K27XVR4.js";import"./OUVL2CVN.js";import"./GRBWDUAE.js";import"./C3ZYJFGZ.js";import"./LX2HTLJY.js";import"./J7CSWKH2.js";import"./K6VGFWR2.js";import"./QVMJ2ERO.js";import"./AWUMOVFD.js";import"./UNBTQP3H.js";import"./QNVIGXOV.js";import"./CSOVKKCB.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};