@equinor/echo-framework 0.11.0-rc13 → 0.11.0-rc14
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/dist/components/prepview/common/info/section/longText/LongTextSection.d.ts +1 -1
- package/dist/components/tagNumber/tagNumber.d.ts +3 -2
- package/dist/coreApplication/EchoToolBar.d.ts +8 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +11 -11
- package/dist/services/componentRegistry/componentRegistry.d.ts +26 -6
- package/dist/services/deviceInformation/deepDeviceInfo.d.ts +41 -0
- package/dist/services/deviceInformation/deviceInfo.d.ts +45 -0
- package/dist/services/searchItemDetails/searchItemDetails.store.d.ts +26 -0
- package/dist/services/searchItemDetails/searchItemDetails.store.test.d.ts +1 -0
- package/dist/services/searchItemDetails/searchItemDetailsContainer.d.ts +6 -0
- package/dist/types/device.d.ts +53 -0
- package/dist/types/eventTypes/index.d.ts +1 -0
- package/dist/types/eventTypes/searchDetailsContainerEvents.d.ts +3 -0
- package/dist/types/hookLibrary.d.ts +18 -3
- package/package.json +6 -4
|
@@ -4,5 +4,5 @@ interface Props {
|
|
|
4
4
|
toggleLongText: () => void;
|
|
5
5
|
isPunch?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare function LongTextSection({ text, toggleLongText
|
|
7
|
+
declare function LongTextSection({ text, toggleLongText }: Props): JSX.Element;
|
|
8
8
|
export { LongTextSection };
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
interface TagNoProps {
|
|
3
3
|
tagNo: string;
|
|
4
4
|
className?: string;
|
|
5
|
+
replaceLastNavigationItem?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare const TagNumber: ({ tagNo, className }: TagNoProps) => JSX.Element;
|
|
7
|
-
export
|
|
7
|
+
export declare const TagNumber: ({ tagNo, className, replaceLastNavigationItem }: TagNoProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
export interface SidebarButtonListType {
|
|
3
|
+
buttonTitle: string;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
iconName: string;
|
|
6
|
+
iconColor: string;
|
|
7
|
+
isVisible: boolean;
|
|
8
|
+
active: boolean;
|
|
9
|
+
}
|
|
2
10
|
export declare const EchoToolBar: () => JSX.Element;
|
|
3
11
|
export default EchoToolBar;
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,11 @@ export { useIsCompactLayout } from './hooks/useIsCompactLayout';
|
|
|
10
10
|
export { useScreenOrientation } from './hooks/useScreenOrientation';
|
|
11
11
|
export { useScreenValues } from './hooks/useScreenValues';
|
|
12
12
|
export { RegisteredComponentName } from './services/componentRegistry/componentRegistry';
|
|
13
|
+
export { DetailedDeviceInformationProvider, detailedDeviceInformationProvider } from './services/deviceInformation/deepDeviceInfo';
|
|
14
|
+
export { deviceInfo, DeviceInformation } from './services/deviceInformation/deviceInfo';
|
|
13
15
|
export * from './services/eventHubActions';
|
|
16
|
+
export * from './services/searchItemDetails/searchItemDetails.store';
|
|
17
|
+
export { SearchItemDetailsContainer } from './services/searchItemDetails/searchItemDetailsContainer';
|
|
14
18
|
export * from './theme/themeConst';
|
|
15
19
|
export type { EchoHubPlant } from './types/echoHubPlant';
|
|
16
20
|
export * from './types/eventTypes';
|
|
@@ -36,6 +40,11 @@ declare const EchoFramework: Readonly<{
|
|
|
36
40
|
}>;
|
|
37
41
|
}>;
|
|
38
42
|
Hooks: Readonly<{
|
|
43
|
+
searchItems: Readonly<{
|
|
44
|
+
useSearchItemDetailsStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<import("./services/searchItemDetails/searchItemDetails.store").SearchItemDetailsState>, "setState"> & {
|
|
45
|
+
setState(nextStateOrUpdater: import("./services/searchItemDetails/searchItemDetails.store").SearchItemDetailsState | Partial<import("./services/searchItemDetails/searchItemDetails.store").SearchItemDetailsState> | ((state: import("immer/dist/internal").WritableDraft<import("./services/searchItemDetails/searchItemDetails.store").SearchItemDetailsState>) => void), shouldReplace?: boolean | undefined): void;
|
|
46
|
+
}>;
|
|
47
|
+
}>;
|
|
39
48
|
useEchoHistory(): (path: string, params?: {
|
|
40
49
|
[key: string]: string;
|
|
41
50
|
} | undefined, state?: any) => void;
|
|
@@ -60,7 +69,19 @@ declare const EchoFramework: Readonly<{
|
|
|
60
69
|
useSetActiveMcPackNo: () => import("./types/hookLibrary").SetActiveMcPackNo;
|
|
61
70
|
}>;
|
|
62
71
|
EchopediaComponentLibrary: Readonly<{
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated Please use 'getTagListItem()' instead - that supports the new search flow
|
|
74
|
+
* Returns with the TagItem component, which is used in EchopediaWeb's search panel
|
|
75
|
+
* and pdf side drawer when listing out tags.
|
|
76
|
+
* @returns {React.FC<any>} legacy TagItem component
|
|
77
|
+
*/
|
|
63
78
|
getTagItem: () => import("react").FunctionComponent<any>;
|
|
79
|
+
/**
|
|
80
|
+
* Returns with the TagItem component, which is used in EchopediaWeb's search panel
|
|
81
|
+
* and pdf side drawer when listing out tags.
|
|
82
|
+
* @returns {React.FC<any>} TagListItem component
|
|
83
|
+
*/
|
|
84
|
+
getTagListItem: () => import("react").FunctionComponent<any>;
|
|
64
85
|
}>;
|
|
65
86
|
APIs: Readonly<{
|
|
66
87
|
getPlantsInfo: typeof getPlantsInfo;
|