@esri/solutions-components 1.2.0-next.5 → 1.2.0-next.7
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/{62BAVY5U.js → 24IQFT7O.js} +2 -2
- package/dist/cdn/{YOAMWE4X.js → 27KJAQWJ.js} +2 -2
- package/dist/cdn/{L5WPKPMP.js → 2BBIUN2T.js} +1 -1
- package/dist/cdn/{LW7F2ZZM.js → 2IDKXRM6.js} +2 -2
- package/dist/cdn/{HWVIUSXX.js → 2IIMW7KZ.js} +2 -2
- package/dist/cdn/{CNM5N2SL.js → 2KCM6CYY.js} +2 -2
- package/dist/cdn/{F2GKQT5D.js → 2NWVUYTE.js} +1 -1
- package/dist/cdn/{5BDED2BJ.js → 2SYGO5SF.js} +2 -2
- package/dist/cdn/{74CINEQ3.js → 2SZCUKBG.js} +2 -2
- package/dist/cdn/{HKEDWMSD.js → 2SZRO43C.js} +2 -2
- package/dist/cdn/{R27Z5MBC.js → 2UAZTD7Q.js} +1 -1
- package/dist/cdn/{72H7DQGK.js → 2V46CJ37.js} +2 -2
- package/dist/cdn/{MGABPXRV.js → 2WMDR35S.js} +2 -2
- package/dist/cdn/{RJU7IRTU.js → 2XWJ46TT.js} +1 -1
- package/dist/cdn/{DFZTVGP4.js → 3D2Z3DBU.js} +2 -2
- package/dist/cdn/{AW3AHGA7.js → 3EFK23HV.js} +2 -2
- package/dist/cdn/{AYJPSY6G.js → 3FDC2PNP.js} +2 -2
- package/dist/cdn/{X2FLTZOD.js → 3FPFP6U4.js} +2 -2
- package/dist/cdn/{AE4RE3TF.js → 3G6LJECA.js} +4 -4
- package/dist/cdn/{7JH4NQJN.js → 3JZ6B3VG.js} +2 -2
- package/dist/cdn/{IVRPXNBU.js → 3LG7PVWA.js} +2 -2
- package/dist/cdn/{LPGG7NVJ.js → 3LHCQY5M.js} +2 -2
- package/dist/cdn/{YRJN7CI2.js → 3WBICA44.js} +2 -2
- package/dist/cdn/{3CMVTXLQ.js → 3YR7FYTM.js} +2 -2
- package/dist/cdn/{CX3S4NVE.js → 43BS56MV.js} +2 -2
- package/dist/cdn/{JWJKVILC.js → 4AALASXV.js} +2 -2
- package/dist/cdn/{SJXQNK6Z.js → 4DMVA5XD.js} +1 -1
- package/dist/cdn/{UDH5DYZG.js → 4E3CF6RE.js} +2 -2
- package/dist/cdn/{7A3GEDWO.js → 4FE7VZGU.js} +2 -2
- package/dist/cdn/{7TDQOO2N.js → 4FI6PV22.js} +2 -2
- package/dist/cdn/{IGADLGYA.js → 4OWAB2A2.js} +2 -2
- package/dist/cdn/{26QOJAKK.js → 4TPPEOPB.js} +2 -2
- package/dist/cdn/{47KCOTZD.js → 4UEOLBYG.js} +2 -2
- package/dist/cdn/{FO65MMQA.js → 4VG73MVT.js} +2 -2
- package/dist/cdn/{FA3XMLAK.js → 52OVRAWR.js} +2 -2
- package/dist/cdn/{PSHEPLV7.js → 545T7SRQ.js} +2 -2
- package/dist/cdn/{EQMTRTY3.js → 5BYI5F5E.js} +2 -2
- package/dist/cdn/{5UDIP5TS.js → 5E5T5X4U.js} +2 -2
- package/dist/cdn/{QGNIXRWD.js → 5MXC3AEO.js} +2 -2
- package/dist/cdn/{Y5UFWBU3.js → 5RXTPH23.js} +2 -2
- package/dist/cdn/{YWZJNNAA.js → 5SPTHQL6.js} +2 -2
- package/dist/cdn/{EVJJVJUC.js → 63DMOJ2T.js} +2 -2
- package/dist/cdn/{ZX653FXG.js → 63WU763U.js} +2 -2
- package/dist/cdn/{BRBA3RVP.js → 66VZ62ND.js} +2 -2
- package/dist/cdn/{OPFNE6VQ.js → 6CR2TFPT.js} +2 -2
- package/dist/cdn/{FX5BDBXN.js → 6LKHUBOH.js} +2 -2
- package/dist/cdn/{4OO23EX3.js → 6NERUD73.js} +2 -2
- package/dist/cdn/{YRNIHKIN.js → 6Q67BEJ2.js} +2 -2
- package/dist/cdn/{PQTHI43K.js → 6R7NKEMV.js} +1 -1
- package/dist/cdn/{ZVF6OS6J.js → 6TTC7ZFD.js} +2 -2
- package/dist/cdn/{CX3ADR2W.js → 6VYUBZGX.js} +2 -2
- package/dist/cdn/{CWZHCREJ.js → 6XGDGUTA.js} +2 -2
- package/dist/cdn/{WRDAXQLK.js → 7FTRNBAX.js} +2 -2
- package/dist/cdn/{UO47IZNH.js → 7G7NYNLT.js} +2 -2
- package/dist/cdn/{PZLJVQX3.js → 7I775T2S.js} +2 -2
- package/dist/cdn/{QO5AGMUF.js → 7OY5RPOS.js} +2 -2
- package/dist/cdn/{HO4OQAAY.js → 7RFNBPIC.js} +2 -2
- package/dist/cdn/{MR6YRCGE.js → 7VA4NOU2.js} +2 -2
- package/dist/cdn/{6CTWI43P.js → 7WQ5EE74.js} +4 -4
- package/dist/cdn/{33QT4OWT.js → 7XMCJSRJ.js} +2 -2
- package/dist/cdn/{RGUXKD6S.js → ACQ2777F.js} +2 -2
- package/dist/cdn/{7GRKOVDA.js → AFKUFFEA.js} +2 -2
- package/dist/cdn/{PLIRSUV6.js → AHJ7XAYI.js} +2 -2
- package/dist/cdn/{737BY2CY.js → AOOXAEOV.js} +2 -2
- package/dist/cdn/AP6277DE.js +4 -0
- package/dist/cdn/APIKBMW7.js +4 -0
- package/dist/cdn/{355B4HKB.js → AQ45HO6P.js} +1 -1
- package/dist/cdn/{G6HXZZHL.js → ATEJZAG7.js} +2 -2
- package/dist/cdn/{EW2X2QV6.js → AXT7H3M5.js} +2 -2
- package/dist/cdn/{3VF63GEF.js → B2BTF7R6.js} +2 -2
- package/dist/cdn/B34LFYV4.js +18 -0
- package/dist/cdn/{WF2DEFBA.js → B4ERX267.js} +2 -2
- package/dist/cdn/{LAEO6LKD.js → B5GJVF6W.js} +2 -2
- package/dist/cdn/{22HKMFYF.js → B7X7HFII.js} +3 -3
- package/dist/cdn/{TH5Z25FN.js → BEU4EZ4O.js} +2 -2
- package/dist/cdn/{MBQAKO5E.js → BJCUTLYZ.js} +2 -2
- package/dist/cdn/{GRPZDXG4.js → BJDNUK2Y.js} +2 -2
- package/dist/cdn/{5RHZCQDH.js → BTFCCELS.js} +2 -2
- package/dist/cdn/{5XN7FRLT.js → BTGNGFDY.js} +2 -2
- package/dist/cdn/{FLTJM3SI.js → BU6EXRF7.js} +2 -2
- package/dist/cdn/{NL6MXE4S.js → BU7H53U2.js} +2 -2
- package/dist/cdn/{UE2YNT47.js → BX3JVHAG.js} +2 -2
- package/dist/cdn/{J5UWGCTF.js → C46USBRI.js} +2 -2
- package/dist/cdn/{2AODR3SB.js → C5R5SVFU.js} +2 -2
- package/dist/cdn/{K7TMVM74.js → C6TOPSKX.js} +2 -2
- package/dist/cdn/{SX4IGYWN.js → CAUNRV5X.js} +2 -2
- package/dist/cdn/{XEK4G673.js → CCTJFJSB.js} +2 -2
- package/dist/cdn/{5LW3NDVY.js → CEE26YF4.js} +2 -2
- package/dist/cdn/{N3CC3AYD.js → CENNAULO.js} +2 -2
- package/dist/cdn/{WHNQWDIK.js → CF75YQZH.js} +2 -2
- package/dist/cdn/{WSBNE4TT.js → CHGD4MZJ.js} +2 -2
- package/dist/cdn/{66CZXKSK.js → CHZOYTDJ.js} +2 -2
- package/dist/cdn/{SU4AYBNR.js → CLOQWOEC.js} +2 -2
- package/dist/cdn/{RR2N2YOI.js → CSJGGVEM.js} +2 -2
- package/dist/cdn/{VHZ527X2.js → D7Q5RT2U.js} +2 -2
- package/dist/cdn/DBJXZGZS.js +18 -0
- package/dist/cdn/{NHIUCBV6.js → DE6KD7OP.js} +2 -2
- package/dist/cdn/DGJSN5OQ.js +4 -0
- package/dist/cdn/{7CWVWUIJ.js → DGNZGNGJ.js} +2 -2
- package/dist/cdn/{3KMNENXB.js → DGXGVR2Z.js} +1 -1
- package/dist/cdn/{RVTNA6ZY.js → DHUU3UCT.js} +2 -2
- package/dist/cdn/{UXALLH6N.js → DRCIJWFA.js} +2 -2
- package/dist/cdn/{AGYRCJCI.js → DUWT6T22.js} +2 -2
- package/dist/cdn/DVU4D66W.js +4 -0
- package/dist/cdn/{WTDZ3NSL.js → DX6XPIPV.js} +2 -2
- package/dist/cdn/{7HHL3C3W.js → E5CIT5KL.js} +2 -2
- package/dist/cdn/{QYVRI5JK.js → EAYJET3G.js} +2 -2
- package/dist/cdn/{ZMG4YA63.js → EBI7ETZC.js} +1 -1
- package/dist/cdn/{2BUSHIVN.js → ECILS3DF.js} +2 -2
- package/dist/cdn/{V3JEPYLJ.js → EKODBE6K.js} +2 -2
- package/dist/cdn/{QQHNT6LS.js → EM5B5JJF.js} +2 -2
- package/dist/cdn/{MOKNBS3C.js → EPAC26GM.js} +2 -2
- package/dist/cdn/{6I3VNZGR.js → EPXKVI6O.js} +2 -2
- package/dist/cdn/{5VGQMPBM.js → EQTBIP6U.js} +1 -1
- package/dist/cdn/ER36FG33.js +4 -0
- package/dist/cdn/{ZKQBLH6C.js → ESMGPS5K.js} +2 -2
- package/dist/cdn/{6LFJAXJX.js → EV6JFTBW.js} +2 -2
- package/dist/cdn/{D4ALCJ2M.js → EXZ4VMBH.js} +2 -2
- package/dist/cdn/{QTX7JLGF.js → F5ALSWOY.js} +1 -1
- package/dist/cdn/{7CT4MH26.js → FAU3V3DD.js} +2 -2
- package/dist/cdn/{RCNVOTLA.js → FB5463BR.js} +2 -2
- package/dist/cdn/{UI2SDKYC.js → FCO2B3K7.js} +1 -1
- package/dist/cdn/{SWVAF6LW.js → FHOJGZI7.js} +2 -2
- package/dist/cdn/{3VY4EZAW.js → FHYK7YVY.js} +2 -2
- package/dist/cdn/{OIL6CBYE.js → FJCCTPUY.js} +2 -2
- package/dist/cdn/{UFOGS7QU.js → FNTYR5WV.js} +2 -2
- package/dist/cdn/{6UORZDXC.js → FRA7NPJI.js} +2 -2
- package/dist/cdn/{PPXDQKVO.js → FSYWVCVA.js} +2 -2
- package/dist/cdn/{ZVWJX5XX.js → FYFGL7YM.js} +2 -2
- package/dist/cdn/{7RDLIUYS.js → FYH5PUT2.js} +2 -2
- package/dist/cdn/{J2UCDTJF.js → FYPY5M3I.js} +2 -2
- package/dist/cdn/{GOTHF2RN.js → G5QCXXMB.js} +2 -2
- package/dist/cdn/{OTMDZPXT.js → G7T7PL2A.js} +2 -2
- package/dist/cdn/{OJTIJAMU.js → GBTX7JHX.js} +2 -2
- package/dist/cdn/{WTPDQ3PV.js → GD5J5HWX.js} +2 -2
- package/dist/cdn/GH5RM57Y.js +18 -0
- package/dist/cdn/{ISOMI2JF.js → GHDABYES.js} +2 -2
- package/dist/cdn/{7QQHG2VR.js → GPYIP5PI.js} +2 -2
- package/dist/cdn/{ULSCZE2S.js → GRJR6ZN5.js} +2 -2
- package/dist/cdn/{3CY52HGI.js → GSTWP5ZM.js} +2 -2
- package/dist/cdn/GUY36UW6.js +4 -0
- package/dist/cdn/{VLRHK5YP.js → GWPDSOKC.js} +2 -2
- package/dist/cdn/{LNMJI75N.js → GZIE32IS.js} +2 -2
- package/dist/cdn/{H6XF5SS6.js → H3Z56RZY.js} +2 -2
- package/dist/cdn/{RQT75FQC.js → H4HNZZID.js} +2 -2
- package/dist/cdn/{UVEJ2VLN.js → H5RJG4B4.js} +2 -2
- package/dist/cdn/{6PBJTSR7.js → HB63G4E2.js} +2 -2
- package/dist/cdn/{NTH5ZFPX.js → HISURMT2.js} +2 -2
- package/dist/cdn/{YEBFOEVN.js → HJQ464S3.js} +1 -1
- package/dist/cdn/{K7ELIBAQ.js → HK3NTX5L.js} +2 -2
- package/dist/cdn/{U4GITUVW.js → HVLZF6NX.js} +2 -2
- package/dist/cdn/I3GT3PAD.js +18 -0
- package/dist/cdn/{IANKP2HF.js → I6T2LPO7.js} +2 -2
- package/dist/cdn/{UERL77DS.js → I7EHWLGZ.js} +2 -2
- package/dist/cdn/{ONB37LY7.js → I7UQ76S6.js} +2 -2
- package/dist/cdn/{HI37TSGV.js → IBSQEVYG.js} +2 -2
- package/dist/cdn/IFQGNQQ3.js +18 -0
- package/dist/cdn/{3IHVZLDU.js → IHCBGJUX.js} +2 -2
- package/dist/cdn/{DAZMRFHY.js → IIQKO4NV.js} +2 -2
- package/dist/cdn/{7W4W36Y6.js → IJQGNRQY.js} +2 -2
- package/dist/cdn/{QMVO4IPU.js → IMUSY3LQ.js} +2 -2
- package/dist/cdn/{LQJJLIPP.js → IPUEIFZ4.js} +2 -2
- package/dist/cdn/{PPXFPXV2.js → IS6A26EI.js} +2 -2
- package/dist/cdn/{Z4AYXGJH.js → ISGFV7UG.js} +2 -2
- package/dist/cdn/{GRI7T2CE.js → IYEVDJDU.js} +1 -1
- package/dist/cdn/{OO2K3GFV.js → JCFSOF6S.js} +1 -1
- package/dist/cdn/{QA3KZUQE.js → JCSZQSGX.js} +1 -1
- package/dist/cdn/{V5AGQHUK.js → JKFZNMGP.js} +2 -2
- package/dist/cdn/{VZ7HPIBI.js → JQ3L67YC.js} +2 -2
- package/dist/cdn/{XIDBVWME.js → JQB4BFWJ.js} +1 -1
- package/dist/cdn/{MSK25PKW.js → JQYJNIUC.js} +2 -2
- package/dist/cdn/{NV6XAFL2.js → JVCZA5SP.js} +1 -1
- package/dist/cdn/{5JB54ZDZ.js → JZLR7ZSG.js} +2 -2
- package/dist/cdn/{USJ3N6S7.js → K6LCVX7I.js} +2 -2
- package/dist/cdn/{SCMY4SVY.js → K75TQNXT.js} +2 -2
- package/dist/cdn/{2EVO7BMT.js → KEYV63ER.js} +2 -2
- package/dist/cdn/{BPSNSMPM.js → KHLLYTI4.js} +2 -2
- package/dist/cdn/{BZVBJ4S5.js → KIKCKFJ6.js} +2 -2
- package/dist/cdn/{R4D3526U.js → KJEEKYDH.js} +2 -2
- package/dist/cdn/{2XTLVCYV.js → KJVMFBBS.js} +2 -2
- package/dist/cdn/{OQJKXHFA.js → KRB4UOT2.js} +1 -1
- package/dist/cdn/{IML573KC.js → KVOLGBWM.js} +2 -2
- package/dist/cdn/{PQV7S74Q.js → KVRVG23D.js} +1 -1
- package/dist/cdn/{5XJFLICT.js → KZQGM25A.js} +2 -2
- package/dist/cdn/{CS3AH7HA.js → KZTR7QWA.js} +2 -2
- package/dist/cdn/L6LREIT2.js +18 -0
- package/dist/cdn/{E5I3NEQI.js → LAD5VELF.js} +2 -2
- package/dist/cdn/{M5UNYNCA.js → LDDJNGGS.js} +1 -1
- package/dist/cdn/{MGEQNCFR.js → LDIDINTU.js} +2 -2
- package/dist/cdn/{NL3LFEFE.js → LEMKJ45K.js} +2 -2
- package/dist/cdn/{LAFACIUY.js → LOJTB56C.js} +2 -2
- package/dist/cdn/{IM4RE3TY.js → LQHD4NTE.js} +2 -2
- package/dist/cdn/{RAU4GXL2.js → LRTYQ7TB.js} +2 -2
- package/dist/cdn/{MQJ6DB65.js → M275BFKI.js} +2 -2
- package/dist/cdn/{JVBJBJUL.js → M6LGGBV6.js} +2 -2
- package/dist/cdn/{IROXFN5B.js → MDCCDX56.js} +2 -2
- package/dist/cdn/{GUYE43R5.js → ME74BYC6.js} +2 -2
- package/dist/cdn/{IWRMDNRW.js → MEJLJFNB.js} +1 -1
- package/dist/cdn/{HPYF5EGV.js → MI7OU4OK.js} +2 -2
- package/dist/cdn/{BIHCOF7Z.js → MKAZLIEQ.js} +2 -2
- package/dist/cdn/{IGCOKMI6.js → MKVY3JPB.js} +2 -2
- package/dist/cdn/{V4LD7G2P.js → MN47MBJI.js} +2 -2
- package/dist/cdn/{HXVRR7KX.js → MR4NYU5P.js} +2 -2
- package/dist/cdn/{4T5D74PP.js → MUW2HXBO.js} +2 -2
- package/dist/cdn/{3OYXRODS.js → MV4UCN6W.js} +2 -2
- package/dist/cdn/{RL7RFFRH.js → MXFNZBL7.js} +2 -2
- package/dist/cdn/{HKB3O3L4.js → MYJRAXAU.js} +2 -2
- package/dist/cdn/{6GL4MI4Z.js → N2MIOX2Y.js} +1 -1
- package/dist/cdn/{XO3G7246.js → N6KRQV36.js} +2 -2
- package/dist/cdn/{VRKGA5MK.js → NAJHJWME.js} +2 -2
- package/dist/cdn/{PH45STVW.js → NBX6ARVA.js} +2 -2
- package/dist/cdn/{CX5FGPYZ.js → NDQPDM3D.js} +2 -2
- package/dist/cdn/{JE77DF3X.js → NEVS6AYB.js} +2 -2
- package/dist/cdn/{2GKQUPSG.js → NIJ6LGXH.js} +2 -2
- package/dist/cdn/{KUFHAQWJ.js → NWZAJQCU.js} +2 -2
- package/dist/cdn/{K3H4ICYM.js → NZYWCOIU.js} +2 -2
- package/dist/cdn/{6E3UW2HW.js → O2FVTDUQ.js} +2 -2
- package/dist/cdn/{O3X7DL54.js → O724YZBU.js} +2 -2
- package/dist/cdn/{GBTKBPMY.js → OCXFABOG.js} +2 -2
- package/dist/cdn/{27VDQI45.js → OGP5QIB2.js} +2 -2
- package/dist/cdn/{JRLDZOPB.js → ONZZLGSE.js} +2 -2
- package/dist/cdn/{XEPEY2M2.js → OP67YGQY.js} +2 -2
- package/dist/cdn/{WLDO36W7.js → OXEWM6WY.js} +2 -2
- package/dist/cdn/{SYAHQ3NQ.js → OZNXNIGV.js} +2 -2
- package/dist/cdn/{QEBEA7MU.js → P2ZCV72Y.js} +2 -2
- package/dist/cdn/{O3PBUAQ4.js → P4ZNB7TV.js} +2 -2
- package/dist/cdn/{FTN4KQ5P.js → PBCU45S4.js} +2 -2
- package/dist/cdn/{JP4L2TFI.js → PGVUWJHV.js} +2 -2
- package/dist/cdn/{NQ6C57I5.js → PIJF7ZFV.js} +1 -1
- package/dist/cdn/{NGB75X4E.js → PJLLV4DN.js} +2 -2
- package/dist/cdn/{OJV6245L.js → PLEVCFO6.js} +1 -1
- package/dist/cdn/{YN6H5F4A.js → PP4Q3ULO.js} +2 -2
- package/dist/cdn/{TIYWZFAX.js → PQHGP45P.js} +2 -2
- package/dist/cdn/{JHF3KM73.js → PSZSQA3T.js} +2 -2
- package/dist/cdn/{JPK5OGZE.js → PUUXEH2C.js} +2 -2
- package/dist/cdn/{DTCMCNYL.js → PYMGOIHW.js} +2 -2
- package/dist/cdn/{MTXZXY4H.js → PZI2AVA5.js} +2 -2
- package/dist/cdn/{E6DJMKOX.js → Q2KGES2T.js} +2 -2
- package/dist/cdn/{BLQLRWXN.js → Q5UE4DXS.js} +2 -2
- package/dist/cdn/{OD4HEOH4.js → Q6G674Q2.js} +2 -2
- package/dist/cdn/{7AKBXEQF.js → Q7STFYTI.js} +2 -2
- package/dist/cdn/{RN2EF7YZ.js → QCDCX4DW.js} +2 -2
- package/dist/cdn/{JNEWR7HR.js → QFONBBRD.js} +2 -2
- package/dist/cdn/{EK64QJIA.js → QHEGVPF3.js} +2 -2
- package/dist/cdn/{74VWWXRD.js → QOKRGQML.js} +2 -2
- package/dist/cdn/{CZOBCM3V.js → QONAHI74.js} +2 -2
- package/dist/cdn/{IQFFJSPI.js → QQDVZSP3.js} +2 -2
- package/dist/cdn/{AQSMBVYS.js → QQPPCPEK.js} +2 -2
- package/dist/cdn/{52U2DKMV.js → QTIL33DB.js} +1 -1
- package/dist/cdn/{BNGJF56X.js → R5BOZ7VE.js} +2 -2
- package/dist/cdn/{N7EL4TJ4.js → R72CY2T7.js} +2 -2
- package/dist/cdn/{D34XEG46.js → RBM4VG2D.js} +2 -2
- package/dist/cdn/RBN46G6Q.js +4 -0
- package/dist/cdn/{KPSLDFGP.js → RCLP6XHT.js} +2 -2
- package/dist/cdn/{NFITFV6B.js → RCNI7IQN.js} +2 -2
- package/dist/cdn/{7I3VIAOS.js → REMQQQ23.js} +2 -2
- package/dist/cdn/{CSGP6EII.js → RUECP25V.js} +1 -1
- package/dist/cdn/{JKP6VYBC.js → RZYQZ6JI.js} +2 -2
- package/dist/cdn/{NIOXP2K4.js → SEL6VXCB.js} +2 -2
- package/dist/cdn/{YR3BPQUO.js → SEYXACWE.js} +2 -2
- package/dist/cdn/{6ISZUZHE.js → SFAXECVE.js} +2 -2
- package/dist/cdn/{PJFNAHXF.js → SIY7BNTT.js} +2 -2
- package/dist/cdn/{ADJFXZSR.js → SMHGPEVR.js} +1 -1
- package/dist/cdn/{ETP7B5MX.js → SMSNEKU2.js} +2 -2
- package/dist/cdn/{IB6ALJM2.js → STVSBNLJ.js} +1 -1
- package/dist/cdn/{XA5GIUR6.js → SW27NFSU.js} +2 -2
- package/dist/cdn/{LD7TCLXD.js → SXLYAREQ.js} +2 -2
- package/dist/cdn/{BNSB37BG.js → T3XJJDUF.js} +1 -1
- package/dist/cdn/{FPVYYJZU.js → T5E6H5II.js} +2 -2
- package/dist/cdn/{PY5KZH52.js → TBJ3OD6K.js} +2 -2
- package/dist/cdn/{2LFAIG4Y.js → TCV7CZHS.js} +1 -1
- package/dist/cdn/{MIAVOYXC.js → THVTZKYI.js} +2 -2
- package/dist/cdn/{Q42J7MX2.js → TIOF5XB6.js} +2 -2
- package/dist/cdn/{PRF7K5WC.js → TOHG4HYF.js} +2 -2
- package/dist/cdn/{4Z2GCBXM.js → TOJBGC5P.js} +2 -2
- package/dist/cdn/{XWNLS63V.js → TPJG4M4T.js} +2 -2
- package/dist/cdn/{JKUZZH76.js → TSLAPINM.js} +2 -2
- package/dist/cdn/{KNXNCPJR.js → TTCGIOAI.js} +2 -2
- package/dist/cdn/{NTLQWQS6.js → TWGK6M6C.js} +2 -2
- package/dist/cdn/{UCP2BRIL.js → TWXFKUEC.js} +2 -2
- package/dist/cdn/{5X5MAGOR.js → TZSH2ARS.js} +2 -2
- package/dist/cdn/{2W5TOF5B.js → U7UKQ4DG.js} +2 -2
- package/dist/cdn/{DWLQTIEQ.js → UB5O6ERK.js} +2 -2
- package/dist/cdn/{7APDY3O7.js → UFXBXSKS.js} +2 -2
- package/dist/cdn/{O52D2O2U.js → ULGTFJSW.js} +2 -2
- package/dist/cdn/{VM5ZGVA3.js → UTAYW2K6.js} +1 -1
- package/dist/cdn/{IGBY6H7G.js → UW77PU4X.js} +2 -2
- package/dist/cdn/{5A7ANLED.js → UWORLSOX.js} +2 -2
- package/dist/cdn/{O4FOFZZZ.js → UX2J2SYV.js} +2 -2
- package/dist/cdn/{P4PSLE7E.js → UYOTK5RM.js} +2 -2
- package/dist/cdn/{YXEM3CQC.js → V4GPI42Y.js} +2 -2
- package/dist/cdn/{XP2AFGEG.js → VBGF7QRZ.js} +2 -2
- package/dist/cdn/{BEZDR3BF.js → VDGFZDK4.js} +2 -2
- package/dist/cdn/{I3Y72EPZ.js → VM5KEKMQ.js} +2 -2
- package/dist/cdn/{6YSX44NX.js → VMF2F7QB.js} +2 -2
- package/dist/cdn/{G425A36R.js → VPT23YTB.js} +2 -2
- package/dist/cdn/{KWA56BZT.js → VR3MHHIC.js} +2 -2
- package/dist/cdn/{REXCF6AK.js → VSM5ACRS.js} +1 -1
- package/dist/cdn/VYKNUPRO.js +18 -0
- package/dist/cdn/{PAMOCSXX.js → VZT5KWR5.js} +1 -1
- package/dist/cdn/{4LYYND56.js → W4KMC3NB.js} +2 -2
- package/dist/cdn/{VUD3HI2Q.js → W6WSYHNW.js} +2 -2
- package/dist/cdn/{VXSY4V27.js → WC4KBS23.js} +2 -2
- package/dist/cdn/{CXUE7DBX.js → WDNP7HTK.js} +2 -2
- package/dist/cdn/{6URZHGOV.js → WL77FNT3.js} +2 -2
- package/dist/cdn/{4D2OCU77.js → WOO5BOCB.js} +2 -2
- package/dist/cdn/{A7722FBD.js → WP4EKSX2.js} +2 -2
- package/dist/cdn/{BJB7HU76.js → WQE73AJC.js} +2 -2
- package/dist/cdn/{F364NWY7.js → WXFPTRJR.js} +2 -2
- package/dist/cdn/{AFLJD2D2.js → WXNM6KFK.js} +1 -1
- package/dist/cdn/{RYDQMLHS.js → WYA2FORR.js} +1 -1
- package/dist/cdn/{JHDZXCV7.js → WZBZLGNL.js} +2 -2
- package/dist/cdn/{CVNLYDRK.js → X2OLHDL4.js} +2 -2
- package/dist/cdn/{42FAPKP2.js → XDIAXG7W.js} +2 -2
- package/dist/cdn/{FGNM3NFZ.js → XDZWOIXT.js} +2 -2
- package/dist/cdn/{47EMAQ7Z.js → XFO3NKFA.js} +2 -2
- package/dist/cdn/{AJWIVWWT.js → XL2VPXSI.js} +2 -2
- package/dist/cdn/XLVNDBS4.js +18 -0
- package/dist/cdn/{YPCP2ANH.js → XWMJJTFT.js} +2 -2
- package/dist/cdn/{SKKV6YTC.js → XYBOITJQ.js} +2 -2
- package/dist/cdn/{FPV6WYBL.js → Y5NASHCV.js} +2 -2
- package/dist/cdn/Y7B2IPGW.js +4 -0
- package/dist/cdn/{KSNTYAQZ.js → YHNGZWXX.js} +2 -2
- package/dist/cdn/{JIRWHXCF.js → YKNVONIM.js} +2 -2
- package/dist/cdn/{HPI4C6HL.js → YPZ6CNKI.js} +2 -2
- package/dist/cdn/{KJYDPWIX.js → YRN2WYUP.js} +2 -2
- package/dist/cdn/{YJZQIABG.js → YTSXJMMI.js} +2 -2
- package/dist/cdn/{OQZSVSVV.js → YU4NAMP6.js} +2 -2
- package/dist/cdn/{7D4AFTM4.js → YV5B46AL.js} +2 -2
- package/dist/cdn/{UK6FJACI.js → YXRG5OPF.js} +1 -1
- package/dist/cdn/{ZBNALXV7.js → YY7WPHWE.js} +2 -2
- package/dist/cdn/YZED6W3H.js +4 -0
- package/dist/cdn/{W46NJL6Z.js → Z2OK65KU.js} +2 -2
- package/dist/cdn/{O7XWTQW3.js → Z7GSGDAA.js} +2 -2
- package/dist/cdn/{5AHT3NPU.js → ZDSNPHUL.js} +2 -2
- package/dist/cdn/{ALX7KVM4.js → ZE7ROH6H.js} +3 -3
- package/dist/cdn/{33WJILQZ.js → ZL65LK5Q.js} +2 -2
- package/dist/cdn/{6FAL2RBB.js → ZQ7AEYGF.js} +1 -1
- package/dist/cdn/{CF3RBBK3.js → ZQWBJKYN.js} +2 -2
- package/dist/cdn/{KMQMER3S.js → ZSDIEOW7.js} +1 -1
- package/dist/cdn/ZU5MCLNF.js +18 -0
- package/dist/cdn/{SN6IKSF7.js → ZYG3NNP5.js} +2 -2
- package/dist/cdn/{Y2IEIML2.js → ZZZ3XDEV.js} +2 -2
- package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +30 -25
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +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 +16 -17
- package/dist/components/map-card/customElement.js +14 -15
- 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.d.ts +6 -0
- package/dist/components/map-layer-picker/customElement.js +25 -19
- 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-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- 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 +6 -6
- package/dist/components/solution-details-panel/customElement.js +19 -22
- 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-card/customElement.js +2 -2
- 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 +25 -20
- package/dist/components/solutions-deploy-app/customElement.js +6 -7
- package/dist/components/solutions-deploy-app-nav/customElement.js +28 -22
- package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
- package/dist/components/solutions-deploy-app-nav/index.js +4 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
- package/dist/components/solutions-filter-panel/customElement.js +63 -55
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +59 -1
- package/dist/docs/docs.json +45 -1
- package/dist/docs/vscode.html-custom-data.json +10 -0
- package/dist/docs/web-types.json +27 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/preact10.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/helpers.d.ts +8 -1
- package/package.json +1 -1
- package/dist/cdn/3X5VVBRU.js +0 -4
- package/dist/cdn/AAXEUHSJ.js +0 -18
- package/dist/cdn/BB34T733.js +0 -18
- package/dist/cdn/CS7YC56Z.js +0 -18
- package/dist/cdn/FDGQ5NKL.js +0 -4
- package/dist/cdn/HHZVYWUY.js +0 -4
- package/dist/cdn/K6H5T5TN.js +0 -4
- package/dist/cdn/KGPR63CZ.js +0 -4
- package/dist/cdn/RO22546M.js +0 -18
- package/dist/cdn/RVWBJZH4.js +0 -18
- package/dist/cdn/SPKIAQZB.js +0 -4
- package/dist/cdn/STMYBXHY.js +0 -4
- package/dist/cdn/SWX5QB6B.js +0 -18
- package/dist/cdn/TJ2NWBZX.js +0 -4
- package/dist/cdn/WA37EJ6K.js +0 -18
- package/dist/cdn/WSVMA7LP.js +0 -4
- package/dist/cdn/ZOWGS4GQ.js +0 -18
- package/dist/cdn/ZTJIG6NP.js +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as _}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as _}from"./LDIDINTU.js";import{a as m}from"./3FDC2PNP.js";import{b as p}from"./EPAC26GM.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{C as h,D as b,E as d,h as o,i as c}from"./SMHGPEVR.js";import"./WYA2FORR.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{c as m}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{c as m}from"./RUECP25V.js";import{b as g}from"./KJEEKYDH.js";import{a as u}from"./H3Z56RZY.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{b as p}from"./VR3MHHIC.js";import{C as s,E as h,h as c,i as t,o as d}from"./SMHGPEVR.js";import"./WYA2FORR.js";var b=c`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{na as n,pa as a,ra as m}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{na as n,pa as a,ra as m}from"./NIJ6LGXH.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import"./WYA2FORR.js";var e="Za izvajanje tega postopka nimate dovolj kreditov. Za pomo\u010D se obrnite na va\u0161ega sistemskega administratorja ArcGIS.",a="To orodje je bilo objavljeno iz bele\u017Eke. Dostop do ArcGIS Notebooks je blokiran za va\u0161o organizacijo. Za prilagoditev nastavitve se obrnite na administratorja.",o="${ dataPath } ne sme imeti ${ additionalProperty }.",i="${ dataPath } se mora ujemati s shemo ene od teh: ${ schemaOptions }.",r="Poskusite ponovno shraniti karto.",t="Ocena kreditov ni uspela. Pomaknite se navzdol, popravite napake in znova ocenite kredite.",n="Med izvajanjem analize je pri\u0161lo do napake.",s="${ dataPath } mora biti enak eni od teh dovoljenih vrednosti: ${ allowedValues }.",l="Zgodovine analiz ni bilo mogo\u010De shraniti",d="Shramba zgodovine je polna. Odstranite nekaj elementov iz shrambe zgodovine in znova poskusite s shranjevanjem.",v="Ime storitve vsebuje enega ali ve\u010D neveljavnih znakov.",m="Shranjevanje za\u010Dasnega sloja kot gostujo\u010Dega zna\u010Dilnega sloja ni dokon\u010Dano.",j="Pridobivanje klju\u010Dnih lastnosti ni uspelo.",p="Nalaganje sloja ni uspelo",u="Sloj ni na voljo.",k="${ dataPath } ne sme imeti ve\u010D kot ${ limit } elementov.",c="Pri shranjevanju smodela je pri\u0161lo do napake. Poskusite ponovno shraniti.",h="${ dataPath } ne sme imeti manj kot ${ limit } elementov.",z="${ dataPath } ne sme biti kraj\u0161e od ${ limit } znakov.",b="Elementa modela ni bilo mogo\u010De nalo\u017Eiti. Prepri\u010Dajte se, da model obstaja in da je dovoljenje za dostop bilo odobreno.",g="Zahteve ni bilo mogo\u010De dokon\u010Dati.",P="Nimate dovoljenja za zagon tega orodja. <calcite-link target='_blank' href='${ docLink }'>Ve\u010D</calcite-link>",E="Prijava v portal ni mo\u017Ena.",S="Branje vhodnih podatkov ni uspelo.",y="${ dataPath } manjka lastnost imenovana ${ missingProperty }.",$="Sloj z rezultati s tem imenom \u017Ee obstaja. Sloji z rezultati morajo biti po vsej organizaciji poimenovani enoli\u010Dno. Uporabite druga\u010Dno ime.",I="Izhodno ime vsebuje enega ali ve\u010D neveljavnih znakov. <a href='${docLink}' target='_blank'>Ve\u010D o tem.</a>",f="Objava za\u010Dasnega sloja kot gostujo\u010Dega sloja ni bila uspe\u0161na zaradi enega ali ve\u010D neveljavnih polj. Ponovno za\u017Eenite orodje, da ustvarite sloj z veljavnimi polji.",F="Oddaja opravila ni uspela. Pomaknite se navzdol, popravite napake in znova za\u017Eenite analizo.",T="${ dataPath } mora vsebovati vsaj en znak, ki ni presledek.",N={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:j,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:b,networkError:g,noPermissionToAccessTool:P,portalLoadError:E,queryFeaturesError:S,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,N as default,n as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,j as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,b as modelNotFound,g as networkError,P as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,T as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as e}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{b as e}from"./2NWVUYTE.js";import{a as r}from"./ZL65LK5Q.js";import{a as t}from"./2UAZTD7Q.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a,b}from"./AOOXAEOV.js";import"./2NWVUYTE.js";import"./ZL65LK5Q.js";import"./2XWJ46TT.js";import"./2UAZTD7Q.js";import"./WYA2FORR.js";export{a as EventEditorTypes,b as buildSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as O}from"./KRB4UOT2.js";import{e as _}from"./6R7NKEMV.js";import{a as l,f as p}from"./VZT5KWR5.js";import"./STVSBNLJ.js";import"./WYA2FORR.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("./52OVRAWR.js"),m={"hub:card:stat":()=>import("./WZBZLGNL.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("./FYPY5M3I.js"),m={"hub:card:follow":()=>import("./C46USBRI.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("./SFAXECVE.js"),m=import("./2V46CJ37.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("./AXT7H3M5.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./Z7GSGDAA.js"),"hub:site:create":()=>import("./YU4NAMP6.js"),"hub:site:followers":()=>import("./XFO3NKFA.js"),"hub:site:discussions":()=>import("./D7Q5RT2U.js"),"hub:site:settings":()=>import("./Q2KGES2T.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("./WL77FNT3.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./B4ERX267.js"),"hub:discussion:create":()=>import("./4VG73MVT.js"),"hub:discussion:settings":()=>import("./YY7WPHWE.js"),"hub:discussion:settings:discussions":()=>import("./XYBOITJQ.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("./YZED6W3H.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./ESMGPS5K.js"),"hub:channel:create":()=>import("./GUY36UW6.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("./ER36FG33.js");r=l(n);let v=await{"hub:project:edit":()=>import("./FJCCTPUY.js"),"hub:project:create":()=>import("./DUWT6T22.js"),"hub:project:create2":()=>import("./I7EHWLGZ.js"),"hub:project:metrics":()=>import("./GPYIP5PI.js"),"hub:project:settings":()=>import("./M275BFKI.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("./DGJSN5OQ.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./N6KRQV36.js"),"hub:initiative:create":()=>import("./THVTZKYI.js"),"hub:initiative:create2":()=>import("./HK3NTX5L.js"),"hub:initiative:metrics":()=>import("./TBJ3OD6K.js"),"hub:initiative:associations":()=>import("./CSJGGVEM.js"),"hub:initiative:settings":()=>import("./PQHGP45P.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("./CF75YQZH.js");r=l(I);let D=await{"hub:page:edit":()=>import("./ATEJZAG7.js"),"hub:page:create":()=>import("./G5QCXXMB.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("./DE6KD7OP.js");r=l(K);let U=await{"hub:content:edit":()=>import("./ZZZ3XDEV.js"),"hub:content:discussions":()=>import("./EXZ4VMBH.js"),"hub:content:settings":()=>import("./P4ZNB7TV.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("./TOJBGC5P.js");r=l(y);let k=await{"hub:template:edit":()=>import("./ISGFV7UG.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("./RBN46G6Q.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./SMSNEKU2.js"),"hub:group:create:association":()=>import("./LAD5VELF.js"),"hub:group:create:view":()=>import("./OZNXNIGV.js"),"hub:group:create:edit":()=>import("./CLOQWOEC.js"),"hub:group:create":()=>import("./PZI2AVA5.js"),"hub:group:edit":()=>import("./YTSXJMMI.js"),"hub:group:settings":()=>import("./5SPTHQL6.js"),"hub:group:discussions":()=>import("./QHEGVPF3.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("./RZYQZ6JI.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./PYMGOIHW.js"),"hub:survey:settings":()=>import("./EV6JFTBW.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./AP6277DE.js"),"hub:event:edit":()=>import("./C5R5SVFU.js"),"hub:event:registrants":()=>import("./6TTC7ZFD.js")}[a](),H=await{"hub:event:create":()=>import("./7VA4NOU2.js"),"hub:event:edit":()=>import("./LEMKJ45K.js"),"hub:event:registrants":()=>import("./ULGTFJSW.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./FAU3V3DD.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./FB5463BR.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("./XDIAXG7W.js");r=l(N);let P=await{"hub:user:settings":()=>import("./6VYUBZGX.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
4
|
var a;(function(e){e.aptx="aptx",e.bpk="bpk",e.csv="csv",e.eaz="eaz",e.esriaddin="esriaddin",e.esriaddinx="esriaddinx",e.doc="doc",e.docx="docx",e.dlpk="dlpk",e.featurecollection="featurecollection",e.geojson="geojson",e.gcpk="gcpk",e.gpk="gpk",e.gpkg="gpkg",e.gpkx="gpkx",e.insightswbk="insightswbk",e.ipynb="ipynb",e.jpg="jpg",e.jpeg="jpeg",e.json="json",e.key="key",e.kml="kml",e.kmz="kmz",e.lpk="lpk",e.lpkx="lpkx",e.lyr="lyr",e.lyrx="lyrx",e.mapx="mapx",e.mmpk="mmpk",e.mpk="mpk",e.mpkx="mpkx",e.msd="msd",e.mspk="mspk",e.mxd="mxd",e.ncfg="ncfg",e.nmc="nmc",e.nmf="nmf",e.numbers="numbers",e.pages="pages",e.pagx="pagx",e.parquet="parquet",e.pdf="pdf",e.pmf="pmf",e.png="png",e.ppkx="ppkx",e.ppt="ppt",e.pptx="pptx",e.proconfigx="proconfigx",e.rpk="rpk",e.rptx="rptx",e.sd="sd",e.slpk="slpk",e.spk="spk",e.stylx="stylx",e.surveyaddin="surveyaddin",e.sxd="sxd",e.tif="tif",e.tiff="tiff",e.tpk="tpk",e.tpkx="tpkx",e.vsd="vsd",e.vtpk="vtpk",e.wmpk="wmpk",e.wpk="wpk",e.xls="xls",e.xml="xml",e.xlsx="xlsx",e.zip="zip",e["3dd"]="3dd",e["3vr"]="3vr",e["3ws"]="3ws",e["rft.json"]="rft.json",e["rft.xml"]="rft.xml"})(a||(a={}));var r;(function(e){e["360 VR Experience"]="360 VR Experience",e["Apache Parquet"]="Apache Parquet",e["AppBuilder Widget Package"]="AppBuilder Widget Package",e["Desktop Add In"]="Desktop Add In",e["Explorer Add In"]="Explorer Add In",e["Explorer Map"]="Explorer Map",e["Explorer Layer"]="Explorer Layer",e["Windows Mobile Package"]="Windows Mobile Package",e["ArcGIS Pro Add In"]="ArcGIS Pro Add In",e["ArcGIS Pro Configuration"]="ArcGIS Pro Configuration",e["Globe Document"]="Globe Document",e["Map Document"]="Map Document",e["ArcPad Package"]="ArcPad Package",e["Published Map"]="Published Map",e["Scene Document"]="Scene Document",e["CityEngine Web Scene"]="CityEngine Web Scene",e["Code Sample"]="Code Sample",e["CSV Collection"]="CSV Collection",e.CSV="CSV",e["CAD Drawing"]="CAD Drawing",e["Deep Learning Package"]="Deep Learning Package",e["Desktop Application"]="Desktop Application",e["Desktop Application Template"]="Desktop Application Template",e["Desktop Style"]="Desktop Style",e["Earth Configuration"]="Earth Configuration",e["Feature Collection"]="Feature Collection",e["File Geodatabase"]="File Geodatabase",e.GeoJson="GeoJson",e["Geoprocessing Package"]="Geoprocessing Package",e.GeoPackage="GeoPackage",e["Geoprocessing Sample"]="Geoprocessing Sample",e.GML="GML",e["Image Collection"]="Image Collection",e.Image="Image",e["iWork Keynote"]="iWork Keynote",e["iWork Numbers"]="iWork Numbers",e["iWork Pages"]="iWork Pages",e["KML Collection"]="KML Collection",e.KML="KML",e.Layer="Layer",e["Layer Package"]="Layer Package",e.Layout="Layout",e["Locator Package"]="Locator Package",e["Map Package"]="Map Package",e["Map Template"]="Map Template",e["Microsoft Excel"]="Microsoft Excel",e["Microsoft Powerpoint"]="Microsoft Powerpoint",e["Visio Document"]="Visio Document",e["Microsoft Word"]="Microsoft Word",e["Mobile Basemap Package"]="Mobile Basemap Package",e["Mobile Map Package"]="Mobile Map Package",e["Mobile Scene Package"]="Mobile Scene Package",e.Notebook="Notebook",e.PDF="PDF",e["Pro Map"]="Pro Map",e["Pro Report"]="Pro Report",e["Project Package"]="Project Package",e["Project Template"]="Project Template",e["Raster function template"]="Raster function template",e["Rule Package"]="Rule Package",e["Scene Package"]="Scene Package",e["Service Definition"]="Service Definition",e.Shapefile="Shapefile",e["Survey123 Add In"]="Survey123 Add In",e["Tile Package"]="Tile Package",e["Vector Tile Package"]="Vector Tile Package",e["Workflow Manager Package"]="Workflow Manager Package",e["Document Link"]="Document Link",e["Feature Service"]="Feature Service",e["Geocoding Service"]="Geocoding Service",e["Geodata Service"]="Geodata Service",e["Geometry Service"]="Geometry Service",e["Geoprocessing Service"]="Geoprocessing Service",e["Geoenrichment Service"]="Geoenrichment Service",e["Globe Service"]="Globe Service",e["Image Service"]="Image Service",e["Map Service"]="Map Service",e["Network Analysis Service"]="Network Analysis Service",e["Vector Tile Service"]="Vector Tile Service",e.WFS="WFS",e.WMS="WMS",e.WMTS="WMTS",e.OGCFeatureServer="OGCFeatureServer",e["Scene Service"]="Scene Service",e["Stream Service"]="Stream Service",e["Workflow Manager Service"]="Workflow Manager Service",e["Web Mapping Application"]="Web Mapping Application",e["Mobile Application"]="Mobile Application",e["AppBuilder Extension"]="AppBuilder Extension",e["Google Drive"]="Google Drive",e.Dropbox="Dropbox",e.OneDrive="OneDrive",e.StoryMap="StoryMap",e.Dashboard="Dashboard",e["Hub Project"]="Hub Project",e["Hub Initiative"]="Hub Initiative",e["Hub Site Application"]="Hub Site Application",e["Web Experience"]="Web Experience",e["Insights Workbook Package"]="Insights Workbook Package",e.Application="Application",e["ArcGIS Explorer Application Configuration"]="ArcGIS Explorer Application Configuration",e["ArcMap Document"]="ArcMap Document",e["Layer File"]="Layer File",e.ogcFeature="ogcFeature",e.FeatureServer="Feature Service",e.GeocodeServer="GeocodeServer",e.GeoDataServer="GeoDataServer",e.GeometryServer="GeometryServer",e.GeoenrichmentServer="GeoenrichmentServer",e.GPServer="GPServer",e.GlobeServer="GlobeServer",e.ImageServer="ImageServer",e.MapServer="MapServer",e.NAServer="NAServer",e.ElevationServer="ElevationServer",e.VectorTileServer="VectorTileServer",e["Scene Server"]="Scene Server",e.StreamServer="StreamServer",e.WMServer="WMServer",e.TiledImageServer="TiledImageServer"})(r||(r={}));var t={"360 VR Experience":{fileExt:[a["3dd"]],type:r["360 VR Experience"],typeKeywords:[]},"Apache Parquet":{fileExt:[a.parquet],type:r["Apache Parquet"],typeKeywords:[]},"AppBuilder Widget Package":{fileExt:[a.zip],type:r["AppBuilder Widget Package"],typeKeywords:[]},"Desktop Add In":{fileExt:[a.esriaddin],type:r["Desktop Add In"],typeKeywords:["Tool","Add In","Desktop Add In","ArcGIS Desktop","ArcMap","ArcGlobe","ArcScene","esriaddin"]},"Explorer Add In":{fileExt:[a.eaz],type:r["Explorer Add In"],typeKeywords:["Tool","Add In","Explorer Add In","ArcGIS Explorer","eaz"]},"Explorer Map":{fileExt:[a.nmf],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Document","2D","3D","ArcGIS Explorer","nmf"]},"ArcGIS Explorer Application Configuration":{fileExt:[a.ncfg],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Mapping Application","2D","3D","ArcGIS Explorer"]},"Explorer Layer":{fileExt:[a.nmc],type:r["Explorer Layer"],typeKeywords:["Data","Layer","Explorer Layer","ArcGIS Explorer","nmc"]},"Windows Mobile Package":{fileExt:[a.wmpk],type:r["Windows Mobile Package"],typeKeywords:[]},"ArcGIS Pro Add In":{fileExt:[a.esriaddinx],type:r["ArcGIS Pro Add In"],typeKeywords:["Tool","Add In","Pro Add In","esriaddinx"]},"ArcGIS Pro Configuration":{fileExt:[a.proconfigx],type:r["ArcGIS Pro Configuration"],typeKeywords:[]},"Globe Document":{fileExt:[a["3dd"]],type:r["Globe Document"],typeKeywords:["Map","Globe Document","3D","ArcGlobe","ArcGIS Server","3dd"]},"Map Document":{fileExt:[a.msd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server","msd"]},"ArcMap Document":{fileExt:[a.mxd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server"]},"ArcPad Package":{fileExt:[a.zip],type:r["ArcPad Package"],typeKeywords:["Map","Layer","Data"]},"Published Map":{fileExt:[a.pmf],type:r["Published Map"],typeKeywords:["Map","Published Map","2D","ArcReader","ArcMap","ArcGIS Server","pmf"]},"Scene Document":{fileExt:[a.sxd],type:r["Scene Document"],typeKeywords:["Map","Scene Document","3D","ArcScene","sxd"]},"CityEngine Web Scene":{fileExt:[a["3ws"]],type:r["CityEngine Web Scene"],typeKeywords:["3D","Map","Scene","Web"]},"Code Sample":{fileExt:[a.zip],type:r["Code Sample"],typeKeywords:["Code","Sample"]},"CSV Collection":{fileExt:[a.zip],type:r["CSV Collection"],typeKeywords:[]},CSV:{fileExt:[a.csv],type:r.CSV,typeKeywords:["CSV"]},"CAD Drawing":{fileExt:[a.zip],type:r["CAD Drawing"],typeKeywords:[]},"Deep Learning Package":{fileExt:[a.zip,a.dlpk],type:r["Deep Learning Package"],typeKeywords:["Deep Learning","Raster"]},"Desktop Application":{type:r["Desktop Application"],typeKeywords:["Desktop Application"]},"Desktop Application Template":{fileExt:[a.zip],type:r["Desktop Application Template"],typeKeywords:["application","template","ArcGIS desktop"]},"Desktop Style":{fileExt:[a.stylx],type:r["Desktop Style"],typeKeywords:["ArcGIS Pro","Symbology","Style","Symbols"]},"Earth Configuration":{fileExt:[a.xml],type:r["Earth Configuration"],typeKeywords:["ArcGIS Earth","Earth","Earth Configuration"]},"Feature Collection":{type:r["Feature Collection"],fileExt:[a.featurecollection],typeKeywords:[]},"File Geodatabase":{fileExt:[a.zip],type:r["File Geodatabase"],typeKeywords:[]},GeoJson:{fileExt:[a.geojson,a.json],type:r.GeoJson,typeKeywords:["Coordinates Type","CRS","Feature","FeatureCollection","GeoJSON","Geometry","GeometryCollection"]},"Geoprocessing Package":{fileExt:[a.gpk,a.gpkx],type:r["Geoprocessing Package"],typeKeywords:["ArcGIS Desktop","ArcGlobe","ArcMap","ArcScene","Geoprocessing Package","gpk","Model","Result","Script","Sharing","Tool","Toolbox"]},GeoPackage:{fileExt:[a.gpkg],type:r.GeoPackage,typeKeywords:["Data","GeoPackage","gpkg"]},"Geoprocessing Sample":{fileExt:[a.zip],type:r["Geoprocessing Sample"],typeKeywords:["tool","geoprocessing","sample"]},GML:{fileExt:[a.zip],type:r.GML,typeKeywords:[]},"Image Collection":{fileExt:[a.zip],type:r["Image Collection"],typeKeywords:[]},Image:{fileExt:[a.jpg,a.jpeg,a.png,a.tif,a.tiff],type:r.Image,typeKeywords:["Data","Image"]},"iWork Keynote":{fileExt:[a.key],type:r["iWork Keynote"],typeKeywords:["Data","Document","Mac"]},"iWork Numbers":{fileExt:[a.numbers],type:r["iWork Numbers"],typeKeywords:["Data","Document","Mac"]},"iWork Pages":{fileExt:[a.pages],type:r["iWork Pages"],typeKeywords:["Data","Document","Mac"]},"KML Collection":{fileExt:[a.zip],type:r["KML Collection"],typeKeywords:[]},KML:{type:r.KML,fileExt:[a.kml,a.kmz],typeKeywords:["Data","Map","kml"]},Layer:{fileExt:[a.lyr],type:r.Layer,typeKeywords:["Data","Layer","ArcMap","ArcGlobe","ArcGIS Explorer","lyr"]},"Layer File":{fileExt:[a.lyrx],type:r.Layer,typeKeywords:["ArcGIS Pro","Layer","Layer File"]},"Layer Package":{fileExt:[a.lpk,a.lpkx],type:r["Layer Package"],typeKeywords:[]},Layout:{fileExt:[a.pagx],type:r.Layout,typeKeywords:["ArcGIS Pro","Layout","Layout File","pagx"]},"Locator Package":{fileExt:[a.gcpk],type:r["Locator Package"],typeKeywords:[]},"Map Package":{fileExt:[a.mpk,a.mpkx],type:r["Map Package"],typeKeywords:[]},"Map Template":{fileExt:[a.zip],type:r["Map Template"],typeKeywords:["map","ArcMap","template","ArcGIS desktop"]},"Microsoft Excel":{fileExt:[a.xls,a.xlsx],type:r["Microsoft Excel"],typeKeywords:["Data","Document","Microsoft Excel"]},"Microsoft Powerpoint":{fileExt:[a.ppt,a.pptx],type:r["Microsoft Powerpoint"],typeKeywords:["Data","Document","Microsoft Powerpoint"]},"Visio Document":{fileExt:[a.vsd],type:r["Visio Document"],typeKeywords:["Data","Document","Visio Document"]},"Microsoft Word":{fileExt:[a.doc,a.docx],type:r["Microsoft Word"],typeKeywords:["Data","Document"]},"Mobile Basemap Package":{fileExt:[a.bpk],type:r["Mobile Basemap Package"],typeKeywords:[]},"Mobile Map Package":{fileExt:[a.mmpk],type:r["Mobile Map Package"],typeKeywords:[]},"Mobile Scene Package":{fileExt:[a.mspk],type:r["Mobile Scene Package"],typeKeywords:[]},Notebook:{fileExt:[a.ipynb],type:r.Notebook,typeKeywords:["Notebook","Python"]},PDF:{fileExt:[a.pdf],type:r.PDF,typeKeywords:["Data","Document","PDF"]},"Pro Map":{fileExt:[a.mapx],type:r["Pro Map"],typeKeywords:["ArcGIS Pro","Map","Map File","mapx"]},"Pro Report":{fileExt:[a.rptx],type:r["Pro Report"],typeKeywords:[]},"Project Package":{fileExt:[a.ppkx],type:r["Project Package"],typeKeywords:[]},"Project Template":{fileExt:[a.aptx],type:r["Project Template"],typeKeywords:[]},"Raster function template":{fileExt:[a["rft.json"],a["rft.xml"]],type:r["Raster function template"],typeKeywords:["Raster","Functions","Processing","rft","srf","function template","templates","ArcGIS Pro"]},"Rule Package":{fileExt:[a.rpk],type:r["Rule Package"],typeKeywords:[]},"Scene Package":{fileExt:[a.slpk,a.spk],type:r["Scene Package"],typeKeywords:[]},"Service Definition":{fileExt:[a.sd],type:r["Service Definition"],typeKeywords:["Data","Service","Service Definition"]},Shapefile:{fileExt:[a.zip],type:r.Shapefile,typeKeywords:["Data","Layer","shapefile"]},"Survey123 Add In":{fileExt:[a.surveyaddin],type:r["Survey123 Add In"],typeKeywords:["Add In","Survey123 Add In","Tool"]},"Tile Package":{fileExt:[a.tpk,a.tpkx],type:r["Tile Package"],typeKeywords:[]},"Vector Tile Package":{fileExt:[a.vtpk],type:r["Vector Tile Package"],typeKeywords:[]},"Workflow Manager Package":{fileExt:[a.wpk],type:r["Workflow Manager Package"],typeKeywords:[]},"Document Link":{type:r["Document Link"],typeKeywords:["Data","Document"]},"Feature Service":{type:r["Feature Service"],typeKeywords:["ArcGIS Server","Data","Feature Access","Feature Service","Service","Singlelayer","Hosted Service"]},GeocodeServer:{type:r["Geocoding Service"],typeKeywords:["ArcGIS Server","Geocoding Service","Locator Service","Service","Tool","Service Proxy"]},GeoDataServer:{type:r["Geodata Service"],typeKeywords:["Data","Service","Geodata Service","ArcGIS Server"]},GeometryServer:{type:r["Geometry Service"],typeKeywords:["Tool","Service","Geometry Service","ArcGIS Server"]},GeoenrichmentServer:{type:r["Geoenrichment Service"],typeKeywords:["Geoenrichment Service","ArcGIS Server"]},GPServer:{type:r["Geoprocessing Service"],typeKeywords:["Tool","Service","Geoprocessing Service","ArcGIS Server"]},GlobeServer:{type:r["Globe Service"],typeKeywords:["Data","Service","Globe Service","ArcGIS Server"]},ImageServer:{type:r["Image Service"],typeKeywords:["Data","Service","Image Service","ArcGIS Server"]},MapServer:{type:r["Map Service"],typeKeywords:["Data","Service","Map Service","ArcGIS Server"]},NAServer:{type:r["Network Analysis Service"],typeKeywords:["Tool","Service","Network Analysis Service","ArcGIS Server"]},ElevationServer:{type:r["Image Service"],typeKeywords:["Elevation 3D Layer"]},VectorTileServer:{type:r["Vector Tile Service"],typeKeywords:[]},WFS:{type:r.WFS,typeKeywords:["Data","Service","Web Feature Service","OGC"]},WMS:{type:r.WMS,typeKeywords:["Data","Service","Web Map Service","OGC"]},WMTS:{type:r.WMTS,typeKeywords:["Data","Service","OGC"]},ogcFeature:{type:r.OGCFeatureServer,typeKeywords:["Data","Service","Feature Service","OGC","OGC Feature Service"]},SceneServer:{type:r["Scene Service"],typeKeywords:["Scene Service"]},StreamServer:{type:r["Stream Service"],typeKeywords:["Data","Service","Stream Service","ArcGIS Server"]},WMServer:{type:r["Workflow Manager Service"],typeKeywords:["Workflow Manager","ArcGIS Server","WMServer","Workflow","JTX","Job Tracking"]},TiledImageServer:{type:r["Image Service"],typeKeywords:["Tiled Imagery"]},"Web Mapping Application":{type:r["Web Mapping Application"],typeKeywords:["JavaScript","Map","Mapping Site","Online Map","Ready To Use","Web AppBuilder","Web Map (+ WAB2D or WAB3D)"]},"Mobile Application":{type:r["Mobile Application"],typeKeywords:["ArcGIS Mobile Map","Mobile Application"]},"AppBuilder Extension":{type:r["AppBuilder Extension"],typeKeywords:["Widget","App Builder"]},"Google Drive":{type:r["Google Drive"],typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},Dropbox:{type:r.Dropbox,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},OneDrive:{type:r.OneDrive,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},"Map Service":{type:r["Map Service"],typeKeywords:["ArcGIS Server","Data","Map Service","Service","Hosted Service"]},StoryMap:{type:r.StoryMap,typeKeywords:["arcgis-storymaps","StoryMap","Web Application (smstatusdraft or smsstatuspublished)"]},Dashboard:{type:r.Dashboard,typeKeywords:["Dashboard","Operations Dashboard"]},"Hub Initiative":{type:r["Hub Initiative"],typeKeywords:["Hub","hubInitiative","OpenData"]},"Hub Site Application":{type:r["Hub Site Application"],typeKeywords:["Hub","hubSite","hubSolution","JavaScript","Map","Mapping Site","Online Map","OpenData","Ready To Use","selfConfigured","Web Map","Registered App"]},"Web Experience":{type:r["Web Experience"],typeKeywords:["EXB Experience","JavaScript","Ready To Use Web Application","Web Experience","Web Mapping Application","Web Page","Web Site"]},"Insights Workbook Package":{type:r["Insights Workbook Package"],fileExt:[a.insightswbk],typeKeywords:["Insights","Insights Workbook Package"]}},o;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(o||(o={}));var p;(function(e){e.map="map",e.image="image"})(p||(p={}));export{r as a,o as b,p as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as n}from"./ZQ7AEYGF.js";import{a as s}from"./YV5B46AL.js";import"./ZYG3NNP5.js";import"./JCFSOF6S.js";import"./VZT5KWR5.js";import"./EQTBIP6U.js";import{a as r,b as i}from"./LQHD4NTE.js";import"./7OY5RPOS.js";import"./FHOJGZI7.js";import"./LOJTB56C.js";import{a as o}from"./KZTR7QWA.js";import{a}from"./LRTYQ7TB.js";import"./SW27NFSU.js";import"./QTIL33DB.js";import"./DGXGVR2Z.js";import"./KJVMFBBS.js";import"./STVSBNLJ.js";import"./DRCIJWFA.js";import"./VDGFZDK4.js";import"./AOOXAEOV.js";import"./2NWVUYTE.js";import"./ZL65LK5Q.js";import"./2XWJ46TT.js";import"./PLEVCFO6.js";import"./P2ZCV72Y.js";import"./LDDJNGGS.js";import"./WP4EKSX2.js";import"./QQDVZSP3.js";import"./TSLAPINM.js";import"./4AALASXV.js";import"./YHNGZWXX.js";import"./CEE26YF4.js";import"./R5BOZ7VE.js";import"./UW77PU4X.js";import"./7I775T2S.js";import"./IBSQEVYG.js";import"./XDZWOIXT.js";import"./AQ45HO6P.js";import"./2UAZTD7Q.js";import"./UTAYW2K6.js";import"./WYA2FORR.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a,b}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a,b}from"./QQDVZSP3.js";import"./XDZWOIXT.js";import"./AQ45HO6P.js";import"./2UAZTD7Q.js";import"./WYA2FORR.js";export{a as SiteEditorTypes,b as getSiteSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as q}from"./QA3KZUQE.js";import{a as w}from"./VUD3HI2Q.js";import{a as M}from"./AYJPSY6G.js";import{C as T,b as v,c as F,z as P}from"./AFLJD2D2.js";import{b as S}from"./MOKNBS3C.js";import"./KNXNCPJR.js";import"./HKEDWMSD.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as q}from"./JCSZQSGX.js";import{a as w}from"./W6WSYHNW.js";import{a as M}from"./3FDC2PNP.js";import{C as T,b as v,c as F,z as P}from"./WXNM6KFK.js";import{b as S}from"./EPAC26GM.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./SMHGPEVR.js";import"./WYA2FORR.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import a from"./Y7B2IPGW.js";import"./NIJ6LGXH.js";import"./GSTWP5ZM.js";import"./KRB4UOT2.js";import"./GBTX7JHX.js";import"./X2OLHDL4.js";import"./PP4Q3ULO.js";import"./IYEVDJDU.js";import"./6R7NKEMV.js";import"./ZYG3NNP5.js";import"./JCFSOF6S.js";import"./VZT5KWR5.js";import"./EQTBIP6U.js";import"./FHOJGZI7.js";import"./LOJTB56C.js";import"./SW27NFSU.js";import"./QTIL33DB.js";import"./DGXGVR2Z.js";import"./KJVMFBBS.js";import"./STVSBNLJ.js";import"./LDDJNGGS.js";import{a as S}from"./JZLR7ZSG.js";import"./EPAC26GM.js";import{c as w,j as M}from"./U7UKQ4DG.js";import{j as u}from"./YXRG5OPF.js";import"./HJQ464S3.js";import{b as L}from"./TCV7CZHS.js";import{a as $}from"./H3Z56RZY.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{b as v}from"./VR3MHHIC.js";import{C as r,D as h,E as I,G as f,h as y,i as o,l as m,o as p,r as g}from"./SMHGPEVR.js";import"./WYA2FORR.js";export default $arcgis.t(([{l:W}])=>{function V(l){return l?.indexOf("http://")!==-1}function b(l){return V(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(s=>{l.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=b(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=b(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=b(s.proxyUrl))}}))})}),l}var k=y`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{display:block;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}.panel-header-override{--calcite-panel-header-content-space: 0px}@media only screen and (max-width:1024px){.esri-zoom{display:none!important}}}`,_=class extends I{constructor(){super(),this.defaultWebmapId="",this.defaultLayerId="",this.enableHome=!1,this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableShare=!1,this.enableMapLayerPicker=!1,this.enableMapPicker=!1,this.enableSingleExpand=!1,this.enableSearch=!1,this.enableBasemap=!1,this.featureSelectionMode="multiple",this.hide=!1,this.zoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-leading",this.mobileMapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.stackTools=!1,this.mapToolsOrder=[],this.mobileToolsOrder=[],this.isMapLayout=!1,this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.selectedFeaturesIds=[],this.showOnlyUpdatableLayers=!1,this.isMobile=!1,this.enableSelectionTool=!1,this._configLayerOrderDefined=!1,this._translations=$({name:"map-card",blocking:!0}),this._toolInfos=[],this._filterActive=!1,this._enabledLayerIds=[],this._defaultWebmapHonored=!1,this._loadedId="",this._mapDiv=r(),this._mapPicker=r(),this._mapTools=r(),this._mobMapTools=r(),this._mapListExpanded=!1,this._definitionExpression="",this._mapLayerPicker=r(),this._toolbar=r(),this._selectedWebMapId="",this._isValidWebMap=!0,this.mapChanged=p(),this.beforeMapChanged=p(),this.toggleFilter=p(),this.clearSelection=p(),this.editMultipleFeatures=p(),this.listenOn(window,"mapInfoChange",this.mapInfoChange),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.enableSingleExpand=!0,this.stackTools=!0,S(window)}static{this.properties={appLayout:1,appProxies:1,defaultWebmapId:1,defaultLayerId:1,enableHome:5,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableShare:5,enableMapLayerPicker:5,enableMapPicker:5,enableSingleExpand:5,enableSearch:5,enableBasemap:5,featureSelectionMode:1,basemapConfig:0,hide:5,zoomToolsSize:1,mapInfos:0,mapWidgetsIndex:9,mapWidgetsPosition:1,mobileMapWidgetsPosition:1,mapWidgetsSize:1,mapView:0,stackTools:5,theme:1,mapToolsOrder:0,mobileToolsOrder:0,isMapLayout:5,shareIncludeEmbed:5,shareIncludeSocial:5,selectedFeaturesIds:0,selectedLayer:0,zoomToScale:9,showOnlyUpdatableLayers:5,isMobile:5,mapInfo:0,enableSelectionTool:5,_configLayerOrderDefined:16,_translations:16,_searchConfiguration:16,_webMapInfo:16,_toolInfos:16,_filterActive:16,_mapDivHeight:16,_mapDivWidth:16}}static{this.styles=k}static{this.shadowRootOptions=g}willUpdate(e){e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("selectedLayer")&&this.selectedLayerWatchHandler(),e.has("selectedFeaturesIds")&&this.selectedFeaturesIdsWatchHandler()}appLayoutWatchHandler(){this._updateShareUrl()}async mapInfoWatchHandler(){this._configLayerOrderDefined="configLayerOrder"in(this.mapInfo?.layerOptions||{}),this._enabledLayerIds=W(this.mapInfo?.layerOptions?.layers||[],this.mapInfo?.layerOptions?.configLayerOrder)}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await this.selectedLayer?.when(async()=>{this._definitionExpression=this.selectedLayer?.definitionExpression||""})}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(e){this._filterActive=e,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.value&&this._mapLayerPicker.value.updateLayer()}async mapInfoChange(e){this._selectedWebMapId=e.detail.id,await this._loadMap(e.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout(()=>{this._initToolInfos()},50)}async load(){await this._initModules(),this._initToolInfos(),this._mapSizeObserver||(this._mapSizeObserver=new ResizeObserver(()=>{if(this._mapDivWidth&&this._mapDiv.value){let e=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value.offsetWidth-e}}))}render(){let e=this.hide?"visibility-hidden-1":"",i=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",s="height-full",t=this.isMapLayout?"":"display-none",a=this._isValidWebMap?"":"hidden",d=this.isMobile?"":"hidden";return this._handleMapVisibility(),this._validateActiveActions(),o`<calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker()}${this._getHeaderActions()}<div slot=header-actions-end class="display-flex absolute-right">${this.enableShare&&this.isMapLayout?this._getShare("share"):void 0}</div><calcite-progress class=${f(t)} value=0></calcite-progress><div class=${`${e} ${s}`}><div class="height-full" ${h(this._mapDiv)}></div></div>${o`<map-tools .basemapConfig=${this.basemapConfig} class=${`box-shadow ${i} ${a}`} .defaultLayerId=${this.defaultLayerId} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .enableSelectionTool=${this.enableSelectionTool} .isMobile=${this.isMobile} .parentComponentHeight=${this._mapDivHeight} .parentComponentWidth=${this._mapDivWidth} .zoomToolsSize=${this.zoomToolsSize} layout=horizontal .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .selectedLayer=${this.selectedLayer} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.mapToolsOrder} ${h(this._mapTools)}></map-tools><map-tools class=${`box-shadow ${i} ${d}`} .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this._enabledLayerIds} .enableMapLayerPicker=${this.enableMapLayerPicker} .enableMapPicker=${this.enableMapPicker} .isMobile=${this.isMobile} .zoomToolsSize=${this.zoomToolsSize} layout=vertical .mapInfos=${this.mapInfos} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .parentComponentHeight=${this._mapDivHeight} .position=${this.mobileMapWidgetsPosition} .selectedLayer=${this.selectedLayer} .selectedWebMapId=${this._selectedWebMapId} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} .stackTools=${this.stackTools} .toolOrder=${this.mobileToolsOrder} ${h(this._mobMapTools)}></map-tools>`}</calcite-panel>`}updated(){this._mapDivHeight=this._mapDiv.value?.offsetHeight??0,document.onclick=e=>this._handleDocumentClick(e)}loaded(){this._mapDiv.value&&this._mapSizeObserver?.observe(this._mapDiv.value),this._updateShareUrl()}async _initModules(){let[e,i,s,t]=await L(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=e,this.MapView=i,this.Home=s,this.esriConfig=t}async _loadMap(e){let i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter(n=>n.id===this.defaultWebmapId),t=JSON.stringify(e)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!e?.id&&this.mapInfos.length>0?this.mapInfos[0]:e;let a=this._webMapInfo.id,d=i&&e?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||d){let n=this.WebMap&&new this.WebMap({portalItem:{id:a}});try{n&&await n.load(),this.appProxies&&n&&this.esriConfig&&await T(n,this.esriConfig,this.appProxies),this.mapView=this.MapView&&new this.MapView({container:this._mapDiv.value,map:n,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapView&&await this.mapView.when(()=>{if(this.mapView){let c=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value&&this._mapDiv.value.offsetWidth-c,this._mapTools.value&&this.mapView.ui.add(this._mapTools.value,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._mobMapTools.value&&this.mapView.ui.add(this._mobMapTools.value,{position:this.mobileMapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=d?!0:this._defaultWebmapHonored,this._isValidWebMap=!0,this.mapChanged.emit({id:a,mapView:this.mapView,isValid:!0}),this.isMobile||document.getElementsByClassName("esri-zoom")[0]?.classList.remove("display-none")}})}catch(c){console.error(c),this._loadedId=a,this._isValidWebMap=!1,this.mapChanged.emit({id:a,mapView:void 0,isValid:!1}),document.getElementsByClassName("esri-zoom")[0]?.classList.add("display-none");return}}else i?(this._defaultWebmapHonored=!0,this._mapPicker.value&&this._mapPicker.value.setMapByID(a)):t&&this.mapView&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView,isValid:!0}));this._updateShareUrl()}_getMapLayerPicker(){let e=this.isMapLayout?"header-actions-start":"",i=this.mapInfos?.length>1?"":"display-none",s=this.isMapLayout?"height-0":"width-full",t="display-flex",a=this.isMapLayout?"":"display-none";return o`${!this.isMobile&&o`<div slot=${e??m}><map-picker class=${`${i} ${s}`} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} .selectedWebMapId=${this._selectedWebMapId} ${h(this._mapPicker)}></map-picker></div>`||""}<div slot=header-actions-start class=${`mapView-header display-flex ${a}`} id=solutions-map-layer-picker-container><div class=${`border-end ${t}`}>${this.mapView&&o`<map-layer-picker appearance=transparent .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${h(this._mapLayerPicker)}></map-layer-picker>`||""}</div></div>`}_getHeaderActions(){return o`<div slot=header-content><calcite-action-bar class=${f("display-flex")} expand-disabled expanded id=${this._getId("bar")??m} layout=horizontal><calcite-action-group>${this.isMapLayout?this._getActions():void 0}</calcite-action-group></calcite-action-bar></div>`}_getShare(e){return o`<div class="share-action" id=${this._getId(e)??m}>${this.mapView&&o`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${h(i=>{i&&(this._shareNode=i,this._updateShareUrl())})}></instant-apps-social-share>`||""}${this._getToolTip("bottom",`map-${e}`,this._translations?.share)}</div>`}_updateShareUrl(){let e=this._shareNode?.shareUrl;if(!e)return;let i=new URL(e);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),this.appLayout&&i.searchParams.set("applayout",this.appLayout),this._shareNode&&(this._shareNode.autoUpdateShareUrl=!1,this._shareNode.shareUrl=i.href)}_initToolInfos(){let e=this.selectedFeaturesIds.length>0,i=this.selectedFeaturesIds.length<2||this.selectedFeaturesIds.length>u,s=this.featureSelectionMode==="multiple"&&this.selectedLayer?.capabilities?.operations.supportsUpdate,t=[];t.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>void this._toggleFilter(),disabled:!1,toolTip:this._translations.filters}),t.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>void this._zoom(),disabled:!e,toolTip:this._translations.zoom}),s&&t.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this.selectedFeaturesIds),disabled:i,toolTip:this._translations.editMultiple}),t.push({active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer?.refresh(),disabled:!1,toolTip:this._translations.refresh}),t.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!e,toolTip:this._translations.clearSelection}),this._toolInfos=[...t]}_validateActiveActions(){let e=["filter"];this._toolInfos?.forEach(i=>{i&&e.indexOf(i.icon)>-1&&i.icon==="filter"&&(i.indicator=this._filterActive)})}_handleMapVisibility(){if(this._mapDiv.value){let e=this._mapDiv.value.getElementsByClassName("esri-view-surface")[0],i=this._mapDiv.value.getElementsByClassName("esri-attribution")[0];this._isValidWebMap?(e?.classList.remove("hidden"),i?.classList.remove("hidden")):(e?.classList.add("hidden"),i?.classList.add("hidden"))}}_validateEnabledActions(){let e=this.selectedFeaturesIds.length>0,i=this.selectedFeaturesIds.length<2||this.selectedFeaturesIds.length>u,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach(t=>{t&&s.indexOf(t.icon)>-1&&(t.disabled=t.icon==="pencil"?i:!e,t.toolTip=t.icon==="pencil"?this.selectedFeaturesIds.length>u?this._translations.featureEditLimitNotice:this._translations.editMultiple:t.toolTip)})}_handleDocumentClick(e){e.target.tagName!=="MAP-PICKER"&&(this._mapListExpanded=!1,this._mapPicker.value&&this._mapPicker.value.close())}async _zoom(){if(this.selectedLayer&&this.mapView){let e=await w(this.mapView,this.selectedLayer.id);e&&await M(this.selectedFeaturesIds,e,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let e=[];return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===this.selectedLayer?.id)),e.length>0}_getActions(){return this._toolInfos?.reduce((e,i)=>(i&&e.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,i.toolTip)),e),[])}_getToolTip(e,i,s){return o`<calcite-tooltip .placement=${e} .referenceElement=${i}><span>${s}</span></calcite-tooltip>`}_getAction(e,i,s,t,a,d,n,c){let x=this.selectedLayer===void 0?!0:d;return o`<calcite-action .active=${e} appearance=solid .disabled=${x} .icon=${i} .id=${`map-${i}`} .indicator=${s} .label=${t} .loading=${n} @click=${a} .text=${t} text-enabled></calcite-action>${this._getToolTip("auto",`map-${i}`,c)}`}_getId(e){return`solutions-action-${e}`}};v("map-card",_);return _},a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as s}from"./YV5B46AL.js";import"./ZYG3NNP5.js";import"./JCFSOF6S.js";import"./VZT5KWR5.js";import"./EQTBIP6U.js";import{a as i,b as a}from"./LQHD4NTE.js";import"./7OY5RPOS.js";import"./FHOJGZI7.js";import"./LOJTB56C.js";import{a as o}from"./KZTR7QWA.js";import{a as r}from"./LRTYQ7TB.js";import"./SW27NFSU.js";import"./QTIL33DB.js";import"./DGXGVR2Z.js";import"./KJVMFBBS.js";import"./STVSBNLJ.js";import"./DRCIJWFA.js";import"./VDGFZDK4.js";import"./AOOXAEOV.js";import"./2NWVUYTE.js";import"./ZL65LK5Q.js";import"./2XWJ46TT.js";import"./PLEVCFO6.js";import"./P2ZCV72Y.js";import"./LDDJNGGS.js";import"./WP4EKSX2.js";import"./QQDVZSP3.js";import"./TSLAPINM.js";import"./4AALASXV.js";import"./YHNGZWXX.js";import"./CEE26YF4.js";import"./R5BOZ7VE.js";import"./UW77PU4X.js";import"./7I775T2S.js";import"./IBSQEVYG.js";import"./XDZWOIXT.js";import"./AQ45HO6P.js";import"./2UAZTD7Q.js";import"./UTAYW2K6.js";import"./WYA2FORR.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import c from"./SIY7BNTT.js";import{a as d,b as w,e as C,f as I}from"./2IDKXRM6.js";import a from"./PSZSQA3T.js";import{a as S}from"./LDIDINTU.js";import{a as y}from"./W6WSYHNW.js";import{a as x}from"./3FDC2PNP.js";import{C as T}from"./WXNM6KFK.js";import{b}from"./EPAC26GM.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{E as f,G as r,h as v,i as n,o as $}from"./SMHGPEVR.js";import"./WYA2FORR.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.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`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),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})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),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(){k()}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=L(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 I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),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=${u.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(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></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=w(),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=${u.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=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("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>`}};b("instant-apps-language-translator",_);return _},a,c)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import b from"./CCTJFJSB.js";import a from"./Y7B2IPGW.js";import"./NIJ6LGXH.js";import"./GSTWP5ZM.js";import"./KRB4UOT2.js";import"./GBTX7JHX.js";import"./X2OLHDL4.js";import"./PP4Q3ULO.js";import"./IYEVDJDU.js";import"./6R7NKEMV.js";import"./ZYG3NNP5.js";import"./JCFSOF6S.js";import"./VZT5KWR5.js";import"./EQTBIP6U.js";import"./FHOJGZI7.js";import"./LOJTB56C.js";import"./SW27NFSU.js";import"./QTIL33DB.js";import"./DGXGVR2Z.js";import"./KJVMFBBS.js";import"./STVSBNLJ.js";import"./LDDJNGGS.js";import"./YXRG5OPF.js";import{a as h}from"./H3Z56RZY.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{b as d}from"./VR3MHHIC.js";import{E as l,G as n,I as i,h as c,i as t,o as r}from"./SMHGPEVR.js";import"./WYA2FORR.js";export default $arcgis.t(([,{e:p}])=>{var g=c`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -15,4 +15,4 @@ import b from"./XEK4G673.js";import a from"./HHZVYWUY.js";import"./2GKQUPSG.js";
|
|
|
15
15
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
* See the License for the specific language governing permissions and
|
|
17
17
|
* limitations under the License.
|
|
18
|
-
*/calcite-card{width:240px;height:100%;padding-bottom:2px}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-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}.chip-status{--calcite-chip-icon-color: var(--calcite-ui-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.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%;font-size:1.2rem}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:.5rem;margin-bottom:.7rem}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.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}a{text-decoration:none;color:inherit;outline:0;padding:0;margin:0;display:inherit;height:100%}`,s=class extends l{constructor(){super(...arguments),this._translations=h({name:"solution-details-card",blocking:!0}),this.detailsCardSelected=r()}static{this.properties={card:0,_translations:16}}static{this.styles=
|
|
18
|
+
*/calcite-card{width:240px;height:100%;padding-bottom:2px}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-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}.chip-status{--calcite-chip-icon-color: var(--calcite-ui-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.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%;font-size:1.2rem}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:.5rem;margin-bottom:.7rem}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.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}a{text-decoration:none;color:inherit;outline:0;padding:0;margin:0;display:inherit;height:100%}`,s=class extends l{constructor(){super(...arguments),this._translations=h({name:"solution-details-card",blocking:!0}),this.detailsCardSelected=r()}static{this.properties={card:0,_translations:16}}static{this.styles=g}render(){let e=p(this.card.title);return t`<a href=${e??i} @click=${this._anchorClick} .title=${`${this.card.title} - ${this._translations.arcgisSolutions}`}>${this._renderCard()}</a>`}_anchorClick(e){e.preventDefault()}_cardSelected(){this.detailsCardSelected.emit(this.card)}_renderCard(){let e=this.card,m=e.chip==="new"||e.chip==="updated"?"chip-status":this.card.chip==="deployed"?"chip-deployed":"",o="solution-details-card-chip",a=e.chip==="new"?this._translations.newSolution:e.chip==="updated"?this._translations.updated:this._translations.deployed;return t`<calcite-card .label=${e.snippet} @click=${this._cardSelected}><div class="card-image-wrap" slot=thumbnail><img alt=${e.title??i} class="thumbnail card-image" src=${e.thumbnailUrl??i}><div class="hover-text">${this._translations.viewDetails}</div></div><calcite-label slot=heading class="header-line-height" scale=l>${e.title}</calcite-label><p slot=description class="font-color-text-2 font-line-height font-size-size--1">${e.snippet}</p>${e.chip!=="none"?t`<div slot=footer-end><calcite-chip class=${n(m)} .icon=${e.chip==="updated"||e.chip==="new"?"mega-phone":"check-circle"} id=${o} .label=${a} .value=${a} scale=s></calcite-chip><calcite-tooltip .referenceElement=${o}><span>${a}</span></calcite-tooltip></div>`:void 0}<div slot=footer-start></div></calcite-card>`}};d("solution-details-card",s);return s},a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import"./WYA2FORR.js";var a="Nie masz wystarczaj\u0105cej liczby kredyt\xF3w do wykonania tej operacji. Skontaktuj si\u0119 z administratorem systemu ArcGIS, aby uzyska\u0107 pomoc.",e="To narz\u0119dzie zosta\u0142o opublikowane z poziomu notatnika. Dost\u0119p do aplikacji ArcGIS Notebooks jest zablokowany dla Twojej instytucji. Skontaktuj si\u0119 z administratorem w celu dostosowania ustawienia.",i="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",o="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",r="Spr\xF3buj ponownie zapisa\u0107 map\u0119.",t="Oszacowanie kredyt\xF3w si\u0119 nie powiod\u0142o. Przewi\u0144 w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie oszacuj kredyty.",n="Podczas przeprowadzania analizy wyst\u0105pi\u0142 b\u0142\u0105d.",s="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",w="Nie powiod\u0142o si\u0119 zapisanie historii analiz",d="Pami\u0119\u0107 historii jest pe\u0142na. Usu\u0144 niekt\xF3re elementy z historii analiz i spr\xF3buj zapisa\u0107 ponownie.",l="Nazwa us\u0142ugi zawiera co najmniej jeden nieprawid\u0142owy znak.",c="Zapisanie warstwy tymczasowej jako hostowanej warstwy obiektowej nie powiod\u0142o si\u0119.",m="Nie uda\u0142o si\u0119 pobra\u0107 kluczowych w\u0142a\u015Bciwo\u015Bci.",y="Nie uda\u0142o si\u0119 wczyta\u0107 warstwy.",p="Warstwa jest niedost\u0119pna.",z="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",u="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisywania modelu. Spr\xF3buj ponownie zapisa\u0107.",j="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",k="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",h="Nie powiod\u0142o si\u0119 wczytywanie elementu modelu. Upewnij si\u0119, \u017Ce model istnieje i \u017Ce przyznano uprawnienia dost\u0119pu.",E="Nie powiod\u0142o si\u0119 wykonanie \u017C\u0105dania.",b="Nie masz uprawnie\u0144 do uruchomienia tego narz\u0119dzia. <calcite-link target='_blank' href='${ docLink }'>Dowiedz si\u0119 wi\u0119cej</calcite-link>",P="Nie mo\u017Cna zalogowa\u0107 si\u0119 w portalu.",N="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",S="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",$="Istnieje ju\u017C warstwa wynikowa o tej nazwie. Nazwy warstw wynikowych musz\u0105 by\u0107 niepowtarzalne w ca\u0142ej instytucji. U\u017Cyj innej nazwy.",v="Nazwa danych wynikowych zawiera co najmniej jeden nieprawid\u0142owy znak. <a href='${docLink}' target='_blank'>Dowiedz si\u0119 wi\u0119cej.</a>",f="Publikowanie warstwy tymczasowej jako warstwy hostowanej nie powiod\u0142o si\u0119 z powodu co najmniej jednego nieprawid\u0142owego pola. Uruchom ponownie narz\u0119dzie, aby utworzy\u0107 warstw\u0119 z prawid\u0142owymi polami.",I="Nie powiod\u0142o si\u0119 wys\u0142anie zadania. Przewi\u0144 widok w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie uruchom analiz\u0119.",T="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",g={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:o,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:w,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:p,maxItems:z,mbFailedToSave:u,minItems:j,minLength:k,modelNotFound:h,networkError:E,noPermissionToAccessTool:b,portalLoadError:P,queryFeaturesError:N,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:v,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,o as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,g as default,n as defaultError,s as enumValues,w as failedToSaveHistory,d as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,z as maxItems,u as mbFailedToSave,j as minItems,k as minLength,h as modelNotFound,E as networkError,b as noPermissionToAccessTool,P as portalLoadError,N as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,v as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
|