@equinor/echo-framework 0.24.2-beta-0 → 0.25.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 (39) hide show
  1. package/{f4c85313e79b1662.svg → 1bd97dd2170d0f64.svg} +850 -850
  2. package/{063009f06499d102.svg → 47deeba42768c5d1.svg} +8 -8
  3. package/README.md +28 -28
  4. package/index.cjs.d.ts +2 -2
  5. package/index.cjs.js +3 -3
  6. package/package.json +1 -1
  7. package/src/index.d.ts +2 -0
  8. package/src/lib/components/fullScreenButtons/FullScreenModeButton.d.ts +3 -1
  9. package/src/lib/components/plantSelector/plantSelectorHelper.d.ts +0 -1
  10. package/src/lib/components/prepview/workorder/header/mapWorkOrderDetailsToWorkOrderItem.d.ts +2 -2
  11. package/src/lib/components/workOrderListItem/WorkOrderListItem.d.ts +1 -14
  12. package/src/lib/components/workOrderListItem/components/BasicFinishDate.d.ts +2 -0
  13. package/src/lib/components/workOrderListItem/components/ExtraIcons.d.ts +2 -0
  14. package/src/lib/components/workOrderListItem/components/OperationDateRange.d.ts +2 -0
  15. package/src/lib/components/workOrderListItem/components/PM01HeaderData.d.ts +2 -0
  16. package/src/lib/components/workOrderListItem/components/PM02HeaderData.d.ts +2 -0
  17. package/src/lib/components/workOrderListItem/components/WorkOrderHeaderDate.d.ts +2 -0
  18. package/src/lib/components/workOrderListItem/types/types.d.ts +55 -0
  19. package/src/lib/components/workOrderListItem/utils/dates.d.ts +1 -0
  20. package/src/lib/feature/globalSelection/globalSelection.api.d.ts +2 -1
  21. package/src/lib/feature/globalSelection/globalSelectionStore/actions/addItemsToSelectionFactory.d.ts +4 -1
  22. package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStore.types.d.ts +1 -1
  23. package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStore.utils.d.ts +2 -1
  24. package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStoreHelpers.d.ts +0 -5
  25. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/selectionTree.action.types.d.ts +3 -2
  26. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/selectionTree.store.types.d.ts +4 -4
  27. package/src/lib/feature/openItemsIn3d/components/plantNoSelectionDialog/plantNoRadioList.d.ts +9 -0
  28. package/src/lib/feature/openItemsIn3d/{plantNoSelectionDialog.d.ts → components/plantNoSelectionDialog/plantNoSelectionDialog.d.ts} +1 -1
  29. package/src/lib/feature/openItemsIn3d/logic/getPlant.d.ts +3 -0
  30. package/src/lib/feature/workOrder/WorkOrder.d.ts +5 -0
  31. package/src/lib/feature/workOrder/api/api-preview-workOrder.d.ts +6 -0
  32. package/src/lib/feature/workOrder/components/WorkOrderItemDetails.d.ts +6 -0
  33. package/src/lib/feature/workOrder/components/WorkOrderItemHeader.d.ts +10 -0
  34. package/src/lib/feature/workOrder/hooks/useOpenWorkOrder.d.ts +9 -0
  35. package/src/lib/feature/workOrder/hooks/usePrepviewWorkOrder.d.ts +6 -0
  36. package/src/lib/feature/workOrder/types/workOrder.d.ts +48 -0
  37. package/src/lib/feature/workOrder/utils/workOrderUtils.d.ts +3 -0
  38. package/src/lib/services/echopediaAnalyticsModule/echopediaAnalyticsModule.d.ts +1 -0
  39. /package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/{createAddItemsToSelectionTreeFactory.d.ts → addItemsToSelectionTreeFactory.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/echo-framework",
3
- "version": "0.24.2-beta-0",
3
+ "version": "0.25.0",
4
4
  "peerDependencies": {
5
5
  "@equinor/echo-base": ">= 0.7.5 < 0.8.0",
6
6
  "@equinor/echo-components": ">= 0.12.4 < 0.13.0",
package/src/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export { useFetchPlantInfo } from './lib/components/requestAccess/hooks/fetchPla
9
9
  export { RequestProCoSysAccess } from './lib/components/requestAccess/RequestProCoSysAccess';
10
10
  export { RequestSapAccess } from './lib/components/requestAccess/RequestSapAccess';
11
11
  export { WorkOrderListItem } from './lib/components/workOrderListItem';
12
+ export type { WorkOrderListItemData } from './lib/components/workOrderListItem/types/types';
12
13
  export * from './lib/coreApplication';
13
14
  export { fetchEquipmentFromApi } from './lib/feature/equipment/api/api-equipmentWithMeasuringPoints';
14
15
  export * from './lib/feature/equipment/index';
@@ -27,6 +28,7 @@ export * from './lib/feature/measuringPoint/index';
27
28
  export * from './lib/feature/measuringPoint/types/measuringPoint';
28
29
  export * from './lib/feature/openItemsIn3d';
29
30
  export { createEcho3dInternalLink } from './lib/feature/openItemsIn3d/logic/createEcho3dInternalLink';
31
+ export { useOpenWorkOrder } from './lib/feature/workOrder/hooks/useOpenWorkOrder';
30
32
  export { WorkOrderContent } from './lib/feature/workOrder/WorkOrderContent';
31
33
  export { RegisteredHookName } from './lib/hooks/hookLibrary';
32
34
  export { useCloseActiveTopMenuAtBreakPoint } from './lib/hooks/useCloseActiveTopMenuAtBreakPoint';
@@ -1,2 +1,4 @@
1
1
  import React from 'react';
2
- export declare const FullScreenModeButton: React.FC;
2
+ export declare const FullScreenModeButton: React.FC<{
3
+ toolTipDisabled?: boolean;
4
+ }>;
@@ -2,4 +2,3 @@ import { Plant } from '@equinor/echo-core';
2
2
  export type MinimalPlant = Pick<Plant, 'instCode' | 'description' | 'sapPlantId'>;
3
3
  export declare function filterPlant(plant: MinimalPlant, inputValue: string): boolean;
4
4
  export declare function formatPlantOptionText(plantName: string, plantId: string | null): string;
5
- export declare function handleAutoSelectOnFocus(autocompleteRef: React.RefObject<HTMLDivElement>): void;
@@ -1,3 +1,3 @@
1
- import { WorkOrderItem } from '@equinor/echo-components';
1
+ import { WorkOrderListItemData } from '../../../workOrderListItem/types/types';
2
2
  import { WorkOrderDetails } from '../../types';
3
- export declare function mapWorkOrderDetailsToWorkOrderItem(details: WorkOrderDetails): WorkOrderItem;
3
+ export declare function mapWorkOrderDetailsToWorkOrderItem(details: WorkOrderDetails): WorkOrderListItemData;
@@ -1,16 +1,3 @@
1
- import React from 'react';
2
- import { ColorMap, WorkOrderDateType, WorkOrderItem } from '@equinor/echo-components';
3
- export interface WorkOrderListItemProps {
4
- workOrder: WorkOrderItem;
5
- onCardClick?: () => void;
6
- itemAction?: React.ReactNode;
7
- isHeader?: boolean;
8
- colorMap?: ColorMap;
9
- iconName?: string;
10
- workOrderDateType?: WorkOrderDateType;
11
- className?: string;
12
- cardClassName?: string;
13
- footer?: React.ReactNode;
14
- }
1
+ import { WorkOrderListItemProps } from './types/types';
15
2
  declare function WorkOrderListItem(props: Readonly<WorkOrderListItemProps>): import("react/jsx-runtime").JSX.Element;
16
3
  export { WorkOrderListItem };
@@ -0,0 +1,2 @@
1
+ import { BasicFinishDateProps } from '../types/types';
2
+ export declare function BasicFinishDate(props: Readonly<BasicFinishDateProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ExtraIconsProps } from '../types/types';
2
+ export declare function ExtraIcons(props: Readonly<ExtraIconsProps>): import("react/jsx-runtime").JSX.Element | undefined;
@@ -0,0 +1,2 @@
1
+ import { OperationDateRangeProps } from '../types/types';
2
+ export declare function OperationDateRange(props: Readonly<OperationDateRangeProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { PM01HeaderDataProps } from '../types/types';
2
+ export declare function PM01HeaderData(props: Readonly<PM01HeaderDataProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { PM02HeaderDataProps } from '../types/types';
2
+ export declare function PM02HeaderData(props: Readonly<PM02HeaderDataProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { WorkOrderListItemProps } from '../types/types';
2
+ export declare function WorkOrderHeaderDate({ workOrder, workOrderDateType }: WorkOrderListItemProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,55 @@
1
+ import { ColorMap, WorkOrderDateType } from '@equinor/echo-components';
2
+ export interface WorkOrderListItemData {
3
+ description: string;
4
+ id: string;
5
+ isActive: boolean;
6
+ orderType: string;
7
+ workCenterId: string;
8
+ recordTypeIds: string[] | undefined;
9
+ hasB30Document: boolean | undefined;
10
+ hasPrts: boolean | undefined;
11
+ basicFinishDateStatus: string | undefined;
12
+ basicFinishDateTime: Date | undefined;
13
+ earlyFinishDate: Date | undefined;
14
+ earlyStartDate: Date | undefined;
15
+ maintenancePlanDate: Date | undefined;
16
+ maintenancePlant: string | undefined;
17
+ operationId: string | undefined;
18
+ planningPlant: string | undefined;
19
+ requiredEndDateStatus: string | undefined;
20
+ requiredEndDateTime: Date | undefined;
21
+ }
22
+ export interface WorkOrderListItemProps {
23
+ workOrder: WorkOrderListItemData;
24
+ onCardClick?: () => void;
25
+ itemAction?: React.ReactNode;
26
+ isHeader?: boolean;
27
+ colorMap?: ColorMap;
28
+ iconName?: string;
29
+ workOrderDateType?: WorkOrderDateType;
30
+ className?: string;
31
+ cardClassName?: string;
32
+ footer?: React.ReactNode;
33
+ isHighlightable?: boolean;
34
+ }
35
+ export type BasicFinishDateProps = {
36
+ readonly basicFinishDateStatus?: string;
37
+ readonly basicFinishDateTime?: Date;
38
+ };
39
+ export type OperationDateRangeProps = {
40
+ readonly earlyStartDate?: Date;
41
+ readonly earlyFinishDate?: Date;
42
+ };
43
+ export type PM02HeaderDataProps = {
44
+ readonly maintenancePlanDate?: Date;
45
+ };
46
+ export type PM01HeaderDataProps = {
47
+ readonly requiredEndDateStatus: string;
48
+ readonly requiredEndDateTime: Date;
49
+ };
50
+ export type ExtraIconsProps = {
51
+ readonly hasPrts?: boolean;
52
+ readonly operationId?: string;
53
+ readonly recordTypeIds?: string[];
54
+ readonly hasB30Document?: boolean;
55
+ };
@@ -0,0 +1 @@
1
+ export declare function getFullLocaleDatetime(date: Date | undefined): string | undefined;
@@ -109,7 +109,7 @@ export declare const globalSelectionApi: Readonly<{
109
109
  */
110
110
  addItems: (args: {
111
111
  itemIds: GlobalSelectionTypes.ItemId[];
112
- } & import("./selectionMenu/selectionTreeStore/actions/selectionTree.action.types").AddByLabel) => void;
112
+ } & import("./selectionMenu/selectionTreeStore/actions/selectionTree.action.types").AddByGroupIdAndLabel) => void;
113
113
  }>;
114
114
  search: {
115
115
  /**
@@ -199,6 +199,7 @@ export declare const globalSelectionApi: Readonly<{
199
199
  */
200
200
  clearSelection: () => void;
201
201
  createGroup: (args: {
202
+ groupId: string;
202
203
  label: string;
203
204
  subLabel: string;
204
205
  }) => import("dist/libs/echo-utils/src").Guid;
@@ -1,7 +1,10 @@
1
1
  import { ResultArray } from '@equinor/echo-search';
2
2
  import { StoreApi } from 'zustand';
3
3
  import { GlobalSelectionItemType, GlobalSelectionItemTypeToDataMap, GlobalSelectionStore, GlobalSelectionTypes, SelectionItemTypeToItemIdMap } from '../globalSelectionStore.types';
4
- type FetchFunction<T, U> = (itemIds: Readonly<U[]>) => Promise<ResultArray<T>[]>;
4
+ type FetchFunction<T, U> = (itemIds: Readonly<U[]>) => Promise<{
5
+ result: ResultArray<T>;
6
+ itemIdsUsed: U[];
7
+ }[]>;
5
8
  type NullItemGenerator<T, U> = (itemId: U) => T;
6
9
  type SetFunction = (set: (state: GlobalSelectionStore) => void, shouldReplace?: boolean | undefined, action?: string) => void;
7
10
  export declare function addItemsToSelectionFactory<T extends GlobalSelectionItemType>(args: {
@@ -33,7 +33,7 @@ export type GlobalSelectionObject = {
33
33
  export interface GlobalSelectionStoreData {
34
34
  lists: GlobalSelectionObject;
35
35
  }
36
- export type SelectionItemSystemStatus = 'isLoading' | 'notFound' | 'loadedSuccessfully';
36
+ export type SelectionItemSystemStatus = 'isLoading' | 'notFound' | 'loadedSuccessfully' | 'error';
37
37
  export interface GlobalSelectionMetaData {
38
38
  color: string;
39
39
  isHiddenByUser: boolean;
@@ -20,7 +20,8 @@ declare function isMeasuringPointId(itemId: GlobalSelectionTypes.ItemId): itemId
20
20
  * @returns {GlobalSelectionTypes.TagId} - The mapped tag ID.
21
21
  */
22
22
  /**
23
- * Maps an item to its corresponding ID object by checking the item's type and returning the appropriate ID object.
23
+ * Maps an item to its corresponding ID object by checking the item's type and returning the appropriate ID object,
24
+ * removing leading zeros from the ID string and trimming whitespace.
24
25
  * If the item type is not recognized, an error is thrown.
25
26
  *
26
27
  * @param {GlobalSelectionTypes.ItemId} item - The data to be mapped to its ID type.
@@ -15,11 +15,6 @@ import { GlobalSelectionItemType, GlobalSelectionTypes, SelectionItemSystemStatu
15
15
  export declare function convertGlobalSelectionItemsToPlantTagPairs(): Promise<PlantAndTagForOpenIn3d[]>;
16
16
  export declare function toGlobalSelectionItem<T extends GlobalSelectionTypes.ItemTypeToDataMap[K], K extends GlobalSelectionItemType>(item: T, type: K, systemStatus: SelectionItemSystemStatus): GlobalSelectionTypes.GenericItem<K>;
17
17
  export declare function toGlobalSelectionItems<T extends GlobalSelectionTypes.ItemTypeToDataMap[K], K extends GlobalSelectionItemType>(items: T[], type: K, systemStatus: SelectionItemSystemStatus): GlobalSelectionTypes.GenericItem<K>[];
18
- export declare function finalizeLoadStateByItemType<T extends GlobalSelectionItemType>(args: {
19
- itemType: GlobalSelectionItemType;
20
- state: GlobalSelectionTypes.Store;
21
- itemDataToStore: GlobalSelectionTypes.ItemTypeToDataMap[T][];
22
- }): void;
23
18
  export declare function setNotFoundStatusByItemIds(args: {
24
19
  itemType: GlobalSelectionItemType;
25
20
  state: GlobalSelectionTypes.Store;
@@ -1,7 +1,8 @@
1
1
  import { ResultArray } from '@equinor/echo-search';
2
2
  import { GlobalSelectionItemType, GlobalSelectionItemTypeToDataMap, GlobalSelectionTypes, SelectionItemTypeToItemIdMap } from '../../../globalSelectionStore/globalSelectionStore.types';
3
3
  import { SelectionBase } from '../selectionTree.store.types';
4
- export type AddByLabel = SelectionBase | {
4
+ export type AddByGroupIdAndLabel = SelectionBase | {
5
+ groupId?: undefined;
5
6
  label?: undefined;
6
7
  subLabel?: undefined;
7
8
  };
@@ -9,7 +10,7 @@ export type AddItemArgs<ItemIdType extends GlobalSelectionTypes.ItemId> = {
9
10
  itemIds: Readonly<ItemIdType[]>;
10
11
  replaceItems?: boolean;
11
12
  getActionResult?: boolean;
12
- } & AddByLabel;
13
+ } & AddByGroupIdAndLabel;
13
14
  export type AddItemsResponse<T extends GlobalSelectionItemType> = {
14
15
  fetchResults: ResultArray<GlobalSelectionItemTypeToDataMap[T]>[];
15
16
  itemsAdded: Readonly<SelectionItemTypeToItemIdMap[T][]>;
@@ -1,6 +1,6 @@
1
1
  import { Guid } from '@equinor/echo-utils';
2
2
  import { GlobalSelectionItemType, GlobalSelectionTypes, SelectionItemTypeToItemIdMap } from '../../globalSelectionStore/globalSelectionStore.types';
3
- import { AddByLabel, AddItemArgs, AddItemsResponse, SelectionTreeActionResult } from './actions/selectionTree.action.types';
3
+ import { AddByGroupIdAndLabel, AddItemArgs, AddItemsResponse, SelectionTreeActionResult } from './actions/selectionTree.action.types';
4
4
  export declare enum GlobalSelectionCategoryId {
5
5
  Tags = "DEFAULT_TAG_LIST_ID",
6
6
  WorkOrders = "DEFAULT_WORK_ORDER_LIST_ID",
@@ -13,6 +13,7 @@ export type SelectionTreeItem<T extends GlobalSelectionItemType> = {
13
13
  readonly type: T;
14
14
  };
15
15
  export interface SelectionBase {
16
+ readonly groupId: Guid;
16
17
  readonly label: string;
17
18
  readonly subLabel: string;
18
19
  }
@@ -27,11 +28,9 @@ export interface PersistedSelectionCategory {
27
28
  readonly items: SelectionTreeItem<GlobalSelectionItemType>[];
28
29
  }
29
30
  export interface SelectionGroup extends SelectionBase {
30
- readonly id: Guid;
31
31
  readonly categories: SelectionCategory[];
32
32
  }
33
33
  export interface PersistedSelectionGroup extends SelectionBase {
34
- readonly id: Guid;
35
34
  readonly categories: PersistedSelectionCategory[];
36
35
  }
37
36
  export interface SelectionTreeData {
@@ -41,12 +40,13 @@ export interface SelectionTreeStore {
41
40
  groups: SelectionGroup[];
42
41
  addItems: (args: {
43
42
  itemIds: GlobalSelectionTypes.ItemId[];
44
- } & AddByLabel) => void;
43
+ } & AddByGroupIdAndLabel) => void;
45
44
  addTags: (args: AddItemArgs<GlobalSelectionTypes.TagId>) => AddTagsReturnType;
46
45
  addWorkOrders: (args: AddItemArgs<GlobalSelectionTypes.WorkOrderId>) => AddWorkOrdersReturnType;
47
46
  addEquipments: (args: AddItemArgs<GlobalSelectionTypes.EquipmentId>) => AddEquipmentsReturnType;
48
47
  addMeasuringPoints: (args: AddItemArgs<GlobalSelectionTypes.MeasuringPointId>) => AddMeasuringPointsReturnType;
49
48
  createGroup: (args: {
49
+ groupId: string;
50
50
  label: string;
51
51
  subLabel: string;
52
52
  }) => Guid;
@@ -0,0 +1,9 @@
1
+ import { Plant3dInfo, Plant3dInfoCount } from '../../logic/openItemsIn3d.utils';
2
+ interface PlantNoRadioListProps {
3
+ title: string;
4
+ items: Plant3dInfoCount[];
5
+ selectedPlant: Plant3dInfo | undefined;
6
+ onSelect: (selectedPlant: Plant3dInfoCount) => void;
7
+ }
8
+ export declare const PlantNoRadioList: React.FC<PlantNoRadioListProps>;
9
+ export {};
@@ -1,4 +1,4 @@
1
- import { Plant3dInfo, PlantAndTagForOpenIn3d } from './logic/openItemsIn3d.utils';
1
+ import { Plant3dInfo, PlantAndTagForOpenIn3d } from '../../logic/openItemsIn3d.utils';
2
2
  interface PlantNoSelectionDialogProps {
3
3
  getItems: () => Promise<PlantAndTagForOpenIn3d[]>;
4
4
  onPlantSelectionConfirmed: (selectedPlantNo: Plant3dInfo) => void;
@@ -0,0 +1,3 @@
1
+ import { Plant } from '@equinor/echo-core';
2
+ import { Plant3dInfo } from './openItemsIn3d.utils';
3
+ export declare function getPlantFromPlant3dInfo(selectedPlant: Plant3dInfo): Promise<Plant | undefined>;
@@ -0,0 +1,5 @@
1
+ interface WorkOrderProps {
2
+ readonly workOrderId: string;
3
+ }
4
+ export declare const WorkOrder: React.FC<WorkOrderProps>;
5
+ export {};
@@ -0,0 +1,6 @@
1
+ import { WorkOrderDetails } from '../types/workOrder';
2
+ interface WorkOrderRequest {
3
+ readonly workOrderId: string;
4
+ }
5
+ export declare function getPrepviewWorkOrderDetails(args: WorkOrderRequest): Promise<WorkOrderDetails>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { WorkOrderDetails } from '../types/workOrder';
2
+ interface WorkOrderItemDetailsProps {
3
+ readonly data: WorkOrderDetails;
4
+ }
5
+ export declare const WorkOrderItemDetails: (props: WorkOrderItemDetailsProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ import { WorkOrderDetails } from '../types/workOrder';
2
+ interface WorkOrderHeaderProps {
3
+ /**
4
+ * TODO: We need to improve types on WorkOrderListItem before we Pick the actual properties we need for this component.
5
+ * Until then we will continue with the original mapWorkOrderDetailsToWorkOrderItem.
6
+ */
7
+ readonly data: WorkOrderDetails;
8
+ }
9
+ export declare const WorkOrderItemHeader: (props: WorkOrderHeaderProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @deprecated Don't use this hook, it is under development and not ready for production use.
3
+ * Use openWorkOrderDetails() instead.
4
+ */
5
+ export declare function useOpenWorkOrder(): (args: {
6
+ workOrderId: string;
7
+ panelKey?: string;
8
+ keepLastNavigationItem?: boolean;
9
+ }) => void;
@@ -0,0 +1,6 @@
1
+ import { WorkOrderDetails } from '../types/workOrder';
2
+ export declare function usePrepviewWorkOrder(workOrderId: string): {
3
+ isLoading: boolean;
4
+ error: Error | null;
5
+ workOrder?: WorkOrderDetails;
6
+ };
@@ -0,0 +1,48 @@
1
+ export type FetchStatus = {
2
+ statusCode?: 'Forbidden' | number;
3
+ };
4
+ export type PlantReference = {
5
+ label: string;
6
+ typeLabel: string;
7
+ };
8
+ export type WorkOrderDetails = FetchStatus & {
9
+ id: string;
10
+ plantId: string;
11
+ tagId: string;
12
+ tagPlantId: string;
13
+ tagCategory: string;
14
+ tagCategoryId: string;
15
+ orderType: string;
16
+ activeStatusIds: string;
17
+ userStatus: string;
18
+ isActive: true;
19
+ personResponsible: string;
20
+ plannerGroupId: string;
21
+ workCenterId: string;
22
+ locationId: string;
23
+ changedDateTime: string;
24
+ createdDateTime: string;
25
+ requiredEndDateTime: string;
26
+ requiredEndDateStatus: string;
27
+ requiredEndDateStatusDescription: string;
28
+ basicStartDateTime: string;
29
+ basicFinishDateTime: string;
30
+ basicFinishDateStatus: string;
31
+ basicFinishDateStatusDescription: string;
32
+ maintenancePlanDate: string;
33
+ maintenancePlant: string;
34
+ planningPlantId: string;
35
+ planningPlant: string;
36
+ priorityId: string;
37
+ priority: string;
38
+ revisionId: string;
39
+ equipmentId: string;
40
+ systemId: string;
41
+ system: string;
42
+ description: string;
43
+ longText: string;
44
+ instCode: string;
45
+ sortField: string;
46
+ maintenancePlantReference: PlantReference;
47
+ planningPlantReference: PlantReference;
48
+ };
@@ -0,0 +1,3 @@
1
+ import { WorkOrderListItemData } from '../../../components/workOrderListItem/types/types';
2
+ import { WorkOrderDetails } from '../types/workOrder';
3
+ export declare function mapWorkOrderDetailsToWorkOrderItem(details: WorkOrderDetails): WorkOrderListItemData;
@@ -1 +1,2 @@
1
1
  export declare const echopediaAnalyticsModule: import("@equinor/echo-core").AnalyticsModule;
2
+ export declare function trackEventOpenExternalLink(linkTo: string): void;