@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,28 +1,28 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as e } from "lit-html";
|
|
3
3
|
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
4
|
-
import { classes as
|
|
5
|
-
import
|
|
6
|
-
import { watch as
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { createRef as
|
|
9
|
-
import { u as
|
|
10
|
-
import { m as
|
|
4
|
+
import { classes as u } from "@arcgis/components-utils";
|
|
5
|
+
import v from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
|
|
6
|
+
import { watch as t } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
+
import { LitElement as m, createEvent as a, noShadowRoot as g, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
+
import { createRef as y, ref as _ } from "lit-html/directives/ref.js";
|
|
9
|
+
import { u as f } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as p } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { g as w } from "../../chunks/globalCss.js";
|
|
12
12
|
import { css as V } from "@lit/reactive-element/css-tag.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
15
|
-
v4.33.0-next.
|
|
16
|
-
const $ = V`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,
|
|
17
|
-
base:
|
|
18
|
-
videoView: `${
|
|
19
|
-
}, b =
|
|
20
|
-
class M extends
|
|
15
|
+
v4.33.0-next.126 */
|
|
16
|
+
const $ = V`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`, d = "arcgis-video-player", l = {
|
|
17
|
+
base: d,
|
|
18
|
+
videoView: `${d}__video-view`
|
|
19
|
+
}, b = p(v);
|
|
20
|
+
class M extends m {
|
|
21
21
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages =
|
|
22
|
+
super(...arguments), this.messages = f({ blocking: !0 }), this.viewModel = b(this), this._videoViewRef = y(), this._metadataVisible = !1, this._duration = 0, this._currentTime = 0, this._bufferedValue = 0, this._currentValue = 0, this._isBuffering = !1, this._videoViewReady = !1, this._layerTitle = null, this.position = "top-left", this.icon = "video-web", this.state = this.viewModel.state, this.layer = this.viewModel.layer, this.autoDestroyDisabled = !1, this.hideHeader = !1, this.arcgisPropertyChange = c()("state", "layer"), this.arcgisReady = a(), this.arcgisVideoReady = a();
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, referenceElement: 1, position: 3, icon: 1, state: 3, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3 };
|
|
25
|
+
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, referenceElement: 1, position: 3, icon: 1, state: 3, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
28
|
this.styles = $;
|
|
@@ -35,23 +35,29 @@ class M extends v {
|
|
|
35
35
|
}
|
|
36
36
|
loaded() {
|
|
37
37
|
this.manager.onLifecycle(() => [
|
|
38
|
-
|
|
39
|
-
const { buffered:
|
|
40
|
-
this._duration =
|
|
41
|
-
})
|
|
38
|
+
t(() => [this.viewModel.currentTime, this.viewModel.duration, this.viewModel.duration, this.viewModel.ended], () => {
|
|
39
|
+
const { buffered: i, currentTime: s, duration: r, ended: n } = this.viewModel;
|
|
40
|
+
this._duration = r, this._currentTime = s, this._bufferedValue = i / (r || 1), this._currentValue = s / (r || 1), this._isBuffering = !n && this._bufferedValue < this._currentValue;
|
|
41
|
+
}),
|
|
42
|
+
t(() => this._videoViewRef.value?.ready, (i) => {
|
|
43
|
+
this._videoViewReady = !!i;
|
|
44
|
+
}, { initial: !0 }),
|
|
45
|
+
t(() => this.layer?.title, () => {
|
|
46
|
+
this._layerTitle = this.layer?.title;
|
|
47
|
+
}, { initial: !0 })
|
|
42
48
|
]);
|
|
43
49
|
}
|
|
44
50
|
render() {
|
|
45
|
-
return e`<div class=${
|
|
51
|
+
return e`<div class=${o(u(l.base, w.widget))}><calcite-panel .heading=${this.hideHeader ? void 0 : this._layerTitle ?? this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`;
|
|
46
52
|
}
|
|
47
53
|
_renderLoadingScrim() {
|
|
48
|
-
return this.
|
|
54
|
+
return this._videoViewReady ? null : e`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
|
|
49
55
|
}
|
|
50
56
|
_renderBuffering() {
|
|
51
57
|
return this._isBuffering ? e`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
52
58
|
}
|
|
53
59
|
_renderVideoSection() {
|
|
54
|
-
return e`<div class=${
|
|
60
|
+
return e`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${_(this._videoViewRef)}></arcgis-video></div>`;
|
|
55
61
|
}
|
|
56
62
|
_renderSlider() {
|
|
57
63
|
return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
@@ -63,7 +69,7 @@ class M extends v {
|
|
|
63
69
|
return this._metadataVisible ? e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>` : null;
|
|
64
70
|
}
|
|
65
71
|
}
|
|
66
|
-
|
|
72
|
+
h("arcgis-video-player", M);
|
|
67
73
|
export {
|
|
68
74
|
M as ArcgisVideoPlayer
|
|
69
75
|
};
|
|
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as e } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as d } 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 p = d`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`, o = "arcgis-video-player", r = {
|
|
10
10
|
playerControlsGroup: `${o}__controls-group`,
|
|
11
11
|
playerTimecode: `${o}__timecode`,
|
|
@@ -4,7 +4,7 @@ import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as p, noShadowRoot as m } 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 $ extends p {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._disabled = !1, this._playing = !1;
|
|
@@ -4,7 +4,7 @@ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as m, noShadowRoot as g } 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 p(i) {
|
|
9
9
|
return i.followingMode === "none" ? "circle-disallowed" : i.followingMode === "follow-sensor" ? "zoom-to-object" : i.followingMode === "follow-frame" ? "follow" : "video";
|
|
10
10
|
}
|
|
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as m } 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 f = m`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms}`, o = "arcgis-metadata-table", t = {
|
|
10
10
|
table: o,
|
|
11
11
|
row: `${o}__row`,
|
|
@@ -6,7 +6,7 @@ import { LitElement as p } from "@arcgis/lumina";
|
|
|
6
6
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.126 */
|
|
10
10
|
const v = m`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`, $ = ["Auto"], g = [
|
|
11
11
|
{ label: "0.25x", value: 0.25 },
|
|
12
12
|
{ label: "0.5x", value: 0.5 },
|
|
@@ -4,7 +4,7 @@ import { LitElement as c, safeClassMap as s } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as t } 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 = t`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`, o = "arcgis-video-player", i = {
|
|
9
9
|
progress: `${o}__progress`,
|
|
10
10
|
slider: `${o}__slider`,
|
|
@@ -7,9 +7,7 @@ import { HeadingLevel } from '../../support/heading.jsx';
|
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
8
|
import { WeatherViewModel } from './WeatherViewModel.js';
|
|
9
9
|
|
|
10
|
-
declare const useViewModel: (component: LitElement & Pick<WeatherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<WeatherViewModel
|
|
11
|
-
editConstructorProperties(props: unknown): unknown;
|
|
12
|
-
} | undefined) => WeatherViewModel;
|
|
10
|
+
declare const useViewModel: (component: LitElement & Pick<WeatherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<WeatherViewModel>) => WeatherViewModel;
|
|
13
11
|
/**
|
|
14
12
|
* Weather component provides an interface for easily selecting and configuring the weather effects in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
15
13
|
*
|
|
@@ -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",
|
|
@@ -28,15 +28,12 @@ export interface ViewControllerUses<ViewType extends View> {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const useView: <ViewType extends View = View>(component: ViewControllerRequires<ViewType>) => ViewType | undefined;
|
|
30
30
|
export declare class ViewController<ViewType extends View = View> extends GenericController<ViewType | undefined, ViewControllerRequires<ViewType>> {
|
|
31
|
-
private
|
|
32
|
-
private _viewDestroyHandle;
|
|
33
|
-
private _canEmitArcgisReady;
|
|
31
|
+
#private;
|
|
34
32
|
constructor(component: ViewControllerRequires<ViewType>);
|
|
35
33
|
hostConnected(): void;
|
|
36
34
|
hostLoad(): void;
|
|
37
35
|
hostLoaded(): void;
|
|
38
36
|
hostDisconnected(): void;
|
|
39
37
|
hostUpdate(changes: PropertyValues<ViewControllerUses<View>>): void;
|
|
40
|
-
private _notifyViewReady;
|
|
41
38
|
}
|
|
42
39
|
export {};
|
|
@@ -6,7 +6,7 @@ import { default as ArcgisMap } from '@arcgis/core/Map';
|
|
|
6
6
|
import { default as MapView } from '@arcgis/core/views/MapView';
|
|
7
7
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
8
8
|
import { default as LinkChartView } from '@arcgis/core/views/LinkChartView';
|
|
9
|
-
import { ViewControllerUses
|
|
9
|
+
import { ViewControllerUses } from './useView';
|
|
10
10
|
import { LitElement, EventEmitter } from '@arcgis/lumina';
|
|
11
11
|
type ViewModelControllerRequires<Props, ViewModel extends ViewModelInstance> = LitElement & Pick<ViewModel, keyof Props & keyof ViewModel> & ViewModelControllerUses<ViewModel>;
|
|
12
12
|
type ViewModelInstance = Accessor & Partial<Evented> & {
|
|
@@ -37,7 +37,7 @@ export interface ViewModelControllerUses<ViewModel extends ViewModelInstance> ex
|
|
|
37
37
|
*
|
|
38
38
|
* TEST: add test cases for this controller
|
|
39
39
|
*/
|
|
40
|
-
export declare const makeViewModelController: <Props, ViewModel extends ViewModelInstance, OmitProps extends string = never>(loadViewModel: ((props
|
|
40
|
+
export declare const makeViewModelController: <Props, ViewModel extends ViewModelInstance, OmitProps extends string = never>(loadViewModel: ((props?: Omit<Props, "view">) => ViewModel) | (new (props?: Omit<Props, "view">) => ViewModel), _options?: {
|
|
41
41
|
/**
|
|
42
42
|
* Don't expose the following ViewModels's properties on the component.
|
|
43
43
|
* You can also bind the property to \@State rather than \@Prop if you
|
|
@@ -47,13 +47,11 @@ export declare const makeViewModelController: <Props, ViewModel extends ViewMode
|
|
|
47
47
|
* \@State() timeZone = this.viewModel.timeZone;
|
|
48
48
|
*/
|
|
49
49
|
omitProps: OmitProps[];
|
|
50
|
-
}) => (component: ViewModelControllerRequires<Omit<Props, OmitProps>, ViewModel
|
|
51
|
-
editConstructorProperties(props: Props): Promise<Props> | Props;
|
|
52
|
-
}) => ViewModel;
|
|
50
|
+
}) => (component: ViewModelControllerRequires<Omit<Props, OmitProps>, ViewModel>) => ViewModel;
|
|
53
51
|
export declare class ViewModelController<Props, ViewModel extends ViewModelInstance> extends AccessorController<Props, ViewModel, ViewModelControllerUses<ViewModel>> {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
hostLoad():
|
|
52
|
+
#private;
|
|
53
|
+
constructor(component: ViewModelControllerRequires<Props, ViewModel>, loadViewModel: ((props?: Omit<Props, "view">) => ViewModel) | (new (props?: Omit<Props, "view">) => ViewModel));
|
|
54
|
+
hostLoad(): void;
|
|
57
55
|
hostDestroy(): void;
|
|
58
56
|
}
|
|
59
57
|
export {};
|
|
@@ -49,7 +49,7 @@ type Uses<Widget extends WidgetInstance> = {
|
|
|
49
49
|
* Documentation:
|
|
50
50
|
* https://qawebgis.esri.com/components/lumina/transition-from-widgets#usewidget-controller
|
|
51
51
|
*/
|
|
52
|
-
export declare const makeWidgetController: <Props, Widget extends WidgetInstance, OmitProps extends string = never>(
|
|
52
|
+
export declare const makeWidgetController: <Props, Widget extends WidgetInstance, OmitProps extends string = never>(createWidget: ((props?: Props) => Widget) | (new (props?: Props) => Widget), _options?: {
|
|
53
53
|
/**
|
|
54
54
|
* Don't expose the following Widget's properties on the component.
|
|
55
55
|
* You can also bind the property to \@State rather than \@Prop if you
|
|
@@ -59,40 +59,14 @@ export declare const makeWidgetController: <Props, Widget extends WidgetInstance
|
|
|
59
59
|
* \@state() timeZone = this.widget.timeZone;
|
|
60
60
|
*/
|
|
61
61
|
omitProps: OmitProps[];
|
|
62
|
-
}) => (component: Requires<Omit<Props, OmitProps | "container" | "id" | "view" | "visible" | "visibleElements">, Widget
|
|
63
|
-
editConstructorProperties(props: Props): Promise<Props> | Props;
|
|
64
|
-
}) => Widget;
|
|
62
|
+
}) => (component: Requires<Omit<Props, OmitProps | "container" | "id" | "view" | "visible" | "visibleElements">, Widget>) => Widget;
|
|
65
63
|
export declare class WidgetController<Props, Widget extends WidgetInstance> extends AccessorController<Props, Widget, Uses<Widget>> {
|
|
66
|
-
private
|
|
67
|
-
|
|
68
|
-
private _isBindingViewModel;
|
|
69
|
-
constructor(component: Requires<Props, Widget> & Uses<Widget>, _loadAccessor: ((props: Props) => Promise<Widget> | Widget) | (new (props: Props) => Widget), _options?: {
|
|
70
|
-
editConstructorProperties?(props: Props): Promise<Props> | Props;
|
|
71
|
-
});
|
|
64
|
+
#private;
|
|
65
|
+
constructor(component: Requires<Props, Widget> & Uses<Widget>, createWidget: ((props?: Props) => Widget) | (new (props?: Props) => Widget));
|
|
72
66
|
hostConnected(): void;
|
|
73
|
-
hostLoad():
|
|
74
|
-
|
|
67
|
+
hostLoad(): void;
|
|
68
|
+
hostUpdate(changes: PropertyValues<Uses<Widget>>): void;
|
|
75
69
|
hostLoaded(): void;
|
|
76
|
-
hostDisconnected(): void;
|
|
77
70
|
hostDestroy(): void;
|
|
78
|
-
hostUpdated(changes: PropertyValues<Uses<Widget>>): void;
|
|
79
|
-
private _makeVisibleElementsBinder;
|
|
80
|
-
private _makeRecursiveProxy;
|
|
81
|
-
/**
|
|
82
|
-
* Destroy the component if view gets destroyed.
|
|
83
|
-
*
|
|
84
|
-
* When view is destroyed, component disconnect is triggered, which will
|
|
85
|
-
* destroy the component in 1s but that can be too late, because in the
|
|
86
|
-
* meanwhile, a watcher on the widget/viewModel instance may get triggered,
|
|
87
|
-
* and throw an error if it's not able to access this.view.map or etc
|
|
88
|
-
* (happens in VersionManagementViewModel for example).
|
|
89
|
-
*
|
|
90
|
-
* We can't check for this in disconnectedCallback though as, if the entire
|
|
91
|
-
* component tree is removed, the disconnect for the component will be
|
|
92
|
-
* triggered before that of arcgis-map, so the view might not be destroyed
|
|
93
|
-
* yet at that point.
|
|
94
|
-
*/
|
|
95
|
-
private _watchViewDestroy;
|
|
96
|
-
private _watchViewDestroyHandle?;
|
|
97
71
|
}
|
|
98
72
|
export {};
|