@equinor/echo-framework 5.0.0-beta-r19 → 5.0.0-beta-r19-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.
Files changed (115) hide show
  1. package/index.cjs.js +2 -2
  2. package/package.json +8 -8
  3. package/src/index.d.ts +4 -4
  4. package/src/lib/components/prepview/panels/objects/objects.logic.d.ts +7 -0
  5. package/src/lib/components/prepview/panels/objects/objects.utils.d.ts +14 -0
  6. package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/AddSelectionListWithSameNameDialog.d.ts +8 -0
  7. package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/SelectionActionBarMultiple.d.ts +9 -0
  8. package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.colors.d.ts +2 -0
  9. package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.constants.d.ts +1 -0
  10. package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.logic.d.ts +4 -0
  11. package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.orchestration.d.ts +10 -0
  12. package/src/lib/components/prepview/panels/objects/selectionActionBarMultiple/logic/selectionActionBarMultiple.utils.d.ts +3 -0
  13. package/src/lib/components/prepview/panels/tagDocumentRefs/HorizontalDocumentGroups.d.ts +1 -1
  14. package/src/lib/feature/equipment/components/fullEquipmentItem/fullEquipmentItem.d.ts +3 -3
  15. package/src/lib/feature/globalSelection/components/selectionActionBar/SelectionActionBar.d.ts +14 -0
  16. package/src/lib/feature/globalSelection/components/selectionActionBar/SelectionActionBarMenuItem.d.ts +12 -0
  17. package/src/lib/feature/globalSelection/components/selectionActionBar/hooks/useSelectionAction.d.ts +28 -0
  18. package/src/lib/feature/globalSelection/globalSelection.api.d.ts +3 -2
  19. package/src/lib/feature/globalSelection/globalSelectionColorService.d.ts +3 -3
  20. package/src/lib/feature/globalSelection/globalSelectionColorService.types.d.ts +1 -0
  21. package/src/lib/feature/globalSelection/globalSelectionStore/actions/addItemsByStrategy.action.d.ts +17 -0
  22. package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStore.d.ts +13 -16
  23. package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStore.types.d.ts +9 -16
  24. package/src/lib/feature/globalSelection/globalSelectionStore/globalSelectionStore.utils.d.ts +2 -36
  25. package/src/lib/feature/globalSelection/globalSelectionStore/selectionActionFeedbackStore.d.ts +30 -0
  26. package/src/lib/feature/globalSelection/hooks/useGlobalSelectionLists.d.ts +5 -3
  27. package/src/lib/feature/globalSelection/hooks/useIsInGlobalSelection.d.ts +0 -1
  28. package/src/lib/feature/globalSelection/hooks/useSelectionCategoriesByGroupId.d.ts +3 -2
  29. package/src/lib/feature/globalSelection/index.d.ts +2 -2
  30. package/src/lib/feature/globalSelection/selectionMenu/hooks/{useIsAllIGlobalSelectionItemsHidden.d.ts → useIsAllGlobalSelectionItemsHidden.d.ts} +4 -6
  31. package/src/lib/feature/globalSelection/selectionMenu/hooks/useSelectionColorFrequency.d.ts +5 -2
  32. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/addItems.action.d.ts +5 -4
  33. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/removeAllItemsById.action.d.ts +1 -1
  34. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/removeItemsById.action.d.ts +1 -1
  35. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/actions/selectionTree.action.types.d.ts +5 -4
  36. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/selectionTree.store.d.ts +11 -11
  37. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/selectionTree.store.types.d.ts +4 -3
  38. package/src/lib/feature/globalSelection/selectionMenu/selectionTreeStore/selectionTree.store.utils.d.ts +9 -7
  39. package/src/lib/feature/globalSelection/strategies/equipmentSelection.strategy.d.ts +3 -0
  40. package/src/lib/feature/globalSelection/strategies/index.d.ts +2 -0
  41. package/src/lib/feature/globalSelection/strategies/isItemIdOfType.d.ts +2 -0
  42. package/src/lib/feature/globalSelection/strategies/measuringPointSelection.strategy.d.ts +3 -0
  43. package/src/lib/feature/globalSelection/strategies/registerStrategies.d.ts +1 -0
  44. package/src/lib/feature/globalSelection/strategies/selectionItemTypeRegistry.d.ts +37 -0
  45. package/src/lib/feature/globalSelection/strategies/selectionItemTypeStrategy.types.d.ts +50 -0
  46. package/src/lib/feature/globalSelection/strategies/tagSelection.strategy.d.ts +3 -0
  47. package/src/lib/feature/globalSelection/strategies/workOrderSelection.strategy.d.ts +3 -0
  48. package/src/lib/feature/legend/components/BasicLegendRenderer.d.ts +1 -1
  49. package/src/lib/feature/legend/components/LegendSelectorContainer.d.ts +17 -0
  50. package/src/lib/feature/legend/components/pdfMarkers/subComponents/ItemMarkerPopoverContainer.d.ts +9 -0
  51. package/src/lib/feature/legend/components/pdfMarkers/subComponents/MarkerWithPopover.d.ts +1 -1
  52. package/src/lib/feature/legend/components/pdfMarkers/subComponents/components/MultipleMarkersBySingleLegend/multipleMarkersBySingleLegend.logic.d.ts +1 -1
  53. package/src/lib/feature/legend/components/pdfMarkers/subComponents/components/MultipleMarkersBySingleLegend/useStalePopoverMarkers.d.ts +3 -3
  54. package/src/lib/feature/legend/components/pdfMarkers/subComponents/hooks/useMarkerPopover.d.ts +1 -2
  55. package/src/lib/feature/legend/components/pdfMarkers/utils/markerId.utils.d.ts +1 -2
  56. package/src/lib/feature/legend/components/popover/LegendPopoverContent.d.ts +9 -26
  57. package/src/lib/feature/legend/components/popover/LegendPopoverContent.logic.d.ts +12 -6
  58. package/src/lib/feature/legend/hooks/useGroupedMarkers.utils.d.ts +0 -4
  59. package/src/lib/feature/legend/hooks/useLegendMarker/useLegendMarker.utils.d.ts +1 -1
  60. package/src/lib/feature/legend/hooks/useLegendUniqueBadges.d.ts +1 -3
  61. package/src/lib/feature/legend/hooks/useLegendUniqueMarkers.d.ts +1 -3
  62. package/src/lib/feature/legend/index.d.ts +8 -5
  63. package/src/lib/feature/legend/legendAnalytics.d.ts +1 -1
  64. package/src/lib/feature/legend/legendFacade.d.ts +8 -0
  65. package/src/lib/feature/legend/legendStrategies/notificationStrategy/api/fetchNotificationDetailsByIds.d.ts +8 -0
  66. package/src/lib/feature/legend/legendStrategies/notificationStrategy/api/notificationsLegend.api.d.ts +7 -0
  67. package/src/lib/feature/legend/legendStrategies/notificationStrategy/components/NotificationPopover.d.ts +8 -0
  68. package/src/lib/feature/legend/legendStrategies/notificationStrategy/hooks/useNotificationDetailsByIds.d.ts +2 -0
  69. package/src/lib/feature/legend/legendStrategies/notificationStrategy/hooks/useNotificationLegendData.d.ts +5 -0
  70. package/src/lib/feature/legend/legendStrategies/notificationStrategy/hooks/useNotificationMarkers.d.ts +10 -0
  71. package/src/lib/feature/legend/legendStrategies/notificationStrategy/hooks/useOpenNotificationsByTagIds.d.ts +14 -0
  72. package/src/lib/feature/legend/legendStrategies/notificationStrategy/logic/getNotificationPopover.d.ts +6 -0
  73. package/src/lib/feature/legend/legendStrategies/notificationStrategy/logic/notificationLegend.logic.d.ts +12 -0
  74. package/src/lib/feature/legend/legendStrategies/notificationStrategy/notificationStrategy.types.d.ts +13 -0
  75. package/src/lib/feature/legend/legendStrategies/notificationStrategy/optionConfigs/notificationBadgeLegendOptionConfig.d.ts +3 -0
  76. package/src/lib/feature/legend/legendStrategies/notificationStrategy/optionConfigs/notificationMarkerLegendOptionConfig.d.ts +3 -0
  77. package/src/lib/feature/legend/legendStrategies/notificationStrategy/testing/createTestNotification.d.ts +2 -0
  78. package/src/lib/feature/legend/legendStrategies/notificationStrategy/utils/getColorForNotificationLegendStatus.d.ts +7 -0
  79. package/src/lib/feature/legend/legendStrategies/notificationStrategy/utils/getNotificationTitlesByPropertyName.d.ts +2 -0
  80. package/src/lib/feature/legend/legendStrategies/notificationStrategy/utils/notificationLegend.utils.d.ts +17 -0
  81. package/src/lib/feature/legend/legendStrategies/workOrderStrategy/workOrder.utils.d.ts +14 -0
  82. package/src/lib/feature/legend/logic/getColorForLegendStatus.d.ts +5 -0
  83. package/src/lib/feature/legend/logic/normalizeBadges.d.ts +25 -12
  84. package/src/lib/feature/legend/logic/propertyAccessor.utils.d.ts +36 -0
  85. package/src/lib/feature/legend/stores/initializeLegendInStores.d.ts +3 -4
  86. package/src/lib/feature/legend/stores/legendDataStore/legendStore.d.ts +0 -1
  87. package/src/lib/feature/legend/stores/legendUIStore/legendUIStore.types.d.ts +3 -14
  88. package/src/lib/feature/legend/stores/legendVisibleDataAsTagsStore/legendVisibleDataAsTagsStore.d.ts +8 -0
  89. package/src/lib/feature/legend/types/legendStrategy.type.d.ts +6 -6
  90. package/src/lib/feature/legend/types/legendType.d.ts +26 -19
  91. package/src/lib/feature/measuringPoint/index.d.ts +1 -1
  92. package/src/lib/feature/openItemsIn3d/logic/createEcho3dInternalLink.d.ts +1 -0
  93. package/src/lib/feature/shared/markerId.types.d.ts +11 -0
  94. package/src/lib/hooks/useOpenPdfFile.d.ts +12 -0
  95. package/src/lib/hooks/useScreenValues.d.ts +2 -2
  96. package/src/lib/services/dataLayerPanel/dataLayerPanel.store.d.ts +2 -0
  97. package/src/lib/utils/index.d.ts +1 -0
  98. package/src/lib/utils/notification.utils.d.ts +2 -0
  99. package/src/lib/feature/globalSelection/components/SelectionActionBar/SelectionFeedbackDisplay.d.ts +0 -7
  100. package/src/lib/feature/globalSelection/components/SelectionActionBar/selectionFeedback.types.d.ts +0 -1
  101. package/src/lib/feature/globalSelection/components/SelectionActionBar.d.ts +0 -7
  102. package/src/lib/feature/globalSelection/components/SelectionMenuTrigger/SelectionGroupMenuItem.d.ts +0 -9
  103. package/src/lib/feature/globalSelection/components/SelectionMenuTrigger/SelectionMenuTrigger.d.ts +0 -12
  104. package/src/lib/feature/globalSelection/globalSelectionStore/actions/addEquipmentsToSelection.action.d.ts +0 -7
  105. package/src/lib/feature/globalSelection/globalSelectionStore/actions/addItemsToSelectionFactory.d.ts +0 -21
  106. package/src/lib/feature/globalSelection/globalSelectionStore/actions/addMeasuringPointsToSelection.action.d.ts +0 -7
  107. package/src/lib/feature/globalSelection/globalSelectionStore/actions/addTagsToSelection.action.d.ts +0 -12
  108. package/src/lib/feature/globalSelection/globalSelectionStore/actions/addWorkOrdersToSelection.action.d.ts +0 -7
  109. package/src/lib/feature/globalSelection/hooks/useSelectionAction.d.ts +0 -21
  110. package/src/lib/feature/legend/components/legendTextSelector/LegendTextSelector.d.ts +0 -20
  111. package/src/lib/feature/legend/legendStrategies/workOrderStrategy/components/WorkOrderPopoverPrimaryRow.d.ts +0 -15
  112. package/src/lib/feature/legend/legendStrategies/workOrderStrategy/components/WorkOrderPopoverThirdRow.d.ts +0 -16
  113. package/src/lib/icons/index.d.ts +0 -13
  114. package/src/lib/icons/search.d.ts +0 -3
  115. /package/src/lib/feature/globalSelection/components/{RemoveSelectionItemsConfirmDialog.d.ts → selectionActionBar/RemoveSelectionItemsConfirmDialog.d.ts} +0 -0
@@ -1,20 +0,0 @@
1
- interface LegendTextSelectorProps<T extends string> {
2
- options: ReadonlyArray<T>;
3
- selectedOption: T;
4
- onOptionSelected?: (option: T, e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
5
- }
6
- /**
7
- * LegendTextSelector renders a group of selectable buttons for legend text options.
8
- *
9
- * Displays each option as a button, highlights the currently selected option, and calls the `onSelect` callback when a different option is chosen.
10
- * Uses Echo UI components and compact density for consistent styling.
11
- *
12
- * @component
13
- * @param {object} props - Component props
14
- * @param {ReadonlyArray<string>} props.options - List of selectable options.
15
- * @param {string} props.selectedOption - The currently selected option.
16
- * @param {(option: string) => void} [props.onOptionSelected] - Callback invoked when a new option is selected.
17
- * @returns {React.JSX.Element | null} The rendered button group, or null if no options are provided.
18
- */
19
- export declare const LegendTextSelector: <T extends string>(props: LegendTextSelectorProps<T>) => import("react/jsx-runtime").JSX.Element | null;
20
- export {};
@@ -1,15 +0,0 @@
1
- /**
2
- * Renders the primary (first) row of the Work Order popover.
3
- *
4
- * Displays the work order number, an active/completed status label, and (if present)
5
- * a list of unique notification type identifiers resolved for the work order.
6
- *
7
- * @param props \- Component props.
8
- * @param props.workOrderId \- Work order identifier used for display and for fetching related objects.
9
- * @param props.isActive \- Whether the work order is active \(`true`\) or completed \(`false`\).
10
- * @returns A React element containing the primary row content.
11
- */
12
- export declare const WorkOrderPopoverPrimaryRow: ({ workOrderId, isActive }: {
13
- workOrderId: string;
14
- isActive: boolean;
15
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +0,0 @@
1
- /**
2
- * Renders the 3rd row in the Work Order popover (plant, work center, and finish date).
3
- *
4
- * @param props \- Component props.
5
- * @param props.plantNo \- The plant identifier/number to display.
6
- * @param props.workCenter \- The work center identifier to display.
7
- * @param props.basicFinishDateTime \- Optional planned/basic finish date/time for the work order.
8
- * @param props.basicFinishDateStatus \- Optional status label associated with the finish date (e.g. overdue, upcoming).
9
- * @returns A React element containing the 3rd row content.
10
- */
11
- export declare const WorkOrderPopoverThirdRow: ({ plantNo, workCenter, basicFinishDateTime, basicFinishDateStatus }: {
12
- plantNo: string;
13
- workCenter: string;
14
- basicFinishDateTime: Date | undefined;
15
- basicFinishDateStatus: string | undefined;
16
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- export { ReactComponent as ConditionAdviserIcon } from './ConditionAdviserIcon.svg';
2
- export { ReactComponent as Evision } from './Evision.svg';
3
- export { ReactComponent as Fusion } from './Fusion.svg';
4
- export { ReactComponent as McApp } from './McApp.svg';
5
- export { ReactComponent as NotificationIcon } from './Notification.svg';
6
- export { ReactComponent as ProCoSysIcon } from './ProCoSysIcon.svg';
7
- export { ReactComponent as SapLogo } from './SapLogo.svg';
8
- export { ReactComponent as Stid } from './Stid.svg';
9
- export { ReactComponent as TR2000 } from './TR2000.svg';
10
- export { ReactComponent as TrendingAppIcon } from './TrendingAppIcon.svg';
11
- export { ReactComponent as VivaEngage } from './VivaEngage.svg';
12
- export { ReactComponent as WorkOrderIcon } from './WorkOrder.svg';
13
- export { ReactComponent as Yammer } from './Yammer.svg';
@@ -1,3 +0,0 @@
1
- import React, { FunctionComponent } from 'react';
2
- export declare const icon: FunctionComponent<React.SVGProps<SVGSVGElement>>;
3
- export default icon;