@esri/solutions-components 1.1.0-next.20251001.1 → 1.1.0-next.20251007
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.
- package/dist/cdn/{NW6RXSQC.js → 2AZCARTQ.js} +2 -2
- package/dist/cdn/2D6HJBXC.js +4 -0
- package/dist/cdn/{5QDFSQJO.js → 2DGFIZ2I.js} +2 -2
- package/dist/cdn/{F3ZUI5T7.js → 2DSW6XTR.js} +2 -2
- package/dist/cdn/{RZRMSPUG.js → 2IE4DIB2.js} +4 -4
- package/dist/cdn/{WT44E4WB.js → 2JLIN4A5.js} +2 -2
- package/dist/cdn/{6C3L2DZO.js → 2QTCOEHJ.js} +2 -2
- package/dist/cdn/{NZW5I4ME.js → 2QXNMQKP.js} +2 -2
- package/dist/cdn/{BH4V7GBG.js → 2U3DF6YZ.js} +2 -2
- package/dist/cdn/{7KE3RMPB.js → 2VKLD4IL.js} +2 -2
- package/dist/cdn/{YRUKQBWR.js → 2WUZ5AWP.js} +2 -2
- package/dist/cdn/{LJNC3CQ4.js → 3AE5CIEW.js} +2 -2
- package/dist/cdn/{RGB3EFOD.js → 3Q7NXF5W.js} +1 -1
- package/dist/cdn/{IUMZOPCZ.js → 3SWFP7GE.js} +2 -2
- package/dist/cdn/{D45QIGUI.js → 43IN6KPS.js} +2 -2
- package/dist/cdn/{P6VJL3SQ.js → 44QLJBVZ.js} +2 -2
- package/dist/cdn/{56WFFMLM.js → 47GF2SJ2.js} +2 -2
- package/dist/cdn/{YQ5VJU2U.js → 4AMDJJTG.js} +2 -2
- package/dist/cdn/{T6YHOTFI.js → 4AYDOLMC.js} +2 -2
- package/dist/cdn/{6N3KGRET.js → 4FXA7VKS.js} +2 -2
- package/dist/cdn/{44YJQ3Z7.js → 4FYNXGMO.js} +1 -1
- package/dist/cdn/{JBWJKX6R.js → 4KNF77QE.js} +2 -2
- package/dist/cdn/{VLEMGKLD.js → 4KSWM4IU.js} +1 -1
- package/dist/cdn/{IXKMX4TL.js → 4P2UVZOP.js} +2 -2
- package/dist/cdn/{6EHWSG37.js → 4PTHWJYE.js} +2 -2
- package/dist/cdn/{U6K7QTEN.js → 4SKANYNT.js} +2 -2
- package/dist/cdn/{UJKEHSSJ.js → 4SZS6G6P.js} +2 -2
- package/dist/cdn/{7YURZN2L.js → 552IHKX7.js} +2 -2
- package/dist/cdn/{CNDP7JNB.js → 57TOCQVV.js} +2 -2
- package/dist/cdn/{CE5P6QNM.js → 5EBIVKX5.js} +2 -2
- package/dist/cdn/{XJUPEAQ5.js → 5F5MRFGZ.js} +2 -2
- package/dist/cdn/{XU2USBFY.js → 5MLYUIJV.js} +2 -2
- package/dist/cdn/{EKTQJHJC.js → 5OCVXO44.js} +2 -2
- package/dist/cdn/{J24EZC35.js → 5R4OBI65.js} +2 -2
- package/dist/cdn/{5Z4MFGB2.js → 5UEORPAW.js} +2 -2
- package/dist/cdn/5XKCPGRG.js +18 -0
- package/dist/cdn/{X3I27DCJ.js → 62NQBYE5.js} +2 -2
- package/dist/cdn/{WL4HZ56C.js → 6A2YLWRH.js} +2 -2
- package/dist/cdn/{NJPPUFFR.js → 6E3RVZJ4.js} +1 -1
- package/dist/cdn/{PZKE7HQT.js → 6NIL5WRG.js} +2 -2
- package/dist/cdn/{HRJCLLXN.js → 6PE6EXBN.js} +2 -2
- package/dist/cdn/{Y5IPQLDH.js → 6VB2IJI6.js} +1 -1
- package/dist/cdn/{F3IFJUMZ.js → 6YKBF3PU.js} +2 -2
- package/dist/cdn/{B5HXNRNU.js → 724RZCUJ.js} +2 -2
- package/dist/cdn/{3NPCU2LT.js → 74VOYCCN.js} +2 -2
- package/dist/cdn/{FAYOSJHL.js → 7C73YP73.js} +2 -2
- package/dist/cdn/{CSL3GOVE.js → 7CXOISFN.js} +1 -1
- package/dist/cdn/{DDZGCU7E.js → 7I3HYIAM.js} +2 -2
- package/dist/cdn/{FXOZ65PA.js → 7ND4XYZX.js} +2 -2
- package/dist/cdn/{NUEDPTPH.js → 7O3U25RG.js} +2 -2
- package/dist/cdn/{46762KZU.js → 7PFJ3YB2.js} +2 -2
- package/dist/cdn/{A6QCOM2P.js → 7YL6B3NW.js} +2 -2
- package/dist/cdn/A2YPGMU7.js +4 -0
- package/dist/cdn/{3V4VKE7V.js → A7MIYW46.js} +2 -2
- package/dist/cdn/{7OHK4L2N.js → AAYPYRT2.js} +2 -2
- package/dist/cdn/{IUJF7M7E.js → AAZAJXP2.js} +2 -2
- package/dist/cdn/{25PXWPED.js → ACKJ6HLJ.js} +2 -2
- package/dist/cdn/{FKGTOFJU.js → AKP7UG5M.js} +2 -2
- package/dist/cdn/AST3Y6YC.js +18 -0
- package/dist/cdn/{AFXENE56.js → AXHOADYB.js} +2 -2
- package/dist/cdn/{APT2GQ3E.js → AXOXQ3L7.js} +2 -2
- package/dist/cdn/{HRWRCQKJ.js → B2SSZL6Z.js} +2 -2
- package/dist/cdn/{R4XUHQKF.js → B4Y6PC7M.js} +2 -2
- package/dist/cdn/{P4LWYJGK.js → BAT23MAG.js} +1 -1
- package/dist/cdn/{TAWCEX4E.js → BD7NNCQC.js} +2 -2
- package/dist/cdn/{GXJDDICF.js → BDMZ6MAE.js} +2 -2
- package/dist/cdn/{QMKOWA5L.js → BGVSICH4.js} +1 -1
- package/dist/cdn/{3LFZ5T7A.js → BKC4PUJC.js} +2 -2
- package/dist/cdn/{VGQMQMW2.js → BLLH45ZM.js} +2 -2
- package/dist/cdn/{OW2VVRPH.js → BLNKUEHQ.js} +1 -1
- package/dist/cdn/{TN6FNGRG.js → BMVUH4BD.js} +2 -2
- package/dist/cdn/{FEU2BADY.js → BQMNOKC6.js} +2 -2
- package/dist/cdn/{XULLRYLK.js → BREEDTFR.js} +2 -2
- package/dist/cdn/{7DWRUYAH.js → BWDUQNHO.js} +2 -2
- package/dist/cdn/{WPGCC72Z.js → BXE4FJZI.js} +2 -2
- package/dist/cdn/{PKDOLQ7V.js → C5MINTS6.js} +2 -2
- package/dist/cdn/{RWIQOF3I.js → CBHX4NKW.js} +2 -2
- package/dist/cdn/{MJKJX3HD.js → CDAD7BAI.js} +2 -2
- package/dist/cdn/CFXGE6YO.js +18 -0
- package/dist/cdn/{QV37GJYO.js → CK4F52TP.js} +2 -2
- package/dist/cdn/{2JLIDK4F.js → CNRCMRFR.js} +2 -2
- package/dist/cdn/{YWMGE5L2.js → CNTUKHXQ.js} +2 -2
- package/dist/cdn/{4HUGCC22.js → CVMBXKS3.js} +2 -2
- package/dist/cdn/{IX57U3VX.js → CYTHT4IX.js} +1 -1
- package/dist/cdn/{RAMU6EDK.js → CZD47EV7.js} +1 -1
- package/dist/cdn/{2Q7W3K2U.js → D6A7FOI5.js} +2 -2
- package/dist/cdn/{SLRIN2EE.js → DEYL3KKC.js} +2 -2
- package/dist/cdn/{IXSWZX3Z.js → DFMOUEOY.js} +2 -2
- package/dist/cdn/DKWP73ZB.js +18 -0
- package/dist/cdn/{UNY6ZPBO.js → DLPWOS2S.js} +2 -2
- package/dist/cdn/{PF74RPRR.js → DMV2AUFK.js} +2 -2
- package/dist/cdn/{NBOMJONT.js → E2BU666U.js} +2 -2
- package/dist/cdn/{SVUWQBJ3.js → E54PKNPS.js} +2 -2
- package/dist/cdn/{VO725MXM.js → EASJMMIP.js} +2 -2
- package/dist/cdn/{UQPYI4YU.js → EE43NZUC.js} +2 -2
- package/dist/cdn/{R4UPDI2V.js → EH5HZMS6.js} +2 -2
- package/dist/cdn/{5KM3OQ45.js → EHHDW5VC.js} +2 -2
- package/dist/cdn/{S4SB5HEM.js → EKV3AXY4.js} +1 -1
- package/dist/cdn/{JY3JOOER.js → ELNAGE56.js} +2 -2
- package/dist/cdn/{F2SBQZXY.js → ELV7WOWP.js} +2 -2
- package/dist/cdn/{JN6MPXCJ.js → EMKALPKM.js} +2 -2
- package/dist/cdn/{OYFTOJO5.js → EP4UGUEJ.js} +2 -2
- package/dist/cdn/{O3IYQZS4.js → EQRPJTSO.js} +2 -2
- package/dist/cdn/{TPTWXLY5.js → EW77BRVK.js} +1 -1
- package/dist/cdn/{RSRNKFJB.js → EX2HZYXJ.js} +2 -2
- package/dist/cdn/{CUDC5ZC7.js → F3CTFVF3.js} +2 -2
- package/dist/cdn/{XXQBIMTA.js → F43I52D6.js} +2 -2
- package/dist/cdn/{AFO27NTW.js → F4X5QO7H.js} +2 -2
- package/dist/cdn/{ETU34LXS.js → F55DVFGV.js} +2 -2
- package/dist/cdn/F7NK2ZDC.js +18 -0
- package/dist/cdn/{3SVM2RHB.js → FCEPATIT.js} +2 -2
- package/dist/cdn/{EZY6IHIO.js → FCTVPKTW.js} +2 -2
- package/dist/cdn/{T3TTYN47.js → FDYYIPGA.js} +2 -2
- package/dist/cdn/{4U2MELLO.js → FLBZR6QM.js} +2 -2
- package/dist/cdn/{K4MN47BN.js → FPAZPLYR.js} +2 -2
- package/dist/cdn/{VX5NJVMO.js → FSOQTW3R.js} +2 -2
- package/dist/cdn/{5MJ2X7WW.js → FTQ25G6S.js} +11 -11
- package/dist/cdn/{ABW4FZ4A.js → FV7PDAAZ.js} +2 -2
- package/dist/cdn/{JIGAUQSV.js → FYEINK5S.js} +2 -2
- package/dist/cdn/{E2XUVMWF.js → FYQCB2K2.js} +2 -2
- package/dist/cdn/{ONWRZL4D.js → FZ2AHQWZ.js} +2 -2
- package/dist/cdn/FZEGBYLU.js +18 -0
- package/dist/cdn/{IT423KGN.js → GB7MQFMY.js} +2 -2
- package/dist/cdn/{UUQJFS5C.js → GK73RAPL.js} +2 -2
- package/dist/cdn/{VPDB3Z3Z.js → GPJSSBQP.js} +2 -2
- package/dist/cdn/{4HPGRAZN.js → GSLNNZC3.js} +2 -2
- package/dist/cdn/{ZZQSJXAH.js → GVD6DTFG.js} +2 -2
- package/dist/cdn/{6KPQJMWZ.js → GXRV7RM3.js} +2 -2
- package/dist/cdn/{53CTPJ7L.js → GYX34AVR.js} +2 -2
- package/dist/cdn/{LABCPCJ5.js → H2O2MNSM.js} +3 -3
- package/dist/cdn/{IAGYOESJ.js → HHWLPZBQ.js} +1 -1
- package/dist/cdn/HML532KH.js +4 -0
- package/dist/cdn/{EG6O4RGD.js → HMPAG3DM.js} +2 -2
- package/dist/cdn/{RWQTCZS7.js → HS7QACIV.js} +2 -2
- package/dist/cdn/{OCBVKLSL.js → HWIHOVWP.js} +1 -1
- package/dist/cdn/{T4VXASQ3.js → I4KZ4IWL.js} +1 -1
- package/dist/cdn/{2AEYT5EN.js → I5CZOAWC.js} +2 -2
- package/dist/cdn/{HIZLEBSM.js → I6ICK7T2.js} +1 -1
- package/dist/cdn/{UDPIYAP4.js → I7NYLB6M.js} +2 -2
- package/dist/cdn/{6OEHSLBL.js → I7OLLWYU.js} +2 -2
- package/dist/cdn/{MOHNOCW5.js → ICUPL3P5.js} +2 -2
- package/dist/cdn/{3QSTJB4G.js → IIZYYA4Y.js} +2 -2
- package/dist/cdn/ILRFSKWK.js +4 -0
- package/dist/cdn/{3Y3QLPOF.js → IT53LSQJ.js} +1 -1
- package/dist/cdn/{FIBLCYVI.js → IUFITMZP.js} +1 -1
- package/dist/cdn/{HMOI5PBK.js → IUNSTTVD.js} +2 -2
- package/dist/cdn/{TJBFLJQE.js → IWXUAUTV.js} +1 -1
- package/dist/cdn/{73DLCY4H.js → IXFIDBVV.js} +2 -2
- package/dist/cdn/{L3FLIUCT.js → IXL7MCZO.js} +2 -2
- package/dist/cdn/{NYNK6MDG.js → IZYSIC5H.js} +2 -2
- package/dist/cdn/JAJO3XWS.js +4 -0
- package/dist/cdn/{X2FKAGGD.js → JCOW7FQV.js} +2 -2
- package/dist/cdn/{2HZNWLFR.js → JFD6YYKC.js} +2 -2
- package/dist/cdn/{4OHW6OFA.js → JFHBX5VG.js} +2 -2
- package/dist/cdn/{5LCTRIUC.js → JGSUEUPR.js} +2 -2
- package/dist/cdn/{5IUMTQEP.js → JJFAXRVR.js} +2 -2
- package/dist/cdn/{KZZQAKAW.js → JKI3NFEX.js} +2 -2
- package/dist/cdn/{P735ARVZ.js → JLFITN4X.js} +2 -2
- package/dist/cdn/{GI43YZFO.js → JM7CE7BU.js} +2 -2
- package/dist/cdn/{UZCZ4YQJ.js → JMOWBDNJ.js} +1 -1
- package/dist/cdn/{GCLQJCPJ.js → JN3EG3ZT.js} +2 -2
- package/dist/cdn/{VOJ5I2DI.js → JN7MS6OE.js} +2 -2
- package/dist/cdn/{ULYWSYT3.js → JNN7O65D.js} +2 -2
- package/dist/cdn/{6RW5X6U7.js → JOHYSRVH.js} +2 -2
- package/dist/cdn/{PJ5GIMQ3.js → JTQIHMUV.js} +2 -2
- package/dist/cdn/{K2XE5PCL.js → JUOGVLUN.js} +2 -2
- package/dist/cdn/{KY6VYS63.js → JUW3C22A.js} +2 -2
- package/dist/cdn/{I77ESG6W.js → K3CKPBR4.js} +1 -1
- package/dist/cdn/{YZEMFOML.js → KCJXM2WD.js} +2 -2
- package/dist/cdn/{EQYKIFSR.js → KFDMXZNX.js} +2 -2
- package/dist/cdn/KFHQ56GV.js +4 -0
- package/dist/cdn/{TPBX5AGW.js → KMRBYQO7.js} +2 -2
- package/dist/cdn/{G4K6QJKG.js → KS5KSXZN.js} +2 -2
- package/dist/cdn/{N6KHEEH3.js → L3D5DBDG.js} +2 -2
- package/dist/cdn/{MJTZKZWX.js → L6KEE7CO.js} +2 -2
- package/dist/cdn/{RMJKDDFJ.js → L7OVTNBC.js} +2 -2
- package/dist/cdn/{2RWVFEFA.js → LEK4SKDC.js} +2 -2
- package/dist/cdn/{ORRNGEPB.js → LI6UY3BW.js} +2 -2
- package/dist/cdn/{TGUYC6XA.js → LK2M24LA.js} +2 -2
- package/dist/cdn/{WO7RS6VM.js → LKLS7OZC.js} +2 -2
- package/dist/cdn/{LHLEEXVK.js → LMYIKSSZ.js} +2 -2
- package/dist/cdn/{ZTNPPZFF.js → LP4CKVU6.js} +2 -2
- package/dist/cdn/{KHMHCKSH.js → LQRN2ZYE.js} +2 -2
- package/dist/cdn/{PNJABFHT.js → LQZH56WC.js} +2 -2
- package/dist/cdn/{4OITS6OK.js → LRCHFOUM.js} +2 -2
- package/dist/cdn/{AADAYMT6.js → LTO6H6S4.js} +2 -2
- package/dist/cdn/{4PNMPCYE.js → LTO6ZYWH.js} +1 -1
- package/dist/cdn/{RY2EWQB3.js → LVYJOWFJ.js} +2 -2
- package/dist/cdn/{NF5FJFX4.js → LWTAHQMO.js} +2 -2
- package/dist/cdn/{FBWQBY27.js → LZON5NIK.js} +1 -1
- package/dist/cdn/{G7TIHPPP.js → M3TQIYRO.js} +2 -2
- package/dist/cdn/{H3JE25P4.js → M6JYAAPC.js} +2 -2
- package/dist/cdn/{EMPCYNVL.js → MATQ5XDV.js} +2 -2
- package/dist/cdn/{KSRDVGLI.js → MDXTMYXB.js} +1 -1
- package/dist/cdn/{Y7XPQ7UZ.js → MFCKBJNG.js} +2 -2
- package/dist/cdn/MGTW76LA.js +18 -0
- package/dist/cdn/{BUZUCGC5.js → MNSINQHA.js} +2 -2
- package/dist/cdn/{M7M7RR3S.js → MP7U4YJC.js} +2 -2
- package/dist/cdn/{26NPWR4E.js → MRVFLAQW.js} +1 -1
- package/dist/cdn/{54UCJPI6.js → MUBJP6SD.js} +2 -2
- package/dist/cdn/{OPY4Z2YE.js → MUT7LU6P.js} +2 -2
- package/dist/cdn/N2655EZT.js +4 -0
- package/dist/cdn/{3ED2DZVC.js → N34QDFSE.js} +2 -2
- package/dist/cdn/{AAHYGMQT.js → N3JFMD3Z.js} +2 -2
- package/dist/cdn/{MGYPSDR4.js → N5GDMYKC.js} +2 -2
- package/dist/cdn/{GGNR6VWM.js → N7BBRC6U.js} +1 -1
- package/dist/cdn/{QOUQNYHD.js → N7BF6BJU.js} +2 -2
- package/dist/cdn/{J232BJHR.js → NFUTJQ6G.js} +2 -2
- package/dist/cdn/{MEFB22VX.js → NH6ZOURV.js} +2 -2
- package/dist/cdn/{6H2IV23Z.js → NIRDZTE6.js} +2 -2
- package/dist/cdn/{ZVGL7CJA.js → NJFED6J6.js} +2 -2
- package/dist/cdn/{TYQY5U2V.js → NJXLJG26.js} +2 -2
- package/dist/cdn/{VRU3BP4W.js → NLQWW2KP.js} +2 -2
- package/dist/cdn/NNTXZQRZ.js +379 -0
- package/dist/cdn/{Y26VV5TR.js → NPYBNSXS.js} +2 -2
- package/dist/cdn/{WRGYCJSM.js → NQWWWUFD.js} +1 -1
- package/dist/cdn/{UBQIWDJ6.js → NT4MLHOA.js} +2 -2
- package/dist/cdn/{MPXO4HWB.js → NVFUKPQC.js} +2 -2
- package/dist/cdn/{KPJDZ6GB.js → O3PEQLZQ.js} +2 -2
- package/dist/cdn/{4DK5FO5H.js → OD3DDRK2.js} +2 -2
- package/dist/cdn/{CPNGZCYJ.js → OG3R45SQ.js} +2 -2
- package/dist/cdn/{4ZBYX6KG.js → OHVE5E6B.js} +3 -3
- package/dist/cdn/{SOB6MDSE.js → OMTBC3UI.js} +2 -2
- package/dist/cdn/{76KBCKGN.js → OQJZEYEF.js} +2 -2
- package/dist/cdn/{XHVAPJYJ.js → ORVXY4O3.js} +2 -2
- package/dist/cdn/{4QAIRZLC.js → OUTJXFMV.js} +2 -2
- package/dist/cdn/{ND2IK3J4.js → OXGQ2TFX.js} +2 -2
- package/dist/cdn/{Z22QJBZP.js → P3MAJXHM.js} +2 -2
- package/dist/cdn/{PNA7VJ2E.js → PHH3PQEX.js} +2 -2
- package/dist/cdn/{K5NA7NZG.js → PN5SJVDO.js} +2 -2
- package/dist/cdn/{QNL73AJ7.js → PVUL25OE.js} +2 -2
- package/dist/cdn/Q7MFBOXJ.js +18 -0
- package/dist/cdn/{I57F65R3.js → QDU3LTAL.js} +1 -1
- package/dist/cdn/{U7QJL6RJ.js → QGDM34WJ.js} +2 -2
- package/dist/cdn/{DWJ66BPI.js → QOLVMCBA.js} +1 -1
- package/dist/cdn/{U3CWV2X3.js → QOY37WXW.js} +2 -2
- package/dist/cdn/{VUVGVTFD.js → QQR6XRGE.js} +2 -2
- package/dist/cdn/QULVZRVY.js +4 -0
- package/dist/cdn/{IOCEGFZ6.js → QXZRXM75.js} +2 -2
- package/dist/cdn/{32Z322VO.js → QZGBZQBD.js} +2 -2
- package/dist/cdn/{LAFNLEAQ.js → R4DMQKY5.js} +2 -2
- package/dist/cdn/{X3WZALYF.js → R4MJXBDO.js} +1 -1
- package/dist/cdn/R7HVAULO.js +4 -0
- package/dist/cdn/RD5GHVVI.js +18 -0
- package/dist/cdn/{YU2HWCG6.js → RF62BZRX.js} +2 -2
- package/dist/cdn/{JXDRM6IS.js → RFBX4UEA.js} +2 -2
- package/dist/cdn/{GOXCTX5F.js → RIAK55ZE.js} +2 -2
- package/dist/cdn/{TYYJ3744.js → RM2LIIIT.js} +2 -2
- package/dist/cdn/{DAHGIWLP.js → RMV2E5QX.js} +1 -1
- package/dist/cdn/{MAHTOZQZ.js → RNNWRYA6.js} +2 -2
- package/dist/cdn/{WLO6G3ZI.js → ROGD6PQR.js} +2 -2
- package/dist/cdn/{Z6B3WHSU.js → RQNPHKAR.js} +2 -2
- package/dist/cdn/{OPKGZD32.js → RRIYSYSG.js} +2 -2
- package/dist/cdn/{QO3MRL5D.js → RYLCCGYQ.js} +1 -1
- package/dist/cdn/{UZ7BFM3X.js → RYNRXDG4.js} +2 -2
- package/dist/cdn/{RH2ESQUL.js → S3DZVORH.js} +2 -2
- package/dist/cdn/{RPMJNS7Y.js → S62BKUL2.js} +1 -1
- package/dist/cdn/{B622V4H4.js → SBJECNAA.js} +2 -2
- package/dist/cdn/{CXEFCT7U.js → SBY3SKOO.js} +2 -2
- package/dist/cdn/{BR2KYFVU.js → SLJBKYCZ.js} +2 -2
- package/dist/cdn/{DX2KWXQH.js → T2PBTRJS.js} +2 -2
- package/dist/cdn/{YG6LBR5J.js → T3MQFEWY.js} +2 -2
- package/dist/cdn/{H7CEQ3X7.js → T6IO3EIO.js} +2 -2
- package/dist/cdn/{ERQ5BYWY.js → TA2EK6T7.js} +2 -2
- package/dist/cdn/{RGWPAFYJ.js → TAEUWCES.js} +2 -2
- package/dist/cdn/{7WP5CYWM.js → TASKYDNG.js} +2 -2
- package/dist/cdn/{MRA34GVV.js → TCCDGCGW.js} +2 -2
- package/dist/cdn/{RFWYMUFZ.js → TF735JBT.js} +2 -2
- package/dist/cdn/{XUPJRKEU.js → TFYB2NTT.js} +2 -2
- package/dist/cdn/{744WKL4B.js → TH3X3X2I.js} +2 -2
- package/dist/cdn/{35U56JIN.js → THKAOBGP.js} +2 -2
- package/dist/cdn/{NJ5MKRTM.js → TMC7ITEQ.js} +2 -2
- package/dist/cdn/{PWQW6QGN.js → TRVXTU3X.js} +2 -2
- package/dist/cdn/{2GNEM4WI.js → TSNRAO3A.js} +2 -2
- package/dist/cdn/TTOD54DS.js +4 -0
- package/dist/cdn/{BAOWCOIZ.js → U3JDZKXZ.js} +2 -2
- package/dist/cdn/{G6EY2AO6.js → U7WE2Z7A.js} +2 -2
- package/dist/cdn/{YYMQ6Q6V.js → UE3LQPYK.js} +2 -2
- package/dist/cdn/{GWPDPRKQ.js → UEAFCV7D.js} +2 -2
- package/dist/cdn/{2K3QGCHY.js → UONZCNUI.js} +2 -2
- package/dist/cdn/{7HHMPR7G.js → UTWWI3OJ.js} +2 -2
- package/dist/cdn/{JSPYOTYK.js → UWJF44VS.js} +2 -2
- package/dist/cdn/{OAFKCPGA.js → UWRYA7O5.js} +2 -2
- package/dist/cdn/{VXL6UU32.js → V22EOT5F.js} +2 -2
- package/dist/cdn/{AL7BYUFL.js → V6YG4AUN.js} +1 -1
- package/dist/cdn/{D65MWXTY.js → VBVNASGD.js} +2 -2
- package/dist/cdn/{YMYLX5KE.js → VEF3UNRW.js} +2 -2
- package/dist/cdn/{VNKIBY73.js → VI4HY6R4.js} +2 -2
- package/dist/cdn/{MWYML6WY.js → VJFYA5FL.js} +2 -2
- package/dist/cdn/{IZ4Q2NCE.js → VKS462PY.js} +2 -2
- package/dist/cdn/VZVGIZK3.js +18 -0
- package/dist/cdn/{QUAPDTN4.js → W3T35GGA.js} +1 -1
- package/dist/cdn/{HHMWLNDM.js → W7I6VIPW.js} +2 -2
- package/dist/cdn/{Y6HBFOGB.js → WC36YPV6.js} +2 -2
- package/dist/cdn/{ER5T5IBK.js → WCFKEAUZ.js} +2 -2
- package/dist/cdn/{RPGDZFQK.js → WDCL4ZKI.js} +2 -2
- package/dist/cdn/{2JDXYIOQ.js → WIRDBZL6.js} +2 -2
- package/dist/cdn/{2UQPZ6NH.js → WJNHOH6L.js} +2 -2
- package/dist/cdn/{6UPBHSJU.js → WNKXFWQB.js} +3 -3
- package/dist/cdn/{CMRHHLTA.js → WO2PPITE.js} +2 -2
- package/dist/cdn/{4ZR3MSNA.js → WPDIZJFV.js} +2 -2
- package/dist/cdn/{WXP7MVWM.js → WXJSXARO.js} +2 -2
- package/dist/cdn/{WBMDIJ7H.js → WZWHYIY6.js} +1 -1
- package/dist/cdn/{XRRMKBZC.js → X2OE5IJ7.js} +2 -2
- package/dist/cdn/{4YJ6A7NH.js → X6OAQ3ZM.js} +2 -2
- package/dist/cdn/{GSD3LFSU.js → XDCP7UKX.js} +2 -2
- package/dist/cdn/{DADS3G2A.js → XHHTWE2A.js} +2 -2
- package/dist/cdn/{NCOAP2MV.js → XLL3XQZK.js} +2 -2
- package/dist/cdn/{4OT2FGEK.js → XO2DRFBA.js} +1 -1
- package/dist/cdn/{BMP6JBUC.js → XP5L3PQ7.js} +2 -2
- package/dist/cdn/{ZB72I7DY.js → XV6T6WXW.js} +2 -2
- package/dist/cdn/{UMXSJGTY.js → XXAXGA6T.js} +2 -2
- package/dist/cdn/{BGEKENEW.js → XYTLVBPS.js} +2 -2
- package/dist/cdn/{5KJ43LT2.js → Y6AAHDG7.js} +2 -2
- package/dist/cdn/{MZPGTHXU.js → Y6RANQUU.js} +2 -2
- package/dist/cdn/{Z4SZ3T5Q.js → YBH23QNV.js} +2 -2
- package/dist/cdn/{KIJPQQ52.js → YBYPXRZ4.js} +2 -2
- package/dist/cdn/{NG6NUOP3.js → YGMKDCD5.js} +2 -2
- package/dist/cdn/{AUTDUGL2.js → YHMXVXND.js} +2 -2
- package/dist/cdn/{BMI4372L.js → YJYMJBBE.js} +2 -2
- package/dist/cdn/{H6U7EXWQ.js → YN4G6JAG.js} +2 -2
- package/dist/cdn/{SMWON25K.js → YVS3ZHMD.js} +2 -2
- package/dist/cdn/{YXK7Y3D3.js → YW3FYUGE.js} +2 -2
- package/dist/cdn/{FW7R3WPQ.js → YWAQR3AZ.js} +2 -2
- package/dist/cdn/{HICZARO2.js → YWQ54Y2X.js} +2 -2
- package/dist/cdn/{DGZQ4PDA.js → Z23B54QX.js} +2 -2
- package/dist/cdn/{KWDBAHJD.js → Z27W4IIG.js} +2 -2
- package/dist/cdn/{3B4GHGN7.js → Z3H3C4GI.js} +2 -2
- package/dist/cdn/{ZNNLHOXB.js → Z5Z6E4RN.js} +2 -2
- package/dist/cdn/{QDBHOCPI.js → ZB2JHEUH.js} +2 -2
- package/dist/cdn/{3EXVFSPL.js → ZCHDFFZT.js} +2 -2
- package/dist/cdn/{AYBNUKF2.js → ZGIPZ5JM.js} +2 -2
- package/dist/cdn/{KR3B36T2.js → ZHHO3JI4.js} +2 -2
- package/dist/cdn/{4W77FHNW.js → ZKDDBMF4.js} +3 -3
- package/dist/cdn/{KDMWAUZS.js → ZM5H24GH.js} +2 -2
- package/dist/cdn/{I6Y47RXA.js → ZMZFEE2N.js} +2 -2
- package/dist/cdn/{Q7Z6TSJO.js → ZQ4ZO3HK.js} +2 -2
- package/dist/cdn/{AG7WZVG3.js → ZRYDIP3B.js} +2 -2
- package/dist/cdn/{QPZTJWXP.js → ZS5DDGRG.js} +2 -2
- package/dist/cdn/{U4ZMYHFB.js → ZSKHTLM5.js} +1 -1
- package/dist/cdn/{LPQD7HOP.js → ZXKECFB4.js} +2 -2
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ar.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_bg.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_bs.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ca.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_cs.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_da.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_de.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_el.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_es.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_et.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_fi.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_fr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_he.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_hr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_hu.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_id.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_it.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ja.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ko.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_lt.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_lv.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_nl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_no.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pt-BR.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_pt-PT.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ro.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_ru.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sk.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_sv.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_th.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_tr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_uk.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_vi.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-CN.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-HK.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en_zh-TW.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +8 -8
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +11 -11
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +91 -78
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +2 -0
- package/dist/components/layer-table/customElement.js +17 -14
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +34 -30
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +11 -11
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +15 -15
- package/dist/components/refine-selection/customElement.d.ts +1 -0
- package/dist/components/refine-selection/customElement.js +44 -41
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-all-shell/customElement.js +32 -29
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +9 -9
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +7 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +35 -19
- package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +15 -15
- package/dist/components/solutions-filter-panel/customElement.d.ts +2 -8
- package/dist/components/solutions-filter-panel/customElement.js +1 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +69 -4
- package/dist/docs/docs.json +54 -5
- package/dist/docs/vscode.html-custom-data.json +21 -2
- package/dist/docs/web-types.json +34 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/preact10.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/dist/utils/interfaces.d.ts +5 -1
- package/package.json +20 -20
- package/dist/cdn/2H3FU2GQ.js +0 -18
- package/dist/cdn/35VKC3HF.js +0 -379
- package/dist/cdn/6ORJSITR.js +0 -18
- package/dist/cdn/7F7YUDXX.js +0 -18
- package/dist/cdn/A63FRN4O.js +0 -4
- package/dist/cdn/AY3NI2XG.js +0 -18
- package/dist/cdn/BF4SQYSX.js +0 -4
- package/dist/cdn/CJHZDB77.js +0 -18
- package/dist/cdn/EPLKFX3U.js +0 -4
- package/dist/cdn/EYHYE6X7.js +0 -18
- package/dist/cdn/GVL6QMUW.js +0 -4
- package/dist/cdn/HQUIPGF2.js +0 -18
- package/dist/cdn/LIJIFUOI.js +0 -4
- package/dist/cdn/NKKFCOFL.js +0 -4
- package/dist/cdn/Q4KBZO4C.js +0 -18
- package/dist/cdn/SHUMQDMA.js +0 -4
- package/dist/cdn/SLWXIRRI.js +0 -4
- package/dist/cdn/SP2IBQRM.js +0 -18
- package/dist/cdn/UORXW6T2.js +0 -18
- package/dist/cdn/YT3PSVK7.js +0 -4
- package/dist/cdn/ZA4VTCHB.js +0 -4
- package/dist/solutions-components_commit.txt +0 -10
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.0-next.20251007 */
|
|
4
|
+
import{a as yt}from"./4P2UVZOP.js";import{a as L}from"./QOLVMCBA.js";import{a as G}from"./WCFKEAUZ.js";import{c as J,n as X,t as K,z as Q}from"./ZSKHTLM5.js";import{b as q}from"./X2OE5IJ7.js";import"./UONZCNUI.js";import"./JLFITN4X.js";import{C as m,D as d,E as j,G as h,h as V,i as c,l as $,o as z}from"./MDXTMYXB.js";import{d as vt}from"./IWXUAUTV.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var v=null;function T(e={}){return v||(e.includeStyleProperties?(v=e.includeStyleProperties,v):(v=w(window.getComputedStyle(document.documentElement)),v))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function F(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function It(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=It(e).toLowerCase();return Tt[t]||""}function kt(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function R(e,t){return`data:${t};base64,${e}`}async function D(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await D(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),kt(o)));r=R(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=R(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function A(e){return e.search(ot)!==-1}async function I(e,t,i){if(!A(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await I(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>B(r,t));await Promise.all(n).then(()=>e)}async function B(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),D(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(x=>ht(x,t)).then(x=>dt(x).forEach(k=>{try{r.insertRule(k,k.startsWith("@import")?o+=1:r.cssRules.length)}catch(xt){console.error("Error inserting rule from remote css",{rule:k,error:xt})}})).catch(x=>{console.error("Error loading remote css",x.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>A(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return I(s.cssText,a,t)}))).join(`
|
|
5
|
+
`)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=F(e,t),r=await P(e,t,!0);return await gt(r,t),await B(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=F(e,t),r=await ee(e,t),s=await y(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,x=t.canvasHeight||n;return a.width=f*p,a.height=x*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${x}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function wt(e,t={}){return(await ft(e,t)).toDataURL()}async function H(e,t={}){return(await ft(e,t)).toDataURL("image/jpeg",t.quality||1)}var O=vt(yt(),1);var ie=`
|
|
6
|
+
@media print {
|
|
7
|
+
@page {
|
|
8
|
+
size: Portrait;
|
|
9
|
+
margin: .25in;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
html, body {
|
|
13
|
+
padding: 0;
|
|
14
|
+
margin: 0;
|
|
15
|
+
height: 100%;
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
body > *:not(.instant-apps-export-print) { display: none; }
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
* {
|
|
23
|
+
-webkit-print-color-adjust: exact;
|
|
24
|
+
color-adjust: exact;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
.instant-apps-export-print {
|
|
29
|
+
position: absolute;
|
|
30
|
+
z-index: -999;
|
|
31
|
+
color: #323232 !important;
|
|
32
|
+
--esri-calcite-mode-name: "light";
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.instant-apps-export-print__pdf {
|
|
36
|
+
height: 100%;
|
|
37
|
+
width: 100%;
|
|
38
|
+
display: grid;
|
|
39
|
+
gap: 24px;
|
|
40
|
+
grid-auto-flow: row;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.instant-apps-export-print__img {
|
|
44
|
+
display: grid;
|
|
45
|
+
width: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.instant-apps-export-print__img--extra-content {
|
|
49
|
+
grid-template-columns: 2fr minmax(0, 325px);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.instant-apps-export-print, .instant-apps-export-print * {
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.instant-apps-export-print__view-section {
|
|
57
|
+
height: 100%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.instant-apps-export-print__view-container {
|
|
61
|
+
height: 100%;
|
|
62
|
+
width: 100%;
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.instant-apps-export-print__img .instant-apps-export-print__view-container {
|
|
69
|
+
grid-row: 1;
|
|
70
|
+
grid-column: 1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.instant-apps-export-print__view-wrapper {
|
|
74
|
+
height: fit-content;
|
|
75
|
+
width: fit-content;
|
|
76
|
+
position: relative;
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.instant-apps-export-print__pdf .instant-apps-export-print__view-wrapper {
|
|
83
|
+
border: 2pt solid #323232;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.instant-apps-export-print__img .instant-apps-export-print__view-wrapper {
|
|
87
|
+
border: 1pt solid #323232;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.instant-apps-export-print__view {
|
|
91
|
+
object-fit: contain;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.instant-apps-export-print__extra-container {
|
|
95
|
+
grid-row: 1 / span 2;
|
|
96
|
+
grid-column: 2;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {
|
|
100
|
+
display: block;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.instant-apps-export-print__popup-container {
|
|
104
|
+
height: min-content;
|
|
105
|
+
max-width: 325px;
|
|
106
|
+
display: none;
|
|
107
|
+
color: #323232;
|
|
108
|
+
background: #fff;
|
|
109
|
+
break-inside: avoid;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.instant-apps-export-print__pdf .instant-apps-export-print__popup-container {
|
|
113
|
+
border: 1pt solid #323232;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.instant-apps-export-print__img .instant-apps-export-print__popup-container {
|
|
117
|
+
grid-row: 1 / span 2;
|
|
118
|
+
grid-column: 2;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.instant-apps-export-print__popup-title {
|
|
122
|
+
border-bottom: 1pt solid #323232;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.instant-apps-export-print__popup-content {
|
|
126
|
+
background: #fff;
|
|
127
|
+
padding-top: 8pt;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.instant-apps-export-print__popup-content .esri-feature-media__chart {
|
|
131
|
+
background: #fff;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.instant-apps-export-print__legend-container {
|
|
135
|
+
height: min-content;
|
|
136
|
+
background: #fff;
|
|
137
|
+
overflow: unset;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.instant-apps-export-print__img .instant-apps-export-print__attribution {
|
|
141
|
+
margin: 14px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.instant-apps-export-print__img .instant-apps-export-print__legend-container {
|
|
145
|
+
margin: 14px;
|
|
146
|
+
grid-row: 2;
|
|
147
|
+
grid-column: 1;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.esri-legend--card, .esri-legend--card__service-content {
|
|
151
|
+
flex-flow: row wrap;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {
|
|
155
|
+
background: #fff;
|
|
156
|
+
color: #323232;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.instant-apps-export-print__popup-content *, .instant-apps-export-print__img .esri-feature.esri-widget * {
|
|
160
|
+
color: #323232;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.instant-apps-export-print .esri-widget__heading {
|
|
164
|
+
margin: 4pt 7pt;
|
|
165
|
+
padding: 0;
|
|
166
|
+
color: #323232;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.instant-apps-export-print .esri-legend__ramp-label:before {
|
|
170
|
+
border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.instant-apps-export-print .esri-legend--card__section {
|
|
174
|
+
padding: 6pt;
|
|
175
|
+
min-width: unset;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.instant-apps-export-print .esri-legend--card__color-ramp-container > .esri-legend--card__ramp-label {
|
|
179
|
+
height: 25px;
|
|
180
|
+
line-height: 25px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.instant-apps-export-print .esri-legend--card__color-ramp-container .esri-legend--card__interval-separators-container {
|
|
184
|
+
position: unset;
|
|
185
|
+
transform: unset;
|
|
186
|
+
text-align: center;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.instant-apps-export-print .esri-legend--card__section:first-child {
|
|
190
|
+
border-left: none;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.instant-apps-export-print .esri-legend--card__service {
|
|
194
|
+
border: none;
|
|
195
|
+
flex: 0 1 auto;
|
|
196
|
+
break-inside: avoid;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.instant-apps-export-print .esri-legend--card {
|
|
200
|
+
border: none;
|
|
201
|
+
gap: 6pt 12pt;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.instant-apps-export-print .esri-legend--card:not(:first-child),
|
|
205
|
+
.instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {
|
|
206
|
+
display: none;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.instant-apps-export-print .esri-legend--card__service-caption-container {
|
|
210
|
+
height: unset;
|
|
211
|
+
padding: 0;
|
|
212
|
+
border-bottom: none;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.instant-apps-export-print .esri-legend--card__service-caption-text {
|
|
216
|
+
padding-bottom: 4px;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.instant-apps-export-print__compass-container {
|
|
220
|
+
position: absolute;
|
|
221
|
+
top: 65px;
|
|
222
|
+
left: 15px;
|
|
223
|
+
background: #fff;
|
|
224
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
225
|
+
--calcite-ui-icon-color: #000;
|
|
226
|
+
border-radius: 50%;
|
|
227
|
+
height: fit-content;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.instant-apps-export-print__compass-container .esri-compass {
|
|
231
|
+
background: #fff;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {
|
|
235
|
+
color: #000;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.instant-apps-export-print__compass-container.esri-compass.esri-widget--button {
|
|
239
|
+
background: #fff;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.instant-apps-export-print__scale-bar-container {
|
|
243
|
+
width: 100%;
|
|
244
|
+
position: absolute;
|
|
245
|
+
bottom: 15px;
|
|
246
|
+
margin: 0 15px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
|
|
250
|
+
color: #323232;
|
|
251
|
+
font-size: 10px;
|
|
252
|
+
padding: 0 4px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
|
|
256
|
+
height: 10px;
|
|
257
|
+
padding: 0 2px;
|
|
258
|
+
line-height: 11px;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
|
|
262
|
+
display: none;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
|
|
266
|
+
align-items: center;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
|
|
270
|
+
background-color: rgba(255, 255, 255, 0.66);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {
|
|
274
|
+
width: var(--instant-apps-scale-bar-top) !important;
|
|
275
|
+
border-bottom: 2px solid #323232;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
|
|
279
|
+
width: var(--instant-apps-scale-bar-bottom) !important;
|
|
280
|
+
border-top: 2px solid #323232;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
|
|
284
|
+
position: unset;
|
|
285
|
+
margin: 0 2px;
|
|
286
|
+
background-color: rgba(255, 255, 255, 0.66);
|
|
287
|
+
height: 10px;
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
|
|
293
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,
|
|
294
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,
|
|
295
|
+
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {
|
|
296
|
+
background-color: #323232;
|
|
297
|
+
border-right: 2px solid #323232;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.instant-apps-export-print__popup-container .esri-feature-media__item-navigation {
|
|
301
|
+
display: none;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {
|
|
305
|
+
width: 100%!important;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.instant-apps-export-print__popup-content .esri-popup__content {
|
|
309
|
+
margin: 0;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.instant-apps-export-print__content-container {
|
|
313
|
+
display: flex;
|
|
314
|
+
gap: 24px;
|
|
315
|
+
break-inside: avoid;
|
|
316
|
+
break-before: auto;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.instant-apps-export-print__attribution {
|
|
320
|
+
margin-top: 12px;
|
|
321
|
+
font-size: 10px;
|
|
322
|
+
}`,ne=`
|
|
323
|
+
.screenshot-preview.hide, .hide {
|
|
324
|
+
display: none;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.screenshot-cursor {
|
|
328
|
+
cursor: crosshair;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.relative {
|
|
332
|
+
position: relative;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
#screenshot-mask {
|
|
336
|
+
position: absolute;
|
|
337
|
+
background: var(--instant-apps-screenshot-mask-background);
|
|
338
|
+
border: var(--instant-apps-screenshot-mask-border);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.screenshot-preview {
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
justify-content: center;
|
|
345
|
+
position: absolute;
|
|
346
|
+
top: 0;
|
|
347
|
+
left: 0;
|
|
348
|
+
right: 0;
|
|
349
|
+
bottom: 0;
|
|
350
|
+
text-align: center;
|
|
351
|
+
background-color: rgba(0, 0, 0, 0.75);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.screenshot-preview * {
|
|
355
|
+
box-sizing: border-box;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.screenshot-img-container img {
|
|
359
|
+
max-height: 75%;
|
|
360
|
+
max-width: 75%;
|
|
361
|
+
object-fit: contain;
|
|
362
|
+
box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);
|
|
363
|
+
margin-bottom: 0.5em;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.screenshot-img-container {
|
|
367
|
+
height: 100%;
|
|
368
|
+
width: 100%;
|
|
369
|
+
overflow-y: auto;
|
|
370
|
+
margin-bottom: 8px;
|
|
371
|
+
display: flex;
|
|
372
|
+
flex-flow: column;
|
|
373
|
+
align-items: center;
|
|
374
|
+
justify-content: center;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.screenshot-img-container calcite-button {
|
|
378
|
+
margin: 5px;
|
|
379
|
+
}`,re=V`:host{display:block;--instant-apps-export-action-background: var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-export-action-background-press: var(--calcite-color-foreground-3);--instant-apps-export-action-height: 100%;--instant-apps-export-action-width: fit-content;--instant-apps-export-action-icon-color: var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-export-background: var(--calcite-color-foreground-1);--instant-apps-export-text-color: var(--calcite-color-text-1);--instant-apps-export-popover-width: 250px;--instant-apps-export-button-text-dark-hover-color: #fff}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1: var(--instant-apps-export-action-background);--calcite-color-foreground-2: var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3: var(--instant-apps-export-action-background-press);--calcite-color-text-3: var(--instant-apps-export-action-icon-color);--calcite-color-text-1: var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1: var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1: var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1: #fff;--calcite-color-foreground-2: #f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:.5rem}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover: #fff}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1: #2b2b2b;--calcite-color-foreground-2: #202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px #0000004d}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}`,l={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",hidden:"instant-apps-export__visually-hidden",setMapArea:"instant-apps-export__set-map-area",print:{pdfBase:"instant-apps-export-print instant-apps-export-print__pdf",imgBase:"instant-apps-export-print instant-apps-export-print__img",imgExtraContent:"instant-apps-export-print__img--extra-content",contentContainer:"instant-apps-export-print__content-container",extraContainer:"instant-apps-export-print__extra-container",legendContainer:"instant-apps-export-print__legend-container",compassContainer:"instant-apps-export-print__compass-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewWrapper:"instant-apps-export-print__view-wrapper",attribution:"instant-apps-export-print__attribution"}},U="instant-app-export-drag",W=class extends j{constructor(){super(...arguments),this._messages=G({name:"instant-apps-export",blocking:!0}),this.compassContainerEl=m(),this.extraContainerEl=m(),this.popoverEl=m(),this.popupContainerEl=m(),this.popupContentEl=m(),this.popupTitleEl=m(),this.printContainerEl=m(),this.printEl=m(),this.scaleBarContainerEl=m(),this.viewWrapperEl=m(),this.viewContainerEl=m(),this.viewEl=m(),this.attributionEl=m(),this.baseClass=l.baseLight,this.exportIsLoading=void 0,this.allowedFileTypes=["PDF","JPG","PNG"],this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.headerTitle="",this.logoImage="",this.mapAltText="",this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.exportOutputUpdated=z()}static{this.properties={baseClass:16,exportIsLoading:16,selectedFileType:16,allowedFileTypes:0,output:0,beforeExport:0,popoverIcon:1,extraContent:0,extraContentLabel:1,headerTitle:1,logoImage:1,logoAltText:1,mapAltText:1,includeExtraContent:5,showExtraContentInImg:5,includeLegend:5,includeMap:5,includePopup:5,includeFileFormat:5,mode:3,popoverPositioning:1,popoverPlacement:1,scale:1,showHeaderTitle:5,showIncludeLegend:5,showIncludeMap:5,showIncludePopup:5,showScaleBar:5,view:0,maskBackground:1,maskBorder:1,defaultFileType:1}}static{this.styles=re}async load(){this.selectedFileType=this.getDefaultFileType(),this.pdfIncludeMap=this.includeMap,this.baseClass=L(this.el)==="dark"?l.baseDark:l.baseLight,await this.initializeModules()}willUpdate(t){t.has("view")?this.handleIncludePopup():t.has("allowedFileTypes")&&(this.allowedFileTypes?.length||(this.allowedFileTypes=["PDF","JPG","PNG"]),this.selectedFileType=this.getDefaultFileType())}loaded(){this.printEl.value&&(this.printContainerEl.value?.prepend(this.printEl.value),this.handleIncludePopup())}getDefaultFileType(){return this.defaultFileType??this.allowedFileTypes?.[0]??"PDF"}async initializeModules(){let t=await Q();this.handles=await J(),this.reactiveUtils=t}optionOnChange(t){let i=t.target,n=i.value;this[n]=i.checked,this.updateExportOutput()}updateHeaderTitle(t){let i=t.target;this.headerTitle=i.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1)}async exportPreviewOnClick(){this.selectedFileType==="PDF"?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1)}exportImg(){if(this.resetPopupVisibility(),!this.dataUrl)return;let t=document.createElement("a");t.id="download-link",t.href=this.dataUrl;let i=this.headerTitle??document.title,n=this.selectedFileType?.toLowerCase()??"jpg";t.download=`${i}.${n}`,t.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){this.view?(this.addPrintStyling(),this.printEl.value&&document.body.prepend(this.printEl.value),this.handleExtraContent(),this.includeMap?(this.updateAttribution(),this.updateScaleBar(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):this.popoverEl.value&&(this.popoverEl.value.open=!1)}addPrintStyling(){this.printStyleEl||(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=ie,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.selectedFileType==="PDF"&&(this.exportIsLoading=!1),this.setupViewPrintElements()},1500)}handleExtraContent(){if(!this.printEl.value)return;let t=this.printEl.value.querySelector("#export-content");if(t){t.innerHTML="";let i=this.extraContent&&this.includeExtraContent,n=this.selectedFileType!=="PDF"&&this.showExtraContentInImg&&i;this.printEl.value.classList.toggle(l.print.imgExtraContent,n),i?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&this.selectedFileType!=="PDF"&&!this.includeExtraContent&&this.printEl.value.classList.toggle(l.print.imgExtraContent,!1)}resetPrintContent(){if(!this.view||!this.printEl.value)return;this.screenshot=null,this.printContainerEl.value?.prepend(this.printEl.value),this.printStyleEl?.remove(),this.tmpPopupTitleEl?.remove(),this.printStyleEl=void 0;let t=this.printEl.value.querySelector("#export-content");t&&(t.innerHTML="")}async updatePopupToPrint(){if(!this.view||!this.popupContainerEl.value||!this.printEl.value)return;this.popupContainerEl.value.style.display=this.includePopup&&this.view?.popup?.visible?"block":"none",this.checkPopupOpen();let t=this.includePopup&&(this.view?.popup?.visible||this.popupHiddenByMapArea)&&this.view?.popup?.selectedFeature;if(this.printEl.value.classList.toggle(l.print.imgExtraContent,this.selectedFileType!=="PDF"&&!!t),t){let i=document.createElement(`h${this.view?.popup?.headingLevel??2}`);i.innerHTML=this.view?.popup?.title??"",i.className="esri-widget__heading esri-popup__header-title",this.popupTitleEl.value?(this.popupTitleEl.value.style.display=this.view?.popup?.title?"block":"none",this.popupTitleEl.value.innerHTML="",this.popupTitleEl.value.prepend(i)):(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(i),this.tmpPopupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupContainerEl.value.prepend(this.tmpPopupTitleEl))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(this.view)if(this.handleLegendSetup(),this.selectedFileType==="PDF"){let t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1e3)}else this.convertToImage()}async convertToImage(){/^((?!chrome|android).)*safari/iu.test(navigator?.userAgent)?await this.handleSafariToImage():await this.handleToImage()}async handleSafariToImage(){if(!this.printEl.value)return;let t={allowTaint:!0,logging:!1},i=this.selectedFileType==="PNG"?"image/png":"image/jpeg",n="";try{n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}catch{this.logoImage=void 0;let r=500;await new Promise(s=>setTimeout(s,r)),n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}finally{this.handleSetupImage(n)}}async handleToImage(){if(!this.printEl.value)return;let t={backgroundColor:"#FFF",skipFonts:!0},i="";try{this.selectedFileType==="JPG"?i=await H(this.printEl.value,t):i=await wt(this.printEl.value,t)}catch{this.logoImage=void 0;let n=500;await new Promise(r=>setTimeout(r,n)),i=await H(this.printEl.value,t)}finally{this.handleSetupImage(i)}}handleSetupImage(t){this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){if(this.showIncludeLegend&&this.view&&this.includeMap&&this.legendContainerEl){let t=this.legend&&this.legend.activeLayerInfos?.length>0;this.legendContainerEl.style.display=this.includeLegend&&t?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){if(!this.handles||!this.reactiveUtils||!this.view||!this.showIncludePopup)return;let t="includePopup";this.handles.remove(t),this.reactiveUtils.whenOnce(()=>this.view?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>this.view?.popup?.visible===!0,i=>{this.settingMapArea||(this.includePopup=i)}),t)})}handleLegendContainer(t){this.legendContainerEl=t,this.updateLegend()}handleLegendCreation(){if(this.view&&this.showIncludeLegend&&this.legendContainerEl){let t=this.view.map,i=this.legend?.view?.map;t?.portalItem?.id&&t?.portalItem?.id===i?.portalItem?.id||this.updateLegend()}}updateLegend(){this.view?.when(async t=>{if(!this.legendContainerEl)return;this.legendContainerEl.innerHTML="";let i=document.createElement("div");this.legendContainerEl.append(i),this.legend!=null?(this.legend.container=i,this.legend.view=t):this.legend=await K({container:i,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})})}handleCompassCreation(){if(this.view&&this.compassContainerEl.value){let t=this.view.map,i=this.compass?.view?.map;t?.portalItem?.id===i?.portalItem?.id||this.updateCompass()}}updateCompass(){this.view?.when(async t=>{this.compass&&(this.compass.destroy(),this.compass=null);let i=document.createElement("div");this.compassContainerEl.value?.append(i),this.compass=await X({container:i,view:t})})}updateScaleBar(){if(this.scaleBarContainerEl.value&&this.view&&(this.scaleBarContainerEl.value.innerHTML="",this.showScaleBar)){let t=this.view?.ui?.getComponents()?.find(({container:i})=>i?.className?.includes("esri-scale-bar"));t?.container&&typeof t.container!="string"&&this.scaleBarContainerEl.value.append(t.container.cloneNode(!0))}}updateAttribution(){if(!this.attributionEl.value||!this.view)return;this.attributionEl.value.innerHTML="";let t=this.view.ui.find("attribution");if(!t?.attributionText)return;let i=t.viewModel.items.map(r=>this.getAttributionText(r)).filter((r,s,a)=>!!r&&a.indexOf(r)===s),n=" | ";this.attributionEl.value.innerHTML=i.join(n)}getAttributionText(t){if(!t.text)return"";let i=t.text,n=t.layerView.layer,r="copyright"in n&&n.copyright?n.copyright:"";if("portalItem"in n&&n.portalItem!=null){let s=n.portalItem;if(s.accessInformation&&i===s.accessInformation)return i.replace(s.accessInformation,r)}return i}async viewScreenshot(){if(this.view&&this.includeMap&&(this.screenshot||(this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:this.view.width*2,height:this.view.height*2})),this.handleScaleBarSize(),this.viewEl.value&&this.viewWrapperEl.value)){let{height:t,width:i}=this.screenshot.data;t>i?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.value.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.selectedFileType==="PDF"&&this.printEl.value&&(this.printEl.value.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl.value&&(this.viewEl.value.style.height="100%",this.viewEl.value.style.width=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="100%",this.viewWrapperEl.value.style.width="fit-content")}setMaxWidthOnViewContainer(){this.printEl.value&&(this.printEl.value.style.gridTemplateRows=""),this.viewEl.value&&(this.viewEl.value.style.width="100%",this.viewEl.value.style.height=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="fit-content",this.viewWrapperEl.value.style.width="100%")}checkPopupOpen(){if(this.view){let t=this.view?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(t&&this.popupContentEl.value){let i=t.querySelectorAll("canvas");this.popupContentEl.value.innerHTML="",this.popupContentEl.value.append(t.cloneNode(!0));let n=this.popupContentEl.value.querySelectorAll("canvas");i.forEach((r,s)=>{let a=r.toDataURL(),o=document.createElement("img");o.src=a;let p=r.getAttribute("style");p&&o.setAttribute("style",p);let f=n[s];f&&(f.replaceWith(o),L(this.el)==="dark"&&o.parentElement?.parentElement&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))})}}}createScreenshot(){if(this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img"),this.screenshotImg.alt=this.mapAltText||"";let t=document.createElement("div"),i=document.createElement("calcite-button"),n=document.createElement("calcite-button");i.innerHTML=this.selectedFileType==="PDF"?this._messages.export:this._messages.downloadImage,n.innerHTML=this._messages.returnToMap,n.appearance="outline-fill",i.onclick=this.exportPreviewOnClick.bind(this),n.onclick=this.screenshotReturn.bind(this),t.append(n,i),this.screenshotImgContainer.append(this.screenshotImg,t),this.screenshotPreview.append(this.screenshotImgContainer),this.view?.container?.append(this.screenshotPreview)}}createMaskDiv(){this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML=ne,this.view?.container?.append(this.screenshotStyle),this.view?.container?.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){if(this.view){if(this.settingMapArea=!0,t&&this.view?.popup?.visible){this.popupHiddenByMapArea=!0;let i=this.view?.popup?.container;i&&(i.style.display="none")}this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view?.container?.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",i=>{this.view&&(i.stopPropagation(),i.action!=="end"?this.updateMaskSize(i):this.maskScreenshot())}),U)}}updateMaskSize(t){if(this.view){let i=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),n=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),r=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),s=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:i,y:r,width:n-i,height:s-r},this.setMaskPosition(this.area)}}maskScreenshot(){if(this.view&&this.area){this.view.removeHandles(U);let t=this.area.height,i=this.area.width;if(this.showScaleBar){let n=this.view.width>1e3&&this.view.width*.75<i;this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",n)}this.view.takeScreenshot({area:this.area,width:i*2,height:t*2,format:"jpg"}).then(n=>{this.screenshot=n,this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null),this.selectedFileType==="PDF"?(this.showPreview(n?.dataUrl),this.resetPopupVisibility()):(this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1))})}}setMaskPosition(t){this.maskDivEl&&(t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove())}clamp(t,i,n){return t<i?i:t>n?n:t}showPreview(t){t&&(this.screenshotPreview?.classList.remove("hide"),this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){if(this.showScaleBar&&this.view?.type==="2d"&&this.scaleBarContainerEl.value){let t=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--top"),i=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(t,"top"),this.setScaleBarWidth(i,"bottom")}}setScaleBarWidth(t,i){if(t&&this.screenshot){let n=this.screenshot.data.width/2,r=Number(t.style.width.replace("px",""))/n*100;this.scaleBarContainerEl.value?.style.setProperty(`--instant-apps-scale-bar-${i}`,`${r}%`)}}removeScreenshotElements(){this.view?.removeHandles(U),this.screenshotPreview?.remove(),this.screenshotStyle?.remove()}resetPopupVisibility(){if(this.view&&this.settingMapArea&&this.popupHiddenByMapArea){let t=this.view?.popup?.container;t&&(t.style.display="")}this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){let i=t.target;this.selectedFileType=i.value,this.selectedFileType==="PDF"?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel(),i=this.renderCompass();return c`<div class=${h(this.baseClass)} @mouseenter=${this.handleWidgetCreation} @focusin=${this.handleWidgetCreation}>${t}<div class=${h(l.hidden)}>${i}</div></div>`}renderPopover(){let t=this.renderPanel();return[c`<calcite-popover reference-element=export-popover-btn .label=${this._messages.exportPopover} .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close ${d(this.popoverEl)}>${t}</calcite-popover>`,c`<calcite-action id=export-popover-btn alignment=center .icon=${this.popoverIcon} .scale=${this.scale} title=${this._messages.exportBtn??$} .text=${this._messages.exportBtn}></calcite-action>`]}renderPanel(){let t=this.showHeaderTitle?this.renderTitle():null,i=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,this.selectedFileType!=="PDF"&&!this.showExtraContentInImg):null,n=this.showIncludeMap?this.renderSwitch("includeMap",void 0,this.selectedFileType!=="PDF"):null,r=this.includeMap?this.renderMapOptions():null,s=this.includeFileFormat?this.renderSelectFileType():null,a=this.selectedFileType==="PDF"?this.renderPrint():this.renderImg(),o=this.mode==="inline"?l.inlineContainer:l.popoverContainer;return c`<div class=${h(o)}>${t}${i}${n}${r}${s}${this.includeMap?c`<calcite-button class=${h(l.setMapArea)} appearance=transparent width=full @click=${this.setMapAreaOnClick.bind(this,!0)} .disabled=${this.exportIsLoading}>${this._messages.setMapArea}</calcite-button>`:null}<calcite-button width=full @click=${this.exportOnClick} .disabled=${this.exportIsLoading}>${this.selectedFileType==="PDF"?this._messages.export:this._messages.preview}</calcite-button>${a}</div>`}renderTitle(){return c`<calcite-label>${this._messages.title}<calcite-input .value=${this.headerTitle} @calciteInputInput=${this.updateHeaderTitle}></calcite-input></calcite-label>`}renderSwitch(t,i,n){let r=this[t],s=t,a=i||this._messages[s];return c`<calcite-label layout=inline-space-between>${a}<calcite-switch .checked=${r} .value=${t} @calciteSwitchChange=${this.optionOnChange} .disabled=${n}></calcite-switch></calcite-label>`}renderSelectFileType(){return c`<calcite-label>${this._messages.fileType}<calcite-select label @calciteSelectChange=${this.handleSelectFileType}>${this.allowedFileTypes.map(t=>c`<calcite-option .value=${t} .selected=${t===this.selectedFileType}>${t}</calcite-option>`)}</calcite-select></calcite-label>`}renderMapOptions(){let t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,i=this.showIncludePopup?this.renderSwitch("includePopup"):null;return c`<div>${t}${i}</div>`}renderPrint(){let t=this.includeMap?this.renderPrintMap():null,i=this.renderExtraContent(),n=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,r=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return c`<div ${d(this.printContainerEl)}><div class=${h(l.print.pdfBase)} ${d(this.printEl)}>${t}${n}<div class=${h(l.print.contentContainer)}>${r}${i}</div></div></div>`}renderPrintMap(){return c`<div class=${h(l.print.viewContainer)} ${d(this.viewContainerEl)}><div class=${h(l.print.viewWrapper)} ${d(this.viewWrapperEl)}>${this.headerTitle?c`<instant-apps-header .logoImage=${this.logoImage} .logoImageAltText=${this.logoAltText} logo-scale=s .titleText=${this.headerTitle} background-color=#fff text-color=#323232></instant-apps-header>`:null}<img class=${h(l.print.view)} alt=${this.mapAltText??$} ${d(this.viewEl)}><div class=${h(l.print.scaleBarContainer)} ${d(this.scaleBarContainerEl)}></div></div>${this.renderAttribution()}</div>`}renderAttribution(){return c`<div class=${h(l.print.attribution)} ${d(this.attributionEl)}></div>`}renderLegend(){return c`<div class=${h(l.print.legendContainer)} ${d(this.handleLegendContainer)}></div>`}renderCompass(){return c`<div class=${h(l.print.compassContainer)} ${d(this.compassContainerEl)}></div>`}renderPopup(){return c`<div class=${h(l.print.popupContainer)} ${d(this.popupContainerEl)}><div class=${h(l.print.popupTitle)} ${d(this.popupTitleEl)}></div><div class=${h(l.print.popupContent)} ${d(this.popupContentEl)}></div></div>`}renderExtraContent(){return c`<div class=${h(l.print.extraContainer)} id=export-content ${d(this.extraContainerEl)}></div>`}renderImg(){let t=this.includeMap?this.renderPrintMap():null,i=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,n;return this.includeMap&&this.showIncludePopup?n=this.renderPopup():this.showExtraContentInImg&&this.extraContent&&this.includeExtraContent&&(n=this.renderExtraContent()),c`<div ${d(this.printContainerEl)}><div class=${h(l.print.imgBase)} ${d(this.printEl)}>${t}${i}${n}</div></div>`}};q("instant-apps-export",W);export{W as InstantAppsExport};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v1.1.0-next.20251007 */
|
|
4
|
+
import{a}from"./V6YG4AUN.js";import{a as d}from"./CZD47EV7.js";import{K as b,L as m}from"./ICUPL3P5.js";import"./K3CKPBR4.js";import{a as l}from"./QDU3LTAL.js";import{a as i}from"./U7WE2Z7A.js";import"./AAYPYRT2.js";import"./JMOWBDNJ.js";import"./6NIL5WRG.js";import"./IUFITMZP.js";import"./MRVFLAQW.js";import"./JM7CE7BU.js";import"./LZON5NIK.js";import"./JOHYSRVH.js";import"./EMKALPKM.js";import"./724RZCUJ.js";import"./OD3DDRK2.js";import"./ZB2JHEUH.js";import"./T6IO3EIO.js";import"./EASJMMIP.js";import"./SBY3SKOO.js";import"./LQRN2ZYE.js";import"./2AZCARTQ.js";import"./TMC7ITEQ.js";import"./5R4OBI65.js";import"./7CXOISFN.js";import"./HWIHOVWP.js";import"./4FYNXGMO.js";import"./IWXUAUTV.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.
|
|
4
|
-
import{a,b}from"./
|
|
3
|
+
v1.1.0-next.20251007 */
|
|
4
|
+
import{a,b}from"./EMKALPKM.js";import"./5R4OBI65.js";import"./7CXOISFN.js";import"./HWIHOVWP.js";import"./IWXUAUTV.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.
|
|
4
|
-
import{b as p}from"./
|
|
3
|
+
v1.1.0-next.20251007 */
|
|
4
|
+
import{b as p}from"./X2OE5IJ7.js";import{E as a,h as i,i as n,r}from"./MDXTMYXB.js";import"./IWXUAUTV.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.1.0-next.20251007 */
|
|
4
|
+
import{a as r}from"./GXRV7RM3.js";import"./2DSW6XTR.js";import"./CNRCMRFR.js";import"./EW77BRVK.js";import"./NFUTJQ6G.js";import"./4KNF77QE.js";import"./LTO6H6S4.js";import"./V6YG4AUN.js";import"./4KSWM4IU.js";import"./Z27W4IIG.js";import"./CZD47EV7.js";import"./BGVSICH4.js";import"./BLNKUEHQ.js";import"./LKLS7OZC.js";import"./RQNPHKAR.js";import"./ICUPL3P5.js";import"./K3CKPBR4.js";import"./N7BBRC6U.js";import"./BLLH45ZM.js";import"./QDU3LTAL.js";import"./LZON5NIK.js";import"./CYTHT4IX.js";import{a as d}from"./RF62BZRX.js";import"./UONZCNUI.js";import"./JLFITN4X.js";import{b as p}from"./EH5HZMS6.js";import{E as l,h,i as n,l as a}from"./MDXTMYXB.js";import"./IWXUAUTV.js";var g=h`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.1.0-next.20251007 */
|
|
4
|
+
import{a as e}from"./5R4OBI65.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.
|
|
4
|
-
import{a as U}from"./RPMJNS7Y.js";import{a as h}from"./P4LWYJGK.js";import{b as m}from"./25PXWPED.js";import{b as t,d as l,e as d}from"./4OT2FGEK.js";import{a as N}from"./HIZLEBSM.js";import{c as A}from"./FBWQBY27.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
|
|
3
|
+
v1.1.0-next.20251007 */
|
|
4
|
+
import{a as U}from"./S62BKUL2.js";import{a as h}from"./BAT23MAG.js";import{b as m}from"./ACKJ6HLJ.js";import{b as t,d as l,e as d}from"./XO2DRFBA.js";import{a as N}from"./I6ICK7T2.js";import{c as A}from"./LZON5NIK.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
|