@arcgis/map-components 5.0.0-next.1 → 5.0.0-next.11
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/26HZY6SE.js +4 -0
- package/dist/cdn/2A5VIOGY.js +4 -0
- package/dist/cdn/{OAVGTNLH.js → 2BH4Q6DY.js} +2 -2
- package/dist/cdn/{SSJO7VUT.js → 2UHMCHQD.js} +2 -2
- package/dist/cdn/{QRSXKOXJ.js → 2VODCFHM.js} +1 -1
- package/dist/cdn/{THT555FR.js → 346G23WQ.js} +2 -2
- package/dist/cdn/{L3S2GEXF.js → 3CAK4LBY.js} +2 -2
- package/dist/cdn/{FNMFT2SB.js → 3MB7KIUC.js} +2 -2
- package/dist/cdn/{OYNXBW6C.js → 3MZKMFP6.js} +2 -2
- package/dist/cdn/3QMEBFK4.js +4 -0
- package/dist/cdn/4H6MUFMW.js +4 -0
- package/dist/cdn/4IE62GK3.js +4 -0
- package/dist/cdn/{Z6QEPHNM.js → 4IIW2IZF.js} +2 -2
- package/dist/cdn/{TVQBL527.js → 4KKNJEGH.js} +2 -2
- package/dist/cdn/{A6K4P52C.js → 4M2D3NCN.js} +2 -2
- package/dist/cdn/{UR3BJIHR.js → 4NIO3OTE.js} +2 -2
- package/dist/cdn/4UZJRY7N.js +4 -0
- package/dist/cdn/4W2A3PE2.js +4 -0
- package/dist/cdn/4XOWGWID.js +4 -0
- package/dist/cdn/53SBCTC7.js +4 -0
- package/dist/cdn/5BKGKPTS.js +4 -0
- package/dist/cdn/{UUPWBRF6.js → 5G6IEDDN.js} +2 -2
- package/dist/cdn/{H5MZURWB.js → 5JR76PID.js} +2 -2
- package/dist/cdn/{THOLWPT2.js → 5KIXYGQX.js} +2 -2
- package/dist/cdn/{42LREVDQ.js → 5TDQAWIP.js} +2 -2
- package/dist/cdn/5THCCGII.js +4 -0
- package/dist/cdn/5WGVJW52.js +4 -0
- package/dist/cdn/63XVRMGU.js +4 -0
- package/dist/cdn/{AMWDHO5R.js → 6D4U6OWI.js} +2 -2
- package/dist/cdn/6ELUQ6DM.js +4 -0
- package/dist/cdn/{ZRGLEEUS.js → 6GQ2SOWG.js} +2 -2
- package/dist/cdn/{MLSMJKB7.js → 6GZLOZEC.js} +2 -2
- package/dist/cdn/{FHVHBCVL.js → 6IWYHGA7.js} +2 -2
- package/dist/cdn/{BOBOVYXW.js → 6K7X6ZZV.js} +2 -2
- package/dist/cdn/{MNNQ2ONJ.js → 6VVSXZT4.js} +2 -2
- package/dist/cdn/{RD572UXX.js → 6YTF4XLU.js} +1 -1
- package/dist/cdn/77F2SK75.js +4 -0
- package/dist/cdn/{MCXAXT6C.js → 7ARNGMYX.js} +2 -2
- package/dist/cdn/7CB3IT5D.js +4 -0
- package/dist/cdn/7IQY55G2.js +4 -0
- package/dist/cdn/7LINXYCY.js +4 -0
- package/dist/cdn/{OSOOI6BN.js → 7N6KFKQV.js} +1 -1
- package/dist/cdn/7PONMQ3F.js +4 -0
- package/dist/cdn/{ZFMPKCXJ.js → 7QOSXUUH.js} +2 -2
- package/dist/cdn/{XEMUVRQX.js → 7TADCM73.js} +2 -2
- package/dist/cdn/7VE5LSOQ.js +4 -0
- package/dist/cdn/7Y4FD7JI.js +4 -0
- package/dist/cdn/A27Y6OZC.js +4 -0
- package/dist/cdn/{QTZDMCJ3.js → A2YE73D5.js} +2 -2
- package/dist/cdn/{4UBBZ6SF.js → A3DMNZBR.js} +2 -2
- package/dist/cdn/A562F56P.js +9 -0
- package/dist/cdn/{YIU4233X.js → A5CWLVOC.js} +2 -2
- package/dist/cdn/{PIM22RZR.js → AE3R4TSZ.js} +2 -2
- package/dist/cdn/AII3W3CH.js +4 -0
- package/dist/cdn/{LTRIS6J5.js → ARJ5P3HF.js} +2 -2
- package/dist/cdn/{TKFMAB7T.js → AWAYTWEQ.js} +2 -2
- package/dist/cdn/B5NY56TN.js +4 -0
- package/dist/cdn/B5OIDYRL.js +4 -0
- package/dist/cdn/{AYGXIBNT.js → B7ON6ZWQ.js} +2 -2
- package/dist/cdn/{QZVUDHAL.js → BNEB5FIB.js} +2 -2
- package/dist/cdn/C4LCUFHK.js +4 -0
- package/dist/cdn/{AWZM3YBI.js → CCJD66O7.js} +2 -2
- package/dist/cdn/{27D5LY57.js → CCMEBMVK.js} +2 -2
- package/dist/cdn/{E4EHMNXV.js → CJFT2RPL.js} +2 -2
- package/dist/cdn/{QTJNLCEH.js → CMZWD5RB.js} +2 -2
- package/dist/cdn/{3MCTFEIH.js → COG2XZJ4.js} +2 -2
- package/dist/cdn/{2GPSZQZ4.js → CPH5KXWW.js} +2 -2
- package/dist/cdn/{K2TQ5BZF.js → CQD2E3EO.js} +2 -2
- package/dist/cdn/CYIG5WAO.js +4 -0
- package/dist/cdn/D3KZOWC5.js +4 -0
- package/dist/cdn/{BLPOLHPE.js → D4UK7TXI.js} +2 -2
- package/dist/cdn/{JLBB7CUI.js → DBCBXZGR.js} +2 -2
- package/dist/cdn/DCLGIFWJ.js +4 -0
- package/dist/cdn/{OUG55BXM.js → DHFIKC5B.js} +2 -2
- package/dist/cdn/DKEOJZMT.js +4 -0
- package/dist/cdn/{LTRDZSBF.js → DLT5VRSM.js} +2 -2
- package/dist/cdn/DR6LRJV7.js +4 -0
- package/dist/cdn/DUELSXM2.js +4 -0
- package/dist/cdn/{BU3HMAPW.js → EB5KTLHZ.js} +2 -2
- package/dist/cdn/EBKGUXVU.js +4 -0
- package/dist/cdn/{NXUX5W4U.js → EFX4VPVG.js} +2 -2
- package/dist/cdn/{3GXVR5GV.js → EHZXVON2.js} +2 -2
- package/dist/cdn/{AMDQPIUR.js → EIO2UTBP.js} +2 -2
- package/dist/cdn/{W66L6MRX.js → ET6N4V26.js} +2 -2
- package/dist/cdn/EWYHWODH.js +4 -0
- package/dist/cdn/EXXC6N6V.js +4 -0
- package/dist/cdn/F3JPQLFG.js +4 -0
- package/dist/cdn/{M5NGMCTD.js → F4K2QOF6.js} +2 -2
- package/dist/cdn/{ZVO73H77.js → FFXUE5X3.js} +2 -2
- package/dist/cdn/FGGL7KXL.js +4 -0
- package/dist/cdn/{4LW2T2YX.js → FILSCW6P.js} +2 -2
- package/dist/cdn/{C64KBKDQ.js → FJKT27V6.js} +2 -2
- package/dist/cdn/FKC7ON5U.js +4 -0
- package/dist/cdn/FOX4TR3X.js +4 -0
- package/dist/cdn/{CZMF62FW.js → FT472J6P.js} +2 -2
- package/dist/cdn/G7JKDYGX.js +4 -0
- package/dist/cdn/GCTOX3SJ.js +4 -0
- package/dist/cdn/{AXETG3J7.js → GDB6USKW.js} +2 -2
- package/dist/cdn/GE3LOAK7.js +4 -0
- package/dist/cdn/GF7TCENR.js +4 -0
- package/dist/cdn/GNBCLZQ2.js +4 -0
- package/dist/cdn/{JMFE2J6D.js → GQBZ5JZQ.js} +1 -1
- package/dist/cdn/GV2KXE75.js +4 -0
- package/dist/cdn/{CDLGY4J6.js → GWQ4QCMI.js} +2 -2
- package/dist/cdn/{YZMRGG4D.js → HDLCRVAP.js} +2 -2
- package/dist/cdn/HI7LEDFM.js +4 -0
- package/dist/cdn/HTA3AY4I.js +4 -0
- package/dist/cdn/{LEYFVAKA.js → HVWGO66M.js} +2 -2
- package/dist/cdn/HXC3HZFZ.js +4 -0
- package/dist/cdn/{WYBIHIVJ.js → IALA3SPX.js} +2 -2
- package/dist/cdn/IQK6R2QN.js +4 -0
- package/dist/cdn/ISCFUMBL.js +4 -0
- package/dist/cdn/{NULOJB5V.js → J3VJOTWQ.js} +2 -2
- package/dist/cdn/{CH7SBFEL.js → J3YKUHRB.js} +2 -2
- package/dist/cdn/J72O2M2H.js +4 -0
- package/dist/cdn/{C7XY3MEB.js → JAJEDW3U.js} +2 -2
- package/dist/cdn/JBQOAR5I.js +4 -0
- package/dist/cdn/{K6BMVYUS.js → JFB2LY6Y.js} +2 -2
- package/dist/cdn/{NLIVWTQ7.js → JHLGKPJ7.js} +2 -2
- package/dist/cdn/{ZCE45PVP.js → JYTTAXKQ.js} +2 -2
- package/dist/cdn/{ZBEL2VXD.js → K22CMR2S.js} +2 -2
- package/dist/cdn/K5PLCUWO.js +4 -0
- package/dist/cdn/KCYYBD5Y.js +4 -0
- package/dist/cdn/KHVZBGOP.js +4 -0
- package/dist/cdn/KJBVI42V.js +4 -0
- package/dist/cdn/{IN53Z5QU.js → KLZ2UCMX.js} +2 -2
- package/dist/cdn/{H4DKOG6A.js → L2ZLU5KH.js} +2 -2
- package/dist/cdn/L4XYWLGJ.js +4 -0
- package/dist/cdn/LRLLBCL5.js +4 -0
- package/dist/cdn/{P5DQCWRT.js → LWDLGMAE.js} +2 -2
- package/dist/cdn/{CKXE5HKV.js → LXOSIPNU.js} +2 -2
- package/dist/cdn/LYFBP2MC.js +4 -0
- package/dist/cdn/{3O3G7CHQ.js → LYYDCB25.js} +2 -2
- package/dist/cdn/{4CMHKMQ6.js → M6LGYL2R.js} +2 -2
- package/dist/cdn/MOPKSZK7.js +4 -0
- package/dist/cdn/MQ52JULI.js +4 -0
- package/dist/cdn/N7BISCWS.js +4 -0
- package/dist/cdn/NPAIISRH.js +4 -0
- package/dist/cdn/{LDODH7MF.js → NTYIMQXR.js} +2 -2
- package/dist/cdn/{SZ7N2WIA.js → NUXB5FKK.js} +2 -2
- package/dist/cdn/NVQVCEOF.js +4 -0
- package/dist/cdn/{XDTV2N42.js → NW6L56MR.js} +1 -1
- package/dist/cdn/NWFHIDIJ.js +5 -0
- package/dist/cdn/O7EUFHPU.js +4 -0
- package/dist/cdn/OC5REUAZ.js +4 -0
- package/dist/cdn/{KEWEWXAV.js → OCFJZFMZ.js} +2 -2
- package/dist/cdn/{5KDV4SSZ.js → OOCXRF5D.js} +2 -2
- package/dist/cdn/OYJY44FZ.js +4 -0
- package/dist/cdn/{6BBD5JPR.js → PFBB7FF3.js} +2 -2
- package/dist/cdn/{IOHQYAJY.js → PIGPI7QV.js} +2 -2
- package/dist/cdn/{SYBV6HCB.js → PSGR25DD.js} +2 -2
- package/dist/cdn/Q4DCWW45.js +4 -0
- package/dist/cdn/QGFLT4MG.js +4 -0
- package/dist/cdn/{TTGJGIXX.js → QN647A4S.js} +2 -2
- package/dist/cdn/QROJUA46.js +4 -0
- package/dist/cdn/{FZY26WO4.js → QWBMXHXQ.js} +2 -2
- package/dist/cdn/{EDMSWCZF.js → R7MXCUYF.js} +2 -2
- package/dist/cdn/{ZGYSINDA.js → RKOVVFXR.js} +1 -1
- package/dist/cdn/{ZAMRHVHR.js → RQPR5TQB.js} +2 -2
- package/dist/cdn/{TJFWI4RN.js → RUKDAZKW.js} +2 -2
- package/dist/cdn/{7DQITGM7.js → S4MKIDKL.js} +2 -2
- package/dist/cdn/{27P5CKIL.js → S6TIY4QB.js} +2 -2
- package/dist/cdn/{5MUGASLZ.js → SKGVRY4L.js} +2 -2
- package/dist/cdn/{QGJ53GY5.js → SL7LNVZY.js} +1 -1
- package/dist/cdn/{L5CIL4S6.js → SVB3WA6G.js} +1 -1
- package/dist/cdn/{LUVEB5WC.js → SWLINKCI.js} +2 -2
- package/dist/cdn/{Z2KA3GCH.js → SZCVLEAX.js} +2 -2
- package/dist/cdn/T5PZTXLE.js +4 -0
- package/dist/cdn/TALD3JKN.js +4 -0
- package/dist/cdn/TFPAHYKT.js +4 -0
- package/dist/cdn/TH5EQVP6.js +4 -0
- package/dist/cdn/TK4NDIYR.js +4 -0
- package/dist/cdn/{7SBIPOGZ.js → TKMBWULC.js} +2 -2
- package/dist/cdn/{YYSK24LW.js → TSZNJWNB.js} +2 -2
- package/dist/cdn/{VSIY5RM3.js → TVV6CYMV.js} +2 -2
- package/dist/cdn/{DMI7BW5Z.js → TXQ6D7B4.js} +2 -2
- package/dist/cdn/{LU7OCXFW.js → U3A3L6GP.js} +2 -2
- package/dist/cdn/{TYZRTHCW.js → U4X4RZWQ.js} +2 -2
- package/dist/cdn/{N5U3HG2F.js → U5JXLCNL.js} +2 -2
- package/dist/cdn/{OHJJ4CFM.js → UFUG3USO.js} +2 -2
- package/dist/cdn/{7SVNYMDO.js → UKVHR5V7.js} +2 -2
- package/dist/cdn/UOYVRRBC.js +4 -0
- package/dist/cdn/{OUYEXJF2.js → UTSOV4GI.js} +2 -2
- package/dist/cdn/UWODK3GX.js +4 -0
- package/dist/cdn/{LNKN23WA.js → UWTTTLPX.js} +2 -2
- package/dist/cdn/{T6CXQFYL.js → UYBJBIXS.js} +2 -2
- package/dist/cdn/UYF2NNQR.js +4 -0
- package/dist/cdn/VDEPSWVD.js +4 -0
- package/dist/cdn/VMRKP2RT.js +4 -0
- package/dist/cdn/{KGBKEGGD.js → VQHCTMEY.js} +1 -1
- package/dist/cdn/{WJW6SKYB.js → VVXG65LH.js} +2 -2
- package/dist/cdn/VY57LHZA.js +4 -0
- package/dist/cdn/W6TUFLRG.js +4 -0
- package/dist/cdn/{DEC45ZOV.js → WK654BMF.js} +2 -2
- package/dist/cdn/WL5BIR7H.js +4 -0
- package/dist/cdn/{D6SOZWKA.js → WMPJY6OB.js} +2 -2
- package/dist/cdn/{V4U65AFR.js → WN3XEGN6.js} +1 -1
- package/dist/cdn/{YJZG2K6M.js → WS6UNXOH.js} +2 -2
- package/dist/cdn/{OQSZ2IPM.js → WUDMJU6S.js} +2 -2
- package/dist/cdn/WVAJC2DA.js +4 -0
- package/dist/cdn/{AJCTUEY7.js → WVIP3IXR.js} +2 -2
- package/dist/cdn/WWWSMIJF.js +4 -0
- package/dist/cdn/{Q64OZXTQ.js → XHW57E7H.js} +2 -2
- package/dist/cdn/XI5C7PM7.js +4 -0
- package/dist/cdn/XNQXOLQW.js +4 -0
- package/dist/cdn/{2KHATNUA.js → XNWYZOGJ.js} +2 -2
- package/dist/cdn/{3YIQQT63.js → XTUEFBZA.js} +2 -2
- package/dist/cdn/XVQJ7Q3Y.js +4 -0
- package/dist/cdn/XW3FDVW2.js +4 -0
- package/dist/cdn/{6EVWV5HC.js → XX4ED5VW.js} +2 -2
- package/dist/cdn/{C4E77IEU.js → Y6D3K766.js} +2 -2
- package/dist/cdn/{KZFKH5QF.js → YHKCMCOZ.js} +2 -2
- package/dist/cdn/YMJFLXLO.js +4 -0
- package/dist/cdn/{PMNYDGPN.js → YNCN3MBH.js} +2 -2
- package/dist/cdn/YOZFU3AB.js +4 -0
- package/dist/cdn/{2IHYFX3W.js → YYFFF4W6.js} +2 -2
- package/dist/cdn/Z2KDIZSF.js +4 -0
- package/dist/cdn/{266MFGHJ.js → Z2SWX3SG.js} +2 -2
- package/dist/cdn/ZCXD4JY3.js +4 -0
- package/dist/cdn/{INNY43QS.js → ZDJBHFHH.js} +2 -2
- package/dist/cdn/ZIDUS336.js +4 -0
- package/dist/cdn/{KKRW3J5Y.js → ZOYT6Z67.js} +2 -2
- package/dist/cdn/ZQTHGW75.js +4 -0
- package/dist/cdn/ZUDEQ7EY.js +4 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +39 -35
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- 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/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- 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/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +86 -0
- 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 +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -4
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- 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.d.ts +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 +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +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.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +80 -71
- package/dist/components/arcgis-daylight/customElement.js +142 -146
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +4 -4
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-elevation-profile-next/customElement.js +199 -150
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +1 -8
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/customElement.js +29 -35
- package/dist/components/arcgis-feature/customElement.d.ts +5 -4
- package/dist/components/arcgis-feature/customElement.js +88 -75
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-fields/customElement.js +38 -34
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +177 -176
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -6
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +3 -4
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +8 -8
- 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.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +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.d.ts +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.d.ts +1 -0
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +59 -3
- package/dist/components/arcgis-link-chart/customElement.js +21 -15
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- 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.d.ts +99 -36
- package/dist/components/arcgis-map/customElement.js +26 -20
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- 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.d.ts +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +48 -16
- package/dist/components/arcgis-popup/customElement.js +66 -69
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- 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 +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- 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 +17 -15
- 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.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +45 -5
- package/dist/components/arcgis-scene/customElement.js +22 -16
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -2
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -3
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +8 -8
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- 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-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +2 -2
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +8 -1
- package/dist/components/arcgis-video-player/customElement.js +22 -25
- 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/controllers/uiController.d.ts +6 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +1130 -144
- package/dist/docs/docs.json +1137 -152
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +66 -12
- package/dist/docs/web-types.json +317 -68
- package/dist/index.d.ts +32 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +19 -15
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +26 -7
- package/dist/types/preact.d.ts +28 -7
- package/dist/types/preact10.d.ts +30 -7
- package/dist/types/react.d.ts +30 -7
- package/dist/types/stencil.d.ts +26 -7
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +6 -6
- package/dist/cdn/2P44O4O2.js +0 -5
- package/dist/cdn/2WUIMDA5.js +0 -4
- package/dist/cdn/3CLH3YYD.js +0 -4
- package/dist/cdn/3FDYM5PP.js +0 -4
- package/dist/cdn/3HX6B7TR.js +0 -9
- package/dist/cdn/3NB7G4LV.js +0 -4
- package/dist/cdn/4C3LMRNG.js +0 -4
- package/dist/cdn/4ENSVHTY.js +0 -4
- package/dist/cdn/4GEIPOJK.js +0 -4
- package/dist/cdn/4HJSTTJF.js +0 -4
- package/dist/cdn/4TGXA7B7.js +0 -4
- package/dist/cdn/5I5DVOZZ.js +0 -4
- package/dist/cdn/5UBBANGR.js +0 -4
- package/dist/cdn/5ZG67RG4.js +0 -4
- package/dist/cdn/6HGJSV2O.js +0 -4
- package/dist/cdn/75L54XPX.js +0 -4
- package/dist/cdn/7EHYUARR.js +0 -4
- package/dist/cdn/7F34D57K.js +0 -4
- package/dist/cdn/7XVX4A27.js +0 -4
- package/dist/cdn/AGCG5FPU.js +0 -4
- package/dist/cdn/AZ722YCG.js +0 -4
- package/dist/cdn/B6R7BCOO.js +0 -4
- package/dist/cdn/BVKOLYDR.js +0 -4
- package/dist/cdn/CNGVFNRG.js +0 -4
- package/dist/cdn/CVVEOUP3.js +0 -4
- package/dist/cdn/CZ7FY7WK.js +0 -4
- package/dist/cdn/DH6B5HOV.js +0 -4
- package/dist/cdn/DQTQKAKC.js +0 -4
- package/dist/cdn/E3RHVSUI.js +0 -4
- package/dist/cdn/ESRJARQ6.js +0 -4
- package/dist/cdn/FDFLOP6T.js +0 -4
- package/dist/cdn/FUJ3MOBY.js +0 -4
- package/dist/cdn/GD3ELGYS.js +0 -4
- package/dist/cdn/H63I2B6H.js +0 -4
- package/dist/cdn/HPSTWRGP.js +0 -4
- package/dist/cdn/HZGKQD2C.js +0 -4
- package/dist/cdn/IHY4QCGU.js +0 -4
- package/dist/cdn/IULWUKC7.js +0 -4
- package/dist/cdn/JKQU5OTM.js +0 -4
- package/dist/cdn/JTRGCV3P.js +0 -4
- package/dist/cdn/JU57L2NI.js +0 -4
- package/dist/cdn/K3TD3WGY.js +0 -4
- package/dist/cdn/K6M6N4JP.js +0 -4
- package/dist/cdn/KBM7LWA6.js +0 -4
- package/dist/cdn/KCTA4G5Y.js +0 -4
- package/dist/cdn/KEXVBAZW.js +0 -4
- package/dist/cdn/KL6RI2DE.js +0 -4
- package/dist/cdn/KNGOI2NF.js +0 -4
- package/dist/cdn/KYNTUK7X.js +0 -4
- package/dist/cdn/L5PMMB34.js +0 -4
- package/dist/cdn/LA3O2Q3F.js +0 -4
- package/dist/cdn/LBKXCP57.js +0 -4
- package/dist/cdn/LHFYVKNV.js +0 -4
- package/dist/cdn/M2ZHK76G.js +0 -4
- package/dist/cdn/M7UPMMQQ.js +0 -4
- package/dist/cdn/MEKIRW6O.js +0 -4
- package/dist/cdn/MKCR2EEV.js +0 -4
- package/dist/cdn/MNHIWHDP.js +0 -4
- package/dist/cdn/MWQNC6JX.js +0 -4
- package/dist/cdn/NAJKA4JQ.js +0 -4
- package/dist/cdn/NTIGDTMA.js +0 -4
- package/dist/cdn/O76PCIDG.js +0 -4
- package/dist/cdn/P2LPJ3UW.js +0 -4
- package/dist/cdn/PAHGNWYF.js +0 -4
- package/dist/cdn/PK2P7LOX.js +0 -4
- package/dist/cdn/PP72DPJR.js +0 -4
- package/dist/cdn/PSGZR5ND.js +0 -4
- package/dist/cdn/PWF6GFRL.js +0 -4
- package/dist/cdn/Q7MJGW2R.js +0 -4
- package/dist/cdn/Q7U3VLMH.js +0 -4
- package/dist/cdn/QMOSSWPF.js +0 -4
- package/dist/cdn/QS5FBU6C.js +0 -4
- package/dist/cdn/QSJ3KILL.js +0 -4
- package/dist/cdn/RAU2BRBJ.js +0 -4
- package/dist/cdn/RIU427QE.js +0 -4
- package/dist/cdn/SJJBGQIS.js +0 -4
- package/dist/cdn/STO2VUQY.js +0 -4
- package/dist/cdn/TEWD3DJ2.js +0 -4
- package/dist/cdn/UX5G6TUG.js +0 -4
- package/dist/cdn/UXIUCHSK.js +0 -4
- package/dist/cdn/VH5NR7DL.js +0 -4
- package/dist/cdn/VU2ADM27.js +0 -4
- package/dist/cdn/WVLVS2MQ.js +0 -4
- package/dist/cdn/XSVVZKDP.js +0 -4
- package/dist/cdn/XWVLK657.js +0 -4
- package/dist/cdn/XZEFDWPA.js +0 -4
- package/dist/cdn/YCYNJ6S4.js +0 -4
- package/dist/cdn/YMUEX6Q2.js +0 -4
- package/dist/cdn/ZH2NNOYY.js +0 -4
- package/dist/cdn/ZIUWKQD5.js +0 -4
- package/dist/cdn/ZX3IRVWI.js +0 -4
- package/dist/chunks/uiController.js +0 -45
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { ref as
|
|
4
|
-
import { keyed as
|
|
5
|
-
import { useMedia as
|
|
6
|
-
import { getColorsFromRenderer as
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { substitute as
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import te from "@arcgis/core/popup/FieldInfo.js";
|
|
1
|
+
import { c as W } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as G, html as y } from "lit";
|
|
3
|
+
import { ref as q } from "lit/directives/ref.js";
|
|
4
|
+
import { keyed as K } from "lit/directives/keyed.js";
|
|
5
|
+
import { useDirection as J, useMedia as Q } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { getColorsFromRenderer as Z } from "@arcgis/core/renderers/support/utils.js";
|
|
7
|
+
import { LitElement as ee, safeClassMap as C, nothing as b } from "@arcgis/lumina";
|
|
8
|
+
import { substitute as te } from "@arcgis/core/intl.js";
|
|
9
|
+
import { watch as ie } from "@arcgis/core/core/reactiveUtils.js";
|
|
10
|
+
import ae from "@arcgis/core/popup/FieldInfo.js";
|
|
12
11
|
import P from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
13
|
-
import { unsafeGetCalciteModeName as
|
|
12
|
+
import { unsafeGetCalciteModeName as re } from "@arcgis/toolkit/dom";
|
|
14
13
|
import { renderingSanitizer as X } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
15
|
-
import { i as $, s as
|
|
14
|
+
import { i as $, s as L, f as E, b as Y, c as ne, a as U, d as se, e as oe, h as B, j as le } from "../../chunks/feature-utils.js";
|
|
16
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
16
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
18
|
-
v5.0.0-next.
|
|
19
|
-
const
|
|
20
|
-
function
|
|
21
|
-
if (!$(
|
|
17
|
+
v5.0.0-next.11 */
|
|
18
|
+
const ce = G`.arcgis-feature-media__container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.arcgis-feature-media__container .arcgis-feature-media__pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.arcgis-feature-media__container .arcgis-feature-media__pagination-button:hover,.arcgis-feature-media__container .arcgis-feature-media__pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.arcgis-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-snug)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-snug)}.arcgis-feature-media__item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.arcgis-feature-media__item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.arcgis-feature-media__item-text{margin-inline-end:var(--calcite-spacing-xs)}.arcgis-feature-media__pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.arcgis-feature-media__pagination:only-child{margin-inline-start:auto}.arcgis-feature-media__pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-feature-media__item-container{flex:0 1 auto;width:100%}.arcgis-feature-media__item-container img{max-width:100%}.arcgis-feature-media__item-container img[src$=".SVG"],.arcgis-feature-media__item-container img[src$=".svg"]{width:100%}.arcgis-feature-media__chart{width:100%;height:155px}`;
|
|
19
|
+
function N(F) {
|
|
20
|
+
if (!$(F))
|
|
22
21
|
return null;
|
|
23
|
-
const [e, t] =
|
|
22
|
+
const [e, t] = F.split("/").slice(1);
|
|
24
23
|
return { layerId: e, fieldName: t };
|
|
25
24
|
}
|
|
26
|
-
const
|
|
27
|
-
base:
|
|
28
|
-
mediaContainer: `${
|
|
29
|
-
mediaItemContainer: `${
|
|
30
|
-
mediaItem: `${
|
|
31
|
-
mediaItemText: `${
|
|
32
|
-
mediaItemTitle: `${
|
|
33
|
-
mediaItemCaption: `${
|
|
34
|
-
mediaNavigation: `${
|
|
35
|
-
mediaPagination: `${
|
|
36
|
-
mediaPaginationText: `${
|
|
37
|
-
mediaChart: `${
|
|
38
|
-
mediaPaginationButton: `${
|
|
39
|
-
mediaPaginationIcon: `${
|
|
40
|
-
mediaChartRendered: `${
|
|
41
|
-
},
|
|
42
|
-
class
|
|
25
|
+
const M = "arcgis-feature-media", v = {
|
|
26
|
+
base: M,
|
|
27
|
+
mediaContainer: `${M}__container`,
|
|
28
|
+
mediaItemContainer: `${M}__item-container`,
|
|
29
|
+
mediaItem: `${M}__item`,
|
|
30
|
+
mediaItemText: `${M}__item-text`,
|
|
31
|
+
mediaItemTitle: `${M}__item-title`,
|
|
32
|
+
mediaItemCaption: `${M}__item-caption`,
|
|
33
|
+
mediaNavigation: `${M}__item-navigation`,
|
|
34
|
+
mediaPagination: `${M}__pagination`,
|
|
35
|
+
mediaPaginationText: `${M}__pagination-text`,
|
|
36
|
+
mediaChart: `${M}__chart`,
|
|
37
|
+
mediaPaginationButton: `${M}__pagination-button`,
|
|
38
|
+
mediaPaginationIcon: `${M}__pagination-icon`,
|
|
39
|
+
mediaChartRendered: `${M}__chart--rendered`
|
|
40
|
+
}, V = 15, w = "category", T = "value", de = "rgba(50, 50, 50, 1)", ue = 250, me = 500, he = 200;
|
|
41
|
+
class fe extends ee {
|
|
43
42
|
constructor() {
|
|
44
|
-
super(...arguments), this._prefersReducedMotion =
|
|
43
|
+
super(...arguments), this._direction = J(), this._prefersReducedMotion = Q("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.isAggregate = !1, this.headingLevel = 2;
|
|
45
44
|
}
|
|
46
45
|
static {
|
|
47
46
|
this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, activeMediaInfoIndex: 9, chartAnimationDisabled: 5, activeMediaInfo: 32, formattedMediaInfos: 32, description: 1, fieldInfoMap: 0, layer: 0, mediaInfos: 0, popupTemplate: 0, relatedInfos: 0, formattedValues: 0, heading: 1, isAggregate: 5, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
48
47
|
}
|
|
49
48
|
static {
|
|
50
|
-
this.styles =
|
|
49
|
+
this.styles = ce;
|
|
51
50
|
}
|
|
52
51
|
get activeMediaInfo() {
|
|
53
52
|
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
@@ -69,7 +68,7 @@ class he extends Q {
|
|
|
69
68
|
}
|
|
70
69
|
loaded() {
|
|
71
70
|
this.manager.onLifecycle(() => [
|
|
72
|
-
|
|
71
|
+
ie(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
|
|
73
72
|
{ remove: () => this._clearMediaRefreshTimer() }
|
|
74
73
|
]);
|
|
75
74
|
}
|
|
@@ -87,19 +86,19 @@ class he extends Q {
|
|
|
87
86
|
const n = s?.clone();
|
|
88
87
|
if (!n)
|
|
89
88
|
return null;
|
|
90
|
-
if (n.title =
|
|
89
|
+
if (n.title = L({
|
|
91
90
|
values: i,
|
|
92
91
|
fieldInfoMap: r,
|
|
93
92
|
globalValues: a,
|
|
94
93
|
layer: t,
|
|
95
94
|
text: n.title
|
|
96
|
-
}), n.caption =
|
|
95
|
+
}), n.caption = L({
|
|
97
96
|
values: i,
|
|
98
97
|
fieldInfoMap: r,
|
|
99
98
|
globalValues: a,
|
|
100
99
|
layer: t,
|
|
101
100
|
text: n.caption
|
|
102
|
-
}), n.altText =
|
|
101
|
+
}), n.altText = L({
|
|
103
102
|
values: i,
|
|
104
103
|
fieldInfoMap: r,
|
|
105
104
|
globalValues: a,
|
|
@@ -150,83 +149,88 @@ class he extends Q {
|
|
|
150
149
|
}
|
|
151
150
|
}
|
|
152
151
|
_setChartValue(e) {
|
|
153
|
-
const { value: t, values: i, formattedValues: a, chartType: r, layer: s } = e, { popupTemplate: n, relatedInfos: o } = this, { fields:
|
|
154
|
-
if (t.fields =
|
|
152
|
+
const { value: t, values: i, formattedValues: a, chartType: r, layer: s } = e, { popupTemplate: n, relatedInfos: o } = this, { fields: c, normalizeField: _ } = t, d = s;
|
|
153
|
+
if (t.fields = ne(c, d), _ && (t.normalizeField = U(_, d)), !c.some((u) => !!(a[u] != null || $(u) && o?.size)))
|
|
155
154
|
return;
|
|
156
|
-
const
|
|
157
|
-
t.series = [],
|
|
155
|
+
const m = n?.fieldInfos ?? [];
|
|
156
|
+
t.series = [], c.forEach((u, h) => {
|
|
158
157
|
const f = t.colors?.[h];
|
|
159
|
-
if ($(
|
|
158
|
+
if ($(u)) {
|
|
160
159
|
t.series = [
|
|
161
160
|
...t.series,
|
|
162
|
-
...this._getRelatedChartInfos({ fieldInfos:
|
|
161
|
+
...this._getRelatedChartInfos({ fieldInfos: m, fieldName: u, formattedValues: a, chartType: r, value: t, color: f })
|
|
163
162
|
];
|
|
164
163
|
return;
|
|
165
164
|
}
|
|
166
|
-
const
|
|
165
|
+
const p = this._getChartOption({
|
|
167
166
|
value: t,
|
|
168
167
|
values: i,
|
|
169
168
|
chartType: r,
|
|
170
169
|
formattedValues: a,
|
|
171
|
-
fieldName:
|
|
172
|
-
fieldInfos:
|
|
170
|
+
fieldName: u,
|
|
171
|
+
fieldInfos: m,
|
|
173
172
|
color: f
|
|
174
173
|
});
|
|
175
|
-
t.series.push(
|
|
174
|
+
t.series.push(p);
|
|
176
175
|
});
|
|
177
176
|
}
|
|
178
177
|
_getRelatedChartInfos(e) {
|
|
179
|
-
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: r, value: s, color: n } = e, o = [],
|
|
180
|
-
if (!
|
|
178
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: r, value: s, color: n } = e, o = [], c = N(i), _ = c && this.relatedInfos?.get(c.layerId);
|
|
179
|
+
if (!_)
|
|
181
180
|
return o;
|
|
182
|
-
const { relatedFeatures:
|
|
183
|
-
if (!l || !
|
|
181
|
+
const { relatedFeatures: d, relation: l } = _;
|
|
182
|
+
if (!l || !d)
|
|
184
183
|
return o;
|
|
185
|
-
const { cardinality:
|
|
186
|
-
return
|
|
184
|
+
const { cardinality: m } = l;
|
|
185
|
+
return d.forEach((h) => {
|
|
187
186
|
const f = h.attributes;
|
|
188
|
-
f && Object.keys(f).forEach((
|
|
189
|
-
|
|
187
|
+
f && Object.keys(f).forEach((p) => {
|
|
188
|
+
p === c.fieldName && o.push(this._getChartOption({
|
|
190
189
|
value: s,
|
|
191
190
|
values: f,
|
|
192
191
|
formattedValues: a,
|
|
193
192
|
fieldName: i,
|
|
194
193
|
chartType: r,
|
|
195
|
-
relatedFieldName:
|
|
196
|
-
hasMultipleRelatedFeatures:
|
|
194
|
+
relatedFieldName: p,
|
|
195
|
+
hasMultipleRelatedFeatures: d?.length > 1,
|
|
197
196
|
fieldInfos: t,
|
|
198
197
|
color: n
|
|
199
198
|
}));
|
|
200
199
|
});
|
|
201
|
-
}),
|
|
200
|
+
}), m && (m === "one-to-many" || m === "many-to-many") ? o : [o[0]];
|
|
202
201
|
}
|
|
203
202
|
_getTooltip({ label: e, value: t, chartType: i }) {
|
|
204
203
|
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
205
204
|
}
|
|
206
205
|
_getChartOption(e) {
|
|
207
|
-
const { value: t, values: i, formattedValues: a, fieldName: r, relatedFieldName: s, fieldInfos: n, chartType: o, hasMultipleRelatedFeatures:
|
|
206
|
+
const { value: t, values: i, formattedValues: a, fieldName: r, relatedFieldName: s, fieldInfos: n, chartType: o, hasMultipleRelatedFeatures: c, color: _ } = e, { layer: d, isAggregate: l } = this, m = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: u, tooltipField: h } = t, f = u ? $(u) ? i[N(u).fieldName] : i[u] : null, p = se(r) && a?.[r] !== void 0 ? a[r] : s && i[s] !== void 0 ? i[s] : i[r] !== void 0 ? i[r] : a[r], I = p === void 0 ? null : p && f && typeof p == "number" && typeof f == "number" ? p / f : p, x = oe(n, r), g = U(r, d), A = (h && a[h] !== void 0 ? a[h] : B({
|
|
207
|
+
fieldInfo: x || new ae({ fieldName: g }),
|
|
208
|
+
expressionInfos: this.popupTemplate?.expressionInfos,
|
|
209
|
+
isAggregate: l,
|
|
210
|
+
layer: d
|
|
211
|
+
})) ?? "", S = a[g] ?? "", z = I != null ? typeof I == "number" ? I : Number(I) : null;
|
|
208
212
|
if ($(r)) {
|
|
209
|
-
const
|
|
213
|
+
const R = m.get(r.toLowerCase()), H = h ? m.get(h.toLowerCase()) : null, D = R?.fieldName ?? r, k = c && h ? N(h).fieldName : H?.fieldName ?? h, O = (c && k ? i[k] : a[k] ?? (R && B({ fieldInfo: R, layer: d, isAggregate: l })) ?? R?.fieldName ?? s) ?? "", j = (c && s ? i[s] : a[D]) ?? "";
|
|
210
214
|
return new P({
|
|
211
215
|
fieldName: r,
|
|
212
216
|
tooltip: this._getTooltip({
|
|
213
|
-
label:
|
|
214
|
-
value:
|
|
217
|
+
label: O,
|
|
218
|
+
value: j,
|
|
215
219
|
chartType: o
|
|
216
220
|
}),
|
|
217
|
-
color:
|
|
218
|
-
value:
|
|
221
|
+
color: _,
|
|
222
|
+
value: z
|
|
219
223
|
});
|
|
220
224
|
}
|
|
221
225
|
return new P({
|
|
222
226
|
fieldName: r,
|
|
223
227
|
tooltip: this._getTooltip({
|
|
224
|
-
label:
|
|
225
|
-
value:
|
|
228
|
+
label: A,
|
|
229
|
+
value: S,
|
|
226
230
|
chartType: o
|
|
227
231
|
}),
|
|
228
|
-
color:
|
|
229
|
-
value:
|
|
232
|
+
color: _,
|
|
233
|
+
value: z
|
|
230
234
|
});
|
|
231
235
|
}
|
|
232
236
|
_getRenderer() {
|
|
@@ -243,7 +247,7 @@ class he extends Q {
|
|
|
243
247
|
const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
|
|
244
248
|
if (!i)
|
|
245
249
|
return t;
|
|
246
|
-
const r = await
|
|
250
|
+
const r = await Z(i);
|
|
247
251
|
return r.delete(a), Array.from(r.values()).every((n) => n?.length === 1) && Array.from(r.keys()).forEach((n) => {
|
|
248
252
|
const o = r.get(n)?.[0]?.toCss(!0);
|
|
249
253
|
o && t.set(n, e(o));
|
|
@@ -267,194 +271,191 @@ class he extends Q {
|
|
|
267
271
|
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
268
272
|
}
|
|
269
273
|
_getChartAnimationMS() {
|
|
270
|
-
return this._canAnimateChart() ? de : 0;
|
|
271
|
-
}
|
|
272
|
-
_getChartSeriesAnimationMS() {
|
|
273
274
|
return this._canAnimateChart() ? ue : 0;
|
|
274
275
|
}
|
|
275
|
-
|
|
276
|
-
return
|
|
276
|
+
_getChartSeriesAnimationMS() {
|
|
277
|
+
return this._canAnimateChart() ? me : 0;
|
|
277
278
|
}
|
|
278
279
|
async _customizeChartTooltip(e, t = "horizontal") {
|
|
279
280
|
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
280
281
|
e.setAll({
|
|
281
282
|
pointerOrientation: t
|
|
282
283
|
}), e.get("background")?.setAll({
|
|
283
|
-
stroke: i(
|
|
284
|
+
stroke: i(de)
|
|
284
285
|
}), e.label.setAll({
|
|
285
|
-
direction: this.
|
|
286
|
+
direction: this._direction,
|
|
286
287
|
oversizedBehavior: "wrap",
|
|
287
|
-
maxWidth:
|
|
288
|
+
maxWidth: he
|
|
288
289
|
});
|
|
289
290
|
}
|
|
290
291
|
async _createPieChart(e, t) {
|
|
291
292
|
const [{ Tooltip: i }, { PieChart: a, PieSeries: r }] = await Promise.all([
|
|
292
293
|
import("@amcharts/amcharts5/index.js"),
|
|
293
294
|
import("@amcharts/amcharts5/percent.js")
|
|
294
|
-
]), { mediaInfo: s, root: n } = e, { title: o } = s,
|
|
295
|
+
]), { mediaInfo: s, root: n } = e, { title: o } = s, c = 5, _ = s?.altText || s?.title || "", d = n.container.children.push(a.new(n, {
|
|
295
296
|
role: "figure",
|
|
296
|
-
ariaLabel:
|
|
297
|
+
ariaLabel: _,
|
|
297
298
|
focusable: !0,
|
|
298
|
-
paddingBottom:
|
|
299
|
-
paddingTop:
|
|
300
|
-
paddingLeft:
|
|
301
|
-
paddingRight:
|
|
299
|
+
paddingBottom: c,
|
|
300
|
+
paddingTop: c,
|
|
301
|
+
paddingLeft: c,
|
|
302
|
+
paddingRight: c
|
|
302
303
|
})), l = `{category}: {valuePercentTotal.formatNumber('0.00')}%
|
|
303
|
-
({value})`,
|
|
304
|
+
({value})`, m = i.new(n, {
|
|
304
305
|
labelText: l
|
|
305
|
-
}),
|
|
306
|
+
}), u = d.series.push(r.new(n, {
|
|
306
307
|
name: o,
|
|
307
308
|
valueField: T,
|
|
308
309
|
categoryField: w,
|
|
309
|
-
tooltip:
|
|
310
|
+
tooltip: m
|
|
310
311
|
}));
|
|
311
|
-
|
|
312
|
-
shiftRadius:
|
|
313
|
-
}), this._customizeChartTooltip(
|
|
312
|
+
u.ticks.template.set("forceHidden", !0), u.labels.template.set("forceHidden", !0), u.slices.template.states.create("active", {
|
|
313
|
+
shiftRadius: c
|
|
314
|
+
}), this._customizeChartTooltip(m), u.slices.template.setAll({
|
|
314
315
|
ariaLabel: l,
|
|
315
316
|
focusable: !0,
|
|
316
317
|
templateField: "columnSettings"
|
|
317
|
-
}),
|
|
318
|
+
}), u.data.setAll(t), u.appear(this._getChartSeriesAnimationMS()), d.appear(this._getChartAnimationMS()), d.root.dom.classList.toggle(v.mediaChartRendered, !0);
|
|
318
319
|
}
|
|
319
320
|
_getMinSeriesValue(e) {
|
|
320
321
|
let t = 0;
|
|
321
322
|
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
322
323
|
}
|
|
323
324
|
async _createColumnChart(e, t, i) {
|
|
324
|
-
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis:
|
|
325
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: c, ColumnSeries: _ }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: l } = t, { value: m, title: u } = d, { _direction: h } = this;
|
|
325
326
|
e.setAll({
|
|
326
327
|
wheelX: "panX",
|
|
327
328
|
wheelY: "zoomX"
|
|
328
329
|
});
|
|
329
|
-
const
|
|
330
|
+
const f = e.xAxes.push(s.new(l, {
|
|
330
331
|
renderer: n.new(l, {
|
|
331
|
-
inversed:
|
|
332
|
+
inversed: h === "rtl"
|
|
332
333
|
}),
|
|
333
334
|
categoryField: w
|
|
334
335
|
}));
|
|
335
|
-
|
|
336
|
+
f.get("renderer").labels.template.setAll({
|
|
336
337
|
forceHidden: !0
|
|
337
338
|
});
|
|
338
|
-
const
|
|
339
|
+
const p = e.yAxes.push(c.new(l, {
|
|
339
340
|
renderer: o.new(l, { inside: !1 }),
|
|
340
|
-
min: this._getMinSeriesValue(
|
|
341
|
+
min: this._getMinSeriesValue(m.series)
|
|
341
342
|
}));
|
|
342
|
-
|
|
343
|
-
direction:
|
|
343
|
+
p.get("renderer").labels.template.setAll({
|
|
344
|
+
direction: h
|
|
344
345
|
});
|
|
345
|
-
const
|
|
346
|
-
labelText:
|
|
347
|
-
}),
|
|
348
|
-
name:
|
|
349
|
-
xAxis:
|
|
350
|
-
yAxis:
|
|
346
|
+
const I = "{categoryX}", x = a.new(l, {
|
|
347
|
+
labelText: I
|
|
348
|
+
}), g = e.series.push(_.new(l, {
|
|
349
|
+
name: u,
|
|
350
|
+
xAxis: f,
|
|
351
|
+
yAxis: p,
|
|
351
352
|
valueYField: T,
|
|
352
353
|
categoryXField: w,
|
|
353
354
|
tooltip: x
|
|
354
355
|
}));
|
|
355
|
-
this._customizeChartTooltip(x),
|
|
356
|
-
ariaLabel:
|
|
356
|
+
this._customizeChartTooltip(x), g.columns.template.setAll({
|
|
357
|
+
ariaLabel: I,
|
|
357
358
|
focusable: !0,
|
|
358
359
|
templateField: "columnSettings"
|
|
359
|
-
}),
|
|
360
|
+
}), m.series.length > V && e.set("scrollbarX", r.new(l, {
|
|
360
361
|
orientation: "horizontal"
|
|
361
|
-
})),
|
|
362
|
+
})), f.data.setAll(i), g.data.setAll(i), g.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
362
363
|
}
|
|
363
364
|
async _createBarChart(e, t, i) {
|
|
364
|
-
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis:
|
|
365
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: c, ColumnSeries: _ }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: l } = t, { value: m, title: u } = d, { _direction: h } = this;
|
|
365
366
|
e.setAll({
|
|
366
367
|
wheelX: "panY",
|
|
367
368
|
wheelY: "zoomY"
|
|
368
369
|
});
|
|
369
|
-
const
|
|
370
|
+
const f = e.yAxes.push(s.new(l, {
|
|
370
371
|
renderer: o.new(l, {
|
|
371
372
|
inversed: !0
|
|
372
373
|
}),
|
|
373
374
|
categoryField: w
|
|
374
375
|
}));
|
|
375
|
-
|
|
376
|
+
f.get("renderer").labels.template.setAll({
|
|
376
377
|
forceHidden: !0
|
|
377
378
|
});
|
|
378
|
-
const
|
|
379
|
+
const p = e.xAxes.push(c.new(l, {
|
|
379
380
|
renderer: n.new(l, {
|
|
380
381
|
inside: !1,
|
|
381
|
-
inversed:
|
|
382
|
+
inversed: h === "rtl"
|
|
382
383
|
}),
|
|
383
|
-
min: this._getMinSeriesValue(
|
|
384
|
+
min: this._getMinSeriesValue(m.series)
|
|
384
385
|
}));
|
|
385
|
-
|
|
386
|
-
direction:
|
|
386
|
+
p.get("renderer").labels.template.setAll({
|
|
387
|
+
direction: h
|
|
387
388
|
});
|
|
388
|
-
const
|
|
389
|
-
labelText:
|
|
390
|
-
}),
|
|
391
|
-
name:
|
|
392
|
-
xAxis:
|
|
393
|
-
yAxis:
|
|
389
|
+
const I = "{categoryY}", x = a.new(l, {
|
|
390
|
+
labelText: I
|
|
391
|
+
}), g = e.series.push(_.new(l, {
|
|
392
|
+
name: u,
|
|
393
|
+
xAxis: p,
|
|
394
|
+
yAxis: f,
|
|
394
395
|
valueXField: T,
|
|
395
396
|
categoryYField: w,
|
|
396
397
|
tooltip: x
|
|
397
398
|
}));
|
|
398
|
-
this._customizeChartTooltip(x, "vertical"),
|
|
399
|
-
ariaLabel:
|
|
399
|
+
this._customizeChartTooltip(x, "vertical"), g.columns.template.setAll({
|
|
400
|
+
ariaLabel: I,
|
|
400
401
|
focusable: !0,
|
|
401
402
|
templateField: "columnSettings"
|
|
402
|
-
}),
|
|
403
|
+
}), m.series.length > V && e.set("scrollbarY", r.new(l, {
|
|
403
404
|
orientation: "vertical"
|
|
404
|
-
})),
|
|
405
|
+
})), f.data.setAll(i), g.data.setAll(i), g.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
405
406
|
}
|
|
406
407
|
async _createLineChart(e, t, i) {
|
|
407
|
-
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis:
|
|
408
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: c, LineSeries: _ }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: d, mediaInfo: l } = t, { value: m, title: u } = l, { _direction: h } = this;
|
|
408
409
|
e.setAll({
|
|
409
410
|
wheelX: "panX",
|
|
410
411
|
wheelY: "zoomX"
|
|
411
412
|
});
|
|
412
|
-
const
|
|
413
|
-
renderer: n.new(
|
|
414
|
-
inversed:
|
|
413
|
+
const f = e.xAxes.push(s.new(d, {
|
|
414
|
+
renderer: n.new(d, {
|
|
415
|
+
inversed: h === "rtl"
|
|
415
416
|
}),
|
|
416
417
|
categoryField: w
|
|
417
418
|
}));
|
|
418
|
-
|
|
419
|
+
f.get("renderer").labels.template.setAll({
|
|
419
420
|
forceHidden: !0
|
|
420
421
|
});
|
|
421
|
-
const
|
|
422
|
-
renderer: o.new(
|
|
423
|
-
min: this._getMinSeriesValue(
|
|
422
|
+
const p = e.yAxes.push(c.new(d, {
|
|
423
|
+
renderer: o.new(d, { inside: !1 }),
|
|
424
|
+
min: this._getMinSeriesValue(m.series)
|
|
424
425
|
}));
|
|
425
|
-
|
|
426
|
-
direction:
|
|
426
|
+
p.get("renderer").labels.template.setAll({
|
|
427
|
+
direction: h
|
|
427
428
|
});
|
|
428
|
-
const
|
|
429
|
+
const I = "{categoryX}", x = i[0]?.lineSettings?.stroke, g = a.new(d, {
|
|
429
430
|
getFillFromSprite: !x,
|
|
430
|
-
labelText:
|
|
431
|
+
labelText: I
|
|
431
432
|
});
|
|
432
|
-
x &&
|
|
433
|
+
x && g.get("background")?.setAll({
|
|
433
434
|
fill: x
|
|
434
435
|
});
|
|
435
|
-
const
|
|
436
|
-
name:
|
|
437
|
-
xAxis:
|
|
438
|
-
yAxis:
|
|
436
|
+
const A = e.series.push(_.new(d, {
|
|
437
|
+
name: u,
|
|
438
|
+
xAxis: f,
|
|
439
|
+
yAxis: p,
|
|
439
440
|
valueYField: T,
|
|
440
441
|
categoryXField: w,
|
|
441
|
-
tooltip:
|
|
442
|
+
tooltip: g
|
|
442
443
|
}));
|
|
443
|
-
|
|
444
|
+
A.strokes.template.setAll({
|
|
444
445
|
templateField: "lineSettings"
|
|
445
|
-
}), this._customizeChartTooltip(
|
|
446
|
+
}), this._customizeChartTooltip(g, "vertical"), m.series.length > V && e.set("scrollbarX", r.new(d, {
|
|
446
447
|
orientation: "horizontal"
|
|
447
|
-
})),
|
|
448
|
+
})), f.data.setAll(i), A.data.setAll(i), A.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
448
449
|
}
|
|
449
450
|
async _createXYChart(e, t) {
|
|
450
|
-
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: r, mediaInfo: s } = e, { type: n } = s, o = s?.altText || s?.title || "",
|
|
451
|
+
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: r, mediaInfo: s } = e, { type: n } = s, o = s?.altText || s?.title || "", c = r.container.children.push(i.new(r, {
|
|
451
452
|
role: "figure",
|
|
452
453
|
ariaLabel: o,
|
|
453
454
|
focusable: !0,
|
|
454
455
|
panX: !0,
|
|
455
456
|
panY: !0
|
|
456
457
|
}));
|
|
457
|
-
|
|
458
|
+
c.set("cursor", a.new(r, {})), n === "column-chart" && await this._createColumnChart(c, e, t), n === "bar-chart" && await this._createBarChart(c, e, t), n === "line-chart" && await this._createLineChart(c, e, t), c.root.dom.classList.toggle(v.mediaChartRendered, !0);
|
|
458
459
|
}
|
|
459
460
|
_clearMediaRefreshTimer() {
|
|
460
461
|
const { _refreshTimer: e } = this;
|
|
@@ -492,7 +493,7 @@ class he extends Q {
|
|
|
492
493
|
}
|
|
493
494
|
_renderMedia() {
|
|
494
495
|
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
495
|
-
return e ? y`<div class=${C(v.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(v.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(v.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(v.mediaPaginationText)}>${
|
|
496
|
+
return e ? y`<div class=${C(v.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(v.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(v.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(v.mediaPaginationText)}>${te(this.messages?.pageText ?? "", {
|
|
496
497
|
index: t + 1,
|
|
497
498
|
total: e
|
|
498
499
|
})}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
|
|
@@ -507,12 +508,12 @@ class he extends Q {
|
|
|
507
508
|
_renderImageMediaInfo(e) {
|
|
508
509
|
if (!e.value)
|
|
509
510
|
return null;
|
|
510
|
-
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: r, title: s } = e, { sourceURL: n, linkURL: o } = i,
|
|
511
|
-
return (o ? y`<a href=${o ??
|
|
511
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: r, title: s } = e, { sourceURL: n, linkURL: o } = i, _ = le(o ?? void 0) ? "_blank" : "_self", d = _ === "_blank" ? "noreferrer" : "", l = a ? t : null, m = l ? l.sourceURL : n, u = y`<img alt=${(r || s) ?? b} src=${m ?? void 0 ?? b}>`;
|
|
512
|
+
return (o ? y`<a href=${o ?? b} rel=${d ?? b} target=${_} title=${s ?? b}>${u}</a>` : null) ?? u;
|
|
512
513
|
}
|
|
513
514
|
_renderChartMediaInfo(e) {
|
|
514
515
|
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
515
|
-
return
|
|
516
|
+
return K(`media-${e.type}-${t}-${i}`, y`<div class=${C(v.mediaChart)} ${q(this._updateChartElement)}></div>`);
|
|
516
517
|
}
|
|
517
518
|
_renderMediaInfoType() {
|
|
518
519
|
const { activeMediaInfo: e } = this;
|
|
@@ -526,39 +527,39 @@ class he extends Q {
|
|
|
526
527
|
if (this.formattedMediaInfoCount < 2)
|
|
527
528
|
return null;
|
|
528
529
|
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", r = t ? this.previous : this.next;
|
|
529
|
-
return y`<button .ariaLabel=${i} class=${C(v.mediaPaginationButton)} @click=${r} tabindex=0 title=${i ??
|
|
530
|
+
return y`<button .ariaLabel=${i} class=${C(v.mediaPaginationButton)} @click=${r} tabindex=0 title=${i ?? b} type=button><calcite-icon flip-rtl class=${C(v.mediaPaginationIcon)} .icon=${a} scale=s></calcite-icon></button>`;
|
|
530
531
|
}
|
|
531
532
|
async _renderChart(e) {
|
|
532
|
-
const { root: t, mediaInfo: i } = e, { value: a, type: r } = i, [{ default: s }, { default: n }, { default: o }, { esriChartColorSet:
|
|
533
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: r } = i, [{ default: s }, { default: n }, { default: o }, { esriChartColorSet: c }, { ColorSet: _, Theme: d }] = await Promise.all([
|
|
533
534
|
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
534
535
|
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
535
536
|
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
536
537
|
import("../../chunks/chartCommon.js"),
|
|
537
538
|
import("@amcharts/amcharts5/index.js")
|
|
538
|
-
]), l =
|
|
539
|
-
l.rule("ColorSet").set("colors",
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
const
|
|
539
|
+
]), l = d.new(t);
|
|
540
|
+
l.rule("ColorSet").set("colors", c), l.rule("ColorSet").set("reuse", !0);
|
|
541
|
+
const m = [o.new(t), l];
|
|
542
|
+
re(this.el) === "dark" && m.push(n.new(t)), this._canAnimateChart() && m.push(s.new(t)), t.setThemes(m);
|
|
543
|
+
const u = await this._getRendererColors(), h = await this._getSeriesColors(a.series), f = _.new(t, {}), p = h.get(a.series[0]), I = p ? {
|
|
543
544
|
lineSettings: {
|
|
544
|
-
stroke:
|
|
545
|
+
stroke: p
|
|
545
546
|
}
|
|
546
|
-
} : void 0,
|
|
547
|
-
const
|
|
547
|
+
} : void 0, x = a.series.map((g, A) => {
|
|
548
|
+
const S = h.get(g) || u.get(g.fieldName) || f.getIndex(A);
|
|
548
549
|
return {
|
|
549
|
-
[w]:
|
|
550
|
-
[T]:
|
|
550
|
+
[w]: g.tooltip,
|
|
551
|
+
[T]: g.value,
|
|
551
552
|
columnSettings: {
|
|
552
|
-
fill:
|
|
553
|
-
stroke:
|
|
553
|
+
fill: S,
|
|
554
|
+
stroke: S
|
|
554
555
|
},
|
|
555
|
-
...
|
|
556
|
+
...I
|
|
556
557
|
};
|
|
557
|
-
}).filter((
|
|
558
|
-
r === "pie-chart" ? this._createPieChart(e,
|
|
558
|
+
}).filter((g) => r === "pie-chart" ? g.value != null && g.value > 0 : !0);
|
|
559
|
+
r === "pie-chart" ? this._createPieChart(e, x) : this._createXYChart(e, x);
|
|
559
560
|
}
|
|
560
561
|
}
|
|
561
|
-
|
|
562
|
+
W("arcgis-feature-media", fe);
|
|
562
563
|
export {
|
|
563
|
-
|
|
564
|
+
fe as ArcgisFeatureMedia
|
|
564
565
|
};
|
|
@@ -16,7 +16,7 @@ import { classes as j } from "@arcgis/toolkit/dom";
|
|
|
16
16
|
import { createRef as Y, ref as ee } from "lit/directives/ref.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
19
|
-
v5.0.0-next.
|
|
19
|
+
v5.0.0-next.11 */
|
|
20
20
|
const te = K`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`, re = (m) => {
|
|
21
21
|
const e = [];
|
|
22
22
|
if (m.formTemplate) {
|