@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,70 +1,52 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import { repeat as
|
|
5
|
-
import { keyed as
|
|
6
|
-
import { createReactiveMap as
|
|
7
|
-
import
|
|
8
|
-
import { on as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { createRef as
|
|
12
|
-
import { LitElement as
|
|
13
|
-
import { usePropertyChange as
|
|
2
|
+
import { c as A } from "../../chunks/runtime.js";
|
|
3
|
+
import { html as r } from "lit";
|
|
4
|
+
import { repeat as R } from "lit/directives/repeat.js";
|
|
5
|
+
import { keyed as _ } from "lit/directives/keyed.js";
|
|
6
|
+
import { createReactiveMap as b } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
7
|
+
import g from "@arcgis/core/core/Collection.js";
|
|
8
|
+
import { on as v, watch as E } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
|
+
import O from "@arcgis/core/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
|
|
10
|
+
import k from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
11
|
+
import { createRef as x, ref as p } from "lit/directives/ref.js";
|
|
12
|
+
import { LitElement as D, createEvent as N, renderElement as $, safeClassMap as I, nothing as F } from "@arcgis/lumina";
|
|
13
|
+
import { usePropertyChange as B } from "@arcgis/lumina/controllers";
|
|
14
14
|
import { classes as G } from "@arcgis/toolkit/dom";
|
|
15
15
|
import { generateGuid as S } from "@arcgis/toolkit/string";
|
|
16
|
-
import { u as
|
|
17
|
-
import { m as
|
|
18
|
-
import { s as
|
|
19
|
-
import { g } from "../../chunks/globalCss.js";
|
|
20
|
-
import { g as
|
|
21
|
-
import { ArcgisLayerListItem as
|
|
22
|
-
import { s as
|
|
23
|
-
const K = P`@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}`, p = {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
filterNoResults: "filter-no-results",
|
|
27
|
-
item: "item",
|
|
28
|
-
itemActive: "item--active",
|
|
29
|
-
itemContentBottom: "item-content-bottom",
|
|
30
|
-
itemMessage: "item-message",
|
|
31
|
-
itemActionIcon: "item-action-icon",
|
|
32
|
-
itemActionImage: "item-action-image",
|
|
33
|
-
itemTemporaryIcon: "item-temporary-icon",
|
|
34
|
-
itemTableIcon: "item-table-icon",
|
|
35
|
-
statusIndicator: "status-indicator",
|
|
36
|
-
publishing: "publishing",
|
|
37
|
-
updating: "updating",
|
|
38
|
-
connectionStatus: "connection-status",
|
|
39
|
-
connectionStatusConnected: "connection-status--connected",
|
|
40
|
-
visibleToggle: "visible-toggle",
|
|
41
|
-
visibleIcon: "visible-icon"
|
|
42
|
-
}, Q = (h) => {
|
|
43
|
-
const e = h?.type;
|
|
16
|
+
import { u as U } from "../../chunks/useT9n.js";
|
|
17
|
+
import { m as H } from "../../chunks/useViewModel.js";
|
|
18
|
+
import { s as L } from "../../chunks/component-utils.js";
|
|
19
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
20
|
+
import { g as C, b as V, r as j, s as q, e as z } from "../../chunks/layer-list-utils.js";
|
|
21
|
+
import { ArcgisLayerListItem as J } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
|
|
22
|
+
import { s as K, a as Q } from "../../chunks/layer-list-next.js";
|
|
23
|
+
import { c as W } from "../../chunks/css.js";
|
|
24
|
+
const h = W, X = (m) => {
|
|
25
|
+
const e = m?.type;
|
|
44
26
|
return e === "knowledge-graph" || e === "map-image" || e === "tile";
|
|
45
|
-
},
|
|
46
|
-
class te extends
|
|
27
|
+
}, Y = (m) => m?.type === "catalog", M = "nested", Z = g.ofType(k), ee = H(O);
|
|
28
|
+
class te extends D {
|
|
47
29
|
constructor() {
|
|
48
|
-
super(...arguments), this._rootGroupUid = `operational-${S()}`, this._openedLayersController = null, this._rootListRef =
|
|
30
|
+
super(...arguments), this._rootGroupUid = `operational-${S()}`, this._openedLayersController = null, this._rootListRef = x(), this._destroying = !1, this._destroyed = !1, this.messages = U(), this._clearActiveItem = () => {
|
|
49
31
|
this._activeItem = null;
|
|
50
32
|
}, this._setActiveItem = (e) => {
|
|
51
33
|
if (this.visibilityAppearance !== "default")
|
|
52
34
|
return;
|
|
53
|
-
const t = Array.from(e.composedPath()).find((
|
|
54
|
-
this._activeItem =
|
|
55
|
-
}, this._tooltipReferenceMap =
|
|
35
|
+
const t = Array.from(e.composedPath()).find((s) => s.classList?.contains(h.item));
|
|
36
|
+
this._activeItem = C(t);
|
|
37
|
+
}, this._tooltipReferenceMap = b(), this._layerListMap = b(), this._setPanelFlowItemRef = (e) => {
|
|
56
38
|
e && this._focusPanelFlowItemNode(e);
|
|
57
39
|
}, this._setRootFlowItemRef = (e) => {
|
|
58
40
|
e && this._focusRootFlowItemNode(e);
|
|
59
41
|
}, this._setLayerFlowItemRef = (e) => {
|
|
60
42
|
e && this._focusLayerFlowItemNode(e);
|
|
61
|
-
}, this.viewModel = ee(this), this._activeItem = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this.layerTablesEnabled = new
|
|
43
|
+
}, this.viewModel = ee(this), this._activeItem = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this.layerTablesEnabled = new g(["knowledge-graph"]), this.mapImageOptions = null, this.tileOptions = null, this.view = this.viewModel.view, 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.closed = !1, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.openedLayers = new g(), this.openedLayerLists = new g(), this.collapsed = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.minFilterItems = V, this.selectedItems = new Z(), this.selectionMode = "none", this.visibilityAppearance = "default", this.arcgisPropertyChange = B()("state"), this.arcgisReady = N();
|
|
62
44
|
}
|
|
63
45
|
static {
|
|
64
46
|
this.properties = { _catalogLayerList: 16, _activeItem: 16, _focusRootFlowItem: 16, _focusPanelFlowItem: 16, _focusLayerFlowItem: 16, _totalItems: 16, _filterEnabled: 16, _visibleItems: 16, _openedPanelItems: 16, _renderedOpenLayerFlowItems: 16, layerTablesEnabled: 16, mapImageOptions: 16, tileOptions: 16, view: 0, hideCatalogLayerList: 5, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, hideStatusIndicators: 5, showTemporaryLayerIndicators: 5, closed: 5, topLayerDisabled: 5, autoDestroyDisabled: 5, referenceElement: 1, state: 32, openedLayers: 32, openedLayerLists: 32, catalogItems: 0, catalogLayer: 0, catalogOptions: 0, collapsed: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, knowledgeGraphOptions: 0, label: 1, listItemCreatedFunction: 0, minFilterItems: 9, selectedItems: 0, selectionMode: 1, visibilityAppearance: 1, messageOverrides: 0, onCatalogOpen: 0, onTablesOpen: 0 };
|
|
65
47
|
}
|
|
66
48
|
static {
|
|
67
|
-
this.styles = [K,
|
|
49
|
+
this.styles = [K, Q];
|
|
68
50
|
}
|
|
69
51
|
get _totalItems() {
|
|
70
52
|
return this.catalogItems?.flatten((e) => e.children.filter((t) => t.layer?.type !== "catalog-dynamic-group")).length ?? 0;
|
|
@@ -80,7 +62,7 @@ class te extends N {
|
|
|
80
62
|
}
|
|
81
63
|
get _renderedOpenLayerFlowItems() {
|
|
82
64
|
const { openedLayers: e } = this;
|
|
83
|
-
return e.toArray().map((t,
|
|
65
|
+
return e.toArray().map((t, s) => this._renderLayerFlowItem(t, s === e.length - 1));
|
|
84
66
|
}
|
|
85
67
|
get catalogItems() {
|
|
86
68
|
return this.viewModel.catalogItems;
|
|
@@ -99,11 +81,11 @@ class te extends N {
|
|
|
99
81
|
}
|
|
100
82
|
loaded() {
|
|
101
83
|
this.manager.onLifecycle(() => [
|
|
102
|
-
|
|
84
|
+
v(() => this.openedLayers, "change", () => {
|
|
103
85
|
this._handleOpenedLayersChange();
|
|
104
86
|
}),
|
|
105
|
-
|
|
106
|
-
E(() => [this.filterPredicate, this._rootListRef.value], () =>
|
|
87
|
+
v(() => this.viewModel.catalogItems, "change", () => j(this.selectedItems)),
|
|
88
|
+
E(() => [this.filterPredicate, this._rootListRef.value], () => q(this._rootListRef.value, this.filterPredicate))
|
|
107
89
|
]);
|
|
108
90
|
}
|
|
109
91
|
disconnectedCallback() {
|
|
@@ -115,43 +97,43 @@ class te extends N {
|
|
|
115
97
|
return this.viewModel.triggerAction(e, t);
|
|
116
98
|
}
|
|
117
99
|
async _createFlowList(e, t) {
|
|
118
|
-
const { _layerListMap:
|
|
119
|
-
if (
|
|
120
|
-
return
|
|
121
|
-
const
|
|
122
|
-
return t.aborted || !this.isConnected || this._destroyed ? (
|
|
100
|
+
const { _layerListMap: s } = this, i = s.get(e);
|
|
101
|
+
if (i)
|
|
102
|
+
return i;
|
|
103
|
+
const o = e.type === "catalog" ? await this._createCatalogLayerList(e) : await this._createTableList(e);
|
|
104
|
+
return t.aborted || !this.isConnected || this._destroyed ? (o?.destroy?.(), o) : (t.aborted || s.set(e, o), o);
|
|
123
105
|
}
|
|
124
106
|
async _handleOpenedLayersChange() {
|
|
125
107
|
if (!this.isConnected || this._destroyed)
|
|
126
108
|
return;
|
|
127
|
-
const { _layerListMap: e, openedLayers: t, openedLayerLists:
|
|
109
|
+
const { _layerListMap: e, openedLayers: t, openedLayerLists: s } = this;
|
|
128
110
|
this._openedLayersController?.abort();
|
|
129
|
-
const
|
|
130
|
-
this._openedLayersController =
|
|
131
|
-
t.includes(d) || (
|
|
111
|
+
const i = new AbortController(), { signal: o } = i;
|
|
112
|
+
this._openedLayersController = i, e.forEach((c, d) => {
|
|
113
|
+
t.includes(d) || (c?.destroy?.(), e.delete(d));
|
|
132
114
|
});
|
|
133
|
-
const
|
|
134
|
-
if (
|
|
115
|
+
const a = await Promise.all(t.map((c) => this._createFlowList(c, o)));
|
|
116
|
+
if (o.aborted || !this.isConnected || this._destroyed)
|
|
135
117
|
return;
|
|
136
|
-
|
|
137
|
-
const
|
|
138
|
-
this._catalogLayerList !==
|
|
118
|
+
s.removeAll(), s.addMany(a);
|
|
119
|
+
const l = s.at(-1), n = l && "catalogLayer" in l ? l : void 0;
|
|
120
|
+
this._catalogLayerList !== n && (this._catalogLayerList = n);
|
|
139
121
|
}
|
|
140
122
|
_handlePanelFlowItemBack(e) {
|
|
141
123
|
e.open = !1, this._focusRootFlowItem = !0;
|
|
142
124
|
}
|
|
143
125
|
_focusRootFlowItemNode(e) {
|
|
144
|
-
this._focusRootFlowItem && (this._focusRootFlowItem = !1,
|
|
126
|
+
this._focusRootFlowItem && (this._focusRootFlowItem = !1, L(e));
|
|
145
127
|
}
|
|
146
128
|
_focusPanelFlowItemNode(e) {
|
|
147
|
-
this._focusPanelFlowItem && (this._focusPanelFlowItem = !1,
|
|
129
|
+
this._focusPanelFlowItem && (this._focusPanelFlowItem = !1, L(e));
|
|
148
130
|
}
|
|
149
131
|
_focusLayerFlowItemNode(e) {
|
|
150
|
-
this._focusLayerFlowItem === e.dataset.layerUid && (this._focusLayerFlowItem = null,
|
|
132
|
+
this._focusLayerFlowItem === e.dataset.layerUid && (this._focusLayerFlowItem = null, L(e));
|
|
151
133
|
}
|
|
152
134
|
async _createCatalogLayerList(e) {
|
|
153
|
-
const { headingLevel: t, catalogOptions:
|
|
154
|
-
return
|
|
135
|
+
const { headingLevel: t, catalogOptions: s, view: i, referenceElement: o, filterPlaceholder: a, listItemCreatedFunction: l, minFilterItems: n, selectionMode: c, visibilityAppearance: d } = this;
|
|
136
|
+
return $(r`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? l} .minFilterItems=${s?.minFilterItems ?? n} .selectionMode=${s?.selectionMode ?? c} .visibilityAppearance=${s?.visibilityAppearance ?? d} .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=${(u) => u.stopPropagation()} .catalogLayer=${e} .view=${i} .referenceElement=${o} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
|
|
155
137
|
}
|
|
156
138
|
_getTableListParams(e) {
|
|
157
139
|
switch (e.type) {
|
|
@@ -172,8 +154,8 @@ class te extends N {
|
|
|
172
154
|
}
|
|
173
155
|
}
|
|
174
156
|
async _createTableList(e) {
|
|
175
|
-
const { headingLevel: t, selectionMode:
|
|
176
|
-
return
|
|
157
|
+
const { headingLevel: t, selectionMode: s, referenceElement: i, view: o } = this, a = this._getTableListParams(e);
|
|
158
|
+
return $(r`<arcgis-table-list .headingLevel=${a?.headingLevel ?? t} .selectionMode=${a?.selectionMode ?? s} .collapsed=${a?.collapsed} .filterPlaceholder=${a?.filterPlaceholder} .filterText=${a?.filterText} .label=${a?.label} .tables=${a?.tables} .view=${o} .referenceElement=${i} @arcgisReady=${(l) => l.stopPropagation()}></arcgis-table-list>`);
|
|
177
159
|
}
|
|
178
160
|
_onTablesOpen(e) {
|
|
179
161
|
if (this.onTablesOpen) {
|
|
@@ -181,7 +163,7 @@ class te extends N {
|
|
|
181
163
|
return;
|
|
182
164
|
}
|
|
183
165
|
const t = e.layer;
|
|
184
|
-
|
|
166
|
+
X(t) && (this.openedLayers.push(t), this._focusLayerFlowItem = t.uid);
|
|
185
167
|
}
|
|
186
168
|
_onCatalogOpen(e) {
|
|
187
169
|
if (this.onCatalogOpen) {
|
|
@@ -189,7 +171,7 @@ class te extends N {
|
|
|
189
171
|
return;
|
|
190
172
|
}
|
|
191
173
|
const t = e.layer?.parent;
|
|
192
|
-
|
|
174
|
+
Y(t) && (this.openedLayers.push(t), this._focusLayerFlowItem = e.layer?.uid);
|
|
193
175
|
}
|
|
194
176
|
_onTooltipReferenceChange(e, t) {
|
|
195
177
|
t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
|
|
@@ -198,22 +180,22 @@ class te extends N {
|
|
|
198
180
|
this.triggerAction(e, t);
|
|
199
181
|
}
|
|
200
182
|
_handleCalciteListChange(e) {
|
|
201
|
-
const { selectionMode: t, selectedItems:
|
|
183
|
+
const { selectionMode: t, selectedItems: s } = this;
|
|
202
184
|
if (t === "none")
|
|
203
185
|
return;
|
|
204
|
-
const
|
|
205
|
-
|
|
186
|
+
const i = e.target.selectedItems.map((o) => C(o)).filter(Boolean);
|
|
187
|
+
s.removeAll(), s.addMany(i);
|
|
206
188
|
}
|
|
207
189
|
render() {
|
|
208
190
|
const { state: e } = this, t = {
|
|
209
|
-
[
|
|
210
|
-
[
|
|
191
|
+
[f.hidden]: e === "loading",
|
|
192
|
+
[f.disabled]: e === "disabled"
|
|
211
193
|
};
|
|
212
|
-
return
|
|
194
|
+
return r`<div class=${I(G(f.widget, f.panel, t))}>${this._visibleItems?.length ? this._renderItemTooltips() : null}${this._renderItems()}</div>`;
|
|
213
195
|
}
|
|
214
196
|
_renderItemTooltip(e) {
|
|
215
|
-
const { _tooltipReferenceMap: t, messages:
|
|
216
|
-
return e?.layer ?
|
|
197
|
+
const { _tooltipReferenceMap: t, messages: s } = this;
|
|
198
|
+
return e?.layer ? r`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer.uid)} .topLayerDisabled=${this.topLayerDisabled}>${s.layerIncompatibleTooltip}</calcite-tooltip>` : null;
|
|
217
199
|
}
|
|
218
200
|
_renderItemTooltipNodes(e) {
|
|
219
201
|
return e.incompatible ? this._renderItemTooltip(e) : e.children?.filter((t) => !t.hidden).toArray().map((t) => this._renderItemTooltipNodes(t));
|
|
@@ -222,42 +204,42 @@ class te extends N {
|
|
|
222
204
|
return this._visibleItems?.toArray().map((e) => this._renderItemTooltipNodes(e));
|
|
223
205
|
}
|
|
224
206
|
_renderNoItemsMessage() {
|
|
225
|
-
return
|
|
207
|
+
return r`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
|
|
226
208
|
}
|
|
227
209
|
_renderNoItems() {
|
|
228
|
-
return
|
|
210
|
+
return r`<div class=${I(h.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
|
|
229
211
|
}
|
|
230
212
|
_renderPanelFlowItems() {
|
|
231
213
|
const { _openedPanelItems: e, openedLayers: t } = this;
|
|
232
|
-
return
|
|
233
|
-
const { uid:
|
|
234
|
-
return
|
|
235
|
-
|
|
236
|
-
}} ${
|
|
214
|
+
return R(e.toArray(), ({ uid: s }) => s, (s, i) => {
|
|
215
|
+
const { uid: o, title: a, panel: l } = s, n = () => this._handlePanelFlowItemBack(l);
|
|
216
|
+
return r`<calcite-flow-item .description=${a} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(c) => {
|
|
217
|
+
c.preventDefault(), n();
|
|
218
|
+
}} ${p(this._setPanelFlowItemRef)}><arcgis-layer-list-item-panel .item=${s} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent slot=footer-actions width=full @click=${n}>Back</calcite-button></calcite-flow-item>`;
|
|
237
219
|
});
|
|
238
220
|
}
|
|
239
221
|
_renderItems() {
|
|
240
|
-
const { collapsed: e, _visibleItems: t, _filterEnabled:
|
|
241
|
-
|
|
222
|
+
const { collapsed: e, _visibleItems: t, _filterEnabled: s, _rootGroupUid: i, showCloseButton: o, showCollapseButton: a, showHeading: l, selectionMode: n, filterText: c, filterPlaceholder: d, openedLayers: u, _openedPanelItems: T } = this, w = this.label ?? this.messages.componentLabel ?? "", P = [
|
|
223
|
+
r`<calcite-flow-item .closable=${o} .closed=${this.closed} .collapsed=${e} .collapsible=${a} .heading=${l ? w : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !T.length} @calciteFlowItemClose=${() => this.closed = !0} ${p(this._setRootFlowItemRef)}>${t?.length ? r`<calcite-list data-layer-type=${i ?? F} .displayMode=${M} .filterEnabled=${s} .filterPlaceholder=${d} .filterProps=${z} .filterText=${s ? c : ""} .group=${i} .label=${w} @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} selection-appearance=border .selectionMode=${n} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(y) => this.filterText = y.currentTarget?.filterText ?? ""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} ${p(this._rootListRef)}>${t.toArray().map((y) => this._renderItem(y))}${s ? r`<div class=${I(h.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>`,
|
|
242
224
|
this._renderPanelFlowItems(),
|
|
243
225
|
this._renderedOpenLayerFlowItems
|
|
244
226
|
];
|
|
245
|
-
return this.closed ? null :
|
|
227
|
+
return this.closed ? null : _("root-flow", r`<calcite-flow>${P}</calcite-flow>`);
|
|
246
228
|
}
|
|
247
229
|
_renderLayerFlowItem(e, t) {
|
|
248
|
-
const { messages:
|
|
249
|
-
return
|
|
250
|
-
|
|
251
|
-
const
|
|
252
|
-
|
|
253
|
-
}} ${
|
|
230
|
+
const { messages: s, openedLayers: i } = this, o = e.title || this.messages.untitledLayer;
|
|
231
|
+
return _(e.uid, r`<calcite-flow-item data-layer-uid=${e.uid ?? F} .description=${o} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(a) => {
|
|
232
|
+
a.preventDefault(), i.pop();
|
|
233
|
+
const l = i.at(-1);
|
|
234
|
+
l ? this._focusLayerFlowItem = l.uid : this._focusRootFlowItem = !0;
|
|
235
|
+
}} ${p(this._setLayerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
|
|
254
236
|
}
|
|
255
|
-
_renderItem(e, t,
|
|
256
|
-
const { hideStatusIndicators:
|
|
257
|
-
return
|
|
237
|
+
_renderItem(e, t, s) {
|
|
238
|
+
const { hideStatusIndicators: i, showCloseButton: o, showCollapseButton: a, showErrors: l, showFilter: n, showHeading: c, showTemporaryLayerIndicators: d } = this;
|
|
239
|
+
return _(e.uid, J({ activeItem: this._activeItem ?? void 0, css: { ...h, itemCatalogIcon: h.itemActionIcon }, displayMode: M, dragEnabled: !1, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, visibilityAppearance: this.visibilityAppearance, hideStatusIndicators: i, showCloseButton: o, showCollapseButton: a, showErrors: l, showFilter: n, showHeading: c, showTemporaryLayerIndicators: d, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
|
|
258
240
|
}
|
|
259
241
|
}
|
|
260
|
-
|
|
242
|
+
A("arcgis-catalog-layer-list-next", te);
|
|
261
243
|
export {
|
|
262
244
|
te as ArcgisCatalogLayerListNext
|
|
263
245
|
};
|