@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
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
import { c as W } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as j, html as y } from "lit";
|
|
3
|
+
import { ref as G } from "lit/directives/ref.js";
|
|
4
|
+
import { keyed as q } from "lit/directives/keyed.js";
|
|
5
|
+
import { useMedia as K } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { getColorsFromRenderer as J } from "@arcgis/core/renderers/support/utils.js";
|
|
7
|
+
import { LitElement as Q, noShadowRoot as Z, safeClassMap as C, nothing as A } from "@arcgis/lumina";
|
|
8
|
+
import { substitute as ee } from "@arcgis/core/intl.js";
|
|
9
|
+
import { c as S } from "../../chunks/utils.js";
|
|
10
|
+
import { watch as te } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
|
+
import ie from "@arcgis/core/popup/FieldInfo.js";
|
|
12
|
+
import P from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
13
|
+
import { unsafeGetCalciteModeName as ae } from "@arcgis/toolkit/dom";
|
|
14
|
+
import { renderingSanitizer as X } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
15
|
+
import { i as $, s as N, f as E, a as Y, b as re, g as U, c as ne, d as se, e as oe, h as le } from "../../chunks/feature-utils.js";
|
|
16
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
+
v4.34.0-next.81 */
|
|
19
|
+
const ce = j`@layer{arcgis-feature-media{display:block}.arcgis-feature-media__container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.arcgis-feature-media__container .arcgis-feature-media__pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.arcgis-feature-media__container .arcgis-feature-media__pagination-button:hover,.arcgis-feature-media__container .arcgis-feature-media__pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.arcgis-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size)}.arcgis-feature-media__item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.arcgis-feature-media__item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.arcgis-feature-media__item-text{margin-inline-end:var(--calcite-spacing-xs)}.arcgis-feature-media__pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.arcgis-feature-media__pagination:only-child{margin-inline-start:auto}.arcgis-feature-media__pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-feature-media__item-container{flex:0 1 auto;width:100%}.arcgis-feature-media__item-container img{max-width:100%}.arcgis-feature-media__item-container img[src$=".SVG"],.arcgis-feature-media__item-container img[src$=".svg"]{width:100%}.arcgis-feature-media__chart{width:100%;height:155px}}`;
|
|
20
|
+
function V(R) {
|
|
21
|
+
if (!$(R))
|
|
22
|
+
return null;
|
|
23
|
+
const [e, t] = R.split("/").slice(1);
|
|
24
|
+
return { layerId: e, fieldName: t };
|
|
25
|
+
}
|
|
26
|
+
const I = "arcgis-feature-media", v = {
|
|
27
|
+
base: I,
|
|
28
|
+
mediaContainer: `${I}__container`,
|
|
29
|
+
mediaItemContainer: `${I}__item-container`,
|
|
30
|
+
mediaItem: `${I}__item`,
|
|
31
|
+
mediaItemText: `${I}__item-text`,
|
|
32
|
+
mediaItemTitle: `${I}__item-title`,
|
|
33
|
+
mediaItemCaption: `${I}__item-caption`,
|
|
34
|
+
mediaNavigation: `${I}__item-navigation`,
|
|
35
|
+
mediaPagination: `${I}__pagination`,
|
|
36
|
+
mediaPaginationText: `${I}__pagination-text`,
|
|
37
|
+
mediaChart: `${I}__chart`,
|
|
38
|
+
mediaPaginationButton: `${I}__pagination-button`,
|
|
39
|
+
mediaPaginationIcon: `${I}__pagination-icon`,
|
|
40
|
+
mediaChartRendered: `${I}__chart--rendered`
|
|
41
|
+
}, z = 15, w = "category", T = "value", de = "rgba(50, 50, 50, 1)", me = 250, ue = 500, he = 200;
|
|
42
|
+
class fe extends Q {
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments), this._prefersReducedMotion = K("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.isAggregate = !1, this.headingLevel = 2;
|
|
45
|
+
}
|
|
46
|
+
static {
|
|
47
|
+
this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, activeMediaInfoIndex: 9, chartAnimationDisabled: 5, activeMediaInfo: 32, formattedMediaInfos: 32, description: 1, fieldInfoMap: 0, layer: 0, mediaInfos: 0, popupTemplate: 0, relatedInfos: 0, formattedValues: 0, heading: 1, isAggregate: 5, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
48
|
+
}
|
|
49
|
+
static {
|
|
50
|
+
this.styles = ce;
|
|
51
|
+
}
|
|
52
|
+
static {
|
|
53
|
+
this.shadowRootOptions = Z;
|
|
54
|
+
}
|
|
55
|
+
get activeMediaInfo() {
|
|
56
|
+
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
57
|
+
}
|
|
58
|
+
get formattedMediaInfos() {
|
|
59
|
+
return this._formatMediaInfos() || [];
|
|
60
|
+
}
|
|
61
|
+
get formattedMediaInfoCount() {
|
|
62
|
+
return this.formattedMediaInfos.length;
|
|
63
|
+
}
|
|
64
|
+
next() {
|
|
65
|
+
this._pageContentElementMedia(1);
|
|
66
|
+
}
|
|
67
|
+
previous() {
|
|
68
|
+
this._pageContentElementMedia(-1);
|
|
69
|
+
}
|
|
70
|
+
setActiveMedia(e) {
|
|
71
|
+
this._setContentElementMedia(e);
|
|
72
|
+
}
|
|
73
|
+
loaded() {
|
|
74
|
+
this.manager.onLifecycle(() => [
|
|
75
|
+
te(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
|
|
76
|
+
{ remove: () => this._clearMediaRefreshTimer() }
|
|
77
|
+
]);
|
|
78
|
+
}
|
|
79
|
+
_setContentElementMedia(e) {
|
|
80
|
+
const { formattedMediaInfoCount: t } = this, i = (e + t) % t;
|
|
81
|
+
this.activeMediaInfoIndex = i;
|
|
82
|
+
}
|
|
83
|
+
_pageContentElementMedia(e) {
|
|
84
|
+
const { activeMediaInfoIndex: t } = this, i = t + e;
|
|
85
|
+
this._setContentElementMedia(i);
|
|
86
|
+
}
|
|
87
|
+
_formatMediaInfos() {
|
|
88
|
+
const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, a = this.formattedValues ?? {}, r = this.fieldInfoMap ?? /* @__PURE__ */ new Map();
|
|
89
|
+
return e?.map((s) => {
|
|
90
|
+
const n = s?.clone();
|
|
91
|
+
if (!n)
|
|
92
|
+
return null;
|
|
93
|
+
if (n.title = N({
|
|
94
|
+
values: i,
|
|
95
|
+
fieldInfoMap: r,
|
|
96
|
+
globalValues: a,
|
|
97
|
+
layer: t,
|
|
98
|
+
text: n.title
|
|
99
|
+
}), n.caption = N({
|
|
100
|
+
values: i,
|
|
101
|
+
fieldInfoMap: r,
|
|
102
|
+
globalValues: a,
|
|
103
|
+
layer: t,
|
|
104
|
+
text: n.caption
|
|
105
|
+
}), n.altText = N({
|
|
106
|
+
values: i,
|
|
107
|
+
fieldInfoMap: r,
|
|
108
|
+
globalValues: a,
|
|
109
|
+
layer: t,
|
|
110
|
+
text: n.altText
|
|
111
|
+
}), n.type === "image") {
|
|
112
|
+
if (!n.value)
|
|
113
|
+
return null;
|
|
114
|
+
const o = n.value;
|
|
115
|
+
return this._setImageValue({
|
|
116
|
+
value: o,
|
|
117
|
+
formattedValues: a,
|
|
118
|
+
layer: t
|
|
119
|
+
}), o.sourceURL ? n : void 0;
|
|
120
|
+
}
|
|
121
|
+
if (n.type === "pie-chart" || n.type === "line-chart" || n.type === "column-chart" || n.type === "bar-chart") {
|
|
122
|
+
if (!n.value)
|
|
123
|
+
return null;
|
|
124
|
+
const o = n.value;
|
|
125
|
+
return this._setChartValue({
|
|
126
|
+
value: o,
|
|
127
|
+
chartType: n.type,
|
|
128
|
+
values: i,
|
|
129
|
+
formattedValues: a,
|
|
130
|
+
layer: t
|
|
131
|
+
}), n;
|
|
132
|
+
}
|
|
133
|
+
return null;
|
|
134
|
+
}).filter((s) => s != null) ?? [];
|
|
135
|
+
}
|
|
136
|
+
_setImageValue(e) {
|
|
137
|
+
const t = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { value: i, formattedValues: a, layer: r } = e, { linkURL: s, sourceURL: n } = i;
|
|
138
|
+
if (n) {
|
|
139
|
+
const o = E(n, r);
|
|
140
|
+
i.sourceURL = Y({
|
|
141
|
+
formattedValues: a,
|
|
142
|
+
template: o,
|
|
143
|
+
fieldInfoMap: t
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
if (s) {
|
|
147
|
+
const o = E(s, r);
|
|
148
|
+
i.linkURL = Y({
|
|
149
|
+
formattedValues: a,
|
|
150
|
+
template: o,
|
|
151
|
+
fieldInfoMap: t
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
_setChartValue(e) {
|
|
156
|
+
const { value: t, values: i, formattedValues: a, chartType: r, layer: s } = e, { popupTemplate: n, relatedInfos: o } = this, { fields: d, normalizeField: p } = t, u = s;
|
|
157
|
+
if (t.fields = re(d, u), p && (t.normalizeField = U(p, u)), !d.some((c) => !!(a[c] != null || $(c) && o?.size)))
|
|
158
|
+
return;
|
|
159
|
+
const m = n?.fieldInfos ?? [];
|
|
160
|
+
t.series = [], d.forEach((c, h) => {
|
|
161
|
+
const f = t.colors?.[h];
|
|
162
|
+
if ($(c)) {
|
|
163
|
+
t.series = [
|
|
164
|
+
...t.series,
|
|
165
|
+
...this._getRelatedChartInfos({ fieldInfos: m, fieldName: c, formattedValues: a, chartType: r, value: t, color: f })
|
|
166
|
+
];
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
const g = this._getChartOption({
|
|
170
|
+
value: t,
|
|
171
|
+
values: i,
|
|
172
|
+
chartType: r,
|
|
173
|
+
formattedValues: a,
|
|
174
|
+
fieldName: c,
|
|
175
|
+
fieldInfos: m,
|
|
176
|
+
color: f
|
|
177
|
+
});
|
|
178
|
+
t.series.push(g);
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
_getRelatedChartInfos(e) {
|
|
182
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: r, value: s, color: n } = e, o = [], d = V(i), p = d && this.relatedInfos?.get(d.layerId);
|
|
183
|
+
if (!p)
|
|
184
|
+
return o;
|
|
185
|
+
const { relatedFeatures: u, relation: l } = p;
|
|
186
|
+
if (!l || !u)
|
|
187
|
+
return o;
|
|
188
|
+
const { cardinality: m } = l;
|
|
189
|
+
return u.forEach((h) => {
|
|
190
|
+
const f = h.attributes;
|
|
191
|
+
f && Object.keys(f).forEach((g) => {
|
|
192
|
+
g === d.fieldName && o.push(this._getChartOption({
|
|
193
|
+
value: s,
|
|
194
|
+
values: f,
|
|
195
|
+
formattedValues: a,
|
|
196
|
+
fieldName: i,
|
|
197
|
+
chartType: r,
|
|
198
|
+
relatedFieldName: g,
|
|
199
|
+
hasMultipleRelatedFeatures: u?.length > 1,
|
|
200
|
+
fieldInfos: t,
|
|
201
|
+
color: n
|
|
202
|
+
}));
|
|
203
|
+
});
|
|
204
|
+
}), m && (m === "one-to-many" || m === "many-to-many") ? o : [o[0]];
|
|
205
|
+
}
|
|
206
|
+
_getTooltip({ label: e, value: t, chartType: i }) {
|
|
207
|
+
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
208
|
+
}
|
|
209
|
+
_getChartOption(e) {
|
|
210
|
+
const { value: t, values: i, formattedValues: a, fieldName: r, relatedFieldName: s, fieldInfos: n, chartType: o, hasMultipleRelatedFeatures: d, color: p } = e, u = this.layer, l = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: m, tooltipField: c } = t, h = m ? $(m) ? i[V(m).fieldName] : i[m] : null, f = ne(r) && a?.[r] !== void 0 ? a[r] : s && i[s] !== void 0 ? i[s] : i[r] !== void 0 ? i[r] : a[r], g = f === void 0 ? null : f && h && typeof f == "number" && typeof h == "number" ? f / h : f, x = se(n, r), _ = U(r, u), M = (c && a[c] !== void 0 ? a[c] : oe(x || new ie({ fieldName: _ }), this.popupTemplate?.expressionInfos)) ?? "", F = a[_] ?? "", b = typeof g == "number" ? g : Number(g);
|
|
211
|
+
if ($(r)) {
|
|
212
|
+
const k = l.get(r.toLowerCase()), D = c ? l.get(c.toLowerCase()) : null, B = k?.fieldName ?? r, L = d && c ? V(c).fieldName : D?.fieldName ?? c, H = (d && L ? i[L] : a[L] ?? k?.label ?? k?.fieldName ?? s) ?? "", O = (d && s ? i[s] : a[B]) ?? "";
|
|
213
|
+
return new P({
|
|
214
|
+
fieldName: r,
|
|
215
|
+
tooltip: this._getTooltip({
|
|
216
|
+
label: H,
|
|
217
|
+
value: O,
|
|
218
|
+
chartType: o
|
|
219
|
+
}),
|
|
220
|
+
color: p,
|
|
221
|
+
value: b
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
return new P({
|
|
225
|
+
fieldName: r,
|
|
226
|
+
tooltip: this._getTooltip({
|
|
227
|
+
label: M,
|
|
228
|
+
value: F,
|
|
229
|
+
chartType: o
|
|
230
|
+
}),
|
|
231
|
+
color: p,
|
|
232
|
+
value: b
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
_getRenderer() {
|
|
236
|
+
const e = this.layer;
|
|
237
|
+
return this.isAggregate && e?.featureReduction && "renderer" in e.featureReduction ? e.featureReduction.renderer : e?.renderer;
|
|
238
|
+
}
|
|
239
|
+
async _getSeriesColors(e) {
|
|
240
|
+
const { color: t } = await import("@amcharts/amcharts5/index.js"), i = /* @__PURE__ */ new Map();
|
|
241
|
+
return e.forEach((a) => {
|
|
242
|
+
a.color && i.set(a, t(a.color.toCss(!0)));
|
|
243
|
+
}), i;
|
|
244
|
+
}
|
|
245
|
+
async _getRendererColors() {
|
|
246
|
+
const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
|
|
247
|
+
if (!i)
|
|
248
|
+
return t;
|
|
249
|
+
const r = await J(i);
|
|
250
|
+
return r.delete(a), Array.from(r.values()).every((n) => n?.length === 1) && Array.from(r.keys()).forEach((n) => {
|
|
251
|
+
const o = r.get(n)?.[0]?.toCss(!0);
|
|
252
|
+
o && t.set(n, e(o));
|
|
253
|
+
}), t;
|
|
254
|
+
}
|
|
255
|
+
async _createChart(e) {
|
|
256
|
+
const { activeMediaInfo: t } = this;
|
|
257
|
+
if (!e || !t)
|
|
258
|
+
return;
|
|
259
|
+
const { createRoot: i } = await import("../../chunks/chart-utils.js"), a = await i(e);
|
|
260
|
+
this._chartRoot = a, this._renderChart({
|
|
261
|
+
mediaInfo: t,
|
|
262
|
+
root: a
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
_handleMediaKeyup(e) {
|
|
266
|
+
const { key: t } = e;
|
|
267
|
+
t === "ArrowLeft" && (e.stopPropagation(), this.previous()), t === "ArrowRight" && (e.stopPropagation(), this.next());
|
|
268
|
+
}
|
|
269
|
+
_canAnimateChart() {
|
|
270
|
+
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
271
|
+
}
|
|
272
|
+
_getChartAnimationMS() {
|
|
273
|
+
return this._canAnimateChart() ? me : 0;
|
|
274
|
+
}
|
|
275
|
+
_getChartSeriesAnimationMS() {
|
|
276
|
+
return this._canAnimateChart() ? ue : 0;
|
|
277
|
+
}
|
|
278
|
+
_getDirection() {
|
|
279
|
+
return S(this.el) ? "rtl" : "ltr";
|
|
280
|
+
}
|
|
281
|
+
async _customizeChartTooltip(e, t = "horizontal") {
|
|
282
|
+
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
283
|
+
e.setAll({
|
|
284
|
+
pointerOrientation: t
|
|
285
|
+
}), e.get("background")?.setAll({
|
|
286
|
+
stroke: i(de)
|
|
287
|
+
}), e.label.setAll({
|
|
288
|
+
direction: this._getDirection(),
|
|
289
|
+
oversizedBehavior: "wrap",
|
|
290
|
+
maxWidth: he
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
async _createPieChart(e, t) {
|
|
294
|
+
const [{ Tooltip: i }, { PieChart: a, PieSeries: r }] = await Promise.all([
|
|
295
|
+
import("@amcharts/amcharts5/index.js"),
|
|
296
|
+
import("@amcharts/amcharts5/percent.js")
|
|
297
|
+
]), { mediaInfo: s, root: n } = e, { title: o } = s, d = 5, p = s?.altText || s?.title || "", u = n.container.children.push(a.new(n, {
|
|
298
|
+
role: "figure",
|
|
299
|
+
ariaLabel: p,
|
|
300
|
+
focusable: !0,
|
|
301
|
+
paddingBottom: d,
|
|
302
|
+
paddingTop: d,
|
|
303
|
+
paddingLeft: d,
|
|
304
|
+
paddingRight: d
|
|
305
|
+
})), l = `{category}: {valuePercentTotal.formatNumber('0.00')}%
|
|
306
|
+
({value})`, m = i.new(n, {
|
|
307
|
+
labelText: l
|
|
308
|
+
}), c = u.series.push(r.new(n, {
|
|
309
|
+
name: o,
|
|
310
|
+
valueField: T,
|
|
311
|
+
categoryField: w,
|
|
312
|
+
tooltip: m
|
|
313
|
+
}));
|
|
314
|
+
c.ticks.template.set("forceHidden", !0), c.labels.template.set("forceHidden", !0), c.slices.template.states.create("active", {
|
|
315
|
+
shiftRadius: d
|
|
316
|
+
}), this._customizeChartTooltip(m), c.slices.template.setAll({
|
|
317
|
+
ariaLabel: l,
|
|
318
|
+
focusable: !0,
|
|
319
|
+
templateField: "columnSettings"
|
|
320
|
+
}), c.data.setAll(t), c.appear(this._getChartSeriesAnimationMS()), u.appear(this._getChartAnimationMS()), u.root.dom.classList.toggle(v.mediaChartRendered, !0);
|
|
321
|
+
}
|
|
322
|
+
_getMinSeriesValue(e) {
|
|
323
|
+
let t = 0;
|
|
324
|
+
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
325
|
+
}
|
|
326
|
+
async _createColumnChart(e, t, i) {
|
|
327
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: d, ColumnSeries: p }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: u, root: l } = t, { value: m, title: c } = u;
|
|
328
|
+
e.setAll({
|
|
329
|
+
wheelX: "panX",
|
|
330
|
+
wheelY: "zoomX"
|
|
331
|
+
});
|
|
332
|
+
const h = e.xAxes.push(s.new(l, {
|
|
333
|
+
renderer: n.new(l, {
|
|
334
|
+
inversed: S(this.el)
|
|
335
|
+
}),
|
|
336
|
+
categoryField: w
|
|
337
|
+
}));
|
|
338
|
+
h.get("renderer").labels.template.setAll({
|
|
339
|
+
forceHidden: !0
|
|
340
|
+
});
|
|
341
|
+
const f = e.yAxes.push(d.new(l, {
|
|
342
|
+
renderer: o.new(l, { inside: !1 }),
|
|
343
|
+
min: this._getMinSeriesValue(m.series)
|
|
344
|
+
}));
|
|
345
|
+
f.get("renderer").labels.template.setAll({
|
|
346
|
+
direction: this._getDirection()
|
|
347
|
+
});
|
|
348
|
+
const g = "{categoryX}", x = a.new(l, {
|
|
349
|
+
labelText: g
|
|
350
|
+
}), _ = e.series.push(p.new(l, {
|
|
351
|
+
name: c,
|
|
352
|
+
xAxis: h,
|
|
353
|
+
yAxis: f,
|
|
354
|
+
valueYField: T,
|
|
355
|
+
categoryXField: w,
|
|
356
|
+
tooltip: x
|
|
357
|
+
}));
|
|
358
|
+
this._customizeChartTooltip(x), _.columns.template.setAll({
|
|
359
|
+
ariaLabel: g,
|
|
360
|
+
focusable: !0,
|
|
361
|
+
templateField: "columnSettings"
|
|
362
|
+
}), m.series.length > z && e.set("scrollbarX", r.new(l, {
|
|
363
|
+
orientation: "horizontal"
|
|
364
|
+
})), h.data.setAll(i), _.data.setAll(i), _.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
365
|
+
}
|
|
366
|
+
async _createBarChart(e, t, i) {
|
|
367
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: d, ColumnSeries: p }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: u, root: l } = t, { value: m, title: c } = u;
|
|
368
|
+
e.setAll({
|
|
369
|
+
wheelX: "panY",
|
|
370
|
+
wheelY: "zoomY"
|
|
371
|
+
});
|
|
372
|
+
const h = e.yAxes.push(s.new(l, {
|
|
373
|
+
renderer: o.new(l, {
|
|
374
|
+
inversed: !0
|
|
375
|
+
}),
|
|
376
|
+
categoryField: w
|
|
377
|
+
}));
|
|
378
|
+
h.get("renderer").labels.template.setAll({
|
|
379
|
+
forceHidden: !0
|
|
380
|
+
});
|
|
381
|
+
const f = e.xAxes.push(d.new(l, {
|
|
382
|
+
renderer: n.new(l, {
|
|
383
|
+
inside: !1,
|
|
384
|
+
inversed: S(this.el)
|
|
385
|
+
}),
|
|
386
|
+
min: this._getMinSeriesValue(m.series)
|
|
387
|
+
}));
|
|
388
|
+
f.get("renderer").labels.template.setAll({
|
|
389
|
+
direction: this._getDirection()
|
|
390
|
+
});
|
|
391
|
+
const g = "{categoryY}", x = a.new(l, {
|
|
392
|
+
labelText: g
|
|
393
|
+
}), _ = e.series.push(p.new(l, {
|
|
394
|
+
name: c,
|
|
395
|
+
xAxis: f,
|
|
396
|
+
yAxis: h,
|
|
397
|
+
valueXField: T,
|
|
398
|
+
categoryYField: w,
|
|
399
|
+
tooltip: x
|
|
400
|
+
}));
|
|
401
|
+
this._customizeChartTooltip(x, "vertical"), _.columns.template.setAll({
|
|
402
|
+
ariaLabel: g,
|
|
403
|
+
focusable: !0,
|
|
404
|
+
templateField: "columnSettings"
|
|
405
|
+
}), m.series.length > z && e.set("scrollbarY", r.new(l, {
|
|
406
|
+
orientation: "vertical"
|
|
407
|
+
})), h.data.setAll(i), _.data.setAll(i), _.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
408
|
+
}
|
|
409
|
+
async _createLineChart(e, t, i) {
|
|
410
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: d, LineSeries: p }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: u, mediaInfo: l } = t, { value: m, title: c } = l;
|
|
411
|
+
e.setAll({
|
|
412
|
+
wheelX: "panX",
|
|
413
|
+
wheelY: "zoomX"
|
|
414
|
+
});
|
|
415
|
+
const h = e.xAxes.push(s.new(u, {
|
|
416
|
+
renderer: n.new(u, {
|
|
417
|
+
inversed: S(this.el)
|
|
418
|
+
}),
|
|
419
|
+
categoryField: w
|
|
420
|
+
}));
|
|
421
|
+
h.get("renderer").labels.template.setAll({
|
|
422
|
+
forceHidden: !0
|
|
423
|
+
});
|
|
424
|
+
const f = e.yAxes.push(d.new(u, {
|
|
425
|
+
renderer: o.new(u, { inside: !1 }),
|
|
426
|
+
min: this._getMinSeriesValue(m.series)
|
|
427
|
+
}));
|
|
428
|
+
f.get("renderer").labels.template.setAll({
|
|
429
|
+
direction: this._getDirection()
|
|
430
|
+
});
|
|
431
|
+
const g = "{categoryX}", x = i[0]?.lineSettings?.stroke, _ = a.new(u, {
|
|
432
|
+
getFillFromSprite: !x,
|
|
433
|
+
labelText: g
|
|
434
|
+
});
|
|
435
|
+
x && _.get("background")?.setAll({
|
|
436
|
+
fill: x
|
|
437
|
+
});
|
|
438
|
+
const M = e.series.push(p.new(u, {
|
|
439
|
+
name: c,
|
|
440
|
+
xAxis: h,
|
|
441
|
+
yAxis: f,
|
|
442
|
+
valueYField: T,
|
|
443
|
+
categoryXField: w,
|
|
444
|
+
tooltip: _
|
|
445
|
+
}));
|
|
446
|
+
M.strokes.template.setAll({
|
|
447
|
+
templateField: "lineSettings"
|
|
448
|
+
}), this._customizeChartTooltip(_, "vertical"), m.series.length > z && e.set("scrollbarX", r.new(u, {
|
|
449
|
+
orientation: "horizontal"
|
|
450
|
+
})), h.data.setAll(i), M.data.setAll(i), M.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
451
|
+
}
|
|
452
|
+
async _createXYChart(e, t) {
|
|
453
|
+
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: r, mediaInfo: s } = e, { type: n } = s, o = s?.altText || s?.title || "", d = r.container.children.push(i.new(r, {
|
|
454
|
+
role: "figure",
|
|
455
|
+
ariaLabel: o,
|
|
456
|
+
focusable: !0,
|
|
457
|
+
panX: !0,
|
|
458
|
+
panY: !0
|
|
459
|
+
}));
|
|
460
|
+
d.set("cursor", a.new(r, {})), n === "column-chart" && await this._createColumnChart(d, e, t), n === "bar-chart" && await this._createBarChart(d, e, t), n === "line-chart" && await this._createLineChart(d, e, t), d.root.dom.classList.toggle(v.mediaChartRendered, !0);
|
|
461
|
+
}
|
|
462
|
+
_clearMediaRefreshTimer() {
|
|
463
|
+
const { _refreshTimer: e } = this;
|
|
464
|
+
e && (clearTimeout(e), this._refreshTimer = void 0);
|
|
465
|
+
}
|
|
466
|
+
_updateMediaInfoTimestamp(e) {
|
|
467
|
+
const t = Date.now();
|
|
468
|
+
this._refreshIntervalInfo = {
|
|
469
|
+
timestamp: t,
|
|
470
|
+
sourceURL: e && this._getImageSource(e, t)
|
|
471
|
+
};
|
|
472
|
+
}
|
|
473
|
+
_setupMediaRefreshTimer() {
|
|
474
|
+
this._clearMediaRefreshTimer();
|
|
475
|
+
const { activeMediaInfo: e } = this;
|
|
476
|
+
e?.type === "image" && e.refreshInterval > 0 && this._setRefreshTimeout(e);
|
|
477
|
+
}
|
|
478
|
+
_setRefreshTimeout(e) {
|
|
479
|
+
const { refreshInterval: t, value: i } = e, a = t * 6e4;
|
|
480
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
481
|
+
const r = window.setInterval(() => {
|
|
482
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
483
|
+
}, a);
|
|
484
|
+
this._refreshTimer = r;
|
|
485
|
+
}
|
|
486
|
+
_getImageSource(e, t) {
|
|
487
|
+
const i = e.includes("?") ? "&" : "?", [a, r = ""] = e.split("#");
|
|
488
|
+
return `${a}${i}timestamp=${t}${r ? "#" : ""}${r}`;
|
|
489
|
+
}
|
|
490
|
+
_updateChartElement(e) {
|
|
491
|
+
if (!e) {
|
|
492
|
+
this._chartRoot?.dispose(), this._chartRoot = void 0;
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
this._createChart(e);
|
|
496
|
+
}
|
|
497
|
+
render() {
|
|
498
|
+
return y`<div class=${C(v.base)} @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
|
|
499
|
+
}
|
|
500
|
+
_renderMedia() {
|
|
501
|
+
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
502
|
+
return e ? y`<div class=${C(v.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(v.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(v.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(v.mediaPaginationText)}>${ee(this.messages?.pageText ?? "", {
|
|
503
|
+
index: t + 1,
|
|
504
|
+
total: e
|
|
505
|
+
})}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
|
|
506
|
+
}
|
|
507
|
+
_renderMediaText() {
|
|
508
|
+
const { activeMediaInfo: e } = this;
|
|
509
|
+
if (!e)
|
|
510
|
+
return null;
|
|
511
|
+
const t = e?.title ? y`<div class=${C(v.mediaItemTitle)} .innerHTML=${X.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? y`<div class=${C(v.mediaItemCaption)} .innerHTML=${X.sanitize(e.caption) ?? ""}></div>` : null;
|
|
512
|
+
return t || i ? y`<div class=${C(v.mediaItemText)}>${t}${i}</div>` : null;
|
|
513
|
+
}
|
|
514
|
+
_renderImageMediaInfo(e) {
|
|
515
|
+
if (!e.value)
|
|
516
|
+
return null;
|
|
517
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: r, title: s } = e, { sourceURL: n, linkURL: o } = i, p = le(o ?? void 0) ? "_blank" : "_self", u = p === "_blank" ? "noreferrer" : "", l = a ? t : null, m = l ? l.sourceURL : n, c = y`<img alt=${(r || s) ?? A} src=${m ?? void 0 ?? A}>`;
|
|
518
|
+
return (o ? y`<a href=${o ?? A} rel=${u ?? A} target=${p ?? A} title=${s ?? A}>${c}</a>` : null) ?? c;
|
|
519
|
+
}
|
|
520
|
+
_renderChartMediaInfo(e) {
|
|
521
|
+
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
522
|
+
return q(`media-${e.type}-${t}-${i}`, y`<div class=${C(v.mediaChart)} ${G(this._updateChartElement)}></div>`);
|
|
523
|
+
}
|
|
524
|
+
_renderMediaInfoType() {
|
|
525
|
+
const { activeMediaInfo: e } = this;
|
|
526
|
+
return e ? e.type === "image" ? this._renderImageMediaInfo(e) : e.type.includes("chart") ? this._renderChartMediaInfo(e) : null : null;
|
|
527
|
+
}
|
|
528
|
+
_renderMediaInfo() {
|
|
529
|
+
const { activeMediaInfo: e } = this;
|
|
530
|
+
return e ? y`<div class=${C(v.mediaItemContainer)}><div class=${C(v.mediaItem)}>${this._renderMediaInfoType()}</div></div>` : null;
|
|
531
|
+
}
|
|
532
|
+
_renderMediaPageButton(e) {
|
|
533
|
+
if (this.formattedMediaInfoCount < 2)
|
|
534
|
+
return null;
|
|
535
|
+
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", r = t ? this.previous : this.next;
|
|
536
|
+
return y`<button .ariaLabel=${i} class=${C(v.mediaPaginationButton)} @click=${r} tabindex=0 title=${i ?? A} type=button><calcite-icon flip-rtl class=${C(v.mediaPaginationIcon)} .icon=${a} scale=s></calcite-icon></button>`;
|
|
537
|
+
}
|
|
538
|
+
async _renderChart(e) {
|
|
539
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: r } = i, [{ default: s }, { default: n }, { default: o }, { esriChartColorSet: d }, { ColorSet: p, Theme: u }] = await Promise.all([
|
|
540
|
+
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
541
|
+
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
542
|
+
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
543
|
+
import("../../chunks/chartCommon.js"),
|
|
544
|
+
import("@amcharts/amcharts5/index.js")
|
|
545
|
+
]), l = u.new(t);
|
|
546
|
+
l.rule("ColorSet").set("colors", d), l.rule("ColorSet").set("reuse", !0);
|
|
547
|
+
const m = [o.new(t), l];
|
|
548
|
+
ae(this.el) === "dark" && m.push(n.new(t)), this._canAnimateChart() && m.push(s.new(t)), t.setThemes(m);
|
|
549
|
+
const c = await this._getRendererColors(), h = await this._getSeriesColors(a.series), f = p.new(t, {}), g = h.get(a.series[0]), x = g ? {
|
|
550
|
+
lineSettings: {
|
|
551
|
+
stroke: g
|
|
552
|
+
}
|
|
553
|
+
} : void 0, _ = a.series.map((M, F) => {
|
|
554
|
+
const b = h.get(M) || c.get(M.fieldName) || f.getIndex(F);
|
|
555
|
+
return {
|
|
556
|
+
[w]: M.tooltip,
|
|
557
|
+
[T]: M.value,
|
|
558
|
+
columnSettings: {
|
|
559
|
+
fill: b,
|
|
560
|
+
stroke: b
|
|
561
|
+
},
|
|
562
|
+
...x
|
|
563
|
+
};
|
|
564
|
+
}).filter((M) => r === "pie-chart" ? M.value != null && M.value > 0 : !0);
|
|
565
|
+
r === "pie-chart" ? this._createPieChart(e, _) : this._createXYChart(e, _);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
W("arcgis-feature-media", fe);
|
|
569
|
+
export {
|
|
570
|
+
fe as ArcgisFeatureMedia
|
|
571
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { HeadingLevel } from '../../support/heading';
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
|
+
import { ArcgisFeature, FlowItemType, FlowItemComponent } from '../arcgis-feature/customElement.js';
|
|
7
|
+
export interface FeatureRelationshipCategory {
|
|
8
|
+
count: number;
|
|
9
|
+
value: number | string;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
type RelatableFeatureSupportedLayer = {
|
|
13
|
+
capabilities: __esri.Capabilities | Nil;
|
|
14
|
+
objectIdField: Nil | string;
|
|
15
|
+
parent: __esri.Layer["parent"] | Nil | RelatableFeatureSupportedLayer;
|
|
16
|
+
loaded: boolean;
|
|
17
|
+
relationships: __esri.Relationship[] | Nil;
|
|
18
|
+
subtypeField: Nil | string;
|
|
19
|
+
subtypes: __esri.Subtype[] | Nil;
|
|
20
|
+
gdbVersion: Nil | string;
|
|
21
|
+
historicMoment: Date | Nil;
|
|
22
|
+
queryRelatedFeaturesCount: __esri.FeatureLayer["queryRelatedFeaturesCount"];
|
|
23
|
+
queryRelatedFeatures: __esri.FeatureLayer["queryRelatedFeatures"];
|
|
24
|
+
createQuery: __esri.FeatureLayer["createQuery"];
|
|
25
|
+
formTemplate: __esri.FormTemplate | Nil;
|
|
26
|
+
fields?: __esri.Field[];
|
|
27
|
+
findSublayerForSubtypeCode?: __esri.SubtypeGroupLayer["findSublayerForSubtypeCode"];
|
|
28
|
+
} & (__esri.FeatureLayer | __esri.Layer | __esri.Sublayer | __esri.SubtypeGroupLayer | __esri.SubtypeSublayer);
|
|
29
|
+
|
|
30
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-relationship/) */
|
|
31
|
+
export declare class ArcgisFeatureRelationship extends LitElement {
|
|
32
|
+
/**
|
|
33
|
+
* If true, the component will not be destroyed automatically when it is
|
|
34
|
+
* disconnected from the document. This is useful when you want to move the
|
|
35
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
36
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-relationship/#destroy) method when you are done to
|
|
37
|
+
* prevent memory leaks.
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
autoDestroyDisabled: boolean;
|
|
42
|
+
get featurePage(): number;
|
|
43
|
+
set featurePage(value: number);
|
|
44
|
+
/** @default 10 */
|
|
45
|
+
featuresPerPage: number;
|
|
46
|
+
flowItems?: __esri.Collection<FlowItemComponent>;
|
|
47
|
+
/** @default "feature-relationship" */
|
|
48
|
+
flowType: FlowItemType;
|
|
49
|
+
/** @default 2 */
|
|
50
|
+
headingLevel: HeadingLevel;
|
|
51
|
+
messages?: ArcgisFeature["messages"];
|
|
52
|
+
get heading(): string | undefined;
|
|
53
|
+
set heading(value: string | undefined);
|
|
54
|
+
description?: string;
|
|
55
|
+
values?: HashMap<number | string>;
|
|
56
|
+
activeCategory?: FeatureRelationshipCategory;
|
|
57
|
+
/**
|
|
58
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
59
|
+
*
|
|
60
|
+
* @default false
|
|
61
|
+
*/
|
|
62
|
+
hideHeading: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
65
|
+
*
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
hideDescription: boolean;
|
|
69
|
+
get displayCount(): number;
|
|
70
|
+
set displayCount(value: number);
|
|
71
|
+
graphic?: __esri.Graphic;
|
|
72
|
+
layer?: RelatableFeatureSupportedLayer;
|
|
73
|
+
map?: __esri.Map;
|
|
74
|
+
view?: __esri.MapView | __esri.SceneView;
|
|
75
|
+
spatialReference?: __esri.SpatialReference;
|
|
76
|
+
timeZone?: string;
|
|
77
|
+
orderByFields?: __esri.RelatedRecordsInfoFieldOrder[];
|
|
78
|
+
relationshipId?: number;
|
|
79
|
+
/** @default false */
|
|
80
|
+
showAllEnabled: boolean;
|
|
81
|
+
/** The component's default label. */
|
|
82
|
+
label?: string;
|
|
83
|
+
/** Permanently destroy the component. */
|
|
84
|
+
destroy(): Promise<void>;
|
|
85
|
+
}
|
|
86
|
+
export {};
|