survey-creator-core 1.9.41 → 1.9.44
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 +8 -4
- package/survey-creator-core.d.ts +12 -15
- package/survey-creator-core.i18n.js +39 -47
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +164 -143
- package/survey-creator-core.min.css +3 -3
- 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.44
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -221,11 +221,11 @@ export interface ICreatorOptions {
|
|
|
221
221
|
*/
|
|
222
222
|
showObjectTitles?: boolean;
|
|
223
223
|
/*
|
|
224
|
-
* Limits the number of visible choices. Users can click "Show more
|
|
224
|
+
* Limits the number of visible choices. Users can click "Show more" to view hidden choices.
|
|
225
225
|
*
|
|
226
|
-
*
|
|
226
|
+
* Set this property to -1 if you do not want to hide any choices.
|
|
227
227
|
*
|
|
228
|
-
* Default value:
|
|
228
|
+
* Default value: 10
|
|
229
229
|
*/
|
|
230
230
|
maxVisibleChoices?: number;
|
|
231
231
|
/*
|
|
@@ -665,6 +665,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
665
665
|
* - "survey-tester" - raised from page selector list in "Preview" tab
|
|
666
666
|
* - "survey-tester-selected" - raised on setting page selector title in "Preview" tab
|
|
667
667
|
* - "survey-translation" - raised from translation tab
|
|
668
|
+
* - "property-editor" - raised on showing question property editor, for example "gotoName". It is raised for all elements (questions) in the dropdown.
|
|
668
669
|
* - "property-grid" - raised from showing object selector for property grid in "Designer" tab.
|
|
669
670
|
* - "property-grid-title" - raised on rendering selected object title in property grid in "Designer" tab.
|
|
670
671
|
*/
|
|
@@ -1061,11 +1062,11 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1061
1062
|
*/
|
|
1062
1063
|
showObjectTitles: boolean;
|
|
1063
1064
|
/*
|
|
1064
|
-
* Limits the number of visible choices. Users can click "Show more
|
|
1065
|
+
* Limits the number of visible choices. Users can click "Show more" to view hidden choices.
|
|
1065
1066
|
*
|
|
1066
|
-
*
|
|
1067
|
+
* Set this property to -1 if you do not want to hide any choices.
|
|
1067
1068
|
*
|
|
1068
|
-
* Default value:
|
|
1069
|
+
* Default value: 10
|
|
1069
1070
|
*/
|
|
1070
1071
|
maxVisibleChoices: number;
|
|
1071
1072
|
/*
|
|
@@ -2511,7 +2512,6 @@ export declare class TestSurveyTabViewModel extends Base {
|
|
|
2511
2512
|
testAgainAction: Action;
|
|
2512
2513
|
nextPageAction: Action;
|
|
2513
2514
|
selectPageAction: Action;
|
|
2514
|
-
pagePopupModel: any;
|
|
2515
2515
|
onSurveyCreatedCallback: (survey: SurveyModel) => any;
|
|
2516
2516
|
simulator: SurveySimulatorModel;
|
|
2517
2517
|
showInvisibleElements: any;
|
|
@@ -2550,6 +2550,7 @@ export declare class ToolboxToolViewModel extends Base {
|
|
|
2550
2550
|
export declare class Transaction {
|
|
2551
2551
|
constructor(_name: string);
|
|
2552
2552
|
_actions: any;
|
|
2553
|
+
undoCallback: any;
|
|
2553
2554
|
apply(): void;
|
|
2554
2555
|
rollback(): void;
|
|
2555
2556
|
addAction(action: any): void;
|
|
@@ -2572,7 +2573,7 @@ export declare class Translation extends Base implements ITranslationLocales {
|
|
|
2572
2573
|
surveyValue: SurveyModel;
|
|
2573
2574
|
settingsSurveyValue: SurveyModel;
|
|
2574
2575
|
onBaseObjCreatingCallback: (obj: Base) => void;
|
|
2575
|
-
|
|
2576
|
+
addLanguageAction: Action;
|
|
2576
2577
|
chooseLanguageActions: any;
|
|
2577
2578
|
getType(): string;
|
|
2578
2579
|
locales: any;
|
|
@@ -2683,6 +2684,7 @@ export declare class UndoRedoManager {
|
|
|
2683
2684
|
transactionCounter: number;
|
|
2684
2685
|
startTransaction(name: string): void;
|
|
2685
2686
|
stopTransaction(): void;
|
|
2687
|
+
setUndoCallbackForTransaction(callback: any): void;
|
|
2686
2688
|
get isProcessingUndoRedo(): boolean;
|
|
2687
2689
|
canUndo(): boolean;
|
|
2688
2690
|
undo(): void;
|
|
@@ -2943,13 +2945,10 @@ export declare class TabLogicPlugin implements ICreatorPlugin {
|
|
|
2943
2945
|
export declare class TabTestPlugin implements ICreatorPlugin {
|
|
2944
2946
|
constructor(creator: CreatorBase);
|
|
2945
2947
|
languageSelectorAction: Action;
|
|
2946
|
-
languagePopupModel: any;
|
|
2947
|
-
languageListModel: ListModel;
|
|
2948
2948
|
changeThemePopupModel: any;
|
|
2949
2949
|
changeThemeModel: ListModel;
|
|
2950
2950
|
protected changeThemeAction: CreatorAction;
|
|
2951
2951
|
deviceSelectorAction: Action;
|
|
2952
|
-
deviceListModel: ListModel;
|
|
2953
2952
|
orientationSelectorAction: Action;
|
|
2954
2953
|
invisibleToggleAction: Action;
|
|
2955
2954
|
testAgainAction: Action;
|
|
@@ -2973,8 +2972,6 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
|
2973
2972
|
importCsvAction: Action;
|
|
2974
2973
|
exportCsvAction: Action;
|
|
2975
2974
|
inputFileElement: any;
|
|
2976
|
-
pagePopupModel: any;
|
|
2977
|
-
stringsPopupModel: any;
|
|
2978
2975
|
sidebarTab: SidebarTabModel;
|
|
2979
2976
|
model: Translation;
|
|
2980
2977
|
activate(): void;
|
|
@@ -3064,7 +3061,7 @@ export declare class UndoRedoAction implements IUndoRedoAction {
|
|
|
3064
3061
|
constructor(_propertyName: string, _oldValue: any, _newValue: any, _sender: Base);
|
|
3065
3062
|
apply(): void;
|
|
3066
3063
|
rollback(): void;
|
|
3067
|
-
getChanges(): IUndoRedoChange;
|
|
3064
|
+
getChanges(isUndo?: boolean): IUndoRedoChange;
|
|
3068
3065
|
tryMerge(sender: Base, propertyName: string, newValue: any): boolean;
|
|
3069
3066
|
}
|
|
3070
3067
|
export declare class UndoRedoArrayAction implements IUndoRedoAction {
|