@pitcher/js-api 1.26.0-beta.5 → 1.26.0-beta.7
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 +3 -0
- package/js-api.esm.js +228 -6
- 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/browser/components/Content/ActionsToolbar/BulkShareboxWarningModal.vue.d.ts +15 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/SelectionActions.vue.d.ts +1 -1
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +5 -1
- package/lib/apps/browser/stores/api.d.ts +16 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +15 -0
- package/lib/apps/canvas-builder/components/container/NavigationWrapper/NavigationWrapper.vue.d.ts +5 -1
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.raw.vue.d.ts +30 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.vue.d.ts +76 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentListItems.vue.d.ts +21 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/content.store.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.edit.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.header.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.settings.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.utils.d.ts +32 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +1100 -208
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +176 -0
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +176 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +7 -9
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useControlBarCollapse.d.ts +8 -0
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +0 -6
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useTemporaryContext.d.ts +14 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +42 -2
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -4
- package/lib/apps/canvas-builder/util/print.util.d.ts +2 -9
- package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +6 -3
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +2 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +8 -8
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +1 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +2 -0
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +11 -0
- package/lib/components/CContentError/CContentError.vue.d.ts +1 -0
- package/lib/components/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +3 -0
- package/lib/components/CFileAccessManagement/CFileAccessManagement.vue.d.ts +6 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +4 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.link.types.d.ts +3 -2
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +1 -0
- package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +2 -0
- package/lib/components/CPdfDimensionsSelector/CPdfDimensionsSelector.vue.d.ts +2 -0
- package/lib/constants/dimensions.const.d.ts +23 -0
- package/lib/directives/vTrustedHtml.d.ts +6 -0
- package/lib/main.lib.d.ts +3 -0
- package/lib/sdk/api/HighLevelApi.d.ts +4 -0
- package/lib/sdk/api/modules/dsr/types.dsr.d.ts +5 -1
- package/lib/sdk/api/modules/files.d.ts +10 -0
- package/lib/sdk/api/modules/query.d.ts +14 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +2 -0
- package/lib/sdk/interfaces.d.ts +8 -2
- package/lib/sdk/main.d.ts +25 -11
- package/lib/sdk/peer-connectivity/index.d.ts +3 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.constants.d.ts +12 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.d.ts +3 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.types.d.ts +35 -0
- package/lib/types/instanceSettings.types.d.ts +4 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationMetadata.types.d.ts +3 -2
- package/lib/types/organizationSettings.types.d.ts +9 -0
- package/package.json +1 -1
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +0 -111
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +0 -59
- package/lib/modules/algolia-instantsearch.d.ts +0 -1
- /package/lib/apps/canvas-builder/components/{ui/SectionList/SectionSearch.vue.d.ts → container/Search/Search.vue.d.ts} +0 -0
|
@@ -405,6 +405,19 @@ export default function useCanvasBlocks(): {
|
|
|
405
405
|
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
406
406
|
readonly selection_app_name?: string | undefined;
|
|
407
407
|
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
408
|
+
} | {
|
|
409
|
+
readonly sections: readonly {
|
|
410
|
+
readonly id: string;
|
|
411
|
+
readonly file_id?: string | undefined;
|
|
412
|
+
readonly sequence?: number | undefined;
|
|
413
|
+
readonly component_id: string;
|
|
414
|
+
readonly page_index?: number | undefined;
|
|
415
|
+
readonly type: "section" | "file";
|
|
416
|
+
}[];
|
|
417
|
+
readonly animation_in?: string | undefined;
|
|
418
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
419
|
+
readonly selection_app_name?: string | undefined;
|
|
420
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
408
421
|
} | {
|
|
409
422
|
readonly html: string;
|
|
410
423
|
} | {
|
|
@@ -517,6 +530,81 @@ export default function useCanvasBlocks(): {
|
|
|
517
530
|
} | undefined;
|
|
518
531
|
}[];
|
|
519
532
|
readonly layout: "vertical" | "horizontal";
|
|
533
|
+
} | {
|
|
534
|
+
readonly filters?: readonly {
|
|
535
|
+
readonly property: string;
|
|
536
|
+
readonly operator: import('../../../types/query-builder.types').QueryOperator;
|
|
537
|
+
readonly value: string;
|
|
538
|
+
}[] | undefined;
|
|
539
|
+
readonly layout: "column" | "row";
|
|
540
|
+
readonly page_size?: number | undefined;
|
|
541
|
+
readonly path: string;
|
|
542
|
+
readonly properties: readonly {
|
|
543
|
+
readonly key: string;
|
|
544
|
+
readonly display_name?: string | undefined;
|
|
545
|
+
readonly sort: {
|
|
546
|
+
readonly direction?: "asc" | "desc" | undefined;
|
|
547
|
+
readonly default?: boolean | undefined;
|
|
548
|
+
readonly enabled: boolean;
|
|
549
|
+
};
|
|
550
|
+
readonly group?: boolean | undefined;
|
|
551
|
+
readonly printable?: boolean | undefined;
|
|
552
|
+
readonly format?: {
|
|
553
|
+
readonly type?: "currency" | "number" | "percentage" | "date" | undefined;
|
|
554
|
+
readonly currency?: string | undefined;
|
|
555
|
+
readonly decimals?: number | undefined;
|
|
556
|
+
readonly thousandsSeparator?: boolean | undefined;
|
|
557
|
+
readonly dateFormat?: string | undefined;
|
|
558
|
+
} | undefined;
|
|
559
|
+
}[];
|
|
560
|
+
readonly theme?: {
|
|
561
|
+
readonly background_color?: string | null | undefined;
|
|
562
|
+
readonly group_header_color?: string | null | undefined;
|
|
563
|
+
readonly font_family?: string | undefined;
|
|
564
|
+
} | undefined;
|
|
565
|
+
readonly break_groups_on_new_page?: boolean | undefined;
|
|
566
|
+
readonly enable_row_striping?: boolean | undefined;
|
|
567
|
+
readonly striping_color?: string | null | undefined;
|
|
568
|
+
readonly striping_start_from_first?: boolean | undefined;
|
|
569
|
+
} | {
|
|
570
|
+
readonly hierarchy: readonly {
|
|
571
|
+
readonly type: "group" | "data";
|
|
572
|
+
readonly path: string;
|
|
573
|
+
readonly group_by_key?: string | undefined;
|
|
574
|
+
}[];
|
|
575
|
+
readonly columns: readonly {
|
|
576
|
+
readonly key: string;
|
|
577
|
+
readonly display_name?: string | undefined;
|
|
578
|
+
readonly sort: {
|
|
579
|
+
readonly direction?: "asc" | "desc" | undefined;
|
|
580
|
+
readonly default?: boolean | undefined;
|
|
581
|
+
readonly enabled: boolean;
|
|
582
|
+
};
|
|
583
|
+
readonly group?: boolean | undefined;
|
|
584
|
+
readonly printable?: boolean | undefined;
|
|
585
|
+
readonly format?: {
|
|
586
|
+
readonly type?: "currency" | "number" | "percentage" | "date" | undefined;
|
|
587
|
+
readonly currency?: string | undefined;
|
|
588
|
+
readonly decimals?: number | undefined;
|
|
589
|
+
readonly thousandsSeparator?: boolean | undefined;
|
|
590
|
+
readonly dateFormat?: string | undefined;
|
|
591
|
+
} | undefined;
|
|
592
|
+
}[];
|
|
593
|
+
readonly header_path?: string | undefined;
|
|
594
|
+
readonly footer_path?: string | undefined;
|
|
595
|
+
readonly filters?: readonly {
|
|
596
|
+
readonly property: string;
|
|
597
|
+
readonly operator: import('../../../types/query-builder.types').QueryOperator;
|
|
598
|
+
readonly value: string;
|
|
599
|
+
}[] | undefined;
|
|
600
|
+
readonly theme?: {
|
|
601
|
+
readonly background_color?: string | null | undefined;
|
|
602
|
+
readonly group_header_color?: string | null | undefined;
|
|
603
|
+
readonly font_family?: string | undefined;
|
|
604
|
+
} | undefined;
|
|
605
|
+
readonly enable_row_striping?: boolean | undefined;
|
|
606
|
+
readonly striping_color?: string | null | undefined;
|
|
607
|
+
readonly striping_start_from_first?: boolean | undefined;
|
|
520
608
|
} | undefined;
|
|
521
609
|
readonly children?: readonly /*elided*/ any[] | undefined;
|
|
522
610
|
readonly when_used_in_section?: {
|
|
@@ -787,6 +875,19 @@ export default function useCanvasBlocks(): {
|
|
|
787
875
|
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
788
876
|
readonly selection_app_name?: string | undefined;
|
|
789
877
|
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
878
|
+
} | {
|
|
879
|
+
readonly sections: readonly {
|
|
880
|
+
readonly id: string;
|
|
881
|
+
readonly file_id?: string | undefined;
|
|
882
|
+
readonly sequence?: number | undefined;
|
|
883
|
+
readonly component_id: string;
|
|
884
|
+
readonly page_index?: number | undefined;
|
|
885
|
+
readonly type: "section" | "file";
|
|
886
|
+
}[];
|
|
887
|
+
readonly animation_in?: string | undefined;
|
|
888
|
+
readonly selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
889
|
+
readonly selection_app_name?: string | undefined;
|
|
890
|
+
readonly is_restricted_to_preselections?: boolean | undefined;
|
|
790
891
|
} | {
|
|
791
892
|
readonly html: string;
|
|
792
893
|
} | {
|
|
@@ -899,6 +1000,81 @@ export default function useCanvasBlocks(): {
|
|
|
899
1000
|
} | undefined;
|
|
900
1001
|
}[];
|
|
901
1002
|
readonly layout: "vertical" | "horizontal";
|
|
1003
|
+
} | {
|
|
1004
|
+
readonly filters?: readonly {
|
|
1005
|
+
readonly property: string;
|
|
1006
|
+
readonly operator: import('../../../types/query-builder.types').QueryOperator;
|
|
1007
|
+
readonly value: string;
|
|
1008
|
+
}[] | undefined;
|
|
1009
|
+
readonly layout: "column" | "row";
|
|
1010
|
+
readonly page_size?: number | undefined;
|
|
1011
|
+
readonly path: string;
|
|
1012
|
+
readonly properties: readonly {
|
|
1013
|
+
readonly key: string;
|
|
1014
|
+
readonly display_name?: string | undefined;
|
|
1015
|
+
readonly sort: {
|
|
1016
|
+
readonly direction?: "asc" | "desc" | undefined;
|
|
1017
|
+
readonly default?: boolean | undefined;
|
|
1018
|
+
readonly enabled: boolean;
|
|
1019
|
+
};
|
|
1020
|
+
readonly group?: boolean | undefined;
|
|
1021
|
+
readonly printable?: boolean | undefined;
|
|
1022
|
+
readonly format?: {
|
|
1023
|
+
readonly type?: "currency" | "number" | "percentage" | "date" | undefined;
|
|
1024
|
+
readonly currency?: string | undefined;
|
|
1025
|
+
readonly decimals?: number | undefined;
|
|
1026
|
+
readonly thousandsSeparator?: boolean | undefined;
|
|
1027
|
+
readonly dateFormat?: string | undefined;
|
|
1028
|
+
} | undefined;
|
|
1029
|
+
}[];
|
|
1030
|
+
readonly theme?: {
|
|
1031
|
+
readonly background_color?: string | null | undefined;
|
|
1032
|
+
readonly group_header_color?: string | null | undefined;
|
|
1033
|
+
readonly font_family?: string | undefined;
|
|
1034
|
+
} | undefined;
|
|
1035
|
+
readonly break_groups_on_new_page?: boolean | undefined;
|
|
1036
|
+
readonly enable_row_striping?: boolean | undefined;
|
|
1037
|
+
readonly striping_color?: string | null | undefined;
|
|
1038
|
+
readonly striping_start_from_first?: boolean | undefined;
|
|
1039
|
+
} | {
|
|
1040
|
+
readonly hierarchy: readonly {
|
|
1041
|
+
readonly type: "group" | "data";
|
|
1042
|
+
readonly path: string;
|
|
1043
|
+
readonly group_by_key?: string | undefined;
|
|
1044
|
+
}[];
|
|
1045
|
+
readonly columns: readonly {
|
|
1046
|
+
readonly key: string;
|
|
1047
|
+
readonly display_name?: string | undefined;
|
|
1048
|
+
readonly sort: {
|
|
1049
|
+
readonly direction?: "asc" | "desc" | undefined;
|
|
1050
|
+
readonly default?: boolean | undefined;
|
|
1051
|
+
readonly enabled: boolean;
|
|
1052
|
+
};
|
|
1053
|
+
readonly group?: boolean | undefined;
|
|
1054
|
+
readonly printable?: boolean | undefined;
|
|
1055
|
+
readonly format?: {
|
|
1056
|
+
readonly type?: "currency" | "number" | "percentage" | "date" | undefined;
|
|
1057
|
+
readonly currency?: string | undefined;
|
|
1058
|
+
readonly decimals?: number | undefined;
|
|
1059
|
+
readonly thousandsSeparator?: boolean | undefined;
|
|
1060
|
+
readonly dateFormat?: string | undefined;
|
|
1061
|
+
} | undefined;
|
|
1062
|
+
}[];
|
|
1063
|
+
readonly header_path?: string | undefined;
|
|
1064
|
+
readonly footer_path?: string | undefined;
|
|
1065
|
+
readonly filters?: readonly {
|
|
1066
|
+
readonly property: string;
|
|
1067
|
+
readonly operator: import('../../../types/query-builder.types').QueryOperator;
|
|
1068
|
+
readonly value: string;
|
|
1069
|
+
}[] | undefined;
|
|
1070
|
+
readonly theme?: {
|
|
1071
|
+
readonly background_color?: string | null | undefined;
|
|
1072
|
+
readonly group_header_color?: string | null | undefined;
|
|
1073
|
+
readonly font_family?: string | undefined;
|
|
1074
|
+
} | undefined;
|
|
1075
|
+
readonly enable_row_striping?: boolean | undefined;
|
|
1076
|
+
readonly striping_color?: string | null | undefined;
|
|
1077
|
+
readonly striping_start_from_first?: boolean | undefined;
|
|
902
1078
|
} | undefined;
|
|
903
1079
|
readonly children?: readonly /*elided*/ any[] | undefined;
|
|
904
1080
|
readonly when_used_in_section?: {
|
|
@@ -3,7 +3,7 @@ import { SectionListProps, ComponentNode } from '../types/canvas';
|
|
|
3
3
|
import { WizardStep } from '../components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue';
|
|
4
4
|
export default function useCanvasCompletionWizard(): {
|
|
5
5
|
wizardSteps: ComputedRef<WizardStep[]>;
|
|
6
|
-
sectionListNodes: ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[]>;
|
|
6
|
+
sectionListNodes: ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[]>;
|
|
7
7
|
isCompletionWizardEnabled: ComputedRef<boolean>;
|
|
8
8
|
isCompletionWizardCompleted: ComputedRef<boolean>;
|
|
9
9
|
isCompletionWizardShowing: ComputedRef<boolean>;
|
|
@@ -231,6 +231,19 @@ export default function useCanvasHistory(): {
|
|
|
231
231
|
selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
232
232
|
selection_app_name?: string | undefined;
|
|
233
233
|
is_restricted_to_preselections?: boolean | undefined;
|
|
234
|
+
} | {
|
|
235
|
+
sections: {
|
|
236
|
+
id: string;
|
|
237
|
+
file_id?: string | undefined;
|
|
238
|
+
sequence?: number | undefined;
|
|
239
|
+
component_id: string;
|
|
240
|
+
page_index?: number | undefined;
|
|
241
|
+
type: "section" | "file";
|
|
242
|
+
}[];
|
|
243
|
+
animation_in?: string | undefined;
|
|
244
|
+
selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
245
|
+
selection_app_name?: string | undefined;
|
|
246
|
+
is_restricted_to_preselections?: boolean | undefined;
|
|
234
247
|
} | {
|
|
235
248
|
html: string;
|
|
236
249
|
} | {
|
|
@@ -327,6 +340,81 @@ export default function useCanvasHistory(): {
|
|
|
327
340
|
card_style?: Record<string, any> | undefined;
|
|
328
341
|
}[];
|
|
329
342
|
layout: "vertical" | "horizontal";
|
|
343
|
+
} | {
|
|
344
|
+
filters?: {
|
|
345
|
+
property: string;
|
|
346
|
+
operator: import('../../../types/query-builder.types').QueryOperator;
|
|
347
|
+
value: string;
|
|
348
|
+
}[] | undefined;
|
|
349
|
+
layout: "column" | "row";
|
|
350
|
+
page_size?: number | undefined;
|
|
351
|
+
path: string;
|
|
352
|
+
properties: {
|
|
353
|
+
key: string;
|
|
354
|
+
display_name?: string | undefined;
|
|
355
|
+
sort: {
|
|
356
|
+
direction?: "asc" | "desc" | undefined;
|
|
357
|
+
default?: boolean | undefined;
|
|
358
|
+
enabled: boolean;
|
|
359
|
+
};
|
|
360
|
+
group?: boolean | undefined;
|
|
361
|
+
printable?: boolean | undefined;
|
|
362
|
+
format?: {
|
|
363
|
+
type?: "currency" | "number" | "percentage" | "date" | undefined;
|
|
364
|
+
currency?: string | undefined;
|
|
365
|
+
decimals?: number | undefined;
|
|
366
|
+
thousandsSeparator?: boolean | undefined;
|
|
367
|
+
dateFormat?: string | undefined;
|
|
368
|
+
} | undefined;
|
|
369
|
+
}[];
|
|
370
|
+
theme?: {
|
|
371
|
+
background_color?: string | null | undefined;
|
|
372
|
+
group_header_color?: string | null | undefined;
|
|
373
|
+
font_family?: string | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
break_groups_on_new_page?: boolean | undefined;
|
|
376
|
+
enable_row_striping?: boolean | undefined;
|
|
377
|
+
striping_color?: string | null | undefined;
|
|
378
|
+
striping_start_from_first?: boolean | undefined;
|
|
379
|
+
} | {
|
|
380
|
+
hierarchy: {
|
|
381
|
+
type: "group" | "data";
|
|
382
|
+
path: string;
|
|
383
|
+
group_by_key?: string | undefined;
|
|
384
|
+
}[];
|
|
385
|
+
columns: {
|
|
386
|
+
key: string;
|
|
387
|
+
display_name?: string | undefined;
|
|
388
|
+
sort: {
|
|
389
|
+
direction?: "asc" | "desc" | undefined;
|
|
390
|
+
default?: boolean | undefined;
|
|
391
|
+
enabled: boolean;
|
|
392
|
+
};
|
|
393
|
+
group?: boolean | undefined;
|
|
394
|
+
printable?: boolean | undefined;
|
|
395
|
+
format?: {
|
|
396
|
+
type?: "currency" | "number" | "percentage" | "date" | undefined;
|
|
397
|
+
currency?: string | undefined;
|
|
398
|
+
decimals?: number | undefined;
|
|
399
|
+
thousandsSeparator?: boolean | undefined;
|
|
400
|
+
dateFormat?: string | undefined;
|
|
401
|
+
} | undefined;
|
|
402
|
+
}[];
|
|
403
|
+
header_path?: string | undefined;
|
|
404
|
+
footer_path?: string | undefined;
|
|
405
|
+
filters?: {
|
|
406
|
+
property: string;
|
|
407
|
+
operator: import('../../../types/query-builder.types').QueryOperator;
|
|
408
|
+
value: string;
|
|
409
|
+
}[] | undefined;
|
|
410
|
+
theme?: {
|
|
411
|
+
background_color?: string | null | undefined;
|
|
412
|
+
group_header_color?: string | null | undefined;
|
|
413
|
+
font_family?: string | undefined;
|
|
414
|
+
} | undefined;
|
|
415
|
+
enable_row_striping?: boolean | undefined;
|
|
416
|
+
striping_color?: string | null | undefined;
|
|
417
|
+
striping_start_from_first?: boolean | undefined;
|
|
330
418
|
} | undefined;
|
|
331
419
|
children?: /*elided*/ any[] | undefined;
|
|
332
420
|
when_used_in_section?: {
|
|
@@ -579,6 +667,19 @@ export default function useCanvasHistory(): {
|
|
|
579
667
|
selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
580
668
|
selection_app_name?: string | undefined;
|
|
581
669
|
is_restricted_to_preselections?: boolean | undefined;
|
|
670
|
+
} | {
|
|
671
|
+
sections: {
|
|
672
|
+
id: string;
|
|
673
|
+
file_id?: string | undefined;
|
|
674
|
+
sequence?: number | undefined;
|
|
675
|
+
component_id: string;
|
|
676
|
+
page_index?: number | undefined;
|
|
677
|
+
type: "section" | "file";
|
|
678
|
+
}[];
|
|
679
|
+
animation_in?: string | undefined;
|
|
680
|
+
selection_strategy?: "free" | "single" | "at-least-one" | "app" | undefined;
|
|
681
|
+
selection_app_name?: string | undefined;
|
|
682
|
+
is_restricted_to_preselections?: boolean | undefined;
|
|
582
683
|
} | {
|
|
583
684
|
html: string;
|
|
584
685
|
} | {
|
|
@@ -675,6 +776,81 @@ export default function useCanvasHistory(): {
|
|
|
675
776
|
card_style?: Record<string, any> | undefined;
|
|
676
777
|
}[];
|
|
677
778
|
layout: "vertical" | "horizontal";
|
|
779
|
+
} | {
|
|
780
|
+
filters?: {
|
|
781
|
+
property: string;
|
|
782
|
+
operator: import('../../../types/query-builder.types').QueryOperator;
|
|
783
|
+
value: string;
|
|
784
|
+
}[] | undefined;
|
|
785
|
+
layout: "column" | "row";
|
|
786
|
+
page_size?: number | undefined;
|
|
787
|
+
path: string;
|
|
788
|
+
properties: {
|
|
789
|
+
key: string;
|
|
790
|
+
display_name?: string | undefined;
|
|
791
|
+
sort: {
|
|
792
|
+
direction?: "asc" | "desc" | undefined;
|
|
793
|
+
default?: boolean | undefined;
|
|
794
|
+
enabled: boolean;
|
|
795
|
+
};
|
|
796
|
+
group?: boolean | undefined;
|
|
797
|
+
printable?: boolean | undefined;
|
|
798
|
+
format?: {
|
|
799
|
+
type?: "currency" | "number" | "percentage" | "date" | undefined;
|
|
800
|
+
currency?: string | undefined;
|
|
801
|
+
decimals?: number | undefined;
|
|
802
|
+
thousandsSeparator?: boolean | undefined;
|
|
803
|
+
dateFormat?: string | undefined;
|
|
804
|
+
} | undefined;
|
|
805
|
+
}[];
|
|
806
|
+
theme?: {
|
|
807
|
+
background_color?: string | null | undefined;
|
|
808
|
+
group_header_color?: string | null | undefined;
|
|
809
|
+
font_family?: string | undefined;
|
|
810
|
+
} | undefined;
|
|
811
|
+
break_groups_on_new_page?: boolean | undefined;
|
|
812
|
+
enable_row_striping?: boolean | undefined;
|
|
813
|
+
striping_color?: string | null | undefined;
|
|
814
|
+
striping_start_from_first?: boolean | undefined;
|
|
815
|
+
} | {
|
|
816
|
+
hierarchy: {
|
|
817
|
+
type: "group" | "data";
|
|
818
|
+
path: string;
|
|
819
|
+
group_by_key?: string | undefined;
|
|
820
|
+
}[];
|
|
821
|
+
columns: {
|
|
822
|
+
key: string;
|
|
823
|
+
display_name?: string | undefined;
|
|
824
|
+
sort: {
|
|
825
|
+
direction?: "asc" | "desc" | undefined;
|
|
826
|
+
default?: boolean | undefined;
|
|
827
|
+
enabled: boolean;
|
|
828
|
+
};
|
|
829
|
+
group?: boolean | undefined;
|
|
830
|
+
printable?: boolean | undefined;
|
|
831
|
+
format?: {
|
|
832
|
+
type?: "currency" | "number" | "percentage" | "date" | undefined;
|
|
833
|
+
currency?: string | undefined;
|
|
834
|
+
decimals?: number | undefined;
|
|
835
|
+
thousandsSeparator?: boolean | undefined;
|
|
836
|
+
dateFormat?: string | undefined;
|
|
837
|
+
} | undefined;
|
|
838
|
+
}[];
|
|
839
|
+
header_path?: string | undefined;
|
|
840
|
+
footer_path?: string | undefined;
|
|
841
|
+
filters?: {
|
|
842
|
+
property: string;
|
|
843
|
+
operator: import('../../../types/query-builder.types').QueryOperator;
|
|
844
|
+
value: string;
|
|
845
|
+
}[] | undefined;
|
|
846
|
+
theme?: {
|
|
847
|
+
background_color?: string | null | undefined;
|
|
848
|
+
group_header_color?: string | null | undefined;
|
|
849
|
+
font_family?: string | undefined;
|
|
850
|
+
} | undefined;
|
|
851
|
+
enable_row_striping?: boolean | undefined;
|
|
852
|
+
striping_color?: string | null | undefined;
|
|
853
|
+
striping_start_from_first?: boolean | undefined;
|
|
678
854
|
} | undefined;
|
|
679
855
|
children?: /*elided*/ any[] | undefined;
|
|
680
856
|
when_used_in_section?: {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { ComponentNode, SectionListProps } from '../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
4
4
|
type AnimationDirection = 'Left' | 'Right';
|
|
5
|
-
declare function broadcastCanvasOpenedEvent(): Promise<void>;
|
|
6
|
-
declare function broadcastCanvasClosedEvent(canvasId?: string): Promise<void>;
|
|
7
5
|
declare function goToNextPage(): void;
|
|
8
6
|
declare function goToPreviousPage(): void;
|
|
9
7
|
declare function goToFirstPage(componentId?: ComponentNode['id'], skipSetPreviousLocation?: boolean): void;
|
|
@@ -19,8 +17,8 @@ export default function useCanvasPages(): {
|
|
|
19
17
|
} | null>;
|
|
20
18
|
activeSectionId: ComputedRef<string | null>;
|
|
21
19
|
activeSectionTheme: ComputedRef<Record<string, any> | null>;
|
|
22
|
-
canvasPages: ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[][]>;
|
|
23
|
-
currentPageIndex:
|
|
20
|
+
canvasPages: ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[][]>;
|
|
21
|
+
currentPageIndex: Ref<number, number>;
|
|
24
22
|
currentSectionList: ComputedRef<{
|
|
25
23
|
sectionListId: string;
|
|
26
24
|
sectionListIndex: number;
|
|
@@ -28,7 +26,7 @@ export default function useCanvasPages(): {
|
|
|
28
26
|
sectionListId: null;
|
|
29
27
|
sectionListIndex: number;
|
|
30
28
|
}>;
|
|
31
|
-
sectionListIndexMap:
|
|
29
|
+
sectionListIndexMap: Ref<Record<string, number>, Record<string, number>>;
|
|
32
30
|
presentationProgress: ComputedRef<number[]>;
|
|
33
31
|
isFirstPage: ComputedRef<boolean>;
|
|
34
32
|
isLastPage: ComputedRef<boolean>;
|
|
@@ -45,9 +43,9 @@ export default function useCanvasPages(): {
|
|
|
45
43
|
goToFirstPage: typeof goToFirstPage;
|
|
46
44
|
reset: typeof reset;
|
|
47
45
|
keepActivePageValid: () => void;
|
|
48
|
-
animationDirection:
|
|
49
|
-
broadcastCanvasOpenedEvent:
|
|
50
|
-
broadcastCanvasClosedEvent:
|
|
46
|
+
animationDirection: Ref<"" | AnimationDirection, "" | AnimationDirection>;
|
|
47
|
+
broadcastCanvasOpenedEvent: () => Promise<void>;
|
|
48
|
+
broadcastCanvasClosedEvent: (canvasId?: string) => Promise<void>;
|
|
51
49
|
backToPreviousLocation: () => void;
|
|
52
50
|
isBackToPreviousLocationVisible: ComputedRef<boolean | undefined>;
|
|
53
51
|
isBackToPreviousLocationDisabled: ComputedRef<boolean>;
|
|
@@ -13,7 +13,7 @@ declare function setSectionOverrides(sectionId: CanvasRetrieve['id'], overrides?
|
|
|
13
13
|
declare function cleanup(): void;
|
|
14
14
|
export default function useCanvasSectionOverrides(): {
|
|
15
15
|
getComponentOverrides: (data: Ref<ComponentNode["data"]>, id: Ref<ComponentNode["id"]>, sectionId?: Ref<CanvasRetrieve["id"]>) => import('vue').ComputedRef<{
|
|
16
|
-
data: (import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps) | undefined;
|
|
16
|
+
data: (import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps) | undefined;
|
|
17
17
|
is_removed: boolean;
|
|
18
18
|
}>;
|
|
19
19
|
discardOverridesConfirmationOptions: typeof discardOverridesConfirmationOptions;
|
|
@@ -3,7 +3,7 @@ import { ComponentNode, ComponentNodeVisible } from '../types/canvas';
|
|
|
3
3
|
import { CollectionPlayer } from '../../collection-player/types/collection-player.type.ts';
|
|
4
4
|
export default function useCanvasVisibility(): {
|
|
5
5
|
getComponentDefaultVisibility: (type: ComponentNode["type"], mode?: keyof ComponentNodeVisible) => boolean;
|
|
6
|
-
getVisibleCanvasContent: (data: ComponentNode[], mode?: keyof ComponentNodeVisible) => ComponentNode<CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[];
|
|
6
|
+
getVisibleCanvasContent: (data: ComponentNode[], mode?: keyof ComponentNodeVisible) => ComponentNode<CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[];
|
|
7
7
|
getVisibleKey: () => keyof ComponentNodeVisible | undefined;
|
|
8
8
|
shouldRenderComponentWrapper: (c: ComponentNode, sectionId?: CanvasRetrieve["id"]) => boolean | undefined;
|
|
9
9
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare function toggleControlBarsCollapse(): void;
|
|
2
|
+
declare function resetControlBarsCollapse(): void;
|
|
3
|
+
export default function (): {
|
|
4
|
+
toggleControlBarsCollapse: typeof toggleControlBarsCollapse;
|
|
5
|
+
areControlBarsCollapsed: import('vue').Ref<boolean, boolean>;
|
|
6
|
+
resetControlBarsCollapse: typeof resetControlBarsCollapse;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
@@ -2,10 +2,4 @@ export declare const usePitcherEvents: (goToNextPage?: () => void, goToPreviousP
|
|
|
2
2
|
isOpenPhotosCaptured: import('vue').Ref<boolean, boolean>;
|
|
3
3
|
registerPhotosCapturedListener: () => void;
|
|
4
4
|
unregisterPhotosCapturedListener: () => void;
|
|
5
|
-
registerCanvasPageNextListener: () => void;
|
|
6
|
-
unregisterCanvasPageNextListener: () => void;
|
|
7
|
-
registerCanvasPagePreviousListener: () => void;
|
|
8
|
-
unregisterCanvasPagePreviousListener: () => void;
|
|
9
|
-
registerCanvasCloseListener: () => void;
|
|
10
|
-
unregisterCanvasCloseListener: () => void;
|
|
11
5
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentNode } from '../types/canvas';
|
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
|
3
3
|
export default function useReorderComponent(): {
|
|
4
|
-
activeComponent: Ref<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps> | null, ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps> | null>;
|
|
5
|
-
activeChildren: import('vue').WritableComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[], ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[]>;
|
|
4
|
+
activeComponent: Ref<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps> | null, ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps> | null>;
|
|
5
|
+
activeChildren: import('vue').WritableComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[], ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[]>;
|
|
6
6
|
activeTitle: ComputedRef<string>;
|
|
7
7
|
isContentVisible: Ref<boolean, boolean>;
|
|
8
8
|
initialize: () => void;
|
|
@@ -16,6 +16,6 @@ export default function useReorderComponent(): {
|
|
|
16
16
|
renameComponent: (component: ComponentNode, newName: string) => void;
|
|
17
17
|
isolatedScribbleChildId: ComputedRef<string | null>;
|
|
18
18
|
shouldShowOnlyIsolatedChild: (scribbleId: string) => boolean;
|
|
19
|
-
getFilteredScribbleChildren: (scribbleId: string, children: ComponentNode[]) => ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[];
|
|
19
|
+
getFilteredScribbleChildren: (scribbleId: string, children: ComponentNode[]) => ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[];
|
|
20
20
|
isComponentIsolated: (componentId: string) => boolean;
|
|
21
21
|
};
|
|
@@ -32,7 +32,7 @@ export interface ScribbleChildConfig {
|
|
|
32
32
|
export declare function useScribbleChild(config: ScribbleChildConfig): {
|
|
33
33
|
isScribbleChild: import('vue').ComputedRef<boolean>;
|
|
34
34
|
handleAddedToScribble: (emit: (event: "style", style: Record<string, any>, id?: string) => void) => void;
|
|
35
|
-
componentNode: import('vue').ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps> | null>;
|
|
35
|
+
componentNode: import('vue').ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').ContentListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps> | null>;
|
|
36
36
|
createStyleUpdate: (updates?: Partial<{
|
|
37
37
|
backgroundColor?: string;
|
|
38
38
|
backgroundAttachment?: import('../../../types/background').BackgroundAttachment;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
3
|
+
import { OrganizationSettings } from '../../../types/organizationSettings.types.ts';
|
|
4
|
+
import { InstanceSettings } from '../../../types/instanceSettings.types.ts';
|
|
5
|
+
type Source = 'onUpdateFromEmbeddable' | 'fetchedAccountData';
|
|
6
|
+
type ContextKey = string;
|
|
7
|
+
declare const _default: (pitcherSettings: Ref<OrganizationSettings & InstanceSettings>, activeCanvas: Ref<CanvasRetrieve | null>) => {
|
|
8
|
+
setTemporaryContextKeys: (source: Source, context: CanvasRetrieve["context"]) => void;
|
|
9
|
+
clearTemporaryContext: () => void;
|
|
10
|
+
temporaryContextKeys: import('vue').ComputedRef<string[]>;
|
|
11
|
+
getSafeContext: (context?: any, _temporaryContextKeys?: ContextKey[]) => any;
|
|
12
|
+
watchCanvas: () => import('vue').WatchHandle;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|