survey-creator-core 1.9.93 → 1.9.94

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.
@@ -39,5 +39,5 @@ export declare class ItemValueWrapperViewModel extends Base {
39
39
  get tooltip(): string;
40
40
  get dragTooltip(): string;
41
41
  get allowAdd(): boolean;
42
- select(model: ItemValueWrapperViewModel, event: Event): void;
42
+ select(model: ItemValueWrapperViewModel, event: Event | undefined): void;
43
43
  }
@@ -5,6 +5,7 @@ export declare class MatrixCellWrapperEditSurvey {
5
5
  private surveyValue;
6
6
  constructor(creator: CreatorBase, cellQuestion: Question);
7
7
  get survey(): SurveyModel;
8
+ get question(): Question;
8
9
  apply(): void;
9
10
  }
10
11
  export declare class MatrixCellWrapperViewModel extends Base {
@@ -1 +1 @@
1
- export {};
1
+ export declare const DefaultFonts: string[];
@@ -2,6 +2,27 @@ import { SurveySimulatorModel } from "../simulator";
2
2
  import { Base, PageModel, SurveyModel, Action, IAction, ActionContainer, ITheme } from "survey-core";
3
3
  import { CreatorBase } from "../../creator-base";
4
4
  export declare const Themes: any;
5
+ export declare const PredefinedThemes: string[];
6
+ export declare const PredefinedColors: {
7
+ light: {
8
+ teal: string;
9
+ blue: string;
10
+ purple: string;
11
+ orchid: string;
12
+ tulip: string;
13
+ brown: string;
14
+ green: string;
15
+ };
16
+ dark: {
17
+ teal: string;
18
+ blue: string;
19
+ purple: string;
20
+ orchid: string;
21
+ tulip: string;
22
+ brown: string;
23
+ green: string;
24
+ };
25
+ };
5
26
  export declare class ThemeSurveyTabViewModel extends Base {
6
27
  private surveyProvider;
7
28
  private startTheme;
@@ -1035,5 +1035,26 @@ export declare var defaultStrings: {
1035
1035
  boxShadowSpread: string;
1036
1036
  questionShadow: string;
1037
1037
  editorShadow: string;
1038
+ names: {
1039
+ default: string;
1040
+ contrast: string;
1041
+ plain: string;
1042
+ simple: string;
1043
+ blank: string;
1044
+ double: string;
1045
+ bulk: string;
1046
+ "pseudo-3d": string;
1047
+ playful: string;
1048
+ ultra: string;
1049
+ };
1050
+ colors: {
1051
+ teal: string;
1052
+ blue: string;
1053
+ purple: string;
1054
+ orchid: string;
1055
+ tulip: string;
1056
+ brown: string;
1057
+ green: string;
1058
+ };
1038
1059
  };
1039
1060
  };
@@ -1006,5 +1006,26 @@ export declare var enStrings: {
1006
1006
  boxShadowSpread: string;
1007
1007
  questionShadow: string;
1008
1008
  editorShadow: string;
1009
+ names: {
1010
+ default: string;
1011
+ contrast: string;
1012
+ plain: string;
1013
+ simple: string;
1014
+ blank: string;
1015
+ double: string;
1016
+ bulk: string;
1017
+ "pseudo-3d": string;
1018
+ playful: string;
1019
+ ultra: string;
1020
+ };
1021
+ colors: {
1022
+ teal: string;
1023
+ blue: string;
1024
+ purple: string;
1025
+ orchid: string;
1026
+ tulip: string;
1027
+ brown: string;
1028
+ green: string;
1029
+ };
1009
1030
  };
1010
1031
  };
@@ -1,4 +1,4 @@
1
- import { Base, JsonObjectProperty, PanelModel, PanelModelBase, Question, SurveyModel, MatrixDynamicRowModel } from "survey-core";
1
+ import { Base, JsonObjectProperty, PanelModel, PanelModelBase, Question, SurveyModel, MatrixDynamicRowModel, QuestionTextBase } from "survey-core";
2
2
  import { ISurveyCreatorOptions } from "../creator-settings";
3
3
  import { QuestionFileEditorModel } from "../custom-questions/question-file";
4
4
  export interface IPropertyEditorSetup {
@@ -167,6 +167,7 @@ export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
167
167
  }
168
168
  export declare abstract class PropertyGridEditorStringBase extends PropertyGridEditor {
169
169
  protected updateMaxLength(prop: JsonObjectProperty, json: any): any;
170
+ onCreated(obj: Base, question: QuestionTextBase, prop: JsonObjectProperty, options: ISurveyCreatorOptions): void;
170
171
  }
171
172
  export declare class PropertyGridEditorString extends PropertyGridEditorStringBase {
172
173
  fit(prop: JsonObjectProperty): boolean;
@@ -1,5 +1,5 @@
1
- import { QuestionMatrixDynamicModel, IAction, MatrixDynamicRowModel } from "survey-core";
1
+ import { QuestionMatrixDynamicModel, IAction, MatrixDynamicRowModel, MatrixDropdownRowModelBase } from "survey-core";
2
2
  export declare function findAction(actions: Array<IAction>, id: string): IAction;
3
- export declare function updateMatrixLogicExpandAction(question: QuestionMatrixDynamicModel, actions: Array<IAction>, row: MatrixDynamicRowModel): void;
3
+ export declare function updateMatrixLogicExpandAction(question: QuestionMatrixDynamicModel, actions: Array<IAction>, row: MatrixDropdownRowModelBase): void;
4
4
  export declare function updateMatrixLogicRemoveAction(question: QuestionMatrixDynamicModel, actions: Array<IAction>, row: MatrixDynamicRowModel): void;
5
5
  export declare function updateMatrixRemoveAction(question: QuestionMatrixDynamicModel, actions: Array<IAction>, row: MatrixDynamicRowModel): void;