survey-creator-core 1.9.4-beta.1 → 1.9.5-beta.1

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.
@@ -1,5 +1,5 @@
1
- /*Type definitions for SurveyJS Creator JavaScript library v1.9.4-beta.1
2
- (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
1
+ /*Type definitions for SurveyJS Creator JavaScript library v1.9.5-beta.1
2
+ (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
3
3
  Github: https://github.com/surveyjs/survey-creator
4
4
  License: https://surveyjs.io/Licenses#SurveyCreator
5
5
  */
@@ -61,6 +61,7 @@ import "../components/side-bar/side-bar.scss";
61
61
  import "../property-grid-theme/property-grid.scss";
62
62
  import "../utils/design.scss";
63
63
  import "../utils/layout.scss";
64
+ import "../localization/arabic";
64
65
  import "../localization/danish";
65
66
  import "../localization/french";
66
67
  import "../localization/german";
@@ -528,6 +529,7 @@ export declare var enStrings: {
528
529
  triggerGotoName: string;
529
530
  triggerIsVariable: string;
530
531
  triggerRunExpressionEmpty: string;
532
+ emptyExpressionPlaceHolder: string;
531
533
  noFile: string;
532
534
  };
533
535
  pv: {
@@ -1355,6 +1357,7 @@ export declare var defaultStrings: {
1355
1357
  triggerGotoName: string;
1356
1358
  triggerIsVariable: string;
1357
1359
  triggerRunExpressionEmpty: string;
1360
+ emptyExpressionPlaceHolder: string;
1358
1361
  noFile: string;
1359
1362
  };
1360
1363
  pv: {
@@ -1958,7 +1961,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
1958
1961
  * @see haveCommercialLicense
1959
1962
  */
1960
1963
  haveCommercialLicense: boolean;
1961
- get licenseText(): any;
1964
+ get licenseText(): string;
1962
1965
  /**
1963
1966
  * A boolean property, false by default. Set it to true to call protected doSave method automatically on survey changing.
1964
1967
  */
@@ -4374,8 +4377,10 @@ export declare class QuestionLinkValueModel extends Question {
4374
4377
  showClear: boolean;
4375
4378
  allowClear: boolean;
4376
4379
  showValueInLink: boolean;
4380
+ showTooltip: boolean;
4377
4381
  constructor(name: string, json?: any);
4378
4382
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
4383
+ get tooltip(): string;
4379
4384
  getType(): string;
4380
4385
  doLinkClick(): void;
4381
4386
  doClearClick(): void;
@@ -4485,13 +4490,13 @@ export declare abstract class PropertyGridEditor implements IPropertyGridEditor
4485
4490
  showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, onClose?: (reason: "apply" | "cancel") => void): any;
4486
4491
  protected onModalPropertyEditorShown(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
4487
4492
  protected onModalPropertyEditorClosed(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, reason: "apply" | "cancel"): void;
4488
- protected isSupportGrouping(): boolean;
4493
+ isSupportGrouping(): boolean;
4489
4494
  onUpdateQuestionCssClasses(obj: Base, options: any): void;
4490
4495
  }
4491
4496
  export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
4492
4497
  fit(prop: JsonObjectProperty, context?: string): boolean;
4493
4498
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
4494
- protected isSupportGrouping(): boolean;
4499
+ isSupportGrouping(): boolean;
4495
4500
  }
4496
4501
  export declare abstract class PropertyGridEditorStringBase extends PropertyGridEditor {
4497
4502
  protected updateMaxLength(prop: JsonObjectProperty, json: any): any;
@@ -4724,7 +4729,7 @@ export declare abstract class PropertyGridValueEditorBase extends PropertyGridEd
4724
4729
  onCreated: (obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions) => void;
4725
4730
  clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
4726
4731
  protected isValueEmpty(val: any): boolean;
4727
- protected isSupportGrouping(): boolean;
4732
+ isSupportGrouping(): boolean;
4728
4733
  }
4729
4734
  export declare class PropertyGridCellsEditor extends PropertyGridValueEditorBase {
4730
4735
  fit(prop: JsonObjectProperty): boolean;
@@ -5313,6 +5318,7 @@ export declare function select(element: any): void;
5313
5318
  export declare function copyObject(dst: any, src: any): void;
5314
5319
  export declare function copyCssClasses(dest: any, source: any): void;
5315
5320
  export declare function assignDefaultV2Classes(destination: any, questionType: string): void;
5321
+ export declare function wrapTextByCurlyBraces(text: string): string;
5316
5322
 
5317
5323
  export interface ISurveyQuestionEditorDefinition {
5318
5324
  title?: string;
@@ -5552,8 +5558,7 @@ export declare class SurveyLogicItem {
5552
5558
  get name(): string;
5553
5559
  get survey(): SurveyModel;
5554
5560
  getVisibleLogicTypes(): Array<SurveyLogicType>;
5555
- get title(): string;
5556
- get actionsText(): string;
5561
+ getDisplayText(): any;
5557
5562
  edit(): void;
5558
5563
  remove(): void;
5559
5564
  get isReadOnly(): boolean;
@@ -5567,9 +5572,9 @@ export declare class SurveyLogicItem {
5567
5572
  removeQuestion(name: string): void;
5568
5573
  getQuestionNames(): string[];
5569
5574
  getActionTypes(): string[];
5570
- get expressionText(): string;
5571
5575
  get editText(): string;
5572
5576
  get deleteText(): string;
5577
+ get ifText(): string;
5573
5578
  isSuitable(filteredName: string, logicTypeName?: string): boolean;
5574
5579
  }
5575
5580
 
@@ -5894,13 +5899,13 @@ export declare abstract class PropertyGridEditor implements IPropertyGridEditor
5894
5899
  showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, onClose?: (reason: "apply" | "cancel") => void): any;
5895
5900
  protected onModalPropertyEditorShown(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
5896
5901
  protected onModalPropertyEditorClosed(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, reason: "apply" | "cancel"): void;
5897
- protected isSupportGrouping(): boolean;
5902
+ isSupportGrouping(): boolean;
5898
5903
  onUpdateQuestionCssClasses(obj: Base, options: any): void;
5899
5904
  }
5900
5905
  export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
5901
5906
  fit(prop: JsonObjectProperty, context?: string): boolean;
5902
5907
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
5903
- protected isSupportGrouping(): boolean;
5908
+ isSupportGrouping(): boolean;
5904
5909
  }
5905
5910
  export declare abstract class PropertyGridEditorStringBase extends PropertyGridEditor {
5906
5911
  protected updateMaxLength(prop: JsonObjectProperty, json: any): any;