survey-creator-core 1.9.36 → 1.9.37
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/package.json +1 -1
- package/survey-creator-core.css +21 -4
- package/survey-creator-core.d.ts +12 -2
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +72 -15
- package/survey-creator-core.min.css +2 -2
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.
|
|
2
|
+
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.37
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -99,6 +99,7 @@ export interface ICreatorOptions {
|
|
|
99
99
|
maximumRowsCount?: number;
|
|
100
100
|
maximumRateValues?: number;
|
|
101
101
|
maxLogicItemsInCondition?: number;
|
|
102
|
+
allowChangeThemeInPreview?: boolean;
|
|
102
103
|
}
|
|
103
104
|
/*
|
|
104
105
|
* The Toolbox item description.
|
|
@@ -917,6 +918,10 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
917
918
|
* Set this property to true if you want to show "page selector" in the toolabar instead of "pages editor"
|
|
918
919
|
*/
|
|
919
920
|
showPageSelectorInToolbar: boolean;
|
|
921
|
+
/*
|
|
922
|
+
* Set this property to false if you want to hide the "theme selector" in the Preview Tab
|
|
923
|
+
*/
|
|
924
|
+
allowChangeThemeInPreview: boolean;
|
|
920
925
|
tabbedMenu: any;
|
|
921
926
|
get tabs(): any;
|
|
922
927
|
set tabs(val: any);
|
|
@@ -1813,6 +1818,7 @@ export declare class StringEditorViewModelBase extends Base {
|
|
|
1813
1818
|
onInput(event: any): void;
|
|
1814
1819
|
done(event: any): void;
|
|
1815
1820
|
onKeyDown(event: any): boolean;
|
|
1821
|
+
onKeyUp(event: any): boolean;
|
|
1816
1822
|
justFocused: boolean;
|
|
1817
1823
|
onMouseUp(event: any): boolean;
|
|
1818
1824
|
findProperty(): JsonObjectProperty;
|
|
@@ -1853,10 +1859,12 @@ export declare class SurveyForTextWorker extends SurveyModel {
|
|
|
1853
1859
|
}
|
|
1854
1860
|
export declare class SurveyHelper {
|
|
1855
1861
|
static getNewPageName(objs: any): string;
|
|
1862
|
+
static isPageNameAutoGenerated(name: string): boolean;
|
|
1856
1863
|
static getNewQuestionName(objs: any): string;
|
|
1857
1864
|
static getNewPanelName(objs: any): string;
|
|
1858
1865
|
static generateNewName(name: string): string;
|
|
1859
1866
|
static getNewName(objs: any, baseName: string): string;
|
|
1867
|
+
static isNameAutoGenerated(name: string, baseName: string): boolean;
|
|
1860
1868
|
static getObjectType(obj: any): ObjType;
|
|
1861
1869
|
static getObjectTypeStr(obj: any): string;
|
|
1862
1870
|
static getObjectName(obj: any, showObjectTitle?: boolean): string;
|
|
@@ -2178,6 +2186,7 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
2178
2186
|
constructor(creator: CreatorBase);
|
|
2179
2187
|
widthUpdater: any;
|
|
2180
2188
|
checkNewPageHandler: (sender: SurveyModel, options: any) => void;
|
|
2189
|
+
checkRemovePageHandler: (sender: SurveyModel, options: any) => void;
|
|
2181
2190
|
surveyOnPropertyChanged: (sender: SurveyModel, options: any) => void;
|
|
2182
2191
|
pagesControllerValue: PagesController;
|
|
2183
2192
|
newPage: PageModel;
|
|
@@ -2634,7 +2643,7 @@ export declare class TabTestPlugin implements ICreatorPlugin {
|
|
|
2634
2643
|
languageListModel: ListModel;
|
|
2635
2644
|
changeThemePopupModel: any;
|
|
2636
2645
|
changeThemeModel: ListModel;
|
|
2637
|
-
changeThemeAction: Action;
|
|
2646
|
+
protected changeThemeAction: Action;
|
|
2638
2647
|
deviceSelectorAction: Action;
|
|
2639
2648
|
deviceListModel: ListModel;
|
|
2640
2649
|
orientationSelectorAction: Action;
|
|
@@ -2648,6 +2657,7 @@ export declare class TabTestPlugin implements ICreatorPlugin {
|
|
|
2648
2657
|
activate(): void;
|
|
2649
2658
|
update(): void;
|
|
2650
2659
|
deactivate(): boolean;
|
|
2660
|
+
protected getAvailableThemes(themeMapper: any): any;
|
|
2651
2661
|
createActions(): any;
|
|
2652
2662
|
addFooterActions(): void;
|
|
2653
2663
|
}
|