survey-creator-react 1.9.20 → 1.9.23

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/README.md CHANGED
@@ -35,8 +35,6 @@ export class SurveyCreatorWidget extends Component {
35
35
  this.creator = new SurveyCreator({ showLogicTab: true });
36
36
  // Enable auto save
37
37
  this.creator.isAutoSave = true;
38
- // Show notifications before and after a survey definition JSON is saved
39
- this.creator.showState = true;
40
38
  // Save the survey definition JSON to your web service
41
39
  this.creator.saveSurveyFunc = (saveNo, callback) => {
42
40
  // Call a function on your web service to store the survey definition JSON
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-react",
3
- "version": "1.9.20",
3
+ "version": "1.9.23",
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.20",
36
+ "survey-creator-core": "1.9.23",
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.20
2
+ * Type definition for Survey Creator library for React v1.9.23
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, TextareaJsonEditorModel } from "survey-creator-core";
8
- import { ObjectSelectorModel, PropertyGridViewModel, PageViewModel, ImageItemValueWrapperViewModel, ItemValueWrapperViewModel } from "survey-creator-core";
9
- import { LogoImageViewModel, MatrixCellWrapperViewModel, QuestionRatingAdornerViewModel, RowViewModel, ITabbedMenuItem } from "survey-creator-core";
10
- import { ToolboxToolViewModel, QuestionEmbeddedSurveyModel, PageNavigatorViewModel, QuestionLinkValueModel, SurveyResultsModel } from "survey-creator-core";
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
- creator: CreatorBase;
120
- pages: any;
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: PageViewModel;
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;