@arcgis/map-components 4.34.0-next.8 → 4.34.0-next.81
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/23OCSAG5.js +4 -0
- package/dist/cdn/{DVAYIM4A.js → 24EPWR4F.js} +1 -1
- package/dist/cdn/2F6OH7HE.js +4 -0
- package/dist/cdn/2H67PIJD.js +4 -0
- package/dist/cdn/2OW6WLXY.js +4 -0
- package/dist/cdn/2PUOSCNR.js +4 -0
- package/dist/cdn/{PRI3F4JY.js → 2SHE6NVJ.js} +2 -2
- package/dist/cdn/2ZUFKR5G.js +4 -0
- package/dist/cdn/{656YU7YM.js → 32UR2AXE.js} +2 -2
- package/dist/cdn/3ISSGQV7.js +4 -0
- package/dist/cdn/3J75KYHU.js +4 -0
- package/dist/cdn/{GIDFUOKW.js → 3MSI27QA.js} +2 -2
- package/dist/cdn/{5WAM5HGJ.js → 3VULUDYF.js} +2 -2
- package/dist/cdn/{MYW7GAD7.js → 42BUGF4M.js} +2 -2
- package/dist/cdn/44LDHPYD.js +4 -0
- package/dist/cdn/4D3BDJBK.js +4 -0
- package/dist/cdn/4JV6Q56A.js +4 -0
- package/dist/cdn/4MLK7BFQ.js +4 -0
- package/dist/cdn/4SUEUVQG.js +4 -0
- package/dist/cdn/4SUHKLCU.js +4 -0
- package/dist/cdn/4UENUWNO.js +4 -0
- package/dist/cdn/4ZDITJW2.js +4 -0
- package/dist/cdn/5CSOLOIZ.js +4 -0
- package/dist/cdn/5DEKYRIB.js +4 -0
- package/dist/cdn/5GWWQ6ZF.js +4 -0
- package/dist/cdn/5GXEKA65.js +4 -0
- package/dist/cdn/5HJVFX5Y.js +4 -0
- package/dist/cdn/5WHGPQL6.js +4 -0
- package/dist/cdn/5ZKWTFPB.js +4 -0
- package/dist/cdn/5ZL7G53H.js +4 -0
- package/dist/cdn/6C7VAU64.js +4 -0
- package/dist/cdn/6DI5SQQL.js +4 -0
- package/dist/cdn/6LCVNRNT.js +4 -0
- package/dist/cdn/6OFXILIA.js +4 -0
- package/dist/cdn/6R7TRBKP.js +4 -0
- package/dist/cdn/76YI7KAK.js +4 -0
- package/dist/cdn/7GLXNYFB.js +4 -0
- package/dist/cdn/{V6KYONBE.js → 7QPHKEGX.js} +1 -1
- package/dist/cdn/A42RIF4H.js +4 -0
- package/dist/cdn/{MR2LMEXV.js → AAGRZTV4.js} +2 -2
- package/dist/cdn/ADKRFQZQ.js +4 -0
- package/dist/cdn/AUVLFUJP.js +4 -0
- package/dist/cdn/B4L5AWZ3.js +4 -0
- package/dist/cdn/B4ZYJXBP.js +4 -0
- package/dist/cdn/B7FYCD5M.js +4 -0
- package/dist/cdn/BBSCFOE6.js +4 -0
- package/dist/cdn/BCKW5RQ7.js +4 -0
- package/dist/cdn/BK5MOKJA.js +4 -0
- package/dist/cdn/BR7YBLQ7.js +4 -0
- package/dist/cdn/BSITATMS.js +4 -0
- package/dist/cdn/BWCIFNCV.js +4 -0
- package/dist/cdn/C3WOXUGQ.js +4 -0
- package/dist/cdn/CE7R6GRG.js +4 -0
- package/dist/cdn/CLDJS7EU.js +4 -0
- package/dist/cdn/CPBVXGWY.js +4 -0
- package/dist/cdn/CPK6RRC6.js +4 -0
- package/dist/cdn/CQSXNTHT.js +4 -0
- package/dist/cdn/CSSECQO6.js +4 -0
- package/dist/cdn/CYKLDNBR.js +4 -0
- package/dist/cdn/CZWROVPE.js +4 -0
- package/dist/cdn/CZXQPSLL.js +4 -0
- package/dist/cdn/DC2YUXBL.js +4 -0
- package/dist/cdn/DIE22EGP.js +4 -0
- package/dist/cdn/DJPDJXB7.js +4 -0
- package/dist/cdn/DP7ABMMD.js +4 -0
- package/dist/cdn/DRKXTCQX.js +4 -0
- package/dist/cdn/E6P7ZG4P.js +4 -0
- package/dist/cdn/EENHI7AR.js +4 -0
- package/dist/cdn/EHNDVK7O.js +4 -0
- package/dist/cdn/EMSE2U42.js +4 -0
- package/dist/cdn/EY4OWI6G.js +4 -0
- package/dist/cdn/F22YXKVZ.js +4 -0
- package/dist/cdn/F26EBVFT.js +4 -0
- package/dist/cdn/FFW44GVX.js +4 -0
- package/dist/cdn/FGEJYS2F.js +4 -0
- package/dist/cdn/{GYVHCFLW.js → FOQCH2PX.js} +1 -1
- package/dist/cdn/FPE72S56.js +4 -0
- package/dist/cdn/FPFHERBB.js +4 -0
- package/dist/cdn/FWWD7RGQ.js +4 -0
- package/dist/cdn/FZIU6VYH.js +4 -0
- package/dist/cdn/G4NB3OBK.js +4 -0
- package/dist/cdn/G6QMUECA.js +4 -0
- package/dist/cdn/G72CJSL6.js +4 -0
- package/dist/cdn/G7X7K2UL.js +4 -0
- package/dist/cdn/GC4J7G4C.js +4 -0
- package/dist/cdn/GDWNYL5B.js +4 -0
- package/dist/cdn/GMX54YZ4.js +4 -0
- package/dist/cdn/H5NNP6LB.js +4 -0
- package/dist/cdn/H6T222RQ.js +5 -0
- package/dist/cdn/H6Z3ZMYK.js +4 -0
- package/dist/cdn/HBMFEDVC.js +4 -0
- package/dist/cdn/HDSRL4BN.js +4 -0
- package/dist/cdn/HGPPIJ23.js +4 -0
- package/dist/cdn/HNAVONOB.js +4 -0
- package/dist/cdn/HNOFMFUK.js +4 -0
- package/dist/cdn/IAXXGMZY.js +4 -0
- package/dist/cdn/IDVVE5ZA.js +4 -0
- package/dist/cdn/IKIVYXDG.js +4 -0
- package/dist/cdn/{ILNZINO3.js → IPIUF5EE.js} +2 -2
- package/dist/cdn/IZGGJ67V.js +4 -0
- package/dist/cdn/J62DFIJJ.js +4 -0
- package/dist/cdn/JCS6LRTO.js +4 -0
- package/dist/cdn/JMFDP3N2.js +4 -0
- package/dist/cdn/K2K3SVNK.js +4 -0
- package/dist/cdn/K37JPFII.js +4 -0
- package/dist/cdn/KZBZKETJ.js +4 -0
- package/dist/cdn/{4C2AMRV3.js → LB6FAZU4.js} +2 -2
- package/dist/cdn/LEHWSDCC.js +4 -0
- package/dist/cdn/LEO5UHUH.js +4 -0
- package/dist/cdn/LF55VSRE.js +4 -0
- package/dist/cdn/LJ744YWJ.js +4 -0
- package/dist/cdn/M5SO6PLC.js +4 -0
- package/dist/cdn/MAS5X3MU.js +4 -0
- package/dist/cdn/MJ3ACHUI.js +4 -0
- package/dist/cdn/MMADJXSK.js +4 -0
- package/dist/cdn/NAVN5I7A.js +4 -0
- package/dist/cdn/NDSWSODW.js +4 -0
- package/dist/cdn/NFFUHC5T.js +6 -0
- package/dist/cdn/NHIQZMCA.js +4 -0
- package/dist/cdn/NJPA55HA.js +4 -0
- package/dist/cdn/{IEE3ZBWU.js → NNQ7U5L3.js} +2 -2
- package/dist/cdn/NOXG5ABY.js +4 -0
- package/dist/cdn/O25RXIMT.js +4 -0
- package/dist/cdn/{F4R4AZMX.js → OBTK7W4L.js} +2 -2
- package/dist/cdn/OHE5TOAS.js +4 -0
- package/dist/cdn/OIKQKCBV.js +4 -0
- package/dist/cdn/P66H32HI.js +4 -0
- package/dist/cdn/PLDCG3H6.js +4 -0
- package/dist/cdn/PTJOS2WT.js +4 -0
- package/dist/cdn/PVOYC6A7.js +4 -0
- package/dist/cdn/Q3M37QLC.js +4 -0
- package/dist/cdn/Q3NKX5DK.js +4 -0
- package/dist/cdn/Q5FMRTPX.js +4 -0
- package/dist/cdn/QBLWBZGZ.js +4 -0
- package/dist/cdn/QDKRGZK5.js +4 -0
- package/dist/cdn/QLPUS5UA.js +4 -0
- package/dist/cdn/QN3A5UFK.js +4 -0
- package/dist/cdn/QTCH7CHW.js +4 -0
- package/dist/cdn/QTUI5BY6.js +4 -0
- package/dist/cdn/RBNDEOYG.js +4 -0
- package/dist/cdn/RIOMUX5A.js +4 -0
- package/dist/cdn/RIZ75NK6.js +4 -0
- package/dist/cdn/ROM4VGCT.js +4 -0
- package/dist/cdn/RTEFQICF.js +4 -0
- package/dist/cdn/S44FDCAW.js +4 -0
- package/dist/cdn/S67MOIPZ.js +4 -0
- package/dist/cdn/SAY5WAD3.js +4 -0
- package/dist/cdn/{VTS7NWDH.js → SE2RA67A.js} +1 -1
- package/dist/cdn/STJMKAD6.js +4 -0
- package/dist/cdn/SZUDGI7B.js +4 -0
- package/dist/cdn/TKCEU6XO.js +4 -0
- package/dist/cdn/TR4KWA5R.js +4 -0
- package/dist/cdn/TZXVMMXS.js +4 -0
- package/dist/cdn/U2N3WF6Q.js +4 -0
- package/dist/cdn/{X7BQVP4K.js → U3S2TCQT.js} +1 -1
- package/dist/cdn/U4WFE3TW.js +4 -0
- package/dist/cdn/UGOOEZ4B.js +4 -0
- package/dist/cdn/UY7OFWID.js +4 -0
- package/dist/cdn/V5QCGNEW.js +4 -0
- package/dist/cdn/VLLLHH6H.js +4 -0
- package/dist/cdn/VN7LBYZD.js +4 -0
- package/dist/cdn/VTPVQVMN.js +4 -0
- package/dist/cdn/VTW77JEL.js +4 -0
- package/dist/cdn/WPPMO4E7.js +4 -0
- package/dist/cdn/{PI7H5GRX.js → WR76T2FN.js} +1 -1
- package/dist/cdn/WWHR666E.js +4 -0
- package/dist/cdn/X4GGVQDN.js +4 -0
- package/dist/cdn/X6H2X73K.js +4 -0
- package/dist/cdn/X6WZ5FCI.js +4 -0
- package/dist/cdn/{OM2N2SN3.js → X7A5HLHM.js} +1 -1
- package/dist/cdn/XC5BMLZU.js +4 -0
- package/dist/cdn/XGPA7OC3.js +4 -0
- package/dist/cdn/XHGEGY63.js +4 -0
- package/dist/cdn/XIKIHICD.js +4 -0
- package/dist/cdn/XSY7VTZ4.js +4 -0
- package/dist/cdn/Y4SXZ2OL.js +4 -0
- package/dist/cdn/{RVL24YAQ.js → Y645YIWB.js} +2 -2
- package/dist/cdn/Y6PN2L2V.js +4 -0
- package/dist/cdn/YAT472IU.js +4 -0
- package/dist/cdn/YBCFYT23.js +4 -0
- package/dist/cdn/{YLPU64QT.js → YHZF53T3.js} +2 -2
- package/dist/cdn/YLQKDJRZ.js +4 -0
- package/dist/cdn/YN7BBQOM.js +4 -0
- package/dist/cdn/YQPUPWKL.js +4 -0
- package/dist/cdn/Z5SJQMYF.js +4 -0
- package/dist/cdn/ZJE5JM5Z.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/index.js +17 -0
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +10 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +33 -25
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +394 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +13 -6
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -5
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/css.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.d.ts +40 -29
- package/dist/components/arcgis-search/customElement.js +38 -34
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +43 -34
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +30 -19
- package/dist/components/arcgis-video-player-action-bar/index.d.ts +1 -0
- package/dist/components/arcgis-video-player-action-bar/index.js +1 -0
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +18 -15
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/css.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +56 -5
- package/dist/components/arcgis-weather/customElement.js +60 -65
- package/dist/components/arcgis-weather/index.d.ts +1 -1
- package/dist/components/arcgis-weather/index.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +4149 -2897
- package/dist/docs/docs.json +6567 -5925
- package/dist/docs/vscode.html-custom-data.json +465 -337
- package/dist/docs/web-types.json +1157 -1009
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -34
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -21
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -36
- package/dist/types/preact.d.ts +29 -37
- package/dist/types/react.d.ts +30 -38
- package/dist/types/stencil.d.ts +28 -36
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/2EL47YSQ.js +0 -4
- package/dist/cdn/2FWGOWFO.js +0 -4
- package/dist/cdn/2SULQ4KK.js +0 -4
- package/dist/cdn/3HSBCQKG.js +0 -4
- package/dist/cdn/4LS5QGQY.js +0 -4
- package/dist/cdn/4RPSRSY4.js +0 -4
- package/dist/cdn/4ZBYDBG2.js +0 -4
- package/dist/cdn/5C3EOKNR.js +0 -4
- package/dist/cdn/5ENOXTFZ.js +0 -4
- package/dist/cdn/5HFZPYQ3.js +0 -4
- package/dist/cdn/65FZ5SI5.js +0 -4
- package/dist/cdn/6OHNJ5KH.js +0 -4
- package/dist/cdn/6ZFIJSJE.js +0 -4
- package/dist/cdn/75Y5MUUW.js +0 -4
- package/dist/cdn/7HHVU46D.js +0 -4
- package/dist/cdn/7IUDGNHM.js +0 -4
- package/dist/cdn/7KFXGXRZ.js +0 -4
- package/dist/cdn/7TIBJRHQ.js +0 -4
- package/dist/cdn/7TOSFZBH.js +0 -4
- package/dist/cdn/AFQ3CNBA.js +0 -4
- package/dist/cdn/AGICPYUS.js +0 -4
- package/dist/cdn/APMFVINZ.js +0 -4
- package/dist/cdn/AXVNVZYY.js +0 -4
- package/dist/cdn/BH472V6R.js +0 -4
- package/dist/cdn/BSVQ73BN.js +0 -4
- package/dist/cdn/BXOEGYMC.js +0 -4
- package/dist/cdn/CORDNDJ7.js +0 -4
- package/dist/cdn/CYEXPOL6.js +0 -4
- package/dist/cdn/D3MRITGJ.js +0 -4
- package/dist/cdn/DJPZ44PI.js +0 -4
- package/dist/cdn/DMRETXSG.js +0 -4
- package/dist/cdn/DXY5GBKD.js +0 -6
- package/dist/cdn/E4JWST54.js +0 -4
- package/dist/cdn/E7DAI2OU.js +0 -4
- package/dist/cdn/F4IQXJLJ.js +0 -4
- package/dist/cdn/FCSFUTXJ.js +0 -4
- package/dist/cdn/FDHW3VRA.js +0 -4
- package/dist/cdn/FG7KDZIB.js +0 -4
- package/dist/cdn/FNLXG2W3.js +0 -4
- package/dist/cdn/G3QSNGGG.js +0 -4
- package/dist/cdn/GDWNN6TE.js +0 -4
- package/dist/cdn/GNJ4YNM2.js +0 -4
- package/dist/cdn/GOQV4ZD3.js +0 -4
- package/dist/cdn/HPUACRYC.js +0 -4
- package/dist/cdn/IBNTS6PG.js +0 -4
- package/dist/cdn/IE44CEMQ.js +0 -4
- package/dist/cdn/IL6WFIVO.js +0 -4
- package/dist/cdn/IRIDLSO3.js +0 -4
- package/dist/cdn/KB4RHIMM.js +0 -4
- package/dist/cdn/KNM2L55W.js +0 -4
- package/dist/cdn/L7WHPL3W.js +0 -4
- package/dist/cdn/MKPFXZNG.js +0 -4
- package/dist/cdn/MNRK63NF.js +0 -4
- package/dist/cdn/NAE6KF2V.js +0 -4
- package/dist/cdn/NKEGBDR7.js +0 -4
- package/dist/cdn/NMSW7IAE.js +0 -4
- package/dist/cdn/NRBNSX33.js +0 -4
- package/dist/cdn/OMWLA2K3.js +0 -4
- package/dist/cdn/ON2T4CBB.js +0 -4
- package/dist/cdn/ORMFB243.js +0 -4
- package/dist/cdn/OS7FSXE7.js +0 -4
- package/dist/cdn/OSXV6FXE.js +0 -4
- package/dist/cdn/OZKMAP4Z.js +0 -4
- package/dist/cdn/PIMX4X2G.js +0 -4
- package/dist/cdn/PISMFJUF.js +0 -4
- package/dist/cdn/PNHC4QAI.js +0 -4
- package/dist/cdn/PUSKMZOI.js +0 -4
- package/dist/cdn/PVE4KHDN.js +0 -4
- package/dist/cdn/Q643CZCT.js +0 -4
- package/dist/cdn/RPGEPAXC.js +0 -4
- package/dist/cdn/RSGPVWZC.js +0 -4
- package/dist/cdn/RVKZRZ5X.js +0 -4
- package/dist/cdn/RXJDYF45.js +0 -4
- package/dist/cdn/SN3TAFJA.js +0 -4
- package/dist/cdn/SUJ27253.js +0 -4
- package/dist/cdn/T7MQ5OG2.js +0 -4
- package/dist/cdn/TGAS4E4A.js +0 -4
- package/dist/cdn/TM7AOMFK.js +0 -4
- package/dist/cdn/TU3PDRR3.js +0 -4
- package/dist/cdn/TYGNKCZM.js +0 -4
- package/dist/cdn/U3A4L666.js +0 -4
- package/dist/cdn/U7JHAHCD.js +0 -4
- package/dist/cdn/UIWYLDIB.js +0 -4
- package/dist/cdn/VLYOEVJO.js +0 -4
- package/dist/cdn/WD7GKYC5.js +0 -4
- package/dist/cdn/WGLKRGHM.js +0 -4
- package/dist/cdn/WVMLI2M4.js +0 -4
- package/dist/cdn/WZVHCVXT.js +0 -4
- package/dist/cdn/X3ZXNMN7.js +0 -4
- package/dist/cdn/XHGDPFLO.js +0 -4
- package/dist/cdn/Y4PEPRXU.js +0 -4
- package/dist/cdn/Y4VFLWWQ.js +0 -4
- package/dist/cdn/Y57F7DDG.js +0 -4
- package/dist/cdn/YWOGURYY.js +0 -4
- package/dist/cdn/YZTG72SZ.js +0 -4
- package/dist/cdn/Z73JMBNO.js +0 -4
- package/dist/cdn/ZGVWKWHA.js +0 -4
- package/dist/cdn/ZID6LZJO.js +0 -4
- package/dist/cdn/ZLQ4G2XR.js +0 -4
- package/dist/cdn/ZXKHLRKF.js +0 -4
- package/dist/components/arcgis-slider/customElement.d.ts +0 -240
- package/dist/components/arcgis-slider/customElement.js +0 -32
- /package/dist/components/{arcgis-slider → arcgis-feature-element-info}/index.d.ts +0 -0
- /package/dist/components/{arcgis-slider → arcgis-feature-element-info}/index.js +0 -0
|
@@ -1,55 +1,54 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as o } from "lit
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { classes as
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
1
|
+
import { c as W } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as O, html as o } from "lit";
|
|
3
|
+
import { usePropertyChange as x } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { classes as m } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { LitElement as S, createEvent as B, noShadowRoot as E, nothing as y, safeClassMap as g } from "@arcgis/lumina";
|
|
6
|
+
import { u as k } from "../../chunks/useT9n.js";
|
|
7
7
|
import { m as H } from "../../chunks/useViewModel.js";
|
|
8
8
|
import { H as L } from "../../chunks/heading.js";
|
|
9
9
|
import { g as w } from "../../chunks/globalCss.js";
|
|
10
|
-
import
|
|
11
|
-
import D from "@arcgis/core/core/
|
|
12
|
-
import { property as h, subclass as k } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
10
|
+
import A from "@arcgis/core/core/Accessor.js";
|
|
11
|
+
import { property as p, subclass as D } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
12
|
import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
13
|
import b from "@arcgis/core/views/3d/environment/CloudyWeather.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
14
|
+
import _ from "@arcgis/core/views/3d/environment/FoggyWeather.js";
|
|
15
|
+
import f from "@arcgis/core/views/3d/environment/RainyWeather.js";
|
|
17
16
|
import $ from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
18
17
|
import C from "@arcgis/core/views/3d/environment/SunnyWeather.js";
|
|
19
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
19
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
21
|
-
v4.34.0-next.
|
|
22
|
-
const
|
|
23
|
-
base:
|
|
24
|
-
content: `${
|
|
25
|
-
hasError: `${
|
|
26
|
-
selector: `${
|
|
27
|
-
options: `${
|
|
28
|
-
optionsHidden: `${
|
|
29
|
-
error: `${
|
|
30
|
-
|
|
31
|
-
}, R =
|
|
20
|
+
v4.34.0-next.81 */
|
|
21
|
+
const d = "arcgis-weather", h = {
|
|
22
|
+
base: d,
|
|
23
|
+
content: `${d}__content`,
|
|
24
|
+
hasError: `${d}__content--has-error`,
|
|
25
|
+
selector: `${d}__selector`,
|
|
26
|
+
options: `${d}__options`,
|
|
27
|
+
optionsHidden: `${d}__options--hidden`,
|
|
28
|
+
error: `${d}__error`,
|
|
29
|
+
warningTitle: `${d}__warning-title`
|
|
30
|
+
}, R = O`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}}`;
|
|
32
31
|
var V = Object.defineProperty, j = Object.getOwnPropertyDescriptor, a = (t, e, s, i) => {
|
|
33
|
-
for (var r = i > 1 ? void 0 : i ? j(e, s) : e,
|
|
34
|
-
(
|
|
32
|
+
for (var r = i > 1 ? void 0 : i ? j(e, s) : e, l = t.length - 1, c; l >= 0; l--)
|
|
33
|
+
(c = t[l]) && (r = (i ? c(e, s, r) : c(r)) || r);
|
|
35
34
|
return i && r && V(e, s, r), r;
|
|
36
35
|
};
|
|
37
|
-
const
|
|
36
|
+
const F = {
|
|
38
37
|
sunny: C,
|
|
39
38
|
cloudy: b,
|
|
40
|
-
rainy:
|
|
39
|
+
rainy: f,
|
|
41
40
|
snowy: $,
|
|
42
|
-
foggy:
|
|
43
|
-
}, M = Object.keys(
|
|
44
|
-
let n = class extends
|
|
41
|
+
foggy: _
|
|
42
|
+
}, M = Object.keys(F);
|
|
43
|
+
let n = class extends A {
|
|
45
44
|
//#region Lifecycle
|
|
46
45
|
constructor(t) {
|
|
47
|
-
super(t), this.
|
|
46
|
+
super(t), this._settingWeather = !1, this._weatherByType = {
|
|
48
47
|
sunny: new C(),
|
|
49
48
|
cloudy: new b(),
|
|
50
|
-
rainy: new
|
|
49
|
+
rainy: new f(),
|
|
51
50
|
snowy: new $(),
|
|
52
|
-
foggy: new
|
|
51
|
+
foggy: new _()
|
|
53
52
|
};
|
|
54
53
|
}
|
|
55
54
|
initialize() {
|
|
@@ -123,59 +122,55 @@ let n = class extends D {
|
|
|
123
122
|
//#endregion
|
|
124
123
|
};
|
|
125
124
|
a([
|
|
126
|
-
|
|
125
|
+
p()
|
|
127
126
|
], n.prototype, "view", 2);
|
|
128
127
|
a([
|
|
129
|
-
|
|
128
|
+
p()
|
|
130
129
|
], n.prototype, "state", 1);
|
|
131
130
|
a([
|
|
132
|
-
|
|
131
|
+
p()
|
|
133
132
|
], n.prototype, "disabled", 1);
|
|
134
133
|
a([
|
|
135
|
-
|
|
134
|
+
p()
|
|
136
135
|
], n.prototype, "weatherByType", 1);
|
|
137
136
|
a([
|
|
138
|
-
|
|
137
|
+
p()
|
|
139
138
|
], n.prototype, "error", 1);
|
|
140
139
|
a([
|
|
141
|
-
|
|
140
|
+
p()
|
|
142
141
|
], n.prototype, "current", 1);
|
|
143
142
|
a([
|
|
144
|
-
|
|
143
|
+
p()
|
|
145
144
|
], n.prototype, "_weatherByType", 2);
|
|
146
145
|
a([
|
|
147
|
-
|
|
146
|
+
p()
|
|
148
147
|
], n.prototype, "_environment", 1);
|
|
149
148
|
n = a([
|
|
150
|
-
|
|
149
|
+
D("components.weather.WeatherViewModel")
|
|
151
150
|
], n);
|
|
152
151
|
function u({ label: t, value: e, disabled: s, onChange: i }) {
|
|
153
|
-
const r = (
|
|
154
|
-
const
|
|
155
|
-
i?.(
|
|
156
|
-
};
|
|
157
|
-
return o`<calcite-label scale
|
|
158
|
-
// Tweaks to make the slider more compact and better-align within the weather component */
|
|
159
|
-
marginInline: "-7px",
|
|
160
|
-
marginBottom: "-7px"
|
|
161
|
-
})} max=1 min=0 step=0.01 .value=${e ?? 0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
|
|
152
|
+
const r = (v) => {
|
|
153
|
+
const T = v.currentTarget.value;
|
|
154
|
+
i?.((T ?? 0) / 100);
|
|
155
|
+
}, l = "s", c = Math.round((e ?? 0) * 100);
|
|
156
|
+
return o`<calcite-label .scale=${l}>${t}<calcite-slider .disabled=${s} label-handles label-ticks max=100 max-label=100 min=0 min-label=0 .scale=${l} step=1 ticks=100 .value=${c} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
|
|
162
157
|
}
|
|
163
|
-
const
|
|
158
|
+
const z = H(n), I = {
|
|
164
159
|
sunny: "brightness",
|
|
165
160
|
cloudy: "partly-cloudy",
|
|
166
161
|
rainy: "rain",
|
|
167
162
|
snowy: "snow",
|
|
168
163
|
foggy: "fog"
|
|
169
164
|
};
|
|
170
|
-
class q extends
|
|
165
|
+
class q extends S {
|
|
171
166
|
constructor() {
|
|
172
|
-
super(...arguments), this.viewModel =
|
|
167
|
+
super(...arguments), this.viewModel = z(this), this.messages = k(), this.autoDestroyDisabled = !1, this.headingLevel = 4, this.hideHeader = !1, this.icon = "partly-cloudy", this.label = this.messages.componentLabel, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = x()("state"), this.arcgisReady = B();
|
|
173
168
|
}
|
|
174
169
|
static {
|
|
175
|
-
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state:
|
|
170
|
+
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 35 };
|
|
176
171
|
}
|
|
177
172
|
static {
|
|
178
|
-
this.shadowRootOptions =
|
|
173
|
+
this.shadowRootOptions = E;
|
|
179
174
|
}
|
|
180
175
|
static {
|
|
181
176
|
this.styles = R;
|
|
@@ -208,20 +203,20 @@ class q extends x {
|
|
|
208
203
|
}
|
|
209
204
|
}
|
|
210
205
|
render() {
|
|
211
|
-
return o`<div aria-label=${this.messages.componentLabelAccessible ??
|
|
206
|
+
return o`<div aria-label=${this.messages.componentLabelAccessible ?? y} class=${g(m(h.base, w.widget, this.viewModel.disabled && w.widgetDisabled))} role=region>${this._renderContent()}</div>`;
|
|
212
207
|
}
|
|
213
208
|
_renderContent() {
|
|
214
|
-
const { headingLevel: e, messages: s, viewModel: i } = this, r = this._getWarningMessage(),
|
|
215
|
-
return o`${this.hideHeader ? void 0 : L({ level: e, children: s.componentLabel })}${
|
|
216
|
-
[
|
|
217
|
-
[
|
|
218
|
-
}))}>${this._renderOptions(
|
|
209
|
+
const { headingLevel: e, messages: s, viewModel: i } = this, r = this._getWarningMessage(), l = i.current, c = i.state === "error";
|
|
210
|
+
return o`${this.hideHeader ? void 0 : L({ level: e, children: s.componentLabel })}${c ? o`<div class=${g(h.error)}>${this._getErrorMessage()}</div>` : void 0}<div class=${g(m({ [h.content]: !0, [h.hasError]: c }))}><div aria-label=${s.weatherType ?? y} class=${g(h.selector)} role=radiogroup>${M.map(this._renderWeatherTypeButton, this)}</div>${Object.values(i.weatherByType).map((v) => o`<div class=${g(m({
|
|
211
|
+
[h.options]: !0,
|
|
212
|
+
[h.optionsHidden]: v.type !== l?.type
|
|
213
|
+
}))}>${this._renderOptions(v)}</div>`)}${r ? this._renderWarning(r) : void 0}</div>`;
|
|
219
214
|
}
|
|
220
215
|
_renderWeatherTypeButton(e) {
|
|
221
216
|
const s = this.messages[e]?.label ?? "", { disabled: i } = this.viewModel, r = !i && this.viewModel.current.type === e;
|
|
222
217
|
return o`<calcite-button .appearance=${r ? "solid" : "outline"} aria-checked=${r ? "true" : "false"} .disabled=${i} .iconStart=${I[e]} .kind=${r ? "brand" : "neutral"} .label=${s} @click=${() => {
|
|
223
218
|
r || this.viewModel.setWeatherByType(e);
|
|
224
|
-
}} scale=l title=${s ??
|
|
219
|
+
}} scale=l title=${s ?? y}></calcite-button>`;
|
|
225
220
|
}
|
|
226
221
|
_renderOptions(e) {
|
|
227
222
|
switch (e.type) {
|
|
@@ -261,7 +256,7 @@ class q extends x {
|
|
|
261
256
|
e.cloudCover = r;
|
|
262
257
|
} })}${u({ disabled: s, label: i?.precipitation, value: e.precipitation, onChange: (r) => {
|
|
263
258
|
e.precipitation = r;
|
|
264
|
-
} })}<calcite-label layout=inline scale=s title=${i?.snowCoverTooltip ??
|
|
259
|
+
} })}<calcite-label layout=inline scale=s title=${i?.snowCoverTooltip ?? y}><calcite-checkbox .checked=${e.snowCover === "enabled"} .disabled=${s} @calciteCheckboxChange=${(r) => {
|
|
265
260
|
this.viewModel.setSnowCoverEnabled(r.currentTarget.checked);
|
|
266
261
|
}}></calcite-checkbox>${i?.snowCover}</calcite-label>`;
|
|
267
262
|
}
|
|
@@ -271,10 +266,10 @@ class q extends x {
|
|
|
271
266
|
} });
|
|
272
267
|
}
|
|
273
268
|
_renderWarning(e) {
|
|
274
|
-
return o`<
|
|
269
|
+
return o`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning scale=s><div slot=title class=${g(h.warningTitle)}>${this.messages.warningTitle}</div><div slot=message>${e}</div></calcite-notice>`;
|
|
275
270
|
}
|
|
276
271
|
}
|
|
277
|
-
|
|
272
|
+
W("arcgis-weather", q);
|
|
278
273
|
export {
|
|
279
274
|
q as ArcgisWeather
|
|
280
275
|
};
|
|
@@ -2,5 +2,5 @@ import "@esri/calcite-components/components/calcite-label";
|
|
|
2
2
|
import "@esri/calcite-components/components/calcite-slider";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-button";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-checkbox";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-
|
|
5
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
6
6
|
export * from "./customElement.js";
|
|
@@ -2,5 +2,5 @@ import "@esri/calcite-components/components/calcite-label";
|
|
|
2
2
|
import "@esri/calcite-components/components/calcite-slider";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-button";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-checkbox";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-
|
|
5
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
6
6
|
export * from "./customElement.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
4
4
|
import { default as SceneView } from '@arcgis/core/views/SceneView.js';
|
|
5
5
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -39,10 +39,19 @@ export declare class ArcgisZoom extends LitElement {
|
|
|
39
39
|
* @default "vertical"
|
|
40
40
|
*/
|
|
41
41
|
layout: Layout;
|
|
42
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Replace localized message strings with your own strings.
|
|
44
|
+
*
|
|
45
|
+
* _**Note**: Individual message keys may change between releases._
|
|
46
|
+
*/
|
|
43
47
|
messageOverrides?: typeof this.messages._overrides;
|
|
44
48
|
/** @default "top-left" */
|
|
45
49
|
position: __esri.UIPosition;
|
|
50
|
+
/**
|
|
51
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
52
|
+
*
|
|
53
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
54
|
+
*/
|
|
46
55
|
referenceElement?: ArcgisReferenceElement | string;
|
|
47
56
|
/**
|
|
48
57
|
* The current state of the component.
|
|
@@ -60,7 +69,7 @@ export declare class ArcgisZoom extends LitElement {
|
|
|
60
69
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
61
70
|
name: "state";
|
|
62
71
|
}>;
|
|
63
|
-
/** Emitted when the component associated with a map or scene view is
|
|
72
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
64
73
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
65
74
|
private messages: Partial<{
|
|
66
75
|
componentLabel: string;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { classes as i } from "@arcgis/
|
|
2
|
+
import { css as f, html as y } from "lit";
|
|
3
|
+
import { classes as i } from "@arcgis/toolkit/dom";
|
|
4
4
|
import { ignoreAbortErrors as l } from "@arcgis/core/core/promiseUtils.js";
|
|
5
5
|
import { when as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { usePropertyChange as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { css as Z } from "@lit/reactive-element/css-tag.js";
|
|
6
|
+
import { LitElement as g, createEvent as p, noShadowRoot as z, safeClassMap as r, nothing as u } from "@arcgis/lumina";
|
|
7
|
+
import { usePropertyChange as b } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
9
|
+
import { u as Z } from "../../chunks/useView.js";
|
|
11
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.81 */
|
|
14
13
|
const a = {
|
|
15
14
|
base: "arcgis-zoom",
|
|
16
15
|
horizontalLayout: "arcgis-zoom--horizontal",
|
|
@@ -38,16 +37,16 @@ function d(t) {
|
|
|
38
37
|
const o = t?.animation?.target;
|
|
39
38
|
return (o && "then" in o ? void 0 : o?.scale) ?? t?.scale ?? 0;
|
|
40
39
|
}
|
|
41
|
-
const x =
|
|
42
|
-
class $ extends
|
|
40
|
+
const x = f`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap;box-shadow:0 1px 2px #0000004d}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`;
|
|
41
|
+
class $ extends g {
|
|
43
42
|
constructor() {
|
|
44
|
-
super(...arguments), this.messages =
|
|
43
|
+
super(...arguments), this.messages = O({}), this.view = Z(this), this.canZoomIn = !1, this.canZoomOut = !1, this.autoDestroyDisabled = !1, this.icon = "magnifying-glass-plus", this.layout = "vertical", this.position = "top-left", this.state = "disabled", this.arcgisPropertyChange = b()("state"), this.arcgisReady = p();
|
|
45
44
|
}
|
|
46
45
|
static {
|
|
47
46
|
this.properties = { canZoomIn: 16, canZoomOut: 16, autoDestroyDisabled: 5, icon: 1, label: 1, layout: 3, messageOverrides: 0, position: 1, referenceElement: 1, state: 3 };
|
|
48
47
|
}
|
|
49
48
|
static {
|
|
50
|
-
this.shadowRootOptions =
|
|
49
|
+
this.shadowRootOptions = z;
|
|
51
50
|
}
|
|
52
51
|
static {
|
|
53
52
|
this.styles = x;
|
|
@@ -77,7 +76,7 @@ class $ extends y {
|
|
|
77
76
|
const o = {
|
|
78
77
|
[a.horizontalLayout]: this.layout === "horizontal"
|
|
79
78
|
}, { canZoomIn: e, canZoomOut: s } = this, { zoomIn: n, zoomOut: c } = this.messages;
|
|
80
|
-
return
|
|
79
|
+
return y`<div class=${r(i(a.base, o))}><calcite-button class=${r(i(a.button, a.zoomIn))} .disabled=${!e} icon-start=plus kind=neutral .label=${n} @click=${this.zoomIn} title=${n ?? u}></calcite-button><calcite-button class=${r(i(a.button, a.zoomOut))} .disabled=${!s} icon-start=minus kind=neutral .label=${c} @click=${this.zoomOut} title=${c ?? u}></calcite-button></div>`;
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
82
|
h("arcgis-zoom", $);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IHandle,
|
|
1
|
+
import { IHandle, nil } from '@arcgis/toolkit/type';
|
|
2
2
|
export declare class Handles<T = string, H extends IHandle = IHandle> {
|
|
3
3
|
/**
|
|
4
|
-
* A handle to a [highlight](https://next.
|
|
4
|
+
* A handle to a [highlight](https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight) call result.
|
|
5
5
|
* The handle can be used to remove the installed highlight.
|
|
6
6
|
*
|
|
7
7
|
* @typedef module:esri/core/Handles~Handle
|
|
@@ -36,7 +36,7 @@ export declare class Handles<T = string, H extends IHandle = IHandle> {
|
|
|
36
36
|
* @param {module:esri/core/Accessor~WatchHandle | module:esri/core/Accessor~WatchHandle[] | module:esri/core/Collection<module:esri/core/Accessor~WatchHandle>} handles - An array or collection handles to group.
|
|
37
37
|
* @param {*} [groupKey]
|
|
38
38
|
* Key identifying the group to which the handles should be added. All the handles in the group
|
|
39
|
-
* can later be removed with [Handles.remove()](https://next.
|
|
39
|
+
* can later be removed with [Handles.remove()](https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-core-Handles.html#remove). If no
|
|
40
40
|
* key is provided the handles are added to a default group.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
@@ -59,7 +59,7 @@ export declare class Handles<T = string, H extends IHandle = IHandle> {
|
|
|
59
59
|
* ));
|
|
60
60
|
* @instance
|
|
61
61
|
*/
|
|
62
|
-
add(handles: (H |
|
|
62
|
+
add(handles: (H | nil)[] | H | nil, groupKey?: T): this;
|
|
63
63
|
forEach(groupKey: T, callback: (handle: H) => void): void;
|
|
64
64
|
forEach(callback: (handle: H) => void): void;
|
|
65
65
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IHandle } from '@arcgis/
|
|
1
|
+
import { IHandle } from '@arcgis/toolkit/type';
|
|
2
2
|
import { Controller } from '@arcgis/lumina/controllers';
|
|
3
3
|
/**
|
|
4
4
|
* Avoid accidentally adding objects that look like handles because they have a `remove` method,
|
|
@@ -40,7 +40,7 @@ declare class HandleManager extends Controller {
|
|
|
40
40
|
* Handles marked for removal once the object is destroyed.
|
|
41
41
|
* @param {*} [groupKey]
|
|
42
42
|
* Key identifying the group to which the handles should be added. All the handles in the group
|
|
43
|
-
* can later be removed with [Accessor.removeHandles()](https://next.
|
|
43
|
+
* can later be removed with [Accessor.removeHandles()](https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#removeHandles).
|
|
44
44
|
* If no key is provided the handles are added to a default group.
|
|
45
45
|
*/
|
|
46
46
|
addHandles<T>(handleOrHandles: SafeHandle | SafeHandle[], groupKey?: GroupKey<T>): void;
|
|
@@ -85,9 +85,9 @@ declare class HandleManager extends Controller {
|
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* useHandles() implements the following methods from JS API's Accessor class:
|
|
88
|
-
* addHandles - https://next.
|
|
89
|
-
* hasHandles - https://next.
|
|
90
|
-
* removeHandles - https://next.
|
|
88
|
+
* addHandles - https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#addHandles
|
|
89
|
+
* hasHandles - https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#hasHandles
|
|
90
|
+
* removeHandles - https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#removeHandles
|
|
91
91
|
* removeAllHandles - (hidden from the JS API's JSDoc)
|
|
92
92
|
*
|
|
93
93
|
* Except, to adapt these to web-components, you have an option of picking
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
import { GenericController } from '@arcgis/lumina/controllers';
|
|
3
|
-
import {
|
|
3
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
4
4
|
import { default as MapView } from '@arcgis/core/views/MapView';
|
|
5
5
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
6
6
|
import { default as LinkChartView } from '@arcgis/core/views/LinkChartView';
|
|
@@ -10,7 +10,7 @@ import { LitElement, EventEmitter } from '@arcgis/lumina';
|
|
|
10
10
|
type View = LinkChartView | MapView | SceneView;
|
|
11
11
|
type ViewControllerRequires<ViewType extends View> = LitElement & ViewControllerUses<ViewType>;
|
|
12
12
|
export interface ViewControllerUses<ViewType extends View> {
|
|
13
|
-
view?:
|
|
13
|
+
view?: nil | ViewType;
|
|
14
14
|
position: __esri.UIPosition;
|
|
15
15
|
referenceElement?: ArcgisReferenceElement | string;
|
|
16
16
|
arcgisReady: EventEmitter;
|
|
@@ -18,7 +18,7 @@ export interface ViewControllerUses<ViewType extends View> {
|
|
|
18
18
|
childElem?: HTMLElement & {
|
|
19
19
|
ownedBy?: HTMLElement;
|
|
20
20
|
};
|
|
21
|
-
view?:
|
|
21
|
+
view?: nil | ViewType;
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccessorController } from '@arcgis/lumina/controllers/accessor';
|
|
2
|
-
import {
|
|
2
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
3
3
|
import { default as Accessor } from '@arcgis/core/core/Accessor';
|
|
4
|
-
import {
|
|
4
|
+
import { Evented } from '@arcgis/core/core/Evented';
|
|
5
5
|
import { default as ArcgisMap } from '@arcgis/core/Map';
|
|
6
6
|
import { default as MapView } from '@arcgis/core/views/MapView';
|
|
7
7
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
@@ -11,8 +11,8 @@ import { LitElement, EventEmitter } from '@arcgis/lumina';
|
|
|
11
11
|
type ViewModelControllerRequires<Props, ViewModel extends ViewModelInstance> = LitElement & Pick<ViewModel, keyof Props & keyof ViewModel> & ViewModelControllerUses<ViewModel>;
|
|
12
12
|
type ViewModelInstance = Accessor & Partial<Evented> & {
|
|
13
13
|
state?: string;
|
|
14
|
-
view?: LinkChartView | MapView |
|
|
15
|
-
map?: ArcgisMap |
|
|
14
|
+
view?: LinkChartView | MapView | nil | SceneView;
|
|
15
|
+
map?: ArcgisMap | nil;
|
|
16
16
|
};
|
|
17
17
|
export interface ViewModelControllerUses<ViewModel extends ViewModelInstance> extends ViewControllerUses<NonNullable<ViewModelInstance["view"]>> {
|
|
18
18
|
state?: ViewModel["state"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
import { AccessorController } from '@arcgis/lumina/controllers/accessor';
|
|
3
|
-
import {
|
|
3
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
4
4
|
import { default as ArcgisMap } from '@arcgis/core/Map';
|
|
5
5
|
import { ArcgisReferenceElement } from '../utils/component-utils';
|
|
6
6
|
import { LitElement, EventEmitter } from '@arcgis/lumina';
|
|
@@ -10,19 +10,19 @@ type WidgetInstance = __esri.Widget & {
|
|
|
10
10
|
state?: string;
|
|
11
11
|
viewModel?: __esri.Accessor & {
|
|
12
12
|
state?: string;
|
|
13
|
-
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView |
|
|
14
|
-
map?: ArcgisMap |
|
|
13
|
+
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nil;
|
|
14
|
+
map?: ArcgisMap | nil;
|
|
15
15
|
};
|
|
16
|
-
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView |
|
|
17
|
-
map?: ArcgisMap |
|
|
16
|
+
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nil;
|
|
17
|
+
map?: ArcgisMap | nil;
|
|
18
18
|
visibleElements?: Record<never, unknown>;
|
|
19
19
|
};
|
|
20
20
|
type Uses<Widget extends WidgetInstance> = {
|
|
21
|
-
state?: Exclude<Widget["viewModel"],
|
|
21
|
+
state?: Exclude<Widget["viewModel"], nil>["state"] | Widget["state"];
|
|
22
22
|
viewModel?: Widget["viewModel"];
|
|
23
23
|
closed?: boolean;
|
|
24
|
-
icon:
|
|
25
|
-
label:
|
|
24
|
+
icon: nil | string;
|
|
25
|
+
label: nil | string;
|
|
26
26
|
referenceElement?: ArcgisReferenceElement | string;
|
|
27
27
|
position: __esri.UIPosition;
|
|
28
28
|
arcgisReady: EventEmitter;
|
|
@@ -59,7 +59,7 @@ export declare const makeWidgetController: <Props, Widget extends WidgetInstance
|
|
|
59
59
|
* \@state() timeZone = this.widget.timeZone;
|
|
60
60
|
*/
|
|
61
61
|
omitProps: OmitProps[];
|
|
62
|
-
}) => (component: Requires<Omit<Props, OmitProps | "container" | "id" | "view" | "visible" | "visibleElements">, Widget>) => Widget;
|
|
62
|
+
}) => (component: Requires<Omit<Props, OmitProps | "container" | "destroyed" | "id" | "view" | "visible" | "visibleElements">, Widget>) => Widget;
|
|
63
63
|
export declare class WidgetController<Props, Widget extends WidgetInstance> extends AccessorController<Props, Widget, Uses<Widget>> {
|
|
64
64
|
#private;
|
|
65
65
|
constructor(component: Requires<Props, Widget> & Uses<Widget>, createWidget: ((props?: Props) => Widget) | (new (props?: Props) => Widget));
|