@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,30 +1,37 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as a, noShadowRoot as i, safeClassMap as
|
|
1
|
+
import { c as e } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as s, html as t } from "lit";
|
|
3
|
+
import { LitElement as a, noShadowRoot as i, safeClassMap as n } from "@arcgis/lumina";
|
|
4
|
+
import { createRef as h, ref as c } from "lit-html/directives/ref.js";
|
|
4
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
7
|
-
const
|
|
8
|
-
base:
|
|
7
|
+
v4.34.0-next.51 */
|
|
8
|
+
const r = s`@layer{arcgis-feature-attachments{display:block}}`, o = "arcgis-feature-attachments", m = {
|
|
9
|
+
base: o
|
|
9
10
|
};
|
|
10
|
-
class
|
|
11
|
+
class d extends a {
|
|
11
12
|
constructor() {
|
|
12
|
-
super(...arguments), this.headingLevel = 2;
|
|
13
|
+
super(...arguments), this._attachmentsRef = h(), this.hideSection = !1, this.attachmentsLength = 0, this.headingLevel = 2;
|
|
13
14
|
}
|
|
14
15
|
static {
|
|
15
|
-
this.properties = { description: 1, displayType: 1, graphic: 0, heading: 1, headingLevel: 9, messages: 0 };
|
|
16
|
+
this.properties = { hideSection: 16, attachmentsLength: 16, state: 16, description: 1, displayType: 1, graphic: 0, heading: 1, headingLevel: 9, messages: 0 };
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
|
-
this.styles =
|
|
19
|
+
this.styles = r;
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
22
|
this.shadowRootOptions = i;
|
|
22
23
|
}
|
|
24
|
+
_updateAttachmentsState() {
|
|
25
|
+
this.state = this._attachmentsRef.value?.state, this.attachmentsLength = this._attachmentsRef.value?.attachmentInfos?.length ?? 0;
|
|
26
|
+
}
|
|
23
27
|
render() {
|
|
24
|
-
return t`<div class=${
|
|
28
|
+
return t`<div class=${n(m.base)}>${this.renderContent()}</div>`;
|
|
29
|
+
}
|
|
30
|
+
renderContent() {
|
|
31
|
+
return t`<div .hidden=${!(this.state === "loading" || this.attachmentsLength > 0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} ${c(this._attachmentsRef)}></arcgis-attachments></div>`;
|
|
25
32
|
}
|
|
26
33
|
}
|
|
27
|
-
|
|
34
|
+
e("arcgis-feature-attachments", d);
|
|
28
35
|
export {
|
|
29
|
-
|
|
36
|
+
d as ArcgisFeatureAttachments
|
|
30
37
|
};
|
|
@@ -6,7 +6,7 @@ import { j as n, h as u } from "../../chunks/feature-utils.js";
|
|
|
6
6
|
import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.51 */
|
|
10
10
|
const p = g`@layer{arcgis-feature-content{display:block}.arcgis-feature-content__loader-container{display:flex;align-items:center;justify-content:center;padding:0;height:150px}.arcgis-feature-content{font-size:var(--calcite-font-size-md)}.arcgis-feature-content h1,.arcgis-feature-content h2,.arcgis-feature-content h3,.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{margin:var(--calcite-spacing-sm) 0;line-height:normal;letter-spacing:0;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-semibold)}.arcgis-feature-content h1{font-size:var(--calcite-font-size-xxl)}.arcgis-feature-content h2{font-size:var(--calcite-font-size-xl)}.arcgis-feature-content h3{font-size:var(--calcite-font-size-lg)}.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{font-size:var(--calcite-font-size)}.arcgis-widget__heading.arcgis-feature-element-info__title{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-lg);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-content p{margin:0 0 var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular)}.arcgis-feature-content p:last-child{margin-block-end:0}.arcgis-feature-content img{max-width:100%;max-height:100%;image-orientation:from-image}.arcgis-feature-content video{max-width:100%;max-height:100%}.arcgis-feature-content figure{margin:0;padding:0}.arcgis-feature-content figcaption{display:block;margin:var(--calcite-spacing-xs) 0 0;padding:0;font-size:var(--calcite-font-size-sm);font-style:italic}.arcgis-feature-content ul,.arcgis-feature-content ol{margin-block:var(--calcite-spacing-sm)}.arcgis-feature-content ul:first-child,.arcgis-feature-content ol:first-child{margin-block-start:0}.arcgis-feature-content a,.arcgis-feature-content a:hover,.arcgis-feature-content a:focus{color:var(--calcite-color-text-link)}}`, c = "arcgis-feature-content", o = {
|
|
11
11
|
base: c,
|
|
12
12
|
loaderContainer: `${c}__loader-container`
|
|
@@ -44,7 +44,7 @@ class v extends d {
|
|
|
44
44
|
t && e && (n({ type: "content", value: a, event: { graphic: e } }), this._created = null);
|
|
45
45
|
}
|
|
46
46
|
_addTargetToAnchors(t) {
|
|
47
|
-
Array.from(t.querySelectorAll("a")).forEach((e) => {
|
|
47
|
+
t && Array.from(t.querySelectorAll("a")).forEach((e) => {
|
|
48
48
|
u(e.href) && !e.hasAttribute("target") && e.setAttribute("target", "_blank");
|
|
49
49
|
});
|
|
50
50
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { H as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { renderingSanitizer as
|
|
1
|
+
import { c as a } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as o, html as i } from "lit";
|
|
3
|
+
import { H as c } from "../../chunks/heading.js";
|
|
4
|
+
import { LitElement as l, noShadowRoot as d, safeClassMap as s } from "@arcgis/lumina";
|
|
5
|
+
import { renderingSanitizer as r } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const g =
|
|
8
|
+
v4.34.0-next.51 */
|
|
9
|
+
const g = o`@layer{arcgis-feature-element-info{display:block}.arcgis-feature-element-info__heading{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-sm);font-size:var(--calcite-font-line-height-fixed-base);font-weight:var(--calcite-font-weight-regular)}}`, t = "arcgis-feature-element-info", n = {
|
|
10
10
|
base: t,
|
|
11
11
|
heading: `${t}__heading`,
|
|
12
12
|
description: `${t}__description`
|
|
13
13
|
};
|
|
14
|
-
class h extends
|
|
14
|
+
class h extends l {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments), this.headingLevel = 2;
|
|
17
17
|
}
|
|
@@ -22,21 +22,21 @@ class h extends c {
|
|
|
22
22
|
this.styles = g;
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
25
|
+
this.shadowRootOptions = d;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return
|
|
28
|
+
return i`<div class=${s(n.base)}>${this._renderHeading()}${this._renderDescription()}</div>`;
|
|
29
29
|
}
|
|
30
30
|
_renderHeading() {
|
|
31
31
|
const { heading: e } = this;
|
|
32
|
-
return e ?
|
|
32
|
+
return e ? c({ class: n.heading, level: this.headingLevel, excludeGlobalCss: !0, children: i`<div .innerHTML=${r.sanitize(e) ?? ""}></div>` }) : null;
|
|
33
33
|
}
|
|
34
34
|
_renderDescription() {
|
|
35
35
|
const { description: e } = this;
|
|
36
|
-
return e ?
|
|
36
|
+
return e ? i`<div class=${s(n.description)} .innerHTML=${r.sanitize(e) ?? ""}></div>` : null;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
a("arcgis-feature-element-info", h);
|
|
40
40
|
export {
|
|
41
41
|
h as ArcgisFeatureElementInfo
|
|
42
42
|
};
|
|
@@ -6,6 +6,8 @@ import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
|
6
6
|
|
|
7
7
|
/** @private */
|
|
8
8
|
export declare class ArcgisFeatureExpression extends LitElement {
|
|
9
|
+
values?: HashMap<number | string>;
|
|
10
|
+
fieldInfoMap?: Map<string, __esri.FieldInfo>;
|
|
9
11
|
expressionInfo?: __esri.ElementExpressionInfo;
|
|
10
12
|
graphic?: __esri.Graphic;
|
|
11
13
|
/** @default 2 */
|
|
@@ -1,151 +1,152 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as
|
|
1
|
+
import { c as G } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as X, html as v } from "lit";
|
|
3
|
+
import { LitElement as D, noShadowRoot as H, safeClassMap as O } from "@arcgis/lumina";
|
|
4
4
|
import { watch as q, when as z } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { a as $ } from "../../chunks/maybe.js";
|
|
6
|
-
import { c as w, t as
|
|
6
|
+
import { c as w, t as I } from "../../chunks/async-utils.js";
|
|
7
7
|
import K from "@arcgis/core/popup/content/MediaContent.js";
|
|
8
8
|
import Q from "@arcgis/core/popup/content/FieldsContent.js";
|
|
9
9
|
import Y from "@arcgis/core/popup/content/TextContent.js";
|
|
10
10
|
import { compileExpression as Z } from "@arcgis/core/applications/Components/arcadeFeatureUtils.js";
|
|
11
|
+
import { s as ee } from "../../chunks/feature-utils.js";
|
|
11
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
var t =
|
|
14
|
+
v4.34.0-next.51 */
|
|
15
|
+
var te = typeof global == "object" && global && global.Object === Object && global, ne = typeof self == "object" && self && self.Object === Object && self, W = te || ne || Function("return this")(), b = W.Symbol, J = Object.prototype, ie = J.hasOwnProperty, re = J.toString, T = b ? b.toStringTag : void 0;
|
|
16
|
+
function ae(e) {
|
|
17
|
+
var t = ie.call(e, T), i = e[T];
|
|
17
18
|
try {
|
|
18
19
|
e[T] = void 0;
|
|
19
|
-
var
|
|
20
|
+
var n = !0;
|
|
20
21
|
} catch {
|
|
21
22
|
}
|
|
22
|
-
var r =
|
|
23
|
-
return
|
|
23
|
+
var r = re.call(e);
|
|
24
|
+
return n && (t ? e[T] = i : delete e[T]), r;
|
|
24
25
|
}
|
|
25
|
-
var
|
|
26
|
-
function
|
|
27
|
-
return
|
|
28
|
-
}
|
|
29
|
-
var ce = "[object Null]", le = "[object Undefined]", C = b ? b.toStringTag : void 0;
|
|
30
|
-
function fe(e) {
|
|
31
|
-
return e == null ? e === void 0 ? le : ce : C && C in Object(e) ? re(e) : oe(e);
|
|
26
|
+
var se = Object.prototype, oe = se.toString;
|
|
27
|
+
function le(e) {
|
|
28
|
+
return oe.call(e);
|
|
32
29
|
}
|
|
30
|
+
var ce = "[object Null]", fe = "[object Undefined]", L = b ? b.toStringTag : void 0;
|
|
33
31
|
function ue(e) {
|
|
32
|
+
return e == null ? e === void 0 ? fe : ce : L && L in Object(e) ? ae(e) : le(e);
|
|
33
|
+
}
|
|
34
|
+
function de(e) {
|
|
34
35
|
return e != null && typeof e == "object";
|
|
35
36
|
}
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return typeof e == "symbol" ||
|
|
37
|
+
var me = "[object Symbol]";
|
|
38
|
+
function pe(e) {
|
|
39
|
+
return typeof e == "symbol" || de(e) && ue(e) == me;
|
|
39
40
|
}
|
|
40
41
|
var he = /\s/;
|
|
41
|
-
function
|
|
42
|
+
function ge(e) {
|
|
42
43
|
for (var t = e.length; t-- && he.test(e.charAt(t)); )
|
|
43
44
|
;
|
|
44
45
|
return t;
|
|
45
46
|
}
|
|
46
|
-
var
|
|
47
|
-
function
|
|
48
|
-
return e && e.slice(0,
|
|
47
|
+
var ve = /^\s+/;
|
|
48
|
+
function Te(e) {
|
|
49
|
+
return e && e.slice(0, ge(e) + 1).replace(ve, "");
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
+
function x(e) {
|
|
51
52
|
var t = typeof e;
|
|
52
53
|
return e != null && (t == "object" || t == "function");
|
|
53
54
|
}
|
|
54
|
-
var
|
|
55
|
+
var C = NaN, ye = /^[-+]0x[0-9a-f]+$/i, be = /^0b[01]+$/i, xe = /^0o[0-7]+$/i, _e = parseInt;
|
|
55
56
|
function A(e) {
|
|
56
57
|
if (typeof e == "number")
|
|
57
58
|
return e;
|
|
58
|
-
if (
|
|
59
|
-
return
|
|
60
|
-
if (
|
|
59
|
+
if (pe(e))
|
|
60
|
+
return C;
|
|
61
|
+
if (x(e)) {
|
|
61
62
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
62
|
-
e =
|
|
63
|
+
e = x(t) ? t + "" : t;
|
|
63
64
|
}
|
|
64
65
|
if (typeof e != "string")
|
|
65
66
|
return e === 0 ? e : +e;
|
|
66
|
-
e =
|
|
67
|
-
var
|
|
68
|
-
return
|
|
67
|
+
e = Te(e);
|
|
68
|
+
var i = be.test(e);
|
|
69
|
+
return i || xe.test(e) ? _e(e.slice(2), i ? 2 : 8) : ye.test(e) ? C : +e;
|
|
69
70
|
}
|
|
70
|
-
var
|
|
71
|
-
return
|
|
72
|
-
},
|
|
73
|
-
function Se(e, t,
|
|
74
|
-
var
|
|
71
|
+
var k = function() {
|
|
72
|
+
return W.Date.now();
|
|
73
|
+
}, $e = "Expected a function", Ie = Math.max, ke = Math.min;
|
|
74
|
+
function Se(e, t, i) {
|
|
75
|
+
var n, r, o, l, a, c, u = 0, h = !1, d = !1, p = !0;
|
|
75
76
|
if (typeof e != "function")
|
|
76
|
-
throw new TypeError(
|
|
77
|
-
t = A(t) || 0,
|
|
78
|
-
function
|
|
79
|
-
var m =
|
|
80
|
-
return
|
|
77
|
+
throw new TypeError($e);
|
|
78
|
+
t = A(t) || 0, x(i) && (h = !!i.leading, d = "maxWait" in i, o = d ? Ie(A(i.maxWait) || 0, t) : o, p = "trailing" in i ? !!i.trailing : p);
|
|
79
|
+
function f(s) {
|
|
80
|
+
var m = n, g = r;
|
|
81
|
+
return n = r = void 0, u = s, l = e.apply(g, m), l;
|
|
81
82
|
}
|
|
82
|
-
function P(
|
|
83
|
-
return
|
|
83
|
+
function P(s) {
|
|
84
|
+
return u = s, a = setTimeout(y, t), h ? f(s) : l;
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
-
var m =
|
|
87
|
-
return
|
|
86
|
+
function V(s) {
|
|
87
|
+
var m = s - c, g = s - u, E = t - m;
|
|
88
|
+
return d ? ke(E, o - g) : E;
|
|
88
89
|
}
|
|
89
|
-
function
|
|
90
|
-
var m =
|
|
91
|
-
return
|
|
90
|
+
function S(s) {
|
|
91
|
+
var m = s - c, g = s - u;
|
|
92
|
+
return c === void 0 || m >= t || m < 0 || d && g >= o;
|
|
92
93
|
}
|
|
93
94
|
function y() {
|
|
94
|
-
var
|
|
95
|
-
if (
|
|
96
|
-
return
|
|
97
|
-
|
|
95
|
+
var s = k();
|
|
96
|
+
if (S(s))
|
|
97
|
+
return j(s);
|
|
98
|
+
a = setTimeout(y, V(s));
|
|
99
|
+
}
|
|
100
|
+
function j(s) {
|
|
101
|
+
return a = void 0, p && n ? f(s) : (n = r = void 0, l);
|
|
98
102
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
103
|
+
function B() {
|
|
104
|
+
a !== void 0 && clearTimeout(a), u = 0, n = c = r = a = void 0;
|
|
101
105
|
}
|
|
102
106
|
function U() {
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
function
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
return P(d);
|
|
113
|
-
if (u)
|
|
114
|
-
return clearTimeout(o), o = setTimeout(y, t), c(d);
|
|
107
|
+
return a === void 0 ? l : j(k());
|
|
108
|
+
}
|
|
109
|
+
function _() {
|
|
110
|
+
var s = k(), m = S(s);
|
|
111
|
+
if (n = arguments, r = this, c = s, m) {
|
|
112
|
+
if (a === void 0)
|
|
113
|
+
return P(c);
|
|
114
|
+
if (d)
|
|
115
|
+
return clearTimeout(a), a = setTimeout(y, t), f(c);
|
|
115
116
|
}
|
|
116
|
-
return
|
|
117
|
+
return a === void 0 && (a = setTimeout(y, t)), l;
|
|
117
118
|
}
|
|
118
|
-
return
|
|
119
|
+
return _.cancel = B, _.flush = U, _;
|
|
119
120
|
}
|
|
120
121
|
var je = "Expected a function";
|
|
121
|
-
function R(e, t,
|
|
122
|
-
var
|
|
122
|
+
function R(e, t, i) {
|
|
123
|
+
var n = !0, r = !0;
|
|
123
124
|
if (typeof e != "function")
|
|
124
125
|
throw new TypeError(je);
|
|
125
|
-
return
|
|
126
|
-
leading:
|
|
126
|
+
return x(i) && (n = "leading" in i ? !!i.leading : n, r = "trailing" in i ? !!i.trailing : r), Se(e, t, {
|
|
127
|
+
leading: n,
|
|
127
128
|
maxWait: t,
|
|
128
129
|
trailing: r
|
|
129
130
|
});
|
|
130
131
|
}
|
|
131
|
-
const Ee =
|
|
132
|
+
const Ee = X`@layer{arcgis-feature-expression{display:block}.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}}`, M = 1, N = "arcgis-feature", F = {
|
|
132
133
|
// widget
|
|
133
|
-
base: `${
|
|
134
|
+
base: `${N}-expression`,
|
|
134
135
|
// loading
|
|
135
|
-
loadingSpinnerContainer: `${
|
|
136
|
+
loadingSpinnerContainer: `${N}__loading-container`
|
|
136
137
|
};
|
|
137
|
-
class
|
|
138
|
+
class Oe extends D {
|
|
138
139
|
constructor() {
|
|
139
|
-
super(...arguments), this._compileThrottled = R(this._startCompile,
|
|
140
|
+
super(...arguments), this._compileThrottled = R(this._startCompile, M), this._evaluateThrottled = R(this._startEvaluate, M), this.headingLevel = 2;
|
|
140
141
|
}
|
|
141
142
|
static {
|
|
142
|
-
this.properties = { _compileTask: 16, _evaluateTask: 16, expressionInfo: 0, graphic: 0, headingLevel: 9, interceptor: 0, location: 0, messages: 0, spatialReference: 0, map: 0, view: 0 };
|
|
143
|
+
this.properties = { _compileTask: 16, _evaluateTask: 16, values: 0, fieldInfoMap: 0, expressionInfo: 0, graphic: 0, headingLevel: 9, interceptor: 0, location: 0, messages: 0, spatialReference: 0, map: 0, view: 0 };
|
|
143
144
|
}
|
|
144
145
|
static {
|
|
145
146
|
this.styles = Ee;
|
|
146
147
|
}
|
|
147
148
|
static {
|
|
148
|
-
this.shadowRootOptions =
|
|
149
|
+
this.shadowRootOptions = H;
|
|
149
150
|
}
|
|
150
151
|
loaded() {
|
|
151
152
|
this.manager.onLifecycle(() => [
|
|
@@ -153,15 +154,15 @@ class Ie extends H {
|
|
|
153
154
|
z(() => {
|
|
154
155
|
if (!this._compileTask?.finished)
|
|
155
156
|
return null;
|
|
156
|
-
const t = this._compileTask.value,
|
|
157
|
+
const t = this._compileTask.value, i = t?.dependencies, { view: n } = this;
|
|
157
158
|
return [
|
|
158
159
|
t,
|
|
159
160
|
this.spatialReference,
|
|
160
161
|
this.map,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
n,
|
|
163
|
+
i?.has("view-scale") && n && "scale" in n ? n.scale : null,
|
|
164
|
+
i?.has("view-time-extent") ? n?.timeExtent?.start : null,
|
|
165
|
+
i?.has("view-time-extent") ? n?.timeExtent?.end : null
|
|
165
166
|
];
|
|
166
167
|
}, ([t]) => this._evaluateThrottled(t)),
|
|
167
168
|
{
|
|
@@ -174,68 +175,74 @@ class Ie extends H {
|
|
|
174
175
|
}
|
|
175
176
|
_startCompile() {
|
|
176
177
|
this._evaluateTask = $(this._evaluateTask), this._compileTask = $(this._compileTask), this._compileTask = w(async (t) => {
|
|
177
|
-
const { expressionInfo:
|
|
178
|
-
if (!r || !
|
|
178
|
+
const { expressionInfo: i, graphic: n } = this, r = i?.expression;
|
|
179
|
+
if (!r || !n)
|
|
179
180
|
return null;
|
|
180
|
-
const
|
|
181
|
+
const o = await Z({
|
|
181
182
|
expression: r,
|
|
182
|
-
graphic:
|
|
183
|
+
graphic: n
|
|
183
184
|
});
|
|
184
|
-
return
|
|
185
|
+
return I(t), o;
|
|
185
186
|
});
|
|
186
187
|
}
|
|
187
188
|
_startEvaluate(t) {
|
|
188
|
-
this._evaluateTask = $(this._evaluateTask), this._evaluateTask = w(async (
|
|
189
|
-
const { graphic:
|
|
190
|
-
if (!t || !
|
|
189
|
+
this._evaluateTask = $(this._evaluateTask), this._evaluateTask = w(async (i) => {
|
|
190
|
+
const { graphic: n } = this;
|
|
191
|
+
if (!t || !n)
|
|
191
192
|
return null;
|
|
192
|
-
const { interceptor: r, spatialReference:
|
|
193
|
-
graphic:
|
|
193
|
+
const { interceptor: r, spatialReference: o, map: l, location: a, view: c } = this, u = await t.evaluate({
|
|
194
|
+
graphic: n,
|
|
194
195
|
interceptor: r,
|
|
195
|
-
location:
|
|
196
|
+
location: a,
|
|
196
197
|
map: l,
|
|
197
|
-
options: { signal:
|
|
198
|
-
spatialReference:
|
|
199
|
-
view:
|
|
198
|
+
options: { signal: i },
|
|
199
|
+
spatialReference: o,
|
|
200
|
+
view: c
|
|
200
201
|
});
|
|
201
|
-
|
|
202
|
-
const
|
|
203
|
-
if (!
|
|
202
|
+
I(i);
|
|
203
|
+
const h = u && "castAsJsonAsync" in u && typeof u.castAsJsonAsync == "function" ? u : null;
|
|
204
|
+
if (!h)
|
|
204
205
|
return null;
|
|
205
|
-
const
|
|
206
|
-
|
|
207
|
-
const
|
|
208
|
-
return !
|
|
206
|
+
const d = await h.castAsJsonAsync(i);
|
|
207
|
+
I(i);
|
|
208
|
+
const p = d?.type, f = p === "media" ? K.fromJSON(d) : p === "text" ? Y.fromJSON(d) : p === "fields" ? Q.fromJSON(d) : null;
|
|
209
|
+
return !f || f.type === "media" && !f.mediaInfos || f.type === "fields" && !f.fieldInfos || f.type === "text" && !f.text ? null : f;
|
|
209
210
|
});
|
|
210
211
|
}
|
|
211
212
|
render() {
|
|
212
213
|
const t = !this._compileTask?.finished || !this._evaluateTask?.finished;
|
|
213
|
-
return v`<div class=${O(
|
|
214
|
+
return v`<div class=${O(F.base)}>${t ? this._renderLoading() : this._evaluateTask?.value ? this._renderContent() : null}</div>`;
|
|
214
215
|
}
|
|
215
216
|
_renderContent() {
|
|
216
|
-
const t = this._evaluateTask?.value,
|
|
217
|
-
if (!
|
|
217
|
+
const { values: t, fieldInfoMap: i } = this, n = this._evaluateTask?.value, r = n?.type;
|
|
218
|
+
if (!r)
|
|
218
219
|
return null;
|
|
219
|
-
if (
|
|
220
|
-
const
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
220
|
+
if (r === "text") {
|
|
221
|
+
const o = ee({
|
|
222
|
+
values: t,
|
|
223
|
+
fieldInfoMap: i ?? /* @__PURE__ */ new Map(),
|
|
224
|
+
globalValues: t ?? {},
|
|
225
|
+
layer: void 0,
|
|
226
|
+
text: n.text
|
|
227
|
+
});
|
|
228
|
+
return v`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`;
|
|
229
|
+
} else if (r === "media") {
|
|
230
|
+
const { title: o, description: l, mediaInfos: a } = n;
|
|
231
|
+
if (!a?.length)
|
|
225
232
|
return null;
|
|
226
|
-
const
|
|
227
|
-
return v`<arcgis-feature-media .heading=${
|
|
228
|
-
} else if (
|
|
229
|
-
const { title:
|
|
230
|
-
return
|
|
233
|
+
const c = { ...t, ...n.attributes };
|
|
234
|
+
return v`<arcgis-feature-media .heading=${o ?? ""} .values=${c} .formattedValues=${c} .description=${l ?? ""} .mediaInfos=${a} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`;
|
|
235
|
+
} else if (r === "fields") {
|
|
236
|
+
const { title: o, description: l, fieldInfos: a } = n;
|
|
237
|
+
return a?.length ? v`<arcgis-feature-fields .fieldInfos=${a} .heading=${o ?? ""} .description=${l ?? ""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>` : null;
|
|
231
238
|
}
|
|
232
239
|
return null;
|
|
233
240
|
}
|
|
234
241
|
_renderLoading() {
|
|
235
|
-
return v`<div class=${O(
|
|
242
|
+
return v`<div class=${O(F.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
236
243
|
}
|
|
237
244
|
}
|
|
238
|
-
|
|
245
|
+
G("arcgis-feature-expression", Oe);
|
|
239
246
|
export {
|
|
240
|
-
|
|
247
|
+
Oe as ArcgisFeatureExpression
|
|
241
248
|
};
|
|
@@ -7,7 +7,7 @@ import { replace as f } from "@arcgis/core/applications/Components/stringUtils.j
|
|
|
7
7
|
import { e as _ } from "../../chunks/feature-utils.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.51 */
|
|
11
11
|
const w = [
|
|
12
12
|
{
|
|
13
13
|
pattern: /^\s*(https?:\/\/([^\s]+))\s*$/iu,
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as m } from "lit";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.51 */
|
|
11
11
|
const l = m`@layer{arcgis-feature-form{display:block}}`, g = h(s);
|
|
12
12
|
class n extends r {
|
|
13
13
|
constructor() {
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import { Nil } from '@arcgis/components-utils';
|
|
4
4
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
5
|
import { HeadingLevel } from '../../support/heading';
|
|
6
|
-
import { RelatedInfo } from '../../utils/related-feature-utils';
|
|
7
6
|
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
8
7
|
|
|
9
8
|
type MediaInfo = __esri.BarChartMediaInfo | __esri.ColumnChartMediaInfo | __esri.ImageMediaInfo | __esri.LineChartMediaInfo | __esri.PieChartMediaInfo;
|
|
@@ -22,9 +21,8 @@ export declare class ArcgisFeatureMedia extends LitElement {
|
|
|
22
21
|
layer?: __esri.Layer;
|
|
23
22
|
mediaInfos?: MediaInfo[];
|
|
24
23
|
popupTemplate?: __esri.PopupTemplate;
|
|
25
|
-
relatedInfos?: Map<string, RelatedInfo>;
|
|
24
|
+
relatedInfos?: Map<string, __esri.RelatedInfo>;
|
|
26
25
|
formattedValues?: HashMap<number | string>;
|
|
27
|
-
expressionValues?: HashMap<number | string>;
|
|
28
26
|
heading?: string;
|
|
29
27
|
/** @default false */
|
|
30
28
|
isAggregate: boolean;
|