survey-creator-core 1.9.102 → 1.9.103

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
+ }
@@ -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;
@@ -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";
@@ -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;