survey-creator-core 1.9.84 → 1.9.85

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.
@@ -6,9 +6,12 @@ export declare class QuestionRatingAdornerViewModel extends Base {
6
6
  templateData: SurveyTemplateRendererTemplateData;
7
7
  constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
8
8
  get element(): QuestionRatingModel;
9
+ static useRateValues(element: any): boolean;
9
10
  addItem(model: QuestionRatingAdornerViewModel): void;
10
11
  removeItem(model: QuestionRatingAdornerViewModel): void;
12
+ static allowAddForElement(element: QuestionRatingModel, maximumRateValues: number): boolean;
11
13
  get allowAdd(): boolean;
14
+ static allowRemoveForElement(element: QuestionRatingModel): boolean;
12
15
  get allowRemove(): boolean;
13
16
  get addTooltip(): string;
14
17
  get removeTooltip(): string;
@@ -23,6 +23,7 @@ export declare class TabDesignerViewModel extends Base {
23
23
  private calculateDesignerCss;
24
24
  initSurvey(): void;
25
25
  private checkNewPage;
26
+ dispose(): void;
26
27
  private checkLastPageToDelete;
27
28
  clickDesigner(): void;
28
29
  getRootCss(): string;
@@ -287,7 +287,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
287
287
  * - `options.allowAddToToolbox` - Allows users to save the current survey element configuration in the Toolbox.
288
288
  * - `options.allowChangeRequired` - Allows users to make the survey element required.
289
289
  * - `options.allowChangeType` - Allows users to change the survey element type.
290
- * - `options.allowChangeInputType` - Allows users to change the text question inputType property.
290
+ * - `options.allowChangeInputType` - Allows users to change the [`inputType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#inputType) property of Single-Line Input questions.
291
291
  * - `options.allowCopy` - Allows users to duplicate the survey element.
292
292
  * - `options.allowDelete` - Allows users to delete the survey element.
293
293
  * - `options.allowDragging` - Allows users to drag and drop the survey element.
@@ -102,6 +102,9 @@ export declare var settings: {
102
102
  };
103
103
  image: {
104
104
  imageLink: string;
105
+ imageFit: string;
106
+ imageHeight: string;
107
+ imageWidth: string;
105
108
  };
106
109
  };
107
110
  };
@@ -791,6 +791,9 @@ export declare var defaultStrings: {
791
791
  buttons: string;
792
792
  dropdown: string;
793
793
  };
794
+ rateColorMode: {
795
+ default: string;
796
+ };
794
797
  };
795
798
  op: {
796
799
  empty: string;
@@ -762,6 +762,9 @@ export declare var enStrings: {
762
762
  buttons: string;
763
763
  dropdown: string;
764
764
  };
765
+ rateColorMode: {
766
+ default: string;
767
+ };
765
768
  };
766
769
  op: {
767
770
  empty: string;
@@ -58,6 +58,9 @@ export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEdit
58
58
  }
59
59
  export declare class PropertyGridEditorMatrixRateValues extends PropertyGridEditorMatrixItemValues {
60
60
  fit(prop: JsonObjectProperty): boolean;
61
+ private updateAllowAddRemove;
62
+ onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
63
+ onGetQuestionTitleActions(obj: Base, options: any): void;
61
64
  protected filterPropertyNames(propNames: Array<string>): string[];
62
65
  }
63
66
  export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorMatrix {
@@ -40,4 +40,5 @@ export declare class SurveyHelper {
40
40
  index: number;
41
41
  name: string;
42
42
  };
43
+ static isSupportCellEditor(type: string): boolean;
43
44
  }