survey-creator-core 1.9.23 → 1.9.24

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.23
2
+ * Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.24
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: https://surveyjs.io/Licenses#SurveyCreator
5
5
  */
@@ -1414,7 +1414,8 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
1414
1414
  creator: CreatorBase;
1415
1415
  static hiddenTypes: any;
1416
1416
  _orderedQuestions: any;
1417
- _questionDefaultSettings: any;
1417
+ static getQuestionDefaultSettings(questionType: string): any;
1418
+ static _questionDefaultSettings: any;
1418
1419
  /*
1419
1420
  * Modify this array to change the toolbox items order.
1420
1421
  */
@@ -2027,7 +2028,7 @@ export declare class TabbedMenuItem extends Action implements ITabbedMenuItem {
2027
2028
  renderTab: any;
2028
2029
  }
2029
2030
  export declare class TestSurveyTabViewModel extends Base {
2030
- constructor(surveyProvider: CreatorBase);
2031
+ constructor(surveyProvider: CreatorBase, startTheme?: any);
2031
2032
  json: any;
2032
2033
  pages: any;
2033
2034
  prevPageAction: Action;
@@ -2047,11 +2048,14 @@ export declare class TestSurveyTabViewModel extends Base {
2047
2048
  get survey(): SurveyModel;
2048
2049
  get pageActions(): any;
2049
2050
  get isPageToolbarVisible(): boolean;
2050
- setJSON(json: any): void;
2051
+ updateSimulatorSurvey(json: any, theme: any): void;
2052
+ setJSON(json: any, currTheme: any): void;
2051
2053
  initialize(json: any, options: any): void;
2052
2054
  show(): void;
2053
2055
  testAgain(): void;
2054
2056
  buildActions(): void;
2057
+ setTheme(themeName: string, themeMapper: any): void;
2058
+ getCurrThemeTitle(themeMapper: any): string;
2055
2059
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
2056
2060
  }
2057
2061
  export declare class ToolbarActionContainer extends ActionContainer {
@@ -2449,6 +2453,9 @@ export declare class TabTestPlugin implements ICreatorPlugin {
2449
2453
  languageSelectorAction: Action;
2450
2454
  languagePopupModel: any;
2451
2455
  languageListModel: ListModel;
2456
+ changeThemePopupModel: any;
2457
+ changeThemeModel: ListModel;
2458
+ changeThemeAction: Action;
2452
2459
  deviceSelectorAction: Action;
2453
2460
  deviceListModel: ListModel;
2454
2461
  orientationSelectorAction: Action;
@@ -2457,6 +2464,7 @@ export declare class TabTestPlugin implements ICreatorPlugin {
2457
2464
  designerAction: Action;
2458
2465
  prevPageAction: Action;
2459
2466
  nextPageAction: Action;
2467
+ simulatorTheme: any;
2460
2468
  model: TestSurveyTabViewModel;
2461
2469
  activate(): void;
2462
2470
  update(): void;
@@ -3359,6 +3367,8 @@ export declare var propertyGridCss: {
3359
3367
  buttonRemove: string,
3360
3368
  iconAdd: string,
3361
3369
  iconRemove: string,
3370
+ dragElementDecorator: string,
3371
+ iconDragElement: string,
3362
3372
  iconDrag: string,
3363
3373
  dragDropGhostPositionTop: string,
3364
3374
  dragDropGhostPositionBottom: string,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.23
2
+ * SurveyJS Creator v1.9.24
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.23
2
+ * SurveyJS Creator v1.9.24
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