@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,27 +1,28 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as M, html as
|
|
3
|
+
import { css as M, html as d } from "lit";
|
|
4
4
|
import { LitElement as O, createEvent as S, nothing as T, safeClassMap as u } from "@arcgis/lumina";
|
|
5
5
|
import { usePropertyChange as $ } from "@arcgis/lumina/controllers";
|
|
6
6
|
import { u as z } from "../../chunks/useT9n.js";
|
|
7
7
|
import { m as k } from "../../chunks/useViewModel.js";
|
|
8
|
-
import { H as
|
|
8
|
+
import { H as f } from "../../chunks/heading.js";
|
|
9
9
|
import { g as m } from "../../chunks/globalCss.js";
|
|
10
10
|
import { V as g } from "../../chunks/visible-element.js";
|
|
11
11
|
import I from "@arcgis/core/analysis/ShadowCastAnalysis.js";
|
|
12
|
-
import { property as
|
|
12
|
+
import { property as r, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
13
|
import { A as V } from "../../chunks/AnalysisViewModel.js";
|
|
14
14
|
import { watch as E, whenOnce as L } from "@arcgis/core/core/reactiveUtils.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
import { t as A } from "../../chunks/earth-utils.js";
|
|
16
|
+
import { c as h, g as R } from "../../chunks/time-utils.js";
|
|
17
|
+
import { forceInteractive as H } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
18
|
+
const j = M`.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{position:relative;width:var(--arcgis-internal-panel-width, 300px)}.root{--section-internal-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--calcite-spacing-lg);min-width:var(--arcgis-internal-panel-min-width, 300px);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}:host([visual-scale="s"]) .root{--section-internal-gap: var(--calcite-spacing-sm)}:host([visual-scale="l"]) .root{--section-internal-gap: var(--calcite-spacing-lg)}.time-range-section arcgis-time-of-day-slider{margin-block-end:var(--section-internal-gap)}.time-range-section calcite-label:last-child,.visualization-options-section calcite-label:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--section-internal-gap)}.hidden-config{display:none}`;
|
|
19
|
+
var U = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, a = (e, i, t, n) => {
|
|
20
|
+
for (var s = n > 1 ? void 0 : n ? Z(i, t) : i, l = e.length - 1, c; l >= 0; l--)
|
|
21
|
+
(c = e[l]) && (s = (n ? c(i, t, s) : c(s)) || s);
|
|
22
|
+
return n && s && U(i, t, s), s;
|
|
22
23
|
};
|
|
23
|
-
const
|
|
24
|
-
let
|
|
24
|
+
const v = /* @__PURE__ */ Symbol("interactiveHandle");
|
|
25
|
+
let o = class extends V {
|
|
25
26
|
constructor() {
|
|
26
27
|
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Shadow Cast component is only supported in 3D views.", this.shouldForceInteractive = !1, this.minMinDuration = 0, this.maxMinDuration = h(8, "hours", "milliseconds"), this.hideShadowDurationTooltip = !1;
|
|
27
28
|
}
|
|
@@ -36,7 +37,7 @@ let t = class extends V {
|
|
|
36
37
|
tooltipVisible: !this.hideShadowDurationTooltip
|
|
37
38
|
}),
|
|
38
39
|
({ analysisView: e, tooltipVisible: i }) => {
|
|
39
|
-
this.removeHandles(
|
|
40
|
+
this.removeHandles(v), e && (e.interactive = i, i && this.addHandles(H(e), v));
|
|
40
41
|
},
|
|
41
42
|
{ sync: !0, initial: !0 }
|
|
42
43
|
)
|
|
@@ -73,7 +74,7 @@ let t = class extends V {
|
|
|
73
74
|
this.analysis.totalDurationOptions.mode = e;
|
|
74
75
|
}
|
|
75
76
|
get localDate() {
|
|
76
|
-
return
|
|
77
|
+
return R(this.view, this.effectiveUtcOffset);
|
|
77
78
|
}
|
|
78
79
|
get mode() {
|
|
79
80
|
return this.analysis.mode;
|
|
@@ -133,97 +134,107 @@ let t = class extends V {
|
|
|
133
134
|
this.analysis.minDurationOptions.contextOptions.interval = e;
|
|
134
135
|
}
|
|
135
136
|
get utcOffset() {
|
|
136
|
-
return this.analysis.utcOffset;
|
|
137
|
+
return this.analysis.utcOffset ?? void 0;
|
|
137
138
|
}
|
|
138
139
|
set utcOffset(e) {
|
|
139
140
|
this.analysis.utcOffset = e;
|
|
140
141
|
}
|
|
142
|
+
get effectiveUtcOffset() {
|
|
143
|
+
const { utcOffset: e } = this.analysis;
|
|
144
|
+
if (e != null)
|
|
145
|
+
return e;
|
|
146
|
+
const i = this.view?.camera?.position;
|
|
147
|
+
return i ? A(i) : 0;
|
|
148
|
+
}
|
|
141
149
|
async getDurationAtScreen(e) {
|
|
142
150
|
return await (await L(() => this.analysisView)).getDurationAtScreen(e);
|
|
143
151
|
}
|
|
144
152
|
};
|
|
145
153
|
a([
|
|
146
|
-
|
|
147
|
-
],
|
|
154
|
+
r()
|
|
155
|
+
], o.prototype, "date", 1);
|
|
156
|
+
a([
|
|
157
|
+
r()
|
|
158
|
+
], o.prototype, "discreteColor", 1);
|
|
148
159
|
a([
|
|
149
|
-
|
|
150
|
-
],
|
|
160
|
+
r()
|
|
161
|
+
], o.prototype, "discreteInterval", 1);
|
|
151
162
|
a([
|
|
152
|
-
|
|
153
|
-
],
|
|
163
|
+
r()
|
|
164
|
+
], o.prototype, "totalDurationColor", 1);
|
|
154
165
|
a([
|
|
155
|
-
|
|
156
|
-
],
|
|
166
|
+
r()
|
|
167
|
+
], o.prototype, "totalDurationMode", 1);
|
|
157
168
|
a([
|
|
158
|
-
|
|
159
|
-
],
|
|
169
|
+
r()
|
|
170
|
+
], o.prototype, "localDate", 1);
|
|
160
171
|
a([
|
|
161
|
-
|
|
162
|
-
],
|
|
172
|
+
r()
|
|
173
|
+
], o.prototype, "mode", 1);
|
|
163
174
|
a([
|
|
164
|
-
|
|
165
|
-
],
|
|
175
|
+
r()
|
|
176
|
+
], o.prototype, "visualizeSunlight", 1);
|
|
166
177
|
a([
|
|
167
|
-
|
|
168
|
-
],
|
|
178
|
+
r()
|
|
179
|
+
], o.prototype, "startTimeOfDay", 1);
|
|
169
180
|
a([
|
|
170
|
-
|
|
171
|
-
],
|
|
181
|
+
r()
|
|
182
|
+
], o.prototype, "endTimeOfDay", 1);
|
|
172
183
|
a([
|
|
173
|
-
|
|
174
|
-
],
|
|
184
|
+
r()
|
|
185
|
+
], o.prototype, "state", 1);
|
|
175
186
|
a([
|
|
176
|
-
|
|
177
|
-
],
|
|
187
|
+
r()
|
|
188
|
+
], o.prototype, "minDurationColor", 1);
|
|
178
189
|
a([
|
|
179
|
-
|
|
180
|
-
],
|
|
190
|
+
r()
|
|
191
|
+
], o.prototype, "minMinDuration", 2);
|
|
181
192
|
a([
|
|
182
|
-
|
|
183
|
-
],
|
|
193
|
+
r()
|
|
194
|
+
], o.prototype, "maxMinDuration", 2);
|
|
184
195
|
a([
|
|
185
|
-
|
|
186
|
-
],
|
|
196
|
+
r()
|
|
197
|
+
], o.prototype, "minDuration", 1);
|
|
187
198
|
a([
|
|
188
|
-
|
|
189
|
-
],
|
|
199
|
+
r()
|
|
200
|
+
], o.prototype, "minDurationContextEnabled", 1);
|
|
190
201
|
a([
|
|
191
|
-
|
|
192
|
-
],
|
|
202
|
+
r()
|
|
203
|
+
], o.prototype, "minDurationContextColor", 1);
|
|
193
204
|
a([
|
|
194
|
-
|
|
195
|
-
],
|
|
205
|
+
r()
|
|
206
|
+
], o.prototype, "minDurationContextInterval", 1);
|
|
196
207
|
a([
|
|
197
|
-
|
|
198
|
-
],
|
|
208
|
+
r()
|
|
209
|
+
], o.prototype, "utcOffset", 1);
|
|
199
210
|
a([
|
|
200
|
-
|
|
201
|
-
],
|
|
211
|
+
r()
|
|
212
|
+
], o.prototype, "effectiveUtcOffset", 1);
|
|
202
213
|
a([
|
|
203
|
-
|
|
204
|
-
],
|
|
205
|
-
|
|
214
|
+
r()
|
|
215
|
+
], o.prototype, "hideShadowDurationTooltip", 2);
|
|
216
|
+
o = a([
|
|
206
217
|
P("components.shadow-cast.ShadowCastViewModel")
|
|
207
|
-
],
|
|
208
|
-
const
|
|
209
|
-
class
|
|
218
|
+
], o);
|
|
219
|
+
const F = k(o);
|
|
220
|
+
class B extends O {
|
|
210
221
|
constructor() {
|
|
211
|
-
super(...arguments), this.viewModel =
|
|
222
|
+
super(...arguments), this.viewModel = F(this), this.messages = z(), this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.visualizeSunlight = this.viewModel.visualizeSunlight, this.visualScale = "m", this.autoDestroyDisabled = !1, this.endTimeOfDay = this.viewModel.endTimeOfDay, this.headingLevel = 4, this.hideTimeRangeSlider = !1, this.hideTimezone = !1, this.hideDatePicker = !1, this.hideShadowDurationTooltip = this.viewModel.hideShadowDurationTooltip, this.hideVisualization = this.viewModel.hideVisualization, this.hideVisualizationOptions = !1, this.hideDiscreteOptions = !1, this.hideDiscreteColorPicker = !1, this.hideDiscreteInterval = !1, this.hideTotalDurationOptions = !1, this.hideTotalDurationColorPicker = !1, this.hideTotalDurationModeSelect = !1, this.hideMinDurationOptions = !1, this.hideMinDurationColorPicker = !1, this.hideMinDurationSlider = !1, this.hideMinDurationContextOptions = !1, this.hideMinDurationContextToggle = !1, this.hideMinDurationContextColorPicker = !1, this.hideMinDurationContextInterval = !1, this.icon = "measure-building-height-shadow", this.mode = this.viewModel.mode, this.startTimeOfDay = this.viewModel.startTimeOfDay, this.state = this.viewModel.state, this.utcOffset = this.viewModel.utcOffset, this.discreteColor = this.viewModel.discreteColor, this.discreteInterval = this.viewModel.discreteInterval, this.totalDurationColor = this.viewModel.totalDurationColor, this.totalDurationMode = this.viewModel.totalDurationMode, this.minDuration = this.viewModel.minDuration, this.minDurationColor = this.viewModel.minDurationColor, this.minMinDuration = this.viewModel.minMinDuration, this.maxMinDuration = this.viewModel.maxMinDuration, this.minDurationContextEnabled = this.viewModel.minDurationContextEnabled, this.minDurationContextColor = this.viewModel.minDurationContextColor, this.minDurationContextInterval = this.viewModel.minDurationContextInterval, this.arcgisPropertyChange = $()("state"), this.arcgisReady = S();
|
|
212
223
|
}
|
|
213
224
|
static {
|
|
214
225
|
this.properties = { analysis: 0, view: 0, visualizeSunlight: 5, visualScale: 3, autoDestroyDisabled: 5, date: 1, endTimeOfDay: 9, headingLevel: 9, hideTimeRangeSlider: 5, hideTimezone: 5, hideDatePicker: 5, hideShadowDurationTooltip: 5, hideVisualization: 5, hideVisualizationOptions: 5, hideDiscreteOptions: 5, hideDiscreteColorPicker: 5, hideDiscreteInterval: 5, hideTotalDurationOptions: 5, hideTotalDurationColorPicker: 5, hideTotalDurationModeSelect: 5, hideMinDurationOptions: 5, hideMinDurationColorPicker: 5, hideMinDurationSlider: 5, hideMinDurationContextOptions: 5, hideMinDurationContextToggle: 5, hideMinDurationContextColorPicker: 5, hideMinDurationContextInterval: 5, icon: 3, label: 1, mode: 1, referenceElement: 1, startTimeOfDay: 9, state: 32, utcOffset: 9, discreteColor: 0, discreteInterval: 9, totalDurationColor: 0, totalDurationMode: 1, minDuration: 9, minDurationColor: 0, minMinDuration: 9, maxMinDuration: 9, minDurationContextEnabled: 5, minDurationContextColor: 0, minDurationContextInterval: 9 };
|
|
215
226
|
}
|
|
216
227
|
static {
|
|
217
|
-
this.styles =
|
|
228
|
+
this.styles = j;
|
|
218
229
|
}
|
|
219
230
|
get _effectiveMessages() {
|
|
220
|
-
const { messages: i, visualizeSunlight:
|
|
231
|
+
const { messages: i, visualizeSunlight: t } = this, { sunlight: n } = i;
|
|
221
232
|
return {
|
|
222
233
|
...i,
|
|
223
|
-
discrete:
|
|
224
|
-
minDuration:
|
|
225
|
-
totalDuration:
|
|
226
|
-
timeInShadow:
|
|
234
|
+
discrete: t ? n?.discrete : i.discrete,
|
|
235
|
+
minDuration: t ? n?.minDuration : i.minDuration,
|
|
236
|
+
totalDuration: t ? n?.totalDuration : i.totalDuration,
|
|
237
|
+
timeInShadow: t ? i.timeInSunlight : i.timeInShadow,
|
|
227
238
|
timeRangeSliderLabel: i.timeRangeSliderLabel
|
|
228
239
|
};
|
|
229
240
|
}
|
|
@@ -241,7 +252,7 @@ class F extends O {
|
|
|
241
252
|
}
|
|
242
253
|
render() {
|
|
243
254
|
const { _effectiveMessages: i } = this;
|
|
244
|
-
return
|
|
255
|
+
return d`<div aria-label=${i.componentLabel ?? T} class=${u({
|
|
245
256
|
root: !0,
|
|
246
257
|
[m.widget]: !0,
|
|
247
258
|
[m.widgetDisabled]: this.viewModel.state === "disabled",
|
|
@@ -251,43 +262,43 @@ class F extends O {
|
|
|
251
262
|
_renderTimeRangeSection() {
|
|
252
263
|
if (!this.analysis || this.hideTimeRangeSlider && this.hideDatePicker)
|
|
253
264
|
return;
|
|
254
|
-
const { _effectiveMessages: i,
|
|
255
|
-
return
|
|
256
|
-
|
|
257
|
-
}}></calcite-input-time-zone></calcite-label>` })}${g({ hidden: this.hideDatePicker, children:
|
|
258
|
-
const
|
|
259
|
-
|
|
265
|
+
const { _effectiveMessages: i, viewModel: t } = this, n = this.visualScale;
|
|
266
|
+
return d`<section class="time-range-section">${f({ level: this.headingLevel, children: i.timeRangeHeading })}${g({ hidden: this.hideTimeRangeSlider, children: this._renderTimeRange() })}${g({ hidden: this.hideTimezone, children: d`<calcite-label .scale=${n}>${i.timezoneLabel}<calcite-input-time-zone mode=offset overlay-positioning=fixed .referenceDate=${t.localDate} .scale=${n} .value=${`${h(t.effectiveUtcOffset, "hours", "minutes")}`} @calciteInputTimeZoneChange=${(s) => {
|
|
267
|
+
t.utcOffset = +s.target.value / 60;
|
|
268
|
+
}}></calcite-input-time-zone></calcite-label>` })}${g({ hidden: this.hideDatePicker, children: d`<calcite-label .scale=${n}>${i.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${n} .valueAsDate=${t.date} @calciteInputDatePickerChange=${(s) => {
|
|
269
|
+
const l = s.currentTarget.valueAsDate;
|
|
270
|
+
t.date = Array.isArray(l) ? l[0] : l;
|
|
260
271
|
}}></calcite-input-date-picker></calcite-label>` })}</section>`;
|
|
261
272
|
}
|
|
262
273
|
_renderTimeRange() {
|
|
263
|
-
const { _effectiveMessages: i, viewModel:
|
|
264
|
-
return
|
|
265
|
-
|
|
274
|
+
const { _effectiveMessages: i, viewModel: t } = this;
|
|
275
|
+
return d`<arcgis-time-of-day-slider mode=range .startTime=${w(this.startTimeOfDay)} .endTime=${w(this.endTimeOfDay)} .label=${i.timeRangeSliderLabel} .visualScale=${this.visualScale} @arcgisTimeChange=${({ currentTarget: n }) => {
|
|
276
|
+
t.startTimeOfDay = h(n.startTime, "minutes", "milliseconds"), t.endTimeOfDay = h(n.endTime, "minutes", "milliseconds");
|
|
266
277
|
}}></arcgis-time-of-day-slider>`;
|
|
267
278
|
}
|
|
268
279
|
_renderVisualizationOptionsSection() {
|
|
269
|
-
const { analysis: i, _effectiveMessages:
|
|
280
|
+
const { analysis: i, _effectiveMessages: t, headingLevel: n, viewModel: s } = this;
|
|
270
281
|
if (!i)
|
|
271
282
|
return;
|
|
272
|
-
const { discreteOptions: l, totalDurationOptions:
|
|
273
|
-
return
|
|
283
|
+
const { discreteOptions: l, totalDurationOptions: c, minDurationOptions: D } = i, p = (_, b) => s.mode === _ && !b ? void 0 : "hidden-config", x = this.hideMinDurationContextOptions || this.visualizeSunlight, y = this.hideMinDurationContextToggle || this.visualizeSunlight;
|
|
284
|
+
return d`<section class="visualization-options-section">${f({ level: n, children: t.visualizationLabel })}<div class="visualization-options">${this._renderModeSelect()}<div class=${u(p("min-duration", this.hideMinDurationOptions))}><arcgis-shadow-cast-min-duration-config .hideColorPicker=${this.hideMinDurationColorPicker} .hideContextColorPicker=${this.hideMinDurationContextColorPicker} .hideContextInterval=${this.hideMinDurationContextInterval} .hideContextOptions=${x} .hideContextToggle=${y} .hideSlider=${this.hideMinDurationSlider} .minMinDuration=${this.minMinDuration} .maxMinDuration=${this.maxMinDuration} .messages=${t} .options=${D} .scale=${this.visualScale}></arcgis-shadow-cast-min-duration-config></div><div class=${u(p("total-duration", this.hideTotalDurationOptions))}><arcgis-shadow-cast-total-duration-config .hideColorPicker=${this.hideTotalDurationColorPicker} .hideModeSelect=${this.hideTotalDurationModeSelect} .messages=${t} .options=${c} .scale=${this.visualScale}></arcgis-shadow-cast-total-duration-config></div><div class=${u(p("discrete", this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${t} .options=${l} .scale=${this.visualScale}></arcgis-shadow-cast-discrete-config></div></div></section>`;
|
|
274
285
|
}
|
|
275
286
|
_renderModeSelect() {
|
|
276
|
-
const { _effectiveMessages: i, viewModel:
|
|
277
|
-
return
|
|
287
|
+
const { _effectiveMessages: i, viewModel: t } = this, { mode: n } = t;
|
|
288
|
+
return d`<calcite-select .label=${i.visualizationLabel ?? ""} .scale=${this.visualScale} @calciteSelectChange=${(s) => {
|
|
278
289
|
const l = s.target.selectedOption?.value;
|
|
279
|
-
|
|
290
|
+
t.mode = l ?? "min-duration";
|
|
280
291
|
}}>${[
|
|
281
292
|
{ mode: "min-duration", label: i.minDuration?.optionLabel },
|
|
282
293
|
{ mode: "total-duration", label: i.totalDuration?.optionLabel },
|
|
283
294
|
{ mode: "discrete", label: i.discrete?.optionLabel }
|
|
284
|
-
].map(({ mode: s, label: l }) =>
|
|
295
|
+
].map(({ mode: s, label: l }) => d`<calcite-option .selected=${s === n} .value=${s} .label=${l}></calcite-option>`)}</calcite-select>`;
|
|
285
296
|
}
|
|
286
297
|
}
|
|
287
298
|
function w(e) {
|
|
288
299
|
return Math.round(h(e, "milliseconds", "minutes"));
|
|
289
300
|
}
|
|
290
|
-
C("arcgis-shadow-cast",
|
|
301
|
+
C("arcgis-shadow-cast", B);
|
|
291
302
|
export {
|
|
292
|
-
|
|
303
|
+
B as ArcgisShadowCast
|
|
293
304
|
};
|
|
@@ -1,68 +1,47 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { repeat as
|
|
4
|
-
import { keyed as
|
|
5
|
-
import
|
|
6
|
-
import { watch as
|
|
2
|
+
import { c as y } from "../../chunks/runtime.js";
|
|
3
|
+
import { repeat as $ } from "lit/directives/repeat.js";
|
|
4
|
+
import { keyed as _ } from "lit/directives/keyed.js";
|
|
5
|
+
import L from "@arcgis/core/core/Collection.js";
|
|
6
|
+
import { watch as p, on as C } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
7
|
import M from "@arcgis/core/widgets/TableList/TableListViewModel.js";
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { usePropertyChange as
|
|
10
|
-
import { reEmitEvent as
|
|
11
|
-
import { classes as
|
|
8
|
+
import { LitElement as E, createEvent as b, safeClassMap as I, nothing as T } from "@arcgis/lumina";
|
|
9
|
+
import { usePropertyChange as D } from "@arcgis/lumina/controllers";
|
|
10
|
+
import { reEmitEvent as F } from "@arcgis/lumina/controllers/accessor";
|
|
11
|
+
import { classes as P } from "@arcgis/toolkit/dom";
|
|
12
12
|
import "@arcgis/toolkit/function";
|
|
13
|
-
import { generateGuid as
|
|
14
|
-
import { createRef as
|
|
15
|
-
import {
|
|
16
|
-
import { u as
|
|
17
|
-
import { g
|
|
18
|
-
import { m as
|
|
19
|
-
import { ArcgisLayerListItem as
|
|
20
|
-
import { s as
|
|
21
|
-
import "../../chunks/
|
|
22
|
-
import "
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
actionMenu: "action-menu",
|
|
26
|
-
actionGroup: "action-group",
|
|
27
|
-
filterNoResults: "filter-no-results",
|
|
28
|
-
item: "item",
|
|
29
|
-
itemActive: "active",
|
|
30
|
-
itemContentBottom: "content-bottom",
|
|
31
|
-
itemMessage: "message",
|
|
32
|
-
itemActionIcon: "action-icon",
|
|
33
|
-
itemActionImage: "action-image",
|
|
34
|
-
itemTemporaryIcon: "temporary-icon",
|
|
35
|
-
itemTableIcon: "table-icon",
|
|
36
|
-
itemCatalogIcon: "catalog-icon",
|
|
37
|
-
statusIndicator: "status-indicator",
|
|
38
|
-
publishing: "publishing",
|
|
39
|
-
updating: "updating",
|
|
40
|
-
connectionStatus: "connection-status",
|
|
41
|
-
connectionStatusConnected: "connection-status--connected",
|
|
42
|
-
visibleToggle: "visible-toggle",
|
|
43
|
-
visibleIcon: "visible-icon"
|
|
44
|
-
}, j = A`@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}: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)}.item{--calcite-list-item-icon-center: var(--calcite-space-sm)}.status-indicator{visibility:hidden;color:var(--calcite-color-text-1);margin-inline: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}.publishing{visibility:visible;color:var(--calcite-color-text-3);animation:2s infinite esri-table-list__publishing-anim}.content-bottom,.message{margin:var(--calcite-spacing-md) var(--calcite-space-md-plus)}@keyframes esri-table-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`, y = "nested", V = Y(M);
|
|
45
|
-
class q extends $ {
|
|
13
|
+
import { generateGuid as U } from "@arcgis/toolkit/string";
|
|
14
|
+
import { createRef as x, ref as A } from "lit/directives/ref.js";
|
|
15
|
+
import { html as o } from "lit";
|
|
16
|
+
import { u as B } from "../../chunks/useT9n.js";
|
|
17
|
+
import { g } from "../../chunks/globalCss.js";
|
|
18
|
+
import { m as k, b as G, r as N, e as O } from "../../chunks/layer-list-utils.js";
|
|
19
|
+
import { ArcgisLayerListItem as R } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
|
|
20
|
+
import { s as S, a as q } from "../../chunks/layer-list-next.js";
|
|
21
|
+
import { c as H } from "../../chunks/css.js";
|
|
22
|
+
import { m as V } from "../../chunks/useViewModel.js";
|
|
23
|
+
const w = H, v = "nested", j = V(M);
|
|
24
|
+
class z extends E {
|
|
46
25
|
constructor() {
|
|
47
|
-
super(...arguments), this._lastDragDetail = null, this._rootGroupUid = `table-${
|
|
48
|
-
const
|
|
26
|
+
super(...arguments), this._lastDragDetail = null, this._rootGroupUid = `table-${U()}`, this._rootListRef = x(), this._selectedDragItemLayerUid = null, this.messages = B(), this.viewModel = j(this), this._canMove = ({ dragEl: e, fromEl: t, toEl: i }, s) => {
|
|
27
|
+
const l = s === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, a = this._getItem(e);
|
|
49
28
|
if (!a || !("sortable" in a) || !a.sortable)
|
|
50
29
|
return !1;
|
|
51
|
-
const
|
|
52
|
-
return f &&
|
|
30
|
+
const c = this._getItem(t), d = this._getLayerType(t), n = this._getItem(i), h = this._getLayerType(i), u = !!d && !!h && d === h, m = { selected: a, from: c, to: n }, f = t?.group, r = i?.group;
|
|
31
|
+
return f && r && typeof l == "function" ? l(m) : u;
|
|
53
32
|
}, this._onPanelOpen = () => {
|
|
54
33
|
this.requestUpdate();
|
|
55
34
|
}, this._onSelectedDragItemLayerUidChange = (e) => {
|
|
56
35
|
this._selectedDragItemLayerUid = e;
|
|
57
36
|
}, this._onTriggerAction = (e, t) => {
|
|
58
37
|
this.triggerAction(e, t);
|
|
59
|
-
}, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.icon = "table", this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.map = this.viewModel.map, this.minDragEnabledItems =
|
|
38
|
+
}, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.icon = "table", this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.map = this.viewModel.map, this.minDragEnabledItems = k, this.minFilterItems = G, this.selectedItems = new L(), this.selectionMode = "none", this.tables = this.viewModel.tables, this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.hideStatusIndicators = !1, this.showTemporaryTableIndicators = !1, this.arcgisClose = b(), this.arcgisPropertyChange = D()("state"), this.arcgisReady = b(), this.arcgisTriggerAction = F(() => this.viewModel, "trigger-action");
|
|
60
39
|
}
|
|
61
40
|
static {
|
|
62
41
|
this.properties = { _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, view: 0, autoDestroyDisabled: 5, closed: 5, referenceElement: 1, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, icon: 1, label: 1, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, map: 0, minDragEnabledItems: 9, minFilterItems: 9, selectedItems: 0, selectionMode: 1, state: 32, tableItems: 32, tables: 0, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, hideStatusIndicators: 5, showTemporaryTableIndicators: 5, messageOverrides: 0 };
|
|
63
42
|
}
|
|
64
43
|
static {
|
|
65
|
-
this.styles = [
|
|
44
|
+
this.styles = [S, q];
|
|
66
45
|
}
|
|
67
46
|
get _visibleItems() {
|
|
68
47
|
return this.tableItems?.filter((e) => !e.hidden && (this.showErrors || !e.error));
|
|
@@ -90,14 +69,14 @@ class q extends $ {
|
|
|
90
69
|
}
|
|
91
70
|
loaded() {
|
|
92
71
|
this.manager.onLifecycle(() => [
|
|
93
|
-
|
|
72
|
+
p(() => this.view?.map, (e) => {
|
|
94
73
|
this.map || (this.viewModel.map = e);
|
|
95
74
|
}, { initial: !0 }),
|
|
96
75
|
C(() => this.viewModel.tableItems, "change", () => {
|
|
97
76
|
N(this.selectedItems), this.requestUpdate();
|
|
98
77
|
}, { initial: !0 }),
|
|
99
|
-
|
|
100
|
-
|
|
78
|
+
p(() => [this.viewModel.state, this.viewModel.totalItems], () => this.requestUpdate(), { initial: !0 }),
|
|
79
|
+
p(() => [this.filterPredicate, this._rootListRef.value], () => this._setFilterPredicate())
|
|
101
80
|
]);
|
|
102
81
|
}
|
|
103
82
|
triggerAction(e, t) {
|
|
@@ -135,66 +114,66 @@ class q extends $ {
|
|
|
135
114
|
e.open = !1;
|
|
136
115
|
}
|
|
137
116
|
_sortTablesToIds(e, t) {
|
|
138
|
-
e?.sort((i,
|
|
139
|
-
const
|
|
140
|
-
return
|
|
117
|
+
e?.sort((i, s) => {
|
|
118
|
+
const l = i.uid != null ? t.indexOf(i.uid) : -1, a = s.uid != null ? t.indexOf(s.uid) : -1;
|
|
119
|
+
return l > a ? -1 : l < a ? 1 : 0;
|
|
141
120
|
});
|
|
142
121
|
}
|
|
143
122
|
_handleCalciteListDragEnd(e) {
|
|
144
|
-
const { fromEl: t, dragEl: i, oldIndex:
|
|
145
|
-
|
|
123
|
+
const { fromEl: t, dragEl: i, oldIndex: s } = e;
|
|
124
|
+
s == null || !t || !i || t.insertBefore(i, t.children[s]);
|
|
146
125
|
}
|
|
147
126
|
_onCalciteListOrderChange(e) {
|
|
148
|
-
const { _lastDragDetail: t } = this, { toEl: i, fromEl:
|
|
149
|
-
if (!
|
|
127
|
+
const { _lastDragDetail: t } = this, { toEl: i, fromEl: s, dragEl: l, newIndex: a } = e, c = t?.newIndex === a && t?.dragEl === l && t?.toEl === i && t?.fromEl === s;
|
|
128
|
+
if (!s || !i || c)
|
|
150
129
|
return;
|
|
151
|
-
this._lastDragDetail = e, this._selectedDragItemLayerUid =
|
|
152
|
-
const
|
|
153
|
-
this._sortTablesToIds(this.viewModel.tables,
|
|
130
|
+
this._lastDragDetail = e, this._selectedDragItemLayerUid = l.value;
|
|
131
|
+
const d = Array.from(s.children).filter((n) => n?.matches("calcite-list-item")).map((n) => n.value.layer?.uid ?? "");
|
|
132
|
+
this._sortTablesToIds(this.viewModel.tables, d);
|
|
154
133
|
}
|
|
155
134
|
_handleCalciteListChange(e) {
|
|
156
135
|
const { selectionMode: t, selectedItems: i } = this;
|
|
157
136
|
if (t === "none")
|
|
158
137
|
return;
|
|
159
|
-
const
|
|
160
|
-
i.removeAll(), i.addMany(
|
|
138
|
+
const s = e.target.selectedItems.map((l) => this._getItem(l)).filter(Boolean);
|
|
139
|
+
i.removeAll(), i.addMany(s);
|
|
161
140
|
}
|
|
162
141
|
_handleFlowItemClose() {
|
|
163
142
|
this.closed = !0, this.arcgisClose.emit(), this.autoDestroyDisabled || this.destroy();
|
|
164
143
|
}
|
|
165
144
|
render() {
|
|
166
|
-
const {
|
|
167
|
-
[
|
|
168
|
-
[
|
|
145
|
+
const { state: e } = this, t = {
|
|
146
|
+
[g.hidden]: e === "loading",
|
|
147
|
+
[g.disabled]: e === "disabled"
|
|
169
148
|
};
|
|
170
|
-
return
|
|
149
|
+
return o`<div class=${I(P(g.widget, g.panel, t))}>${this._renderItems()}</div>`;
|
|
171
150
|
}
|
|
172
151
|
_renderNoItemsMessage() {
|
|
173
|
-
return
|
|
152
|
+
return o`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
|
|
174
153
|
}
|
|
175
154
|
_renderNoItems() {
|
|
176
|
-
return
|
|
155
|
+
return o`<div class=${I(w.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
|
|
177
156
|
}
|
|
178
157
|
_renderPanelFlowItems() {
|
|
179
|
-
return
|
|
180
|
-
const { panel: i, title:
|
|
181
|
-
return
|
|
182
|
-
a.preventDefault(),
|
|
183
|
-
}}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${
|
|
158
|
+
return $(this._openedPanelItems.toArray(), (e) => e.uid, (e, t) => {
|
|
159
|
+
const { panel: i, title: s } = e, l = () => this._handlePanelFlowItemBack(i);
|
|
160
|
+
return o`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${t === this._openedPanelItems.length - 1} @calciteFlowItemBack=${(a) => {
|
|
161
|
+
a.preventDefault(), l();
|
|
162
|
+
}}><arcgis-layer-list-item-panel .item=${e} .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>`;
|
|
184
163
|
});
|
|
185
164
|
}
|
|
186
165
|
_renderItems() {
|
|
187
|
-
const { collapsed: e, _visibleItems: t, _filterEnabled: i, _rootGroupUid:
|
|
188
|
-
|
|
166
|
+
const { collapsed: e, _visibleItems: t, _filterEnabled: i, _rootGroupUid: s, showCloseButton: l, showCollapseButton: a, showHeading: c, _dragEnabled: d, selectionMode: n, filterText: h, filterPlaceholder: u, messages: m } = this, f = [
|
|
167
|
+
o`<calcite-flow-item .closable=${l} .closed=${this.closed} .collapsed=${e} .collapsible=${a} .heading=${c ? this.label ?? m.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!this._openedPanelItems.length} @calciteFlowItemClose=${() => this._handleFlowItemClose()}>${t?.length ? o`<calcite-list .canPull=${(r) => this._canMove(r, "pull")} .canPut=${(r) => this._canMove(r, "put")} data-layer-type=${s ?? T} .displayMode=${v} .dragEnabled=${d} .filterEnabled=${i} .filterPlaceholder=${u} .filterProps=${O} .filterText=${i ? h : ""} .group=${s} .label=${this.label ?? m.componentLabel} selection-appearance=border .selectionMode=${n} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${(r) => this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${(r) => this.filterText = r.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(r) => this._onCalciteListOrderChange(r.detail)} ${A(this._rootListRef)}>${t.toArray().map((r) => this._renderItem(r))}${i ? o`<div class=${I(w.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>`,
|
|
189
168
|
this._renderPanelFlowItems()
|
|
190
169
|
];
|
|
191
|
-
return this.closed ? null :
|
|
170
|
+
return this.closed ? null : _("root-flow", o`<calcite-flow>${f}</calcite-flow>`);
|
|
192
171
|
}
|
|
193
172
|
_renderItem(e) {
|
|
194
|
-
return
|
|
173
|
+
return _(e.uid, R({ canMove: this._canMove, css: w, displayMode: v, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, item: e, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, showErrors: this.showErrors, showFilter: this.showFilter, showTemporaryTableIndicators: this.showTemporaryTableIndicators, handleAction: (t, i) => this._onTriggerAction(t, i), handlePanelOpen: this._onPanelOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, view: this.view }));
|
|
195
174
|
}
|
|
196
175
|
}
|
|
197
|
-
|
|
176
|
+
y("arcgis-table-list-next", z);
|
|
198
177
|
export {
|
|
199
|
-
|
|
178
|
+
z as ArcgisTableListNext
|
|
200
179
|
};
|
|
@@ -86,7 +86,7 @@ class j extends T {
|
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
88
|
const e = this.mode === "single" && !this.disabled;
|
|
89
|
-
return f(this.messages._lang, m`<arcgis-slider .ariaLabel=${this.label} class=${_({ "wrap-labels": this._shouldWrapLabels })} .disabled=${this.disabled}
|
|
89
|
+
return f(this.messages._lang, m`<arcgis-slider .ariaLabel=${this.label} class=${_({ "wrap-labels": this._shouldWrapLabels })} .disabled=${this.disabled} .fillPlacement=${this.mode === "range" ? "between" : "none"} .labelFormatter=${this._sliderLabelFormatter} layout=horizontal min=0 .max=${c} .steps=${this.steps ?? 1} .valueLabelsDisplay=${this.mode === "range" ? "hidden" : "always"} value-labels-placement=start .values=${this._values} @arcgisInput=${({ currentTarget: { values: t } }) => {
|
|
90
90
|
this.mode === "single" ? this._setStartTime(t[0]) : this._setRange(t[0], t[1]);
|
|
91
91
|
}}>${this.mode === "range" ? this._renderTimeRange() : void 0}<div class="ticks-container" slot=content-end><arcgis-ticks class="main-ticks" .interactive=${e} .labelFormatter=${this._tickLabelFormatter} layout=horizontal min=0 .max=${c} mode=value show-labels .values=${p} @arcgisTickClick=${(t) => this._setStartTime(t.detail.value)}></arcgis-ticks><arcgis-ticks class="secondary-ticks" layout=horizontal min=0 .max=${c} mode=value .values=${I} @arcgisTickClick=${(t) => this._setStartTime(t.detail.value)}></arcgis-ticks></div></arcgis-slider>`);
|
|
92
92
|
}
|