survey-creator-core 1.9.44 → 1.9.47

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.44
2
+ * Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.47
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: https://surveyjs.io/Licenses#SurveyCreator
5
5
  */
@@ -275,7 +275,7 @@ export interface ICreatorOptions {
275
275
  *
276
276
  * Default value: `true`
277
277
  *
278
- * [View the "Switch Between Themes" demo](https://surveyjs.io/Examples/Creator?id=theme-switcher)
278
+ * [View the "Switch Between Themes" demo](https://surveyjs.io/Examples/Creator?id=theme-switcher (linkStyle))
279
279
  */
280
280
  allowChangeThemeInPreview?: boolean;
281
281
  /*
@@ -1190,7 +1190,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
1190
1190
  *
1191
1191
  * Default value: `true`
1192
1192
  *
1193
- * [View the "Switch Between Themes" demo](https://surveyjs.io/Examples/Creator?id=theme-switcher)
1193
+ * [View the "Switch Between Themes" demo](https://surveyjs.io/Examples/Creator?id=theme-switcher (linkStyle))
1194
1194
  */
1195
1195
  allowChangeThemeInPreview: boolean;
1196
1196
  tabbedMenu: any;
@@ -1880,6 +1880,11 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
1880
1880
  allowExpandMultipleCategoriesValue: boolean;
1881
1881
  keepAllCategoriesExpandedValue: boolean;
1882
1882
  dragOrClickHelper: DragOrClickHelper;
1883
+ /*
1884
+ * Contains toolbox categories and allows you to modify them.
1885
+ *
1886
+ * [View example](https://surveyjs.io/Examples/Survey-Creator?id=toolboxcategories)
1887
+ */
1883
1888
  categories: any;
1884
1889
  /*
1885
1890
  * Set and get and active category. This property doesn't work if allowExpandMultipleCategories is true. Its default value is empty.
@@ -1988,7 +1993,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
1988
1993
  * Collapse all categories. If allowExpandMultipleCategories is false (default value) this function does nothing
1989
1994
  */
1990
1995
  collapseAllCategories(): void;
1991
- invisibleItemSelected(model: Action): void;
1996
+ hiddenItemSelected(model: Action): void;
1992
1997
  protected onItemsChanged(): void;
1993
1998
  protected createCategory(): QuestionToolboxCategory;
1994
1999
  dispose(): void;
@@ -2136,6 +2141,9 @@ export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyEl
2136
2141
  protected updateActionVisibility(id: string, isVisible: boolean): void;
2137
2142
  getActionById(id: string): Action;
2138
2143
  protected buildActions(items: any): void;
2144
+ get allowEdit(): boolean;
2145
+ get showAddQuestionButton(): boolean;
2146
+ protected setShowAddQuestionButton(val: boolean): void;
2139
2147
  protected duplicate(): void;
2140
2148
  }
2141
2149
  export declare class SurveyForTextWorker extends SurveyModel {
@@ -2796,8 +2804,6 @@ export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
2796
2804
  hover(event: any, element: any): void;
2797
2805
  hoverStopper(event: any, element: any): void;
2798
2806
  protected duplicate(): void;
2799
- get allowEdit(): boolean;
2800
- get showAddQuestionButton(): boolean;
2801
2807
  get addNewQuestionText(): string;
2802
2808
  }
2803
2809
  export declare class PropertyEditorSetupValue implements IPropertyEditorSetup {
@@ -2844,8 +2850,6 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
2844
2850
  set isRequired(val: any);
2845
2851
  onPointerDown(pointerDownEvent: any): void;
2846
2852
  startDragSurveyElement: (event: any) => boolean;
2847
- get allowEdit(): boolean;
2848
- get showAddQuestionButton(): boolean;
2849
2853
  getConvertToTypesActions(): Array<IAction>;
2850
2854
  protected buildActions(items: any): void;
2851
2855
  protected duplicate(): void;
@@ -3102,6 +3106,7 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
3102
3106
  set title(val: string);
3103
3107
  get isModal(): boolean;
3104
3108
  set isModal(val: boolean);
3109
+ protected updatePlaceholderVisibileIf(): void;
3105
3110
  protected getSurveyJSON(): any;
3106
3111
  protected getSurveyCreationReason(): string;
3107
3112
  get text(): string;
@@ -3114,6 +3119,8 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
3114
3119
  get panel(): QuestionPanelDynamicModel;
3115
3120
  get textEditor(): QuestionCommentModel;
3116
3121
  get isReady(): boolean;
3122
+ errorText: string;
3123
+ hasErrorInUI(): boolean;
3117
3124
  apply(): boolean;
3118
3125
  setIsFastEntry(showTextEdit: boolean): void;
3119
3126
  isSettingPanelValues: boolean;