@arcgis/map-components 5.2.0-next.25 → 5.2.0-next.27
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/{7TE4BSW7.js → 2NYG7G7M.js} +1 -1
- package/dist/cdn/{RDYFXGBG.js → 2SEZT4WZ.js} +1 -1
- package/dist/cdn/{SLPRDDKL.js → 333FN2FH.js} +1 -1
- package/dist/cdn/{O3S3JGUF.js → 3ACWQZMG.js} +1 -1
- package/dist/cdn/{3ZLJBZUR.js → 3IVI7KSX.js} +1 -1
- package/dist/cdn/3JEAUEUY.js +2 -0
- package/dist/cdn/{NIH6ZDQF.js → 3MDY3AXY.js} +1 -1
- package/dist/cdn/{QBTISG6Z.js → 3PM2WTS4.js} +1 -1
- package/dist/cdn/{CIMTQPRO.js → 3TFVMVSU.js} +1 -1
- package/dist/cdn/{5OIAYTR6.js → 3UEX6WWW.js} +1 -1
- package/dist/cdn/{JDWZTXWP.js → 3XUZ45XB.js} +1 -1
- package/dist/cdn/{OGNQD4YE.js → 3XWUH3TJ.js} +1 -1
- package/dist/cdn/{XHCEMCMK.js → 3YDQP3TL.js} +1 -1
- package/dist/cdn/{WR7D5AWQ.js → 42N4OII5.js} +1 -1
- package/dist/cdn/{ZN5DPJ47.js → 435CL2BU.js} +1 -1
- package/dist/cdn/{TA7BOHI2.js → 43OLIA7Q.js} +1 -1
- package/dist/cdn/{W67QMPVV.js → 45O57WR4.js} +1 -1
- package/dist/cdn/{FHL4L2ZY.js → 45OF43WO.js} +1 -1
- package/dist/cdn/{CXHORYLL.js → 4DU47CLL.js} +1 -1
- package/dist/cdn/{7TA73NAM.js → 4ICKT52U.js} +1 -1
- package/dist/cdn/4IKFF53M.js +2 -0
- package/dist/cdn/4JHO27KW.js +2 -0
- package/dist/cdn/{TALJULOQ.js → 4L35X2II.js} +1 -1
- package/dist/cdn/4LB5GOV2.js +2 -0
- package/dist/cdn/{KDXJMMWU.js → 4NMNJIYV.js} +1 -1
- package/dist/cdn/4RGFCQOB.js +2 -0
- package/dist/cdn/{4BJSMXKG.js → 54WXILYF.js} +1 -1
- package/dist/cdn/{A6O75S47.js → 63RAMAYF.js} +1 -1
- package/dist/cdn/{EVEGXXQF.js → 6EKV3B5S.js} +1 -1
- package/dist/cdn/{MOQQDHMJ.js → 6FOYKQEP.js} +1 -1
- package/dist/cdn/{25YGNXRQ.js → 6HJM34BD.js} +1 -1
- package/dist/cdn/{KHIEG5JF.js → 6HXM4D4W.js} +1 -1
- package/dist/cdn/{ACMQRVHQ.js → 6IEKX6LJ.js} +1 -1
- package/dist/cdn/6JMYHTFN.js +2 -0
- package/dist/cdn/{NGTGQ4VB.js → 6O7GP3C3.js} +1 -1
- package/dist/cdn/{JPLUPA6R.js → 6PS3YIDY.js} +1 -1
- package/dist/cdn/{KVM3SKQX.js → 6S7LUYCJ.js} +1 -1
- package/dist/cdn/{KRXDH2HI.js → 6ZJFTT6R.js} +1 -1
- package/dist/cdn/{IN7S26X4.js → 6ZP6GZS7.js} +1 -1
- package/dist/cdn/{Y62ISVYZ.js → 75PSCL4A.js} +1 -1
- package/dist/cdn/{IFWIGLKK.js → 7ED4UQDB.js} +1 -1
- package/dist/cdn/{HNA422YB.js → 7GXEJLOM.js} +1 -1
- package/dist/cdn/{XDKYOMSQ.js → 7KPJBKO6.js} +1 -1
- package/dist/cdn/{5LM2XZIK.js → 7LRGEABA.js} +1 -1
- package/dist/cdn/{K23ECU7I.js → 7MKSGCWC.js} +1 -1
- package/dist/cdn/{JKGGA54X.js → 7MWEEVVD.js} +1 -1
- package/dist/cdn/{VZNQJ644.js → 7PTCONZB.js} +1 -1
- package/dist/cdn/{4NPLHQZG.js → 7XUCMK3B.js} +1 -1
- package/dist/cdn/{LMNWYSI3.js → 7ZVWCRXE.js} +1 -1
- package/dist/cdn/{BXDVZQ2A.js → A2Q7UAOI.js} +1 -1
- package/dist/cdn/{AASOO75T.js → A5W6D3EH.js} +1 -1
- package/dist/cdn/{XJMQFTSS.js → AEBJAVUX.js} +1 -1
- package/dist/cdn/{K6U6L7EK.js → AGTJNHWI.js} +1 -1
- package/dist/cdn/{YEPPZ46U.js → ATLWKCAP.js} +1 -1
- package/dist/cdn/AU7UZMXF.js +2 -0
- package/dist/cdn/{6EFOGQLH.js → AW7PMR3D.js} +1 -1
- package/dist/cdn/{LKRXUVVK.js → B2ZGMSHQ.js} +1 -1
- package/dist/cdn/{O5TKBG2D.js → B7P66JTS.js} +1 -1
- package/dist/cdn/{USYDTYRK.js → BCXPJXAK.js} +1 -1
- package/dist/cdn/BK6P2PBO.js +2 -0
- package/dist/cdn/BM3NHWBY.js +2 -0
- package/dist/cdn/{KUUKJIQM.js → BPQPJXPT.js} +1 -1
- package/dist/cdn/{MRDKTBHD.js → BPXKEXYV.js} +1 -1
- package/dist/cdn/{F7ZQA7S5.js → BRDTU3O6.js} +1 -1
- package/dist/cdn/{LLPO63LQ.js → BXLXZYRC.js} +1 -1
- package/dist/cdn/{VG7WYAOD.js → CCFKZSFO.js} +1 -1
- package/dist/cdn/{JXS44YCP.js → COGFFO5G.js} +1 -1
- package/dist/cdn/{5BIMGLS7.js → CTUD7CTJ.js} +1 -1
- package/dist/cdn/{RDFCQM5U.js → CX5LLKOW.js} +1 -1
- package/dist/cdn/DBJFHC3S.js +2 -0
- package/dist/cdn/DFMHSA2D.js +2 -0
- package/dist/cdn/{G46IIKPN.js → DLMGAC2A.js} +1 -1
- package/dist/cdn/{IJQZON2Z.js → DU6OKLV4.js} +1 -1
- package/dist/cdn/{PIRSSTSR.js → DUDVPO32.js} +1 -1
- package/dist/cdn/{OKHEBRQW.js → DUWXDGIW.js} +1 -1
- package/dist/cdn/EBWDF4RR.js +2 -0
- package/dist/cdn/{RP3SPYWY.js → EEF3VY5V.js} +1 -1
- package/dist/cdn/{DYG6G3ZY.js → EFYUNXBG.js} +1 -1
- package/dist/cdn/{LDYIWX26.js → EI7NXMGF.js} +1 -1
- package/dist/cdn/{WGR4TMS3.js → EIHTWPOP.js} +1 -1
- package/dist/cdn/{L4BJVEKK.js → EK44YZYH.js} +1 -1
- package/dist/cdn/{P5N66JAU.js → EK7GAWIV.js} +1 -1
- package/dist/cdn/{AAMJRMEX.js → EL6TAK3S.js} +1 -1
- package/dist/cdn/{MXY2C4UH.js → ENSUS3VL.js} +1 -1
- package/dist/cdn/{JMJ3LJGR.js → ESTUA4YE.js} +1 -1
- package/dist/cdn/{SEG3YDME.js → EVYO2SIO.js} +1 -1
- package/dist/cdn/{FOFJHQ4Z.js → FCRUDE4P.js} +1 -1
- package/dist/cdn/{NGMHPU5E.js → FCRWSG6Z.js} +1 -1
- package/dist/cdn/{76M43EVT.js → FJT2YAI6.js} +1 -1
- package/dist/cdn/{SLTQSWGA.js → G4CPNGQ6.js} +1 -1
- package/dist/cdn/{XIOGQDJH.js → GJIDZ4M6.js} +1 -1
- package/dist/cdn/{P3U6DQN6.js → GLNO2ZMW.js} +1 -1
- package/dist/cdn/{HBEXNLQM.js → GPPU5K5J.js} +1 -1
- package/dist/cdn/{ZUXQKICJ.js → GPVFCWMU.js} +1 -1
- package/dist/cdn/{TOVZMHWU.js → GRUB3M36.js} +1 -1
- package/dist/cdn/{JMRI4LOI.js → H3J6GAKO.js} +1 -1
- package/dist/cdn/{HNFXE43W.js → HIHYNNEU.js} +1 -1
- package/dist/cdn/{FT7ETWDM.js → HKTQWWXP.js} +1 -1
- package/dist/cdn/I5MVHBKV.js +2 -0
- package/dist/cdn/{BXKNMJRR.js → IDZCPNFC.js} +1 -1
- package/dist/cdn/{XHZ4LEYE.js → IHVHH3Z4.js} +1 -1
- package/dist/cdn/{FWRUNJU5.js → IKBRNNUA.js} +1 -1
- package/dist/cdn/{NSE7MO5B.js → IPLVHFN5.js} +1 -1
- package/dist/cdn/{W3HICVNX.js → IQSSVLSC.js} +1 -1
- package/dist/cdn/{B56MNMJP.js → ITCLBS5H.js} +1 -1
- package/dist/cdn/{ZFFLDL4P.js → IZVYML7I.js} +1 -1
- package/dist/cdn/{CM2CNZDR.js → JBD3X2G7.js} +1 -1
- package/dist/cdn/{C4F6EN5S.js → JCHYVWCR.js} +1 -1
- package/dist/cdn/JCRPP54Z.js +2 -0
- package/dist/cdn/{GXVM7UPW.js → JLZJ354E.js} +1 -1
- package/dist/cdn/JSQZYDU6.js +2 -0
- package/dist/cdn/{YJP7TIKT.js → K3BJFKYY.js} +1 -1
- package/dist/cdn/{IGK4DKJ2.js → K5M3ZRVS.js} +1 -1
- package/dist/cdn/{GWZQD2KS.js → K7LJE67S.js} +1 -1
- package/dist/cdn/{FX7YHZMN.js → K7UC43CL.js} +1 -1
- package/dist/cdn/{YJM4JJRY.js → KBHTEAAG.js} +1 -1
- package/dist/cdn/{VOZ7A7UW.js → KG2IHV32.js} +1 -1
- package/dist/cdn/{IXZEUVT2.js → KLXEJCTT.js} +1 -1
- package/dist/cdn/{H47NPYUM.js → KPOSO4HB.js} +1 -1
- package/dist/cdn/{MFNC5YCH.js → KQT5MAFE.js} +1 -1
- package/dist/cdn/{DKH7GP3H.js → KXLCQG2D.js} +1 -1
- package/dist/cdn/{KLZFVT3D.js → KZBBEVWQ.js} +1 -1
- package/dist/cdn/{TMTDOGUQ.js → LA3UYF7I.js} +1 -1
- package/dist/cdn/{OOGQULHG.js → LKR52VUM.js} +1 -1
- package/dist/cdn/{OOLXNUY7.js → MAJ3JPSY.js} +1 -1
- package/dist/cdn/{FKGPQIBN.js → MDXQUNKW.js} +1 -1
- package/dist/cdn/{J33ULIDR.js → MECGUFOT.js} +1 -1
- package/dist/cdn/{UNJTV3EI.js → MMNJNQ3Q.js} +1 -1
- package/dist/cdn/{REGSXPSY.js → MOIULPNJ.js} +1 -1
- package/dist/cdn/{UCPXN4Y5.js → MPYM4XNR.js} +1 -1
- package/dist/cdn/{2HQBEMYE.js → MTYQJ4TB.js} +1 -1
- package/dist/cdn/{6FRKBUG7.js → MZ35VFYR.js} +1 -1
- package/dist/cdn/{6ANMW473.js → N3JXA7DZ.js} +1 -1
- package/dist/cdn/{YKNC7IPO.js → NANWWHJ6.js} +1 -1
- package/dist/cdn/{2ENPU5CD.js → NAWH5P73.js} +1 -1
- package/dist/cdn/{Q6WNAJIC.js → NC472JXT.js} +1 -1
- package/dist/cdn/{BZNHYPVY.js → NCHQCPM6.js} +1 -1
- package/dist/cdn/{PDXPDGIN.js → NQSW6QJ6.js} +1 -1
- package/dist/cdn/{4BGPI3L3.js → NR53EGV6.js} +1 -1
- package/dist/cdn/{HVUITMRU.js → NRYA6EOZ.js} +1 -1
- package/dist/cdn/{EN3H2GBU.js → NVKY5H7W.js} +1 -1
- package/dist/cdn/{TOWBALAU.js → NXELRSXN.js} +1 -1
- package/dist/cdn/{O24XZVUV.js → NYS47GN2.js} +1 -1
- package/dist/cdn/{XDS3ZIHV.js → O7SRECHG.js} +1 -1
- package/dist/cdn/{2DSE5WHM.js → OF562TYT.js} +1 -1
- package/dist/cdn/{FAWJCFZQ.js → OMHMO6DD.js} +1 -1
- package/dist/cdn/{ZRRENPUV.js → OPP5DWFT.js} +1 -1
- package/dist/cdn/{HJ72UWKP.js → PIRA7ITO.js} +1 -1
- package/dist/cdn/{DFZK7FIP.js → PKS3JYAN.js} +1 -1
- package/dist/cdn/{TQHPE2X2.js → PLLSFCLD.js} +1 -1
- package/dist/cdn/{EQSDRIG6.js → PXZ7GYGB.js} +1 -1
- package/dist/cdn/{AC3GTCHJ.js → QAU5TWTZ.js} +1 -1
- package/dist/cdn/{SJIHZIXG.js → QFH7PJYV.js} +1 -1
- package/dist/cdn/{GJNYMDKO.js → QKCBJKWT.js} +1 -1
- package/dist/cdn/{M2MJH2FX.js → R5NVFWFA.js} +1 -1
- package/dist/cdn/R6Y3QBJZ.js +2 -0
- package/dist/cdn/{CFM2RF2I.js → R72MT5TQ.js} +1 -1
- package/dist/cdn/{KVE5RIEE.js → RKXL42SK.js} +1 -1
- package/dist/cdn/{TPZUKUI7.js → RO35U2LW.js} +1 -1
- package/dist/cdn/{J2ZJJKEI.js → ROIAI7KY.js} +1 -1
- package/dist/cdn/{FPX4MV2U.js → S3NMAVL6.js} +1 -1
- package/dist/cdn/{HUBIN764.js → S7HZFJQZ.js} +1 -1
- package/dist/cdn/SAEE5GTI.js +2 -0
- package/dist/cdn/{KTXZR4IK.js → SBUR54TP.js} +1 -1
- package/dist/cdn/{PGCAY24R.js → SFP62RAJ.js} +1 -1
- package/dist/cdn/{GJMQ36NP.js → SGY36MUJ.js} +1 -1
- package/dist/cdn/{KG7UUIXV.js → SHJGMBBY.js} +1 -1
- package/dist/cdn/{Z42EKLRO.js → SJP5NLRB.js} +1 -1
- package/dist/cdn/{Y34KC34C.js → SNDTIGUT.js} +1 -1
- package/dist/cdn/{EMFCOFJ7.js → SPJCXMMT.js} +1 -1
- package/dist/cdn/{5Y3L2RDW.js → SSVJJAR5.js} +1 -1
- package/dist/cdn/{2HCFI5P5.js → SWKWLPLG.js} +1 -1
- package/dist/cdn/{UCEBZVNP.js → TA7JY4OV.js} +1 -1
- package/dist/cdn/{LDIKIEPN.js → TAFFNLUI.js} +1 -1
- package/dist/cdn/{H2U2JK4T.js → TCFK2EXM.js} +1 -1
- package/dist/cdn/{RMIR7645.js → TCKCE5NB.js} +1 -1
- package/dist/cdn/{BCFML3VR.js → TCS6CS2V.js} +1 -1
- package/dist/cdn/{DPZPIVA7.js → TCYTMU4A.js} +1 -1
- package/dist/cdn/{ITRTOO6W.js → TDEIRM7H.js} +1 -1
- package/dist/cdn/{CTPATSJU.js → TMOESX4H.js} +1 -1
- package/dist/cdn/{TUTJXJ6H.js → TSL4BZHI.js} +1 -1
- package/dist/cdn/{3M2ZWBEY.js → TZAGBPDN.js} +1 -1
- package/dist/cdn/{64S26ZIP.js → TZHGOM2Y.js} +1 -1
- package/dist/cdn/{2MO6LJPR.js → UEYLTX3J.js} +1 -1
- package/dist/cdn/{FG75P4KZ.js → UFGA4NGM.js} +1 -1
- package/dist/cdn/{6LYXJS6X.js → UMJTWBQ3.js} +1 -1
- package/dist/cdn/{ZZRHGYCY.js → UQIJOVPD.js} +1 -1
- package/dist/cdn/{RAUCP5RZ.js → V2FVPSX3.js} +1 -1
- package/dist/cdn/{Q4PNCUBK.js → V7MKCC7O.js} +1 -1
- package/dist/cdn/{L4UGJGS2.js → VHIOEBAH.js} +1 -1
- package/dist/cdn/{JCTU3MST.js → VJ2SMYNX.js} +1 -1
- package/dist/cdn/{6FMZAOVP.js → VLJKBHDD.js} +1 -1
- package/dist/cdn/{5SZX4F2U.js → VLXRN5II.js} +1 -1
- package/dist/cdn/{RXXEVGCM.js → VRWFW2LF.js} +1 -1
- package/dist/cdn/{YGAY263P.js → VSXLCBBA.js} +1 -1
- package/dist/cdn/{MDHIPDGE.js → VYBNGAPG.js} +1 -1
- package/dist/cdn/{HHSGISLJ.js → W2WYFYTT.js} +1 -1
- package/dist/cdn/{IPJSPBVN.js → WBLJSZV4.js} +1 -1
- package/dist/cdn/{KUPGJQBQ.js → WKQXQLLR.js} +1 -1
- package/dist/cdn/XJU225AF.js +2 -0
- package/dist/cdn/{TCQVDAIJ.js → XJVFSXPM.js} +1 -1
- package/dist/cdn/XPSJ37QH.js +2 -0
- package/dist/cdn/{VPF46BTA.js → YCVINCOI.js} +1 -1
- package/dist/cdn/{EM4QPCQL.js → YMCZRMWW.js} +1 -1
- package/dist/cdn/{V6GGLHFM.js → YMHPA3VC.js} +1 -1
- package/dist/cdn/YNIECEKR.js +2 -0
- package/dist/cdn/YOXKII2K.js +2 -0
- package/dist/cdn/{SF7HIXTT.js → YSLSCMZ4.js} +1 -1
- package/dist/cdn/{6WOZIOJH.js → YU7SUXHY.js} +1 -1
- package/dist/cdn/{ZAYZVEUD.js → YUCJQ6XI.js} +1 -1
- package/dist/cdn/{LXVRZSZ6.js → YUV3XEWE.js} +1 -1
- package/dist/cdn/{RCRVCOEZ.js → Z66KOPPI.js} +1 -1
- package/dist/cdn/{TI4T3QPS.js → Z77JVENV.js} +1 -1
- package/dist/cdn/{J5LPKT5M.js → ZBWHLMXA.js} +1 -1
- package/dist/cdn/{QXTTJTWV.js → ZQBMKJX7.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/css.js +25 -0
- package/dist/chunks/earth-utils.js +21 -0
- package/dist/chunks/layer-list-next.js +7 -0
- package/dist/chunks/layer-list-utils.js +6 -6
- package/dist/chunks/runtime.js +5 -5
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +108 -125
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +85 -103
- package/dist/components/arcgis-daylight/customElement.js +174 -190
- package/dist/components/arcgis-feature-table/customElement.js +34 -34
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +86 -93
- package/dist/components/arcgis-features/customElement.d.ts +2 -2
- package/dist/components/arcgis-features/customElement.js +23 -21
- package/dist/components/arcgis-features-next/customElement.d.ts +0 -7
- package/dist/components/arcgis-features-next/customElement.js +1 -5
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +51 -9
- package/dist/components/arcgis-layer-list-next/customElement.js +111 -110
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +0 -9
- package/dist/components/arcgis-popup/customElement.js +0 -3
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +7 -0
- package/dist/components/arcgis-presentation/customElement.js +117 -101
- package/dist/components/arcgis-search/customElement.js +5 -5
- package/dist/components/arcgis-shadow-cast/customElement.js +96 -85
- package/dist/components/arcgis-table-list-next/customElement.js +59 -80
- package/dist/components/arcgis-time-of-day-slider/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/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/5P3LF4QU.js +0 -2
- package/dist/cdn/5RXWVXJA.js +0 -2
- package/dist/cdn/BGWYOIKY.js +0 -2
- package/dist/cdn/BV6DN77M.js +0 -2
- package/dist/cdn/DKG4Q4BC.js +0 -2
- package/dist/cdn/GOXEUMKX.js +0 -2
- package/dist/cdn/GUBDP7SN.js +0 -2
- package/dist/cdn/IXWSTLNL.js +0 -2
- package/dist/cdn/JD2JNE73.js +0 -2
- package/dist/cdn/KLKFMZ7U.js +0 -2
- package/dist/cdn/MV56NKNP.js +0 -2
- package/dist/cdn/NR6V3DTH.js +0 -2
- package/dist/cdn/SRKKE3UN.js +0 -2
- package/dist/cdn/UGOZSFW2.js +0 -2
- package/dist/cdn/VL2VVN6C.js +0 -2
- package/dist/cdn/VVATJD2C.js +0 -2
- package/dist/cdn/VZVNKP6W.js +0 -2
- package/dist/cdn/YAJLIV63.js +0 -2
- package/dist/cdn/YUBFK6NS.js +0 -2
- package/dist/chunks/layer-list-item-indicator.js +0 -74
- package/dist/chunks/layer-list-item.js +0 -6
- /package/dist/cdn/{OTZMVWAB.js → H7BPQQ3W.js} +0 -0
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import { keyed as
|
|
5
|
-
import { repeat as
|
|
6
|
-
import
|
|
7
|
-
import { classes as
|
|
8
|
-
import { generateGuid as
|
|
9
|
-
import { createRef as
|
|
2
|
+
import { c as O } from "../../chunks/runtime.js";
|
|
3
|
+
import { html as h } from "lit";
|
|
4
|
+
import { keyed as _ } from "lit/directives/keyed.js";
|
|
5
|
+
import { repeat as R } from "lit/directives/repeat.js";
|
|
6
|
+
import x from "@arcgis/core/widgets/LayerList/LayerListViewModel.js";
|
|
7
|
+
import { classes as B } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { generateGuid as k } from "@arcgis/toolkit/string";
|
|
9
|
+
import { createRef as v, ref as w } from "lit/directives/ref.js";
|
|
10
10
|
import { u as U } from "../../chunks/useT9n.js";
|
|
11
11
|
import { m as S } from "../../chunks/useViewModel.js";
|
|
12
|
-
import { g as
|
|
13
|
-
import { c as
|
|
14
|
-
import { g as
|
|
15
|
-
import
|
|
16
|
-
import { on as
|
|
17
|
-
import { LitElement as
|
|
18
|
-
import { usePropertyChange as
|
|
19
|
-
import { reEmitEvent as
|
|
12
|
+
import { g as b } from "../../chunks/globalCss.js";
|
|
13
|
+
import { c as y } from "../../chunks/css.js";
|
|
14
|
+
import { g as d, a as E, m as N, b as G, r as H, s as V, c as j, d as q, e as z } from "../../chunks/layer-list-utils.js";
|
|
15
|
+
import m from "@arcgis/core/core/Collection.js";
|
|
16
|
+
import { on as T, watch as J } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
|
+
import { LitElement as K, createEvent as Q, renderElement as M, safeClassMap as $, nothing as F } from "@arcgis/lumina";
|
|
18
|
+
import { usePropertyChange as W } from "@arcgis/lumina/controllers";
|
|
19
|
+
import { reEmitEvent as X } from "@arcgis/lumina/controllers/accessor";
|
|
20
20
|
import "@arcgis/toolkit/function";
|
|
21
|
-
import { u as
|
|
22
|
-
import { ArcgisLayerListItem as
|
|
23
|
-
import { s as te } from "../../chunks/layer-list-
|
|
24
|
-
const ie = D`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;min-height:var(--calcite-space-3xl);transition:max-height .25s ease-in-out;overflow-y:auto}:host>div{display:flex;width:100%}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size)}.action-menu .action-group{display:none}.action-menu[open] .action-group{display:flex}.active:hover>.visible-toggle>.visible-icon,.active:focus>.visible-toggle>.visible-icon,.active:focus-within>.visible-toggle>.visible-icon{visibility:visible}.status-indicator{margin-inline:0}`, M = "nested", re = S(R);
|
|
25
|
-
|
|
21
|
+
import { u as Y } from "../../chunks/useCloseEvent.js";
|
|
22
|
+
import { ArcgisLayerListItem as Z } from "./layer-list-item/customElement.js";
|
|
23
|
+
import { s as ee, a as te } from "../../chunks/layer-list-next.js";
|
|
24
|
+
import "../arcgis-layer-list-item-indicator/customElement.js";
|
|
25
|
+
const A = "nested", se = S(x);
|
|
26
|
+
class ie extends K {
|
|
26
27
|
constructor() {
|
|
27
|
-
super(...arguments), this._lastDragDetail = null, this._rootListRef =
|
|
28
|
-
const
|
|
29
|
-
if (!
|
|
28
|
+
super(...arguments), this._lastDragDetail = null, this._rootListRef = v(), this._layerFlowItemRef = v(), this._panelFlowItemRef = v(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${k()}`, this._openedLayersController = null, this.messages = U(), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, a) => {
|
|
29
|
+
const i = a === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, r = d(e, this.operationalItems);
|
|
30
|
+
if (!r?.sortable)
|
|
30
31
|
return !1;
|
|
31
|
-
const o = this._resolveListContainer(t),
|
|
32
|
-
selected:
|
|
33
|
-
from:
|
|
32
|
+
const o = this._resolveListContainer(t), l = this._resolveListContainer(s), n = this._getContainerItem(o), p = E(o), g = this._getContainerItem(l), u = E(l), L = !!p && !!u && p === u, f = {
|
|
33
|
+
selected: r,
|
|
34
|
+
from: n,
|
|
34
35
|
to: g
|
|
35
|
-
},
|
|
36
|
-
return
|
|
36
|
+
}, I = o?.group, c = l?.group, P = n?.layer?.type ?? "", D = g?.layer?.type ?? "", C = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
|
|
37
|
+
return I && c && typeof i == "function" ? i(f) : L && !C.has(P) && !C.has(D) && r?.layer?.type !== "sublayer";
|
|
37
38
|
}, this._onCatalogOpen = (e) => {
|
|
38
39
|
this.openedLayers.push(e.layer?.parent);
|
|
39
40
|
}, this._onTablesOpen = (e) => {
|
|
@@ -45,21 +46,21 @@ class se extends J {
|
|
|
45
46
|
}, this._setActiveItem = (e) => {
|
|
46
47
|
if (this.visibilityAppearance !== "default")
|
|
47
48
|
return;
|
|
48
|
-
const t = Array.from(e.composedPath()).find((
|
|
49
|
-
this._activeItem =
|
|
50
|
-
}, this.viewModel =
|
|
49
|
+
const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(y.item)), s = d(t, this.operationalItems);
|
|
50
|
+
this._activeItem = s;
|
|
51
|
+
}, this.viewModel = se(this), this.arcgisClose = Y(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
|
|
51
52
|
t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
|
|
52
53
|
}, this._onSelectedDragItemLayerUidChange = (e) => {
|
|
53
54
|
this._selectedDragItemLayerUid = e;
|
|
54
55
|
}, this._onTriggerAction = (e, t) => {
|
|
55
56
|
this.triggerAction(e, t);
|
|
56
|
-
}, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new
|
|
57
|
+
}, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new m(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new m(), this.tileOptions = null, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.closed = !1, this.icon = "layers", this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.layerTablesAvailable = new m(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.minDragEnabledItems = N, this.minFilterItems = G, this.openedLayers = new m(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new m(), this.selectionMode = "none", this.visibilityAppearance = "default", this.hideCatalogLayerList = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.hideStatusIndicators = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = W()("state"), this.arcgisReady = Q(), this.arcgisTriggerAction = X(() => this.viewModel, "trigger-action");
|
|
57
58
|
}
|
|
58
59
|
static {
|
|
59
60
|
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, view: 0, autoDestroyDisabled: 5, closed: 5, referenceElement: 1, icon: 1, catalogLayerList: 32, catalogOptions: 0, collapsed: 5, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, knowledgeGraphOptions: 0, layerTablesAvailable: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 32, operationalItems: 0, selectedItems: 0, selectionMode: 1, tableList: 32, visibilityAppearance: 1, hideCatalogLayerList: 5, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, hideStatusIndicators: 5, showTemporaryLayerIndicators: 5, messageOverrides: 0, label: 1, state: 32 };
|
|
60
61
|
}
|
|
61
62
|
static {
|
|
62
|
-
this.styles = [
|
|
63
|
+
this.styles = [ee, te];
|
|
63
64
|
}
|
|
64
65
|
get _totalItems() {
|
|
65
66
|
return this.viewModel.operationalItems.flatten((e) => e.children.filter((t) => t.layer?.type !== "catalog-dynamic-group")).length;
|
|
@@ -78,7 +79,7 @@ class se extends J {
|
|
|
78
79
|
}
|
|
79
80
|
get _renderedOpenLayerFlowItems() {
|
|
80
81
|
const { openedLayers: e } = this;
|
|
81
|
-
return e.toArray().map((t,
|
|
82
|
+
return e.toArray().map((t, s) => this._renderLayerFlowItem(t, s === e.length - 1));
|
|
82
83
|
}
|
|
83
84
|
get catalogLayerList() {
|
|
84
85
|
return this._catalogLayerList;
|
|
@@ -91,11 +92,11 @@ class se extends J {
|
|
|
91
92
|
}
|
|
92
93
|
loaded() {
|
|
93
94
|
this.manager.onLifecycle(() => [
|
|
94
|
-
|
|
95
|
+
T(() => this.openedLayers, "change", () => {
|
|
95
96
|
this._handleOpenedLayersChange();
|
|
96
97
|
}, { initial: !0 }),
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
T(() => this.viewModel.operationalItems, "change", () => H(this.selectedItems), { initial: !0 }),
|
|
99
|
+
J(() => [this.filterPredicate, this._rootListRef.value], () => V(this._rootListRef.value, this.filterPredicate, this.operationalItems))
|
|
99
100
|
]);
|
|
100
101
|
}
|
|
101
102
|
triggerAction(e, t) {
|
|
@@ -116,43 +117,43 @@ class se extends J {
|
|
|
116
117
|
_findItemByUid(e) {
|
|
117
118
|
const t = this.operationalItems?.toArray() ?? [];
|
|
118
119
|
for (; t.length; ) {
|
|
119
|
-
const
|
|
120
|
-
if (!
|
|
120
|
+
const s = t.shift();
|
|
121
|
+
if (!s)
|
|
121
122
|
continue;
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
124
|
-
const
|
|
125
|
-
t.push(...
|
|
123
|
+
if (s.uid === e)
|
|
124
|
+
return s;
|
|
125
|
+
const a = s.children?.toArray() ?? [];
|
|
126
|
+
t.push(...a);
|
|
126
127
|
}
|
|
127
128
|
return null;
|
|
128
129
|
}
|
|
129
130
|
async _createFlowList(e, t) {
|
|
130
|
-
const { _layerListMap:
|
|
131
|
-
if (
|
|
132
|
-
return
|
|
133
|
-
const
|
|
134
|
-
return t.aborted ||
|
|
131
|
+
const { _layerListMap: s } = this, a = s.get(e);
|
|
132
|
+
if (a)
|
|
133
|
+
return a;
|
|
134
|
+
const i = e.type === "catalog" ? await this._createCatalogLayerList(e) : await this._createTableList(e);
|
|
135
|
+
return t.aborted || s.set(e, i), i;
|
|
135
136
|
}
|
|
136
137
|
async _handleOpenedLayersChange() {
|
|
137
|
-
const { _layerListMap: e, openedLayers: t, openedLayerLists:
|
|
138
|
+
const { _layerListMap: e, openedLayers: t, openedLayerLists: s } = this;
|
|
138
139
|
this._openedLayersController?.abort();
|
|
139
|
-
const
|
|
140
|
-
this._openedLayersController =
|
|
141
|
-
t.includes(
|
|
140
|
+
const a = new AbortController(), { signal: i } = a;
|
|
141
|
+
this._openedLayersController = a, e.forEach((l, n) => {
|
|
142
|
+
t.includes(n) || (l?.destroy?.(), e.delete(n));
|
|
142
143
|
});
|
|
143
|
-
const
|
|
144
|
-
if (
|
|
144
|
+
const r = await Promise.all(t.map((l) => this._createFlowList(l, i)));
|
|
145
|
+
if (i.aborted)
|
|
145
146
|
return;
|
|
146
|
-
|
|
147
|
-
const o =
|
|
147
|
+
s.removeAll(), s.addMany(r);
|
|
148
|
+
const o = s.at(-1);
|
|
148
149
|
o ? "catalogLayer" in o ? (this._catalogLayerList = o, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = o) : (this._catalogLayerList = void 0, this._tableList = void 0);
|
|
149
150
|
}
|
|
150
151
|
_destroyOpenedLayerLists() {
|
|
151
152
|
this.openedLayerLists.destroyAll(), this.openedLayers.removeAll(), this._layerListMap.clear();
|
|
152
153
|
}
|
|
153
154
|
async _createCatalogLayerList(e) {
|
|
154
|
-
const { headingLevel: t, catalogOptions:
|
|
155
|
-
return
|
|
155
|
+
const { headingLevel: t, catalogOptions: s, filterPlaceholder: a, listItemCreatedFunction: i, minFilterItems: r, selectionMode: o, visibilityAppearance: l } = this;
|
|
156
|
+
return M(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? r} .selectionMode=${s?.selectionMode ?? o} .visibilityAppearance=${s?.visibilityAppearance ?? l} .showErrors=${s?.visibleElements?.errors ?? this.showErrors} .showFilter=${s?.visibleElements?.filter ?? this.showFilter} .hideStatusIndicators=${s?.visibleElements?.statusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.visibleElements?.temporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
|
|
156
157
|
}
|
|
157
158
|
_getTableListParams(e) {
|
|
158
159
|
switch (e.type) {
|
|
@@ -173,41 +174,41 @@ class se extends J {
|
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
async _createTableList(e) {
|
|
176
|
-
const { headingLevel: t, selectionMode:
|
|
177
|
-
return
|
|
177
|
+
const { headingLevel: t, selectionMode: s, dragEnabled: a } = this, i = this._getTableListParams(e);
|
|
178
|
+
return M(h`<arcgis-table-list-next .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .dragEnabled=${i?.dragEnabled ?? a} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .icon=${i?.icon ?? void 0} .label=${i?.label ?? void 0} .listItemCreatedFunction=${i?.listItemCreatedFunction} .tables=${i?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(r) => r.stopPropagation()}></arcgis-table-list-next>`);
|
|
178
179
|
}
|
|
179
180
|
_handlePanelFlowItemBack(e) {
|
|
180
181
|
e.open = !1;
|
|
181
182
|
}
|
|
182
|
-
_moveLayerFromChildList({ toEl: e, fromEl: t, dragEl:
|
|
183
|
-
const
|
|
184
|
-
|
|
183
|
+
_moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: s, newIndex: a }) {
|
|
184
|
+
const i = this._resolveListContainer(e), r = this._resolveListContainer(t), o = d(s, this.operationalItems), l = this._getContainerItem(i), n = this._getContainerItem(r);
|
|
185
|
+
a == null || !o || this.viewModel.moveListItem(o, n, l, a);
|
|
185
186
|
}
|
|
186
187
|
_onCalciteListDragEnd(e) {
|
|
187
|
-
const { fromEl: t, toEl:
|
|
188
|
-
if (t !==
|
|
189
|
-
|
|
188
|
+
const { fromEl: t, toEl: s, dragEl: a, oldIndex: i } = e;
|
|
189
|
+
if (t !== s) {
|
|
190
|
+
a.remove();
|
|
190
191
|
return;
|
|
191
192
|
}
|
|
192
|
-
|
|
193
|
+
i == null || !t || !a || t.insertBefore(a, t.children[i]);
|
|
193
194
|
}
|
|
194
195
|
_onCalciteListOrderChange(e) {
|
|
195
|
-
const { _lastDragDetail: t } = this, { dragEl:
|
|
196
|
-
if (!(!
|
|
196
|
+
const { _lastDragDetail: t } = this, { dragEl: s, newIndex: a } = e, i = this._resolveListContainer(e.fromEl), r = this._resolveListContainer(e.toEl), o = t?.newIndex === a && t?.dragEl === s && t?.toEl === r && t?.fromEl === i;
|
|
197
|
+
if (!(!i || !r || o)) {
|
|
197
198
|
if (this._lastDragDetail = {
|
|
198
199
|
...e,
|
|
199
|
-
fromEl:
|
|
200
|
-
toEl:
|
|
201
|
-
}, this._selectedDragItemLayerUid =
|
|
202
|
-
const
|
|
203
|
-
this._sortLayers(
|
|
200
|
+
fromEl: i,
|
|
201
|
+
toEl: r
|
|
202
|
+
}, this._selectedDragItemLayerUid = s.value, i === r) {
|
|
203
|
+
const l = Array.from(i.children).filter((n) => n?.matches("calcite-list-item")).map((n) => n.value.layer?.uid ?? "");
|
|
204
|
+
this._sortLayers(i, l);
|
|
204
205
|
return;
|
|
205
206
|
}
|
|
206
207
|
this._moveLayerFromChildList({
|
|
207
|
-
toEl:
|
|
208
|
-
fromEl:
|
|
209
|
-
dragEl:
|
|
210
|
-
newIndex:
|
|
208
|
+
toEl: r,
|
|
209
|
+
fromEl: i,
|
|
210
|
+
dragEl: s,
|
|
211
|
+
newIndex: a
|
|
211
212
|
});
|
|
212
213
|
}
|
|
213
214
|
}
|
|
@@ -216,73 +217,73 @@ class se extends J {
|
|
|
216
217
|
if (e === this._rootListRef.value)
|
|
217
218
|
j(this.el.view?.map?.layers, t);
|
|
218
219
|
else {
|
|
219
|
-
const
|
|
220
|
-
if (!
|
|
220
|
+
const s = d(e, this.operationalItems);
|
|
221
|
+
if (!s)
|
|
221
222
|
return;
|
|
222
|
-
|
|
223
|
+
q(s, t);
|
|
223
224
|
}
|
|
224
225
|
}
|
|
225
226
|
_handleCalciteListChange(e) {
|
|
226
|
-
const { selectionMode: t, selectedItems:
|
|
227
|
+
const { selectionMode: t, selectedItems: s } = this;
|
|
227
228
|
if (t === "none")
|
|
228
229
|
return;
|
|
229
|
-
const
|
|
230
|
-
|
|
230
|
+
const i = e.target.selectedItems.map((r) => d(r, this.operationalItems)).filter(Boolean);
|
|
231
|
+
s.removeAll(), s.addMany(i);
|
|
231
232
|
}
|
|
232
233
|
render() {
|
|
233
|
-
const {
|
|
234
|
-
[
|
|
235
|
-
[
|
|
234
|
+
const { state: e } = this, t = {
|
|
235
|
+
[b.hidden]: e === "loading",
|
|
236
|
+
[b.disabled]: e === "disabled"
|
|
236
237
|
};
|
|
237
|
-
return
|
|
238
|
+
return h`<div class=${$(B(b.widget, t))}>${this._visibleItems?.length ? this._renderItemTooltips() : null}${this._renderItems()}</div>`;
|
|
238
239
|
}
|
|
239
240
|
_renderItemTooltip(e) {
|
|
240
|
-
const { _tooltipReferenceMap: t, messages:
|
|
241
|
-
return e ?
|
|
241
|
+
const { _tooltipReferenceMap: t, messages: s } = this;
|
|
242
|
+
return e ? h`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid ?? "")}>${s.layerIncompatibleTooltip}</calcite-tooltip>` : null;
|
|
242
243
|
}
|
|
243
244
|
_renderItemTooltipNodes(e) {
|
|
244
245
|
if (e.incompatible)
|
|
245
246
|
return this._renderItemTooltip(e);
|
|
246
|
-
const t = e.children?.filter((
|
|
247
|
+
const t = e.children?.filter((s) => !s.hidden).toArray().map((s) => this._renderItemTooltipNodes(s)) ?? [];
|
|
247
248
|
return t.length ? t : null;
|
|
248
249
|
}
|
|
249
250
|
_renderItemTooltips() {
|
|
250
251
|
return this._visibleItems?.toArray().map((t) => this._renderItemTooltipNodes(t));
|
|
251
252
|
}
|
|
252
253
|
_renderNoItemsMessage() {
|
|
253
|
-
return
|
|
254
|
+
return h`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
|
|
254
255
|
}
|
|
255
256
|
_renderNoItems() {
|
|
256
|
-
return
|
|
257
|
+
return h`<div class=${$(y.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
|
|
257
258
|
}
|
|
258
259
|
_renderLayerFlowItem(e, t) {
|
|
259
|
-
const { messages:
|
|
260
|
-
return
|
|
261
|
-
|
|
262
|
-
}} ${
|
|
260
|
+
const { messages: s, openedLayers: a } = this, i = e.title || this.messages.untitledLayer;
|
|
261
|
+
return _(e?.uid ?? i, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? F} .description=${i} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(r) => {
|
|
262
|
+
r.preventDefault(), a.pop(), a.at(-1) && this._layerFlowItemRef.value?.setFocus();
|
|
263
|
+
}} ${w(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
|
|
263
264
|
}
|
|
264
265
|
_renderPanelFlowItems() {
|
|
265
266
|
const { _openedPanelItems: e, openedLayers: t } = this;
|
|
266
|
-
return
|
|
267
|
-
const { panel:
|
|
268
|
-
return
|
|
269
|
-
|
|
270
|
-
}} ${
|
|
267
|
+
return R(e.toArray(), (a) => a.uid, (a, i) => {
|
|
268
|
+
const { panel: r, title: o } = a, l = () => this._handlePanelFlowItemBack(r);
|
|
269
|
+
return h`<calcite-flow-item .description=${o} .heading=${r.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(n) => {
|
|
270
|
+
n.preventDefault(), l();
|
|
271
|
+
}} ${w(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${a} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
|
|
271
272
|
});
|
|
272
273
|
}
|
|
273
274
|
_renderItems() {
|
|
274
|
-
const { collapsed: e, _visibleItems: t, _openedPanelItems:
|
|
275
|
-
|
|
275
|
+
const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: r, showCollapseButton: o, showHeading: l, _dragEnabled: n, selectionMode: p, filterText: g, openedLayers: u, filterPlaceholder: L, messages: f } = this, I = [
|
|
276
|
+
h`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${l ? 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 ?? F} .displayMode=${A} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${L} .filterProps=${z} .filterText=${a ? g : ""} .group=${i} .label=${f.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${p} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(c) => this.filterText = c.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${w(this._rootListRef)}>${t.toArray().map((c) => this._renderItem(c))}${a ? h`<div class=${$(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>`,
|
|
276
277
|
this._renderPanelFlowItems(),
|
|
277
278
|
this._renderedOpenLayerFlowItems
|
|
278
279
|
];
|
|
279
|
-
return this.closed ? null :
|
|
280
|
+
return this.closed ? null : _("root-flow", h`<calcite-flow>${I}</calcite-flow>`);
|
|
280
281
|
}
|
|
281
|
-
_renderItem(e, t,
|
|
282
|
-
return
|
|
282
|
+
_renderItem(e, t, s) {
|
|
283
|
+
return _(e.uid, Z({ activeItem: this._activeItem, canMove: this._canMove, css: y, displayMode: A, 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 }));
|
|
283
284
|
}
|
|
284
285
|
}
|
|
285
|
-
|
|
286
|
+
O("arcgis-layer-list-next", ie);
|
|
286
287
|
export {
|
|
287
|
-
|
|
288
|
+
ie as ArcgisLayerListNext
|
|
288
289
|
};
|
|
@@ -6,7 +6,7 @@ import { safeClassMap as d, safeStyleMap as Se, nothing as r } from "@arcgis/lum
|
|
|
6
6
|
import { classes as F } from "@arcgis/toolkit/dom";
|
|
7
7
|
import { createRef as Z, ref as ee } from "lit/directives/ref.js";
|
|
8
8
|
import { g as Te, a as le } from "../../../chunks/action-utils.js";
|
|
9
|
-
import {
|
|
9
|
+
import { h as xe, j as te, l as Me, k as Le, n as Ee, o as ke, g as we } from "../../../chunks/layer-list-utils.js";
|
|
10
10
|
import { s as Pe } from "../../../chunks/component-utils.js";
|
|
11
11
|
const ne = /* @__PURE__ */ new Map();
|
|
12
12
|
function ce(i) {
|
|
@@ -7,7 +7,7 @@ import { LitElement as d } from "@arcgis/lumina";
|
|
|
7
7
|
import { classes as h } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { H as g } from "../../chunks/heading.js";
|
|
9
9
|
import { g as m } from "../../chunks/globalCss.js";
|
|
10
|
-
const f = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);
|
|
10
|
+
const f = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);display:flex;flex-direction:column;flex:1}.service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`, u = 768;
|
|
11
11
|
class v extends d {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this.stacked = !1, this.headingLevel = 3, this.layout = "auto", this.type = "card";
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
3
|
-
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
4
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
5
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
6
4
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
@@ -608,13 +606,6 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
608
606
|
previous(): Promise<void>;
|
|
609
607
|
/** Use this method to give focus to the component if the component is able to be focused. */
|
|
610
608
|
setFocus(): Promise<void>;
|
|
611
|
-
/**
|
|
612
|
-
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction) event and executes the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions)
|
|
613
|
-
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) array.
|
|
614
|
-
*
|
|
615
|
-
* @param action
|
|
616
|
-
*/
|
|
617
|
-
triggerAction(action: ActionButton | ActionToggle): Promise<void>;
|
|
618
609
|
/** Emitted when the component's close button is clicked. */
|
|
619
610
|
readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
620
611
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "active" | "collapsed" | "currentAlignment" | "dockEnabled" | "effectiveHeading" | "featureCount" | "featureMenuOpen" | "features" | "promises" | "selectedDrillInFeature" | "selectedFeature" | "selectedFeatureComponent" | "selectedFeatureIndex" | "state" | "open"; }>;
|
|
@@ -85,9 +85,6 @@ class j extends L {
|
|
|
85
85
|
async setFocus() {
|
|
86
86
|
this._featuresComponent.value?.setFocus();
|
|
87
87
|
}
|
|
88
|
-
async triggerAction(t) {
|
|
89
|
-
await this._featuresComponent.value?.triggerAction(t);
|
|
90
|
-
}
|
|
91
88
|
connectedCallback() {
|
|
92
89
|
super.connectedCallback(), this._syncPopupResizeObserver();
|
|
93
90
|
}
|
|
@@ -39,9 +39,12 @@ export default class PresentationViewModel extends Accessor {
|
|
|
39
39
|
captureArrowKeysForNavigation(event: KeyboardEvent, direction: "ltr" | "rtl"): void;
|
|
40
40
|
destroy(): void;
|
|
41
41
|
/** @param slideId */
|
|
42
|
+
getSlideBySlideId(slideId: string): Slide | undefined;
|
|
43
|
+
/** @param slideId */
|
|
42
44
|
getSlideIndexBySlideId(slideId: string | undefined): number;
|
|
43
45
|
initialize(): void;
|
|
44
46
|
/** @param stepSize */
|
|
45
47
|
navigateInPresentation(stepSize: number): void;
|
|
46
|
-
|
|
48
|
+
/** @param interactive */
|
|
49
|
+
setSliceAnalysisInteractive(interactive: boolean): Promise<void>;
|
|
47
50
|
}
|
|
@@ -49,6 +49,13 @@ export abstract class ArcgisPresentation extends LitElement {
|
|
|
49
49
|
* @default false
|
|
50
50
|
*/
|
|
51
51
|
accessor keyboardNavigationEnabled: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Hide the presentation navigation in the UI.
|
|
54
|
+
* Slide elements will still be shown when a slide is applied to the view.
|
|
55
|
+
*
|
|
56
|
+
* @default false
|
|
57
|
+
*/
|
|
58
|
+
accessor navigationHidden: boolean;
|
|
52
59
|
/**
|
|
53
60
|
* specifies the size of the component
|
|
54
61
|
*
|