@arcgis/map-components 4.34.0-next.50 → 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/{GZ333KTW.js → 23HAYJDR.js} +2 -2
- package/dist/cdn/{NN5DZJEE.js → 2CDG6HD7.js} +2 -2
- package/dist/cdn/{UUZ5KPUV.js → 2EKUK755.js} +1 -1
- package/dist/cdn/{XTK5JLGR.js → 2LEPUYNL.js} +2 -2
- package/dist/cdn/{HQL7E2T6.js → 2X5HT3OR.js} +2 -2
- package/dist/cdn/{RR65BWBB.js → 2X7UJLWL.js} +2 -2
- package/dist/cdn/{VGB2AEHQ.js → 35HMSGLA.js} +2 -2
- package/dist/cdn/{TYUKFL7V.js → 3DPIAPJU.js} +2 -2
- package/dist/cdn/{Z27CF6WG.js → 3NF7FJBP.js} +2 -2
- package/dist/cdn/{LKDVJARU.js → 3RJTB2MQ.js} +2 -2
- package/dist/cdn/{XKAZZEMM.js → 44ZQIRNR.js} +2 -2
- package/dist/cdn/{BJ7DXLBG.js → 47QYSQQI.js} +2 -2
- package/dist/cdn/{SPRMAJ56.js → 47VHUNU6.js} +2 -2
- package/dist/cdn/{CFCNUTV7.js → 4F6FSL4T.js} +2 -2
- package/dist/cdn/{BYIG4A56.js → 4LPNSJCM.js} +2 -2
- package/dist/cdn/{N7K24QHL.js → 4SDYEIKE.js} +2 -2
- package/dist/cdn/{2H5QL6X7.js → 4TG2R2QU.js} +2 -2
- package/dist/cdn/52EMW3O2.js +4 -0
- package/dist/cdn/{QVFHJC6H.js → 57FQE7CG.js} +2 -2
- package/dist/cdn/{YYBZPUPB.js → 5FKORFL4.js} +1 -1
- package/dist/cdn/{ED2ELRSD.js → 5P67NND5.js} +2 -2
- package/dist/cdn/{2WB3VDBK.js → 5TUSCZO2.js} +1 -1
- package/dist/cdn/{FMJZJRW7.js → 5YR5YPEH.js} +2 -2
- package/dist/cdn/{TQPCCDKQ.js → 5YXRIS4X.js} +1 -1
- package/dist/cdn/{RXSZD3FE.js → 66PSAFAX.js} +2 -2
- package/dist/cdn/{ENYA3CUT.js → 6OBEVEH7.js} +2 -2
- package/dist/cdn/{YBP6R7CX.js → 6ODSFWYE.js} +2 -2
- package/dist/cdn/{V2XEX63R.js → 6OS77J7L.js} +2 -2
- package/dist/cdn/{C2YRACL5.js → 6OUY3XXG.js} +2 -2
- package/dist/cdn/{R6K42OY3.js → 6UFE5NN6.js} +2 -2
- package/dist/cdn/{LFAAOP6W.js → 6VF4IEDN.js} +2 -2
- package/dist/cdn/{ZCRRAN4X.js → 6XJKM67Q.js} +2 -2
- package/dist/cdn/{QAK5OEEC.js → 6ZUHPUCU.js} +2 -2
- package/dist/cdn/7ABP4YLG.js +5 -0
- package/dist/cdn/{MJAUREYK.js → 7F5MGIQN.js} +2 -2
- package/dist/cdn/{YNHG6MC2.js → 7KIW5BCC.js} +2 -2
- package/dist/cdn/{R45G45E4.js → 7OHN63MP.js} +2 -2
- package/dist/cdn/7PMQXZ6J.js +4 -0
- package/dist/cdn/7VBSLXI6.js +4 -0
- package/dist/cdn/{PCSSJZVF.js → ABY3EJGK.js} +2 -2
- package/dist/cdn/{Z2AC2NOA.js → AJOE7HMC.js} +2 -2
- package/dist/cdn/{5GSDGHZ3.js → ANEAZJAQ.js} +2 -2
- package/dist/cdn/{67DILXT3.js → AOILTLWV.js} +2 -2
- package/dist/cdn/{D6EDBL24.js → APLX2G3G.js} +2 -2
- package/dist/cdn/{APJD3H2R.js → AYT64V4O.js} +2 -2
- package/dist/cdn/{OSGGZ36A.js → BPKJF4BQ.js} +2 -2
- package/dist/cdn/{CIAKNPGH.js → BQWGRO5F.js} +2 -2
- package/dist/cdn/{7XPT54JR.js → CATEMY5Q.js} +2 -2
- package/dist/cdn/{6LSEPDH5.js → CBDJEZIQ.js} +2 -2
- package/dist/cdn/{5VMYC2HB.js → CL2KUYAV.js} +2 -2
- package/dist/cdn/{BUJKCBLN.js → CNVEHUDF.js} +2 -2
- package/dist/cdn/{JPGZ6LTV.js → COBMNV4T.js} +2 -2
- package/dist/cdn/{4ISQY7KF.js → D6C2QQQG.js} +2 -2
- package/dist/cdn/{ALII4L6W.js → DGOWPVSJ.js} +2 -2
- package/dist/cdn/{AHBYJOVM.js → DNPTHNCU.js} +2 -2
- package/dist/cdn/{4DUQHI6P.js → DOC7KVHO.js} +2 -2
- package/dist/cdn/{2OQ6OXJG.js → DQFJCFJE.js} +2 -2
- package/dist/cdn/{CCIJI4Q3.js → DRDEFATT.js} +2 -2
- package/dist/cdn/{B5N4VUXB.js → E6DQN3MY.js} +2 -2
- package/dist/cdn/{AI7PXAN4.js → EBPGB4PM.js} +2 -2
- package/dist/cdn/{S5MYJBHN.js → EKDI5BRX.js} +2 -2
- package/dist/cdn/{WCRDNJT5.js → ENB3QCSY.js} +2 -2
- package/dist/cdn/F6A67IBM.js +4 -0
- package/dist/cdn/{JYJEO4XX.js → FGU7NQB3.js} +2 -2
- package/dist/cdn/{VOKZINB7.js → FNDCY6TH.js} +2 -2
- package/dist/cdn/{3IUDGD65.js → FNJ522JF.js} +2 -2
- package/dist/cdn/{GAAU3OGF.js → FP6W6INT.js} +2 -2
- package/dist/cdn/{6DNNBLTS.js → FQDWKAFC.js} +2 -2
- package/dist/cdn/{XDG7JWMS.js → FUOB72QT.js} +2 -2
- package/dist/cdn/{4JDOUOBV.js → FXYAWM4G.js} +2 -2
- package/dist/cdn/{IZPSAWGI.js → FYTYNQJW.js} +2 -2
- package/dist/cdn/{C4PORT7A.js → G7MO5YNI.js} +2 -2
- package/dist/cdn/{HT3JKPOI.js → GAO72ICS.js} +2 -2
- package/dist/cdn/{PCQ7W5WT.js → GAWSZGSE.js} +2 -2
- package/dist/cdn/{GPA5ZUND.js → GCVFIMSI.js} +2 -2
- package/dist/cdn/{LKCFUBW7.js → GH5ORWDD.js} +2 -2
- package/dist/cdn/{LRWBSDZG.js → GLY2QNU5.js} +2 -2
- package/dist/cdn/{3TNNWTAT.js → GOKTRDSW.js} +2 -2
- package/dist/cdn/{UA2BRGBJ.js → GTEBKEBT.js} +2 -2
- package/dist/cdn/{W23WNNVI.js → H4XXPWYD.js} +2 -2
- package/dist/cdn/{NM4L7QLO.js → HBRDA6ZG.js} +2 -2
- package/dist/cdn/{TT5VTF6S.js → HHLBL37Q.js} +2 -2
- package/dist/cdn/{OTWW4QVQ.js → HNH26E33.js} +1 -1
- package/dist/cdn/{LGEEWJVV.js → HOBDI6JD.js} +2 -2
- package/dist/cdn/{QBVLPPIJ.js → HOBYGWBS.js} +2 -2
- package/dist/cdn/{RCVY3GBR.js → HQFAH7VM.js} +2 -2
- package/dist/cdn/{VSO767QL.js → HTTSJGJH.js} +2 -2
- package/dist/cdn/{BU57WANH.js → HW36UUHG.js} +2 -2
- package/dist/cdn/IKLWWK2I.js +4 -0
- package/dist/cdn/{WDVXB57P.js → IWDZFFZJ.js} +2 -2
- package/dist/cdn/{75KMGR2T.js → IWRQ325C.js} +2 -2
- package/dist/cdn/{V7EIWO6W.js → IZ33XLJR.js} +2 -2
- package/dist/cdn/{7GIELD22.js → J42NCWYZ.js} +2 -2
- package/dist/cdn/{NBPRSKK7.js → J7AD3VVE.js} +2 -2
- package/dist/cdn/{4CYKZL33.js → JEAYFG3N.js} +2 -2
- package/dist/cdn/{NNYT4CEU.js → JEVL26RG.js} +2 -2
- package/dist/cdn/{62KIHSAJ.js → JNIAYBSA.js} +2 -2
- package/dist/cdn/{SPJRFIG2.js → JO5V6L7X.js} +2 -2
- package/dist/cdn/{NWB2XYJW.js → JT2Y2CFS.js} +2 -2
- package/dist/cdn/{5KHZOBUA.js → K66BYPYZ.js} +2 -2
- package/dist/cdn/{BQVV32YK.js → K6AWFSFK.js} +2 -2
- package/dist/cdn/{6FTO5TUV.js → KG2HQWWR.js} +2 -2
- package/dist/cdn/{EGHBXJIQ.js → KGR3TOXV.js} +2 -2
- package/dist/cdn/{EZRL6KFN.js → KNPHEVWW.js} +2 -2
- package/dist/cdn/{EYYHLTDA.js → KRTOFDMU.js} +2 -2
- package/dist/cdn/{5QDRURVW.js → KVN5WZ2F.js} +2 -2
- package/dist/cdn/{X4QWBI4I.js → LSZOTLG2.js} +1 -1
- package/dist/cdn/{6UXIXOUF.js → M5EMWKKY.js} +2 -2
- package/dist/cdn/{WOCZMUK7.js → M77KTA6U.js} +2 -2
- package/dist/cdn/{VIEIBC7W.js → MOI6KAID.js} +2 -2
- package/dist/cdn/{OPFMFHCU.js → MR5AO3NN.js} +2 -2
- package/dist/cdn/{R3O37JLG.js → MUMY6GEM.js} +2 -2
- package/dist/cdn/{LPIAWKJF.js → N55D5MJJ.js} +2 -2
- package/dist/cdn/{SWTYYNLD.js → NJTUC76F.js} +2 -2
- package/dist/cdn/{RYW3GXMR.js → NPQISYAT.js} +2 -2
- package/dist/cdn/{FVIXRTM5.js → NX654MZD.js} +2 -2
- package/dist/cdn/{YFCCMEVT.js → NXKE4IBO.js} +2 -2
- package/dist/cdn/{X34P6RQS.js → NXP472VC.js} +2 -2
- package/dist/cdn/{G2W42WVA.js → NZMUQVNO.js} +2 -2
- package/dist/cdn/{QCEJDAKG.js → O33QCB33.js} +2 -2
- package/dist/cdn/{5YKVZEXB.js → O4UTHW2Y.js} +2 -2
- package/dist/cdn/{2V6QW57Y.js → O7WE7QGS.js} +2 -2
- package/dist/cdn/{UFENVRBO.js → ODI4TZIM.js} +2 -2
- package/dist/cdn/{GZCPDM7J.js → OOUQ765K.js} +2 -2
- package/dist/cdn/{T4CACD5U.js → OSBYI6F5.js} +2 -2
- package/dist/cdn/{34V6FFLC.js → OUTJJ7Z2.js} +2 -2
- package/dist/cdn/{G77RWWJ5.js → OUURDOBJ.js} +2 -2
- package/dist/cdn/{EMURL3M6.js → PJSU42JM.js} +1 -1
- package/dist/cdn/{2CQONIL2.js → PLDRW24K.js} +2 -2
- package/dist/cdn/PPGAVYMR.js +4 -0
- package/dist/cdn/{XRWJG5LI.js → PQMAOWDZ.js} +2 -2
- package/dist/cdn/{26R2YV3B.js → PWHAZRNJ.js} +2 -2
- package/dist/cdn/{6FRZKVET.js → PZO5SSQT.js} +2 -2
- package/dist/cdn/{LB4VE6GE.js → Q34PXGKN.js} +2 -2
- package/dist/cdn/{OFQCNUYO.js → QARQYR3S.js} +2 -2
- package/dist/cdn/{5KNUYIJ6.js → QHNAGBYU.js} +2 -2
- package/dist/cdn/{BRFMXB22.js → QLTAVM6R.js} +2 -2
- package/dist/cdn/{SZMMDMHA.js → REC3WVMB.js} +2 -2
- package/dist/cdn/{VOXJGYJJ.js → RLRHEVME.js} +2 -2
- package/dist/cdn/{VUFI4AOT.js → S3Y6WOSE.js} +2 -2
- package/dist/cdn/{RNLSGN6H.js → S72W2EOS.js} +2 -2
- package/dist/cdn/{Z5ZIY43G.js → SCGFRFEA.js} +2 -2
- package/dist/cdn/{YIAYHUYJ.js → SDTNEE4Q.js} +2 -2
- package/dist/cdn/{2GI6YQEI.js → SELAQDGF.js} +2 -2
- package/dist/cdn/{SASHNNW5.js → SG6XFUPU.js} +2 -2
- package/dist/cdn/{KNDCZL4P.js → STPFZ6PG.js} +2 -2
- package/dist/cdn/{IUSN6HPI.js → SULU3BCZ.js} +2 -2
- package/dist/cdn/{OGM4QM2V.js → T347J3LH.js} +2 -2
- package/dist/cdn/{UK5RXJ2E.js → T4OF5KMY.js} +2 -2
- package/dist/cdn/{3KFRZNJE.js → T4ZGI6ZX.js} +2 -2
- package/dist/cdn/{TYMITYZ4.js → TIVO56VB.js} +2 -2
- package/dist/cdn/{JGO5DXAG.js → TJLAHABW.js} +2 -2
- package/dist/cdn/{UPRLADCM.js → TOOG2ECU.js} +2 -2
- package/dist/cdn/{IAB4RRTE.js → TVSLB42C.js} +2 -2
- package/dist/cdn/{VCPKX6Y6.js → UHTGJYCW.js} +1 -1
- package/dist/cdn/{C5NTPG2J.js → UW2QFZLI.js} +2 -2
- package/dist/cdn/{KWQEP3GX.js → VFCPDEJV.js} +1 -1
- package/dist/cdn/{CQM22ZVV.js → VINXCROG.js} +2 -2
- package/dist/cdn/{KWFOKKJP.js → VLJ5T5EM.js} +2 -2
- package/dist/cdn/{P4ZV2W74.js → VMSV3XLY.js} +2 -2
- package/dist/cdn/{7ADE73RA.js → VT2S6EIP.js} +2 -2
- package/dist/cdn/{QC56X3K3.js → VWC4UHZI.js} +2 -2
- package/dist/cdn/{NPZSYTOT.js → W2TJDRTX.js} +2 -2
- package/dist/cdn/{PVB3L6DK.js → W6STCPFV.js} +2 -2
- package/dist/cdn/{DDZSCFPP.js → W7KNNUEM.js} +1 -1
- package/dist/cdn/{6ILWU6S2.js → WC5PO2WX.js} +2 -2
- package/dist/cdn/{3TQU7RFR.js → WJXSWJ6Y.js} +2 -2
- package/dist/cdn/{XNFLRNSD.js → WLR2QMDR.js} +2 -2
- package/dist/cdn/{DRS5TFL3.js → WMTBPX3C.js} +2 -2
- package/dist/cdn/{BBPAZJHG.js → X3YMQ2R4.js} +2 -2
- package/dist/cdn/{SLRHUPQ2.js → X4VRZLRF.js} +2 -2
- package/dist/cdn/{YAMEYVQA.js → X7YZSEGZ.js} +2 -2
- package/dist/cdn/{DA2JDIA5.js → XCGQPPDC.js} +2 -2
- package/dist/cdn/{DL5QNAJH.js → XIW72IDH.js} +1 -1
- package/dist/cdn/{6DGB7FVP.js → XYEXAVRU.js} +2 -2
- package/dist/cdn/{4TO2R3SL.js → Y6BRCKJZ.js} +2 -2
- package/dist/cdn/{AYGTXJXG.js → YAPOF7X6.js} +2 -2
- package/dist/cdn/{4YWQ66WB.js → YJD3MIER.js} +2 -2
- package/dist/cdn/{WQSJK5WS.js → YRLL2RF2.js} +2 -2
- package/dist/cdn/{FPW62K7V.js → YYZRFHWC.js} +2 -2
- package/dist/cdn/{QOIC3IV2.js → Z2DUVJVT.js} +2 -2
- package/dist/cdn/{5V4YSXEX.js → ZQ3B7VXH.js} +2 -2
- package/dist/cdn/{5TSGKVAP.js → ZT3D6RRA.js} +2 -2
- package/dist/cdn/{JFFZT22V.js → ZYQGIGGR.js} +2 -2
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +90 -57
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +8 -2
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +177 -90
- package/dist/components/arcgis-feature/customElement.js +192 -22
- 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 +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +20 -13
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +13 -13
- package/dist/components/arcgis-feature-expression/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-expression/customElement.js +133 -126
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -3
- package/dist/components/arcgis-feature-media/customElement.js +239 -244
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +353 -84
- package/dist/docs/docs.json +287 -57
- package/dist/docs/vscode.html-custom-data.json +69 -23
- package/dist/docs/web-types.json +125 -52
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/feature-utils.d.ts +5 -2
- package/dist/utils/related-feature-utils.d.ts +0 -11
- package/package.json +3 -3
- package/dist/cdn/3Q5GWAOH.js +0 -4
- package/dist/cdn/6UE2J3H3.js +0 -4
- package/dist/cdn/7ZR5PR2L.js +0 -4
- package/dist/cdn/A5VWDFHE.js +0 -4
- package/dist/cdn/AUZ7N5WS.js +0 -4
- package/dist/cdn/FBDQXCVG.js +0 -5
- package/dist/cdn/YYTCKFUT.js +0 -4
|
@@ -1,154 +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.
|
|
66
122
|
*
|
|
67
|
-
* @
|
|
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
|
|
68
139
|
*/
|
|
69
|
-
|
|
140
|
+
map: __esri.Map | nullish;
|
|
70
141
|
/**
|
|
71
|
-
*
|
|
142
|
+
* Disables chart animation
|
|
72
143
|
*
|
|
73
144
|
* @default false
|
|
74
145
|
*/
|
|
75
|
-
|
|
146
|
+
chartAnimationDisabled: boolean | undefined;
|
|
76
147
|
/**
|
|
77
|
-
*
|
|
148
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
78
149
|
*
|
|
79
150
|
* @default false
|
|
80
151
|
*/
|
|
81
|
-
|
|
152
|
+
hideHeading: boolean;
|
|
82
153
|
/**
|
|
83
|
-
*
|
|
154
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
84
155
|
*
|
|
85
156
|
* @default false
|
|
86
157
|
*/
|
|
87
|
-
|
|
158
|
+
hideContent: boolean;
|
|
88
159
|
/**
|
|
89
|
-
*
|
|
160
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
90
161
|
*
|
|
91
162
|
* @default false
|
|
92
163
|
*/
|
|
93
|
-
|
|
164
|
+
hideAttachmentsContent: boolean;
|
|
94
165
|
/**
|
|
95
|
-
*
|
|
166
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
167
|
+
*
|
|
96
168
|
* @default false
|
|
97
169
|
*/
|
|
98
|
-
|
|
170
|
+
hideCustomContent: boolean;
|
|
99
171
|
/**
|
|
100
|
-
*
|
|
172
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
101
173
|
*
|
|
102
174
|
* @default false
|
|
103
175
|
*/
|
|
104
|
-
|
|
176
|
+
hideExpressionContent: boolean;
|
|
105
177
|
/**
|
|
106
|
-
*
|
|
178
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
107
179
|
*
|
|
108
180
|
* @default false
|
|
109
181
|
*/
|
|
110
|
-
|
|
182
|
+
hideFieldsContent: boolean;
|
|
111
183
|
/**
|
|
112
|
-
*
|
|
184
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
113
185
|
*
|
|
114
|
-
* @
|
|
115
|
-
* @default "polygon"
|
|
186
|
+
* @default false
|
|
116
187
|
*/
|
|
117
|
-
|
|
188
|
+
hideMediaContent: boolean;
|
|
118
189
|
/**
|
|
119
|
-
*
|
|
190
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
120
191
|
*
|
|
121
|
-
*
|
|
192
|
+
* @default false
|
|
122
193
|
*/
|
|
123
|
-
|
|
194
|
+
showRelationshipContent: boolean;
|
|
124
195
|
/**
|
|
125
|
-
*
|
|
196
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
126
197
|
*
|
|
127
|
-
*
|
|
198
|
+
* @default false
|
|
199
|
+
*/
|
|
200
|
+
hideTextContent: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
128
203
|
*
|
|
129
|
-
* @default
|
|
204
|
+
* @default false
|
|
130
205
|
*/
|
|
131
|
-
|
|
206
|
+
showUtilityNetworkContent: boolean;
|
|
132
207
|
/**
|
|
133
|
-
*
|
|
208
|
+
* This property provides the ability to turn individual elements of the component's display on/off.
|
|
134
209
|
*
|
|
135
|
-
* @default
|
|
210
|
+
* @default false
|
|
136
211
|
*/
|
|
137
|
-
|
|
138
|
-
/** @default "bottom-left" */
|
|
139
|
-
position: __esri.UIPosition;
|
|
212
|
+
hideLastEditedInfo: boolean;
|
|
140
213
|
/**
|
|
141
|
-
*
|
|
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.
|
|
142
219
|
*
|
|
143
|
-
* @
|
|
220
|
+
* @default false
|
|
144
221
|
*/
|
|
145
|
-
|
|
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;
|
|
146
227
|
/**
|
|
147
|
-
* 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)
|
|
148
232
|
*
|
|
149
233
|
* @default null
|
|
150
234
|
*/
|
|
151
|
-
|
|
235
|
+
location: nullish | __esri.Point;
|
|
152
236
|
/**
|
|
153
237
|
* The view model's state.
|
|
154
238
|
*
|
|
@@ -157,22 +241,24 @@ export declare class ArcgisFeature extends LitElement {
|
|
|
157
241
|
* @default "disabled"
|
|
158
242
|
*/
|
|
159
243
|
readonly state: "ready" | "loading" | "disabled" | "error";
|
|
160
|
-
/**
|
|
161
|
-
* Dates and times displayed in the widget will be displayed in this time zone.
|
|
162
|
-
*
|
|
163
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html#timeZone)
|
|
164
|
-
*/
|
|
165
|
-
timeZone: string;
|
|
166
244
|
/** Permanently destroy the component. */
|
|
167
245
|
destroy(): Promise<void>;
|
|
168
|
-
/** Paginates to the next [media
|
|
246
|
+
/** Paginates to the next [media](esri-popup-content-MediaContent.html) info. */
|
|
169
247
|
nextMedia(contentElementIndex: number): Promise<void>;
|
|
170
|
-
/**
|
|
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
|
+
*/
|
|
171
252
|
previousMedia(contentElementIndex: number): Promise<void>;
|
|
172
253
|
/**
|
|
173
|
-
* Paginates to a specified [media
|
|
174
|
-
*
|
|
175
|
-
* 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
|
+
* :::
|
|
176
262
|
*/
|
|
177
263
|
setActiveMedia(contentElementIndex: number, mediaInfoIndex: number): Promise<void>;
|
|
178
264
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -181,5 +267,6 @@ export declare class ArcgisFeature extends LitElement {
|
|
|
181
267
|
}>;
|
|
182
268
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
183
269
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
270
|
+
private messages;
|
|
184
271
|
}
|
|
185
272
|
export {};
|
|
@@ -1,41 +1,211 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
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";
|
|
8
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
15
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
11
|
-
const
|
|
12
|
-
|
|
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 {
|
|
13
30
|
constructor() {
|
|
14
|
-
super(...arguments), this.messages =
|
|
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();
|
|
15
32
|
}
|
|
16
33
|
static {
|
|
17
|
-
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 };
|
|
18
35
|
}
|
|
19
36
|
static {
|
|
20
|
-
this.
|
|
37
|
+
this.styles = S;
|
|
21
38
|
}
|
|
22
39
|
static {
|
|
23
|
-
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 ?? {};
|
|
24
59
|
}
|
|
25
60
|
async destroy() {
|
|
26
61
|
await this.manager.destroy();
|
|
27
62
|
}
|
|
28
|
-
async nextMedia(
|
|
29
|
-
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>`;
|
|
30
192
|
}
|
|
31
|
-
|
|
32
|
-
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>` });
|
|
33
196
|
}
|
|
34
|
-
|
|
35
|
-
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>`;
|
|
36
206
|
}
|
|
37
207
|
}
|
|
38
|
-
|
|
208
|
+
w("arcgis-feature", Z);
|
|
39
209
|
export {
|
|
40
|
-
|
|
210
|
+
Z as ArcgisFeature
|
|
41
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";
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { HeadingLevel } from '../../support/heading';
|
|
4
4
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
5
|
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
6
|
+
import { ArcgisAttachments } from '../arcgis-attachments/customElement.js';
|
|
6
7
|
|
|
7
8
|
/** @private */
|
|
8
9
|
export declare class ArcgisFeatureAttachments extends LitElement {
|