@arcgis/map-components 4.33.0-next.125 → 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/{JHOFWEHI.js → 22OPPYTT.js} +2 -2
- package/dist/cdn/{PQJX5XXT.js → 22T5WAPO.js} +2 -2
- package/dist/cdn/265NMR5B.js +4 -0
- package/dist/cdn/{VCTVIQW3.js → 2D7HRGDR.js} +2 -2
- package/dist/cdn/{KGG5HBUU.js → 2JUGDTSE.js} +2 -2
- package/dist/cdn/{YQKYYWMB.js → 2L7KBSKW.js} +2 -2
- package/dist/cdn/2LI6QZL4.js +4 -0
- package/dist/cdn/{4E2233HY.js → 2PAWPIQE.js} +2 -2
- package/dist/cdn/2XDD44PY.js +4 -0
- package/dist/cdn/{VNUEMK7A.js → 3H4X6LE4.js} +2 -2
- package/dist/cdn/{FIJ4UWTU.js → 3KDZIKLB.js} +2 -2
- package/dist/cdn/{CENGG5IU.js → 3N6U7KBA.js} +2 -2
- package/dist/cdn/{IYIXJ5WJ.js → 3TMNCHJM.js} +2 -2
- package/dist/cdn/{YBQJVABF.js → 42UYVZQI.js} +2 -2
- package/dist/cdn/{V6HNSNCN.js → 46A2E32V.js} +2 -2
- package/dist/cdn/{YDRPFPMV.js → 4DIYZMLX.js} +1 -1
- package/dist/cdn/{4RHVHBAO.js → 4JQ56IB7.js} +2 -2
- package/dist/cdn/{K6LBJJFE.js → 56DXQDPV.js} +2 -2
- package/dist/cdn/{3HXNHPHB.js → 57LUHTC4.js} +3 -3
- package/dist/cdn/{WYH46EO3.js → 5QB2GZDW.js} +2 -2
- package/dist/cdn/5VYF7D3N.js +4 -0
- package/dist/cdn/{EXOVSZ5V.js → 5Z4GY7JN.js} +2 -2
- package/dist/cdn/{IAUVXTVG.js → 6GN3QIKB.js} +2 -2
- package/dist/cdn/{JJ5INUT5.js → 6TKGWZC7.js} +2 -2
- package/dist/cdn/{WTE67DCA.js → 6ZCSAHLQ.js} +2 -2
- package/dist/cdn/{ONKQCTJH.js → 77YLW3HQ.js} +2 -2
- package/dist/cdn/7CQYCOZY.js +4 -0
- package/dist/cdn/{WLTGEFKX.js → 7K2GJSOV.js} +2 -2
- package/dist/cdn/{VU7ZKPAK.js → 7QOEL7UO.js} +2 -2
- package/dist/cdn/{ZYPIFKAA.js → 7WEG232K.js} +2 -2
- package/dist/cdn/{MDLTB6HS.js → 7X5K357K.js} +2 -2
- package/dist/cdn/{G5TZ6GGW.js → 7ZLW4UY2.js} +2 -2
- package/dist/cdn/{ULM7UFSY.js → AN33D2SL.js} +2 -2
- package/dist/cdn/{W4JKWQBS.js → B6UNSUT7.js} +1 -1
- package/dist/cdn/{RBGU6FSA.js → BJPB3THA.js} +2 -2
- package/dist/cdn/BLKD3TGO.js +4 -0
- package/dist/cdn/{JAJW7XEA.js → BNLKRUVK.js} +2 -2
- package/dist/cdn/{XMJFBZ3H.js → BPM6ZLO6.js} +2 -2
- package/dist/cdn/{AVANWJEN.js → C3SECF67.js} +2 -2
- package/dist/cdn/CGLOXWTL.js +4 -0
- package/dist/cdn/{7IVQLZ6E.js → CHUKWN2A.js} +2 -2
- package/dist/cdn/{SUJUKTQF.js → DNOBR6RH.js} +2 -2
- package/dist/cdn/DOUCO3N2.js +4 -0
- package/dist/cdn/{CBXEIVMC.js → DOYUGTGD.js} +2 -2
- package/dist/cdn/{K4L75C2S.js → DRQREY2S.js} +2 -2
- package/dist/cdn/{VH5MEGWI.js → DTQCBAVW.js} +2 -2
- package/dist/cdn/{HB6N7363.js → E3UVJEVD.js} +2 -2
- package/dist/cdn/{KKESZ3RH.js → F7E7HABW.js} +2 -2
- package/dist/cdn/{LBZHJZGB.js → FD5LMCKA.js} +2 -2
- package/dist/cdn/{MWK5MJ4S.js → FN6QM6ZA.js} +2 -2
- package/dist/cdn/{ZUY62OYK.js → G5Y5YFWR.js} +2 -2
- package/dist/cdn/GZMWIO7R.js +4 -0
- package/dist/cdn/{3OGFF2D6.js → H3GJRKLG.js} +2 -2
- package/dist/cdn/{47NQITCV.js → H5KN3BTZ.js} +2 -2
- package/dist/cdn/{UNNMGXYW.js → HLLAZEON.js} +2 -2
- package/dist/cdn/{QXFG52XK.js → IHPG75ZJ.js} +2 -2
- package/dist/cdn/{YUV6Q5FO.js → IUFEAOKG.js} +2 -2
- package/dist/cdn/{2KAYMXAQ.js → IX6BDJAP.js} +2 -2
- package/dist/cdn/{3VNJHISN.js → JIVLTETN.js} +2 -2
- package/dist/cdn/{5C3C6YKA.js → JO4IJFVN.js} +2 -2
- package/dist/cdn/{SZPWLLZJ.js → JZ65FSOM.js} +2 -2
- package/dist/cdn/{LJNXYZXR.js → K2CEIEKX.js} +1 -1
- package/dist/cdn/{24VEWJN5.js → K5QE3WRI.js} +2 -2
- package/dist/cdn/{2GCLFAYM.js → M3LSWFUZ.js} +2 -2
- package/dist/cdn/{D36QGSJ3.js → M6JYOPXA.js} +2 -2
- package/dist/cdn/{S4Y233JF.js → MNN5YEO6.js} +2 -2
- package/dist/cdn/{NV37ORDA.js → N2KRIDZF.js} +2 -2
- package/dist/cdn/{XZJNJFFK.js → OGIZTI65.js} +2 -2
- package/dist/cdn/{HLBWHN5K.js → ON36QRVD.js} +2 -2
- package/dist/cdn/{FDTFIBXQ.js → OOBMOWL3.js} +2 -2
- package/dist/cdn/{MBA3SX76.js → P3I6U5M3.js} +2 -2
- package/dist/cdn/{C737UJZP.js → PJ3L65KS.js} +2 -2
- package/dist/cdn/{4DWUXC5H.js → PM7FJGFL.js} +2 -2
- package/dist/cdn/{JT44QO5Z.js → PWNTKJLZ.js} +2 -2
- package/dist/cdn/{2L7DRA4V.js → PZ4YERIK.js} +2 -2
- package/dist/cdn/QDLS4DHU.js +4 -0
- package/dist/cdn/{DDD6Z76P.js → QJ4L6AC5.js} +2 -2
- package/dist/cdn/{GXEWPNSH.js → QLPSXDBF.js} +2 -2
- package/dist/cdn/{ALXXMOZK.js → QPCZHLY3.js} +2 -2
- package/dist/cdn/{27JERRVU.js → QWPGBVCM.js} +2 -2
- package/dist/cdn/{QNKXZM6U.js → QZR2ADDB.js} +2 -2
- package/dist/cdn/{WYF2A3IA.js → R4WZP3GP.js} +2 -2
- package/dist/cdn/{JHJ63P5A.js → R7LMBS2Q.js} +2 -2
- package/dist/cdn/{7D5X46VZ.js → RCS25DNN.js} +2 -2
- package/dist/cdn/{K7K6JFAM.js → S4DS2VFQ.js} +2 -2
- package/dist/cdn/{NOG7WKNR.js → SDNJH2IA.js} +2 -2
- package/dist/cdn/{BZSY5GNK.js → SJX7OIYJ.js} +2 -2
- package/dist/cdn/{UNZJPAE3.js → SK6A5RVT.js} +2 -2
- package/dist/cdn/{EOJ52VY3.js → SM7VRYCD.js} +2 -2
- package/dist/cdn/{XE2RFSI6.js → SOHI6VJT.js} +1 -1
- package/dist/cdn/{E6MMQBSZ.js → SQ6QJJYF.js} +2 -2
- package/dist/cdn/{PC4SKJ66.js → SQWX7O6F.js} +2 -2
- package/dist/cdn/{BYTU7WEU.js → SRBT7WHL.js} +2 -2
- package/dist/cdn/{S33GKSC7.js → SSDWNCGK.js} +2 -2
- package/dist/cdn/{AXSJEDEZ.js → T2MGVLVL.js} +2 -2
- package/dist/cdn/{A2CFA3KI.js → T755K6JD.js} +2 -2
- package/dist/cdn/{R5XBDOBZ.js → TG7FKCAQ.js} +2 -2
- package/dist/cdn/{ULFABOQ2.js → TS7QLZAH.js} +2 -2
- package/dist/cdn/{35GPSK3I.js → TSBSGS6U.js} +2 -2
- package/dist/cdn/{TCNO7MWV.js → TXQHTUUV.js} +2 -2
- package/dist/cdn/{446M6KBI.js → TZZPFSOP.js} +2 -2
- package/dist/cdn/{IULFFSNF.js → U4WEVFIC.js} +2 -2
- package/dist/cdn/{XVGVI2F2.js → UMESFLZW.js} +2 -2
- package/dist/cdn/{W2O2OLBB.js → UX3HXBWY.js} +2 -2
- package/dist/cdn/{6QYX3ZDY.js → UZSRAQSG.js} +2 -2
- package/dist/cdn/{UCIPXOD5.js → V6GQ5PNP.js} +2 -2
- package/dist/cdn/{J6OXKRG2.js → VAW7ATES.js} +2 -2
- package/dist/cdn/{ZTHY4X2X.js → VEMUCPTT.js} +2 -2
- package/dist/cdn/{AOQG53QD.js → WIS64HW7.js} +2 -2
- package/dist/cdn/{H55YXPBK.js → X26IDMO6.js} +2 -2
- package/dist/cdn/X6Q4KV6O.js +4 -0
- package/dist/cdn/{IFAJ7DA6.js → XNXAXVUT.js} +2 -2
- package/dist/cdn/{W2MBKQKH.js → Y3WABS7Z.js} +2 -2
- package/dist/cdn/{B4UVTDEI.js → YDR5JSHD.js} +1 -1
- package/dist/cdn/{GHFXBRK6.js → YGZTZNOP.js} +2 -2
- package/dist/cdn/{F4TNTFQ5.js → YHESMRIJ.js} +2 -2
- 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.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 +87 -87
- 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 +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +6 -6
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
- 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 +7 -2
- 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.d.ts +7 -2
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +7 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +141 -2
- package/dist/components/arcgis-feature-table/customElement.js +12 -12
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +7 -2
- 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.d.ts +7 -2
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +55 -304
- package/dist/components/arcgis-link-chart/customElement.js +8 -6
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +3 -3
- package/dist/components/arcgis-map/customElement.js +5 -3
- 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.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +10 -10
- package/dist/components/arcgis-scene/customElement.js +5 -3
- package/dist/components/arcgis-search/customElement.d.ts +4 -4
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +71 -0
- package/dist/components/arcgis-slice/css.d.ts +14 -0
- package/dist/components/arcgis-slice/customElement.d.ts +29 -58
- 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.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -2
- 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-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 +5 -3
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +39 -44
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +753 -102
- package/dist/docs/docs.json +747 -74
- package/dist/docs/vscode.html-custom-data.json +93 -20
- package/dist/docs/web-types.json +222 -48
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/support/AnalysisViewModel.d.ts +3 -1
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/5Q3SFZOF.js +0 -4
- package/dist/cdn/AK3KPP3I.js +0 -4
- package/dist/cdn/FND6OCDT.js +0 -4
- package/dist/cdn/JXMD7HFJ.js +0 -4
- package/dist/cdn/K7CLXVPL.js +0 -4
- package/dist/cdn/KDYQZX6N.js +0 -4
- package/dist/cdn/QYFFWMK3.js +0 -4
- package/dist/cdn/VYMX7MSD.js +0 -4
- package/dist/cdn/ZGDJ5JHR.js +0 -4
- package/dist/cdn/ZTTG4LUA.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
|
};
|
|
@@ -8,8 +8,8 @@ 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.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
12
|
-
const
|
|
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
13
|
w,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -23,11 +23,9 @@ const g = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height
|
|
|
23
23
|
), y = r(o, {});
|
|
24
24
|
class u extends c {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(), this._map =
|
|
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
27
|
components: ["attribution"]
|
|
28
28
|
};
|
|
29
|
-
const i = this;
|
|
30
|
-
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
|
|
31
29
|
}
|
|
32
30
|
static {
|
|
33
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 };
|
|
@@ -36,7 +34,7 @@ class u extends c {
|
|
|
36
34
|
this.shadowRootOptions = p;
|
|
37
35
|
}
|
|
38
36
|
static {
|
|
39
|
-
this.styles =
|
|
37
|
+
this.styles = d;
|
|
40
38
|
}
|
|
41
39
|
get center() {
|
|
42
40
|
return this.view.center;
|
|
@@ -117,6 +115,10 @@ class u extends c {
|
|
|
117
115
|
async viewOnReady(i, t) {
|
|
118
116
|
return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
|
|
119
117
|
}
|
|
118
|
+
load() {
|
|
119
|
+
const i = this;
|
|
120
|
+
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
|
|
121
|
+
}
|
|
120
122
|
loaded() {
|
|
121
123
|
this.map ||= this._map, this.manager.onLifecycle(() => [
|
|
122
124
|
s(() => this.map, () => this._map = this.map, { initial: !0, sync: !0 }),
|
|
@@ -11,7 +11,7 @@ import { LitElement as p, createEvent as y, noShadowRoot as w, safeClassMap as a
|
|
|
11
11
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
14
|
+
v4.33.0-next.126 */
|
|
15
15
|
const b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
|
|
16
16
|
basicLayoutCategory: [
|
|
17
17
|
"basic-grid"
|
|
@@ -14,7 +14,7 @@ import u from "@arcgis/core/core/Error.js";
|
|
|
14
14
|
import { onLocaleChange as J } from "@arcgis/core/intl.js";
|
|
15
15
|
import q from "@arcgis/core/PopupTemplate.js";
|
|
16
16
|
import W from "@arcgis/core/support/actions/ActionButton.js";
|
|
17
|
-
import { t as X,
|
|
17
|
+
import { t as X, a as E } from "../../chunks/async-utils.js";
|
|
18
18
|
import B from "@arcgis/core/core/Accessor.js";
|
|
19
19
|
import O from "@arcgis/core/Graphic.js";
|
|
20
20
|
import Z from "@arcgis/core/symbols/CIMSymbol.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.33/esri/copyright.txt for details.
|
|
30
|
-
v4.33.0-next.
|
|
30
|
+
v4.33.0-next.126 */
|
|
31
31
|
const ie = K`@layer{arcgis-locate{display:block}}`;
|
|
32
32
|
let M = !1;
|
|
33
33
|
const re = {
|
|
@@ -42,10 +42,10 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
|
|
|
42
42
|
* The Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/) of the ArcGIS Maps SDK for JavaScript.
|
|
43
43
|
*
|
|
44
44
|
* ```js
|
|
45
|
-
* const
|
|
46
|
-
*
|
|
45
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
46
|
+
* viewElement.addEventListener("arcgisViewReadyChange", () => {
|
|
47
47
|
* const layer = new GraphicsLayer({ title: "My Layer" });
|
|
48
|
-
*
|
|
48
|
+
* viewElement.map.add(layer);
|
|
49
49
|
* });
|
|
50
50
|
* ```
|
|
51
51
|
*
|
|
@@ -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.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.126 */
|
|
12
12
|
const d = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, g = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
@@ -26,8 +26,6 @@ class u extends p {
|
|
|
26
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.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, 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.visibleArea = this.view.visibleArea, 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
27
|
components: ["attribution"]
|
|
28
28
|
};
|
|
29
|
-
const i = this;
|
|
30
|
-
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
|
|
31
29
|
}
|
|
32
30
|
static {
|
|
33
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, floors: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, 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, visibleArea: 0, zoom: 9 };
|
|
@@ -132,6 +130,10 @@ class u extends p {
|
|
|
132
130
|
async viewOnReady(i, t) {
|
|
133
131
|
return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
|
|
134
132
|
}
|
|
133
|
+
load() {
|
|
134
|
+
const i = this;
|
|
135
|
+
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
|
|
136
|
+
}
|
|
135
137
|
loaded() {
|
|
136
138
|
this.map ||= this._map, this.manager.onLifecycle(() => [
|
|
137
139
|
s(() => this.map, () => this._map = this.map, { initial: !0, sync: !0 }),
|
|
@@ -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.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.126 */
|
|
10
10
|
const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -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.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.126 */
|
|
13
13
|
const $ = "arcgis-navigation-toggle", w = {
|
|
14
14
|
base: $
|
|
15
15
|
}, x = 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.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.126 */
|
|
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.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.126 */
|
|
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() {
|
|
@@ -10,7 +10,7 @@ import { g as o } from "../../chunks/globalCss.js";
|
|
|
10
10
|
import { css as v } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
13
|
+
v4.33.0-next.126 */
|
|
14
14
|
const u = v`@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}}`, i = "arcgis-print", s = {
|
|
15
15
|
base: i,
|
|
16
16
|
headerTitle: `${i}__header-title`,
|
|
@@ -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.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.126 */
|
|
8
8
|
class d extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { viewModel: 0 };
|
|
@@ -4,7 +4,7 @@ import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as d, noShadowRoot as c } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.126 */
|
|
8
8
|
function l(s, i, t, e) {
|
|
9
9
|
if (t == null || e == null)
|
|
10
10
|
return { height: 0, width: 0 };
|
|
@@ -3,7 +3,7 @@ import { html as r } from "lit-html";
|
|
|
3
3
|
import { LitElement as l, noShadowRoot as n } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
6
|
-
v4.33.0-next.
|
|
6
|
+
v4.33.0-next.126 */
|
|
7
7
|
class c extends l {
|
|
8
8
|
static {
|
|
9
9
|
this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0, arcgisSubmit: 0, arcgisComplete: 0 };
|
|
@@ -6,7 +6,7 @@ import { LitElement as $, noShadowRoot as b, nothing as u, safeClassMap as c } f
|
|
|
6
6
|
import { css as w } 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.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.126 */
|
|
10
10
|
const x = w`@layer{.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}}`, d = "arcgis-print", m = {
|
|
11
11
|
exportedFile: `${d}__exported-file`,
|
|
12
12
|
exportedFileLinkTitle: `${d}__exported-file-link-title`,
|
|
@@ -5,7 +5,7 @@ import { LitElement as c, safeClassMap as o } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.126 */
|
|
9
9
|
const d = p`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`, e = "arcgis-print", t = {
|
|
10
10
|
exportSection: `${e}__export-section`,
|
|
11
11
|
panelContainer: `${e}__panel-container`,
|