@pitcher/js-api 1.26.0-beta.16 → 1.26.0-beta.17
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/js-api.esm.js +3 -0
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +4 -0
- package/lib/apps/browser/stores/upload.d.ts +4 -4
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +18 -0
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +4 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +4 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +1 -1
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +6 -6
- package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +4 -0
- package/lib/apps/ppt-conversion-selector/composables/move-slide-modal.use.d.ts +2 -0
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +2 -0
- package/lib/sdk/payload.types.d.ts +4 -0
- package/package.json +2 -2
|
@@ -37,6 +37,7 @@ export declare function provideMoveItemModal(): {
|
|
|
37
37
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
38
38
|
readonly pspdfkit_document_id: string | null;
|
|
39
39
|
readonly pspdfkit_server_url: string | null;
|
|
40
|
+
expires_at?: string | null | undefined;
|
|
40
41
|
};
|
|
41
42
|
slide: {
|
|
42
43
|
index: number;
|
|
@@ -63,6 +64,7 @@ export declare function provideMoveItemModal(): {
|
|
|
63
64
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
64
65
|
readonly pspdfkit_document_id: string | null;
|
|
65
66
|
readonly pspdfkit_server_url: string | null;
|
|
67
|
+
expires_at?: string | null | undefined;
|
|
66
68
|
};
|
|
67
69
|
})[];
|
|
68
70
|
}[];
|
|
@@ -102,6 +104,7 @@ export declare function provideMoveItemModal(): {
|
|
|
102
104
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
103
105
|
readonly pspdfkit_document_id: string | null;
|
|
104
106
|
readonly pspdfkit_server_url: string | null;
|
|
107
|
+
expires_at?: string | null | undefined;
|
|
105
108
|
};
|
|
106
109
|
slide: {
|
|
107
110
|
index: number;
|
|
@@ -128,6 +131,7 @@ export declare function provideMoveItemModal(): {
|
|
|
128
131
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
129
132
|
readonly pspdfkit_document_id: string | null;
|
|
130
133
|
readonly pspdfkit_server_url: string | null;
|
|
134
|
+
expires_at?: string | null | undefined;
|
|
131
135
|
};
|
|
132
136
|
})[];
|
|
133
137
|
}[];
|
|
@@ -27,10 +27,10 @@ export default function (): {
|
|
|
27
27
|
can_be_divided?: boolean | undefined;
|
|
28
28
|
can_print?: boolean | undefined;
|
|
29
29
|
} | undefined;
|
|
30
|
+
expires_at?: string | null | undefined;
|
|
30
31
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
31
32
|
access_type?: AccessTypeEnum | undefined;
|
|
32
33
|
app_metadata?: Record<string, any> | undefined;
|
|
33
|
-
expires_at?: string | null | undefined;
|
|
34
34
|
folder_id?: string | undefined;
|
|
35
35
|
url?: string | undefined;
|
|
36
36
|
owned_by_id?: number | null | undefined;
|
|
@@ -72,10 +72,10 @@ export default function (): {
|
|
|
72
72
|
can_be_divided?: boolean | undefined;
|
|
73
73
|
can_print?: boolean | undefined;
|
|
74
74
|
} | undefined;
|
|
75
|
+
expires_at?: string | null | undefined;
|
|
75
76
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
76
77
|
access_type?: AccessTypeEnum | undefined;
|
|
77
78
|
app_metadata?: Record<string, any> | undefined;
|
|
78
|
-
expires_at?: string | null | undefined;
|
|
79
79
|
folder_id?: string | undefined;
|
|
80
80
|
url?: string | undefined;
|
|
81
81
|
owned_by_id?: number | null | undefined;
|
|
@@ -115,10 +115,10 @@ export default function (): {
|
|
|
115
115
|
can_be_divided?: boolean | undefined;
|
|
116
116
|
can_print?: boolean | undefined;
|
|
117
117
|
} | undefined;
|
|
118
|
+
expires_at?: string | null | undefined;
|
|
118
119
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
119
120
|
access_type?: AccessTypeEnum | undefined;
|
|
120
121
|
app_metadata?: Record<string, any> | undefined;
|
|
121
|
-
expires_at?: string | null | undefined;
|
|
122
122
|
folder_id?: string | undefined;
|
|
123
123
|
url?: string | undefined;
|
|
124
124
|
owned_by_id?: number | null | undefined;
|
|
@@ -160,10 +160,10 @@ export default function (): {
|
|
|
160
160
|
can_be_divided?: boolean | undefined;
|
|
161
161
|
can_print?: boolean | undefined;
|
|
162
162
|
} | undefined;
|
|
163
|
+
expires_at?: string | null | undefined;
|
|
163
164
|
download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
164
165
|
access_type?: AccessTypeEnum | undefined;
|
|
165
166
|
app_metadata?: Record<string, any> | undefined;
|
|
166
|
-
expires_at?: string | null | undefined;
|
|
167
167
|
folder_id?: string | undefined;
|
|
168
168
|
url?: string | undefined;
|
|
169
169
|
owned_by_id?: number | null | undefined;
|
|
@@ -59,6 +59,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
59
59
|
} | null;
|
|
60
60
|
readonly pspdfkit_document_id: string | null;
|
|
61
61
|
readonly pspdfkit_server_url: string | null;
|
|
62
|
+
readonly expires_at?: string | null | undefined;
|
|
62
63
|
};
|
|
63
64
|
readonly slide: {
|
|
64
65
|
readonly index: number;
|
|
@@ -89,6 +90,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
89
90
|
} | null;
|
|
90
91
|
readonly pspdfkit_document_id: string | null;
|
|
91
92
|
readonly pspdfkit_server_url: string | null;
|
|
93
|
+
readonly expires_at?: string | null | undefined;
|
|
92
94
|
};
|
|
93
95
|
})[];
|
|
94
96
|
}[];
|
|
@@ -549,6 +551,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
549
551
|
} | null;
|
|
550
552
|
readonly pspdfkit_document_id: string | null;
|
|
551
553
|
readonly pspdfkit_server_url: string | null;
|
|
554
|
+
readonly expires_at?: string | null | undefined;
|
|
552
555
|
};
|
|
553
556
|
readonly slide: {
|
|
554
557
|
readonly index: number;
|
|
@@ -579,6 +582,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
579
582
|
} | null;
|
|
580
583
|
readonly pspdfkit_document_id: string | null;
|
|
581
584
|
readonly pspdfkit_server_url: string | null;
|
|
585
|
+
readonly expires_at?: string | null | undefined;
|
|
582
586
|
};
|
|
583
587
|
})[];
|
|
584
588
|
}[];
|
|
@@ -1191,6 +1195,7 @@ export default function useCanvas(): {
|
|
|
1191
1195
|
} | null;
|
|
1192
1196
|
readonly pspdfkit_document_id: string | null;
|
|
1193
1197
|
readonly pspdfkit_server_url: string | null;
|
|
1198
|
+
readonly expires_at?: string | null | undefined;
|
|
1194
1199
|
};
|
|
1195
1200
|
readonly slide: {
|
|
1196
1201
|
readonly index: number;
|
|
@@ -1221,6 +1226,7 @@ export default function useCanvas(): {
|
|
|
1221
1226
|
} | null;
|
|
1222
1227
|
readonly pspdfkit_document_id: string | null;
|
|
1223
1228
|
readonly pspdfkit_server_url: string | null;
|
|
1229
|
+
readonly expires_at?: string | null | undefined;
|
|
1224
1230
|
};
|
|
1225
1231
|
})[];
|
|
1226
1232
|
}[];
|
|
@@ -1693,6 +1699,7 @@ export default function useCanvas(): {
|
|
|
1693
1699
|
} | null;
|
|
1694
1700
|
readonly pspdfkit_document_id: string | null;
|
|
1695
1701
|
readonly pspdfkit_server_url: string | null;
|
|
1702
|
+
readonly expires_at?: string | null | undefined;
|
|
1696
1703
|
};
|
|
1697
1704
|
readonly slide: {
|
|
1698
1705
|
readonly index: number;
|
|
@@ -1723,6 +1730,7 @@ export default function useCanvas(): {
|
|
|
1723
1730
|
} | null;
|
|
1724
1731
|
readonly pspdfkit_document_id: string | null;
|
|
1725
1732
|
readonly pspdfkit_server_url: string | null;
|
|
1733
|
+
readonly expires_at?: string | null | undefined;
|
|
1726
1734
|
};
|
|
1727
1735
|
})[];
|
|
1728
1736
|
}[];
|
|
@@ -2191,6 +2199,7 @@ export default function useCanvas(): {
|
|
|
2191
2199
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
2192
2200
|
readonly pspdfkit_document_id: string | null;
|
|
2193
2201
|
readonly pspdfkit_server_url: string | null;
|
|
2202
|
+
expires_at?: string | null | undefined;
|
|
2194
2203
|
};
|
|
2195
2204
|
slide: {
|
|
2196
2205
|
index: number;
|
|
@@ -2217,6 +2226,7 @@ export default function useCanvas(): {
|
|
|
2217
2226
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
2218
2227
|
readonly pspdfkit_document_id: string | null;
|
|
2219
2228
|
readonly pspdfkit_server_url: string | null;
|
|
2229
|
+
expires_at?: string | null | undefined;
|
|
2220
2230
|
};
|
|
2221
2231
|
})[];
|
|
2222
2232
|
}[];
|
|
@@ -2636,6 +2646,7 @@ export default function useCanvas(): {
|
|
|
2636
2646
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
2637
2647
|
readonly pspdfkit_document_id: string | null;
|
|
2638
2648
|
readonly pspdfkit_server_url: string | null;
|
|
2649
|
+
expires_at?: string | null | undefined;
|
|
2639
2650
|
};
|
|
2640
2651
|
slide: {
|
|
2641
2652
|
index: number;
|
|
@@ -2662,6 +2673,7 @@ export default function useCanvas(): {
|
|
|
2662
2673
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
2663
2674
|
readonly pspdfkit_document_id: string | null;
|
|
2664
2675
|
readonly pspdfkit_server_url: string | null;
|
|
2676
|
+
expires_at?: string | null | undefined;
|
|
2665
2677
|
};
|
|
2666
2678
|
})[];
|
|
2667
2679
|
}[];
|
|
@@ -3123,6 +3135,7 @@ export default function useCanvas(): {
|
|
|
3123
3135
|
} | null;
|
|
3124
3136
|
readonly pspdfkit_document_id: string | null;
|
|
3125
3137
|
readonly pspdfkit_server_url: string | null;
|
|
3138
|
+
readonly expires_at?: string | null | undefined;
|
|
3126
3139
|
};
|
|
3127
3140
|
readonly slide: {
|
|
3128
3141
|
readonly index: number;
|
|
@@ -3153,6 +3166,7 @@ export default function useCanvas(): {
|
|
|
3153
3166
|
} | null;
|
|
3154
3167
|
readonly pspdfkit_document_id: string | null;
|
|
3155
3168
|
readonly pspdfkit_server_url: string | null;
|
|
3169
|
+
readonly expires_at?: string | null | undefined;
|
|
3156
3170
|
};
|
|
3157
3171
|
})[];
|
|
3158
3172
|
}[];
|
|
@@ -3790,6 +3804,7 @@ export default function useCanvas(): {
|
|
|
3790
3804
|
} | null;
|
|
3791
3805
|
readonly pspdfkit_document_id: string | null;
|
|
3792
3806
|
readonly pspdfkit_server_url: string | null;
|
|
3807
|
+
readonly expires_at?: string | null | undefined;
|
|
3793
3808
|
};
|
|
3794
3809
|
readonly slide: {
|
|
3795
3810
|
readonly index: number;
|
|
@@ -3820,6 +3835,7 @@ export default function useCanvas(): {
|
|
|
3820
3835
|
} | null;
|
|
3821
3836
|
readonly pspdfkit_document_id: string | null;
|
|
3822
3837
|
readonly pspdfkit_server_url: string | null;
|
|
3838
|
+
readonly expires_at?: string | null | undefined;
|
|
3823
3839
|
};
|
|
3824
3840
|
})[];
|
|
3825
3841
|
}[];
|
|
@@ -4278,6 +4294,7 @@ export default function useCanvas(): {
|
|
|
4278
4294
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
4279
4295
|
readonly pspdfkit_document_id: string | null;
|
|
4280
4296
|
readonly pspdfkit_server_url: string | null;
|
|
4297
|
+
expires_at?: string | null | undefined;
|
|
4281
4298
|
};
|
|
4282
4299
|
slide: {
|
|
4283
4300
|
index: number;
|
|
@@ -4304,6 +4321,7 @@ export default function useCanvas(): {
|
|
|
4304
4321
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
4305
4322
|
readonly pspdfkit_document_id: string | null;
|
|
4306
4323
|
readonly pspdfkit_server_url: string | null;
|
|
4324
|
+
expires_at?: string | null | undefined;
|
|
4307
4325
|
};
|
|
4308
4326
|
})[];
|
|
4309
4327
|
}[];
|
|
@@ -207,6 +207,7 @@ export default function useCanvasBlocks(): {
|
|
|
207
207
|
} | null;
|
|
208
208
|
readonly pspdfkit_document_id: string | null;
|
|
209
209
|
readonly pspdfkit_server_url: string | null;
|
|
210
|
+
readonly expires_at?: string | null | undefined;
|
|
210
211
|
};
|
|
211
212
|
readonly slide: {
|
|
212
213
|
readonly index: number;
|
|
@@ -237,6 +238,7 @@ export default function useCanvasBlocks(): {
|
|
|
237
238
|
} | null;
|
|
238
239
|
readonly pspdfkit_document_id: string | null;
|
|
239
240
|
readonly pspdfkit_server_url: string | null;
|
|
241
|
+
readonly expires_at?: string | null | undefined;
|
|
240
242
|
};
|
|
241
243
|
})[];
|
|
242
244
|
}[];
|
|
@@ -694,6 +696,7 @@ export default function useCanvasBlocks(): {
|
|
|
694
696
|
} | null;
|
|
695
697
|
readonly pspdfkit_document_id: string | null;
|
|
696
698
|
readonly pspdfkit_server_url: string | null;
|
|
699
|
+
readonly expires_at?: string | null | undefined;
|
|
697
700
|
};
|
|
698
701
|
readonly slide: {
|
|
699
702
|
readonly index: number;
|
|
@@ -724,6 +727,7 @@ export default function useCanvasBlocks(): {
|
|
|
724
727
|
} | null;
|
|
725
728
|
readonly pspdfkit_document_id: string | null;
|
|
726
729
|
readonly pspdfkit_server_url: string | null;
|
|
730
|
+
readonly expires_at?: string | null | undefined;
|
|
727
731
|
};
|
|
728
732
|
})[];
|
|
729
733
|
}[];
|
|
@@ -51,6 +51,7 @@ export default function useCanvasHistory(): {
|
|
|
51
51
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
52
52
|
readonly pspdfkit_document_id: string | null;
|
|
53
53
|
readonly pspdfkit_server_url: string | null;
|
|
54
|
+
expires_at?: string | null | undefined;
|
|
54
55
|
};
|
|
55
56
|
slide: {
|
|
56
57
|
index: number;
|
|
@@ -77,6 +78,7 @@ export default function useCanvasHistory(): {
|
|
|
77
78
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
78
79
|
readonly pspdfkit_document_id: string | null;
|
|
79
80
|
readonly pspdfkit_server_url: string | null;
|
|
81
|
+
expires_at?: string | null | undefined;
|
|
80
82
|
};
|
|
81
83
|
})[];
|
|
82
84
|
}[];
|
|
@@ -504,6 +506,7 @@ export default function useCanvasHistory(): {
|
|
|
504
506
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
505
507
|
readonly pspdfkit_document_id: string | null;
|
|
506
508
|
readonly pspdfkit_server_url: string | null;
|
|
509
|
+
expires_at?: string | null | undefined;
|
|
507
510
|
};
|
|
508
511
|
slide: {
|
|
509
512
|
index: number;
|
|
@@ -530,6 +533,7 @@ export default function useCanvasHistory(): {
|
|
|
530
533
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
531
534
|
readonly pspdfkit_document_id: string | null;
|
|
532
535
|
readonly pspdfkit_server_url: string | null;
|
|
536
|
+
expires_at?: string | null | undefined;
|
|
533
537
|
};
|
|
534
538
|
})[];
|
|
535
539
|
}[];
|
|
@@ -278,7 +278,7 @@ export interface IFrameProps {
|
|
|
278
278
|
full_screen_mode?: boolean;
|
|
279
279
|
add_session_context?: boolean;
|
|
280
280
|
}
|
|
281
|
-
export type CollectionFileEntity = Pick<FileRetrieve, 'id' | 'name' | 'type' | 'tags' | 'metadata' | 'thumbnail_url' | 'permissions' | 'content_url' | 'content_type' | 'pspdfkit_auth_payload' | 'pspdfkit_document_id' | 'pspdfkit_server_url'>;
|
|
281
|
+
export type CollectionFileEntity = Pick<FileRetrieve, 'id' | 'name' | 'type' | 'tags' | 'metadata' | 'thumbnail_url' | 'permissions' | 'content_url' | 'content_type' | 'pspdfkit_auth_payload' | 'pspdfkit_document_id' | 'pspdfkit_server_url' | 'expires_at'>;
|
|
282
282
|
export interface LinkProps {
|
|
283
283
|
alignment?: LinkAlignmentTypes;
|
|
284
284
|
background_color?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UnwrapRef } from 'vue';
|
|
2
|
-
import { ComponentTypes, CarouselProps, ComponentNode, ContentGridProps, EmbeddableProps, GridItemProps, GridProps, HtmlProps, IFrameProps, MultimediaProps, SectionComponentOverrides, SectionListProps, TextProps, CanvasBuilderMode, ComponentNodeVisible, LinkProps } from '../types/canvas';
|
|
2
|
+
import { ComponentTypes, CarouselProps, ComponentNode, ContentGridProps, ContentListProps, EmbeddableProps, GridItemProps, GridProps, HtmlProps, IFrameProps, MultimediaProps, SectionComponentOverrides, SectionListProps, TextProps, CanvasBuilderMode, ComponentNodeVisible, LinkProps } from '../types/canvas';
|
|
3
3
|
import { CanvasRetrieve, FileRetrieve } from '../../../../types/openapi';
|
|
4
4
|
import { EmbedLocation } from '../../../types/app';
|
|
5
5
|
import { SectionComponentNodesBySectionId, ComponentNodesById } from '../composables/useCanvas';
|
|
@@ -25,13 +25,13 @@ export declare function addCanvasComponent(currentContent: ComponentNode[], add:
|
|
|
25
25
|
withChildren?: ComponentNode['children'];
|
|
26
26
|
withExtraNodeData?: Partial<ComponentNode>;
|
|
27
27
|
}): {
|
|
28
|
-
newContent: ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps |
|
|
28
|
+
newContent: ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | ContentListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[];
|
|
29
29
|
newComponentId: null;
|
|
30
30
|
} | {
|
|
31
|
-
newContent: ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps |
|
|
31
|
+
newContent: ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | ContentListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[];
|
|
32
32
|
newComponentId: string;
|
|
33
33
|
};
|
|
34
|
-
export declare function getAllPages(canvasContent: ComponentNode[], currentEmbedLocation: EmbedLocation, isEditMode?: boolean): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps |
|
|
34
|
+
export declare function getAllPages(canvasContent: ComponentNode[], currentEmbedLocation: EmbedLocation, isEditMode?: boolean): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | ContentListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[][];
|
|
35
35
|
export declare function getPageQuantity(canvasContent: ComponentNode[][]): number;
|
|
36
36
|
export declare const getPageRange: (canvasContent: ComponentNode[], currentEmbedLocation: EmbedLocation, start?: number, end?: number) => ComponentNode[][];
|
|
37
37
|
export declare function scrollCanvasToTop(): void;
|
|
@@ -49,8 +49,8 @@ export declare function findAllEmbeddableTypesInCanvasContent(componentNodesById
|
|
|
49
49
|
export declare function findAllEmbeddableTypesInSectionsContent(sectionComponentNodesBySectionId: UnwrapRef<SectionComponentNodesBySectionId>): Set<string>;
|
|
50
50
|
export declare function findEmbeddableInCanvasContent(componentNodesById: UnwrapRef<ComponentNodesById>, appName: string): FoundComponent;
|
|
51
51
|
export declare function scrollToComponentById(id: ComponentNode['id'] | null | undefined, sectionId?: string, sectionIndex?: number, instant?: boolean, delay?: number): void;
|
|
52
|
-
export declare function updateFirstContentGridWithShareboxItems(canvasContent: ComponentNode[], selectedItems: (SelectedFile | SelectedPage)[], filesById: Record<FileRetrieve['id'], FileRetrieve>): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps |
|
|
53
|
-
export declare function updateFirstCollectionPlayerWithShareboxItems(canvasContent: ComponentNode[], selectedItems: (SelectedFile | SelectedPage)[], filesById: Record<FileRetrieve['id'], FileRetrieve>): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps |
|
|
52
|
+
export declare function updateFirstContentGridWithShareboxItems(canvasContent: ComponentNode[], selectedItems: (SelectedFile | SelectedPage)[], filesById: Record<FileRetrieve['id'], FileRetrieve>): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | ContentListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[];
|
|
53
|
+
export declare function updateFirstCollectionPlayerWithShareboxItems(canvasContent: ComponentNode[], selectedItems: (SelectedFile | SelectedPage)[], filesById: Record<FileRetrieve['id'], FileRetrieve>): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | ContentListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[];
|
|
54
54
|
export declare function handleThemeAssetComparison(key: string | symbol | number, objValue: any, othValue: any, object: any, other: any, fileProps: string[], isEqual: (obj1: any, obj2: any) => boolean, componentsWithThemeMeta?: Set<string>): boolean | undefined;
|
|
55
55
|
export declare function applyCanvasThemeAssetsToNode(node: ComponentNode): ComponentNode;
|
|
56
56
|
export declare function processCanvasForSectionThemeOverride(canvas: CanvasRetrieve, maintainSectionTheme: boolean): CanvasRetrieve;
|
|
@@ -31,6 +31,7 @@ export declare function provideMoveSlideModal(): {
|
|
|
31
31
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
32
32
|
readonly pspdfkit_document_id: string | null;
|
|
33
33
|
readonly pspdfkit_server_url: string | null;
|
|
34
|
+
expires_at?: string | null | undefined;
|
|
34
35
|
};
|
|
35
36
|
slide: {
|
|
36
37
|
index: number;
|
|
@@ -57,6 +58,7 @@ export declare function provideMoveSlideModal(): {
|
|
|
57
58
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
58
59
|
readonly pspdfkit_document_id: string | null;
|
|
59
60
|
readonly pspdfkit_server_url: string | null;
|
|
61
|
+
expires_at?: string | null | undefined;
|
|
60
62
|
};
|
|
61
63
|
};
|
|
62
64
|
} | null, ActiveElement | {
|
|
@@ -82,6 +84,7 @@ export declare function provideMoveSlideModal(): {
|
|
|
82
84
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
83
85
|
readonly pspdfkit_document_id: string | null;
|
|
84
86
|
readonly pspdfkit_server_url: string | null;
|
|
87
|
+
expires_at?: string | null | undefined;
|
|
85
88
|
};
|
|
86
89
|
slide: {
|
|
87
90
|
index: number;
|
|
@@ -108,6 +111,7 @@ export declare function provideMoveSlideModal(): {
|
|
|
108
111
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
109
112
|
readonly pspdfkit_document_id: string | null;
|
|
110
113
|
readonly pspdfkit_server_url: string | null;
|
|
114
|
+
expires_at?: string | null | undefined;
|
|
111
115
|
};
|
|
112
116
|
};
|
|
113
117
|
} | null>;
|
|
@@ -31,6 +31,7 @@ export declare function provideMoveSlideModal(): {
|
|
|
31
31
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
32
32
|
readonly pspdfkit_document_id: string | null;
|
|
33
33
|
readonly pspdfkit_server_url: string | null;
|
|
34
|
+
expires_at?: string | null | undefined;
|
|
34
35
|
};
|
|
35
36
|
slide: {
|
|
36
37
|
index: number;
|
|
@@ -60,6 +61,7 @@ export declare function provideMoveSlideModal(): {
|
|
|
60
61
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
61
62
|
readonly pspdfkit_document_id: string | null;
|
|
62
63
|
readonly pspdfkit_server_url: string | null;
|
|
64
|
+
expires_at?: string | null | undefined;
|
|
63
65
|
};
|
|
64
66
|
slide: {
|
|
65
67
|
index: number;
|
|
@@ -87,6 +87,7 @@ export declare function provideAppStore({ initialCollection, t, confirmation, zI
|
|
|
87
87
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
88
88
|
readonly pspdfkit_document_id: string | null;
|
|
89
89
|
readonly pspdfkit_server_url: string | null;
|
|
90
|
+
expires_at?: string | null | undefined;
|
|
90
91
|
};
|
|
91
92
|
slide: {
|
|
92
93
|
index: number;
|
|
@@ -121,6 +122,7 @@ export declare function provideAppStore({ initialCollection, t, confirmation, zI
|
|
|
121
122
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
122
123
|
readonly pspdfkit_document_id: string | null;
|
|
123
124
|
readonly pspdfkit_server_url: string | null;
|
|
125
|
+
expires_at?: string | null | undefined;
|
|
124
126
|
};
|
|
125
127
|
slide: {
|
|
126
128
|
index: number;
|
|
@@ -106,6 +106,10 @@ export interface CRMSmartObjectMetadataPayload {
|
|
|
106
106
|
* The name of the CRM object to retrieve metadata for (e.g., 'Account', 'Contact', 'Opportunity').
|
|
107
107
|
*/
|
|
108
108
|
object: string;
|
|
109
|
+
/**
|
|
110
|
+
* Optional record type ID to retrieve metadata for a specific record type.
|
|
111
|
+
*/
|
|
112
|
+
record_type_id?: string;
|
|
109
113
|
}
|
|
110
114
|
/**
|
|
111
115
|
* Payload for submitting user feedback.
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pitcher/js-api",
|
|
3
|
-
"version": "1.26.0-beta.
|
|
3
|
+
"version": "1.26.0-beta.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "js-api.umd.min.js",
|
|
6
6
|
"module": "js-api.esm.js",
|
|
7
7
|
"types": "js-api.esm.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"lodash-es": "4"
|
|
10
|
+
"lodash-es": "^4.17.23"
|
|
11
11
|
}
|
|
12
12
|
}
|