survey-creator-core 1.9.103 → 1.9.105

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.
@@ -237,6 +237,7 @@ export declare var logicCss: {
237
237
  tableWrapper: string;
238
238
  mainRoot: string;
239
239
  root: string;
240
+ noHeader: string;
240
241
  row: string;
241
242
  rowAdditional: string;
242
243
  cell: string;
@@ -4,6 +4,7 @@ import { CreatorBase } from "../../creator-base";
4
4
  export declare class TestSurveyTabViewModel extends Base {
5
5
  private surveyProvider;
6
6
  private startTheme;
7
+ static tagRegex: RegExp;
7
8
  private json;
8
9
  pages: ActionContainer;
9
10
  prevPageAction: Action;
@@ -5,4 +5,4 @@ export declare function fontsettingsToCssVariable(question: IQuestion, themeCssV
5
5
  }): void;
6
6
  export declare function fontsettingsFromCssVariable(question: IQuestion, themeCssVariables: {
7
7
  [index: string]: string;
8
- }, defaultColorVariable?: string): any;
8
+ }, defaultColorVariable?: string, defaultPlaceholderColorVariable?: string): any;
@@ -93,6 +93,7 @@ export declare class ThemeSurveyTabViewModel extends Base {
93
93
  protected createThemeEditorSurvey(): SurveyModel;
94
94
  private loadThemeIntoPropertyGrid;
95
95
  private updatePGEditors;
96
+ private raiseThemeChanged;
96
97
  private setThemeToSurvey;
97
98
  private getThemeEditorSurveyJSON;
98
99
  }
@@ -201,9 +201,11 @@ export declare var translationCss: {
201
201
  mainRoot: string;
202
202
  tableWrapper: string;
203
203
  root: string;
204
+ noHeader: string;
204
205
  rowError: string;
205
206
  cell: string;
206
207
  headerCell: string;
208
+ rowTextCell: string;
207
209
  label: string;
208
210
  itemValue: string;
209
211
  itemChecked: string;
@@ -218,14 +220,18 @@ export declare var translationCss: {
218
220
  matrixdropdown: {
219
221
  mainRoot: string;
220
222
  root: string;
223
+ noHeader: string;
221
224
  cell: string;
222
225
  headerCell: string;
226
+ rowTextCell: string;
223
227
  };
224
228
  matrixdynamic: {
225
229
  mainRoot: string;
226
230
  root: string;
231
+ noHeader: string;
227
232
  cell: string;
228
233
  headerCell: string;
234
+ rowTextCell: string;
229
235
  button: string;
230
236
  detailRow: string;
231
237
  detailButton: string;
@@ -71,6 +71,7 @@ export declare class TranslationGroup extends TranslationItemBase {
71
71
  hasIndent: boolean;
72
72
  private isRootValue;
73
73
  private itemValues;
74
+ private parentValue;
74
75
  constructor(name: any, obj: any, translation?: ITranslationLocales, text?: string, hasIndent?: boolean);
75
76
  getType(): string;
76
77
  showHeader: boolean;
@@ -78,6 +79,11 @@ export declare class TranslationGroup extends TranslationItemBase {
78
79
  get locItems(): Array<TranslationItem>;
79
80
  get isRoot(): boolean;
80
81
  setAsRoot(): void;
82
+ setParent(parent: TranslationGroup): void;
83
+ get parent(): TranslationGroup;
84
+ get fullName(): string;
85
+ protected getNameForChild(): string;
86
+ protected get isFinalNameObj(): boolean;
81
87
  getItemByName(name: string): TranslationItemBase;
82
88
  get groups(): Array<TranslationGroup>;
83
89
  get isGroup(): boolean;
@@ -103,6 +109,7 @@ export declare class TranslationGroup extends TranslationItemBase {
103
109
  private getDefaultValue;
104
110
  private isItemValueArray;
105
111
  private createGroups;
112
+ private addNewGroup;
106
113
  private createItemValuesLocale;
107
114
  private addCustomPropertiesForItemValue;
108
115
  }
@@ -156,7 +163,6 @@ export declare class Translation extends Base implements ITranslationLocales {
156
163
  private createStringsHeaderSurvey;
157
164
  private addTranslationGroupIntoStringsSurvey;
158
165
  private addLocaleColumns;
159
- private getStringsSurveyQuestionName;
160
166
  private getStringsSurveyData;
161
167
  private getStringsQuestionData;
162
168
  private updateHeaderStringsSurveyColumns;
@@ -7,6 +7,7 @@ export declare class EditorLocalization {
7
7
  reset(): void;
8
8
  getString(strName: string, locale?: string): string;
9
9
  hasString(strName: string, locale?: string): boolean;
10
+ private getStringByLocale;
10
11
  getLocaleName(loc: string, defaultLocale?: string): string;
11
12
  getPropertyName(strName: string, defaultName?: string): string;
12
13
  getPropertyTitle(strName: string): string;
@@ -162,6 +163,7 @@ export declare var defaultStrings: {
162
163
  translationPlaceHolder: string;
163
164
  themeExportButton: string;
164
165
  themeImportButton: string;
166
+ themeResetButton: string;
165
167
  bold: string;
166
168
  italic: string;
167
169
  underline: string;
@@ -1035,6 +1037,7 @@ export declare var defaultStrings: {
1035
1037
  fontFamily: string;
1036
1038
  fontSize: string;
1037
1039
  color: string;
1040
+ placeholderColor: string;
1038
1041
  size: string;
1039
1042
  fontWeightRegular: string;
1040
1043
  fontWeightHeavy: string;
@@ -133,6 +133,7 @@ export declare var enStrings: {
133
133
  translationPlaceHolder: string;
134
134
  themeExportButton: string;
135
135
  themeImportButton: string;
136
+ themeResetButton: string;
136
137
  bold: string;
137
138
  italic: string;
138
139
  underline: string;
@@ -1006,6 +1007,7 @@ export declare var enStrings: {
1006
1007
  fontFamily: string;
1007
1008
  fontSize: string;
1008
1009
  color: string;
1010
+ placeholderColor: string;
1009
1011
  size: string;
1010
1012
  fontWeightRegular: string;
1011
1013
  fontWeightHeavy: string;
@@ -5,7 +5,6 @@ export declare abstract class PropertyGridEditorMatrix extends PropertyGridEdito
5
5
  static getNewColumnName(objs: Array<any>, keyPropName: string, baseName: string): string | number;
6
6
  onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
7
7
  onSetup(obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions): void;
8
- private initializeAcceptedTypes;
9
8
  private initializePlaceholder;
10
9
  onMatrixCellCreated(obj: Base, options: any): void;
11
10
  onMatrixCellValueChanged(obj: Base, options: any): void;
@@ -7,6 +7,7 @@ export declare class QuestionConverter {
7
7
  private static updateJSON;
8
8
  private static updateJSONFromQuestionDefaultSettings;
9
9
  private static updateJSONForMatrices;
10
+ private static getColumnName;
10
11
  private static updateJSONForRating;
11
12
  private static updateJSONForBarrating;
12
13
  private static updateJSONForPanels;
@@ -1,4 +1,5 @@
1
1
  import { DragDropCore, DragTypeOverMeEnum, IElement, IPanel, IShortcutText, ISurveyElement, JsonObject, PageModel, QuestionRowModel } from "survey-core";
2
+ import { IQuestionToolboxItem } from "./toolbox";
2
3
  export declare function calculateIsEdge(dropTargetNode: HTMLElement, clientY: number): boolean;
3
4
  export declare function calculateIsSide(dropTargetNode: HTMLElement, clientX: number): boolean;
4
5
  export declare function calculateDragOverLocation(clientX: number, clientY: number, dropTargetNode: HTMLElement): DragTypeOverMeEnum;
@@ -15,7 +16,7 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
15
16
  protected dragOverLocation: DragTypeOverMeEnum;
16
17
  protected get draggedElementType(): string;
17
18
  protected isDraggedElementSelected: boolean;
18
- startDragToolboxItem(event: PointerEvent, draggedElementJson: JsonObject, toolboxItemTitle: string): void;
19
+ startDragToolboxItem(event: PointerEvent, draggedElementJson: JsonObject, toolboxItemModel: IQuestionToolboxItem): void;
19
20
  startDragSurveyElement(event: PointerEvent, draggedElement: any, isElementSelected?: boolean): void;
20
21
  protected getShortcutText(draggedElement: IShortcutText): string;
21
22
  protected createDraggedElementShortcut(text: string, draggedElementNode?: HTMLElement, event?: PointerEvent): HTMLElement;
@@ -20,6 +20,7 @@ export interface IQuestionToolboxItem extends IAction {
20
20
  * Toolbox item title
21
21
  */
22
22
  title: string;
23
+ className: string;
23
24
  /**
24
25
  * Toolbox item tooltip. It equals to title if it is empty
25
26
  */
@@ -47,6 +48,7 @@ export declare class QuestionToolboxCategory extends Base {
47
48
  export declare class QuestionToolboxItem extends Action implements IQuestionToolboxItem {
48
49
  private item;
49
50
  constructor(item: IQuestionToolboxItem);
51
+ className: string;
50
52
  iconName: string;
51
53
  name: string;
52
54
  json: any;