@arcgis/map-components 4.33.0-next.124 → 4.33.0-next.126
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/{H664JQEG.js → 22OPPYTT.js} +2 -2
- package/dist/cdn/22T5WAPO.js +4 -0
- package/dist/cdn/265NMR5B.js +4 -0
- package/dist/cdn/{HGSPIH6H.js → 2D7HRGDR.js} +2 -2
- package/dist/cdn/{T5HJMMSK.js → 2JUGDTSE.js} +2 -2
- package/dist/cdn/{2R77POEI.js → 2L7KBSKW.js} +2 -2
- package/dist/cdn/2LI6QZL4.js +4 -0
- package/dist/cdn/2PAWPIQE.js +4 -0
- package/dist/cdn/2XDD44PY.js +4 -0
- package/dist/cdn/3H4X6LE4.js +4 -0
- package/dist/cdn/3KDZIKLB.js +4 -0
- package/dist/cdn/{NGIUT7AU.js → 3N6U7KBA.js} +2 -2
- package/dist/cdn/{IUQKIT3P.js → 3TMNCHJM.js} +2 -2
- package/dist/cdn/42UYVZQI.js +4 -0
- package/dist/cdn/{734TUZ3C.js → 46A2E32V.js} +2 -2
- package/dist/cdn/{LURO5IKN.js → 4DIYZMLX.js} +1 -1
- package/dist/cdn/4JQ56IB7.js +4 -0
- package/dist/cdn/{WC45U6SH.js → 56DXQDPV.js} +2 -2
- package/dist/cdn/57LUHTC4.js +6 -0
- package/dist/cdn/{LLPPELZB.js → 5QB2GZDW.js} +2 -2
- package/dist/cdn/5VYF7D3N.js +4 -0
- package/dist/cdn/{E5ZBB6BU.js → 5Z4GY7JN.js} +2 -2
- package/dist/cdn/6GN3QIKB.js +4 -0
- package/dist/cdn/6TKGWZC7.js +4 -0
- package/dist/cdn/6ZCSAHLQ.js +4 -0
- package/dist/cdn/{DB226RFI.js → 77YLW3HQ.js} +2 -2
- package/dist/cdn/7CQYCOZY.js +4 -0
- package/dist/cdn/7K2GJSOV.js +4 -0
- package/dist/cdn/7QOEL7UO.js +4 -0
- package/dist/cdn/{DPHO3ZUJ.js → 7WEG232K.js} +2 -2
- package/dist/cdn/7X5K357K.js +4 -0
- package/dist/cdn/7ZLW4UY2.js +4 -0
- package/dist/cdn/AN33D2SL.js +4 -0
- package/dist/cdn/{B62APQUE.js → B6UNSUT7.js} +1 -1
- package/dist/cdn/{KRB7XAAT.js → BJPB3THA.js} +2 -2
- package/dist/cdn/BLKD3TGO.js +4 -0
- package/dist/cdn/{2OH6CDCP.js → BNLKRUVK.js} +2 -2
- package/dist/cdn/BPM6ZLO6.js +4 -0
- package/dist/cdn/{RGLOD2FF.js → C3SECF67.js} +2 -2
- package/dist/cdn/CGLOXWTL.js +4 -0
- package/dist/cdn/{XLGJRJRT.js → CHUKWN2A.js} +2 -2
- package/dist/cdn/DNOBR6RH.js +4 -0
- package/dist/cdn/DOUCO3N2.js +4 -0
- package/dist/cdn/{SKH2O4BM.js → DOYUGTGD.js} +2 -2
- package/dist/cdn/{XV4W2VYG.js → DRQREY2S.js} +2 -2
- package/dist/cdn/{2ARGUKJN.js → DTQCBAVW.js} +2 -2
- package/dist/cdn/E3UVJEVD.js +4 -0
- package/dist/cdn/F7E7HABW.js +4 -0
- package/dist/cdn/FD5LMCKA.js +4 -0
- package/dist/cdn/{MOJATFZP.js → FN6QM6ZA.js} +2 -2
- package/dist/cdn/{CRJFO5M3.js → G5Y5YFWR.js} +2 -2
- package/dist/cdn/GZMWIO7R.js +4 -0
- package/dist/cdn/{QIJZZ3UT.js → H3GJRKLG.js} +2 -2
- package/dist/cdn/{NQXEUS45.js → H5KN3BTZ.js} +2 -2
- package/dist/cdn/{D5EOCQB7.js → HLLAZEON.js} +2 -2
- package/dist/cdn/{ARD5J2YD.js → IHPG75ZJ.js} +2 -2
- package/dist/cdn/{AWY2EIKT.js → IUFEAOKG.js} +2 -2
- package/dist/cdn/IX6BDJAP.js +4 -0
- package/dist/cdn/{XESHX7PJ.js → JIVLTETN.js} +2 -2
- package/dist/cdn/{YJFFTD3U.js → JO4IJFVN.js} +2 -2
- package/dist/cdn/{65M64D7X.js → JZ65FSOM.js} +2 -2
- package/dist/cdn/{Z7HRC7MF.js → K2CEIEKX.js} +1 -1
- package/dist/cdn/{XBSFNS6D.js → K5QE3WRI.js} +2 -2
- package/dist/cdn/{VAT5YT5Q.js → M3LSWFUZ.js} +2 -2
- package/dist/cdn/{PHERBWQK.js → M6JYOPXA.js} +2 -2
- package/dist/cdn/{S7ZTYZTV.js → MNN5YEO6.js} +2 -2
- package/dist/cdn/{XODEFMOS.js → N2KRIDZF.js} +2 -2
- package/dist/cdn/OGIZTI65.js +4 -0
- package/dist/cdn/ON36QRVD.js +4 -0
- package/dist/cdn/{5PZ6U6LO.js → OOBMOWL3.js} +2 -2
- package/dist/cdn/{7GUJK4CA.js → P3I6U5M3.js} +2 -2
- package/dist/cdn/{WOARMZ23.js → PJ3L65KS.js} +2 -2
- package/dist/cdn/{42BRN2JB.js → PM7FJGFL.js} +2 -2
- package/dist/cdn/{7DU3BQLS.js → PWNTKJLZ.js} +2 -2
- package/dist/cdn/{ACQJROQO.js → PZ4YERIK.js} +2 -2
- package/dist/cdn/QDLS4DHU.js +4 -0
- package/dist/cdn/{HELY3SIQ.js → QJ4L6AC5.js} +2 -2
- package/dist/cdn/{WC6NKD6C.js → QLPSXDBF.js} +2 -2
- package/dist/cdn/{VXHG7LMQ.js → QPCZHLY3.js} +2 -2
- package/dist/cdn/{5JGR7XRB.js → QWPGBVCM.js} +2 -2
- package/dist/cdn/QZR2ADDB.js +4 -0
- package/dist/cdn/R4WZP3GP.js +4 -0
- package/dist/cdn/{Q7UJVYWC.js → R7LMBS2Q.js} +2 -2
- package/dist/cdn/{6SKD7CMX.js → RCS25DNN.js} +2 -2
- package/dist/cdn/{CZ75Y343.js → S4DS2VFQ.js} +2 -2
- package/dist/cdn/SDNJH2IA.js +4 -0
- package/dist/cdn/{FH2YJMED.js → SJX7OIYJ.js} +2 -2
- package/dist/cdn/{WHK77ZDC.js → SK6A5RVT.js} +2 -2
- package/dist/cdn/SM7VRYCD.js +4 -0
- package/dist/cdn/{76GDABRX.js → SOHI6VJT.js} +1 -1
- package/dist/cdn/SQ6QJJYF.js +4 -0
- package/dist/cdn/{GNZ5Z5YA.js → SQWX7O6F.js} +2 -2
- package/dist/cdn/SRBT7WHL.js +4 -0
- package/dist/cdn/SSDWNCGK.js +4 -0
- package/dist/cdn/T2MGVLVL.js +4 -0
- package/dist/cdn/T755K6JD.js +4 -0
- package/dist/cdn/{KQ4BY3ZP.js → TG7FKCAQ.js} +2 -2
- package/dist/cdn/TS7QLZAH.js +4 -0
- package/dist/cdn/{7EV7F54O.js → TSBSGS6U.js} +2 -2
- package/dist/cdn/TXQHTUUV.js +4 -0
- package/dist/cdn/{BAQRXOBW.js → TZZPFSOP.js} +2 -2
- package/dist/cdn/U4WEVFIC.js +4 -0
- package/dist/cdn/{4CVSHDB7.js → UMESFLZW.js} +2 -2
- package/dist/cdn/UX3HXBWY.js +4 -0
- package/dist/cdn/{FEEHV7NN.js → UZSRAQSG.js} +2 -2
- package/dist/cdn/{XQXMCUCJ.js → V6GQ5PNP.js} +2 -2
- package/dist/cdn/VAW7ATES.js +4 -0
- package/dist/cdn/{SFQDGEKG.js → VEMUCPTT.js} +2 -2
- package/dist/cdn/WIS64HW7.js +4 -0
- package/dist/cdn/X26IDMO6.js +4 -0
- package/dist/cdn/X6Q4KV6O.js +4 -0
- package/dist/cdn/XNXAXVUT.js +4 -0
- package/dist/cdn/Y3WABS7Z.js +4 -0
- package/dist/cdn/{RWPY5RGT.js → YDR5JSHD.js} +1 -1
- package/dist/cdn/YGZTZNOP.js +4 -0
- package/dist/cdn/YHESMRIJ.js +4 -0
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/area-measurement-3d/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/directline-measurement-3d/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/distance-measurement-2d/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/slice/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/video-player/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +256 -0
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +84 -84
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/runtime.js +10 -7
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +27 -26
- package/dist/chunks/useViewModel.js +16 -17
- package/dist/chunks/useWidget.js +79 -113
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -6
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -9
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -6
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -35
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +10 -13
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -9
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -29
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -15
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +2 -14
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -3
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +2 -12
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +2 -6
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -6
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +2 -8
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -8
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +2 -22
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +5 -20
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -10
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +146 -31
- package/dist/components/arcgis-feature-table/customElement.js +12 -12
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -13
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +10 -19
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -8
- 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.d.ts +1 -3
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +2 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -3
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +10 -35
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +2 -14
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +55 -304
- package/dist/components/arcgis-link-chart/customElement.d.ts +5 -11
- package/dist/components/arcgis-link-chart/customElement.js +45 -64
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -3
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +8 -16
- package/dist/components/arcgis-map/customElement.js +49 -64
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -9
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -28
- 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 +1 -3
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -12
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +16 -24
- package/dist/components/arcgis-scene/customElement.js +67 -83
- package/dist/components/arcgis-search/customElement.d.ts +6 -8
- 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 +2 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +2 -16
- package/dist/components/arcgis-sketch/customElement.js +9 -12
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +71 -0
- package/dist/components/arcgis-slice/css.d.ts +14 -0
- package/dist/components/arcgis-slice/customElement.d.ts +29 -64
- package/dist/components/arcgis-slice/customElement.js +178 -17
- package/dist/components/arcgis-slice/index.d.ts +4 -0
- package/dist/components/arcgis-slice/index.js +4 -0
- package/dist/components/arcgis-slider/customElement.d.ts +2 -22
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -3
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -25
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -24
- 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.d.ts +1 -3
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -15
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +54 -23
- package/dist/components/arcgis-utility-network-trace/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -19
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -5
- 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.d.ts +2 -5
- package/dist/components/arcgis-video/customElement.js +15 -16
- package/dist/components/arcgis-video-player/customElement.d.ts +12 -3
- package/dist/components/arcgis-video-player/customElement.js +30 -24
- 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 +1 -3
- package/dist/components/arcgis-weather/customElement.js +39 -44
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/useView.d.ts +1 -4
- package/dist/controllers/useViewModel.d.ts +6 -8
- package/dist/controllers/useWidget.d.ts +6 -32
- package/dist/docs/api.json +1178 -521
- package/dist/docs/docs.json +1017 -310
- package/dist/docs/vscode.html-custom-data.json +260 -194
- package/dist/docs/web-types.json +609 -437
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -7
- package/dist/support/AnalysisViewModel.d.ts +3 -1
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +4 -4
- package/dist/cdn/4ARVM7UY.js +0 -4
- package/dist/cdn/4U7KRE74.js +0 -4
- package/dist/cdn/4UJET4TE.js +0 -4
- package/dist/cdn/6KFM7ABY.js +0 -4
- package/dist/cdn/6P2EECJH.js +0 -4
- package/dist/cdn/7GUMD4AT.js +0 -4
- package/dist/cdn/ABM5CZGH.js +0 -4
- package/dist/cdn/ASTXELMQ.js +0 -4
- package/dist/cdn/BCPDKBTM.js +0 -4
- package/dist/cdn/BYEV6AQN.js +0 -4
- package/dist/cdn/CU36KTDY.js +0 -6
- package/dist/cdn/DCIWIGXI.js +0 -4
- package/dist/cdn/DO7NMSUD.js +0 -4
- package/dist/cdn/DXM4IS7H.js +0 -4
- package/dist/cdn/E3PVQK32.js +0 -4
- package/dist/cdn/FU35QKNP.js +0 -4
- package/dist/cdn/H26CWDPD.js +0 -4
- package/dist/cdn/HCYJNN2S.js +0 -4
- package/dist/cdn/IQIMJRQJ.js +0 -4
- package/dist/cdn/JGN266A7.js +0 -4
- package/dist/cdn/JMEHA65S.js +0 -4
- package/dist/cdn/K7L7OKM6.js +0 -4
- package/dist/cdn/LBIDNXWI.js +0 -4
- package/dist/cdn/MFVWI3AZ.js +0 -4
- package/dist/cdn/NL2T6HAD.js +0 -4
- package/dist/cdn/NRIAVH2S.js +0 -4
- package/dist/cdn/PBZE6ZR5.js +0 -4
- package/dist/cdn/PDX2XUG7.js +0 -4
- package/dist/cdn/PF4NCRND.js +0 -4
- package/dist/cdn/Q2ZQJ5JW.js +0 -4
- package/dist/cdn/QOGDMU45.js +0 -4
- package/dist/cdn/QSFM4UVE.js +0 -4
- package/dist/cdn/QSXEQTHH.js +0 -4
- package/dist/cdn/ROOE5A4R.js +0 -4
- package/dist/cdn/SGHJTHD6.js +0 -4
- package/dist/cdn/TG53MEFV.js +0 -4
- package/dist/cdn/TJMJHDOB.js +0 -4
- package/dist/cdn/UWTLDDEI.js +0 -4
- package/dist/cdn/VAX7DLPJ.js +0 -4
- package/dist/cdn/VCQDTOFO.js +0 -4
- package/dist/cdn/VLUEASU6.js +0 -4
- package/dist/cdn/VUDP7DCS.js +0 -4
- package/dist/cdn/WUMAGHOH.js +0 -4
- package/dist/cdn/XJZ6BSMR.js +0 -4
- package/dist/cdn/Y5ORC2QD.js +0 -4
- package/dist/cdn/YAWOJGRR.js +0 -4
- package/dist/cdn/YBPOP5MP.js +0 -4
- package/dist/cdn/YDQ7VMST.js +0 -4
- package/dist/cdn/YKEMWATI.js +0 -4
- package/dist/cdn/YRI7JRGZ.js +0 -4
- package/dist/cdn/YWGKTJOH.js +0 -4
- package/dist/cdn/Z4EFWFMG.js +0 -4
- package/dist/cdn/ZYIAXSQ5.js +0 -4
|
@@ -1,311 +1,67 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
6
|
-
import { g
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import { property as
|
|
12
|
-
import E from "@arcgis/core/core/Accessor.js";
|
|
13
|
-
import { a as u, r as m } from "../../chunks/maybe.js";
|
|
14
|
-
import { forceInteractive as D } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
15
|
-
import H from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
1
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as l } from "lit-html";
|
|
3
|
+
import { usePropertyChange as y } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { LitElement as m, createEvent as v, noShadowRoot as w, safeClassMap as n } from "@arcgis/lumina";
|
|
5
|
+
import { css as _ } from "@lit/reactive-element/css-tag.js";
|
|
6
|
+
import { g } from "../../chunks/globalCss.js";
|
|
7
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as b } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { A as M } from "../../chunks/AnalysisViewModel.js";
|
|
10
|
+
import x from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
11
|
+
import { property as A, subclass as O } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
16
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
18
|
-
v4.33.0-next.
|
|
19
|
-
const
|
|
20
|
-
base:
|
|
21
|
-
actions: `${
|
|
22
|
-
container: `${
|
|
23
|
-
error: `${
|
|
24
|
-
hint: `${
|
|
25
|
-
hintText: `${
|
|
26
|
-
newAnalysisButton: `${
|
|
14
|
+
v4.33.0-next.126 */
|
|
15
|
+
const C = _`@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
|
+
base: a,
|
|
17
|
+
actions: `${a}__actions`,
|
|
18
|
+
container: `${a}__container`,
|
|
19
|
+
error: `${a}__error`,
|
|
20
|
+
hint: `${a}__hint`,
|
|
21
|
+
hintText: `${a}__hint-text`,
|
|
22
|
+
newAnalysisButton: `${a}__new-analysis-button`
|
|
27
23
|
};
|
|
28
|
-
var
|
|
29
|
-
for (var
|
|
30
|
-
(
|
|
31
|
-
return
|
|
24
|
+
var S = Object.defineProperty, V = Object.getOwnPropertyDescriptor, u = (s, e, i, o) => {
|
|
25
|
+
for (var t = o > 1 ? void 0 : o ? V(e, i) : e, d = s.length - 1, p; d >= 0; d--)
|
|
26
|
+
(p = s[d]) && (t = (o ? p(e, i, t) : p(t)) || t);
|
|
27
|
+
return o && t && S(e, i, t), t;
|
|
32
28
|
};
|
|
33
|
-
let
|
|
34
|
-
constructor(
|
|
35
|
-
super(
|
|
36
|
-
const t = e?.analysis;
|
|
37
|
-
t != null ? this.analysis = t : (this._set("analysis", this.constructAnalysis()), this._set("isAnalysisOwner", !0)), e?.visible != null && (this.visible = e.visible);
|
|
38
|
-
}
|
|
39
|
-
// @ts-expect-error TODO - ignore
|
|
40
|
-
normalizeCtorArgs(e) {
|
|
41
|
-
const { analysis: t, ...s } = e;
|
|
42
|
-
return s;
|
|
43
|
-
}
|
|
44
|
-
initialize() {
|
|
45
|
-
this.addHandles([
|
|
46
|
-
w(
|
|
47
|
-
() => ({ readyAndNotSupported: this.view != null && this.view.ready && !this.supported }),
|
|
48
|
-
({ readyAndNotSupported: e }) => {
|
|
49
|
-
e && !this._loggedUnsupportedErrorMessage && console.error(this._unsupportedErrorMessage);
|
|
50
|
-
},
|
|
51
|
-
{ sync: !0, initial: !0 }
|
|
52
|
-
),
|
|
53
|
-
w(
|
|
54
|
-
() => (
|
|
55
|
-
// @ts-expect-error TODO - expose parent
|
|
56
|
-
this.analysis?.parent
|
|
57
|
-
),
|
|
58
|
-
(e) => {
|
|
59
|
-
!this._parentChangeFromReconnect && e !== this.view && this._set("isAnalysisOwner", !1);
|
|
60
|
-
const t = !this._parentChangeFromReconnect;
|
|
61
|
-
this._parentChangeFromReconnect = !1, t && this._scheduleViewReconnect();
|
|
62
|
-
},
|
|
63
|
-
{ sync: !0 }
|
|
64
|
-
),
|
|
65
|
-
w(
|
|
66
|
-
() => ({
|
|
67
|
-
view: this.view,
|
|
68
|
-
ready: !!this.view?.ready,
|
|
69
|
-
supported: this.supported
|
|
70
|
-
}),
|
|
71
|
-
({ view: e }, t) => {
|
|
72
|
-
const s = t?.view;
|
|
73
|
-
e !== s && (this._startUserOperation = u(this._startUserOperation), this._disconnectFromView(s)), this._scheduleViewReconnect();
|
|
74
|
-
},
|
|
75
|
-
{ sync: !0, initial: !0 }
|
|
76
|
-
)
|
|
77
|
-
]);
|
|
78
|
-
}
|
|
79
|
-
destroy() {
|
|
80
|
-
this._reconnectViewTask = u(this._reconnectViewTask), this._startUserOperation = u(this._startUserOperation), this._analysisView != null && (this._analysisView.visible = void 0), this._disconnectFromView(this.view), this._set("view", null), this.analysis != null && this.isAnalysisOwner && (this.analysis.destroy(), this._set("analysis", null));
|
|
81
|
-
}
|
|
82
|
-
get supported() {
|
|
83
|
-
return this.view == null || this.view.type === this.supportedViewType;
|
|
84
|
-
}
|
|
85
|
-
set visible(e) {
|
|
86
|
-
this._set("visible", e), this._analysisView != null && (this._analysisView.visible = e);
|
|
87
|
-
}
|
|
88
|
-
get active() {
|
|
89
|
-
return this._startUserOperation?.state === 2;
|
|
90
|
-
}
|
|
91
|
-
get disabled() {
|
|
92
|
-
return this.view == null || !this.view.ready || !this.supported;
|
|
93
|
-
}
|
|
94
|
-
set analysis(e) {
|
|
95
|
-
e !== this._get("analysis") && (this._startUserOperation = u(this._startUserOperation), this._disconnectFromView(this.view), this._setExternalAnalysis(e), this._scheduleViewReconnect());
|
|
96
|
-
}
|
|
97
|
-
get analysisView() {
|
|
98
|
-
return this._analysisView;
|
|
99
|
-
}
|
|
100
|
-
get ready() {
|
|
101
|
-
return this._analysisView != null && !this.connectingToView;
|
|
102
|
-
}
|
|
103
|
-
get connectingToView() {
|
|
104
|
-
return this._reconnectViewTask != null;
|
|
105
|
-
}
|
|
106
|
-
get isAnalysisOwner() {
|
|
107
|
-
return this._get("isAnalysisOwner");
|
|
108
|
-
}
|
|
109
|
-
get operationState() {
|
|
110
|
-
return this._operationState;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Removes the tool and clears the analysis by resetting its inputs.
|
|
114
|
-
*/
|
|
115
|
-
clear() {
|
|
116
|
-
this.clearAnalysis(), this._startUserOperation = u(this._startUserOperation), this._resetInteractiveCreationState();
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* If analysis has unset inputs, start() will kick off the user operation to specify those inputs.
|
|
120
|
-
*/
|
|
121
|
-
async start() {
|
|
122
|
-
if (!this.visible) {
|
|
123
|
-
console.warn("Cannot start analysis when not visible");
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
const e = {
|
|
127
|
-
task: null,
|
|
128
|
-
abort: null,
|
|
129
|
-
state: 0
|
|
130
|
-
/* PENDING */
|
|
131
|
-
}, t = g(async (s) => {
|
|
132
|
-
if (e.state = 1, await S(() => this.ready, s), e.state = 2, !(this._analysisView == null || this.view == null))
|
|
133
|
-
return this._operationState = "active", void await this.place({ signal: s });
|
|
134
|
-
});
|
|
135
|
-
return t.promise.finally(() => {
|
|
136
|
-
this._operationState = "inactive";
|
|
137
|
-
}), e.task = t, e.abort = () => t.abort(), this._startUserOperation = e, void await t.promise;
|
|
138
|
-
}
|
|
139
|
-
startNewAnalysis() {
|
|
140
|
-
return this.clear(), this.start();
|
|
141
|
-
}
|
|
142
|
-
continue() {
|
|
143
|
-
return this.start();
|
|
144
|
-
}
|
|
145
|
-
stop() {
|
|
146
|
-
this._startUserOperation?.abort();
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* A callback used by view models that manage an analysis belonging to an Layer.
|
|
150
|
-
*
|
|
151
|
-
* The function will be called each time the view becomes ready, the internal Layer of
|
|
152
|
-
* the view model has been added to the map and the analysis view of the analysis has been created.
|
|
153
|
-
*/
|
|
154
|
-
onConnectToAnalysisView(e) {
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* A callback used by view models that manage an analysis.
|
|
158
|
-
*
|
|
159
|
-
* The function will be called each time the view becomes unready and the internal analysis
|
|
160
|
-
* has been removed the map or analyses.
|
|
161
|
-
*/
|
|
162
|
-
onDisconnectFromAnalysisView() {
|
|
163
|
-
}
|
|
164
|
-
_scheduleViewReconnect() {
|
|
165
|
-
this._reconnectViewTask = u(this._reconnectViewTask);
|
|
166
|
-
const e = g(async (t) => {
|
|
167
|
-
try {
|
|
168
|
-
await this._reconnectView(t);
|
|
169
|
-
} catch (s) {
|
|
170
|
-
if (I(t), !k(s)) {
|
|
171
|
-
console.warn("Failed to use analysis in view model", s);
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
throw s;
|
|
175
|
-
} finally {
|
|
176
|
-
e === this._reconnectViewTask && (this._reconnectViewTask = null);
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
this._reconnectViewTask = e;
|
|
180
|
-
}
|
|
181
|
-
async _reconnectView(e) {
|
|
182
|
-
const { view: t } = this, s = t != null && t.ready && this.supported, a = this.analysis;
|
|
183
|
-
if (this._startUserOperation = V(this._startUserOperation), this._disconnectFromView(t), !s || t == null || a == null)
|
|
184
|
-
return;
|
|
185
|
-
if (this.isAnalysisOwner) {
|
|
186
|
-
if (a.parent != null) {
|
|
187
|
-
console.error("expected owned analysis to have null parent when connecting to view");
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
this._parentChangeFromReconnect = !0, t.analyses.add(a);
|
|
191
|
-
}
|
|
192
|
-
const i = await t.whenAnalysisView(a);
|
|
193
|
-
if (this._analysisView = i, R(e)) {
|
|
194
|
-
this._startUserOperation = V(this._startUserOperation);
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
i.visible = this.visible, this._forceInteractiveHandle = D(i), this.addHandles(this._forceInteractiveHandle), this.onConnectToAnalysisView(i);
|
|
198
|
-
}
|
|
199
|
-
_disconnectFromView(e) {
|
|
200
|
-
e != null && this.isAnalysisOwner && e.analyses.includes(this.analysis) && (this._parentChangeFromReconnect = !0, this.analysis.clear(), e.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this._forceInteractiveHandle = m(this._forceInteractiveHandle), this._analysisView = null;
|
|
201
|
-
}
|
|
202
|
-
_setExternalAnalysis(e) {
|
|
203
|
-
this._analysisView != null && !this.isAnalysisOwner && (this._analysisView.visible = void 0, this._forceInteractiveHandle = m(this._forceInteractiveHandle)), this._analysisView = null, this._set("isAnalysisOwner", !1), this._set("analysis", e), this._parentChangeFromReconnect = !1;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Reset the analysis and tool to a state that will allow the interactive creation of a fresh analysis.
|
|
207
|
-
* The 'start()' method uses 'tool.created' to determine when the tool can be deactivated, so we must
|
|
208
|
-
* also reset that property here.
|
|
209
|
-
*
|
|
210
|
-
* In the future this should happen in the creation methods on analysis views:
|
|
211
|
-
* https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/43397
|
|
212
|
-
*/
|
|
213
|
-
_resetInteractiveCreationState() {
|
|
214
|
-
this._analysisView?.tool?.resetCreated();
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
o([
|
|
218
|
-
r()
|
|
219
|
-
], n.prototype, "supported", 1);
|
|
220
|
-
o([
|
|
221
|
-
r()
|
|
222
|
-
], n.prototype, "view", 2);
|
|
223
|
-
o([
|
|
224
|
-
r({ type: Boolean, value: !0 })
|
|
225
|
-
], n.prototype, "visible", 1);
|
|
226
|
-
o([
|
|
227
|
-
r()
|
|
228
|
-
], n.prototype, "active", 1);
|
|
229
|
-
o([
|
|
230
|
-
r()
|
|
231
|
-
], n.prototype, "disabled", 1);
|
|
232
|
-
o([
|
|
233
|
-
r({ nonNullable: !0 })
|
|
234
|
-
], n.prototype, "analysis", 1);
|
|
235
|
-
o([
|
|
236
|
-
r()
|
|
237
|
-
], n.prototype, "_analysisView", 2);
|
|
238
|
-
o([
|
|
239
|
-
r()
|
|
240
|
-
], n.prototype, "analysisView", 1);
|
|
241
|
-
o([
|
|
242
|
-
r()
|
|
243
|
-
], n.prototype, "ready", 1);
|
|
244
|
-
o([
|
|
245
|
-
r()
|
|
246
|
-
], n.prototype, "connectingToView", 1);
|
|
247
|
-
o([
|
|
248
|
-
r({ readOnly: !0 })
|
|
249
|
-
], n.prototype, "isAnalysisOwner", 1);
|
|
250
|
-
o([
|
|
251
|
-
r()
|
|
252
|
-
], n.prototype, "_reconnectViewTask", 2);
|
|
253
|
-
o([
|
|
254
|
-
r()
|
|
255
|
-
], n.prototype, "_forceInteractiveHandle", 2);
|
|
256
|
-
o([
|
|
257
|
-
r()
|
|
258
|
-
], n.prototype, "_operationState", 2);
|
|
259
|
-
o([
|
|
260
|
-
r()
|
|
261
|
-
], n.prototype, "operationState", 1);
|
|
262
|
-
n = o([
|
|
263
|
-
b("esri.widgets.support.AnalysisViewModel")
|
|
264
|
-
], n);
|
|
265
|
-
function V(e) {
|
|
266
|
-
return e != null && e.state >= 2 ? (e.abort(), null) : e;
|
|
267
|
-
}
|
|
268
|
-
var j = Object.defineProperty, B = Object.getOwnPropertyDescriptor, O = (e, t, s, a) => {
|
|
269
|
-
for (var i = a > 1 ? void 0 : a ? B(t, s) : t, l = e.length - 1, c; l >= 0; l--)
|
|
270
|
-
(c = e[l]) && (i = (a ? c(t, s, i) : c(i)) || i);
|
|
271
|
-
return a && i && j(t, s, i), i;
|
|
272
|
-
};
|
|
273
|
-
let _ = class extends n {
|
|
274
|
-
constructor(e) {
|
|
275
|
-
super(e), this.supportedViewType = "3d", this.unsupportedErrorMessage = "LineOfSightViewModel is only supported in 3D views.";
|
|
29
|
+
let c = class extends M {
|
|
30
|
+
constructor(s) {
|
|
31
|
+
super(s), this.supportedViewType = "3d", this.unsupportedErrorMessage = "LineOfSightViewModel is only supported in 3D views.";
|
|
276
32
|
}
|
|
277
33
|
get state() {
|
|
278
34
|
return this.disabled || !this.ready ? "disabled" : this.operationState === "active" ? "creating" : this.analysis.valid ? "created" : "ready";
|
|
279
35
|
}
|
|
280
36
|
constructAnalysis() {
|
|
281
|
-
return new
|
|
37
|
+
return new x();
|
|
282
38
|
}
|
|
283
39
|
clearAnalysis() {
|
|
284
40
|
this.analysis.observer = null, this.analysis.targets.removeAll();
|
|
285
41
|
}
|
|
286
|
-
async place(
|
|
287
|
-
return await this.analysisView?.place(
|
|
42
|
+
async place(s) {
|
|
43
|
+
return await this.analysisView?.place(s);
|
|
288
44
|
}
|
|
289
45
|
};
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
],
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
],
|
|
296
|
-
const
|
|
297
|
-
class
|
|
46
|
+
u([
|
|
47
|
+
A({ readOnly: !0 })
|
|
48
|
+
], c.prototype, "state", 1);
|
|
49
|
+
c = u([
|
|
50
|
+
O("esri.components.LineOfSight.LineOfSightViewModel")
|
|
51
|
+
], c);
|
|
52
|
+
const D = b(c);
|
|
53
|
+
class L extends m {
|
|
298
54
|
constructor() {
|
|
299
|
-
super(...arguments), this.viewModel =
|
|
55
|
+
super(...arguments), this.viewModel = D(this), this._messages = $(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = v();
|
|
300
56
|
}
|
|
301
57
|
static {
|
|
302
58
|
this.properties = { analysis: 32, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 32, supported: 32 };
|
|
303
59
|
}
|
|
304
60
|
static {
|
|
305
|
-
this.shadowRootOptions =
|
|
61
|
+
this.shadowRootOptions = w;
|
|
306
62
|
}
|
|
307
63
|
static {
|
|
308
|
-
this.styles =
|
|
64
|
+
this.styles = C;
|
|
309
65
|
}
|
|
310
66
|
get analysis() {
|
|
311
67
|
return this.viewModel.analysis;
|
|
@@ -331,35 +87,30 @@ class q extends C {
|
|
|
331
87
|
async stop() {
|
|
332
88
|
this.viewModel.stop();
|
|
333
89
|
}
|
|
334
|
-
load() {
|
|
335
|
-
this.manager.onLifecycle(() => [
|
|
336
|
-
w(() => this._renderContainerNode(), () => this.requestUpdate())
|
|
337
|
-
]);
|
|
338
|
-
}
|
|
339
90
|
render() {
|
|
340
|
-
return
|
|
341
|
-
[
|
|
342
|
-
[
|
|
343
|
-
[
|
|
91
|
+
return l`<div class=${n({
|
|
92
|
+
[r.base]: !0,
|
|
93
|
+
[g.widget]: !0,
|
|
94
|
+
[g.panel]: !0
|
|
344
95
|
})} role=presentation>${this._renderContainerNode()}</div>`;
|
|
345
96
|
}
|
|
346
97
|
_renderContainerNode() {
|
|
347
98
|
if (!this.supported)
|
|
348
|
-
return
|
|
349
|
-
const
|
|
350
|
-
return
|
|
99
|
+
return l`<div class=${n(r.error)}><p>${this._messages.unsupported}</p></div>`;
|
|
100
|
+
const e = this.viewModel.state, i = e === "creating";
|
|
101
|
+
return l`<div class=${n(r.container)}>${i ? l`<div class=${n(r.hint)}><p class=${n(r.hintText)}>${this._messages.hint}</p></div>` : null}<div class=${n(r.actions)}>${e === "creating" ? h({ onClick: () => {
|
|
351
102
|
this.stop();
|
|
352
|
-
}, children: this._messages.done }) : null}${
|
|
103
|
+
}, children: this._messages.done }) : null}${e === "created" ? h({ onClick: () => {
|
|
353
104
|
this.continue();
|
|
354
|
-
}, children: this._messages.continueAnalysis }) : null}${
|
|
105
|
+
}, children: this._messages.continueAnalysis }) : null}${h({ className: r.newAnalysisButton, onClick: () => {
|
|
355
106
|
this.start();
|
|
356
|
-
}, primary: !0, disabled:
|
|
107
|
+
}, primary: !0, disabled: e === "disabled", children: this._messages.newAnalysis })}</div></div>`;
|
|
357
108
|
}
|
|
358
109
|
}
|
|
359
|
-
function
|
|
360
|
-
return
|
|
110
|
+
function h({ className: s, onClick: e, primary: i, disabled: o, children: t }) {
|
|
111
|
+
return l`<calcite-button .appearance=${i ? "solid" : "outline-fill"} class=${n(s)} .disabled=${o} @click=${e}>${t}</calcite-button>`;
|
|
361
112
|
}
|
|
362
|
-
|
|
113
|
+
f("arcgis-line-of-sight", L);
|
|
363
114
|
export {
|
|
364
|
-
|
|
115
|
+
L as ArcgisLineOfSight
|
|
365
116
|
};
|
|
@@ -6,18 +6,14 @@ import { default as LinkChartView } from '@arcgis/core/views/LinkChartView.js';
|
|
|
6
6
|
import { default as WebLinkChart } from '@arcgis/core/WebLinkChart.js';
|
|
7
7
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
8
|
|
|
9
|
-
declare const useWebLinkChart: (component: LitElement & Pick<WebLinkChart,
|
|
9
|
+
declare const useWebLinkChart: (component: LitElement & Omit<Pick<WebLinkChart, "basemap" | "ground" | "layers" | "bookmarks" | "tables" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "initialViewProperties" | "linkChartProperties" | "mapType" | "portalItem" | "thumbnailUrl">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "tables" | "presentation" | "knowledgeGraph" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "entityCount" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "linkChartProperties" | "mapType" | "portalItem" | "relationshipCount" | "thumbnailUrl"> & {
|
|
10
10
|
autoDestroyDisabled: boolean;
|
|
11
11
|
destroy: () => Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
} | undefined) => WebLinkChart;
|
|
15
|
-
declare const useLinkChartView: (component: LitElement & Pick<LinkChartView, never> & {
|
|
12
|
+
}) => WebLinkChart;
|
|
13
|
+
declare const useLinkChartView: (component: LitElement & Omit<Pick<LinkChartView, "container" | "map" | "background" | "basemapView" | "center" | "constraints" | "extent" | "fatalError" | "graphics" | "highlights" | "navigation" | "padding" | "popup" | "resizeAlign" | "rotation" | "scale" | "spatialReference" | "theme" | "timeExtent" | "timeZone" | "viewpoint" | "zoom" | "floors" | "highlightOptions" | "breakpoints" | "heightBreakpoint" | "popupEnabled" | "spatialReferenceLocked" | "widthBreakpoint" | "ui" | "animation" | "displayFilterEnabled">, "container" | "floors" | "highlightOptions" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "breakpoints" | "heightBreakpoint" | "popupEnabled" | "spatialReferenceLocked" | "widthBreakpoint" | "ui" | "animation" | "displayFilterEnabled"> & {
|
|
16
14
|
autoDestroyDisabled: boolean;
|
|
17
15
|
destroy: () => Promise<void>;
|
|
18
|
-
}
|
|
19
|
-
editConstructorProperties(props: __esri.LinkChartViewProperties | undefined): __esri.LinkChartViewProperties | Promise<__esri.LinkChartViewProperties | undefined> | undefined;
|
|
20
|
-
} | undefined) => LinkChartView;
|
|
16
|
+
}) => LinkChartView;
|
|
21
17
|
/**
|
|
22
18
|
* Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-LinkChartView.html).
|
|
23
19
|
*
|
|
@@ -149,8 +145,6 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
149
145
|
* Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#center),
|
|
150
146
|
* and [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#extent), etc.
|
|
151
147
|
*
|
|
152
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#padding)
|
|
153
|
-
*
|
|
154
148
|
* @default {left: 0, top: 0, right: 0, bottom: 0}
|
|
155
149
|
*/
|
|
156
150
|
padding: __esri.ViewPadding;
|
|
@@ -355,7 +349,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
355
349
|
* This event will also emit if the `map` property is changed.
|
|
356
350
|
*/
|
|
357
351
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
358
|
-
private _map:
|
|
352
|
+
private _map: WebLinkChart;
|
|
359
353
|
readonly _setterTypes: {
|
|
360
354
|
basemap?: __esri.Basemap | string | null | undefined;
|
|
361
355
|
center?: __esri.LinkChartView["center"] | Nil | number[] | string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { makeAccessorController as
|
|
1
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
+
import { makeAccessorController as r, reEmitEvent as e, reCreateAccessor as n } from "@arcgis/lumina/controllers/accessor";
|
|
3
3
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { c as
|
|
8
|
-
import { css as
|
|
4
|
+
import o from "@arcgis/core/views/LinkChartView.js";
|
|
5
|
+
import w from "@arcgis/core/WebLinkChart.js";
|
|
6
|
+
import { LitElement as c, createEvent as a, noShadowRoot as p } from "@arcgis/lumina";
|
|
7
|
+
import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
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.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
12
|
-
const
|
|
13
|
-
|
|
11
|
+
v4.33.0-next.126 */
|
|
12
|
+
const d = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, g = r(
|
|
13
|
+
w,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
16
16
|
* a hack to remove them from the runtime code. This argument is not used at
|
|
@@ -20,87 +20,85 @@ const u = y`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height
|
|
|
20
20
|
* in an externalized package.
|
|
21
21
|
*/
|
|
22
22
|
{}
|
|
23
|
-
),
|
|
24
|
-
class
|
|
23
|
+
), y = r(o, {});
|
|
24
|
+
class u extends c {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(
|
|
27
|
-
|
|
28
|
-
}
|
|
26
|
+
super(), this._map = g(this), this.view = y(this), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.view.ui = {
|
|
27
|
+
components: ["attribution"]
|
|
28
|
+
};
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
|
-
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating:
|
|
31
|
+
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, zoom: 9 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.shadowRootOptions =
|
|
34
|
+
this.shadowRootOptions = p;
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.styles =
|
|
37
|
+
this.styles = d;
|
|
38
38
|
}
|
|
39
39
|
get center() {
|
|
40
|
-
return this.view.center
|
|
40
|
+
return this.view.center;
|
|
41
41
|
}
|
|
42
42
|
set center(i) {
|
|
43
|
-
const t =
|
|
44
|
-
t && (this.
|
|
43
|
+
const t = v(i, this.view);
|
|
44
|
+
t && (this.view.center = t);
|
|
45
45
|
}
|
|
46
46
|
get extent() {
|
|
47
|
-
return this.view.extent
|
|
47
|
+
return this.view.extent;
|
|
48
48
|
}
|
|
49
49
|
set extent(i) {
|
|
50
|
-
this.
|
|
50
|
+
this.extent?.equals(i) || (this.view.extent = i);
|
|
51
51
|
}
|
|
52
52
|
get interacting() {
|
|
53
53
|
return this.view.interacting;
|
|
54
54
|
}
|
|
55
55
|
get itemId() {
|
|
56
|
-
return this._map.portalItem?.id
|
|
56
|
+
return this._map.portalItem?.id;
|
|
57
57
|
}
|
|
58
58
|
set itemId(i) {
|
|
59
|
-
this.
|
|
60
|
-
this.view.map = this._map;
|
|
61
|
-
}).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new n(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
|
|
59
|
+
n(this._map, this), this._map.portalItem = { id: i }, this.view.map = this._map;
|
|
62
60
|
}
|
|
63
61
|
get navigating() {
|
|
64
62
|
return this.view.navigating;
|
|
65
63
|
}
|
|
66
64
|
get scale() {
|
|
67
|
-
return this.view.scale
|
|
65
|
+
return this.view.scale;
|
|
68
66
|
}
|
|
69
67
|
set scale(i) {
|
|
70
|
-
this.
|
|
68
|
+
this.view.scale = i;
|
|
71
69
|
}
|
|
72
70
|
get stationary() {
|
|
73
71
|
return this.view.stationary;
|
|
74
72
|
}
|
|
75
73
|
get viewpoint() {
|
|
76
|
-
return this.view.viewpoint
|
|
74
|
+
return this.view.viewpoint;
|
|
77
75
|
}
|
|
78
76
|
set viewpoint(i) {
|
|
79
|
-
|
|
77
|
+
l(this.viewpoint, i) && (this.view.viewpoint = i);
|
|
80
78
|
}
|
|
81
79
|
get zoom() {
|
|
82
|
-
return this.view.zoom
|
|
80
|
+
return this.view.zoom;
|
|
83
81
|
}
|
|
84
82
|
set zoom(i) {
|
|
85
|
-
this.
|
|
83
|
+
this.view.zoom = i;
|
|
86
84
|
}
|
|
87
85
|
async addLayer(i, t) {
|
|
88
|
-
this.map
|
|
86
|
+
this.map.add(i, t);
|
|
89
87
|
}
|
|
90
88
|
async addLayers(i, t) {
|
|
91
|
-
this.map
|
|
89
|
+
this.map.addMany(i, t);
|
|
92
90
|
}
|
|
93
91
|
async closePopup() {
|
|
94
|
-
this.view
|
|
92
|
+
this.view.closePopup();
|
|
95
93
|
}
|
|
96
94
|
async destroy() {
|
|
97
95
|
await this.manager.destroy();
|
|
98
96
|
}
|
|
99
97
|
async goTo(i, t) {
|
|
100
|
-
return await this.view
|
|
98
|
+
return await this.view.goTo(i, t);
|
|
101
99
|
}
|
|
102
100
|
async openPopup(i) {
|
|
103
|
-
await this.view
|
|
101
|
+
await this.view.openPopup(i);
|
|
104
102
|
}
|
|
105
103
|
toMap(i) {
|
|
106
104
|
return this.view.toMap(i);
|
|
@@ -109,44 +107,27 @@ class V extends l {
|
|
|
109
107
|
return this.view.toScreen(i, t);
|
|
110
108
|
}
|
|
111
109
|
async tryFatalErrorRecovery() {
|
|
112
|
-
this.view
|
|
110
|
+
this.view.tryFatalErrorRecovery();
|
|
113
111
|
}
|
|
114
112
|
async whenLayerView(i) {
|
|
115
|
-
return await this.view
|
|
113
|
+
return await this.view.whenLayerView(i);
|
|
116
114
|
}
|
|
117
115
|
async viewOnReady(i, t) {
|
|
118
116
|
return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
|
|
119
117
|
}
|
|
120
118
|
load() {
|
|
121
119
|
const i = this;
|
|
122
|
-
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container
|
|
120
|
+
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
|
|
123
121
|
}
|
|
124
122
|
loaded() {
|
|
125
|
-
this.manager.onLifecycle(() => [
|
|
126
|
-
s(() => this.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
s(() => this.view.ready, () => {
|
|
130
|
-
this.arcgisViewReadyChange.emit();
|
|
131
|
-
}, { initial: this.view.ready })
|
|
123
|
+
this.map ||= this._map, this.manager.onLifecycle(() => [
|
|
124
|
+
s(() => this.map, () => this._map = this.map, { initial: !0, sync: !0 }),
|
|
125
|
+
s(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
|
|
126
|
+
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
|
|
132
127
|
]);
|
|
133
128
|
}
|
|
134
|
-
_editMapProperties(i) {
|
|
135
|
-
this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
|
|
136
|
-
const { basemap: t, ...o } = i;
|
|
137
|
-
t || (i = o);
|
|
138
|
-
const { ground: w, ...c } = i;
|
|
139
|
-
return w || (i = c), i;
|
|
140
|
-
}
|
|
141
|
-
async _editViewProperties(i) {
|
|
142
|
-
await this.manager.use(this._map), this.view.ui || (i.ui = {
|
|
143
|
-
components: ["attribution"]
|
|
144
|
-
}), i.map ??= this._map;
|
|
145
|
-
const t = r(this.center, void 0);
|
|
146
|
-
return t && (i.center = t), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
|
|
147
|
-
}
|
|
148
129
|
}
|
|
149
|
-
|
|
130
|
+
h("arcgis-link-chart", u);
|
|
150
131
|
export {
|
|
151
|
-
|
|
132
|
+
u as ArcgisLinkChart
|
|
152
133
|
};
|