@pitcher/js-api 1.26.0-beta.6 → 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 +220 -1
- 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/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 +14 -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/composables/useCanvas.d.ts +380 -202
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +26 -0
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +26 -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/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 +1 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +20 -2
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -4
- 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/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +3 -0
- package/lib/components/CFileAccessManagement/CFileAccessManagement.vue.d.ts +6 -0
- package/lib/main.lib.d.ts +2 -0
- package/lib/sdk/api/HighLevelApi.d.ts +4 -0
- package/lib/sdk/api/modules/files.d.ts +10 -0
- package/lib/sdk/api/modules/query.d.ts +14 -0
- package/lib/sdk/interfaces.d.ts +4 -1
- package/lib/sdk/main.d.ts +13 -0
- 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 +2 -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 +7 -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/apps/canvas-builder/components/{ui/SectionList/SectionSearch.vue.d.ts → container/Search/Search.vue.d.ts} +0 -0
package/lib/sdk/interfaces.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { PitcherInstance } from '../types/instance.types';
|
|
|
5
5
|
import { PaginatedData } from '../types/paginatedData';
|
|
6
6
|
import { LaunchDarklyEnv } from '../types/launchDarkly.types';
|
|
7
7
|
import { CDP_EVENT_TYPE, CLIENT_TYPE } from '../constants/cdp.const';
|
|
8
|
+
import { PeerConnectivityEvent } from './peer-connectivity';
|
|
8
9
|
export declare const PITCHER_EVENT: "PITCHER_EVENT";
|
|
9
10
|
export declare enum PitcherMessageType {
|
|
10
11
|
REQUEST = "PITCHER_REQUEST",
|
|
@@ -145,7 +146,8 @@ export declare enum PitcherEventName {
|
|
|
145
146
|
ITEM_SHAREBOX_STATUS_UPDATED = "item_sharebox_status_updated",
|
|
146
147
|
ITEM_SHAREBOX_ADD_REQUESTED = "item_sharebox_add_requested",
|
|
147
148
|
ITEM_SHAREBOX_ADD_COMPLETED = "item_sharebox_add_completed",
|
|
148
|
-
SYNC_BADGE_VALUE_REPORTED = "sync_badge_value_reported"
|
|
149
|
+
SYNC_BADGE_VALUE_REPORTED = "sync_badge_value_reported",
|
|
150
|
+
PEER_CONNECTIVITY_EVENT = "peer_connectivity_event"
|
|
149
151
|
}
|
|
150
152
|
export declare enum PitcherBroadcastedEventName {
|
|
151
153
|
UI_SHOW_MODAL = "ui:show-modal",
|
|
@@ -442,6 +444,7 @@ export interface PitcherEventMap {
|
|
|
442
444
|
[PitcherEventName.SYNC_BADGE_VALUE_REPORTED]: {
|
|
443
445
|
count: number;
|
|
444
446
|
};
|
|
447
|
+
[PitcherEventName.PEER_CONNECTIVITY_EVENT]: PeerConnectivityEvent;
|
|
445
448
|
[PitcherBroadcastedEventName.UI_SHOW_MODAL]: void;
|
|
446
449
|
[PitcherBroadcastedEventName.UI_HIDE_MODAL]: void;
|
|
447
450
|
[PitcherBroadcastedEventName.FAVORITES_CHANGED]: {
|
package/lib/sdk/main.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './payload.types';
|
|
|
5
5
|
export * from './api/modules/ui/types.ui';
|
|
6
6
|
export * from './api/modules/admin/types.admin';
|
|
7
7
|
export * from './api/modules/dsr/types.dsr';
|
|
8
|
+
export * from './peer-connectivity';
|
|
8
9
|
export declare let highLevelApi: ReturnType<typeof createHighLevelApi>;
|
|
9
10
|
/**
|
|
10
11
|
* Check out the returned object documentation for the list of available methods.
|
|
@@ -265,6 +266,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
265
266
|
}): Promise<import('../main.lib').File["id"]>;
|
|
266
267
|
createFile(payload: Omit<import('../main.lib').AllFileCreateRequest, "instance_id">): Promise<import('../main.lib').FileRetrieve>;
|
|
267
268
|
selectDeviceFile(): Promise<import('../main.lib').DeviceFile>;
|
|
269
|
+
deleteLocalFile(payload: {
|
|
270
|
+
url: string;
|
|
271
|
+
}): Promise<void>;
|
|
268
272
|
getFileRevisions(payload: {
|
|
269
273
|
id?: import('../main.lib').FileRetrieve["id"];
|
|
270
274
|
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
@@ -298,6 +302,7 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
298
302
|
}): Promise<void>;
|
|
299
303
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
300
304
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
305
|
+
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
301
306
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
302
307
|
getFolder(payload?: {
|
|
303
308
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -538,6 +543,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
538
543
|
}): Promise<import('../main.lib').File["id"]>;
|
|
539
544
|
createFile(payload: Omit<import('../main.lib').AllFileCreateRequest, "instance_id">): Promise<import('../main.lib').FileRetrieve>;
|
|
540
545
|
selectDeviceFile(): Promise<import('../main.lib').DeviceFile>;
|
|
546
|
+
deleteLocalFile(payload: {
|
|
547
|
+
url: string;
|
|
548
|
+
}): Promise<void>;
|
|
541
549
|
getFileRevisions(payload: {
|
|
542
550
|
id?: import('../main.lib').FileRetrieve["id"];
|
|
543
551
|
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
@@ -571,6 +579,7 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
571
579
|
}): Promise<void>;
|
|
572
580
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
573
581
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
582
|
+
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
574
583
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
575
584
|
getFolder(payload?: {
|
|
576
585
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -751,6 +760,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
751
760
|
}): Promise<import('../main.lib').File["id"]>;
|
|
752
761
|
createFile(payload: Omit<import('../main.lib').AllFileCreateRequest, "instance_id">): Promise<import('../main.lib').FileRetrieve>;
|
|
753
762
|
selectDeviceFile(): Promise<import('../main.lib').DeviceFile>;
|
|
763
|
+
deleteLocalFile(payload: {
|
|
764
|
+
url: string;
|
|
765
|
+
}): Promise<void>;
|
|
754
766
|
getFileRevisions(payload: {
|
|
755
767
|
id?: import('../main.lib').FileRetrieve["id"];
|
|
756
768
|
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
@@ -780,6 +792,7 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
780
792
|
}): Promise<ArrayBuffer>;
|
|
781
793
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
782
794
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
795
|
+
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
783
796
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
784
797
|
getFolder(payload?: {
|
|
785
798
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const PEER_CONNECTIVITY_EVENT = "peer_connectivity_event";
|
|
2
|
+
export declare const PeerConnectivityActions: {
|
|
3
|
+
readonly CANVAS_PAGE_NEXT: "canvas.navigate.next";
|
|
4
|
+
readonly CANVAS_PAGE_PREVIOUS: "canvas.navigate.previous";
|
|
5
|
+
readonly CANVAS_OPEN: "canvas.open";
|
|
6
|
+
readonly CANVAS_CLOSE: "canvas.close";
|
|
7
|
+
readonly ROUTE_CHANGE: "route.change";
|
|
8
|
+
readonly FILE_OPEN: "file.open";
|
|
9
|
+
readonly FILE_CLOSE: "file.close";
|
|
10
|
+
};
|
|
11
|
+
export declare const DEFAULT_PEER_CONNECTIVITY_VERSION = 1;
|
|
12
|
+
export declare const PEER_CONNECTIVITY_HANDLER_MATCH_ALL = "*";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PeerConnectivityDispatchOptions, PeerConnectivityEventHandler, PeerConnectivityEventPayload } from './peerConnectivity.types';
|
|
2
|
+
export declare function registerPeerConnectivityHandler(actionOrActions: string | string[], handler: PeerConnectivityEventHandler): () => void;
|
|
3
|
+
export declare function sendPeerConnectivityEvent(payload: PeerConnectivityEventPayload, options?: PeerConnectivityDispatchOptions): Promise<void>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PeerConnectivityActions } from './peerConnectivity.constants';
|
|
2
|
+
export interface PeerConnectivityContext {
|
|
3
|
+
canvasId?: string;
|
|
4
|
+
fileId?: string;
|
|
5
|
+
routeName?: string;
|
|
6
|
+
routePath?: string;
|
|
7
|
+
viewId?: string;
|
|
8
|
+
viewType?: string;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface PeerConnectivityMetadata {
|
|
12
|
+
correlationId: string;
|
|
13
|
+
source: string;
|
|
14
|
+
timestamp: number;
|
|
15
|
+
extras?: Record<string, unknown>;
|
|
16
|
+
}
|
|
17
|
+
export interface PeerConnectivityEventPayload<TData extends Record<string, unknown> = Record<string, unknown>, TContext extends PeerConnectivityContext = PeerConnectivityContext> {
|
|
18
|
+
version?: number;
|
|
19
|
+
action: string;
|
|
20
|
+
context?: TContext;
|
|
21
|
+
data?: TData;
|
|
22
|
+
metadata?: Partial<PeerConnectivityMetadata>;
|
|
23
|
+
}
|
|
24
|
+
export interface PeerConnectivityEvent<TData extends Record<string, unknown> = Record<string, unknown>, TContext extends PeerConnectivityContext = PeerConnectivityContext> extends PeerConnectivityEventPayload<TData, TContext> {
|
|
25
|
+
version: number;
|
|
26
|
+
metadata: PeerConnectivityMetadata;
|
|
27
|
+
}
|
|
28
|
+
export type PeerConnectivityAction = (typeof PeerConnectivityActions)[keyof typeof PeerConnectivityActions] | string;
|
|
29
|
+
export type PeerConnectivityEventHandler<TData extends Record<string, unknown> = Record<string, unknown>, TContext extends PeerConnectivityContext = PeerConnectivityContext> = (event: PeerConnectivityEvent<TData, TContext>) => void;
|
|
30
|
+
export interface PeerConnectivityDispatchOptions {
|
|
31
|
+
/**
|
|
32
|
+
* Guards if feature flag is enabled for the current organization.
|
|
33
|
+
*/
|
|
34
|
+
isFeatureEnabled?: boolean;
|
|
35
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type LaunchDarklyBooleanFlagKey = 'ai_code_generation_model' | 'ai_text_generation_model' | 'ai_image_generation_model' | 'ai_video_generation_model' | 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_content_grid_autofill' | 'allow_canvas_duplication' | 'allow_canvases_tables_columns_settings' | 'allow_table_column_resizing' | 'allow_creating_canvas_with_no_template' | 'allow_dynamic_data_table_for_scribble_component' | 'allow_html_for_scribble_component' | 'allow_embeddable_for_scribble_component' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'enable_canvas_core_distributions' | 'enable_file_core_distributions' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_custom_tooltips' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'disable_download_canvas' | 'enable_ai_generated_thumbnails' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_algolia_search' | 'enable_background_image_theme_options' | 'enable_better_canvas_builder_control_bars_on_zoom' | 'enable_bulk_update_file_attributes' | 'enable_canvas_as_home' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_locks' | 'enable_canvas_template_edit_in_impact' | 'enable_canvas_tokens' | 'enable_collaborations' | 'enable_collection_player_data_accessor' | 'enable_content_grid_data_accessor' | 'enable_content_type_change_in_content_selector' | 'enable_cross_tab_instance_reload_for_ld_sync' | 'enable_create_section_from_section_template' | 'enable_custom_display_overrides' | 'enable_default_crm_shape' | 'enable_detailed_date_format' | 'enable_dsr_readonly_annotations' | 'enable_dynamic_data_table_component' | 'enable_custom_data_tables' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_canvas_drawer_app' | 'enable_enhanced_indicators' | 'enable_enhanced_section_execution_states' | 'enable_experimental_canvas_builder_dnd' | 'enable_extra_file_data' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_hotspot_visibility' | 'enable_improved_canvas_node_updating' | 'enable_insearch_in_section_selector' | 'enable_instance_cloner' | 'enable_advanced_cloner' | 'enable_instance_editor_role' | 'enable_instance_navigation_from_management' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_more_intuitive_component_spacing' | 'enable_multimedia_component_ai_images' | 'enable_new_meeting_bar' | 'enable_original_pdf_link' | 'enable_scale_content' | 'enable_sorting_in_tiptap_table' | 'enable_theme_assets' | 'enable_toc_enhancements_to_support_same_section_in_section_list' | 'enable_pia_assistant' | 'enable_pipe_character_multi_search' | 'enable_popup_apps' | 'enable_reorder_search' | 'enable_reorder_scribble_isolation' | 'enable_reorder_component_options_menu' | 'enable_resizable_multimedia_component' | 'enable_responsive_scribble_component' | 'enable_saved_canvases_filters' | 'enable_short_tag_column_in_tables' | 'enable_scribble_component' | 'enable_scribble_content_as_background' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_selectors_dnd' | 'enable_section_selector_edit_section' | 'enable_smart_folders' | 'enable_smart_folders_for_sections' | 'enable_smart_folders_in_section_selector' | 'enable_smart_folders_in_files' | 'enable_sorting_in_sections' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'prefer_online_handlers' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_metadata_filters_in_all_canvas_things' | 'show_only_preview_mode_for_html_component' | 'show_popularity_icons' | 'use_core_endpoint_for_analytics' | 'convert_pptx_to_section_with_scribble_pdfjs' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi' | 'enable_new_section_list' | 'enable_sharebox_apps' | 'enable_sharebox_bulk_filtering' | 'enable_back_to_previous_location_in_canvas' | 'enable_crm_shape_for_external_links' | 'enable_adaptive_popup_apps' | 'enable_file_version_polling' | 'skip_pspdfkit_wait_for_high_res_thumbs' | 'enable_reactive_scribble_component_toolbar' | 'enable_embeddable_full_screen_mode' | 'enable_enhanced_user_management' | 'keep_static_pptx_editable' | 'enable_canvas_pdf_dimensions' | 'enable_editable_pptx_of_canvas' | 'enable_canvas_control_bars_collapse';
|
|
1
|
+
export type LaunchDarklyBooleanFlagKey = 'ai_code_generation_model' | 'ai_text_generation_model' | 'ai_image_generation_model' | 'ai_video_generation_model' | 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_content_grid_autofill' | 'allow_canvas_duplication' | 'allow_canvases_tables_columns_settings' | 'allow_table_column_resizing' | 'allow_creating_canvas_with_no_template' | 'allow_dynamic_data_table_for_scribble_component' | 'allow_html_for_scribble_component' | 'allow_embeddable_for_scribble_component' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_distributions' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'enable_canvas_core_distributions' | 'enable_file_core_distributions' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_custom_tooltips' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'disable_download_canvas' | 'enable_ai_generated_thumbnails' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_algolia_search' | 'enable_background_image_theme_options' | 'enable_better_canvas_builder_control_bars_on_zoom' | 'enable_bulk_update_file_attributes' | 'enable_canvas_as_home' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_locks' | 'enable_canvas_template_edit_in_impact' | 'enable_canvas_tokens' | 'enable_collaborations' | 'enable_collection_player_data_accessor' | 'enable_content_grid_data_accessor' | 'enable_content_type_change_in_content_selector' | 'enable_cross_tab_instance_reload_for_ld_sync' | 'enable_create_section_from_section_template' | 'enable_custom_display_overrides' | 'enable_default_crm_shape' | 'enable_detailed_date_format' | 'enable_dsr_readonly_annotations' | 'enable_dynamic_data_table_component' | 'enable_custom_data_tables' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_canvas_drawer_app' | 'enable_enhanced_indicators' | 'enable_enhanced_section_execution_states' | 'enable_experimental_canvas_builder_dnd' | 'enable_extra_file_data' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_hotspot_visibility' | 'enable_improved_canvas_node_updating' | 'enable_individual_users_in_file_distribution' | 'enable_insearch_in_section_selector' | 'enable_instance_cloner' | 'enable_advanced_cloner' | 'enable_instance_editor_role' | 'enable_instance_navigation_from_management' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_more_intuitive_component_spacing' | 'enable_multimedia_component_ai_images' | 'enable_new_meeting_bar' | 'enable_original_pdf_link' | 'enable_scale_content' | 'enable_sorting_in_tiptap_table' | 'enable_theme_assets' | 'enable_toc_enhancements_to_support_same_section_in_section_list' | 'enable_pia_assistant' | 'enable_pipe_character_multi_search' | 'enable_popup_apps' | 'enable_reorder_search' | 'enable_reorder_scribble_isolation' | 'enable_reorder_component_options_menu' | 'enable_resizable_multimedia_component' | 'enable_responsive_scribble_component' | 'enable_saved_canvases_filters' | 'enable_short_tag_column_in_tables' | 'enable_scribble_component' | 'enable_scribble_content_as_background' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_selectors_dnd' | 'enable_section_selector_edit_section' | 'enable_smart_folders' | 'enable_smart_folders_for_sections' | 'enable_smart_folders_in_section_selector' | 'enable_smart_folders_in_files' | 'enable_sorting_in_sections' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'prefer_online_handlers' | 'restrict_owned_files_from_admins' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_metadata_filters_in_all_canvas_things' | 'show_only_preview_mode_for_html_component' | 'show_popularity_icons' | 'use_core_endpoint_for_analytics' | 'convert_pptx_to_section_with_scribble_pdfjs' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi' | 'enable_new_section_list' | 'enable_sharebox_apps' | 'enable_sharebox_bulk_filtering' | 'enable_back_to_previous_location_in_canvas' | 'enable_crm_shape_for_external_links' | 'enable_adaptive_popup_apps' | 'enable_file_version_polling' | 'skip_pspdfkit_wait_for_high_res_thumbs' | 'enable_reactive_scribble_component_toolbar' | 'enable_embeddable_full_screen_mode' | 'enable_enhanced_user_management' | 'keep_static_pptx_editable' | 'enable_canvas_pdf_dimensions' | 'enable_editable_pptx_of_canvas' | 'enable_canvas_control_bars_collapse';
|
|
2
2
|
export type LaunchDarklyNumberFlagKey = 'canvas_section_selector_page_size' | 'canvas_section_selector_selected_items_with_thumbnail_size';
|
|
3
3
|
type LaunchDarklyObjectFlags = {
|
|
4
4
|
canvas_manager_table_columns: CanvasManagerTableColumns;
|
|
@@ -80,6 +80,8 @@ export type OrganizationSettings = {
|
|
|
80
80
|
use_collection_player_as_default_file_viewer_for_original_extensions?: string[];
|
|
81
81
|
enable_ppt_converter_in_canvas_templates?: boolean;
|
|
82
82
|
generate_only_sections_in_ppt_converter?: boolean;
|
|
83
|
+
convert_pptx_to_html?: boolean;
|
|
84
|
+
convert_pptx_to_html_default_value?: boolean;
|
|
83
85
|
enable_search_with_suggestions?: boolean;
|
|
84
86
|
enable_search_filter_with_suggestions?: boolean;
|
|
85
87
|
enable_quick_filters_for_search_metadata_filters?: boolean;
|
|
@@ -102,5 +104,10 @@ export type OrganizationSettings = {
|
|
|
102
104
|
is_meeting_bar_account_selection_disabled?: boolean;
|
|
103
105
|
disable_postcall?: boolean;
|
|
104
106
|
launch_in_present_mode_on_creation?: boolean;
|
|
107
|
+
slotty_ui_route_config?: {
|
|
108
|
+
name: string;
|
|
109
|
+
enabled: boolean;
|
|
110
|
+
type: 'base' | 'app';
|
|
111
|
+
}[];
|
|
105
112
|
};
|
|
106
113
|
export {};
|
package/package.json
CHANGED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'vue';
|
|
2
|
-
import { ComponentTypes, ComponentNode, TextProps, ComponentNodeThemeMeta } from '../../../types/canvas';
|
|
3
|
-
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
-
id: ComponentNode['id'];
|
|
6
|
-
data: TextProps;
|
|
7
|
-
parentType?: ComponentTypes;
|
|
8
|
-
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
9
|
-
usedInSectionId?: CanvasRetrieve['id'];
|
|
10
|
-
visible?: ComponentNode['visible'];
|
|
11
|
-
tracking_id?: string;
|
|
12
|
-
style?: CSSProperties;
|
|
13
|
-
theme_meta?: ComponentNodeThemeMeta;
|
|
14
|
-
};
|
|
15
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
style: (s: CSSProperties) => any;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
onStyle?: ((s: CSSProperties) => any) | undefined;
|
|
19
|
-
}>, {
|
|
20
|
-
when_used_in_section: {
|
|
21
|
-
is_editable: boolean;
|
|
22
|
-
is_removable: boolean;
|
|
23
|
-
};
|
|
24
|
-
usedInSectionId: CanvasRetrieve["id"];
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
-
editorComponent: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
27
|
-
id: string;
|
|
28
|
-
modelValue: string;
|
|
29
|
-
parentType?: ComponentTypes;
|
|
30
|
-
showMenu: boolean;
|
|
31
|
-
allowEdit?: boolean;
|
|
32
|
-
style: Record<string, any>;
|
|
33
|
-
}> & Readonly<{
|
|
34
|
-
onOpenFile?: ((payload: {
|
|
35
|
-
fileId: string;
|
|
36
|
-
pageIndex?: number;
|
|
37
|
-
}) => any) | undefined;
|
|
38
|
-
onBlur?: (() => any) | undefined;
|
|
39
|
-
onFocus?: (() => any) | undefined;
|
|
40
|
-
"onUpdate:model-value"?: ((content: string) => any) | undefined;
|
|
41
|
-
}>, {
|
|
42
|
-
setContent: (content?: string) => void;
|
|
43
|
-
blur: () => void;
|
|
44
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
45
|
-
openFile: (payload: {
|
|
46
|
-
fileId: string;
|
|
47
|
-
pageIndex?: number;
|
|
48
|
-
}) => any;
|
|
49
|
-
blur: () => any;
|
|
50
|
-
focus: () => any;
|
|
51
|
-
"update:model-value": (content: string) => any;
|
|
52
|
-
}, import('vue').PublicProps, {
|
|
53
|
-
allowEdit: boolean;
|
|
54
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
55
|
-
editorContentRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
-
editor: {
|
|
57
|
-
default: null;
|
|
58
|
-
type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
|
|
59
|
-
};
|
|
60
|
-
}>>, {
|
|
61
|
-
rootEl: import('vue').Ref<Element | undefined>;
|
|
62
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
63
|
-
editor: import('@tiptap/vue-3').Editor;
|
|
64
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
65
|
-
P: {};
|
|
66
|
-
B: {};
|
|
67
|
-
D: {};
|
|
68
|
-
C: {};
|
|
69
|
-
M: {};
|
|
70
|
-
Defaults: {};
|
|
71
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
-
editor: {
|
|
73
|
-
default: null;
|
|
74
|
-
type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
|
|
75
|
-
};
|
|
76
|
-
}>>, {
|
|
77
|
-
rootEl: import('vue').Ref<Element | undefined>;
|
|
78
|
-
}, {}, {}, {}, {
|
|
79
|
-
editor: import('@tiptap/vue-3').Editor;
|
|
80
|
-
}> | null;
|
|
81
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
82
|
-
P: {};
|
|
83
|
-
B: {};
|
|
84
|
-
D: {};
|
|
85
|
-
C: {};
|
|
86
|
-
M: {};
|
|
87
|
-
Defaults: {};
|
|
88
|
-
}, Readonly<{
|
|
89
|
-
id: string;
|
|
90
|
-
modelValue: string;
|
|
91
|
-
parentType?: ComponentTypes;
|
|
92
|
-
showMenu: boolean;
|
|
93
|
-
allowEdit?: boolean;
|
|
94
|
-
style: Record<string, any>;
|
|
95
|
-
}> & Readonly<{
|
|
96
|
-
onOpenFile?: ((payload: {
|
|
97
|
-
fileId: string;
|
|
98
|
-
pageIndex?: number;
|
|
99
|
-
}) => any) | undefined;
|
|
100
|
-
onBlur?: (() => any) | undefined;
|
|
101
|
-
onFocus?: (() => any) | undefined;
|
|
102
|
-
"onUpdate:model-value"?: ((content: string) => any) | undefined;
|
|
103
|
-
}>, {
|
|
104
|
-
setContent: (content?: string) => void;
|
|
105
|
-
blur: () => void;
|
|
106
|
-
}, {}, {}, {}, {
|
|
107
|
-
allowEdit: boolean;
|
|
108
|
-
}> | null;
|
|
109
|
-
contentElement: HTMLDivElement;
|
|
110
|
-
}, any>;
|
|
111
|
-
export default _default;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ComponentTypes } from '../../apps/canvas-builder/types/canvas';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
id: string;
|
|
4
|
-
modelValue: string;
|
|
5
|
-
parentType?: ComponentTypes;
|
|
6
|
-
showMenu: boolean;
|
|
7
|
-
allowEdit?: boolean;
|
|
8
|
-
style: Record<string, any>;
|
|
9
|
-
};
|
|
10
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
11
|
-
setContent: (content?: string) => void;
|
|
12
|
-
blur: () => void;
|
|
13
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
-
openFile: (payload: {
|
|
15
|
-
fileId: string;
|
|
16
|
-
pageIndex?: number;
|
|
17
|
-
}) => any;
|
|
18
|
-
blur: () => any;
|
|
19
|
-
focus: () => any;
|
|
20
|
-
"update:model-value": (content: string) => any;
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
-
onOpenFile?: ((payload: {
|
|
23
|
-
fileId: string;
|
|
24
|
-
pageIndex?: number;
|
|
25
|
-
}) => any) | undefined;
|
|
26
|
-
onBlur?: (() => any) | undefined;
|
|
27
|
-
onFocus?: (() => any) | undefined;
|
|
28
|
-
"onUpdate:model-value"?: ((content: string) => any) | undefined;
|
|
29
|
-
}>, {
|
|
30
|
-
allowEdit: boolean;
|
|
31
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
-
editorContentRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
-
editor: {
|
|
34
|
-
default: null;
|
|
35
|
-
type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
|
|
36
|
-
};
|
|
37
|
-
}>>, {
|
|
38
|
-
rootEl: import('vue').Ref<Element | undefined>;
|
|
39
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
40
|
-
editor: import('@tiptap/vue-3').Editor;
|
|
41
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
42
|
-
P: {};
|
|
43
|
-
B: {};
|
|
44
|
-
D: {};
|
|
45
|
-
C: {};
|
|
46
|
-
M: {};
|
|
47
|
-
Defaults: {};
|
|
48
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
49
|
-
editor: {
|
|
50
|
-
default: null;
|
|
51
|
-
type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
|
|
52
|
-
};
|
|
53
|
-
}>>, {
|
|
54
|
-
rootEl: import('vue').Ref<Element | undefined>;
|
|
55
|
-
}, {}, {}, {}, {
|
|
56
|
-
editor: import('@tiptap/vue-3').Editor;
|
|
57
|
-
}> | null;
|
|
58
|
-
}, HTMLDivElement>;
|
|
59
|
-
export default _default;
|