@arcgis/map-components 4.34.0-next.5 → 4.34.0-next.51
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/23HAYJDR.js +4 -0
- package/dist/cdn/2CDG6HD7.js +4 -0
- package/dist/cdn/2EKUK755.js +4 -0
- package/dist/cdn/2LEPUYNL.js +4 -0
- package/dist/cdn/2X5HT3OR.js +4 -0
- package/dist/cdn/2X7UJLWL.js +4 -0
- package/dist/cdn/35HMSGLA.js +4 -0
- package/dist/cdn/3DPIAPJU.js +4 -0
- package/dist/cdn/3NF7FJBP.js +4 -0
- package/dist/cdn/3RJTB2MQ.js +4 -0
- package/dist/cdn/44ZQIRNR.js +4 -0
- package/dist/cdn/47QYSQQI.js +4 -0
- package/dist/cdn/47VHUNU6.js +4 -0
- package/dist/cdn/4F6FSL4T.js +4 -0
- package/dist/cdn/4LPNSJCM.js +4 -0
- package/dist/cdn/{4MRPFB2F.js → 4SDYEIKE.js} +2 -2
- package/dist/cdn/4TG2R2QU.js +4 -0
- package/dist/cdn/52EMW3O2.js +4 -0
- package/dist/cdn/57FQE7CG.js +4 -0
- package/dist/cdn/{V32WTVMP.js → 5FKORFL4.js} +1 -1
- package/dist/cdn/5P67NND5.js +4 -0
- package/dist/cdn/{RNMVFT5P.js → 5TUSCZO2.js} +1 -1
- package/dist/cdn/5YR5YPEH.js +4 -0
- package/dist/cdn/5YXRIS4X.js +3 -0
- package/dist/cdn/66PSAFAX.js +4 -0
- package/dist/cdn/6OBEVEH7.js +4 -0
- package/dist/cdn/6ODSFWYE.js +4 -0
- package/dist/cdn/6OS77J7L.js +4 -0
- package/dist/cdn/6OUY3XXG.js +4 -0
- package/dist/cdn/6UFE5NN6.js +4 -0
- package/dist/cdn/6VF4IEDN.js +4 -0
- package/dist/cdn/6XJKM67Q.js +4 -0
- package/dist/cdn/6ZUHPUCU.js +4 -0
- package/dist/cdn/7ABP4YLG.js +5 -0
- package/dist/cdn/7F5MGIQN.js +4 -0
- package/dist/cdn/7KIW5BCC.js +4 -0
- package/dist/cdn/7OHN63MP.js +4 -0
- package/dist/cdn/7PMQXZ6J.js +4 -0
- package/dist/cdn/7VBSLXI6.js +4 -0
- package/dist/cdn/ABY3EJGK.js +4 -0
- package/dist/cdn/AJOE7HMC.js +4 -0
- package/dist/cdn/{54VGZGQT.js → ANEAZJAQ.js} +2 -2
- package/dist/cdn/AOILTLWV.js +4 -0
- package/dist/cdn/APLX2G3G.js +4 -0
- package/dist/cdn/AYT64V4O.js +4 -0
- package/dist/cdn/BPKJF4BQ.js +4 -0
- package/dist/cdn/BQWGRO5F.js +4 -0
- package/dist/cdn/CATEMY5Q.js +4 -0
- package/dist/cdn/CBDJEZIQ.js +4 -0
- package/dist/cdn/CL2KUYAV.js +4 -0
- package/dist/cdn/{RZWKYMUH.js → CNVEHUDF.js} +2 -2
- package/dist/cdn/COBMNV4T.js +4 -0
- package/dist/cdn/D6C2QQQG.js +4 -0
- package/dist/cdn/DGOWPVSJ.js +4 -0
- package/dist/cdn/DNPTHNCU.js +4 -0
- package/dist/cdn/{BNUZVD5L.js → DOC7KVHO.js} +2 -2
- package/dist/cdn/{JE6AJOV2.js → DQFJCFJE.js} +2 -2
- package/dist/cdn/DRDEFATT.js +4 -0
- package/dist/cdn/E6DQN3MY.js +4 -0
- package/dist/cdn/EBPGB4PM.js +4 -0
- package/dist/cdn/EKDI5BRX.js +4 -0
- package/dist/cdn/ENB3QCSY.js +4 -0
- package/dist/cdn/F6A67IBM.js +4 -0
- package/dist/cdn/FGU7NQB3.js +4 -0
- package/dist/cdn/FNDCY6TH.js +4 -0
- package/dist/cdn/FNJ522JF.js +4 -0
- package/dist/cdn/FP6W6INT.js +4 -0
- package/dist/cdn/FQDWKAFC.js +4 -0
- package/dist/cdn/FUOB72QT.js +4 -0
- package/dist/cdn/FXYAWM4G.js +4 -0
- package/dist/cdn/FYTYNQJW.js +4 -0
- package/dist/cdn/G7MO5YNI.js +4 -0
- package/dist/cdn/GAO72ICS.js +4 -0
- package/dist/cdn/GAWSZGSE.js +4 -0
- package/dist/cdn/GCVFIMSI.js +4 -0
- package/dist/cdn/GH5ORWDD.js +4 -0
- package/dist/cdn/GLY2QNU5.js +4 -0
- package/dist/cdn/{UKUTVSTC.js → GOKTRDSW.js} +2 -2
- package/dist/cdn/GTEBKEBT.js +4 -0
- package/dist/cdn/H4XXPWYD.js +4 -0
- package/dist/cdn/HBRDA6ZG.js +4 -0
- package/dist/cdn/HHLBL37Q.js +4 -0
- package/dist/cdn/{AIJ5QKVL.js → HNH26E33.js} +1 -1
- package/dist/cdn/HOBDI6JD.js +4 -0
- package/dist/cdn/HOBYGWBS.js +4 -0
- package/dist/cdn/HQFAH7VM.js +4 -0
- package/dist/cdn/HTTSJGJH.js +4 -0
- package/dist/cdn/HW36UUHG.js +4 -0
- package/dist/cdn/IKLWWK2I.js +4 -0
- package/dist/cdn/IWDZFFZJ.js +4 -0
- package/dist/cdn/{CY2ZUEMG.js → IWRQ325C.js} +2 -2
- package/dist/cdn/IZ33XLJR.js +4 -0
- package/dist/cdn/J42NCWYZ.js +4 -0
- package/dist/cdn/J7AD3VVE.js +4 -0
- package/dist/cdn/JEAYFG3N.js +4 -0
- package/dist/cdn/JEVL26RG.js +4 -0
- package/dist/cdn/JNIAYBSA.js +4 -0
- package/dist/cdn/JO5V6L7X.js +4 -0
- package/dist/cdn/JT2Y2CFS.js +4 -0
- package/dist/cdn/K66BYPYZ.js +4 -0
- package/dist/cdn/K6AWFSFK.js +4 -0
- package/dist/cdn/KG2HQWWR.js +4 -0
- package/dist/cdn/KGR3TOXV.js +4 -0
- package/dist/cdn/KNPHEVWW.js +4 -0
- package/dist/cdn/KRTOFDMU.js +4 -0
- package/dist/cdn/KVN5WZ2F.js +4 -0
- package/dist/cdn/{EPS7HMFS.js → LSZOTLG2.js} +1 -1
- package/dist/cdn/M5EMWKKY.js +4 -0
- package/dist/cdn/M77KTA6U.js +4 -0
- package/dist/cdn/MOI6KAID.js +4 -0
- package/dist/cdn/MR5AO3NN.js +4 -0
- package/dist/cdn/MUMY6GEM.js +4 -0
- package/dist/cdn/N55D5MJJ.js +4 -0
- package/dist/cdn/NJTUC76F.js +4 -0
- package/dist/cdn/NPQISYAT.js +4 -0
- package/dist/cdn/NX654MZD.js +4 -0
- package/dist/cdn/NXKE4IBO.js +4 -0
- package/dist/cdn/NXP472VC.js +4 -0
- package/dist/cdn/NZMUQVNO.js +4 -0
- package/dist/cdn/O33QCB33.js +4 -0
- package/dist/cdn/O4UTHW2Y.js +4 -0
- package/dist/cdn/O7WE7QGS.js +4 -0
- package/dist/cdn/ODI4TZIM.js +4 -0
- package/dist/cdn/OOUQ765K.js +4 -0
- package/dist/cdn/OSBYI6F5.js +4 -0
- package/dist/cdn/OUTJJ7Z2.js +4 -0
- package/dist/cdn/OUURDOBJ.js +4 -0
- package/dist/cdn/PJSU42JM.js +6 -0
- package/dist/cdn/PLDRW24K.js +4 -0
- package/dist/cdn/PPGAVYMR.js +4 -0
- package/dist/cdn/PQMAOWDZ.js +4 -0
- package/dist/cdn/PWHAZRNJ.js +4 -0
- package/dist/cdn/{Z5OKVV3T.js → PZO5SSQT.js} +2 -2
- package/dist/cdn/Q34PXGKN.js +4 -0
- package/dist/cdn/QARQYR3S.js +4 -0
- package/dist/cdn/QHNAGBYU.js +4 -0
- package/dist/cdn/QLTAVM6R.js +4 -0
- package/dist/cdn/REC3WVMB.js +4 -0
- package/dist/cdn/RLRHEVME.js +4 -0
- package/dist/cdn/S3Y6WOSE.js +4 -0
- package/dist/cdn/S72W2EOS.js +4 -0
- package/dist/cdn/SCGFRFEA.js +4 -0
- package/dist/cdn/SDTNEE4Q.js +4 -0
- package/dist/cdn/SELAQDGF.js +4 -0
- package/dist/cdn/SG6XFUPU.js +4 -0
- package/dist/cdn/STPFZ6PG.js +4 -0
- package/dist/cdn/SULU3BCZ.js +4 -0
- package/dist/cdn/T347J3LH.js +4 -0
- package/dist/cdn/T4OF5KMY.js +4 -0
- package/dist/cdn/T4ZGI6ZX.js +4 -0
- package/dist/cdn/TIVO56VB.js +4 -0
- package/dist/cdn/TJLAHABW.js +4 -0
- package/dist/cdn/{5ZZR2J6N.js → TOOG2ECU.js} +2 -2
- package/dist/cdn/TVSLB42C.js +4 -0
- package/dist/cdn/{4GXYTGZZ.js → UHTGJYCW.js} +1 -1
- package/dist/cdn/UW2QFZLI.js +4 -0
- package/dist/cdn/VFCPDEJV.js +4 -0
- package/dist/cdn/VINXCROG.js +4 -0
- package/dist/cdn/VLJ5T5EM.js +4 -0
- package/dist/cdn/VMSV3XLY.js +4 -0
- package/dist/cdn/VT2S6EIP.js +4 -0
- package/dist/cdn/VWC4UHZI.js +4 -0
- package/dist/cdn/W2TJDRTX.js +4 -0
- package/dist/cdn/W6STCPFV.js +4 -0
- package/dist/cdn/{HRVDXQJH.js → W7KNNUEM.js} +1 -1
- package/dist/cdn/WC5PO2WX.js +4 -0
- package/dist/cdn/WJXSWJ6Y.js +4 -0
- package/dist/cdn/WLR2QMDR.js +4 -0
- package/dist/cdn/WMTBPX3C.js +4 -0
- package/dist/cdn/X3YMQ2R4.js +4 -0
- package/dist/cdn/{QIELYIFC.js → X4VRZLRF.js} +2 -2
- package/dist/cdn/X7YZSEGZ.js +4 -0
- package/dist/cdn/XCGQPPDC.js +4 -0
- package/dist/cdn/{ZFZIGRGE.js → XIW72IDH.js} +1 -1
- package/dist/cdn/XYEXAVRU.js +4 -0
- package/dist/cdn/Y6BRCKJZ.js +4 -0
- package/dist/cdn/YAPOF7X6.js +4 -0
- package/dist/cdn/YJD3MIER.js +4 -0
- package/dist/cdn/YRLL2RF2.js +4 -0
- package/dist/cdn/YYZRFHWC.js +4 -0
- package/dist/cdn/{LB4FJL6Z.js → Z2DUVJVT.js} +2 -2
- package/dist/cdn/ZQ3B7VXH.js +4 -0
- package/dist/cdn/{FCPVKFF7.js → ZT3D6RRA.js} +2 -2
- package/dist/cdn/ZYQGIGGR.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/index.js +2 -2
- 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/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 +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +12 -1
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +18 -19
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +16 -17
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +239 -82
- package/dist/components/arcgis-bookmarks/customElement.js +456 -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 +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directions/customElement.d.ts +7 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +6 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +10 -4
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +179 -87
- package/dist/components/arcgis-feature/customElement.js +192 -21
- package/dist/components/arcgis-feature/index.d.ts +7 -0
- package/dist/components/arcgis-feature/index.js +7 -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-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -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 +7 -2
- 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-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +15 -16
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +39 -16
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- 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 +17 -5
- package/dist/components/arcgis-locate/customElement.js +55 -56
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +55 -41
- 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 +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +3 -3
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +144 -81
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +52 -16
- package/dist/components/arcgis-search/customElement.js +41 -38
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- 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 +77 -18
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
- package/dist/components/arcgis-swipe/customElement.js +43 -44
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +10 -11
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +27 -10
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +38 -32
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- 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/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +16 -17
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +11 -12
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +2220 -656
- package/dist/docs/docs.json +2021 -863
- package/dist/docs/vscode.html-custom-data.json +319 -135
- package/dist/docs/web-types.json +680 -322
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +26 -20
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +23 -18
- package/dist/types/preact.d.ts +23 -18
- package/dist/types/react.d.ts +23 -18
- package/dist/types/stencil.d.ts +23 -18
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +6 -4
- package/dist/cdn/24BGG5B5.js +0 -4
- package/dist/cdn/2ABLOYUQ.js +0 -4
- package/dist/cdn/2MCSN6B6.js +0 -4
- package/dist/cdn/2O4Y7OHR.js +0 -4
- package/dist/cdn/2TWTTB4C.js +0 -4
- package/dist/cdn/2UUPIIJ2.js +0 -4
- package/dist/cdn/3JRMNN7J.js +0 -4
- package/dist/cdn/3PIZQW3M.js +0 -4
- package/dist/cdn/3TK75HC6.js +0 -4
- package/dist/cdn/4O62D3XH.js +0 -4
- package/dist/cdn/4WF35OVZ.js +0 -4
- package/dist/cdn/544SB4EK.js +0 -4
- package/dist/cdn/5AZ345NY.js +0 -4
- package/dist/cdn/5DVI4EBY.js +0 -4
- package/dist/cdn/64ECRPXA.js +0 -4
- package/dist/cdn/6CDNOZQF.js +0 -4
- package/dist/cdn/6SCGGHDS.js +0 -4
- package/dist/cdn/7LOOJUA4.js +0 -4
- package/dist/cdn/7Q2LH4TM.js +0 -4
- package/dist/cdn/7X5UWWAM.js +0 -4
- package/dist/cdn/A2GEUHD7.js +0 -4
- package/dist/cdn/BMYPLHTO.js +0 -4
- package/dist/cdn/BOBGF74Z.js +0 -4
- package/dist/cdn/CEY2DMIN.js +0 -4
- package/dist/cdn/CQG33CHS.js +0 -4
- package/dist/cdn/DB2RVFYE.js +0 -4
- package/dist/cdn/DCAIQVAC.js +0 -4
- package/dist/cdn/EDF5YBMS.js +0 -4
- package/dist/cdn/EE2WJOUL.js +0 -4
- package/dist/cdn/EFPP35S3.js +0 -4
- package/dist/cdn/ETTC3DDE.js +0 -4
- package/dist/cdn/EZXIFOKP.js +0 -4
- package/dist/cdn/FDO7BW3M.js +0 -4
- package/dist/cdn/FIIIUSQA.js +0 -4
- package/dist/cdn/FIQDTOHK.js +0 -4
- package/dist/cdn/FIRY4NWS.js +0 -4
- package/dist/cdn/FKYCCKL6.js +0 -4
- package/dist/cdn/G7FI7ZEJ.js +0 -4
- package/dist/cdn/GTFZYBLH.js +0 -4
- package/dist/cdn/H7WRFI2D.js +0 -4
- package/dist/cdn/HGHOHO2E.js +0 -4
- package/dist/cdn/HHKEZDYI.js +0 -4
- package/dist/cdn/HI5YGVEU.js +0 -4
- package/dist/cdn/HVHKTHJR.js +0 -4
- package/dist/cdn/I4UJICTJ.js +0 -4
- package/dist/cdn/IDRJHSB4.js +0 -4
- package/dist/cdn/INXLPBES.js +0 -4
- package/dist/cdn/IPSPJR6H.js +0 -4
- package/dist/cdn/J3TNLK3O.js +0 -4
- package/dist/cdn/JEGU6LY5.js +0 -4
- package/dist/cdn/JPHNAFYX.js +0 -4
- package/dist/cdn/JWHVUXI7.js +0 -4
- package/dist/cdn/JXEJ2FDT.js +0 -4
- package/dist/cdn/K667RV3F.js +0 -4
- package/dist/cdn/KHHWOKDH.js +0 -4
- package/dist/cdn/KWXFVL5O.js +0 -4
- package/dist/cdn/LNC2FBRF.js +0 -4
- package/dist/cdn/LX2VKBL5.js +0 -4
- package/dist/cdn/LZ4SDJU4.js +0 -4
- package/dist/cdn/M42LA7QJ.js +0 -4
- package/dist/cdn/MHF4R4QG.js +0 -4
- package/dist/cdn/MHXI4R7Q.js +0 -6
- package/dist/cdn/MT6FGRRO.js +0 -4
- package/dist/cdn/MTJFO22N.js +0 -4
- package/dist/cdn/MWH2P5CL.js +0 -4
- package/dist/cdn/MWRQZLPR.js +0 -4
- package/dist/cdn/MZJOI5UH.js +0 -4
- package/dist/cdn/O2E4MNME.js +0 -4
- package/dist/cdn/O7NRUX5I.js +0 -4
- package/dist/cdn/OLDX3JZA.js +0 -4
- package/dist/cdn/OMQCMWFC.js +0 -4
- package/dist/cdn/OQ4Q4IIJ.js +0 -4
- package/dist/cdn/OSKGVTTW.js +0 -4
- package/dist/cdn/OVXJMGHR.js +0 -4
- package/dist/cdn/P2BRHVAB.js +0 -4
- package/dist/cdn/PQ3OUY5L.js +0 -4
- package/dist/cdn/PVTCJ67N.js +0 -4
- package/dist/cdn/RC2PKLFD.js +0 -4
- package/dist/cdn/RLYPTZW6.js +0 -4
- package/dist/cdn/RRJG3CW4.js +0 -4
- package/dist/cdn/SRXUA5WQ.js +0 -4
- package/dist/cdn/T5RGPAAI.js +0 -4
- package/dist/cdn/TEBWJ3I7.js +0 -4
- package/dist/cdn/TISZTZQL.js +0 -4
- package/dist/cdn/UF2KELUQ.js +0 -4
- package/dist/cdn/UF5A7HCA.js +0 -4
- package/dist/cdn/UKX6JNY3.js +0 -4
- package/dist/cdn/UPUPF3OI.js +0 -4
- package/dist/cdn/V5FW6B4I.js +0 -4
- package/dist/cdn/VF2Y76QB.js +0 -4
- package/dist/cdn/W425S3CR.js +0 -4
- package/dist/cdn/WE4HRX3B.js +0 -4
- package/dist/cdn/X7HXAK7T.js +0 -4
- package/dist/cdn/XBWRLYN4.js +0 -4
- package/dist/cdn/XIHWMEJG.js +0 -4
- package/dist/cdn/YGTIT746.js +0 -4
- package/dist/cdn/YJLPPO4D.js +0 -4
- package/dist/cdn/YTVNHZ2T.js +0 -4
- package/dist/cdn/YZO4MONH.js +0 -4
- package/dist/cdn/ZPQ7DJV3.js +0 -4
|
@@ -1,149 +1,238 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import {
|
|
4
|
-
import { default as Feature } from '@arcgis/core/widgets/Feature.js';
|
|
5
|
-
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { default as FeatureViewModel } from '@arcgis/core/widgets/Feature/FeatureViewModel.js';
|
|
6
4
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
5
|
+
import { HeadingLevel } from '../../support/heading';
|
|
6
|
+
import { Nil } from '@arcgis/components-utils';
|
|
7
|
+
import { Use } from '@arcgis/lumina/controllers';
|
|
8
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
9
|
+
import { ArcgisFeatureContent } from '../arcgis-feature-content/customElement.js';
|
|
10
|
+
import { ArcgisFeatureAttachments } from '../arcgis-feature-attachments/customElement.js';
|
|
11
|
+
import { ArcgisFeatureExpression } from '../arcgis-feature-expression/customElement.js';
|
|
12
|
+
import { ArcgisFeatureFields } from '../arcgis-feature-fields/customElement.js';
|
|
13
|
+
import { ArcgisFeatureMedia } from '../arcgis-feature-media/customElement.js';
|
|
14
|
+
export type FlowItemType = "feature-association" | "feature-relationship" | "feature-utility-network-association-type" | "feature-utility-network-associations" | "feature";
|
|
15
|
+
export type FlowItemComponent = ArcgisFeature | ArcgisFeatureAttachments | ArcgisFeatureContent | ArcgisFeatureExpression | ArcgisFeatureFields | ArcgisFeatureMedia;
|
|
7
16
|
|
|
8
|
-
declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/components-utils').Nil | string;
|
|
13
|
-
label: import('@arcgis/components-utils').Nil | string;
|
|
17
|
+
declare const useFeatureViewModel: (component: LitElement & Pick<FeatureViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<FeatureViewModel>) => FeatureViewModel;
|
|
18
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) */
|
|
19
|
+
export declare class ArcgisFeature extends LitElement {
|
|
14
20
|
referenceElement?: ArcgisReferenceElement | string;
|
|
21
|
+
/** @default "top-left" */
|
|
15
22
|
position: __esri.UIPosition;
|
|
16
|
-
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
17
|
-
arcgisPropertyChange: import('@arcgis/lumina').EventEmitter<{
|
|
18
|
-
name: string;
|
|
19
|
-
}> | undefined;
|
|
20
|
-
el: HTMLElement & {
|
|
21
|
-
childElem?: HTMLElement & {
|
|
22
|
-
ownedBy?: HTMLElement;
|
|
23
|
-
};
|
|
24
|
-
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
|
|
25
|
-
};
|
|
26
|
-
autoDestroyDisabled: boolean;
|
|
27
|
-
destroy: () => Promise<void>;
|
|
28
|
-
}) => Feature;
|
|
29
|
-
/**
|
|
30
|
-
* The Feature component displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html). This component is useful in instances where you want to display information about a feature but without the use of a [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html).
|
|
31
|
-
*
|
|
32
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/)
|
|
33
|
-
*/
|
|
34
|
-
export declare class ArcgisFeature extends LitElement {
|
|
35
23
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
39
|
-
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/#destroy) method when you are done to
|
|
40
|
-
* prevent memory leaks.
|
|
24
|
+
* Icon which represents the component.
|
|
25
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
41
26
|
*
|
|
42
|
-
* @
|
|
27
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
28
|
+
* @default "icon"
|
|
43
29
|
*/
|
|
44
|
-
|
|
30
|
+
icon?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) used to represent the feature.
|
|
33
|
+
*
|
|
34
|
+
* @autocast
|
|
35
|
+
* @see [PopupTemplate.content](esri-PopupTemplate.html#content)
|
|
36
|
+
* @example
|
|
37
|
+
* let graphic = new Graphic({
|
|
38
|
+
* geometry: view.center,
|
|
39
|
+
* attributes: {
|
|
40
|
+
* "name": "Spruce",
|
|
41
|
+
* "family": "Pinaceae",
|
|
42
|
+
* "count": 126
|
|
43
|
+
* },
|
|
44
|
+
* symbol: new SimpleMarkerSymbol({
|
|
45
|
+
* style: "square",
|
|
46
|
+
* color: "blue",
|
|
47
|
+
* size: "8px"
|
|
48
|
+
* }),
|
|
49
|
+
* popupTemplate: {
|
|
50
|
+
* content: [
|
|
51
|
+
* {
|
|
52
|
+
* // Set popup template content
|
|
53
|
+
* }
|
|
54
|
+
* ]
|
|
55
|
+
* }
|
|
56
|
+
* });
|
|
57
|
+
* @default null
|
|
58
|
+
*/
|
|
59
|
+
graphic: nullish | __esri.Graphic;
|
|
45
60
|
/**
|
|
46
61
|
* Enables automatic creation of a popup template for layers that have popups enabled but no
|
|
47
|
-
* popupTemplate defined.
|
|
62
|
+
* popupTemplate defined. Automatic popup templates are supported for layers that
|
|
63
|
+
* support the `createPopupTemplate` method. (Supported for
|
|
64
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
65
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
66
|
+
* [SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
|
|
67
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
68
|
+
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html)
|
|
69
|
+
* [PointCloudLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-PointCloudLayer.html),
|
|
70
|
+
* [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html), and
|
|
71
|
+
* [ImageryLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html)).
|
|
72
|
+
*
|
|
73
|
+
* ::: esri-md class="warning"
|
|
74
|
+
* Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-FieldInfoFormat.html#dateFormat)
|
|
75
|
+
* rather than `long-month-day-year` in default [popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) created by setting the `defaultPopupTemplateEnabled` property to `true`.
|
|
76
|
+
* For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
|
|
77
|
+
* :::
|
|
48
78
|
*
|
|
49
79
|
* @default false
|
|
50
80
|
*/
|
|
51
81
|
defaultPopupTemplateEnabled: boolean;
|
|
52
82
|
/**
|
|
53
|
-
*
|
|
83
|
+
* Indicates the heading level to use for the [title](#title) of the feature widget.
|
|
84
|
+
* By default, the title is rendered
|
|
85
|
+
* as a level 2 heading (e.g. `<h2>Title of content</h2>`). Depending on the widget's placement
|
|
86
|
+
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
87
|
+
* important for meeting accessibility standards.
|
|
54
88
|
*
|
|
89
|
+
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
90
|
+
* @example
|
|
91
|
+
* // feature title will render as an <h3>
|
|
92
|
+
* feature.headingLevel = 3;
|
|
93
|
+
* @default 2
|
|
94
|
+
*/
|
|
95
|
+
headingLevel: HeadingLevel;
|
|
96
|
+
/**
|
|
97
|
+
* The spatial reference used for [Arcade](https://developers.arcgis.com/arcade) operations.
|
|
98
|
+
* This property should be set if the Feature widget executes Arcade expressions that contain [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/).
|
|
99
|
+
*
|
|
100
|
+
* @autocast
|
|
101
|
+
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
102
|
+
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
55
103
|
* @default null
|
|
56
104
|
*/
|
|
57
|
-
|
|
105
|
+
spatialReference: nullish | __esri.SpatialReference;
|
|
58
106
|
/**
|
|
59
|
-
*
|
|
107
|
+
* Dates and times displayed in the widget will be displayed in this time zone. By default this time zone is
|
|
108
|
+
* inherited from [MapView.timeZone](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#timeZone). When a MapView is not associated with the widget
|
|
109
|
+
* then the property will fallback to the `system` time zone.
|
|
60
110
|
*
|
|
61
|
-
*
|
|
111
|
+
* **Possible Values**
|
|
112
|
+
*
|
|
113
|
+
* Value | Description |
|
|
114
|
+
* ----- | ----------- |
|
|
115
|
+
* system | Dates and times will be displayed in the timezone of the device or browser.
|
|
116
|
+
* unknown | Dates and time are not adjusted for any timezone.
|
|
117
|
+
* Specified IANA timezone | Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
62
118
|
*/
|
|
63
|
-
|
|
119
|
+
timeZone: string;
|
|
64
120
|
/**
|
|
65
|
-
*
|
|
121
|
+
* The title for the feature. You can disable this via the [visibleElements](#visibleElements) property.
|
|
122
|
+
*
|
|
123
|
+
* @see [headingLevel](#headingLevel)
|
|
124
|
+
* @default null
|
|
125
|
+
*/
|
|
126
|
+
readonly heading: string;
|
|
127
|
+
/**
|
|
128
|
+
* A map is required when the input [graphic](#graphic) has a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-ExpressionInfo.html) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
129
|
+
*
|
|
130
|
+
* Alternatively, the [view](#view) property can be used to provide the map instance for this property.
|
|
131
|
+
*
|
|
132
|
+
* @noautocast
|
|
133
|
+
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
134
|
+
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
135
|
+
* @example
|
|
136
|
+
* // The building footprints represent the buildings that intersect a clicked parcel
|
|
137
|
+
* let buildingFootprints = Intersects($feature, FeatureSetByName($map, "Building Footprints"));
|
|
138
|
+
* @default null
|
|
139
|
+
*/
|
|
140
|
+
map: __esri.Map | nullish;
|
|
141
|
+
/**
|
|
142
|
+
* Disables chart animation
|
|
66
143
|
*
|
|
67
144
|
* @default false
|
|
68
145
|
*/
|
|
69
|
-
|
|
146
|
+
chartAnimationDisabled: boolean | undefined;
|
|
70
147
|
/**
|
|
71
|
-
*
|
|
148
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
72
149
|
*
|
|
73
150
|
* @default false
|
|
74
151
|
*/
|
|
75
|
-
|
|
152
|
+
hideHeading: boolean;
|
|
76
153
|
/**
|
|
77
|
-
*
|
|
154
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
78
155
|
*
|
|
79
156
|
* @default false
|
|
80
157
|
*/
|
|
81
|
-
|
|
158
|
+
hideContent: boolean;
|
|
82
159
|
/**
|
|
83
|
-
*
|
|
160
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
84
161
|
*
|
|
85
162
|
* @default false
|
|
86
163
|
*/
|
|
87
|
-
|
|
164
|
+
hideAttachmentsContent: boolean;
|
|
88
165
|
/**
|
|
89
|
-
*
|
|
166
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
90
167
|
*
|
|
91
168
|
* @default false
|
|
92
169
|
*/
|
|
93
|
-
|
|
170
|
+
hideCustomContent: boolean;
|
|
94
171
|
/**
|
|
95
|
-
*
|
|
172
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
173
|
+
*
|
|
96
174
|
* @default false
|
|
97
175
|
*/
|
|
98
|
-
|
|
176
|
+
hideExpressionContent: boolean;
|
|
99
177
|
/**
|
|
100
|
-
*
|
|
178
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
101
179
|
*
|
|
102
180
|
* @default false
|
|
103
181
|
*/
|
|
104
|
-
|
|
182
|
+
hideFieldsContent: boolean;
|
|
105
183
|
/**
|
|
106
|
-
*
|
|
184
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
107
185
|
*
|
|
108
186
|
* @default false
|
|
109
187
|
*/
|
|
110
|
-
|
|
188
|
+
hideMediaContent: boolean;
|
|
111
189
|
/**
|
|
112
|
-
*
|
|
190
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
113
191
|
*
|
|
114
|
-
* @
|
|
115
|
-
* @default "polygon"
|
|
192
|
+
* @default false
|
|
116
193
|
*/
|
|
117
|
-
|
|
194
|
+
showRelationshipContent: boolean;
|
|
118
195
|
/**
|
|
119
|
-
*
|
|
196
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
120
197
|
*
|
|
121
|
-
*
|
|
198
|
+
* @default false
|
|
122
199
|
*/
|
|
123
|
-
|
|
200
|
+
hideTextContent: boolean;
|
|
124
201
|
/**
|
|
125
|
-
*
|
|
202
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
126
203
|
*
|
|
127
|
-
*
|
|
204
|
+
* @default false
|
|
205
|
+
*/
|
|
206
|
+
showUtilityNetworkContent: boolean;
|
|
207
|
+
/**
|
|
208
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
128
209
|
*
|
|
129
|
-
* @default
|
|
210
|
+
* @default false
|
|
130
211
|
*/
|
|
131
|
-
|
|
212
|
+
hideLastEditedInfo: boolean;
|
|
132
213
|
/**
|
|
133
|
-
*
|
|
214
|
+
* If true, the component will not be destroyed automatically when it is
|
|
215
|
+
* disconnected from the document. This is useful when you want to move the
|
|
216
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
217
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/#destroy) method when you are done to
|
|
218
|
+
* prevent memory leaks.
|
|
134
219
|
*
|
|
135
|
-
* @default
|
|
220
|
+
* @default false
|
|
136
221
|
*/
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
|
|
140
|
-
|
|
222
|
+
autoDestroyDisabled: boolean;
|
|
223
|
+
/** Overwrite localized strings for this component */
|
|
224
|
+
messageOverrides?: typeof this.messages._overrides;
|
|
225
|
+
/** The component's default label. */
|
|
226
|
+
label?: string;
|
|
141
227
|
/**
|
|
142
|
-
* The
|
|
228
|
+
* The [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) representing the location of the
|
|
229
|
+
* [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) interaction used to trigger the opening of the widget.
|
|
230
|
+
*
|
|
231
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature-FeatureViewModel.html#location)
|
|
143
232
|
*
|
|
144
233
|
* @default null
|
|
145
234
|
*/
|
|
146
|
-
|
|
235
|
+
location: nullish | __esri.Point;
|
|
147
236
|
/**
|
|
148
237
|
* The view model's state.
|
|
149
238
|
*
|
|
@@ -152,22 +241,24 @@ export declare class ArcgisFeature extends LitElement {
|
|
|
152
241
|
* @default "disabled"
|
|
153
242
|
*/
|
|
154
243
|
readonly state: "ready" | "loading" | "disabled" | "error";
|
|
155
|
-
/**
|
|
156
|
-
* Dates and times displayed in the widget will be displayed in this time zone.
|
|
157
|
-
*
|
|
158
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html#timeZone)
|
|
159
|
-
*/
|
|
160
|
-
timeZone: string;
|
|
161
244
|
/** Permanently destroy the component. */
|
|
162
245
|
destroy(): Promise<void>;
|
|
163
|
-
/** Paginates to the next [media
|
|
246
|
+
/** Paginates to the next [media](esri-popup-content-MediaContent.html) info. */
|
|
164
247
|
nextMedia(contentElementIndex: number): Promise<void>;
|
|
165
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* Paginates to the previous [media](esri-popup-content-MediaContent.html) info in the specified
|
|
250
|
+
* [media](esri-popup-content-MediaContent.html) content element.
|
|
251
|
+
*/
|
|
166
252
|
previousMedia(contentElementIndex: number): Promise<void>;
|
|
167
253
|
/**
|
|
168
|
-
* Paginates to a specified [media
|
|
169
|
-
*
|
|
170
|
-
* This method allows you to specify the index of the mediaInfos
|
|
254
|
+
* Paginates to a specified [media](esri-popup-content-MediaContent.html) info object. For example,
|
|
255
|
+
* you may have [media](esri-popup-content-MediaContent.html) content which contains
|
|
256
|
+
* multiple `mediaInfos`. This method allows you to specify the index of the `mediaInfos`
|
|
257
|
+
* you wish to display.
|
|
258
|
+
*
|
|
259
|
+
* ::: esri-md class="warning"
|
|
260
|
+
* Prior to version 4.17, this method was named `goToMedia`.
|
|
261
|
+
* :::
|
|
171
262
|
*/
|
|
172
263
|
setActiveMedia(contentElementIndex: number, mediaInfoIndex: number): Promise<void>;
|
|
173
264
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -176,5 +267,6 @@ export declare class ArcgisFeature extends LitElement {
|
|
|
176
267
|
}>;
|
|
177
268
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
178
269
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
270
|
+
private messages;
|
|
179
271
|
}
|
|
180
272
|
export {};
|
|
@@ -1,40 +1,211 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { c as w } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as M, html as a } from "lit";
|
|
3
|
+
import _ from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
4
|
+
import { g as C } from "../../chunks/globalCss.js";
|
|
5
|
+
import { u as b } from "../../chunks/useT9n.js";
|
|
6
|
+
import { H as x } from "../../chunks/heading.js";
|
|
7
|
+
import { classes as y } from "@arcgis/components-utils";
|
|
8
|
+
import { usePropertyChange as I } from "@arcgis/lumina/controllers";
|
|
9
|
+
import { m as L } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { LitElement as T, createEvent as A, noShadowRoot as E, safeClassMap as l } from "@arcgis/lumina";
|
|
11
|
+
import { substitute as k } from "@arcgis/core/intl.js";
|
|
12
|
+
import { renderingSanitizer as F } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
13
|
+
import { k as R, l as V, m as z, n as D, s as c, c as H, i as P } from "../../chunks/feature-utils.js";
|
|
7
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
15
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const
|
|
11
|
-
|
|
16
|
+
v4.34.0-next.51 */
|
|
17
|
+
const S = M`@layer{arcgis-feature{display:block}.arcgis-feature{--calcite-color-background: var(--calcite-color-background);width:100%}.arcgis-feature__title{display:block;word-break:break-word;word-wrap:break-word;font-size:var(--calcite-font-size)}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-xxl);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}}`, h = "arcgis-feature", r = {
|
|
18
|
+
// popup renderer
|
|
19
|
+
base: h,
|
|
20
|
+
// containers and content
|
|
21
|
+
container: `${h}__size-container`,
|
|
22
|
+
title: `${h}__title`,
|
|
23
|
+
main: `${h}__main-container`,
|
|
24
|
+
contentElement: `${h}__content-element`,
|
|
25
|
+
lastEditedInfo: `${h}__last-edited-info`,
|
|
26
|
+
// loading
|
|
27
|
+
loadingSpinnerContainer: `${h}__loading-container`
|
|
28
|
+
}, U = L(_);
|
|
29
|
+
class Z extends T {
|
|
12
30
|
constructor() {
|
|
13
|
-
super(...arguments), this.
|
|
31
|
+
super(...arguments), this.messages = b({}), this.viewModel = U(this), this.flowType = "feature", this.flowItems = null, this.position = "top-left", this.icon = "icon", this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.title, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = I()("state"), this.arcgisReady = A();
|
|
14
32
|
}
|
|
15
33
|
static {
|
|
16
|
-
this.properties = {
|
|
34
|
+
this.properties = { flowType: 16, flowItems: 16, isTable: 16, popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, referenceElement: 1, position: 3, icon: 1, graphic: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 3 };
|
|
17
35
|
}
|
|
18
36
|
static {
|
|
19
|
-
this.
|
|
37
|
+
this.styles = S;
|
|
20
38
|
}
|
|
21
39
|
static {
|
|
22
|
-
this.
|
|
40
|
+
this.shadowRootOptions = E;
|
|
41
|
+
}
|
|
42
|
+
get isTable() {
|
|
43
|
+
return this.viewModel.isFeatureFromTable;
|
|
44
|
+
}
|
|
45
|
+
get popupTemplate() {
|
|
46
|
+
return R(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
|
|
47
|
+
}
|
|
48
|
+
get sourceLayer() {
|
|
49
|
+
return V(this.graphic);
|
|
50
|
+
}
|
|
51
|
+
get fieldInfoMap() {
|
|
52
|
+
return z(D(this.popupTemplate), this.sourceLayer);
|
|
53
|
+
}
|
|
54
|
+
get values() {
|
|
55
|
+
return this.graphic?.attributes ?? {};
|
|
56
|
+
}
|
|
57
|
+
get globalValues() {
|
|
58
|
+
return this.viewModel.formattedAttributes?.global ?? {};
|
|
23
59
|
}
|
|
24
60
|
async destroy() {
|
|
25
61
|
await this.manager.destroy();
|
|
26
62
|
}
|
|
27
|
-
async nextMedia(
|
|
28
|
-
this.
|
|
63
|
+
async nextMedia(e) {
|
|
64
|
+
return this.viewModel.nextMedia(e);
|
|
65
|
+
}
|
|
66
|
+
async previousMedia(e) {
|
|
67
|
+
return this.viewModel.previousMedia(e);
|
|
68
|
+
}
|
|
69
|
+
async setActiveMedia(e, t) {
|
|
70
|
+
return this.viewModel.setActiveMedia(e, t);
|
|
71
|
+
}
|
|
72
|
+
render() {
|
|
73
|
+
const { state: e } = this.viewModel, t = a`<div class=${l(r.container)}>${this._renderTitle()}${e === "error" ? this._renderError() : e === "loading" ? this._renderLoading() : this._renderContentContainer()}</div>`;
|
|
74
|
+
return a`<div class=${l(y(r.base, C.widget))}>${t}</div>`;
|
|
75
|
+
}
|
|
76
|
+
_renderError() {
|
|
77
|
+
const { messages: e, hideHeading: t } = this;
|
|
78
|
+
return a`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : a`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
|
|
79
|
+
}
|
|
80
|
+
_renderLoading() {
|
|
81
|
+
return a`<div class=${l(r.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
82
|
+
}
|
|
83
|
+
_renderAttachments(e) {
|
|
84
|
+
const { values: t, fieldInfoMap: i, sourceLayer: n, globalValues: s } = this, o = c({
|
|
85
|
+
values: t,
|
|
86
|
+
fieldInfoMap: i,
|
|
87
|
+
globalValues: s,
|
|
88
|
+
layer: n,
|
|
89
|
+
text: e.title
|
|
90
|
+
}), d = c({
|
|
91
|
+
values: t,
|
|
92
|
+
fieldInfoMap: i,
|
|
93
|
+
globalValues: s,
|
|
94
|
+
layer: n,
|
|
95
|
+
text: e.description
|
|
96
|
+
});
|
|
97
|
+
return a`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${o} .displayType=${e.displayType} .graphic=${this.graphic ?? void 0} .description=${d} .messages=${this.messages}></arcgis-feature-attachments>`;
|
|
98
|
+
}
|
|
99
|
+
_renderCustom(e) {
|
|
100
|
+
return a`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class=${l(r.contentElement)}></arcgis-feature-content>`;
|
|
101
|
+
}
|
|
102
|
+
_renderFields(e, t) {
|
|
103
|
+
const i = this.viewModel.formattedAttributes, { values: n, fieldInfoMap: s, sourceLayer: o, popupTemplate: d, globalValues: u } = this, g = (e.fieldInfos ?? d?.fieldInfos ?? [])?.filter(({ fieldName: p }) => !!p && (H(p) || P(p) || p in n)), m = d?.expressionInfos, v = c({
|
|
104
|
+
values: n,
|
|
105
|
+
fieldInfoMap: s,
|
|
106
|
+
globalValues: u,
|
|
107
|
+
layer: o,
|
|
108
|
+
text: e.title
|
|
109
|
+
}), $ = c({
|
|
110
|
+
values: n,
|
|
111
|
+
fieldInfoMap: s,
|
|
112
|
+
globalValues: u,
|
|
113
|
+
layer: o,
|
|
114
|
+
text: e.description
|
|
115
|
+
});
|
|
116
|
+
return a`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${v} class=${l(r.contentElement)} .messages=${this.messages} .description=${$} .values=${{
|
|
117
|
+
...i?.global,
|
|
118
|
+
...i?.content?.[t]
|
|
119
|
+
}} .fieldInfos=${g} .expressionInfos=${m ?? void 0}></arcgis-feature-fields>`;
|
|
120
|
+
}
|
|
121
|
+
_renderMedia(e, t) {
|
|
122
|
+
const { values: i, graphic: n, fieldInfoMap: s, sourceLayer: o, popupTemplate: d, globalValues: u } = this, { formattedAttributes: f, relatedInfos: g } = this.viewModel, m = {
|
|
123
|
+
...f?.global,
|
|
124
|
+
...f?.content?.[t]
|
|
125
|
+
}, v = c({
|
|
126
|
+
values: i,
|
|
127
|
+
fieldInfoMap: s,
|
|
128
|
+
globalValues: u,
|
|
129
|
+
layer: o,
|
|
130
|
+
text: e.title
|
|
131
|
+
}), $ = c({
|
|
132
|
+
values: i,
|
|
133
|
+
fieldInfoMap: s,
|
|
134
|
+
globalValues: u,
|
|
135
|
+
layer: o,
|
|
136
|
+
text: e.description
|
|
137
|
+
});
|
|
138
|
+
return a`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(r.contentElement)} .description=${$} .values=${i} .layer=${o} .isAggregate=${n?.isAggregate} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${d ?? void 0} .relatedInfos=${g} .formattedValues=${m}></arcgis-feature-media>`;
|
|
139
|
+
}
|
|
140
|
+
_renderText(e) {
|
|
141
|
+
const { values: t, fieldInfoMap: i, sourceLayer: n, globalValues: s } = this, o = c({
|
|
142
|
+
values: t,
|
|
143
|
+
fieldInfoMap: i,
|
|
144
|
+
globalValues: s,
|
|
145
|
+
layer: n,
|
|
146
|
+
text: e.text
|
|
147
|
+
});
|
|
148
|
+
return a`<arcgis-feature-content .creator=${o} .graphic=${this.graphic ?? void 0} class=${l(r.contentElement)}></arcgis-feature-content>`;
|
|
149
|
+
}
|
|
150
|
+
_renderExpression(e, t) {
|
|
151
|
+
const i = this.viewModel.formattedAttributes, { fieldInfoMap: n } = this;
|
|
152
|
+
return a`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class=${l(r.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{
|
|
153
|
+
...i?.global,
|
|
154
|
+
...i?.content?.[t]
|
|
155
|
+
}}></arcgis-feature-expression>`;
|
|
156
|
+
}
|
|
157
|
+
_renderRelationship() {
|
|
158
|
+
return null;
|
|
159
|
+
}
|
|
160
|
+
_renderAssociation() {
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
_renderContentElement(e, t) {
|
|
164
|
+
switch (e.type) {
|
|
165
|
+
case "attachments":
|
|
166
|
+
return this.hideAttachmentsContent ? null : this._renderAttachments(e);
|
|
167
|
+
case "custom":
|
|
168
|
+
return this.hideCustomContent ? null : this._renderCustom(e);
|
|
169
|
+
case "fields":
|
|
170
|
+
return this.hideFieldsContent ? null : this._renderFields(e, t);
|
|
171
|
+
case "media":
|
|
172
|
+
return this.hideMediaContent ? null : this._renderMedia(e, t);
|
|
173
|
+
case "text":
|
|
174
|
+
return this.hideTextContent ? null : this._renderText(e);
|
|
175
|
+
case "expression":
|
|
176
|
+
return this.hideExpressionContent ? null : this._renderExpression(e, t);
|
|
177
|
+
case "relationship":
|
|
178
|
+
return this.showRelationshipContent ? this._renderRelationship() : null;
|
|
179
|
+
case "utility-network-associations":
|
|
180
|
+
return this.showUtilityNetworkContent ? this._renderAssociation() : null;
|
|
181
|
+
default:
|
|
182
|
+
return null;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
_renderContent() {
|
|
186
|
+
const { content: e, graphic: t } = this.viewModel;
|
|
187
|
+
return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? a`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class=${l(r.contentElement)}></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
|
|
188
|
+
}
|
|
189
|
+
_renderContentContainer() {
|
|
190
|
+
const { hideContent: e } = this;
|
|
191
|
+
return e ? null : a`<div class=${l(r.main)}>${[this._renderContent(), this._renderLastEditInfo()]}</div>`;
|
|
29
192
|
}
|
|
30
|
-
|
|
31
|
-
this
|
|
193
|
+
_renderTitle() {
|
|
194
|
+
const { hideHeading: e, heading: t } = this;
|
|
195
|
+
return e ? null : x({ class: r.title, level: this.headingLevel, children: a`<div .innerHTML=${F.sanitize(t) ?? ""}></div>` });
|
|
32
196
|
}
|
|
33
|
-
|
|
34
|
-
this
|
|
197
|
+
_renderLastEditInfo() {
|
|
198
|
+
const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
|
|
199
|
+
if (!i || e)
|
|
200
|
+
return null;
|
|
201
|
+
const { date: n, user: s } = i, o = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, d = k(o ?? "", {
|
|
202
|
+
date: n,
|
|
203
|
+
user: s
|
|
204
|
+
});
|
|
205
|
+
return a`<div class=${l(y(r.lastEditedInfo, r.contentElement))}>${d}</div>`;
|
|
35
206
|
}
|
|
36
207
|
}
|
|
37
|
-
|
|
208
|
+
w("arcgis-feature", Z);
|
|
38
209
|
export {
|
|
39
|
-
|
|
210
|
+
Z as ArcgisFeature
|
|
40
211
|
};
|
|
@@ -1 +1,8 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
3
|
+
import "../arcgis-feature-attachments/index.js";
|
|
4
|
+
import "../arcgis-feature-content/index.js";
|
|
5
|
+
import "../arcgis-feature-fields/index.js";
|
|
6
|
+
import "../arcgis-feature-media/index.js";
|
|
7
|
+
import "../arcgis-feature-expression/index.js";
|
|
1
8
|
export * from "./customElement.js";
|
|
@@ -1 +1,8 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
3
|
+
import "../arcgis-feature-attachments/index.js";
|
|
4
|
+
import "../arcgis-feature-content/index.js";
|
|
5
|
+
import "../arcgis-feature-fields/index.js";
|
|
6
|
+
import "../arcgis-feature-media/index.js";
|
|
7
|
+
import "../arcgis-feature-expression/index.js";
|
|
1
8
|
export * from "./customElement.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference types="../../index.d.ts" />
|
|
3
|
+
import { HeadingLevel } from '../../support/heading';
|
|
4
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
6
|
+
import { ArcgisAttachments } from '../arcgis-attachments/customElement.js';
|
|
7
|
+
|
|
8
|
+
/** @private */
|
|
9
|
+
export declare class ArcgisFeatureAttachments extends LitElement {
|
|
10
|
+
description?: string;
|
|
11
|
+
displayType?: __esri.AttachmentsContent["displayType"];
|
|
12
|
+
graphic?: __esri.Graphic;
|
|
13
|
+
heading?: string;
|
|
14
|
+
/** @default 2 */
|
|
15
|
+
headingLevel: HeadingLevel;
|
|
16
|
+
messages?: ArcgisFeature["messages"];
|
|
17
|
+
}
|