@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,24 +1,24 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as T } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as o } from "lit-html";
|
|
3
|
-
import { usePropertyChange as
|
|
3
|
+
import { usePropertyChange as W } from "@arcgis/lumina/controllers";
|
|
4
4
|
import { classes as y } from "@arcgis/components-utils";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { H as A } from "../../chunks/heading.js";
|
|
5
|
+
import { nothing as v, safeStyleMap as x, LitElement as O, createEvent as S, noShadowRoot as B, safeClassMap as g } from "@arcgis/lumina";
|
|
6
|
+
import { u as E } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as H } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { H as L } from "../../chunks/heading.js";
|
|
10
9
|
import { g as w } from "../../chunks/globalCss.js";
|
|
11
|
-
import { css as
|
|
12
|
-
import
|
|
13
|
-
import { property as h, subclass as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
10
|
+
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
11
|
+
import D from "@arcgis/core/core/Accessor.js";
|
|
12
|
+
import { property as h, subclass as k } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
|
+
import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
|
+
import b from "@arcgis/core/views/3d/environment/CloudyWeather.js";
|
|
15
|
+
import f from "@arcgis/core/views/3d/environment/FoggyWeather.js";
|
|
16
|
+
import _ from "@arcgis/core/views/3d/environment/RainyWeather.js";
|
|
17
|
+
import $ from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
18
|
+
import C from "@arcgis/core/views/3d/environment/SunnyWeather.js";
|
|
19
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
21
|
-
v4.33.0-next.
|
|
21
|
+
v4.33.0-next.126 */
|
|
22
22
|
const c = "arcgis-weather", d = {
|
|
23
23
|
base: c,
|
|
24
24
|
content: `${c}__content`,
|
|
@@ -28,35 +28,35 @@ const c = "arcgis-weather", d = {
|
|
|
28
28
|
optionsHidden: `${c}__options--hidden`,
|
|
29
29
|
error: `${c}__error`,
|
|
30
30
|
warning: `${c}__warning`
|
|
31
|
-
}, R =
|
|
31
|
+
}, R = A`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`;
|
|
32
32
|
var V = Object.defineProperty, j = Object.getOwnPropertyDescriptor, a = (t, e, i, s) => {
|
|
33
33
|
for (var r = s > 1 ? void 0 : s ? j(e, i) : e, p = t.length - 1, l; p >= 0; p--)
|
|
34
34
|
(l = t[p]) && (r = (s ? l(e, i, r) : l(r)) || r);
|
|
35
35
|
return s && r && V(e, i, r), r;
|
|
36
36
|
};
|
|
37
37
|
const z = {
|
|
38
|
-
sunny:
|
|
39
|
-
cloudy:
|
|
40
|
-
rainy:
|
|
41
|
-
snowy:
|
|
42
|
-
foggy:
|
|
43
|
-
},
|
|
44
|
-
let n = class extends
|
|
38
|
+
sunny: C,
|
|
39
|
+
cloudy: b,
|
|
40
|
+
rainy: _,
|
|
41
|
+
snowy: $,
|
|
42
|
+
foggy: f
|
|
43
|
+
}, M = Object.keys(z);
|
|
44
|
+
let n = class extends D {
|
|
45
45
|
//#region Lifecycle
|
|
46
46
|
constructor(t) {
|
|
47
47
|
super(t), this.view = null, this._settingWeather = !1, this._weatherByType = {
|
|
48
|
-
sunny: new
|
|
49
|
-
cloudy: new
|
|
50
|
-
rainy: new
|
|
51
|
-
snowy: new
|
|
52
|
-
foggy: new
|
|
48
|
+
sunny: new C(),
|
|
49
|
+
cloudy: new b(),
|
|
50
|
+
rainy: new _(),
|
|
51
|
+
snowy: new $(),
|
|
52
|
+
foggy: new f()
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
initialize() {
|
|
56
56
|
this.addHandles([
|
|
57
57
|
// When the weather is changed directly in the environment (not in the VM),
|
|
58
58
|
// we need to update the corresponding weather instance in the view model.
|
|
59
|
-
|
|
59
|
+
P(
|
|
60
60
|
() => this.current,
|
|
61
61
|
(t) => {
|
|
62
62
|
this._settingWeather || t == null || (this._weatherByType = {
|
|
@@ -109,7 +109,7 @@ let n = class extends k {
|
|
|
109
109
|
//#endregion
|
|
110
110
|
//#region Public Methods
|
|
111
111
|
setWeatherByType(t) {
|
|
112
|
-
if (!
|
|
112
|
+
if (!M.includes(t)) {
|
|
113
113
|
console.warn(`arcgis-weather - "${t}" is not a valid weather type`);
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
@@ -147,35 +147,35 @@ a([
|
|
|
147
147
|
h()
|
|
148
148
|
], n.prototype, "_environment", 1);
|
|
149
149
|
n = a([
|
|
150
|
-
|
|
150
|
+
k("components.weather.WeatherViewModel")
|
|
151
151
|
], n);
|
|
152
152
|
function u({ label: t, value: e, disabled: i, onChange: s }) {
|
|
153
153
|
const r = (p) => {
|
|
154
154
|
const l = p.currentTarget.value;
|
|
155
155
|
s?.(l);
|
|
156
156
|
};
|
|
157
|
-
return o`<calcite-label scale=s>${t}<calcite-slider aria-label=${t ?? v} .disabled=${i} style=${
|
|
157
|
+
return o`<calcite-label scale=s>${t}<calcite-slider aria-label=${t ?? v} .disabled=${i} style=${x({
|
|
158
158
|
// Tweaks to make the slider more compact and better-align within the weather component */
|
|
159
159
|
marginInline: "-7px",
|
|
160
160
|
marginBottom: "-7px"
|
|
161
161
|
})} max=1 min=0 step=0.01 .value=${e ?? 0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
|
|
162
162
|
}
|
|
163
|
-
const F =
|
|
163
|
+
const F = H(n), I = {
|
|
164
164
|
sunny: "brightness",
|
|
165
165
|
cloudy: "partly-cloudy",
|
|
166
166
|
rainy: "rain",
|
|
167
167
|
snowy: "snow",
|
|
168
168
|
foggy: "fog"
|
|
169
169
|
};
|
|
170
|
-
class q extends
|
|
170
|
+
class q extends O {
|
|
171
171
|
constructor() {
|
|
172
|
-
super(...arguments), this.viewModel = F(this), this.messages =
|
|
172
|
+
super(...arguments), this.viewModel = F(this), this.messages = E(), this.autoDestroyDisabled = !1, this.headingLevel = 4, this.hideHeader = !1, this.icon = "partly-cloudy", this.label = this.messages.componentLabel, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = W()("state"), this.arcgisReady = S();
|
|
173
173
|
}
|
|
174
174
|
static {
|
|
175
175
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3 };
|
|
176
176
|
}
|
|
177
177
|
static {
|
|
178
|
-
this.shadowRootOptions =
|
|
178
|
+
this.shadowRootOptions = B;
|
|
179
179
|
}
|
|
180
180
|
static {
|
|
181
181
|
this.styles = R;
|
|
@@ -183,11 +183,6 @@ class q extends S {
|
|
|
183
183
|
async destroy() {
|
|
184
184
|
await this.manager.destroy();
|
|
185
185
|
}
|
|
186
|
-
load() {
|
|
187
|
-
this.manager.onLifecycle(() => [
|
|
188
|
-
b(() => this._renderContent(), () => this.requestUpdate())
|
|
189
|
-
]);
|
|
190
|
-
}
|
|
191
186
|
_getWarningMessage() {
|
|
192
187
|
switch (this.viewModel.error) {
|
|
193
188
|
case "not-visible": {
|
|
@@ -217,7 +212,7 @@ class q extends S {
|
|
|
217
212
|
}
|
|
218
213
|
_renderContent() {
|
|
219
214
|
const { headingLevel: e, messages: i, viewModel: s } = this, r = this._getWarningMessage(), p = s.current, l = s.state === "error";
|
|
220
|
-
return o`${this.hideHeader ? void 0 :
|
|
215
|
+
return o`${this.hideHeader ? void 0 : L({ level: e, children: i.componentLabel })}${l ? o`<div class=${g(d.error)}>${this._getErrorMessage()}</div>` : void 0}<div class=${g(y({ [d.content]: !0, [d.hasError]: l }))}><div aria-label=${i.weatherType ?? v} class=${g(d.selector)} role=radiogroup>${M.map(this._renderWeatherTypeButton, this)}</div>${Object.values(s.weatherByType).map((m) => o`<div class=${g(y({
|
|
221
216
|
[d.options]: !0,
|
|
222
217
|
[d.optionsHidden]: m.type !== p?.type
|
|
223
218
|
}))}>${this._renderOptions(m)}</div>`)}${r ? this._renderWarning(r) : void 0}</div>`;
|
|
@@ -279,7 +274,7 @@ class q extends S {
|
|
|
279
274
|
return o`<div class=${g(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`;
|
|
280
275
|
}
|
|
281
276
|
}
|
|
282
|
-
|
|
277
|
+
T("arcgis-weather", q);
|
|
283
278
|
export {
|
|
284
279
|
q as ArcgisWeather
|
|
285
280
|
};
|
|
@@ -10,7 +10,7 @@ import { u as O } from "../../chunks/useView.js";
|
|
|
10
10
|
import { css as Z } 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 a = {
|
|
15
15
|
base: "arcgis-zoom",
|
|
16
16
|
horizontalLayout: "arcgis-zoom--horizontal",
|