survey-creator-core 1.9.102 → 1.9.104

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.
@@ -25,4 +25,5 @@ export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyEl
25
25
  get showAddQuestionButton(): boolean;
26
26
  protected setShowAddQuestionButton(val: boolean): void;
27
27
  protected duplicate(): void;
28
+ protected delete(): void;
28
29
  }
@@ -27,6 +27,7 @@ export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
27
27
  hover(event: MouseEvent, element: HTMLElement | any): void;
28
28
  hoverStopper(event: MouseEvent, element: HTMLElement | any): void;
29
29
  protected duplicate(): void;
30
+ protected delete(): void;
30
31
  get addNewQuestionText(): string;
31
32
  private _footerActionsBar;
32
33
  get footerActionsBar(): ActionContainer;
@@ -1 +1 @@
1
- export declare const json: any;
1
+ export declare const json: any;
@@ -1,13 +1,13 @@
1
- import { Base, SurveyModel } from "survey-core";
2
- import { ICreatorPlugin, CreatorBase } from "../../creator-base";
3
- export declare class EmbedModel extends Base {
4
- survey: SurveyModel;
5
- constructor(creator: CreatorBase);
6
- }
7
- export declare class TabEmbedPlugin implements ICreatorPlugin {
8
- private creator;
9
- model: EmbedModel;
10
- constructor(creator: CreatorBase);
11
- activate(): void;
12
- deactivate(): boolean;
13
- }
1
+ import { Base, SurveyModel } from "survey-core";
2
+ import { ICreatorPlugin, CreatorBase } from "../../creator-base";
3
+ export declare class EmbedModel extends Base {
4
+ survey: SurveyModel;
5
+ constructor(creator: CreatorBase);
6
+ }
7
+ export declare class TabEmbedPlugin implements ICreatorPlugin {
8
+ private creator;
9
+ model: EmbedModel;
10
+ constructor(creator: CreatorBase);
11
+ activate(): void;
12
+ deactivate(): boolean;
13
+ }
@@ -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;
@@ -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;
@@ -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;
@@ -96,12 +96,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
96
96
  * Default value: `false`
97
97
  */
98
98
  showThemeTab: boolean;
99
- /**
100
- * Specifies whether to display the Embed Survey tab.
101
- *
102
- * Default value: `false`
103
- */
104
- showEmbeddedSurveyTab: boolean;
105
99
  /**
106
100
  * Specifies whether to display the Translation tab.
107
101
  *
@@ -135,13 +129,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
135
129
  */
136
130
  get showSurveyTitle(): boolean;
137
131
  set showSurveyTitle(val: boolean);
138
- /**
139
- * Removes the Free Trial bar.
140
- *
141
- * Default value: `false`
142
- *
143
- * > You can enable this property only if you have a Survey Creator commercial license. It is illegal to enable this property without a license.
144
- */
145
132
  get haveCommercialLicense(): boolean;
146
133
  set haveCommercialLicense(val: boolean);
147
134
  get licenseText(): string;
@@ -1159,7 +1146,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
1159
1146
  private isObjThisType;
1160
1147
  private addNewElementReason;
1161
1148
  onDragDropItemStart(): void;
1162
- onDragDropItemEnd(): void;
1163
1149
  private doOnQuestionAdded;
1164
1150
  private doOnPanelAdded;
1165
1151
  private doOnPageAdded;
@@ -1382,7 +1368,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
1382
1368
  onGetElementEditorTitleCallback(obj: Base, title: string): string;
1383
1369
  onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any[]): string;
1384
1370
  onConditionGetTitleCallback(expression: string, title: string): string;
1385
- isConditionOperatorEnabled(questionName: string, questionType: string, operator: string, isEnabled: boolean): boolean;
1371
+ isConditionOperatorEnabled(questionName: string, question: Question, operator: string, isEnabled: boolean): boolean;
1386
1372
  onLogicGetTitleCallback(expression: string, expressionText: string, text: string, logicItem: any): string;
1387
1373
  getProcessedTranslationItemText(locale: string, locString: ILocalizableString, newText: string, obj: any): string;
1388
1374
  getTranslationExportedText(obj: Base, name: string, locString: ILocalizableString, locale: string, text: string): string;
@@ -43,13 +43,6 @@ export interface ICreatorOptions {
43
43
  * Default value: `false`
44
44
  */
45
45
  showTranslationTab?: boolean;
46
- /**
47
- * Removes the Free Trial bar.
48
- *
49
- * Default value: `false`
50
- *
51
- * > You can enable this property only if you have a Survey Creator commercial license. It is illegal to enable this property without a license.
52
- */
53
46
  haveCommercialLicense?: boolean;
54
47
  /**
55
48
  * Specifies whether to call the [`saveSurveyFunc`](https://surveyjs.io/Documentation/Survey-Creator?id=surveycreator#saveSurveyFunc) and [`saveThemeFunc`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#saveThemeFunc) functions each time survey or theme settings are changed.
@@ -188,7 +188,7 @@ export interface ISurveyCreatorOptions {
188
188
  createSurvey(json: any, reason: string, surveyType?: new (json: any) => SurveyModel): any;
189
189
  onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any[]): string;
190
190
  onConditionGetTitleCallback(expression: string, title: string): string;
191
- isConditionOperatorEnabled(questionName: string, questionType: string, operator: string, isEnabled: boolean): boolean;
191
+ isConditionOperatorEnabled(questionName: string, question: Question, operator: string, isEnabled: boolean): boolean;
192
192
  onLogicGetTitleCallback(expression: string, displayExpression: string, text: string, logicItem: any): string;
193
193
  getProcessedTranslationItemText(locale: string, locString: ILocalizableString, newText: string, obj: any): string;
194
194
  getTranslationExportedText(obj: Base, name: string, locString: ILocalizableString, locale: string, text: string): string;
@@ -230,7 +230,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
230
230
  createSurvey(json: any, reason: string, surveyType?: new (json: any) => SurveyModel): SurveyModel;
231
231
  onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any[]): string;
232
232
  onConditionGetTitleCallback(expression: string, title: string): string;
233
- isConditionOperatorEnabled(questionName: string, questionType: string, operator: string, isEnabled: boolean): boolean;
233
+ isConditionOperatorEnabled(questionName: string, question: Question, operator: string, isEnabled: boolean): boolean;
234
234
  onLogicGetTitleCallback(expression: string, displayExpression: string, text: string, logicItem: any): string;
235
235
  getTranslationExportedText(obj: Base, name: string, locString: ILocalizableString, locale: string, text: string): string;
236
236
  uploadFiles(files: File[], question: Question, uploadingCallback: (status: string, data: any) => any): void;
@@ -1035,6 +1035,7 @@ export declare var defaultStrings: {
1035
1035
  fontFamily: string;
1036
1036
  fontSize: string;
1037
1037
  color: string;
1038
+ placeholderColor: string;
1038
1039
  size: string;
1039
1040
  fontWeightRegular: string;
1040
1041
  fontWeightHeavy: string;
@@ -6,7 +6,6 @@ export * from "../creator-settings";
6
6
  export { ICreatorOptions } from "../creator-options";
7
7
  export * from "../creator-base";
8
8
  export * from "../creator-responsivity-manager";
9
- export * from "../components/tabs/embed";
10
9
  export * from "../components/tabs/json-editor-ace";
11
10
  export * from "../components/tabs/json-editor-plugin";
12
11
  export * from "../components/tabs/json-editor-textarea";
@@ -1006,6 +1006,7 @@ export declare var enStrings: {
1006
1006
  fontFamily: string;
1007
1007
  fontSize: string;
1008
1008
  color: string;
1009
+ placeholderColor: string;
1009
1010
  size: string;
1010
1011
  fontWeightRegular: string;
1011
1012
  fontWeightHeavy: string;
@@ -243,8 +243,13 @@ export declare class PropertyGridEditorQuestion extends PropertyGridEditor {
243
243
  }
244
244
  export declare class PropertyGridEditorQuestionSelectBase extends PropertyGridEditorQuestion {
245
245
  fit(prop: JsonObjectProperty): boolean;
246
+ protected isQuestionFit(question: Question): boolean;
246
247
  protected getQuestions(survey: SurveyModel, obj: Base): Array<Question>;
247
248
  }
249
+ export declare class PropertyGridEditorQuestionCarryForward extends PropertyGridEditorQuestionSelectBase {
250
+ fit(prop: JsonObjectProperty): boolean;
251
+ protected isQuestionFit(question: Question): boolean;
252
+ }
248
253
  export declare class PropertyGridEditorQuestionValue extends PropertyGridEditorQuestion {
249
254
  fit(prop: JsonObjectProperty): boolean;
250
255
  protected getItemValue(question: Question): any;
@@ -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;