@pitcher/js-api 1.26.0-beta.4 → 1.26.0-beta.5

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.
@@ -449,6 +449,9 @@ export default function useCanvasTheme(): {
449
449
  backgroundPositionY: import('vue').Ref<BackgroundPositionY, BackgroundPositionY>;
450
450
  backgroundSize: import('vue').Ref<BackgroundSize, BackgroundSize>;
451
451
  backgroundRepeat: import('vue').Ref<BackgroundRepeat, BackgroundRepeat>;
452
+ pdfDimensionsPreset: import('vue').Ref<string | undefined, string | undefined>;
453
+ pdfDimensionsWidth: import('vue').Ref<string | undefined, string | undefined>;
454
+ pdfDimensionsHeight: import('vue').Ref<string | undefined, string | undefined>;
452
455
  isLoading: import('vue').Ref<boolean, boolean>;
453
456
  initializeTheme: typeof initializeTheme;
454
457
  getDefaultTypographyConfiguration: typeof getDefaultTypographyConfiguration;
@@ -2,3 +2,37 @@ export declare const DEFAULT_GLOBAL_COMPONENT_SPACING = 32;
2
2
  export declare const DEFAULT_GLOBAL_COMPONENT_SPACING_INTERVAL = 4;
3
3
  export declare const CANVAS_TYPOGRAPHY_CSS_PROPERTIES: readonly ["font-family", "font-size", "font-weight", "line-height", "letter-spacing", "text-transform", "color"];
4
4
  export declare const CANVAS_TYPOGRAPHY_PRESETS: readonly ["h_1", "h_2", "h_3", "big_text", "normal_text", "small_text"];
5
+ export declare const PAPER_SIZE_PRESETS: {
6
+ readonly A4: {
7
+ readonly width: "210mm";
8
+ readonly height: "297mm";
9
+ };
10
+ readonly A3: {
11
+ readonly width: "297mm";
12
+ readonly height: "420mm";
13
+ };
14
+ readonly A5: {
15
+ readonly width: "148mm";
16
+ readonly height: "210mm";
17
+ };
18
+ readonly B3: {
19
+ readonly width: "353mm";
20
+ readonly height: "500mm";
21
+ };
22
+ readonly B4: {
23
+ readonly width: "250mm";
24
+ readonly height: "353mm";
25
+ };
26
+ readonly B5: {
27
+ readonly width: "176mm";
28
+ readonly height: "250mm";
29
+ };
30
+ readonly 'US Legal': {
31
+ readonly width: "8.5in";
32
+ readonly height: "14in";
33
+ };
34
+ readonly 'US Letter': {
35
+ readonly width: "8.5in";
36
+ readonly height: "11in";
37
+ };
38
+ };
@@ -436,6 +436,11 @@ export declare const ComponentIcon: {
436
436
  readonly Video: "video";
437
437
  };
438
438
  export declare const componentIconType: Record<string, FontAwesomeType>;
439
+ export interface CanvasPdfDimensions {
440
+ preset?: 'A4' | 'A3' | 'A5' | 'B3' | 'B4' | 'B5' | 'US Legal' | 'US Letter' | 'Custom';
441
+ width?: string;
442
+ height?: string;
443
+ }
439
444
  export type CanvasTheme = {
440
445
  background_video_url?: string;
441
446
  canvas_bg_color?: string;
@@ -453,6 +458,7 @@ export type CanvasTheme = {
453
458
  inherit_theme_from_parent?: boolean;
454
459
  logo?: CanvasThemeAsset | null;
455
460
  assets?: CanvasThemeAsset[];
461
+ pdf_dimensions?: CanvasPdfDimensions;
456
462
  };
457
463
  export declare enum CanvasBuilderMode {
458
464
  ADMIN = "admin",
@@ -0,0 +1,25 @@
1
+ interface Props {
2
+ preset?: string;
3
+ width?: string;
4
+ height?: string;
5
+ disabled?: boolean;
6
+ defaultWidth?: string;
7
+ defaultHeight?: string;
8
+ }
9
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ "update:preset": (value: string | undefined) => any;
11
+ "update:width": (value: string | undefined) => any;
12
+ "update:height": (value: string | undefined) => any;
13
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
14
+ "onUpdate:preset"?: ((value: string | undefined) => any) | undefined;
15
+ "onUpdate:width"?: ((value: string | undefined) => any) | undefined;
16
+ "onUpdate:height"?: ((value: string | undefined) => any) | undefined;
17
+ }>, {
18
+ height: string;
19
+ disabled: boolean;
20
+ width: string;
21
+ defaultWidth: string;
22
+ defaultHeight: string;
23
+ preset: string;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
25
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  import { SortingState, PaginationState, ColumnDef } from '@tanstack/table-core';
2
- import { StyleValue } from 'vue';
2
+ import { ComputedRef, StyleValue } from 'vue';
3
3
  type RowItem = Record<string, any>;
4
4
  type __VLS_Props = {
5
5
  selectedRows?: Record<string, boolean>;
@@ -25,11 +25,11 @@ type __VLS_Props = {
25
25
  declare function isRowDisabled(id: string | number): boolean;
26
26
  declare function handleSelectAll(): void;
27
27
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
28
- isNoneSelected: import('vue').ComputedRef<boolean>;
29
- areAllSelected: import('vue').ComputedRef<boolean>;
28
+ isNoneSelected: ComputedRef<boolean>;
29
+ areAllSelected: ComputedRef<boolean>;
30
30
  selectAll: typeof handleSelectAll;
31
- selectedRowsCount: import('vue').ComputedRef<number>;
32
- pageRowsCount: import('vue').ComputedRef<number>;
31
+ selectedRowsCount: ComputedRef<number>;
32
+ pageRowsCount: ComputedRef<number>;
33
33
  isRowDisabled: typeof isRowDisabled;
34
34
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
35
  sortChanged: (s: SortingState) => any;
@@ -56,5 +56,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
56
56
  disabledIds: Array<string | number>;
57
57
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
58
58
  tableScroller: HTMLDivElement;
59
+ tableElement: HTMLTableElement;
59
60
  }, HTMLDivElement>;
60
61
  export default _default;
@@ -161,6 +161,7 @@ declare function __VLS_template(): {
161
161
  disabledIds: Array<string | number>;
162
162
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
163
163
  tableScroller: HTMLDivElement;
164
+ tableElement: HTMLTableElement;
164
165
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
165
166
  P: {};
166
167
  B: {};
@@ -367,6 +368,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
367
368
  disabledIds: Array<string | number>;
368
369
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
369
370
  tableScroller: HTMLDivElement;
371
+ tableElement: HTMLTableElement;
370
372
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
371
373
  P: {};
372
374
  B: {};
@@ -167,6 +167,7 @@ declare function __VLS_template(): {
167
167
  disabledIds: Array<string | number>;
168
168
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
169
169
  tableScroller: HTMLDivElement;
170
+ tableElement: HTMLTableElement;
170
171
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
171
172
  P: {};
172
173
  B: {};
@@ -378,6 +379,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
378
379
  disabledIds: Array<string | number>;
379
380
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
380
381
  tableScroller: HTMLDivElement;
382
+ tableElement: HTMLTableElement;
381
383
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
382
384
  P: {};
383
385
  B: {};
@@ -591,6 +591,7 @@ declare function __VLS_template(): {
591
591
  disabledIds: Array<string | number>;
592
592
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
593
593
  tableScroller: HTMLDivElement;
594
+ tableElement: HTMLTableElement;
594
595
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
595
596
  P: {};
596
597
  B: {};
@@ -1215,6 +1216,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
1215
1216
  disabledIds: Array<string | number>;
1216
1217
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
1217
1218
  tableScroller: HTMLDivElement;
1219
+ tableElement: HTMLTableElement;
1218
1220
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
1219
1221
  P: {};
1220
1222
  B: {};
@@ -195,6 +195,7 @@ declare function __VLS_template(): {
195
195
  disabledIds: Array<string | number>;
196
196
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
197
197
  tableScroller: HTMLDivElement;
198
+ tableElement: HTMLTableElement;
198
199
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
199
200
  P: {};
200
201
  B: {};
@@ -333,6 +334,7 @@ declare function __VLS_template(): {
333
334
  disabledIds: Array<string | number>;
334
335
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
335
336
  tableScroller: HTMLDivElement;
337
+ tableElement: HTMLTableElement;
336
338
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
337
339
  P: {};
338
340
  B: {};
@@ -565,6 +567,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
565
567
  disabledIds: Array<string | number>;
566
568
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
567
569
  tableScroller: HTMLDivElement;
570
+ tableElement: HTMLTableElement;
568
571
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
569
572
  P: {};
570
573
  B: {};
@@ -703,6 +706,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
703
706
  disabledIds: Array<string | number>;
704
707
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
705
708
  tableScroller: HTMLDivElement;
709
+ tableElement: HTMLTableElement;
706
710
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
707
711
  P: {};
708
712
  B: {};
@@ -74,6 +74,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
74
74
  disabledIds: Array<string | number>;
75
75
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
76
76
  tableScroller: HTMLDivElement;
77
+ tableElement: HTMLTableElement;
77
78
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
78
79
  P: {};
79
80
  B: {};
@@ -166,6 +166,7 @@ declare function __VLS_template(): {
166
166
  disabledIds: Array<string | number>;
167
167
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
168
168
  tableScroller: HTMLDivElement;
169
+ tableElement: HTMLTableElement;
169
170
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
170
171
  P: {};
171
172
  B: {};
@@ -379,6 +380,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
379
380
  disabledIds: Array<string | number>;
380
381
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
381
382
  tableScroller: HTMLDivElement;
383
+ tableElement: HTMLTableElement;
382
384
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
383
385
  P: {};
384
386
  B: {};
@@ -162,6 +162,7 @@ declare function __VLS_template(): {
162
162
  disabledIds: Array<string | number>;
163
163
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
164
164
  tableScroller: HTMLDivElement;
165
+ tableElement: HTMLTableElement;
165
166
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
166
167
  P: {};
167
168
  B: {};
@@ -373,6 +374,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
373
374
  disabledIds: Array<string | number>;
374
375
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
375
376
  tableScroller: HTMLDivElement;
377
+ tableElement: HTMLTableElement;
376
378
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
377
379
  P: {};
378
380
  B: {};
@@ -93,6 +93,24 @@ export declare function createHighLevelApi(options?: ApiOptions): {
93
93
  * })
94
94
  */
95
95
  broadcast: (event: PitcherEvent) => Promise<any>;
96
+ /**
97
+ * Broadcast an event to webviews only (iOS only).
98
+ * @param {PitcherEvent} event - The event to broadcast.
99
+ *
100
+ * @example
101
+ * usePitcherApi()
102
+ * .broadcastToWebviews({
103
+ * type: "canvas_updated",
104
+ * body: { context: { myContextProperty: 'test' } },
105
+ * })
106
+ * .then(function (result) {
107
+ * useUi().toast({
108
+ * message: "Canvas Populated.",
109
+ * type: "info",
110
+ * })
111
+ * })
112
+ */
113
+ broadcastToWebviews: (event: PitcherEvent) => Promise<any>;
96
114
  /**
97
115
  * Subscribe to updates.
98
116
  *
@@ -114,6 +114,7 @@ export interface RouteChangedPitcherEvent {
114
114
  export declare enum PitcherEventName {
115
115
  ENV_CHANGED = "env_changed",
116
116
  PHOTOS_CAPTURED = "photos_captured",
117
+ GLOBAL_PHOTO_CAPTURED = "global_photo_captured",
117
118
  FILE_DOWNLOADED = "file_downloaded",
118
119
  FILE_UPLOAD_PROGRESS = "file_upload_progress",
119
120
  UPDATE_LOCATION = "update_location",
@@ -335,6 +336,13 @@ export interface PitcherEventMap {
335
336
  * @see iOS-only
336
337
  */
337
338
  [PitcherEventName.PHOTOS_CAPTURED]: void;
339
+ /**
340
+ * @see iOS-only
341
+ */
342
+ [PitcherEventName.GLOBAL_PHOTO_CAPTURED]: {
343
+ url: string;
344
+ section_id?: string;
345
+ };
338
346
  /**
339
347
  * @see iOS-only
340
348
  */
package/lib/sdk/main.d.ts CHANGED
@@ -188,6 +188,7 @@ export declare function useApi(options?: ApiOptions): {
188
188
  quitInstance: () => Promise<any>;
189
189
  getRequestTypes: () => Promise<any>;
190
190
  broadcast: (event: import('./interfaces').PitcherEvent) => Promise<any>;
191
+ broadcastToWebviews: (event: import('./interfaces').PitcherEvent) => Promise<any>;
191
192
  subscribe: () => Promise<any>;
192
193
  unsubscribe: () => Promise<any>;
193
194
  open(payload?: import('./payload.types').OpenRequestPayload): Promise<string>;
@@ -471,6 +472,7 @@ export declare function useApi(options?: ApiOptions): {
471
472
  quitInstance: () => Promise<any>;
472
473
  getRequestTypes: () => Promise<any>;
473
474
  broadcast: (event: import('./interfaces').PitcherEvent) => Promise<any>;
475
+ broadcastToWebviews: (event: import('./interfaces').PitcherEvent) => Promise<any>;
474
476
  subscribe: () => Promise<any>;
475
477
  unsubscribe: () => Promise<any>;
476
478
  open(payload?: import('./payload.types').OpenRequestPayload): Promise<string>;
@@ -689,6 +691,7 @@ export declare function useApi(options?: ApiOptions): {
689
691
  quitInstance: () => Promise<any>;
690
692
  getRequestTypes: () => Promise<any>;
691
693
  broadcast: (event: import('./interfaces').PitcherEvent) => Promise<any>;
694
+ broadcastToWebviews: (event: import('./interfaces').PitcherEvent) => Promise<any>;
692
695
  subscribe: () => Promise<any>;
693
696
  unsubscribe: () => Promise<any>;
694
697
  openExternalUrl(payload: import('./payload.types').OpenExternalUrlRequestPayload): Promise<void>;
@@ -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_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_client_only_canvas_context' | '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_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_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';
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_client_only_canvas_context' | '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_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_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';
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/js-api",
3
- "version": "1.26.0-beta.4",
3
+ "version": "1.26.0-beta.5",
4
4
  "type": "module",
5
5
  "main": "js-api.umd.min.js",
6
6
  "module": "js-api.esm.js",