@opengeoweb/taf 9.28.0 → 9.29.0

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 (122) hide show
  1. package/index.esm.js +188 -180
  2. package/package.json +1 -1
  3. package/src/index.d.ts +8 -8
  4. package/src/lib/TafDemo.stories.d.ts +23 -23
  5. package/src/lib/components/ComponentsLookUp/ComponentsLookUp.d.ts +32 -32
  6. package/src/lib/components/ComponentsLookUp/ComponentsLookUp.spec.d.ts +1 -1
  7. package/src/lib/components/ComponentsLookUp/index.d.ts +1 -1
  8. package/src/lib/components/IssuesPane/IssuesButton.d.ts +10 -10
  9. package/src/lib/components/IssuesPane/IssuesButton.spec.d.ts +1 -1
  10. package/src/lib/components/IssuesPane/IssuesPane.d.ts +14 -14
  11. package/src/lib/components/IssuesPane/IssuesPane.spec.d.ts +1 -1
  12. package/src/lib/components/IssuesPane/IssuesPane.stories.d.ts +17 -17
  13. package/src/lib/components/IssuesPane/IssuesPaneWrapper.d.ts +4 -4
  14. package/src/lib/components/IssuesPane/IssuesPaneWrapper.spec.d.ts +1 -1
  15. package/src/lib/components/IssuesPane/index.d.ts +2 -2
  16. package/src/lib/components/IssuesPane/types.d.ts +16 -16
  17. package/src/lib/components/IssuesPane/utils.d.ts +8 -8
  18. package/src/lib/components/IssuesPane/utils.spec.d.ts +1 -1
  19. package/src/lib/components/Providers/Providers.d.ts +19 -19
  20. package/src/lib/components/Providers/index.d.ts +1 -1
  21. package/src/lib/components/ResponsiveWrapper/ResponsiveWrapper.d.ts +4 -4
  22. package/src/lib/components/ResponsiveWrapper/ResponsiveWrapper.spec.d.ts +1 -1
  23. package/src/lib/components/Spinner/Spinner.d.ts +4 -4
  24. package/src/lib/components/Spinner/Spinner.spec.d.ts +1 -1
  25. package/src/lib/components/Spinner/Spinner.stories.d.ts +6 -6
  26. package/src/lib/components/StatusIcon/StatusIcon.d.ts +8 -8
  27. package/src/lib/components/StatusIcon/StatusIcon.spec.d.ts +1 -1
  28. package/src/lib/components/TabPanel/TabPanel.d.ts +8 -8
  29. package/src/lib/components/TabPanel/TabPanel.spec.d.ts +1 -1
  30. package/src/lib/components/TabPanel/index.d.ts +1 -1
  31. package/src/lib/components/TafAvatar/TafAvatar.d.ts +8 -8
  32. package/src/lib/components/TafAvatar/index.d.ts +1 -1
  33. package/src/lib/components/TafForm/TafForm.d.ts +16 -16
  34. package/src/lib/components/TafForm/TafForm.editor.spec.d.ts +1 -1
  35. package/src/lib/components/TafForm/TafForm.spec.d.ts +1 -1
  36. package/src/lib/components/TafForm/TafForm.statusChanges.spec.d.ts +1 -1
  37. package/src/lib/components/TafForm/TafForm.stories.d.ts +45 -45
  38. package/src/lib/components/TafForm/TafForm.validations.spec.d.ts +1 -1
  39. package/src/lib/components/TafForm/TafFormButtons/TafFormButtons.d.ts +12 -12
  40. package/src/lib/components/TafForm/TafFormButtons/TafFormButtons.spec.d.ts +1 -1
  41. package/src/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.d.ts +11 -11
  42. package/src/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.spec.d.ts +1 -1
  43. package/src/lib/components/TafForm/TafFormRow/DragHandle.d.ts +8 -8
  44. package/src/lib/components/TafForm/TafFormRow/DragHandle.spec.d.ts +1 -1
  45. package/src/lib/components/TafForm/TafFormRow/TafFormRow.d.ts +4 -4
  46. package/src/lib/components/TafForm/TafFormRow/TafFormRow.spec.d.ts +1 -1
  47. package/src/lib/components/TafForm/TafFormRow/TafFormTextField.d.ts +26 -26
  48. package/src/lib/components/TafForm/TafFormRow/TafFormTextField.spec.d.ts +1 -1
  49. package/src/lib/components/TafForm/TafFormRow/types.d.ts +32 -32
  50. package/src/lib/components/TafForm/TafFormRow/validations/change.d.ts +4 -4
  51. package/src/lib/components/TafForm/TafFormRow/validations/change.spec.d.ts +1 -1
  52. package/src/lib/components/TafForm/TafFormRow/validations/clouds.d.ts +34 -34
  53. package/src/lib/components/TafForm/TafFormRow/validations/clouds.spec.d.ts +1 -1
  54. package/src/lib/components/TafForm/TafFormRow/validations/probability.d.ts +2 -2
  55. package/src/lib/components/TafForm/TafFormRow/validations/probability.spec.d.ts +1 -1
  56. package/src/lib/components/TafForm/TafFormRow/validations/utils.d.ts +2 -2
  57. package/src/lib/components/TafForm/TafFormRow/validations/utils.spec.d.ts +1 -1
  58. package/src/lib/components/TafForm/TafFormRow/validations/validField.d.ts +21 -21
  59. package/src/lib/components/TafForm/TafFormRow/validations/validField.spec.d.ts +1 -1
  60. package/src/lib/components/TafForm/TafFormRow/validations/visibility.d.ts +12 -12
  61. package/src/lib/components/TafForm/TafFormRow/validations/visibility.spec.d.ts +1 -1
  62. package/src/lib/components/TafForm/TafFormRow/validations/weather.d.ts +15 -15
  63. package/src/lib/components/TafForm/TafFormRow/validations/weather.spec.d.ts +1 -1
  64. package/src/lib/components/TafForm/TafFormRow/validations/wind.d.ts +16 -16
  65. package/src/lib/components/TafForm/TafFormRow/validations/wind.spec.d.ts +1 -1
  66. package/src/lib/components/TafForm/index.d.ts +1 -1
  67. package/src/lib/components/TafForm/utils.d.ts +74 -74
  68. package/src/lib/components/TafForm/utils.spec.d.ts +1 -1
  69. package/src/lib/components/TafHeader/TafHeader.d.ts +8 -8
  70. package/src/lib/components/TafHeader/TafHeader.spec.d.ts +1 -1
  71. package/src/lib/components/TafLayout/LocationTabs/LocationTabs.d.ts +10 -10
  72. package/src/lib/components/TafLayout/LocationTabs/LocationTabs.spec.d.ts +1 -1
  73. package/src/lib/components/TafLayout/LocationTabs/LocationTabs.stories.d.ts +13 -13
  74. package/src/lib/components/TafLayout/LocationTabs/index.d.ts +1 -1
  75. package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.d.ts +8 -8
  76. package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.spec.d.ts +1 -1
  77. package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.stories.d.ts +25 -25
  78. package/src/lib/components/TafLayout/TacOverview/ExportButton.d.ts +7 -7
  79. package/src/lib/components/TafLayout/TacOverview/ExportButton.spec.d.ts +1 -1
  80. package/src/lib/components/TafLayout/TacOverview/TacContainer.d.ts +9 -9
  81. package/src/lib/components/TafLayout/TacOverview/TacContainer.spec.d.ts +1 -1
  82. package/src/lib/components/TafLayout/TacOverview/TacOverview.d.ts +12 -12
  83. package/src/lib/components/TafLayout/TacOverview/TacOverview.spec.d.ts +1 -1
  84. package/src/lib/components/TafLayout/TacOverview/TacOverview.stories.d.ts +23 -23
  85. package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.d.ts +11 -11
  86. package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.spec.d.ts +1 -1
  87. package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.stories.d.ts +23 -23
  88. package/src/lib/components/TafLayout/TacOverview/index.d.ts +2 -2
  89. package/src/lib/components/TafLayout/TafLayout.d.ts +16 -16
  90. package/src/lib/components/TafLayout/TafLayout.issuespane.spec.d.ts +1 -1
  91. package/src/lib/components/TafLayout/TafLayout.snackbar.spec.d.ts +1 -1
  92. package/src/lib/components/TafLayout/TafLayout.spec.d.ts +1 -1
  93. package/src/lib/components/TafLayout/TafLayout.stories.d.ts +15 -15
  94. package/src/lib/components/TafLayout/TafLayout.tacoverview.spec.d.ts +1 -1
  95. package/src/lib/components/TafLayout/TafPanel/TafPanel.d.ts +35 -35
  96. package/src/lib/components/TafLayout/TafPanel/TafPanel.spec.d.ts +1 -1
  97. package/src/lib/components/TafLayout/TafPanel/TafPanel.stories.d.ts +22 -22
  98. package/src/lib/components/TafLayout/TafPanel/index.d.ts +1 -1
  99. package/src/lib/components/TafLayout/TopTabs/TopTabs.d.ts +10 -10
  100. package/src/lib/components/TafLayout/TopTabs/TopTabs.spec.d.ts +1 -1
  101. package/src/lib/components/TafLayout/TopTabs/TopTabs.stories.d.ts +13 -13
  102. package/src/lib/components/TafLayout/TopTabs/index.d.ts +1 -1
  103. package/src/lib/components/TafLayout/utils.d.ts +23 -23
  104. package/src/lib/components/TafLayout/utils.spec.d.ts +1 -1
  105. package/src/lib/components/TafModule/TafModule.d.ts +5 -5
  106. package/src/lib/components/TafModule/TafModule.spec.d.ts +1 -1
  107. package/src/lib/components/TafModule/TafModule.stories.d.ts +28 -28
  108. package/src/lib/components/TafModule/TafModuleProvider.d.ts +23 -23
  109. package/src/lib/components/TafModule/index.d.ts +1 -1
  110. package/src/lib/components/TafWrapper/TafWrapper.d.ts +4 -4
  111. package/src/lib/components/TafWrapper/TafWrapper.spec.d.ts +1 -1
  112. package/src/lib/components/TafWrapper/index.d.ts +1 -1
  113. package/src/lib/types.d.ts +158 -158
  114. package/src/lib/utils/__mocks__/api.d.ts +15 -15
  115. package/src/lib/utils/api.d.ts +13 -13
  116. package/src/lib/utils/api.spec.d.ts +1 -1
  117. package/src/lib/utils/dateFormats.d.ts +2 -2
  118. package/src/lib/utils/fakeApi.d.ts +3 -3
  119. package/src/lib/utils/fakeApi.spec.d.ts +1 -1
  120. package/src/lib/utils/i18n.d.ts +6 -6
  121. package/src/lib/utils/mockdata/fakeTafList.d.ts +25 -25
  122. package/src/lib/utils/weatherPhenomena.d.ts +422 -422
@@ -1,32 +1,32 @@
1
- import * as React from 'react';
2
- import { ApiModule, ApiUrls } from '@opengeoweb/api';
3
- export declare const tafScreenPreset: {
4
- id: string;
5
- title: string;
6
- views: {
7
- byId: {
8
- taf: {
9
- title: string;
10
- componentType: string;
11
- initialProps: {};
12
- };
13
- };
14
- allIds: string[];
15
- };
16
- syncGroups: never[];
17
- mosaicNode: string;
18
- };
19
- type TafComponentType = 'TafModule';
20
- export interface ComponentsLookUpPayload {
21
- componentType: TafComponentType;
22
- id: string;
23
- title?: string;
24
- initialProps: Record<string, never>;
25
- }
26
- export interface ApiModuleProps extends ApiModule {
27
- config: ApiUrls;
28
- onPreventCloseView?: (shouldPreventClose: boolean) => void;
29
- }
30
- export declare const TafApiWrapper: React.FC<ApiModuleProps>;
31
- export declare const componentsLookUp: (payload: ComponentsLookUpPayload, { config, auth, onSetAuth }: ApiModuleProps, ConnectedModuleWrapper?: any) => React.ReactElement;
32
- export {};
1
+ import * as React from 'react';
2
+ import { ApiModule, ApiUrls } from '@opengeoweb/api';
3
+ export declare const tafScreenPreset: {
4
+ id: string;
5
+ title: string;
6
+ views: {
7
+ byId: {
8
+ taf: {
9
+ title: string;
10
+ componentType: string;
11
+ initialProps: {};
12
+ };
13
+ };
14
+ allIds: string[];
15
+ };
16
+ syncGroups: never[];
17
+ mosaicNode: string;
18
+ };
19
+ type TafComponentType = 'TafModule';
20
+ export interface ComponentsLookUpPayload {
21
+ componentType: TafComponentType;
22
+ id: string;
23
+ title?: string;
24
+ initialProps: Record<string, never>;
25
+ }
26
+ export interface ApiModuleProps extends ApiModule {
27
+ config: ApiUrls;
28
+ onPreventCloseView?: (shouldPreventClose: boolean) => void;
29
+ }
30
+ export declare const TafApiWrapper: React.FC<ApiModuleProps>;
31
+ export declare const componentsLookUp: (payload: ComponentsLookUpPayload, { config, auth, onSetAuth }: ApiModuleProps, ConnectedModuleWrapper?: any) => React.ReactElement;
32
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export * from './ComponentsLookUp';
1
+ export * from './ComponentsLookUp';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { FieldErrors } from 'react-hook-form';
3
- import { IssuesPanePosition } from './types';
4
- interface IssuesButtonProps {
5
- errors?: FieldErrors;
6
- isIssuesPaneOpen?: boolean;
7
- setIsIssuesPaneOpen?: (isOpen: boolean, position?: IssuesPanePosition) => void;
8
- }
9
- declare const IssuesButton: React.FC<IssuesButtonProps>;
10
- export default IssuesButton;
1
+ import * as React from 'react';
2
+ import { FieldErrors } from 'react-hook-form';
3
+ import { IssuesPanePosition } from './types';
4
+ interface IssuesButtonProps {
5
+ errors?: FieldErrors;
6
+ isIssuesPaneOpen?: boolean;
7
+ setIsIssuesPaneOpen?: (isOpen: boolean, position?: IssuesPanePosition) => void;
8
+ }
9
+ declare const IssuesButton: React.FC<IssuesButtonProps>;
10
+ export default IssuesButton;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,14 +1,14 @@
1
- import * as React from 'react';
2
- import { IssuesPaneProps, IssuesPanePosition, CustomErrorField } from './types';
3
- export declare const humanizeErrorMessage: (errorTitle: string, fieldNumberedValue: number) => string;
4
- export declare const getErrorMessage: (error: CustomErrorField, index: number) => string;
5
- export declare const MODAL_DIALOG_ELEMENT = "modal-dialog";
6
- export declare const useIssuesPane: () => {
7
- isIssuesPaneOpen: boolean;
8
- startPosition: IssuesPanePosition;
9
- onToggleIssuesPane: (isOpen: boolean, newPosition: IssuesPanePosition) => void;
10
- onCloseIssuesPane: () => void;
11
- onUserHasDragged: () => void;
12
- };
13
- declare const IssuesPane: React.FC<IssuesPaneProps>;
14
- export default IssuesPane;
1
+ import * as React from 'react';
2
+ import { IssuesPaneProps, IssuesPanePosition, CustomErrorField } from './types';
3
+ export declare const humanizeErrorMessage: (errorTitle: string, fieldNumberedValue: number) => string;
4
+ export declare const getErrorMessage: (error: CustomErrorField, index: number) => string;
5
+ export declare const MODAL_DIALOG_ELEMENT = "modal-dialog";
6
+ export declare const useIssuesPane: () => {
7
+ isIssuesPaneOpen: boolean;
8
+ startPosition: IssuesPanePosition;
9
+ onToggleIssuesPane: (isOpen: boolean, newPosition: IssuesPanePosition) => void;
10
+ onCloseIssuesPane: () => void;
11
+ onUserHasDragged: () => void;
12
+ };
13
+ declare const IssuesPane: React.FC<IssuesPaneProps>;
14
+ export default IssuesPane;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,17 +1,17 @@
1
- import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const NoIssues: {
7
- (): React.ReactElement;
8
- tags: string[];
9
- };
10
- export declare const OneIssue: {
11
- (): React.ReactElement;
12
- tags: string[];
13
- };
14
- export declare const MultipleIssues: {
15
- (): React.ReactElement;
16
- storyName: string;
17
- };
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const NoIssues: {
7
+ (): React.ReactElement;
8
+ tags: string[];
9
+ };
10
+ export declare const OneIssue: {
11
+ (): React.ReactElement;
12
+ tags: string[];
13
+ };
14
+ export declare const MultipleIssues: {
15
+ (): React.ReactElement;
16
+ storyName: string;
17
+ };
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- import { IssuesPaneProps } from './types';
3
- declare const IssuesPaneWrapper: React.FC<IssuesPaneProps>;
4
- export default IssuesPaneWrapper;
1
+ import * as React from 'react';
2
+ import { IssuesPaneProps } from './types';
3
+ declare const IssuesPaneWrapper: React.FC<IssuesPaneProps>;
4
+ export default IssuesPaneWrapper;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,2 +1,2 @@
1
- export { default as IssuesButton } from './IssuesButton';
2
- export { default as IssuesPane } from './IssuesPane';
1
+ export { default as IssuesButton } from './IssuesButton';
2
+ export { default as IssuesPane } from './IssuesPane';
@@ -1,16 +1,16 @@
1
- import { FieldError } from 'react-hook-form';
2
- export interface IssuesPanePosition {
3
- left: number;
4
- top: number;
5
- }
6
- export interface CustomErrorField extends FieldError {
7
- isChangeGroup: boolean;
8
- rowIndex: number;
9
- }
10
- export interface IssuesPaneProps {
11
- errorList?: CustomErrorField[];
12
- isOpen: boolean;
13
- handleClose: () => void;
14
- startPosition?: IssuesPanePosition;
15
- onUserHasDragged?: () => void;
16
- }
1
+ import { FieldError } from 'react-hook-form';
2
+ export interface IssuesPanePosition {
3
+ left: number;
4
+ top: number;
5
+ }
6
+ export interface CustomErrorField extends FieldError {
7
+ isChangeGroup: boolean;
8
+ rowIndex: number;
9
+ }
10
+ export interface IssuesPaneProps {
11
+ errorList?: CustomErrorField[];
12
+ isOpen: boolean;
13
+ handleClose: () => void;
14
+ startPosition?: IssuesPanePosition;
15
+ onUserHasDragged?: () => void;
16
+ }
@@ -1,8 +1,8 @@
1
- import { FieldError, FieldErrors } from 'react-hook-form';
2
- import { TFunction } from 'i18next';
3
- import { CustomErrorField } from './types';
4
- export declare const getCustomError: (error: FieldError, isChangeGroup: boolean, rowIndex: number) => CustomErrorField;
5
- export declare const getIssuesLabel: (sumOfErrors: number, t: TFunction) => string;
6
- export declare const getErrorValues: (fieldErrors: FieldErrors, isChangeGroup?: boolean, rowIndex?: number) => FieldError[];
7
- export declare const filterDuplicateErrors: (errors: CustomErrorField[]) => CustomErrorField[];
8
- export declare const getErrors: (errors: FieldErrors) => CustomErrorField[];
1
+ import { FieldError, FieldErrors } from 'react-hook-form';
2
+ import { TFunction } from 'i18next';
3
+ import { CustomErrorField } from './types';
4
+ export declare const getCustomError: (error: FieldError, isChangeGroup: boolean, rowIndex: number) => CustomErrorField;
5
+ export declare const getIssuesLabel: (sumOfErrors: number, t: TFunction) => string;
6
+ export declare const getErrorValues: (fieldErrors: FieldErrors, isChangeGroup?: boolean, rowIndex?: number) => FieldError[];
7
+ export declare const filterDuplicateErrors: (errors: CustomErrorField[]) => CustomErrorField[];
8
+ export declare const getErrors: (errors: FieldErrors) => CustomErrorField[];
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,19 +1,19 @@
1
- import * as React from 'react';
2
- import { Theme } from '@mui/material';
3
- import { Store } from '@reduxjs/toolkit';
4
- import { UseFormProps } from 'react-hook-form';
5
- import { TafApi } from '../../utils/api';
6
- export interface TafThemeApiProviderProps {
7
- createApiFunc?: () => TafApi;
8
- children: React.ReactNode;
9
- theme?: Theme;
10
- store?: Store;
11
- }
12
- export declare const TafThemeApiProvider: React.FC<TafThemeApiProviderProps>;
13
- interface TafThemeFormProviderProps {
14
- children: React.ReactNode;
15
- options?: UseFormProps;
16
- theme?: Theme;
17
- }
18
- export declare const TafThemeFormProvider: React.FC<TafThemeFormProviderProps>;
19
- export {};
1
+ import * as React from 'react';
2
+ import { Theme } from '@mui/material';
3
+ import { Store } from '@reduxjs/toolkit';
4
+ import { UseFormProps } from 'react-hook-form';
5
+ import { TafApi } from '../../utils/api';
6
+ export interface TafThemeApiProviderProps {
7
+ createApiFunc?: () => TafApi;
8
+ children: React.ReactNode;
9
+ theme?: Theme;
10
+ store?: Store;
11
+ }
12
+ export declare const TafThemeApiProvider: React.FC<TafThemeApiProviderProps>;
13
+ interface TafThemeFormProviderProps {
14
+ children: React.ReactNode;
15
+ options?: UseFormProps;
16
+ theme?: Theme;
17
+ }
18
+ export declare const TafThemeFormProvider: React.FC<TafThemeFormProviderProps>;
19
+ export {};
@@ -1 +1 @@
1
- export * from './Providers';
1
+ export * from './Providers';
@@ -1,4 +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>;
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>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,4 +1,4 @@
1
- import { CircularProgressProps } from '@mui/material';
2
- import React from 'react';
3
- declare const Spinner: React.FC<CircularProgressProps>;
4
- export default Spinner;
1
+ import { CircularProgressProps } from '@mui/material';
2
+ import React from 'react';
3
+ declare const Spinner: React.FC<CircularProgressProps>;
4
+ export default Spinner;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const SpinnerDemo: () => React.ReactElement;
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const SpinnerDemo: () => React.ReactElement;
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- import { TafStatus, TimeSlot } from '../../types';
3
- interface StatusIconProps {
4
- status: TafStatus;
5
- timeSlot: TimeSlot;
6
- }
7
- declare const StatusIcon: React.FC<StatusIconProps>;
8
- export default StatusIcon;
1
+ import * as React from 'react';
2
+ import { TafStatus, TimeSlot } from '../../types';
3
+ interface StatusIconProps {
4
+ status: TafStatus;
5
+ timeSlot: TimeSlot;
6
+ }
7
+ declare const StatusIcon: React.FC<StatusIconProps>;
8
+ export default StatusIcon;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,8 +1,8 @@
1
- import { BoxProps } from '@mui/material';
2
- import React from 'react';
3
- interface TabPanelProps extends BoxProps {
4
- index: number;
5
- value: number;
6
- }
7
- declare const TabPanel: React.FC<TabPanelProps>;
8
- export default TabPanel;
1
+ import { BoxProps } from '@mui/material';
2
+ import React from 'react';
3
+ interface TabPanelProps extends BoxProps {
4
+ index: number;
5
+ value: number;
6
+ }
7
+ declare const TabPanel: React.FC<TabPanelProps>;
8
+ export default TabPanel;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export { default as TabPanel } from './TabPanel';
1
+ export { default as TabPanel } from './TabPanel';
@@ -1,8 +1,8 @@
1
- import { TooltipProps } from '@mui/material';
2
- import * as React from 'react';
3
- interface TafAvatarProps {
4
- editor: string;
5
- tooltipPlacement?: TooltipProps['placement'];
6
- }
7
- declare const TafAvatar: React.FC<TafAvatarProps>;
8
- export default TafAvatar;
1
+ import { TooltipProps } from '@mui/material';
2
+ import * as React from 'react';
3
+ interface TafAvatarProps {
4
+ editor: string;
5
+ tooltipPlacement?: TooltipProps['placement'];
6
+ }
7
+ declare const TafAvatar: React.FC<TafAvatarProps>;
8
+ export default TafAvatar;
@@ -1 +1 @@
1
- export { default as TafAvatar } from './TafAvatar';
1
+ export { default as TafAvatar } from './TafAvatar';
@@ -1,16 +1,16 @@
1
- import React from 'react';
2
- import { BaseTaf, Taf, TafActions, TafFromBackend, TafFromFrontEnd } from '../../types';
3
- import { IssuesPanePosition } from '../IssuesPane/types';
4
- export interface TafFormProps {
5
- isDisabled?: boolean;
6
- setIsDisabled?: (isDisabled: boolean) => void;
7
- tafFromBackend: TafFromBackend;
8
- onFormAction?: (action: TafActions, formValues?: BaseTaf) => Promise<boolean>;
9
- isIssuesPaneOpen?: boolean;
10
- setIsIssuesPaneOpen?: (isOpen: boolean, position?: IssuesPanePosition) => void;
11
- onSwitchEditor?: (formValues: TafFromFrontEnd) => Promise<boolean>;
12
- fetchNewTafList?: () => Promise<TafFromBackend[]>;
13
- previousTaf?: Taf;
14
- }
15
- declare const TafForm: React.FC<TafFormProps>;
16
- export default TafForm;
1
+ import React from 'react';
2
+ import { BaseTaf, Taf, TafActions, TafFromBackend, TafFromFrontEnd } from '../../types';
3
+ import { IssuesPanePosition } from '../IssuesPane/types';
4
+ export interface TafFormProps {
5
+ isDisabled?: boolean;
6
+ setIsDisabled?: (isDisabled: boolean) => void;
7
+ tafFromBackend: TafFromBackend;
8
+ onFormAction?: (action: TafActions, formValues?: BaseTaf) => Promise<boolean>;
9
+ isIssuesPaneOpen?: boolean;
10
+ setIsIssuesPaneOpen?: (isOpen: boolean, position?: IssuesPanePosition) => void;
11
+ onSwitchEditor?: (formValues: TafFromFrontEnd) => Promise<boolean>;
12
+ fetchNewTafList?: () => Promise<TafFromBackend[]>;
13
+ previousTaf?: Taf;
14
+ }
15
+ declare const TafForm: React.FC<TafFormProps>;
16
+ export default TafForm;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,45 +1,45 @@
1
- import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const NewTafFormLight: {
7
- (): React.ReactElement;
8
- tags: string[];
9
- };
10
- export declare const NewTafFormDark: {
11
- (): React.ReactElement;
12
- tags: string[];
13
- };
14
- export declare const EditTafFormLight: {
15
- (): React.ReactElement;
16
- tags: string[];
17
- };
18
- export declare const EditTafFormDark: {
19
- (): React.ReactElement;
20
- tags: string[];
21
- };
22
- export declare const ViewTafFormLight: {
23
- (): React.ReactElement;
24
- tags: string[];
25
- };
26
- export declare const ViewTafFormDark: {
27
- (): React.ReactElement;
28
- tags: string[];
29
- };
30
- export declare const EditTafFormWithMultipleSameStartDatesLight: {
31
- (): React.ReactElement;
32
- tags: string[];
33
- };
34
- export declare const EditTafFormWithMultipleSameStartDatesDark: {
35
- (): React.ReactElement;
36
- tags: string[];
37
- };
38
- export declare const EditTafFormWithFMOverlapLight: {
39
- (): React.ReactElement;
40
- tags: string[];
41
- };
42
- export declare const EditTafFormWithFMOverlapDark: {
43
- (): React.ReactElement;
44
- tags: string[];
45
- };
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const NewTafFormLight: {
7
+ (): React.ReactElement;
8
+ tags: string[];
9
+ };
10
+ export declare const NewTafFormDark: {
11
+ (): React.ReactElement;
12
+ tags: string[];
13
+ };
14
+ export declare const EditTafFormLight: {
15
+ (): React.ReactElement;
16
+ tags: string[];
17
+ };
18
+ export declare const EditTafFormDark: {
19
+ (): React.ReactElement;
20
+ tags: string[];
21
+ };
22
+ export declare const ViewTafFormLight: {
23
+ (): React.ReactElement;
24
+ tags: string[];
25
+ };
26
+ export declare const ViewTafFormDark: {
27
+ (): React.ReactElement;
28
+ tags: string[];
29
+ };
30
+ export declare const EditTafFormWithMultipleSameStartDatesLight: {
31
+ (): React.ReactElement;
32
+ tags: string[];
33
+ };
34
+ export declare const EditTafFormWithMultipleSameStartDatesDark: {
35
+ (): React.ReactElement;
36
+ tags: string[];
37
+ };
38
+ export declare const EditTafFormWithFMOverlapLight: {
39
+ (): React.ReactElement;
40
+ tags: string[];
41
+ };
42
+ export declare const EditTafFormWithFMOverlapDark: {
43
+ (): React.ReactElement;
44
+ tags: string[];
45
+ };
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,12 +1,12 @@
1
- import React from 'react';
2
- import { TafActions, TafCanbe } from '../../../types';
3
- export declare const tafActionToDraftAction: (tafAction: TafActions) => TafActions;
4
- interface TafFormButtonsProps {
5
- isFormDisabled?: boolean;
6
- tafAction?: TafActions;
7
- canBe?: TafCanbe[];
8
- onTafEditModeButtonPress: (action: TafActions) => void;
9
- onTafViewModeButtonPress: (action: TafActions) => void;
10
- }
11
- declare const TafFormButtons: React.FC<TafFormButtonsProps>;
12
- export default TafFormButtons;
1
+ import React from 'react';
2
+ import { TafActions, TafCanbe } from '../../../types';
3
+ export declare const tafActionToDraftAction: (tafAction: TafActions) => TafActions;
4
+ interface TafFormButtonsProps {
5
+ isFormDisabled?: boolean;
6
+ tafAction?: TafActions;
7
+ canBe?: TafCanbe[];
8
+ onTafEditModeButtonPress: (action: TafActions) => void;
9
+ onTafViewModeButtonPress: (action: TafActions) => void;
10
+ }
11
+ declare const TafFormButtons: React.FC<TafFormButtonsProps>;
12
+ export default TafFormButtons;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,11 +1,11 @@
1
- import * as React from 'react';
2
- interface TafFormOptionsButtonProps {
3
- isChangeGroup: boolean;
4
- addChangeGroupBelow: () => void;
5
- addChangeGroupAbove: () => void;
6
- removeChangeGroup: () => void;
7
- clearRow: () => void;
8
- index: number;
9
- }
10
- declare const TafFormOptionsButton: React.FC<TafFormOptionsButtonProps>;
11
- export default TafFormOptionsButton;
1
+ import * as React from 'react';
2
+ interface TafFormOptionsButtonProps {
3
+ isChangeGroup: boolean;
4
+ addChangeGroupBelow: () => void;
5
+ addChangeGroupAbove: () => void;
6
+ removeChangeGroup: () => void;
7
+ clearRow: () => void;
8
+ index: number;
9
+ }
10
+ declare const TafFormOptionsButton: React.FC<TafFormOptionsButtonProps>;
11
+ export default TafFormOptionsButton;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- export interface DragHandleProps {
3
- isSorting?: boolean;
4
- isDisabled?: boolean;
5
- index: number;
6
- }
7
- declare const DragHandle: React.FC<DragHandleProps>;
8
- export default DragHandle;
1
+ import React from 'react';
2
+ export interface DragHandleProps {
3
+ isSorting?: boolean;
4
+ isDisabled?: boolean;
5
+ index: number;
6
+ }
7
+ declare const DragHandle: React.FC<DragHandleProps>;
8
+ export default DragHandle;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TafFormRowProps } from './types';
3
- declare const TafFormRow: React.ForwardRefExoticComponent<Omit<TafFormRowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- export default TafFormRow;
1
+ import React from 'react';
2
+ import { TafFormRowProps } from './types';
3
+ declare const TafFormRow: React.ForwardRefExoticComponent<Omit<TafFormRowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ export default TafFormRow;
@@ -1 +1 @@
1
- export {};
1
+ export {};