@esri/solutions-components 1.1.0-next.20250818 → 1.1.0-next.20250819
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/{BBOFQYSI.js → 24BDVPNH.js} +2 -2
- package/dist/cdn/{SIUTUIBK.js → 2CEVCB6G.js} +2 -2
- package/dist/cdn/{KVGTI5QA.js → 2KLVK3DF.js} +2 -2
- package/dist/cdn/{F4ZZRUWR.js → 2NX64ETW.js} +2 -2
- package/dist/cdn/{INBZA4PD.js → 2PX7QCE5.js} +2 -2
- package/dist/cdn/{YL66GN2Y.js → 2QN6VCK5.js} +2 -2
- package/dist/cdn/{PCYKZD5L.js → 2XM25TAX.js} +2 -2
- package/dist/cdn/{ADH4AX7Q.js → 34E2LY63.js} +2 -2
- package/dist/cdn/{SPI5UOFW.js → 3HMTTM32.js} +2 -2
- package/dist/cdn/{FD4NI5CR.js → 3KRR3EWC.js} +2 -2
- package/dist/cdn/{KX7NEVCY.js → 3NDKI6NH.js} +2 -2
- package/dist/cdn/{BNC6L2YK.js → 3OHVOUJI.js} +2 -2
- package/dist/cdn/3R27T5NF.js +4 -0
- package/dist/cdn/{67EYEWRI.js → 3T3QPZTS.js} +1 -1
- package/dist/cdn/{62UEKGMB.js → 3VJ2UAF3.js} +2 -2
- package/dist/cdn/{AWSF3FLP.js → 3Z752QPI.js} +2 -2
- package/dist/cdn/{DUGVJ3DH.js → 3ZSBXV3T.js} +2 -2
- package/dist/cdn/{U3JJMI52.js → 4ACHVJAT.js} +2 -2
- package/dist/cdn/{C5VCROIZ.js → 4BBJTWZM.js} +2 -2
- package/dist/cdn/{PCNVSKMW.js → 4NXWAPLL.js} +2 -2
- package/dist/cdn/{DT6EEEKP.js → 4RPS5OUS.js} +2 -2
- package/dist/cdn/4TAO7CZ6.js +18 -0
- package/dist/cdn/{HH54FB6Q.js → 4VMTPD3X.js} +2 -2
- package/dist/cdn/{OISZDHT5.js → 4XQLIJVE.js} +2 -2
- package/dist/cdn/{4Y3ESBVN.js → 4XY265GH.js} +2 -2
- package/dist/cdn/{FPZJX6ZR.js → 52DTSHHU.js} +3 -3
- package/dist/cdn/56HI5OZX.js +4 -0
- package/dist/cdn/{GV4WSWWJ.js → 57MRFRBK.js} +1 -1
- package/dist/cdn/{WLTGE5IP.js → 5GSANUEI.js} +2 -2
- package/dist/cdn/{D3RNWLZZ.js → 5PAFS5IG.js} +2 -2
- package/dist/cdn/5U4JK67I.js +4 -0
- package/dist/cdn/{GMSO7XSN.js → 5UQVMELP.js} +2 -2
- package/dist/cdn/{KD7R6SE5.js → 654EUDXI.js} +2 -2
- package/dist/cdn/{RPEKDGLF.js → 65YWJHM4.js} +2 -2
- package/dist/cdn/{XBSJRLOR.js → 67XBBPRO.js} +1 -1
- package/dist/cdn/{X5W7YYAG.js → 6I65R44J.js} +1 -1
- package/dist/cdn/{WFIE3NVJ.js → 6LCQVOOF.js} +2 -2
- package/dist/cdn/{LMSKXNKA.js → 6LX6EBYJ.js} +2 -2
- package/dist/cdn/{4UE66F3J.js → 6U3K5YN7.js} +2 -2
- package/dist/cdn/{ME3AJWAA.js → 6VYGTDV4.js} +2 -2
- package/dist/cdn/{UYNFGAMY.js → 72XFI4RT.js} +2 -2
- package/dist/cdn/{INGTJOFW.js → 742IZCHX.js} +2 -2
- package/dist/cdn/{M5UQNDPQ.js → 7BTFQ7GB.js} +2 -2
- package/dist/cdn/{YIGNOL2J.js → 7DM3LKUS.js} +2 -2
- package/dist/cdn/{UZNINYDJ.js → 7MLPJTWX.js} +2 -2
- package/dist/cdn/{6CFB563X.js → 7MM6S4IL.js} +1 -1
- package/dist/cdn/7QS77URH.js +18 -0
- package/dist/cdn/{UPWRM3QA.js → 7XCWJLB2.js} +2 -2
- package/dist/cdn/{IZUBTNJH.js → 7XT6DNUL.js} +1 -1
- package/dist/cdn/{BA3EUAIL.js → A3O6JMNA.js} +2 -2
- package/dist/cdn/A6AHNC5I.js +4 -0
- package/dist/cdn/{TDRPNFQG.js → A76UWUIW.js} +2 -2
- package/dist/cdn/{SDHMDRBG.js → ACRCQUQS.js} +2 -2
- package/dist/cdn/{TYEXQ25P.js → AFKXBLKS.js} +2 -2
- package/dist/cdn/{2B2N2WJX.js → AMXYZ4OK.js} +1 -1
- package/dist/cdn/{SGWTQLXQ.js → ANCO2LXL.js} +2 -2
- package/dist/cdn/{QLQ5MXCS.js → ANEQF73J.js} +2 -2
- package/dist/cdn/ATSKQV75.js +4 -0
- package/dist/cdn/{ISECMQZA.js → AXWVCHHB.js} +2 -2
- package/dist/cdn/{62NOWEZE.js → AY5CM33Y.js} +2 -2
- package/dist/cdn/{TX4YE4H7.js → BBAR5XKN.js} +2 -2
- package/dist/cdn/{DUBPN4RS.js → BCPDYBW6.js} +2 -2
- package/dist/cdn/{Y5VRLGRE.js → BG6GLWG2.js} +1 -1
- package/dist/cdn/{DL6IDDDM.js → BGANBCPS.js} +2 -2
- package/dist/cdn/{PHXMOTDV.js → BHNIWP2D.js} +1 -1
- package/dist/cdn/{YRUUAQCT.js → BKO27JVX.js} +2 -2
- package/dist/cdn/{PEH22CAL.js → BLDAOYIG.js} +2 -2
- package/dist/cdn/{HZIODVWR.js → BOKOWFEO.js} +2 -2
- package/dist/cdn/{LPI2REVF.js → BXAORZL4.js} +2 -2
- package/dist/cdn/{N3HPXKNC.js → BYDCJ4VZ.js} +1 -1
- package/dist/cdn/{DUNYDQAY.js → C66LGOL3.js} +2 -2
- package/dist/cdn/{MVM4NLH6.js → CLESAR42.js} +2 -2
- package/dist/cdn/{SXU5EP2Q.js → DEAO7LKH.js} +2 -2
- package/dist/cdn/{3WYMKLFQ.js → DIID6F24.js} +2 -2
- package/dist/cdn/{KKHZBUFB.js → DIUE32QA.js} +2 -2
- package/dist/cdn/{BA2GSOLJ.js → DNAHE6B3.js} +2 -2
- package/dist/cdn/{Y2IKSIPY.js → DNE6MITH.js} +2 -2
- package/dist/cdn/{RIVJQEZV.js → DP6MNEO2.js} +2 -2
- package/dist/cdn/{NGSZCEKR.js → DPYO4UNZ.js} +1 -1
- package/dist/cdn/{S3WVR6DZ.js → DWL3QSPA.js} +2 -2
- package/dist/cdn/{BUG336RI.js → E2B4PX5E.js} +2 -2
- package/dist/cdn/{BTE46Y5Q.js → E5O3SDQO.js} +2 -2
- package/dist/cdn/{NTMHPTFP.js → EAGLALAQ.js} +1 -1
- package/dist/cdn/{IYZLWG7W.js → EB2PKDO6.js} +2 -2
- package/dist/cdn/{ZBLOJL6N.js → EFCGDNV5.js} +2 -2
- package/dist/cdn/{QZ7ACKEY.js → EJAPQXFI.js} +2 -2
- package/dist/cdn/{LBW4QNC4.js → EJD4FG7F.js} +2 -2
- package/dist/cdn/{NMPXEPPL.js → ELYCXPDG.js} +2 -2
- package/dist/cdn/{RWMTRFMU.js → EMQCI6RG.js} +2 -2
- package/dist/cdn/{UICHQ5XS.js → F2FAIAU2.js} +2 -2
- package/dist/cdn/{GW5PRU3X.js → F7BRX5TN.js} +2 -2
- package/dist/cdn/{HLAUGMQ2.js → F7EZLC62.js} +2 -2
- package/dist/cdn/{WJPPWAOI.js → FAPGFPOJ.js} +1 -1
- package/dist/cdn/{5BZ3RNAC.js → FKJ74KL2.js} +2 -2
- package/dist/cdn/{COZZW6V3.js → FN2WRV4R.js} +2 -2
- package/dist/cdn/{23TMCFRN.js → FOGK56KV.js} +1 -1
- package/dist/cdn/{AYNLOBV4.js → FPVE7DKQ.js} +2 -2
- package/dist/cdn/{6LNJ4H2K.js → FV5ATVEG.js} +2 -2
- package/dist/cdn/{KUKTXMSX.js → FVXZDOFO.js} +2 -2
- package/dist/cdn/{UYPERMZC.js → FY5UZTY6.js} +1 -1
- package/dist/cdn/{AYTVFDPL.js → FZTZRSVE.js} +3 -3
- package/dist/cdn/{SXJLK5RU.js → GAIWNYWL.js} +2 -2
- package/dist/cdn/{UOEISUZB.js → GE225ZJ6.js} +1 -1
- package/dist/cdn/{NVTUQPZC.js → GGG4CDGN.js} +1 -1
- package/dist/cdn/{O5NQYW4S.js → GK6IMCNG.js} +2 -2
- package/dist/cdn/{ML4IONJI.js → GMCNEOK7.js} +2 -2
- package/dist/cdn/{XX32FBMH.js → GNRZEXFN.js} +2 -2
- package/dist/cdn/{ICW3CQ5K.js → GOISV2LT.js} +2 -2
- package/dist/cdn/{235XLQAM.js → GTUZ7LWY.js} +4 -4
- package/dist/cdn/{WTLEVLOM.js → GUJC76WT.js} +2 -2
- package/dist/cdn/{QX44EA3W.js → GW66TTO2.js} +2 -2
- package/dist/cdn/{OSBOGUD2.js → GX2F4JGM.js} +1 -1
- package/dist/cdn/{R2HQSEAY.js → GX36OVTS.js} +2 -2
- package/dist/cdn/{UIRBSZJJ.js → H465VNWN.js} +2 -2
- package/dist/cdn/{5WWQIU6C.js → H6MJF5YU.js} +2 -2
- package/dist/cdn/{65UAYDBN.js → H6N72YM6.js} +1 -1
- package/dist/cdn/{3G3U5DAY.js → HCN44RZN.js} +2 -2
- package/dist/cdn/{4OFQDJ6A.js → HFIFNLE6.js} +2 -2
- package/dist/cdn/{MARG7OKX.js → HNGEXL62.js} +2 -2
- package/dist/cdn/{X7KJN7BB.js → HUHERRGE.js} +2 -2
- package/dist/cdn/I5HJNSNJ.js +4 -0
- package/dist/cdn/{6Q63AOMU.js → I6W4OLBS.js} +2 -2
- package/dist/cdn/{IQHSSVKC.js → ICENJ546.js} +2 -2
- package/dist/cdn/{5IEZZPUO.js → IGVLUS3C.js} +2 -2
- package/dist/cdn/{RMMB2BCE.js → IJSMSB7D.js} +2 -2
- package/dist/cdn/INHVYJZT.js +4 -0
- package/dist/cdn/{LEYZSHPB.js → INZPC2AB.js} +2 -2
- package/dist/cdn/{JM3ZPWGY.js → IRNQSIXL.js} +2 -2
- package/dist/cdn/{SSKFDLNA.js → IUYH43JJ.js} +2 -2
- package/dist/cdn/{HAWBRFO4.js → IWJ2ZMNS.js} +2 -2
- package/dist/cdn/{V7N4SGEA.js → IXAWNCC5.js} +1 -1
- package/dist/cdn/{ZMGI6JKK.js → J2QF245E.js} +2 -2
- package/dist/cdn/{Q2KYLW44.js → J5ZCK3TK.js} +2 -2
- package/dist/cdn/{CAHIXJAC.js → J76PFNGB.js} +1 -1
- package/dist/cdn/{TXQ5AKTD.js → J7YCPSUF.js} +2 -2
- package/dist/cdn/{QP2GTGLR.js → JHVO3CP7.js} +2 -2
- package/dist/cdn/{GFEGTT65.js → JI2SAYCM.js} +2 -2
- package/dist/cdn/{PEODTGHZ.js → JJPZUFAZ.js} +2 -2
- package/dist/cdn/{R2PG52G4.js → JONOM255.js} +2 -2
- package/dist/cdn/{HJ6GYEOT.js → JQ22K6BZ.js} +2 -2
- package/dist/cdn/{TK2VN4M6.js → JTXFOO3I.js} +2 -2
- package/dist/cdn/{L5VLMTR2.js → K22KBOKY.js} +2 -2
- package/dist/cdn/{2YRCAX6G.js → K2LV3XD3.js} +2 -2
- package/dist/cdn/{FQOP3IHB.js → K2NMCDVM.js} +2 -2
- package/dist/cdn/{CCUURDN3.js → K3YIW6KT.js} +1 -1
- package/dist/cdn/{7QA2XWHF.js → K53OL6JR.js} +2 -2
- package/dist/cdn/{ZGDVZBA6.js → K73ZDL6T.js} +2 -2
- package/dist/cdn/K7ZA3FFC.js +4 -0
- package/dist/cdn/{H2QTIFW6.js → KQECYLAL.js} +2 -2
- package/dist/cdn/{7BASGBL3.js → L2ZBG3JF.js} +2 -2
- package/dist/cdn/{HCY45Z6P.js → L3DBBV2W.js} +2 -2
- package/dist/cdn/{REJEFRE4.js → L4CC4KNJ.js} +2 -2
- package/dist/cdn/{5UGF2RMZ.js → LB3TT43G.js} +2 -2
- package/dist/cdn/{6TDGLMGN.js → LDJYSN5D.js} +2 -2
- package/dist/cdn/{PDK2DEEN.js → LDVZXGKZ.js} +2 -2
- package/dist/cdn/{BD4EMRO4.js → LHFFIZ22.js} +2 -2
- package/dist/cdn/{UQEGIZ4V.js → LJWVIPZW.js} +2 -2
- package/dist/cdn/{AVCRNRY7.js → LKCO6XND.js} +2 -2
- package/dist/cdn/{KKV4AQ4S.js → LLILUCX4.js} +2 -2
- package/dist/cdn/{MMYJSIWO.js → LQACV2LW.js} +1 -1
- package/dist/cdn/{MAW34AAC.js → LXH2SO43.js} +2 -2
- package/dist/cdn/{SE7FWOIT.js → LZQICKVC.js} +2 -2
- package/dist/cdn/{E4ETWC64.js → M6D4LGKQ.js} +2 -2
- package/dist/cdn/{J76MNH4M.js → M7GBGDGE.js} +2 -2
- package/dist/cdn/{DLATCFHU.js → MBUU52CZ.js} +2 -2
- package/dist/cdn/{EVRJVAJE.js → MCGFHROH.js} +2 -2
- package/dist/cdn/{TUZJGYK3.js → MF3OG4VY.js} +2 -2
- package/dist/cdn/{UWUTEATX.js → MK3RPYXC.js} +2 -2
- package/dist/cdn/{4MTMZVF5.js → MQGQPICI.js} +2 -2
- package/dist/cdn/{5SIXJEJI.js → N4BBS2LR.js} +2 -2
- package/dist/cdn/{EQAQHKCK.js → NBAZK6OZ.js} +2 -2
- package/dist/cdn/{LSY2W6B3.js → NJVZY5MD.js} +2 -2
- package/dist/cdn/{Q5LB4FH4.js → NLFYNOUR.js} +2 -2
- package/dist/cdn/{PCWDJAJI.js → NOEXEMV5.js} +2 -2
- package/dist/cdn/{5E4GIVQX.js → NOLFW52G.js} +2 -2
- package/dist/cdn/{LXGML76O.js → NQ6M4LUU.js} +2 -2
- package/dist/cdn/{E6D2PGYQ.js → NTRY3XB6.js} +2 -2
- package/dist/cdn/{SNREOFIS.js → NVHT3Y7W.js} +2 -2
- package/dist/cdn/{I3W5HGYT.js → NYNSAPTM.js} +2 -2
- package/dist/cdn/{W2EHLCS7.js → O2EOV3CJ.js} +2 -2
- package/dist/cdn/{OT5TS4TQ.js → O2IV4JMW.js} +2 -2
- package/dist/cdn/O7BZMNSE.js +4 -0
- package/dist/cdn/{SYDMVCSS.js → ODW4STKJ.js} +2 -2
- package/dist/cdn/{PJG2WCDK.js → OFD6SR37.js} +2 -2
- package/dist/cdn/{UJMBIDYA.js → ONWGDZT5.js} +2 -2
- package/dist/cdn/{3PRN6OLE.js → OO6IJCH4.js} +2 -2
- package/dist/cdn/{JPJYYNWV.js → OPTN3ME6.js} +2 -2
- package/dist/cdn/{BIE43IGH.js → OSCAEMPD.js} +2 -2
- package/dist/cdn/{O3J7UQKM.js → OVJQ6OFH.js} +2 -2
- package/dist/cdn/{VSRZDUZU.js → OYZEM335.js} +1 -1
- package/dist/cdn/{7FPBQA7H.js → PIVVK35A.js} +2 -2
- package/dist/cdn/{WIXP6VK5.js → PR3CDOEP.js} +2 -2
- package/dist/cdn/{FZQAN6YM.js → PXCMVTKZ.js} +2 -2
- package/dist/cdn/{3BVUEJ3Z.js → PXX4HFO5.js} +2 -2
- package/dist/cdn/{Y36ZRJKA.js → QAHIP2GX.js} +2 -2
- package/dist/cdn/{EOXVRJW6.js → QDQOYMUU.js} +2 -2
- package/dist/cdn/{ZHNSAXID.js → QHOELTKY.js} +2 -2
- package/dist/cdn/{JU42ZLID.js → QJCXGJ6L.js} +2 -2
- package/dist/cdn/{I2K4QP6G.js → QPUATAAE.js} +2 -2
- package/dist/cdn/{URRT3KMU.js → QR6CKG42.js} +2 -2
- package/dist/cdn/{CBKG3TN3.js → QRR2NNVK.js} +2 -2
- package/dist/cdn/{2BCOKAO7.js → QY7M2QSI.js} +2 -2
- package/dist/cdn/{N5O6ZEGZ.js → R22QQKTW.js} +2 -2
- package/dist/cdn/{BQOJWWEZ.js → RAKIXVX2.js} +2 -2
- package/dist/cdn/{OY5THM4A.js → RCWLSY6I.js} +2 -2
- package/dist/cdn/{ENUR7R4D.js → RDI63QRY.js} +2 -2
- package/dist/cdn/{TDD3NYSA.js → RHADMR4Z.js} +2 -2
- package/dist/cdn/{CXU36IAR.js → ROYZJIEE.js} +2 -2
- package/dist/cdn/{Z7Q74DHT.js → S6ZH56JW.js} +2 -2
- package/dist/cdn/{2LTH7RJS.js → SA64VJDS.js} +2 -2
- package/dist/cdn/{333HWSMJ.js → SAH5BHRY.js} +1 -1
- package/dist/cdn/{4LE4JATK.js → SDJB7VSM.js} +2 -2
- package/dist/cdn/{OFIZBJGO.js → SE23DFGC.js} +2 -2
- package/dist/cdn/{IYILGYBJ.js → SQEH2DIV.js} +2 -2
- package/dist/cdn/{TBYYM43L.js → SQLK6YCV.js} +1 -1
- package/dist/cdn/{JCLNCFM3.js → SUOAKQEN.js} +2 -2
- package/dist/cdn/{QHOEROKY.js → SX3XDGQ6.js} +2 -2
- package/dist/cdn/{JBJSL4N4.js → SY5E3AVJ.js} +2 -2
- package/dist/cdn/{XLYSANTE.js → T2H7M2DI.js} +2 -2
- package/dist/cdn/{LQ2HAAUQ.js → T7F435GA.js} +2 -2
- package/dist/cdn/{A3WZDLWT.js → TACC72BQ.js} +2 -2
- package/dist/cdn/TAQN3MIW.js +18 -0
- package/dist/cdn/{XRKZLEW4.js → TEUVGOIY.js} +1 -1
- package/dist/cdn/{IGSK5BG4.js → TEXRB7NV.js} +2 -2
- package/dist/cdn/{MM6KIAWC.js → TFCKOEWL.js} +2 -2
- package/dist/cdn/{KIQ7MTLX.js → TGBNBAXL.js} +2 -2
- package/dist/cdn/{4MTWHCFA.js → THBUB5W7.js} +2 -2
- package/dist/cdn/{N3UZMVOV.js → TK77BTJO.js} +2 -2
- package/dist/cdn/TNISXZRI.js +4 -0
- package/dist/cdn/{GOQGQPLA.js → TR4FJOX7.js} +1 -1
- package/dist/cdn/{7S2VPPXW.js → TS7OFSKI.js} +2 -2
- package/dist/cdn/{HYT7WWQL.js → TTGOCUOI.js} +2 -2
- package/dist/cdn/{TSHP6LR6.js → TU2VOXF6.js} +2 -2
- package/dist/cdn/{J6UNPK46.js → TWGXRZ74.js} +2 -2
- package/dist/cdn/{CFFP3TGO.js → TYJ45GML.js} +2 -2
- package/dist/cdn/{SZ4ULADV.js → U24LTB7J.js} +2 -2
- package/dist/cdn/{JAM34U3G.js → U2G7TTSF.js} +1 -1
- package/dist/cdn/{VXJKSC6F.js → U5G7EA6M.js} +2 -2
- package/dist/cdn/{OF6E54NK.js → U63F2JDU.js} +2 -2
- package/dist/cdn/{25UOXMDB.js → U7OHC5AQ.js} +2 -2
- package/dist/cdn/{UUDJYULL.js → UALKPXS3.js} +2 -2
- package/dist/cdn/{QVZSFAEQ.js → UAVULCVS.js} +2 -2
- package/dist/cdn/{KPEP6OST.js → UAXZFV4N.js} +2 -2
- package/dist/cdn/{G6KEW64X.js → UB7PE3AY.js} +2 -2
- package/dist/cdn/{3SPNSK2M.js → UMGOFUDS.js} +2 -2
- package/dist/cdn/{DMXP3IHB.js → UNUUESGY.js} +2 -2
- package/dist/cdn/{6EKR2ASQ.js → UTV27VN5.js} +2 -2
- package/dist/cdn/{C33FC7RC.js → UUIXKWJE.js} +2 -2
- package/dist/cdn/{JUCP6VJN.js → UXLMABXA.js} +2 -2
- package/dist/cdn/UZJSQPSQ.js +4 -0
- package/dist/cdn/{FUCVRAVQ.js → VBF5CTG3.js} +2 -2
- package/dist/cdn/{TWEAJRSR.js → VK2K5XNT.js} +2 -2
- package/dist/cdn/{B3EYCFHY.js → VLHVZ4SR.js} +2 -2
- package/dist/cdn/{P27EQTXP.js → VMWDPJTM.js} +1 -1
- package/dist/cdn/VRAOCHFE.js +18 -0
- package/dist/cdn/{TCX2HCL4.js → VYLW2IDP.js} +2 -2
- package/dist/cdn/{RRDR2763.js → VYMRAN74.js} +2 -2
- package/dist/cdn/{UEVH4ZIG.js → W4HZTMNT.js} +1 -1
- package/dist/cdn/WB4LTDQP.js +4 -0
- package/dist/cdn/{26VSVB7G.js → WEP26LHX.js} +2 -2
- package/dist/cdn/{2CPXQ3XO.js → WG2NYCMG.js} +2 -2
- package/dist/cdn/{NEAWOVAT.js → WQ4TGR3C.js} +2 -2
- package/dist/cdn/{S4CH3KVO.js → WQ6KFVZN.js} +2 -2
- package/dist/cdn/{MCRN33XB.js → WV64QIRZ.js} +2 -2
- package/dist/cdn/{UOA2YAXC.js → WZMJH2DL.js} +1 -1
- package/dist/cdn/{R7NXQS2H.js → X2H43HYH.js} +1 -1
- package/dist/cdn/{XQF5WBLB.js → X3XSZ65Y.js} +2 -2
- package/dist/cdn/{IDBGIPXB.js → XB5P4EQI.js} +1 -1
- package/dist/cdn/{BN4BZNL3.js → XCEMSPXE.js} +2 -2
- package/dist/cdn/{FJHYTGL3.js → XSIKQNNC.js} +2 -2
- package/dist/cdn/XSLY3IGZ.js +4 -0
- package/dist/cdn/{WUKYRBFW.js → XVEEFPUJ.js} +2 -2
- package/dist/cdn/XXCFRRLF.js +4 -0
- package/dist/cdn/{XYP4MM7Y.js → Y6JZAFOX.js} +2 -2
- package/dist/cdn/Y7NS4JZS.js +18 -0
- package/dist/cdn/{BLGTW3P7.js → YA3RB4C4.js} +2 -2
- package/dist/cdn/{MBGN7PRL.js → YABH5PBS.js} +2 -2
- package/dist/cdn/{J23SUAVE.js → YC3RTILK.js} +2 -2
- package/dist/cdn/{MJHDVXB5.js → YM6V6R3R.js} +2 -2
- package/dist/cdn/{ETWLI3UW.js → YN55LX3C.js} +1 -1
- package/dist/cdn/{CVWDWQZG.js → YRTVPKDV.js} +2 -2
- package/dist/cdn/{DHERKA4G.js → YXHCXL4G.js} +2 -2
- package/dist/cdn/{NSCSVPLE.js → Z422BYVK.js} +2 -2
- package/dist/cdn/ZBCWEZ6Q.js +4 -0
- package/dist/cdn/{AVAQFCMA.js → ZCJWOG36.js} +2 -2
- package/dist/cdn/{ORAWEOF6.js → ZCZBE7ES.js} +2 -2
- package/dist/cdn/{53H4O4KK.js → ZD5J7YJA.js} +2 -2
- package/dist/cdn/{YP6HMNUN.js → ZDPXDUJD.js} +2 -2
- package/dist/cdn/{XXYUKCG6.js → ZIL5UCFT.js} +2 -2
- package/dist/cdn/{HIG6WAET.js → ZJAISNB5.js} +2 -2
- package/dist/cdn/{AEHWVDBQ.js → ZJE4EEE4.js} +2 -2
- package/dist/cdn/{AXH7MWTJ.js → ZP3BQCVA.js} +1 -1
- package/dist/cdn/{BCCYBMSW.js → ZR74FN7G.js} +1 -1
- package/dist/cdn/{BJYA7WKW.js → ZSX3D43K.js} +1 -1
- package/dist/cdn/{MGYKS4CA.js → ZZC4NGY5.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.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/index.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/publicNotificationStore.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- 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 +18 -15
- package/dist/components/solution-configure-dialog/index.d.ts +1 -1
- package/dist/components/solution-configure-dialog/index.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 +25 -25
- 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.js +13 -13
- 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-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +8 -8
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/2IAXWN6T.js +0 -4
- package/dist/cdn/3B3A5TS3.js +0 -4
- package/dist/cdn/3QKRY7AN.js +0 -18
- package/dist/cdn/4KH3V75Z.js +0 -4
- package/dist/cdn/5INUHIM3.js +0 -4
- package/dist/cdn/BXYYFFJR.js +0 -4
- package/dist/cdn/EB64EA6V.js +0 -4
- package/dist/cdn/H4P4SOOU.js +0 -18
- package/dist/cdn/HXMEN564.js +0 -18
- package/dist/cdn/JIWLPRYN.js +0 -4
- package/dist/cdn/KEBMEHQB.js +0 -4
- package/dist/cdn/MNTW36LR.js +0 -4
- package/dist/cdn/MRKES3TY.js +0 -4
- package/dist/cdn/RM6O54I7.js +0 -18
- package/dist/cdn/SMYPLT36.js +0 -4
- package/dist/cdn/TIIH4KX4.js +0 -4
- package/dist/cdn/UGBEJX6A.js +0 -4
- package/dist/cdn/UK7WAVOZ.js +0 -4
- package/dist/cdn/VEVWVLSN.js +0 -4
- package/dist/cdn/VOTU75AB.js +0 -18
package/package.json
CHANGED
package/dist/cdn/2IAXWN6T.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{b as e,e as r}from"./62UEKGMB.js";import"./Y5VRLGRE.js";import"./XXYUKCG6.js";import"./P27EQTXP.js";import{c as t}from"./VSRZDUZU.js";import"./JM3ZPWGY.js";import"./R7NXQS2H.js";import"./UIRBSZJJ.js";import"./PHXMOTDV.js";import"./IDBGIPXB.js";import"./IZUBTNJH.js";import"./HZIODVWR.js";import"./ZBLOJL6N.js";import"./N3HPXKNC.js";import"./WUKYRBFW.js";import"./UOA2YAXC.js";import"./GOQGQPLA.js";import"./333HWSMJ.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
package/dist/cdn/3B3A5TS3.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{b as p}from"./KX7NEVCY.js";import{h as i,i as n,q as r,y as a}from"./FPZJX6ZR.js";import"./333HWSMJ.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};
|
package/dist/cdn/3QKRY7AN.js
DELETED
@@ -1,18 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import a from"./ENUR7R4D.js";import{b as v}from"./WJPPWAOI.js";import{a as l,c as y,d as b,e as m}from"./XYP4MM7Y.js";import"./3SPNSK2M.js";import"./JAM34U3G.js";import"./UZNINYDJ.js";import"./IYILGYBJ.js";import"./R2PG52G4.js";import"./JM3ZPWGY.js";import"./UEVH4ZIG.js";import"./UYPERMZC.js";import"./UIRBSZJJ.js";import"./PHXMOTDV.js";import"./IDBGIPXB.js";import"./IZUBTNJH.js";import"./IYZLWG7W.js";import"./HZIODVWR.js";import"./ZBLOJL6N.js";import"./N3HPXKNC.js";import"./MMYJSIWO.js";import"./WUKYRBFW.js";import"./UOA2YAXC.js";import"./GOQGQPLA.js";import{a as g}from"./HIG6WAET.js";import"./KUKTXMSX.js";import"./TWEAJRSR.js";import{b as f}from"./NMPXEPPL.js";import{B as o,C as u,h as c,i,n,w as d,x as p,y as h}from"./FPZJX6ZR.js";import"./333HWSMJ.js";export default $arcgis.t(([_])=>{var x=c`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/calcite-shell-panel{z-index:1}.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none;--calcite-z-index-header: 0}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}`,r=class extends h{constructor(){super(),this.authentication=void 0,this.solutionsCount=0,this.sortType="created",this.useLocalAppConfig=!1,this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=g({name:"solutions-deployed-shell",blocking:!0}),this._solutionsDeployedPanelRef=d(),this._authContextProvider=l({context:m}),this._isMobileContextProvider=l({context:b}),this._userSessionContextProvider=l({context:y}),this.filterRemoved=n(),this.tokenRefreshed=n(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,authentication:0,solutionsCount:9,sortType:1,useLocalAppConfig:5,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=x}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=v),this.authentication||(console.log("auth not provided in solutions-deployed-shell...loading from app config"),this.authentication=new _(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this.authentication.init(),this.authentication.SignedIn||this.authentication.signIn()),this._authContextProvider.setValue(this.authentication),this.authentication.RestUserSession&&this._userSessionContextProvider.setValue(this.authentication.RestUserSession),this._setRefreshInterval()}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="border-override header-override background-override"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"block"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${o(e)}><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${o(e)} position=start><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-deployed-panel .agoSolutionsGroupId=${this.appConfig.primarySolutionsGroupId} .enterpriseSolutionsGroupId=${this.appConfig.agoBasedEnterpriseSolutionsGroupId} .locale=${this.appConfig.locale||"en"} .orgUrl=${this.appConfig.portalURL} @deployedCardsFetched=${this._updateSolutionCount} .portalUrl=${this.appConfig.portalURL} .sortType=${this.sortType} style=${o(e)} ${p(this._solutionsDeployedPanelRef)}></solutions-deployed-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByDateDeployed,sortType:"created"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??u}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"created":t=this._translations.sortByDateDeployed;break;case"relevance":t=this._translations.sortByRelevance;break;case"title":t=this._translations.sortByTitle;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._solutionsDeployedPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){let t=this.filters.filter(s=>s.displayValue===e);this.filters=this.filters.filter(s=>s.displayValue!==e),this._solutionsDeployedPanelRef.value?.searchSolutions(),t.length>0&&this.filterRemoved.emit(t[0])}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._solutionsDeployedPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._solutionsDeployedPanelRef.value?.searchSolutions())}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let s=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let a=await t?.refreshSession();if(a){this._userSessionContextProvider.setValue(a);let C=a?.token??"";this.tokenRefreshed.emit(C)}},s)}}};f("solutions-deployed-shell",r);return r},a)
|
package/dist/cdn/4KH3V75Z.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a as O}from"./JAM34U3G.js";import{e as _}from"./UYPERMZC.js";import{a as l,f as p}from"./IDBGIPXB.js";import"./UOA2YAXC.js";import"./333HWSMJ.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./NEAWOVAT.js"),m={"hub:card:stat":()=>import("./BLGTW3P7.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./BTE46Y5Q.js"),m={"hub:card:follow":()=>import("./OISZDHT5.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./BA3EUAIL.js"),m=import("./DLATCFHU.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./ME3AJWAA.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./J6UNPK46.js"),"hub:site:create":()=>import("./QHOEROKY.js"),"hub:site:followers":()=>import("./ICW3CQ5K.js"),"hub:site:discussions":()=>import("./QLQ5MXCS.js"),"hub:site:settings":()=>import("./5WWQIU6C.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./BQOJWWEZ.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./BIE43IGH.js"),"hub:discussion:create":()=>import("./DMXP3IHB.js"),"hub:discussion:settings":()=>import("./D3RNWLZZ.js"),"hub:discussion:settings:discussions":()=>import("./5SIXJEJI.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./5INUHIM3.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./AWSF3FLP.js"),"hub:channel:create":()=>import("./UGBEJX6A.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./EB64EA6V.js");r=l(n);let v=await{"hub:project:edit":()=>import("./2CPXQ3XO.js"),"hub:project:create":()=>import("./DUGVJ3DH.js"),"hub:project:create2":()=>import("./H2QTIFW6.js"),"hub:project:metrics":()=>import("./HH54FB6Q.js"),"hub:project:settings":()=>import("./DL6IDDDM.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./TIIH4KX4.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./IQHSSVKC.js"),"hub:initiative:create":()=>import("./REJEFRE4.js"),"hub:initiative:create2":()=>import("./DT6EEEKP.js"),"hub:initiative:metrics":()=>import("./MGYKS4CA.js"),"hub:initiative:associations":()=>import("./DUNYDQAY.js"),"hub:initiative:settings":()=>import("./FZQAN6YM.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./JPJYYNWV.js");r=l(I);let D=await{"hub:page:edit":()=>import("./HYT7WWQL.js"),"hub:page:create":()=>import("./TCX2HCL4.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./ORAWEOF6.js");r=l(K);let U=await{"hub:content:edit":()=>import("./7FPBQA7H.js"),"hub:content:discussions":()=>import("./RMMB2BCE.js"),"hub:content:settings":()=>import("./CXU36IAR.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./SGWTQLXQ.js");r=l(y);let k=await{"hub:template:edit":()=>import("./URRT3KMU.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./JIWLPRYN.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./2BCOKAO7.js"),"hub:group:create:association":()=>import("./25UOXMDB.js"),"hub:group:create:view":()=>import("./HLAUGMQ2.js"),"hub:group:create:edit":()=>import("./BNC6L2YK.js"),"hub:group:create":()=>import("./XQF5WBLB.js"),"hub:group:edit":()=>import("./QZ7ACKEY.js"),"hub:group:settings":()=>import("./MVM4NLH6.js"),"hub:group:discussions":()=>import("./2LTH7RJS.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./LXGML76O.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./3WYMKLFQ.js"),"hub:survey:settings":()=>import("./BA2GSOLJ.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./VEVWVLSN.js"),"hub:event:edit":()=>import("./FD4NI5CR.js"),"hub:event:registrants":()=>import("./PEODTGHZ.js")}[a](),H=await{"hub:event:create":()=>import("./SYDMVCSS.js"),"hub:event:edit":()=>import("./TUZJGYK3.js"),"hub:event:registrants":()=>import("./KPEP6OST.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./U3JJMI52.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./SXU5EP2Q.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./CFFP3TGO.js");r=l(N);let P=await{"hub:user:settings":()=>import("./XX32FBMH.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
package/dist/cdn/5INUHIM3.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a,b}from"./MAW34AAC.js";import"./GOQGQPLA.js";import"./333HWSMJ.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|
package/dist/cdn/BXYYFFJR.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import b from"./5IEZZPUO.js";import a from"./MRKES3TY.js";import{a as _}from"./SMYPLT36.js";import{b as T}from"./KX7NEVCY.js";import"./TWEAJRSR.js";import{A as l,C as g,h as C,i as r,n as x,q as L,x as $,y}from"./FPZJX6ZR.js";import"./333HWSMJ.js";export default $arcgis.t(([,{a:d,b:b,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{:host{display:block}:host .instant-apps-language-translator-item{display:flex}:host .instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}:host .instant-apps-language-translator-item__section--last-item{border-bottom:none}:host .instant-apps-language-translator-item__section--selected{background-color:#f1faff}:host .instant-apps-language-translator-item__section:first-child{margin-right:1%}:host .instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}:host .instant-apps-language-translator-item__ui-location-items{display:flex}:host .instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}:host .instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}:host .instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}:host .instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}:host .instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}:host .instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-action{--calcite-ui-icon-color: var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}:host(.instant-apps-language-translator--last-item) .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},v=class extends y{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===b.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===b.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};T("instant-apps-language-translator-item",v);return v},a,b)
|
package/dist/cdn/EB64EA6V.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a,b}from"./F4ZZRUWR.js";import"./LMSKXNKA.js";import"./V7N4SGEA.js";import"./N5O6ZEGZ.js";import"./23TMCFRN.js";import"./CAHIXJAC.js";import"./333HWSMJ.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/H4P4SOOU.js
DELETED
@@ -1,18 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a as A,c as T}from"./7BASGBL3.js";import i from"./TXQ5AKTD.js";import e from"./ENUR7R4D.js";import{a as C}from"./AYTVFDPL.js";import{b as I}from"./WJPPWAOI.js";import c from"./SPI5UOFW.js";import{a as _,c as k,d as M,e as L}from"./XYP4MM7Y.js";import{H as g,J as v,K as R,pa as S}from"./3SPNSK2M.js";import"./JAM34U3G.js";import"./UZNINYDJ.js";import"./IYILGYBJ.js";import"./R2PG52G4.js";import"./JM3ZPWGY.js";import"./UEVH4ZIG.js";import"./UYPERMZC.js";import"./UIRBSZJJ.js";import"./PHXMOTDV.js";import"./IDBGIPXB.js";import"./IZUBTNJH.js";import"./IYZLWG7W.js";import"./HZIODVWR.js";import{k as P}from"./ZBLOJL6N.js";import"./N3HPXKNC.js";import"./MMYJSIWO.js";import"./WUKYRBFW.js";import"./UOA2YAXC.js";import"./GOQGQPLA.js";import"./XBSJRLOR.js";import{a as $}from"./HIG6WAET.js";import"./KUKTXMSX.js";import"./TWEAJRSR.js";import{b as x}from"./NMPXEPPL.js";import{A as d,B as w,C as u,h as f,i as a,n as m,w as h,x as p,y as b}from"./FPZJX6ZR.js";import"./333HWSMJ.js";export default $arcgis.t(([,D,{b:H,c:E}])=>{var O=f`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:1px;border-bottom-style:solid}.row-margin-2{margin-inline-start:2rem;margin-inline-end:2rem}ul{list-style-type:disc;margin-block-start:0px;margin-block-end:0px}calcite-label{--calcite-label-margin-bottom: 0px}.title-font-colors{--calcite-label-text-color: var(--calcite-color-text-2)}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-end-2{padding-inline-end:2rem}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.width-330{width:330px}.card-group{overflow:hidden;padding:.5rem}calcite-card{width:400px}@media (max-width: 800px){calcite-card{width:calc(50% - .5rem)}}@media (max-width: 400px){calcite-card{width:100%}}.max-height-300{max-height:300px}.scrollable-section{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.scrollable-section::-webkit-scrollbar{display:none}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer;padding:2px}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.margin-inline-unset{margin-inline:unset}`,y=class extends b{constructor(){super(),this.authentication=void 0,this.useLocalAppConfig=!1,this._hideScreenshotsScroll=!1,this._hideYouMayAlsoLikeScroll=!1,this.isMobile=!1,this._templates=[],this._translations=$({name:"solution-details-panel",blocking:!0}),this._youMayAlsoLikeBaseHeight=340,this._allCards=[],this._authContextProvider=_({context:L}),this._configureLearnMore="",this._customDeploymentMappings={},this._deployDialogRef=h(),this._deployingDialogRef=h(),this._isMobileContextProvider=_({context:M}),this._privilegePopoverRef=h(),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._screenshotsBaseHeight=300,this._screenshotsDialogRef=h(),this._screenshotsElement=h(),this._userOptions=[],this._userSessionContextProvider=_({context:k}),this._youMayAlsoLikeElement=h(),this.templatesFetched=m(),this.itemPropertiesFetched=m(),this.tokenRefreshed=m(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched)}static{this.properties={appConfig:1,authentication:0,card:0,useLocalAppConfig:5,_hideScreenshotsScroll:16,_hideYouMayAlsoLikeScroll:16,isMobile:16,_itemProperties:16,_missingPrivilegeMessages:16,_templates:16,_translations:16,_youMayAlsoLikeBaseHeight:16}}static{this.styles=O}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this.listenOn(this._mediaQuery,"change",this._mediaQueryChange),this.listenOn(window,"calciteTabChange",this._cleanupPanel),this.listenOn(window,"detailsCardSelected",this._cleanupPanel)}async load(){this.useLocalAppConfig&&(this.appConfig=I),this.authentication||(console.log("auth not provided in solutions-details-panel...loading from app config"),this.authentication=new D(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this.authentication.init(),this.authentication.SignedIn||this.authentication.signIn()),this._authContextProvider.setValue(this.authentication),this.authentication.RestUserSession&&this._userSessionContextProvider.setValue(this.authentication.RestUserSession),this._setRefreshInterval()}loaded(){this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="border-bottom row-margin-2 padding-bottom-1",t=this._getRelatedArticles(),i=this._getYouMayAlsoLikeCards();return a`<calcite-panel><div class=${`${e} padding-top-1`} id=solution-details-row>${this._getSolutionRow()}</div><div class=${d(e)}>${this._getScreenshotsRow()}</div><div class=${d(e)}>${this._getDescriptionRow()}</div><div class=${d(e)}>${this._getRequirementsRow()}</div><div class=${d(e)}>${this._getInformationProductsRow()}</div><div class=${d(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?a`<div class=${d(e)}>${this._getRelatedArticlesRow(t)}</div>`:""}${i.length>0?a`<div class=${d(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}<solution-deploy-dialog .card=${this.card} @deployFailed=${this._closeDialogs} @deployProgressEnd=${this._closeDialogs} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${p(this._deployDialogRef)}></solution-deploy-dialog><solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${p(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} ${p(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel>`}updated(){let e=this._getYouMayAlsoLikeCards(),t=340;for(let i=0;i<e.length;i++){let s=this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),l=s?.offsetHeight?s.offsetHeight+40:0;l>t&&(t=l)}this._youMayAlsoLikeBaseHeight=t}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=330"),t=this._itemProperties?.demoURL||"",i=this._missingPrivilegeMessages?.leadingMessages||[],s=i.length>0,l=this._missingPrivilegeMessages?.bulletedMessages||[],o=l.length>0,c=this._missingPrivilegeMessages?.trailingMessages||[],n=c.length>0;return a`<div class="display-flex flex-direction-row"><div class="padding-end-2"><img alt=${this.card?.title??u} class="width-330" src=${e??u}></div><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row"><h3 class="padding-end-1"><calcite-label scale=l class="title-font-colors">${this.card?.title}</calcite-label></h3><calcite-chip class="align-self-center" kind=brand .label=${this._translations.new} scale=s>${this._translations.new}</calcite-chip></div><span>${this.card?.snippet}</span><div class="display-flex flex-direction-row padding-top-1"><calcite-button class="padding-end-1" .disabled=${s||o||n} icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._openDeploy()}>${this._translations.deploy}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=video @click=${()=>this._openUrl(t)}>${this._translations.watchDemo}</calcite-button><solution-social-share button-appearance=outline class="padding-end-1" share-button-kind=brand .shareButtonText=${this._translations.share}></solution-social-share></div>${s||o||n?a`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(i,l,c)}</div>`:""}</div></div>`}_getMissingPrivilegesNotice(e,t,i){let s="solutions-missing-privileges-notice",l=this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges;return a`<div><calcite-notice class="margin-inline-unset" kind=warning open><div slot=message>${`${l}`}</div><calcite-action icon=information id=${s} slot=actions-end .text=${l}></calcite-action></calcite-notice><calcite-popover .label=${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading} overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${p(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column"><span class="padding-bottom-1">${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${this._getSpanMessages(e,"padding-bottom-1")}${this._getBulletedMessages(t)}${this._getSpanMessages(i,"padding-top-1")}</div></calcite-popover></div>`}_getSpanMessages(e,t){return e.length>0?e.map(i=>a`<span class=${d(t)}>${i}</span>`):""}_getBulletedMessages(e){return e.length>0?a`<ul>${e.map(t=>a`<li>${t}</li>`)}</ul>`:""}_getScreenshotsRow(){let e=this._hideScreenshotsScroll?"display-none":"";return a`<calcite-panel><div class="display-flex flex-direction-column">${this._getHeader(this._translations.screenshots)}<div class="scrollable-section max-height-300" id=screenshots-subsection @scroll=${()=>this._onScreenshotsScroll()} ${p(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${e}`} icon=arrow-down kind=neutral @click=${()=>{this._scrollSubsection(this._screenshotsBaseHeight,this._screenshotsElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div></calcite-panel>`}_getScreenshots(){let e=this._itemProperties?.preview||[];return a`<calcite-card-group class="card-group" .label=${this._translations.screenshots}>${e.map(t=>this.card?.id?a`<calcite-card class="cursor-pointer" .label=${t.alt} @click=${()=>this._openScreenshotGallery(t)}><div class="card-image-wrap" slot=thumbnail><img alt=${t.alt??u} class="thumbnail card-image" slot=thumbnail src=${E(this.card.id||"",t.name,this._authContextProvider.value)??u}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`:"")}</calcite-card-group>`}_openScreenshotGallery(e){let t=this._screenshotsDialogRef.value;t&&(t.screenshot=e,t.open=!0)}_scrollSubsection(e,t){let i=t.scrollHeight,s=t.scrollTop;e<=s&&(e=s+e),t.scrollTop=i>e?e:i}_getDescriptionRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.description)}<p .innerHTML=${this.card?.description??""}></p><div class="display-flex flex-direction-row">${this.card?.learnMoreUrl?a`<calcite-link class="padding-end-2" icon-end=share @click=${()=>{this._openUrl(this.card?.learnMoreUrl||"")}}>${this._translations.learnHowtoUse}</calcite-link>`:""}${this._itemProperties?.dataDictionaryURL?a`<calcite-link icon-end=share @click=${()=>{this._openUrl(this._itemProperties?.dataDictionaryURL||"")}}>${this._translations.dataDictionary}</calcite-link>`:""}</div></div>`}_getRequirementsRow(){let e=this._getRequirements();return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.requirements)}<span>${this.card?.title?this._translations.requirementsSubText.replace("{{solutionTitle}}",this.card.title):""}</span>${e.map(t=>a`<div class="display-flex flex-direction-row padding-top-1-2"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t}</calcite-label></div>`)}</div>`}_getRequirements(){return this._itemProperties?.requirements||[]}_getInformationProductsRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.informationProducts)}<span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return a`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(e=>a`<calcite-table-row><calcite-table-cell>${e.item}</calcite-table-cell><calcite-table-cell>${e.description}</calcite-table-cell><calcite-table-cell>${e.userType}</calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.releaseNotes)}<span>${this._translations.releaseNotesSubText}</span><calcite-table bordered caption class="padding-top-1">${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div>`}_getReleaseNotesTableHeaderRow(){return a`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(e=>a`<calcite-table-row><calcite-table-cell>${e.version}</calcite-table-cell><calcite-table-cell alignment=end>${e.description.map(t=>a`<div class="display-flex flex-direction-row"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t.note}</calcite-label></div>`)}</calcite-table-cell></calcite-table-row>`)}_getRelatedArticlesRow(e){return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.relatedArticles)}<div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),a`<solution-article-card></solution-article-card>`})}</div></div>`}_getRelatedArticles(){return[]}_getYouMayAlsoLikeRow(e){let t=this._hideYouMayAlsoLikeScroll?"display-none":"";return a`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.youMayAlsoLike)}<div class="scrollable-section" id=you-may-also-like-subsection @scroll=${()=>this._onYouMayAlsoLikeScroll()} style=${w({maxHeight:`${this._youMayAlsoLikeBaseHeight}px`})} ${p(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row "><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((i,s)=>a`<solution-details-card .id=${`you-may-also-like-${s}`} .card=${i}></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} icon=arrow-down kind=inverse @click=${()=>{this._scrollSubsection(this._youMayAlsoLikeBaseHeight,this._youMayAlsoLikeElement.value)}} .text=${this._translations.showMore} text-enabled></calcite-fab></div>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getHeader(e){return a`<h3><calcite-label scale=l class="title-font-colors">${e}</calcite-label></h3>`}_openDeploy(){let e=this._deployDialogRef.value;e&&(e.userOptions=this._userOptions,e.open=!0)}_openUrl(e){window.open(e,"_blank")}async _detailsCardSelected(e){this.card=e.detail,this._onResize(),this._missingPrivilegeMessages=void 0,await this._getItemData()}async _getItemData(){let e=this._userSessionContextProvider.value,t=await S(this.card.id,e),i=await P(this.card.id,e);this._itemProperties=i.properties,this.itemPropertiesFetched.emit(this._itemProperties);let s=A(t,this.card.typeKeywords,this._authContextProvider.value);this._privileges=e.username?s:[],this._userPrivileges=this._authContextProvider?this._authContextProvider.value.PortalUserPrivileges:[];let l=this._privileges.filter(o=>!this._userPrivileges.includes(o));this._missingPrivilegeMessages=T(this._translations,l),(t.params?this.formatParams(t.params):Promise.resolve([])).then(o=>{this._userOptions=o}),this._templates=t.templates,this.templatesFetched.emit(t.templates)}formatParams(e){let t=this._userSessionContextProvider.value,i=[],s=e?Object.keys(e):[],l={id:"",props:[],accordionDisplay:!1};if(s.length>0){let o=[];return s.forEach(c=>{let n=e[c];n.valueType&&n.valueType.toLowerCase()==="itemid"&&o.push(this._findExistingItem(c,"Feature Service",t.username||""))}),Promise.all(o).then(c=>{let n={};return c.forEach(r=>{if(r.query&&r.results&&r.results.length>0){let U=r.query.split(" ")[0].replace("typekeywords:source-","");n[U]={resultId:r.results[0].id,response:r.results[0]}}}),s.forEach(r=>{if(r==="serviceLearnMore"){this._configureLearnMore=e[r],alert(this._configureLearnMore),delete e[r];return}e[r].enterpriseIDMapping&&(this._customDeploymentMappings[r]=e[r].enterpriseIDMapping),l.id=r,n[r]&&(e[r].existingItemId=n[r].resultId,this.updateUserProp(e[r],n[r].response)),this.updateOption(e[r],l,r)}),i.push(l),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let s=this._userSessionContextProvider.value;return C(`typekeywords:source-${e} type:${t} owner:${i}`,s)}updateUserProp(e,t){let i=e.itemType?.toLowerCase()==="feature service",s=new RegExp(i?this._regexFsUrl:e.itemType,"iu"),l=v(t,i?"url":"type","")||"",o=l!==""&&s.test(l);return e.responseValue=o?l:"",e.name=o&&g(t,"name")||"",e.title=o&&g(t,"title")||"",e.itemType=o?g(t,"type"):e.itemType,e.validId=o,e.itemUrl=H(t.id,this._authContextProvider.value),o}updateOption(e,t,i){let s=e.default||"",l=typeof s,o=s.toString();this._setFeatureServiceProps(e);let c=this.getValidation(e,o);t.props.push({id:i,outType:l,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:o,default:o,srSearchText:o,autoSelect:o!=="",...c,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&R(e,"attributes.required","true")}getValidation(e,t){let i="",s=g(e,"validation.message")||"",l=!0;return g(e,"attributes.required")==="true"&&(i=v(e,"validation.expression","\\S{1,}"),l=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,s=this._translations.configure.invalidID),{valid:l,validation:{expression:i,message:s}}}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._hideScreenshotsScroll=(this._screenshotsElement.value?.scrollHeight||0)<=this._screenshotsBaseHeight+2,this._hideYouMayAlsoLikeScroll=(this._youMayAlsoLikeElement.value?.scrollHeight||0)<=this._youMayAlsoLikeBaseHeight+2}_onScreenshotsScroll(){let e=(this._screenshotsElement.value?.scrollTop||0)+this._screenshotsBaseHeight;e===this._screenshotsElement.value?.scrollHeight&&!this._hideScreenshotsScroll?this._hideScreenshotsScroll=!0:e<(this._screenshotsElement.value?.scrollHeight||0)&&(this._hideScreenshotsScroll=!1)}_onYouMayAlsoLikeScroll(){let e=(this._youMayAlsoLikeElement.value?.scrollTop||0)+this._youMayAlsoLikeBaseHeight;e===this._youMayAlsoLikeElement.value?.scrollHeight&&!this._hideYouMayAlsoLikeScroll?this._hideYouMayAlsoLikeScroll=!0:e<(this._youMayAlsoLikeElement.value?.scrollHeight||0)&&(this._hideYouMayAlsoLikeScroll=!1)}_cleanupPanel(){this.el.shadowRoot?.getElementById("solution-details-row")?.scrollIntoView(!0),this.el.shadowRoot?.getElementById("screenshots-subsection")?.scrollTo(0,0),this.el.shadowRoot?.getElementById("you-may-also-like-subsection")?.scrollTo(0,0),this._privilegePopoverRef.value?.open&&(this._privilegePopoverRef.value.open=!1)}_deployProgressStart(e){this._deployingDialogRef.value&&(this._deployingDialogRef.value.open=!0,this._deployingDialogRef.value.abortController=e.detail),this._deployDialogRef.value&&this._deployDialogRef.value.classList.add("display-none")}_deployProgessUpdated(e){let t=e.detail;this._deployingDialogRef.value.deploymentProgress=t.progress}_closeDialogs(){this._deployingDialogRef.value.close(),this._deployDialogRef.value.open=!1,this._deployDialogRef.value.classList.remove("display-none")}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let i=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let s=await t?.refreshSession();if(s){this._userSessionContextProvider.setValue(s);let l=s?.token??"";this.tokenRefreshed.emit(l)}},i)}}};x("solution-details-panel",y);return y},c,e,i)
|
package/dist/cdn/HXMEN564.js
DELETED
@@ -1,18 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import e from"./ENUR7R4D.js";import{b as v}from"./WJPPWAOI.js";import{a as l,c as m,d as y,e as _}from"./XYP4MM7Y.js";import"./3SPNSK2M.js";import"./JAM34U3G.js";import"./UZNINYDJ.js";import"./IYILGYBJ.js";import"./R2PG52G4.js";import"./JM3ZPWGY.js";import"./UEVH4ZIG.js";import"./UYPERMZC.js";import"./UIRBSZJJ.js";import"./PHXMOTDV.js";import"./IDBGIPXB.js";import"./IZUBTNJH.js";import"./IYZLWG7W.js";import"./HZIODVWR.js";import"./ZBLOJL6N.js";import{g as b}from"./N3HPXKNC.js";import"./MMYJSIWO.js";import"./WUKYRBFW.js";import"./UOA2YAXC.js";import"./GOQGQPLA.js";import{a as g}from"./HIG6WAET.js";import"./KUKTXMSX.js";import"./TWEAJRSR.js";import{b as f}from"./NMPXEPPL.js";import{B as a,C as u,h as c,i,n as o,w as d,x as p,y as h}from"./FPZJX6ZR.js";import"./333HWSMJ.js";export default $arcgis.t(([C])=>{var S=c`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}`,r=class extends h{constructor(){super(),this.authentication=void 0,this.solutionsCount=0,this.sortType="numviews",this.useLocalAppConfig=!1,this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=g({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=d(),this._authContextProvider=l({context:_}),this._isMobileContextProvider=l({context:y}),this._userSessionContextProvider=l({context:m}),this.filterRemoved=o(),this.solutionsAllLoaded=o(),this.tokenRefreshed=o(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,authentication:0,solutionsCount:9,sortType:1,useLocalAppConfig:5,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=S}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}connectedCallback(){super.connectedCallback();let e=new b({username:"",password:""});this._userSessionContextProvider.setValue(e),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=v),this.authentication||(console.log("auth not provided in solutions-all-shell...loading from app config"),this.authentication=new C(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this.authentication.init(),this.authentication.SignedIn||this.authentication.signIn()),this._authContextProvider.setValue(this.authentication),this.authentication.RestUserSession&&this._userSessionContextProvider.setValue(this.authentication.RestUserSession),this._setRefreshInterval()}loaded(){this.solutionsAllLoaded.emit()}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="border-override header-override background-override z-index-1"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"block"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${a(e)}><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${a(e)}><solutions-filter-panel is-all-solutions @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel .agoSolutionsGroupId=${this.appConfig.primarySolutionsGroupId} .enterpriseSolutionsGroupId=${this.appConfig.agoBasedEnterpriseSolutionsGroupId} .locale=${this.appConfig.locale||"en"} .orgUrl=${this.appConfig.portalURL} @cardsFetched=${this._updateSolutionCount} .portalUrl=${this.appConfig.portalURL} .sortType=${this.sortType} style=${a(e)} ${p(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByMostPopular,sortType:"numviews"},{displayValue:this._translations.sortByNew,sortType:"new"},{displayValue:this._translations.sortByUpdated,sortType:"updated"},{displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??u}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"numviews":t=this._translations.sortByMostPopular;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._allSolutionsPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){let t=this.filters.filter(s=>s.displayValue===e);this.filters=this.filters.filter(s=>s.displayValue!==e),this._allSolutionsPanelRef.value?.searchSolutions(),t.length>0&&this.filterRemoved.emit(t[0])}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._allSolutionsPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._allSolutionsPanelRef.value?.searchSolutions())}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let s=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let n=await t?.refreshSession();if(n){this._userSessionContextProvider.setValue(n);let w=n?.token??"";this.tokenRefreshed.emit(w)}},s)}}};f("solutions-all-shell",r);return r},e)
|
package/dist/cdn/JIWLPRYN.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a,b}from"./6LNJ4H2K.js";import"./CAHIXJAC.js";import"./333HWSMJ.js";export{a as GroupEditorTypes,b as GroupSchema};
|
package/dist/cdn/KEBMEHQB.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a as u,e as h}from"./JCLNCFM3.js";import{a}from"./KKV4AQ4S.js";import"./NVTUQPZC.js";import"./3SPNSK2M.js";import"./JAM34U3G.js";import"./UZNINYDJ.js";import"./IYILGYBJ.js";import"./R2PG52G4.js";import"./JM3ZPWGY.js";import"./UEVH4ZIG.js";import"./UYPERMZC.js";import"./UIRBSZJJ.js";import"./PHXMOTDV.js";import"./IDBGIPXB.js";import"./IZUBTNJH.js";import"./IYZLWG7W.js";import"./HZIODVWR.js";import"./ZBLOJL6N.js";import"./N3HPXKNC.js";import"./MMYJSIWO.js";import"./WUKYRBFW.js";import"./UOA2YAXC.js";import"./GOQGQPLA.js";import"./XBSJRLOR.js";import{b as l}from"./NMPXEPPL.js";import{n as o,q as n,y as i}from"./FPZJX6ZR.js";import"./333HWSMJ.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
|
package/dist/cdn/MNTW36LR.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a as O}from"./L5VLMTR2.js";import{A as H,C as M,D as F,d as B,e as L}from"./CCUURDN3.js";import{b as U}from"./KX7NEVCY.js";import"./KUKTXMSX.js";import"./TWEAJRSR.js";import{A as a,B as b,C,h as T,i as n,j as w,v as S,w as m,x as h,y as I}from"./FPZJX6ZR.js";import"./333HWSMJ.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
|
package/dist/cdn/MRKES3TY.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a as E}from"./TWEAJRSR.js";import{l as m,m as h,p as v}from"./FPZJX6ZR.js";export default $arcgis.t(([{on:W,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},U=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},V=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return V},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
|
package/dist/cdn/RM6O54I7.js
DELETED
@@ -1,18 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{b as g,e as m}from"./XYP4MM7Y.js";import{a as u}from"./HIG6WAET.js";import"./KUKTXMSX.js";import"./TWEAJRSR.js";import{b as h}from"./NMPXEPPL.js";import{h as c,i as t,n as d,w as a,y as p}from"./FPZJX6ZR.js";import"./333HWSMJ.js";var v=c`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/.minor-card{width:16%}.center{justify-content:center;align-items:center}.align-self-center{align-self:center}.font-weight-semibold{font-weight:var(--calcite-font-weight-semibold)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.icon-color{color:var(--calcite-color-text-3)}.font-weight-normal{font-weight:var(--calcite-font-weight-normal)}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.no-space{--calcite-label-margin-bottom: 0px}.font-color{color:red}.padding-end-1-2{padding-inline-end:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.edit-button-position{position:absolute;right:1rem}html[dir=rtl] .edit-button-position{position:absolute;left:1rem}.max-width-35{max-width:35vw}.large-card{width:49%}.btn-center{width:100%;display:grid;place-items:center}.width-full{width:100%}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.width-400{width:400px}.width-450{width:450px}.padding-3-4{padding:.75rem}.margin-0{margin:0}.calcite-internal-dialog-content-padding-override{--calcite-internal-dialog-content-padding: 0px}.background-color-2{background-color:var(--calcite-color-foreground-2)}.card-group-padding,.solution-content-padding{padding:1rem}@media (max-width: 1240px){.large-card{width:48%}}.error-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.button-flex{display:flex;flex-wrap:wrap}`,l=165,o=class extends p{constructor(){super(...arguments),this.open=!1,this.showSuccessAlert=!1,this.templateInfos=[],this._configureTitlesOpen=!1,this._deleteDialogOpen=!1,this._displayClass="",this._isNameConflict=!1,this._invalidNameMessage="",this._showFailedAlert=!1,this._showItemUpdateLoading=!1,this._translations=u({name:"solution-configure-dialog",blocking:!0}),this._authContextConsumer=g({context:m,subscribe:!0}),this._editSummaryPopoverRef=a(),this._editNamePopoverRef=a(),this._solutionSnippetUpdated=!1,this._solutionTitleUpdated=!1,this.solutionConfigureDialogClose=d()}static{this.properties={card:0,cardRef:1,open:5,showSuccessAlert:5,templateInfos:0,_configureTitlesOpen:16,_deleteDialogOpen:16,_displayClass:16,_isNameConflict:16,_invalidNameMessage:16,_showFailedAlert:16,_showItemUpdateLoading:16,_translations:16}}static{this.styles=v}updated(e){if(e.has("open")){let i=e.get("open");this.open&&!i&&this.cardRef.getTemplates().then(s=>{this.templateInfos=s})}}render(){return t`<div>${this.templateInfos.length>0&&t`<calcite-dialog class=${`${this._displayClass} calcite-internal-dialog-content-padding-override`} .heading=${this.card?.title} modal scale=l @calciteDialogClose=${()=>{this.open=!1,this.solutionConfigureDialogClose.emit(this._solutionSnippetUpdated||this._solutionTitleUpdated),this._cleanupPanel(),this.card=void 0,this.templateInfos=[],this.showSuccessAlert=!1}} .open=${this.open} outside-close-disabled width=l><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row card-group-padding background-color-2"><calcite-card-group .label=${this._translations.reviewAndConfigureSolution}>${this._getStartHereCard()}${this._getDiagramCard()}${this._getSolutionCard()}${this._getSolutionVersionCard()}</calcite-card-group></div>${this._getSolutionContents()}</div><div slot=footer-start></div><calcite-button appearance=outline @click=${this._close} slot=footer-end>${this._translations.closeTheDialog}</calcite-button><div slot=alerts>${this._getSuccessAlert()}${this._getFailedAlert()}</div></calcite-dialog>`||""}${this.templateInfos.length>0&&this._getConfigureTitlesDialog()||""}${this.templateInfos.length>0&&this._getDeleteDialog()||""}</div>`}_getConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${()=>{this._displayClass="",this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this.templateInfos=await this.cardRef.getTemplates()}} .open=${this._configureTitlesOpen} .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_getFailedAlert(){let e=this._failedType==="snippet"?this._translations.failedToUpdateSnippet:this._failedType==="title"?this._translations.failedToUpdateTitle:this._failedType==="titles"?this._translations.failedToUpdateTitles:void 0;return this._showFailedAlert&&e?t`<calcite-alert auto-close icon=exclamation-mark-triangle kind=danger .label=${e} @calciteAlertClose=${()=>{this._showFailedAlert=!1}} .open=${this._showFailedAlert}><div slot=message>${e}</div></calcite-alert>`:""}_getSuccessAlert(){return this.showSuccessAlert?t`<calcite-alert auto-close icon=check-circle kind=success .label=${this.card?.title||""} @calciteAlertClose=${()=>{this.showSuccessAlert=!1}} .open=${this.showSuccessAlert}><div slot=message>${this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title||"")}</div></calcite-alert>`:""}_getDiagramCard(){return this._getBasicCard(this._translations.diagramOfTheSolution,this._translations.diagramSubText,"model",this._translations.openTheDiagram,"outline",this._openDiagram,void 0)}async _openDiagram(e){this._displayClass="display-none";let i=await this.cardRef.renderDiagramDialog(e);i&&this.listenOn(i,"calciteDialogBeforeClose",()=>{this._displayClass=""})}_getStartHereCard(){return this._getBasicCard(this._translations.startHere,this._translations.startHereSubText,"file-text",this._translations.viewTheDocumentation,"solid")}_getSolutionVersionCard(){return this._getBasicCard(this._translations.solutionVersion,"","check-shield",void 0,void 0,void 0,this.card?.deployVersion??"")}_getBasicCard(e,i,s,n,f,_,r){return t`<calcite-card class="minor-card font-size-override"><span class="font-weight-medium" slot=heading>${e}</span><div class="display-flex center"><div class="display-flex flex-direction-column center"><calcite-icon class="icon-color" .icon=${s} scale=l></calcite-icon>${r?t`<span class="font-weight-medium">${r}</span>`:""}<p>${i}</p></div></div>${n?t`<div class="btn-center" slot=footer-start><calcite-button .appearance=${f} kind=brand @click=${_}>${n}</calcite-button></div>`:""}</calcite-card>`}_getSolutionCard(){let e="configure-show-full-summary",i=this.card?.snippet,s="";return this.card?.snippet&&this.card?.snippet.length>l&&(i=this.card?.snippet.substring(0,l)+"... ",s=t`<calcite-link id=${e}>${this._translations.showMoreSummary}</calcite-link>`),t`<calcite-card class="large-card font-size-override"><calcite-label class="font-weight-medium" scale=l slot=heading>${this._translations.aboutYourSolution}</calcite-label><div class="display-flex flex-direction-column"><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionName}</calcite-label><span class="font-weight-medium width-full align-self-start">${this.card?.title}</span></div><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionSummary}</calcite-label><span class="font-weight-medium width-full align-self-center">${i}${s}</span></div><div class="display-flex"><calcite-label class="font-weight-medium no-space padding-end-1" layout=inline>${this._translations.aboutYourSolutionOwner}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.card?.owner}</calcite-link></calcite-label><div class="display-flex"><calcite-label class="no-space icon-color" layout=inline><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this.card?.created}</calcite-label></div></div></div><div slot=footer-start class="button-flex"><calcite-button appearance=outline class="padding-end-1" icon-start=share kind=brand @click=${this._showItemDetails}>${this._translations.itemDetails}</calcite-button></div><calcite-button appearance=outline icon-start=trash kind=brand @click=${this._deleteSolution} slot=footer-end>${this._translations.deleteSolution}</calcite-button>${this.card?.snippet&&this.card?.snippet.length>l&&this._getSummaryPopover(e)||""}</calcite-card>`}_getSolutionContents(){return t`<div class="solution-content-padding"><calcite-label class="font-weight-medium" layout=inline scale=l>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}<calcite-button appearance=outline icon-start=pencil kind=brand @click=${()=>{this._configureTitlesOpen=!0,this._displayClass="display-none"}}>${this._translations.updateTitles}</calcite-button></calcite-label><solution-item-accordion list-selection-mode=single .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion></div>`}_getDeleteDialog(){return this._deleteDialogOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleted=${this._close} @solutionDeleteDialogBeforeClose=${()=>{this._displayClass="",this._deleteDialogOpen=!1}} .open=${this._deleteDialogOpen}></solution-delete-dialog>`:""}async _deleteSolution(){this._displayClass="display-none",this._deleteDialogOpen=!0}_showItemDetails(){window.open(this.card.itemUrl,"_blank")}_openUserProfile(e){e.stopPropagation();let i=this._authContextConsumer.value?.PortalSubset?.orgUrl;i&&window.open(`${i}/home/user.html`,"_blank")}_getSummaryPopover(e){return t`<calcite-popover closable heading label overlay-positioning=fixed .referenceElement=${e}><div class="padding-3-4 margin-0 width-400">${this.card?.snippet}</div></calcite-popover>`}_close(){this.open=!1}_cleanupPanel(){this._editSummaryPopoverRef.value?.open&&(this._editSummaryPopoverRef.value.open=!1),this._editNamePopoverRef.value?.open&&(this._editNamePopoverRef.value.open=!1)}};h("solution-configure-dialog",o);export{o as SolutionConfigureDialog};
|
package/dist/cdn/SMYPLT36.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{k as r,s,t as i,u as o}from"./FPZJX6ZR.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
|
package/dist/cdn/TIIH4KX4.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a,b}from"./RWMTRFMU.js";import"./LMSKXNKA.js";import"./V7N4SGEA.js";import"./N5O6ZEGZ.js";import"./23TMCFRN.js";import"./CAHIXJAC.js";import"./333HWSMJ.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/UGBEJX6A.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a}from"./ZHNSAXID.js";import"./R7NXQS2H.js";import"./Y2IKSIPY.js";import"./MMYJSIWO.js";import"./WUKYRBFW.js";import"./UOA2YAXC.js";import"./GOQGQPLA.js";import"./333HWSMJ.js";export{a as buildUiSchema};
|
package/dist/cdn/UK7WAVOZ.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a as $,b as D,e as k,f as B}from"./TSHP6LR6.js";import b from"./5IEZZPUO.js";import a from"./MRKES3TY.js";import{a as m}from"./SMYPLT36.js";import{a as L}from"./L5VLMTR2.js";import{C as T}from"./CCUURDN3.js";import{b as w}from"./KX7NEVCY.js";import"./KUKTXMSX.js";import"./TWEAJRSR.js";import{A as r,h as S,i as n,n as I,y as C}from"./FPZJX6ZR.js";import"./333HWSMJ.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:U,h:_,j:b,l:P,m:f}])=>{var E=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){P()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=U(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await B(this.portalItem);e.set("portalItemResource",t);let a=await k(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);_().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=_(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=D(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return a?.map(o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return m(`translated-lang-option-${o}`,n`<calcite-option .value=${o}>${h}</calcite-option>`)})}renderUIData(){if(!u?.uiData)return;let t=_();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return m(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?m("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)
|
package/dist/cdn/VEVWVLSN.js
DELETED
@@ -1,4 +0,0 @@
|
|
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.20250818 */
|
4
|
-
import{a,b}from"./WIXP6VK5.js";import"./OSBOGUD2.js";import"./GMSO7XSN.js";import"./GV4WSWWJ.js";import"./CAHIXJAC.js";import"./333HWSMJ.js";export{a as EventEditorTypes,b as buildSchema};
|