@pitcher/js-api 1.24.0-rc.0 → 1.25.0-beta.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.
- package/impact-js-api.spec.json +1 -1
- package/js-api.esm.js +17 -3
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +12 -0
- package/lib/apps/browser/stores/api.d.ts +2 -0
- package/lib/apps/browser/stores/app.d.ts +2 -0
- package/lib/apps/browser/stores/upload.d.ts +4 -0
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +48 -0
- package/lib/apps/canvas-builder/components/container/AiPrompt/AiPromptModal.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/RestrictedSectionSelector.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +3 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListStrategySelector.vue.d.ts +7 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/composables/useAiPrompt.d.ts +6 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +110 -8
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +6 -2
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -2
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +18 -18
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +5 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +14 -1
- package/lib/apps/collection-player/App.vue.d.ts +2 -0
- package/lib/apps/collection-player/composables/moving-group-gestures.use.d.ts +5 -5
- package/lib/apps/collection-player/stores/app.store.d.ts +4 -3
- package/lib/apps/collection-player/types/collection-player.type.d.ts +1 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +12 -0
- package/lib/apps/content-selector/stores/api.d.ts +2 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +6 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +303 -2
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +1 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +3 -1
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -0
- package/lib/components/CImage/CBrokenImage.vue.d.ts +4 -1
- package/lib/components/CImage/CImage.vue.d.ts +296 -1
- package/lib/components/CSearch/CSearchOnClickWithSuggestions.vue.d.ts +23 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +7 -0
- package/lib/components/CSwitch/CSwitch.vue.d.ts +10 -1
- package/lib/components/CTableInput/CTableInput.vue.d.ts +2 -0
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +380 -10
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +184 -3
- package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +19 -0
- package/lib/components/filters/CSearchFilter.vue.d.ts +14 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +4 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +1 -1
- package/lib/composables/useCanvasLocks.d.ts +1 -0
- package/lib/composables/useCanvasOverlay.d.ts +13 -1
- package/lib/composables/useMetadataSearch.d.ts +19 -0
- package/lib/composables/useWindowEvents.d.ts +4 -3
- package/lib/constants/cdp.const.d.ts +2 -2
- package/lib/main.lib.d.ts +3 -0
- package/lib/sdk/api/HighLevelApi.d.ts +0 -1
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +20 -0
- package/lib/sdk/api/modules/admin/index.d.ts +6 -0
- package/lib/sdk/api/modules/env.d.ts +1 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +20 -0
- package/lib/sdk/api/modules/ui/index.d.ts +6 -0
- package/lib/sdk/main.d.ts +30 -3
- package/lib/sdk/payload.types.d.ts +4 -0
- package/lib/sdk/utils/window.d.ts +1 -0
- package/lib/types/app.d.ts +3 -0
- package/lib/types/core/MetadataFilter.d.ts +32 -0
- package/lib/types/files.d.ts +3 -1
- package/lib/types/instanceSettings.types.d.ts +4 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +3 -0
- package/lib/types/recentFiles.types.d.ts +2 -1
- package/lib/types/search.d.ts +5 -0
- package/lib/util/anchor.d.ts +1 -1
- package/lib/util/image.d.ts +6 -0
- package/lib/util/tree-transformation.util.d.ts +0 -1
- package/lib/util/url.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +0 -2
- package/types/openapi/models/FileCreateRequest.d.ts +1 -0
- package/types/openapi/models/FileStatusEnum.d.ts +3 -1
- package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +1 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedUserRequest.d.ts +1 -1
- package/types/openapi/models/SearchResult.d.ts +1 -3
- package/types/openapi/models/SharedLink.d.ts +0 -1
- package/types/openapi/models/SharedLinkCreate.d.ts +0 -1
- package/types/openapi/models/SharedLinkCreateRequest.d.ts +0 -1
- package/types/openapi/models/SharedLinkInstance.d.ts +1 -0
- package/types/openapi/models/User.d.ts +1 -1
- package/types/openapi/models/UserRequest.d.ts +1 -1
- package/types/openapi/models/SearchContentDistributionGroup.d.ts +0 -10
- package/types/openapi/models/SearchInstanceAssignmentGroup.d.ts +0 -10
|
@@ -5,6 +5,7 @@ import { EmbedLocation } from '../../../types/app';
|
|
|
5
5
|
import { LaunchDarklyEnv } from '../../../types/launchDarkly.types';
|
|
6
6
|
import { CanvasMetadataRetrieve } from '../../../types/canvases';
|
|
7
7
|
import { BackgroundSize } from '../../../types/background';
|
|
8
|
+
import { ActionCallback } from '../../collection-player/composables/keyboard-bindings.use.ts';
|
|
8
9
|
declare function cleanup(): void;
|
|
9
10
|
export type ComponentNodesById = typeof componentNodesById;
|
|
10
11
|
declare const componentNodesById: import('vue').ComputedRef<{
|
|
@@ -86,6 +87,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
86
87
|
readonly [x: string]: any;
|
|
87
88
|
} | undefined;
|
|
88
89
|
readonly name: string;
|
|
90
|
+
readonly hide_footer?: boolean | undefined;
|
|
89
91
|
} | {
|
|
90
92
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
91
93
|
readonly columns: number;
|
|
@@ -238,8 +240,9 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
238
240
|
readonly background_video_url?: string | undefined;
|
|
239
241
|
}[];
|
|
240
242
|
readonly animation_in?: string | undefined;
|
|
241
|
-
readonly selection_strategy?: "free" | "single" | "
|
|
243
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
242
244
|
readonly selection_app_name?: string | undefined;
|
|
245
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
243
246
|
} | {
|
|
244
247
|
readonly html: string;
|
|
245
248
|
} | {
|
|
@@ -448,6 +451,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
448
451
|
readonly [x: string]: any;
|
|
449
452
|
} | undefined;
|
|
450
453
|
readonly name: string;
|
|
454
|
+
readonly hide_footer?: boolean | undefined;
|
|
451
455
|
} | {
|
|
452
456
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
453
457
|
readonly columns: number;
|
|
@@ -600,8 +604,9 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
600
604
|
readonly background_video_url?: string | undefined;
|
|
601
605
|
}[];
|
|
602
606
|
readonly animation_in?: string | undefined;
|
|
603
|
-
readonly selection_strategy?: "free" | "single" | "
|
|
607
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
604
608
|
readonly selection_app_name?: string | undefined;
|
|
609
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
605
610
|
} | {
|
|
606
611
|
readonly html: string;
|
|
607
612
|
} | {
|
|
@@ -950,6 +955,7 @@ export default function useCanvas(): {
|
|
|
950
955
|
readonly [x: string]: any;
|
|
951
956
|
} | undefined;
|
|
952
957
|
readonly name: string;
|
|
958
|
+
readonly hide_footer?: boolean | undefined;
|
|
953
959
|
} | {
|
|
954
960
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
955
961
|
readonly columns: number;
|
|
@@ -1102,8 +1108,9 @@ export default function useCanvas(): {
|
|
|
1102
1108
|
readonly background_video_url?: string | undefined;
|
|
1103
1109
|
}[];
|
|
1104
1110
|
readonly animation_in?: string | undefined;
|
|
1105
|
-
readonly selection_strategy?: "free" | "single" | "
|
|
1111
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
1106
1112
|
readonly selection_app_name?: string | undefined;
|
|
1113
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
1107
1114
|
} | {
|
|
1108
1115
|
readonly html: string;
|
|
1109
1116
|
} | {
|
|
@@ -1321,6 +1328,7 @@ export default function useCanvas(): {
|
|
|
1321
1328
|
readonly [x: string]: any;
|
|
1322
1329
|
} | undefined;
|
|
1323
1330
|
readonly name: string;
|
|
1331
|
+
readonly hide_footer?: boolean | undefined;
|
|
1324
1332
|
} | {
|
|
1325
1333
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
1326
1334
|
readonly columns: number;
|
|
@@ -1473,8 +1481,9 @@ export default function useCanvas(): {
|
|
|
1473
1481
|
readonly background_video_url?: string | undefined;
|
|
1474
1482
|
}[];
|
|
1475
1483
|
readonly animation_in?: string | undefined;
|
|
1476
|
-
readonly selection_strategy?: "free" | "single" | "
|
|
1484
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
1477
1485
|
readonly selection_app_name?: string | undefined;
|
|
1486
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
1478
1487
|
} | {
|
|
1479
1488
|
readonly html: string;
|
|
1480
1489
|
} | {
|
|
@@ -1683,6 +1692,7 @@ export default function useCanvas(): {
|
|
|
1683
1692
|
}[];
|
|
1684
1693
|
filters?: Record<string, any> | undefined;
|
|
1685
1694
|
name: string;
|
|
1695
|
+
hide_footer?: boolean | undefined;
|
|
1686
1696
|
} | {
|
|
1687
1697
|
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
1688
1698
|
columns: number;
|
|
@@ -1823,8 +1833,9 @@ export default function useCanvas(): {
|
|
|
1823
1833
|
background_video_url?: string | undefined;
|
|
1824
1834
|
}[];
|
|
1825
1835
|
animation_in?: string | undefined;
|
|
1826
|
-
selection_strategy?: "free" | "single" | "
|
|
1836
|
+
selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
1827
1837
|
selection_app_name?: string | undefined;
|
|
1838
|
+
is_restricted_to_preselections?: boolean | undefined;
|
|
1828
1839
|
} | {
|
|
1829
1840
|
html: string;
|
|
1830
1841
|
} | {
|
|
@@ -2000,6 +2011,7 @@ export default function useCanvas(): {
|
|
|
2000
2011
|
}[];
|
|
2001
2012
|
filters?: Record<string, any> | undefined;
|
|
2002
2013
|
name: string;
|
|
2014
|
+
hide_footer?: boolean | undefined;
|
|
2003
2015
|
} | {
|
|
2004
2016
|
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
2005
2017
|
columns: number;
|
|
@@ -2140,8 +2152,9 @@ export default function useCanvas(): {
|
|
|
2140
2152
|
background_video_url?: string | undefined;
|
|
2141
2153
|
}[];
|
|
2142
2154
|
animation_in?: string | undefined;
|
|
2143
|
-
selection_strategy?: "free" | "single" | "
|
|
2155
|
+
selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
2144
2156
|
selection_app_name?: string | undefined;
|
|
2157
|
+
is_restricted_to_preselections?: boolean | undefined;
|
|
2145
2158
|
} | {
|
|
2146
2159
|
html: string;
|
|
2147
2160
|
} | {
|
|
@@ -2250,6 +2263,16 @@ export default function useCanvas(): {
|
|
|
2250
2263
|
dt_group_header_bg_palette_index: number;
|
|
2251
2264
|
} | undefined;
|
|
2252
2265
|
}[]>;
|
|
2266
|
+
canvasHomePage: Ref<{
|
|
2267
|
+
component_id: ComponentNode["id"];
|
|
2268
|
+
section_id?: (CanvasRetrieve["id"] | null) | undefined;
|
|
2269
|
+
} | null, {
|
|
2270
|
+
component_id: ComponentNode["id"];
|
|
2271
|
+
section_id?: CanvasRetrieve["id"] | null;
|
|
2272
|
+
} | {
|
|
2273
|
+
component_id: ComponentNode["id"];
|
|
2274
|
+
section_id?: (CanvasRetrieve["id"] | null) | undefined;
|
|
2275
|
+
} | null>;
|
|
2253
2276
|
canvasMetadata: Ref<{
|
|
2254
2277
|
[x: string]: any;
|
|
2255
2278
|
presentation_component_metadata: Record<string, any>;
|
|
@@ -2354,6 +2377,7 @@ export default function useCanvas(): {
|
|
|
2354
2377
|
readonly [x: string]: any;
|
|
2355
2378
|
} | undefined;
|
|
2356
2379
|
readonly name: string;
|
|
2380
|
+
readonly hide_footer?: boolean | undefined;
|
|
2357
2381
|
} | {
|
|
2358
2382
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
2359
2383
|
readonly columns: number;
|
|
@@ -2506,8 +2530,9 @@ export default function useCanvas(): {
|
|
|
2506
2530
|
readonly background_video_url?: string | undefined;
|
|
2507
2531
|
}[];
|
|
2508
2532
|
readonly animation_in?: string | undefined;
|
|
2509
|
-
readonly selection_strategy?: "free" | "single" | "
|
|
2533
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
2510
2534
|
readonly selection_app_name?: string | undefined;
|
|
2535
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
2511
2536
|
} | {
|
|
2512
2537
|
readonly html: string;
|
|
2513
2538
|
} | {
|
|
@@ -2668,6 +2693,9 @@ export default function useCanvas(): {
|
|
|
2668
2693
|
isPrintDisplayMode: import('vue').ComputedRef<boolean>;
|
|
2669
2694
|
isRedirectEvent: Ref<boolean, boolean>;
|
|
2670
2695
|
isSameAsSaved: import('vue').ComputedRef<any>;
|
|
2696
|
+
isContentSameAsSaved: import('vue').ComputedRef<any>;
|
|
2697
|
+
areOverridesSameAsSaved: import('vue').ComputedRef<any>;
|
|
2698
|
+
isHomePageSameAsSaved: import('vue').ComputedRef<boolean>;
|
|
2671
2699
|
isSection: import('vue').ComputedRef<boolean | undefined>;
|
|
2672
2700
|
isTemplate: import('vue').ComputedRef<boolean | undefined>;
|
|
2673
2701
|
isBlock: import('vue').ComputedRef<boolean | undefined>;
|
|
@@ -2694,6 +2722,32 @@ export default function useCanvas(): {
|
|
|
2694
2722
|
}[]>;
|
|
2695
2723
|
onComponentEnter: Ref<((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined, ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
|
|
2696
2724
|
onComponentExit: Ref<((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined, ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
|
|
2725
|
+
onAppEnter: Ref<((data: {
|
|
2726
|
+
src: string;
|
|
2727
|
+
}) => void) | ((data: {
|
|
2728
|
+
src: string;
|
|
2729
|
+
}) => void) | ((c: {
|
|
2730
|
+
src: string;
|
|
2731
|
+
}) => void) | undefined, ((data: {
|
|
2732
|
+
src: string;
|
|
2733
|
+
}) => void) | ((data: {
|
|
2734
|
+
src: string;
|
|
2735
|
+
}) => void) | ((c: {
|
|
2736
|
+
src: string;
|
|
2737
|
+
}) => void) | undefined>;
|
|
2738
|
+
onAppExit: Ref<((data: {
|
|
2739
|
+
src: string;
|
|
2740
|
+
}) => void) | ((data: {
|
|
2741
|
+
src: string;
|
|
2742
|
+
}) => void) | ((c: {
|
|
2743
|
+
src: string;
|
|
2744
|
+
}) => void) | undefined, ((data: {
|
|
2745
|
+
src: string;
|
|
2746
|
+
}) => void) | ((data: {
|
|
2747
|
+
src: string;
|
|
2748
|
+
}) => void) | ((c: {
|
|
2749
|
+
src: string;
|
|
2750
|
+
}) => void) | undefined>;
|
|
2697
2751
|
onPageEnter: Ref<((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined, ((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined>;
|
|
2698
2752
|
onPageExit: Ref<((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined, ((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined>;
|
|
2699
2753
|
onDownloadCanvas: Ref<((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined, ((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
@@ -2851,6 +2905,7 @@ export default function useCanvas(): {
|
|
|
2851
2905
|
readonly [x: string]: any;
|
|
2852
2906
|
} | undefined;
|
|
2853
2907
|
readonly name: string;
|
|
2908
|
+
readonly hide_footer?: boolean | undefined;
|
|
2854
2909
|
} | {
|
|
2855
2910
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
2856
2911
|
readonly columns: number;
|
|
@@ -3003,8 +3058,9 @@ export default function useCanvas(): {
|
|
|
3003
3058
|
readonly background_video_url?: string | undefined;
|
|
3004
3059
|
}[];
|
|
3005
3060
|
readonly animation_in?: string | undefined;
|
|
3006
|
-
readonly selection_strategy?: "free" | "single" | "
|
|
3061
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
3007
3062
|
readonly selection_app_name?: string | undefined;
|
|
3063
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
3008
3064
|
} | {
|
|
3009
3065
|
readonly html: string;
|
|
3010
3066
|
} | {
|
|
@@ -3138,6 +3194,48 @@ export default function useCanvas(): {
|
|
|
3138
3194
|
share: Ref<((canvasId: CanvasRetrieve["id"]) => Promise<import('../../../../types/openapi').SharedLink>) | undefined, ((canvasId: CanvasRetrieve["id"]) => Promise<import('../../../../types/openapi').SharedLink>) | undefined>;
|
|
3139
3195
|
singletonsInCanvasMap: import('vue').ComputedRef<Record<ComponentTypes, boolean>>;
|
|
3140
3196
|
startPage: Ref<number | undefined, number | undefined>;
|
|
3197
|
+
renderBuilder: Ref<boolean, boolean>;
|
|
3198
|
+
visibleCollectionPlayerRefs: Ref<Set<Ref<{
|
|
3199
|
+
isFullscreen: Ref<boolean>;
|
|
3200
|
+
handleKeyAction: ActionCallback;
|
|
3201
|
+
element: HTMLElement;
|
|
3202
|
+
} | null, {
|
|
3203
|
+
isFullscreen: Ref<boolean>;
|
|
3204
|
+
handleKeyAction: ActionCallback;
|
|
3205
|
+
element: HTMLElement;
|
|
3206
|
+
} | null>> & Omit<Set<Ref<{
|
|
3207
|
+
isFullscreen: Ref<boolean>;
|
|
3208
|
+
handleKeyAction: ActionCallback;
|
|
3209
|
+
element: HTMLElement;
|
|
3210
|
+
} | null, {
|
|
3211
|
+
isFullscreen: Ref<boolean>;
|
|
3212
|
+
handleKeyAction: ActionCallback;
|
|
3213
|
+
element: HTMLElement;
|
|
3214
|
+
} | null>>, keyof Set<any>>, Set<Ref<{
|
|
3215
|
+
isFullscreen: Ref<boolean>;
|
|
3216
|
+
handleKeyAction: ActionCallback;
|
|
3217
|
+
element: HTMLElement;
|
|
3218
|
+
} | null, {
|
|
3219
|
+
isFullscreen: Ref<boolean>;
|
|
3220
|
+
handleKeyAction: ActionCallback;
|
|
3221
|
+
element: HTMLElement;
|
|
3222
|
+
} | null>> | (Set<Ref<{
|
|
3223
|
+
isFullscreen: Ref<boolean>;
|
|
3224
|
+
handleKeyAction: ActionCallback;
|
|
3225
|
+
element: HTMLElement;
|
|
3226
|
+
} | null, {
|
|
3227
|
+
isFullscreen: Ref<boolean>;
|
|
3228
|
+
handleKeyAction: ActionCallback;
|
|
3229
|
+
element: HTMLElement;
|
|
3230
|
+
} | null>> & Omit<Set<Ref<{
|
|
3231
|
+
isFullscreen: Ref<boolean>;
|
|
3232
|
+
handleKeyAction: ActionCallback;
|
|
3233
|
+
element: HTMLElement;
|
|
3234
|
+
} | null, {
|
|
3235
|
+
isFullscreen: Ref<boolean>;
|
|
3236
|
+
handleKeyAction: ActionCallback;
|
|
3237
|
+
element: HTMLElement;
|
|
3238
|
+
} | null>>, keyof Set<any>>)>;
|
|
3141
3239
|
initialize: (props: CanvasBuilderProps, launchDarkly: LaunchDarklyEnv) => void;
|
|
3142
3240
|
activateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean) => void;
|
|
3143
3241
|
deactivateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean) => void;
|
|
@@ -3170,6 +3268,10 @@ export default function useCanvas(): {
|
|
|
3170
3268
|
setInCall: (value?: boolean | undefined) => void;
|
|
3171
3269
|
setIsEditMode: (value: boolean) => void;
|
|
3172
3270
|
updateActiveCanvasProperties: (newProperties: Partial<CanvasRetrieve>) => void;
|
|
3271
|
+
updateHomePageSettings: (homePage: {
|
|
3272
|
+
component_id: string;
|
|
3273
|
+
section_id?: string | null;
|
|
3274
|
+
} | null) => void;
|
|
3173
3275
|
updateNodeData: (data: ComponentNode["data"], id: ComponentNode["id"], sectionId?: CanvasRetrieve["id"]) => void;
|
|
3174
3276
|
updateNodeDataById: (id: ComponentNode["id"], newData: ComponentNode["data"]) => void;
|
|
3175
3277
|
deepMergeNodeById: (id: ComponentNode["id"], patch: Partial<ComponentNode>) => void;
|
|
@@ -241,6 +241,7 @@ export default function useCanvasBlocks(): {
|
|
|
241
241
|
readonly [x: string]: any;
|
|
242
242
|
} | undefined;
|
|
243
243
|
readonly name: string;
|
|
244
|
+
readonly hide_footer?: boolean | undefined;
|
|
244
245
|
} | {
|
|
245
246
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
246
247
|
readonly columns: number;
|
|
@@ -393,8 +394,9 @@ export default function useCanvasBlocks(): {
|
|
|
393
394
|
readonly background_video_url?: string | undefined;
|
|
394
395
|
}[];
|
|
395
396
|
readonly animation_in?: string | undefined;
|
|
396
|
-
readonly selection_strategy?: "free" | "single" | "
|
|
397
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
397
398
|
readonly selection_app_name?: string | undefined;
|
|
399
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
398
400
|
} | {
|
|
399
401
|
readonly html: string;
|
|
400
402
|
} | {
|
|
@@ -600,6 +602,7 @@ export default function useCanvasBlocks(): {
|
|
|
600
602
|
readonly [x: string]: any;
|
|
601
603
|
} | undefined;
|
|
602
604
|
readonly name: string;
|
|
605
|
+
readonly hide_footer?: boolean | undefined;
|
|
603
606
|
} | {
|
|
604
607
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
605
608
|
readonly columns: number;
|
|
@@ -752,8 +755,9 @@ export default function useCanvasBlocks(): {
|
|
|
752
755
|
readonly background_video_url?: string | undefined;
|
|
753
756
|
}[];
|
|
754
757
|
readonly animation_in?: string | undefined;
|
|
755
|
-
readonly selection_strategy?: "free" | "single" | "
|
|
758
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
756
759
|
readonly selection_app_name?: string | undefined;
|
|
760
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
757
761
|
} | {
|
|
758
762
|
readonly html: string;
|
|
759
763
|
} | {
|
|
@@ -75,6 +75,7 @@ export default function useCanvasHistory(): {
|
|
|
75
75
|
}[];
|
|
76
76
|
filters?: Record<string, any> | undefined;
|
|
77
77
|
name: string;
|
|
78
|
+
hide_footer?: boolean | undefined;
|
|
78
79
|
} | {
|
|
79
80
|
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
80
81
|
columns: number;
|
|
@@ -215,8 +216,9 @@ export default function useCanvasHistory(): {
|
|
|
215
216
|
background_video_url?: string | undefined;
|
|
216
217
|
}[];
|
|
217
218
|
animation_in?: string | undefined;
|
|
218
|
-
selection_strategy?: "free" | "single" | "
|
|
219
|
+
selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
219
220
|
selection_app_name?: string | undefined;
|
|
221
|
+
is_restricted_to_preselections?: boolean | undefined;
|
|
220
222
|
} | {
|
|
221
223
|
html: string;
|
|
222
224
|
} | {
|
|
@@ -400,6 +402,7 @@ export default function useCanvasHistory(): {
|
|
|
400
402
|
}[];
|
|
401
403
|
filters?: Record<string, any> | undefined;
|
|
402
404
|
name: string;
|
|
405
|
+
hide_footer?: boolean | undefined;
|
|
403
406
|
} | {
|
|
404
407
|
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
405
408
|
columns: number;
|
|
@@ -540,8 +543,9 @@ export default function useCanvasHistory(): {
|
|
|
540
543
|
background_video_url?: string | undefined;
|
|
541
544
|
}[];
|
|
542
545
|
animation_in?: string | undefined;
|
|
543
|
-
selection_strategy?: "free" | "single" | "
|
|
546
|
+
selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
544
547
|
selection_app_name?: string | undefined;
|
|
548
|
+
is_restricted_to_preselections?: boolean | undefined;
|
|
545
549
|
} | {
|
|
546
550
|
html: string;
|
|
547
551
|
} | {
|
|
@@ -89,7 +89,6 @@ export default function useCanvasTheme(): {
|
|
|
89
89
|
readonly activated_at: string | null;
|
|
90
90
|
readonly is_active: boolean;
|
|
91
91
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
92
|
-
dark_mode?: boolean | undefined;
|
|
93
92
|
readonly connected_services: {
|
|
94
93
|
connection_id: string;
|
|
95
94
|
type: string;
|
|
@@ -102,6 +101,7 @@ export default function useCanvasTheme(): {
|
|
|
102
101
|
preferred_username?: string | undefined;
|
|
103
102
|
readonly picture: string | null;
|
|
104
103
|
timezone?: string | undefined;
|
|
104
|
+
tags?: (Array<string> | null) | undefined;
|
|
105
105
|
};
|
|
106
106
|
created_by: {
|
|
107
107
|
readonly id: number;
|
|
@@ -116,7 +116,6 @@ export default function useCanvasTheme(): {
|
|
|
116
116
|
readonly activated_at: string | null;
|
|
117
117
|
readonly is_active: boolean;
|
|
118
118
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
119
|
-
dark_mode?: boolean | undefined;
|
|
120
119
|
readonly connected_services: {
|
|
121
120
|
connection_id: string;
|
|
122
121
|
type: string;
|
|
@@ -129,6 +128,7 @@ export default function useCanvasTheme(): {
|
|
|
129
128
|
preferred_username?: string | undefined;
|
|
130
129
|
readonly picture: string | null;
|
|
131
130
|
timezone?: string | undefined;
|
|
131
|
+
tags?: (Array<string> | null) | undefined;
|
|
132
132
|
};
|
|
133
133
|
modified_by?: {
|
|
134
134
|
readonly id: number;
|
|
@@ -143,7 +143,6 @@ export default function useCanvasTheme(): {
|
|
|
143
143
|
readonly activated_at: string | null;
|
|
144
144
|
readonly is_active: boolean;
|
|
145
145
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
146
|
-
dark_mode?: boolean | undefined;
|
|
147
146
|
readonly connected_services: {
|
|
148
147
|
connection_id: string;
|
|
149
148
|
type: string;
|
|
@@ -156,6 +155,7 @@ export default function useCanvasTheme(): {
|
|
|
156
155
|
preferred_username?: string | undefined;
|
|
157
156
|
readonly picture: string | null;
|
|
158
157
|
timezone?: string | undefined;
|
|
158
|
+
tags?: (Array<string> | null) | undefined;
|
|
159
159
|
} | undefined;
|
|
160
160
|
settings: {
|
|
161
161
|
component_spacing: number;
|
|
@@ -185,7 +185,6 @@ export default function useCanvasTheme(): {
|
|
|
185
185
|
readonly activated_at: string | null;
|
|
186
186
|
readonly is_active: boolean;
|
|
187
187
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
188
|
-
dark_mode?: boolean | undefined;
|
|
189
188
|
readonly connected_services: {
|
|
190
189
|
connection_id: string;
|
|
191
190
|
type: string;
|
|
@@ -198,6 +197,7 @@ export default function useCanvasTheme(): {
|
|
|
198
197
|
preferred_username?: string | undefined;
|
|
199
198
|
readonly picture: string | null;
|
|
200
199
|
timezone?: string | undefined;
|
|
200
|
+
tags?: (Array<string> | null) | undefined;
|
|
201
201
|
};
|
|
202
202
|
created_by: {
|
|
203
203
|
readonly id: number;
|
|
@@ -212,7 +212,6 @@ export default function useCanvasTheme(): {
|
|
|
212
212
|
readonly activated_at: string | null;
|
|
213
213
|
readonly is_active: boolean;
|
|
214
214
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
215
|
-
dark_mode?: boolean | undefined;
|
|
216
215
|
readonly connected_services: {
|
|
217
216
|
connection_id: string;
|
|
218
217
|
type: string;
|
|
@@ -225,6 +224,7 @@ export default function useCanvasTheme(): {
|
|
|
225
224
|
preferred_username?: string | undefined;
|
|
226
225
|
readonly picture: string | null;
|
|
227
226
|
timezone?: string | undefined;
|
|
227
|
+
tags?: (Array<string> | null) | undefined;
|
|
228
228
|
};
|
|
229
229
|
modified_by?: {
|
|
230
230
|
readonly id: number;
|
|
@@ -239,7 +239,6 @@ export default function useCanvasTheme(): {
|
|
|
239
239
|
readonly activated_at: string | null;
|
|
240
240
|
readonly is_active: boolean;
|
|
241
241
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
242
|
-
dark_mode?: boolean | undefined;
|
|
243
242
|
readonly connected_services: {
|
|
244
243
|
connection_id: string;
|
|
245
244
|
type: string;
|
|
@@ -252,6 +251,7 @@ export default function useCanvasTheme(): {
|
|
|
252
251
|
preferred_username?: string | undefined;
|
|
253
252
|
readonly picture: string | null;
|
|
254
253
|
timezone?: string | undefined;
|
|
254
|
+
tags?: (Array<string> | null) | undefined;
|
|
255
255
|
} | undefined;
|
|
256
256
|
settings: {
|
|
257
257
|
component_spacing: number;
|
|
@@ -416,7 +416,6 @@ export default function useCanvasTheme(): {
|
|
|
416
416
|
readonly activated_at: string | null;
|
|
417
417
|
readonly is_active: boolean;
|
|
418
418
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
419
|
-
dark_mode?: boolean | undefined;
|
|
420
419
|
readonly connected_services: {
|
|
421
420
|
connection_id: string;
|
|
422
421
|
type: string;
|
|
@@ -429,6 +428,7 @@ export default function useCanvasTheme(): {
|
|
|
429
428
|
preferred_username?: string | undefined;
|
|
430
429
|
readonly picture: string | null;
|
|
431
430
|
timezone?: string | undefined;
|
|
431
|
+
tags?: (Array<string> | null) | undefined;
|
|
432
432
|
};
|
|
433
433
|
created_by: {
|
|
434
434
|
readonly id: number;
|
|
@@ -443,7 +443,6 @@ export default function useCanvasTheme(): {
|
|
|
443
443
|
readonly activated_at: string | null;
|
|
444
444
|
readonly is_active: boolean;
|
|
445
445
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
446
|
-
dark_mode?: boolean | undefined;
|
|
447
446
|
readonly connected_services: {
|
|
448
447
|
connection_id: string;
|
|
449
448
|
type: string;
|
|
@@ -456,6 +455,7 @@ export default function useCanvasTheme(): {
|
|
|
456
455
|
preferred_username?: string | undefined;
|
|
457
456
|
readonly picture: string | null;
|
|
458
457
|
timezone?: string | undefined;
|
|
458
|
+
tags?: (Array<string> | null) | undefined;
|
|
459
459
|
};
|
|
460
460
|
modified_by?: {
|
|
461
461
|
readonly id: number;
|
|
@@ -470,7 +470,6 @@ export default function useCanvasTheme(): {
|
|
|
470
470
|
readonly activated_at: string | null;
|
|
471
471
|
readonly is_active: boolean;
|
|
472
472
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
473
|
-
dark_mode?: boolean | undefined;
|
|
474
473
|
readonly connected_services: {
|
|
475
474
|
connection_id: string;
|
|
476
475
|
type: string;
|
|
@@ -483,6 +482,7 @@ export default function useCanvasTheme(): {
|
|
|
483
482
|
preferred_username?: string | undefined;
|
|
484
483
|
readonly picture: string | null;
|
|
485
484
|
timezone?: string | undefined;
|
|
485
|
+
tags?: (Array<string> | null) | undefined;
|
|
486
486
|
} | undefined;
|
|
487
487
|
settings: {
|
|
488
488
|
component_spacing: number;
|
|
@@ -512,7 +512,6 @@ export default function useCanvasTheme(): {
|
|
|
512
512
|
readonly activated_at: string | null;
|
|
513
513
|
readonly is_active: boolean;
|
|
514
514
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
515
|
-
dark_mode?: boolean | undefined;
|
|
516
515
|
readonly connected_services: {
|
|
517
516
|
connection_id: string;
|
|
518
517
|
type: string;
|
|
@@ -525,6 +524,7 @@ export default function useCanvasTheme(): {
|
|
|
525
524
|
preferred_username?: string | undefined;
|
|
526
525
|
readonly picture: string | null;
|
|
527
526
|
timezone?: string | undefined;
|
|
527
|
+
tags?: (Array<string> | null) | undefined;
|
|
528
528
|
};
|
|
529
529
|
created_by: {
|
|
530
530
|
readonly id: number;
|
|
@@ -539,7 +539,6 @@ export default function useCanvasTheme(): {
|
|
|
539
539
|
readonly activated_at: string | null;
|
|
540
540
|
readonly is_active: boolean;
|
|
541
541
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
542
|
-
dark_mode?: boolean | undefined;
|
|
543
542
|
readonly connected_services: {
|
|
544
543
|
connection_id: string;
|
|
545
544
|
type: string;
|
|
@@ -552,6 +551,7 @@ export default function useCanvasTheme(): {
|
|
|
552
551
|
preferred_username?: string | undefined;
|
|
553
552
|
readonly picture: string | null;
|
|
554
553
|
timezone?: string | undefined;
|
|
554
|
+
tags?: (Array<string> | null) | undefined;
|
|
555
555
|
};
|
|
556
556
|
modified_by?: {
|
|
557
557
|
readonly id: number;
|
|
@@ -566,7 +566,6 @@ export default function useCanvasTheme(): {
|
|
|
566
566
|
readonly activated_at: string | null;
|
|
567
567
|
readonly is_active: boolean;
|
|
568
568
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
569
|
-
dark_mode?: boolean | undefined;
|
|
570
569
|
readonly connected_services: {
|
|
571
570
|
connection_id: string;
|
|
572
571
|
type: string;
|
|
@@ -579,6 +578,7 @@ export default function useCanvasTheme(): {
|
|
|
579
578
|
preferred_username?: string | undefined;
|
|
580
579
|
readonly picture: string | null;
|
|
581
580
|
timezone?: string | undefined;
|
|
581
|
+
tags?: (Array<string> | null) | undefined;
|
|
582
582
|
} | undefined;
|
|
583
583
|
settings: {
|
|
584
584
|
component_spacing: number;
|
|
@@ -615,7 +615,6 @@ export default function useCanvasTheme(): {
|
|
|
615
615
|
readonly activated_at: string | null;
|
|
616
616
|
readonly is_active: boolean;
|
|
617
617
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
618
|
-
dark_mode?: boolean | undefined;
|
|
619
618
|
readonly connected_services: {
|
|
620
619
|
connection_id: string;
|
|
621
620
|
type: string;
|
|
@@ -628,6 +627,7 @@ export default function useCanvasTheme(): {
|
|
|
628
627
|
preferred_username?: string | undefined;
|
|
629
628
|
readonly picture: string | null;
|
|
630
629
|
timezone?: string | undefined;
|
|
630
|
+
tags?: (Array<string> | null) | undefined;
|
|
631
631
|
};
|
|
632
632
|
created_by: {
|
|
633
633
|
readonly id: number;
|
|
@@ -642,7 +642,6 @@ export default function useCanvasTheme(): {
|
|
|
642
642
|
readonly activated_at: string | null;
|
|
643
643
|
readonly is_active: boolean;
|
|
644
644
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
645
|
-
dark_mode?: boolean | undefined;
|
|
646
645
|
readonly connected_services: {
|
|
647
646
|
connection_id: string;
|
|
648
647
|
type: string;
|
|
@@ -655,6 +654,7 @@ export default function useCanvasTheme(): {
|
|
|
655
654
|
preferred_username?: string | undefined;
|
|
656
655
|
readonly picture: string | null;
|
|
657
656
|
timezone?: string | undefined;
|
|
657
|
+
tags?: (Array<string> | null) | undefined;
|
|
658
658
|
};
|
|
659
659
|
modified_by?: {
|
|
660
660
|
readonly id: number;
|
|
@@ -669,7 +669,6 @@ export default function useCanvasTheme(): {
|
|
|
669
669
|
readonly activated_at: string | null;
|
|
670
670
|
readonly is_active: boolean;
|
|
671
671
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
672
|
-
dark_mode?: boolean | undefined;
|
|
673
672
|
readonly connected_services: {
|
|
674
673
|
connection_id: string;
|
|
675
674
|
type: string;
|
|
@@ -682,6 +681,7 @@ export default function useCanvasTheme(): {
|
|
|
682
681
|
preferred_username?: string | undefined;
|
|
683
682
|
readonly picture: string | null;
|
|
684
683
|
timezone?: string | undefined;
|
|
684
|
+
tags?: (Array<string> | null) | undefined;
|
|
685
685
|
} | undefined;
|
|
686
686
|
settings: {
|
|
687
687
|
component_spacing: number;
|
|
@@ -711,7 +711,6 @@ export default function useCanvasTheme(): {
|
|
|
711
711
|
readonly activated_at: string | null;
|
|
712
712
|
readonly is_active: boolean;
|
|
713
713
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
714
|
-
dark_mode?: boolean | undefined;
|
|
715
714
|
readonly connected_services: {
|
|
716
715
|
connection_id: string;
|
|
717
716
|
type: string;
|
|
@@ -724,6 +723,7 @@ export default function useCanvasTheme(): {
|
|
|
724
723
|
preferred_username?: string | undefined;
|
|
725
724
|
readonly picture: string | null;
|
|
726
725
|
timezone?: string | undefined;
|
|
726
|
+
tags?: (Array<string> | null) | undefined;
|
|
727
727
|
};
|
|
728
728
|
created_by: {
|
|
729
729
|
readonly id: number;
|
|
@@ -738,7 +738,6 @@ export default function useCanvasTheme(): {
|
|
|
738
738
|
readonly activated_at: string | null;
|
|
739
739
|
readonly is_active: boolean;
|
|
740
740
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
741
|
-
dark_mode?: boolean | undefined;
|
|
742
741
|
readonly connected_services: {
|
|
743
742
|
connection_id: string;
|
|
744
743
|
type: string;
|
|
@@ -751,6 +750,7 @@ export default function useCanvasTheme(): {
|
|
|
751
750
|
preferred_username?: string | undefined;
|
|
752
751
|
readonly picture: string | null;
|
|
753
752
|
timezone?: string | undefined;
|
|
753
|
+
tags?: (Array<string> | null) | undefined;
|
|
754
754
|
};
|
|
755
755
|
modified_by?: {
|
|
756
756
|
readonly id: number;
|
|
@@ -765,7 +765,6 @@ export default function useCanvasTheme(): {
|
|
|
765
765
|
readonly activated_at: string | null;
|
|
766
766
|
readonly is_active: boolean;
|
|
767
767
|
language?: import('../../../../types/openapi').LanguageEnum | undefined;
|
|
768
|
-
dark_mode?: boolean | undefined;
|
|
769
768
|
readonly connected_services: {
|
|
770
769
|
connection_id: string;
|
|
771
770
|
type: string;
|
|
@@ -778,6 +777,7 @@ export default function useCanvasTheme(): {
|
|
|
778
777
|
preferred_username?: string | undefined;
|
|
779
778
|
readonly picture: string | null;
|
|
780
779
|
timezone?: string | undefined;
|
|
780
|
+
tags?: (Array<string> | null) | undefined;
|
|
781
781
|
} | undefined;
|
|
782
782
|
settings: {
|
|
783
783
|
component_spacing: number;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export default function usePrintMode(): {
|
|
2
2
|
processPrintContent: (content: string) => string;
|
|
3
3
|
applyPrintModeToElement: (element: HTMLElement | null, getContent: () => string) => void;
|
|
4
|
+
resolveAllCssVariables: (element: HTMLElement) => void;
|
|
5
|
+
applyPrintModeToSection: (section: {
|
|
6
|
+
id: string;
|
|
7
|
+
theme?: any;
|
|
8
|
+
}, sectionElement: HTMLElement, maintainTheme?: boolean) => void;
|
|
4
9
|
};
|
|
@@ -198,8 +198,9 @@ export interface SectionListSection {
|
|
|
198
198
|
export interface SectionListProps {
|
|
199
199
|
sections: SectionListSection[];
|
|
200
200
|
animation_in?: string;
|
|
201
|
-
selection_strategy?: 'free' | 'single' | '
|
|
201
|
+
selection_strategy?: 'free' | 'single' | 'at-least-one' | 'app';
|
|
202
202
|
selection_app_name?: string;
|
|
203
|
+
is_restricted_to_preselections?: boolean;
|
|
203
204
|
}
|
|
204
205
|
export interface GridItemTooltipProps {
|
|
205
206
|
content?: string;
|
|
@@ -486,6 +487,12 @@ export type SharingBuilderProps = NoCRMBuilderProps & {
|
|
|
486
487
|
onCollectionPlayerContentChange?: never;
|
|
487
488
|
onComponentEnter?: (data: ComponentNode | CanvasRetrieve, params: ComponentTrackingParams) => void;
|
|
488
489
|
onComponentExit?: (data: ComponentNode | CanvasRetrieve, params: ComponentTrackingParams) => void;
|
|
490
|
+
onAppEnter?: (data: {
|
|
491
|
+
src: string;
|
|
492
|
+
}) => void;
|
|
493
|
+
onAppExit?: (data: {
|
|
494
|
+
src: string;
|
|
495
|
+
}) => void;
|
|
489
496
|
onFileOpen: (file: FileOpenParams) => void;
|
|
490
497
|
onOpenExternalUrl: (payload: OpenExternalUrlRequestPayload) => Promise<void>;
|
|
491
498
|
deleteFile?: never;
|
|
@@ -549,6 +556,12 @@ type AdminImpactCommonBuilderProps = {
|
|
|
549
556
|
onEnter?: () => void;
|
|
550
557
|
onComponentEnter?: (data: ComponentNode | CanvasRetrieve, params: ComponentTrackingParams) => void;
|
|
551
558
|
onComponentExit?: (data: ComponentNode | CanvasRetrieve, params: ComponentTrackingParams) => void;
|
|
559
|
+
onAppEnter?: (data: {
|
|
560
|
+
src: string;
|
|
561
|
+
}) => void;
|
|
562
|
+
onAppExit?: (data: {
|
|
563
|
+
src: string;
|
|
564
|
+
}) => void;
|
|
552
565
|
onPageEnter?: (data: ComponentNode[], pageIndex: number) => void;
|
|
553
566
|
onPageExit?: (data: ComponentNode[], pageIndex: number) => void;
|
|
554
567
|
onFileEnter?: (node: NodeInfo, file: CollectionFileEntity) => void;
|