survey-creator-core 1.9.73 → 1.9.75

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.
@@ -905,6 +905,9 @@ declare module "creator-settings" {
905
905
  dropdown: {
906
906
  choices: string[];
907
907
  };
908
+ tagbox: {
909
+ choices: string[];
910
+ };
908
911
  checkbox: {
909
912
  choices: string[];
910
913
  };
@@ -2683,6 +2686,7 @@ declare module "property-grid-theme/property-grid" {
2683
2686
  text: {
2684
2687
  root: string;
2685
2688
  small: string;
2689
+ content: string;
2686
2690
  onError: string;
2687
2691
  };
2688
2692
  multipletext: {
@@ -2776,6 +2780,7 @@ declare module "property-grid-theme/property-grid" {
2776
2780
  };
2777
2781
  comment: {
2778
2782
  root: string;
2783
+ content: string;
2779
2784
  small: string;
2780
2785
  };
2781
2786
  expression: string;
@@ -4370,6 +4375,7 @@ declare module "components/tabs/translation" {
4370
4375
  fillLocales(locales: Array<string>): void;
4371
4376
  mergeLocaleWithDefault(loc: string): void;
4372
4377
  makeObservable(): void;
4378
+ deleteLocaleStrings(locale: string): void;
4373
4379
  protected fireOnObjCreating(obj?: Base): void;
4374
4380
  }
4375
4381
  export class TranslationItemString extends Base {
@@ -4405,6 +4411,7 @@ declare module "components/tabs/translation" {
4405
4411
  private correctJSON;
4406
4412
  private getKeys;
4407
4413
  mergeLocaleWithDefault(loc: string): void;
4414
+ deleteLocaleStrings(locale: string): void;
4408
4415
  getPlaceholder(locale: string): string;
4409
4416
  getTextForExport(loc: string): string;
4410
4417
  getPlaceholderText(loc: string): string;
@@ -4453,6 +4460,7 @@ declare module "components/tabs/translation" {
4453
4460
  get showAllStrings(): boolean;
4454
4461
  get hasItems(): boolean;
4455
4462
  mergeLocaleWithDefault(loc: string): void;
4463
+ deleteLocaleStrings(locale: string): void;
4456
4464
  private fillItems;
4457
4465
  private sortItems;
4458
4466
  private getLocalizedProperties;
@@ -4501,6 +4509,7 @@ declare module "components/tabs/translation" {
4501
4509
  fireOnObjCreating(obj: Base): void;
4502
4510
  get settingsSurvey(): SurveyModel;
4503
4511
  get localesQuestion(): QuestionCheckboxModel;
4512
+ deleteLocaleStrings(locale: string): void;
4504
4513
  protected createSettingsSurvey(): SurveyModel;
4505
4514
  private isChooseLanguageEnabled;
4506
4515
  private calcIsChooseLanguageEnabled;
@@ -4536,6 +4545,7 @@ declare module "components/tabs/translation" {
4536
4545
  removeLocale(locale: string): void;
4537
4546
  hasLocale(locale: string): boolean;
4538
4547
  addLocale(locale: string): void;
4548
+ private updateChooseLanguageActions;
4539
4549
  resetLocales(): void;
4540
4550
  getSelectedLocales(): Array<string>;
4541
4551
  setSelectedLocales(selectedLocales: Array<string>): void;
@@ -5014,6 +5024,7 @@ declare module "property-grid/condition-survey" {
5014
5024
  private createAllConditionQuestions;
5015
5025
  private getContextObject;
5016
5026
  private addValuesIntoConditionQuestions;
5027
+ private addSurveyCalculatedValues;
5017
5028
  private calculatedValueQuestion;
5018
5029
  private getCalculatedValueQuestion;
5019
5030
  private getOperators;
@@ -5955,7 +5966,7 @@ declare module "creator-base" {
5955
5966
  * Contains the value of the [`pageEditMode`](https://surveyjs.io/Documentation/Survey-Creator?id=ICreatorOptions#pageEditMode) property specified in the constructor.
5956
5967
  */
5957
5968
  get pageEditMode(): "standard" | "single" | "bypage";
5958
- protected set pageEditMode(val: "standard" | "single" | "bypage");
5969
+ set pageEditMode(val: "standard" | "single" | "bypage");
5959
5970
  surveyValue: SurveyModel;
5960
5971
  get toolbarItems(): Array<Action>;
5961
5972
  get toolbar(): ActionContainer;
@@ -6609,7 +6620,7 @@ declare module "creator-base" {
6609
6620
  * Default value: `true`
6610
6621
  */
6611
6622
  get allowModifyPages(): boolean;
6612
- protected set allowModifyPages(val: boolean);
6623
+ set allowModifyPages(val: boolean);
6613
6624
  /**
6614
6625
  * Obsolete. Use the [`showDefaultLanguageInPreviewTab`](https://surveyjs.io/Documentation/Survey-Creator?id=surveycreator#showDefaultLanguageInPreviewTab) property instead.
6615
6626
  */
@@ -7011,6 +7022,11 @@ declare module "creator-base" {
7011
7022
  * Returns true if selected element is null or there is no errors.
7012
7023
  */
7013
7024
  validateSelectedElement(): boolean;
7025
+ /**
7026
+ * Deletes all custom translation strings for the passed locale from Survey Creator and from the generated survey JSON schema.
7027
+ * @param locale A locale code (for example, "en").
7028
+ */
7029
+ deleteLocaleStrings(locale: string): void;
7014
7030
  private getPropertyGridExpandedCategory;
7015
7031
  private expandCategoryIfNeeded;
7016
7032
  private selectionChanged;