@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
|
@@ -8,7 +8,7 @@ import { s as n } from "../../chunks/layer-list.js";
|
|
|
8
8
|
import { c as g } 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 c = d(a);
|
|
13
13
|
class m extends r {
|
|
14
14
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { s as E } from "../../chunks/layer-list.js";
|
|
|
10
10
|
import { u as x } from "../../chunks/useT9n.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.29 */
|
|
14
14
|
const D = {
|
|
15
15
|
hideChildren: "hide-children"
|
|
16
16
|
};
|
|
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } 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 l = n`@layer{arcgis-legend{display:block}}`, d = o(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -9,26 +9,77 @@ declare const useViewModel: (component: LitElement & Pick<LineOfSightViewModel,
|
|
|
9
9
|
/**
|
|
10
10
|
* The Line Of Sight component is a 3D analysis tool that allows you to perform
|
|
11
11
|
* [line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)
|
|
12
|
-
* in a
|
|
12
|
+
* in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently
|
|
13
13
|
* displayed content in the view, including ground, integrated meshes, and 3D objects such as buildings or trees.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* The
|
|
15
|
+
* 
|
|
16
|
+
*
|
|
17
|
+
* The analysis results are displayed as colored lines, where areas visible to the observer are
|
|
18
|
+
* shown green and occluded parts are marked red. Also, the color of the target points indicates their visibility.
|
|
18
19
|
* When the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either
|
|
19
20
|
* the target or the observer is not in the view.
|
|
20
21
|
*
|
|
21
|
-
* When creating a new line of sight analysis
|
|
22
|
+
* When creating a new line of sight analysis, the first click in the Scene creates the
|
|
22
23
|
* [observer](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisObserver.html)
|
|
23
|
-
* and
|
|
24
|
-
* Both, observer and target points
|
|
24
|
+
* and subsequent clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).
|
|
25
|
+
* Both, the observer and target points can be moved by dragging. Additionally, the target points can be removed with a right click.
|
|
26
|
+
*
|
|
27
|
+
* **Known limitation**
|
|
28
|
+
*
|
|
29
|
+
* Line Of Sight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
30
|
+
*
|
|
31
|
+
* **See also**
|
|
32
|
+
*
|
|
33
|
+
* - [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)
|
|
34
|
+
* - [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)
|
|
35
|
+
* - [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
25
36
|
*
|
|
26
37
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/)
|
|
27
38
|
*/
|
|
28
39
|
export declare class ArcgisLineOfSight extends LitElement {
|
|
29
40
|
/**
|
|
30
|
-
* The [
|
|
31
|
-
*
|
|
41
|
+
* The [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)
|
|
42
|
+
* created or modified by the component.
|
|
43
|
+
*
|
|
44
|
+
* When connecting the Line Of Sight component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
45
|
+
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
46
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
47
|
+
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
48
|
+
*
|
|
49
|
+
* Alternatively, a programmatically created analysis can be provided to the component.
|
|
50
|
+
* Then, the application itself needs to add it to and later remove it from the Scene's analyses collection.
|
|
51
|
+
*
|
|
52
|
+
* ```js
|
|
53
|
+
* //Create the analysis.
|
|
54
|
+
* const lineOfSightAnalysis = new LineOfSightAnalysis({
|
|
55
|
+
* observer: new LineOfSightAnalysisObserver({
|
|
56
|
+
* position: new Point({
|
|
57
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
58
|
+
* x: -13624828.3377593,
|
|
59
|
+
* y: 4550305.319405007,
|
|
60
|
+
* z: 105.55410975124687
|
|
61
|
+
* }),
|
|
62
|
+
* }),
|
|
63
|
+
* targets: [ new LineOfSightAnalysisTarget({
|
|
64
|
+
* position: new Point({
|
|
65
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
66
|
+
* x: -13624944.17687458,
|
|
67
|
+
* y: 4550420.577689567,
|
|
68
|
+
* z: 0
|
|
69
|
+
* }),
|
|
70
|
+
* })
|
|
71
|
+
* ]
|
|
72
|
+
* });
|
|
73
|
+
* // Get the Scene and Line Of Sight component and wait until they are ready.
|
|
74
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
75
|
+
* await viewElement.viewOnReady();
|
|
76
|
+
* const lineOfSight = document.querySelector("arcgis-line-of-sight");
|
|
77
|
+
* await lineOfSight.componentOnReady();
|
|
78
|
+
* // Add the analysis to the Scene component.
|
|
79
|
+
* viewElement.analyses.add(lineOfSightAnalysis);
|
|
80
|
+
* // Connect the analysis to the component:
|
|
81
|
+
* lineOfSight.analysis = lineOfSightAnalysis;
|
|
82
|
+
* ```
|
|
32
83
|
*/
|
|
33
84
|
analysis: __esri.LineOfSightAnalysis;
|
|
34
85
|
/**
|
|
@@ -76,18 +127,15 @@ export declare class ArcgisLineOfSight extends LitElement {
|
|
|
76
127
|
get state(): "created" | "creating" | "disabled" | "ready";
|
|
77
128
|
/** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
|
|
78
129
|
clear(): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/#stop)
|
|
81
|
-
* was called, this method allows to continue the line of sight analysis and add more targets.
|
|
82
|
-
*/
|
|
130
|
+
/** After [stop()](#stop) was called, this method allows to continue the line of sight analysis and add more targets. */
|
|
83
131
|
continue(): Promise<void>;
|
|
84
132
|
/** Permanently destroy the component. */
|
|
85
133
|
destroy(): Promise<void>;
|
|
86
134
|
/** Start a new line of sight analysis. */
|
|
87
135
|
start(): Promise<void>;
|
|
88
136
|
/**
|
|
89
|
-
* Stop the current line of sight analysis
|
|
90
|
-
* Users can still interact with existing targets and the observer but they cannot place new target points.
|
|
137
|
+
* Stop the current placing of line of sight analysis. Any lines added this far are kept in the view.
|
|
138
|
+
* Users can still interact with existing targets and the observer, but they cannot place new target points.
|
|
91
139
|
*/
|
|
92
140
|
stop(): Promise<void>;
|
|
93
141
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -11,7 +11,7 @@ import x from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
|
11
11
|
import { property as O, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.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 C = w`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, a = "arcgis-line-of-sight", r = {
|
|
16
16
|
base: a,
|
|
17
17
|
actions: `${a}__actions`,
|
|
@@ -40,7 +40,7 @@ let c = class extends M {
|
|
|
40
40
|
this.analysis.observer = null, this.analysis.targets.removeAll();
|
|
41
41
|
}
|
|
42
42
|
async place(t) {
|
|
43
|
-
|
|
43
|
+
await this.analysisView?.place(t);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
u([
|
|
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as m } from "@lit/reactive-element/css-tag.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 = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as e } from "lit-html";
|
|
3
|
-
import { classes as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
3
|
+
import { classes as h } from "@arcgis/components-utils";
|
|
4
|
+
import d from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
|
|
5
|
+
import { usePropertyChange as m } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { m as g } from "../../chunks/useViewModel.js";
|
|
7
|
+
import { u as p } from "../../chunks/useT9n.js";
|
|
8
|
+
import { reEmitEvent as u } from "@arcgis/lumina/controllers/accessor";
|
|
9
|
+
import { LitElement as y, createEvent as w, noShadowRoot as b, safeClassMap as f } from "@arcgis/lumina";
|
|
10
|
+
import { css as v } from "@lit/reactive-element/css-tag.js";
|
|
12
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
15
|
-
const L =
|
|
13
|
+
v4.34.0-next.29 */
|
|
14
|
+
const L = v`@layer{arcgis-link-chart-layout-switcher{display:block}}`, c = {
|
|
16
15
|
basicLayoutCategory: [
|
|
17
16
|
"basic-grid"
|
|
18
17
|
/* SIMPLE */
|
|
@@ -37,7 +36,7 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
37
36
|
"chronological-multi-timeline"
|
|
38
37
|
/* CHRONOLOGICAL_MULTIPLE */
|
|
39
38
|
]
|
|
40
|
-
},
|
|
39
|
+
}, s = {
|
|
41
40
|
"organic-standard": "force-directed-link-chart-layout",
|
|
42
41
|
"organic-community": "community-link-chart-layout",
|
|
43
42
|
"basic-grid": "simple-link-chart-layout",
|
|
@@ -47,7 +46,7 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
47
46
|
"geographic-organic-standard": "geographic-link-chart-layout",
|
|
48
47
|
"chronological-mono-timeline": "single-timeline",
|
|
49
48
|
"chronological-multi-timeline": "multi-timeline"
|
|
50
|
-
},
|
|
49
|
+
}, l = {
|
|
51
50
|
"organic-standard": "forceDirected",
|
|
52
51
|
"organic-community": "community",
|
|
53
52
|
"basic-grid": "simple",
|
|
@@ -57,18 +56,18 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
57
56
|
"geographic-organic-standard": "geographic",
|
|
58
57
|
"chronological-mono-timeline": "chronologicalSingle",
|
|
59
58
|
"chronological-multi-timeline": "chronologicalMultiple"
|
|
60
|
-
},
|
|
59
|
+
}, $ = {
|
|
61
60
|
base: "esri-link-chart-layout-switcher"
|
|
62
|
-
},
|
|
63
|
-
class
|
|
61
|
+
}, k = g(d);
|
|
62
|
+
class M extends y {
|
|
64
63
|
constructor() {
|
|
65
|
-
super(...arguments), this.messages =
|
|
64
|
+
super(...arguments), this.messages = p(), this.viewModel = k(this), this.appearance = "dropdown", this.autoDestroyDisabled = !1, this.closeOnSelectDisabled = !1, this.icon = "nodes-link", this.layout = this.viewModel.layout, this.position = "top-left", this.preventExtentUpdate = this.viewModel.preventExtentUpdate, this.state = this.viewModel.state, this.arcgisSwitchLayout = u(() => this.viewModel, "switchLayout"), this.arcgisPropertyChange = m()("state"), this.arcgisReady = w();
|
|
66
65
|
}
|
|
67
66
|
static {
|
|
68
67
|
this.properties = { appearance: 1, autoDestroyDisabled: 5, closeOnSelectDisabled: 5, icon: 1, label: 1, layout: 32, messageOverrides: 0, position: 3, preventExtentUpdate: 5, referenceElement: 1, state: 3 };
|
|
69
68
|
}
|
|
70
69
|
static {
|
|
71
|
-
this.shadowRootOptions =
|
|
70
|
+
this.shadowRootOptions = b;
|
|
72
71
|
}
|
|
73
72
|
static {
|
|
74
73
|
this.styles = L;
|
|
@@ -80,19 +79,19 @@ class C extends b {
|
|
|
80
79
|
this.viewModel.switchLayout(t);
|
|
81
80
|
}
|
|
82
81
|
_renderDropdown() {
|
|
83
|
-
const { messages: t, icon:
|
|
84
|
-
return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-
|
|
82
|
+
const { messages: t, icon: a } = this;
|
|
83
|
+
return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-action slot=trigger .disabled=${this.viewModel.state === "disabled"} .icon=${a ?? void 0} .label=${t.layoutOptions ?? "Layout"} appearance=solid scale=s .text=${t.layoutOptions ?? "Layout"}></calcite-action>${Object.entries(c).map(([r, i]) => e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[r]}>${i.map((o) => e`<calcite-dropdown-item .iconStart=${s[o]} .selected=${o === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(o)}>${t[l[o]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown>`;
|
|
85
84
|
}
|
|
86
85
|
_renderMenuBar() {
|
|
87
86
|
const { messages: t } = this;
|
|
88
|
-
return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(
|
|
87
|
+
return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(c).map(([a, r]) => e`<calcite-action-group .label=${this.messages[a]}>${r.map((i) => e`<calcite-action scale=s .icon=${s[i]} .active=${i === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(i)} .text=${t[l[i]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`;
|
|
89
88
|
}
|
|
90
89
|
render() {
|
|
91
|
-
const { appearance: t } = this,
|
|
92
|
-
return e`<div class=${
|
|
90
|
+
const { appearance: t } = this, a = t === "menu-bar" ? this._renderMenuBar() : this._renderDropdown();
|
|
91
|
+
return e`<div class=${f(h($.base))}>${a}</div>`;
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
|
-
|
|
94
|
+
n("arcgis-link-chart-layout-switcher", M);
|
|
96
95
|
export {
|
|
97
|
-
|
|
96
|
+
M as ArcgisLinkChartLayoutSwitcher
|
|
98
97
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-dropdown";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-dropdown-group";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-action-bar";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
8
7
|
export * from "./customElement.js";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-dropdown";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-dropdown-group";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-action-bar";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
8
7
|
export * from "./customElement.js";
|
|
@@ -27,7 +27,7 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
|
|
|
27
27
|
import oe from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
30
|
-
v4.34.0-next.
|
|
30
|
+
v4.34.0-next.29 */
|
|
31
31
|
const ie = K`@layer{arcgis-locate{display:block}}`;
|
|
32
32
|
let M = !1;
|
|
33
33
|
const re = {
|
|
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as m } from "@lit/reactive-element/css-tag.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 = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } 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 c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { f as l } from "../../chunks/measurementUtils.js";
|
|
|
6
6
|
import { css as m } 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 u = m`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`, e = {
|
|
11
11
|
error: "error",
|
|
12
12
|
hint: "hint",
|
|
@@ -16,7 +16,9 @@ type LayoutMode = "horizontal" | "vertical";
|
|
|
16
16
|
* to rotate the view. When the navigation mode is set to "rotate", the mouse drag gesture rotates the view and
|
|
17
17
|
* right-click + drag pans the view.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* **Known limitations**
|
|
20
|
+
*
|
|
21
|
+
* Navigation Toggle is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
20
22
|
*
|
|
21
23
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-navigation-toggle/)
|
|
22
24
|
*/
|
|
@@ -43,13 +45,10 @@ export declare class ArcgisNavigationToggle extends LitElement {
|
|
|
43
45
|
*/
|
|
44
46
|
messageOverrides?: typeof this._messages._overrides;
|
|
45
47
|
/**
|
|
46
|
-
* The navigation mode of the view.
|
|
47
|
-
* possible values.
|
|
48
|
+
* The navigation mode of the view. The possible values:
|
|
48
49
|
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* pan | The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
52
|
-
* rotate | The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
50
|
+
* * `pan` - The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
51
|
+
* * `rotate` - The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
53
52
|
*
|
|
54
53
|
* @default "pan"
|
|
55
54
|
*/
|
|
@@ -9,7 +9,7 @@ import { g as b } from "../../chunks/globalCss.js";
|
|
|
9
9
|
import { css as M } 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 $ = "arcgis-navigation-toggle", _ = {
|
|
14
14
|
base: $
|
|
15
15
|
}, w = M`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`, e = { pan: "move", rotate: "rotate" };
|
|
@@ -7,7 +7,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as g } 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 h = g`@layer{arcgis-oriented-imagery-viewer{display:block}}`, m = l(r);
|
|
12
12
|
class y extends o {
|
|
13
13
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { LitElement as l, createEvent as a, noShadowRoot as c } from "@arcgis/lu
|
|
|
4
4
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.29 */
|
|
8
8
|
const d = h`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`;
|
|
9
9
|
class m extends l {
|
|
10
10
|
constructor() {
|
|
@@ -215,13 +215,9 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
215
215
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
216
216
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
217
217
|
/** Emitted when the component is complete. */
|
|
218
|
-
readonly arcgisComplete: TargetedEvent<this,
|
|
219
|
-
link: __esri.FileLink;
|
|
220
|
-
}>;
|
|
218
|
+
readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
|
|
221
219
|
/** Emitted when the component is submitted. */
|
|
222
|
-
readonly arcgisSubmit: TargetedEvent<this,
|
|
223
|
-
link: __esri.FileLink;
|
|
224
|
-
}>;
|
|
220
|
+
readonly arcgisSubmit: TargetedEvent<this, __esri.PrintSubmitEvent>;
|
|
225
221
|
private messages: {
|
|
226
222
|
componentLabel: string;
|
|
227
223
|
title: string;
|
|
@@ -1,43 +1,49 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { classes as
|
|
4
|
-
import
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as i } from "lit-html";
|
|
3
|
+
import { classes as h } from "@arcgis/components-utils";
|
|
4
|
+
import p from "@arcgis/core/widgets/Print/PrintViewModel.js";
|
|
5
|
+
import { LitElement as m, createEvent as g, noShadowRoot as w, safeClassMap as l } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as v } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { reEmitEvent as o } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
+
import { u } from "../../chunks/useT9n.js";
|
|
9
|
+
import { m as f } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { g as n } from "../../chunks/globalCss.js";
|
|
11
|
+
import { css as _ } from "@lit/reactive-element/css-tag.js";
|
|
11
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
14
|
-
const
|
|
15
|
-
base:
|
|
16
|
-
headerTitle: `${
|
|
17
|
-
panelItemsCentered: `${
|
|
18
|
-
printWidgetContainer: `${
|
|
19
|
-
panelError: `${
|
|
20
|
-
}, f =
|
|
21
|
-
|
|
14
|
+
v4.34.0-next.29 */
|
|
15
|
+
const M = _`@layer{:root{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md)}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important;overflow-y:auto}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}arcgis-print-template-selector{overflow-y:hidden;display:flex}}`, a = "arcgis-print", r = {
|
|
16
|
+
base: a,
|
|
17
|
+
headerTitle: `${a}__header-title`,
|
|
18
|
+
panelItemsCentered: `${a}__panel-items--centered`,
|
|
19
|
+
printWidgetContainer: `${a}__container`,
|
|
20
|
+
panelError: `${a}__panel--error`
|
|
21
|
+
}, T = f(p), c = (s) => {
|
|
22
|
+
if (!s)
|
|
23
|
+
return "all";
|
|
24
|
+
const e = typeof s == "string" ? s.split(",").map((t) => t.trim()).filter((t) => t) : [s];
|
|
25
|
+
return !e.length || e.includes("all") ? "all" : e;
|
|
26
|
+
};
|
|
27
|
+
class $ extends m {
|
|
22
28
|
constructor() {
|
|
23
|
-
super(...arguments), this.messages =
|
|
29
|
+
super(...arguments), this.messages = u({ blocking: !0 }), this.viewModel = T(this), this._showTemplates = !1, this.error = this.viewModel.error, this.hideHeader = !1, this.position = "top-left", this.icon = "print", this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = v()("state"), this.arcgisReady = g(), this.arcgisComplete = o(() => this.viewModel, "complete"), this.arcgisSubmit = o(() => this.viewModel, "submit");
|
|
24
30
|
}
|
|
25
31
|
static {
|
|
26
|
-
this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: 1, allowedLayouts: 1, browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
32
|
+
this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: [1, { type: String, converter: c }], allowedLayouts: [1, { type: String, converter: c }], browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
27
33
|
}
|
|
28
34
|
static {
|
|
29
|
-
this.styles =
|
|
35
|
+
this.styles = M;
|
|
30
36
|
}
|
|
31
37
|
static {
|
|
32
|
-
this.shadowRootOptions =
|
|
38
|
+
this.shadowRootOptions = w;
|
|
33
39
|
}
|
|
34
40
|
async destroy() {
|
|
35
41
|
await this.manager.destroy(), this.viewModel.destroy();
|
|
36
42
|
}
|
|
37
43
|
loaded() {
|
|
38
44
|
this.manager.onLifecycle(() => []), this.viewModel.load();
|
|
39
|
-
const { height: e, width:
|
|
40
|
-
this.viewModel.templateOptions.width =
|
|
45
|
+
const { height: e, width: t } = this.viewModel.templateOptions;
|
|
46
|
+
this.viewModel.templateOptions.width = t || 800, this.viewModel.templateOptions.height = e || 1100;
|
|
41
47
|
}
|
|
42
48
|
_showTemplateSelector() {
|
|
43
49
|
this._showTemplates = !0;
|
|
@@ -47,24 +53,24 @@ class _ extends h {
|
|
|
47
53
|
}
|
|
48
54
|
render() {
|
|
49
55
|
const e = {
|
|
50
|
-
[
|
|
56
|
+
[r.panelItemsCentered]: this.viewModel.state === "initializing"
|
|
51
57
|
};
|
|
52
|
-
return
|
|
58
|
+
return i`<div class=${l(h(r.base, n.widget, n.panel, e))}>${this._renderPanel()}</div>`;
|
|
53
59
|
}
|
|
54
60
|
_renderPanel() {
|
|
55
|
-
return this.viewModel.state === "initializing" ?
|
|
61
|
+
return this.viewModel.state === "initializing" ? i`<calcite-loader label=loading scale=m></calcite-loader>` : i`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${l(r.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
|
|
56
62
|
e.preventDefault(), this._showTemplates = !1;
|
|
57
63
|
}}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .browseTemplateButtonOnClick=${this.browseTemplateButtonOnClick} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`;
|
|
58
64
|
}
|
|
59
65
|
_renderPanelHeader() {
|
|
60
|
-
return this.hideHeader ? null :
|
|
66
|
+
return this.hideHeader ? null : i`<header class=${l(r.headerTitle)}>${this.messages.export}</header>`;
|
|
61
67
|
}
|
|
62
68
|
_renderPanelContent() {
|
|
63
|
-
const e = this.viewModel.view,
|
|
64
|
-
return !!this.error ||
|
|
69
|
+
const e = this.viewModel.view, t = e?.type !== "2d";
|
|
70
|
+
return !!this.error || t ? i`<div class=${l(r.panelError)}>${e ? t ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : i`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-main-panel>`;
|
|
65
71
|
}
|
|
66
72
|
}
|
|
67
|
-
|
|
73
|
+
d("arcgis-print", $);
|
|
68
74
|
export {
|
|
69
|
-
|
|
75
|
+
$ as ArcgisPrint
|
|
70
76
|
};
|
|
@@ -4,7 +4,7 @@ import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as u, noShadowRoot as p } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.29 */
|
|
8
8
|
class d extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { viewModel: 0 };
|
|
@@ -1,20 +1,11 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { watch as
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as a } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as s } from "lit-html";
|
|
3
|
+
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as r, noShadowRoot as p } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
8
|
-
|
|
9
|
-
if (t == null || e == null)
|
|
10
|
-
return { height: 0, width: 0 };
|
|
11
|
-
const n = t / i, o = e / i;
|
|
12
|
-
return {
|
|
13
|
-
width: Math.round(s * n),
|
|
14
|
-
height: Math.round(s * o)
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
class m extends d {
|
|
7
|
+
v4.34.0-next.29 */
|
|
8
|
+
class o extends r {
|
|
18
9
|
constructor() {
|
|
19
10
|
super(...arguments), this._dpi = 1;
|
|
20
11
|
}
|
|
@@ -22,22 +13,26 @@ class m extends d {
|
|
|
22
13
|
this.properties = { _dpi: 16, viewModel: 0, messages: 0 };
|
|
23
14
|
}
|
|
24
15
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
16
|
+
this.shadowRootOptions = p;
|
|
26
17
|
}
|
|
27
18
|
loaded() {
|
|
28
19
|
this.manager.onLifecycle(() => [
|
|
29
|
-
|
|
20
|
+
n(() => this.viewModel.templateOptions.dpi, (t) => this._dpi = t <= 0 ? 1 : t, { initial: !0 })
|
|
30
21
|
]);
|
|
31
22
|
}
|
|
32
|
-
_handleDPIChange(
|
|
33
|
-
const
|
|
34
|
-
|
|
23
|
+
_handleDPIChange(t) {
|
|
24
|
+
const i = this.viewModel.templateOptions, e = Number(t.target.value);
|
|
25
|
+
if (Number.isNaN(e) || e <= 0 || !Number.isFinite(e)) {
|
|
26
|
+
t.target.value = `${this._dpi}`;
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
i.dpi = e;
|
|
35
30
|
}
|
|
36
31
|
render() {
|
|
37
|
-
return
|
|
32
|
+
return s`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`;
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
|
-
|
|
35
|
+
a("arcgis-print-dpi-input", o);
|
|
41
36
|
export {
|
|
42
|
-
|
|
37
|
+
o as PrintDPIInput
|
|
43
38
|
};
|