@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.
Files changed (73) hide show
  1. package/impact-js-api.spec.json +3 -0
  2. package/js-api.esm.js +228 -6
  3. package/js-api.esm.js.map +1 -1
  4. package/js-api.umd.min.js +10 -10
  5. package/js-api.umd.min.js.map +1 -1
  6. package/lib/apps/browser/components/Content/ActionsToolbar/BulkShareboxWarningModal.vue.d.ts +15 -0
  7. package/lib/apps/browser/components/Content/ActionsToolbar/SelectionActions.vue.d.ts +1 -1
  8. package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +5 -1
  9. package/lib/apps/browser/stores/api.d.ts +16 -1
  10. package/lib/apps/canvas-builder/App.vue.d.ts +15 -0
  11. package/lib/apps/canvas-builder/components/container/NavigationWrapper/NavigationWrapper.vue.d.ts +5 -1
  12. package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.raw.vue.d.ts +30 -0
  13. package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.vue.d.ts +76 -0
  14. package/lib/apps/canvas-builder/components/ui/ContentList/ContentListItems.vue.d.ts +21 -0
  15. package/lib/apps/canvas-builder/components/ui/ContentList/content.store.d.ts +11 -0
  16. package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.edit.vue.d.ts +2 -0
  17. package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.header.vue.d.ts +19 -0
  18. package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.vue.d.ts +13 -0
  19. package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.settings.vue.d.ts +10 -0
  20. package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.utils.d.ts +32 -0
  21. package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.vue.d.ts +27 -0
  22. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +1100 -208
  23. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +176 -0
  24. package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +1 -1
  25. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +176 -0
  26. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +7 -9
  27. package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
  28. package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
  29. package/lib/apps/canvas-builder/composables/useControlBarCollapse.d.ts +8 -0
  30. package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +0 -6
  31. package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
  32. package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +1 -1
  33. package/lib/apps/canvas-builder/composables/useTemporaryContext.d.ts +14 -0
  34. package/lib/apps/canvas-builder/types/canvas.d.ts +42 -2
  35. package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -4
  36. package/lib/apps/canvas-builder/util/print.util.d.ts +2 -9
  37. package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +6 -3
  38. package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +2 -0
  39. package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +8 -8
  40. package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +1 -0
  41. package/lib/components/CContactSelector/CContactSelector.vue.d.ts +2 -0
  42. package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +11 -0
  43. package/lib/components/CContentError/CContentError.vue.d.ts +1 -0
  44. package/lib/components/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +3 -0
  45. package/lib/components/CFileAccessManagement/CFileAccessManagement.vue.d.ts +6 -0
  46. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +4 -0
  47. package/lib/components/CFileViewer/pdf/CFileViewer.pdf.link.types.d.ts +3 -2
  48. package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +1 -0
  49. package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +2 -0
  50. package/lib/components/CPdfDimensionsSelector/CPdfDimensionsSelector.vue.d.ts +2 -0
  51. package/lib/constants/dimensions.const.d.ts +23 -0
  52. package/lib/directives/vTrustedHtml.d.ts +6 -0
  53. package/lib/main.lib.d.ts +3 -0
  54. package/lib/sdk/api/HighLevelApi.d.ts +4 -0
  55. package/lib/sdk/api/modules/dsr/types.dsr.d.ts +5 -1
  56. package/lib/sdk/api/modules/files.d.ts +10 -0
  57. package/lib/sdk/api/modules/query.d.ts +14 -0
  58. package/lib/sdk/api/modules/ui/types.ui.d.ts +2 -0
  59. package/lib/sdk/interfaces.d.ts +8 -2
  60. package/lib/sdk/main.d.ts +25 -11
  61. package/lib/sdk/peer-connectivity/index.d.ts +3 -0
  62. package/lib/sdk/peer-connectivity/peerConnectivity.constants.d.ts +12 -0
  63. package/lib/sdk/peer-connectivity/peerConnectivity.d.ts +3 -0
  64. package/lib/sdk/peer-connectivity/peerConnectivity.types.d.ts +35 -0
  65. package/lib/types/instanceSettings.types.d.ts +4 -0
  66. package/lib/types/launchDarkly.types.d.ts +1 -1
  67. package/lib/types/organizationMetadata.types.d.ts +3 -2
  68. package/lib/types/organizationSettings.types.d.ts +9 -0
  69. package/package.json +1 -1
  70. package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +0 -111
  71. package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +0 -59
  72. package/lib/modules/algolia-instantsearch.d.ts +0 -1
  73. /package/lib/apps/canvas-builder/components/{ui/SectionList/SectionSearch.vue.d.ts → container/Search/Search.vue.d.ts} +0 -0
@@ -0,0 +1,15 @@
1
+ import { ViewCompactFile } from '../../../../../types/files';
2
+ interface Props {
3
+ show: boolean;
4
+ unshareableFiles: ViewCompactFile[];
5
+ }
6
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ confirm: () => any;
8
+ "update:show": (value: boolean) => any;
9
+ "open-file": (fileId: string) => any;
10
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
11
+ onConfirm?: (() => any) | undefined;
12
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
13
+ "onOpen-file"?: ((fileId: string) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,10 +1,14 @@
1
1
  import { Form } from './UploadFilesModal.vue';
2
2
  type __VLS_Props = {
3
3
  modelValue: Form;
4
+ showConvertPptxToHtml?: boolean;
5
+ convertPptxToHtml?: boolean;
4
6
  };
5
7
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
8
  "update:modelValue": (form: Form) => any;
9
+ "update:convertPptxToHtml": (value: boolean) => any;
7
10
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
11
  "onUpdate:modelValue"?: ((form: Form) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ "onUpdate:convertPptxToHtml"?: ((value: boolean) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
14
  export default _default;
@@ -49,7 +49,7 @@ type FavoritesFetcher = (payload?: GetFavoritesParams) => Promise<PaginatedData<
49
49
  type FavoritesSetter = (favorites: Favorite[]) => void;
50
50
  type RecentFilesFetcher = () => Promise<RecentFile[]>;
51
51
  type SelectDeviceFile = () => Promise<DeviceFile>;
52
- type CompactFile = Pick<File, 'id' | 'name' | 'thumbnail_url' | 'tags' | 'created_by' | 'modified_at' | 'status' | 'content_type' | 'permissions'>;
52
+ type CompactFile = Pick<File, 'id' | 'name' | 'thumbnail_url' | 'tags' | 'created_by' | 'modified_at' | 'status' | 'content_type' | 'permissions' | 'owned_by'>;
53
53
  type ItemsMoverItem = {
54
54
  id: File['id'] | Folder['id'];
55
55
  type: 'file' | 'folder';
@@ -154,6 +154,11 @@ declare const _default: () => {
154
154
  } | undefined;
155
155
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
156
156
  readonly status: FileStatusEnum;
157
+ readonly owned_by: {
158
+ readonly id: number;
159
+ readonly name: string;
160
+ readonly email?: string | undefined;
161
+ };
157
162
  readonly created_by: {
158
163
  readonly id: number;
159
164
  readonly name: string;
@@ -452,6 +457,11 @@ declare const _default: () => {
452
457
  } | undefined;
453
458
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
454
459
  readonly status: FileStatusEnum;
460
+ readonly owned_by: {
461
+ readonly id: number;
462
+ readonly name: string;
463
+ readonly email?: string | undefined;
464
+ };
455
465
  readonly created_by: {
456
466
  readonly id: number;
457
467
  readonly name: string;
@@ -588,6 +598,11 @@ declare const _default: () => {
588
598
  } | undefined;
589
599
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
590
600
  readonly status: FileStatusEnum;
601
+ readonly owned_by: {
602
+ readonly id: number;
603
+ readonly name: string;
604
+ email?: string | undefined;
605
+ };
591
606
  readonly created_by: {
592
607
  readonly id: number;
593
608
  readonly name: string;
@@ -77,6 +77,7 @@ declare const _default: import('vue').DefineComponent<({
77
77
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
78
78
  isAnyTypeOfAdmin: boolean;
79
79
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
80
+ hideEdit?: boolean;
80
81
  } & import('./types/canvas').CRMBuilderProps & {
81
82
  isRedirectEvent?: never;
82
83
  mode: CanvasBuilderMode.ADMIN;
@@ -157,6 +158,7 @@ declare const _default: import('vue').DefineComponent<({
157
158
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
158
159
  isAnyTypeOfAdmin: boolean;
159
160
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
161
+ hideEdit?: boolean;
160
162
  } & {
161
163
  isCRM: false;
162
164
  onSfdcAccountSearch?: never;
@@ -240,6 +242,7 @@ declare const _default: import('vue').DefineComponent<({
240
242
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
241
243
  isAnyTypeOfAdmin: boolean;
242
244
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
245
+ hideEdit?: boolean;
243
246
  } & import('./types/canvas').CRMBuilderProps & {
244
247
  isRedirectEvent?: boolean;
245
248
  mode: CanvasBuilderMode.IMPACT;
@@ -324,6 +327,7 @@ declare const _default: import('vue').DefineComponent<({
324
327
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
325
328
  isAnyTypeOfAdmin: boolean;
326
329
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
330
+ hideEdit?: boolean;
327
331
  } & {
328
332
  isCRM: false;
329
333
  onSfdcAccountSearch?: never;
@@ -411,6 +415,7 @@ declare const _default: import('vue').DefineComponent<({
411
415
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
412
416
  isAnyTypeOfAdmin: boolean;
413
417
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
418
+ hideEdit?: boolean;
414
419
  } & import('./types/canvas').CRMBuilderProps & {
415
420
  isRedirectEvent?: boolean;
416
421
  mode: CanvasBuilderMode.HOME;
@@ -495,6 +500,7 @@ declare const _default: import('vue').DefineComponent<({
495
500
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
496
501
  isAnyTypeOfAdmin: boolean;
497
502
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
503
+ hideEdit?: boolean;
498
504
  } & {
499
505
  isCRM: false;
500
506
  onSfdcAccountSearch?: never;
@@ -523,6 +529,9 @@ declare const _default: import('vue').DefineComponent<({
523
529
  }) => void;
524
530
  };
525
531
  switchToPresentation: () => Promise<void>;
532
+ setTemporaryContextKeys: (source: "onUpdateFromEmbeddable" | "fetchedAccountData", context: CanvasRetrieve["context"]) => void;
533
+ setInMemoryAccountData: (accountData?: Record<string, any>) => void;
534
+ getSafeContext: (context?: any, _temporaryContextKeys?: string[]) => any;
526
535
  goToPage: ({ componentId, sectionId, scrollTo, itemIndex, sectionIndex, skipSetPreviousLocation, }: {
527
536
  componentId: ComponentNode["id"];
528
537
  sectionId?: CanvasRetrieve["id"];
@@ -627,6 +636,7 @@ declare const _default: import('vue').DefineComponent<({
627
636
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
628
637
  isAnyTypeOfAdmin: boolean;
629
638
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
639
+ hideEdit?: boolean;
630
640
  } & import('./types/canvas').CRMBuilderProps & {
631
641
  isRedirectEvent?: never;
632
642
  mode: CanvasBuilderMode.ADMIN;
@@ -707,6 +717,7 @@ declare const _default: import('vue').DefineComponent<({
707
717
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
708
718
  isAnyTypeOfAdmin: boolean;
709
719
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
720
+ hideEdit?: boolean;
710
721
  } & {
711
722
  isCRM: false;
712
723
  onSfdcAccountSearch?: never;
@@ -790,6 +801,7 @@ declare const _default: import('vue').DefineComponent<({
790
801
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
791
802
  isAnyTypeOfAdmin: boolean;
792
803
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
804
+ hideEdit?: boolean;
793
805
  } & import('./types/canvas').CRMBuilderProps & {
794
806
  isRedirectEvent?: boolean;
795
807
  mode: CanvasBuilderMode.IMPACT;
@@ -874,6 +886,7 @@ declare const _default: import('vue').DefineComponent<({
874
886
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
875
887
  isAnyTypeOfAdmin: boolean;
876
888
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
889
+ hideEdit?: boolean;
877
890
  } & {
878
891
  isCRM: false;
879
892
  onSfdcAccountSearch?: never;
@@ -961,6 +974,7 @@ declare const _default: import('vue').DefineComponent<({
961
974
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
962
975
  isAnyTypeOfAdmin: boolean;
963
976
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
977
+ hideEdit?: boolean;
964
978
  } & import('./types/canvas').CRMBuilderProps & {
965
979
  isRedirectEvent?: boolean;
966
980
  mode: CanvasBuilderMode.HOME;
@@ -1045,6 +1059,7 @@ declare const _default: import('vue').DefineComponent<({
1045
1059
  theme: import('../../main.lib').CanvasThemeRetrieve | null;
1046
1060
  isAnyTypeOfAdmin: boolean;
1047
1061
  canvasMetadata: import('../../main.lib').CanvasMetadataRetrieve | null;
1062
+ hideEdit?: boolean;
1048
1063
  } & {
1049
1064
  isCRM: false;
1050
1065
  onSfdcAccountSearch?: never;
@@ -1,3 +1,6 @@
1
+ type __VLS_Props = {
2
+ collapsed?: boolean;
3
+ };
1
4
  declare function __VLS_template(): {
2
5
  attrs: Partial<{}>;
3
6
  slots: {
@@ -5,12 +8,13 @@ declare function __VLS_template(): {
5
8
  top?(_: {}): any;
6
9
  middle?(_: {}): any;
7
10
  bottom?(_: {}): any;
11
+ toggle?(_: {}): any;
8
12
  };
9
13
  refs: {};
10
14
  rootEl: HTMLDivElement;
11
15
  };
12
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
19
  export default _default;
16
20
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,30 @@
1
+ import { CSSProperties } from 'vue';
2
+ import { CanvasRetrieve } from '../../../../../../types/openapi';
3
+ import { ComponentNode, ContentListProps } from '../../../types/canvas';
4
+ type __VLS_Props = {
5
+ id: ComponentNode['id'];
6
+ data: ContentListProps;
7
+ sectionListName?: string;
8
+ previewMode?: boolean;
9
+ style?: CSSProperties;
10
+ shouldEditWithApp?: boolean;
11
+ hasSectionSelectorApp?: boolean;
12
+ printModeIdx?: number;
13
+ };
14
+ declare function onSectionSelectorToggle(): void;
15
+ declare function onSectionsSelect(items: {
16
+ id: CanvasRetrieve['id'];
17
+ }[], isForcedRecommendations?: boolean): Promise<void>;
18
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
19
+ toggleSectionSelector: typeof onSectionSelectorToggle;
20
+ onSectionsSelect: typeof onSectionsSelect;
21
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ justAdded: (id: string) => any;
23
+ browseWithAppClicked: () => any;
24
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ onJustAdded?: ((id: string) => any) | undefined;
26
+ onBrowseWithAppClicked?: (() => any) | undefined;
27
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
28
+ sectionListRef: HTMLDivElement;
29
+ }, any>;
30
+ export default _default;
@@ -0,0 +1,76 @@
1
+ import { CSSProperties } from 'vue';
2
+ import { ComponentNode, ComponentNodePrint, ComponentNodeLinkable, ContentListProps } from '../../../types/canvas';
3
+ import { FileContentTypeEnum } from '../../../../../../types/openapi';
4
+ type __VLS_Props = {
5
+ id: ComponentNode['id'];
6
+ data: ContentListProps;
7
+ tracking_id: string;
8
+ visible?: ComponentNode['visible'];
9
+ allow_admins_to_overwrite?: boolean;
10
+ style?: CSSProperties;
11
+ printModeIdx?: number;
12
+ class?: string | string[] | object;
13
+ print?: ComponentNodePrint;
14
+ autofill?: 'off' | 'ai' | 'matching_metadata' | 'matching_tags' | 'matching_metadata_or_tags';
15
+ linkable?: ComponentNodeLinkable;
16
+ autofill_content_types?: FileContentTypeEnum[] | null;
17
+ when_used_in_section?: {
18
+ is_editable: boolean;
19
+ is_removable: boolean;
20
+ };
21
+ };
22
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ style: (s: CSSProperties) => any;
24
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ onStyle?: ((s: CSSProperties) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
+ contentListRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
28
+ id: ComponentNode["id"];
29
+ data: ContentListProps;
30
+ sectionListName?: string;
31
+ previewMode?: boolean;
32
+ style?: CSSProperties;
33
+ shouldEditWithApp?: boolean;
34
+ hasSectionSelectorApp?: boolean;
35
+ printModeIdx?: number;
36
+ }> & Readonly<{
37
+ onJustAdded?: ((id: string) => any) | undefined;
38
+ onBrowseWithAppClicked?: (() => any) | undefined;
39
+ }>, {
40
+ toggleSectionSelector: () => void;
41
+ onSectionsSelect: (items: {
42
+ id: import('../../../../../../types/openapi').CanvasRetrieve["id"];
43
+ }[], isForcedRecommendations?: boolean) => Promise<void>;
44
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
+ justAdded: (id: string) => any;
46
+ browseWithAppClicked: () => any;
47
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
48
+ sectionListRef: HTMLDivElement;
49
+ }, any, import('vue').ComponentProvideOptions, {
50
+ P: {};
51
+ B: {};
52
+ D: {};
53
+ C: {};
54
+ M: {};
55
+ Defaults: {};
56
+ }, Readonly<{
57
+ id: ComponentNode["id"];
58
+ data: ContentListProps;
59
+ sectionListName?: string;
60
+ previewMode?: boolean;
61
+ style?: CSSProperties;
62
+ shouldEditWithApp?: boolean;
63
+ hasSectionSelectorApp?: boolean;
64
+ printModeIdx?: number;
65
+ }> & Readonly<{
66
+ onJustAdded?: ((id: string) => any) | undefined;
67
+ onBrowseWithAppClicked?: (() => any) | undefined;
68
+ }>, {
69
+ toggleSectionSelector: () => void;
70
+ onSectionsSelect: (items: {
71
+ id: import('../../../../../../types/openapi').CanvasRetrieve["id"];
72
+ }[], isForcedRecommendations?: boolean) => Promise<void>;
73
+ }, {}, {}, {}, {}> | null;
74
+ iframeRef: HTMLIFrameElement;
75
+ }, any>;
76
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { CanvasSection, FileRetrieve } from '../../../../../../types/openapi';
2
+ import { ContentListSection } from '../../../types/canvas.ts';
3
+ type Item = {
4
+ index: number;
5
+ file?: FileRetrieve;
6
+ section?: CanvasSection;
7
+ } & ContentListSection;
8
+ type __VLS_Props = {
9
+ name?: string;
10
+ style?: Record<string, any>;
11
+ items: Array<Item>;
12
+ hasSectionSelectorApp?: boolean;
13
+ };
14
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "open-section": (section: CanvasSection, index: number) => any;
16
+ "select-sections": () => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onOpen-section"?: ((section: CanvasSection, index: number) => any) | undefined;
19
+ "onSelect-sections"?: (() => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { Ref } from 'vue';
2
+ import { FileRetrieve } from '../../../../../../types/openapi';
3
+ import { ContentListSection } from '../../../types/canvas';
4
+ declare const _default: () => {
5
+ files: {
6
+ loading: Record<string, true>;
7
+ loaded: Record<string, FileRetrieve>;
8
+ };
9
+ watchMissingFiles: (rawItems: Ref<ContentListSection[]>) => import('vue').WatchHandle;
10
+ };
11
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { ColumnSort } from '@tanstack/table-core';
2
+ interface Column {
3
+ id: string;
4
+ header: string;
5
+ enableSorting: boolean;
6
+ sortDescFirst?: boolean;
7
+ }
8
+ type __VLS_Props = {
9
+ columns: Column[];
10
+ headerBackgroundColor: string;
11
+ headerForegroundColor: string;
12
+ currentSorting: ColumnSort | null;
13
+ };
14
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ sort: (columnId: string) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onSort?: ((columnId: string) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableSectionElement>;
19
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { ColumnSort } from '@tanstack/table-core';
2
+ import { CustomDataTableProps } from '../../../types/canvas';
3
+ type __VLS_Props = {
4
+ data?: CustomDataTableProps;
5
+ style?: Record<string, any>;
6
+ id?: string;
7
+ };
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ sortChanged: (sorting: ColumnSort | null) => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onSortChanged?: ((sorting: ColumnSort | null) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { ComponentNode, CustomDataTableProps } from '../../../types/canvas';
2
+ type __VLS_Props = {
3
+ id: ComponentNode['id'];
4
+ data: CustomDataTableProps | null;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
+ hierarchyScrollContainer: HTMLDivElement;
8
+ columnsScrollContainer: HTMLDivElement;
9
+ }, any>;
10
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { CustomDataTableHierarchyLevel, DynamicDatatableProperty } from '../../../types/canvas';
2
+ export interface ProcessedHierarchicalRow {
3
+ id: string;
4
+ level: number;
5
+ type: 'group' | 'data';
6
+ groupValue?: string;
7
+ data?: Record<string, any>;
8
+ children?: ProcessedHierarchicalRow[];
9
+ isExpanded?: boolean;
10
+ }
11
+ export interface RowWithAncestors extends ProcessedHierarchicalRow {
12
+ ancestorGroups?: ProcessedHierarchicalRow[];
13
+ isInnermostGroup?: boolean;
14
+ }
15
+ /**
16
+ * Process hierarchical data based on configured levels
17
+ */
18
+ export declare function processHierarchicalData(sourceData: any, hierarchy: CustomDataTableHierarchyLevel[], columns?: DynamicDatatableProperty[], userSortConfig?: {
19
+ key: string;
20
+ direction: 'asc' | 'desc';
21
+ }): ProcessedHierarchicalRow[];
22
+ /**
23
+ * Flatten hierarchical structure for rendering
24
+ * @param rows - The hierarchical rows to flatten
25
+ * @param includeCollapsed - Whether to include collapsed rows
26
+ * @param forceExpandAll - Force all groups to be expanded (useful for print mode)
27
+ */
28
+ export declare function flattenForRendering(rows: ProcessedHierarchicalRow[], includeCollapsed?: boolean, forceExpandAll?: boolean): RowWithAncestors[];
29
+ /**
30
+ * Toggle expand/collapse state of a group row
31
+ */
32
+ export declare function toggleRowExpansion(rows: ProcessedHierarchicalRow[], rowId: string): ProcessedHierarchicalRow[];
@@ -0,0 +1,27 @@
1
+ import { ComponentTypes, ComponentNode, CustomDataTableProps } from '../../../types/canvas';
2
+ import { CanvasRetrieve } from '../../../../../../types/openapi';
3
+ type __VLS_Props = {
4
+ id: string;
5
+ data: CustomDataTableProps;
6
+ children?: ComponentNode[];
7
+ parentType?: ComponentTypes;
8
+ usedInSectionId?: CanvasRetrieve['id'];
9
+ when_used_in_section?: ComponentNode['when_used_in_section'];
10
+ visible?: ComponentNode['visible'];
11
+ tracking_id?: string;
12
+ style?: Record<string, any>;
13
+ theme_meta?: ComponentNode['theme_meta'];
14
+ };
15
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ style: (s: Record<string, any>, id?: string | undefined) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onStyle?: ((s: Record<string, any>, id?: string | undefined) => any) | undefined;
19
+ }>, {
20
+ children: ComponentNode[];
21
+ when_used_in_section: {
22
+ is_editable: boolean;
23
+ is_removable: boolean;
24
+ };
25
+ usedInSectionId: CanvasRetrieve["id"];
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
+ export default _default;