@windycom/plugin-devtools 1.0.2-beta.2 → 1.0.5
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/README.md +5 -0
- package/index.mjs +3 -2
- package/package.json +1 -1
- package/publishExamples.sh +1 -1
- package/types/client/BindedDropDown.d.ts +14 -0
- package/types/{Calendar.d.ts → client/Calendar.d.ts} +4 -4
- package/types/client/CanvasLayer.d.ts +1 -0
- package/types/{Color.d.ts → client/Color.d.ts} +3 -3
- package/types/{DataTiler.d.ts → client/DataTiler.d.ts} +2 -2
- package/types/client/Detail1hCheckbox.d.ts +4 -0
- package/types/{ExternalSveltePlugin.d.ts → client/ExternalSveltePlugin.d.ts} +2 -1
- package/types/{GlObj.d.ts → client/GlObj.d.ts} +1 -1
- package/types/{Layer.d.ts → client/Layer.d.ts} +11 -11
- package/types/{Metric.d.ts → client/Metric.d.ts} +5 -5
- package/types/{Plugin.d.ts → client/Plugin.d.ts} +4 -2
- package/types/{Product.d.ts → client/Product.d.ts} +8 -8
- package/types/{ProductSwitch.d.ts → client/ProductSwitch.d.ts} +1 -1
- package/types/{Renderer.d.ts → client/Renderer.d.ts} +4 -4
- package/types/{Webcams.d.ts → client/Webcams.d.ts} +4 -4
- package/types/client/components.d.ts +1 -0
- package/types/client/d.ts.files/Calendar.d.ts +87 -0
- package/types/client/d.ts.files/CanvasLayer.d.ts +70 -0
- package/types/client/d.ts.files/Color.d.ts +82 -0
- package/types/client/d.ts.files/DataTiler.d.ts +45 -0
- package/types/client/d.ts.files/GlObj.d.ts +92 -0
- package/types/client/d.ts.files/LabelsLayer.d.ts +51 -0
- package/types/client/d.ts.files/LandMask.d.ts +17 -0
- package/types/client/d.ts.files/Layer.d.ts +184 -0
- package/types/client/d.ts.files/Metric.d.ts +192 -0
- package/types/client/d.ts.files/PoisOverlay.d.ts +27 -0
- package/types/client/d.ts.files/Product.d.ts +37 -0
- package/types/client/d.ts.files/Renderer.d.ts +23 -0
- package/types/client/d.ts.files/TileLayerCanvas.d.ts +78 -0
- package/types/client/d.ts.files/TileLayerMultiPatch.d.ts +13 -0
- package/types/client/d.ts.files/Webcams.d.ts +160 -0
- package/types/client/d.ts.files/broadcast.d.ts +177 -0
- package/types/client/d.ts.files/dataSpecifications.d.ts +943 -0
- package/types/client/d.ts.files/errorLogger.d.ts +35 -0
- package/types/client/d.ts.files/format.d.ts +48 -0
- package/types/client/d.ts.files/http.d.ts +87 -0
- package/types/client/d.ts.files/incomingMessages.d.ts +88 -0
- package/types/client/d.ts.files/lib.d.ts +74 -0
- package/types/client/d.ts.files/notifications.d.ts +39 -0
- package/types/client/d.ts.files/outgoingMessages.d.ts +75 -0
- package/types/client/d.ts.files/plugin-params.d.ts +236 -0
- package/types/client/d.ts.files/plugins.d.ts +132 -0
- package/types/client/d.ts.files/pois.d.ts +11 -0
- package/types/client/d.ts.files/products.d.ts +44 -0
- package/types/client/d.ts.files/rootScope.d.ts +43 -0
- package/types/client/d.ts.files/satellite.d.ts +50 -0
- package/types/client/d.ts.files/singleclick.d.ts +31 -0
- package/types/client/d.ts.files/storage.d.ts +120 -0
- package/types/client/d.ts.files/store.d.ts +61 -0
- package/types/client/d.ts.files/tileInterpolator.d.ts +35 -0
- package/types/client/d.ts.files/trans.d.ts +55 -0
- package/types/client/d.ts.files/user.d.ts +58 -0
- package/types/{dataSpecifications.d.ts → client/dataSpecifications.d.ts} +1 -1
- package/types/client/debugPremiumIssues.d.ts +22 -0
- package/types/client/embed2.d.ts +92 -0
- package/types/client/errorLogger.d.ts +11 -0
- package/types/client/externalPlugins.d.ts +6 -0
- package/types/{fetch.d.ts → client/fetch.d.ts} +30 -3
- package/types/{format.d.ts → client/format.d.ts} +2 -2
- package/types/{geolocation.d.ts → client/geolocation.d.ts} +11 -3
- package/types/client/globals.d.ts +3 -0
- package/types/{http.d.ts → client/http.d.ts} +2 -2
- package/types/client/index.d.ts +1 -0
- package/types/client/keyboard.d.ts +1 -0
- package/types/client/lib.d.ts +112 -0
- package/types/client/libHtml.d.ts +2 -0
- package/types/client/loadersUI.d.ts +1 -0
- package/types/client/mapGlobeCtrl.d.ts +1 -0
- package/types/client/mobile.d.ts +138 -0
- package/types/{models.d.ts → client/models.d.ts} +1 -1
- package/types/client/nativeStorage.d.ts +17 -0
- package/types/{notifications.d.ts → client/notifications.d.ts} +6 -5
- package/types/client/ogTags.d.ts +22 -0
- package/types/client/params.d.ts +2 -0
- package/types/{plugins.d.ts → client/plugins.d.ts} +1 -1
- package/types/client/pluginsCtrl.d.ts +7 -0
- package/types/{pois.d.ts → client/pois.d.ts} +1 -1
- package/types/client/products.d.ts +3 -0
- package/types/client/pushNotifications.d.ts +1 -0
- package/types/{renderers.d.ts → client/renderers.d.ts} +5 -5
- package/types/{reverseName.d.ts → client/reverseName.d.ts} +12 -0
- package/types/{rootScope.d.ts → client/rootScope.d.ts} +4 -4
- package/types/client/serviceWorker.d.ts +1 -0
- package/types/{singleclick.d.ts → client/singleclick.d.ts} +2 -2
- package/types/{storage.d.ts → client/storage.d.ts} +1 -1
- package/types/{store.d.ts → client/store.d.ts} +2 -2
- package/types/client/swDownloader.d.ts +16 -0
- package/types/client/swProxy.d.ts +4 -0
- package/types/client/swUtils.d.ts +16 -0
- package/types/{tileInterpolator.d.ts → client/tileInterpolator.d.ts} +3 -3
- package/types/client/timeAnimation.d.ts +1 -0
- package/types/{trans.d.ts → client/trans.d.ts} +3 -3
- package/types/client/typeGuards.d.ts +2 -0
- package/types/{user.d.ts → client/user.d.ts} +3 -3
- package/types/{utils.d.ts → client/utils.d.ts} +1 -1
- package/types/client/visibility.d.ts +5 -0
- package/types/interfaces.d.ts +54 -10
- package/types/leaflet.d.ts +2 -15
- package/types/glsl-modules.d.ts +0 -26
- package/types/index.d.ts +0 -1
- package/types/node-modules.d.ts +0 -16
- package/types/products.d.ts +0 -3
- package/types/ts-interfaces.d.ts +0 -66
- package/types/ts-types.d.ts +0 -43
- package/types/variables.d.ts +0 -238
- package/types/windy-modules.d.ts +0 -7
- /package/types/{AromeProduct.d.ts → client/AromeProduct.d.ts} +0 -0
- /package/types/{Bar.d.ts → client/Bar.d.ts} +0 -0
- /package/types/{BindedBar.d.ts → client/BindedBar.d.ts} +0 -0
- /package/types/{BindedCheckbox.d.ts → client/BindedCheckbox.d.ts} +0 -0
- /package/types/{BindedSwitch.d.ts → client/BindedSwitch.d.ts} +0 -0
- /package/types/{BottomSlide.d.ts → client/BottomSlide.d.ts} +0 -0
- /package/types/{BottomTagPlugin.d.ts → client/BottomTagPlugin.d.ts} +0 -0
- /package/types/{ClickHandler.d.ts → client/ClickHandler.d.ts} +0 -0
- /package/types/{Drag.d.ts → client/Drag.d.ts} +0 -0
- /package/types/{DraggableDiv.d.ts → client/DraggableDiv.d.ts} +0 -0
- /package/types/{DropDown.d.ts → client/DropDown.d.ts} +0 -0
- /package/types/{EcmwfAnalysisProduct.d.ts → client/EcmwfAnalysisProduct.d.ts} +0 -0
- /package/types/{EcmwfProduct.d.ts → client/EcmwfProduct.d.ts} +0 -0
- /package/types/{Evented.d.ts → client/Evented.d.ts} +0 -0
- /package/types/{GhostBox.d.ts → client/GhostBox.d.ts} +0 -0
- /package/types/{HrrrProducts.d.ts → client/HrrrProducts.d.ts} +0 -0
- /package/types/{IconProducts.d.ts → client/IconProducts.d.ts} +0 -0
- /package/types/{LabelsLayer.d.ts → client/LabelsLayer.d.ts} +0 -0
- /package/types/{LandMask.d.ts → client/LandMask.d.ts} +0 -0
- /package/types/{Legend.d.ts → client/Legend.d.ts} +0 -0
- /package/types/{LongTap.d.ts → client/LongTap.d.ts} +0 -0
- /package/types/{MetricClasses.d.ts → client/MetricClasses.d.ts} +0 -0
- /package/types/{MobileCalendar.d.ts → client/MobileCalendar.d.ts} +0 -0
- /package/types/{NamProducts.d.ts → client/NamProducts.d.ts} +0 -0
- /package/types/{OfflineMessagesClasses.d.ts → client/OfflineMessagesClasses.d.ts} +0 -0
- /package/types/{Overlay.d.ts → client/Overlay.d.ts} +0 -0
- /package/types/{OverlayClasses.d.ts → client/OverlayClasses.d.ts} +0 -0
- /package/types/{Particles.d.ts → client/Particles.d.ts} +0 -0
- /package/types/{SatelliteProduct.d.ts → client/SatelliteProduct.d.ts} +0 -0
- /package/types/{Scrollable.d.ts → client/Scrollable.d.ts} +0 -0
- /package/types/{StaticProduct.d.ts → client/StaticProduct.d.ts} +0 -0
- /package/types/{SveltePanePlugin.d.ts → client/SveltePanePlugin.d.ts} +0 -0
- /package/types/{SveltePlugin.d.ts → client/SveltePlugin.d.ts} +0 -0
- /package/types/{Swipe.d.ts → client/Swipe.d.ts} +0 -0
- /package/types/{Switch.d.ts → client/Switch.d.ts} +0 -0
- /package/types/{TagPlugin.d.ts → client/TagPlugin.d.ts} +0 -0
- /package/types/{TileLayer.d.ts → client/TileLayer.d.ts} +0 -0
- /package/types/{TileLayerCanvas.d.ts → client/TileLayerCanvas.d.ts} +0 -0
- /package/types/{TileLayerMultiPatch.d.ts → client/TileLayerMultiPatch.d.ts} +0 -0
- /package/types/{TimestampBar.d.ts → client/TimestampBar.d.ts} +0 -0
- /package/types/{Window.d.ts → client/Window.d.ts} +0 -0
- /package/types/{WindowPlugin.d.ts → client/WindowPlugin.d.ts} +0 -0
- /package/types/{baseMap.d.ts → client/baseMap.d.ts} +0 -0
- /package/types/{broadcast.d.ts → client/broadcast.d.ts} +0 -0
- /package/types/{cityLabels.d.ts → client/cityLabels.d.ts} +0 -0
- /package/types/{cloudSync.d.ts → client/cloudSync.d.ts} +0 -0
- /package/types/{colors.d.ts → client/colors.d.ts} +0 -0
- /package/types/{connection.d.ts → client/connection.d.ts} +0 -0
- /package/types/{css.d.ts → client/css.d.ts} +0 -0
- /package/types/{dataLoader.d.ts → client/dataLoader.d.ts} +0 -0
- /package/types/{detectDevice.d.ts → client/detectDevice.d.ts} +0 -0
- /package/types/{device.d.ts → client/device.d.ts} +0 -0
- /package/types/{deviceLogging.d.ts → client/deviceLogging.d.ts} +0 -0
- /package/types/{Favs.d.ts → client/favs.d.ts} +0 -0
- /package/types/{ga.d.ts → client/ga.d.ts} +0 -0
- /package/types/{glTileRender.d.ts → client/glTileRender.d.ts} +0 -0
- /package/types/{hp.d.ts → client/hp.d.ts} +0 -0
- /package/types/{interpolator.d.ts → client/interpolator.d.ts} +0 -0
- /package/types/{latestBroadcasts.d.ts → client/latestBroadcasts.d.ts} +0 -0
- /package/types/{layers.d.ts → client/layers.d.ts} +0 -0
- /package/types/{legends.d.ts → client/legends.d.ts} +0 -0
- /package/types/{levelUtils.d.ts → client/levelUtils.d.ts} +0 -0
- /package/types/{libGuard.d.ts → client/libGuard.d.ts} +0 -0
- /package/types/{location.d.ts → client/location.d.ts} +0 -0
- /package/types/{log.d.ts → client/log.d.ts} +0 -0
- /package/types/{lruCache.d.ts → client/lruCache.d.ts} +0 -0
- /package/types/{map.d.ts → client/map.d.ts} +0 -0
- /package/types/{metrics.d.ts → client/metrics.d.ts} +0 -0
- /package/types/{mobileUtils.d.ts → client/mobileUtils.d.ts} +0 -0
- /package/types/{offlineController.d.ts → client/offlineController.d.ts} +0 -0
- /package/types/{overlays.d.ts → client/overlays.d.ts} +0 -0
- /package/types/{particleRenderers.d.ts → client/particleRenderers.d.ts} +0 -0
- /package/types/{permanentPromos.d.ts → client/permanentPromos.d.ts} +0 -0
- /package/types/{picker.d.ts → client/picker.d.ts} +0 -0
- /package/types/{promo.d.ts → client/promo.d.ts} +0 -0
- /package/types/{query.d.ts → client/query.d.ts} +0 -0
- /package/types/{queryString.d.ts → client/queryString.d.ts} +0 -0
- /package/types/{renderCtrl.d.ts → client/renderCtrl.d.ts} +0 -0
- /package/types/{renderTile.d.ts → client/renderTile.d.ts} +0 -0
- /package/types/{renderUtils.d.ts → client/renderUtils.d.ts} +0 -0
- /package/types/{rhMessage.d.ts → client/rhMessage.d.ts} +0 -0
- /package/types/{router.d.ts → client/router.d.ts} +0 -0
- /package/types/{seoParser.d.ts → client/seoParser.d.ts} +0 -0
- /package/types/{share.d.ts → client/share.d.ts} +0 -0
- /package/types/{showableErrorsService.d.ts → client/showableErrorsService.d.ts} +0 -0
- /package/types/{subscription.d.ts → client/subscription.d.ts} +0 -0
- /package/types/{tileLayerInstance.d.ts → client/tileLayerInstance.d.ts} +0 -0
- /package/types/{timestampUtils.d.ts → client/timestampUtils.d.ts} +0 -0
- /package/types/{userFavs.d.ts → client/userFavs.d.ts} +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import './utils/errorLogger';
|
|
2
|
+
import './leafletExt/CanvasLayer';
|
|
3
|
+
import './services/params';
|
|
4
|
+
import './pluginSystem/BottomTagPlugin';
|
|
5
|
+
import './pluginSystem/Plugin';
|
|
6
|
+
import './pluginSystem/SveltePlugin';
|
|
7
|
+
import './pluginSystem/TagPlugin';
|
|
8
|
+
import './pluginSystem/WindowPlugin';
|
|
9
|
+
import './pluginSystem/pluginsCtrl';
|
|
10
|
+
import './ui/components';
|
|
11
|
+
import './ui/loadersUI';
|
|
12
|
+
import './ui/timeAnimation';
|
|
13
|
+
import './ui/visibility';
|
|
14
|
+
import './render/renderTile';
|
|
15
|
+
import './render/tileLayer';
|
|
16
|
+
import './dummyModules/detectDevice';
|
|
17
|
+
import './dummyModules/log';
|
|
18
|
+
import './dummyModules/promo';
|
|
19
|
+
import './dummyModules/seoParser';
|
|
20
|
+
import './map/labelsLayer';
|
|
21
|
+
import './map/mapGlobeCtrl';
|
|
22
|
+
import { default as favs } from './dummyModules/favs';
|
|
23
|
+
export { favs };
|
|
24
|
+
import 'virtual:langEn';
|
|
25
|
+
import bcast from './services/broadcast';
|
|
26
|
+
import * as rootScope from './services/rootScope';
|
|
27
|
+
import { default as store } from './services/store';
|
|
28
|
+
import * as ga from './utils/ga';
|
|
29
|
+
import { $ } from './utils/utils';
|
|
30
|
+
import { default as overlays } from './weather/overlays';
|
|
31
|
+
export { rootScope };
|
|
32
|
+
export * as progressBar from '../plugins/progress-bar/progress-bar';
|
|
33
|
+
export * as location from './dummyModules/location';
|
|
34
|
+
export * as router from './dummyModules/router';
|
|
35
|
+
export * as map from './map/map';
|
|
36
|
+
export * as picker from './map/picker';
|
|
37
|
+
export * as singleclick from './map/singleclick';
|
|
38
|
+
export { default as plugins } from './pluginSystem/plugins';
|
|
39
|
+
export * as interpolator from './render/interpolator';
|
|
40
|
+
export { default as particleRenderers } from './render/particleRenderers';
|
|
41
|
+
export * as renderUtils from './render/renderUtils';
|
|
42
|
+
export * as DataTiler from './renderClasses/DataTiler';
|
|
43
|
+
export { default as colors } from './services/colors';
|
|
44
|
+
export * as connection from './services/connection';
|
|
45
|
+
export * as device from './services/device';
|
|
46
|
+
export * as geolocation from './services/geolocation';
|
|
47
|
+
export { default as notifications } from './services/notifications';
|
|
48
|
+
export * as pois from './services/pois';
|
|
49
|
+
export * as reverseName from './services/reverseName';
|
|
50
|
+
export * as showableErrorsService from './services/showableErrorsService';
|
|
51
|
+
export * as trans from './services/trans';
|
|
52
|
+
export * as hp from './ui/hp';
|
|
53
|
+
export { default as promo } from './ui/promo';
|
|
54
|
+
export * as query from './ui/query';
|
|
55
|
+
export * as rhMessage from './ui/rhMessage';
|
|
56
|
+
export * as user from './ui/user';
|
|
57
|
+
export * as BindedBar from './uiClasses/BindedBar';
|
|
58
|
+
export * as BindedCheckbox from './uiClasses/BindedCheckbox';
|
|
59
|
+
export * as BindedSwitch from './uiClasses/BindedSwitch';
|
|
60
|
+
export * as BottomSlide from './uiClasses/BottomSlide';
|
|
61
|
+
export * as ClickHandler from './uiClasses/ClickHandler';
|
|
62
|
+
export * as Detail1hCheckbox from './uiClasses/Detail1hCheckbox';
|
|
63
|
+
export * as Drag from './uiClasses/Drag';
|
|
64
|
+
export * as DraggableDiv from './uiClasses/DraggableDiv';
|
|
65
|
+
export * as DropDown from './uiClasses/DropDown';
|
|
66
|
+
export * as GhostBox from './uiClasses/GhostBox';
|
|
67
|
+
export * as Legend from './uiClasses/Legend';
|
|
68
|
+
export * as LongTap from './uiClasses/LongTap';
|
|
69
|
+
export * as MobileCalendar from './uiClasses/MobileCalendar';
|
|
70
|
+
export * as ProductSwitch from './uiClasses/ProductSwitch';
|
|
71
|
+
export * as Scrollable from './uiClasses/Scrollable';
|
|
72
|
+
export * as Swipe from './uiClasses/Swipe';
|
|
73
|
+
export * as Switch from './uiClasses/Switch';
|
|
74
|
+
export * as TimestampBar from './uiClasses/TimestampBar';
|
|
75
|
+
export * as Window from './uiClasses/Window';
|
|
76
|
+
export * as Evented from './utils/Evented';
|
|
77
|
+
export * as errorLogger from './utils/errorLogger';
|
|
78
|
+
export * as fetch from './utils/fetch';
|
|
79
|
+
export * as format from './utils/format';
|
|
80
|
+
export * as http from './utils/http';
|
|
81
|
+
export { default as lruCache } from './utils/lruCache';
|
|
82
|
+
export { default as storage } from './utils/storage';
|
|
83
|
+
export * as subscription from './utils/subscription';
|
|
84
|
+
export * as utils from './utils/utils';
|
|
85
|
+
export { default as metrics } from './weather/metrics';
|
|
86
|
+
export * as models from './weather/models';
|
|
87
|
+
export { default as products } from './weather/products';
|
|
88
|
+
export * as Calendar from './weatherClasses/Calendar';
|
|
89
|
+
export * as Color from './weatherClasses/Color';
|
|
90
|
+
export * as IconProducts from './weatherClasses/IconProducts';
|
|
91
|
+
export { default as GlObj } from './wgUtils/GlObj';
|
|
92
|
+
export { $, bcast as broadcast, ga, overlays, store };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* catches all runtimes exceptions and sends them to kibana on backend.
|
|
3
|
+
* Defines global `logError( moduleName, msg, errObj )` for custom err loggin.
|
|
4
|
+
* Licences go here since this is the first minified file
|
|
5
|
+
*/
|
|
6
|
+
import type { ErrorPayload } from './d.ts.files/errorLogger.d';
|
|
7
|
+
/**
|
|
8
|
+
* Array of all errors reported to kibana, to show them in debug mode
|
|
9
|
+
* plugin
|
|
10
|
+
*/
|
|
11
|
+
export declare const sentErrors: ErrorPayload[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { InstalledExternalPluginConfig } from '@windy/interfaces.d';
|
|
2
|
+
export type ExternalPluginError = {
|
|
3
|
+
type: 'network' | 'installation' | 'open';
|
|
4
|
+
msg: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const installExternalPlugin: (url: string, installedBy: InstalledExternalPluginConfig['installedBy']) => Promise<InstalledExternalPluginConfig | ExternalPluginError>;
|
|
@@ -7,12 +7,16 @@ interface LatLonStep extends LatLon {
|
|
|
7
7
|
step?: number;
|
|
8
8
|
interpolate?: boolean;
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
10
13
|
export declare const getReftimeIso: (model: Products) => any;
|
|
11
14
|
/**
|
|
12
15
|
* Returns URL for webcam detail by id
|
|
13
16
|
*
|
|
14
17
|
* @param id Webcam id
|
|
15
18
|
* @returns URL for getting the webcam
|
|
19
|
+
* @ignore
|
|
16
20
|
*/
|
|
17
21
|
export declare const getWebcamDetailUrl: (id: string | number) => string;
|
|
18
22
|
/**
|
|
@@ -20,6 +24,7 @@ export declare const getWebcamDetailUrl: (id: string | number) => string;
|
|
|
20
24
|
*
|
|
21
25
|
* @param latLon Object with `lat` and `lon` properties
|
|
22
26
|
* @returns URL for getting list of webcams nearby lat and lon
|
|
27
|
+
* @ignore
|
|
23
28
|
*/
|
|
24
29
|
export declare const getWebcamsListUrl: <T extends LatLon & {
|
|
25
30
|
limit?: number;
|
|
@@ -29,6 +34,7 @@ export declare const getWebcamsListUrl: <T extends LatLon & {
|
|
|
29
34
|
*
|
|
30
35
|
* @param id Webcam id
|
|
31
36
|
* @returns URL for getting webcam archive
|
|
37
|
+
* @ignore
|
|
32
38
|
*/
|
|
33
39
|
export declare const getWebcamArchiveUrl: (id: string | number, hourly?: boolean) => string;
|
|
34
40
|
/**
|
|
@@ -37,6 +43,7 @@ export declare const getWebcamArchiveUrl: (id: string | number, hourly?: boolean
|
|
|
37
43
|
* @param {string} textQuery search query
|
|
38
44
|
* @param {LatLon} [latLon] circle center coordinates
|
|
39
45
|
* @returns {string} URL for searching webcam views
|
|
46
|
+
* @ignore
|
|
40
47
|
*/
|
|
41
48
|
export declare const getSearchWebcamViewsUrl: (textQuery: string, latLon?: LatLon) => string;
|
|
42
49
|
/**
|
|
@@ -44,18 +51,33 @@ export declare const getSearchWebcamViewsUrl: (textQuery: string, latLon?: LatLo
|
|
|
44
51
|
*
|
|
45
52
|
* @param id Webcam id
|
|
46
53
|
* @returns URL for ping webcam metrics
|
|
54
|
+
* @ignore
|
|
47
55
|
*/
|
|
48
56
|
export declare const getWebcamMetricsUrl: (id: string | number) => string;
|
|
49
57
|
/**
|
|
50
|
-
*
|
|
58
|
+
* Gets point forecast data for given location
|
|
59
|
+
*
|
|
60
|
+
* @param model Forecast model
|
|
61
|
+
* @param params LalLon of the location and additional parameters
|
|
62
|
+
* @param source Who is the initiator of this request (name of you plugin)
|
|
63
|
+
* @param qs Additional query string
|
|
64
|
+
* @param options Additional HTTP options
|
|
65
|
+
* @returns Promise with HTTP payload
|
|
51
66
|
*/
|
|
52
67
|
export declare const getPointForecastData: <T extends LatLonStep>(model: Products, { lat, lon, step, interpolate }: T, source: string, qs?: string, options?: HttpOptions) => Promise<HttpPayload<WeatherDataPayload<DataHash>>>;
|
|
53
68
|
/**
|
|
54
|
-
*
|
|
69
|
+
* Gets enhanced point forecast meteogram data for given location
|
|
70
|
+
* @param model Forecast model
|
|
71
|
+
* @param params LalLon of the location and additional parameters
|
|
72
|
+
* @param source Who is the initiator of this request (name of you plugin)
|
|
73
|
+
* @param qs Additional query string
|
|
74
|
+
* @param options Additional HTTP options
|
|
75
|
+
* @returns Promise with HTTP payload
|
|
55
76
|
*/
|
|
56
77
|
export declare const getMeteogramForecastData: <T extends LatLonStep>(model: Products, { lat, lon, step }: T, options?: HttpOptions) => Promise<HttpPayload<MeteogramDataPayload>>;
|
|
57
78
|
/**
|
|
58
79
|
* Returns URL for getting archive forecast
|
|
80
|
+
* @ignore
|
|
59
81
|
*/
|
|
60
82
|
export declare const getArchiveForecastData: <T extends LatLon>(model: Products, { lat, lon }: T, source: string, qs?: string, options?: HttpOptions) => Promise<HttpPayload<WeatherDataPayload<DataHash>>>;
|
|
61
83
|
/**
|
|
@@ -65,24 +87,29 @@ export declare const getArchiveForecastData: <T extends LatLon>(model: Products,
|
|
|
65
87
|
* @param frag Mercator frag in {z}/{x}/{y} format
|
|
66
88
|
* @param options HTTP options
|
|
67
89
|
* @returns URL for getting citytile forecast
|
|
90
|
+
* @ignore
|
|
68
91
|
*/
|
|
69
92
|
export declare const getCitytileData: (model: Products, frag: string, options?: HttpOptions) => Promise<HttpPayload<CityForecastData> | null>;
|
|
70
93
|
/**
|
|
71
94
|
* Returns URL for nearest POI items (stations, airQ, ...)
|
|
72
95
|
* @param param0
|
|
73
|
-
* @returns
|
|
96
|
+
* @returns URL for getting nearest POI items
|
|
97
|
+
* @ignore
|
|
74
98
|
*/
|
|
75
99
|
export declare const getNearestPoiItemsUrl: (type: Pois | 'stations', { lat, lon }: LatLon) => string;
|
|
76
100
|
/**
|
|
77
101
|
* Returns URL for tide forecast
|
|
102
|
+
* @ignore
|
|
78
103
|
*/
|
|
79
104
|
export declare const getTideForecastUrl: <T extends LatLonStep>({ lat, lon }: T) => string;
|
|
80
105
|
/**
|
|
81
106
|
* Returns URL for tide POI
|
|
107
|
+
* @ignore
|
|
82
108
|
*/
|
|
83
109
|
export declare const getTidePoiUrl: (id: string) => string;
|
|
84
110
|
/**
|
|
85
111
|
* Get observations URL
|
|
112
|
+
* @ignore
|
|
86
113
|
*/
|
|
87
114
|
export declare const getObservationsUrl: (type: ExtendedStationType, id: string, daysFrom: number, daysTo?: number) => string;
|
|
88
115
|
export {};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Various formatting utils based on user language and settings
|
|
5
5
|
*/
|
|
6
|
-
import type { DirectionFunction, HowOldOptions, TimeFormatFunction } from '
|
|
7
|
-
import type { Timestamp } from '
|
|
6
|
+
import type { DirectionFunction, HowOldOptions, TimeFormatFunction } from './d.ts.files/format.d';
|
|
7
|
+
import type { Timestamp } from './d.ts.files/types';
|
|
8
8
|
/**
|
|
9
9
|
* Returns function for displaying hours (either 12,24h format) on a basis of locale store of a browser
|
|
10
10
|
* US, UK, PH, CA, AU, NZ, IN, EG, SA, CO, PK, MY - AM,PM format
|
|
@@ -2,13 +2,17 @@ import '@windy/router';
|
|
|
2
2
|
import type { GeolocationInfo, HomeLocation } from '@windy/interfaces.d';
|
|
3
3
|
import type { PositionOptions } from '@capacitor/geolocation';
|
|
4
4
|
/**
|
|
5
|
-
* Returns either GPS or IP location whichever is newer
|
|
5
|
+
* Returns either GPS or IP location whichever is newer.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* If none is available, returns fallback location. Although this method
|
|
8
|
+
* provides just a basic, very approximate location it is sync and can be used
|
|
9
|
+
* without user's GPS location permission.
|
|
10
|
+
*
|
|
11
|
+
* @returns Location got from GPS or IP, the newer is preferred
|
|
8
12
|
*/
|
|
9
13
|
export declare const getMyLatestPos: () => GeolocationInfo;
|
|
10
14
|
/**
|
|
11
|
-
* Returns promise on GPS based location with GeoIP location as a fallback
|
|
15
|
+
* Returns promise on GPS based location with GeoIP location as a fallback.
|
|
12
16
|
*
|
|
13
17
|
* @param options Optionally custom options passed to Capacitor geolocation plugin
|
|
14
18
|
* @returns Geolocation info from GPS, GeoIP as a fallback
|
|
@@ -20,11 +24,15 @@ export declare const getGPSlocation: (options?: PositionOptions) => Promise<Geol
|
|
|
20
24
|
* @param lat Latitude
|
|
21
25
|
* @param lon Longitude
|
|
22
26
|
* @returns Fallback location name in a format "49.15, 14.18"
|
|
27
|
+
*
|
|
28
|
+
* @ignore
|
|
23
29
|
*/
|
|
24
30
|
export declare const getFallbackName: (lat: number | string, lon: number | string) => string;
|
|
25
31
|
/**
|
|
26
32
|
* Gets accurate home location. Cannot be used in map initialization beacause it is async.
|
|
27
33
|
*
|
|
28
34
|
* @param cb Callback function to call when location is get. Location info object is passed as a callback argument
|
|
35
|
+
*
|
|
36
|
+
* @ignore
|
|
29
37
|
*/
|
|
30
38
|
export declare const getHomeLocation: (cb: (loc: GeolocationInfo | HomeLocation) => void) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* HTTP fetch lib using Promises, authorization and lru caching
|
|
3
3
|
*/
|
|
4
|
-
import type { HttpOptions, HttpPayload } from '
|
|
4
|
+
import type { HttpOptions, HttpPayload } from './d.ts.files/http.d';
|
|
5
5
|
export declare const getURL: (url: string) => string;
|
|
6
6
|
export declare class HttpError extends Error {
|
|
7
7
|
status: number;
|
|
@@ -59,4 +59,4 @@ export declare const put: StandardHttpRequestFun;
|
|
|
59
59
|
* @returns HTTP payload or null when anything failed
|
|
60
60
|
*/
|
|
61
61
|
export declare const head: StandardHttpRequestFun;
|
|
62
|
-
export {};
|
|
62
|
+
export type { HttpOptions, HttpPayload };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Keep this file empty
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import 'virtual:build-info';
|
|
2
|
+
export * as errorLogger from '../utils/errorLogger';
|
|
3
|
+
import '../leafletExt/CanvasLayer';
|
|
4
|
+
export * as Evented from '../utils/Evented';
|
|
5
|
+
export * as fetch from '../utils/fetch';
|
|
6
|
+
export * as format from '../utils/format';
|
|
7
|
+
export * as ga from '../utils/ga';
|
|
8
|
+
export * as http from '../utils/http';
|
|
9
|
+
export { default as lruCache } from '../utils/lruCache';
|
|
10
|
+
export { default as storage } from '../utils/storage';
|
|
11
|
+
export * as subscription from '../utils/subscription';
|
|
12
|
+
export * as utils from '../utils/utils';
|
|
13
|
+
export * as Calendar from '../weatherClasses/Calendar';
|
|
14
|
+
export * as Color from '../weatherClasses/Color';
|
|
15
|
+
export * as EcmwfAnalysisProduct from '../weatherClasses/EcmwfAnalysisProduct';
|
|
16
|
+
export * as EcmwfProduct from '../weatherClasses/EcmwfProduct';
|
|
17
|
+
export * as HrrrProducts from '../weatherClasses/HrrrProducts';
|
|
18
|
+
export * as IconProducts from '../weatherClasses/IconProducts';
|
|
19
|
+
export * as Layer from '../weatherClasses/Layer';
|
|
20
|
+
export * as Metric from '../weatherClasses/Metric';
|
|
21
|
+
export * as MetricClasses from '../weatherClasses/MetricClasses';
|
|
22
|
+
export * as NamProducts from '../weatherClasses/NamProducts';
|
|
23
|
+
export * as Overlay from '../weatherClasses/Overlay';
|
|
24
|
+
export * as OverlayClasses from '../weatherClasses/OverlayClasses';
|
|
25
|
+
export * as Product from '../weatherClasses/Product';
|
|
26
|
+
export * as SatelliteProduct from '../weatherClasses/SatelliteProduct';
|
|
27
|
+
export * as StaticProduct from '../weatherClasses/StaticProduct';
|
|
28
|
+
export { default as layers } from '../weather/layers';
|
|
29
|
+
export { default as legends } from '../weather/legends';
|
|
30
|
+
export { default as metrics } from '../weather/metrics';
|
|
31
|
+
export * as models from '../weather/models';
|
|
32
|
+
export { default as overlays } from '../weather/overlays';
|
|
33
|
+
export { default as products } from '../weather/products';
|
|
34
|
+
export { default as broadcast } from '../services/broadcast';
|
|
35
|
+
export { default as colors } from '../services/colors';
|
|
36
|
+
export * as connection from '../services/connection';
|
|
37
|
+
export { default as dataSpecifications } from '../services/dataSpecifications';
|
|
38
|
+
export * as detectDevice from '../services/detectDevice';
|
|
39
|
+
export * as device from '../services/device';
|
|
40
|
+
export * as deviceLogging from '../services/deviceLogging';
|
|
41
|
+
export * as geolocation from '../services/geolocation';
|
|
42
|
+
export { default as notifications } from '../services/notifications';
|
|
43
|
+
export * as ogTags from '../services/ogTags';
|
|
44
|
+
export * as params from '../services/params';
|
|
45
|
+
export * as rootScope from '../services/rootScope';
|
|
46
|
+
export * as showableErrorsService from '../services/showableErrorsService';
|
|
47
|
+
export { default as store } from '../services/store';
|
|
48
|
+
export * as trans from '../services/trans';
|
|
49
|
+
export * as BottomTagPlugin from '../pluginSystem/BottomTagPlugin';
|
|
50
|
+
export * as Plugin from '../pluginSystem/Plugin';
|
|
51
|
+
export * as SveltePanePlugin from '../pluginSystem/SveltePanePlugin';
|
|
52
|
+
export * as SveltePlugin from '../pluginSystem/SveltePlugin';
|
|
53
|
+
export * as TagPlugin from '../pluginSystem/TagPlugin';
|
|
54
|
+
export * as WindowPlugin from '../pluginSystem/WindowPlugin';
|
|
55
|
+
export { default as plugins } from '../pluginSystem/plugins';
|
|
56
|
+
export * as pluginsCtrl from '../pluginSystem/pluginsCtrl';
|
|
57
|
+
export * as Bar from '../uiClasses/Bar';
|
|
58
|
+
export * as BindedBar from '../uiClasses/BindedBar';
|
|
59
|
+
export * as BindedCheckbox from '../uiClasses/BindedCheckbox';
|
|
60
|
+
export * as BindedDropDown from '../uiClasses/BindedDropDown';
|
|
61
|
+
export * as BindedSwitch from '../uiClasses/BindedSwitch';
|
|
62
|
+
export * as BottomSlide from '../uiClasses/BottomSlide';
|
|
63
|
+
export * as ClickHandler from '../uiClasses/ClickHandler';
|
|
64
|
+
export * as Drag from '../uiClasses/Drag';
|
|
65
|
+
export * as DraggableDiv from '../uiClasses/DraggableDiv';
|
|
66
|
+
export * as DropDown from '../uiClasses/DropDown';
|
|
67
|
+
export * as GhostBox from '../uiClasses/GhostBox';
|
|
68
|
+
export * as LongTap from '../uiClasses/LongTap';
|
|
69
|
+
export * as MobileCalendar from '../uiClasses/MobileCalendar';
|
|
70
|
+
export * as ProductSwitch from '../uiClasses/ProductSwitch';
|
|
71
|
+
export * as Scrollable from '../uiClasses/Scrollable';
|
|
72
|
+
export * as Swipe from '../uiClasses/Swipe';
|
|
73
|
+
export * as Switch from '../uiClasses/Switch';
|
|
74
|
+
export * as TimestampBar from '../uiClasses/TimestampBar';
|
|
75
|
+
export * as Webcams from '../uiClasses/Webcams';
|
|
76
|
+
export * as Window from '../uiClasses/Window';
|
|
77
|
+
export * as loadersUI from '../ui/loadersUI';
|
|
78
|
+
export * as rhMessage from '../ui/rhMessage';
|
|
79
|
+
export * as timeAnimation from '../ui/timeAnimation';
|
|
80
|
+
export * as visibility from '../ui/visibility';
|
|
81
|
+
export * as DataTiler from '../renderClasses/DataTiler';
|
|
82
|
+
export * as Particles from '../renderClasses/Particles';
|
|
83
|
+
export * as Renderer from '../renderClasses/Renderer';
|
|
84
|
+
export * as TileLayer from '../renderClasses/TileLayer';
|
|
85
|
+
export { default as TileLayerCanvas } from '../renderClasses/TileLayerCanvas';
|
|
86
|
+
export * as dataLoader from '../render/dataLoader';
|
|
87
|
+
export * as interpolator from '../render/interpolator';
|
|
88
|
+
export { default as particleRenderers } from '../render/particleRenderers';
|
|
89
|
+
export * as renderCtrl from '../render/renderCtrl';
|
|
90
|
+
export * as renderUtils from '../render/renderUtils';
|
|
91
|
+
export { default as renderers } from '../render/renderers';
|
|
92
|
+
export * as tileInterpolator from '../render/tileInterpolator';
|
|
93
|
+
export { default as glTileRender } from '../render/glTileRender';
|
|
94
|
+
export * as renderTile from '../render/renderTile';
|
|
95
|
+
export * as tileLayer from '../render/tileLayerInstance';
|
|
96
|
+
export { default as GlObj } from '../wgUtils/GlObj';
|
|
97
|
+
export * as Favs from '../mapClasses/Favs';
|
|
98
|
+
export { default as LabelsLayer } from '../mapClasses/LabelsLayer';
|
|
99
|
+
export { default as LandMask } from '../mapClasses/LandMask';
|
|
100
|
+
export { default as TileLayerMultiPatch } from '../mapClasses/TileLayerMultiPatch';
|
|
101
|
+
export { default as cityLabels } from '../map/cityLabels';
|
|
102
|
+
export * as map from '../map/map';
|
|
103
|
+
export * as mapGlobeCtrl from '../map/mapGlobeCtrl';
|
|
104
|
+
export * as picker from '../map/picker';
|
|
105
|
+
export * as singleclick from '../map/singleclick';
|
|
106
|
+
export { default as favs } from '../dummyModules/favs';
|
|
107
|
+
export * as location from '../dummyModules/location';
|
|
108
|
+
export { default as log } from '../dummyModules/log';
|
|
109
|
+
export { default as promo } from '../dummyModules/promo';
|
|
110
|
+
export * as router from '../dummyModules/router';
|
|
111
|
+
export { default as seoParser } from '../dummyModules/seoParser';
|
|
112
|
+
export { default as libHtml } from '../lib/libHtml';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: "\n\n<div id=\"map-container\"\n style=\"position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%;\"\n class=\"noselect\"></div>\n\n<div id=\"bottom\" class=\"shy right-border\">\n\n\n <!-- progress bar -->\n <div id=\"progress-bar\" class=\"progress-bar\">\n\n <div class=\"progress-line\">\n <div class=\"played\"></div><div class=\"avbl\"></div>\n <i></i>\n </div>\n\n <!-- GHOST -->\n <div class=\"timecode ghost-timecode\">\n <div class=\"box\"></div>\n </div>\n\n <!-- M A I N -->\n <div data-title=\"D_LT2\" class=\"timecode main-timecode\">\n <div class=\"box\"></div><div class=\"loading ld-gray-light size-l loader-path\"></div><!-- dayLoader -->\n </div>\n\n <!-- PLAY BUTTON apply class play/pause-->\n <div id=\"playpause\" class=\"play-pause iconfont clickable\"></div>\n\n <!-- CALENDAR WITH DAYS -->\n <div id=\"calendar\"></div>\n\n </div>\n\n <!-- ACCUMULATIONS -->\n <div id=\"accumulations\" class=\"size-s fg-yellow\">\n\n <span id=\"acc-title-rain\" data-t=\"RAINACCU\" class=\"capitalize\"></span>\n <span id=\"acc-title-snow\" data-t=\"SNOWACCU\" class=\"capitalize\"></span>\n\n <div class=\"switch switch--variant-uiswitch notap\"></div>\n\n </div>\n\n <!-- mobile version of calendar -->\n <div id=\"mobile-calendar\">\n\n <div id=\"timecode-mobile\" data-title=\"D_LT2\" class=\"timecode\">\n <div id=\"mobile_box\" class=\"box\"></div><div class=\"loading ld-gray-light size-l loader-path\"></div><!-- dayLoader -->\n </div>\n\n <div id=\"days\"></div>\n\n <!-- PLAY BUTTON FOR MOBILE VERSION apply class play/pause-->\n <div id=\"playpause-mobile\" class=\"play-pause iconfont\"></div>\n\n </div>\n\n</div>\n\n<!-- LOGO -->\n<div id=\"logo-wrapper\" class=\"top-border right-border\">\n <a id=\"logo\" href=\"https://www.windy.com/?utm_medium=__APIUSER__&utm_source=api4\" target=\"_top\">\n <img class=\"clickable-size\" alt=\"Windy.com\" src=\"<!-- @echo IMG_ABSOLUTE_PATH -->/logo201802/logo-full-windycom-white.svg\" />\n </a>\n</div>\n\n\n<div id=\"plugins\" class=\"shy\"></div>\n\n<div id=\"mobile-ovr-select\" data-icon=\"<!-- @echo icon-wind -->\" class=\"top-border clickable\" data-do=\"rqstOpen,menu\"></div>\n\n<div id=\"embed-zoom\">\n <div data-do=\"bcast,zoomIn\" class=\"clickable iconfont zoom-ctrl zoom-plus\" title=\"Zoom in\"><!-- @echo icon-plus --></div>\n <div data-do=\"bcast,zoomOut\" class=\"clickable iconfont zoom-ctrl zoom-minus\" title=\"Zoom out\"><!-- @echo icon-minus --></div>\n</div>\n";
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* All these exports are exported in `window.W` object.
|
|
3
|
+
*
|
|
4
|
+
* Modules, that are use only internally, within core,
|
|
5
|
+
* and act as dependency to some other module,
|
|
6
|
+
* do not need to be listed here.
|
|
7
|
+
*
|
|
8
|
+
* Orphaned modules, that are not used anywhere,
|
|
9
|
+
* and modules consumed by plugins, MUST be listed here.
|
|
10
|
+
*/
|
|
11
|
+
export * as errorLogger from './utils/errorLogger';
|
|
12
|
+
import './leafletExt/CanvasLayer';
|
|
13
|
+
export * as Evented from './utils/Evented';
|
|
14
|
+
export * as css from './utils/css';
|
|
15
|
+
export * as fetch from './utils/fetch';
|
|
16
|
+
export * as format from './utils/format';
|
|
17
|
+
export * as ga from './utils/ga';
|
|
18
|
+
export * as http from './utils/http';
|
|
19
|
+
export * as log from './utils/log';
|
|
20
|
+
export { default as lruCache } from './utils/lruCache';
|
|
21
|
+
export { default as storage } from './utils/storage';
|
|
22
|
+
export * as subscription from './utils/subscription';
|
|
23
|
+
export * as utils from './utils/utils';
|
|
24
|
+
export * as Calendar from './weatherClasses/Calendar';
|
|
25
|
+
export * as Color from './weatherClasses/Color';
|
|
26
|
+
export * as EcmwfAnalysisProduct from './weatherClasses/EcmwfAnalysisProduct';
|
|
27
|
+
export * as EcmwfProduct from './weatherClasses/EcmwfProduct';
|
|
28
|
+
export * as HrrrProducts from './weatherClasses/HrrrProducts';
|
|
29
|
+
export * as IconProducts from './weatherClasses/IconProducts';
|
|
30
|
+
export * as Layer from './weatherClasses/Layer';
|
|
31
|
+
export * as Metric from './weatherClasses/Metric';
|
|
32
|
+
export * as MetricClasses from './weatherClasses/MetricClasses';
|
|
33
|
+
export * as NamProducts from './weatherClasses/NamProducts';
|
|
34
|
+
export * as Overlay from './weatherClasses/Overlay';
|
|
35
|
+
export * as OverlayClasses from './weatherClasses/OverlayClasses';
|
|
36
|
+
export * as Product from './weatherClasses/Product';
|
|
37
|
+
export * as SatelliteProduct from './weatherClasses/SatelliteProduct';
|
|
38
|
+
export * as StaticProduct from './weatherClasses/StaticProduct';
|
|
39
|
+
export { default as layers } from './weather/layers';
|
|
40
|
+
export { default as legends } from './weather/legends';
|
|
41
|
+
export { default as metrics } from './weather/metrics';
|
|
42
|
+
export * as models from './weather/models';
|
|
43
|
+
export { default as overlays } from './weather/overlays';
|
|
44
|
+
export { default as products } from './weather/products';
|
|
45
|
+
export { default as broadcast } from './services/broadcast';
|
|
46
|
+
export * as cloudSync from './services/cloudSync';
|
|
47
|
+
export { default as colors } from './services/colors';
|
|
48
|
+
export * as connection from './services/connection';
|
|
49
|
+
export { default as dataSpecifications } from './services/dataSpecifications';
|
|
50
|
+
export * as detectDevice from './services/detectDevice';
|
|
51
|
+
export * as device from './services/device';
|
|
52
|
+
export * as deviceLogging from './services/deviceLogging';
|
|
53
|
+
export * as geolocation from './services/geolocation';
|
|
54
|
+
export { default as notifications } from './services/notifications';
|
|
55
|
+
export * as offlineController from './services/offlineController';
|
|
56
|
+
export * as ogTags from './services/ogTags';
|
|
57
|
+
export * as params from './services/params';
|
|
58
|
+
export * as pois from './services/pois';
|
|
59
|
+
export * as reverseName from './services/reverseName';
|
|
60
|
+
export * as rootScope from './services/rootScope';
|
|
61
|
+
export * as router from './services/router';
|
|
62
|
+
export * as showableErrorsService from './services/showableErrorsService';
|
|
63
|
+
export { default as store } from './services/store';
|
|
64
|
+
export * as trans from './services/trans';
|
|
65
|
+
export { default as userFavs } from './services/userFavs';
|
|
66
|
+
export * as BottomTagPlugin from './pluginSystem/BottomTagPlugin';
|
|
67
|
+
export * as Plugin from './pluginSystem/Plugin';
|
|
68
|
+
export * as SveltePanePlugin from './pluginSystem/SveltePanePlugin';
|
|
69
|
+
export * as SveltePlugin from './pluginSystem/SveltePlugin';
|
|
70
|
+
export * as TagPlugin from './pluginSystem/TagPlugin';
|
|
71
|
+
export * as WindowPlugin from './pluginSystem/WindowPlugin';
|
|
72
|
+
export { default as plugins } from './pluginSystem/plugins';
|
|
73
|
+
export * as pluginsCtrl from './pluginSystem/pluginsCtrl';
|
|
74
|
+
export * as Bar from './uiClasses/Bar';
|
|
75
|
+
export * as BindedBar from './uiClasses/BindedBar';
|
|
76
|
+
export * as BindedCheckbox from './uiClasses/BindedCheckbox';
|
|
77
|
+
export * as BindedDropDown from './uiClasses/BindedDropDown';
|
|
78
|
+
export * as BindedSwitch from './uiClasses/BindedSwitch';
|
|
79
|
+
export * as BottomSlide from './uiClasses/BottomSlide';
|
|
80
|
+
export * as ClickHandler from './uiClasses/ClickHandler';
|
|
81
|
+
export * as Detail1hCheckbox from './uiClasses/Detail1hCheckbox';
|
|
82
|
+
export * as Drag from './uiClasses/Drag';
|
|
83
|
+
export * as DraggableDiv from './uiClasses/DraggableDiv';
|
|
84
|
+
export * as DropDown from './uiClasses/DropDown';
|
|
85
|
+
export * as GhostBox from './uiClasses/GhostBox';
|
|
86
|
+
export * as LongTap from './uiClasses/LongTap';
|
|
87
|
+
export * as MobileCalendar from './uiClasses/MobileCalendar';
|
|
88
|
+
export * as ProductSwitch from './uiClasses/ProductSwitch';
|
|
89
|
+
export * as Scrollable from './uiClasses/Scrollable';
|
|
90
|
+
export * as Swipe from './uiClasses/Swipe';
|
|
91
|
+
export * as Switch from './uiClasses/Switch';
|
|
92
|
+
export * as TimestampBar from './uiClasses/TimestampBar';
|
|
93
|
+
export * as Webcams from './uiClasses/Webcams';
|
|
94
|
+
export * as Window from './uiClasses/Window';
|
|
95
|
+
export * as components from './ui/components';
|
|
96
|
+
export * as hp from './ui/hp';
|
|
97
|
+
export * as keyboard from './ui/keyboard';
|
|
98
|
+
export * as loadersUI from './ui/loadersUI';
|
|
99
|
+
export * as location from './ui/location';
|
|
100
|
+
export * as permanentPromos from './ui/permanentPromos';
|
|
101
|
+
export { default as promo } from './ui/promo';
|
|
102
|
+
export * as query from './ui/query';
|
|
103
|
+
export * as rhMessage from './ui/rhMessage';
|
|
104
|
+
export * as timeAnimation from './ui/timeAnimation';
|
|
105
|
+
export * as user from './ui/user';
|
|
106
|
+
export * as visibility from './ui/visibility';
|
|
107
|
+
export * as share from './ui/share';
|
|
108
|
+
export * as DataTiler from './renderClasses/DataTiler';
|
|
109
|
+
export * as Particles from './renderClasses/Particles';
|
|
110
|
+
export * as Renderer from './renderClasses/Renderer';
|
|
111
|
+
export * as TileLayer from './renderClasses/TileLayer';
|
|
112
|
+
export { default as TileLayerCanvas } from './renderClasses/TileLayerCanvas';
|
|
113
|
+
export * as dataLoader from './render/dataLoader';
|
|
114
|
+
export * as interpolator from './render/interpolator';
|
|
115
|
+
export { default as particleRenderers } from './render/particleRenderers';
|
|
116
|
+
export * as renderCtrl from './render/renderCtrl';
|
|
117
|
+
export * as renderUtils from './render/renderUtils';
|
|
118
|
+
export { default as renderers } from './render/renderers';
|
|
119
|
+
export * as tileInterpolator from './render/tileInterpolator';
|
|
120
|
+
export { default as glTileRender } from './render/glTileRender';
|
|
121
|
+
export * as renderTile from './render/renderTile';
|
|
122
|
+
export * as tileLayer from './render/tileLayerInstance';
|
|
123
|
+
export { default as GlObj } from './wgUtils/GlObj';
|
|
124
|
+
export * as Favs from './mapClasses/Favs';
|
|
125
|
+
export { default as LabelsLayer } from './mapClasses/LabelsLayer';
|
|
126
|
+
export { default as LandMask } from './mapClasses/LandMask';
|
|
127
|
+
export { default as TileLayerMultiPatch } from './mapClasses/TileLayerMultiPatch';
|
|
128
|
+
export * as baseMap from './map/baseMap';
|
|
129
|
+
export { default as cityLabels } from './map/cityLabels';
|
|
130
|
+
export * as map from './map/map';
|
|
131
|
+
export * as mapGlobeCtrl from './map/mapGlobeCtrl';
|
|
132
|
+
export * as picker from './map/picker';
|
|
133
|
+
export * as singleclick from './map/singleclick';
|
|
134
|
+
export * as mobile from './capacitor/mobile';
|
|
135
|
+
export * as mobileUtils from './capacitor/mobileUtils';
|
|
136
|
+
export * as nativeStorage from './capacitor/nativeStorage';
|
|
137
|
+
export * as pushNotifications from './capacitor/pushNotifications';
|
|
138
|
+
export * as seoParser from './dummyModules/seoParser';
|
|
@@ -26,7 +26,7 @@ export declare const getIconModel: (rqrdProduct: Products, avProducts: Products[
|
|
|
26
26
|
/**
|
|
27
27
|
* Return idents of visible local products available in the current map boundaries (or empty array undefined)
|
|
28
28
|
*/
|
|
29
|
-
export declare const betterProducts: <T extends LatLon, PT extends boolean, R extends PT extends true ? "icon" | "gfs" | "ecmwf" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue" : "
|
|
29
|
+
export declare const betterProducts: <T extends LatLon, PT extends boolean, R extends PT extends true ? "icon" | "gfs" | "ecmwf" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue" : "icon" | "radar" | "satellite" | "capAlerts" | "gfs" | "ecmwf" | "ecmwfAnalysis" | "ecmwfWaves" | "gfsWaves" | "iconWaves" | "cams" | "efi" | "cmems" | "drought" | "fireDanger" | "activeFires" | "nems" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "camsEu" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue">(latLon: T, pointFcts?: PT) => R[];
|
|
30
30
|
/**
|
|
31
31
|
* Return product string on a basis of overlay & wanted forecast model
|
|
32
32
|
*/
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface CloudKitObject {
|
|
2
|
+
key: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export interface WindyCloudKitPlugin {
|
|
6
|
+
set: (arg: CloudKitObject) => Promise<unknown>;
|
|
7
|
+
get: (arg: {
|
|
8
|
+
key: string;
|
|
9
|
+
}) => Promise<CloudKitObject>;
|
|
10
|
+
}
|
|
11
|
+
export interface WindyWidgetPlugin {
|
|
12
|
+
refresh: () => Promise<unknown>;
|
|
13
|
+
isWidgetInstalled: () => Promise<string | {
|
|
14
|
+
value: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Evented } from '@windy/Evented';
|
|
2
|
-
import
|
|
3
|
-
import type {
|
|
2
|
+
import * as http from '@windy/http';
|
|
3
|
+
import type { HttpPayload } from './d.ts.files/http.d';
|
|
4
|
+
import type { NotificationInfo } from './d.ts.files/notifications.d';
|
|
4
5
|
declare class Notification extends Evented<Notification> {
|
|
5
6
|
data: Record<string, unknown>;
|
|
6
7
|
eventSource: null | EventSource;
|
|
@@ -36,19 +37,19 @@ declare class Notification extends Evented<Notification> {
|
|
|
36
37
|
* @param id Notification id
|
|
37
38
|
* @returns
|
|
38
39
|
*/
|
|
39
|
-
markNotificationAsSeen(id: string): Promise<HttpPayload<void>>;
|
|
40
|
+
markNotificationAsSeen(id: string): Promise<http.HttpPayload<void>>;
|
|
40
41
|
/**
|
|
41
42
|
* Mark all notifications ad received (= not seen yet, but already delivered)
|
|
42
43
|
*
|
|
43
44
|
* @returns
|
|
44
45
|
*/
|
|
45
|
-
markNotificationsAsReceived(): Promise<void | HttpPayload<void>>;
|
|
46
|
+
markNotificationsAsReceived(): Promise<void | http.HttpPayload<void>>;
|
|
46
47
|
/**
|
|
47
48
|
* Delete all users notifications
|
|
48
49
|
*
|
|
49
50
|
* @returns
|
|
50
51
|
*/
|
|
51
|
-
deleteAllNotifications(): Promise<HttpPayload<void>>;
|
|
52
|
+
deleteAllNotifications(): Promise<http.HttpPayload<void>>;
|
|
52
53
|
/**
|
|
53
54
|
* Mark all users notifications as seen
|
|
54
55
|
*/
|