survey-react 1.9.56 → 1.9.57

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.
package/defaultV2.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.56
2
+ * surveyjs - Survey JavaScript library v1.9.57
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/defaultV2.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.56
2
+ * surveyjs - Survey JavaScript library v1.9.57
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/modern.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.56
2
+ * surveyjs - Survey JavaScript library v1.9.57
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/modern.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.56
2
+ * surveyjs - Survey JavaScript library v1.9.57
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react",
3
- "version": "1.9.56",
3
+ "version": "1.9.57",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
package/survey.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.56
2
+ * surveyjs - Survey JavaScript library v1.9.57
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/survey.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.56
2
+ * surveyjs - Survey JavaScript library v1.9.57
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/survey.react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Type definition for Survey JavaScript library for React v1.9.56
2
+ * Type definition for Survey JavaScript library for React v1.9.57
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -2637,6 +2637,7 @@ export declare class MultipleTextItemModel extends Base implements IValidatorOwn
2637
2637
  get editor(): QuestionTextModel;
2638
2638
  protected createEditor(name: string): QuestionTextModel;
2639
2639
  addUsedLocales(locales: any): void;
2640
+ localeChanged(): void;
2640
2641
  locStrsChanged(): void;
2641
2642
  setData(data: IMultipleTextData): void;
2642
2643
  /*
@@ -2826,6 +2827,8 @@ export declare class PopupModel<T = any> extends Base {
2826
2827
  }
2827
2828
  /*
2828
2829
  * A Model for a survey running in the Popup Window.
2830
+ *
2831
+ * [View Demo](https://surveyjs.io/form-library/examples/popup-survey/ (linkStyle))
2829
2832
  */
2830
2833
  export declare class PopupSurveyModel extends Base {
2831
2834
  constructor(jsonObj: any, initialModel?: SurveyModel);
@@ -4031,6 +4034,8 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
4031
4034
  }
4032
4035
  /*
4033
4036
  * The `SurveyModel` object contains properties and methods that allow you to control the survey and access its elements.
4037
+ *
4038
+ * [View Demo](https://surveyjs.io/form-library/examples/nps-question/ (linkStyle))
4034
4039
  */
4035
4040
  export declare class SurveyModel extends SurveyElementCore implements ISurvey, ISurveyData, ISurveyImpl, ISurveyTriggerOwner, ISurveyErrorOwner, ISurveyTimerText {
4036
4041
  constructor(jsonObj?: any, renderedElement?: any);
@@ -4310,6 +4315,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
4310
4315
  * - `options.name` - a property name is going to be rendered.
4311
4316
  * - `options.text` - a text that is going to be rendered.
4312
4317
  * - `options.html` - an HTML content. It is `null` by default. Use this property to specify the HTML content rendered instead of `options.text`.
4318
+ *
4319
+ * [View Demo](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/ (linkStyle))
4313
4320
  */
4314
4321
  onTextMarkdown: EventBase<SurveyModel>;
4315
4322
  /*
@@ -4395,6 +4402,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
4395
4402
  * - `sender` - the survey object that fires the event.
4396
4403
  * - `options.question` - a question for which you can change the CSS classes.
4397
4404
  * - `options.cssClasses` - an object with CSS classes. For example `{root: "table", button: "button"}`. You can change them to your own CSS classes.
4405
+ *
4406
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-cssclasses/ (linkStyle))
4398
4407
  */
4399
4408
  onUpdateQuestionCssClasses: EventBase<SurveyModel>;
4400
4409
  /*
@@ -4436,6 +4445,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
4436
4445
  * - `sender` - the survey object that fires the event.
4437
4446
  * - `options.page` - a page object for which the event is fired. Typically the current/active page.
4438
4447
  * - `options.htmlElement` - an HTML element bound to the page object.
4448
+ *
4449
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-afterrender/ (linkStyle))
4439
4450
  */
4440
4451
  onAfterRenderPage: EventBase<SurveyModel>;
4441
4452
  /*
@@ -4443,6 +4454,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
4443
4454
  * - `sender` - the survey object that fires the event.
4444
4455
  * - `options.question` - a question object for which the event is fired.
4445
4456
  * - `options.htmlElement` - an HTML element bound to the question object.
4457
+ *
4458
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-afterrender/ (linkStyle))
4446
4459
  */
4447
4460
  onAfterRenderQuestion: EventBase<SurveyModel>;
4448
4461
  /*
@@ -4747,6 +4760,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
4747
4760
  * By default all rows are rendered no matters if they are visible or not.
4748
4761
  * Set it true, and survey markup rows will be rendered only if they are visible in viewport.
4749
4762
  * This feature is experimantal and might do not support all the use cases.
4763
+ *
4764
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-lazy/ (linkStyle))
4750
4765
  */
4751
4766
  get lazyRendering(): boolean;
4752
4767
  set lazyRendering(val: boolean);
@@ -5060,6 +5075,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5060
5075
  /*
5061
5076
  * Adds a custom navigation item similar to the Previous Page, Next Page, and Complete buttons.
5062
5077
  * Accepts an object described in the [IAction](https://surveyjs.io/Documentation/Library?id=IAction) help section.
5078
+ *
5079
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-changenavigation/ (linkStyle))
5063
5080
  */
5064
5081
  addNavigationItem(val: IAction): Action;
5065
5082
  /*
@@ -5116,6 +5133,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5116
5133
  getUpdatedQuestionNo(question: IQuestion, no: string): string;
5117
5134
  /*
5118
5135
  * Gets or sets whether the survey displays page numbers on pages titles.
5136
+ *
5137
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-options/ (linkStyle))
5119
5138
  */
5120
5139
  get showPageNumbers(): boolean;
5121
5140
  set showPageNumbers(val: boolean);
@@ -5127,6 +5146,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5127
5146
  * - `on` - display question numbers
5128
5147
  * - `onpage` - display question numbers, start numbering on every page
5129
5148
  * - `off` - turn off the numbering for questions titles
5149
+ *
5150
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-options/ (linkStyle))
5130
5151
  */
5131
5152
  get showQuestionNumbers(): string;
5132
5153
  set showQuestionNumbers(val: string);
@@ -5139,6 +5160,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5139
5160
  * - `top` - show progress bar in the top
5140
5161
  * - `bottom` - show progress bar in the bottom
5141
5162
  * - `both` - show progress bar in both sides: top and bottom.
5163
+ *
5164
+ * [View Demo](https://surveyjs.io/form-library/examples/navigation-default/ (linkStyle))
5142
5165
  */
5143
5166
  get showProgressBar(): string;
5144
5167
  set showProgressBar(val: string);
@@ -5152,6 +5175,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5152
5175
  * - `requiredQuestions`,
5153
5176
  * - `correctQuestions`,
5154
5177
  * - `buttons`
5178
+ *
5179
+ * [View Demo](https://surveyjs.io/form-library/examples/navigation-buttons/ (linkStyle))
5155
5180
  */
5156
5181
  get progressBarType(): string;
5157
5182
  set progressBarType(val: string);
@@ -5198,6 +5223,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5198
5223
  *
5199
5224
  * - `edit` (default) - make a survey editable,
5200
5225
  * - `display` - make a survey read-only.
5226
+ *
5227
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-displaymode/ (linkStyle))
5201
5228
  */
5202
5229
  get mode(): string;
5203
5230
  set mode(val: string);
@@ -5281,6 +5308,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5281
5308
  get isShowingPage(): boolean;
5282
5309
  /*
5283
5310
  * The zero-based index of the current page in the visible pages array.
5311
+ *
5312
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-editprevious/ (linkStyle))
5284
5313
  */
5285
5314
  get currentPageNo(): number;
5286
5315
  set currentPageNo(val: number);
@@ -5475,7 +5504,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5475
5504
  * Set this property to "showAllQuestions" or "showAnsweredQuestions" to allow respondents to preview answers before submitting the survey results.
5476
5505
  *
5477
5506
  * Details: [Preview State](https://surveyjs.io/Documentation/Library#states-preview)
5478
- * Example: [Show Preview Before Complete](https://surveyjs.io/Examples/Library?id=survey-showpreview)
5507
+ * [View Demo](https://surveyjs.io/Examples/Library?id=survey-showpreview (linkStyle))
5479
5508
  */
5480
5509
  get showPreviewBeforeComplete(): string;
5481
5510
  set showPreviewBeforeComplete(val: string);
@@ -6344,6 +6373,8 @@ export declare class MultiSelectListModel extends ListModel {
6344
6373
  }
6345
6374
  /*
6346
6375
  * A base class for a Panel and Page objects.
6376
+ *
6377
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-panel/ (linkStyle))
6347
6378
  */
6348
6379
  export declare class PanelModelBase extends SurveyElement<Question> implements IPanel, IConditionRunner, ISurveyErrorOwner, ITitleOwner {
6349
6380
  constructor(name?: string);
@@ -6735,6 +6766,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
6735
6766
  * - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
6736
6767
  * - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
6737
6768
  * - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
6769
+ * - [*"tagbox"*](https://surveyjs.io/form-library/documentation/questiontagboxmodel)
6738
6770
  * - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
6739
6771
  * - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
6740
6772
  * - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
@@ -8039,6 +8071,7 @@ export declare class QuestionMultipleTextModel extends Question implements IMult
8039
8071
  addConditionObjectsByContext(objects: any, context: any): void;
8040
8072
  getConditionJson(operator?: string, path?: string): any;
8041
8073
  locStrsChanged(): void;
8074
+ localeChanged(): void;
8042
8075
  supportGoNextPageAutomatic(): boolean;
8043
8076
  /*
8044
8077
  * The number of columns used to arrange input items. Accepts the following values: 1, 2, 3, 4, 5.
@@ -8104,8 +8137,11 @@ export declare class QuestionNonValue extends Question {
8104
8137
  getConditionJson(operator?: string, path?: string): any;
8105
8138
  }
8106
8139
  /*
8107
- * A Model for a panel dymanic question. You setup the template panel, but adding elements (any question or a panel) and assign a text to it's title, and this panel will be used as a template on creating dynamic panels. The number of panels is defined by panelCount property.
8108
- * An end-user may dynamically add/remove panels, unless you forbidden this.
8140
+ * A class that describes the Dynamic Panel question type.
8141
+ *
8142
+ * Dynamic Panel allows respondents to add panels based on a template panel and delete them. Specify the [`templateElements`](https://surveyjs.io/form-library/documentation/questionpaneldynamicmodel#templateElements) property to configure template panel elements.
8143
+ *
8144
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/ (linkStyle))
8109
8145
  */
8110
8146
  export declare class QuestionPanelDynamicModel extends Question implements IQuestionPanelDynamicData {
8111
8147
  constructor(name: string);
@@ -8126,82 +8162,88 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8126
8162
  get isAllowTitleLeft(): boolean;
8127
8163
  removeElement(element: IElement): boolean;
8128
8164
  /*
8129
- * The template Panel. This panel is used as a template on creatign dynamic panels
8165
+ * A `PanelModel` object used as a template to create dynamic panels.
8130
8166
  */
8131
8167
  get template(): PanelModel;
8132
8168
  getPanel(): IPanel;
8133
8169
  /*
8134
- * The template Panel elements, questions and panels.
8170
+ * An array of questions and panels included in the template panel.
8135
8171
  */
8136
8172
  get templateElements(): any;
8137
8173
  /*
8138
- * The template Panel title property.
8174
+ * A title for the template panel.
8139
8175
  */
8140
8176
  get templateTitle(): string;
8141
8177
  set templateTitle(val: string);
8142
8178
  get locTemplateTitle(): LocalizableString;
8143
8179
  /*
8144
- * The template Panel description property.
8180
+ * A description for the template panel.
8145
8181
  */
8146
8182
  get templateDescription(): string;
8147
8183
  set templateDescription(val: string);
8148
8184
  get locTemplateDescription(): LocalizableString;
8149
8185
  protected get items(): any;
8150
8186
  /*
8151
- * The array of dynamic panels created based on panel template
8187
+ * An array of `PanelModel` objects created based on the template panel.
8152
8188
  */
8153
8189
  get panels(): any;
8154
8190
  /*
8155
- * The index of current active dynamical panel when the renderMode is not "list". If there is no dymamic panel (panelCount = 0) or renderMode equals "list" it returns -1, otherwise it returns a value from 0 to panelCount - 1.
8191
+ * A zero-based index of the currently displayed panel.
8192
+ *
8193
+ * When `renderMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains -1.
8156
8194
  */
8157
8195
  get currentIndex(): number;
8158
8196
  set currentIndex(val: number);
8159
8197
  /*
8160
- * The current active dynamical panel when the renderMode is not "list". If there is no dymamic panel (panelCount = 0) or renderMode equals "list" it returns null.
8198
+ * A `PanelModel` object that is the currently displayed panel.
8199
+ *
8200
+ * When `renderMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains `null`.
8161
8201
  */
8162
8202
  get currentPanel(): PanelModel;
8163
8203
  /*
8164
- * Set it to true, to show a confirmation dialog on removing a panel
8204
+ * Specifies whether to display a confirmation dialog when a respondent wants to delete a panel.
8165
8205
  */
8166
8206
  get confirmDelete(): boolean;
8167
8207
  set confirmDelete(val: boolean);
8168
8208
  /*
8169
- * Set it to a question name used in the template panel and the library shows duplication error, if there are same values in different panels of this question.
8209
+ * Specifies a key question. Set this property to the name of a question used in the template, and Dynamic Panel will display `keyDuplicationError` if a user tries to enter a duplicate value in this question.
8170
8210
  */
8171
8211
  get keyName(): string;
8172
8212
  set keyName(val: string);
8173
8213
  /*
8174
- * Use this property to change the default text showing in the confirmation delete dialog on removing a panel.
8214
+ * A message displayed in a confirmation dialog that appears when a respondent wants to delete a panel.
8175
8215
  */
8176
8216
  get confirmDeleteText(): string;
8177
8217
  set confirmDeleteText(val: string);
8178
8218
  get locConfirmDeleteText(): LocalizableString;
8179
8219
  /*
8180
- * The duplication value error text. Set it to show the text different from the default.
8220
+ * An error message displayed when users enter a duplicate value into a question that accepts only unique values (`isUnique` is set to `true` or `keyName` is specified).
8221
+ *
8222
+ * A default value for this property is taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/master/src/localization). Refer to the following help topic for more information: [Localization & Globalization](https://surveyjs.io/form-library/documentation/localization).
8181
8223
  */
8182
8224
  get keyDuplicationError(): string;
8183
8225
  set keyDuplicationError(val: string);
8184
8226
  get locKeyDuplicationError(): LocalizableString;
8185
8227
  /*
8186
- * Use this property to change the default previous button text. Previous button shows the previous panel, change the currentPanel, when the renderMode doesn't equal to "list".
8228
+ * A caption for the Previous button. Applies only if `renderMode` is different from `"list"`.
8187
8229
  */
8188
8230
  get panelPrevText(): string;
8189
8231
  set panelPrevText(val: string);
8190
8232
  get locPanelPrevText(): LocalizableString;
8191
8233
  /*
8192
- * Use this property to change the default next button text. Next button shows the next panel, change the currentPanel, when the renderMode doesn't equal to "list".
8234
+ * A caption for the Next button. Applies only if `renderMode` is different from `"list"`.
8193
8235
  */
8194
8236
  get panelNextText(): string;
8195
8237
  set panelNextText(val: string);
8196
8238
  get locPanelNextText(): LocalizableString;
8197
8239
  /*
8198
- * Use this property to change the default value of add panel button text.
8240
+ * A caption for the Add Panel button.
8199
8241
  */
8200
8242
  get panelAddText(): string;
8201
8243
  set panelAddText(val: string);
8202
8244
  get locPanelAddText(): LocalizableString;
8203
8245
  /*
8204
- * Use this property to change the default value of remove panel button text.
8246
+ * A caption for the Delete Panel button.
8205
8247
  */
8206
8248
  get panelRemoveText(): string;
8207
8249
  set panelRemoveText(val: string);
@@ -8215,11 +8257,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8215
8257
  */
8216
8258
  get isProgressBottomShowing(): boolean;
8217
8259
  /*
8218
- * Returns true when currentIndex is more than 0.
8260
+ * Indicates whether the Previous button is visible.
8219
8261
  */
8220
8262
  get isPrevButtonShowing(): boolean;
8221
8263
  /*
8222
- * Returns true when currentIndex is more than or equal 0 and less than panelCount - 1.
8264
+ * Indicates whether the Next button is visible.
8223
8265
  */
8224
8266
  get isNextButtonShowing(): boolean;
8225
8267
  /*
@@ -8233,41 +8275,58 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8233
8275
  protected getValueCore(): any;
8234
8276
  protected setValueCore(newValue: any): void;
8235
8277
  /*
8236
- * Use this property to get/set the number of dynamic panels.
8278
+ * The number of panels in Dynamic Panel.
8237
8279
  */
8238
8280
  get panelCount(): number;
8239
8281
  set panelCount(val: number);
8240
8282
  /*
8241
- * Use this property to allow the end-user to collapse/expand the panels. It works only if the renderMode property equals to "list" and templateTitle property is not empty. The following values are available:
8242
- * default - the default value. User can't collapse/expand panels
8243
- * expanded - User can collapse/expand panels and all panels are expanded by default
8244
- * collapsed - User can collapse/expand panels and all panels are collapsed by default
8245
- * firstExpanded - User can collapse/expand panels. The first panel is expanded and others are collapsed
8283
+ * Specifies whether users can expand and collapse panels. Applies if `renderMode` is `"list"` and the `templateTitle` property is specified.
8284
+ *
8285
+ * Possible values:
8286
+ *
8287
+ * - `"default"` (default) - All panels are displayed in full and cannot be collapsed.
8288
+ * - `"expanded"` - All panels are displayed in full and can be collapsed in the UI.
8289
+ * - `"collapsed"` - All panels display only their titles and descriptions and can be expanded in the UI.
8290
+ * - `"firstExpanded"` - Only the first panel is displayed in full; other panels are collapsed and can be expanded in the UI.
8246
8291
  */
8247
8292
  get panelsState(): string;
8248
8293
  set panelsState(val: string);
8249
8294
  /*
8250
- * The minimum panel count. A user could not delete a panel if the panelCount equals to minPanelCount
8295
+ * A minimum number of panels in Dynamic Panel. Users cannot delete panels if `panelCount` equals `minPanelCount`.
8296
+ *
8297
+ * Default value: 0
8251
8298
  */
8252
8299
  get minPanelCount(): number;
8253
8300
  set minPanelCount(val: number);
8254
8301
  /*
8255
- * The maximum panel count. A user could not add a panel if the panelCount equals to maxPanelCount
8302
+ * A maximum number of panels in Dynamic Panel. Users cannot add new panels if `panelCount` equals `maxPanelCount`.
8303
+ *
8304
+ * Default value: 100 (inherited from [`settings.panelMaximumPanelCount`](https://surveyjs.io/form-library/documentation/settings#panelMaximumPanelCount))
8256
8305
  */
8257
8306
  get maxPanelCount(): number;
8258
8307
  set maxPanelCount(val: number);
8259
8308
  /*
8260
- * Set this property to false to hide the 'Add New' button
8309
+ * Specifies whether users are allowed to add new panels.
8310
+ *
8311
+ * Default value: `true`
8261
8312
  */
8262
8313
  get allowAddPanel(): boolean;
8263
8314
  set allowAddPanel(val: boolean);
8264
8315
  /*
8265
- * Set this property to false to hide the 'Remove' button
8316
+ * Specifies whether users are allowed to delete panels.
8317
+ *
8318
+ * Default value: `true`
8266
8319
  */
8267
8320
  get allowRemovePanel(): boolean;
8268
8321
  set allowRemovePanel(val: boolean);
8269
8322
  /*
8270
- * Set this property different from "default" to set the specific question title location for the template questions.
8323
+ * Gets or sets the location of question titles within the template panel relative to their input fields.
8324
+ *
8325
+ * - `"default"` (default) - Inherits the setting from the Dynamic Panel's `titleLocation` property, which in turn inherits the [`questionTitleLocation`](https://surveyjs.io/form-library/documentation/surveymodel#questionTitleLocation) property value specified for the Dynamic Panel's container (page or survey).
8326
+ * - `"top"` - Displays question titles above input fields.
8327
+ * - `"bottom"` - Displays question titles below input fields.
8328
+ * - `"left"` - Displays question titles to the left of input fields.
8329
+ * - `"hidden"` - Hides question titles.
8271
8330
  */
8272
8331
  get templateTitleLocation(): string;
8273
8332
  set templateTitleLocation(val: string);
@@ -8278,8 +8337,12 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8278
8337
  get showQuestionNumbers(): string;
8279
8338
  set showQuestionNumbers(val: string);
8280
8339
  /*
8281
- * Use this property to change the location of the remove button relative to the panel.
8282
- * By default the value is "bottom". You may set it to "right" and remove button will appear to the right of the panel.
8340
+ * Specifies the location of the Delete Panel button relative to panel content.
8341
+ *
8342
+ * Possible values:
8343
+ *
8344
+ * - `"bottom"` (default) - Displays the Delete Panel button below panel content.
8345
+ * - `"right"` - Displays the Delete Panel button to the right of panel content.
8283
8346
  */
8284
8347
  get panelRemoveButtonLocation(): string;
8285
8348
  set panelRemoveButtonLocation(val: string);
@@ -8293,18 +8356,26 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8293
8356
  */
8294
8357
  get renderMode(): string;
8295
8358
  set renderMode(val: string);
8296
- /*
8297
- * Returns true when renderMode equals to "list".
8298
- */
8299
8359
  get isRenderModeList(): boolean;
8300
8360
  setVisibleIndex(value: number): number;
8301
8361
  /*
8302
- * Returns true when an end user may add a new panel. The question is not read only and panelCount less than maxPanelCount
8303
- * and renderMode is "list" or the current panel doesn't have any errors
8362
+ * Indicates whether it is possible to add a new panel.
8363
+ *
8364
+ * This property returns `true` when all of the following conditions apply:
8365
+ *
8366
+ * - Users are allowed to add new panels (`allowAddPanel` is `true`).
8367
+ * - Dynamic Panel or its parent survey is not in read-only state.
8368
+ * - `panelCount` is less than `maxPanelCount`.
8304
8369
  */
8305
8370
  get canAddPanel(): boolean;
8306
8371
  /*
8307
- * Returns true when an end user may remove a panel. The question is not read only and panelCount is more than minPanelCount
8372
+ * Indicates whether it is possible to delete panels.
8373
+ *
8374
+ * This property returns `true` when all of the following conditions apply:
8375
+ *
8376
+ * - Users are allowed to delete panels (`allowRemovePanel` is `true`).
8377
+ * - Dynamic Panel or its parent survey is not in read-only state.
8378
+ * - `panelCount` exceeds `minPanelCount`.
8308
8379
  */
8309
8380
  get canRemovePanel(): boolean;
8310
8381
  protected rebuildPanels(): void;
@@ -8314,8 +8385,9 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8314
8385
  get defaultPanelValue(): any;
8315
8386
  set defaultPanelValue(val: any);
8316
8387
  /*
8317
- * Set it to true to copy the value into new added panel from the last panel. If defaultPanelValue is set and this property equals to true,
8318
- * then the value for new added panel is merging.
8388
+ * Specifies whether default values for a new panel should be copied from the last panel.
8389
+ *
8390
+ * If you also specify `defaultValue`, it will be merged with the copied values.
8319
8391
  */
8320
8392
  get defaultValueFromLastPanel(): boolean;
8321
8393
  set defaultValueFromLastPanel(val: boolean);
@@ -8337,12 +8409,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8337
8409
  */
8338
8410
  removePanelUI(value: any): void;
8339
8411
  /*
8340
- * Goes to the next panel in the PanelDynamic
8341
- * Returns true, if it can move to the next panel. It can return false if the renderMode is "list" or the current panel has errors.
8412
+ * Switches Dynamic Panel to the next panel. Returns `true` in case of success, or `false` if `renderMode` is `"list"` or the current panel contains validation errors.
8342
8413
  */
8343
8414
  goToNextPanel(): boolean;
8344
8415
  /*
8345
- * Goes to the previous panel in the PanelDynamic
8416
+ * Switches Dynamic Panel to the previous panel.
8346
8417
  */
8347
8418
  goToPrevPanel(): void;
8348
8419
  /*
@@ -8375,6 +8446,8 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8375
8446
  protected createNewPanelObject(): PanelModel;
8376
8447
  setQuestionValue(newValue: any): void;
8377
8448
  onSurveyValueChanged(newValue: any): void;
8449
+ onReadyChangedCallback: any;
8450
+ recalculateIsReadyValue(): void;
8378
8451
  protected onSetData(): void;
8379
8452
  getItemIndex(item: ISurveyData): number;
8380
8453
  getPanelItemData(item: ISurveyData): any;
@@ -8392,7 +8465,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8392
8465
  getPrevButtonCss(): string;
8393
8466
  getNextButtonCss(): string;
8394
8467
  /*
8395
- * A text displayed when the dynamic panel contains no entries. Applies only in the Default V2 theme.
8468
+ * A text displayed when Dynamic Panel contains no entries. Applies only in the Default V2 theme.
8396
8469
  */
8397
8470
  get noEntriesText(): string;
8398
8471
  set noEntriesText(val: string);
@@ -8405,7 +8478,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
8405
8478
  updateFooterActionsCallback: any;
8406
8479
  }
8407
8480
  /*
8408
- * A class that describes the Rating question type.
8481
+ * A Model for a rating question.
8409
8482
  *
8410
8483
  * [View Demo](https://surveyjs.io/form-library/examples/questiontype-rating/ (linkStyle))
8411
8484
  */
@@ -8506,6 +8579,7 @@ export declare class QuestionRatingModel extends Question {
8506
8579
  set placeholder(val: string);
8507
8580
  get locPlaceholder(): LocalizableString;
8508
8581
  get allowClear(): boolean;
8582
+ get searchEnabled(): boolean;
8509
8583
  get renderedValue(): boolean;
8510
8584
  set renderedValue(val: boolean);
8511
8585
  get visibleChoices(): any;
@@ -8552,6 +8626,7 @@ export declare class QuestionSelectBase extends Question {
8552
8626
  * Returns `true` if the "Other" choice item is selected.
8553
8627
  */
8554
8628
  get isOtherSelected(): boolean;
8629
+ get isNoneSelected(): boolean;
8555
8630
  /*
8556
8631
  * Specifies whether to display the "None" choice item.
8557
8632
  *
@@ -9316,6 +9391,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
9316
9391
  * - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
9317
9392
  * - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
9318
9393
  * - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
9394
+ * - [*"tagbox"*](https://surveyjs.io/form-library/documentation/questiontagboxmodel)
9319
9395
  * - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
9320
9396
  * - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
9321
9397
  * - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
@@ -10098,8 +10174,8 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
10098
10174
  * This property returns `true` when all of the following conditions apply:
10099
10175
  *
10100
10176
  * - Users are allowed to add new rows (`allowAddRows` is `true`).
10101
- * - The question, panel, or survey is not in read-only state.
10102
- * - `rowCount` does not exceed `maxRowCount`
10177
+ * - The question, its parent panel, or survey is not in read-only state.
10178
+ * - `rowCount` is less than `maxRowCount`.
10103
10179
  */
10104
10180
  get canAddRow(): boolean;
10105
10181
  canRemoveRowsCallback: (allow: boolean) => boolean;
@@ -10109,8 +10185,8 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
10109
10185
  * This property returns `true` when all of the following conditions apply:
10110
10186
  *
10111
10187
  * - Users are allowed to delete rows (`allowRemoveRows` is `true`).
10112
- * - The question, panel, or survey is not in read-only state.
10113
- * - `rowCount` exceeds `minRowCount`
10188
+ * - The question, its parent panel, or survey is not in read-only state.
10189
+ * - `rowCount` exceeds `minRowCount`.
10114
10190
  */
10115
10191
  get canRemoveRows(): boolean;
10116
10192
  canRemoveRow(row: MatrixDropdownRowModelBase): boolean;
@@ -10286,6 +10362,8 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
10286
10362
  }
10287
10363
  /*
10288
10364
  * A Model for a tagbox question
10365
+ *
10366
+ * [View Demo](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/ (linkStyle))
10289
10367
  */
10290
10368
  export declare class QuestionTagboxModel extends QuestionCheckboxModel {
10291
10369
  constructor(name: string);