@esri/solutions-components 1.0.0-next.20250610 → 1.0.0-next.20250617
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/assets/config/appConfig.json.d.ts +1 -1
- package/dist/cdn/{FO3XKEOC.js → 23SLJ7VB.js} +1 -1
- package/dist/cdn/{SMVLVIKJ.js → 26ZUUXBG.js} +1 -1
- package/dist/cdn/{PERO5WYC.js → 2AH2EXXK.js} +1 -1
- package/dist/cdn/{OWN2B732.js → 2KQPNSYF.js} +2 -2
- package/dist/cdn/{ODZBAUH3.js → 2LNASR4M.js} +2 -2
- package/dist/cdn/{ZX7QCDFK.js → 2PGNVSWS.js} +2 -2
- package/dist/cdn/{6MX6UN7I.js → 34WNAKCW.js} +2 -2
- package/dist/cdn/{AE4QMTGD.js → 3D65T4GL.js} +2 -2
- package/dist/cdn/{ZCJBWPBW.js → 3I463GKJ.js} +2 -2
- package/dist/cdn/{6JMHJ4JX.js → 3I5AXQ7L.js} +2 -2
- package/dist/cdn/{3MMNPTWA.js → 3QX3UFD6.js} +2 -2
- package/dist/cdn/{LQVTKXFQ.js → 3STPIIWZ.js} +2 -2
- package/dist/cdn/{E5SVQDAC.js → 3T76VDUN.js} +2 -2
- package/dist/cdn/{QEONXNFP.js → 3TMPTQB4.js} +2 -2
- package/dist/cdn/{WCIL4Y2K.js → 45FDLCNN.js} +2 -2
- package/dist/cdn/{G3FC7NQX.js → 45NO45YW.js} +2 -2
- package/dist/cdn/{WCZZYOTM.js → 4C5TKB2E.js} +1 -1
- package/dist/cdn/{VPUUIWE2.js → 4JWOEC2M.js} +2 -2
- package/dist/cdn/{AA2RTEXB.js → 4KBOUR7Q.js} +2 -2
- package/dist/cdn/{6ZSHJ5AZ.js → 4M2BSB7U.js} +1 -1
- package/dist/cdn/{AZRDVXFS.js → 4SMFTIY3.js} +2 -2
- package/dist/cdn/{D5G2QLXU.js → 4UKO7OSP.js} +2 -2
- package/dist/cdn/{FNMXMPWJ.js → 4VT2OWZP.js} +2 -2
- package/dist/cdn/{GRH6L6AX.js → 4WDFKQEA.js} +1 -1
- package/dist/cdn/{IQZR2JNQ.js → 4ZSGJARJ.js} +2 -2
- package/dist/cdn/{6POZOMRQ.js → 56ISVXIJ.js} +2 -2
- package/dist/cdn/{UXH6MGRX.js → 5A4UHYB4.js} +2 -2
- package/dist/cdn/5AMRUYMU.js +4 -0
- package/dist/cdn/{KXIP4DWR.js → 5I7W3EVF.js} +1 -1
- package/dist/cdn/{CHPCWQV3.js → 5KG3QK35.js} +1 -1
- package/dist/cdn/{7PGOUADZ.js → 5QD2WYHE.js} +2 -2
- package/dist/cdn/{P7PGGEDY.js → 5XHVWCO6.js} +1 -1
- package/dist/cdn/{H2TUSR7R.js → 5Y5FK43G.js} +1 -1
- package/dist/cdn/{3ZZA5SJJ.js → 5YOTYSSB.js} +2 -2
- package/dist/cdn/{4D7Q4GOL.js → 62EGHAKX.js} +2 -2
- package/dist/cdn/{YJVHNGLM.js → 663C7SFX.js} +2 -2
- package/dist/cdn/66U7ORWN.js +4 -0
- package/dist/cdn/{EWPN7Y3J.js → 66VX5BMO.js} +2 -2
- package/dist/cdn/{NS5FDWXK.js → 66WN3RYD.js} +2 -2
- package/dist/cdn/{LFIVJEK2.js → 6GBOMWNM.js} +2 -2
- package/dist/cdn/{7EC2QANE.js → 6GUN3P64.js} +2 -2
- package/dist/cdn/{WEVRGLHV.js → 6H5FB6VZ.js} +2 -2
- package/dist/cdn/{7NYELHIW.js → 6WBKKEZS.js} +2 -2
- package/dist/cdn/{2SPB6YWD.js → 72CGZFMP.js} +1 -1
- package/dist/cdn/{HTGPVMDF.js → 7DC5NLKU.js} +4 -4
- package/dist/cdn/{CHIYX226.js → 7HGVPHDS.js} +2 -2
- package/dist/cdn/{PWNQPO7M.js → 7NE5MFIJ.js} +2 -2
- package/dist/cdn/{VOEWFARL.js → 7NHKBJT7.js} +2 -2
- package/dist/cdn/{HJW7MRV7.js → 7PDVOTF3.js} +2 -2
- package/dist/cdn/{G54HYU4T.js → 7RZJV7XT.js} +2 -2
- package/dist/cdn/{QS3XVQM7.js → 7X4XXKUK.js} +2 -2
- package/dist/cdn/{JA6ZHJAG.js → 7ZWOBQSP.js} +1 -1
- package/dist/cdn/{LUWKLSCB.js → A6HCD5ST.js} +1 -1
- package/dist/cdn/AGVGDK74.js +18 -0
- package/dist/cdn/{YKGOPNZG.js → AIOSZAZF.js} +2 -2
- package/dist/cdn/{FWTBUEHA.js → AN2RKGOC.js} +2 -2
- package/dist/cdn/{AO3Y73S4.js → APOYUTRC.js} +2 -2
- package/dist/cdn/{EBHIEP3O.js → AZ5LBZCX.js} +2 -2
- package/dist/cdn/{OBGE3PJZ.js → BC4GIYFT.js} +2 -2
- package/dist/cdn/{STTIKHQJ.js → BWVCIRSV.js} +2 -2
- package/dist/cdn/{UHSG6QNQ.js → C2UHPVJ7.js} +2 -2
- package/dist/cdn/{YYIW4SX5.js → C3XUGR74.js} +2 -2
- package/dist/cdn/CFQ56QUP.js +18 -0
- package/dist/cdn/{QZUUFSWN.js → CHD7DYO7.js} +2 -2
- package/dist/cdn/{QDCUDH5M.js → CJWPNHT5.js} +1 -1
- package/dist/cdn/{Z4QMYZMZ.js → CKXRT6SG.js} +2 -2
- package/dist/cdn/{S7S35K4N.js → CS57BYGF.js} +2 -2
- package/dist/cdn/{4RCKKVLX.js → CTYIRMIE.js} +2 -2
- package/dist/cdn/{GLQGCQKQ.js → CWUG3WIL.js} +1 -1
- package/dist/cdn/{W27KI4TX.js → CXS4F2DV.js} +2 -2
- package/dist/cdn/{62U5XQ53.js → CY5FNQOJ.js} +2 -2
- package/dist/cdn/{C2WZRDNU.js → D4PB3INZ.js} +2 -2
- package/dist/cdn/D4Y3AUY2.js +4 -0
- package/dist/cdn/{2ZBKRLIH.js → DBS3O4G2.js} +2 -2
- package/dist/cdn/{AJ4EANAJ.js → DPWQI5EE.js} +2 -2
- package/dist/cdn/{ZRRGRRES.js → DRXKNSYY.js} +2 -2
- package/dist/cdn/{2VLL65Q3.js → E2QXOBX4.js} +2 -2
- package/dist/cdn/{2NFTBOR6.js → E332CUZ6.js} +2 -2
- package/dist/cdn/{GT7ZLIPV.js → E3TL2DBA.js} +1 -1
- package/dist/cdn/{YJ6YWNY6.js → E4BZSDPW.js} +2 -2
- package/dist/cdn/{I6IP3HEU.js → E7KHHNTK.js} +1 -1
- package/dist/cdn/{M4X65SJB.js → ECSBAOVQ.js} +2 -2
- package/dist/cdn/{SPJUB4WW.js → ECULEWGH.js} +2 -2
- package/dist/cdn/{JTR6HRTY.js → EGNJUJ3S.js} +2 -2
- package/dist/cdn/{RLTUCGPF.js → EQ7WODGK.js} +1 -1
- package/dist/cdn/{6JNDGVGH.js → ET4NBO5I.js} +2 -2
- package/dist/cdn/{JTSY6HU4.js → EY7XWBLO.js} +2 -2
- package/dist/cdn/{PITFPHXJ.js → FB7RQWEB.js} +2 -2
- package/dist/cdn/{I5BHAIXT.js → FDD2C7HC.js} +2 -2
- package/dist/cdn/{WNR7QUVP.js → FK572HEF.js} +2 -2
- package/dist/cdn/{REUK7FUQ.js → FLWFUOYJ.js} +1 -1
- package/dist/cdn/{FGIPZYFM.js → FP4BJITS.js} +2 -2
- package/dist/cdn/FPYQ7DSX.js +4 -0
- package/dist/cdn/{SKJFR7RS.js → FR2M6XQY.js} +2 -2
- package/dist/cdn/{2ZYGIAK7.js → FU37TCTJ.js} +2 -2
- package/dist/cdn/{UFK4WM7T.js → FUH66FCX.js} +2 -2
- package/dist/cdn/{SCJF5DK5.js → G27WERLL.js} +2 -2
- package/dist/cdn/{RKK6IXRN.js → G74NUZJA.js} +1 -1
- package/dist/cdn/{55WTY3OW.js → GBNODDNY.js} +2 -2
- package/dist/cdn/{LOMV7XIZ.js → GCNPYYYC.js} +2 -2
- package/dist/cdn/{WRV2RHJ6.js → GE6MW6X7.js} +2 -2
- package/dist/cdn/{XFOQ237Z.js → GG4JQ4LZ.js} +2 -2
- package/dist/cdn/{JXXQJ623.js → GG4SX5PP.js} +2 -2
- package/dist/cdn/{GWCLKO7W.js → GQX5XJTO.js} +1 -1
- package/dist/cdn/{J42OBAV6.js → GTR72B5F.js} +2 -2
- package/dist/cdn/{XPJYK2RV.js → GXDC6HF3.js} +2 -2
- package/dist/cdn/{VLQDRULY.js → H3HHGV2X.js} +2 -2
- package/dist/cdn/{ELFPC4FQ.js → HFIXE6U7.js} +2 -2
- package/dist/cdn/HPN5RP5D.js +4 -0
- package/dist/cdn/{3TPK447W.js → HT6YSQA2.js} +3 -3
- package/dist/cdn/{KB55TNLB.js → IJXW2QHI.js} +2 -2
- package/dist/cdn/IOXJ3A2P.js +18 -0
- package/dist/cdn/{6QFNQCBR.js → IYSPFCXD.js} +2 -2
- package/dist/cdn/{E7TY2OIZ.js → IZXMY3D6.js} +2 -2
- package/dist/cdn/{EOURQHYH.js → J6BMZHED.js} +2 -2
- package/dist/cdn/{JFIQPHVY.js → JAPFIMJD.js} +1 -1
- package/dist/cdn/{3IM72Q7I.js → JEVZQVK6.js} +2 -2
- package/dist/cdn/{KLYS5Y7D.js → JKUWGRYW.js} +2 -2
- package/dist/cdn/{U7YWLWVS.js → JMAXO5DC.js} +1 -1
- package/dist/cdn/{7CYK6OHD.js → JN7BZX67.js} +2 -2
- package/dist/cdn/JODAN55H.js +32 -0
- package/dist/cdn/{TVJRJKDY.js → JR4ZB7ZF.js} +2 -2
- package/dist/cdn/{KKHWQSXB.js → JSGJKBAR.js} +2 -2
- package/dist/cdn/{BJEE2QDX.js → JUGUXBAU.js} +2 -2
- package/dist/cdn/{VQL327GB.js → JVRMDOQX.js} +3 -3
- package/dist/cdn/{DWL6QFE4.js → K56FFFW5.js} +2 -2
- package/dist/cdn/{OGISURJ2.js → K5ABIFBZ.js} +1 -1
- package/dist/cdn/{N4PA6ZFU.js → K6EYSWK3.js} +2 -2
- package/dist/cdn/{XKTGW3XN.js → KDEENWCA.js} +2 -2
- package/dist/cdn/{4REMJIC2.js → KGMRYUMK.js} +2 -2
- package/dist/cdn/{CTYWBQY2.js → KH4WDPKH.js} +2 -2
- package/dist/cdn/{F75ZTCHZ.js → KHZGUMKZ.js} +2 -2
- package/dist/cdn/{RQNTLRQO.js → KLMBCZZV.js} +2 -2
- package/dist/cdn/{CQQABTQM.js → KN2RLNLK.js} +2 -2
- package/dist/cdn/KOEYYEBE.js +18 -0
- package/dist/cdn/{OUTGXSIV.js → KPXDUVQE.js} +2 -2
- package/dist/cdn/{VHT2MWYW.js → KQJONR6F.js} +2 -2
- package/dist/cdn/{E6LAV57F.js → KRXUWGCU.js} +2 -2
- package/dist/cdn/{ECUMDGF6.js → L3UTUT76.js} +2 -2
- package/dist/cdn/{NB6P2ZLZ.js → LCPJZHPD.js} +2 -2
- package/dist/cdn/{CZGM62A6.js → LMTJNGRW.js} +2 -2
- package/dist/cdn/{MGTISYNJ.js → LOADKJYI.js} +2 -2
- package/dist/cdn/LSSHDVVX.js +4 -0
- package/dist/cdn/{T3L6RRVE.js → M25C7SPS.js} +2 -2
- package/dist/cdn/{AL32QPJO.js → M2C5ICZU.js} +2 -2
- package/dist/cdn/{XVFOF3T5.js → M5SMNJVJ.js} +1 -1
- package/dist/cdn/{6SWIDSO3.js → MDUMP6WF.js} +2 -2
- package/dist/cdn/{UC6XV223.js → MDVV5SFY.js} +2 -2
- package/dist/cdn/{DZTZIDHJ.js → MIMUA7CO.js} +2 -2
- package/dist/cdn/{SXV6GOCF.js → MIMZVJUI.js} +2 -2
- package/dist/cdn/MMJSWPYV.js +18 -0
- package/dist/cdn/{E7LSGXZN.js → MNGRHV3C.js} +2 -2
- package/dist/cdn/{A7I5BLUD.js → MUM6BOFC.js} +2 -2
- package/dist/cdn/{EDPMTOWD.js → MXVBG7NG.js} +2 -2
- package/dist/cdn/{EJ7MPJF2.js → NEQT7BAW.js} +2 -2
- package/dist/cdn/{BMCGFY4D.js → NIV6YU2O.js} +2 -2
- package/dist/cdn/{XOEQBFVP.js → NOZF3HXH.js} +1 -1
- package/dist/cdn/NRHTETGA.js +6 -0
- package/dist/cdn/{SPDKAPN2.js → NU6XPDWP.js} +2 -2
- package/dist/cdn/{O5WPS53A.js → NYMSLH3X.js} +1 -1
- package/dist/cdn/{CUNBBRGG.js → NZ4G3J4W.js} +2 -2
- package/dist/cdn/{ANDBAAW7.js → O3PFSVNL.js} +2 -2
- package/dist/cdn/{SUUXG2YV.js → O44HTFM7.js} +2 -2
- package/dist/cdn/{HY2FPZMQ.js → ODWDWNPS.js} +2 -2
- package/dist/cdn/{AKVBZAV2.js → OFFLTW5Q.js} +2 -2
- package/dist/cdn/{XIWWE2AH.js → OMM3CGWL.js} +2 -2
- package/dist/cdn/{IQIUJCL5.js → ONEL4IUL.js} +1 -1
- package/dist/cdn/{5GOMCD3R.js → ORJL7PD3.js} +2 -2
- package/dist/cdn/{HDPFTEW7.js → OXCS5WE7.js} +2 -2
- package/dist/cdn/{JHGRJIHO.js → P3F24FWE.js} +2 -2
- package/dist/cdn/{MSN724ZV.js → PJGGTO5X.js} +1 -1
- package/dist/cdn/{DJD52FAE.js → PXA7JSQN.js} +2 -2
- package/dist/cdn/{SV5SVPCF.js → PXQEVSLR.js} +2 -2
- package/dist/cdn/{LR42KSD7.js → PZ7BAHDM.js} +2 -2
- package/dist/cdn/{KVDLSZT5.js → Q7AKL3XU.js} +2 -2
- package/dist/cdn/{UI54E7VB.js → QBLUXYG3.js} +2 -2
- package/dist/cdn/{SA3FJIMJ.js → QEF6IQG7.js} +1 -1
- package/dist/cdn/{LUCGZBV3.js → QK3KOLNR.js} +2 -2
- package/dist/cdn/{OG4YXHRH.js → QLJVM7OF.js} +2 -2
- package/dist/cdn/{IDOXNWMU.js → QM4ZDGZ6.js} +2 -2
- package/dist/cdn/{XARXAL4K.js → QN47TVOF.js} +2 -2
- package/dist/cdn/{YJ3QUHDU.js → QON63AM4.js} +2 -2
- package/dist/cdn/{MXTL3VB4.js → QPIMZ33P.js} +2 -2
- package/dist/cdn/{H7XUQNKK.js → QRUZMTIP.js} +1 -1
- package/dist/cdn/{HR26NMCP.js → QWSSQKLR.js} +2 -2
- package/dist/cdn/{COVJW67Z.js → RADAXSM4.js} +2 -2
- package/dist/cdn/{3U5ZQLVD.js → RCH6FSOO.js} +2 -2
- package/dist/cdn/{5QW7OUY4.js → RFZL3BPN.js} +2 -2
- package/dist/cdn/RGQ4OULC.js +18 -0
- package/dist/cdn/{D3O2HT2V.js → RH2ILZKZ.js} +2 -2
- package/dist/cdn/{JEFKNJI4.js → RPNHGSB7.js} +2 -2
- package/dist/cdn/{OOYAGXFU.js → RPTQP67O.js} +2 -2
- package/dist/cdn/{WE523ZR2.js → RYXSMF2R.js} +2 -2
- package/dist/cdn/RZG4BYGD.js +18 -0
- package/dist/cdn/RZQ3XTXE.js +18 -0
- package/dist/cdn/{O7LAX6TU.js → RZW76EPS.js} +2 -2
- package/dist/cdn/{A7XA3HJY.js → SAICGJDS.js} +2 -2
- package/dist/cdn/{25SG2GT6.js → SBK24IH4.js} +2 -2
- package/dist/cdn/{6XDCOPQY.js → SEOLYYSL.js} +1 -1
- package/dist/cdn/SJYYUO6H.js +4 -0
- package/dist/cdn/{4CU2JG7Y.js → SNW2FGGO.js} +2 -2
- package/dist/cdn/{X77OKZCY.js → SQFSRSP3.js} +2 -2
- package/dist/cdn/{HRXPEGPN.js → SRPLV7IE.js} +2 -2
- package/dist/cdn/{DAEBIZTJ.js → SSOLG3Y2.js} +2 -2
- package/dist/cdn/{KZ5AJUM6.js → ST2OLLSL.js} +2 -2
- package/dist/cdn/{XSUHYP6Q.js → T33ZZ5EE.js} +2 -2
- package/dist/cdn/{J32WUI3V.js → T4CKSGEI.js} +2 -2
- package/dist/cdn/{4YZYX25D.js → TDHBGUGG.js} +2 -2
- package/dist/cdn/{CKPYQPTD.js → TWHS2V27.js} +2 -2
- package/dist/cdn/{V3GT6ZDE.js → TYBAUCOP.js} +1 -1
- package/dist/cdn/{M74AMYXF.js → TZ6NWBWT.js} +2 -2
- package/dist/cdn/{UPMKLS4C.js → U2REM5I2.js} +2 -2
- package/dist/cdn/{HIXGXDSF.js → U3ZLFYFE.js} +2 -2
- package/dist/cdn/{GA2ZUKPH.js → U5SM65RP.js} +2 -2
- package/dist/cdn/{MLRAY2VI.js → UCGYV5X2.js} +2 -2
- package/dist/cdn/{6N4W6KCO.js → UHIXSJW2.js} +2 -2
- package/dist/cdn/{LC4T5GIX.js → UHQRI5PF.js} +2 -2
- package/dist/cdn/{747TJLHD.js → UWFNWLHE.js} +2 -2
- package/dist/cdn/{2KAZVBXF.js → VFIEMUU3.js} +2 -2
- package/dist/cdn/{ZBC2KSKJ.js → VGF62Y4X.js} +1 -1
- package/dist/cdn/{E4GHAC43.js → VGR6QIVC.js} +2 -2
- package/dist/cdn/{GLZNOZSV.js → VUQCDDWE.js} +2 -2
- package/dist/cdn/{ARFHWNZW.js → VVQR44OF.js} +2 -2
- package/dist/cdn/{ZHYUBIKC.js → VVSCYCWZ.js} +2 -2
- package/dist/cdn/{HAXSU4N2.js → VXAH3SBE.js} +2 -2
- package/dist/cdn/{U5WH4XWF.js → W2J4GUF6.js} +2 -2
- package/dist/cdn/{GZTSZRL2.js → W2JRAIBN.js} +2 -2
- package/dist/cdn/{5PTXJEIG.js → WL25ONRI.js} +1 -1
- package/dist/cdn/{YOUEIKMV.js → WLIQRMY7.js} +2 -2
- package/dist/cdn/{QBKQKD2G.js → WSCYT5CC.js} +2 -2
- package/dist/cdn/{HPIQJM5V.js → WTE6KQ7N.js} +2 -2
- package/dist/cdn/{V4ESJ7QL.js → WV5PNDYS.js} +2 -2
- package/dist/cdn/{KPZNCFK7.js → WWTBSPVE.js} +1 -1
- package/dist/cdn/WYML4KIE.js +4 -0
- package/dist/cdn/{3GQWIJEV.js → X2LIRIPY.js} +2 -2
- package/dist/cdn/{DKKDSFW7.js → X2SAYFTJ.js} +2 -2
- package/dist/cdn/{TQBG4MEK.js → X3AE5WWK.js} +2 -2
- package/dist/cdn/{YFYERRHB.js → X3AKU22A.js} +1 -1
- package/dist/cdn/{XVV53OIG.js → X3MUBCUO.js} +2 -2
- package/dist/cdn/{XJYLRRFL.js → XBDIYDRM.js} +2 -2
- package/dist/cdn/{26V65KO5.js → XC5FDQDM.js} +2 -2
- package/dist/cdn/{YN6JZ5LC.js → XETQL72A.js} +2 -2
- package/dist/cdn/{243XIJUK.js → XFCORTAZ.js} +2 -2
- package/dist/cdn/XI2AVQC6.js +4 -0
- package/dist/cdn/XKPIYHWA.js +4 -0
- package/dist/cdn/{7URYQJYI.js → XMVLG6HD.js} +2 -2
- package/dist/cdn/{G6HN6TFX.js → XOF7OPE4.js} +2 -2
- package/dist/cdn/{EZROAF3H.js → XPYF6XIL.js} +2 -2
- package/dist/cdn/{WH2I2W6Q.js → XS2LVLSG.js} +2 -2
- package/dist/cdn/{EWLVZYDD.js → XV7QZVVT.js} +2 -2
- package/dist/cdn/{APPDDPRJ.js → XWNBGTCT.js} +2 -2
- package/dist/cdn/{6J57YUW2.js → XX5VK7YW.js} +2 -2
- package/dist/cdn/{AO22ELU2.js → XXETI3KO.js} +2 -2
- package/dist/cdn/{UIUU6DED.js → XXXT6FMN.js} +2 -2
- package/dist/cdn/{6ZFIZXBP.js → Y4FKX3ME.js} +2 -2
- package/dist/cdn/{XA6VGCTE.js → Y4JZMAHN.js} +2 -2
- package/dist/cdn/{IAYSY7E4.js → Y7STMNJM.js} +2 -2
- package/dist/cdn/{EHA23YLG.js → Y7TBVJF7.js} +2 -2
- package/dist/cdn/YAHBTL66.js +3 -0
- package/dist/cdn/{SKNW5XHW.js → YC3SGSKF.js} +2 -2
- package/dist/cdn/{4BBMUYOY.js → YFAJKSIJ.js} +1 -1
- package/dist/cdn/YIKZB4ZA.js +4 -0
- package/dist/cdn/{ZIXRBHFZ.js → YOYLE2Y7.js} +2 -2
- package/dist/cdn/{LMDJKC64.js → YP66ITI3.js} +2 -2
- package/dist/cdn/{Y4MLXPRQ.js → YPO7QQSX.js} +2 -2
- package/dist/cdn/{V74PXGTC.js → YQHOGUAB.js} +2 -2
- package/dist/cdn/{EY76BJOK.js → YTJ7HTKE.js} +2 -2
- package/dist/cdn/{A57VSTIU.js → YTZNBIKI.js} +2 -2
- package/dist/cdn/{VANG24M3.js → YWSZQENR.js} +2 -2
- package/dist/cdn/{SCC7OFOE.js → YXTRE2YJ.js} +1 -1
- package/dist/cdn/{AMA3CIUW.js → YYVGZLUY.js} +2 -2
- package/dist/cdn/{QB5Q44P3.js → Z5XAYA6T.js} +2 -2
- package/dist/cdn/{EGTQT3ZY.js → Z766ANKV.js} +2 -2
- package/dist/cdn/{RJCPG2OD.js → ZALM4GKT.js} +2 -2
- package/dist/cdn/ZEHDGNFH.js +18 -0
- package/dist/cdn/{3YU6HJT3.js → ZEM4BHGM.js} +2 -2
- package/dist/cdn/ZHVU6T4C.js +18 -0
- package/dist/cdn/{IWQEYRKW.js → ZKLL3OJA.js} +2 -2
- package/dist/cdn/{LZ37AJKN.js → ZLEV5BXG.js} +2 -2
- package/dist/cdn/{YGNM3KWY.js → ZLNEIIRS.js} +1 -1
- package/dist/cdn/{5BVRVDRV.js → ZMFMZN4O.js} +2 -2
- package/dist/cdn/{Q2RVLL7P.js → ZQKLLV2Y.js} +1 -1
- package/dist/cdn/{7NVOEDDR.js → ZTDTHNVK.js} +2 -2
- package/dist/cdn/{KMLGXG55.js → ZUGIMBLM.js} +2 -2
- package/dist/cdn/assets/layer-table/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/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/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +2 -2
- package/dist/chunks/cardFetchingUtils.js +3 -3
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +8 -8
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +38 -21
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +2 -2
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/privilegeUtils.js +56 -0
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +5 -5
- 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 +85 -80
- package/dist/components/map-card/customElement.js +63 -57
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +2 -2
- package/dist/components/map-tools/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/refine-selection/customElement.js +2 -2
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.d.ts +14 -0
- package/dist/components/solution-configure-dialog/customElement.js +72 -0
- package/dist/components/solution-configure-dialog/index.d.ts +8 -0
- package/dist/components/solution-configure-dialog/index.js +8 -0
- package/dist/components/solution-configure-titles/customElement.d.ts +10 -0
- package/dist/components/solution-configure-titles/customElement.js +49 -16
- package/dist/components/solution-configure-titles/index.d.ts +5 -1
- package/dist/components/solution-configure-titles/index.js +5 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.d.ts +24 -0
- package/dist/components/solution-delete-dialog/customElement.js +70 -15
- package/dist/components/solution-delete-dialog/index.d.ts +5 -0
- package/dist/components/solution-delete-dialog/index.js +5 -0
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/customElement.d.ts +5 -0
- package/dist/components/solution-deployed-card/customElement.js +15 -10
- package/dist/components/solution-deployed-card/index.d.ts +1 -0
- package/dist/components/solution-deployed-card/index.js +1 -0
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.d.ts +6 -9
- package/dist/components/solution-details-panel/customElement.js +199 -71
- package/dist/components/solution-details-panel/index.d.ts +3 -1
- package/dist/components/solution-details-panel/index.js +3 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +14 -14
- 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.d.ts +2 -0
- package/dist/components/solutions-all-panel/customElement.js +21 -21
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +20 -19
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/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 +381 -78
- package/dist/docs/docs.json +398 -85
- package/dist/docs/vscode.html-custom-data.json +29 -7
- package/dist/docs/web-types.json +152 -24
- package/dist/index.d.ts +36 -5
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -6
- package/dist/types/lumina.d.ts +11 -6
- package/dist/types/preact.d.ts +12 -7
- package/dist/types/react.d.ts +13 -8
- package/dist/types/stencil.d.ts +11 -6
- package/dist/utils/interfaces.d.ts +48 -0
- package/dist/utils/privilegeUtils.d.ts +14 -0
- package/package.json +1 -1
- package/dist/cdn/2QLL7KRA.js +0 -18
- package/dist/cdn/3FYSHEGC.js +0 -4
- package/dist/cdn/3RSE7GWO.js +0 -18
- package/dist/cdn/5FJYF35Q.js +0 -18
- package/dist/cdn/6QCOPT4C.js +0 -18
- package/dist/cdn/7KHJWE7I.js +0 -46
- package/dist/cdn/7QIPUZMZ.js +0 -18
- package/dist/cdn/BCT6TYYF.js +0 -4
- package/dist/cdn/DI3SB5LW.js +0 -4
- package/dist/cdn/DX7BBY5L.js +0 -18
- package/dist/cdn/DYZLHNVS.js +0 -4
- package/dist/cdn/GXLRWAQM.js +0 -4
- package/dist/cdn/JRP43TMR.js +0 -18
- package/dist/cdn/MFATTJGH.js +0 -6
- package/dist/cdn/OEIXBUC3.js +0 -4
- package/dist/cdn/QVNQSDMG.js +0 -4
- package/dist/cdn/S2DOD45C.js +0 -4
- package/dist/cdn/VGIYVVAU.js +0 -4
- package/dist/cdn/VMFAWFAM.js +0 -4
- package/dist/cdn/XKYLZR42.js +0 -18
- package/dist/cdn/ZSCGQDPT.js +0 -18
- package/dist/cdn/assets/solution-configure-panel/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-configure-panel/t9n/messages.json +0 -1
- package/dist/components/solution-configure-panel/customElement.d.ts +0 -5
- package/dist/components/solution-configure-panel/customElement.js +0 -44
- package/dist/components/solution-configure-panel/index.d.ts +0 -2
- package/dist/components/solution-configure-panel/index.js +0 -2
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250617 */
|
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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as P}from"./AO3Y73S4.js";import{A as C,C as R,D as L,d as k,e as y}from"./P7PGGEDY.js";import"./ZBC2KSKJ.js";import{a as S,c as e,d as E,e as $}from"./C2WZRDNU.js";import"./SA3FJIMJ.js";var F=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",K=F,o="instant-apps-social-share",I=".calcite-mode-dark",i={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},W={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},j="https://arcg.is/prod/shorten",T="1",V=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let a=t.target,s=this.shareListRef.children[0],n=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&a===s?(t.preventDefault(),n.focus()):!t.shiftKey&&a===n&&(t.preventDefault(),s.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let a=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(a)}else{let a=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(a)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:i.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),a=this.shareIconsLayout==="vertical"?` ${i.layout.vertical}`:` ${i.layout.horizontal}`,s=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,n=e("div",{key:"8a69bc57ea2c4905375782cf190655e39b2fadb3",ref:r=>this.dialogContentRef=r,class:`${i.dialog}${a}${s}`},t),c=this.removePopoverOffset?0:6;return e(E,{key:"70eacb6923a4184e19f9f3ba06965efda14641b8"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:r=>{r&&(this.popoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":c,"pointer-disabled":this.removePopoverOffset},n),this.renderButton()]:[n,e("calcite-popover",{ref:r=>{r&&(this.copyLinkPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:r=>{r&&(this.copyEmbedPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:s=>{this.isNativeShareEnabled?(s.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(s)},id:"shareButton",class:i.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},a=e("div",{class:i.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,kind:this.shareButtonColor,appearance:"transparent"},a):e("calcite-action",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,appearance:"transparent",text:"",alignment:"center"},a)}renderSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,a=document.dir==="rtl"?` ${i.rtl.optionText}`:"";return e("ul",{ref:s=>this.shareListRef=s,class:i.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${i.optionText}${a}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderFacebookIcon()),e("span",{class:`${i.optionText}${a}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderXIcon()),e("span",{class:`${i.optionText}${a}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderLinkedInIcon()),e("span",{class:`${i.optionText}${a}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderBlueSkyIcon()),e("span",{class:`${i.optionText}${a}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return a=>{let s=a.code;(s==="Space"||s==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?i.xLogo.dark:i.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:i.tipContainer},e("span",{class:i.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:i.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,a=document.dir==="rtl"?` ${i.rtl.textArea}`:"";return e("div",{class:i.embed.container},e("span",{class:i.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:i.embed.embedCode.container},e("div",{class:i.embed.embedCode.textArea},e("textarea",{ref:s=>this.embedCodeRef=s,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:i.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:i.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:i.embed.dimensions.container},e("label",{class:i.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:s=>this.embedWidthRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:i.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:s=>this.embedHeightRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let a=t==="width"?this.embedWidthRef:this.embedHeightRef,s=t==="width"?"embedWidth":"embedHeight";return()=>{a&&Number.parseFloat(a.value)<=0&&(this[s]=Number.parseInt(T),a.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let a=null,s=navigator?.userAgent?.includes("Chrome")??!1,n=(navigator?.userAgent?.includes("Safari")??!1)&&!s;!n&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let h=a||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(h),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let r;n&&(r=window.open("","_blank"),this.shortenShareUrl&&(h=await this.shortenUrl(this.shareUrl)||h));let f={url:encodeURI(h)},b=t==="x"?{...f,text:this.shareText}:f,u=(await R()).substitute(W[t],b);this.mode==="popover"&&this.closePopover(),n&&r?(r.location=u,r.focus()):window.open(encodeURI(u),"_blank")}break;case"native-share":let c={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(h)};navigator?.canShare(c)?navigator.share(c).catch(r=>{console.error("Error using native share:",r)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let n=(await(await L())(j,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:a}=this.view.center,{spatialReference:s}=this.view,n=await y({...s.toJSON()}),h=await k({x:t,y:a,spatialReference:n}),c=await this.processPoint(h),{isWGS84:r,isWebMercator:f}=c.spatialReference,b=r||f;return this.generateShareUrlParams(c,b)}async processPoint(t){let{isWGS84:a,isWebMercator:s}=t.spatialReference;if(a||s)return t;let n=await C(),h=await y({wkid:4326});try{await n.load();let c=n.project(t,h);return Promise.resolve(c)}catch(c){return console.error("Failed to project point",c),await Promise.reject(new Error("Failed to project point"))}}generateShareUrlParams(t,a){let{longitude:s,latitude:n,x:h,y:c}=t;if(s===void 0||n===void 0)return this.shareUrl;let r=this.roundValue(a?s:h),f=this.roundValue(a?n:c),{zoom:b}=this.view,w=this.roundValue(b),u=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,_,v;if(u&&z&&u?.layer?.type==="feature"){let d=u?.layer;g=d?.id,_=u.attributes[d.objectIdField]}v=this.view.map?.allLayers.filter(d=>!d.visible).toArray().map(d=>d.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:p}=l;if(p.get("center")&&p.delete("center"),p.get("level")&&p.delete("level"),p.get("selectedFeature")&&p.delete("selectedFeature"),p.get("hiddenLayers")&&p.delete("hiddenLayers"),p.get("viewpoint")&&p.delete("viewpoint"),U==="3d"){let{camera:d}=this.view,{heading:D,position:O,tilt:B}=d,{longitude:A,latitude:H,z:M}=O,x={longitude:this.roundValue(A,8),latitude:this.roundValue(H,8),z:this.roundValue(M,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},N=`cam:${x.longitude},${x.latitude},${x.z};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",N),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${r};${f}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}roundValue(t,a=4){return Number.parseFloat(t.toFixed(a))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};V.style=K;export{V as instant_apps_social_share};
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{e as P}from"./APOYUTRC.js";import{A as C,C as R,D as L,d as k,e as y}from"./5XHVWCO6.js";import"./VGF62Y4X.js";import{a as S,c as e,d as E,e as $}from"./D4PB3INZ.js";import"./QEF6IQG7.js";var F=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",K=F,o="instant-apps-social-share",I=".calcite-mode-dark",i={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},W={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},j="https://arcg.is/prod/shorten",T="1",V=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let a=t.target,s=this.shareListRef.children[0],n=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&a===s?(t.preventDefault(),n.focus()):!t.shiftKey&&a===n&&(t.preventDefault(),s.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let a=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(a)}else{let a=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(a)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:i.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),a=this.shareIconsLayout==="vertical"?` ${i.layout.vertical}`:` ${i.layout.horizontal}`,s=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,n=e("div",{key:"8a69bc57ea2c4905375782cf190655e39b2fadb3",ref:r=>this.dialogContentRef=r,class:`${i.dialog}${a}${s}`},t),c=this.removePopoverOffset?0:6;return e(E,{key:"70eacb6923a4184e19f9f3ba06965efda14641b8"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:r=>{r&&(this.popoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":c,"pointer-disabled":this.removePopoverOffset},n),this.renderButton()]:[n,e("calcite-popover",{ref:r=>{r&&(this.copyLinkPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:r=>{r&&(this.copyEmbedPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:s=>{this.isNativeShareEnabled?(s.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(s)},id:"shareButton",class:i.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},a=e("div",{class:i.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,kind:this.shareButtonColor,appearance:"transparent"},a):e("calcite-action",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,appearance:"transparent",text:"",alignment:"center"},a)}renderSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,a=document.dir==="rtl"?` ${i.rtl.optionText}`:"";return e("ul",{ref:s=>this.shareListRef=s,class:i.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${i.optionText}${a}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderFacebookIcon()),e("span",{class:`${i.optionText}${a}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderXIcon()),e("span",{class:`${i.optionText}${a}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderLinkedInIcon()),e("span",{class:`${i.optionText}${a}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderBlueSkyIcon()),e("span",{class:`${i.optionText}${a}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return a=>{let s=a.code;(s==="Space"||s==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?i.xLogo.dark:i.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:i.tipContainer},e("span",{class:i.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:i.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,a=document.dir==="rtl"?` ${i.rtl.textArea}`:"";return e("div",{class:i.embed.container},e("span",{class:i.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:i.embed.embedCode.container},e("div",{class:i.embed.embedCode.textArea},e("textarea",{ref:s=>this.embedCodeRef=s,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:i.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:i.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:i.embed.dimensions.container},e("label",{class:i.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:s=>this.embedWidthRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:i.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:s=>this.embedHeightRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let a=t==="width"?this.embedWidthRef:this.embedHeightRef,s=t==="width"?"embedWidth":"embedHeight";return()=>{a&&Number.parseFloat(a.value)<=0&&(this[s]=Number.parseInt(T),a.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let a=null,s=navigator?.userAgent?.includes("Chrome")??!1,n=(navigator?.userAgent?.includes("Safari")??!1)&&!s;!n&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let h=a||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(h),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let r;n&&(r=window.open("","_blank"),this.shortenShareUrl&&(h=await this.shortenUrl(this.shareUrl)||h));let f={url:encodeURI(h)},b=t==="x"?{...f,text:this.shareText}:f,u=(await R()).substitute(W[t],b);this.mode==="popover"&&this.closePopover(),n&&r?(r.location=u,r.focus()):window.open(encodeURI(u),"_blank")}break;case"native-share":let c={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(h)};navigator?.canShare(c)?navigator.share(c).catch(r=>{console.error("Error using native share:",r)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let n=(await(await L())(j,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:a}=this.view.center,{spatialReference:s}=this.view,n=await y({...s.toJSON()}),h=await k({x:t,y:a,spatialReference:n}),c=await this.processPoint(h),{isWGS84:r,isWebMercator:f}=c.spatialReference,b=r||f;return this.generateShareUrlParams(c,b)}async processPoint(t){let{isWGS84:a,isWebMercator:s}=t.spatialReference;if(a||s)return t;let n=await C(),h=await y({wkid:4326});try{await n.load();let c=n.project(t,h);return Promise.resolve(c)}catch(c){return console.error("Failed to project point",c),await Promise.reject(new Error("Failed to project point"))}}generateShareUrlParams(t,a){let{longitude:s,latitude:n,x:h,y:c}=t;if(s===void 0||n===void 0)return this.shareUrl;let r=this.roundValue(a?s:h),f=this.roundValue(a?n:c),{zoom:b}=this.view,w=this.roundValue(b),u=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,_,v;if(u&&z&&u?.layer?.type==="feature"){let d=u?.layer;g=d?.id,_=u.attributes[d.objectIdField]}v=this.view.map?.allLayers.filter(d=>!d.visible).toArray().map(d=>d.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:p}=l;if(p.get("center")&&p.delete("center"),p.get("level")&&p.delete("level"),p.get("selectedFeature")&&p.delete("selectedFeature"),p.get("hiddenLayers")&&p.delete("hiddenLayers"),p.get("viewpoint")&&p.delete("viewpoint"),U==="3d"){let{camera:d}=this.view,{heading:D,position:O,tilt:B}=d,{longitude:A,latitude:H,z:M}=O,x={longitude:this.roundValue(A,8),latitude:this.roundValue(H,8),z:this.roundValue(M,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},N=`cam:${x.longitude},${x.latitude},${x.z};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",N),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${r};${f}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}roundValue(t,a=4){return Number.parseFloat(t.toFixed(a))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};V.style=K;export{V as instant_apps_social_share};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as p}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as p}from"./PJGGTO5X.js";import{a as n}from"./4M2BSB7U.js";var l=1,f=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],u=e=>[{orgId:e}],O={item:f,event:u};function j(e){if(n(e,"schemaVersion")===l)return e;{let t=p(e);return t=d(t),t}}function d(e){if(n(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},s=n(e,"groups")||[],c=[];Array.isArray(s)&&s.length?c=s:typeof s=="string"&&(c=[s]),c.length&&(t.scopes=Object.entries(t.scopes).reduce((o,r)=>Object.assign(Object.assign({},o),{[r[0]]:Object.assign(Object.assign({},r[1]),{filters:[{predicates:[{group:c}]}]})}),{}));let i=n(e,"orgId");return i&&(t.scopes=Object.entries(t.scopes).reduce((o,r)=>{let a=r[0],g=r[1];return Object.assign(Object.assign({},o),{[a]:Object.assign(Object.assign({},g),{filters:[...g.filters,{operation:"AND",predicates:O[a](i)}]})})},{})),t}}export{j 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l,b as o}from"./2SPB6YWD.js";import{a as r,c as t,d,e as c,f as p}from"./C2WZRDNU.js";import"./SA3FJIMJ.js";var g;(function(n){n.TopLeft="top-left",n.TopCenter="top-center",n.TopRight="top-right",n.CenterLeft="center-left",n.Center="center",n.CenterRight="center-right",n.BottomLeft="bottom-left",n.BottomCenter="bottom-center",n.BottomRight="bottom-right"})(g||(g={}));var _=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:0.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}",h=_,a={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",removePadding:"instant-apps-landing-page__remove-padding",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},m=class{constructor(n){r(this,n),this.landingPageOpen=p(this,"landingPageOpen",7),this.landingPageClose=p(this,"landingPageClose",7),this._sanitizer=new o({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=g.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.enableSignIn=void 0,this.portal=void 0,this.oauthappid=void 0}emitToggleEvent(){this.open?this.landingPageOpen.emit():this.landingPageClose.emit()}async componentWillRender(){await this.checkEnableSignIn()}render(){let n=this.renderLandingPageContent();return t(d,{key:"8d2f9b0895fcd2f570d645fd5dbab3aaff9e9a45"},n)}renderLandingPageContent(){let n=this.open?"":this.disableTransition?` ${a.closedNoTransition}`:` ${a.closed}`,e=this.getAlignmentClass(),i=this.disableTransition?` ${a.removeTransition}`:"",s=this.getContentStyle();return t("div",{style:s,class:`${a.BASE}${e}${n}${i}`},t("div",{class:a.backgroundAction},t("slot",{name:"background-action"})),t("div",{class:a.contentContainer},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),this.renderEntryButtonContainer())}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():t("div",{class:a.buttonContainer},this.renderEntryButton(),t("slot",{name:"secondary-action"}))}renderLandingPageSignIn(){return t("instant-apps-sign-in",{type:"landingPage",landingPage:!0,portal:this.portal,oauthappid:this.oauthappid,closeLandingPage:this.closeLandingPage.bind(this)})}renderIconImage(){return this.iconImage?t("img",{class:`${a.iconImage}${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return t("h1",{class:a.titleText},this.titleText)}renderSubtitleText(){return t("span",{class:a.subtitleText},this.subtitleText)}renderDescriptionText(){return t("p",{class:a.descriptionText,innerHTML:this._sanitizer?.sanitize(this.descriptionText)??""})}renderEntryButton(){return t("calcite-button",{class:a.entryButton,onClick:this.closeLandingPage.bind(this),scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText?this.entryButtonText:"Enter")}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${a.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:n}=this,{s:e,m:i,l:s}=a.iconImageScale;return n==="l"?s:n==="s"?e:i}getContentStyle(){let n=l(this.fontFamily);return this.backgroundImageSrc?{fontFamily:n,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:n}}async checkEnableSignIn(){await new Promise(n=>{if(this.enableSignIn){let e=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;e!=null&&((Date.now()-e)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}n(null)})}get el(){return c(this)}static get watchers(){return{open:["emitToggleEvent"]}}};m.style=h;export{m as instant_apps_landing_page};
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as l,b as o}from"./72CGZFMP.js";import{a as r,c as t,d,e as c,f as p}from"./D4PB3INZ.js";import"./QEF6IQG7.js";var g;(function(n){n.TopLeft="top-left",n.TopCenter="top-center",n.TopRight="top-right",n.CenterLeft="center-left",n.Center="center",n.CenterRight="center-right",n.BottomLeft="bottom-left",n.BottomCenter="bottom-center",n.BottomRight="bottom-right"})(g||(g={}));var _=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:0.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}",h=_,a={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",removePadding:"instant-apps-landing-page__remove-padding",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},m=class{constructor(n){r(this,n),this.landingPageOpen=p(this,"landingPageOpen",7),this.landingPageClose=p(this,"landingPageClose",7),this._sanitizer=new o({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=g.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.enableSignIn=void 0,this.portal=void 0,this.oauthappid=void 0}emitToggleEvent(){this.open?this.landingPageOpen.emit():this.landingPageClose.emit()}async componentWillRender(){await this.checkEnableSignIn()}render(){let n=this.renderLandingPageContent();return t(d,{key:"8d2f9b0895fcd2f570d645fd5dbab3aaff9e9a45"},n)}renderLandingPageContent(){let n=this.open?"":this.disableTransition?` ${a.closedNoTransition}`:` ${a.closed}`,e=this.getAlignmentClass(),i=this.disableTransition?` ${a.removeTransition}`:"",s=this.getContentStyle();return t("div",{style:s,class:`${a.BASE}${e}${n}${i}`},t("div",{class:a.backgroundAction},t("slot",{name:"background-action"})),t("div",{class:a.contentContainer},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),this.renderEntryButtonContainer())}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():t("div",{class:a.buttonContainer},this.renderEntryButton(),t("slot",{name:"secondary-action"}))}renderLandingPageSignIn(){return t("instant-apps-sign-in",{type:"landingPage",landingPage:!0,portal:this.portal,oauthappid:this.oauthappid,closeLandingPage:this.closeLandingPage.bind(this)})}renderIconImage(){return this.iconImage?t("img",{class:`${a.iconImage}${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return t("h1",{class:a.titleText},this.titleText)}renderSubtitleText(){return t("span",{class:a.subtitleText},this.subtitleText)}renderDescriptionText(){return t("p",{class:a.descriptionText,innerHTML:this._sanitizer?.sanitize(this.descriptionText)??""})}renderEntryButton(){return t("calcite-button",{class:a.entryButton,onClick:this.closeLandingPage.bind(this),scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText?this.entryButtonText:"Enter")}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${a.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:n}=this,{s:e,m:i,l:s}=a.iconImageScale;return n==="l"?s:n==="s"?e:i}getContentStyle(){let n=l(this.fontFamily);return this.backgroundImageSrc?{fontFamily:n,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:n}}async checkEnableSignIn(){await new Promise(n=>{if(this.enableSignIn){let e=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;e!=null&&((Date.now()-e)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}n(null)})}get el(){return c(this)}static get watchers(){return{open:["emitToggleEvent"]}}};m.style=h;export{m as instant_apps_landing_page};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as _}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as _}from"./FR2M6XQY.js";import"./23SLJ7VB.js";import{c as g,g as $,j as F}from"./SAICGJDS.js";import{e as d}from"./D4Y3AUY2.js";import{a as E,d as O,f as T}from"./E3TL2DBA.js";import{a as u,b as p}from"./YTJ7HTKE.js";import{b as I}from"./4C5TKB2E.js";import{a as k}from"./663C7SFX.js";import{A as V,D as G,c as L,d as c,n as S,p as v,y as C,z as y}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var N=L`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a,b}from"./ECULEWGH.js";import"./BC4GIYFT.js";import"./2AH2EXXK.js";import"./CY5FNQOJ.js";import"./GQX5XJTO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l,b as a}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as l,b as a}from"./YTJ7HTKE.js";import{b}from"./4C5TKB2E.js";import{a as f}from"./663C7SFX.js";import{D as u,c as _,d as h,f as c,y as w,z as o}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var $=_`/** @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{a as l,b as a}from"./EY76BJOK.js";import{b}from"./WCZZYOTM.js";import{a a
|
|
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
|
-
*/:host{display:block}.display-none{display:none}.display-flex{display:flex}.margin-top-1-2{margin-top:.5rem}.margin-left-1-2{margin-left:.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px #0000004d}.margin-bottom-1-2{margin-bottom:.5rem}`,m=class extends w{constructor(){super(...arguments),this.enabledLayerIds=[],this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableSearch=!1,this.enableBasemap=!1,this.enableHome=!1,this.enableSingleExpand=!1,this.zoomToolsSize="m",this.layout="vertical",this.mapWidgetsSize="m",this.enableMapPicker=!1,this.enableMapLayerPicker=!1,this.position="top-right",this.stackTools=!0,this.enableSelectionTool=!1,this.toolOrder=["home","legend","search","fullscreen","floorfilter","selectiontool","map-picker","map-layer-picker"],this.mapInfos=[],this.defaultLayerId="",this.isMobile=!1,this.selectedWebMapId="",this.showOnlyUpdatableLayers=!1,this._hasFloorInfo=!1,this._translations=f({name:"map-tools",blocking:!0}),this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1,this._selectionToolActive=!1,this._showEllipsisTools=!0,this._ellipsisTools=[],this._basemapElement=l(),this._floorFilterElement=l(),this._fullscreenElement=l(),this._legendElement=l(),this._searchElement=l(),this._widgets=[],this._selectionToolElement=l(),this._mapTools=[],this._mapTool=l()}static{this.properties={basemapConfig:0,enabledLayerIds:0,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableSearch:5,enableBasemap:5,enableHome:5,enableSingleExpand:5,zoomToolsSize:1,layout:1,mapView:0,mapWidgetsSize:1,enableMapPicker:5,enableMapLayerPicker:5,position:1,searchConfiguration:0,stackTools:5,enableSelectionTool:5,toolOrder:0,selectedLayer:0,mapInfos:0,defaultLayerId:1,isMobile:5,parentComponentHeight:9,parentComponentWidth:9,selectedWebMapId:1,showOnlyUpdatableLayers:5,_hasFloorInfo:16,_translations:16,_showTools:16,_showBasemapWidget:16,_showFloorFilter:16,_showFullscreen:16,_showLegendWidget:16,_showSearchWidget:16,_selectionToolActive:16,_showEllipsisTools:16,_ellipsisTools:16}}static{this.styles=$}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("parentComponentWidth")&&this.parentComponentWidth&&this.parentComponentWidthWatchHandler(this.parentComponentWidth),e.has("_showBasemapWidget")&&(this.hasUpdated||this._showBasemapWidget!==!1)&&this._showBasemapWidgetWatchHandler(this._showBasemapWidget),e.has("_showFloorFilter")&&(this.hasUpdated||this._showFloorFilter!==!1)&&this._showFloorFilterWatchHandler(this._showFloorFilter),e.has("_showFullscreen")&&(this.hasUpdated||this._showFullscreen!==!1)&&this._showFullscreenWatchHandler(this._showFullscreen),e.has("_showLegendWidget")&&(this.hasUpdated||this._showLegendWidget!==!1)&&this._showLegendWidgetWatchHandler(this._showLegendWidget),e.has("_showSearchWidget")&&(this.hasUpdated||this._showSearchWidget!==!1)&&this._showSearchWidgetWatchHandler(this._showSearchWidget)}async mapViewWatchHandler(){await this.mapView?.when(()=>{this.enableHome&&this._initHome(),this.parentComponentWidth&&this._updateTools(this.parentComponentWidth)})}async parentComponentWidthWatchHandler(e){this._updateTools(e)}async _showBasemapWidgetWatchHandler(e){let s=this._basemapElement.value?this._basemapElement.value.basemapWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFloorFilterWatchHandler(e){let s=this._floorFilterElement.value?this._floorFilterElement.value.floorFilterWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFullscreenWatchHandler(e){let s=this._fullscreenElement.value?this._fullscreenElement.value.fullscreenWidget:void 0;s&&(e?s.viewModel.state==="ready"&&s.viewModel.enter():s.viewModel.state==="active"&&s.viewModel.exit())}async _showLegendWidgetWatchHandler(e){let s=this._legendElement.value?this._legendElement.value.legendWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showSearchWidgetWatchHandler(e){let s=this._searchElement.value?this._searchElement.value.searchWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async load(){this._mapTools=[...this.toolOrder],await this._initModules()}render(){this._setZoomToolsSize();let e=this.layout==="horizontal"?"display-flex":"",s=this._getToggleIcon(),i=this._showTools?e:"display-none",t=this._showEllipsisTools?"":"display-none",n=this._showSearchWidget?"":"display-none",r=this._showBasemapWidget?"":"display-none",d=this._showLegendWidget?"":"display-none",p=this._showFloorFilter?"":"display-none",y=this._showFullscreen?"":"display-none",W=this._showTools?this._translations.collapse:this._translations.expand,T=!this.enableBasemap&&!this.enableFullscreen&&!this.enableLegend&&!this.enableSearch&&!this.enableMapPicker&&!this.enableMapLayerPicker?"display-none":"",v=this.enableSingleExpand?this.layout==="horizontal"?"margin-left-1-2":"margin-top-1-2":"",F=this._ellipsisTools.length>0&&this._showTools?"":"display-none",g=this.stackTools&&this._ellipsisTools.length===0?"box-shadow":"";return h`<div class=${`${T} ${e}`}>${this.enableSingleExpand?h`<div class=${o(g)}>${this._getActionGroup(s,!1,W||"",()=>this._toggleTools())}</div>`:void 0}<div class=${`${v} ${g} ${i}`}>${this._getMapWidgets(this._mapTools)}</div><div><div class=${o(F)}>${this._getActionGroup("ellipsis",!1,"",()=>this._toggleEllipsisTools())}<div class=${o(t)}>${this._getMapWidgets(this._ellipsisTools)}</div></div></div></div><basemap-gallery .basemapConfig=${this.basemapConfig} class=${o(r)} .mapView=${this.mapView} ${a(this._basemapElement)}></basemap-gallery><map-search class=${o(n)} .mapView=${this.mapView} result-graphic-enabled .searchConfiguration=${this.searchConfiguration} ${a(this._searchElement)}></map-search><map-legend class=${o(d)} .mapView=${this.mapView} ${a(this._legendElement)}></map-legend><map-fullscreen class=${o(y)} .mapView=${this.mapView} @fullscreenStateChange=${E=>this._fullscreenStateChange(E.detail)} ${a(this._fullscreenElement)}></map-fullscreen><floor-filter class=${o(p)} .enabled=${this.enableFloorFilter} .mapView=${this.mapView} ${a(this._floorFilterElement)}></floor-filter><selection-tool .mapView=${this.mapView} @drawingComplete=${()=>{this._selectionToolActive=!this._selectionToolActive}} .selectedLayerId=${this.selectedLayer?.id} tool=rectangle ${a(this._selectionToolElement)}></selection-tool>${this.enableMapPicker&&h`<map-picker class=mapPickerClass .height=${(this.parentComponentHeight??0)-25} id=map-picker .mapInfos=${this.mapInfos} reference-element=map .selectedWebMapId=${this.selectedWebMapId} show-map-list-in-popover></map-picker>`||""}${this.enableMapLayerPicker&&h`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this.enabledLayerIds} .height=${(this.parentComponentHeight??0)-25} .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} reference-element=layers scale=s .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-layers-list-in-popover show-tables type=dropdown></map-layer-picker>`||""}`}async _initModules(){let[e,s]=await b(["esri/widgets/Expand","esri/widgets/Home"]);this.Expand=e,this.Home=s}_initHome(){this.enableHome&&(this._homeWidget=this.Home&&new this.Home({view:this.mapView}))}_setZoomToolsSize(){let e=document.getElementsByClassName("esri-zoom")[0]?.children[0],s=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(e&&s){let i=this.zoomToolsSize==="s"?"32px":this.zoomToolsSize==="m"?"40px":"48px";e.style.width=i,e.style.height=i,s.style.width=i,s.style.height=i}this.layout==="horizontal"&&(document.getElementsByClassName("esri-zoom")[0]?.setAttribute("style","position: absolute; top: 50px; left: 0"),document.getElementsByClassName("esri-ui-top-left")[0]?.setAttribute("style","flex-direction: row-reverse; gap: 5px; align-items: flex-start;"))}_getToggleIcon(){let e;return this.layout==="horizontal"?e=this._showTools?"chevrons-left":"chevrons-right":e=this._showTools?"chevrons-up":"chevrons-down",e}_updateTools(e){let s=JSON.parse(JSON.stringify(this.toolOrder));this._hasFloorInfo=this.mapView?.map?.floorInfo;let i=s.indexOf("floorfilter");i>-1&&!this._hasFloorInfo&&s.splice(i,1);let t=Math.ceil(e/40)-1;t&&t!==s.length-1?(this._mapTools=s.slice(0,t),this._ellipsisTools=s.slice(t,s.length)):(this._mapTools=s,this._ellipsisTools=[])}_getMapWidgets(e){let s=this._showFullscreen?"full-screen-exit":"full-screen",i=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return e.map(t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,()=>this._showLegend()):this.enableLegend?this._getWidget(t,this._legendElement.value?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,()=>this._search()):this.enableSearch?this._getWidget(t,this._searchElement.value?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(s,!1,i||"",()=>this._expand()):this.enableFullscreen?this._getWidget(t,this._fullscreenElement.value?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,()=>this._toggleBasemapPicker()):this.enableBasemap?this._getWidget(t,this._basemapElement.value?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,()=>this._toggleFloorFilter()):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement.value?.floorFilterWidget,!0):void 0;case"selectiontool":return this.enableSelectionTool?this._getActionGroup("cursor-selection",!1,this._translations.selectByRectangle,()=>this._toggleSelectionTool(),this._selectionToolActive):void 0;case"home":return this.enableHome?this._getActionGroup("home",!1,this._translations.defaultMapView,()=>this._homeWidget?.go()):void 0;case"map-picker":return this.enableMapPicker?this._getActionGroup("map",!1,"",()=>{}):void 0;case"map-layer-picker":return this.enableMapLayerPicker?this._getActionGroup("layers",!1,"",()=>{}):void 0;default:return""}})}_fullscreenStateChange(e){e==="ready"&&this._showFullscreen?this._showFullscreen=!1:e==="active"&&!this._showFullscreen&&(this._showFullscreen=!0)}_getActionGroup(e,s,i,t,n){let r=this.mapWidgetsSize==="s"?"square-32":this.mapWidgetsSize==="m"?"square-40":"square-48",d=this.stackTools?"":"margin-bottom-1-2",p=this.stackTools?"":"box-shadow";return h`<div><calcite-action alignment=center .indicator=${n} class=${`map-actions ${r} ${d} border-bottom ${p}`} .disabled=${s} .icon=${e} id=${e??c} @click=${t} scale=s text ${a(this._mapTool)}><calcite-icon icon=cheveron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile&&h`<calcite-tooltip .placement=${this.layout==="vertical"?"auto":"bottom"} reference-element=${e??c}><span>${i}</span></calcite-tooltip>`||""}</div>`}_getWidget(e,s,i){if(this._widgets.indexOf(e)<0&&this.mapView&&s){let t=this.toolOrder.indexOf(e),n=this.Expand&&new this.Expand({view:this.mapView,content:s}),r=this.enableHome?2:1;this.mapView.ui.add(i?n:s,{position:this.position,index:t>-1?t+r:1}),this._widgets.push(e)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1,this._toggleEllipsisTools()}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1,this._toggleEllipsisTools()}_toggleSelectionTool(){this._selectionToolActive=!this._selectionToolActive,this._selectionToolElement.value?.toggleSelectionTool()}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools,this._toggleEllipsisTools()}_toggleEllipsisTools(){this._showEllipsisTools=!this._showEllipsisTools}};u("map-tools",m);export{m as MapTools};
|
18
|
+
*/:host{display:block}.display-none{display:none}.display-flex{display:flex}.margin-top-1-2{margin-top:.5rem}.margin-left-1-2{margin-left:.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px #0000004d}.margin-bottom-1-2{margin-bottom:.5rem}`,m=class extends w{constructor(){super(...arguments),this.enabledLayerIds=[],this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableSearch=!1,this.enableBasemap=!1,this.enableHome=!1,this.enableSingleExpand=!1,this.zoomToolsSize="m",this.layout="vertical",this.mapWidgetsSize="m",this.enableMapPicker=!1,this.enableMapLayerPicker=!1,this.position="top-right",this.stackTools=!0,this.enableSelectionTool=!1,this.toolOrder=["home","legend","search","fullscreen","floorfilter","selectiontool","map-picker","map-layer-picker"],this.mapInfos=[],this.defaultLayerId="",this.isMobile=!1,this.selectedWebMapId="",this.showOnlyUpdatableLayers=!1,this._hasFloorInfo=!1,this._translations=f({name:"map-tools",blocking:!0}),this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1,this._selectionToolActive=!1,this._showEllipsisTools=!0,this._ellipsisTools=[],this._basemapElement=l(),this._floorFilterElement=l(),this._fullscreenElement=l(),this._legendElement=l(),this._searchElement=l(),this._widgets=[],this._selectionToolElement=l(),this._mapTools=[],this._mapTool=l()}static{this.properties={basemapConfig:0,enabledLayerIds:0,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableSearch:5,enableBasemap:5,enableHome:5,enableSingleExpand:5,zoomToolsSize:1,layout:1,mapView:0,mapWidgetsSize:1,enableMapPicker:5,enableMapLayerPicker:5,position:1,searchConfiguration:0,stackTools:5,enableSelectionTool:5,toolOrder:0,selectedLayer:0,mapInfos:0,defaultLayerId:1,isMobile:5,parentComponentHeight:9,parentComponentWidth:9,selectedWebMapId:1,showOnlyUpdatableLayers:5,_hasFloorInfo:16,_translations:16,_showTools:16,_showBasemapWidget:16,_showFloorFilter:16,_showFullscreen:16,_showLegendWidget:16,_showSearchWidget:16,_selectionToolActive:16,_showEllipsisTools:16,_ellipsisTools:16}}static{this.styles=$}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("parentComponentWidth")&&this.parentComponentWidth&&this.parentComponentWidthWatchHandler(this.parentComponentWidth),e.has("_showBasemapWidget")&&(this.hasUpdated||this._showBasemapWidget!==!1)&&this._showBasemapWidgetWatchHandler(this._showBasemapWidget),e.has("_showFloorFilter")&&(this.hasUpdated||this._showFloorFilter!==!1)&&this._showFloorFilterWatchHandler(this._showFloorFilter),e.has("_showFullscreen")&&(this.hasUpdated||this._showFullscreen!==!1)&&this._showFullscreenWatchHandler(this._showFullscreen),e.has("_showLegendWidget")&&(this.hasUpdated||this._showLegendWidget!==!1)&&this._showLegendWidgetWatchHandler(this._showLegendWidget),e.has("_showSearchWidget")&&(this.hasUpdated||this._showSearchWidget!==!1)&&this._showSearchWidgetWatchHandler(this._showSearchWidget)}async mapViewWatchHandler(){await this.mapView?.when(()=>{this.enableHome&&this._initHome(),this.parentComponentWidth&&this._updateTools(this.parentComponentWidth)})}async parentComponentWidthWatchHandler(e){this._updateTools(e)}async _showBasemapWidgetWatchHandler(e){let s=this._basemapElement.value?this._basemapElement.value.basemapWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFloorFilterWatchHandler(e){let s=this._floorFilterElement.value?this._floorFilterElement.value.floorFilterWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFullscreenWatchHandler(e){let s=this._fullscreenElement.value?this._fullscreenElement.value.fullscreenWidget:void 0;s&&(e?s.viewModel.state==="ready"&&s.viewModel.enter():s.viewModel.state==="active"&&s.viewModel.exit())}async _showLegendWidgetWatchHandler(e){let s=this._legendElement.value?this._legendElement.value.legendWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showSearchWidgetWatchHandler(e){let s=this._searchElement.value?this._searchElement.value.searchWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async load(){this._mapTools=[...this.toolOrder],await this._initModules()}render(){this._setZoomToolsSize();let e=this.layout==="horizontal"?"display-flex":"",s=this._getToggleIcon(),i=this._showTools?e:"display-none",t=this._showEllipsisTools?"":"display-none",n=this._showSearchWidget?"":"display-none",r=this._showBasemapWidget?"":"display-none",d=this._showLegendWidget?"":"display-none",p=this._showFloorFilter?"":"display-none",y=this._showFullscreen?"":"display-none",W=this._showTools?this._translations.collapse:this._translations.expand,T=!this.enableBasemap&&!this.enableFullscreen&&!this.enableLegend&&!this.enableSearch&&!this.enableMapPicker&&!this.enableMapLayerPicker?"display-none":"",v=this.enableSingleExpand?this.layout==="horizontal"?"margin-left-1-2":"margin-top-1-2":"",F=this._ellipsisTools.length>0&&this._showTools?"":"display-none",g=this.stackTools&&this._ellipsisTools.length===0?"box-shadow":"";return h`<div class=${`${T} ${e}`}>${this.enableSingleExpand?h`<div class=${o(g)}>${this._getActionGroup(s,!1,W||"",()=>this._toggleTools())}</div>`:void 0}<div class=${`${v} ${g} ${i}`}>${this._getMapWidgets(this._mapTools)}</div><div><div class=${o(F)}>${this._getActionGroup("ellipsis",!1,"",()=>this._toggleEllipsisTools())}<div class=${o(t)}>${this._getMapWidgets(this._ellipsisTools)}</div></div></div></div><basemap-gallery .basemapConfig=${this.basemapConfig} class=${o(r)} .mapView=${this.mapView} ${a(this._basemapElement)}></basemap-gallery><map-search class=${o(n)} .mapView=${this.mapView} result-graphic-enabled .searchConfiguration=${this.searchConfiguration} ${a(this._searchElement)}></map-search><map-legend class=${o(d)} .mapView=${this.mapView} ${a(this._legendElement)}></map-legend><map-fullscreen class=${o(y)} .mapView=${this.mapView} @fullscreenStateChange=${E=>this._fullscreenStateChange(E.detail)} ${a(this._fullscreenElement)}></map-fullscreen><floor-filter class=${o(p)} .enabled=${this.enableFloorFilter} .mapView=${this.mapView} ${a(this._floorFilterElement)}></floor-filter><selection-tool .mapView=${this.mapView} @drawingComplete=${()=>{this._selectionToolActive=!this._selectionToolActive}} .selectedLayerId=${this.selectedLayer?.id} tool=rectangle ${a(this._selectionToolElement)}></selection-tool>${this.enableMapPicker&&h`<map-picker class=mapPickerClass .height=${(this.parentComponentHeight??0)-25} id=map-picker .mapInfos=${this.mapInfos} reference-element=map .selectedWebMapId=${this.selectedWebMapId} show-map-list-in-popover></map-picker>`||""}${this.enableMapLayerPicker&&h`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this.enabledLayerIds} .height=${(this.parentComponentHeight??0)-25} .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} reference-element=layers scale=s .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-layers-list-in-popover show-tables type=dropdown></map-layer-picker>`||""}`}async _initModules(){let[e,s]=await b(["esri/widgets/Expand","esri/widgets/Home"]);this.Expand=e,this.Home=s}_initHome(){this.enableHome&&(this._homeWidget=this.Home&&new this.Home({view:this.mapView}))}_setZoomToolsSize(){let e=document.getElementsByClassName("esri-zoom")[0]?.children[0],s=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(e&&s){let i=this.zoomToolsSize==="s"?"32px":this.zoomToolsSize==="m"?"40px":"48px";e.style.width=i,e.style.height=i,s.style.width=i,s.style.height=i}this.layout==="horizontal"&&(document.getElementsByClassName("esri-zoom")[0]?.setAttribute("style","position: absolute; top: 50px; left: 0"),document.getElementsByClassName("esri-ui-top-left")[0]?.setAttribute("style","flex-direction: row; gap: 5px; align-items: flex-start; direction: ltr !important; z-index: 1;"))}_getToggleIcon(){let e;return this.layout==="horizontal"?e=this._showTools?"chevrons-left":"chevrons-right":e=this._showTools?"chevrons-up":"chevrons-down",e}_updateTools(e){let s=JSON.parse(JSON.stringify(this.toolOrder));this._hasFloorInfo=this.mapView?.map?.floorInfo;let i=s.indexOf("floorfilter");i>-1&&!this._hasFloorInfo&&s.splice(i,1);let t=Math.ceil(e/40)-1;t&&t!==s.length-1?(this._mapTools=s.slice(0,t),this._ellipsisTools=s.slice(t,s.length)):(this._mapTools=s,this._ellipsisTools=[])}_getMapWidgets(e){let s=this._showFullscreen?"full-screen-exit":"full-screen",i=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return e.map(t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,()=>this._showLegend()):this.enableLegend?this._getWidget(t,this._legendElement.value?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,()=>this._search()):this.enableSearch?this._getWidget(t,this._searchElement.value?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(s,!1,i||"",()=>this._expand()):this.enableFullscreen?this._getWidget(t,this._fullscreenElement.value?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,()=>this._toggleBasemapPicker()):this.enableBasemap?this._getWidget(t,this._basemapElement.value?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,()=>this._toggleFloorFilter()):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement.value?.floorFilterWidget,!0):void 0;case"selectiontool":return this.enableSelectionTool?this._getActionGroup("cursor-selection",!1,this._translations.selectByRectangle,()=>this._toggleSelectionTool(),this._selectionToolActive):void 0;case"home":return this.enableHome?this._getActionGroup("home",!1,this._translations.defaultMapView,()=>this._homeWidget?.go()):void 0;case"map-picker":return this.enableMapPicker?this._getActionGroup("map",!1,"",()=>{}):void 0;case"map-layer-picker":return this.enableMapLayerPicker?this._getActionGroup("layers",!1,"",()=>{}):void 0;default:return""}})}_fullscreenStateChange(e){e==="ready"&&this._showFullscreen?this._showFullscreen=!1:e==="active"&&!this._showFullscreen&&(this._showFullscreen=!0)}_getActionGroup(e,s,i,t,n){let r=this.mapWidgetsSize==="s"?"square-32":this.mapWidgetsSize==="m"?"square-40":"square-48",d=this.stackTools?"":"margin-bottom-1-2",p=this.stackTools?"":"box-shadow";return h`<div><calcite-action alignment=center .indicator=${n} class=${`map-actions ${r} ${d} border-bottom ${p}`} .disabled=${s} .icon=${e} id=${e??c} @click=${t} scale=s text ${a(this._mapTool)}><calcite-icon icon=cheveron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile&&h`<calcite-tooltip .placement=${this.layout==="vertical"?"auto":"bottom"} reference-element=${e??c}><span>${i}</span></calcite-tooltip>`||""}</div>`}_getWidget(e,s,i){if(this._widgets.indexOf(e)<0&&this.mapView&&s){let t=this.toolOrder.indexOf(e),n=this.Expand&&new this.Expand({view:this.mapView,content:s}),r=this.enableHome?2:1;this.mapView.ui.add(i?n:s,{position:this.position,index:t>-1?t+r:1}),this._widgets.push(e)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1,this._toggleEllipsisTools()}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1,this._toggleEllipsisTools()}_toggleSelectionTool(){this._selectionToolActive=!this._selectionToolActive,this._selectionToolElement.value?.toggleSelectionTool()}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools,this._toggleEllipsisTools()}_toggleEllipsisTools(){this._showEllipsisTools=!this._showEllipsisTools}};u("map-tools",m);export{m as MapTools};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{g as u,h as g}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{g as u,h as g}from"./D4PB3INZ.js";var M=(e,o,s)=>{let c=e.get(o);c?c.includes(s)||c.push(s):e.set(o,[s])},O=(e,o)=>{let s;return(...c)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...c)},o)}},_=e=>!("isConnected"in e)||e.isConnected,w=O(e=>{for(let o of e.keys())e.set(o,e.get(o).filter(_))},2e3),T=()=>{if(typeof u!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:o=>{let s=u();s&&M(e,o,s)},set:o=>{let s=e.get(o);s&&e.set(o,s.filter(g)),w(e)},reset:()=>{e.forEach(o=>o.forEach(g)),w(e)}}},h=e=>typeof e=="function"?e():e,U=(e,o=(s,c)=>s!==c)=>{let s=h(e),c=new Map(Object.entries(s??{})),i={dispose:[],get:[],set:[],reset:[]},l=()=>{c=new Map(Object.entries(h(e)??{})),i.reset.forEach(t=>t())},E=()=>{i.dispose.forEach(t=>t()),l()},p=t=>(i.get.forEach(n=>n(t)),c.get(t)),a=(t,n)=>{let r=c.get(t);o(n,r,t)&&(c.set(t,n),i.set.forEach(f=>f(t,n,r)))},y=typeof Proxy>"u"?{}:new Proxy(s,{get(t,n){return p(n)},ownKeys(t){return Array.from(c.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(t,n){return c.has(n)},set(t,n,r){return a(n,r),!0}}),d=(t,n)=>(i[t].push(n),()=>{P(i[t],n)});return{state:y,get:p,set:a,on:d,onChange:(t,n)=>{let r=d("set",(x,C)=>{x===t&&n(C)}),f=d("reset",()=>n(h(e)[t]));return()=>{r(),f()}},use:(...t)=>{let n=t.reduce((r,f)=>(f.set&&r.push(d("set",f.set)),f.get&&r.push(d("get",f.get)),f.reset&&r.push(d("reset",f.reset)),f.dispose&&r.push(d("dispose",f.dispose)),r),[]);return()=>n.forEach(r=>r())},dispose:E,reset:l,forceUpdate:t=>{let n=c.get(t);i.set.forEach(r=>r(t,n,n))}}},P=(e,o)=>{let s=e.indexOf(o);s>=0&&(e[s]=e[e.length-1],e.length--)},S=(e,o)=>{let s=U(e,o);return s.use(T()),s};export{S as a};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as c}from"./ZQKLLV2Y.js";import{a as r}from"./663C7SFX.js";import{B as i,D as n,c as o,d as t,x as l,y as s}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var d=o`/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/calcite-card{width:220px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:var(--calcite-color-text-inverse)}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.card-image-wrap{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}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: 0px}.deployed-icon-override{--calcite-icon-color: var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:.5rem}.display-flex{display:flex}.align-items-center{align-items:center}.font-weight-bold{font-weight:700}.font-weight-normal{font-weight:400}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.update-icon-absolute{position:absolute;right:1rem}.update-icon-absolute[dir=rtl]{position:absolute;left:1rem}.header-line-height{line-height:2.5rem}`,a=class extends s{constructor(){super(...arguments),this.allowDelete=!1,this.deployedDate="",this.description="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.userSessionContextConsumer=l({context:c,subscribe:!0}),this._isDeleteOpen=!1,this._translations=r({name:"solution-deployed-card",blocking:!0})}static{this.properties={allowDelete:5,card:0,deployedDate:1,description:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,userSessionContextConsumer:32,_isDeleteOpen:16,_translations:16}}static{this.styles=d}render(){return t`<div><calcite-card .label=${this.description} @click=${this._cardSelected}>${this._getImage()}${this._getHeader()}<p slot=description>${this.description}</p><div>${this._getOwnerLabel()}${this._getDeployedDate()}</div><div class="width-full" slot=footer-start>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}</div>`}_getImage(){let e=this.userSessionContextConsumer.value;return t`<div class="card-image-wrap" slot=thumbnail><img class="thumbnail card-image" alt=${this.heading??i} src=${`${this.thumbnail}&token=${e?.token}`}><div class="hover-text">${this._translations.configure}</div></div>`}_getHeader(){return t`<div class="display-flex align-items-center header-line-height" slot=heading>${this.heading}<calcite-icon class="icon-brand-color update-icon-absolute" icon=refresh id=solution-update-available-icon @click=${this._updateAvailable} scale=s></calcite-icon><calcite-tooltip placement=bottom reference-element=solution-update-available-icon>${this._translations.updateAvailable}</calcite-tooltip></div>`}_getOwnerLabel(){return t`<calcite-label class="font-weight-bold padding-end-1-2" layout=inline>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return t`<div class="display-flex align-items-center"><calcite-icon class="deployed-icon-override padding-end-1-2" icon=projects scale=s></calcite-icon><calcite-label class="deployed-label-override">${this._translations.deployedDate.replace("{{date}}",this.deployedDate)}</calcite-label></div>`}_getConfigureButton(){return t`<calcite-split-button appearance=outline @click=${e=>e.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.configure??i} width=full><calcite-dropdown-group selection-mode=none><calcite-dropdown-item icon-start=model @click=${this._viewDiagram}>${this._translations.viewDiagram}</calcite-dropdown-item><calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails}>${this._translations.viewItemDetails}</calcite-dropdown-item>${this.allowDelete&&t`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group></calcite-split-button>`}_renderDeleteDialog(){return t`<solution-delete-dialog .card=${this.card} .open=${this._isDeleteOpen} @dialogOpen=${e=>{this._isDeleteOpen=e.detail}}></solution-delete-dialog>`}_cardSelected(){alert(`Do actions for ${this.itemId}`)}_viewDiagram(e){e.stopPropagation(),alert("_viewDiagram")}_viewDocumentation(e){e.stopPropagation(),alert("_viewDocumentation")}_viewItemDetails(e){e.stopPropagation(),alert("_viewItemDetails")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation(),alert("_openUserProfile")}_updateAvailable(e){e.stopPropagation(),alert("_updateAvailable")}};n("solution-deployed-card",a);export{a as SolutionDeployedCard};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./QN47TVOF.js";import"./MIMUA7CO.js";import"./IJXW2QHI.js";import{C as u}from"./5XHVWCO6.js";import{a as h,c as n,e as m,f as L,h as w}from"./D4PB3INZ.js";import"./QEF6IQG7.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as n}from"./U2REM5I2.js";import{b as I,c as b,d as v}from"./CTYIRMIE.js";import{a as i}from"./TZ6NWBWT.js";import"./23SLJ7VB.js";import"./NRHTETGA.js";import"./GXDC6HF3.js";import"./EQ7WODGK.js";import"./XOF7OPE4.js";import"./DPWQI5EE.js";import"./6GBOMWNM.js";import"./WL25ONRI.js";import"./YFAJKSIJ.js";import"./TYBAUCOP.js";import"./QLJVM7OF.js";import"./DRXKNSYY.js";import"./JAPFIMJD.js";import"./PJGGTO5X.js";import"./7ZWOBQSP.js";import"./KDEENWCA.js";import"./3QX3UFD6.js";import{g as a}from"./A6HCD5ST.js";import"./4WDFKQEA.js";import"./4M2BSB7U.js";import"./D4Y3AUY2.js";import{a as f,b as _}from"./YTJ7HTKE.js";import{a as g}from"./663C7SFX.js";import{D as m,c,d as o,f as r,p as u,y as d,z as p}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var y=c`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as e}from"./VFIEMUU3.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250617 */
|
4
4
|
function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as g}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as g}from"./663C7SFX.js";import{B as s,D as p,c as l,d as c,p as h,y as u}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var b=l`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as S}from"./
|
3
|
+
v1.0.0-next.20250617 */
|
4
|
+
import{a as S}from"./Z5XAYA6T.js";import{a as d}from"./KH4WDPKH.js";import{a as U,b as x}from"./UHQRI5PF.js";import{d as j,g as L,h as C,i as N}from"./XOF7OPE4.js";import{b as f,c as y}from"./W2JRAIBN.js";import{m as v,n as _}from"./DPWQI5EE.js";import{f as M}from"./JMAXO5DC.js";import"./6GBOMWNM.js";import"./WL25ONRI.js";import"./YFAJKSIJ.js";import"./5Y5FK43G.js";import"./DRXKNSYY.js";import"./JAPFIMJD.js";import{a as O}from"./PJGGTO5X.js";import"./7ZWOBQSP.js";import"./KDEENWCA.js";import{s as I}from"./3QX3UFD6.js";import"./A6HCD5ST.js";import"./4WDFKQEA.js";import"./4M2BSB7U.js";import"./QEF6IQG7.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
|