@opengeoweb/taf 4.12.0 → 4.13.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 (125) hide show
  1. package/README.md +0 -0
  2. package/index.d.ts +0 -0
  3. package/index.esm.js +219 -138
  4. package/index.umd.js +214 -131
  5. package/lib/TafDemo.stories.d.ts +0 -0
  6. package/lib/components/ComponentsLookUp/ComponentsLookUp.d.ts +0 -0
  7. package/lib/components/ComponentsLookUp/ComponentsLookUp.spec.d.ts +0 -0
  8. package/lib/components/ComponentsLookUp/index.d.ts +0 -0
  9. package/lib/components/IssuesPane/IssuesButton.d.ts +0 -0
  10. package/lib/components/IssuesPane/IssuesButton.spec.d.ts +0 -0
  11. package/lib/components/IssuesPane/IssuesPane.d.ts +0 -0
  12. package/lib/components/IssuesPane/IssuesPane.spec.d.ts +0 -0
  13. package/lib/components/IssuesPane/IssuesPane.stories.d.ts +0 -0
  14. package/lib/components/IssuesPane/IssuesPaneWrapper.d.ts +0 -0
  15. package/lib/components/IssuesPane/IssuesPaneWrapper.spec.d.ts +0 -0
  16. package/lib/components/IssuesPane/index.d.ts +0 -0
  17. package/lib/components/IssuesPane/types.d.ts +0 -0
  18. package/lib/components/IssuesPane/utils.d.ts +0 -0
  19. package/lib/components/IssuesPane/utils.spec.d.ts +0 -0
  20. package/lib/components/Providers/Providers.d.ts +0 -0
  21. package/lib/components/Providers/index.d.ts +0 -0
  22. package/lib/components/ResponsiveWrapper/ResponsiveWrapper.d.ts +4 -0
  23. package/lib/components/ResponsiveWrapper/ResponsiveWrapper.spec.d.ts +1 -0
  24. package/lib/components/Spinner/Spinner.d.ts +0 -0
  25. package/lib/components/Spinner/Spinner.spec.d.ts +0 -0
  26. package/lib/components/Spinner/Spinner.stories.d.ts +0 -0
  27. package/lib/components/StatusIcon/StatusIcon.d.ts +0 -0
  28. package/lib/components/StatusIcon/StatusIcon.spec.d.ts +0 -0
  29. package/lib/components/SwitchButton/SwitchButton.d.ts +0 -0
  30. package/lib/components/SwitchButton/SwitchButton.spec.d.ts +0 -0
  31. package/lib/components/SwitchButton/index.d.ts +0 -0
  32. package/lib/components/TabPanel/TabPanel.d.ts +0 -0
  33. package/lib/components/TabPanel/TabPanel.spec.d.ts +0 -0
  34. package/lib/components/TabPanel/index.d.ts +0 -0
  35. package/lib/components/TafAvatar/TafAvatar.d.ts +0 -0
  36. package/lib/components/TafAvatar/index.d.ts +0 -0
  37. package/lib/components/TafForm/TafForm.d.ts +0 -0
  38. package/lib/components/TafForm/TafForm.spec.d.ts +0 -0
  39. package/lib/components/TafForm/TafForm.statusChanges.spec.d.ts +0 -0
  40. package/lib/components/TafForm/TafForm.stories.d.ts +0 -0
  41. package/lib/components/TafForm/TafFormButtons/TafFormButtons.d.ts +0 -0
  42. package/lib/components/TafForm/TafFormButtons/TafFormButtons.spec.d.ts +0 -0
  43. package/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.d.ts +0 -0
  44. package/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.spec.d.ts +0 -0
  45. package/lib/components/TafForm/TafFormRow/DragHandle.d.ts +0 -0
  46. package/lib/components/TafForm/TafFormRow/DragHandle.spec.d.ts +0 -0
  47. package/lib/components/TafForm/TafFormRow/TafFormRow.d.ts +0 -0
  48. package/lib/components/TafForm/TafFormRow/TafFormRow.spec.d.ts +0 -0
  49. package/lib/components/TafForm/TafFormRow/TafFormTextField.d.ts +5 -1
  50. package/lib/components/TafForm/TafFormRow/TafFormTextField.spec.d.ts +0 -0
  51. package/lib/components/TafForm/TafFormRow/types.d.ts +0 -0
  52. package/lib/components/TafForm/TafFormRow/validations/change.d.ts +0 -0
  53. package/lib/components/TafForm/TafFormRow/validations/change.spec.d.ts +0 -0
  54. package/lib/components/TafForm/TafFormRow/validations/clouds.d.ts +3 -3
  55. package/lib/components/TafForm/TafFormRow/validations/clouds.spec.d.ts +0 -0
  56. package/lib/components/TafForm/TafFormRow/validations/probability.d.ts +0 -0
  57. package/lib/components/TafForm/TafFormRow/validations/probability.spec.d.ts +0 -0
  58. package/lib/components/TafForm/TafFormRow/validations/utils.d.ts +0 -0
  59. package/lib/components/TafForm/TafFormRow/validations/utils.spec.d.ts +0 -0
  60. package/lib/components/TafForm/TafFormRow/validations/validField.d.ts +0 -0
  61. package/lib/components/TafForm/TafFormRow/validations/validField.spec.d.ts +0 -0
  62. package/lib/components/TafForm/TafFormRow/validations/visibility.d.ts +0 -0
  63. package/lib/components/TafForm/TafFormRow/validations/visibility.spec.d.ts +0 -0
  64. package/lib/components/TafForm/TafFormRow/validations/weather.d.ts +3 -3
  65. package/lib/components/TafForm/TafFormRow/validations/weather.spec.d.ts +0 -0
  66. package/lib/components/TafForm/TafFormRow/validations/wind.d.ts +0 -0
  67. package/lib/components/TafForm/TafFormRow/validations/wind.spec.d.ts +0 -0
  68. package/lib/components/TafForm/index.d.ts +0 -0
  69. package/lib/components/TafForm/utils.d.ts +0 -0
  70. package/lib/components/TafForm/utils.spec.d.ts +0 -0
  71. package/lib/components/TafHeader/TafHeader.d.ts +0 -0
  72. package/lib/components/TafHeader/TafHeader.spec.d.ts +0 -0
  73. package/lib/components/TafLayout/LastUpdateTime/LastUpdateTime.d.ts +0 -0
  74. package/lib/components/TafLayout/LastUpdateTime/LastUpdateTime.spec.d.ts +0 -0
  75. package/lib/components/TafLayout/LastUpdateTime/LastUpdateTime.stories.d.ts +0 -0
  76. package/lib/components/TafLayout/LastUpdateTime/index.d.ts +0 -0
  77. package/lib/components/TafLayout/LocationTabs/LocationTabs.d.ts +0 -0
  78. package/lib/components/TafLayout/LocationTabs/LocationTabs.spec.d.ts +0 -0
  79. package/lib/components/TafLayout/LocationTabs/LocationTabs.stories.d.ts +0 -0
  80. package/lib/components/TafLayout/LocationTabs/index.d.ts +0 -0
  81. package/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.d.ts +0 -0
  82. package/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.spec.d.ts +0 -0
  83. package/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.stories.d.ts +0 -0
  84. package/lib/components/TafLayout/TacOverview/ExportButton.d.ts +0 -0
  85. package/lib/components/TafLayout/TacOverview/ExportButton.spec.d.ts +0 -0
  86. package/lib/components/TafLayout/TacOverview/TacContainer.d.ts +0 -0
  87. package/lib/components/TafLayout/TacOverview/TacContainer.spec.d.ts +0 -0
  88. package/lib/components/TafLayout/TacOverview/TacOverview.d.ts +0 -0
  89. package/lib/components/TafLayout/TacOverview/TacOverview.spec.d.ts +0 -0
  90. package/lib/components/TafLayout/TacOverview/TacOverview.stories.d.ts +0 -0
  91. package/lib/components/TafLayout/TacOverview/TacOverviewMobile.d.ts +0 -0
  92. package/lib/components/TafLayout/TacOverview/TacOverviewMobile.spec.d.ts +0 -0
  93. package/lib/components/TafLayout/TacOverview/TacOverviewMobile.stories.d.ts +0 -0
  94. package/lib/components/TafLayout/TacOverview/index.d.ts +0 -0
  95. package/lib/components/TafLayout/TafLayout.d.ts +0 -0
  96. package/lib/components/TafLayout/TafLayout.spec.d.ts +0 -0
  97. package/lib/components/TafLayout/TafLayout.stories.d.ts +0 -0
  98. package/lib/components/TafLayout/TafPanel/TafPanel.d.ts +0 -0
  99. package/lib/components/TafLayout/TafPanel/TafPanel.spec.d.ts +0 -0
  100. package/lib/components/TafLayout/TafPanel/TafPanel.stories.d.ts +0 -0
  101. package/lib/components/TafLayout/TafPanel/index.d.ts +0 -0
  102. package/lib/components/TafLayout/TopTabs/TopTabs.d.ts +0 -0
  103. package/lib/components/TafLayout/TopTabs/TopTabs.spec.d.ts +0 -0
  104. package/lib/components/TafLayout/TopTabs/TopTabs.stories.d.ts +0 -0
  105. package/lib/components/TafLayout/TopTabs/index.d.ts +0 -0
  106. package/lib/components/TafLayout/utils.d.ts +0 -0
  107. package/lib/components/TafLayout/utils.spec.d.ts +0 -0
  108. package/lib/components/TafModule/TafModule.d.ts +0 -0
  109. package/lib/components/TafModule/TafModule.spec.d.ts +0 -0
  110. package/lib/components/TafModule/TafModule.stories.d.ts +0 -0
  111. package/lib/components/TafModule/TafModuleProvider.d.ts +0 -0
  112. package/lib/components/TafModule/index.d.ts +0 -0
  113. package/lib/components/TafWrapper/TafWrapper.d.ts +0 -0
  114. package/lib/components/TafWrapper/TafWrapper.spec.d.ts +0 -0
  115. package/lib/components/TafWrapper/index.d.ts +0 -0
  116. package/lib/storyshots/Storyshots.spec.d.ts +0 -0
  117. package/lib/types.d.ts +0 -0
  118. package/lib/utils/__mocks__/api.d.ts +0 -0
  119. package/lib/utils/api.d.ts +0 -0
  120. package/lib/utils/api.spec.d.ts +0 -0
  121. package/lib/utils/fakeApi.d.ts +0 -0
  122. package/lib/utils/fakeApi.spec.d.ts +0 -0
  123. package/lib/utils/mockdata/fakeTafList.d.ts +0 -0
  124. package/lib/utils/weatherPhenomena.d.ts +0 -0
  125. package/package.json +10 -9
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { BoxProps } from '@mui/material';
3
+ export declare const TAF_MODULE_ID = "tafmodule";
4
+ export declare const ResponsiveWrapper: React.FC<BoxProps>;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,7 +2,10 @@ import { TextFieldProps } from '@mui/material';
2
2
  import React from 'react';
3
3
  import { RegisterOptions } from 'react-hook-form';
4
4
  export declare const getDisplayValue: (value: string, disabled: boolean) => string;
5
- export declare const BaseTextField: React.FC<TextFieldProps>;
5
+ declare type BaseTextFieldProps = TextFieldProps & {
6
+ shouldPreventUppercase?: boolean;
7
+ };
8
+ export declare const BaseTextField: React.FC<BaseTextFieldProps>;
6
9
  interface TafFormTextFieldProps {
7
10
  label: string;
8
11
  disabled?: boolean;
@@ -17,6 +20,7 @@ interface TafFormTextFieldProps {
17
20
  }[];
18
21
  onBlur?: () => void;
19
22
  autoFocus?: boolean;
23
+ shouldPreventUppercase?: boolean;
20
24
  }
21
25
  declare const TafFormTextField: React.FC<TafFormTextFieldProps>;
22
26
  export default TafFormTextField;
File without changes
@@ -28,7 +28,7 @@ export declare const invalidCloudWithPreviousType = "Invalid cloud input, only o
28
28
  export declare const invalidCloudCAVOKMessage = "Invalid cloud input, when CAVOK is used, cloud groups must be empty";
29
29
  export declare const invalidCloud4TypeMissingMessage = "Invalid cloud input for fourth group, CB or TCU required if no other significant convective cloud group present";
30
30
  export declare const validateFirstCloud: (value: string, visibilityValue: string, weatherfield1: string, weatherfield2: string, weatherfield3: string) => boolean | string;
31
- export declare const validateSecondCloud: (firstCloudValue: string, secondCloudValue: string, visibilityValue: string) => boolean | string;
32
- export declare const validateThirdCloud: (firstCloudValue: string, secondCloudValue: string, thirdCloudValue: string, visibilityValue: string) => boolean | string;
33
- export declare const validateFourthCloud: (firstCloudValue: string, secondCloudValue: string, thirdCloudValue: string, fourthCloudValue: string, visibilityValue: string) => boolean | string;
31
+ export declare const validateSecondCloud: (firstCloudValue: string, secondCloudValue: string, visibilityFieldValue: string) => boolean | string;
32
+ export declare const validateThirdCloud: (firstCloudValue: string, secondCloudValue: string, thirdCloudValue: string, visibilityFieldValue: string) => boolean | string;
33
+ export declare const validateFourthCloud: (firstCloudValue: string, secondCloudValue: string, thirdCloudValue: string, fourthCloudValue: string, visibilityFieldValue: string) => boolean | string;
34
34
  export {};
@@ -9,7 +9,7 @@ export declare const invalidWeatherCAVOKMessage = "Invalid weather input, when C
9
9
  export declare const invalidWeatherVisibilityBelow5000 = "Invalid weather input, weather codes FU, DU, HZ, DRDU and BLDU need to be combined with a visibility of 5000m or less";
10
10
  export declare const invalidWeatherBRVisibility = "Invalid weather input, weather code BR needs to be combined with a visibility between 1000 and 5000m";
11
11
  export declare const invalidWeatherFGVisibility = "Invalid weather input, weather code FG needs to be combined with a visibility below 1000m";
12
- export declare const validateWeatherField: (value: string, visibilityValue: string, NSWAllowed?: boolean) => boolean | string;
13
- export declare const validateSecondWeatherField: (weather1Value: string, weather2Value: string, visibilityValue: string) => boolean | string;
14
- export declare const validateThirdWeatherField: (weather1Value: string, weather2Value: string, weather3Value: string, visibilityValue: string) => boolean | string;
12
+ export declare const validateWeatherField: (value: string, visibilityFieldValue: string, NSWAllowed?: boolean) => boolean | string;
13
+ export declare const validateSecondWeatherField: (weather1Value: string, weather2Value: string, visibilityFieldValue: string) => boolean | string;
14
+ export declare const validateThirdWeatherField: (weather1Value: string, weather2Value: string, weather3Value: string, visibilityFieldValue: string) => boolean | string;
15
15
  export declare function parseWeatherToObject(value: any): Weather;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/types.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/taf",
3
- "version": "4.12.0",
3
+ "version": "4.13.1",
4
4
  "description": "GeoWeb TAF library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -12,25 +12,25 @@
12
12
  "typings": "./index.d.ts",
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
- "@opengeoweb/api": "4.12.0",
15
+ "@opengeoweb/api": "4.13.1",
16
16
  "react": "^18.2.0",
17
17
  "axios": "^0.25.0",
18
- "@opengeoweb/shared": "4.12.0",
18
+ "@opengeoweb/shared": "4.13.1",
19
19
  "@mui/material": "^5.10.8",
20
- "@opengeoweb/theme": "4.12.0",
20
+ "@opengeoweb/theme": "4.13.1",
21
21
  "react-draggable": "^4.4.5",
22
22
  "re-resizable": "^6.9.0",
23
23
  "@redux-eggs/core": "^2.2.0",
24
24
  "react-redux": "^8.0.4",
25
- "@opengeoweb/form-fields": "4.12.0",
25
+ "@opengeoweb/form-fields": "4.13.1",
26
26
  "react-hook-form": "^7.41.5",
27
27
  "moment": "^2.29.0",
28
28
  "moment-timezone": "^0.5.31",
29
29
  "@mui/x-date-pickers": "^5.0.4",
30
30
  "lodash": "^4.17.20",
31
31
  "date-fns": "^2.29.3",
32
- "@opengeoweb/core": "4.12.0",
33
- "@opengeoweb/webmap": "4.12.0",
32
+ "@opengeoweb/core": "4.13.1",
33
+ "@opengeoweb/webmap": "4.13.1",
34
34
  "throttle-debounce": "^3.0.1",
35
35
  "proj4": "^2.6.2",
36
36
  "react-intl": "^5.17.5",
@@ -46,8 +46,9 @@
46
46
  "@redux-eggs/redux-toolkit": "^2.2.0",
47
47
  "@redux-eggs/saga-extension": "^2.2.0",
48
48
  "react-dom": "^18.2.0",
49
- "@opengeoweb/authentication": "4.12.0",
49
+ "@opengeoweb/authentication": "4.13.1",
50
50
  "react-router-dom": "^6.4.2",
51
- "query-string": "^6.13.7"
51
+ "query-string": "^6.13.7",
52
+ "@emotion/react": "^11.10.4"
52
53
  }
53
54
  }