survey-creator-core 1.9.86 → 1.9.88

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,9 +1,17 @@
1
- import { SurveyElement, SurveyTemplateRendererTemplateData } from "survey-core";
1
+ import { QuestionImageModel, SurveyElement, SurveyTemplateRendererTemplateData, QuestionFileModel } from "survey-core";
2
2
  import { CreatorBase } from "../creator-base";
3
3
  import { QuestionAdornerViewModel } from "./question";
4
4
  export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
5
5
  questionRoot: HTMLElement;
6
+ filePresentationModel: QuestionFileModel;
7
+ private initFilePresentationModel;
6
8
  constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData, questionRoot: HTMLElement);
7
9
  isUploading: any;
10
+ isEmptyImageLink: any;
8
11
  chooseFile(model: QuestionImageAdornerViewModel): void;
12
+ imageLinkValueChangedHandler(): void;
13
+ get isEmptyElement(): boolean;
14
+ get question(): QuestionImageModel;
15
+ get placeholderText(): string;
16
+ get chooseImageText(): string;
9
17
  }
@@ -6,6 +6,8 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
6
6
  templateData: SurveyTemplateRendererTemplateData;
7
7
  isDragged: boolean;
8
8
  currentAddQuestionType: string;
9
+ placeholderComponent: string;
10
+ placeholderComponentData: any;
9
11
  private dragOrClickHelper;
10
12
  constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
11
13
  get element(): SurveyElement<any>;
@@ -1349,7 +1349,25 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
1349
1349
  showToolbar: any;
1350
1350
  allowCollapseSidebar: any;
1351
1351
  isMobileView: any;
1352
+ /**
1353
+ * Specifies Toolbox location.
1354
+ *
1355
+ * Possible values:
1356
+ *
1357
+ * - `"left"` (default) - Displays Toolbox on the left side of the design surface.
1358
+ * - `"right"` - Displays Toolbox on the right side of the design surface.
1359
+ * - `"sidebar"` - Displays Toolbox as an overlay on top of Property Grid. Use the [`sidebarLocation`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#sidebarLocation) property to specify Property Grid position.
1360
+ */
1352
1361
  toolboxLocation: toolboxLocationType;
1362
+ /**
1363
+ * Specifies the position of the sidebar that displays Property Grid.
1364
+ *
1365
+ * Possible values:
1366
+ *
1367
+ * - `"right"` (default) - Displays the sidebar on the right side of the design surface.
1368
+ * - `"left"` - Displays the sidebar on the left side of the design surface.
1369
+ * @see toolboxLocation
1370
+ */
1353
1371
  sidebarLocation: "left" | "right";
1354
1372
  selectFromStringEditor: boolean;
1355
1373
  isCreatorDisposed: boolean;
@@ -166,6 +166,8 @@ export declare var defaultStrings: {
166
166
  htmlPlaceHolder: string;
167
167
  panelPlaceHolder: string;
168
168
  surveyPlaceHolder: string;
169
+ imagePlaceHolder: string;
170
+ imageChooseImage: string;
169
171
  addNewTypeQuestion: string;
170
172
  chooseLogoPlaceholder: string;
171
173
  auto: string;
@@ -794,6 +796,10 @@ export declare var defaultStrings: {
794
796
  rateColorMode: {
795
797
  default: string;
796
798
  };
799
+ autoGenerate: {
800
+ true: string;
801
+ false: string;
802
+ };
797
803
  };
798
804
  op: {
799
805
  empty: string;
@@ -137,6 +137,8 @@ export declare var enStrings: {
137
137
  htmlPlaceHolder: string;
138
138
  panelPlaceHolder: string;
139
139
  surveyPlaceHolder: string;
140
+ imagePlaceHolder: string;
141
+ imageChooseImage: string;
140
142
  addNewTypeQuestion: string;
141
143
  chooseLogoPlaceholder: string;
142
144
  auto: string;
@@ -765,6 +767,10 @@ export declare var enStrings: {
765
767
  rateColorMode: {
766
768
  default: string;
767
769
  };
770
+ autoGenerate: {
771
+ true: string;
772
+ false: string;
773
+ };
768
774
  };
769
775
  op: {
770
776
  empty: string;
@@ -58,6 +58,8 @@ export declare class UndoRedoAction implements IUndoRedoAction {
58
58
  private _oldValue;
59
59
  private _newValue;
60
60
  private _sender;
61
+ static maximumMergeTime: number;
62
+ private tickCount;
61
63
  constructor(_propertyName: string, _oldValue: any, _newValue: any, _sender: Base);
62
64
  apply(): void;
63
65
  rollback(): void;
@@ -8,5 +8,6 @@ export declare class QuestionConverter {
8
8
  private static updateJSONFromQuestionDefaultSettings;
9
9
  private static updateJSONForMatrices;
10
10
  private static updateJSONForRating;
11
+ private static updateJSONForBarrating;
11
12
  private static updateJSONForPanels;
12
13
  }
@@ -264,6 +264,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
264
264
  private getComponentItems;
265
265
  private addItemFromJSON;
266
266
  private getQuestionJSON;
267
+ private isHiddenCustomWidget;
267
268
  private getQuestionTypes;
268
269
  dispose(): void;
269
270
  }