survey-creator-react 1.9.19 → 1.9.22

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.19",
3
+ "version": "1.9.22",
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.19",
36
+ "survey-creator-core": "1.9.22",
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.19
2
+ * Type definition for Survey Creator library for React v1.9.22
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";
@@ -116,8 +116,8 @@ export interface ISidebarComponentProps {
116
116
  model: SidebarModel;
117
117
  }
118
118
  export interface ISurveyPageNavigatorProps {
119
- creator: CreatorBase;
120
- pages: any;
119
+ pagesController: PagesController;
120
+ pageEditMode: string;
121
121
  }
122
122
  export interface ITabDesignerComponentProps {
123
123
  data: TabDesignerViewModel;
@@ -155,7 +155,7 @@ export declare class CellQuestionDropdownAdornerComponent extends SurveyElementB
155
155
  }
156
156
  export declare class CreatorSurveyPageComponent extends SurveyElementBase<ICreatorSurveyPageComponentProps, any> {
157
157
  constructor(props: ICreatorSurveyPageComponentProps);
158
- model: PageViewModel;
158
+ model: PageAdorner;
159
159
  rootRef: any;
160
160
  protected getStateElement(): Base;
161
161
  componentDidMount(): void;