survey-creator-core 1.9.56 → 1.9.58

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.56
2
+ * Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.58
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: https://surveyjs.io/Licenses#SurveyCreator
5
5
  */
@@ -283,6 +283,14 @@ export interface ICreatorOptions {
283
283
  */
284
284
  allowChangeThemeInPreview?: boolean;
285
285
  /*
286
+ * Specifies the orientation of the selected device in the Preview tab.
287
+ *
288
+ * Possible values:
289
+ * - `"landscape"` (default)
290
+ * - `"portrait"`
291
+ */
292
+ previewOrientation?: "landscape" | "portrait";
293
+ /*
286
294
  * Limits question and panels types available in the Toolbox and Add Question menu.
287
295
  *
288
296
  * Refer to the [Limit Available Question and Panel Types](https://surveyjs.io/Documentation/Survey-Creator?id=toolbox#limit-available-question-and-panel-types) help topic for more information.
@@ -581,6 +589,14 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
581
589
  showSearch: boolean;
582
590
  generateValidJSON: boolean;
583
591
  currentAddQuestionType: string;
592
+ /*
593
+ * Specifies the orientation of the selected device in the Preview tab.
594
+ *
595
+ * Possible values:
596
+ * - `"landscape"` (default)
597
+ * - `"portrait"`
598
+ */
599
+ previewOrientation: "landscape" | "portrait";
584
600
  isRTLValue: boolean;
585
601
  alwaySaveTextInPropertyEditorsValue: boolean;
586
602
  toolbarValue: any;
@@ -3019,6 +3035,8 @@ export declare class SurveyLogicUI extends SurveyLogic {
3019
3035
  dispose(): void;
3020
3036
  addNewUI(): void;
3021
3037
  toggleExpressionEditorIsFastEntry(): void;
3038
+ updateEditableItemIsModifiedState(): void;
3039
+ haveUnsavedRules(): boolean;
3022
3040
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
3023
3041
  protected onReadOnlyChanged(): void;
3024
3042
  get expressionEditor(): ConditionEditor;
@@ -3038,7 +3056,7 @@ export declare class SurveyLogicUI extends SurveyLogic {
3038
3056
  protected getEditingActions(): Array<SurveyLogicAction>;
3039
3057
  protected getLogicItemSurveyJSON(): any;
3040
3058
  get addNewText(): string;
3041
- get emptyTabPlaceHolder(): string;
3059
+ get emptyTabPlaceholder(): string;
3042
3060
  }
3043
3061
  export declare class TabDesignerPlugin implements ICreatorPlugin {
3044
3062
  constructor(creator: CreatorBase);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.56
2
+ * SurveyJS Creator v1.9.58
3
3
  * (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator