@lls/typings 24.31.0 → 24.32.0-32e34fe7
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/overrides/window.d.ts +2 -0
- package/package.json +2 -2
- package/presentationProps.d.ts +7 -13
package/overrides/window.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ interface Window {
|
|
|
20
20
|
}
|
|
21
21
|
playwrightInplaceNavigate: (value: string) => void
|
|
22
22
|
playwrightStoryId: string
|
|
23
|
+
fbq?: (...args: any[]) => void
|
|
24
|
+
_fbq?: (...args: any[]) => void
|
|
23
25
|
clarity?: ((...params: string[]) => any) & { q?: unknown[] }
|
|
24
26
|
$crisp: {
|
|
25
27
|
push: (args: string[]) => void
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lls/typings",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.32.0-32e34fe7",
|
|
4
4
|
"description": "types custom du monorepo",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"imports": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@types/domhandler": "2.4.5",
|
|
14
14
|
"@types/lodash": "4.17.20",
|
|
15
15
|
"@types/react": "18.3.12",
|
|
16
|
-
"@yorab/react-paint": "0.
|
|
16
|
+
"@yorab/react-paint": "0.14.0",
|
|
17
17
|
"cheerio": "1.1.2",
|
|
18
18
|
"typescript": "5.8.3"
|
|
19
19
|
},
|
package/presentationProps.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export type PresentationViewType = {
|
|
|
11
11
|
view?: 'page' | 'slide' | 'split' | undefined
|
|
12
12
|
uuids?: (string | undefined)[]
|
|
13
13
|
uuid?: string
|
|
14
|
+
zoneId?: string
|
|
15
|
+
zoneId2?: string
|
|
14
16
|
lastOpenUuid?: string
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -52,17 +54,6 @@ export type NavigationPropsType = {
|
|
|
52
54
|
rightPageLink?: { visible: boolean; href?: string; onClick: (e: React.MouseEvent) => void }
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
export type ArchipelParamsType = {
|
|
56
|
-
isArchipelHidden: boolean
|
|
57
|
-
setShouldKeepArchipel: (value: boolean) => void
|
|
58
|
-
archipelHiddenStyle: {
|
|
59
|
-
top: React.CSSProperties
|
|
60
|
-
right: React.CSSProperties
|
|
61
|
-
bottom: React.CSSProperties
|
|
62
|
-
left: React.CSSProperties
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
57
|
export type ZoomListener = {
|
|
67
58
|
zoom: () => void
|
|
68
59
|
unzoom: () => void
|
|
@@ -88,7 +79,6 @@ export type PresentationPropsType = {
|
|
|
88
79
|
showHomo?: boolean
|
|
89
80
|
docsUuidWithFullscreenEnabled?: { groups: Record<LayoutItem['id'] | 'root', NonNullable<DocJson['uuid']>[]> }
|
|
90
81
|
isInFullscreen?: boolean
|
|
91
|
-
archipelParams?: ArchipelParamsType
|
|
92
82
|
learningResources?: LearningResource[]
|
|
93
83
|
projectorSplitOffset?: number
|
|
94
84
|
setProjectorSplitOffset?: (offset: number) => void
|
|
@@ -99,7 +89,11 @@ export type PresentationPropsType = {
|
|
|
99
89
|
goBackToPage?: () => void
|
|
100
90
|
closeProjectorView?: () => void
|
|
101
91
|
closeSplitView?: () => void
|
|
102
|
-
openFullscreenCard?: (
|
|
92
|
+
openFullscreenCard?: ({
|
|
93
|
+
docUuid,
|
|
94
|
+
zoneId,
|
|
95
|
+
forceSplit
|
|
96
|
+
}: { docUuid: string | undefined; zoneId?: string; forceSplit?: boolean }) => void
|
|
103
97
|
slideToPreviousDocument?: (currentDocUuid: string, tabId?: string | undefined) => void
|
|
104
98
|
getChildPosition?: (docUuid?: string, tabId?: string | undefined) => number
|
|
105
99
|
slideToNextDocument?: (currentDocUuid: string, tabId?: string | undefined) => void
|