@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.
- package/index.esm.js +188 -180
- package/package.json +1 -1
- package/src/index.d.ts +8 -8
- package/src/lib/TafDemo.stories.d.ts +23 -23
- package/src/lib/components/ComponentsLookUp/ComponentsLookUp.d.ts +32 -32
- package/src/lib/components/ComponentsLookUp/ComponentsLookUp.spec.d.ts +1 -1
- package/src/lib/components/ComponentsLookUp/index.d.ts +1 -1
- package/src/lib/components/IssuesPane/IssuesButton.d.ts +10 -10
- package/src/lib/components/IssuesPane/IssuesButton.spec.d.ts +1 -1
- package/src/lib/components/IssuesPane/IssuesPane.d.ts +14 -14
- package/src/lib/components/IssuesPane/IssuesPane.spec.d.ts +1 -1
- package/src/lib/components/IssuesPane/IssuesPane.stories.d.ts +17 -17
- package/src/lib/components/IssuesPane/IssuesPaneWrapper.d.ts +4 -4
- package/src/lib/components/IssuesPane/IssuesPaneWrapper.spec.d.ts +1 -1
- package/src/lib/components/IssuesPane/index.d.ts +2 -2
- package/src/lib/components/IssuesPane/types.d.ts +16 -16
- package/src/lib/components/IssuesPane/utils.d.ts +8 -8
- package/src/lib/components/IssuesPane/utils.spec.d.ts +1 -1
- package/src/lib/components/Providers/Providers.d.ts +19 -19
- package/src/lib/components/Providers/index.d.ts +1 -1
- package/src/lib/components/ResponsiveWrapper/ResponsiveWrapper.d.ts +4 -4
- package/src/lib/components/ResponsiveWrapper/ResponsiveWrapper.spec.d.ts +1 -1
- package/src/lib/components/Spinner/Spinner.d.ts +4 -4
- package/src/lib/components/Spinner/Spinner.spec.d.ts +1 -1
- package/src/lib/components/Spinner/Spinner.stories.d.ts +6 -6
- package/src/lib/components/StatusIcon/StatusIcon.d.ts +8 -8
- package/src/lib/components/StatusIcon/StatusIcon.spec.d.ts +1 -1
- package/src/lib/components/TabPanel/TabPanel.d.ts +8 -8
- package/src/lib/components/TabPanel/TabPanel.spec.d.ts +1 -1
- package/src/lib/components/TabPanel/index.d.ts +1 -1
- package/src/lib/components/TafAvatar/TafAvatar.d.ts +8 -8
- package/src/lib/components/TafAvatar/index.d.ts +1 -1
- package/src/lib/components/TafForm/TafForm.d.ts +16 -16
- package/src/lib/components/TafForm/TafForm.editor.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafForm.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafForm.statusChanges.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafForm.stories.d.ts +45 -45
- package/src/lib/components/TafForm/TafForm.validations.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormButtons/TafFormButtons.d.ts +12 -12
- package/src/lib/components/TafForm/TafFormButtons/TafFormButtons.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.d.ts +11 -11
- package/src/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/DragHandle.d.ts +8 -8
- package/src/lib/components/TafForm/TafFormRow/DragHandle.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/TafFormRow.d.ts +4 -4
- package/src/lib/components/TafForm/TafFormRow/TafFormRow.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/TafFormTextField.d.ts +26 -26
- package/src/lib/components/TafForm/TafFormRow/TafFormTextField.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/types.d.ts +32 -32
- package/src/lib/components/TafForm/TafFormRow/validations/change.d.ts +4 -4
- package/src/lib/components/TafForm/TafFormRow/validations/change.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/validations/clouds.d.ts +34 -34
- package/src/lib/components/TafForm/TafFormRow/validations/clouds.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/validations/probability.d.ts +2 -2
- package/src/lib/components/TafForm/TafFormRow/validations/probability.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/validations/utils.d.ts +2 -2
- package/src/lib/components/TafForm/TafFormRow/validations/utils.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/validations/validField.d.ts +21 -21
- package/src/lib/components/TafForm/TafFormRow/validations/validField.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/validations/visibility.d.ts +12 -12
- package/src/lib/components/TafForm/TafFormRow/validations/visibility.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/validations/weather.d.ts +15 -15
- package/src/lib/components/TafForm/TafFormRow/validations/weather.spec.d.ts +1 -1
- package/src/lib/components/TafForm/TafFormRow/validations/wind.d.ts +16 -16
- package/src/lib/components/TafForm/TafFormRow/validations/wind.spec.d.ts +1 -1
- package/src/lib/components/TafForm/index.d.ts +1 -1
- package/src/lib/components/TafForm/utils.d.ts +74 -74
- package/src/lib/components/TafForm/utils.spec.d.ts +1 -1
- package/src/lib/components/TafHeader/TafHeader.d.ts +8 -8
- package/src/lib/components/TafHeader/TafHeader.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/LocationTabs/LocationTabs.d.ts +10 -10
- package/src/lib/components/TafLayout/LocationTabs/LocationTabs.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/LocationTabs/LocationTabs.stories.d.ts +13 -13
- package/src/lib/components/TafLayout/LocationTabs/index.d.ts +1 -1
- package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.d.ts +8 -8
- package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.stories.d.ts +25 -25
- package/src/lib/components/TafLayout/TacOverview/ExportButton.d.ts +7 -7
- package/src/lib/components/TafLayout/TacOverview/ExportButton.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TacOverview/TacContainer.d.ts +9 -9
- package/src/lib/components/TafLayout/TacOverview/TacContainer.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TacOverview/TacOverview.d.ts +12 -12
- package/src/lib/components/TafLayout/TacOverview/TacOverview.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TacOverview/TacOverview.stories.d.ts +23 -23
- package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.d.ts +11 -11
- package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.stories.d.ts +23 -23
- package/src/lib/components/TafLayout/TacOverview/index.d.ts +2 -2
- package/src/lib/components/TafLayout/TafLayout.d.ts +16 -16
- package/src/lib/components/TafLayout/TafLayout.issuespane.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TafLayout.snackbar.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TafLayout.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TafLayout.stories.d.ts +15 -15
- package/src/lib/components/TafLayout/TafLayout.tacoverview.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TafPanel/TafPanel.d.ts +35 -35
- package/src/lib/components/TafLayout/TafPanel/TafPanel.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TafPanel/TafPanel.stories.d.ts +22 -22
- package/src/lib/components/TafLayout/TafPanel/index.d.ts +1 -1
- package/src/lib/components/TafLayout/TopTabs/TopTabs.d.ts +10 -10
- package/src/lib/components/TafLayout/TopTabs/TopTabs.spec.d.ts +1 -1
- package/src/lib/components/TafLayout/TopTabs/TopTabs.stories.d.ts +13 -13
- package/src/lib/components/TafLayout/TopTabs/index.d.ts +1 -1
- package/src/lib/components/TafLayout/utils.d.ts +23 -23
- package/src/lib/components/TafLayout/utils.spec.d.ts +1 -1
- package/src/lib/components/TafModule/TafModule.d.ts +5 -5
- package/src/lib/components/TafModule/TafModule.spec.d.ts +1 -1
- package/src/lib/components/TafModule/TafModule.stories.d.ts +28 -28
- package/src/lib/components/TafModule/TafModuleProvider.d.ts +23 -23
- package/src/lib/components/TafModule/index.d.ts +1 -1
- package/src/lib/components/TafWrapper/TafWrapper.d.ts +4 -4
- package/src/lib/components/TafWrapper/TafWrapper.spec.d.ts +1 -1
- package/src/lib/components/TafWrapper/index.d.ts +1 -1
- package/src/lib/types.d.ts +158 -158
- package/src/lib/utils/__mocks__/api.d.ts +15 -15
- package/src/lib/utils/api.d.ts +13 -13
- package/src/lib/utils/api.spec.d.ts +1 -1
- package/src/lib/utils/dateFormats.d.ts +2 -2
- package/src/lib/utils/fakeApi.d.ts +3 -3
- package/src/lib/utils/fakeApi.spec.d.ts +1 -1
- package/src/lib/utils/i18n.d.ts +6 -6
- package/src/lib/utils/mockdata/fakeTafList.d.ts +25 -25
- package/src/lib/utils/weatherPhenomena.d.ts +422 -422
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const LocationTabsLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const LocationTabsDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const LocationTabsLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const LocationTabsDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as LocationTabs } from './LocationTabs';
|
|
1
|
+
export { default as LocationTabs } from './LocationTabs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AdverseWeatherTAC } from '../../../types';
|
|
3
|
-
interface AdverseWeatherTACProps {
|
|
4
|
-
TAC: AdverseWeatherTAC;
|
|
5
|
-
isActive: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const AdverseWeatherTACMessage: React.FC<AdverseWeatherTACProps>;
|
|
8
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AdverseWeatherTAC } from '../../../types';
|
|
3
|
+
interface AdverseWeatherTACProps {
|
|
4
|
+
TAC: AdverseWeatherTAC;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const AdverseWeatherTACMessage: React.FC<AdverseWeatherTACProps>;
|
|
8
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const TacContainerLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
storyName: string;
|
|
9
|
-
parameters: {
|
|
10
|
-
zeplinLink: {
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const TacContainerDark: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
storyName: string;
|
|
19
|
-
parameters: {
|
|
20
|
-
zeplinLink: {
|
|
21
|
-
name: string;
|
|
22
|
-
link: string;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const TacContainerLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
parameters: {
|
|
10
|
+
zeplinLink: {
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const TacContainerDark: {
|
|
17
|
+
(): React.ReactElement;
|
|
18
|
+
storyName: string;
|
|
19
|
+
parameters: {
|
|
20
|
+
zeplinLink: {
|
|
21
|
+
name: string;
|
|
22
|
+
link: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ExportButtonProps {
|
|
3
|
-
onClick: () => void;
|
|
4
|
-
isHidden: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const ExportButton: React.FC<ExportButtonProps>;
|
|
7
|
-
export default ExportButton;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ExportButtonProps {
|
|
3
|
+
onClick: () => void;
|
|
4
|
+
isHidden: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const ExportButton: React.FC<ExportButtonProps>;
|
|
7
|
+
export default ExportButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Taf } from '../../../types';
|
|
3
|
-
interface TacContainerProps {
|
|
4
|
-
taf: Taf;
|
|
5
|
-
isActive?: boolean;
|
|
6
|
-
isFormDisabled?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const TacContainer: React.FC<TacContainerProps>;
|
|
9
|
-
export default TacContainer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Taf } from '../../../types';
|
|
3
|
+
interface TacContainerProps {
|
|
4
|
+
taf: Taf;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
isFormDisabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const TacContainer: React.FC<TacContainerProps>;
|
|
9
|
+
export default TacContainer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TafFromBackend } from '../../../types';
|
|
3
|
-
interface TacOverviewProps {
|
|
4
|
-
upcomingTafs: TafFromBackend[];
|
|
5
|
-
currentTafs: TafFromBackend[];
|
|
6
|
-
expiredTafs: TafFromBackend[];
|
|
7
|
-
hideTitle?: boolean;
|
|
8
|
-
activeTaf?: TafFromBackend;
|
|
9
|
-
isFormDisabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const TacOverview: React.FC<TacOverviewProps>;
|
|
12
|
-
export default TacOverview;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TafFromBackend } from '../../../types';
|
|
3
|
+
interface TacOverviewProps {
|
|
4
|
+
upcomingTafs: TafFromBackend[];
|
|
5
|
+
currentTafs: TafFromBackend[];
|
|
6
|
+
expiredTafs: TafFromBackend[];
|
|
7
|
+
hideTitle?: boolean;
|
|
8
|
+
activeTaf?: TafFromBackend;
|
|
9
|
+
isFormDisabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const TacOverview: React.FC<TacOverviewProps>;
|
|
12
|
+
export default TacOverview;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const TacOverviewWithError: () => React.ReactElement;
|
|
7
|
-
export declare const TacOverviewWithDifferentTAC: () => React.ReactElement;
|
|
8
|
-
export declare const TacOverviewAdverseWeatherLight: {
|
|
9
|
-
(): React.ReactElement;
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
12
|
-
export declare const TacOverviewAdverseWeatherDark: {
|
|
13
|
-
(): React.ReactElement;
|
|
14
|
-
tags: string[];
|
|
15
|
-
};
|
|
16
|
-
export declare const TacOverviewLightTheme: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
storyName: string;
|
|
19
|
-
};
|
|
20
|
-
export declare const TacOverviewDarkTheme: {
|
|
21
|
-
(): React.ReactElement;
|
|
22
|
-
storyName: string;
|
|
23
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const TacOverviewWithError: () => React.ReactElement;
|
|
7
|
+
export declare const TacOverviewWithDifferentTAC: () => React.ReactElement;
|
|
8
|
+
export declare const TacOverviewAdverseWeatherLight: {
|
|
9
|
+
(): React.ReactElement;
|
|
10
|
+
tags: string[];
|
|
11
|
+
};
|
|
12
|
+
export declare const TacOverviewAdverseWeatherDark: {
|
|
13
|
+
(): React.ReactElement;
|
|
14
|
+
tags: string[];
|
|
15
|
+
};
|
|
16
|
+
export declare const TacOverviewLightTheme: {
|
|
17
|
+
(): React.ReactElement;
|
|
18
|
+
storyName: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const TacOverviewDarkTheme: {
|
|
21
|
+
(): React.ReactElement;
|
|
22
|
+
storyName: string;
|
|
23
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TafFromBackend } from '../../../types';
|
|
3
|
-
interface TacOverviewMobileProps {
|
|
4
|
-
upcomingTafs: TafFromBackend[];
|
|
5
|
-
currentTafs: TafFromBackend[];
|
|
6
|
-
expiredTafs: TafFromBackend[];
|
|
7
|
-
activeTaf?: TafFromBackend;
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const TacOverviewMobile: React.FC<TacOverviewMobileProps>;
|
|
11
|
-
export default TacOverviewMobile;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TafFromBackend } from '../../../types';
|
|
3
|
+
interface TacOverviewMobileProps {
|
|
4
|
+
upcomingTafs: TafFromBackend[];
|
|
5
|
+
currentTafs: TafFromBackend[];
|
|
6
|
+
expiredTafs: TafFromBackend[];
|
|
7
|
+
activeTaf?: TafFromBackend;
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const TacOverviewMobile: React.FC<TacOverviewMobileProps>;
|
|
11
|
+
export default TacOverviewMobile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const TacOverviewMobileLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
parameters: {
|
|
10
|
-
viewport: {
|
|
11
|
-
defaultViewport: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const TacOverviewMobileDark: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
tags: string[];
|
|
18
|
-
parameters: {
|
|
19
|
-
viewport: {
|
|
20
|
-
defaultViewport: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const TacOverviewMobileLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
viewport: {
|
|
11
|
+
defaultViewport: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const TacOverviewMobileDark: {
|
|
16
|
+
(): React.ReactElement;
|
|
17
|
+
tags: string[];
|
|
18
|
+
parameters: {
|
|
19
|
+
viewport: {
|
|
20
|
+
defaultViewport: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as TacOverview } from './TacOverview';
|
|
2
|
-
export { default as TacOverviewMobile } from './TacOverviewMobile';
|
|
1
|
+
export { default as TacOverview } from './TacOverview';
|
|
2
|
+
export { default as TacOverviewMobile } from './TacOverviewMobile';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TFunction } from 'i18next';
|
|
3
|
-
import { TafFromBackend, TafFromFrontEnd, Taf } from '../../types';
|
|
4
|
-
export declare const getTafMessageContent: ({ location, validDateStart, messageType, }: Taf) => {
|
|
5
|
-
location: string;
|
|
6
|
-
formattedDate: string;
|
|
7
|
-
messageType: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const getSnackbarMessage: (tafFromFrontEnd: TafFromFrontEnd, isAutoSaved: boolean, t: TFunction) => string;
|
|
10
|
-
interface TafLayoutProps {
|
|
11
|
-
tafList: TafFromBackend[];
|
|
12
|
-
onUpdateTaf: () => Promise<TafFromBackend[]>;
|
|
13
|
-
lastUpdateTime?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const TafLayout: React.FC<TafLayoutProps>;
|
|
16
|
-
export default TafLayout;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { TafFromBackend, TafFromFrontEnd, Taf } from '../../types';
|
|
4
|
+
export declare const getTafMessageContent: ({ location, validDateStart, messageType, }: Taf) => {
|
|
5
|
+
location: string;
|
|
6
|
+
formattedDate: string;
|
|
7
|
+
messageType: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const getSnackbarMessage: (tafFromFrontEnd: TafFromFrontEnd, isAutoSaved: boolean, t: TFunction) => string;
|
|
10
|
+
interface TafLayoutProps {
|
|
11
|
+
tafList: TafFromBackend[];
|
|
12
|
+
onUpdateTaf: () => Promise<TafFromBackend[]>;
|
|
13
|
+
lastUpdateTime?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const TafLayout: React.FC<TafLayoutProps>;
|
|
16
|
+
export default TafLayout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const DemoTafLayoutLightTheme: () => React.ReactElement;
|
|
7
|
-
export declare const DemoTafLayoutDarkTheme: () => React.ReactElement;
|
|
8
|
-
export declare const TafLayoutLight: {
|
|
9
|
-
(): React.ReactElement;
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
12
|
-
export declare const TafLayoutDark: {
|
|
13
|
-
(): React.ReactElement;
|
|
14
|
-
tags: string[];
|
|
15
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const DemoTafLayoutLightTheme: () => React.ReactElement;
|
|
7
|
+
export declare const DemoTafLayoutDarkTheme: () => React.ReactElement;
|
|
8
|
+
export declare const TafLayoutLight: {
|
|
9
|
+
(): React.ReactElement;
|
|
10
|
+
tags: string[];
|
|
11
|
+
};
|
|
12
|
+
export declare const TafLayoutDark: {
|
|
13
|
+
(): React.ReactElement;
|
|
14
|
+
tags: string[];
|
|
15
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TafFromBackend, Taf, TafActions, TafStatus, TafFromFrontEnd } from '../../../types';
|
|
3
|
-
import { IssuesPanePosition } from '../../IssuesPane/types';
|
|
4
|
-
export declare const fromActionToStatus: (tafAction: TafActions) => TafStatus;
|
|
5
|
-
export interface TafError {
|
|
6
|
-
type: 'CANCELLED' | 'SERVER' | 'WARNING';
|
|
7
|
-
title: string;
|
|
8
|
-
message?: string;
|
|
9
|
-
testId?: string;
|
|
10
|
-
}
|
|
11
|
-
interface TafPanelProps {
|
|
12
|
-
tafFromBackend: TafFromBackend;
|
|
13
|
-
activeTafIndex: number;
|
|
14
|
-
index: number;
|
|
15
|
-
isLoading?: boolean;
|
|
16
|
-
postTaf?: (taf: TafFromFrontEnd) => Promise<void>;
|
|
17
|
-
patchTaf?: (taf: TafFromFrontEnd) => Promise<boolean>;
|
|
18
|
-
isIssuesPaneOpen?: boolean;
|
|
19
|
-
setIsIssuesPaneOpen?: (isOpen: boolean, position?: IssuesPanePosition) => void;
|
|
20
|
-
isFormDisabled?: boolean;
|
|
21
|
-
setIsFormDisabled?: (isDisabled: boolean) => void;
|
|
22
|
-
error?: TafError;
|
|
23
|
-
fetchNewTafList?: () => Promise<TafFromBackend[]>;
|
|
24
|
-
previousTaf: Taf;
|
|
25
|
-
tafAction: TafActions;
|
|
26
|
-
}
|
|
27
|
-
export declare const isWarning: (error: TafError) => boolean;
|
|
28
|
-
export declare const usePostTafRequest: (request: (params?: unknown) => Promise<void>) => {
|
|
29
|
-
isLoading: boolean;
|
|
30
|
-
error: TafError | undefined;
|
|
31
|
-
setError: (newError: TafError) => void;
|
|
32
|
-
doRequest: (params?: TafFromFrontEnd) => Promise<void>;
|
|
33
|
-
};
|
|
34
|
-
declare const TafPanel: React.FC<TafPanelProps>;
|
|
35
|
-
export default TafPanel;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TafFromBackend, Taf, TafActions, TafStatus, TafFromFrontEnd } from '../../../types';
|
|
3
|
+
import { IssuesPanePosition } from '../../IssuesPane/types';
|
|
4
|
+
export declare const fromActionToStatus: (tafAction: TafActions) => TafStatus;
|
|
5
|
+
export interface TafError {
|
|
6
|
+
type: 'CANCELLED' | 'SERVER' | 'WARNING';
|
|
7
|
+
title: string;
|
|
8
|
+
message?: string;
|
|
9
|
+
testId?: string;
|
|
10
|
+
}
|
|
11
|
+
interface TafPanelProps {
|
|
12
|
+
tafFromBackend: TafFromBackend;
|
|
13
|
+
activeTafIndex: number;
|
|
14
|
+
index: number;
|
|
15
|
+
isLoading?: boolean;
|
|
16
|
+
postTaf?: (taf: TafFromFrontEnd) => Promise<void>;
|
|
17
|
+
patchTaf?: (taf: TafFromFrontEnd) => Promise<boolean>;
|
|
18
|
+
isIssuesPaneOpen?: boolean;
|
|
19
|
+
setIsIssuesPaneOpen?: (isOpen: boolean, position?: IssuesPanePosition) => void;
|
|
20
|
+
isFormDisabled?: boolean;
|
|
21
|
+
setIsFormDisabled?: (isDisabled: boolean) => void;
|
|
22
|
+
error?: TafError;
|
|
23
|
+
fetchNewTafList?: () => Promise<TafFromBackend[]>;
|
|
24
|
+
previousTaf: Taf;
|
|
25
|
+
tafAction: TafActions;
|
|
26
|
+
}
|
|
27
|
+
export declare const isWarning: (error: TafError) => boolean;
|
|
28
|
+
export declare const usePostTafRequest: (request: (params?: unknown) => Promise<void>) => {
|
|
29
|
+
isLoading: boolean;
|
|
30
|
+
error: TafError | undefined;
|
|
31
|
+
setError: (newError: TafError) => void;
|
|
32
|
+
doRequest: (params?: TafFromFrontEnd) => Promise<void>;
|
|
33
|
+
};
|
|
34
|
+
declare const TafPanel: React.FC<TafPanelProps>;
|
|
35
|
+
export default TafPanel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const TafPanelSaveErrorLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const TafPanelSaveErrorDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
14
|
-
export declare const TafPanelTakeOverErrorLight: {
|
|
15
|
-
(): React.ReactElement;
|
|
16
|
-
tags: string[];
|
|
17
|
-
};
|
|
18
|
-
export declare const TafPanelTakeOverErrorDark: {
|
|
19
|
-
(): React.ReactElement;
|
|
20
|
-
tags: string[];
|
|
21
|
-
};
|
|
22
|
-
export declare const TafPanelMultipleRowsWithSameDates: () => React.ReactElement;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const TafPanelSaveErrorLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const TafPanelSaveErrorDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
14
|
+
export declare const TafPanelTakeOverErrorLight: {
|
|
15
|
+
(): React.ReactElement;
|
|
16
|
+
tags: string[];
|
|
17
|
+
};
|
|
18
|
+
export declare const TafPanelTakeOverErrorDark: {
|
|
19
|
+
(): React.ReactElement;
|
|
20
|
+
tags: string[];
|
|
21
|
+
};
|
|
22
|
+
export declare const TafPanelMultipleRowsWithSameDates: () => React.ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as TafPanel } from './TafPanel';
|
|
1
|
+
export { default as TafPanel } from './TafPanel';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TafFromBackend, TimeSlot } from '../../../types';
|
|
3
|
-
interface TopTabsProps {
|
|
4
|
-
timeSlot: TimeSlot;
|
|
5
|
-
tafFromBackend: TafFromBackend;
|
|
6
|
-
onChangeTimeSlot?: (timeSlot: TimeSlot, isFormDirty: boolean) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const formatBaseTime: (time: Date) => string;
|
|
9
|
-
declare const TopTabs: React.FC<TopTabsProps>;
|
|
10
|
-
export default TopTabs;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TafFromBackend, TimeSlot } from '../../../types';
|
|
3
|
+
interface TopTabsProps {
|
|
4
|
+
timeSlot: TimeSlot;
|
|
5
|
+
tafFromBackend: TafFromBackend;
|
|
6
|
+
onChangeTimeSlot?: (timeSlot: TimeSlot, isFormDirty: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const formatBaseTime: (time: Date) => string;
|
|
9
|
+
declare const TopTabs: React.FC<TopTabsProps>;
|
|
10
|
+
export default TopTabs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const TopTabsLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const TopTabsDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const TopTabsLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const TopTabsDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as TopTabs } from './TopTabs';
|
|
1
|
+
export { default as TopTabs } from './TopTabs';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Taf, TafConfigLocation, TafConfigLocations, TafFormData, TafFromBackend, TafStatus, TimeSlot } from '../../types';
|
|
2
|
-
export declare const getLocationSetting: (location: string, locationSettings?: TafConfigLocations) => TafConfigLocation;
|
|
3
|
-
export declare const sortTafsOnLocation: (tafList?: TafFromBackend[], locationOrder?: string[]) => TafFromBackend[];
|
|
4
|
-
export declare const sortTafsOnIssueDate: (tafList?: TafFromBackend[]) => TafFromBackend[];
|
|
5
|
-
export declare const getBaseTime: (baseTime: string, location: string) => {
|
|
6
|
-
currentBaseTime: Date;
|
|
7
|
-
nextBaseTime: Date;
|
|
8
|
-
};
|
|
9
|
-
export declare const getTafTimeSlot: (baseTime: string, location: string, status: TafStatus) => TimeSlot;
|
|
10
|
-
interface TafTimeSlots {
|
|
11
|
-
current: TafFromBackend[];
|
|
12
|
-
upcoming: TafFromBackend[];
|
|
13
|
-
expired: TafFromBackend[];
|
|
14
|
-
}
|
|
15
|
-
export declare const sortTafTimeSlots: (tafList: TafFromBackend[]) => TafTimeSlots;
|
|
16
|
-
export declare const muiTabA11yProps: (index: number) => {
|
|
17
|
-
id: string;
|
|
18
|
-
'aria-controls': string;
|
|
19
|
-
};
|
|
20
|
-
export declare const prepareTafExportValues: (tafToCopy: Taf, currentTaf: TafFormData) => TafFormData;
|
|
21
|
-
export declare const getNewTafLocationIndex: (tafLocations: TafFromBackend[], previousTafLocationUUID: string) => number;
|
|
22
|
-
export declare const getPreviousTaf: (tafList: TafFromBackend[], currentTaf: TafFromBackend) => Taf;
|
|
23
|
-
export {};
|
|
1
|
+
import { Taf, TafConfigLocation, TafConfigLocations, TafFormData, TafFromBackend, TafStatus, TimeSlot } from '../../types';
|
|
2
|
+
export declare const getLocationSetting: (location: string, locationSettings?: TafConfigLocations) => TafConfigLocation;
|
|
3
|
+
export declare const sortTafsOnLocation: (tafList?: TafFromBackend[], locationOrder?: string[]) => TafFromBackend[];
|
|
4
|
+
export declare const sortTafsOnIssueDate: (tafList?: TafFromBackend[]) => TafFromBackend[];
|
|
5
|
+
export declare const getBaseTime: (baseTime: string, location: string) => {
|
|
6
|
+
currentBaseTime: Date;
|
|
7
|
+
nextBaseTime: Date;
|
|
8
|
+
};
|
|
9
|
+
export declare const getTafTimeSlot: (baseTime: string, location: string, status: TafStatus) => TimeSlot;
|
|
10
|
+
interface TafTimeSlots {
|
|
11
|
+
current: TafFromBackend[];
|
|
12
|
+
upcoming: TafFromBackend[];
|
|
13
|
+
expired: TafFromBackend[];
|
|
14
|
+
}
|
|
15
|
+
export declare const sortTafTimeSlots: (tafList: TafFromBackend[]) => TafTimeSlots;
|
|
16
|
+
export declare const muiTabA11yProps: (index: number) => {
|
|
17
|
+
id: string;
|
|
18
|
+
'aria-controls': string;
|
|
19
|
+
};
|
|
20
|
+
export declare const prepareTafExportValues: (tafToCopy: Taf, currentTaf: TafFormData) => TafFormData;
|
|
21
|
+
export declare const getNewTafLocationIndex: (tafLocations: TafFromBackend[], previousTafLocationUUID: string) => number;
|
|
22
|
+
export declare const getPreviousTaf: (tafList: TafFromBackend[], currentTaf: TafFromBackend) => Taf;
|
|
23
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TafModuleProviderProps } from './TafModuleProvider';
|
|
3
|
-
export declare const getCurrentDate: () => string;
|
|
4
|
-
declare const Wrapper: React.FC<TafModuleProviderProps>;
|
|
5
|
-
export default Wrapper;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TafModuleProviderProps } from './TafModuleProvider';
|
|
3
|
+
export declare const getCurrentDate: () => string;
|
|
4
|
+
declare const Wrapper: React.FC<TafModuleProviderProps>;
|
|
5
|
+
export default Wrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|