@arcgis/map-components 4.34.0-next.27 → 4.34.0-next.29
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/24FPDZV7.js +4 -0
- package/dist/cdn/{LZPMLHP5.js → 26XWWC3S.js} +1 -1
- package/dist/cdn/276NHELU.js +4 -0
- package/dist/cdn/2BJA5MAU.js +4 -0
- package/dist/cdn/{YL4Y7JDE.js → 2EY5DO6Z.js} +1 -1
- package/dist/cdn/2KQJAHFP.js +4 -0
- package/dist/cdn/2P5Y3JRX.js +4 -0
- package/dist/cdn/2QPG3Q5P.js +4 -0
- package/dist/cdn/333MLOEH.js +4 -0
- package/dist/cdn/3JXRNHYR.js +4 -0
- package/dist/cdn/3KJZD7XN.js +4 -0
- package/dist/cdn/3M7KXP3Y.js +4 -0
- package/dist/cdn/3VW5LUCC.js +4 -0
- package/dist/cdn/44SA7HBW.js +4 -0
- package/dist/cdn/{ADDXVLXB.js → 45NPFIDE.js} +2 -2
- package/dist/cdn/{W3EYO5UZ.js → 45Q7VZOP.js} +2 -2
- package/dist/cdn/4DDH3ZJH.js +4 -0
- package/dist/cdn/4QBQCBD4.js +4 -0
- package/dist/cdn/{HQM4GIEH.js → 4VKU2EN4.js} +2 -2
- package/dist/cdn/5GOWQESW.js +4 -0
- package/dist/cdn/5IRNCV2N.js +4 -0
- package/dist/cdn/{VGEGLFUF.js → 5RDN3KFY.js} +2 -2
- package/dist/cdn/5RGTIRD7.js +4 -0
- package/dist/cdn/64APJKJA.js +4 -0
- package/dist/cdn/67RADHJ5.js +4 -0
- package/dist/cdn/{VIIGISB5.js → 6BKFKF7L.js} +1 -1
- package/dist/cdn/6DQXWYTE.js +4 -0
- package/dist/cdn/6K4PUBPP.js +4 -0
- package/dist/cdn/77DYAMA4.js +4 -0
- package/dist/cdn/7MTQS6K4.js +4 -0
- package/dist/cdn/7NMO7PDZ.js +4 -0
- package/dist/cdn/7S7V7W4D.js +4 -0
- package/dist/cdn/A7GQLK3I.js +4 -0
- package/dist/cdn/AMKFHZKY.js +4 -0
- package/dist/cdn/AYSS2UKJ.js +4 -0
- package/dist/cdn/AZCQUEEH.js +4 -0
- package/dist/cdn/B2KDMQ32.js +4 -0
- package/dist/cdn/B7YDMWF3.js +4 -0
- package/dist/cdn/BCBWIUBN.js +4 -0
- package/dist/cdn/BH2L5E72.js +4 -0
- package/dist/cdn/{XRCECLKQ.js → BHJMRERP.js} +2 -2
- package/dist/cdn/BN2HWRFH.js +4 -0
- package/dist/cdn/BPWVETWS.js +4 -0
- package/dist/cdn/BR4HST2V.js +4 -0
- package/dist/cdn/BRDLKHRY.js +4 -0
- package/dist/cdn/C4DO43NZ.js +4 -0
- package/dist/cdn/CDNUWNTM.js +4 -0
- package/dist/cdn/CRC32NKX.js +4 -0
- package/dist/cdn/CXSGFVZY.js +4 -0
- package/dist/cdn/D2RAH2FQ.js +4 -0
- package/dist/cdn/DHT24TD4.js +4 -0
- package/dist/cdn/E5I42L5X.js +4 -0
- package/dist/cdn/EC5YDWM5.js +4 -0
- package/dist/cdn/EFKIIUPG.js +4 -0
- package/dist/cdn/EGMCUKGO.js +4 -0
- package/dist/cdn/EMSE4SVU.js +4 -0
- package/dist/cdn/EQMI35F3.js +4 -0
- package/dist/cdn/F3HIUXO4.js +4 -0
- package/dist/cdn/F3VWFEIS.js +4 -0
- package/dist/cdn/F5433SPL.js +5 -0
- package/dist/cdn/FEDUC27Q.js +4 -0
- package/dist/cdn/FFVCLRFL.js +4 -0
- package/dist/cdn/FIAUIGJF.js +4 -0
- package/dist/cdn/G225AQXC.js +4 -0
- package/dist/cdn/G5LXZPGJ.js +4 -0
- package/dist/cdn/GAAYFJMP.js +4 -0
- package/dist/cdn/GEAJBOHU.js +4 -0
- package/dist/cdn/GGYGFSWG.js +4 -0
- package/dist/cdn/GK6AGJOQ.js +4 -0
- package/dist/cdn/GRTPQKD7.js +4 -0
- package/dist/cdn/GSEJQWEO.js +4 -0
- package/dist/cdn/GSLXVNUW.js +4 -0
- package/dist/cdn/HCLXQLUS.js +4 -0
- package/dist/cdn/HH76E2KD.js +4 -0
- package/dist/cdn/HWEJ5PT4.js +4 -0
- package/dist/cdn/HXMIL5AS.js +4 -0
- package/dist/cdn/HZ3EXHUM.js +4 -0
- package/dist/cdn/I2BZBDGD.js +4 -0
- package/dist/cdn/IAE4FOSC.js +4 -0
- package/dist/cdn/{UVR72ML4.js → IGL636IF.js} +1 -1
- package/dist/cdn/{EIOO5KHB.js → II4QJS4H.js} +2 -2
- package/dist/cdn/IJ4ROTL2.js +4 -0
- package/dist/cdn/J45Q67DX.js +4 -0
- package/dist/cdn/JJJWQZ7B.js +4 -0
- package/dist/cdn/JK6QTLOY.js +4 -0
- package/dist/cdn/JWQ52MP3.js +4 -0
- package/dist/cdn/JZYEYITJ.js +4 -0
- package/dist/cdn/KBJEHKCV.js +4 -0
- package/dist/cdn/KMO2Z6GG.js +4 -0
- package/dist/cdn/KRFYROYD.js +4 -0
- package/dist/cdn/KZ627ULY.js +4 -0
- package/dist/cdn/LAT2L32P.js +4 -0
- package/dist/cdn/LBTPWLNU.js +4 -0
- package/dist/cdn/LHERQF5S.js +4 -0
- package/dist/cdn/LJNBJG6J.js +4 -0
- package/dist/cdn/{PRQUVNCS.js → LOGHXN7W.js} +2 -2
- package/dist/cdn/LPYOZH47.js +4 -0
- package/dist/cdn/LXYGDPJX.js +4 -0
- package/dist/cdn/M43BI3QS.js +4 -0
- package/dist/cdn/MBITBB7M.js +4 -0
- package/dist/cdn/MHR4JVHS.js +4 -0
- package/dist/cdn/MKQXYSV7.js +4 -0
- package/dist/cdn/MME4V5UK.js +4 -0
- package/dist/cdn/MTTG4OB7.js +4 -0
- package/dist/cdn/MY2P3UKP.js +4 -0
- package/dist/cdn/MZEQBXJK.js +4 -0
- package/dist/cdn/N23VKPUM.js +4 -0
- package/dist/cdn/NACZDUUS.js +4 -0
- package/dist/cdn/NEIKHJUX.js +4 -0
- package/dist/cdn/NQCQTTL6.js +4 -0
- package/dist/cdn/NQGENYHI.js +4 -0
- package/dist/cdn/{3LMJCARQ.js → NWIGIUWJ.js} +2 -2
- package/dist/cdn/O4AUG6US.js +4 -0
- package/dist/cdn/OATFCBMW.js +4 -0
- package/dist/cdn/OGDXW57I.js +4 -0
- package/dist/cdn/OTMAAIG2.js +4 -0
- package/dist/cdn/OW6PGWSE.js +4 -0
- package/dist/cdn/OYD26KOZ.js +4 -0
- package/dist/cdn/P7PBJZCJ.js +4 -0
- package/dist/cdn/PLOCXDRL.js +4 -0
- package/dist/cdn/PNTZUJFY.js +4 -0
- package/dist/cdn/PPR7VJU5.js +4 -0
- package/dist/cdn/{2C2K5SPI.js → PSASMXDX.js} +2 -2
- package/dist/cdn/{CU4TWFZG.js → PUC7RUDW.js} +2 -2
- package/dist/cdn/Q4M2I3RE.js +4 -0
- package/dist/cdn/QA5B3JID.js +4 -0
- package/dist/cdn/QBCWEZVV.js +4 -0
- package/dist/cdn/QHFV4JKZ.js +4 -0
- package/dist/cdn/QKLKQYOY.js +4 -0
- package/dist/cdn/QPVWPM6E.js +4 -0
- package/dist/cdn/QT62ZAMZ.js +4 -0
- package/dist/cdn/QXLX4UL2.js +4 -0
- package/dist/cdn/RFBJ2OQC.js +4 -0
- package/dist/cdn/RFEZMAH3.js +4 -0
- package/dist/cdn/RFZ6LUVE.js +4 -0
- package/dist/cdn/RHLHBK4X.js +4 -0
- package/dist/cdn/RSMEMK6H.js +4 -0
- package/dist/cdn/S2YYAX4L.js +4 -0
- package/dist/cdn/SFEPVBQG.js +4 -0
- package/dist/cdn/SLWV42LP.js +4 -0
- package/dist/cdn/{5RJWIKWJ.js → SNJIA2RL.js} +1 -1
- package/dist/cdn/SQRD5AFX.js +4 -0
- package/dist/cdn/SRMODQG3.js +4 -0
- package/dist/cdn/T47YWDAU.js +4 -0
- package/dist/cdn/TTNCHBOO.js +4 -0
- package/dist/cdn/UH3MUYKL.js +4 -0
- package/dist/cdn/{5UVWLILC.js → UIPGHC7V.js} +2 -2
- package/dist/cdn/UNFGKH7G.js +4 -0
- package/dist/cdn/UOFDD23J.js +4 -0
- package/dist/cdn/UQYLORO7.js +4 -0
- package/dist/cdn/UU3SGRXZ.js +4 -0
- package/dist/cdn/UWDQA43B.js +4 -0
- package/dist/cdn/VGE6ZQV7.js +4 -0
- package/dist/cdn/VNCV763X.js +4 -0
- package/dist/cdn/VXBQGFGR.js +4 -0
- package/dist/cdn/{RAUNBZJ5.js → W2H7TOIL.js} +2 -2
- package/dist/cdn/W47E7SI7.js +4 -0
- package/dist/cdn/WAZIOM5Q.js +4 -0
- package/dist/cdn/WDSPHTTU.js +4 -0
- package/dist/cdn/{KKLXQ7UW.js → WHGLKTKZ.js} +2 -2
- package/dist/cdn/WII5UDMW.js +4 -0
- package/dist/cdn/WJFPEGBW.js +4 -0
- package/dist/cdn/WP56S75Y.js +4 -0
- package/dist/cdn/WT6GPDJ6.js +4 -0
- package/dist/cdn/WTUZGTCF.js +4 -0
- package/dist/cdn/{BHZONQFS.js → WUKA3PA2.js} +1 -1
- package/dist/cdn/WYDDPEQG.js +4 -0
- package/dist/cdn/X2ZARLSE.js +4 -0
- package/dist/cdn/X3AXOZH3.js +4 -0
- package/dist/cdn/{LE47SWLK.js → XIIS6IXK.js} +4 -4
- package/dist/cdn/{WII5DWBX.js → XRE4YCRR.js} +2 -2
- package/dist/cdn/YBK7NHPE.js +4 -0
- package/dist/cdn/YIJUWSQM.js +4 -0
- package/dist/cdn/YUMK75EJ.js +4 -0
- package/dist/cdn/YYPKTLS7.js +4 -0
- package/dist/cdn/YZXCCFKT.js +4 -0
- package/dist/cdn/Z4A6TUSH.js +4 -0
- package/dist/cdn/ZDN7XC4F.js +4 -0
- package/dist/cdn/ZGOVJI2V.js +4 -0
- package/dist/cdn/ZOTGL3WY.js +4 -0
- package/dist/cdn/ZYFJLBBS.js +4 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- 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 +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +145 -0
- package/dist/chunks/globalCss.js +2 -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.d.ts +105 -7
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- 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.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.d.ts +20 -15
- 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.d.ts +16 -11
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +106 -7
- 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.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +18 -23
- 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.js +10 -9
- package/dist/components/arcgis-feature-content/customElement.d.ts +1 -15
- package/dist/components/arcgis-feature-content/customElement.js +28 -54
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +39 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-fields/customElement.js +141 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +37 -0
- package/dist/components/arcgis-feature-media/customElement.js +575 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-table/customElement.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.d.ts +63 -15
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -26
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/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.d.ts +6 -7
- 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.d.ts +2 -6
- package/dist/components/arcgis-print/customElement.js +39 -33
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +3 -4
- 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.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
- 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.d.ts +82 -58
- package/dist/components/arcgis-scene/customElement.js +2 -2
- 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.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +83 -25
- 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.d.ts +63 -14
- 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.d.ts +0 -2
- 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.d.ts +41 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +150 -309
- package/dist/docs/docs.json +119 -300
- package/dist/docs/vscode.html-custom-data.json +46 -68
- package/dist/docs/web-types.json +120 -164
- package/dist/index.d.ts +3 -22
- package/dist/index.js +1 -1
- package/dist/loader.js +11 -8
- package/dist/types/lumina.d.ts +3 -9
- package/dist/types/preact.d.ts +3 -10
- package/dist/types/react.d.ts +3 -11
- package/dist/types/stencil.d.ts +3 -9
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +20 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +4 -3
- package/dist/cdn/2U6HOP3Z.js +0 -4
- package/dist/cdn/333YBQXV.js +0 -4
- package/dist/cdn/3O65OLU5.js +0 -4
- package/dist/cdn/3QFTHNX4.js +0 -4
- package/dist/cdn/3XTH4QWQ.js +0 -4
- package/dist/cdn/42KRQYCM.js +0 -4
- package/dist/cdn/42LZE7I2.js +0 -4
- package/dist/cdn/4RUEXX2Z.js +0 -4
- package/dist/cdn/5OJPKBWK.js +0 -4
- package/dist/cdn/5RRATYNL.js +0 -4
- package/dist/cdn/66J3J2SY.js +0 -4
- package/dist/cdn/6BJUHDTO.js +0 -4
- package/dist/cdn/6MB6M64L.js +0 -4
- package/dist/cdn/6RT6JBOP.js +0 -4
- package/dist/cdn/7QZRNM7N.js +0 -4
- package/dist/cdn/A4VYJ2P7.js +0 -4
- package/dist/cdn/A5QTQ7P4.js +0 -4
- package/dist/cdn/AECHB3I5.js +0 -4
- package/dist/cdn/B3JFEBBM.js +0 -4
- package/dist/cdn/B6JXXUQL.js +0 -4
- package/dist/cdn/BCB7BLFF.js +0 -4
- package/dist/cdn/BCXEJTPD.js +0 -4
- package/dist/cdn/BJZTLQSB.js +0 -4
- package/dist/cdn/BLVA5PBO.js +0 -4
- package/dist/cdn/CG3E5YWJ.js +0 -4
- package/dist/cdn/CH4XWHFR.js +0 -4
- package/dist/cdn/CKSXZ6EE.js +0 -4
- package/dist/cdn/D64Q4JT6.js +0 -4
- package/dist/cdn/DMHP4N5T.js +0 -4
- package/dist/cdn/DOLHDAA3.js +0 -4
- package/dist/cdn/DSMTI6TV.js +0 -4
- package/dist/cdn/EQL2MFTP.js +0 -4
- package/dist/cdn/EXJ3RUZ2.js +0 -4
- package/dist/cdn/G4F7ZGSN.js +0 -4
- package/dist/cdn/GVH67NSB.js +0 -4
- package/dist/cdn/H7M54WHB.js +0 -4
- package/dist/cdn/HRCTS634.js +0 -4
- package/dist/cdn/I7B4NZNH.js +0 -4
- package/dist/cdn/ILB7FV4U.js +0 -4
- package/dist/cdn/ILS6JRJH.js +0 -4
- package/dist/cdn/IPWHI4Y7.js +0 -4
- package/dist/cdn/IXFC6ELJ.js +0 -4
- package/dist/cdn/JEZJUXYK.js +0 -4
- package/dist/cdn/K5ODVBEF.js +0 -4
- package/dist/cdn/K65XE53D.js +0 -4
- package/dist/cdn/KN3UXCYY.js +0 -4
- package/dist/cdn/KSG35E2O.js +0 -4
- package/dist/cdn/KV7FWIG6.js +0 -4
- package/dist/cdn/LCFCW764.js +0 -4
- package/dist/cdn/LCMIW5LY.js +0 -4
- package/dist/cdn/LEZPBXYE.js +0 -4
- package/dist/cdn/LJQ34F6U.js +0 -4
- package/dist/cdn/M6RA45RU.js +0 -4
- package/dist/cdn/MBIVD5QP.js +0 -4
- package/dist/cdn/MCA346TA.js +0 -4
- package/dist/cdn/MID4XN32.js +0 -4
- package/dist/cdn/MIKLFSBE.js +0 -4
- package/dist/cdn/MJXVELFH.js +0 -4
- package/dist/cdn/MZSKUUN7.js +0 -4
- package/dist/cdn/N532SFQW.js +0 -4
- package/dist/cdn/N6NM7HGW.js +0 -4
- package/dist/cdn/NA36CJYX.js +0 -4
- package/dist/cdn/NBQ2I7QY.js +0 -4
- package/dist/cdn/ND3L4C7A.js +0 -4
- package/dist/cdn/NIURPH5F.js +0 -4
- package/dist/cdn/NPMJ74VU.js +0 -4
- package/dist/cdn/NQRGDV3R.js +0 -4
- package/dist/cdn/NXEUUXZD.js +0 -4
- package/dist/cdn/ODZI2VHW.js +0 -4
- package/dist/cdn/OKQNM3BC.js +0 -4
- package/dist/cdn/ONEFUPNT.js +0 -4
- package/dist/cdn/PRNITCHN.js +0 -4
- package/dist/cdn/Q3SGVJXR.js +0 -4
- package/dist/cdn/Q4FM7KYI.js +0 -4
- package/dist/cdn/Q5ZT2C3G.js +0 -4
- package/dist/cdn/RAF4I3YA.js +0 -4
- package/dist/cdn/RQIA5JLR.js +0 -4
- package/dist/cdn/RSLVUXIV.js +0 -4
- package/dist/cdn/RYU6333R.js +0 -4
- package/dist/cdn/RYWUMTWQ.js +0 -4
- package/dist/cdn/RZSFQLIZ.js +0 -4
- package/dist/cdn/SG44OS5F.js +0 -4
- package/dist/cdn/SYNFYP4D.js +0 -4
- package/dist/cdn/T7UXTD6H.js +0 -4
- package/dist/cdn/TI5Y3HLI.js +0 -4
- package/dist/cdn/TLWO6SJL.js +0 -4
- package/dist/cdn/UGVMFLMD.js +0 -4
- package/dist/cdn/UZMEMSOT.js +0 -4
- package/dist/cdn/WGGQZIAZ.js +0 -4
- package/dist/cdn/WREJU2AE.js +0 -4
- package/dist/cdn/WSNK3QOM.js +0 -4
- package/dist/cdn/WTOJCQP5.js +0 -4
- package/dist/cdn/X4WMYNNV.js +0 -4
- package/dist/cdn/XELMLRDX.js +0 -4
- package/dist/cdn/XTCDEOLD.js +0 -4
- package/dist/cdn/Y4MHIXP7.js +0 -4
- package/dist/cdn/Y7DL7NNE.js +0 -4
- package/dist/cdn/Z2KPDNNL.js +0 -4
- package/dist/cdn/ZVCLRASV.js +0 -4
|
@@ -0,0 +1,575 @@
|
|
|
1
|
+
import { c as j } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as y } from "lit-html";
|
|
3
|
+
import { ref as G } from "lit-html/directives/ref.js";
|
|
4
|
+
import { keyed as q } from "lit-html/directives/keyed.js";
|
|
5
|
+
import { useMedia as K } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { getColorsFromRenderer as J } from "@arcgis/core/renderers/support/utils.js";
|
|
7
|
+
import { LitElement as Q, noShadowRoot as Z, safeClassMap as C, nothing as A } from "@arcgis/lumina";
|
|
8
|
+
import { css as ee } from "@lit/reactive-element/css-tag.js";
|
|
9
|
+
import { substitute as te } from "@arcgis/core/intl.js";
|
|
10
|
+
import { c as S } from "../../chunks/utils.js";
|
|
11
|
+
import { watch as ie } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
|
+
import ae from "@arcgis/core/popup/FieldInfo.js";
|
|
13
|
+
import X from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
14
|
+
import { unsafeGetModeName as re } from "@arcgis/components-utils";
|
|
15
|
+
import { renderingSanitizer as E } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
16
|
+
import { i as T, s as V, f as Y, a as U, g as ne, b as D, c as se, d as oe, e as le, h as ce } from "../../chunks/feature-utils.js";
|
|
17
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
19
|
+
v4.34.0-next.29 */
|
|
20
|
+
const de = ee`@layer{arcgis-feature-media{.arcgis-feature-media__container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.arcgis-feature-media__container .arcgis-feature-media__pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.arcgis-feature-media__container .arcgis-feature-media__pagination-button:hover,.arcgis-feature-media__container .arcgis-feature-media__pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.arcgis-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size)}.arcgis-feature-media__item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.arcgis-feature-media__item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.arcgis-feature-media__item-text{margin-inline-end:var(--calcite-spacing-xs)}.arcgis-feature-media__pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.arcgis-feature-media__pagination:only-child{margin-inline-start:auto}.arcgis-feature-media__pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-feature-media__item-container{flex:0 1 auto;width:100%}.arcgis-feature-media__item-container img{max-width:100%}.arcgis-feature-media__item-container img[src$=".SVG"],.arcgis-feature-media__item-container img[src$=".svg"]{width:100%}.arcgis-feature-media__chart{width:100%;height:155px}}}`;
|
|
21
|
+
function N(R) {
|
|
22
|
+
if (!T(R))
|
|
23
|
+
return null;
|
|
24
|
+
const [e, t] = R.split("/").slice(1);
|
|
25
|
+
return { layerId: e, fieldName: t };
|
|
26
|
+
}
|
|
27
|
+
const M = "arcgis-feature-media", I = {
|
|
28
|
+
base: M,
|
|
29
|
+
mediaContainer: `${M}__container`,
|
|
30
|
+
mediaItemContainer: `${M}__item-container`,
|
|
31
|
+
mediaItem: `${M}__item`,
|
|
32
|
+
mediaItemText: `${M}__item-text`,
|
|
33
|
+
mediaItemTitle: `${M}__item-title`,
|
|
34
|
+
mediaItemCaption: `${M}__item-caption`,
|
|
35
|
+
mediaNavigation: `${M}__item-navigation`,
|
|
36
|
+
mediaPagination: `${M}__pagination`,
|
|
37
|
+
mediaPaginationText: `${M}__pagination-text`,
|
|
38
|
+
mediaChart: `${M}__chart`,
|
|
39
|
+
mediaPaginationButton: `${M}__pagination-button`,
|
|
40
|
+
mediaPaginationIcon: `${M}__pagination-icon`,
|
|
41
|
+
mediaChartRendered: `${M}__chart--rendered`
|
|
42
|
+
}, z = 15, w = "category", b = "value", me = "rgba(50, 50, 50, 1)", ue = 250, he = 500, fe = 200;
|
|
43
|
+
class pe extends Q {
|
|
44
|
+
constructor() {
|
|
45
|
+
super(...arguments), this._prefersReducedMotion = K("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.isAggregate = !1;
|
|
46
|
+
}
|
|
47
|
+
static {
|
|
48
|
+
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, expressionValues: 0, heading: 1, isAggregate: 5, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
49
|
+
}
|
|
50
|
+
static {
|
|
51
|
+
this.styles = de;
|
|
52
|
+
}
|
|
53
|
+
static {
|
|
54
|
+
this.shadowRootOptions = Z;
|
|
55
|
+
}
|
|
56
|
+
get activeMediaInfo() {
|
|
57
|
+
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
58
|
+
}
|
|
59
|
+
get formattedMediaInfos() {
|
|
60
|
+
return this._formatMediaInfos() || [];
|
|
61
|
+
}
|
|
62
|
+
get formattedMediaInfoCount() {
|
|
63
|
+
return this.formattedMediaInfos.length;
|
|
64
|
+
}
|
|
65
|
+
next() {
|
|
66
|
+
this._pageContentElementMedia(1);
|
|
67
|
+
}
|
|
68
|
+
previous() {
|
|
69
|
+
this._pageContentElementMedia(-1);
|
|
70
|
+
}
|
|
71
|
+
setActiveMedia(e) {
|
|
72
|
+
this._setContentElementMedia(e);
|
|
73
|
+
}
|
|
74
|
+
loaded() {
|
|
75
|
+
this.manager.onLifecycle(() => [
|
|
76
|
+
ie(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
|
|
77
|
+
{ remove: () => this._clearMediaRefreshTimer() }
|
|
78
|
+
]);
|
|
79
|
+
}
|
|
80
|
+
_setContentElementMedia(e) {
|
|
81
|
+
const { formattedMediaInfoCount: t } = this, i = (e + t) % t;
|
|
82
|
+
this.activeMediaInfoIndex = i;
|
|
83
|
+
}
|
|
84
|
+
_pageContentElementMedia(e) {
|
|
85
|
+
const { activeMediaInfoIndex: t } = this, i = t + e;
|
|
86
|
+
this._setContentElementMedia(i);
|
|
87
|
+
}
|
|
88
|
+
_formatMediaInfos() {
|
|
89
|
+
const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, a = this.formattedValues ?? {}, s = this.expressionValues ?? {}, n = this.fieldInfoMap ?? /* @__PURE__ */ new Map();
|
|
90
|
+
return e?.map((o) => {
|
|
91
|
+
const r = o?.clone();
|
|
92
|
+
if (!r)
|
|
93
|
+
return null;
|
|
94
|
+
if (r.title = V({
|
|
95
|
+
values: i,
|
|
96
|
+
fieldInfoMap: n,
|
|
97
|
+
globalValues: a,
|
|
98
|
+
expressionValues: s,
|
|
99
|
+
layer: t,
|
|
100
|
+
text: r.title
|
|
101
|
+
}), r.caption = V({
|
|
102
|
+
values: i,
|
|
103
|
+
fieldInfoMap: n,
|
|
104
|
+
globalValues: a,
|
|
105
|
+
expressionValues: s,
|
|
106
|
+
layer: t,
|
|
107
|
+
text: r.caption
|
|
108
|
+
}), r.altText = V({
|
|
109
|
+
values: i,
|
|
110
|
+
fieldInfoMap: n,
|
|
111
|
+
globalValues: a,
|
|
112
|
+
expressionValues: s,
|
|
113
|
+
layer: t,
|
|
114
|
+
text: r.altText
|
|
115
|
+
}), r.type === "image") {
|
|
116
|
+
if (!r.value)
|
|
117
|
+
return null;
|
|
118
|
+
const c = r.value;
|
|
119
|
+
return this._setImageValue({
|
|
120
|
+
value: c,
|
|
121
|
+
formattedValues: a,
|
|
122
|
+
layer: t
|
|
123
|
+
}), c.sourceURL ? r : void 0;
|
|
124
|
+
}
|
|
125
|
+
if (r.type === "pie-chart" || r.type === "line-chart" || r.type === "column-chart" || r.type === "bar-chart") {
|
|
126
|
+
if (!r.value)
|
|
127
|
+
return null;
|
|
128
|
+
const c = r.value;
|
|
129
|
+
return this._setChartValue({
|
|
130
|
+
value: c,
|
|
131
|
+
chartType: r.type,
|
|
132
|
+
values: i,
|
|
133
|
+
formattedValues: a,
|
|
134
|
+
layer: t,
|
|
135
|
+
expressionValues: s
|
|
136
|
+
}), r;
|
|
137
|
+
}
|
|
138
|
+
return null;
|
|
139
|
+
}).filter((o) => o != null) ?? [];
|
|
140
|
+
}
|
|
141
|
+
_setImageValue(e) {
|
|
142
|
+
const t = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { value: i, formattedValues: a, layer: s } = e, { linkURL: n, sourceURL: o } = i;
|
|
143
|
+
if (o) {
|
|
144
|
+
const r = Y(o, s);
|
|
145
|
+
i.sourceURL = U({
|
|
146
|
+
formattedValues: a,
|
|
147
|
+
template: r,
|
|
148
|
+
fieldInfoMap: t
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
if (n) {
|
|
152
|
+
const r = Y(n, s);
|
|
153
|
+
i.linkURL = U({
|
|
154
|
+
formattedValues: a,
|
|
155
|
+
template: r,
|
|
156
|
+
fieldInfoMap: t
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
_setChartValue(e) {
|
|
161
|
+
const { value: t, values: i, formattedValues: a, chartType: s, layer: n, expressionValues: o } = e, { popupTemplate: r, relatedInfos: c } = this, { fields: f, normalizeField: m } = t, l = n;
|
|
162
|
+
if (t.fields = ne(f, l), m && (t.normalizeField = D(m, l)), !f.some((d) => !!(a[d] != null || T(d) && c?.size)))
|
|
163
|
+
return;
|
|
164
|
+
const u = r?.fieldInfos ?? [];
|
|
165
|
+
f.forEach((d, g) => {
|
|
166
|
+
const p = t.colors?.[g];
|
|
167
|
+
if (T(d)) {
|
|
168
|
+
t.series = [
|
|
169
|
+
...t.series,
|
|
170
|
+
...this._getRelatedChartInfos({ fieldInfos: u, fieldName: d, formattedValues: a, chartType: s, value: t, color: p })
|
|
171
|
+
];
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
const _ = this._getChartOption({
|
|
175
|
+
value: t,
|
|
176
|
+
values: i,
|
|
177
|
+
chartType: s,
|
|
178
|
+
formattedValues: a,
|
|
179
|
+
expressionValues: o,
|
|
180
|
+
fieldName: d,
|
|
181
|
+
fieldInfos: u,
|
|
182
|
+
color: p
|
|
183
|
+
});
|
|
184
|
+
t.series.push(_);
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
_getRelatedChartInfos(e) {
|
|
188
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: s, value: n, color: o } = e, r = [], c = N(i), f = c && this.relatedInfos?.get(c.layerId.toString());
|
|
189
|
+
if (!f)
|
|
190
|
+
return r;
|
|
191
|
+
const { relatedFeatures: m, relation: l } = f;
|
|
192
|
+
if (!l || !m)
|
|
193
|
+
return r;
|
|
194
|
+
const { cardinality: h } = l;
|
|
195
|
+
return m.forEach((d) => {
|
|
196
|
+
const g = d.attributes;
|
|
197
|
+
g && Object.keys(g).forEach((p) => {
|
|
198
|
+
p === c.fieldName && r.push(this._getChartOption({
|
|
199
|
+
value: n,
|
|
200
|
+
values: g,
|
|
201
|
+
formattedValues: a,
|
|
202
|
+
fieldName: i,
|
|
203
|
+
chartType: s,
|
|
204
|
+
relatedFieldName: p,
|
|
205
|
+
hasMultipleRelatedFeatures: m?.length > 1,
|
|
206
|
+
fieldInfos: t,
|
|
207
|
+
color: o
|
|
208
|
+
}));
|
|
209
|
+
});
|
|
210
|
+
}), h && (h === "one-to-many" || h === "many-to-many") ? r : [r[0]];
|
|
211
|
+
}
|
|
212
|
+
_getTooltip({ label: e, value: t, chartType: i }) {
|
|
213
|
+
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
214
|
+
}
|
|
215
|
+
_getChartOption(e) {
|
|
216
|
+
const { value: t, values: i, formattedValues: a, expressionValues: s, fieldName: n, relatedFieldName: o, fieldInfos: r, chartType: c, hasMultipleRelatedFeatures: f, color: m } = e, l = this.layer, h = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: u, tooltipField: d } = t, g = u ? T(u) ? i[N(u).fieldName] : i[u] : null, p = se(n) && s?.[n] !== void 0 ? s[n] : o && i[o] !== void 0 ? i[o] : i[n] !== void 0 ? i[n] : a[n], _ = p === void 0 ? null : p && g && typeof p == "number" && typeof g == "number" ? p / g : p, v = oe(r, n), x = D(n, l), F = (d && a[d] !== void 0 ? a[d] : le(v || new ae({ fieldName: x }), this.popupTemplate?.expressionInfos)) ?? "", $ = a[x] ?? "", P = typeof _ == "number" ? _ : Number(_);
|
|
217
|
+
if (T(n)) {
|
|
218
|
+
const k = h.get(n.toLowerCase()), B = d ? h.get(d.toLowerCase()) : null, H = k?.fieldName ?? n, L = f && d ? N(d).fieldName : B?.fieldName ?? d, O = (f && L ? i[L] : a[L] ?? k?.label ?? k?.fieldName ?? o) ?? "", W = (f && o ? i[o] : a[H]) ?? "";
|
|
219
|
+
return new X({
|
|
220
|
+
fieldName: n,
|
|
221
|
+
tooltip: this._getTooltip({
|
|
222
|
+
label: O,
|
|
223
|
+
value: W,
|
|
224
|
+
chartType: c
|
|
225
|
+
}),
|
|
226
|
+
color: m,
|
|
227
|
+
value: P
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
return new X({
|
|
231
|
+
fieldName: n,
|
|
232
|
+
tooltip: this._getTooltip({
|
|
233
|
+
label: F,
|
|
234
|
+
value: $,
|
|
235
|
+
chartType: c
|
|
236
|
+
}),
|
|
237
|
+
color: m,
|
|
238
|
+
value: P
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
_getRenderer() {
|
|
242
|
+
const e = this.layer;
|
|
243
|
+
return this.isAggregate && e?.featureReduction && "renderer" in e.featureReduction ? e.featureReduction.renderer : e?.renderer;
|
|
244
|
+
}
|
|
245
|
+
async _getSeriesColors(e) {
|
|
246
|
+
const { color: t } = await import("@amcharts/amcharts5/index.js"), i = /* @__PURE__ */ new Map();
|
|
247
|
+
return e.forEach((a) => {
|
|
248
|
+
a.color && i.set(a, t(a.color.toCss(!0)));
|
|
249
|
+
}), i;
|
|
250
|
+
}
|
|
251
|
+
async _getRendererColors() {
|
|
252
|
+
const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
|
|
253
|
+
if (!i)
|
|
254
|
+
return t;
|
|
255
|
+
const s = await J(i);
|
|
256
|
+
return s.delete(a), Array.from(s.values()).every((o) => o?.length === 1) && Array.from(s.keys()).forEach((o) => {
|
|
257
|
+
const r = s.get(o)?.[0]?.toCss(!0);
|
|
258
|
+
r && t.set(o, e(r));
|
|
259
|
+
}), t;
|
|
260
|
+
}
|
|
261
|
+
async _createChart(e) {
|
|
262
|
+
const { activeMediaInfo: t } = this;
|
|
263
|
+
if (!e || !t)
|
|
264
|
+
return;
|
|
265
|
+
const { createRoot: i } = await import("../../chunks/chart-utils.js"), a = await i(e);
|
|
266
|
+
this._chartRoot = a, this._renderChart({
|
|
267
|
+
mediaInfo: t,
|
|
268
|
+
root: a
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
_handleMediaKeyup(e) {
|
|
272
|
+
const { key: t } = e;
|
|
273
|
+
t === "ArrowLeft" && (e.stopPropagation(), this.previous()), t === "ArrowRight" && (e.stopPropagation(), this.next());
|
|
274
|
+
}
|
|
275
|
+
_canAnimateChart() {
|
|
276
|
+
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
277
|
+
}
|
|
278
|
+
_getChartAnimationMS() {
|
|
279
|
+
return this._canAnimateChart() ? ue : 0;
|
|
280
|
+
}
|
|
281
|
+
_getChartSeriesAnimationMS() {
|
|
282
|
+
return this._canAnimateChart() ? he : 0;
|
|
283
|
+
}
|
|
284
|
+
_getDirection() {
|
|
285
|
+
return S(this.el) ? "rtl" : "ltr";
|
|
286
|
+
}
|
|
287
|
+
async _customizeChartTooltip(e, t = "horizontal") {
|
|
288
|
+
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
289
|
+
e.setAll({
|
|
290
|
+
pointerOrientation: t
|
|
291
|
+
}), e.get("background")?.setAll({
|
|
292
|
+
stroke: i(me)
|
|
293
|
+
}), e.label.setAll({
|
|
294
|
+
direction: this._getDirection(),
|
|
295
|
+
oversizedBehavior: "wrap",
|
|
296
|
+
maxWidth: fe
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
async _createPieChart(e, t) {
|
|
300
|
+
const [{ Tooltip: i }, { PieChart: a, PieSeries: s }] = await Promise.all([
|
|
301
|
+
import("@amcharts/amcharts5/index.js"),
|
|
302
|
+
import("@amcharts/amcharts5/percent.js")
|
|
303
|
+
]), { mediaInfo: n, root: o } = e, { title: r } = n, c = 5, f = n?.altText || n?.title || "", m = o.container.children.push(a.new(o, {
|
|
304
|
+
ariaLabel: f,
|
|
305
|
+
focusable: !0,
|
|
306
|
+
paddingBottom: c,
|
|
307
|
+
paddingTop: c,
|
|
308
|
+
paddingLeft: c,
|
|
309
|
+
paddingRight: c
|
|
310
|
+
})), l = `{category}: {valuePercentTotal.formatNumber('0.00')}%
|
|
311
|
+
({value})`, h = i.new(o, {
|
|
312
|
+
labelText: l
|
|
313
|
+
}), u = m.series.push(s.new(o, {
|
|
314
|
+
name: r,
|
|
315
|
+
valueField: b,
|
|
316
|
+
categoryField: w,
|
|
317
|
+
tooltip: h
|
|
318
|
+
}));
|
|
319
|
+
u.ticks.template.set("forceHidden", !0), u.labels.template.set("forceHidden", !0), u.slices.template.states.create("active", {
|
|
320
|
+
shiftRadius: c
|
|
321
|
+
}), this._customizeChartTooltip(h), u.slices.template.setAll({
|
|
322
|
+
ariaLabel: l,
|
|
323
|
+
focusable: !0,
|
|
324
|
+
templateField: "columnSettings"
|
|
325
|
+
}), u.data.setAll(t), u.appear(this._getChartSeriesAnimationMS()), m.appear(this._getChartAnimationMS()), m.root.dom.classList.toggle(I.mediaChartRendered, !0);
|
|
326
|
+
}
|
|
327
|
+
_getMinSeriesValue(e) {
|
|
328
|
+
let t = 0;
|
|
329
|
+
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
330
|
+
}
|
|
331
|
+
async _createColumnChart(e, t, i) {
|
|
332
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: m, root: l } = t, { value: h, title: u } = m;
|
|
333
|
+
e.setAll({
|
|
334
|
+
wheelX: "panX",
|
|
335
|
+
wheelY: "zoomX"
|
|
336
|
+
});
|
|
337
|
+
const d = e.xAxes.push(n.new(l, {
|
|
338
|
+
renderer: o.new(l, {
|
|
339
|
+
inversed: S(this.el)
|
|
340
|
+
}),
|
|
341
|
+
categoryField: w
|
|
342
|
+
}));
|
|
343
|
+
d.get("renderer").labels.template.setAll({
|
|
344
|
+
forceHidden: !0
|
|
345
|
+
});
|
|
346
|
+
const g = e.yAxes.push(c.new(l, {
|
|
347
|
+
renderer: r.new(l, { inside: !1 }),
|
|
348
|
+
min: this._getMinSeriesValue(h.series)
|
|
349
|
+
}));
|
|
350
|
+
g.get("renderer").labels.template.setAll({
|
|
351
|
+
direction: this._getDirection()
|
|
352
|
+
});
|
|
353
|
+
const p = "{categoryX}", _ = a.new(l, {
|
|
354
|
+
labelText: p
|
|
355
|
+
}), v = e.series.push(f.new(l, {
|
|
356
|
+
name: u,
|
|
357
|
+
xAxis: d,
|
|
358
|
+
yAxis: g,
|
|
359
|
+
valueYField: b,
|
|
360
|
+
categoryXField: w,
|
|
361
|
+
tooltip: _
|
|
362
|
+
}));
|
|
363
|
+
this._customizeChartTooltip(_), v.columns.template.setAll({
|
|
364
|
+
ariaLabel: p,
|
|
365
|
+
focusable: !0,
|
|
366
|
+
templateField: "columnSettings"
|
|
367
|
+
}), h.series.length > z && e.set("scrollbarX", s.new(l, {
|
|
368
|
+
orientation: "horizontal"
|
|
369
|
+
})), d.data.setAll(i), v.data.setAll(i), v.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
370
|
+
}
|
|
371
|
+
async _createBarChart(e, t, i) {
|
|
372
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: m, root: l } = t, { value: h, title: u } = m;
|
|
373
|
+
e.setAll({
|
|
374
|
+
wheelX: "panY",
|
|
375
|
+
wheelY: "zoomY"
|
|
376
|
+
});
|
|
377
|
+
const d = e.yAxes.push(n.new(l, {
|
|
378
|
+
renderer: r.new(l, {
|
|
379
|
+
inversed: !0
|
|
380
|
+
}),
|
|
381
|
+
categoryField: w
|
|
382
|
+
}));
|
|
383
|
+
d.get("renderer").labels.template.setAll({
|
|
384
|
+
forceHidden: !0
|
|
385
|
+
});
|
|
386
|
+
const g = e.xAxes.push(c.new(l, {
|
|
387
|
+
renderer: o.new(l, {
|
|
388
|
+
inside: !1,
|
|
389
|
+
inversed: S(this.el)
|
|
390
|
+
}),
|
|
391
|
+
min: this._getMinSeriesValue(h.series)
|
|
392
|
+
}));
|
|
393
|
+
g.get("renderer").labels.template.setAll({
|
|
394
|
+
direction: this._getDirection()
|
|
395
|
+
});
|
|
396
|
+
const p = "{categoryY}", _ = a.new(l, {
|
|
397
|
+
labelText: p
|
|
398
|
+
}), v = e.series.push(f.new(l, {
|
|
399
|
+
name: u,
|
|
400
|
+
xAxis: g,
|
|
401
|
+
yAxis: d,
|
|
402
|
+
valueXField: b,
|
|
403
|
+
categoryYField: w,
|
|
404
|
+
tooltip: _
|
|
405
|
+
}));
|
|
406
|
+
this._customizeChartTooltip(_, "vertical"), v.columns.template.setAll({
|
|
407
|
+
ariaLabel: p,
|
|
408
|
+
focusable: !0,
|
|
409
|
+
templateField: "columnSettings"
|
|
410
|
+
}), h.series.length > z && e.set("scrollbarY", s.new(l, {
|
|
411
|
+
orientation: "vertical"
|
|
412
|
+
})), d.data.setAll(i), v.data.setAll(i), v.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
413
|
+
}
|
|
414
|
+
async _createLineChart(e, t, i) {
|
|
415
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, LineSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: m, mediaInfo: l } = t, { value: h, title: u } = l;
|
|
416
|
+
e.setAll({
|
|
417
|
+
wheelX: "panX",
|
|
418
|
+
wheelY: "zoomX"
|
|
419
|
+
});
|
|
420
|
+
const d = e.xAxes.push(n.new(m, {
|
|
421
|
+
renderer: o.new(m, {
|
|
422
|
+
inversed: S(this.el)
|
|
423
|
+
}),
|
|
424
|
+
categoryField: w
|
|
425
|
+
}));
|
|
426
|
+
d.get("renderer").labels.template.setAll({
|
|
427
|
+
forceHidden: !0
|
|
428
|
+
});
|
|
429
|
+
const g = e.yAxes.push(c.new(m, {
|
|
430
|
+
renderer: r.new(m, { inside: !1 }),
|
|
431
|
+
min: this._getMinSeriesValue(h.series)
|
|
432
|
+
}));
|
|
433
|
+
g.get("renderer").labels.template.setAll({
|
|
434
|
+
direction: this._getDirection()
|
|
435
|
+
});
|
|
436
|
+
const p = "{categoryX}", _ = i[0]?.lineSettings?.stroke, v = a.new(m, {
|
|
437
|
+
getFillFromSprite: !_,
|
|
438
|
+
labelText: p
|
|
439
|
+
});
|
|
440
|
+
_ && v.get("background")?.setAll({
|
|
441
|
+
fill: _
|
|
442
|
+
});
|
|
443
|
+
const x = e.series.push(f.new(m, {
|
|
444
|
+
name: u,
|
|
445
|
+
xAxis: d,
|
|
446
|
+
yAxis: g,
|
|
447
|
+
valueYField: b,
|
|
448
|
+
categoryXField: w,
|
|
449
|
+
tooltip: v
|
|
450
|
+
}));
|
|
451
|
+
x.strokes.template.setAll({
|
|
452
|
+
templateField: "lineSettings"
|
|
453
|
+
}), this._customizeChartTooltip(v, "vertical"), h.series.length > z && e.set("scrollbarX", s.new(m, {
|
|
454
|
+
orientation: "horizontal"
|
|
455
|
+
})), d.data.setAll(i), x.data.setAll(i), x.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
456
|
+
}
|
|
457
|
+
async _createXYChart(e, t) {
|
|
458
|
+
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: s, mediaInfo: n } = e, { type: o } = n, r = n?.altText || n?.title || "", c = s.container.children.push(i.new(s, {
|
|
459
|
+
ariaLabel: r,
|
|
460
|
+
focusable: !0,
|
|
461
|
+
panX: !0,
|
|
462
|
+
panY: !0
|
|
463
|
+
}));
|
|
464
|
+
c.set("cursor", a.new(s, {})), o === "column-chart" && await this._createColumnChart(c, e, t), o === "bar-chart" && await this._createBarChart(c, e, t), o === "line-chart" && await this._createLineChart(c, e, t), c.root.dom.classList.toggle(I.mediaChartRendered, !0);
|
|
465
|
+
}
|
|
466
|
+
_clearMediaRefreshTimer() {
|
|
467
|
+
const { _refreshTimer: e } = this;
|
|
468
|
+
e && (clearTimeout(e), this._refreshTimer = void 0);
|
|
469
|
+
}
|
|
470
|
+
_updateMediaInfoTimestamp(e) {
|
|
471
|
+
const t = Date.now();
|
|
472
|
+
this._refreshIntervalInfo = {
|
|
473
|
+
timestamp: t,
|
|
474
|
+
sourceURL: e && this._getImageSource(e, t)
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
_setupMediaRefreshTimer() {
|
|
478
|
+
this._clearMediaRefreshTimer();
|
|
479
|
+
const { activeMediaInfo: e } = this;
|
|
480
|
+
e?.type === "image" && e.refreshInterval > 0 && this._setRefreshTimeout(e);
|
|
481
|
+
}
|
|
482
|
+
_setRefreshTimeout(e) {
|
|
483
|
+
const { refreshInterval: t, value: i } = e, a = t * 6e4;
|
|
484
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
485
|
+
const s = window.setInterval(() => {
|
|
486
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
487
|
+
}, a);
|
|
488
|
+
this._refreshTimer = s;
|
|
489
|
+
}
|
|
490
|
+
_getImageSource(e, t) {
|
|
491
|
+
const i = e.includes("?") ? "&" : "?", [a, s = ""] = e.split("#");
|
|
492
|
+
return `${a}${i}timestamp=${t}${s ? "#" : ""}${s}`;
|
|
493
|
+
}
|
|
494
|
+
_updateChartElement(e) {
|
|
495
|
+
if (!e) {
|
|
496
|
+
this._chartRoot?.dispose(), this._chartRoot = void 0;
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
this._createChart(e);
|
|
500
|
+
}
|
|
501
|
+
render() {
|
|
502
|
+
return y`<div class=${C(I.base)} @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
|
|
503
|
+
}
|
|
504
|
+
_renderMedia() {
|
|
505
|
+
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
506
|
+
return e ? y`<div class=${C(I.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(I.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(I.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(I.mediaPaginationText)}>${te(this.messages?.pageText ?? "", {
|
|
507
|
+
index: t + 1,
|
|
508
|
+
total: e
|
|
509
|
+
})}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
|
|
510
|
+
}
|
|
511
|
+
_renderMediaText() {
|
|
512
|
+
const { activeMediaInfo: e } = this;
|
|
513
|
+
if (!e)
|
|
514
|
+
return null;
|
|
515
|
+
const t = e?.title ? y`<div class=${C(I.mediaItemTitle)} .innerHTML=${E.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? y`<div class=${C(I.mediaItemCaption)} .innerHTML=${E.sanitize(e.caption) ?? ""}></div>` : null;
|
|
516
|
+
return t || i ? y`<div class=${C(I.mediaItemText)}>${t}${i}</div>` : null;
|
|
517
|
+
}
|
|
518
|
+
_renderImageMediaInfo(e) {
|
|
519
|
+
if (!e.value)
|
|
520
|
+
return null;
|
|
521
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: s, title: n } = e, { sourceURL: o, linkURL: r } = i, f = ce(r ?? void 0) ? "_blank" : "_self", m = f === "_blank" ? "noreferrer" : "", l = a ? t : null, h = l ? l.sourceURL : o, u = y`<img alt=${(s || n) ?? A} src=${h ?? void 0 ?? A}>`;
|
|
522
|
+
return (r ? y`<a href=${r ?? A} rel=${m ?? A} target=${f ?? A} title=${n ?? A}>${u}</a>` : null) ?? u;
|
|
523
|
+
}
|
|
524
|
+
_renderChartMediaInfo(e) {
|
|
525
|
+
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
526
|
+
return q(`media-${e.type}-${t}-${i}`, y`<div class=${C(I.mediaChart)} ${G(this._updateChartElement)}></div>`);
|
|
527
|
+
}
|
|
528
|
+
_renderMediaInfoType() {
|
|
529
|
+
const { activeMediaInfo: e } = this;
|
|
530
|
+
return e ? e.type === "image" ? this._renderImageMediaInfo(e) : e.type.includes("chart") ? this._renderChartMediaInfo(e) : null : null;
|
|
531
|
+
}
|
|
532
|
+
_renderMediaInfo() {
|
|
533
|
+
const { activeMediaInfo: e } = this;
|
|
534
|
+
return e ? y`<div class=${C(I.mediaItemContainer)}><div class=${C(I.mediaItem)}>${this._renderMediaInfoType()}</div></div>` : null;
|
|
535
|
+
}
|
|
536
|
+
_renderMediaPageButton(e) {
|
|
537
|
+
if (this.formattedMediaInfoCount < 2)
|
|
538
|
+
return null;
|
|
539
|
+
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", s = t ? this.previous : this.next;
|
|
540
|
+
return y`<button .ariaLabel=${i} class=${C(I.mediaPaginationButton)} @click=${s} tabindex=0 title=${i ?? A} type=button><calcite-icon flip-rtl class=${C(I.mediaPaginationIcon)} .icon=${a} scale=s></calcite-icon></button>`;
|
|
541
|
+
}
|
|
542
|
+
async _renderChart(e) {
|
|
543
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: s } = i, [{ default: n }, { default: o }, { default: r }, { esriChartColorSet: c }, { ColorSet: f, Theme: m }] = await Promise.all([
|
|
544
|
+
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
545
|
+
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
546
|
+
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
547
|
+
import("../../chunks/chartCommon.js"),
|
|
548
|
+
import("@amcharts/amcharts5/index.js")
|
|
549
|
+
]), l = m.new(t);
|
|
550
|
+
l.rule("ColorSet").set("colors", c), l.rule("ColorSet").set("reuse", !0);
|
|
551
|
+
const h = [r.new(t), l];
|
|
552
|
+
re(this.el) === "dark" && h.push(o.new(t)), this._canAnimateChart() && h.push(n.new(t)), t.setThemes(h);
|
|
553
|
+
const u = await this._getRendererColors(), d = await this._getSeriesColors(a.series), g = f.new(t, {}), p = d.get(a.series[0]), _ = p ? {
|
|
554
|
+
lineSettings: {
|
|
555
|
+
stroke: p
|
|
556
|
+
}
|
|
557
|
+
} : void 0, v = a.series.map((x, F) => {
|
|
558
|
+
const $ = d.get(x) || u.get(x.fieldName) || g.getIndex(F);
|
|
559
|
+
return {
|
|
560
|
+
[w]: x.tooltip,
|
|
561
|
+
[b]: x.value,
|
|
562
|
+
columnSettings: {
|
|
563
|
+
fill: $,
|
|
564
|
+
stroke: $
|
|
565
|
+
},
|
|
566
|
+
..._
|
|
567
|
+
};
|
|
568
|
+
}).filter((x) => s === "pie-chart" ? x.value != null && x.value > 0 : !0);
|
|
569
|
+
s === "pie-chart" ? this._createPieChart(e, v) : this._createXYChart(e, v);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
j("arcgis-feature-media", pe);
|
|
573
|
+
export {
|
|
574
|
+
pe as ArcgisFeatureMedia
|
|
575
|
+
};
|
|
@@ -9,7 +9,7 @@ import { e as m, g as c } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.29 */
|
|
13
13
|
const w = u`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`, p = g(a);
|
|
14
14
|
class b extends d {
|
|
15
15
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.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.29 */
|
|
11
11
|
const n = h`@layer{arcgis-feature-templates{display:block}}`, c = a(s);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.29 */
|
|
12
12
|
const g = l`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`, u = d(o);
|
|
13
13
|
class w extends r {
|
|
14
14
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as r } from "@lit/reactive-element/css-tag.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.
|
|
8
|
+
v4.34.0-next.29 */
|
|
9
9
|
const h = r`@layer{arcgis-floor-filter{display:block}}`, n = a(i);
|
|
10
10
|
class c extends s {
|
|
11
11
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
|
9
9
|
import { u as h } from "../../chunks/useView.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.29 */
|
|
13
13
|
const g = p`arcgis-fullscreen{display:block}`, E = {
|
|
14
14
|
base: "esri-fullscreen"
|
|
15
15
|
};
|
|
@@ -15,7 +15,7 @@ import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
15
15
|
import L from "@arcgis/core/widgets/support/GridControls/GridControlsViewModel.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.29 */
|
|
19
19
|
function B(s) {
|
|
20
20
|
if (s == null || Number.isNaN(s))
|
|
21
21
|
return 0;
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as d } from "@lit/reactive-element/css-tag.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.29 */
|
|
10
10
|
const h = d`@layer{arcgis-histogram-range-slider{display:block}}`, l = n(s);
|
|
11
11
|
class g extends a {
|
|
12
12
|
constructor() {
|
|
@@ -11,7 +11,7 @@ import { g as a } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
14
|
+
v4.34.0-next.29 */
|
|
15
15
|
const b = u`@layer{arcgis-home{display:block}}`, y = {
|
|
16
16
|
base: "esri-home"
|
|
17
17
|
}, M = f(d);
|
|
@@ -6,7 +6,7 @@ import { LitElement as m, createEvent as b, safeClassMap as c } from "@arcgis/lu
|
|
|
6
6
|
import { css as f } from "@lit/reactive-element/css-tag.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.29 */
|
|
10
10
|
const g = f`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`, e = {
|
|
11
11
|
label: "label",
|
|
12
12
|
labelContent: "label-content",
|