survey-creator-react 1.9.22 → 1.9.25
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 +18 -3
- package/survey-creator-react.js +28 -21
- 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.25",
|
|
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.25",
|
|
37
37
|
"react": "^17.0.1",
|
|
38
38
|
"react-dom": "^17.0.1"
|
|
39
39
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creator library for React v1.9.
|
|
2
|
+
* Type definition for Survey Creator library for React v1.9.25
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -10,8 +10,8 @@ import { ItemValueWrapperViewModel, LogoImageViewModel, MatrixCellWrapperViewMod
|
|
|
10
10
|
import { ITabbedMenuItem, ToolboxToolViewModel, QuestionEmbeddedSurveyModel, PageNavigatorViewModel, QuestionLinkValueModel } from "survey-creator-core";
|
|
11
11
|
import { SurveyResultsModel, QuestionImageAdornerViewModel, IPortableMouseEvent, ICreatorOptions, IPortableDragEvent } from "survey-creator-core";
|
|
12
12
|
import { Action, Question, QuestionRowModel, SurveyModel, PageModel } from "survey-core";
|
|
13
|
-
import { QuestionSelectBase, ItemValue, ImageItemValue, Base,
|
|
14
|
-
import { IAction, ResponsivityManager, VerticalResponsivityManager } from "survey-core";
|
|
13
|
+
import { QuestionSelectBase, ItemValue, ImageItemValue, Base, QuestionImagePickerModel } from "survey-core";
|
|
14
|
+
import { SurveyError, IAction, ResponsivityManager, VerticalResponsivityManager } from "survey-core";
|
|
15
15
|
import { SurveyElementBase, ISurveyCreator, SurveyQuestionElementBase } from "survey-react-ui";
|
|
16
16
|
import * as React from "react";
|
|
17
17
|
|
|
@@ -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;
|
|
@@ -171,6 +172,7 @@ export declare class ImageItemValueAdornerComponent extends SurveyElementBase<Im
|
|
|
171
172
|
model: ImageItemValueWrapperViewModel;
|
|
172
173
|
rootRef: any;
|
|
173
174
|
protected getStateElement(): Base;
|
|
175
|
+
protected get question(): QuestionImagePickerModel;
|
|
174
176
|
componentDidMount(): void;
|
|
175
177
|
preventDragHandler: any;
|
|
176
178
|
render(): any;
|
|
@@ -283,6 +285,7 @@ export declare class SurveyCreatorComponent extends SurveyElementBase<ISurveyCre
|
|
|
283
285
|
constructor(props: ISurveyCreatorComponentProps);
|
|
284
286
|
get creator(): CreatorBase;
|
|
285
287
|
protected getStateElement(): Base;
|
|
288
|
+
get style(): any;
|
|
286
289
|
componentDidMount(): void;
|
|
287
290
|
componentWillUnmount(): void;
|
|
288
291
|
rootNode: any;
|
|
@@ -314,6 +317,18 @@ export declare class SurveyElementEmbeddedSurvey extends SurveyQuestionElementBa
|
|
|
314
317
|
protected get creator(): ISurveyCreator;
|
|
315
318
|
render(): any;
|
|
316
319
|
}
|
|
320
|
+
export declare class SurveyNavigation extends SurveyElementBase<any, any> {
|
|
321
|
+
constructor(props: any);
|
|
322
|
+
componentDidMount(): void;
|
|
323
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
324
|
+
onPropChangedHandler: any;
|
|
325
|
+
componentWillUnmount(): void;
|
|
326
|
+
protected get survey(): SurveyModel;
|
|
327
|
+
protected get location(): string;
|
|
328
|
+
protected get isTop(): boolean;
|
|
329
|
+
protected canRender(): boolean;
|
|
330
|
+
renderElement(): any;
|
|
331
|
+
}
|
|
317
332
|
export declare class SurveyPageNavigator extends SurveyElementBase<ISurveyPageNavigatorProps, any> {
|
|
318
333
|
constructor(props: ISurveyPageNavigatorProps);
|
|
319
334
|
model: PageNavigatorViewModel;
|