survey-creator-core 1.9.85 → 1.9.87

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.
@@ -11,8 +11,12 @@ export declare class QuestionRatingAdornerViewModel extends Base {
11
11
  removeItem(model: QuestionRatingAdornerViewModel): void;
12
12
  static allowAddForElement(element: QuestionRatingModel, maximumRateValues: number): boolean;
13
13
  get allowAdd(): boolean;
14
+ get enableAdd(): boolean;
15
+ get addClassNames(): string;
14
16
  static allowRemoveForElement(element: QuestionRatingModel): boolean;
15
17
  get allowRemove(): boolean;
18
+ get enableRemove(): boolean;
19
+ get removeClassNames(): string;
16
20
  get addTooltip(): string;
17
21
  get removeTooltip(): string;
18
22
  }
@@ -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;
@@ -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;
@@ -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
  }
@@ -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;
@@ -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
  }