@equinor/echo-components 0.11.19 → 0.11.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/echo-components",
3
- "version": "0.11.19",
3
+ "version": "0.11.21",
4
4
  "dependencies": {
5
5
  "chart.js": "4.4.6",
6
6
  "react-datepicker": "7.5.0",
@@ -21,7 +21,6 @@ export * from './iconLink/compactIconLink/CompactIconLink';
21
21
  export * from './iconLink/inlineTagIconLink/InlineTagIconLink';
22
22
  export * from './itemMarker/ItemMarker';
23
23
  export type { ItemMarkerChipProps } from './itemMarker/ItemMarkerChip';
24
- export * from './itemMarker/ItemMarkerExpanded';
25
24
  export * from './itemMarker/ItemMarkerIcon';
26
25
  export * from './itemMarker/MultipleItemMarkers';
27
26
  export * from './itemMarker/utils/itemMarkerUtils';
@@ -36,6 +35,7 @@ export * from './linkIcon/LinkIcon';
36
35
  export * from './listItem';
37
36
  export * from './listRow/ListRow';
38
37
  export * from './markedContent/MarkedContent';
38
+ export * from './mediaViewer/MediaViewer';
39
39
  export * from './multilineTabs/MultilineTabs';
40
40
  export * from './noDataLabel';
41
41
  export * from './notificationListItem/NotificationListItem';
@@ -53,6 +53,7 @@ interface ListItemBaseProps {
53
53
  footer?: React.ReactNode;
54
54
  iconColor?: string;
55
55
  showChevron?: boolean;
56
+ hideBorderBottom?: boolean;
56
57
  }
57
58
  export type ListItemProps = ListItemBaseProps & WithVisualOrIconOptions;
58
59
  declare function ListItem(props: ListItemProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ interface MediaViewerProps {
3
+ title: string;
4
+ fileName?: string;
5
+ description?: string;
6
+ date: string;
7
+ showPrevious: () => void;
8
+ showNext: () => void;
9
+ showPrevIcon: boolean;
10
+ showNextIcon: boolean;
11
+ onClose: () => void;
12
+ open: boolean;
13
+ children: JSX.Element;
14
+ isMobile?: boolean;
15
+ }
16
+ /**
17
+ * Media Viewer - use this viewer to show image or video content
18
+ */
19
+ export declare const MediaViewer: React.FC<React.PropsWithChildren<MediaViewerProps>>;
20
+ export default MediaViewer;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface MediaViewerFooterProps {
3
+ title: string;
4
+ fileName?: string;
5
+ date?: string;
6
+ description?: string;
7
+ }
8
+ export declare const MediaViewerFooter: React.FC<React.PropsWithChildren<MediaViewerFooterProps>>;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ type Direction = 'previous' | 'next';
2
+ interface NavigationButtonProps {
3
+ direction: Direction;
4
+ onClick: () => void;
5
+ disabled?: boolean;
6
+ }
7
+ export declare const NavigationButton: React.FC<NavigationButtonProps>;
8
+ export {};
@@ -5,3 +5,8 @@ export declare const robim_external_timp_text: IconData;
5
5
  export declare const robim_external_iwit: IconData;
6
6
  export declare const robim_external_methane_sensor: IconData;
7
7
  export declare const robim_external_satellite: IconData;
8
+ export declare const robim_external_timp_subsea: IconData;
9
+ export declare const robim_external_timp_ps: IconData;
10
+ export declare const robim_external_timp_system: IconData;
11
+ export declare const robim_external_timp_discipline: IconData;
12
+ export declare const robim_external_timp_indicator: IconData;
@@ -97,9 +97,9 @@ export declare const themeConst: {
97
97
  locations: string;
98
98
  ofpDark: string;
99
99
  ofpLight: string;
100
- readonly onwatch: string;
101
- readonly inprogress: string;
102
- readonly annotationerror: string;
100
+ readonly onWatch: string;
101
+ readonly inProgress: string;
102
+ readonly iocAnnotationError: string;
103
103
  blueOvercast: string;
104
104
  readonly warningText: string;
105
105
  readonly warningIcon: string;
@@ -10,19 +10,44 @@ export interface WorkOrderItem {
10
10
  orderType: string;
11
11
  isActive: boolean;
12
12
  requiredEndDateTime?: Date;
13
+ requiredEndDateStatus?: string;
14
+ requiredEndDateStatusDescription?: string;
13
15
  maintenancePlanDate?: Date;
14
16
  planningPlant?: string;
17
+ planningPlantId?: string;
18
+ basicFinishDateTime?: Date;
19
+ basicFinishDateStatus?: string;
20
+ basicFinishDateStatusDescription?: string;
21
+ earlyStartDate?: Date;
22
+ earlyFinishDate?: Date;
15
23
  description?: string;
24
+ title?: string;
16
25
  workCenter?: string;
17
26
  workCenterId?: string;
18
- requiredEndDateStatus?: string;
19
27
  operationId?: string;
20
- earlyStartDate?: Date;
21
- earlyFinishDate?: Date;
22
- basicFinishDateStatus?: string;
23
- basicFinishDateTime?: Date;
24
28
  sortField?: string;
25
29
  hasPrts?: boolean;
26
30
  recordTypeIds?: string[];
27
31
  hasB30Document?: boolean;
32
+ activeStatusIds?: string;
33
+ userStatus?: string;
34
+ tag?: {
35
+ functionalLocationId?: string;
36
+ tagId?: string;
37
+ plantId?: string;
38
+ categoryId?: string;
39
+ category?: string;
40
+ instCode?: string;
41
+ };
42
+ plannerGroupId?: string;
43
+ plantId?: string;
44
+ instCode?: string;
45
+ functionalLocationId?: string;
46
+ tagPlantId?: string;
47
+ tagId?: string;
48
+ tagCategory?: string;
49
+ tagCategoryId?: string;
50
+ mapLocationId?: string;
51
+ maintenancePlantId?: string;
52
+ maintenancePlant?: string;
28
53
  }
@@ -1,7 +0,0 @@
1
- interface ItemMarkerExpandedProps {
2
- title: string;
3
- description: string;
4
- onClick?: () => void;
5
- }
6
- export declare const ItemMarkerExpanded: ({ title, description, onClick }: ItemMarkerExpandedProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};