@arcgis/map-components 5.2.3 → 5.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{UGVAEIPY.js → 2AUIXZ2Q.js} +1 -1
- package/dist/cdn/2E3YXBJW.js +2 -0
- package/dist/cdn/{XD7FRUNP.js → 2G4FQGAD.js} +1 -1
- package/dist/cdn/{W2WHK5MI.js → 2JBI4IXH.js} +1 -1
- package/dist/cdn/{TEX6U3QA.js → 2KXAWY43.js} +1 -1
- package/dist/cdn/{2WR42AWJ.js → 2KYKLJ3Z.js} +1 -1
- package/dist/cdn/{ZYVFTUSL.js → 333R5G6O.js} +1 -1
- package/dist/cdn/{QRT6VXRY.js → 34K5IKUR.js} +1 -1
- package/dist/cdn/{E6ODHOXW.js → 36LOARXN.js} +1 -1
- package/dist/cdn/{GUNFY32Y.js → 36V53M4C.js} +1 -1
- package/dist/cdn/{BPMHMJHD.js → 3CZKKUMK.js} +1 -1
- package/dist/cdn/{M3HUCUBU.js → 3DCDINGF.js} +1 -1
- package/dist/cdn/{MH7GDPAM.js → 3DPZSWUR.js} +1 -1
- package/dist/cdn/{ZM6HNXSZ.js → 3LKE64VF.js} +1 -1
- package/dist/cdn/{MWCXWOQ7.js → 3MKHJKDL.js} +1 -1
- package/dist/cdn/{BYC7JUTS.js → 3NB34PX4.js} +1 -1
- package/dist/cdn/{OIXVH7GC.js → 3POCVJLN.js} +1 -1
- package/dist/cdn/{63LF3T5Z.js → 44H7P75T.js} +1 -1
- package/dist/cdn/{AUQIWRYN.js → 4CDTUFZS.js} +1 -1
- package/dist/cdn/{A2SLHYTQ.js → 4MO3VK6B.js} +1 -1
- package/dist/cdn/{4GPS2BM4.js → 4RV6TJ46.js} +1 -1
- package/dist/cdn/{Y75GEEOM.js → 4WYXDGDC.js} +1 -1
- package/dist/cdn/{RK47P24H.js → 52VZSZX4.js} +1 -1
- package/dist/cdn/{BBCBFISW.js → 56POLF7G.js} +1 -1
- package/dist/cdn/{Y6QNK4JH.js → 56V4IRSL.js} +1 -1
- package/dist/cdn/{5MCDQSM7.js → 5DJBHAVB.js} +1 -1
- package/dist/cdn/{O3ZPAZWD.js → 5KN5OQ6S.js} +1 -1
- package/dist/cdn/{GGTETDG3.js → 5PAVX4RH.js} +1 -1
- package/dist/cdn/{HFQHSNVJ.js → 5QCO3QQG.js} +1 -1
- package/dist/cdn/5W3XRB6R.js +2 -0
- package/dist/cdn/{ELRHOVX4.js → 5XZFXPWM.js} +1 -1
- package/dist/cdn/{CM3MLR7H.js → 636EZ3L2.js} +1 -1
- package/dist/cdn/{EUDQ2QHZ.js → 6BA5I6MH.js} +1 -1
- package/dist/cdn/{ME7JRML7.js → 6H6YPXT6.js} +1 -1
- package/dist/cdn/{5UMTZK7B.js → 6IQVFI4B.js} +1 -1
- package/dist/cdn/{2RPMEM3H.js → 6KPQ4YPM.js} +1 -1
- package/dist/cdn/{UQTENTWA.js → 6LF5KEX5.js} +1 -1
- package/dist/cdn/{I3CCLD3Y.js → 6VCHQCZQ.js} +1 -1
- package/dist/cdn/{ZTTSXNZZ.js → 6VWMLSPW.js} +1 -1
- package/dist/cdn/{NPCCO5TJ.js → 77THXVKD.js} +1 -1
- package/dist/cdn/{B2IA36KS.js → 7LF4QCXC.js} +1 -1
- package/dist/cdn/{QAEFC57S.js → 7MIPKJAL.js} +1 -1
- package/dist/cdn/{CARHSFPH.js → 7MWBFTGZ.js} +1 -1
- package/dist/cdn/{6VSDTKTT.js → 7Q6GX7DZ.js} +1 -1
- package/dist/cdn/{YK3OHMKT.js → ADCXAT6P.js} +1 -1
- package/dist/cdn/{QEACKXI2.js → AK66NSA2.js} +1 -1
- package/dist/cdn/{BWISX7PI.js → AOY7B4ET.js} +1 -1
- package/dist/cdn/{GDMVYWNV.js → AQRFPWDP.js} +1 -1
- package/dist/cdn/{IEN33F6J.js → AU3SBPLE.js} +1 -1
- package/dist/cdn/{BWBS5XIO.js → AW4MJWIH.js} +1 -1
- package/dist/cdn/{LKI4MW42.js → B6OOV7PE.js} +1 -1
- package/dist/cdn/{4BLOLOQK.js → BKPTL2TC.js} +1 -1
- package/dist/cdn/{R7P52BCB.js → BQB53GWW.js} +1 -1
- package/dist/cdn/{4NGW6RPM.js → BTQHBILU.js} +1 -1
- package/dist/cdn/{BKXYV7K3.js → BZOG6VU7.js} +1 -1
- package/dist/cdn/{BRMTQZFL.js → C3ZTJ4L5.js} +1 -1
- package/dist/cdn/{MBXG2SXJ.js → CB4R6ENZ.js} +1 -1
- package/dist/cdn/{PZKE7SIU.js → CCBSELXA.js} +1 -1
- package/dist/cdn/{FP74DFKU.js → CCVS62WF.js} +1 -1
- package/dist/cdn/{QHS3AP7F.js → CGWUI23C.js} +1 -1
- package/dist/cdn/CPPX4CEY.js +2 -0
- package/dist/cdn/{R63ASFYP.js → CQCB4NS5.js} +1 -1
- package/dist/cdn/{HWGFEZOE.js → CS45M7X2.js} +1 -1
- package/dist/cdn/{3G2OTOJV.js → CSEIXK3E.js} +1 -1
- package/dist/cdn/{QTKVYNEF.js → CXJRLV6N.js} +1 -1
- package/dist/cdn/{RYZPLPUS.js → CZ5BSA3A.js} +1 -1
- package/dist/cdn/{Z3H63R5E.js → D2USLGRQ.js} +1 -1
- package/dist/cdn/{5FWWIRFW.js → DDRBZFYJ.js} +1 -1
- package/dist/cdn/{CINDE6V3.js → DRHKIWSZ.js} +1 -1
- package/dist/cdn/{7UDWKTRZ.js → DXGBFFJK.js} +1 -1
- package/dist/cdn/{YIZIZKSR.js → E2EJKVO4.js} +1 -1
- package/dist/cdn/{GUZFR3OQ.js → E55LMFY2.js} +1 -1
- package/dist/cdn/{FBN3C2IA.js → E5YVGUG5.js} +1 -1
- package/dist/cdn/{N542FLRH.js → EBLZYY7V.js} +1 -1
- package/dist/cdn/{XK6ENKJ5.js → ECIVIV6R.js} +1 -1
- package/dist/cdn/{GFUJUIKL.js → EE5HBRPU.js} +1 -1
- package/dist/cdn/{XRDOAWWE.js → EK4AC3ZR.js} +1 -1
- package/dist/cdn/{ELDU2LYZ.js → EN72ZZNL.js} +1 -1
- package/dist/cdn/{U6KRBP5F.js → EQ32PPBR.js} +1 -1
- package/dist/cdn/{EAZLRECI.js → EYFC3F3C.js} +1 -1
- package/dist/cdn/{AW3VSJ4S.js → FMOIE2MM.js} +1 -1
- package/dist/cdn/{DGTTGUWY.js → FUP5XPPQ.js} +1 -1
- package/dist/cdn/{SBNM2ONV.js → FXUTKJMM.js} +1 -1
- package/dist/cdn/{W5ZDJR73.js → FZHIK7LG.js} +1 -1
- package/dist/cdn/G2QTPTZW.js +2 -0
- package/dist/cdn/{2HFZHOW2.js → G2Y7YBY4.js} +1 -1
- package/dist/cdn/{3D6YELGM.js → GALHMN3S.js} +1 -1
- package/dist/cdn/{2PRME2GL.js → GEQSQJQW.js} +1 -1
- package/dist/cdn/{BK4L5A3D.js → GIK7OMLK.js} +1 -1
- package/dist/cdn/{IGPRDQ54.js → GQXPGTG7.js} +1 -1
- package/dist/cdn/{NMTZHGGF.js → GV76ZE5A.js} +1 -1
- package/dist/cdn/{WPIMUQUF.js → H5XXHST5.js} +1 -1
- package/dist/cdn/{DSCFXKLG.js → HESVB4V4.js} +1 -1
- package/dist/cdn/{3NEWMAOY.js → HJNUNYBW.js} +1 -1
- package/dist/cdn/{6RBLQCQW.js → HSWP7BGH.js} +1 -1
- package/dist/cdn/{U5RHAE5O.js → HW3J5ZSF.js} +1 -1
- package/dist/cdn/{BLY5VNQD.js → HXCUTFGC.js} +1 -1
- package/dist/cdn/{CP26XOGC.js → HYLGOTBI.js} +1 -1
- package/dist/cdn/{ZUROH43H.js → I34DGGQ5.js} +1 -1
- package/dist/cdn/{462PGTSZ.js → IAPN3VM2.js} +1 -1
- package/dist/cdn/{KGDXNHVN.js → IH24OJLS.js} +1 -1
- package/dist/cdn/{6PQX2G2C.js → IJUR2CQD.js} +1 -1
- package/dist/cdn/{W4XP4E3G.js → IL7KNCFH.js} +1 -1
- package/dist/cdn/{AUIUBPAC.js → ILTKZ4BX.js} +1 -1
- package/dist/cdn/{IAPRDZW3.js → ISYUIRDI.js} +1 -1
- package/dist/cdn/{OCN7CPWD.js → J3ZM73PC.js} +1 -1
- package/dist/cdn/{ZEFGVZBC.js → JIRBPUIB.js} +1 -1
- package/dist/cdn/{TCQH5LMF.js → K64XXUVC.js} +1 -1
- package/dist/cdn/{77QPF6TI.js → KBS6KTYI.js} +1 -1
- package/dist/cdn/{I4NXDFWY.js → KFA7FTNZ.js} +1 -1
- package/dist/cdn/{GQXYKKD4.js → KIPFARKD.js} +1 -1
- package/dist/cdn/{V5A56PRN.js → KNFJLBIE.js} +1 -1
- package/dist/cdn/{NHK65POU.js → KNPDOZNS.js} +1 -1
- package/dist/cdn/{ECHEJ6SW.js → KNTACTGB.js} +1 -1
- package/dist/cdn/KRH5MPGH.js +2 -0
- package/dist/cdn/{7OBQZBQO.js → KSVBGP3Z.js} +1 -1
- package/dist/cdn/{4EUZ5NCL.js → KTDNZON5.js} +1 -1
- package/dist/cdn/{GGN2NVG7.js → L5K3Q5B5.js} +1 -1
- package/dist/cdn/{IUO5DHED.js → L5MDUKTG.js} +1 -1
- package/dist/cdn/{SWZN2LJN.js → L6BJ6CYZ.js} +1 -1
- package/dist/cdn/{6KDG3KXI.js → LCYTCTQT.js} +1 -1
- package/dist/cdn/{YG44TKRR.js → LFNSZOQE.js} +1 -1
- package/dist/cdn/{HEIRYQKE.js → LGG2TPB2.js} +1 -1
- package/dist/cdn/{36WX25I4.js → LGZJIUNW.js} +1 -1
- package/dist/cdn/{6KC3T5KT.js → LH4N66RE.js} +1 -1
- package/dist/cdn/{SI73BH5Q.js → LPTPCSHN.js} +1 -1
- package/dist/cdn/{3LPI2VLI.js → LTPRH4E2.js} +1 -1
- package/dist/cdn/{4WCY7DGR.js → M5LTYJFF.js} +1 -1
- package/dist/cdn/{NKKNKLBI.js → MBP5HTGH.js} +1 -1
- package/dist/cdn/{NPY3VBCU.js → MCASCTLW.js} +1 -1
- package/dist/cdn/MNE4UEPH.js +2 -0
- package/dist/cdn/{HAVN3BXW.js → MPHLIEUK.js} +1 -1
- package/dist/cdn/{UPQJZ4VA.js → MQIWQAZ6.js} +1 -1
- package/dist/cdn/{MVBWGXLS.js → MQYPICXK.js} +1 -1
- package/dist/cdn/{U4E7KMZA.js → MTLXZPHM.js} +1 -1
- package/dist/cdn/{5XC5NHCI.js → MTPHOQBR.js} +1 -1
- package/dist/cdn/{MXQ4J764.js → N42VGE2L.js} +1 -1
- package/dist/cdn/{LMO4H6JB.js → N4ICYQ2I.js} +1 -1
- package/dist/cdn/{2ZK652UN.js → NABQXXX6.js} +1 -1
- package/dist/cdn/{TI33IM3W.js → NLL3KTFV.js} +1 -1
- package/dist/cdn/{4MYEWR4O.js → NQKL3ZZX.js} +1 -1
- package/dist/cdn/{WYTTRLKU.js → NU2GYSTB.js} +1 -1
- package/dist/cdn/{WEXLR3NQ.js → NYRI5FOM.js} +1 -1
- package/dist/cdn/{24U6DHQD.js → NZTDSANC.js} +1 -1
- package/dist/cdn/{3NLHESH5.js → NZVXGBAD.js} +1 -1
- package/dist/cdn/{GQK6TEJ5.js → O6QC66YX.js} +1 -1
- package/dist/cdn/{OM6LULIZ.js → OAXF6WOP.js} +1 -1
- package/dist/cdn/{ONVFT6TQ.js → OCAPIM3Z.js} +1 -1
- package/dist/cdn/{PNPZVEGZ.js → OEZYCVVM.js} +1 -1
- package/dist/cdn/{YFWKR3JI.js → OHEJGIWK.js} +1 -1
- package/dist/cdn/{I6JC44S3.js → OIRKPY5Q.js} +1 -1
- package/dist/cdn/{TJRY7FHJ.js → OJA46TV5.js} +1 -1
- package/dist/cdn/{A444AODZ.js → OUAD4Q3W.js} +1 -1
- package/dist/cdn/{QLC2RVDQ.js → OZYC4ILU.js} +1 -1
- package/dist/cdn/{EQQOW2HU.js → P4KPVFIJ.js} +1 -1
- package/dist/cdn/{KT7YFUYY.js → PACDBNOC.js} +1 -1
- package/dist/cdn/{PO44WKSG.js → PFO6QFYT.js} +1 -1
- package/dist/cdn/{LGKF2N6J.js → PGW42TQY.js} +1 -1
- package/dist/cdn/{LBO3GPSH.js → PKLVJELG.js} +1 -1
- package/dist/cdn/{M26LXIPE.js → PLDSIZ5D.js} +1 -1
- package/dist/cdn/PREYB6NC.js +2 -0
- package/dist/cdn/{QFJ73GRU.js → PUYDE7JI.js} +1 -1
- package/dist/cdn/{7X6SDG4T.js → PVVFXT47.js} +1 -1
- package/dist/cdn/{RLANFCB3.js → Q46Y3PUA.js} +1 -1
- package/dist/cdn/{KTTFGI23.js → Q4DBDH3N.js} +1 -1
- package/dist/cdn/{XQOSXYOG.js → QZN3KPWX.js} +1 -1
- package/dist/cdn/{5RXVBIIN.js → QZPVQ2RE.js} +1 -1
- package/dist/cdn/{74YGROI2.js → R3RYA4DN.js} +1 -1
- package/dist/cdn/{YW2OX2TN.js → R7J3QIYA.js} +1 -1
- package/dist/cdn/{Z5CYEI56.js → RKYLROBI.js} +1 -1
- package/dist/cdn/{ABADOZAX.js → RLLEY4QY.js} +1 -1
- package/dist/cdn/{EOOAAAWE.js → RMOH4VXA.js} +1 -1
- package/dist/cdn/{XPDGVBSX.js → RRJ6777X.js} +1 -1
- package/dist/cdn/{WC32IFLG.js → RSARMHJ6.js} +1 -1
- package/dist/cdn/{GNZWEVHM.js → RT3GLKVA.js} +1 -1
- package/dist/cdn/{Z5ZVOVEG.js → S2G72I6H.js} +1 -1
- package/dist/cdn/{4CHR5AQY.js → SCTIPFEK.js} +1 -1
- package/dist/cdn/{PLWMP4K6.js → SHTCIJXL.js} +1 -1
- package/dist/cdn/{I53VSBYF.js → SM5ZDJL7.js} +1 -1
- package/dist/cdn/{R2HGTWDL.js → SPROHTDD.js} +1 -1
- package/dist/cdn/{B4RDNDQD.js → SVOJL34V.js} +1 -1
- package/dist/cdn/{OWSH2UST.js → T3MF5KYT.js} +1 -1
- package/dist/cdn/{TYAVYEHM.js → TAFBZKCH.js} +1 -1
- package/dist/cdn/{C4WPN2GS.js → TDELELZE.js} +1 -1
- package/dist/cdn/TEK53J2W.js +2 -0
- package/dist/cdn/{P2A4UHL6.js → TGYMVPHQ.js} +1 -1
- package/dist/cdn/{SLPNM3RW.js → TJNFYFXU.js} +1 -1
- package/dist/cdn/{ZMRMNOXL.js → TMAQVXWR.js} +1 -1
- package/dist/cdn/{WMQ54EOP.js → TQ6BUPGQ.js} +1 -1
- package/dist/cdn/{CF5DPJ5E.js → TRDW2JBZ.js} +1 -1
- package/dist/cdn/{V273E2DS.js → TUXVGZ4P.js} +1 -1
- package/dist/cdn/{KZS7CYKI.js → TZACADOF.js} +1 -1
- package/dist/cdn/{VWLPJFWI.js → U3S7WJJ7.js} +1 -1
- package/dist/cdn/{DFU4QJOF.js → U7G67GXE.js} +1 -1
- package/dist/cdn/{2BWSUOWD.js → UCDNQWFY.js} +1 -1
- package/dist/cdn/{ZWCH2FSP.js → UDB4NVVF.js} +1 -1
- package/dist/cdn/{UFIXUQ76.js → UKQJYVAP.js} +1 -1
- package/dist/cdn/{UNFNZ4Q7.js → UKXSSUVJ.js} +1 -1
- package/dist/cdn/{BGEH2C44.js → UPXULFF7.js} +1 -1
- package/dist/cdn/{TN75LWTI.js → URRGPUZB.js} +1 -1
- package/dist/cdn/{XJSQF3BD.js → USJBDA5V.js} +1 -1
- package/dist/cdn/{XNTCBTPU.js → UXL35RVG.js} +1 -1
- package/dist/cdn/{H7GIAKYV.js → UXZYI6UZ.js} +1 -1
- package/dist/cdn/{UOJST2V4.js → V4OAA3XL.js} +1 -1
- package/dist/cdn/{ZJ2AYHW6.js → VA4XYI2T.js} +1 -1
- package/dist/cdn/{7I335K4G.js → VAEAD5R4.js} +1 -1
- package/dist/cdn/{MXT7FOQA.js → VGS6JOC2.js} +1 -1
- package/dist/cdn/{FTEHOQI6.js → VL45GCZD.js} +1 -1
- package/dist/cdn/{OQTWSNJ6.js → VMICEAIS.js} +1 -1
- package/dist/cdn/{V7YWVHBX.js → VP2TE3XU.js} +1 -1
- package/dist/cdn/{FCFT6F7S.js → VTENJJ5B.js} +1 -1
- package/dist/cdn/{EFQ6PB75.js → VYMJI2FQ.js} +1 -1
- package/dist/cdn/{ZW3ZNFYI.js → W5B5MEWO.js} +1 -1
- package/dist/cdn/{L2AXRJFR.js → WCGW4J2U.js} +1 -1
- package/dist/cdn/{XOQS7GNR.js → WCZQCNOI.js} +1 -1
- package/dist/cdn/{AMWJET7O.js → WE5DPCO4.js} +1 -1
- package/dist/cdn/{IUVIG5KE.js → WFJN7TCP.js} +1 -1
- package/dist/cdn/{JOTRAPIN.js → WQEBOAM5.js} +1 -1
- package/dist/cdn/{I4L4KPGK.js → WQTO42RP.js} +1 -1
- package/dist/cdn/{ON5PPM2N.js → WR3ESMFJ.js} +1 -1
- package/dist/cdn/{2KI5JQFR.js → WSKDXPZH.js} +1 -1
- package/dist/cdn/{KFXLQIC5.js → WUHODB3Q.js} +1 -1
- package/dist/cdn/{CI22IYKP.js → WWHSCYAZ.js} +1 -1
- package/dist/cdn/{PESGPSYQ.js → WX25YMQL.js} +1 -1
- package/dist/cdn/{66WCZ75F.js → X3T3HSUC.js} +1 -1
- package/dist/cdn/{DFXZPZGI.js → X4JK5MUS.js} +1 -1
- package/dist/cdn/X4T5S63H.js +2 -0
- package/dist/cdn/{NKK27XKY.js → X54B3XPB.js} +1 -1
- package/dist/cdn/{3AAY73SE.js → XCQKSM5K.js} +1 -1
- package/dist/cdn/{SUSJGO7S.js → XD5ORM7N.js} +1 -1
- package/dist/cdn/{SGRNBHVD.js → XGDR2OED.js} +1 -1
- package/dist/cdn/{CIR2ZEMV.js → XQ2VEJ2Y.js} +1 -1
- package/dist/cdn/{GQBT2JWS.js → Y2TXEMDP.js} +1 -1
- package/dist/cdn/{UOQOPISG.js → Y3ZDN6UG.js} +1 -1
- package/dist/cdn/{5TXFEC6B.js → YBWFQGGX.js} +1 -1
- package/dist/cdn/{LVFC4AWR.js → YJWQBP3B.js} +1 -1
- package/dist/cdn/{6NA3MXVP.js → YN373MGV.js} +1 -1
- package/dist/cdn/{HHRCKFXQ.js → ZARHXEDQ.js} +1 -1
- package/dist/cdn/{GJGUY2TX.js → ZE4WPZRT.js} +1 -1
- package/dist/cdn/{LZMMWLXN.js → ZHNNMJGW.js} +1 -1
- package/dist/cdn/{JTUQ2CV5.js → ZINDUBU7.js} +1 -1
- package/dist/cdn/{RXYXPOMC.js → ZMU6ISN4.js} +1 -1
- package/dist/cdn/{AN62CGCK.js → ZTYEPT6Y.js} +1 -1
- package/dist/cdn/{7KODDU5C.js → ZULRPUWX.js} +1 -1
- package/dist/cdn/{XQXWBSON.js → ZW6FHDCC.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.js +68 -60
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +62 -62
- package/dist/components/arcgis-selection-list/customElement.d.ts +12 -0
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +18 -0
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/cdn/2FFYTIQO.js +0 -2
- package/dist/cdn/7LPF5IGM.js +0 -2
- package/dist/cdn/ACTNLLAZ.js +0 -2
- package/dist/cdn/CSMLJNYF.js +0 -2
- package/dist/cdn/I5BFVPTT.js +0 -2
- package/dist/cdn/I7WLGS7M.js +0 -2
- package/dist/cdn/NGT2EGLV.js +0 -2
- package/dist/cdn/O7ORSE4M.js +0 -2
- package/dist/cdn/ZX3ATZ6W.js +0 -2
|
@@ -2,39 +2,40 @@
|
|
|
2
2
|
import { c as x } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as h } from "lit";
|
|
4
4
|
import { keyed as v } from "lit/directives/keyed.js";
|
|
5
|
-
import { repeat as
|
|
5
|
+
import { repeat as U } from "lit/directives/repeat.js";
|
|
6
6
|
import k from "@arcgis/core/layerList/LayerListModel.js";
|
|
7
|
-
import { classes as
|
|
8
|
-
import { generateGuid as
|
|
7
|
+
import { classes as B } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { generateGuid as S } from "@arcgis/toolkit/string";
|
|
9
9
|
import { createRef as w, ref as b } from "lit/directives/ref.js";
|
|
10
10
|
import { u as G } from "../../chunks/useT9n.js";
|
|
11
11
|
import { m as H } from "../../chunks/useViewModel.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import { m as q } from "../../chunks/handle.js";
|
|
13
|
+
import { g as C } from "../../chunks/globalCss.js";
|
|
14
|
+
import { c as y } from "../../chunks/css.js";
|
|
15
|
+
import { g as m, a as M, m as V, b as j, r as T, s as z, c as J, d as K, e as Q } from "../../chunks/layer-list-utils.js";
|
|
15
16
|
import p from "@arcgis/core/core/Collection.js";
|
|
16
|
-
import { on as
|
|
17
|
-
import { LitElement as
|
|
18
|
-
import { usePropertyChange as
|
|
19
|
-
import { reEmitEvent as
|
|
20
|
-
import { u as
|
|
21
|
-
import { ArcgisLayerListItem as
|
|
22
|
-
import { s as
|
|
23
|
-
import { i as
|
|
17
|
+
import { on as $, watch as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
18
|
+
import { LitElement as W, createEvent as I, renderElement as D, safeClassMap as F, nothing as O } from "@arcgis/lumina";
|
|
19
|
+
import { usePropertyChange as X } from "@arcgis/lumina/controllers";
|
|
20
|
+
import { reEmitEvent as Y } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
21
|
+
import { u as Z } from "../../chunks/useCloseEvent.js";
|
|
22
|
+
import { ArcgisLayerListItem as ee } from "./layer-list-item/customElement.js";
|
|
23
|
+
import { s as te, a as se } from "../../chunks/layer-list-next.js";
|
|
24
|
+
import { i as ie, h as ae, r as re } from "../../chunks/utils.js";
|
|
24
25
|
import "../arcgis-layer-list-item-indicator/customElement.js";
|
|
25
|
-
const P = "nested",
|
|
26
|
-
class oe extends
|
|
26
|
+
const P = "nested", le = H(k);
|
|
27
|
+
class oe extends W {
|
|
27
28
|
constructor() {
|
|
28
|
-
super(...arguments), this._lastDragDetail = null, this._rootListRef = w(), this._layerFlowItemRef = w(), this._panelFlowItemRef = w(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${
|
|
29
|
+
super(...arguments), this._lastDragDetail = null, this._rootListRef = w(), this._layerFlowItemRef = w(), this._panelFlowItemRef = w(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${S()}`, this._openedLayersController = null, this._updateAnimationFrame = null, this.messages = G(), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, a) => {
|
|
29
30
|
const i = a === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, r = m(e, this.operationalItems);
|
|
30
31
|
if (!r?.sortable)
|
|
31
32
|
return !1;
|
|
32
|
-
const
|
|
33
|
+
const l = this._resolveListContainer(t), o = this._resolveListContainer(s), n = this._getContainerItem(l), d = M(l), g = this._getContainerItem(o), u = M(o), L = !!d && !!u && d === u, f = {
|
|
33
34
|
selected: r,
|
|
34
35
|
from: n,
|
|
35
36
|
to: g
|
|
36
|
-
}, _ =
|
|
37
|
-
return _ && c && typeof i == "function" ? i(
|
|
37
|
+
}, _ = l?.group, c = o?.group, R = n?.layer?.type ?? "", N = g?.layer?.type ?? "", E = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
|
|
38
|
+
return _ && c && typeof i == "function" ? i(f) : L && !E.has(R) && !E.has(N) && r?.layer?.type !== "sublayer";
|
|
38
39
|
}, this._onCatalogOpen = (e) => {
|
|
39
40
|
this.openedLayers.push(e.layer?.parent);
|
|
40
41
|
}, this._onTablesOpen = (e) => {
|
|
@@ -46,21 +47,27 @@ class oe extends Q {
|
|
|
46
47
|
}, this._setActiveItem = (e) => {
|
|
47
48
|
if (this.visibilityAppearance !== "default")
|
|
48
49
|
return;
|
|
49
|
-
const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(
|
|
50
|
+
const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(y.item)), s = m(t, this.operationalItems);
|
|
50
51
|
this._activeItem = s;
|
|
51
|
-
}, this.
|
|
52
|
+
}, this._scheduleUpdate = () => {
|
|
53
|
+
this._updateAnimationFrame === null && (this._updateAnimationFrame = requestAnimationFrame(() => {
|
|
54
|
+
this._updateAnimationFrame = null, this.isConnected && this.requestUpdate();
|
|
55
|
+
}));
|
|
56
|
+
}, this._cancelScheduledUpdate = () => {
|
|
57
|
+
this._updateAnimationFrame !== null && (cancelAnimationFrame(this._updateAnimationFrame), this._updateAnimationFrame = null);
|
|
58
|
+
}, this.viewModel = le(this), this.arcgisClose = Z(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
|
|
52
59
|
t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
|
|
53
60
|
}, this._onSelectedDragItemLayerUidChange = (e) => {
|
|
54
61
|
this._selectedDragItemLayerUid = e;
|
|
55
62
|
}, this._onTriggerAction = (e, t) => {
|
|
56
63
|
this.triggerAction(e, t);
|
|
57
|
-
}, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems = V, this.minFilterItems = j, this.openedLayers = new p(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new p(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisFilterChange = I(), this.arcgisOpenedLayersChange = I(), this.arcgisPropertyChange =
|
|
64
|
+
}, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems = V, this.minFilterItems = j, this.openedLayers = new p(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new p(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisFilterChange = I(), this.arcgisOpenedLayersChange = I(), this.arcgisPropertyChange = X()("state"), this.arcgisReady = I(), this.arcgisSelectedItemsChange = I(), this.arcgisTriggerAction = Y(() => this.viewModel, "trigger-action");
|
|
58
65
|
}
|
|
59
66
|
static {
|
|
60
67
|
this.properties = { _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, _totalItems: 16, _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, layerTablesEnabled: 16, mapImageOptions: 16, openedLayerLists: 16, tileOptions: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 5, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesAvailable: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, listModeDisabled: 5, messageOverrides: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 32, operationalItems: 0, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, view: 0, visibilityAppearance: 1 };
|
|
61
68
|
}
|
|
62
69
|
static {
|
|
63
|
-
this.styles = [
|
|
70
|
+
this.styles = [te, se];
|
|
64
71
|
}
|
|
65
72
|
get _totalItems() {
|
|
66
73
|
return this.viewModel.operationalItems.flatten((t) => t.children.filter((s) => s.layer?.type !== "catalog-dynamic-group")).length;
|
|
@@ -69,7 +76,7 @@ class oe extends Q {
|
|
|
69
76
|
return this.operationalItems?.filter((e) => !e.hidden && (this.showErrors || !e.error));
|
|
70
77
|
}
|
|
71
78
|
get _openedPanelItems() {
|
|
72
|
-
return this._visibleItems.flatten((e) => e.children).filter((e) => !e.hidden && e.panel?.open && !e.panel.disabled && e.panel.flowEnabled && (!
|
|
79
|
+
return this._visibleItems.flatten((e) => e.children).filter((e) => !e.hidden && e.panel?.open && !e.panel.disabled && e.panel.flowEnabled && (!ie(e) || ae(e)));
|
|
73
80
|
}
|
|
74
81
|
get _dragEnabled() {
|
|
75
82
|
return this._totalItems >= this.minDragEnabledItems && this.dragEnabled;
|
|
@@ -92,15 +99,16 @@ class oe extends Q {
|
|
|
92
99
|
}
|
|
93
100
|
loaded() {
|
|
94
101
|
this.manager.onLifecycle(() => [
|
|
95
|
-
|
|
102
|
+
$(() => this.openedLayers, "change", () => {
|
|
96
103
|
this._handleOpenedLayersChange();
|
|
97
104
|
}, { initial: !0 }),
|
|
98
|
-
|
|
105
|
+
$(() => this.viewModel.operationalItems, "change", () => T(this.selectedItems), { initial: !0 }),
|
|
99
106
|
A(() => this.operationalItems.flatten((e) => e.children).map((e) => e.uid).join(","), () => {
|
|
100
|
-
|
|
107
|
+
T(this.selectedItems), this._scheduleUpdate();
|
|
101
108
|
}, { initial: !0 }),
|
|
102
|
-
|
|
103
|
-
|
|
109
|
+
q(this._cancelScheduledUpdate),
|
|
110
|
+
$(() => this.selectedItems, "change", () => this.arcgisSelectedItemsChange.emit()),
|
|
111
|
+
A(() => [this.filterPredicate, this._rootListRef.value], () => z(this._rootListRef.value, this.filterPredicate, this.operationalItems))
|
|
104
112
|
]);
|
|
105
113
|
}
|
|
106
114
|
triggerAction(e, t) {
|
|
@@ -142,22 +150,22 @@ class oe extends Q {
|
|
|
142
150
|
const { _layerListMap: e, openedLayers: t, openedLayerLists: s } = this;
|
|
143
151
|
this._openedLayersController?.abort();
|
|
144
152
|
const a = new AbortController(), { signal: i } = a;
|
|
145
|
-
this._openedLayersController = a, e.forEach((
|
|
146
|
-
t.includes(n) || (
|
|
153
|
+
this._openedLayersController = a, e.forEach((o, n) => {
|
|
154
|
+
t.includes(n) || (o?.destroy?.(), e.delete(n));
|
|
147
155
|
});
|
|
148
|
-
const r = await Promise.all(t.map((
|
|
156
|
+
const r = await Promise.all(t.map((o) => this._createFlowList(o, i)));
|
|
149
157
|
if (i.aborted)
|
|
150
158
|
return;
|
|
151
159
|
s.removeAll(), s.addMany(r);
|
|
152
|
-
const
|
|
153
|
-
|
|
160
|
+
const l = s.at(-1);
|
|
161
|
+
l ? "catalogLayer" in l ? (this._catalogLayerList = l, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = l) : (this._catalogLayerList = void 0, this._tableList = void 0), this.arcgisOpenedLayersChange.emit();
|
|
154
162
|
}
|
|
155
163
|
_destroyOpenedLayerLists() {
|
|
156
164
|
this.openedLayerLists.destroyAll(), this.openedLayers.removeAll(), this._layerListMap.clear();
|
|
157
165
|
}
|
|
158
166
|
async _createCatalogLayerList(e) {
|
|
159
|
-
const { headingLevel: t, catalogOptions: s, filterPlaceholder: a, listItemCreatedFunction: i, minFilterItems: r, selectionMode:
|
|
160
|
-
return D(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? r} .selectionMode=${s?.selectionMode ??
|
|
167
|
+
const { headingLevel: t, catalogOptions: s, filterPlaceholder: a, listItemCreatedFunction: i, minFilterItems: r, selectionMode: l, visibilityAppearance: o } = this;
|
|
168
|
+
return D(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? r} .selectionMode=${s?.selectionMode ?? l} .visibilityAppearance=${s?.visibilityAppearance ?? o} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
|
|
161
169
|
}
|
|
162
170
|
_getTableListParams(e) {
|
|
163
171
|
switch (e.type) {
|
|
@@ -185,10 +193,10 @@ class oe extends Q {
|
|
|
185
193
|
e.open = !1;
|
|
186
194
|
}
|
|
187
195
|
_moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: s, newIndex: a }) {
|
|
188
|
-
const i = this._resolveListContainer(e), r = this._resolveListContainer(t),
|
|
189
|
-
a == null || !
|
|
196
|
+
const i = this._resolveListContainer(e), r = this._resolveListContainer(t), l = m(s, this.operationalItems), o = this._getContainerItem(i), n = this._getContainerItem(r);
|
|
197
|
+
a == null || !l || (this.viewModel.moveItem(l, n, o, a), re(
|
|
190
198
|
this,
|
|
191
|
-
|
|
199
|
+
l.uid,
|
|
192
200
|
// Make sure we have the current node and not a stale one
|
|
193
201
|
(d) => d !== s && this._resolveListContainer(d.parentElement) === i
|
|
194
202
|
));
|
|
@@ -202,15 +210,15 @@ class oe extends Q {
|
|
|
202
210
|
i == null || !t || !a || t.insertBefore(a, t.children[i]);
|
|
203
211
|
}
|
|
204
212
|
_onCalciteListOrderChange(e) {
|
|
205
|
-
const { _lastDragDetail: t } = this, { dragEl: s, newIndex: a } = e, i = this._resolveListContainer(e.fromEl), r = this._resolveListContainer(e.toEl),
|
|
206
|
-
if (!(!i || !r ||
|
|
213
|
+
const { _lastDragDetail: t } = this, { dragEl: s, newIndex: a } = e, i = this._resolveListContainer(e.fromEl), r = this._resolveListContainer(e.toEl), l = t?.newIndex === a && t?.dragEl === s && t?.toEl === r && t?.fromEl === i;
|
|
214
|
+
if (!(!i || !r || l)) {
|
|
207
215
|
if (this._lastDragDetail = {
|
|
208
216
|
...e,
|
|
209
217
|
fromEl: i,
|
|
210
218
|
toEl: r
|
|
211
|
-
}, this._selectedDragItemLayerUid = s.value, i === r) {
|
|
212
|
-
const
|
|
213
|
-
this._sortLayers(i,
|
|
219
|
+
}, this._selectedDragItemLayerUid = s.value.layer?.uid ?? null, i === r) {
|
|
220
|
+
const o = Array.from(i.children).filter((n) => n?.matches("calcite-list-item")).map((n) => n.value.layer?.uid ?? "");
|
|
221
|
+
this._sortLayers(i, o);
|
|
214
222
|
return;
|
|
215
223
|
}
|
|
216
224
|
this._moveLayerFromChildList({
|
|
@@ -224,12 +232,12 @@ class oe extends Q {
|
|
|
224
232
|
_sortLayers(e, t) {
|
|
225
233
|
if (e)
|
|
226
234
|
if (e === this._rootListRef.value)
|
|
227
|
-
|
|
235
|
+
J(this.el.view?.map?.layers, t);
|
|
228
236
|
else {
|
|
229
237
|
const s = m(e, this.operationalItems);
|
|
230
238
|
if (!s)
|
|
231
239
|
return;
|
|
232
|
-
|
|
240
|
+
K(s, t);
|
|
233
241
|
}
|
|
234
242
|
}
|
|
235
243
|
_handleCalciteListChange(e) {
|
|
@@ -241,10 +249,10 @@ class oe extends Q {
|
|
|
241
249
|
}
|
|
242
250
|
render() {
|
|
243
251
|
const { state: e } = this, t = {
|
|
244
|
-
[
|
|
245
|
-
[
|
|
252
|
+
[C.hidden]: e === "loading",
|
|
253
|
+
[C.disabled]: e === "disabled"
|
|
246
254
|
};
|
|
247
|
-
return h`<div class=${
|
|
255
|
+
return h`<div class=${F(B(C.widget, t))}>${this._visibleItems?.length ? this._renderItemTooltips() : null}${this._renderItems()}</div>`;
|
|
248
256
|
}
|
|
249
257
|
_renderItemTooltip(e) {
|
|
250
258
|
const { _tooltipReferenceMap: t, messages: s } = this;
|
|
@@ -263,7 +271,7 @@ class oe extends Q {
|
|
|
263
271
|
return h`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
|
|
264
272
|
}
|
|
265
273
|
_renderNoItems() {
|
|
266
|
-
return this.hideNoItemsNotice ? null : h`<div class=${
|
|
274
|
+
return this.hideNoItemsNotice ? null : h`<div class=${F(y.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
|
|
267
275
|
}
|
|
268
276
|
_renderLayerFlowItem(e, t) {
|
|
269
277
|
const { messages: s, openedLayers: a } = this, i = e.title || this.messages.untitledLayer;
|
|
@@ -273,25 +281,25 @@ class oe extends Q {
|
|
|
273
281
|
}
|
|
274
282
|
_renderPanelFlowItems() {
|
|
275
283
|
const { _openedPanelItems: e, openedLayers: t } = this;
|
|
276
|
-
return
|
|
277
|
-
const { panel: r, title:
|
|
278
|
-
return h`<calcite-flow-item .description=${
|
|
279
|
-
n.preventDefault(),
|
|
280
|
-
}} ${b(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${a} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${
|
|
284
|
+
return U(e.toArray(), (a) => a.uid, (a, i) => {
|
|
285
|
+
const { panel: r, title: l } = a, o = () => this._handlePanelFlowItemBack(r);
|
|
286
|
+
return h`<calcite-flow-item .description=${l} .heading=${r.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(n) => {
|
|
287
|
+
n.preventDefault(), o();
|
|
288
|
+
}} ${b(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${a} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${o} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
|
|
281
289
|
});
|
|
282
290
|
}
|
|
283
291
|
_renderItems() {
|
|
284
|
-
const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: r, showCollapseButton:
|
|
285
|
-
h`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${
|
|
292
|
+
const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: r, showCollapseButton: l, showHeading: o, _dragEnabled: n, selectionMode: d, filterText: g, openedLayers: u, filterPlaceholder: L, messages: f } = this, _ = [
|
|
293
|
+
h`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${l} .heading=${o ? f.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !s.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${i ?? O} .displayMode=${P} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${L} .filterProps=${Q} .filterText=${a ? g : ""} .group=${i} .label=${f.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${d} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(c) => {
|
|
286
294
|
this.filterText = c.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
|
|
287
|
-
}} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${b(this._rootListRef)}>${t.toArray().map((c) => this._renderItem(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${
|
|
295
|
+
}} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${b(this._rootListRef)}>${t.toArray().map((c) => this._renderItem(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${F(y.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>` : null}</calcite-list>` : this._renderNoItems()}</calcite-flow-item>`,
|
|
288
296
|
this._renderPanelFlowItems(),
|
|
289
297
|
this._renderedOpenLayerFlowItems
|
|
290
298
|
];
|
|
291
299
|
return this.closed ? null : v("root-flow", h`<calcite-flow>${_}</calcite-flow>`);
|
|
292
300
|
}
|
|
293
301
|
_renderItem(e, t, s) {
|
|
294
|
-
return v(e.uid,
|
|
302
|
+
return v(e.uid, ee({ activeItem: this._activeItem, canMove: this._canMove, css: y, displayMode: P, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
|
|
295
303
|
}
|
|
296
304
|
}
|
|
297
305
|
x("arcgis-layer-list-next", oe);
|
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { html as s } from "lit";
|
|
3
|
-
import { keyed as
|
|
4
|
-
import { isLayerFromCatalog as
|
|
3
|
+
import { keyed as W } from "lit/directives/keyed.js";
|
|
4
|
+
import { isLayerFromCatalog as Pe } from "@arcgis/core/layers/catalog/catalogUtils.js";
|
|
5
5
|
import { safeClassMap as r, nothing as d } from "@arcgis/lumina";
|
|
6
|
-
import { classes as
|
|
7
|
-
import { createRef as
|
|
8
|
-
import { a as
|
|
9
|
-
import { f as
|
|
10
|
-
import { a as
|
|
11
|
-
const
|
|
12
|
-
function
|
|
13
|
-
return l ?
|
|
6
|
+
import { classes as X } from "@arcgis/toolkit/dom";
|
|
7
|
+
import { createRef as Y, ref as Z } from "lit/directives/ref.js";
|
|
8
|
+
import { a as we } from "../../../chunks/action-utils.js";
|
|
9
|
+
import { f as Oe, i as ee, l as Fe, h as Ge, j as Re, k as Ve, g as He } from "../../../chunks/layer-list-utils.js";
|
|
10
|
+
import { a as Ue, b as qe, i as je, g as te, t as ie, h as ae, c as Be, F as Ne, d as _e, L as le, f as ze } from "../../../chunks/utils.js";
|
|
11
|
+
const ne = /* @__PURE__ */ new Map();
|
|
12
|
+
function se(l) {
|
|
13
|
+
return l ? ne.get(l) ?? !1 : !1;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
const g = !(l.aria?.pressed ??
|
|
17
|
-
return l.aria = { ...l.aria, pressed: g }, e &&
|
|
15
|
+
function Je(l, e) {
|
|
16
|
+
const g = !(l.aria?.pressed ?? se(e));
|
|
17
|
+
return l.aria = { ...l.aria, pressed: g }, e && ne.set(e, g), g;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
const { item: e, itemType: g = "layer", parent: v, hideStatusIndicators:
|
|
21
|
-
let F = null;
|
|
22
|
-
!ne && !c && (F = s`<arcgis-layer-list-item-indicator class=${r(i.statusIndicator)} .messages=${a} .item=${e} .parent=${v} slot=content-end></arcgis-layer-list-item-indicator>`);
|
|
19
|
+
function Ke(l) {
|
|
20
|
+
const { item: e, itemType: g = "layer", parent: v, hideStatusIndicators: ce, css: i, visibilityAppearance: I, hideCatalogLayerList: oe, dragEnabled: E = !1, rootGroupUid: A, listModeDisabled: re = !1, selectionMode: T, displayMode: de, layerTablesEnabled: C, showErrors: me, parentTitles: P, selectedItems: ue, activeItem: pe, handleCatalogOpen: be, handleTablesOpen: ge, selectedDragItemLayerUid: w, handleSelectedDragItemLayerUidChange: ye, handlePanelOpen: $e, messages: a, setCurrentActiveItem: O, clearActiveItem: F } = l, ve = Ue(e), fe = qe(e), c = je(e), y = Y(), S = Y(), he = g === "table" ? a.untitledTable ?? "" : a.untitledLayer ?? "", Ie = ve ? a.trackInfo?.[e.content.name] ?? e.content.name : "", Ae = fe ? a.telemetryDisplay?.[e.content.name] ?? e.content.name : "", p = e.title || Ie || Ae || he || "";
|
|
23
21
|
let G = null;
|
|
22
|
+
!ce && !c && (G = s`<arcgis-layer-list-item-indicator class=${r(i.statusIndicator)} .messages=${a} .item=${e} .parent=${v} slot=content-end></arcgis-layer-list-item-indicator>`);
|
|
23
|
+
let R = null;
|
|
24
24
|
{
|
|
25
|
-
const { layer: t } = e, n = t && "persistenceEnabled" in t && (
|
|
26
|
-
!c && (l.showTemporaryLayerIndicators || l.showTemporaryTableIndicators) && n && (
|
|
25
|
+
const { layer: t } = e, n = t && "persistenceEnabled" in t && (Pe(t) || !t.persistenceEnabled);
|
|
26
|
+
!c && (l.showTemporaryLayerIndicators || l.showTemporaryTableIndicators) && n && (R = s`<calcite-icon class=${r(i.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${a.temporary ?? d}></calcite-icon>`);
|
|
27
27
|
}
|
|
28
|
-
let
|
|
28
|
+
let V = null;
|
|
29
29
|
if ("visible" in e && "visibleToggle" in i && I) {
|
|
30
|
-
const t =
|
|
30
|
+
const t = te(v);
|
|
31
31
|
if (t !== "inherited") {
|
|
32
|
-
const n =
|
|
32
|
+
const n = Oe({
|
|
33
33
|
visible: e.visible,
|
|
34
34
|
exclusive: t === "exclusive",
|
|
35
35
|
visibilityAppearance: I
|
|
36
|
-
}), o = I === "checkbox", m = a.layerVisibility, $ = p, b = $ ? `${m ?? ""}: ${$}` : m ?? "",
|
|
37
|
-
|
|
38
|
-
c ||
|
|
39
|
-
}} .slot=${o ? "actions-start" : "actions-end"} .text=${m ?? ""} title=${m ?? d}>${o ? null : s`<calcite-icon class=${r(
|
|
36
|
+
}), o = I === "checkbox", m = a.layerVisibility, $ = p, b = $ ? `${m ?? ""}: ${$}` : m ?? "", h = c ? e.visible : se(e.layer?.id);
|
|
37
|
+
V = s`<calcite-action .aria=${{ pressed: h }} class=${r(i.visibleToggle)} .icon=${o ? n : void 0} .label=${b} @click=${(D) => {
|
|
38
|
+
c || Je(D.currentTarget, e.layer?.id), ie(e, v);
|
|
39
|
+
}} .slot=${o ? "actions-start" : "actions-end"} .text=${m ?? ""} title=${m ?? d}>${o ? null : s`<calcite-icon class=${r(X({
|
|
40
40
|
[i.visibleIcon]: t !== "exclusive" && e.visible
|
|
41
41
|
}))} .icon=${n} scale=s></calcite-icon>`}</calcite-action>`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
let
|
|
44
|
+
let H = null;
|
|
45
45
|
{
|
|
46
46
|
const t = e.panel;
|
|
47
|
-
t?.open && !t.disabled && !t.flowEnabled && (!c ||
|
|
47
|
+
t?.open && !t.disabled && !t.flowEnabled && (!c || ae(e)) && (H = s`<div class=${r(i.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${l.view}></arcgis-layer-list-item-panel></div>`);
|
|
48
48
|
}
|
|
49
|
-
let
|
|
49
|
+
let U = null;
|
|
50
50
|
{
|
|
51
51
|
const t = e.panel;
|
|
52
|
-
if (t?.visible && (!c ||
|
|
52
|
+
if (t?.visible && (!c || ae(e))) {
|
|
53
53
|
const { open: n, title: o, disabled: m } = t;
|
|
54
54
|
(t.content === "legend" || Array.isArray(t.content) && t.content.includes("legend")) && (t.icon = "legend");
|
|
55
55
|
const $ = {
|
|
56
56
|
icon: t.icon,
|
|
57
57
|
image: t.image ?? void 0,
|
|
58
58
|
indicator: !1
|
|
59
|
-
}, b =
|
|
60
|
-
|
|
59
|
+
}, b = we($);
|
|
60
|
+
U = s`<calcite-action .active=${n} .disabled=${m} .icon=${b} @click=${() => Be(e, $e)} slot=actions-end .text=${o ?? ""} title=${o ?? void 0 ?? d}>${Ne(i, t)}</calcite-action>`;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
let U = null;
|
|
64
|
-
{
|
|
65
|
-
const t = e.layer, n = t?.type === "catalog-footprint", o = t?.type === "sublayer" && Y(t, "footprints");
|
|
66
|
-
!c && "itemCatalogIcon" in i && (n || o) && (U = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`);
|
|
67
|
-
}
|
|
68
63
|
let q = null;
|
|
69
64
|
{
|
|
70
|
-
const t = e.layer, n = t?.type === "catalog-
|
|
71
|
-
!c && "itemCatalogIcon" in i && (n || o) && (q = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=
|
|
65
|
+
const t = e.layer, n = t?.type === "catalog-footprint", o = t?.type === "sublayer" && ee(t, "footprints");
|
|
66
|
+
!c && "itemCatalogIcon" in i && (n || o) && (q = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`);
|
|
72
67
|
}
|
|
73
68
|
let j = null;
|
|
69
|
+
{
|
|
70
|
+
const t = e.layer, n = t?.type === "catalog-dynamic-group", o = t?.type === "sublayer" && ee(t, "layers-in-view");
|
|
71
|
+
!c && "itemCatalogIcon" in i && (n || o) && (j = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`);
|
|
72
|
+
}
|
|
73
|
+
let B = null;
|
|
74
74
|
if ("visible" in e) {
|
|
75
75
|
const t = e.layer;
|
|
76
|
-
!c && !
|
|
76
|
+
!c && !oe && t?.type === "catalog-dynamic-group" && (B = s`<calcite-action .disabled=${!t.visible} icon=chevron-right icon-flip-rtl @click=${() => be?.(e)} slot=actions-end .text=${p ?? ""}></calcite-action>`);
|
|
77
77
|
}
|
|
78
|
-
let
|
|
78
|
+
let N = null, L = !1;
|
|
79
79
|
{
|
|
80
80
|
const t = e.layer;
|
|
81
81
|
if (!c && C && t)
|
|
@@ -88,50 +88,50 @@ function Je(l) {
|
|
|
88
88
|
L = C.includes(t.type) && "subtables" in t && !!t.subtables?.length;
|
|
89
89
|
break;
|
|
90
90
|
}
|
|
91
|
-
"itemTableIcon" in i && "visible" in e && "tables" in a && L && (
|
|
91
|
+
"itemTableIcon" in i && "visible" in e && "tables" in a && L && (N = W(`${e.uid}-tables`, s`<calcite-list-item class=${r(i.item)} data-layer-id=${t?.id ?? d} drag-disabled .label=${a.tables} title=${a.tables ?? d} @calciteListItemSelect=${() => ge?.(e)} .value=${e}><calcite-icon class=${r(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`));
|
|
92
92
|
}
|
|
93
|
-
let
|
|
93
|
+
let _ = null;
|
|
94
94
|
if ("children" in e) {
|
|
95
|
-
const t = [...P ?? [], e.title], { children: n, layer: o } = e, m = o?.type !== "catalog-dynamic-group" &&
|
|
95
|
+
const t = [...P ?? [], e.title], { children: n, layer: o } = e, m = o?.type !== "catalog-dynamic-group" && Fe(e), $ = re ? !1 : Ge(o), b = o?.type === "group", h = !$ && !m && E && b, D = b && "sortable" in e && e.sortable, Me = n.some((u) => "sortable" in u && u.sortable), ke = g === "layer" ? Re(e) : !0, De = E && (m || h) && (Me || h) && ("childrenSortable" in e && e.childrenSortable || D) && ke, Ee = m ? (n?.filter((u) => !u.hidden && (me || !u.error)).toArray() ?? []).map((u) => Ke({
|
|
96
96
|
...l,
|
|
97
97
|
item: u,
|
|
98
98
|
parent: e,
|
|
99
99
|
parentTitles: t
|
|
100
100
|
})) : null;
|
|
101
|
-
(m ||
|
|
101
|
+
(m || h) && (_ = s`<calcite-list .canPull=${(u) => l.canMove ? l.canMove(u, "pull") : !1} .canPut=${(u) => l.canMove ? l.canMove(u, "put") : !1} data-item=${e.uid ?? d} data-layer-type=${A ?? d} .displayMode=${de} .dragEnabled=${De} .group=${b ? A : `${A}-${o?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${T}>${Ee}${N}</calcite-list>`);
|
|
102
102
|
}
|
|
103
103
|
let x = null;
|
|
104
104
|
if (!c && e.error) {
|
|
105
105
|
const t = "layerError" in a ? a.layerError : a.tableError;
|
|
106
106
|
x = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${t}</div></calcite-notice></div>`;
|
|
107
|
-
} else "incompatible" in e && e.incompatible && "layerIncompatible" in a && (x = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${
|
|
108
|
-
const
|
|
107
|
+
} else "incompatible" in e && e.incompatible && "layerIncompatible" in a && (x = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${Z(S)}><div slot=message>${a.layerIncompatible}</div></calcite-notice></div>`);
|
|
108
|
+
const z = _e(e), M = e.actionsSections.reduce((t, n) => t + n.length, 0), J = Ve(z), Te = z.toArray().map((t) => s`<calcite-action-group>${t.toArray().map((n) => le(l, n, !0))}</calcite-action-group>`), Ce = (t) => {
|
|
109
109
|
e.actionsOpen = t.currentTarget.open;
|
|
110
110
|
};
|
|
111
|
-
let
|
|
112
|
-
M > 1 && (
|
|
111
|
+
let K = null;
|
|
112
|
+
M > 1 && (K = s`<calcite-action-menu appearance=transparent .label=${a.menu ?? ""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${Ce}><calcite-action .aria=${{
|
|
113
113
|
expanded: e.actionsOpen ?? !1,
|
|
114
114
|
hasPopup: "true"
|
|
115
|
-
}} icon=ellipsis slot=trigger .text=${a.options ?? ""} title=${a.options ?? d}></calcite-action>${
|
|
115
|
+
}} icon=ellipsis slot=trigger .text=${a.options ?? ""} title=${a.options ?? d}></calcite-action>${Te}</calcite-action-menu>`);
|
|
116
116
|
let k = null;
|
|
117
|
-
M === 1 &&
|
|
118
|
-
const
|
|
119
|
-
return queueMicrotask(() => {
|
|
120
|
-
|
|
121
|
-
}),
|
|
122
|
-
|
|
117
|
+
M === 1 && J ? k = le(l, J, !1) : M > 1 && (k = K);
|
|
118
|
+
const Se = c ? p : "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in a && !e.visibleAtCurrentTimeExtent ? `${p} (${a.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in a && !e.visibleAtCurrentScale ? `${p} (${a.layerInvisibleAtScale})` : p, Le = "parent" in e && e.parent?.layer?.type === "catalog", f = e.layer, xe = !c && ("visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent), Q = !c && w === f?.uid;
|
|
119
|
+
return (Q || "incompatible" in e && e.incompatible) && queueMicrotask(() => {
|
|
120
|
+
Q && ze(y.value ?? null, e, w, ye), S.value && (l.handleTooltipReferenceChange?.(f?.uid, S.value), queueMicrotask(() => l.handleTooltipReferenceChange?.(f?.uid, null)));
|
|
121
|
+
}), W(e.uid, s`<calcite-list-item class=${r(X(i.item, "itemActive" in i && { [i.itemActive]: pe?.uid === e.uid }))} data-item=${e.uid ?? d} data-layer-id=${f?.id ?? d} .dragDisabled=${!("sortable" in e && e.sortable) || Le} id=${(c ? void 0 : f?.uid) ?? d} .label=${p} .metadata=${{ parentTitles: P ?? [], _title: p }} .expanded=${"open" in e && e.open} .selected=${T !== "none" ? ue.includes(e) : !1} title=${Se ?? d} .unavailable=${xe} .value=${e} @focusin=${() => {
|
|
122
|
+
O?.(e), y.value?.classList.add(i.itemActive);
|
|
123
123
|
}} @focusout=${() => {
|
|
124
|
-
|
|
124
|
+
F?.(), y.value?.classList.remove(i.itemActive);
|
|
125
125
|
}} @mouseover=${() => {
|
|
126
|
-
|
|
126
|
+
O?.(e), y.value?.classList.add(i.itemActive);
|
|
127
127
|
}} @mouseleave=${() => {
|
|
128
|
-
|
|
128
|
+
F?.(), y.value?.classList.remove(i.itemActive);
|
|
129
129
|
}} @calciteListItemSelect=${(t) => {
|
|
130
|
-
t.target === t.currentTarget && "visible" in e &&
|
|
130
|
+
t.target === t.currentTarget && "visible" in e && He(t.currentTarget, l.operationalItems) === e && T === "none" && te(v) !== "inherited" && ie(e, v);
|
|
131
131
|
}} @calciteListItemToggle=${(t) => {
|
|
132
132
|
"open" in e && (t.stopPropagation(), e.open = t.target.expanded);
|
|
133
|
-
}} ${
|
|
133
|
+
}} ${Z(y)}>${q}${j}${G}${V}${B}${R}${_}${x}${H}${U}${k}</calcite-list-item>`);
|
|
134
134
|
}
|
|
135
135
|
export {
|
|
136
|
-
|
|
136
|
+
Ke as ArcgisLayerListItem
|
|
137
137
|
};
|
|
@@ -200,12 +200,24 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
200
200
|
* If there are no selected features from this layer, the full list will appear.
|
|
201
201
|
* This value also reflects when a layer is selected from the layer dropdown.
|
|
202
202
|
*
|
|
203
|
+
* > [!WARNING]
|
|
204
|
+
* >
|
|
205
|
+
* > **Known limitations**
|
|
206
|
+
* >
|
|
207
|
+
* > This component currently does not support [KnowledgeGraphSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/knowledgeGraph/KnowledgeGraphSublayer/).
|
|
208
|
+
*
|
|
203
209
|
* @since 5.2
|
|
204
210
|
*/
|
|
205
211
|
accessor layer: SelectableLayer | null | undefined;
|
|
206
212
|
/**
|
|
207
213
|
* Items representing individual layers with an active selection.
|
|
208
214
|
*
|
|
215
|
+
* > [!WARNING]
|
|
216
|
+
* >
|
|
217
|
+
* > **Known limitations**
|
|
218
|
+
* >
|
|
219
|
+
* > This component currently does not support [KnowledgeGraphSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/knowledgeGraph/KnowledgeGraphSublayer/).
|
|
220
|
+
*
|
|
209
221
|
* @since 5.2
|
|
210
222
|
*/
|
|
211
223
|
get layerItems(): LayerItem[];
|
|
@@ -201,6 +201,10 @@ export abstract class ArcgisSelectionToolbar extends LitElement {
|
|
|
201
201
|
accessor label: string | undefined;
|
|
202
202
|
/**
|
|
203
203
|
* Indicates whether [selection operations](/references/core/views/selection/SelectionOperation/) should always query source layers rather than their associated [layer views](/references/core/views/layers/LayerView/) when determining selection results. Querying the source layer may be necessary when the most up-to-date feature data is required. Changing this property while a [selection operation](/references/core/views/selection/SelectionOperation/) is in progress will not affect the active operation. The change will apply only to subsequent operations.
|
|
204
|
+
* > [!WARNING]
|
|
205
|
+
* >
|
|
206
|
+
* > **Known limitations**
|
|
207
|
+
* > This property is not supported for 3D scenes.
|
|
204
208
|
*
|
|
205
209
|
* @default false
|
|
206
210
|
* @since 5.2
|
|
@@ -322,6 +326,12 @@ export abstract class ArcgisSelectionToolbar extends LitElement {
|
|
|
322
326
|
/**
|
|
323
327
|
* An array of layers or [layer views](/references/core/views/layers/LayerView/) used to determine the selection.
|
|
324
328
|
*
|
|
329
|
+
* > [!WARNING]
|
|
330
|
+
* >
|
|
331
|
+
* > **Known limitations**
|
|
332
|
+
* > - This component currently does not support [KnowledgeGraphSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/knowledgeGraph/KnowledgeGraphSublayer/).
|
|
333
|
+
* > - Highlighting selected features is currently not available for [MapImageLayer sublayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/#sublayers).
|
|
334
|
+
*
|
|
325
335
|
* @since 5.2
|
|
326
336
|
*/
|
|
327
337
|
accessor sources: Array<SelectionSource> | null | undefined;
|
|
@@ -771,7 +771,25 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
771
771
|
/**
|
|
772
772
|
* Indicates whether to display the text tool.
|
|
773
773
|
*
|
|
774
|
+
* > [!NOTE]
|
|
775
|
+
* >
|
|
776
|
+
* > **Note:**
|
|
777
|
+
* > To display the text tool in `Sketch`, set `showCreateToolsText` to `true` and add "text" to the [availableCreateTools](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#availableCreateTools) array.
|
|
778
|
+
*
|
|
774
779
|
* @default false
|
|
780
|
+
* @example
|
|
781
|
+
* ```html
|
|
782
|
+
* <arcgis-map basemap="topo-vector" center="139.5716,35.696" zoom="18">
|
|
783
|
+
* <arcgis-sketch slot="top-right" show-create-tools-text="true"></arcgis-sketch>
|
|
784
|
+
* </arcgis-map>
|
|
785
|
+
*
|
|
786
|
+
* <script type="module">
|
|
787
|
+
* const sketch = document.querySelector("arcgis-sketch");
|
|
788
|
+
* await sketch.componentOnReady();
|
|
789
|
+
*
|
|
790
|
+
* sketch.availableCreateTools = ["text", "polyline", "polygon", "point"];
|
|
791
|
+
* </script>
|
|
792
|
+
* ```
|
|
775
793
|
* @since 5.0
|
|
776
794
|
*/
|
|
777
795
|
accessor showCreateToolsText: boolean;
|