@pitcher/canvas-ui 2025.12.10-74659 → 2025.12.10-90353
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/canvas-ui.css +28 -3
- package/canvas-ui.js +3411 -2122
- package/canvas-ui.js.map +1 -1
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.raw.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/types.d.ts +87 -8
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +5 -0
- package/lib/components/CTemplateAccessInfo/CTemplateAccessInfo.vue.d.ts +25 -0
- package/lib/components/CTemplateAccessManage/CTemplateAccessManage.vue.d.ts +26 -0
- package/lib/main.lib.d.ts +3 -0
- package/lib/types/instanceSettings.types.d.ts +1 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/util/app.util.d.ts +46 -0
- package/locale/de.json +23 -2
- package/locale/el.json +32 -3
- package/locale/en.json +32 -3
- package/locale/es.json +32 -3
- package/locale/fr.json +33 -4
- package/locale/it.json +62 -41
- package/locale/ja.json +59 -38
- package/locale/nl.json +62 -41
- package/locale/pl.json +23 -2
- package/locale/pt-br.json +34 -13
- package/locale/pt.json +23 -2
- package/locale/th.json +27 -6
- package/locale/tr.json +23 -2
- package/locale/zh.json +59 -38
- package/package.json +2 -2
|
@@ -8,9 +8,13 @@ declare global {
|
|
|
8
8
|
type __VLS_Props = {
|
|
9
9
|
data?: ExtendedChartConfiguration & {
|
|
10
10
|
context?: any;
|
|
11
|
+
_original_chart_type?: string;
|
|
11
12
|
};
|
|
13
|
+
isPreview?: boolean;
|
|
14
|
+
isEditMode?: boolean;
|
|
12
15
|
};
|
|
13
16
|
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, {
|
|
17
|
+
containerRef: HTMLDivElement;
|
|
14
18
|
chartRef: HTMLCanvasElement;
|
|
15
19
|
}, HTMLDivElement>;
|
|
16
20
|
export default _default;
|
|
@@ -1,19 +1,68 @@
|
|
|
1
1
|
import { ChartConfiguration } from 'chart.js';
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export interface ViewControls {
|
|
3
|
+
enable_fullscreen_btn?: boolean;
|
|
4
|
+
enable_chart_type_switcher?: boolean;
|
|
5
|
+
enable_data_entry?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export type ChartType = 'bar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'scatter' | 'bubble' | 'area';
|
|
8
|
+
export declare const STANDALONE_CHART_TYPES: ChartType[];
|
|
9
|
+
export declare const MIXABLE_CHART_TYPES: ChartType[];
|
|
10
|
+
export declare const ONE_D_CHART_TYPES: ChartType[];
|
|
11
|
+
export declare const TWO_D_CHART_TYPES: ChartType[];
|
|
12
|
+
export declare const THREE_D_CHART_TYPES: ChartType[];
|
|
13
|
+
export declare const XY_CHART_TYPES: ChartType[];
|
|
14
|
+
export declare const XYR_CHART_TYPES: ChartType[];
|
|
15
|
+
export interface SeriesDataPoint {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
x_value?: string;
|
|
19
|
+
y_value?: string;
|
|
20
|
+
r_value?: string;
|
|
21
|
+
dynamic_value?: {
|
|
22
|
+
path: string;
|
|
5
23
|
value: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
24
|
+
};
|
|
25
|
+
dynamic_x_value?: {
|
|
26
|
+
path: string;
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
dynamic_y_value?: {
|
|
30
|
+
path: string;
|
|
31
|
+
value: string;
|
|
32
|
+
};
|
|
33
|
+
dynamic_r_value?: {
|
|
34
|
+
path: string;
|
|
35
|
+
value: string;
|
|
36
|
+
};
|
|
37
|
+
array_config?: {
|
|
38
|
+
labelField: string;
|
|
39
|
+
valueField: string;
|
|
40
|
+
xField?: string;
|
|
41
|
+
yField?: string;
|
|
42
|
+
rField?: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface ChartSeries {
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
chart_type: ChartType;
|
|
49
|
+
color?: string;
|
|
50
|
+
data_points: SeriesDataPoint[];
|
|
51
|
+
}
|
|
52
|
+
export interface ExtendedChartConfiguration extends ChartConfiguration {
|
|
53
|
+
data_points?: SeriesDataPoint[];
|
|
54
|
+
series?: ChartSeries[];
|
|
11
55
|
context?: any;
|
|
12
56
|
data?: ChartConfiguration['data'] & {
|
|
13
57
|
datasets?: Array<{
|
|
58
|
+
label?: string;
|
|
59
|
+
type?: string;
|
|
14
60
|
background_color?: string | string[];
|
|
15
61
|
border_color?: string | string[];
|
|
16
62
|
point_style?: string;
|
|
63
|
+
fill?: boolean;
|
|
64
|
+
tension?: number;
|
|
65
|
+
show_line?: boolean;
|
|
17
66
|
}>;
|
|
18
67
|
};
|
|
19
68
|
options?: ChartConfiguration['options'] & {
|
|
@@ -34,11 +83,23 @@ export interface ExtendedChartConfiguration extends ChartConfiguration {
|
|
|
34
83
|
text?: string;
|
|
35
84
|
display?: boolean;
|
|
36
85
|
};
|
|
86
|
+
begin_at_zero?: boolean;
|
|
87
|
+
};
|
|
88
|
+
r?: {
|
|
89
|
+
begin_at_zero?: boolean;
|
|
90
|
+
ticks?: {
|
|
91
|
+
step_size?: number;
|
|
92
|
+
};
|
|
37
93
|
};
|
|
38
94
|
};
|
|
39
95
|
index_axis?: 'x' | 'y';
|
|
40
96
|
};
|
|
41
97
|
color_scheme_type?: 'theme' | 'custom';
|
|
98
|
+
percent_display?: boolean;
|
|
99
|
+
view_controls?: ViewControls;
|
|
100
|
+
chart_height?: number;
|
|
101
|
+
chart_width?: number;
|
|
102
|
+
_primary_chart_type?: ChartType;
|
|
42
103
|
}
|
|
43
104
|
export interface DynamicValue {
|
|
44
105
|
path: string;
|
|
@@ -47,11 +108,29 @@ export interface DynamicValue {
|
|
|
47
108
|
export interface ArrayConfig {
|
|
48
109
|
labelField: string;
|
|
49
110
|
valueField: string;
|
|
111
|
+
xField?: string;
|
|
112
|
+
yField?: string;
|
|
113
|
+
rField?: string;
|
|
50
114
|
}
|
|
51
115
|
export interface DataPoint {
|
|
52
116
|
label: string;
|
|
53
117
|
value: string;
|
|
118
|
+
xValue?: string;
|
|
119
|
+
yValue?: string;
|
|
120
|
+
rValue?: string;
|
|
54
121
|
dynamicValue?: DynamicValue | any;
|
|
122
|
+
dynamicXValue?: DynamicValue | any;
|
|
123
|
+
dynamicYValue?: DynamicValue | any;
|
|
124
|
+
dynamicRValue?: DynamicValue | any;
|
|
55
125
|
selectedValue?: any;
|
|
126
|
+
selectedXValue?: any;
|
|
127
|
+
selectedYValue?: any;
|
|
128
|
+
selectedRValue?: any;
|
|
56
129
|
arrayConfig?: ArrayConfig;
|
|
57
130
|
}
|
|
131
|
+
export interface Series {
|
|
132
|
+
id: string;
|
|
133
|
+
name: string;
|
|
134
|
+
chartType: ChartType;
|
|
135
|
+
dataPoints: DataPoint[];
|
|
136
|
+
}
|
|
@@ -4867,6 +4867,7 @@ export default function useCanvas(): {
|
|
|
4867
4867
|
enable_sync_file_filtering?: boolean | undefined;
|
|
4868
4868
|
time_format?: string | undefined;
|
|
4869
4869
|
date_format?: string | undefined;
|
|
4870
|
+
is_file_expiration_mandatory?: boolean | undefined;
|
|
4870
4871
|
}, (OrganizationSettings & {
|
|
4871
4872
|
canvas?: {
|
|
4872
4873
|
hide_page_break_in_toc?: boolean;
|
|
@@ -4908,6 +4909,7 @@ export default function useCanvas(): {
|
|
|
4908
4909
|
enable_sync_file_filtering?: boolean;
|
|
4909
4910
|
time_format?: string;
|
|
4910
4911
|
date_format?: string;
|
|
4912
|
+
is_file_expiration_mandatory?: boolean;
|
|
4911
4913
|
ios?: InstanceSettings;
|
|
4912
4914
|
}) | {
|
|
4913
4915
|
auto_assignment_rules?: {
|
|
@@ -5195,6 +5197,7 @@ export default function useCanvas(): {
|
|
|
5195
5197
|
enable_sync_file_filtering?: boolean | undefined;
|
|
5196
5198
|
time_format?: string | undefined;
|
|
5197
5199
|
date_format?: string | undefined;
|
|
5200
|
+
is_file_expiration_mandatory?: boolean | undefined;
|
|
5198
5201
|
}>;
|
|
5199
5202
|
pitcherSettings: Readonly<Ref<{
|
|
5200
5203
|
readonly auto_assignment_rules?: readonly {
|
|
@@ -5516,6 +5519,7 @@ export default function useCanvas(): {
|
|
|
5516
5519
|
readonly enable_sync_file_filtering?: boolean | undefined;
|
|
5517
5520
|
readonly time_format?: string | undefined;
|
|
5518
5521
|
readonly date_format?: string | undefined;
|
|
5522
|
+
readonly is_file_expiration_mandatory?: boolean | undefined;
|
|
5519
5523
|
}, {
|
|
5520
5524
|
readonly auto_assignment_rules?: readonly {
|
|
5521
5525
|
readonly connection_id: string;
|
|
@@ -5836,6 +5840,7 @@ export default function useCanvas(): {
|
|
|
5836
5840
|
readonly enable_sync_file_filtering?: boolean | undefined;
|
|
5837
5841
|
readonly time_format?: string | undefined;
|
|
5838
5842
|
readonly date_format?: string | undefined;
|
|
5843
|
+
readonly is_file_expiration_mandatory?: boolean | undefined;
|
|
5839
5844
|
}>>;
|
|
5840
5845
|
initialize: (props: CanvasBuilderProps, launchDarkly: LaunchDarklyEnv) => void;
|
|
5841
5846
|
activateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean, index?: number) => void;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CanvasRetrieve } from '../../../types/openapi';
|
|
2
|
+
interface Props {
|
|
3
|
+
items: CanvasRetrieve[];
|
|
4
|
+
maxItemsToShow?: number;
|
|
5
|
+
title?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
+
maxItemsToShow: number;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type Item = {
|
|
2
|
+
canvas: {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
tags?: string[];
|
|
6
|
+
};
|
|
7
|
+
id: string;
|
|
8
|
+
};
|
|
9
|
+
interface Props {
|
|
10
|
+
items: Item[];
|
|
11
|
+
maxItemsToRender?: number;
|
|
12
|
+
title?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
view: (item: Item, newTab?: boolean | undefined) => any;
|
|
16
|
+
delete: (item: Item) => any;
|
|
17
|
+
setHome: (item: Item) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
+
onView?: ((item: Item, newTab?: boolean | undefined) => any) | undefined;
|
|
20
|
+
onDelete?: ((item: Item) => any) | undefined;
|
|
21
|
+
onSetHome?: ((item: Item) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
items: Item[];
|
|
24
|
+
maxItemsToRender: number;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
package/lib/main.lib.d.ts
CHANGED
|
@@ -88,6 +88,8 @@ export { default as CTable } from './components/CTable/CTable.vue';
|
|
|
88
88
|
export { default as CEntitySelector } from './components/CEntitySelector/CEntitySelector.vue';
|
|
89
89
|
export { default as CUsersGroupsAccessManage } from './components/CUsersGroupsAccessManage/CUsersGroupsAccessManage.vue';
|
|
90
90
|
export { default as CFilesAccessManage } from './components/CFilesAccessManage/CFilesAccessManage.vue';
|
|
91
|
+
export { default as CTemplateAccessManage } from './components/CTemplateAccessManage/CTemplateAccessManage.vue';
|
|
92
|
+
export { default as CTemplateAccessInfo } from './components/CTemplateAccessInfo/CTemplateAccessInfo.vue';
|
|
91
93
|
export { default as CGroupsAccessInfo } from './components/CGroupsAccessInfo/CGroupsAccessInfo.vue';
|
|
92
94
|
export { default as CUsersAccessInfo } from './components/CUsersAccessInfo/CUsersAccessInfo.vue';
|
|
93
95
|
export { default as CFilesAccessInfo } from './components/CFilesAccessInfo/CFilesAccessInfo.vue';
|
|
@@ -194,6 +196,7 @@ export * from './util/storage.util';
|
|
|
194
196
|
export * from './util/handlebars';
|
|
195
197
|
export * from './apps/collection-selector/utils/content-selector-adapter.util';
|
|
196
198
|
export * from './util/soql.util.ts';
|
|
199
|
+
export * from './util/app.util';
|
|
197
200
|
export * from './utils/iframeInitialize';
|
|
198
201
|
export * from './sdk/main';
|
|
199
202
|
export * from './sdk/peer-connectivity';
|
|
@@ -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_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';
|
|
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' | 'enable_rep_app_visibility_order';
|
|
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;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AppFile } from '../types/app';
|
|
2
|
+
/**
|
|
3
|
+
* Checks if the app provides the UI itself (is the slotty-ui app)
|
|
4
|
+
*/
|
|
5
|
+
export declare const isTheUiItself: (app: AppFile) => boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Checks if the app is a postcall app
|
|
8
|
+
*/
|
|
9
|
+
export declare const isPostcallApp: (app: AppFile) => boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Checks if the app replaces the file-viewer module
|
|
12
|
+
*/
|
|
13
|
+
export declare const isFileViewerReplacement: (app: AppFile) => boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Checks if the app has no module, hooks, or app_type defined (legacy app)
|
|
16
|
+
*/
|
|
17
|
+
export declare const doesNotHaveAnyModuleOrHookSpecified: (app: AppFile) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Checks if the app has an app_type defined
|
|
20
|
+
*/
|
|
21
|
+
export declare const hasAppTypeDefined: (app: AppFile) => boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Checks if the app is a canvas section execution app
|
|
24
|
+
*/
|
|
25
|
+
export declare const isCanvasSectionExecution: (app: AppFile) => boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Checks if the app is a canvas drawer app
|
|
28
|
+
*/
|
|
29
|
+
export declare const isCanvasDrawerApp: (app: AppFile) => boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Checks if the app requires CRM connection
|
|
32
|
+
*/
|
|
33
|
+
export declare const appRequiresCrm: (app: AppFile) => boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Determines if an app should be shown in the slotty-ui sidebar.
|
|
36
|
+
* An app shows in sidebar if:
|
|
37
|
+
* - It has `module.ui_app.enabled = true`, OR
|
|
38
|
+
* - It's a legacy app (no module, hooks, or app_type defined) AND
|
|
39
|
+
* it's not a postcall app, file-viewer replacement, canvas drawer,
|
|
40
|
+
* canvas section execution, or has app_type defined
|
|
41
|
+
*/
|
|
42
|
+
export declare const shouldShowInSidebar: (app: AppFile) => boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Filters an array of AppFiles to only include those that should show in sidebar
|
|
45
|
+
*/
|
|
46
|
+
export declare const filterSidebarApps: (apps: AppFile[]) => AppFile[];
|
package/locale/de.json
CHANGED
|
@@ -812,14 +812,23 @@
|
|
|
812
812
|
"stripingStartPosition": null
|
|
813
813
|
},
|
|
814
814
|
"dataCharts": {
|
|
815
|
+
"addSeries": null,
|
|
815
816
|
"addYourChart": null,
|
|
816
817
|
"animation": null,
|
|
818
|
+
"chartSettings": null,
|
|
819
|
+
"chartSize": null,
|
|
817
820
|
"chartTitle": null,
|
|
818
821
|
"chartType": null,
|
|
822
|
+
"chartTypeSwitcherMultiSeriesDisabled": null,
|
|
819
823
|
"colorScheme": null,
|
|
820
824
|
"configureArrayObjectFields": null,
|
|
821
825
|
"dataPoints": null,
|
|
826
|
+
"dataSettings": null,
|
|
822
827
|
"editDataChartsComponent": null,
|
|
828
|
+
"enableChartTypeSwitcher": null,
|
|
829
|
+
"enableDataEntry": null,
|
|
830
|
+
"enableFullscreenBtn": null,
|
|
831
|
+
"height": null,
|
|
823
832
|
"labelField": null,
|
|
824
833
|
"legendPosition": null,
|
|
825
834
|
"legendPositions": {
|
|
@@ -834,6 +843,8 @@
|
|
|
834
843
|
"horizontal": null,
|
|
835
844
|
"vertical": null
|
|
836
845
|
},
|
|
846
|
+
"percentDisplay": null,
|
|
847
|
+
"percentDisplayHint": null,
|
|
837
848
|
"pointStyle": null,
|
|
838
849
|
"pointStyles": {
|
|
839
850
|
"circle": null,
|
|
@@ -845,20 +856,30 @@
|
|
|
845
856
|
},
|
|
846
857
|
"preview": null,
|
|
847
858
|
"removeAll": null,
|
|
859
|
+
"rValueField": null,
|
|
848
860
|
"selectDynamicValue": null,
|
|
861
|
+
"series": null,
|
|
862
|
+
"seriesName": null,
|
|
849
863
|
"types": {
|
|
864
|
+
"area": null,
|
|
850
865
|
"bar": null,
|
|
866
|
+
"bubble": null,
|
|
851
867
|
"doughnut": null,
|
|
852
868
|
"line": null,
|
|
853
869
|
"pie": null,
|
|
854
870
|
"polarArea": null,
|
|
855
|
-
"radar": null
|
|
871
|
+
"radar": null,
|
|
872
|
+
"scatter": null
|
|
856
873
|
},
|
|
857
874
|
"useCustomColors": null,
|
|
858
875
|
"useThemeColors": null,
|
|
859
876
|
"valueField": null,
|
|
877
|
+
"viewModeControls": null,
|
|
878
|
+
"width": null,
|
|
860
879
|
"xAxisLabel": null,
|
|
861
|
-
"
|
|
880
|
+
"xValueField": null,
|
|
881
|
+
"yAxisLabel": null,
|
|
882
|
+
"yValueField": null
|
|
862
883
|
},
|
|
863
884
|
"deletedFile": {
|
|
864
885
|
"clickMessage": null,
|
package/locale/el.json
CHANGED
|
@@ -812,14 +812,23 @@
|
|
|
812
812
|
"stripingStartPosition": "Θέση έναρξης ριγέ"
|
|
813
813
|
},
|
|
814
814
|
"dataCharts": {
|
|
815
|
+
"addSeries": "Προσθήκη σειράς",
|
|
815
816
|
"addYourChart": "Προσθέστε το γράφημά σας",
|
|
816
817
|
"animation": "Κίνηση",
|
|
818
|
+
"chartSettings": "Ρυθμίσεις γραφήματος",
|
|
819
|
+
"chartSize": "Μέγεθος γραφήματος",
|
|
817
820
|
"chartTitle": "Τίτλος Γραφήματος",
|
|
818
821
|
"chartType": "Τύπος Γραφήματος",
|
|
822
|
+
"chartTypeSwitcherMultiSeriesDisabled": "Δεν μπορεί να ενεργοποιηθεί για γραφήματα πολλαπλών σειρών.",
|
|
819
823
|
"colorScheme": "Χρωματικό Σχήμα",
|
|
820
824
|
"configureArrayObjectFields": "Ρύθμιση Πεδίων Πίνακα/Αντικειμένου",
|
|
821
825
|
"dataPoints": "Σημεία Δεδομένων",
|
|
826
|
+
"dataSettings": "Ρυθμίσεις δεδομένων",
|
|
822
827
|
"editDataChartsComponent": "Επεξεργασία Γραφήματος",
|
|
828
|
+
"enableChartTypeSwitcher": "Επιτρέψτε αλλαγή τύπου γραφήματος σε λειτουργία προβολής",
|
|
829
|
+
"enableDataEntry": "Επιτρέψτε εισαγωγή δεδομένων από χρήστες σε λειτουργία επεξεργασίας",
|
|
830
|
+
"enableFullscreenBtn": "Εμφάνιση κουμπιού πλήρους οθόνης σε λειτουργία προβολής",
|
|
831
|
+
"height": "Ύψος",
|
|
823
832
|
"labelField": "Πεδίο Ετικέτας",
|
|
824
833
|
"legendPosition": "Θέση Υπομνήματος",
|
|
825
834
|
"legendPositions": {
|
|
@@ -834,6 +843,8 @@
|
|
|
834
843
|
"horizontal": "Οριζόντια",
|
|
835
844
|
"vertical": "Κάθετα"
|
|
836
845
|
},
|
|
846
|
+
"percentDisplay": "Εμφάνιση αριθμών ως ποσοστά",
|
|
847
|
+
"percentDisplayHint": "Οι τιμές μεταξύ 0-1 θα εμφανίζονται ως ποσοστά",
|
|
837
848
|
"pointStyle": "Στυλ Σημείων",
|
|
838
849
|
"pointStyles": {
|
|
839
850
|
"circle": "Κύκλος",
|
|
@@ -845,20 +856,30 @@
|
|
|
845
856
|
},
|
|
846
857
|
"preview": "Προεπισκόπηση",
|
|
847
858
|
"removeAll": "Αφαίρεση όλων",
|
|
859
|
+
"rValueField": "Πεδίο μεγέθους/ακτίνας",
|
|
848
860
|
"selectDynamicValue": "Επιλέξτε μια δυναμική τιμή",
|
|
861
|
+
"series": "Σειρά",
|
|
862
|
+
"seriesName": "Όνομα σειράς",
|
|
849
863
|
"types": {
|
|
864
|
+
"area": "Γράφημα περιοχής",
|
|
850
865
|
"bar": "Ραβδόγραμμα",
|
|
866
|
+
"bubble": "Γράφημα φυσαλίδων",
|
|
851
867
|
"doughnut": "Διάγραμμα Δαχτυλίδι",
|
|
852
868
|
"line": "Γραμμικό Γράφημα",
|
|
853
869
|
"pie": "Κυκλικό Διάγραμμα",
|
|
854
870
|
"polarArea": "Πολικό Διάγραμμα",
|
|
855
|
-
"radar": "Διάγραμμα Ραντάρ"
|
|
871
|
+
"radar": "Διάγραμμα Ραντάρ",
|
|
872
|
+
"scatter": "Γράφημα διασποράς"
|
|
856
873
|
},
|
|
857
874
|
"useCustomColors": "Χρήση προσαρμοσμένων χρωμάτων",
|
|
858
875
|
"useThemeColors": "Χρήση χρωμάτων θέματος",
|
|
859
876
|
"valueField": "Πεδίο Τιμής",
|
|
877
|
+
"viewModeControls": "Χειριστήρια λειτουργίας προβολής",
|
|
878
|
+
"width": "Πλάτος",
|
|
860
879
|
"xAxisLabel": "Ετικέτα Άξονα Χ",
|
|
861
|
-
"
|
|
880
|
+
"xValueField": "Πεδίο τιμής X",
|
|
881
|
+
"yAxisLabel": "Ετικέτα Άξονα Υ",
|
|
882
|
+
"yValueField": "Πεδίο τιμής Y"
|
|
862
883
|
},
|
|
863
884
|
"deletedFile": {
|
|
864
885
|
"clickMessage": "Κάντε κλικ εδώ για να προσθέσετε ένα νέο",
|
|
@@ -1810,6 +1831,14 @@
|
|
|
1810
1831
|
"primaryActiontext": "Επιλογή αρχείων",
|
|
1811
1832
|
"select": "Επιλογή"
|
|
1812
1833
|
},
|
|
1834
|
+
"CTemplateAccessManage": {
|
|
1835
|
+
"templates": "Πρότυπο ({n}) | Πρότυπα ({n})",
|
|
1836
|
+
"setHome": "Ορισμός ως αρχικό πρότυπο"
|
|
1837
|
+
},
|
|
1838
|
+
"CTemplateAccessInfo": {
|
|
1839
|
+
"more": "και {n} περισσότερα",
|
|
1840
|
+
"title": "Πρότυπο ({n}) | Πρότυπα ({n})"
|
|
1841
|
+
},
|
|
1813
1842
|
"CGroupsAccessInfo": {
|
|
1814
1843
|
"more": "και {n} περισσότερα",
|
|
1815
1844
|
"title": "Ομάδα ({n}) | Ομάδες ({n})"
|
|
@@ -2802,4 +2831,4 @@
|
|
|
2802
2831
|
"invalidNumber": "Μη έγκυρος αριθμός"
|
|
2803
2832
|
}
|
|
2804
2833
|
}
|
|
2805
|
-
}
|
|
2834
|
+
}
|
package/locale/en.json
CHANGED
|
@@ -812,14 +812,23 @@
|
|
|
812
812
|
"stripingStartPosition": "Striping start position"
|
|
813
813
|
},
|
|
814
814
|
"dataCharts": {
|
|
815
|
+
"addSeries": "Add Series",
|
|
815
816
|
"addYourChart": "Add your chart",
|
|
816
817
|
"animation": "Animation",
|
|
818
|
+
"chartSettings": "Chart Settings",
|
|
819
|
+
"chartSize": "Chart Size",
|
|
817
820
|
"chartTitle": "Chart Title",
|
|
818
821
|
"chartType": "Chart Type",
|
|
822
|
+
"chartTypeSwitcherMultiSeriesDisabled": "This can't be enabled for multi-series charts.",
|
|
819
823
|
"colorScheme": "Color Scheme",
|
|
820
824
|
"configureArrayObjectFields": "Configure Array/Object Fields",
|
|
821
825
|
"dataPoints": "Data Points",
|
|
826
|
+
"dataSettings": "Data Settings",
|
|
822
827
|
"editDataChartsComponent": "Edit Chart",
|
|
828
|
+
"enableChartTypeSwitcher": "Allow chart type switching in view mode",
|
|
829
|
+
"enableDataEntry": "Allow data entry by end users in edit mode",
|
|
830
|
+
"enableFullscreenBtn": "Show fullscreen button in view mode",
|
|
831
|
+
"height": "Height",
|
|
823
832
|
"labelField": "Label Field",
|
|
824
833
|
"legendPosition": "Legend Position",
|
|
825
834
|
"legendPositions": {
|
|
@@ -834,6 +843,8 @@
|
|
|
834
843
|
"horizontal": "Horizontal",
|
|
835
844
|
"vertical": "Vertical"
|
|
836
845
|
},
|
|
846
|
+
"percentDisplay": "Show Numbers as Percentages",
|
|
847
|
+
"percentDisplayHint": "Values between 0-1 will be shown as percentages",
|
|
837
848
|
"pointStyle": "Point Style",
|
|
838
849
|
"pointStyles": {
|
|
839
850
|
"circle": "Circle",
|
|
@@ -845,20 +856,30 @@
|
|
|
845
856
|
},
|
|
846
857
|
"preview": "Preview",
|
|
847
858
|
"removeAll": "Remove all",
|
|
859
|
+
"rValueField": "Size/Radius Field",
|
|
848
860
|
"selectDynamicValue": "Select a dynamic value",
|
|
861
|
+
"series": "Series",
|
|
862
|
+
"seriesName": "Series Name",
|
|
849
863
|
"types": {
|
|
864
|
+
"area": "Area Chart",
|
|
850
865
|
"bar": "Bar Chart",
|
|
866
|
+
"bubble": "Bubble Chart",
|
|
851
867
|
"doughnut": "Doughnut Chart",
|
|
852
868
|
"line": "Line Chart",
|
|
853
869
|
"pie": "Pie Chart",
|
|
854
870
|
"polarArea": "Polar Area Chart",
|
|
855
|
-
"radar": "Radar Chart"
|
|
871
|
+
"radar": "Radar Chart",
|
|
872
|
+
"scatter": "Scatter Chart"
|
|
856
873
|
},
|
|
857
874
|
"useCustomColors": "Use custom colors",
|
|
858
875
|
"useThemeColors": "Use theme colors",
|
|
859
876
|
"valueField": "Value Field",
|
|
877
|
+
"viewModeControls": "View Mode Controls",
|
|
878
|
+
"width": "Width",
|
|
860
879
|
"xAxisLabel": "X-Axis Label",
|
|
861
|
-
"
|
|
880
|
+
"xValueField": "X Value Field",
|
|
881
|
+
"yAxisLabel": "Y-Axis Label",
|
|
882
|
+
"yValueField": "Y Value Field"
|
|
862
883
|
},
|
|
863
884
|
"deletedFile": {
|
|
864
885
|
"clickMessage": "Click here to add a new one",
|
|
@@ -1810,6 +1831,14 @@
|
|
|
1810
1831
|
"primaryActiontext": "Select files",
|
|
1811
1832
|
"select": "Select"
|
|
1812
1833
|
},
|
|
1834
|
+
"CTemplateAccessManage": {
|
|
1835
|
+
"templates": "Template ({n}) | Templates ({n})",
|
|
1836
|
+
"setHome": "Set as home template"
|
|
1837
|
+
},
|
|
1838
|
+
"CTemplateAccessInfo": {
|
|
1839
|
+
"more": "and {n} more",
|
|
1840
|
+
"title": "Template ({n}) | Templates ({n})"
|
|
1841
|
+
},
|
|
1813
1842
|
"CGroupsAccessInfo": {
|
|
1814
1843
|
"more": "and {n} more",
|
|
1815
1844
|
"title": "Group ({n}) | Groups ({n})"
|
|
@@ -2802,4 +2831,4 @@
|
|
|
2802
2831
|
"invalidNumber": "Invalid number"
|
|
2803
2832
|
}
|
|
2804
2833
|
}
|
|
2805
|
-
}
|
|
2834
|
+
}
|