@equinor/echo-framework 4.3.0-beta-0 → 4.3.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.
- package/{f4c85313e79b1662.svg → 1bd97dd2170d0f64.svg} +850 -850
- package/{063009f06499d102.svg → 47deeba42768c5d1.svg} +8 -8
- package/README.md +48 -48
- package/index.cjs.js +2 -2
- package/index.d.ts +2 -2
- package/package.json +6 -6
- package/src/index.d.ts +1 -1
- package/src/lib/components/prepview/panels/objects/objects.logic.d.ts +7 -0
- package/src/lib/components/prepview/panels/objects/objects.utils.d.ts +14 -0
- package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/AddSelectionListWithSameNameDialog.d.ts +8 -0
- package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/SelectionActionBarMultiple.d.ts +9 -0
- package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.colors.d.ts +2 -0
- package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.constants.d.ts +1 -0
- package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.orchestration.d.ts +10 -0
- package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.utils.d.ts +3 -0
- package/src/lib/feature/globalSelection/components/{SelectionActionBar.d.ts → selectionActionBar/SelectionActionBar.d.ts} +1 -1
- package/src/lib/feature/globalSelection/globalSelection.api.d.ts +3 -2
- package/src/lib/feature/globalSelection/globalSelectionColorService.d.ts +3 -3
- package/src/lib/feature/globalSelection/globalSelectionColorService.types.d.ts +1 -0
- package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStore.d.ts +8 -0
- package/src/lib/feature/globalSelection/hooks/useIsInGlobalSelection.d.ts +0 -1
- package/src/lib/feature/globalSelection/hooks/useSelectionCategoriesByGroupId.d.ts +3 -2
- package/src/lib/feature/globalSelection/index.d.ts +2 -2
- package/src/lib/feature/globalSelection/selectionMenu/hooks/useSelectionColorFrequency.d.ts +5 -2
- package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/addItems.action.d.ts +5 -4
- package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/removeAllItemsById.action.d.ts +1 -1
- package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/removeItemsById.action.d.ts +1 -1
- package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/selectionTree.action.types.d.ts +5 -4
- package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/selectionTree.store.d.ts +11 -11
- package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/selectionTree.store.types.d.ts +4 -3
- package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/selectionTree.store.utils.d.ts +9 -7
- package/src/lib/feature/legend/legendFacade.d.ts +8 -0
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/api/fetchNotificationDetailsByIds.d.ts +8 -0
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/hooks/useNotificationDetailsByIds.d.ts +2 -0
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/hooks/useNotificationLegendData.d.ts +5 -0
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/hooks/useNotificationMarkers.d.ts +5 -1
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/hooks/{useNotificationsByTagIds.d.ts → useOpenNotificationsByTagIds.d.ts} +2 -2
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/logic/getNotificationPopover.d.ts +1 -7
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/logic/notificationLegend.logic.d.ts +5 -5
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/notificationStrategy.types.d.ts +10 -2
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/optionConfigs/notificationBadgeLegendOptionConfig.d.ts +1 -4
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/optionConfigs/notificationMarkerLegendOptionConfig.d.ts +1 -2
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/utils/getNotificationTitlesByPropertyName.d.ts +2 -2
- package/src/lib/feature/legend/legendStrategies/notificationStrategy/utils/notificationLegend.utils.d.ts +8 -3
- package/src/lib/feature/legend/stores/legendVisibleDataAsTagsStore/legendVisibleDataAsTagsStore.d.ts +8 -0
- package/src/lib/feature/measuringPoint/index.d.ts +1 -1
- package/src/lib/feature/openItemsIn3d/logic/createEcho3dInternalLink.d.ts +1 -0
- package/src/lib/utils/index.d.ts +1 -0
- package/src/lib/utils/notification.utils.d.ts +2 -0
- /package/src/lib/feature/globalSelection/components/{RemoveSelectionItemsConfirmDialog.d.ts → selectionActionBar/RemoveSelectionItemsConfirmDialog.d.ts} +0 -0
- /package/src/lib/feature/globalSelection/components/{SelectionActionBar → selectionActionBar}/SelectionActionBarMenuItem.d.ts +0 -0
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { EndDateStatusText } from '../notificationStrategy.types';
|
|
1
|
+
import { type LegendDataId, type LegendNotificationId } from '../../../types/legendType';
|
|
2
|
+
import type { EndDateStatusText, NotificationLegendData } from '../notificationStrategy.types';
|
|
3
|
+
/**
|
|
4
|
+
* Type guard for notification legend data IDs.
|
|
5
|
+
* Notification is not a selection-based legend, so the dataId is not directly tied to global selection item IDs.
|
|
6
|
+
*/
|
|
7
|
+
export declare const isNotificationDataId: (dataId: LegendDataId) => dataId is LegendNotificationId;
|
|
3
8
|
/**
|
|
4
9
|
* Determines the appropriate icon name for a marker based on the record types of the provided notifications.
|
|
5
10
|
* If there are multiple record types or no notifications, it returns a generic icon.
|
|
6
11
|
* Otherwise, it returns a specific icon based on the record type.
|
|
7
12
|
*/
|
|
8
|
-
export declare const getIconForMarker: (notifications: ReadonlyArray<
|
|
13
|
+
export declare const getIconForMarker: (notifications: ReadonlyArray<NotificationLegendData>) => string;
|
|
9
14
|
/**
|
|
10
15
|
* Returns user-friendly end date status text based on the required end date of a notification.
|
|
11
16
|
*/
|
package/src/lib/feature/legend/stores/legendVisibleDataAsTagsStore/legendVisibleDataAsTagsStore.d.ts
CHANGED
|
@@ -56,6 +56,14 @@ export declare const useVisibleDataAsTagsStore: import("zustand").UseBoundStore<
|
|
|
56
56
|
type: string;
|
|
57
57
|
value: string;
|
|
58
58
|
}[];
|
|
59
|
+
coordinates: {
|
|
60
|
+
tagSeqNo: number;
|
|
61
|
+
xEasting: number;
|
|
62
|
+
yNorthing: number;
|
|
63
|
+
zElevation: number;
|
|
64
|
+
uom: string;
|
|
65
|
+
linePosition: number | undefined;
|
|
66
|
+
}[];
|
|
59
67
|
tagNo: string;
|
|
60
68
|
description: string;
|
|
61
69
|
projectCode: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { MeasuringPointDetails, MeasuringPointHeader, failureMechanismConfig } from './components';
|
|
2
2
|
export { MeasuringPointListItem } from './components/MeasuringPointListItem';
|
|
3
3
|
export { useOpenMeasuringPointDetails } from './hooks';
|
|
4
4
|
export type { DocumentRelationships } from './types/documentRelationships';
|
package/src/lib/utils/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './endDateStatus/getEndDateStatus';
|
|
|
4
4
|
export * from './formatTimeHelpers';
|
|
5
5
|
export * from './highlightTextUtil';
|
|
6
6
|
export * from './navigationUtils';
|
|
7
|
+
export * from './notification.utils';
|
|
7
8
|
export * from './openIn3d';
|
|
8
9
|
export * from './plantInfo';
|
|
9
10
|
export * from './previousUtils';
|
|
File without changes
|