survey-creator-core 1.9.84 → 1.9.86

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,10 +6,17 @@ 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
+ get enableAdd(): boolean;
15
+ get addClassNames(): string;
16
+ static allowRemoveForElement(element: QuestionRatingModel): boolean;
12
17
  get allowRemove(): boolean;
18
+ get enableRemove(): boolean;
19
+ get removeClassNames(): string;
13
20
  get addTooltip(): string;
14
21
  get removeTooltip(): string;
15
22
  }
@@ -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.
@@ -46,6 +46,11 @@ export declare var settings: {
46
46
  };
47
47
  logic: {
48
48
  defaultOperator: string;
49
+ defaultOperators: {
50
+ default: string;
51
+ checkbox: string;
52
+ tagbox: string;
53
+ };
49
54
  visibleActions: any[];
50
55
  logicItemTitleMaxChars: number;
51
56
  openBracket: string;
@@ -102,6 +107,9 @@ export declare var settings: {
102
107
  };
103
108
  image: {
104
109
  imageLink: string;
110
+ imageFit: string;
111
+ imageHeight: string;
112
+ imageWidth: string;
105
113
  };
106
114
  };
107
115
  };
@@ -7,9 +7,12 @@ export declare class QuestionColorModel extends QuestionTextModel {
7
7
  onColorInputChange(event: Event): void;
8
8
  getType(): string;
9
9
  _renderedValue: string;
10
+ private resetRenderedValue;
11
+ private updateRenderedValue;
10
12
  get renderedValue(): string;
11
13
  getSwatchStyle(): {
12
14
  [index: string]: string;
13
15
  };
14
16
  get isInputTextUpdate(): boolean;
17
+ onSurveyValueChanged(newValue: any): void;
15
18
  }
@@ -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;
@@ -102,9 +102,12 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
102
102
  private canShowQuestionValue;
103
103
  private getConditionQuestion;
104
104
  private getQuestionConditionJson;
105
+ private: any;
105
106
  private updateOperatorEnables;
106
107
  private updateQuestionsWidth;
107
108
  private get defaultOperator();
109
+ private getDefaultOperatorByQuestionName;
110
+ private getDefaultOperatorByQuestion;
108
111
  private getFirstEnabledOperator;
109
112
  private onPanelAdded;
110
113
  private onPanelValueChanged;
@@ -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
  }