survey-react 1.9.127 → 1.9.128

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/survey.react.d.ts CHANGED
@@ -50,6 +50,8 @@ declare module "localization/english" {
50
50
  startSurveyText: string;
51
51
  otherItemText: string;
52
52
  noneItemText: string;
53
+ refuseItemText: string;
54
+ dontKnowItemText: string;
53
55
  selectAllItemText: string;
54
56
  progressText: string;
55
57
  indexText: string;
@@ -171,6 +173,8 @@ declare module "surveyStrings" {
171
173
  startSurveyText: string;
172
174
  otherItemText: string;
173
175
  noneItemText: string;
176
+ refuseItemText: string;
177
+ dontKnowItemText: string;
174
178
  selectAllItemText: string;
175
179
  progressText: string;
176
180
  indexText: string;
@@ -948,6 +952,7 @@ declare module "list" {
948
952
  allowSelection?: boolean;
949
953
  selectedItem?: IAction;
950
954
  onFilterStringChangedCallback?: (text: string) => void;
955
+ onTextSearchCallback?: (text: string, textToSearch: string) => boolean;
951
956
  }
952
957
  export class ListModel<T extends BaseAction = Action> extends ActionContainer<T> {
953
958
  onSelectionChanged: (item: T, ...params: any[]) => void;
@@ -978,7 +983,9 @@ declare module "list" {
978
983
  private onFilterStringChanged;
979
984
  private scrollToItem;
980
985
  constructor(items: Array<IAction>, onSelectionChanged: (item: T, ...params: any[]) => void, allowSelection: boolean, selectedItem?: IAction, onFilterStringChangedCallback?: (text: string) => void, elementId?: string);
986
+ private onTextSearchCallback;
981
987
  setOnFilterStringChangedCallback(callback: (text: string) => void): void;
988
+ setOnTextSearchCallback(callback: (item: T, textToSearch: string) => boolean): void;
982
989
  setItems(items: Array<IAction>, sortByVisibleIndex?: boolean): void;
983
990
  protected onSet(): void;
984
991
  protected getDefaultCssClasses(): {
@@ -1396,6 +1403,7 @@ declare module "defaultCss/defaultV2Css" {
1396
1403
  export var defaultV2Css: {
1397
1404
  root: string;
1398
1405
  rootMobile: string;
1406
+ rootAnimationDisabled: string;
1399
1407
  rootReadOnly: string;
1400
1408
  rootCompact: string;
1401
1409
  rootFitToContainer: string;
@@ -1513,8 +1521,13 @@ declare module "defaultCss/defaultV2Css" {
1513
1521
  progressBottom: string;
1514
1522
  progressBar: string;
1515
1523
  progressText: string;
1524
+ progressButtonsRoot: string;
1525
+ progressButtonsNumbered: string;
1516
1526
  progressButtonsContainerCenter: string;
1517
1527
  progressButtonsContainer: string;
1528
+ progressButtonsConnector: string;
1529
+ progressButtonsHeader: string;
1530
+ progressButtonsFooter: string;
1518
1531
  progressButtonsImageButtonLeft: string;
1519
1532
  progressButtonsImageButtonRight: string;
1520
1533
  progressButtonsImageButtonHidden: string;
@@ -1856,6 +1869,7 @@ declare module "defaultCss/defaultV2Css" {
1856
1869
  noHeader: string;
1857
1870
  hasFooter: string;
1858
1871
  tableWrapper: string;
1872
+ rootAlternateRows: string;
1859
1873
  content: string;
1860
1874
  cell: string;
1861
1875
  row: string;
@@ -2400,6 +2414,7 @@ declare module "textPreProcessor" {
2400
2414
  declare module "question_custom" {
2401
2415
  import { Question, IConditionObject } from "question";
2402
2416
  import { JsonObjectProperty } from "jsonobject";
2417
+ import { Base } from "base";
2403
2418
  import { ISurveyImpl, ISurveyData, ITextProcessor, IPanel, IElement, IQuestion, IProgressInfo } from "base-interfaces";
2404
2419
  import { SurveyElement } from "survey-element";
2405
2420
  import { PanelModel } from "panel";
@@ -2469,6 +2484,15 @@ declare module "question_custom" {
2469
2484
  * ```
2470
2485
  */
2471
2486
  defaultQuestionTitle?: any;
2487
+ /**
2488
+ * An array of property names to inherit from a base question or a Boolean value that specifies whether or not to inherit all properties.
2489
+ *
2490
+ * Default value: `false`
2491
+ *
2492
+ * When you create a [custom specialized question type](https://surveyjs.io/form-library/documentation/customize-question-types/create-specialized-question-types), you base it on another question type configured within the [`questionJSON`](#questionJSON) object. If the custom question type should inherit all properties from the base type, set the `inheritBaseProps` property to `true`. If you want to inherit only certain properties, set the `inheritBaseProps` property to an array of their names.
2493
+ *
2494
+ * [Create Specialized Question Types](https://surveyjs.io/form-library/documentation/customize-question-types/create-specialized-question-types (linkStyle))
2495
+ */
2472
2496
  inheritBaseProps?: false | true | Array<string>;
2473
2497
  /**
2474
2498
  * A function that is called when the custom question is created. Use it to access questions nested within a [composite question type](https://surveyjs.io/form-library/documentation/customize-question-types/create-composite-question-types).
@@ -2720,6 +2744,7 @@ declare module "question_custom" {
2720
2744
  getTemplate(): string;
2721
2745
  getDynamicProperties(): Array<JsonObjectProperty>;
2722
2746
  getDynamicType(): string;
2747
+ getOriginalObj(): Base;
2723
2748
  protected createWrapper(): void;
2724
2749
  protected getElement(): SurveyElement;
2725
2750
  onAnyValueChanged(name: string, questionName: string): void;
@@ -3985,6 +4010,8 @@ declare module "question_baseselect" {
3985
4010
  private isChoicesLoaded;
3986
4011
  private enableOnLoadingChoices;
3987
4012
  private noneItemValue;
4013
+ private refuseItemValue;
4014
+ private dontKnowItemValue;
3988
4015
  private newItemValue;
3989
4016
  private canShowOptionItemCallback;
3990
4017
  private waitingGetChoiceDisplayValueResponse;
@@ -4028,6 +4055,7 @@ declare module "question_baseselect" {
4028
4055
  * When users select the "None" item in multi-select questions, all other items become unselected.
4029
4056
  * @see noneItem
4030
4057
  * @see noneText
4058
+ * @see [settings.noneItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#noneItemValue)
4031
4059
  * @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
4032
4060
  */
4033
4061
  get showNoneItem(): boolean;
@@ -4046,6 +4074,53 @@ declare module "question_baseselect" {
4046
4074
  get noneText(): string;
4047
4075
  set noneText(val: string);
4048
4076
  get locNoneText(): LocalizableString;
4077
+ /**
4078
+ * Specifies whether to display the "Refuse to answer" choice item.
4079
+ *
4080
+ * When users select the "Refuse to answer" item in multi-select questions, all other items become unselected.
4081
+ * @see refuseItem
4082
+ * @see refuseItemText
4083
+ * @see [settings.refuseItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#refuseItemValue)
4084
+ * @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
4085
+ */
4086
+ get showRefuseItem(): boolean;
4087
+ set showRefuseItem(val: boolean);
4088
+ /**
4089
+ * Returns the "Refuse to answer" choice item. Use this property to change the item's `value` or `text`.
4090
+ * @see showRefuseItem
4091
+ */
4092
+ get refuseItem(): ItemValue;
4093
+ /**
4094
+ * Gets or sets a caption for the "Refuse to answer" choice item.
4095
+ * @see showRefuseItem
4096
+ */
4097
+ get refuseText(): string;
4098
+ set refuseText(val: string);
4099
+ get locRefuseText(): LocalizableString;
4100
+ /**
4101
+ * Specifies whether to display the "Don't know" choice item.
4102
+ *
4103
+ * When users select the "Don't know" item in multi-select questions, all other items become unselected.
4104
+ * @see dontKnowItem
4105
+ * @see dontKnowItemText
4106
+ * @see [settings.dontKnowItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#dontKnowItemValue)
4107
+ * @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
4108
+ */
4109
+ get showDontKnowItem(): boolean;
4110
+ set showDontKnowItem(val: boolean);
4111
+ /**
4112
+ * Returns the "Don't know" choice item. Use this property to change the item's `value` or `text`.
4113
+ * @see showDontKnowItem
4114
+ */
4115
+ get dontKnowItem(): ItemValue;
4116
+ /**
4117
+ * Gets or sets a caption for the "Don't know" choice item.
4118
+ * @see showDontKnowItem
4119
+ */
4120
+ get dontKnowText(): string;
4121
+ set dontKnowText(val: string);
4122
+ get locDontKnowText(): LocalizableString;
4123
+ private createDefaultItem;
4049
4124
  /**
4050
4125
  * A Boolean expression that is evaluated against each choice item. If the expression evaluates to `false`, the choice item becomes hidden.
4051
4126
  *
@@ -4295,7 +4370,7 @@ declare module "question_baseselect" {
4295
4370
  protected addNonChoiceItem(dict: Array<{
4296
4371
  index: number;
4297
4372
  item: ItemValue;
4298
- }>, item: ItemValue, order: Array<number>): void;
4373
+ }>, item: ItemValue, isAddAll: boolean, showItem: boolean, order: Array<number>): void;
4299
4374
  protected canShowOptionItem(item: ItemValue, isAddAll: boolean, hasItem: boolean): boolean;
4300
4375
  isItemInList(item: ItemValue): boolean;
4301
4376
  protected get isAddDefaultItems(): boolean;
@@ -4307,6 +4382,9 @@ declare module "question_baseselect" {
4307
4382
  private getItemDisplayValue;
4308
4383
  private getFilteredChoices;
4309
4384
  protected get activeChoices(): Array<ItemValue>;
4385
+ get isMessagePanelVisible(): boolean;
4386
+ set isMessagePanelVisible(val: boolean);
4387
+ private get isEmptyActiveChoicesInDesign();
4310
4388
  getCarryForwardQuestion(data?: ISurveyData): Question;
4311
4389
  protected getIsReadyDependsOn(): Array<Question>;
4312
4390
  private getQuestionWithChoices;
@@ -4319,10 +4397,14 @@ declare module "question_baseselect" {
4319
4397
  private getChoicesFromSelectQuestion;
4320
4398
  private copyChoiceItem;
4321
4399
  protected get hasActiveChoices(): boolean;
4322
- protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
4400
+ protected isBuiltInChoice(item: ItemValue): boolean;
4401
+ isNoneItem(item: ItemValue): boolean;
4402
+ protected getNoneItems(): Array<ItemValue>;
4323
4403
  protected getChoices(): Array<ItemValue>;
4324
4404
  supportOther(): boolean;
4325
4405
  supportNone(): boolean;
4406
+ supportRefuse(): boolean;
4407
+ supportDontKnow(): boolean;
4326
4408
  protected isSupportProperty(propName: string): boolean;
4327
4409
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
4328
4410
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
@@ -4355,6 +4437,7 @@ declare module "question_baseselect" {
4355
4437
  private randomizeArray;
4356
4438
  private get hasChoicesUrl();
4357
4439
  clearIncorrectValues(): void;
4440
+ private canClearIncorrectValues;
4358
4441
  protected hasValueToClearIncorrectValues(): boolean;
4359
4442
  protected clearValueIfInvisibleCore(reason: string): void;
4360
4443
  /**
@@ -5682,7 +5765,7 @@ declare module "themes" {
5682
5765
  */
5683
5766
  backgroundOpacity?: number;
5684
5767
  /**
5685
- * An object with [advanced survey header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader). Applies when `SurveyModel`'s [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#headerView) property is set to `"advanced"`.
5768
+ * An object with [advanced survey header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader). Applies when the [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/itheme#headerView) property is set to `"advanced"`.
5686
5769
  */
5687
5770
  header?: IHeader;
5688
5771
  /**
@@ -5709,7 +5792,7 @@ declare module "themes" {
5709
5792
  /**
5710
5793
  * A survey header configuration interface.
5711
5794
  *
5712
- * An `IHeader` object configures advanced survey header appearance settings. To apply them, you need to assign the object to the [`header`](https://surveyjs.io/form-library/documentation/api-reference/itheme#header) property of your theme configuration and set `SurveyModel`'s [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#headerView) property to `"advanced"`.
5795
+ * An `IHeader` object configures advanced survey header appearance settings. To apply them, you need to assign the object to the [`header`](https://surveyjs.io/form-library/documentation/api-reference/itheme#header) property of your theme configuration and set the [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/itheme#headerView) property to `"advanced"`.
5713
5796
  */
5714
5797
  export interface IHeader {
5715
5798
  /**
@@ -7254,6 +7337,20 @@ declare module "survey-events-api" {
7254
7337
  */
7255
7338
  skip: number;
7256
7339
  }
7340
+ export interface ChoicesSearchEvent extends QuestionEventMixin {
7341
+ /**
7342
+ * A search string used to filter choice options.
7343
+ */
7344
+ filter: string;
7345
+ /**
7346
+ * An array of all choice options.
7347
+ */
7348
+ choices: Array<ItemValue>;
7349
+ /**
7350
+ * A filtered array of choice options. Apply `options.filter` to the `options.choices` array and assign the result to this parameter.
7351
+ */
7352
+ filteredChoices: Array<ItemValue>;
7353
+ }
7257
7354
  export interface GetChoiceDisplayValueEvent extends QuestionEventMixin {
7258
7355
  /**
7259
7356
  * A method that you should call to assign display texts to the question.
@@ -7642,7 +7739,7 @@ declare module "page" {
7642
7739
  protected canShowPageNumber(): boolean;
7643
7740
  protected canShowTitle(): boolean;
7644
7741
  /**
7645
- * A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"buttons"`.
7742
+ * A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
7646
7743
  *
7647
7744
  * If navigation titles are unspecified, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
7648
7745
  */
@@ -7650,7 +7747,7 @@ declare module "page" {
7650
7747
  set navigationTitle(val: string);
7651
7748
  get locNavigationTitle(): LocalizableString;
7652
7749
  /**
7653
- * Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) property is set to `"buttons"`.
7750
+ * Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
7654
7751
  */
7655
7752
  get navigationDescription(): string;
7656
7753
  set navigationDescription(val: string);
@@ -8557,6 +8654,50 @@ declare module "surveyTaskManager" {
8557
8654
  private taskFinished;
8558
8655
  }
8559
8656
  }
8657
+ declare module "progress-buttons" {
8658
+ import { Base, EventBase } from "base";
8659
+ import { PageModel } from "page";
8660
+ import { SurveyModel } from "survey";
8661
+ export class ProgressButtons extends Base {
8662
+ survey: SurveyModel;
8663
+ constructor(survey: SurveyModel);
8664
+ isListElementClickable(index: number | any): boolean;
8665
+ getRootCss(container?: string): string;
8666
+ getListElementCss(index: number | any): string;
8667
+ getScrollButtonCss(hasScroller: boolean, isLeftScroll: boolean): string;
8668
+ clickListElement(element: number | PageModel): void;
8669
+ isListContainerHasScroller(element: HTMLElement): boolean;
8670
+ isCanShowItemTitles(element: HTMLElement): boolean;
8671
+ clearConnectorsWidth(element: HTMLElement): void;
8672
+ adjustConnectors(element: HTMLElement): void;
8673
+ get showItemNumbers(): boolean;
8674
+ get showItemTitles(): boolean;
8675
+ getItemNumber(page: PageModel): string;
8676
+ get headerText(): string;
8677
+ get footerText(): string;
8678
+ onResize: EventBase<ProgressButtons, any>;
8679
+ processResponsiveness(width: number): void;
8680
+ }
8681
+ export interface IProgressButtonsViewModel {
8682
+ container: string;
8683
+ onResize(canShowItemTitles: boolean): void;
8684
+ onUpdateScroller(hasScroller: boolean): void;
8685
+ onUpdateSettings(): void;
8686
+ }
8687
+ export class ProgressButtonsResponsivityManager {
8688
+ private model;
8689
+ private element;
8690
+ private viewModel;
8691
+ private criticalProperties;
8692
+ private timer;
8693
+ private prevWidth;
8694
+ private canShowItemTitles;
8695
+ constructor(model: ProgressButtons, element: HTMLElement, viewModel: IProgressButtonsViewModel);
8696
+ private forceUpdate;
8697
+ private processResponsiveness;
8698
+ dispose(): void;
8699
+ }
8700
+ }
8560
8701
  declare module "surveyToc" {
8561
8702
  import { Action } from "actions/action";
8562
8703
  import { ListModel } from "list";
@@ -8599,7 +8740,7 @@ declare module "survey" {
8599
8740
  import { ActionContainer } from "actions/container";
8600
8741
  import { QuestionPanelDynamicModel } from "question_paneldynamic";
8601
8742
  import { Notifier } from "notifier";
8602
- import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent } from "survey-events-api";
8743
+ import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent } from "survey-events-api";
8603
8744
  import { QuestionMatrixDropdownModelBase } from "question_matrixdropdownbase";
8604
8745
  import { QuestionMatrixDynamicModel } from "question_matrixdynamic";
8605
8746
  import { QuestionFileModel } from "question_file";
@@ -9095,6 +9236,12 @@ declare module "survey" {
9095
9236
  * [View Demo](https://surveyjs.io/form-library/examples/lazy-loading-dropdown/ (linkStyle))
9096
9237
  */
9097
9238
  onChoicesLazyLoad: EventBase<SurveyModel, ChoicesLazyLoadEvent>;
9239
+ /**
9240
+ * An event that is raised each time a search string in a [Dropdown](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model) or [Tag Box](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model) question changes. Use this event to implement custom filtering of choice options.
9241
+ * @see [QuestionDropdownModel.searchEnabled](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#searchEnabled)
9242
+ * @see [QuestionDropdownModel.searchMode](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#searchMode)
9243
+ */
9244
+ onChoicesSearch: EventBase<SurveyModel, ChoicesSearchEvent>;
9098
9245
  /**
9099
9246
  * Use this event to load a display text for the [default choice item](https://surveyjs.io/form-library/documentation/questiondropdownmodel#defaultValue) in [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel) and [Tag Box](https://surveyjs.io/form-library/documentation/questiontagboxmodel) questions.
9100
9247
  *
@@ -9330,17 +9477,7 @@ declare module "survey" {
9330
9477
  containerCss: string;
9331
9478
  fitToContainer: boolean;
9332
9479
  /**
9333
- * Specifies whether the survey header uses only basic appearance settings or applies advanced settings from the survey theme.
9334
- *
9335
- * Possible values:
9336
- *
9337
- * - `"basic"` (default)\
9338
- * A basic header view applies only the [`title`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#title), [`description`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#description), and logo-related properties ([`logo`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logo), [`logoPosition`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logoPosition), etc.).
9339
- *
9340
- * - `"advanced"`\
9341
- * An advanced header view applies the same properties as the basic view, plus [header settings](https://surveyjs.io/form-library/documentation/api-reference/iheader) from the [survey theme](https://surveyjs.io/form-library/documentation/api-reference/itheme#header). The advanced view features a more flexible header layout, a capability to specify a background image, and other settings that give a more professional look to the survey header.
9342
- *
9343
- * [View Demo](https://surveyjs.io/form-library/examples/brand-your-survey-header/ (linkStyle))
9480
+ * This property is obsolete. Use the [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/itheme#headerView) property within a theme instead.
9344
9481
  */
9345
9482
  headerView: "advanced" | "basic";
9346
9483
  protected insertAdvancedHeader(advHeader: Cover): void;
@@ -10001,15 +10138,21 @@ declare module "survey" {
10001
10138
  */
10002
10139
  get showQuestionNumbers(): string | boolean;
10003
10140
  set showQuestionNumbers(value: string | boolean);
10141
+ private progressBarValue;
10142
+ get progressBar(): any;
10004
10143
  /**
10005
10144
  * Controls the visibility of the progress bar and specifies its position.
10006
10145
  *
10007
10146
  * Possible values:
10008
10147
  *
10009
10148
  * - `"off"` (default) - Hides the progress bar.
10010
- * - `"top"` - Displays the progress bar above survey content.
10149
+ * - `"aboveHeader"` - Displays the progress bar above the survey header.
10150
+ * - `"belowHeader"` - Displays the progress bar below the survey header.
10011
10151
  * - `"bottom"` - Displays the progress bar below survey content.
10012
- * - `"both"` - Displays the progress bar above and below survey content.
10152
+ * - `"topBottom"` - Displays the progress bar above and below survey content.
10153
+ * - `"auto"` - Automatically selects between `"aboveHeader"` and `"belowHeader"`.
10154
+ * - `"top"` - *(Obsolete)* Use the `"aboveHeader"` or `"belowHeader"` property value instead.
10155
+ * - `"both"` - *(Obsolete)* Use the `"topBottom"` property value instead.
10013
10156
  *
10014
10157
  * [View Demo](https://surveyjs.io/form-library/examples/navigation-default/ (linkStyle))
10015
10158
  * @see progressBarType
@@ -10026,13 +10169,30 @@ declare module "survey" {
10026
10169
  * - `"questions"` - The number of answered questions.
10027
10170
  * - `"requiredQuestions"` - The number of answered [required questions](https://surveyjs.io/form-library/documentation/api-reference/question#isRequired).
10028
10171
  * - `"correctQuestions"` - The number of correct questions in a [quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
10029
- * - `"buttons"` - Adds jump links to the progress bar.
10172
+ * - `"buttons"` - *(Obsolete)* Use the `"pages"` property value with the [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarShowPageTitles) property set to `true` instead.
10173
+ *
10174
+ * > When `progressBarType` is set to `"pages"`, you can also enable the [`progressBarShowPageNumbers`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarShowPageNumbers) and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarShowPageTitles) properties if you want to display page numbers and titles in the progress bar.
10030
10175
  *
10031
10176
  * [View Demo](https://surveyjs.io/form-library/examples/navigation-buttons/ (linkStyle))
10032
10177
  * @see progressValue
10033
10178
  */
10034
10179
  get progressBarType(): string;
10035
10180
  set progressBarType(newValue: string);
10181
+ private get progressBarComponentName();
10182
+ /**
10183
+ * Specifies whether the progress bar displays page titles. Applies only when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and [`progressBarType`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarType) is `"pages"`.
10184
+ *
10185
+ * Default value: `false`
10186
+ * @see progressBarShowPageNumbers
10187
+ */
10188
+ progressBarShowPageTitles: boolean;
10189
+ /**
10190
+ * Specifies whether the progress bar displays page numbers. Applies only when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and [`progressBarType`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarType) is `"pages"`.
10191
+ *
10192
+ * Default value: `false`
10193
+ * @see progressBarShowPageTitles
10194
+ */
10195
+ progressBarShowPageNumbers: boolean;
10036
10196
  get isShowProgressBarOnTop(): boolean;
10037
10197
  get isShowProgressBarOnBottom(): boolean;
10038
10198
  getProgressTypeComponent(): string;
@@ -10936,6 +11096,10 @@ declare module "survey" {
10936
11096
  private conditionRunnerCounter;
10937
11097
  private conditionUpdateVisibleIndexes;
10938
11098
  private conditionNotifyElementsOnAnyValueOrVariableChanged;
11099
+ /**
11100
+ * Recalculates all [expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions) in the survey.
11101
+ */
11102
+ runExpressions(): void;
10939
11103
  private runConditions;
10940
11104
  private runConditionOnValueChanged;
10941
11105
  private runConditionsCore;
@@ -10967,6 +11131,7 @@ declare module "survey" {
10967
11131
  private updateVisibleIndexes;
10968
11132
  private updatePageVisibleIndexes;
10969
11133
  fromJSON(json: any, options?: ILoadFromJSONOptions): void;
11134
+ startLoadingFromJson(json?: any): void;
10970
11135
  setJsonObject(jsonObj: any): void;
10971
11136
  private isEndLoadingFromJson;
10972
11137
  endLoadingFromJson(): void;
@@ -11311,7 +11476,7 @@ declare module "survey" {
11311
11476
  *
11312
11477
  * This method accepts an object with the following layout element properties:
11313
11478
  *
11314
- * - `id`: `string` | `"timerpanel"` | `"progress-buttons"` | `"progress-questions"` | `"progress-pages"` | `"progress-correctquestions"` | `"progress-requiredquestions"` | `"toc-navigation"` | `"navigationbuttons"`\
11479
+ * - `id`: `string` | `"timerpanel"` | `"progress-buttons"` | `"progress-questions"` | `"progress-pages"` | `"progress-correctquestions"` | `"progress-requiredquestions"` | `"toc-navigation"` | `"buttons-navigation"`\
11315
11480
  * A layout element identifier. You can use possible values to access and relocate or customize predefined layout elements.
11316
11481
  *
11317
11482
  * - `container`: `"header"` | `"footer"` | `"left"` | `"right"` | `"contentTop"` | `"contentBottom"`\
@@ -14898,15 +15063,27 @@ declare module "settings" {
14898
15063
  */
14899
15064
  showItemsInOrder: string;
14900
15065
  /**
14901
- * A value to save in survey results when respondents select the None choice item.
15066
+ * A value to save in survey results when respondents select the "None" choice item.
14902
15067
  *
14903
15068
  * Default value: `"none"`
14904
15069
  */
14905
15070
  noneItemValue: string;
14906
15071
  /**
14907
- * An object whose properties specify the order of the special choice items (None, Other, Select All) in select-based questions.
15072
+ * A value to save in survey results when respondents select the "Refuse to answer" choice item.
14908
15073
  *
14909
- * Default value: `{ selectAllItem: [-1], noneItem: [1], otherItem: [2] }`
15074
+ * Default value: `"refused"`
15075
+ */
15076
+ refuseItemValue: string;
15077
+ /**
15078
+ * A value to save in survey results when respondents select the "Don't know" choice item.
15079
+ *
15080
+ * Default value: `"dontknow"`
15081
+ */
15082
+ dontKnowItemValue: string;
15083
+ /**
15084
+ * An object whose properties specify the order of the special choice items ("None", "Other", "Select All", "Refuse to answer", "Don't know") in select-based questions.
15085
+ *
15086
+ * Default value: `{ selectAllItem: [-1], noneItem: [1], otherItem: [2], dontKnowItem: [3], otherItem: [4] }`
14910
15087
  *
14911
15088
  * Use this object to reorder special choices. Each property accepts an array of integer numbers. Negative numbers place a special choice item above regular choice items, positive numbers place it below them. For instance, the code below specifies the following order of choices: None, Select All, regular choices, Other.
14912
15089
  *
@@ -14927,6 +15104,8 @@ declare module "settings" {
14927
15104
  specialChoicesOrder: {
14928
15105
  selectAllItem: number[];
14929
15106
  noneItem: number[];
15107
+ refuseItem: number[];
15108
+ dontKnowItem: number[];
14930
15109
  otherItem: number[];
14931
15110
  };
14932
15111
  /**
@@ -14981,6 +15160,12 @@ declare module "settings" {
14981
15160
  * Default value: `true`
14982
15161
  */
14983
15162
  showMaxLengthIndicator: boolean;
15163
+ /**
15164
+ * Set to `false` to disable animations
15165
+ *
15166
+ * Default value: `true`
15167
+ */
15168
+ animationEnabled: boolean;
14984
15169
  /**
14985
15170
  * An object that specifies heading levels (`<h1>`, `<h2>`, etc.) to use when rendering survey, page, panel, and question titles.
14986
15171
  *
@@ -14998,6 +15183,7 @@ declare module "settings" {
14998
15183
  inputTypes: string[];
14999
15184
  dataList: string[];
15000
15185
  };
15186
+ legacyProgressBarView: boolean;
15001
15187
  };
15002
15188
  }
15003
15189
  declare module "question_matrixdropdown" {
@@ -15064,6 +15250,7 @@ declare module "dropdownListModel" {
15064
15250
  readonly loadingItemHeight = 40;
15065
15251
  private _markdownMode;
15066
15252
  private _popupModel;
15253
+ private filteredItems;
15067
15254
  focused: boolean;
15068
15255
  private get focusFirstInputSelector();
15069
15256
  protected readonly selectedItemSelector = ".sv-list__item--selected";
@@ -15228,8 +15415,22 @@ declare module "question_dropdown" {
15228
15415
  allowClear: boolean;
15229
15416
  /**
15230
15417
  * Specifies whether users can enter a value into the input field to filter the drop-down list.
15418
+ *
15419
+ * [View Demo](https://surveyjs.io/form-library/examples/create-dropdown-menu-in-javascript/ (linkStyle))
15420
+ * @see searchMode
15421
+ * @see [SurveyModel.onChoicesSearch](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onChoicesSearch)
15231
15422
  */
15232
15423
  searchEnabled: boolean;
15424
+ /**
15425
+ * Specifies a comparison operation used to filter the drop-down list. Applies only if [`searchEnabled`](#searchEnabled) is `true`.
15426
+ *
15427
+ * Possible values:
15428
+ *
15429
+ * - `"contains"` (default)
15430
+ * - `"startsWith"`
15431
+ * @see [SurveyModel.onChoicesSearch](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onChoicesSearch)
15432
+ */
15433
+ searchMode: "contains" | "startsWith";
15233
15434
  inputHasValue: boolean;
15234
15435
  readOnlyText: string;
15235
15436
  /**
@@ -15526,7 +15727,7 @@ declare module "question_empty" {
15526
15727
  }
15527
15728
  }
15528
15729
  declare module "question_checkbox" {
15529
- import { QuestionCheckboxBase, QuestionSelectBase } from "question_baseselect";
15730
+ import { QuestionCheckboxBase } from "question_baseselect";
15530
15731
  import { ItemValue } from "itemvalue";
15531
15732
  import { LocalizableString } from "localizablestring";
15532
15733
  import { IQuestion } from "base-interfaces";
@@ -15644,6 +15845,7 @@ declare module "question_checkbox" {
15644
15845
  protected getCommentFromValue(newValue: any): string;
15645
15846
  protected setOtherValueIntoValue(newValue: any): any;
15646
15847
  private getFirstUnknownIndex;
15848
+ protected removeNoneItemsValues(value: Array<any>, newValue: Array<any>): void;
15647
15849
  private noneIndexInArray;
15648
15850
  protected canUseFilteredChoices(): boolean;
15649
15851
  protected supportSelectAll(): boolean;
@@ -15651,7 +15853,7 @@ declare module "question_checkbox" {
15651
15853
  index: number;
15652
15854
  item: ItemValue;
15653
15855
  }>, isAddAll: boolean): void;
15654
- protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
15856
+ protected isBuiltInChoice(item: ItemValue): boolean;
15655
15857
  isItemInList(item: ItemValue): boolean;
15656
15858
  protected getDisplayValueCore(keysAsText: boolean, value: any): any;
15657
15859
  protected clearIncorrectValuesCore(): void;
@@ -15813,7 +16015,7 @@ declare module "question_tagbox" {
15813
16015
  }
15814
16016
  }
15815
16017
  declare module "question_imagepicker" {
15816
- import { QuestionCheckboxBase, QuestionSelectBase } from "question_baseselect";
16018
+ import { QuestionCheckboxBase } from "question_baseselect";
15817
16019
  import { ItemValue } from "itemvalue";
15818
16020
  import { ILocalizableOwner, LocalizableString } from "localizablestring";
15819
16021
  export class ImageItemValue extends ItemValue implements ILocalizableOwner {
@@ -15852,6 +16054,8 @@ declare module "question_imagepicker" {
15852
16054
  get isCompositeQuestion(): boolean;
15853
16055
  supportOther(): boolean;
15854
16056
  supportNone(): boolean;
16057
+ supportRefuse(): boolean;
16058
+ supportDontKnow(): boolean;
15855
16059
  isAnswerCorrect(): boolean;
15856
16060
  /**
15857
16061
  * Specifies whether users can select multiple images or videos.
@@ -15922,7 +16126,7 @@ declare module "question_imagepicker" {
15922
16126
  set contentMode(val: string);
15923
16127
  protected convertDefaultValue(val: any): any;
15924
16128
  get inputType(): "checkbox" | "radio";
15925
- protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
16129
+ protected isBuiltInChoice(item: ItemValue): boolean;
15926
16130
  protected addToVisibleChoices(items: Array<ItemValue>, isAddAll: boolean): void;
15927
16131
  getSelectBaseRootCss(): string;
15928
16132
  private isResponsiveValue;
@@ -16069,6 +16273,8 @@ declare module "question_ranking" {
16069
16273
  protected supportSelectAll(): boolean;
16070
16274
  supportOther(): boolean;
16071
16275
  supportNone(): boolean;
16276
+ supportRefuse(): boolean;
16277
+ supportDontKnow(): boolean;
16072
16278
  private handleArrowKeys;
16073
16279
  handleKeydownSelectToRank(event: KeyboardEvent, movedElement: ItemValue): void;
16074
16280
  private setValueAfterKeydown;
@@ -16722,17 +16928,6 @@ declare module "surveyProgress" {
16722
16928
  static getProgressTextUnderBarCss(css: any): string;
16723
16929
  }
16724
16930
  }
16725
- declare module "surveyProgressButtons" {
16726
- import { SurveyModel } from "survey";
16727
- export class SurveyProgressButtonsModel {
16728
- private survey;
16729
- constructor(survey: SurveyModel);
16730
- isListElementClickable(index: number): boolean;
16731
- getListElementCss(index: number): string;
16732
- getScrollButtonCss(hasScroller: boolean, isLeftScroll: boolean): string;
16733
- clickListElement(index: number): void;
16734
- }
16735
- }
16736
16931
  declare module "popup-survey" {
16737
16932
  import { Base } from "base";
16738
16933
  import { SurveyModel } from "survey";
@@ -17032,7 +17227,7 @@ declare module "entries/chunks/model" {
17032
17227
  export { SurveyTimerModel } from "surveyTimerModel";
17033
17228
  export * from "surveyToc";
17034
17229
  export { SurveyProgressModel } from "surveyProgress";
17035
- export { SurveyProgressButtonsModel } from "surveyProgressButtons";
17230
+ export { ProgressButtons, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from "progress-buttons";
17036
17231
  export * from "themes";
17037
17232
  export { SurveyModel } from "survey";
17038
17233
  export * from "survey-events-api";
@@ -19513,6 +19708,8 @@ declare module "localization/arabic" {
19513
19708
  startSurveyText: string;
19514
19709
  otherItemText: string;
19515
19710
  noneItemText: string;
19711
+ refuseItemText: string;
19712
+ dontKnowItemText: string;
19516
19713
  selectAllItemText: string;
19517
19714
  progressText: string;
19518
19715
  indexText: string;
@@ -19617,6 +19814,8 @@ declare module "localization/basque" {
19617
19814
  startSurveyText: string;
19618
19815
  otherItemText: string;
19619
19816
  noneItemText: string;
19817
+ refuseItemText: string;
19818
+ dontKnowItemText: string;
19620
19819
  selectAllItemText: string;
19621
19820
  progressText: string;
19622
19821
  indexText: string;
@@ -19721,6 +19920,8 @@ declare module "localization/bulgarian" {
19721
19920
  startSurveyText: string;
19722
19921
  otherItemText: string;
19723
19922
  noneItemText: string;
19923
+ refuseItemText: string;
19924
+ dontKnowItemText: string;
19724
19925
  selectAllItemText: string;
19725
19926
  progressText: string;
19726
19927
  indexText: string;
@@ -19825,6 +20026,8 @@ declare module "localization/catalan" {
19825
20026
  startSurveyText: string;
19826
20027
  otherItemText: string;
19827
20028
  noneItemText: string;
20029
+ refuseItemText: string;
20030
+ dontKnowItemText: string;
19828
20031
  selectAllItemText: string;
19829
20032
  progressText: string;
19830
20033
  indexText: string;
@@ -19929,6 +20132,8 @@ declare module "localization/croatian" {
19929
20132
  startSurveyText: string;
19930
20133
  otherItemText: string;
19931
20134
  noneItemText: string;
20135
+ refuseItemText: string;
20136
+ dontKnowItemText: string;
19932
20137
  selectAllItemText: string;
19933
20138
  progressText: string;
19934
20139
  indexText: string;
@@ -20033,6 +20238,8 @@ declare module "localization/czech" {
20033
20238
  startSurveyText: string;
20034
20239
  otherItemText: string;
20035
20240
  noneItemText: string;
20241
+ refuseItemText: string;
20242
+ dontKnowItemText: string;
20036
20243
  selectAllItemText: string;
20037
20244
  progressText: string;
20038
20245
  indexText: string;
@@ -20137,6 +20344,8 @@ declare module "localization/danish" {
20137
20344
  startSurveyText: string;
20138
20345
  otherItemText: string;
20139
20346
  noneItemText: string;
20347
+ refuseItemText: string;
20348
+ dontKnowItemText: string;
20140
20349
  selectAllItemText: string;
20141
20350
  progressText: string;
20142
20351
  indexText: string;
@@ -20241,6 +20450,8 @@ declare module "localization/dutch" {
20241
20450
  startSurveyText: string;
20242
20451
  otherItemText: string;
20243
20452
  noneItemText: string;
20453
+ refuseItemText: string;
20454
+ dontKnowItemText: string;
20244
20455
  selectAllItemText: string;
20245
20456
  progressText: string;
20246
20457
  indexText: string;
@@ -20346,6 +20557,8 @@ declare module "localization/estonian" {
20346
20557
  startSurveyText: string;
20347
20558
  otherItemText: string;
20348
20559
  noneItemText: string;
20560
+ refuseItemText: string;
20561
+ dontKnowItemText: string;
20349
20562
  selectAllItemText: string;
20350
20563
  progressText: string;
20351
20564
  indexText: string;
@@ -20450,6 +20663,8 @@ declare module "localization/finnish" {
20450
20663
  startSurveyText: string;
20451
20664
  otherItemText: string;
20452
20665
  noneItemText: string;
20666
+ refuseItemText: string;
20667
+ dontKnowItemText: string;
20453
20668
  selectAllItemText: string;
20454
20669
  progressText: string;
20455
20670
  indexText: string;
@@ -20554,6 +20769,8 @@ declare module "localization/french" {
20554
20769
  startSurveyText: string;
20555
20770
  otherItemText: string;
20556
20771
  noneItemText: string;
20772
+ refuseItemText: string;
20773
+ dontKnowItemText: string;
20557
20774
  selectAllItemText: string;
20558
20775
  progressText: string;
20559
20776
  indexText: string;
@@ -20658,6 +20875,8 @@ declare module "localization/georgian" {
20658
20875
  startSurveyText: string;
20659
20876
  otherItemText: string;
20660
20877
  noneItemText: string;
20878
+ refuseItemText: string;
20879
+ dontKnowItemText: string;
20661
20880
  selectAllItemText: string;
20662
20881
  progressText: string;
20663
20882
  indexText: string;
@@ -20762,6 +20981,8 @@ declare module "localization/german" {
20762
20981
  startSurveyText: string;
20763
20982
  otherItemText: string;
20764
20983
  noneItemText: string;
20984
+ refuseItemText: string;
20985
+ dontKnowItemText: string;
20765
20986
  selectAllItemText: string;
20766
20987
  progressText: string;
20767
20988
  indexText: string;
@@ -20866,6 +21087,8 @@ declare module "localization/greek" {
20866
21087
  startSurveyText: string;
20867
21088
  otherItemText: string;
20868
21089
  noneItemText: string;
21090
+ refuseItemText: string;
21091
+ dontKnowItemText: string;
20869
21092
  selectAllItemText: string;
20870
21093
  progressText: string;
20871
21094
  indexText: string;
@@ -20970,6 +21193,8 @@ declare module "localization/hebrew" {
20970
21193
  startSurveyText: string;
20971
21194
  otherItemText: string;
20972
21195
  noneItemText: string;
21196
+ refuseItemText: string;
21197
+ dontKnowItemText: string;
20973
21198
  selectAllItemText: string;
20974
21199
  progressText: string;
20975
21200
  indexText: string;
@@ -21074,6 +21299,8 @@ declare module "localization/hindi" {
21074
21299
  startSurveyText: string;
21075
21300
  otherItemText: string;
21076
21301
  noneItemText: string;
21302
+ refuseItemText: string;
21303
+ dontKnowItemText: string;
21077
21304
  selectAllItemText: string;
21078
21305
  progressText: string;
21079
21306
  indexText: string;
@@ -21178,6 +21405,8 @@ declare module "localization/hungarian" {
21178
21405
  startSurveyText: string;
21179
21406
  otherItemText: string;
21180
21407
  noneItemText: string;
21408
+ refuseItemText: string;
21409
+ dontKnowItemText: string;
21181
21410
  selectAllItemText: string;
21182
21411
  progressText: string;
21183
21412
  indexText: string;
@@ -21282,6 +21511,8 @@ declare module "localization/icelandic" {
21282
21511
  startSurveyText: string;
21283
21512
  otherItemText: string;
21284
21513
  noneItemText: string;
21514
+ refuseItemText: string;
21515
+ dontKnowItemText: string;
21285
21516
  selectAllItemText: string;
21286
21517
  progressText: string;
21287
21518
  indexText: string;
@@ -21386,6 +21617,8 @@ declare module "localization/indonesian" {
21386
21617
  startSurveyText: string;
21387
21618
  otherItemText: string;
21388
21619
  noneItemText: string;
21620
+ refuseItemText: string;
21621
+ dontKnowItemText: string;
21389
21622
  selectAllItemText: string;
21390
21623
  progressText: string;
21391
21624
  indexText: string;
@@ -21490,6 +21723,8 @@ declare module "localization/italian" {
21490
21723
  startSurveyText: string;
21491
21724
  otherItemText: string;
21492
21725
  noneItemText: string;
21726
+ refuseItemText: string;
21727
+ dontKnowItemText: string;
21493
21728
  selectAllItemText: string;
21494
21729
  progressText: string;
21495
21730
  indexText: string;
@@ -21594,6 +21829,8 @@ declare module "localization/japanese" {
21594
21829
  startSurveyText: string;
21595
21830
  otherItemText: string;
21596
21831
  noneItemText: string;
21832
+ refuseItemText: string;
21833
+ dontKnowItemText: string;
21597
21834
  selectAllItemText: string;
21598
21835
  progressText: string;
21599
21836
  indexText: string;
@@ -21698,6 +21935,8 @@ declare module "localization/kazakh" {
21698
21935
  startSurveyText: string;
21699
21936
  otherItemText: string;
21700
21937
  noneItemText: string;
21938
+ refuseItemText: string;
21939
+ dontKnowItemText: string;
21701
21940
  selectAllItemText: string;
21702
21941
  progressText: string;
21703
21942
  indexText: string;
@@ -21802,6 +22041,8 @@ declare module "localization/korean" {
21802
22041
  startSurveyText: string;
21803
22042
  otherItemText: string;
21804
22043
  noneItemText: string;
22044
+ refuseItemText: string;
22045
+ dontKnowItemText: string;
21805
22046
  selectAllItemText: string;
21806
22047
  progressText: string;
21807
22048
  indexText: string;
@@ -21906,6 +22147,8 @@ declare module "localization/latvian" {
21906
22147
  startSurveyText: string;
21907
22148
  otherItemText: string;
21908
22149
  noneItemText: string;
22150
+ refuseItemText: string;
22151
+ dontKnowItemText: string;
21909
22152
  selectAllItemText: string;
21910
22153
  progressText: string;
21911
22154
  indexText: string;
@@ -22010,6 +22253,8 @@ declare module "localization/lithuanian" {
22010
22253
  startSurveyText: string;
22011
22254
  otherItemText: string;
22012
22255
  noneItemText: string;
22256
+ refuseItemText: string;
22257
+ dontKnowItemText: string;
22013
22258
  selectAllItemText: string;
22014
22259
  progressText: string;
22015
22260
  indexText: string;
@@ -22114,6 +22359,8 @@ declare module "localization/macedonian" {
22114
22359
  startSurveyText: string;
22115
22360
  otherItemText: string;
22116
22361
  noneItemText: string;
22362
+ refuseItemText: string;
22363
+ dontKnowItemText: string;
22117
22364
  selectAllItemText: string;
22118
22365
  progressText: string;
22119
22366
  indexText: string;
@@ -22218,6 +22465,8 @@ declare module "localization/malay" {
22218
22465
  startSurveyText: string;
22219
22466
  otherItemText: string;
22220
22467
  noneItemText: string;
22468
+ refuseItemText: string;
22469
+ dontKnowItemText: string;
22221
22470
  selectAllItemText: string;
22222
22471
  progressText: string;
22223
22472
  indexText: string;
@@ -22322,6 +22571,8 @@ declare module "localization/norwegian" {
22322
22571
  startSurveyText: string;
22323
22572
  otherItemText: string;
22324
22573
  noneItemText: string;
22574
+ refuseItemText: string;
22575
+ dontKnowItemText: string;
22325
22576
  selectAllItemText: string;
22326
22577
  progressText: string;
22327
22578
  indexText: string;
@@ -22426,6 +22677,8 @@ declare module "localization/persian" {
22426
22677
  startSurveyText: string;
22427
22678
  otherItemText: string;
22428
22679
  noneItemText: string;
22680
+ refuseItemText: string;
22681
+ dontKnowItemText: string;
22429
22682
  selectAllItemText: string;
22430
22683
  progressText: string;
22431
22684
  indexText: string;
@@ -22530,6 +22783,8 @@ declare module "localization/polish" {
22530
22783
  startSurveyText: string;
22531
22784
  otherItemText: string;
22532
22785
  noneItemText: string;
22786
+ refuseItemText: string;
22787
+ dontKnowItemText: string;
22533
22788
  selectAllItemText: string;
22534
22789
  progressText: string;
22535
22790
  indexText: string;
@@ -22634,6 +22889,8 @@ declare module "localization/portuguese" {
22634
22889
  startSurveyText: string;
22635
22890
  otherItemText: string;
22636
22891
  noneItemText: string;
22892
+ refuseItemText: string;
22893
+ dontKnowItemText: string;
22637
22894
  selectAllItemText: string;
22638
22895
  progressText: string;
22639
22896
  indexText: string;
@@ -22741,6 +22998,8 @@ declare module "localization/portuguese-br" {
22741
22998
  startSurveyText: string;
22742
22999
  otherItemText: string;
22743
23000
  noneItemText: string;
23001
+ refuseItemText: string;
23002
+ dontKnowItemText: string;
22744
23003
  selectAllItemText: string;
22745
23004
  progressText: string;
22746
23005
  indexText: string;
@@ -22848,6 +23107,8 @@ declare module "localization/russian" {
22848
23107
  startSurveyText: string;
22849
23108
  otherItemText: string;
22850
23109
  noneItemText: string;
23110
+ refuseItemText: string;
23111
+ dontKnowItemText: string;
22851
23112
  selectAllItemText: string;
22852
23113
  progressText: string;
22853
23114
  indexText: string;
@@ -22952,6 +23213,8 @@ declare module "localization/serbian" {
22952
23213
  startSurveyText: string;
22953
23214
  otherItemText: string;
22954
23215
  noneItemText: string;
23216
+ refuseItemText: string;
23217
+ dontKnowItemText: string;
22955
23218
  selectAllItemText: string;
22956
23219
  progressText: string;
22957
23220
  indexText: string;
@@ -23056,6 +23319,8 @@ declare module "localization/simplified-chinese" {
23056
23319
  startSurveyText: string;
23057
23320
  otherItemText: string;
23058
23321
  noneItemText: string;
23322
+ refuseItemText: string;
23323
+ dontKnowItemText: string;
23059
23324
  selectAllItemText: string;
23060
23325
  progressText: string;
23061
23326
  indexText: string;
@@ -23160,6 +23425,8 @@ declare module "localization/slovak" {
23160
23425
  startSurveyText: string;
23161
23426
  otherItemText: string;
23162
23427
  noneItemText: string;
23428
+ refuseItemText: string;
23429
+ dontKnowItemText: string;
23163
23430
  selectAllItemText: string;
23164
23431
  progressText: string;
23165
23432
  indexText: string;
@@ -23264,6 +23531,8 @@ declare module "localization/spanish" {
23264
23531
  startSurveyText: string;
23265
23532
  otherItemText: string;
23266
23533
  noneItemText: string;
23534
+ refuseItemText: string;
23535
+ dontKnowItemText: string;
23267
23536
  selectAllItemText: string;
23268
23537
  progressText: string;
23269
23538
  indexText: string;
@@ -23368,6 +23637,8 @@ declare module "localization/swahili" {
23368
23637
  startSurveyText: string;
23369
23638
  otherItemText: string;
23370
23639
  noneItemText: string;
23640
+ refuseItemText: string;
23641
+ dontKnowItemText: string;
23371
23642
  selectAllItemText: string;
23372
23643
  progressText: string;
23373
23644
  indexText: string;
@@ -23472,6 +23743,8 @@ declare module "localization/swedish" {
23472
23743
  startSurveyText: string;
23473
23744
  otherItemText: string;
23474
23745
  noneItemText: string;
23746
+ refuseItemText: string;
23747
+ dontKnowItemText: string;
23475
23748
  selectAllItemText: string;
23476
23749
  progressText: string;
23477
23750
  indexText: string;
@@ -23640,6 +23913,8 @@ declare module "localization/thai" {
23640
23913
  startSurveyText: string;
23641
23914
  otherItemText: string;
23642
23915
  noneItemText: string;
23916
+ refuseItemText: string;
23917
+ dontKnowItemText: string;
23643
23918
  selectAllItemText: string;
23644
23919
  progressText: string;
23645
23920
  indexText: string;
@@ -23744,6 +24019,8 @@ declare module "localization/traditional-chinese" {
23744
24019
  startSurveyText: string;
23745
24020
  otherItemText: string;
23746
24021
  noneItemText: string;
24022
+ refuseItemText: string;
24023
+ dontKnowItemText: string;
23747
24024
  selectAllItemText: string;
23748
24025
  progressText: string;
23749
24026
  indexText: string;
@@ -23848,6 +24125,8 @@ declare module "localization/turkish" {
23848
24125
  startSurveyText: string;
23849
24126
  otherItemText: string;
23850
24127
  noneItemText: string;
24128
+ refuseItemText: string;
24129
+ dontKnowItemText: string;
23851
24130
  selectAllItemText: string;
23852
24131
  progressText: string;
23853
24132
  indexText: string;
@@ -23952,6 +24231,8 @@ declare module "localization/ukrainian" {
23952
24231
  startSurveyText: string;
23953
24232
  otherItemText: string;
23954
24233
  noneItemText: string;
24234
+ refuseItemText: string;
24235
+ dontKnowItemText: string;
23955
24236
  selectAllItemText: string;
23956
24237
  progressText: string;
23957
24238
  indexText: string;
@@ -24056,6 +24337,8 @@ declare module "localization/vietnamese" {
24056
24337
  startSurveyText: string;
24057
24338
  otherItemText: string;
24058
24339
  noneItemText: string;
24340
+ refuseItemText: string;
24341
+ dontKnowItemText: string;
24059
24342
  selectAllItemText: string;
24060
24343
  progressText: string;
24061
24344
  indexText: string;
@@ -24160,6 +24443,8 @@ declare module "localization/welsh" {
24160
24443
  startSurveyText: string;
24161
24444
  otherItemText: string;
24162
24445
  noneItemText: string;
24446
+ refuseItemText: string;
24447
+ dontKnowItemText: string;
24163
24448
  selectAllItemText: string;
24164
24449
  progressText: string;
24165
24450
  indexText: string;
@@ -24264,6 +24549,8 @@ declare module "localization/telugu" {
24264
24549
  startSurveyText: string;
24265
24550
  otherItemText: string;
24266
24551
  noneItemText: string;
24552
+ refuseItemText: string;
24553
+ dontKnowItemText: string;
24267
24554
  selectAllItemText: string;
24268
24555
  progressText: string;
24269
24556
  indexText: string;
@@ -24458,8 +24745,12 @@ declare module "react/reactquestion_comment" {
24458
24745
  protected renderElement(): JSX.Element;
24459
24746
  }
24460
24747
  export class SurveyQuestionCommentItem extends ReactSurveyElement {
24461
- private getStateComment;
24748
+ private control;
24462
24749
  constructor(props: any);
24750
+ componentDidUpdate(prevProps: any, prevState: any): void;
24751
+ componentDidMount(): void;
24752
+ protected updateDomElement(): void;
24753
+ protected setControl(element: HTMLElement | null): void;
24463
24754
  protected canRender(): boolean;
24464
24755
  protected onCommentChange(event: any): void;
24465
24756
  protected onCommentInput(event: any): void;
@@ -25596,7 +25887,7 @@ declare module "react/reactquestion_paneldynamic" {
25596
25887
  protected renderButton(): JSX.Element | null;
25597
25888
  }
25598
25889
  }
25599
- declare module "react/reactSurveyProgress" {
25890
+ declare module "react/progress" {
25600
25891
  import { SurveyNavigationBase } from "react/reactSurveyNavigationBase";
25601
25892
  export class SurveyProgress extends SurveyNavigationBase {
25602
25893
  constructor(props: any);
@@ -25606,21 +25897,21 @@ declare module "react/reactSurveyProgress" {
25606
25897
  render(): JSX.Element;
25607
25898
  }
25608
25899
  }
25609
- declare module "react/reactSurveyProgressButtons" {
25610
- import { PageModel } from "entries/core";
25900
+ declare module "react/progressButtons" {
25901
+ import { ProgressButtons, PageModel, IProgressButtonsViewModel } from "entries/core";
25611
25902
  import { SurveyNavigationBase } from "react/reactSurveyNavigationBase";
25612
- export class SurveyProgressButtons extends SurveyNavigationBase {
25613
- private progressButtonsModel;
25614
- private updateScroller;
25903
+ export class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {
25904
+ private respManager;
25615
25905
  private listContainerRef;
25616
25906
  constructor(props: any);
25907
+ protected get model(): ProgressButtons;
25908
+ get container(): string;
25909
+ onResize(canShowItemTitles: boolean): void;
25910
+ onUpdateScroller(hasScroller: boolean): void;
25911
+ onUpdateSettings(): void;
25617
25912
  render(): JSX.Element;
25618
25913
  protected getListElements(): JSX.Element[];
25619
25914
  protected renderListElement(page: PageModel, index: number): JSX.Element;
25620
- protected isListElementClickable(index: number): boolean;
25621
- protected getListElementCss(index: number): string;
25622
- protected clickListElement(index: number): void;
25623
- protected getScrollButtonCss(isLeftScroll: boolean): string;
25624
25915
  protected clickScrollButton(listContainerElement: Element | null, isLeftScroll: boolean): void;
25625
25916
  componentDidMount(): void;
25626
25917
  componentWillUnmount(): void;
@@ -25664,7 +25955,7 @@ declare module "react/components/list/list" {
25664
25955
  emptyContent(): JSX.Element;
25665
25956
  }
25666
25957
  }
25667
- declare module "react/reactSurveyProgressToc" {
25958
+ declare module "react/progressToc" {
25668
25959
  import { SurveyNavigationBase } from "react/reactSurveyNavigationBase";
25669
25960
  export class SurveyProgressToc extends SurveyNavigationBase {
25670
25961
  render(): JSX.Element;
@@ -25938,9 +26229,9 @@ declare module "entries/react-ui-model" {
25938
26229
  export { SurveyQuestionMatrixDropdown } from "react/reactquestion_matrixdropdown";
25939
26230
  export { SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton } from "react/reactquestion_matrixdynamic";
25940
26231
  export { SurveyQuestionPanelDynamic } from "react/reactquestion_paneldynamic";
25941
- export { SurveyProgress } from "react/reactSurveyProgress";
25942
- export { SurveyProgressButtons } from "react/reactSurveyProgressButtons";
25943
- export { SurveyProgressToc } from "react/reactSurveyProgressToc";
26232
+ export { SurveyProgress } from "react/progress";
26233
+ export { SurveyProgressButtons } from "react/progressButtons";
26234
+ export { SurveyProgressToc } from "react/progressToc";
25944
26235
  export { SurveyQuestionRating } from "react/reactquestion_rating";
25945
26236
  export { SurveyQuestionRatingDropdown } from "react/rating-dropdown";
25946
26237
  export { SurveyQuestionExpression } from "react/reactquestion_expression";