@lls/typings 24.16.0-d919fdb3 → 24.16.0-e10d609b

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.16.0-d919fdb3",
3
+ "version": "24.16.0-e10d609b",
4
4
  "description": "types custom du monorepo",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -13,7 +13,37 @@ export type PresentationViewType = {
13
13
  uuid?: string
14
14
  lastOpenUuid?: string
15
15
  }
16
+
17
+ type ProjectorViewPosition = -1 | 0 | 1
18
+
19
+ type ProjectorView = {
20
+ enterSlideView?: (
21
+ documentNode: HTMLElement | null,
22
+ docUuid: string,
23
+ transitionName: string,
24
+ splitViewPosition: number
25
+ ) => void
26
+ exitSlideView?: (docUuid: string, transition: string) => void
27
+ fullscreenViews?: Record<string, Boolean>
28
+ docStyleDatas?: Record<
29
+ string,
30
+ {
31
+ position: string
32
+ left: number
33
+ top: number
34
+ right: number
35
+ bottom: number
36
+ docHeight: number
37
+ transition: string
38
+ }
39
+ >
40
+ splitPositions?: Record<string, number>
41
+ prevPresentationView?: PresentationViewType
42
+ prevPreSlideDocUuid?: string
43
+ }
44
+
16
45
  export type PresentationPropsType = {
46
+ projectorView?: ProjectorView
17
47
  isPresentationMode?: boolean
18
48
  isPaginationEnabled?: boolean
19
49
  presentationView?: PresentationViewType
@@ -27,17 +57,17 @@ export type PresentationPropsType = {
27
57
  showHomo?: boolean
28
58
  setShowHomo?: (homo: boolean) => void
29
59
  openProjectorView?: () => void
30
- extendSplitView?: (view: -1 | 0 | 1) => void
31
- closeFullscreenCard?: (docUuid: string) => void
60
+ extendSplitView?: (view: ProjectorViewPosition) => void
61
+ closeFullscreenCard?: (docUuid?: string) => void
32
62
  closeProjectorView?: () => void
33
63
  closeSplitView?: () => void
34
64
  openFullscreenCard?: (docUuid: string, forceSplit?: boolean) => void
35
- slideToPreviousDocument?: (currentDocUuid: string, tabId: string) => void
65
+ slideToPreviousDocument?: (currentDocUuid: string, tabId?: string | undefined) => void
36
66
  getChildPosition?: (docUuid?: string, tabId?: string | undefined) => number
37
- slideToNextDocument?: (currentDocUuid: string, tabId: string) => void
67
+ slideToNextDocument?: (currentDocUuid: string, tabId?: string | undefined) => void
38
68
  initZoomModal?: (docUuid?: string) => void
39
69
  deleteZoomModal?: (docUuid?: string) => void
40
- getNbDocs?: (tabId: string) => number
70
+ getNbDocs?: (tabId?: string | undefined) => number
41
71
  getFirstDocWithFullscreen?: (tabId?: string) => string
42
72
  resetLeftDocZoomViewerStep?: () => void
43
73
  }