@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,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { default as SearchViewModel } from '@arcgis/core/widgets/Search/SearchViewModel.js';
|
|
4
4
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
5
5
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
|
-
import {
|
|
6
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
7
7
|
import { Use } from '@arcgis/lumina/controllers';
|
|
8
8
|
|
|
9
9
|
type ActiveMenu = "none" | "source" | "suggestion";
|
|
@@ -27,6 +27,11 @@ declare const useSearchViewModel: (component: LitElement & Pick<SearchViewModel,
|
|
|
27
27
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/)
|
|
28
28
|
*/
|
|
29
29
|
export declare class ArcgisSearch extends LitElement {
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
*
|
|
33
|
+
* @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)
|
|
34
|
+
*/
|
|
30
35
|
referenceElement?: ArcgisReferenceElement | string;
|
|
31
36
|
/** @default "top-left" */
|
|
32
37
|
position: __esri.UIPosition;
|
|
@@ -60,7 +65,7 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
60
65
|
*
|
|
61
66
|
* @default null
|
|
62
67
|
*/
|
|
63
|
-
get activeSource():
|
|
68
|
+
get activeSource(): nil | (__esri.LayerSearchSource | __esri.LocatorSearchSource);
|
|
64
69
|
/**
|
|
65
70
|
* The selected source's index. This value is `-1` when all sources are selected.
|
|
66
71
|
*
|
|
@@ -83,6 +88,12 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
83
88
|
* displays first in the Search UI.
|
|
84
89
|
*/
|
|
85
90
|
readonly allSources: __esri.Collection<__esri.LayerSearchSource | __esri.LocatorSearchSource>;
|
|
91
|
+
/**
|
|
92
|
+
* Indicates whether to automatically navigate to the selected result.
|
|
93
|
+
*
|
|
94
|
+
* @default false
|
|
95
|
+
*/
|
|
96
|
+
autoNavigateDisabled: boolean;
|
|
86
97
|
/**
|
|
87
98
|
* Indicates whether to automatically select and zoom to the first geocoded result. If `false`, the
|
|
88
99
|
* [findAddressCandidates](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm)
|
|
@@ -90,9 +101,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
90
101
|
* geocoded results, you can set up a [search-complete](#event-search-complete) event handler and get the results
|
|
91
102
|
* through the event object.
|
|
92
103
|
*
|
|
93
|
-
* @default
|
|
104
|
+
* @default false
|
|
94
105
|
*/
|
|
95
|
-
|
|
106
|
+
autoSelectDisabled: boolean;
|
|
96
107
|
/**
|
|
97
108
|
* A read-only property that is a [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html)
|
|
98
109
|
* of [LayerSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html)
|
|
@@ -117,25 +128,24 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
117
128
|
* Indicates whether or not to include [defaultSources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources) in the Search UI.
|
|
118
129
|
* This can be a boolean value or a function that returns an array of Search [sources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#sources).
|
|
119
130
|
*
|
|
120
|
-
* @default
|
|
131
|
+
* @default false
|
|
121
132
|
*/
|
|
122
|
-
|
|
133
|
+
includeDefaultSourcesDisabled: boolean | Function;
|
|
123
134
|
/**
|
|
124
135
|
* Enables location services within the component.
|
|
125
136
|
*
|
|
126
137
|
* 
|
|
127
138
|
*
|
|
128
|
-
*
|
|
139
|
+
* **Note:**
|
|
129
140
|
* The use of this property is only supported on secure origins.
|
|
130
141
|
* To use it, switch your application to a secure origin, such as HTTPS.
|
|
131
142
|
* Note that localhost is considered "potentially secure" and can be used for easy testing in browsers that supports
|
|
132
143
|
* [Window.isSecureContext](https://developer.mozilla.org/en-US/docs/Web/API/isSecureContext#browser_compatibility)
|
|
133
144
|
* (currently Chrome and Firefox).
|
|
134
|
-
* :::
|
|
135
145
|
*
|
|
136
|
-
* @default
|
|
146
|
+
* @default false
|
|
137
147
|
*/
|
|
138
|
-
|
|
148
|
+
locationDisabled: boolean;
|
|
139
149
|
/**
|
|
140
150
|
* The maximum number of results returned by the component if not specified by the source.
|
|
141
151
|
*
|
|
@@ -162,9 +172,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
162
172
|
* Indicates whether to display the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) on feature click. The graphic can
|
|
163
173
|
* be clicked to display a [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html).
|
|
164
174
|
*
|
|
165
|
-
* @default
|
|
175
|
+
* @default false
|
|
166
176
|
*/
|
|
167
|
-
|
|
177
|
+
popupDisabled: boolean;
|
|
168
178
|
/**
|
|
169
179
|
* A customized [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) for the selected feature.
|
|
170
180
|
* Note that any [templates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html)
|
|
@@ -182,12 +192,11 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
182
192
|
/**
|
|
183
193
|
* The graphic used to highlight the resulting feature or location.
|
|
184
194
|
*
|
|
185
|
-
*
|
|
195
|
+
* **Note:**
|
|
186
196
|
* A graphic will be placed in the View's
|
|
187
197
|
* [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#graphics)
|
|
188
198
|
* for [layer](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
189
199
|
* that do not support the `highlight` method.
|
|
190
|
-
* :::
|
|
191
200
|
*
|
|
192
201
|
* @default null
|
|
193
202
|
*/
|
|
@@ -196,9 +205,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
196
205
|
* Indicates if the [resultGraphic](#resultGraphic) will display at the
|
|
197
206
|
* location of the selected feature.
|
|
198
207
|
*
|
|
199
|
-
* @default
|
|
208
|
+
* @default false
|
|
200
209
|
*/
|
|
201
|
-
|
|
210
|
+
resultGraphicDisabled: boolean;
|
|
202
211
|
/**
|
|
203
212
|
* An array of objects, each containing a [SearchResult](#SearchResult) from the search.
|
|
204
213
|
*
|
|
@@ -215,9 +224,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
215
224
|
*
|
|
216
225
|
* 
|
|
217
226
|
*
|
|
218
|
-
* @default
|
|
227
|
+
* @default false
|
|
219
228
|
*/
|
|
220
|
-
|
|
229
|
+
searchAllDisabled: boolean;
|
|
221
230
|
/** The value of the search box input text string. */
|
|
222
231
|
searchTerm: string;
|
|
223
232
|
/**
|
|
@@ -244,9 +253,7 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
244
253
|
* Any combination of these sources may be used
|
|
245
254
|
* together in the same instance of the Search component.
|
|
246
255
|
*
|
|
247
|
-
*
|
|
248
|
-
* Feature layers created from client-side graphics are not supported.
|
|
249
|
-
* :::
|
|
256
|
+
* **Note:** Feature layers created from client-side graphics are not supported.
|
|
250
257
|
*
|
|
251
258
|
* @autocast {"typedCollection": true}
|
|
252
259
|
*/
|
|
@@ -267,9 +274,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
267
274
|
* This is only available if working with a 10.3 or greater geocoding service that has [suggest capability
|
|
268
275
|
* loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a 10.3 or greater feature layer that supports pagination, i.e. `supportsPagination = true`.
|
|
269
276
|
*
|
|
270
|
-
* @default
|
|
277
|
+
* @default false
|
|
271
278
|
*/
|
|
272
|
-
|
|
279
|
+
suggestionsDisabled: boolean;
|
|
273
280
|
/**
|
|
274
281
|
* If true, the component will not be destroyed automatically when it is
|
|
275
282
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -280,12 +287,16 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
280
287
|
* @default false
|
|
281
288
|
*/
|
|
282
289
|
autoDestroyDisabled: boolean;
|
|
283
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Replace localized message strings with your own strings.
|
|
292
|
+
*
|
|
293
|
+
* _**Note**: Individual message keys may change between releases._
|
|
294
|
+
*/
|
|
284
295
|
messageOverrides?: typeof this.messages._overrides;
|
|
285
296
|
/** The component's default label. */
|
|
286
297
|
label?: string;
|
|
287
298
|
/**
|
|
288
|
-
* The current state
|
|
299
|
+
* The current state.
|
|
289
300
|
*
|
|
290
301
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#state)
|
|
291
302
|
*
|
|
@@ -304,7 +315,7 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
304
315
|
* address matching using any specified [locator(s)](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html) and
|
|
305
316
|
* returns any applicable results.
|
|
306
317
|
*/
|
|
307
|
-
search(searchItem?: __esri.Graphic | __esri.Point | __esri.SuggestResult |
|
|
318
|
+
search(searchItem?: __esri.Graphic | __esri.Point | __esri.SuggestResult | nil | number[] | string): Promise<__esri.SearchResponse | nil>;
|
|
308
319
|
/**
|
|
309
320
|
* Performs a suggest() request on the active Locator. It also uses the current value of
|
|
310
321
|
* the component or one that is passed in.
|
|
@@ -314,14 +325,14 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
314
325
|
* loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a 10.3 or greater feature layer that supports pagination, i.e.
|
|
315
326
|
* `supportsPagination = true`.
|
|
316
327
|
*/
|
|
317
|
-
suggest(query?: string): Promise<__esri.SuggestResponse |
|
|
328
|
+
suggest(query?: string): Promise<__esri.SuggestResponse | nil>;
|
|
318
329
|
/** Brings focus to the component's text input. */
|
|
319
330
|
setFocus(): Promise<void>;
|
|
320
331
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
321
332
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
322
333
|
name: "state";
|
|
323
334
|
}>;
|
|
324
|
-
/** Emitted when the component associated with a map or scene view is
|
|
335
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
325
336
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
326
337
|
/** Fires when a result is cleared from the input box or a new result is selected. */
|
|
327
338
|
readonly arcgisSearchClear: TargetedEvent<this, __esri.SearchViewModelSearchClearEvent>;
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
-
import { ref as d } from "lit
|
|
2
|
+
import { ref as d } from "lit/directives/ref.js";
|
|
3
3
|
import _ from "@arcgis/core/widgets/Search/SearchViewModel.js";
|
|
4
|
-
import { LitElement as v, createEvent as w, noShadowRoot as f, safeClassMap as
|
|
4
|
+
import { LitElement as v, createEvent as w, noShadowRoot as f, safeClassMap as a, nothing as S } from "@arcgis/lumina";
|
|
5
5
|
import { reEmitEvent as l } from "@arcgis/lumina/controllers/accessor";
|
|
6
6
|
import { a as g } from "../../chunks/maybe.js";
|
|
7
|
-
import { classes as
|
|
8
|
-
import { g as
|
|
7
|
+
import { classes as b } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { g as M } from "../../chunks/globalCss.js";
|
|
9
9
|
import { isAbortError as $ } from "@arcgis/core/core/promiseUtils.js";
|
|
10
|
-
import { m as
|
|
10
|
+
import { m as C } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { render as R, html as o } from "lit-html";
|
|
12
|
-
import { css as x } from "
|
|
12
|
+
import { css as x } from "lit";
|
|
13
13
|
import { substitute as y } from "@arcgis/core/intl.js";
|
|
14
|
-
import { usePropertyChange as
|
|
15
|
-
import { u as
|
|
16
|
-
import { watch as
|
|
14
|
+
import { usePropertyChange as T } from "@arcgis/lumina/controllers";
|
|
15
|
+
import { u as A } from "../../chunks/useT9n.js";
|
|
16
|
+
import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
19
|
-
v4.34.0-next.
|
|
20
|
-
const
|
|
21
|
-
base:
|
|
22
|
-
autocomplete: `${
|
|
23
|
-
dropdown: `${
|
|
24
|
-
container: `${
|
|
25
|
-
form: `${
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
v4.34.0-next.81 */
|
|
20
|
+
const c = "arcgis-search", n = {
|
|
21
|
+
base: c,
|
|
22
|
+
autocomplete: `${c}__autocomplete`,
|
|
23
|
+
dropdown: `${c}__dropdown`,
|
|
24
|
+
container: `${c}__container`,
|
|
25
|
+
form: `${c}__form`,
|
|
26
|
+
submitButton: `${c}__submit-button`
|
|
27
|
+
}, E = x`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}}`, N = C(_);
|
|
28
|
+
class I extends v {
|
|
28
29
|
constructor() {
|
|
29
|
-
super(...arguments), this.viewModel =
|
|
30
|
+
super(...arguments), this.viewModel = N(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererContainerEl = document.createElement("div"), this._searchResultRendererEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = A({}), this._setSearchResultRendererRef = (e) => {
|
|
30
31
|
this._searchResultRendererEl = e;
|
|
31
|
-
}, this._locateFailed = !1, this._showNoResults = !1, this.position = "top-left", this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.
|
|
32
|
+
}, this._locateFailed = !1, this._showNoResults = !1, this.position = "top-left", this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigateDisabled = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = T()("state"), this.arcgisReady = w(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
|
|
32
33
|
}
|
|
33
34
|
static {
|
|
34
|
-
this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, referenceElement: 1, position: 3, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0,
|
|
35
|
+
this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, referenceElement: 1, position: 3, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoNavigateDisabled: 5, autoSelectDisabled: 5, defaultSources: 0, disabled: 5, includeDefaultSourcesDisabled: 5, locationDisabled: 5, maxResults: 9, maxSuggestions: 9, minSuggestCharacters: 9, popupDisabled: 5, popupTemplate: 0, portal: 0, resultGraphic: 0, resultGraphicDisabled: 5, results: 0, searchAllDisabled: 5, searchTerm: 1, selectedResult: 0, sources: 0, suggestions: 0, suggestionsDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
35
36
|
}
|
|
36
37
|
static {
|
|
37
|
-
this.styles =
|
|
38
|
+
this.styles = E;
|
|
38
39
|
}
|
|
39
40
|
static {
|
|
40
41
|
this.shadowRootOptions = f;
|
|
@@ -44,7 +45,7 @@ class L extends v {
|
|
|
44
45
|
return e === "disabled" || e === "loading" || this.disabled;
|
|
45
46
|
}
|
|
46
47
|
get _showCurrentLocation() {
|
|
47
|
-
return this.
|
|
48
|
+
return !this.locationDisabled && !this.searchTerm?.trim();
|
|
48
49
|
}
|
|
49
50
|
get _effectiveActiveMenu() {
|
|
50
51
|
return this._isDisabled ? "none" : this.activeMenu;
|
|
@@ -87,8 +88,11 @@ class L extends v {
|
|
|
87
88
|
await this._autocompleteEl?.setFocus();
|
|
88
89
|
}
|
|
89
90
|
loaded() {
|
|
90
|
-
this.
|
|
91
|
-
|
|
91
|
+
this.manager.onLifecycle(() => D(() => this.viewModel?.defaultPopupTemplate, (e) => {
|
|
92
|
+
if (e) {
|
|
93
|
+
const t = document.createElement("div");
|
|
94
|
+
t.appendChild(this._searchResultRendererContainerEl), e.content = t;
|
|
95
|
+
}
|
|
92
96
|
}, { initial: !0 }));
|
|
93
97
|
}
|
|
94
98
|
_addSearchResultRenderer() {
|
|
@@ -158,22 +162,22 @@ class L extends v {
|
|
|
158
162
|
return (e === -1 ? t.all : i?.name || t.untitledSource) || "";
|
|
159
163
|
}
|
|
160
164
|
render() {
|
|
161
|
-
return o`<div class=${
|
|
165
|
+
return this._addSearchResultRenderer(), o`<div class=${a(b(n.base, M.widget))}><div class=${a(n.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`;
|
|
162
166
|
}
|
|
163
167
|
_renderSourcesMenu() {
|
|
164
168
|
const { messages: e, _isDisabled: t, _effectiveActiveMenu: s } = this, { allSources: i, searchAllEnabled: r } = this.viewModel;
|
|
165
|
-
return i.length > 1 ? o`<calcite-dropdown class=${
|
|
169
|
+
return i.length > 1 ? o`<calcite-dropdown class=${a(n.dropdown)} .disabled=${t} .open=${s === "source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${r ? this._renderSource(-1) : null}${i.map((u, h) => this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
|
|
166
170
|
}
|
|
167
171
|
_renderUseCurrentLocation() {
|
|
168
172
|
const { _currentLocationValue: e } = this;
|
|
169
173
|
return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation ?? ""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`;
|
|
170
174
|
}
|
|
171
175
|
_renderAutocomplete() {
|
|
172
|
-
const { _effectiveActiveMenu: e, messages: t, _isDisabled: s } = this, { maxInputLength: i, placeholder: r, searchTerm:
|
|
173
|
-
return o`<calcite-autocomplete .autocomplete=${"off"} class=${
|
|
176
|
+
const { _effectiveActiveMenu: e, messages: t, _isDisabled: s } = this, { maxInputLength: i, placeholder: r, searchTerm: u, state: h } = this.viewModel, m = this.label ?? t.searchButtonTitle ?? "";
|
|
177
|
+
return o`<calcite-autocomplete .autocomplete=${"off"} class=${a(n.autocomplete)} .disabled=${s} .icon=${this.icon || !1} .inputValue=${u} .label=${m} .loading=${h === "searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${r} title=${(u ? "" : r) ?? S} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
|
|
174
178
|
}
|
|
175
179
|
_renderForm() {
|
|
176
|
-
return o`<form class=${
|
|
180
|
+
return o`<form class=${a(n.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(n.submitButton)} type=submit>${this.label ?? this.messages.searchButtonTitle ?? ""}</button></form>`;
|
|
177
181
|
}
|
|
178
182
|
_renderSuggestGroup(e) {
|
|
179
183
|
return e.results?.map((t) => this._renderSuggestion(t));
|
|
@@ -183,8 +187,8 @@ class L extends v {
|
|
|
183
187
|
return this._showNoResults ? null : this._showCurrentLocation ? this._renderUseCurrentLocation() : e?.map((t) => this._renderSuggestResults(t));
|
|
184
188
|
}
|
|
185
189
|
_renderSuggestResults(e) {
|
|
186
|
-
const { allSources: t, activeSourceIndex: s } = this.viewModel, { sourceIndex: i } = e, r = e.results?.length,
|
|
187
|
-
return r &&
|
|
190
|
+
const { allSources: t, activeSourceIndex: s } = this.viewModel, { sourceIndex: i } = e, r = e.results?.length, u = t.length > 1 && s === -1, h = this._getSourceName(i);
|
|
191
|
+
return r && u ? o`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>` : this._renderSuggestGroup(e);
|
|
188
192
|
}
|
|
189
193
|
_renderSuggestion({ key: e, sourceIndex: t, text: s }) {
|
|
190
194
|
const i = {
|
|
@@ -210,7 +214,7 @@ class L extends v {
|
|
|
210
214
|
return this._locateFailed ? this._renderLocateError() : this._showNoResults ? this._renderNoResultsWarning(this._lastSearchTerm ?? this.viewModel.searchTerm) : null;
|
|
211
215
|
}
|
|
212
216
|
}
|
|
213
|
-
p("arcgis-search",
|
|
217
|
+
p("arcgis-search", I);
|
|
214
218
|
export {
|
|
215
|
-
|
|
219
|
+
I as ArcgisSearch
|
|
216
220
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import { default as SearchViewModel } from '@arcgis/core/widgets/Search/SearchViewModel.js';
|
|
3
3
|
import { ArcgisSearch } from '../arcgis-search/customElement.js';
|
|
4
4
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -24,6 +24,6 @@ export declare class ArcgisSearchResultRenderer extends LitElement {
|
|
|
24
24
|
viewModel?: SearchViewModel;
|
|
25
25
|
/** Permanently destroy the component. */
|
|
26
26
|
destroy(): Promise<void>;
|
|
27
|
-
/** Emitted when the component associated with a map or scene view is
|
|
27
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
28
28
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
29
29
|
}
|
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as r } from "lit
|
|
3
|
-
import { keyed as c } from "lit
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { classes as
|
|
6
|
-
import { g as
|
|
7
|
-
import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
2
|
+
import { css as m, html as r } from "lit";
|
|
3
|
+
import { keyed as c } from "lit/directives/keyed.js";
|
|
4
|
+
import { LitElement as p, createEvent as g, noShadowRoot as _, safeClassMap as a } from "@arcgis/lumina";
|
|
5
|
+
import { classes as R } from "@arcgis/toolkit/dom";
|
|
6
|
+
import { g as w } from "../../chunks/globalCss.js";
|
|
8
7
|
import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
8
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
10
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.81 */
|
|
13
12
|
const n = "arcgis-search-result-renderer", h = {
|
|
14
13
|
base: n,
|
|
15
14
|
moreResults: `${n}__more-results`
|
|
16
|
-
},
|
|
17
|
-
class
|
|
15
|
+
}, $ = m`@layer{.arcgis-search-result-renderer calcite-block,.arcgis-search-result-renderer calcite-block[expanded]{margin-block:0;margin-block-start:var(--calcite-spacing-md);border:0}}`;
|
|
16
|
+
class f extends p {
|
|
18
17
|
constructor() {
|
|
19
|
-
super(...arguments), this._resultCount = 0, this._showMoreResultsOpen = !1, this.autoDestroyDisabled = !1, this.arcgisReady =
|
|
18
|
+
super(...arguments), this._resultCount = 0, this._showMoreResultsOpen = !1, this.autoDestroyDisabled = !1, this.arcgisReady = g();
|
|
20
19
|
}
|
|
21
20
|
static {
|
|
22
21
|
this.properties = { _results: 16, _resultCount: 16, _selectedResult: 16, _showMoreResultsOpen: 16, messages: 0, autoDestroyDisabled: 5, viewModel: 0 };
|
|
23
22
|
}
|
|
24
23
|
static {
|
|
25
|
-
this.styles =
|
|
24
|
+
this.styles = $;
|
|
26
25
|
}
|
|
27
26
|
static {
|
|
28
|
-
this.shadowRootOptions =
|
|
27
|
+
this.shadowRootOptions = _;
|
|
29
28
|
}
|
|
30
29
|
async destroy() {
|
|
31
30
|
await this.manager.destroy();
|
|
@@ -50,7 +49,7 @@ class $ extends m {
|
|
|
50
49
|
s && "reposition" in s && s.reposition();
|
|
51
50
|
}
|
|
52
51
|
render() {
|
|
53
|
-
return r`<div class=${a(
|
|
52
|
+
return r`<div class=${a(R(h.base, w.widget))}>${this._selectedResult?.name ?? ""}${this._renderMoreResults()}</div>`;
|
|
54
53
|
}
|
|
55
54
|
_renderMoreResults() {
|
|
56
55
|
const { _resultCount: e, _results: s } = this;
|
|
@@ -67,7 +66,7 @@ class $ extends m {
|
|
|
67
66
|
return c(`result-${e.sourceIndex}-${e.key}`, r`<calcite-list-item .label=${e.name} @calciteListItemSelect=${() => this._selectResult(e)}></calcite-list-item>`);
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
|
-
d("arcgis-search-result-renderer",
|
|
69
|
+
d("arcgis-search-result-renderer", f);
|
|
71
70
|
export {
|
|
72
|
-
|
|
71
|
+
f as ArcgisSearchResultRenderer
|
|
73
72
|
};
|