survey-creator-core 1.12.2 → 1.12.4
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/5dcaaadc5b1c048d6daa.png +0 -0
- package/5e87e454a7071a571216.png +0 -0
- package/a7b373b83d0c1e0262bd.png +0 -0
- package/cc27e2890751d1ea0380.png +0 -0
- package/e8dfbe2bdd7c9dca5efa.png +0 -0
- package/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js.LICENSE.txt +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js.LICENSE.txt +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js.LICENSE.txt +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js.LICENSE.txt +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js.LICENSE.txt +1 -1
- package/i18n/english.js +20 -1
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js.LICENSE.txt +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js.LICENSE.txt +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js.LICENSE.txt +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js.LICENSE.txt +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js.LICENSE.txt +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js.LICENSE.txt +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js.LICENSE.txt +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js.LICENSE.txt +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js.LICENSE.txt +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js.LICENSE.txt +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js.LICENSE.txt +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.min.js.LICENSE.txt +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js.LICENSE.txt +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js.LICENSE.txt +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js.LICENSE.txt +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js.LICENSE.txt +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js.LICENSE.txt +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js.LICENSE.txt +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js.LICENSE.txt +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js.LICENSE.txt +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js.LICENSE.txt +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js.LICENSE.txt +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js.LICENSE.txt +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +562 -128
- package/survey-creator-core.fontless.css +561 -127
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +14 -13
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +957 -372
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +15 -14
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/typings/components/action-container-view-model.d.ts +17 -1
- package/typings/components/page.d.ts +4 -2
- package/typings/components/question-image.d.ts +2 -2
- package/typings/components/question.d.ts +11 -2
- package/typings/components/side-bar/side-bar-header-model.d.ts +11 -0
- package/typings/components/side-bar/side-bar-model.d.ts +3 -6
- package/typings/components/simulator.d.ts +3 -1
- package/typings/components/tabs/designer.d.ts +2 -0
- package/typings/components/tabs/header-model.d.ts +1 -0
- package/typings/components/tabs/logic-ui.d.ts +2 -0
- package/typings/components/tabs/preview.d.ts +2 -0
- package/typings/components/tabs/theme-custom-questions/shadow-effects.d.ts +1 -0
- package/typings/components/tabs/theme-plugin.d.ts +2 -0
- package/typings/components/tabs/translation.d.ts +2 -0
- package/typings/creator-base.d.ts +2 -0
- package/typings/editorLocalization.d.ts +19 -0
- package/typings/entries/index.d.ts +1 -0
- package/typings/expand-collapse-manager.d.ts +8 -0
- package/typings/localization/english.d.ts +19 -0
- package/typings/property-grid/index.d.ts +4 -0
- package/typings/survey-helper.d.ts +1 -0
- package/typings/toolbox.d.ts +1 -0
|
@@ -14,10 +14,24 @@ export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyEl
|
|
|
14
14
|
protected expandCollapseAction: IAction;
|
|
15
15
|
protected designerStateManager: DesignerStateManager;
|
|
16
16
|
allowDragging: boolean;
|
|
17
|
+
expandCollapseAnimationRunning: boolean;
|
|
18
|
+
rootElement: HTMLElement;
|
|
17
19
|
protected get dragInsideCollapsedContainer(): boolean;
|
|
18
20
|
allowExpandCollapse: boolean;
|
|
19
21
|
collapsed: boolean;
|
|
20
|
-
|
|
22
|
+
private _renderedCollapsed;
|
|
23
|
+
isAnimationRunningCollapsed: boolean;
|
|
24
|
+
protected getAnimatedElement(): any;
|
|
25
|
+
protected getInnerAnimatedElements(): HTMLElement[];
|
|
26
|
+
protected getCollapsingCssClassName(): string;
|
|
27
|
+
protected getExpandingCssClassName(): string;
|
|
28
|
+
private hoverTimeout;
|
|
29
|
+
private isHovered;
|
|
30
|
+
hover(e: MouseEvent, element: HTMLElement | any): void;
|
|
31
|
+
private getExpandCollapseAnimationOptions;
|
|
32
|
+
private animationCollapsed;
|
|
33
|
+
set renderedCollapsed(val: boolean);
|
|
34
|
+
get renderedCollapsed(): boolean;
|
|
21
35
|
protected createActionContainer(): ActionContainer;
|
|
22
36
|
private dragCollapsedTimer;
|
|
23
37
|
protected get canExpandOnDrag(): boolean;
|
|
@@ -37,6 +51,7 @@ export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyEl
|
|
|
37
51
|
dispose(): void;
|
|
38
52
|
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
39
53
|
protected updateActionsProperties(): void;
|
|
54
|
+
protected getAllowExpandCollapse(options: any): boolean;
|
|
40
55
|
protected updateElementAllowOptions(options: any, operationsAllow: boolean): void;
|
|
41
56
|
protected isOperationsAllow(): boolean;
|
|
42
57
|
protected updateActionVisibility(id: string, isVisible: boolean): void;
|
|
@@ -50,4 +65,5 @@ export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyEl
|
|
|
50
65
|
protected setShowAddQuestionButton(val: boolean): void;
|
|
51
66
|
protected duplicate(): void;
|
|
52
67
|
protected delete(): void;
|
|
68
|
+
protected getCss(): string;
|
|
53
69
|
}
|
|
@@ -6,7 +6,6 @@ export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
|
|
|
6
6
|
isSelected: boolean;
|
|
7
7
|
isPageLive: boolean;
|
|
8
8
|
showPlaceholder: boolean;
|
|
9
|
-
onPageSelectedCallback: () => void;
|
|
10
9
|
questionTypeSelectorModel: any;
|
|
11
10
|
currentAddQuestionType: string;
|
|
12
11
|
dragTypeOverMe: DragTypeOverMeEnum;
|
|
@@ -14,6 +13,7 @@ export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
|
|
|
14
13
|
private updateShowPlaceholder;
|
|
15
14
|
constructor(creator: SurveyCreatorModel, page: PageModel);
|
|
16
15
|
protected get dragInsideCollapsedContainer(): boolean;
|
|
16
|
+
protected getAllowExpandCollapse(options: any): boolean;
|
|
17
17
|
protected attachElement(surveyElement: PageModel): void;
|
|
18
18
|
protected detachElement(surveyElement: PageModel): void;
|
|
19
19
|
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
@@ -30,11 +30,13 @@ export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
|
|
|
30
30
|
addNewQuestion: (model: PageAdorner, event: IPortableMouseEvent, type?: string) => void;
|
|
31
31
|
select(model: PageAdorner, event: IPortableMouseEvent): void;
|
|
32
32
|
get css(): string;
|
|
33
|
-
hover(event: MouseEvent, element: HTMLElement | any): void;
|
|
34
33
|
hoverStopper(event: MouseEvent, element: HTMLElement | any): void;
|
|
35
34
|
protected duplicate(): void;
|
|
36
35
|
protected delete(): void;
|
|
37
36
|
get addNewQuestionText(): string;
|
|
38
37
|
private _footerActionsBar;
|
|
39
38
|
get footerActionsBar(): ActionContainer;
|
|
39
|
+
protected getAnimatedElement(): HTMLElement;
|
|
40
|
+
protected getInnerAnimatedElements(): any;
|
|
41
|
+
onPageSelected(): void;
|
|
40
42
|
}
|
|
@@ -2,10 +2,9 @@ import { QuestionImageModel, SurveyElement, SurveyTemplateRendererTemplateData,
|
|
|
2
2
|
import { SurveyCreatorModel } from "../creator-base";
|
|
3
3
|
import { QuestionAdornerViewModel } from "./question";
|
|
4
4
|
export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
|
|
5
|
-
questionRoot: HTMLElement;
|
|
6
5
|
filePresentationModel: QuestionFileModel;
|
|
7
6
|
private initFilePresentationModel;
|
|
8
|
-
constructor(creator: SurveyCreatorModel, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData
|
|
7
|
+
constructor(creator: SurveyCreatorModel, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
9
8
|
isUploading: any;
|
|
10
9
|
isEmptyImageLink: any;
|
|
11
10
|
chooseFile(model: QuestionImageAdornerViewModel): void;
|
|
@@ -15,6 +14,7 @@ export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewMo
|
|
|
15
14
|
get question(): QuestionImageModel;
|
|
16
15
|
get placeholderText(): string;
|
|
17
16
|
get chooseImageText(): string;
|
|
17
|
+
protected getAnimatedElement(): Element;
|
|
18
18
|
css(): string;
|
|
19
19
|
dispose(): void;
|
|
20
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SurveyElement, SurveyTemplateRendererTemplateData, Action, DragTypeOverMeEnum, IAction, ActionContainer } from "survey-core";
|
|
1
|
+
import { SurveyElement, SurveyTemplateRendererTemplateData, Action, DragTypeOverMeEnum, IAction, ListModel, ActionContainer } from "survey-core";
|
|
2
2
|
import { SurveyCreatorModel } from "../creator-base";
|
|
3
3
|
import { IPortableEvent } from "../utils/events";
|
|
4
4
|
import { SurveyElementAdornerBase } from "./action-container-view-model";
|
|
@@ -21,6 +21,9 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
21
21
|
select(model: QuestionAdornerViewModel, event: IPortableEvent): boolean;
|
|
22
22
|
rootCss(): string;
|
|
23
23
|
css(): string;
|
|
24
|
+
private get isTitleLeft();
|
|
25
|
+
protected getAnimatedElement(): Element;
|
|
26
|
+
protected getInnerAnimatedElements(): Array<HTMLElement>;
|
|
24
27
|
protected expandWithDragIn(): void;
|
|
25
28
|
get isDragMe(): boolean;
|
|
26
29
|
get dragTypeOverMe(): DragTypeOverMeEnum;
|
|
@@ -42,6 +45,7 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
42
45
|
private updateActionVisibilityByProp;
|
|
43
46
|
get isEmptyElement(): boolean;
|
|
44
47
|
get isEmptyTemplate(): boolean;
|
|
48
|
+
get showHiddenTitle(): boolean;
|
|
45
49
|
get placeholderText(): string;
|
|
46
50
|
private get dragDropHelper();
|
|
47
51
|
get isRequired(): any;
|
|
@@ -50,10 +54,15 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
50
54
|
startDragSurveyElement: (event: PointerEvent) => boolean;
|
|
51
55
|
private getConvertToTypes;
|
|
52
56
|
private buildDefaultJsonMap;
|
|
53
|
-
|
|
57
|
+
private convertQuestion;
|
|
58
|
+
getConvertToTypesActions(): Array<IAction>;
|
|
54
59
|
private get currentType();
|
|
55
60
|
private createConvertToAction;
|
|
61
|
+
private jsonsAreCompatible;
|
|
56
62
|
private jsonIsCorresponded;
|
|
63
|
+
private toolboxItemIsCorresponded;
|
|
64
|
+
private cleanDefaultsFromJson;
|
|
65
|
+
protected updateQuestionTypeOrSubtypeListModel(listModel: ListModel, subtypeOnly: boolean): boolean;
|
|
57
66
|
private createConvertInputType;
|
|
58
67
|
private getSelectedItem;
|
|
59
68
|
private createDropdownModel;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AdaptiveActionContainer, Base } from "survey-core";
|
|
2
|
+
export declare class SidebarHeaderModel extends Base {
|
|
3
|
+
toolbar: AdaptiveActionContainer;
|
|
4
|
+
title: string;
|
|
5
|
+
subTitle: string;
|
|
6
|
+
componentData: any;
|
|
7
|
+
componentName: string;
|
|
8
|
+
get component(): string;
|
|
9
|
+
get componentModel(): string;
|
|
10
|
+
reset(): void;
|
|
11
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Base,
|
|
1
|
+
import { Base, Action, AnimationBoolean } from "survey-core";
|
|
2
2
|
import { SurveyCreatorModel } from "../../creator-base";
|
|
3
3
|
import { SidebarPageModel } from "./side-bar-page-model";
|
|
4
|
+
import { SidebarHeaderModel } from "./side-bar-header-model";
|
|
4
5
|
export declare class SidebarModel extends Base {
|
|
5
6
|
private creator;
|
|
6
|
-
|
|
7
|
+
header: SidebarHeaderModel;
|
|
7
8
|
private _expandAction;
|
|
8
9
|
private _collapseAction;
|
|
9
10
|
private _activePage;
|
|
10
11
|
private onSidebarVisibilityChanged;
|
|
11
12
|
private resizeManager;
|
|
12
13
|
pages: Array<SidebarPageModel>;
|
|
13
|
-
headerText: string;
|
|
14
14
|
_visible: boolean;
|
|
15
15
|
renderedIsVisible: boolean;
|
|
16
16
|
collapsedManually: boolean;
|
|
@@ -21,9 +21,6 @@ export declare class SidebarModel extends Base {
|
|
|
21
21
|
hideSideBarVisibilityControlActions: boolean;
|
|
22
22
|
sideAreaComponentName: string;
|
|
23
23
|
sideAreaComponentData: any;
|
|
24
|
-
headerComponentName: string;
|
|
25
|
-
headerComponentData: any;
|
|
26
|
-
get activePageModel(): SidebarPageModel;
|
|
27
24
|
private rootElement;
|
|
28
25
|
private getAnimationOptions;
|
|
29
26
|
private allowFlyoutMode;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Base, SurveyModel } from "survey-core";
|
|
2
|
+
import { SurveyCreatorModel } from "../creator-base";
|
|
2
3
|
export declare class SurveySimulatorModel extends Base {
|
|
4
|
+
private surveyProvider;
|
|
3
5
|
private surveyChanged;
|
|
4
|
-
constructor();
|
|
6
|
+
constructor(surveyProvider: SurveyCreatorModel);
|
|
5
7
|
landscape: boolean;
|
|
6
8
|
survey: SurveyModel;
|
|
7
9
|
device: string;
|
|
@@ -22,6 +22,8 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
22
22
|
get pagesController(): PagesController;
|
|
23
23
|
get isToolboxVisible(): boolean;
|
|
24
24
|
get placeholderText(): string;
|
|
25
|
+
get placeholderTitleText(): string;
|
|
26
|
+
get placeholderDescriptionText(): string;
|
|
25
27
|
get hasToolbar(): boolean;
|
|
26
28
|
private isUpdatingNewPage;
|
|
27
29
|
onDesignerSurveyPropertyChanged(obj: Base, propName: string): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Base, IHeader, ILoadFromJSONOptions, ISaveToJSONOptions, ISurvey, ITheme, HorizontalAlignment, VerticalAlignment } from "survey-core";
|
|
2
2
|
export declare class HeaderModel extends Base implements IHeader {
|
|
3
3
|
height: number;
|
|
4
|
+
mobileHeight: number;
|
|
4
5
|
inheritWidthFrom: "survey" | "container";
|
|
5
6
|
textAreaWidth: number;
|
|
6
7
|
overlapEnabled: boolean;
|
|
@@ -46,6 +46,8 @@ export declare class PreviewViewModel extends Base {
|
|
|
46
46
|
setTheme(themeName: string, themeMapper: any): void;
|
|
47
47
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
48
48
|
private updatePrevNextPageActionState;
|
|
49
|
+
get placeholderTitleText(): string;
|
|
50
|
+
get placeholderDescriptionText(): string;
|
|
49
51
|
onScroll(): boolean;
|
|
50
52
|
dispose(): void;
|
|
51
53
|
}
|
|
@@ -2,3 +2,4 @@ export declare function updateShadowEffectsJSON(): void;
|
|
|
2
2
|
export declare function createBoxShadow(value: Array<any>): string;
|
|
3
3
|
export declare function createBoxShadowReset(value: string): string;
|
|
4
4
|
export declare function parseBoxShadow(value?: string): Array<Object>;
|
|
5
|
+
export declare function trimBoxShadowValue(value: string): string;
|
|
@@ -45,6 +45,7 @@ export declare class ThemeTabPlugin implements ICreatorPlugin {
|
|
|
45
45
|
private simulatorCssClasses;
|
|
46
46
|
private _availableThemes;
|
|
47
47
|
private _showOneCategoryInPropertyGrid;
|
|
48
|
+
private _advancedModeValue;
|
|
48
49
|
private tabControlModel;
|
|
49
50
|
propertyGrid: PropertyGridModel;
|
|
50
51
|
private propertyGridTab;
|
|
@@ -52,6 +53,7 @@ export declare class ThemeTabPlugin implements ICreatorPlugin {
|
|
|
52
53
|
themeModel: ThemeModel;
|
|
53
54
|
get showOneCategoryInPropertyGrid(): boolean;
|
|
54
55
|
set showOneCategoryInPropertyGrid(newValue: boolean);
|
|
56
|
+
private updateAdvancedModeQuestion;
|
|
55
57
|
private createVisibleUpdater;
|
|
56
58
|
private createAppearanceAdvancedModeAction;
|
|
57
59
|
private addSubGroupTitle;
|
|
@@ -215,6 +215,8 @@ export declare class Translation extends Base implements ITranslationLocales {
|
|
|
215
215
|
private getSelectedLocalesCore;
|
|
216
216
|
private setSelectedAndVisibleLocales;
|
|
217
217
|
get noStringsText(): string;
|
|
218
|
+
get placeholderTitleText(): string;
|
|
219
|
+
get placeholderDescriptionText(): string;
|
|
218
220
|
exportToCSV(): string;
|
|
219
221
|
importFromNestedArray(rows: string[][]): void;
|
|
220
222
|
exportToSCVFile(fileName: string): void;
|
|
@@ -15,6 +15,7 @@ import { ThemeTabPlugin } from "./components/tabs/theme-plugin";
|
|
|
15
15
|
import { DragDropSurveyElements } from "./survey-elements";
|
|
16
16
|
import { PageAdorner } from "./components/page";
|
|
17
17
|
import { ElementDeletingEvent, PropertyGetReadOnlyEvent, ElementGetDisplayNameEvent, HtmlToMarkdownEvent, ElementAllowOperationsEvent, ElementGetActionsEvent, PropertyAddingEvent, PropertyGridSurveyCreatedEvent, PropertyEditorCreatedEvent, PropertyEditorUpdateTitleActionsEvent, PropertyGridShowPopupEvent, CollectionItemAllowOperationsEvent, CollectionItemAddedEvent, FastEntryItemsEvent as FastEntryFinishedEvent, MatrixColumnAddedEvent, ConfigureTablePropertyEditorEvent, PropertyDisplayCustomErrorEvent, PropertyValueChangingEvent, PropertyValueChangedEvent, ConditionGetQuestionListEvent, GetConditionOperatorEvent, LogicRuleGetDisplayTextEvent, ModifiedEvent, QuestionAddedEvent, PanelAddedEvent, PageAddedEvent, QuestionConvertingEvent, PageGetFooterActionsEvent, SurveyInstanceCreatedEvent, DesignerSurveyCreatedEvent, PreviewSurveyCreatedEvent, NotifyEvent, ElementFocusingEvent, ElementFocusedEvent, OpenFileChooserEvent, UploadFileEvent, TranslationStringVisibilityEvent, TranslationImportItemEvent, TranslationImportedEvent, TranslationExportItemEvent, MachineTranslateEvent, TranslationItemChangingEvent, DragDropAllowEvent, CreateCustomMessagePanelEvent, ActiveTabChangingEvent, ActiveTabChangedEvent, BeforeUndoEvent, BeforeRedoEvent, PageAddingEvent, DragStartEndEvent } from "./creator-events-api";
|
|
18
|
+
import { ExpandCollapseManager } from "./expand-collapse-manager";
|
|
18
19
|
export interface IKeyboardShortcut {
|
|
19
20
|
name?: string;
|
|
20
21
|
affectedTab?: string;
|
|
@@ -1081,6 +1082,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
1081
1082
|
protected setState(value: string): void;
|
|
1082
1083
|
onStateChanged: EventBase<SurveyCreatorModel, any>;
|
|
1083
1084
|
onSurfaceToolbarActionExecuted: EventBase<SurveyCreatorModel, any>;
|
|
1085
|
+
expandCollapseManager: ExpandCollapseManager;
|
|
1084
1086
|
notifier: Notifier;
|
|
1085
1087
|
setModified(options?: any): void;
|
|
1086
1088
|
notifySurveyPropertyChanged(options: any): void;
|
|
@@ -225,6 +225,18 @@ export declare var defaultStrings: {
|
|
|
225
225
|
pagePlaceHolder: string;
|
|
226
226
|
imagePlaceHolder: string;
|
|
227
227
|
surveyPlaceHolderMobile: string;
|
|
228
|
+
surveyPlaceholderTitle: string;
|
|
229
|
+
surveyPlaceholderTitleMobile: string;
|
|
230
|
+
surveyPlaceholderDescription: string;
|
|
231
|
+
surveyPlaceholderDescriptionMobile: string;
|
|
232
|
+
previewPlaceholderTitle: string;
|
|
233
|
+
previewPlaceholderTitleMobile: string;
|
|
234
|
+
previewPlaceholderDescription: string;
|
|
235
|
+
previewPlaceholderDescriptionMobile: string;
|
|
236
|
+
translationsPlaceholderTitle: string;
|
|
237
|
+
translationsPlaceholderTitleMobile: string;
|
|
238
|
+
translationsPlaceholderDescription: string;
|
|
239
|
+
translationsPlaceholderDescriptionMobile: string;
|
|
228
240
|
pagePlaceHolderMobile: string;
|
|
229
241
|
panelPlaceHolderMobile: string;
|
|
230
242
|
imagePlaceHolderMobile: string;
|
|
@@ -237,6 +249,10 @@ export declare var defaultStrings: {
|
|
|
237
249
|
lg: {
|
|
238
250
|
addNewItem: string;
|
|
239
251
|
empty_tab: string;
|
|
252
|
+
logicPlaceholderTitle: string;
|
|
253
|
+
logicPlaceholderTitleMobile: string;
|
|
254
|
+
logicPlaceholderDescription: string;
|
|
255
|
+
logicPlaceholderDescriptionMobile: string;
|
|
240
256
|
page_visibilityName: string;
|
|
241
257
|
page_enableName: string;
|
|
242
258
|
page_requireName: string;
|
|
@@ -915,6 +931,7 @@ export declare var defaultStrings: {
|
|
|
915
931
|
fontSize: string;
|
|
916
932
|
scale: string;
|
|
917
933
|
cornerRadius: string;
|
|
934
|
+
advancedMode: string;
|
|
918
935
|
pageTitle: string;
|
|
919
936
|
pageDescription: string;
|
|
920
937
|
questionTitle: string;
|
|
@@ -1542,6 +1559,7 @@ export declare var defaultStrings: {
|
|
|
1542
1559
|
inheritWidthFrom: string;
|
|
1543
1560
|
textAreaWidth: string;
|
|
1544
1561
|
overlapEnabled: string;
|
|
1562
|
+
mobileHeight: string;
|
|
1545
1563
|
};
|
|
1546
1564
|
panellayoutcolumn: {
|
|
1547
1565
|
effectiveWidth: string;
|
|
@@ -1628,6 +1646,7 @@ export declare var defaultStrings: {
|
|
|
1628
1646
|
imageFit: string;
|
|
1629
1647
|
altText: string;
|
|
1630
1648
|
height: string;
|
|
1649
|
+
mobileHeight: string;
|
|
1631
1650
|
penColor: string;
|
|
1632
1651
|
backgroundColor: string;
|
|
1633
1652
|
templateElements: string;
|
|
@@ -70,6 +70,7 @@ export * from "../svgbundle";
|
|
|
70
70
|
export * from "../textWorker";
|
|
71
71
|
export * from "../toolbox";
|
|
72
72
|
export * from "../components/side-bar/side-bar-model";
|
|
73
|
+
export * from "../components/side-bar/side-bar-header-model";
|
|
73
74
|
export * from "../components/side-bar/side-bar-page-model";
|
|
74
75
|
export * from "../components/side-bar/tab-control-model";
|
|
75
76
|
export * from "../components/switcher/switcher";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CreatorBase } from "./creator-base";
|
|
2
|
+
import { SurveyElementAdornerBase } from "./components/action-container-view-model";
|
|
3
|
+
export declare class ExpandCollapseManager {
|
|
4
|
+
constructor(creator: CreatorBase);
|
|
5
|
+
private adorners;
|
|
6
|
+
add(adorner: SurveyElementAdornerBase): void;
|
|
7
|
+
remove(adorner: SurveyElementAdornerBase): void;
|
|
8
|
+
}
|
|
@@ -177,6 +177,18 @@ export declare var enStrings: {
|
|
|
177
177
|
pagePlaceHolder: string;
|
|
178
178
|
imagePlaceHolder: string;
|
|
179
179
|
surveyPlaceHolderMobile: string;
|
|
180
|
+
surveyPlaceholderTitle: string;
|
|
181
|
+
surveyPlaceholderTitleMobile: string;
|
|
182
|
+
surveyPlaceholderDescription: string;
|
|
183
|
+
surveyPlaceholderDescriptionMobile: string;
|
|
184
|
+
previewPlaceholderTitle: string;
|
|
185
|
+
previewPlaceholderTitleMobile: string;
|
|
186
|
+
previewPlaceholderDescription: string;
|
|
187
|
+
previewPlaceholderDescriptionMobile: string;
|
|
188
|
+
translationsPlaceholderTitle: string;
|
|
189
|
+
translationsPlaceholderTitleMobile: string;
|
|
190
|
+
translationsPlaceholderDescription: string;
|
|
191
|
+
translationsPlaceholderDescriptionMobile: string;
|
|
180
192
|
pagePlaceHolderMobile: string;
|
|
181
193
|
panelPlaceHolderMobile: string;
|
|
182
194
|
imagePlaceHolderMobile: string;
|
|
@@ -189,6 +201,10 @@ export declare var enStrings: {
|
|
|
189
201
|
lg: {
|
|
190
202
|
addNewItem: string;
|
|
191
203
|
empty_tab: string;
|
|
204
|
+
logicPlaceholderTitle: string;
|
|
205
|
+
logicPlaceholderTitleMobile: string;
|
|
206
|
+
logicPlaceholderDescription: string;
|
|
207
|
+
logicPlaceholderDescriptionMobile: string;
|
|
192
208
|
page_visibilityName: string;
|
|
193
209
|
page_enableName: string;
|
|
194
210
|
page_requireName: string;
|
|
@@ -867,6 +883,7 @@ export declare var enStrings: {
|
|
|
867
883
|
fontSize: string;
|
|
868
884
|
scale: string;
|
|
869
885
|
cornerRadius: string;
|
|
886
|
+
advancedMode: string;
|
|
870
887
|
pageTitle: string;
|
|
871
888
|
pageDescription: string;
|
|
872
889
|
questionTitle: string;
|
|
@@ -1494,6 +1511,7 @@ export declare var enStrings: {
|
|
|
1494
1511
|
inheritWidthFrom: string;
|
|
1495
1512
|
textAreaWidth: string;
|
|
1496
1513
|
overlapEnabled: string;
|
|
1514
|
+
mobileHeight: string;
|
|
1497
1515
|
};
|
|
1498
1516
|
panellayoutcolumn: {
|
|
1499
1517
|
effectiveWidth: string;
|
|
@@ -1580,6 +1598,7 @@ export declare var enStrings: {
|
|
|
1580
1598
|
imageFit: string;
|
|
1581
1599
|
altText: string;
|
|
1582
1600
|
height: string;
|
|
1601
|
+
mobileHeight: string;
|
|
1583
1602
|
penColor: string;
|
|
1584
1603
|
backgroundColor: string;
|
|
1585
1604
|
templateElements: string;
|
|
@@ -185,6 +185,10 @@ export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
|
|
|
185
185
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
186
186
|
isSupportGrouping(): boolean;
|
|
187
187
|
}
|
|
188
|
+
export declare class PropertyGridEditorSwitchToggle extends PropertyGridEditor {
|
|
189
|
+
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
190
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
191
|
+
}
|
|
188
192
|
export declare class PropertyGridEditorUndefinedBoolean extends PropertyGridEditor {
|
|
189
193
|
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
190
194
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
@@ -25,6 +25,7 @@ export declare class SurveyHelper {
|
|
|
25
25
|
static addElements(elements: Array<any>, isPanel: boolean, result: Array<any>): void;
|
|
26
26
|
static getAllElements(survey: SurveyModel, isPanel: boolean): Array<any>;
|
|
27
27
|
static isPropertyVisible(obj: any, property: JsonObjectProperty, options?: ISurveyCreatorOptions, showMode?: string, parentObj?: any, parentProperty?: JsonObjectProperty): boolean;
|
|
28
|
+
static isNeedScrollIntoView(el: HTMLElement, scrollIfElementBiggerThanContainer?: boolean): undefined | "top" | "bottom";
|
|
28
29
|
static scrollIntoViewIfNeeded(el: HTMLElement, getOptions?: (overTop: boolean) => ScrollIntoViewOptions, scrollIfElementBiggerThanContainer?: boolean): void;
|
|
29
30
|
static getScrollableDiv(el: HTMLElement): HTMLElement;
|
|
30
31
|
static moveItemInArray(list: Array<any>, obj: any, newIndex: number): boolean;
|
package/typings/toolbox.d.ts
CHANGED
|
@@ -477,6 +477,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
477
477
|
private addToolBoxItem;
|
|
478
478
|
private getActionByIdFromArray;
|
|
479
479
|
private createToolboxItemFromJSON;
|
|
480
|
+
private getTitleFromJsonTitle;
|
|
480
481
|
private getQuestionJSON;
|
|
481
482
|
private isHiddenCustomWidget;
|
|
482
483
|
private getQuestionTypes;
|