survey-creator-core 1.9.43 → 1.9.46
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 +2 -2
- package/survey-creator-core.css +43 -14
- package/survey-creator-core.d.ts +18 -15
- package/survey-creator-core.i18n.js +73 -48
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +207 -167
- package/survey-creator-core.min.css +9 -9
- package/survey-creator-core.min.js +3 -3
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.46
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -275,7 +275,7 @@ export interface ICreatorOptions {
|
|
|
275
275
|
*
|
|
276
276
|
* Default value: `true`
|
|
277
277
|
*
|
|
278
|
-
* [View the "Switch Between Themes" demo](https://surveyjs.io/Examples/Creator?id=theme-switcher)
|
|
278
|
+
* [View the "Switch Between Themes" demo](https://surveyjs.io/Examples/Creator?id=theme-switcher (linkStyle))
|
|
279
279
|
*/
|
|
280
280
|
allowChangeThemeInPreview?: boolean;
|
|
281
281
|
/*
|
|
@@ -1190,7 +1190,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1190
1190
|
*
|
|
1191
1191
|
* Default value: `true`
|
|
1192
1192
|
*
|
|
1193
|
-
* [View the "Switch Between Themes" demo](https://surveyjs.io/Examples/Creator?id=theme-switcher)
|
|
1193
|
+
* [View the "Switch Between Themes" demo](https://surveyjs.io/Examples/Creator?id=theme-switcher (linkStyle))
|
|
1194
1194
|
*/
|
|
1195
1195
|
allowChangeThemeInPreview: boolean;
|
|
1196
1196
|
tabbedMenu: any;
|
|
@@ -1880,6 +1880,11 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
1880
1880
|
allowExpandMultipleCategoriesValue: boolean;
|
|
1881
1881
|
keepAllCategoriesExpandedValue: boolean;
|
|
1882
1882
|
dragOrClickHelper: DragOrClickHelper;
|
|
1883
|
+
/*
|
|
1884
|
+
* Contains toolbox categories and allows you to modify them.
|
|
1885
|
+
*
|
|
1886
|
+
* [View example](https://surveyjs.io/Examples/Survey-Creator?id=toolboxcategories)
|
|
1887
|
+
*/
|
|
1883
1888
|
categories: any;
|
|
1884
1889
|
/*
|
|
1885
1890
|
* Set and get and active category. This property doesn't work if allowExpandMultipleCategories is true. Its default value is empty.
|
|
@@ -1988,7 +1993,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
1988
1993
|
* Collapse all categories. If allowExpandMultipleCategories is false (default value) this function does nothing
|
|
1989
1994
|
*/
|
|
1990
1995
|
collapseAllCategories(): void;
|
|
1991
|
-
|
|
1996
|
+
hiddenItemSelected(model: Action): void;
|
|
1992
1997
|
protected onItemsChanged(): void;
|
|
1993
1998
|
protected createCategory(): QuestionToolboxCategory;
|
|
1994
1999
|
dispose(): void;
|
|
@@ -2136,6 +2141,9 @@ export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyEl
|
|
|
2136
2141
|
protected updateActionVisibility(id: string, isVisible: boolean): void;
|
|
2137
2142
|
getActionById(id: string): Action;
|
|
2138
2143
|
protected buildActions(items: any): void;
|
|
2144
|
+
get allowEdit(): boolean;
|
|
2145
|
+
get showAddQuestionButton(): boolean;
|
|
2146
|
+
protected setShowAddQuestionButton(val: boolean): void;
|
|
2139
2147
|
protected duplicate(): void;
|
|
2140
2148
|
}
|
|
2141
2149
|
export declare class SurveyForTextWorker extends SurveyModel {
|
|
@@ -2512,7 +2520,6 @@ export declare class TestSurveyTabViewModel extends Base {
|
|
|
2512
2520
|
testAgainAction: Action;
|
|
2513
2521
|
nextPageAction: Action;
|
|
2514
2522
|
selectPageAction: Action;
|
|
2515
|
-
pagePopupModel: any;
|
|
2516
2523
|
onSurveyCreatedCallback: (survey: SurveyModel) => any;
|
|
2517
2524
|
simulator: SurveySimulatorModel;
|
|
2518
2525
|
showInvisibleElements: any;
|
|
@@ -2551,6 +2558,7 @@ export declare class ToolboxToolViewModel extends Base {
|
|
|
2551
2558
|
export declare class Transaction {
|
|
2552
2559
|
constructor(_name: string);
|
|
2553
2560
|
_actions: any;
|
|
2561
|
+
undoCallback: any;
|
|
2554
2562
|
apply(): void;
|
|
2555
2563
|
rollback(): void;
|
|
2556
2564
|
addAction(action: any): void;
|
|
@@ -2573,7 +2581,7 @@ export declare class Translation extends Base implements ITranslationLocales {
|
|
|
2573
2581
|
surveyValue: SurveyModel;
|
|
2574
2582
|
settingsSurveyValue: SurveyModel;
|
|
2575
2583
|
onBaseObjCreatingCallback: (obj: Base) => void;
|
|
2576
|
-
|
|
2584
|
+
addLanguageAction: Action;
|
|
2577
2585
|
chooseLanguageActions: any;
|
|
2578
2586
|
getType(): string;
|
|
2579
2587
|
locales: any;
|
|
@@ -2684,6 +2692,7 @@ export declare class UndoRedoManager {
|
|
|
2684
2692
|
transactionCounter: number;
|
|
2685
2693
|
startTransaction(name: string): void;
|
|
2686
2694
|
stopTransaction(): void;
|
|
2695
|
+
setUndoCallbackForTransaction(callback: any): void;
|
|
2687
2696
|
get isProcessingUndoRedo(): boolean;
|
|
2688
2697
|
canUndo(): boolean;
|
|
2689
2698
|
undo(): void;
|
|
@@ -2795,8 +2804,6 @@ export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
|
|
|
2795
2804
|
hover(event: any, element: any): void;
|
|
2796
2805
|
hoverStopper(event: any, element: any): void;
|
|
2797
2806
|
protected duplicate(): void;
|
|
2798
|
-
get allowEdit(): boolean;
|
|
2799
|
-
get showAddQuestionButton(): boolean;
|
|
2800
2807
|
get addNewQuestionText(): string;
|
|
2801
2808
|
}
|
|
2802
2809
|
export declare class PropertyEditorSetupValue implements IPropertyEditorSetup {
|
|
@@ -2843,8 +2850,6 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
2843
2850
|
set isRequired(val: any);
|
|
2844
2851
|
onPointerDown(pointerDownEvent: any): void;
|
|
2845
2852
|
startDragSurveyElement: (event: any) => boolean;
|
|
2846
|
-
get allowEdit(): boolean;
|
|
2847
|
-
get showAddQuestionButton(): boolean;
|
|
2848
2853
|
getConvertToTypesActions(): Array<IAction>;
|
|
2849
2854
|
protected buildActions(items: any): void;
|
|
2850
2855
|
protected duplicate(): void;
|
|
@@ -2944,13 +2949,10 @@ export declare class TabLogicPlugin implements ICreatorPlugin {
|
|
|
2944
2949
|
export declare class TabTestPlugin implements ICreatorPlugin {
|
|
2945
2950
|
constructor(creator: CreatorBase);
|
|
2946
2951
|
languageSelectorAction: Action;
|
|
2947
|
-
languagePopupModel: any;
|
|
2948
|
-
languageListModel: ListModel;
|
|
2949
2952
|
changeThemePopupModel: any;
|
|
2950
2953
|
changeThemeModel: ListModel;
|
|
2951
2954
|
protected changeThemeAction: CreatorAction;
|
|
2952
2955
|
deviceSelectorAction: Action;
|
|
2953
|
-
deviceListModel: ListModel;
|
|
2954
2956
|
orientationSelectorAction: Action;
|
|
2955
2957
|
invisibleToggleAction: Action;
|
|
2956
2958
|
testAgainAction: Action;
|
|
@@ -2974,8 +2976,6 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
|
2974
2976
|
importCsvAction: Action;
|
|
2975
2977
|
exportCsvAction: Action;
|
|
2976
2978
|
inputFileElement: any;
|
|
2977
|
-
pagePopupModel: any;
|
|
2978
|
-
stringsPopupModel: any;
|
|
2979
2979
|
sidebarTab: SidebarTabModel;
|
|
2980
2980
|
model: Translation;
|
|
2981
2981
|
activate(): void;
|
|
@@ -3106,6 +3106,7 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
|
|
|
3106
3106
|
set title(val: string);
|
|
3107
3107
|
get isModal(): boolean;
|
|
3108
3108
|
set isModal(val: boolean);
|
|
3109
|
+
protected updatePlaceholderVisibileIf(): void;
|
|
3109
3110
|
protected getSurveyJSON(): any;
|
|
3110
3111
|
protected getSurveyCreationReason(): string;
|
|
3111
3112
|
get text(): string;
|
|
@@ -3118,6 +3119,8 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
|
|
|
3118
3119
|
get panel(): QuestionPanelDynamicModel;
|
|
3119
3120
|
get textEditor(): QuestionCommentModel;
|
|
3120
3121
|
get isReady(): boolean;
|
|
3122
|
+
errorText: string;
|
|
3123
|
+
hasErrorInUI(): boolean;
|
|
3121
3124
|
apply(): boolean;
|
|
3122
3125
|
setIsFastEntry(showTextEdit: boolean): void;
|
|
3123
3126
|
isSettingPanelValues: boolean;
|