survey-creator-core 1.9.28 → 1.9.29

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
1
  /*
2
- * Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.28
2
+ * Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.29
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: https://surveyjs.io/Licenses#SurveyCreator
5
5
  */
@@ -794,6 +794,11 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
794
794
  get showSimulatorInPreviewTab(): boolean;
795
795
  set showSimulatorInPreviewTab(val: boolean);
796
796
  /*
797
+ * Specifies a theme to use for the survey in the Preview tab.
798
+ * Accepted values: `"modern"`, `"default"`, `"defaultV2"`
799
+ */
800
+ themeForPreview: string;
801
+ /*
797
802
  * Set this property to false to disable pages adding, editing and deleting
798
803
  */
799
804
  allowModifyPages: boolean;
@@ -1330,7 +1335,6 @@ export declare class ObjectSelector {
1330
1335
  export declare class ObjectSelectorItem extends Action {
1331
1336
  constructor(id: number, data: Base, title: string, level: number);
1332
1337
  data: Base;
1333
- title: string;
1334
1338
  level: number;
1335
1339
  textInLow: string;
1336
1340
  hasText(filteredTextInLow: string): boolean;
@@ -1532,6 +1536,10 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
1532
1536
  * Add a copied Question into Toolbox
1533
1537
  */
1534
1538
  addCopiedItem(question: Question, options?: any): void;
1539
+ /*
1540
+ * Add a toolbox item
1541
+ */
1542
+ getActionByItem(item: IQuestionToolboxItem): QuestionToolboxItem;
1535
1543
  addItem(item: IQuestionToolboxItem, index?: number): void;
1536
1544
  /*
1537
1545
  * Add a new toolbox item, add delete the old item with the same name
@@ -1606,7 +1614,6 @@ export declare class QuestionToolboxItem extends Action implements IQuestionTool
1606
1614
  iconName: string;
1607
1615
  name: string;
1608
1616
  json: any;
1609
- title: string;
1610
1617
  tooltip: string;
1611
1618
  isCopied: boolean;
1612
1619
  category: string;
@@ -2197,6 +2204,10 @@ export declare class Translation extends Base implements ITranslationLocales {
2197
2204
  importFromCSVFile(file: any): void;
2198
2205
  mergeLocaleWithDefault(): void;
2199
2206
  translateItemAfterRender(item: TranslationItem, el: any, locale: string): void;
2207
+ /*
2208
+ * Update a translation item with given values
2209
+ */
2210
+ updateItemWithStrings(item: TranslationItem, values: any, locales: any): void;
2200
2211
  dispose(): void;
2201
2212
  }
2202
2213
  export declare class TranslationItemBase extends Base {
@@ -3101,6 +3112,7 @@ export declare function getElementWrapperComponentData(element: any, reason: str
3101
3112
  export declare function getItemValueWrapperComponentName(item: ItemValue, question: QuestionSelectBase): string;
3102
3113
  export declare function getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase, creator: CreatorBase): any;
3103
3114
  export declare function isStringEditable(element: any, name: string): boolean;
3115
+ export declare function isTextInput(target: any): boolean;
3104
3116
  export declare var editorLocalization: EditorLocalization;
3105
3117
  export declare var defaultStrings: any;
3106
3118
  export declare var settings: {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.28
2
+ * SurveyJS Creator v1.9.29
3
3
  * (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.28
2
+ * SurveyJS Creator v1.9.29
3
3
  * (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator