survey-creator-core 2.0.7 → 2.0.9

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 (140) hide show
  1. package/fesm/i18n/arabic.mjs +1 -1
  2. package/fesm/i18n/bulgarian.mjs +1 -1
  3. package/fesm/i18n/burmese.mjs +1 -1
  4. package/fesm/i18n/croatian.mjs +1 -1
  5. package/fesm/i18n/czech.mjs +1 -1
  6. package/fesm/i18n/danish.mjs +1 -1
  7. package/fesm/i18n/dutch.mjs +1 -1
  8. package/fesm/i18n/english.mjs +1 -1
  9. package/fesm/i18n/finnish.mjs +1 -1
  10. package/fesm/i18n/french.mjs +1 -1
  11. package/fesm/i18n/german.mjs +1 -1
  12. package/fesm/i18n/haitian-creole.mjs +1 -1
  13. package/fesm/i18n/hebrew.mjs +1 -1
  14. package/fesm/i18n/hungarian.mjs +1 -1
  15. package/fesm/i18n/index.mjs +1 -1
  16. package/fesm/i18n/indonesian.mjs +1 -1
  17. package/fesm/i18n/italian.mjs +1 -1
  18. package/fesm/i18n/japanese.mjs +1 -1
  19. package/fesm/i18n/korean.mjs +1 -1
  20. package/fesm/i18n/malay.mjs +1 -1
  21. package/fesm/i18n/mongolian.mjs +1 -1
  22. package/fesm/i18n/norwegian.mjs +1 -1
  23. package/fesm/i18n/persian.mjs +1 -1
  24. package/fesm/i18n/polish.mjs +1 -1
  25. package/fesm/i18n/portuguese.mjs +1 -1
  26. package/fesm/i18n/romanian.mjs +1 -1
  27. package/fesm/i18n/russian.mjs +1 -1
  28. package/fesm/i18n/simplified-chinese.mjs +1 -1
  29. package/fesm/i18n/slovak.mjs +1 -1
  30. package/fesm/i18n/slovenian.mjs +1 -1
  31. package/fesm/i18n/spanish.mjs +1 -1
  32. package/fesm/i18n/swedish.mjs +1 -1
  33. package/fesm/i18n/tajik.mjs +1 -1
  34. package/fesm/i18n/thai.mjs +1 -1
  35. package/fesm/i18n/traditional-chinese.mjs +1 -1
  36. package/fesm/i18n/turkish.mjs +1 -1
  37. package/fesm/survey-creator-core.i18n.mjs +1 -1
  38. package/fesm/survey-creator-core.mjs +124 -23
  39. package/fesm/survey-creator-core.mjs.map +1 -1
  40. package/fesm/themes/index.mjs +1 -1
  41. package/fonts.fontless.css +1 -1
  42. package/fonts.fontless.min.css +1 -1
  43. package/i18n/arabic.js +1 -1
  44. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  45. package/i18n/bulgarian.js +1 -1
  46. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  47. package/i18n/burmese.js +1 -1
  48. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  49. package/i18n/croatian.js +1 -1
  50. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  51. package/i18n/czech.js +1 -1
  52. package/i18n/czech.min.js.LICENSE.txt +1 -1
  53. package/i18n/danish.js +1 -1
  54. package/i18n/danish.min.js.LICENSE.txt +1 -1
  55. package/i18n/dutch.js +1 -1
  56. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  57. package/i18n/english.js +1 -1
  58. package/i18n/english.min.js.LICENSE.txt +1 -1
  59. package/i18n/finnish.js +1 -1
  60. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  61. package/i18n/french.js +1 -1
  62. package/i18n/french.min.js.LICENSE.txt +1 -1
  63. package/i18n/german.js +1 -1
  64. package/i18n/german.min.js.LICENSE.txt +1 -1
  65. package/i18n/haitian-creole.js +1 -1
  66. package/i18n/haitian-creole.min.js.LICENSE.txt +1 -1
  67. package/i18n/hebrew.js +1 -1
  68. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  69. package/i18n/hungarian.js +1 -1
  70. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  71. package/i18n/index.js +1 -1
  72. package/i18n/index.min.js.LICENSE.txt +1 -1
  73. package/i18n/indonesian.js +1 -1
  74. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  75. package/i18n/italian.js +1 -1
  76. package/i18n/italian.min.js.LICENSE.txt +1 -1
  77. package/i18n/japanese.js +1 -1
  78. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  79. package/i18n/korean.js +1 -1
  80. package/i18n/korean.min.js.LICENSE.txt +1 -1
  81. package/i18n/malay.js +1 -1
  82. package/i18n/malay.min.js.LICENSE.txt +1 -1
  83. package/i18n/mongolian.js +1 -1
  84. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  85. package/i18n/norwegian.js +1 -1
  86. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  87. package/i18n/persian.js +1 -1
  88. package/i18n/persian.min.js.LICENSE.txt +1 -1
  89. package/i18n/polish.js +1 -1
  90. package/i18n/polish.min.js.LICENSE.txt +1 -1
  91. package/i18n/portuguese.js +1 -1
  92. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  93. package/i18n/romanian.js +1 -1
  94. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  95. package/i18n/russian.js +1 -1
  96. package/i18n/russian.min.js.LICENSE.txt +1 -1
  97. package/i18n/simplified-chinese.js +1 -1
  98. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  99. package/i18n/slovak.js +1 -1
  100. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  101. package/i18n/slovenian.js +1 -1
  102. package/i18n/slovenian.min.js.LICENSE.txt +1 -1
  103. package/i18n/spanish.js +1 -1
  104. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  105. package/i18n/swedish.js +1 -1
  106. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  107. package/i18n/tajik.js +1 -1
  108. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  109. package/i18n/thai.js +1 -1
  110. package/i18n/thai.min.js.LICENSE.txt +1 -1
  111. package/i18n/traditional-chinese.js +1 -1
  112. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  113. package/i18n/turkish.js +1 -1
  114. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  115. package/package.json +2 -2
  116. package/survey-creator-core.css +15 -17
  117. package/survey-creator-core.fontless.css +14 -16
  118. package/survey-creator-core.fontless.css.map +1 -1
  119. package/survey-creator-core.fontless.min.css +4 -4
  120. package/survey-creator-core.i18n.js +1 -1
  121. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  122. package/survey-creator-core.js +134 -23
  123. package/survey-creator-core.js.map +1 -1
  124. package/survey-creator-core.min.css +5 -5
  125. package/survey-creator-core.min.js +1 -1
  126. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  127. package/themes/default-contrast.js +1 -1
  128. package/themes/default-contrast.min.js.LICENSE.txt +1 -1
  129. package/themes/default-dark.js +1 -1
  130. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  131. package/themes/index.js +1 -1
  132. package/themes/index.min.js.LICENSE.txt +1 -1
  133. package/themes/sc2020.js +1 -1
  134. package/themes/sc2020.min.js.LICENSE.txt +1 -1
  135. package/typings/components/action-container-view-model.d.ts +11 -1
  136. package/typings/components/tabs/theme-plugin.d.ts +2 -0
  137. package/typings/creator-base.d.ts +49 -9
  138. package/typings/creator-events-api.d.ts +6 -6
  139. package/typings/creator-options.d.ts +26 -6
  140. package/typings/toolbox.d.ts +13 -1
@@ -6,7 +6,7 @@ License: MIT
6
6
  */
7
7
 
8
8
  /*!
9
- * SurveyJS Creator v2.0.7
9
+ * SurveyJS Creator v2.0.9
10
10
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
11
11
  * Github: https://github.com/surveyjs/survey-creator
12
12
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.7
2
+ * SurveyJS Creator v2.0.9
3
3
  * (c) 2015-2025 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 v2.0.7
2
+ * SurveyJS Creator v2.0.9
3
3
  * (c) 2015-2025 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 v2.0.7
2
+ * SurveyJS Creator v2.0.9
3
3
  * (c) 2015-2025 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 v2.0.7
2
+ * SurveyJS Creator v2.0.9
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/themes/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.7
2
+ * SurveyJS Creator v2.0.9
3
3
  * (c) 2015-2025 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 v2.0.7
2
+ * SurveyJS Creator v2.0.9
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/themes/sc2020.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.7
2
+ * SurveyJS Creator v2.0.9
3
3
  * (c) 2015-2025 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 v2.0.7
2
+ * SurveyJS Creator v2.0.9
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,6 +1,11 @@
1
- import { AdaptiveActionContainer } from "survey-core";
1
+ import { AdaptiveActionContainer, ResponsivityManager } from "survey-core";
2
+ declare class SurveyElementResponsivityManager extends ResponsivityManager {
3
+ constructor(container: HTMLDivElement, model: SurveyElementActionContainer);
4
+ shouldProcessResponsiveness(): boolean;
5
+ }
2
6
  export declare class SurveyElementActionContainer extends AdaptiveActionContainer {
3
7
  alwaysShrink: boolean;
8
+ protected responsivityManager: SurveyElementResponsivityManager;
4
9
  private needToShrink;
5
10
  private setModeForActions;
6
11
  private calcItemSize;
@@ -9,4 +14,9 @@ export declare class SurveyElementActionContainer extends AdaptiveActionContaine
9
14
  availableSpace: number;
10
15
  gap?: number;
11
16
  }): void;
17
+ private _isResponsivenessAllowed;
18
+ allowResponsiveness(): void;
19
+ get isResponsivenessAllowed(): boolean;
20
+ protected createResponsivityManager(container: HTMLDivElement): ResponsivityManager;
12
21
  }
22
+ export {};
@@ -144,6 +144,8 @@ export declare class ThemeTabPlugin implements ICreatorPlugin {
144
144
  * A `ThemeTabPlugin` instance that raised the event.
145
145
  * - `options.theme`: [`ITheme`](https://surveyjs.io/form-library/documentation/api-reference/itheme)\
146
146
  * A selected theme.
147
+ *
148
+ * [View Demo](https://surveyjs.io/survey-creator/examples/save-custom-theme/ (linkStyle))
147
149
  * @see availableThemes
148
150
  * @see addTheme
149
151
  * @see removeTheme
@@ -71,7 +71,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
71
71
  getProcessedText(text: string): string;
72
72
  getLocale(): string;
73
73
  /**
74
- * Specifies whether to display the Designer tab.
74
+ * Specifies whether to display the [Designer](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#designer-tab) tab.
75
75
  *
76
76
  * Default value: `true`
77
77
  * @see activeTab
@@ -79,7 +79,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
79
79
  */
80
80
  showDesignerTab: boolean;
81
81
  /**
82
- * Specifies whether to display the JSON Editor tab.
82
+ * Specifies whether to display the [JSON Editor](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#json-editor-tab) tab.
83
83
  *
84
84
  * Default value: `true`
85
85
  * @see activeTab
@@ -87,7 +87,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
87
87
  showJSONEditorTab: boolean;
88
88
  showTestSurveyTab: boolean;
89
89
  /**
90
- * Specifies whether to display the Preview tab.
90
+ * Specifies whether to display the [Preview](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#preview-tab) tab.
91
91
  *
92
92
  * Default value: `true`
93
93
  * @see activeTab
@@ -96,11 +96,13 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
96
96
  get showPreviewTab(): boolean;
97
97
  set showPreviewTab(val: boolean);
98
98
  /**
99
- * Specifies whether to display the Themes tab.
99
+ * Specifies whether to display the [Themes](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#themes-tab) tab.
100
100
  *
101
101
  * Default value: `false`
102
102
  *
103
103
  * Use the [`themeEditor`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#themeEditor) object to manage UI themes available in the Themes tab.
104
+ *
105
+ * [View Demo](https://surveyjs.io/survey-creator/examples/change-form-theme/ (linkStyle))
104
106
  * @see activeTab
105
107
  * @see saveThemeFunc
106
108
  */
@@ -122,15 +124,17 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
122
124
  */
123
125
  allowZoom: boolean;
124
126
  /**
125
- * Specifies whether to display the Translation tab.
127
+ * Specifies whether to display the [Translation](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#translation-tab) tab.
126
128
  *
127
129
  * Default value: `false`
130
+ *
131
+ * [View Demo](https://surveyjs.io/survey-creator/examples/create-multilingual-forms/ (linkStyle))
128
132
  * @see activeTab
129
133
  * @see clearTranslationsOnSourceTextChange
130
134
  */
131
135
  showTranslationTab: boolean;
132
136
  /**
133
- * Specifies whether to display the Logic tab.
137
+ * Specifies whether to display the [Logic](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#logic-tab) tab.
134
138
  *
135
139
  * Default value: `true`
136
140
  * @see activeTab
@@ -171,6 +175,10 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
171
175
  *
172
176
  * - `"buttons"` (default)
173
177
  * The Property Grid displays the properties of a currently selected category. Users can switch between categories using buttons on the right side of the Property Grid.
178
+ *
179
+ * [Accordion Mode Demo](https://surveyjs.io/survey-creator/examples/property-grid-accordion-view/ (linkStyle))
180
+ *
181
+ * [Buttons Mode Demo](https://surveyjs.io/survey-creator/examples/free-nps-survey-template/ (linkStyle))
174
182
  */
175
183
  get propertyGridNavigationMode(): "buttons" | "accordion";
176
184
  set propertyGridNavigationMode(newValue: "buttons" | "accordion");
@@ -198,6 +206,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
198
206
  * Default value: `false`
199
207
  *
200
208
  * If you enable this property, Survey Creator calls the [`saveSurveyFunc`](#saveSurveyFunc) or [`saveThemeFunc`](#saveThemeFunc) function to save the survey or theme JSON schema. The schemas are saved with a 500-millisecond delay after users change settings. You can specify the [`autoSaveDelay`](#autoSaveDelay) property to increase or decrease the delay.
209
+ *
210
+ * [View Demo](https://surveyjs.io/survey-creator/examples/set-how-survey-configuration-changes-are-saved/ (linkStyle))
201
211
  */
202
212
  autoSaveEnabled: boolean;
203
213
  /**
@@ -257,6 +267,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
257
267
  *
258
268
  * - `"bypage"`
259
269
  * Questions and panels are divided between pages. Users can use the page navigator to switch to a required page.
270
+ *
271
+ * [View Page-By-Page Mode Demo](https://surveyjs.io/survey-creator/examples/page-level-editing/ (linkStyle))
260
272
  * @see allowModifyPages
261
273
  */
262
274
  get pageEditMode(): "standard" | "single" | "bypage";
@@ -407,11 +419,11 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
407
419
  */
408
420
  onDefineElementMenuItems: EventBase<SurveyCreatorModel, DefineElementMenuItemsEvent>;
409
421
  /**
410
- * An event that is raised when Survey Creator adds properties to a survey element selected on the design surface. Handle this event if you cancel the addition of certain properties and thus [hide them from the Property Grid](https://surveyjs.io/survey-creator/documentation/property-grid-customization#hide-properties-from-the-property-grid).
422
+ * An event that is raised when Survey Creator adds properties to a survey element selected on the design surface. Handle this event if you want to cancel the addition of certain properties and thus [hide them from the Property Grid](https://surveyjs.io/survey-creator/documentation/property-grid-customization#hide-properties-from-the-property-grid).
411
423
  *
412
424
  * For information on event handler parameters, refer to descriptions within the interface.
413
425
  *
414
- * [View Demo](https://surveyjs.io/survey-creator/examples/hide-category-from-property-grid/ (linkStyle))
426
+ * [View Demo](https://surveyjs.io/survey-creator/examples/remove-properties-from-property-grid/ (linkStyle))
415
427
  */
416
428
  onPropertyShowing: EventBase<SurveyCreatorModel, PropertyShowingEvent>;
417
429
  onCanShowProperty: EventBase<SurveyCreatorModel, any>;
@@ -430,7 +442,11 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
430
442
  */
431
443
  onPropertyEditorCreated: EventBase<SurveyCreatorModel, PropertyEditorCreatedEvent>;
432
444
  /**
433
- * An event that is raised when title actions are added to a property editor. Title actions are most often used to reveal hints for properties configured by users. Handle this event you want to add, remove, or modify the title actions.
445
+ * An event that is raised when title actions are added to a property editor. Title actions are most often used to reveal property hints. Handle this event you want to add, remove, or modify the title actions.
446
+ *
447
+ * For information on event handler parameters, refer to descriptions within the interface.
448
+ *
449
+ * [View Demo](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onPropertyEditorUpdateTitleActions (linkStyle))
434
450
  */
435
451
  onPropertyEditorUpdateTitleActions: EventBase<SurveyCreatorModel, PropertyEditorUpdateTitleActionsEvent>;
436
452
  /**
@@ -695,6 +711,10 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
695
711
  * });
696
712
  * ```
697
713
  *
714
+ * [Multilingual Form Demo](https://surveyjs.io/survey-creator/examples/create-multilingual-forms/ (linkStyle))
715
+ *
716
+ * [AI-Powered Translation Demo](https://surveyjs.io/survey-creator/examples/ai-translation/ (linkStyle))
717
+ *
698
718
  * > Survey Creator does not include a machine translation service out of the box. Our component only provides a UI for calling the service API.
699
719
  * @see startMachineTranslationTo
700
720
  */
@@ -712,6 +732,10 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
712
732
  onTranslationItemChanging: EventBase<SurveyCreatorModel, TranslationItemChangingEvent>;
713
733
  /**
714
734
  * An event that is raised when users drag and drop survey elements within the design surface. Use this event to control drag and drop operations.
735
+ *
736
+ * For information on event handler parameters, refer to descriptions within the interface.
737
+ *
738
+ * [View Demo](https://surveyjs.io/survey-creator/examples/page-break-and-page-merge/ (linkStyle))
715
739
  * @see onDragStart
716
740
  * @see onDragEnd
717
741
  */
@@ -799,6 +823,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
799
823
  * Specifies whether Survey Creator UI elements display survey, page, and question titles instead of their names.
800
824
  *
801
825
  * Default value: `false`
826
+ *
827
+ * [View Demo](https://surveyjs.io/survey-creator/examples/dynamically-modify-newly-added-questions/ (linkStyle))
802
828
  * @see onElementGetDisplayName
803
829
  */
804
830
  useElementTitles: boolean;
@@ -922,6 +948,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
922
948
  set themeForPreview(val: string);
923
949
  /**
924
950
  * An object that enables you to manage UI themes. Refer to the following API section for information on available properties, methods, and events: [`ThemeTabPlugin`](https://surveyjs.io/survey-creator/documentation/api-reference/themetabplugin).
951
+ *
952
+ * [View Demo](https://surveyjs.io/survey-creator/examples/save-custom-theme/ (linkStyle))
925
953
  * @see showThemeTab
926
954
  * @see saveThemeFunc
927
955
  */
@@ -930,6 +958,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
930
958
  * A function that is called each time users click the [Save button](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#showSaveButton) or [auto-save](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#autoSaveEnabled) is triggered to save a theme JSON object.
931
959
  *
932
960
  * For more information, refer to the [Save and Load Custom Themes](https://surveyjs.io/survey-creator/documentation/theme-editor#save-and-load-custom-themes) help topic.
961
+ *
962
+ * [View Demo](https://surveyjs.io/survey-creator/examples/change-form-theme/ (linkStyle))
933
963
  * @see showThemeTab
934
964
  * @see themeEditor
935
965
  * @see saveSurveyFunc
@@ -1135,6 +1165,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1135
1165
  * Specifies whether to show the sidebar that displays the Property Grid.
1136
1166
  *
1137
1167
  * Default value: `true`
1168
+ *
1169
+ * [View Demo](https://surveyjs.io/survey-creator/examples/customize-property-editors/ (linkStyle))
1138
1170
  * @see sidebarLocation
1139
1171
  */
1140
1172
  get showSidebar(): boolean;
@@ -1460,6 +1492,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1460
1492
  closeCreatorThemeSettings(): void;
1461
1493
  /**
1462
1494
  * Activates a specified category in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"buttons"`.
1495
+ *
1496
+ * [View Demo](https://surveyjs.io/survey-creator/examples/add-properties-to-property-grid/ (linkStyle))
1463
1497
  * @param name A [category name](https://surveyjs.io/form-library/documentation/customize-question-types/add-custom-properties-to-a-form#category).
1464
1498
  */
1465
1499
  activatePropertyGridCategory(name: string): void;
@@ -1591,6 +1625,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1591
1625
  * Starts the translation of survey strings from the default language to one or more specified languages using a machine translation service, such as Google Translate or Microsoft Translator.
1592
1626
  *
1593
1627
  * This method only launches the operation by raising the [`onMachineTranslate`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onMachineTranslate) event. Handle this event to perform the actual translation.
1628
+ *
1629
+ * [View Demo](https://surveyjs.io/survey-creator/examples/ai-translation/ (linkStyle))
1594
1630
  * @param locales An array of locale codes that correspond to target languages, for example, `[ "de", "fr" ]`.
1595
1631
  */
1596
1632
  startMachineTranslationTo(locales: Array<string>): void;
@@ -1645,6 +1681,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1645
1681
  * A function that is called each time users click the [Save button](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#showSaveButton) or [auto-save](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#autoSaveEnabled) is triggered to save a survey JSON schema.
1646
1682
  *
1647
1683
  * For more information, refer to the Save and Load Survey Model Schemas help topic for your framework: [Angular](https://surveyjs.io/survey-creator/documentation/get-started-angular#save-and-load-survey-model-schemas) | [Vue](https://surveyjs.io/survey-creator/documentation/get-started-vue#save-and-load-survey-model-schemas) | [React](https://surveyjs.io/survey-creator/documentation/get-started-react#save-and-load-survey-model-schemas) | [HTML/CSS/JavaScript](https://surveyjs.io/survey-creator/documentation/get-started-html-css-javascript#save-and-load-survey-model-schemas).
1684
+ *
1685
+ * [View Demo](https://surveyjs.io/survey-creator/examples/set-how-survey-configuration-changes-are-saved/ (linkStyle))
1648
1686
  * @see saveThemeFunc
1649
1687
  */
1650
1688
  get saveSurveyFunc(): any;
@@ -1794,6 +1832,8 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1794
1832
  * Specifies whether to clear translations to other languages when a source language translation is changed.
1795
1833
  *
1796
1834
  * Default value: `false`
1835
+ *
1836
+ * [View Demo](https://surveyjs.io/survey-creator/examples/ai-translation/ (linkStyle))
1797
1837
  * @see showTranslationTab
1798
1838
  */
1799
1839
  clearTranslationsOnSourceTextChange: boolean;
@@ -179,7 +179,7 @@ export interface ElementGetActionsEvent extends DefineElementMenuItemsEvent {
179
179
  */
180
180
  element: Base;
181
181
  /**
182
- * An array of adorner actions. You can add, modify, or remove actions from this array.
182
+ * An array of adorner actions. You can add, modify, or remove actions from this array. Refer to the [`IAction`](https://surveyjs.io/form-library/documentation/api-reference/iaction) interface description for information about the properties of an action object.
183
183
  */
184
184
  actions: IAction[];
185
185
  }
@@ -265,7 +265,7 @@ export interface PropertyEditorUpdateTitleActionsEvent {
265
265
  */
266
266
  property: JsonObjectProperty;
267
267
  /**
268
- * A list of title actions.
268
+ * A list of title actions. Refer to the [`IAction`](https://surveyjs.io/form-library/documentation/api-reference/iaction) interface description for information about the properties of an action object.
269
269
  */
270
270
  titleActions: IAction[];
271
271
  }
@@ -647,7 +647,7 @@ export interface QuestionConvertingEvent {
647
647
  }
648
648
  export interface PageGetFooterActionsEvent {
649
649
  /**
650
- * An array of actions. You can add, modify, or remove actions from this array.
650
+ * An array of actions. You can add, modify, or remove actions from this array. Refer to the [`IAction`](https://surveyjs.io/form-library/documentation/api-reference/iaction) interface description for information about the properties of an action object.
651
651
  */
652
652
  actions: IAction[];
653
653
  /**
@@ -663,9 +663,9 @@ export interface PageGetFooterActionsEvent {
663
663
  export interface SurveyInstanceCreatedEvent {
664
664
  /**
665
665
  * A Survey Creator UI element for which a survey is instantiated. Contains one of the following values:
666
- * - `"designer-tab"` - A preview survey in the Designer tab.
667
- * - `"preview-tab"` - A preview survey in the Preview tab.
668
- * - `"property-grid"` - A survey that represents the Property Grid.
666
+ * - `"designer-tab"` - A preview survey in the Designer tab. [View Demo](https://surveyjs.io/survey-creator/examples/customize-form-builder-ui/)
667
+ * - `"preview-tab"` - A preview survey in the Preview tab. [View Demo](https://surveyjs.io/survey-creator/examples/customize-form-builder-ui/)
668
+ * - `"property-grid"` - A survey that represents the Property Grid. [View Demo](https://surveyjs.io/survey-creator/examples/hide-category-from-property-grid/)
669
669
  * - `"default-value-popup-editor"` - A survey that allows you to specify the default or correct value (for quizzes) in a pop-up window.
670
670
  * - `"logic-rule:condition-editor"` - A survey that allows you to configure conditions in a logic rule.
671
671
  * - `"logic-rule:action-editor"` - A survey that allows you to configure actions in a logic rule.
@@ -15,37 +15,40 @@
15
15
  export interface ICreatorOptions {
16
16
  [index: string]: any;
17
17
  /**
18
- * Specifies whether to display the Designer tab.
18
+ * Specifies whether to display the [Designer](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#designer-tab) tab.
19
19
  *
20
20
  * Default value: `true`
21
21
  */
22
22
  showDesignerTab?: boolean;
23
23
  /**
24
- * Specifies whether to display the Preview tab.
24
+ * Specifies whether to display the [Preview](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#preview-tab) tab.
25
25
  *
26
26
  * Default value: `true`
27
27
  */
28
28
  showPreviewTab?: boolean;
29
29
  /**
30
- * Specifies whether to display the JSON Editor tab.
30
+ * Specifies whether to display the [JSON Editor](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#json-editor-tab) tab.
31
31
  *
32
32
  * Default value: `true`
33
33
  */
34
34
  showJSONEditorTab?: boolean;
35
35
  /**
36
- * Specifies whether to display the Logic tab.
36
+ * Specifies whether to display the [Logic](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#logic-tab) tab.
37
37
  *
38
38
  * Default value: `true`
39
39
  */
40
40
  showLogicTab?: boolean;
41
41
  /**
42
- * Specifies whether to display the Translation tab.
42
+ * Specifies whether to display the [Translation](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#translation-tab) tab.
43
43
  *
44
44
  * Default value: `false`
45
+ *
46
+ * [View Demo](https://surveyjs.io/survey-creator/examples/create-multilingual-forms/ (linkStyle))
47
+ * @see clearTranslationsOnSourceTextChange
45
48
  */
46
49
  showTranslationTab?: boolean;
47
50
  /**
48
- * Specifies whether to display the Themes tab.
51
+ * Specifies whether to display the [Themes](https://surveyjs.io/survey-creator/documentation/end-user-guide/user-interface#themes-tab) tab.
49
52
  *
50
53
  * Default value: `false`
51
54
  *
@@ -62,6 +65,8 @@ export interface ICreatorOptions {
62
65
  * Specifies whether the "Zoom In", "Zoom Out", and "Zoom to 100%" buttons are available.
63
66
  *
64
67
  * Default value: `true`
68
+ *
69
+ * [View Demo](https://surveyjs.io/survey-creator/examples/expand-and-collapse-survey-elements/ (linkStyle))
65
70
  */
66
71
  allowZoom?: boolean;
67
72
  /**
@@ -198,6 +203,8 @@ export interface ICreatorOptions {
198
203
  * Specifies whether Survey Creator UI elements display survey, page, and question titles instead of their names.
199
204
  *
200
205
  * Default value: `false`
206
+ *
207
+ * [View Demo](https://surveyjs.io/survey-creator/examples/dynamically-modify-newly-added-questions/ (linkStyle))
201
208
  */
202
209
  useElementTitles?: boolean;
203
210
  /**
@@ -322,6 +329,8 @@ export interface ICreatorOptions {
322
329
  * Limits question and panel types available in the Toolbox and Add Question menu.
323
330
  *
324
331
  * Refer to the [Limit Available Question and Panel Types](https://surveyjs.io/Documentation/Survey-Creator?id=toolbox#limit-available-question-and-panel-types) help topic for more information.
332
+ *
333
+ * [View Demo](https://surveyjs.io/survey-creator/examples/survey-toolbox-customization/ (linkStyle))
325
334
  */
326
335
  questionTypes?: Array<string>;
327
336
  /**
@@ -349,6 +358,8 @@ export interface ICreatorOptions {
349
358
  *
350
359
  * - `"bypage"`
351
360
  * Questions and panels are divided between pages. Users can use the page navigator to switch to a required page.
361
+ *
362
+ * [View Page-By-Page Mode Demo](https://surveyjs.io/survey-creator/examples/page-level-editing/ (linkStyle))
352
363
  */
353
364
  pageEditMode?: "standard" | "single" | "bypage";
354
365
  enableLinkFileEditor?: boolean;
@@ -360,6 +371,8 @@ export interface ICreatorOptions {
360
371
  * - `"onhover"` (default) - Displays an expand/collapse button when a survey element is hovered over or selected.
361
372
  * - `"always"` - Displays the expand/collapse buttons permanently.
362
373
  * - `"never"` - Hides the expand/collapse buttons.
374
+ *
375
+ * [View Demo](https://surveyjs.io/survey-creator/examples/expand-and-collapse-survey-elements/ (linkStyle))
363
376
  * @see [SurveyCreatorModel.onElementGetExpandCollapseState](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onElementGetExpandCollapseState)
364
377
  * @see collapseOnDrag
365
378
  */
@@ -407,6 +420,10 @@ export interface ICreatorOptions {
407
420
  *
408
421
  * - `"buttons"` (default)
409
422
  * The Property Grid displays the properties of a currently selected category. Users can switch between categories using buttons on the right side of the Property Grid.
423
+ *
424
+ * [Accordion Mode Demo](https://surveyjs.io/survey-creator/examples/property-grid-accordion-view/ (linkStyle))
425
+ *
426
+ * [Buttons Mode Demo](https://surveyjs.io/survey-creator/examples/free-nps-survey-template/ (linkStyle))
410
427
  */
411
428
  propertyGridNavigationMode?: "buttons" | "accordion";
412
429
  /**
@@ -426,6 +443,9 @@ export interface ICreatorOptions {
426
443
  * Specifies whether to clear translations to other languages when a source language translation is changed.
427
444
  *
428
445
  * Default value: `false`
446
+ *
447
+ * [View Demo](https://surveyjs.io/survey-creator/examples/ai-translation/ (linkStyle))
448
+ * @see showTranslationTab
429
449
  */
430
450
  clearTranslationsOnSourceTextChange?: boolean;
431
451
  }
@@ -342,6 +342,8 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
342
342
  private createSubTypes;
343
343
  /**
344
344
  * Adds a new item to the Toolbox.
345
+ *
346
+ * [View Demo](https://surveyjs.io/survey-creator/examples/page-break-and-page-merge/ (linkStyle))
345
347
  * @param item A [toolbox item configuration](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem).
346
348
  * @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.
347
349
  * @see removeItem
@@ -376,6 +378,8 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
376
378
  clearCopiedItems(): void;
377
379
  /**
378
380
  * Returns a [toolbox item](https://surveyjs.io/survey-creator/documentation/api-reference/questiontoolboxitem) with a specified name.
381
+ *
382
+ * [View Toolbox Customization Demo](https://surveyjs.io/survey-creator/examples/survey-toolbox-customization/ (linkStyle))
379
383
  * @param name A toolbox item's [`name`](https://surveyjs.io/survey-creator/documentation/api-reference/iquestiontoolboxitem#name).
380
384
  * @returns A toolbox item or `null` if a toolbox item with the specified name isn't found.
381
385
  */
@@ -386,12 +390,16 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
386
390
  * If this property is `false`, the currently expanded category collapses when a user expands another category.
387
391
  *
388
392
  * Default value: `false`
393
+ *
394
+ * [View Demo](https://surveyjs.io/survey-creator/examples/survey-toolbox-categories/ (linkStyle))
389
395
  * @see keepAllCategoriesExpanded
390
396
  */
391
397
  get allowExpandMultipleCategories(): boolean;
392
398
  set allowExpandMultipleCategories(val: boolean);
393
399
  /**
394
400
  * 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`.
401
+ *
402
+ * [View Demo](https://surveyjs.io/survey-creator/examples/survey-toolbox-categories/ (linkStyle))
395
403
  * @see allowExpandMultipleCategories
396
404
  */
397
405
  get keepAllCategoriesExpanded(): boolean;
@@ -401,7 +409,9 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
401
409
  *
402
410
  * Default value: `false`
403
411
  *
404
- * 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.
412
+ * [View Demo](https://surveyjs.io/survey-creator/examples/survey-toolbox-categories/ (linkStyle))
413
+ *
414
+ * > 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.
405
415
  * @see allowExpandMultipleCategories
406
416
  * @see keepAllCategoriesExpanded
407
417
  */
@@ -455,6 +465,8 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
455
465
  defineCategories(categories: Array<IToolboxCategoryDefinition>, displayMisc?: boolean): void;
456
466
  /**
457
467
  * Removes all categories from the Toolbox.
468
+ *
469
+ * [View Toolbox Customization Demo](https://surveyjs.io/survey-creator/examples/survey-toolbox-customization/ (linkStyle))
458
470
  */
459
471
  removeCategories(): void;
460
472
  toggleCategoryState(categoryName: string): void;