@opengeoweb/taf 19.1.0 → 19.1.1

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.
Files changed (77) hide show
  1. package/dist/README.md +35 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.esm.js +9349 -0
  4. package/dist/src/index.d.ts +7 -0
  5. package/dist/src/lib/components/AutoTaf/AutoTaf.d.ts +9 -0
  6. package/dist/src/lib/components/AutoTaf/index.d.ts +1 -0
  7. package/dist/src/lib/components/ComponentsLookUp/ComponentsLookUp.d.ts +38 -0
  8. package/dist/src/lib/components/ComponentsLookUp/index.d.ts +1 -0
  9. package/dist/src/lib/components/IssuesPane/IssuesButton.d.ts +10 -0
  10. package/dist/src/lib/components/IssuesPane/IssuesPane.d.ts +14 -0
  11. package/dist/src/lib/components/IssuesPane/IssuesPaneWrapper.d.ts +4 -0
  12. package/dist/src/lib/components/IssuesPane/index.d.ts +2 -0
  13. package/dist/src/lib/components/IssuesPane/types.d.ts +17 -0
  14. package/dist/src/lib/components/IssuesPane/utils.d.ts +20 -0
  15. package/dist/src/lib/components/Providers/Providers.d.ts +22 -0
  16. package/dist/src/lib/components/Providers/index.d.ts +1 -0
  17. package/dist/src/lib/components/ResponsiveWrapper/ResponsiveWrapper.d.ts +4 -0
  18. package/dist/src/lib/components/Spinner/Spinner.d.ts +4 -0
  19. package/dist/src/lib/components/StatusIcon/StatusIcon.d.ts +8 -0
  20. package/dist/src/lib/components/TabPanel/TabPanel.d.ts +8 -0
  21. package/dist/src/lib/components/TabPanel/index.d.ts +1 -0
  22. package/dist/src/lib/components/TafAvatar/TafAvatar.d.ts +8 -0
  23. package/dist/src/lib/components/TafAvatar/index.d.ts +1 -0
  24. package/dist/src/lib/components/TafForm/TafForm.d.ts +16 -0
  25. package/dist/src/lib/components/TafForm/TafFormButtons/TafFormButtons.d.ts +12 -0
  26. package/dist/src/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.d.ts +11 -0
  27. package/dist/src/lib/components/TafForm/TafFormRow/DragHandle.d.ts +8 -0
  28. package/dist/src/lib/components/TafForm/TafFormRow/TafFormRow.d.ts +4 -0
  29. package/dist/src/lib/components/TafForm/TafFormRow/TafFormTextField.d.ts +30 -0
  30. package/dist/src/lib/components/TafForm/TafFormRow/types.d.ts +31 -0
  31. package/dist/src/lib/components/TafForm/TafFormRow/validations/change.d.ts +4 -0
  32. package/dist/src/lib/components/TafForm/TafFormRow/validations/clouds.d.ts +34 -0
  33. package/dist/src/lib/components/TafForm/TafFormRow/validations/probability.d.ts +2 -0
  34. package/dist/src/lib/components/TafForm/TafFormRow/validations/utils.d.ts +2 -0
  35. package/dist/src/lib/components/TafForm/TafFormRow/validations/validField.d.ts +21 -0
  36. package/dist/src/lib/components/TafForm/TafFormRow/validations/visibility.d.ts +12 -0
  37. package/dist/src/lib/components/TafForm/TafFormRow/validations/weather.d.ts +15 -0
  38. package/dist/src/lib/components/TafForm/TafFormRow/validations/wind.d.ts +16 -0
  39. package/dist/src/lib/components/TafForm/index.d.ts +1 -0
  40. package/dist/src/lib/components/TafForm/utils.d.ts +76 -0
  41. package/dist/src/lib/components/TafHeader/TafHeader.d.ts +8 -0
  42. package/dist/src/lib/components/TafLayout/LocationTabs/LocationTabs.d.ts +10 -0
  43. package/dist/src/lib/components/TafLayout/LocationTabs/index.d.ts +1 -0
  44. package/dist/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.d.ts +8 -0
  45. package/dist/src/lib/components/TafLayout/TacOverview/ExportButton.d.ts +7 -0
  46. package/dist/src/lib/components/TafLayout/TacOverview/TacContainer.d.ts +13 -0
  47. package/dist/src/lib/components/TafLayout/TacOverview/TacContainerLayout.d.ts +10 -0
  48. package/dist/src/lib/components/TafLayout/TacOverview/TacOverview.d.ts +12 -0
  49. package/dist/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.d.ts +12 -0
  50. package/dist/src/lib/components/TafLayout/TacOverview/index.d.ts +2 -0
  51. package/dist/src/lib/components/TafLayout/TafLayout.d.ts +10 -0
  52. package/dist/src/lib/components/TafLayout/TafPanel/TafPanel.d.ts +23 -0
  53. package/dist/src/lib/components/TafLayout/TafPanel/index.d.ts +1 -0
  54. package/dist/src/lib/components/TafLayout/TopTabs/TopTabs.d.ts +9 -0
  55. package/dist/src/lib/components/TafLayout/TopTabs/index.d.ts +1 -0
  56. package/dist/src/lib/components/TafLayout/utils.d.ts +47 -0
  57. package/dist/src/lib/components/TafModule/TafModule.d.ts +9 -0
  58. package/dist/src/lib/components/TafModule/TafModuleProvider.d.ts +23 -0
  59. package/dist/src/lib/components/TafModule/index.d.ts +1 -0
  60. package/dist/src/lib/components/TafRemarkField/TafRemarkField.d.ts +7 -0
  61. package/dist/src/lib/components/TafRemarkField/index.d.ts +1 -0
  62. package/dist/src/lib/components/TafWrapper/TafConfigWrapper.d.ts +13 -0
  63. package/dist/src/lib/components/TafWrapper/TafWrapper.d.ts +3 -0
  64. package/dist/src/lib/components/TafWrapper/index.d.ts +1 -0
  65. package/dist/src/lib/types.d.ts +173 -0
  66. package/dist/src/lib/utils/dateFormats.d.ts +2 -0
  67. package/dist/src/lib/utils/i18n.d.ts +6 -0
  68. package/dist/src/lib/utils/mockdata/fakeTafConfig.d.ts +2 -0
  69. package/dist/src/lib/utils/mockdata/fakeTafList.d.ts +26 -0
  70. package/dist/src/lib/utils/mockdata/naf/fakeNafConfig.d.ts +2 -0
  71. package/dist/src/lib/utils/mockdata/naf/fakeNafList.d.ts +12 -0
  72. package/dist/src/lib/utils/taf-api/api.d.ts +7 -0
  73. package/dist/src/lib/utils/taf-api/fakeApi.d.ts +4 -0
  74. package/dist/src/lib/utils/taf-api/hooks.d.ts +25 -0
  75. package/dist/src/lib/utils/utils.d.ts +1 -0
  76. package/dist/src/lib/utils/weatherPhenomena.d.ts +422 -0
  77. package/package.json +2 -1
package/dist/README.md ADDED
@@ -0,0 +1,35 @@
1
+ ![current version](https://img.shields.io/badge/dynamic/json?color=blue&label=version&query=version&url=https://gitlab.com/opengeoweb/opengeoweb/raw/master/libs/taf/package.json)
2
+ ![coverage](https://gitlab.com/opengeoweb/opengeoweb/badges/master/coverage.svg?job=test-taf)
3
+
4
+ # Taf
5
+
6
+ React component library with Taf components for the opengeoweb project.
7
+ This library was generated with [Nx](https://nx.dev).
8
+
9
+ ## Installation
10
+
11
+ ```
12
+ npm install @opengeoweb/taf
13
+ ```
14
+
15
+ ## Configuration
16
+
17
+ The TAF configuration is fetched from the [TAF backend](https://gitlab.com/opengeoweb/backend-services/aviation-taf-backend) via the `/taf-config` endpoint.
18
+
19
+ ## AutoTaf
20
+
21
+ ### Enable AutoTaf module in the geoweb application
22
+
23
+ To use AutoTaf in the geoweb application, add the following config key in `config.json`:
24
+
25
+ - `"GW_FEATURE_TAF_AUTOTAF_ENABLED": true`
26
+
27
+ ### Configure autoTaf locations in TAF configuration
28
+
29
+ To configure the expected AutoTaf locations, add a list of AutoTaf locations in the TAF configuration:
30
+
31
+ - `"autoTAFlocations": ["EHAM", "EHRD", "EHLE", "EHGG", "EHBK"]`
32
+
33
+ ### TypeScript Documentation
34
+
35
+ - [TypeScript Docs](https://opengeoweb.gitlab.io/opengeoweb/typescript-docs/taf/)
@@ -0,0 +1 @@
1
+ export * from "./src/index";