survey-creator-core 1.9.49 → 1.9.50
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 +10 -4
- package/survey-creator-core.d.ts +28 -29
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +87 -119
- package/survey-creator-core.min.css +2 -2
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.
|
|
2
|
+
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.50
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
6
6
|
import { Base, JsonObjectProperty, Question, SurveyModel, ItemValue } from "survey-core";
|
|
7
|
-
import { MatrixDropdownColumn, IAction, Action,
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { ArrayChanges, ImageItemValue, HashTable, QuestionMatrixDynamicModel
|
|
14
|
-
import { QuestionMatrixDropdownModel, QuestionPanelDynamicModel, QuestionCommentModel, MatrixDynamicRowModel } from "survey-core";
|
|
7
|
+
import { MatrixDropdownColumn, IAction, Action, ILocalizableOwner, LocalizableString } from "survey-core";
|
|
8
|
+
import { ActionContainer, DragDropSurveyElements, DragDropChoices, Event, AdaptiveActionContainer } from "survey-core";
|
|
9
|
+
import { PageModel, IElement, IPanel, ISurveyElement, SurveyElement } from "survey-core";
|
|
10
|
+
import { QuestionSelectBase, Operand, DragOrClickHelper, PanelModel, QuestionDropdownModel } from "survey-core";
|
|
11
|
+
import { ListModel, PopupModel, EventBase, PanelModelBase, QuestionNonValue } from "survey-core";
|
|
12
|
+
import { SurveyTemplateRendererTemplateData, QuestionRatingModel, QuestionRowModel, ComputedUpdater, QuestionCheckboxModel } from "survey-core";
|
|
13
|
+
import { ILocalizableString, ArrayChanges, ImageItemValue, HashTable, QuestionMatrixDynamicModel } from "survey-core";
|
|
14
|
+
import { QuestionMatrixModel, QuestionMatrixDropdownModel, QuestionPanelDynamicModel, QuestionCommentModel, MatrixDynamicRowModel } from "survey-core";
|
|
15
15
|
|
|
16
16
|
export { editorLocalization as localization };
|
|
17
17
|
|
|
@@ -455,11 +455,7 @@ export interface ICreatorPlugin {
|
|
|
455
455
|
onDesignerSurveyPropertyChanged?: (obj: Base, propName: string) => void;
|
|
456
456
|
model: Base;
|
|
457
457
|
}
|
|
458
|
-
export interface
|
|
459
|
-
locTitleName?: string;
|
|
460
|
-
locTooltipName?: string;
|
|
461
|
-
}
|
|
462
|
-
export interface ITabbedMenuItem extends ICreatorAction {
|
|
458
|
+
export interface ITabbedMenuItem extends IAction {
|
|
463
459
|
componentContent: string;
|
|
464
460
|
renderTab?: any;
|
|
465
461
|
}
|
|
@@ -487,17 +483,19 @@ export declare class ConditionEditorItemsBuilder {
|
|
|
487
483
|
constructor(hasValue?: (name: string) => boolean);
|
|
488
484
|
build(text: string): Array<ConditionEditorItem>;
|
|
489
485
|
}
|
|
490
|
-
export declare class CreatorAction extends Action
|
|
491
|
-
constructor(
|
|
492
|
-
locTitleName: string;
|
|
493
|
-
locTooltipName: string;
|
|
494
|
-
updateTitle(): void;
|
|
486
|
+
export declare class CreatorAction extends Action {
|
|
487
|
+
constructor(innerItem: IAction);
|
|
495
488
|
}
|
|
496
489
|
/*
|
|
497
490
|
* Base class for Survey Creator.
|
|
498
491
|
*/
|
|
499
|
-
export declare class CreatorBase extends Base implements ISurveyCreatorOptions, ICreatorSelectionOwner {
|
|
492
|
+
export declare class CreatorBase extends Base implements ISurveyCreatorOptions, ICreatorSelectionOwner, ILocalizableOwner {
|
|
500
493
|
constructor(options: ICreatorOptions, options2?: ICreatorOptions);
|
|
494
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
495
|
+
getRenderer(name: string): string;
|
|
496
|
+
getRendererContext(locStr: LocalizableString): any;
|
|
497
|
+
getProcessedText(text: string): string;
|
|
498
|
+
getLocale(): string;
|
|
501
499
|
/*
|
|
502
500
|
* Specifies whether to display the Designer tab.
|
|
503
501
|
*
|
|
@@ -1226,6 +1224,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1226
1224
|
*/
|
|
1227
1225
|
get locale(): string;
|
|
1228
1226
|
set locale(val: string);
|
|
1227
|
+
locStrsChanged(): void;
|
|
1229
1228
|
/*
|
|
1230
1229
|
* Enables the read-only mode. If you set this property to `true`, users cannot change the initial survey configuration.
|
|
1231
1230
|
*
|
|
@@ -2523,6 +2522,11 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
2523
2522
|
export declare class TabbedMenuContainer extends AdaptiveActionContainer<TabbedMenuItem> {
|
|
2524
2523
|
constructor();
|
|
2525
2524
|
}
|
|
2525
|
+
export declare class TabbedMenuItem extends Action implements ITabbedMenuItem {
|
|
2526
|
+
constructor(item: ITabbedMenuItem);
|
|
2527
|
+
componentContent: string;
|
|
2528
|
+
renderTab: any;
|
|
2529
|
+
}
|
|
2526
2530
|
export declare class TestSurveyTabViewModel extends Base {
|
|
2527
2531
|
constructor(surveyProvider: CreatorBase, startTheme?: any);
|
|
2528
2532
|
json: any;
|
|
@@ -2948,9 +2952,9 @@ export declare class TabJsonEditorBasePlugin implements ICreatorPlugin {
|
|
|
2948
2952
|
}
|
|
2949
2953
|
export declare class TabLogicPlugin implements ICreatorPlugin {
|
|
2950
2954
|
constructor(creator: CreatorBase);
|
|
2951
|
-
filterQuestionAction:
|
|
2952
|
-
filterActionTypeAction:
|
|
2953
|
-
fastEntryAction:
|
|
2955
|
+
filterQuestionAction: Action;
|
|
2956
|
+
filterActionTypeAction: Action;
|
|
2957
|
+
fastEntryAction: Action;
|
|
2954
2958
|
model: SurveyLogicUI;
|
|
2955
2959
|
activate(): void;
|
|
2956
2960
|
update(): void;
|
|
@@ -2962,7 +2966,7 @@ export declare class TabTestPlugin implements ICreatorPlugin {
|
|
|
2962
2966
|
languageSelectorAction: Action;
|
|
2963
2967
|
changeThemePopupModel: any;
|
|
2964
2968
|
changeThemeModel: ListModel;
|
|
2965
|
-
protected changeThemeAction:
|
|
2969
|
+
protected changeThemeAction: Action;
|
|
2966
2970
|
deviceSelectorAction: Action;
|
|
2967
2971
|
orientationSelectorAction: Action;
|
|
2968
2972
|
invisibleToggleAction: Action;
|
|
@@ -3000,11 +3004,6 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
|
3000
3004
|
get importFromCSVText(): string;
|
|
3001
3005
|
createActions(): Array<Action>;
|
|
3002
3006
|
}
|
|
3003
|
-
export declare class TabbedMenuItem extends CreatorAction implements ITabbedMenuItem {
|
|
3004
|
-
constructor(item: ITabbedMenuItem);
|
|
3005
|
-
componentContent: string;
|
|
3006
|
-
renderTab: any;
|
|
3007
|
-
}
|
|
3008
3007
|
export declare class TextareaJsonEditorModel extends JsonEditorBaseModel {
|
|
3009
3008
|
constructor(creator: CreatorBase);
|
|
3010
3009
|
protected _text: string;
|