survey-creator-core 1.11.5 → 1.11.7

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.
Files changed (91) hide show
  1. package/fonts.fontless.css +1 -1
  2. package/fonts.fontless.min.css +1 -1
  3. package/i18n/arabic.js +1 -1
  4. package/i18n/arabic.min.js +1 -1
  5. package/i18n/bulgarian.js +1 -1
  6. package/i18n/bulgarian.min.js +1 -1
  7. package/i18n/croatian.js +1 -1
  8. package/i18n/croatian.min.js +1 -1
  9. package/i18n/czech.js +1 -1
  10. package/i18n/czech.min.js +1 -1
  11. package/i18n/danish.js +1 -1
  12. package/i18n/danish.min.js +1 -1
  13. package/i18n/dutch.js +1 -1
  14. package/i18n/dutch.min.js +1 -1
  15. package/i18n/english.js +7 -3
  16. package/i18n/english.js.map +1 -1
  17. package/i18n/english.min.js +2 -2
  18. package/i18n/finnish.js +1 -1
  19. package/i18n/finnish.min.js +1 -1
  20. package/i18n/french.js +1 -1
  21. package/i18n/french.min.js +1 -1
  22. package/i18n/german.js +1 -1
  23. package/i18n/german.min.js +1 -1
  24. package/i18n/hebrew.js +1 -1
  25. package/i18n/hebrew.min.js +1 -1
  26. package/i18n/hungarian.js +1 -1
  27. package/i18n/hungarian.min.js +1 -1
  28. package/i18n/index.js +1 -1
  29. package/i18n/index.min.js +1 -1
  30. package/i18n/indonesian.js +1 -1
  31. package/i18n/indonesian.min.js +1 -1
  32. package/i18n/italian.js +1 -1
  33. package/i18n/italian.min.js +1 -1
  34. package/i18n/japanese.js +1 -1
  35. package/i18n/japanese.min.js +1 -1
  36. package/i18n/korean.js +1 -1
  37. package/i18n/korean.min.js +1 -1
  38. package/i18n/malay.js +1 -1
  39. package/i18n/malay.min.js +1 -1
  40. package/i18n/mongolian.js +1 -1
  41. package/i18n/mongolian.min.js +1 -1
  42. package/i18n/norwegian.js +1 -1
  43. package/i18n/norwegian.min.js +1 -1
  44. package/i18n/persian.js +1 -1
  45. package/i18n/persian.min.js +1 -1
  46. package/i18n/polish.js +1 -1
  47. package/i18n/polish.min.js +1 -1
  48. package/i18n/portuguese.js +1 -1
  49. package/i18n/portuguese.min.js +1 -1
  50. package/i18n/russian.js +1 -1
  51. package/i18n/russian.min.js +1 -1
  52. package/i18n/simplified-chinese.js +1 -1
  53. package/i18n/simplified-chinese.min.js +1 -1
  54. package/i18n/slovak.js +1 -1
  55. package/i18n/slovak.min.js +1 -1
  56. package/i18n/spanish.js +1 -1
  57. package/i18n/spanish.min.js +1 -1
  58. package/i18n/swedish.js +1 -1
  59. package/i18n/swedish.min.js +1 -1
  60. package/i18n/tajik.js +1 -1
  61. package/i18n/tajik.min.js +1 -1
  62. package/i18n/traditional-chinese.js +1 -1
  63. package/i18n/traditional-chinese.min.js +1 -1
  64. package/i18n/turkish.js +1 -1
  65. package/i18n/turkish.min.js +1 -1
  66. package/package.json +2 -2
  67. package/survey-creator-core.css +247 -39
  68. package/survey-creator-core.fontless.css +246 -38
  69. package/survey-creator-core.fontless.css.map +1 -1
  70. package/survey-creator-core.fontless.min.css +10 -10
  71. package/survey-creator-core.i18n.js +1 -1
  72. package/survey-creator-core.i18n.min.js +1 -1
  73. package/survey-creator-core.js +653 -186
  74. package/survey-creator-core.js.map +1 -1
  75. package/survey-creator-core.min.css +11 -11
  76. package/survey-creator-core.min.js +4 -4
  77. package/typings/components/action-container-view-model.d.ts +9 -1
  78. package/typings/components/question.d.ts +4 -2
  79. package/typings/components/tabs/designer-plugin.d.ts +2 -0
  80. package/typings/components/tabs/designer-state-manager.d.ts +17 -0
  81. package/typings/components/tabs/theme-plugin.d.ts +2 -0
  82. package/typings/components/toolbox/toolbox-tool.d.ts +8 -4
  83. package/typings/creator-base.d.ts +30 -6
  84. package/typings/creator-events-api.d.ts +21 -20
  85. package/typings/creator-options.d.ts +12 -0
  86. package/typings/editorLocalization.d.ts +4 -0
  87. package/typings/localization/english.d.ts +4 -0
  88. package/typings/property-grid/index.d.ts +6 -0
  89. package/typings/questionconverter.d.ts +2 -1
  90. package/typings/survey-helper.d.ts +1 -0
  91. package/typings/toolbox.d.ts +133 -86
@@ -3,38 +3,58 @@ import { SurveyCreatorModel, toolboxLocationType } from "./creator-base";
3
3
  import { SearchManagerToolbox } from "./property-grid/search-manager";
4
4
  export declare type overflowBehaviorType = "hideInMenu" | "scroll";
5
5
  /**
6
- * The Toolbox item description.
6
+ * A toolbox item configuration.
7
+ *
8
+ * `IQuestionToolboxItem` objects are used in such Toolbox API methods as [`getItemByName(name)`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#getItemByName), [`addItem(name, index)`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#addItem), [`replaceItem(name)`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#replaceItem), and others.
9
+ *
10
+ * [Toolbox Customization](https://surveyjs.io/survey-creator/documentation/toolbox-customization (linkStyle))
7
11
  */
8
12
  export interface IQuestionToolboxItem extends IAction {
9
13
  /**
10
- * A unique name
14
+ * A toolbox item identifier.
15
+ *
16
+ * > Toolbox item names must be unique.
11
17
  */
12
18
  name: string;
13
19
  /**
14
- * Icon name
20
+ * An icon name.
21
+ *
22
+ * [UI Icons](https://surveyjs.io/form-library/documentation/icons (linkStyle))
15
23
  */
16
24
  iconName: string;
17
25
  /**
18
- * The JSON that used to create a new question/panel. The 'type' attribute is required.
26
+ * A JSON object used to create a new question or panel when users click this toolbox item. It must contain the `type` property.
27
+ *
28
+ * [View Toolbox Customization Demo](https://surveyjs.io/survey-creator/examples/survey-toolbox-customization/ (linkStyle))
19
29
  */
20
30
  json: any;
21
31
  /**
22
- * Toolbox item title
32
+ * A user-friendly toolbox item title.
23
33
  */
24
34
  title: string;
25
35
  className: string;
26
36
  /**
27
- * Toolbox item tooltip. It equals to title if it is empty
37
+ * A toolbox item tooltip.
38
+ *
39
+ * If `tooltip` is undefined, the [`title`](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem#title) property value is used instead.
28
40
  */
29
41
  tooltip?: string;
30
- /**
31
- * True, if an end user added this item into Toolbox from the survey.
32
- */
33
42
  isCopied: boolean;
34
43
  /**
35
- * Toolbox item category. If it is empty, it goes to 'General' category.
44
+ * A category to which this toolbox item belongs.
45
+ *
46
+ * Out-of-the-box categories include `"general"`, `"choice"`, `"text"`, `"containers"`, `"matrix"`, and `"misc"`.
47
+ *
48
+ * Default value: `"general"`
36
49
  */
37
50
  category: string;
51
+ /**
52
+ * Specifies whether users can interact with the toolbox item.
53
+ *
54
+ * Default value: `true`
55
+ */
56
+ enabled?: boolean;
57
+ getArea?: (el: HTMLElement) => HTMLElement;
38
58
  }
39
59
  export interface IQuestionToolbox {
40
60
  toggleCategoryState(name: string): any;
@@ -73,10 +93,26 @@ export declare class QuestionToolboxItem extends Action implements IQuestionTool
73
93
  toJSON(): IQuestionToolboxItem;
74
94
  get typeName(): string;
75
95
  get isPanel(): boolean;
96
+ getArea(target: HTMLElement): HTMLElement;
76
97
  hasText(text: string): boolean;
77
98
  }
78
99
  /**
79
- * The list of Toolbox items.
100
+ * An object that enables you to modify Survey Creator's Toolbox. To access this object, use the [`toolbox`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#toolbox) property on a Survey Creator instance:
101
+ *
102
+ * ```js
103
+ * const creatorOptions = { ... };
104
+ * const creator = new SurveyCreator.SurveyCreator(creatorOptions);
105
+ * creator.toolbox.settingName = "value";
106
+ *
107
+ * // In modular applications:
108
+ * import { SurveyCreatorModel } from "survey-creator-core";
109
+ *
110
+ * const creatorOptions = { ... };
111
+ * const creator = new SurveyCreatorModel(creatorOptions);
112
+ * creator.toolbox.settingName = "value";
113
+ * ```
114
+ *
115
+ * [Toolbox Customization](https://surveyjs.io/survey-creator/documentation/toolbox-customization (linkStyle))
80
116
  */
81
117
  export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToolboxItem> implements IQuestionToolbox {
82
118
  private supportedQuestions;
@@ -95,14 +131,9 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
95
131
  get itemSelector(): string;
96
132
  get containerSelector(): string;
97
133
  static getQuestionDefaultSettings(questionType: string): any;
98
- /**
99
- * Modify this array to change the toolbox items order.
100
- */
134
+ static getSubTypePropertyName(questionType: string): string;
101
135
  get orderedQuestions(): string[];
102
136
  set orderedQuestions(questions: string[]);
103
- /**
104
- * The maximum number of copied toolbox items. If an user adding copiedItemMaxCount + 1 item, the first added item will be removed.
105
- */
106
137
  copiedItemMaxCount: number;
107
138
  private allowExpandMultipleCategoriesValue;
108
139
  private keepAllCategoriesExpandedValue;
@@ -113,11 +144,14 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
113
144
  * Contains toolbox categories and allows you to modify them.
114
145
  *
115
146
  * [View Demo](https://surveyjs.io/Examples/Survey-Creator?id=toolboxcategories (linkStyle))
147
+ * @see defineCategories
148
+ * @see showCategoryTitles
116
149
  */
117
150
  categories: Array<QuestionToolboxCategory>;
118
151
  /**
119
- * Set and get and active category. This property doesn't work if allowExpandMultipleCategories is true. Its default value is empty.
120
- * @see allowExpandMultipleCategories
152
+ * Gets or sets the currently expanded category. Applies only if [`allowExpandMultipleCategories`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#allowExpandMultipleCategories) and [`keepAllCategoriesExpanded`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#keepAllCategoriesExpanded) are `false` and [`showCategoryTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#showCategoryTitles) is `true`.
153
+ *
154
+ * Default value: `""`
121
155
  * @see expandCategory
122
156
  * @see collapseCategory
123
157
  */
@@ -126,27 +160,35 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
126
160
  canCollapseCategories: boolean;
127
161
  updateResponsiveness(isCompact: boolean, overflowBehavior: overflowBehaviorType): void;
128
162
  /**
129
- * Indicates whether the toolbox is currently in compact mode.
130
- * @see forceCompact
163
+ * Indicates whether the Toolbox is currently in [compact mode](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#forceCompact).
131
164
  */
132
165
  isCompact: boolean;
133
166
  isFocused: boolean;
134
167
  /**
135
- * Indicates whether the toolbox is currently can have scrollbar.
168
+ * Specifies how the Toolbox behaves when it contains more items than can fit on the screen.
169
+ *
170
+ * Possible values:
171
+ *
172
+ * - `"scroll"` (default) - Enables scrolling to help users reach the items that do not fit on the screen.
173
+ * - `"hideInMenu"` - Hides the overflow items in a three-dot menu.
136
174
  */
137
175
  overflowBehavior: overflowBehaviorType;
138
176
  /**
139
- * Specifies whether the toolbox should be in compact or full mode.
140
- * Accepts the following values:
177
+ * Specifies whether the Toolbox should be in compact or full mode.
178
+ *
179
+ * Possible values:
180
+ *
141
181
  * - `true` - Toolbox is always in compact mode.
142
182
  * - `false` - Toolbox is always in full mode.
143
- * - `undefined` - Toolbox switches between the full and compact modes automatically based on available width.
183
+ * - `undefined` (default) - Toolbox switches between the full and compact modes automatically based on available width.
184
+ *
185
+ * [View Toolbox Customization Demo](https://surveyjs.io/survey-creator/examples/survey-toolbox-customization/ (linkStyle))
144
186
  * @see isCompact
145
187
  */
146
188
  forceCompact: boolean;
147
189
  private categoriesTitles;
148
190
  /**
149
- * Specifies whether to display a search field that allows users to find question and panel types within the toolbox.
191
+ * Specifies whether to display a search field that allows users to find question and panel types within the Toolbox.
150
192
  *
151
193
  * Default value: `true`
152
194
  */
@@ -169,88 +211,87 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
169
211
  searchItem: IAction;
170
212
  get classNames(): string;
171
213
  setLocation(toolboxLocation: toolboxLocationType): void;
172
- /**
173
- * The Array of Toolbox items as Text JSON.
174
- */
175
214
  get jsonText(): string;
176
215
  set jsonText(value: string);
177
- /**
178
- * The Array of copied Toolbox items as Text JSON.
179
- */
180
216
  get copiedJsonText(): string;
181
217
  set copiedJsonText(value: string);
182
218
  /**
183
- * The Array of Toolbox items.
219
+ * An array of toolbox items.
220
+ * @see getItemByName
221
+ * @see addItem
222
+ * @see removeItem
184
223
  */
185
224
  get items(): Array<QuestionToolboxItem>;
186
225
  get itemNames(): Array<string>;
187
- /**
188
- * The Array of copied Toolbox items
189
- */
190
226
  get copiedItems(): Array<QuestionToolboxItem>;
191
- /**
192
- * Add toolbox items into the Toolbox
193
- * @param items the list of new items
194
- * @param clearAll set it to true to clear all previous items.
195
- */
196
227
  addItems(items: Array<IQuestionToolboxItem>, clearAll?: boolean): void;
197
- /**
198
- * Add a copied Question into Toolbox
199
- * @param question a copied Survey.Question
200
- * @param options a json object that allows you to override question properties. Attributes are: name, title, tooltip, isCopied, iconName, json and category.
201
- */
202
228
  addCopiedItem(question: Question, options?: any): void;
229
+ private getActionByItem;
230
+ private addSubTypes;
203
231
  /**
204
- * Add a toolbox item
205
- * @param item the toolbox item description
206
- * @param index the toolbox index to place the item, the item is added to the end if index not passed
207
- * @see IQuestionToolboxItem
232
+ * Adds a new item to the Toolbox.
233
+ * @param item A [toolbox item configuration](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem).
234
+ * @param index *(Optional)* A zero-based index at which to insert the item. If you do not specify this parameter, the item is added to the end.
235
+ * @see removeItem
236
+ * @see replaceItem
237
+ * @see items
208
238
  */
209
- private getActionByItem;
210
239
  addItem(item: IQuestionToolboxItem, index?: number): void;
211
240
  private correctItem;
212
241
  private get dragDropHelper();
213
242
  /**
214
- * Add a new toolbox item, add delete the old item with the same name
215
- * @param item the toolbox item description
216
- * @see IQuestionToolboxItem
243
+ * Adds a new toolbox item and deletes an existing item with the same name (if there is any).
244
+ * @param item A [toolbox item configuration](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem).
245
+ * @see addItem
217
246
  */
218
247
  replaceItem(item: IQuestionToolboxItem): boolean;
219
248
  /**
220
- * Remove a toolbox item by its name
221
- * @param name toolbox item name
222
- * @see IQuestionToolboxItem
249
+ * Removes a [toolbox item](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem) with a specified name.
250
+ * @param name A toolbox item's [`name`](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem#name).
251
+ * @returns `true` if the item is successfully deleted or `false` otherwise.
252
+ * @see clearItems
253
+ * @see addItem
254
+ * @see items
223
255
  */
224
256
  removeItem(name: string): boolean;
225
257
  /**
226
- * Remove all toolbox items.
258
+ * Removes all items from the Toolbox.
259
+ * @see removeItem
260
+ * @see addItem
261
+ * @see items
227
262
  */
228
263
  clearItems(): void;
229
- /**
230
- * Remove all copied toolbox items.
231
- */
232
264
  clearCopiedItems(): void;
233
265
  /**
234
- * Returns toolbox item by its name. Returns null if there is no toolbox item with this name
235
- * @param name
266
+ * Returns a [toolbox item](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem) with a specified name.
267
+ * @param name A toolbox item's [`name`](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem#name).
268
+ * @returns A toolbox item or `null` if a toolbox item with the specified name isn't found.
236
269
  */
237
270
  getItemByName(name: string): IQuestionToolboxItem;
238
271
  /**
239
- * Set it to true, to allow end-user to expand more than one category. There will no active category in this case
240
- * @see activeCategory
272
+ * Specifies whether more than one category can be in the expanded state at a time. Applies only if [`showCategoryTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#showCategoryTitles) is `true`.
273
+ *
274
+ * If this property is `false`, the currently expanded category collapses when a user expands another category.
275
+ *
276
+ * Default value: `false`
277
+ * @see keepAllCategoriesExpanded
241
278
  */
242
279
  get allowExpandMultipleCategories(): boolean;
243
280
  set allowExpandMultipleCategories(val: boolean);
244
281
  /**
245
- * Set it to true to expand all categories and hide expand/collapse category buttons
282
+ * Specifies whether to expand all categories without the capability to collapse any of them. Applies only if [`showCategoryTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#showCategoryTitles) is `true`.
283
+ * @see allowExpandMultipleCategories
246
284
  */
247
285
  get keepAllCategoriesExpanded(): boolean;
248
286
  set keepAllCategoriesExpanded(val: boolean);
249
287
  /**
250
288
  * Specifies whether to display category titles in the Toolbox.
251
289
  *
252
- * If you disable this property, the Toolbox hides the titles but continues to display horizontal lines that divide categories. To remove these lines as well, call the `removeCategories()` method.
253
- * @see removeCategories
290
+ * Default value: `false`
291
+ *
292
+ * If this property is disabled, the Toolbox hides the titles but continues to display horizontal lines that divide categories. To remove these lines as well, call the [`removeCategories()`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#removeCategories) method.
293
+ * @see allowExpandMultipleCategories
294
+ * @see keepAllCategoriesExpanded
254
295
  */
255
296
  get showCategoryTitles(): boolean;
256
297
  set showCategoryTitles(val: boolean);
@@ -258,16 +299,18 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
258
299
  private updateActionTitle;
259
300
  private updateCategoriesState;
260
301
  /**
261
- * Change the category of the toolbox item
262
- * @param name the toolbox item name
263
- * @param category new category name
302
+ * Changes the category of a toolbox item.
303
+ * @param itemName A toolbox item's [`name`](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem#name).
304
+ * @param categoryName A new category name. Out-of-the-box category names include `"general"`, `"choice"`, `"text"`, `"containers"`, `"matrix"`, and `"misc"`.
305
+ * @see defineCategories
264
306
  */
265
- changeCategory(name: string, category: string): void;
307
+ changeCategory(itemName: string, categoryName: string): void;
266
308
  /**
267
- * Change categories for several toolbox items.
268
- * @param changedItems the array of objects {name: "your toolbox item name", category: "new category name"}
309
+ * Changes the categories of multiple toolbox items.
310
+ * @param items An array of objects with the following structure: `{ name: "toolboxItemName", category: "newCategoryName" }`.
311
+ * @see defineCategories
269
312
  */
270
- changeCategories(changedItems: Array<any>): void;
313
+ changeCategories(items: Array<any>): void;
271
314
  /**
272
315
  * Defines toolbox categories from scratch.
273
316
  *
@@ -298,31 +341,32 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
298
341
  */
299
342
  defineCategories(categories: Array<IToolboxCategoryDefinition>, displayMisc?: boolean): void;
300
343
  /**
301
- * Removes categories from the Toolbox.
344
+ * Removes all categories from the Toolbox.
302
345
  */
303
346
  removeCategories(): void;
304
347
  toggleCategoryState(categoryName: string): void;
305
348
  /**
306
- * Expand a category by its name. If allowExpandMultipleCategories is false (default value), all other categories become collapsed
307
- * @param categoryName the category name
308
- * @see allowExpandMultipleCategories
349
+ * Expands a category with a specified name. Applies only if [`showCategoryTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#showCategoryTitles) is `true`.
350
+ *
351
+ * If [`allowExpandMultipleCategories`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#allowExpandMultipleCategories) is `false`, all other categories become collapsed.
352
+ * @param categoryName A category name. Out-of-the-box category names include `"general"`, `"choice"`, `"text"`, `"containers"`, `"matrix"`, and `"misc"`.
309
353
  * @see collapseCategory
310
354
  */
311
355
  expandCategory(categoryName: string): void;
312
356
  /**
313
- * Collapse a category by its name. If allowExpandMultipleCategories is false (default value) this function does nothing
314
- * @param categoryName the category name
315
- * @see allowExpandMultipleCategories
357
+ * Collapses a category with a specified name. Applies only if [`showCategoryTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#showCategoryTitles) and [`allowExpandMultipleCategories`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#allowExpandMultipleCategories) are `true`.
358
+ * @param categoryName A category name. Out-of-the-box category names include `"general"`, `"choice"`, `"text"`, `"containers"`, `"matrix"`, and `"misc"`.
359
+ * @see expandCategory
316
360
  */
317
361
  collapseCategory(categoryName: string): void;
318
362
  /**
319
- * Expand all categories. If allowExpandMultipleCategories is false (default value) this function does nothing
320
- * @see allowExpandMultipleCategories
363
+ * Expands all categories. Applies only if [`showCategoryTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#showCategoryTitles) and [`allowExpandMultipleCategories`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#allowExpandMultipleCategories) are `true`.
364
+ * @see collapseAllCategories
321
365
  */
322
366
  expandAllCategories(): void;
323
367
  /**
324
- * Collapse all categories. If allowExpandMultipleCategories is false (default value) this function does nothing
325
- * @see allowExpandMultipleCategories
368
+ * Collapses all categories. Applies only if [`showCategoryTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#showCategoryTitles) and [`allowExpandMultipleCategories`](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolbox#allowExpandMultipleCategories) are `true`.
369
+ * @see expandAllCategories
326
370
  */
327
371
  collapseAllCategories(): void;
328
372
  private expandCollapseAllCategories;
@@ -341,8 +385,11 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
341
385
  private registerCustomWidgets;
342
386
  private registerComponentQuestions;
343
387
  private getComponentItems;
388
+ private getItemClassNames;
344
389
  private addItemFromJSON;
345
390
  private getQuestionJSON;
346
391
  private isHiddenCustomWidget;
347
392
  private getQuestionTypes;
393
+ hideAllInnerPopups(): void;
394
+ onScroll(model: any, event: any): void;
348
395
  }