survey-creator-react 1.9.21 → 1.9.24
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-react.d.ts +23 -9
- package/survey-creator-react.js +63 -44
- package/survey-creator-react.min.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-react",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.24",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"survey-core": "^1.9.9",
|
|
35
35
|
"survey-react-ui": "^1.9.9",
|
|
36
|
-
"survey-creator-core": "1.9.
|
|
36
|
+
"survey-creator-core": "1.9.24",
|
|
37
37
|
"react": "^17.0.1",
|
|
38
38
|
"react-dom": "^17.0.1"
|
|
39
39
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creator library for React v1.9.
|
|
2
|
+
* Type definition for Survey Creator library for React v1.9.24
|
|
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 { TabbedMenuContainer, CreatorBase, Notifier, QuestionAdornerViewModel, IQuestionToolboxItem } from "survey-creator-core";
|
|
7
|
-
import { SidebarModel, TabDesignerViewModel, EmbedModel, AceJsonEditorModel
|
|
8
|
-
import { ObjectSelectorModel, PropertyGridViewModel,
|
|
9
|
-
import { LogoImageViewModel, MatrixCellWrapperViewModel, QuestionRatingAdornerViewModel, RowViewModel
|
|
10
|
-
import { ToolboxToolViewModel, QuestionEmbeddedSurveyModel, PageNavigatorViewModel, QuestionLinkValueModel
|
|
11
|
-
import { QuestionImageAdornerViewModel, IPortableMouseEvent, ICreatorOptions, IPortableDragEvent } from "survey-creator-core";
|
|
7
|
+
import { SidebarModel, PagesController, TabDesignerViewModel, EmbedModel, AceJsonEditorModel } from "survey-creator-core";
|
|
8
|
+
import { TextareaJsonEditorModel, ObjectSelectorModel, PropertyGridViewModel, PageAdorner, ImageItemValueWrapperViewModel } from "survey-creator-core";
|
|
9
|
+
import { ItemValueWrapperViewModel, LogoImageViewModel, MatrixCellWrapperViewModel, QuestionRatingAdornerViewModel, RowViewModel } from "survey-creator-core";
|
|
10
|
+
import { ITabbedMenuItem, ToolboxToolViewModel, QuestionEmbeddedSurveyModel, PageNavigatorViewModel, QuestionLinkValueModel } from "survey-creator-core";
|
|
11
|
+
import { SurveyResultsModel, QuestionImageAdornerViewModel, IPortableMouseEvent, ICreatorOptions, IPortableDragEvent } from "survey-creator-core";
|
|
12
12
|
import { Action, Question, QuestionRowModel, SurveyModel, PageModel } from "survey-core";
|
|
13
13
|
import { QuestionSelectBase, ItemValue, ImageItemValue, Base, SurveyError } from "survey-core";
|
|
14
14
|
import { IAction, ResponsivityManager, VerticalResponsivityManager } from "survey-core";
|
|
@@ -52,6 +52,7 @@ export interface NotifierComponentProps {
|
|
|
52
52
|
}
|
|
53
53
|
export interface ISurveyCreatorComponentProps {
|
|
54
54
|
creator: SurveyCreator;
|
|
55
|
+
style?: any;
|
|
55
56
|
}
|
|
56
57
|
export interface QuestionAdornerComponentProps {
|
|
57
58
|
element: any;
|
|
@@ -116,8 +117,8 @@ export interface ISidebarComponentProps {
|
|
|
116
117
|
model: SidebarModel;
|
|
117
118
|
}
|
|
118
119
|
export interface ISurveyPageNavigatorProps {
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
pagesController: PagesController;
|
|
121
|
+
pageEditMode: string;
|
|
121
122
|
}
|
|
122
123
|
export interface ITabDesignerComponentProps {
|
|
123
124
|
data: TabDesignerViewModel;
|
|
@@ -155,7 +156,7 @@ export declare class CellQuestionDropdownAdornerComponent extends SurveyElementB
|
|
|
155
156
|
}
|
|
156
157
|
export declare class CreatorSurveyPageComponent extends SurveyElementBase<ICreatorSurveyPageComponentProps, any> {
|
|
157
158
|
constructor(props: ICreatorSurveyPageComponentProps);
|
|
158
|
-
model:
|
|
159
|
+
model: PageAdorner;
|
|
159
160
|
rootRef: any;
|
|
160
161
|
protected getStateElement(): Base;
|
|
161
162
|
componentDidMount(): void;
|
|
@@ -283,6 +284,7 @@ export declare class SurveyCreatorComponent extends SurveyElementBase<ISurveyCre
|
|
|
283
284
|
constructor(props: ISurveyCreatorComponentProps);
|
|
284
285
|
get creator(): CreatorBase;
|
|
285
286
|
protected getStateElement(): Base;
|
|
287
|
+
get style(): any;
|
|
286
288
|
componentDidMount(): void;
|
|
287
289
|
componentWillUnmount(): void;
|
|
288
290
|
rootNode: any;
|
|
@@ -314,6 +316,18 @@ export declare class SurveyElementEmbeddedSurvey extends SurveyQuestionElementBa
|
|
|
314
316
|
protected get creator(): ISurveyCreator;
|
|
315
317
|
render(): any;
|
|
316
318
|
}
|
|
319
|
+
export declare class SurveyNavigation extends SurveyElementBase<any, any> {
|
|
320
|
+
constructor(props: any);
|
|
321
|
+
componentDidMount(): void;
|
|
322
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
323
|
+
onPropChangedHandler: any;
|
|
324
|
+
componentWillUnmount(): void;
|
|
325
|
+
protected get survey(): SurveyModel;
|
|
326
|
+
protected get location(): string;
|
|
327
|
+
protected get isTop(): boolean;
|
|
328
|
+
protected canRender(): boolean;
|
|
329
|
+
renderElement(): any;
|
|
330
|
+
}
|
|
317
331
|
export declare class SurveyPageNavigator extends SurveyElementBase<ISurveyPageNavigatorProps, any> {
|
|
318
332
|
constructor(props: ISurveyPageNavigatorProps);
|
|
319
333
|
model: PageNavigatorViewModel;
|