survey-react 1.9.126 → 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
@@ -37,6 +37,7 @@ declare module "helpers" {
37
37
  static convertDateToString(date: Date): string;
38
38
  static convertDateTimeToString(date: Date): string;
39
39
  static convertValToQuestionVal(val: any, inputType?: string): any;
40
+ static compareVerions(ver1: string, ver2: string): number;
40
41
  }
41
42
  }
42
43
  declare module "localization/english" {
@@ -49,6 +50,8 @@ declare module "localization/english" {
49
50
  startSurveyText: string;
50
51
  otherItemText: string;
51
52
  noneItemText: string;
53
+ refuseItemText: string;
54
+ dontKnowItemText: string;
52
55
  selectAllItemText: string;
53
56
  progressText: string;
54
57
  indexText: string;
@@ -170,6 +173,8 @@ declare module "surveyStrings" {
170
173
  startSurveyText: string;
171
174
  otherItemText: string;
172
175
  noneItemText: string;
176
+ refuseItemText: string;
177
+ dontKnowItemText: string;
173
178
  selectAllItemText: string;
174
179
  progressText: string;
175
180
  indexText: string;
@@ -811,7 +816,7 @@ declare module "popup-view-model" {
811
816
  declare module "utils/utils" {
812
817
  function compareVersions(a: any, b: any): number;
813
818
  function confirmAction(message: string): boolean;
814
- function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void): void;
819
+ function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void, locale?: string): void;
815
820
  function detectIEBrowser(): boolean;
816
821
  function detectIEOrEdge(): boolean;
817
822
  function loadFileFromBase64(b64Data: string, fileName: string): void;
@@ -851,7 +856,7 @@ declare module "utils/utils" {
851
856
  log(action: string): void;
852
857
  get result(): string;
853
858
  }
854
- export function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string): boolean;
859
+ export function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string): boolean;
855
860
  export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, };
856
861
  }
857
862
  declare module "actions/container" {
@@ -947,6 +952,7 @@ declare module "list" {
947
952
  allowSelection?: boolean;
948
953
  selectedItem?: IAction;
949
954
  onFilterStringChangedCallback?: (text: string) => void;
955
+ onTextSearchCallback?: (text: string, textToSearch: string) => boolean;
950
956
  }
951
957
  export class ListModel<T extends BaseAction = Action> extends ActionContainer<T> {
952
958
  onSelectionChanged: (item: T, ...params: any[]) => void;
@@ -977,7 +983,9 @@ declare module "list" {
977
983
  private onFilterStringChanged;
978
984
  private scrollToItem;
979
985
  constructor(items: Array<IAction>, onSelectionChanged: (item: T, ...params: any[]) => void, allowSelection: boolean, selectedItem?: IAction, onFilterStringChangedCallback?: (text: string) => void, elementId?: string);
986
+ private onTextSearchCallback;
980
987
  setOnFilterStringChangedCallback(callback: (text: string) => void): void;
988
+ setOnTextSearchCallback(callback: (item: T, textToSearch: string) => boolean): void;
981
989
  setItems(items: Array<IAction>, sortByVisibleIndex?: boolean): void;
982
990
  protected onSet(): void;
983
991
  protected getDefaultCssClasses(): {
@@ -1395,6 +1403,7 @@ declare module "defaultCss/defaultV2Css" {
1395
1403
  export var defaultV2Css: {
1396
1404
  root: string;
1397
1405
  rootMobile: string;
1406
+ rootAnimationDisabled: string;
1398
1407
  rootReadOnly: string;
1399
1408
  rootCompact: string;
1400
1409
  rootFitToContainer: string;
@@ -1512,8 +1521,13 @@ declare module "defaultCss/defaultV2Css" {
1512
1521
  progressBottom: string;
1513
1522
  progressBar: string;
1514
1523
  progressText: string;
1524
+ progressButtonsRoot: string;
1525
+ progressButtonsNumbered: string;
1515
1526
  progressButtonsContainerCenter: string;
1516
1527
  progressButtonsContainer: string;
1528
+ progressButtonsConnector: string;
1529
+ progressButtonsHeader: string;
1530
+ progressButtonsFooter: string;
1517
1531
  progressButtonsImageButtonLeft: string;
1518
1532
  progressButtonsImageButtonRight: string;
1519
1533
  progressButtonsImageButtonHidden: string;
@@ -1700,6 +1714,7 @@ declare module "defaultCss/defaultV2Css" {
1700
1714
  small: string;
1701
1715
  controlDisabled: string;
1702
1716
  constrolWithCharacterCounter: string;
1717
+ characterCounterBig: string;
1703
1718
  content: string;
1704
1719
  remainingCharacterCounter: string;
1705
1720
  onError: string;
@@ -1854,6 +1869,7 @@ declare module "defaultCss/defaultV2Css" {
1854
1869
  noHeader: string;
1855
1870
  hasFooter: string;
1856
1871
  tableWrapper: string;
1872
+ rootAlternateRows: string;
1857
1873
  content: string;
1858
1874
  cell: string;
1859
1875
  row: string;
@@ -2162,6 +2178,8 @@ declare module "trigger" {
2162
2178
  get id(): number;
2163
2179
  getType(): string;
2164
2180
  toString(): string;
2181
+ isGhost: boolean;
2182
+ protected get isInternal(): boolean;
2165
2183
  get operator(): string;
2166
2184
  set operator(value: string);
2167
2185
  get value(): any;
@@ -2395,6 +2413,8 @@ declare module "textPreProcessor" {
2395
2413
  }
2396
2414
  declare module "question_custom" {
2397
2415
  import { Question, IConditionObject } from "question";
2416
+ import { JsonObjectProperty } from "jsonobject";
2417
+ import { Base } from "base";
2398
2418
  import { ISurveyImpl, ISurveyData, ITextProcessor, IPanel, IElement, IQuestion, IProgressInfo } from "base-interfaces";
2399
2419
  import { SurveyElement } from "survey-element";
2400
2420
  import { PanelModel } from "panel";
@@ -2464,6 +2484,16 @@ declare module "question_custom" {
2464
2484
  * ```
2465
2485
  */
2466
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
+ */
2496
+ inheritBaseProps?: false | true | Array<string>;
2467
2497
  /**
2468
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).
2469
2499
  *
@@ -2616,6 +2646,7 @@ declare module "question_custom" {
2616
2646
  export class ComponentQuestionJSON {
2617
2647
  name: string;
2618
2648
  json: ICustomQuestionTypeConfiguration;
2649
+ private dynamicProperties;
2619
2650
  constructor(name: string, json: ICustomQuestionTypeConfiguration);
2620
2651
  onInit(): void;
2621
2652
  onCreated(question: Question): void;
@@ -2632,6 +2663,8 @@ declare module "question_custom" {
2632
2663
  setValueToQuestion(val: any): any;
2633
2664
  getValueFromQuestion(val: any): any;
2634
2665
  get isComposite(): boolean;
2666
+ getDynamicProperties(): Array<JsonObjectProperty>;
2667
+ private calcDynamicProperties;
2635
2668
  }
2636
2669
  export class ComponentCollection {
2637
2670
  static Instance: ComponentCollection;
@@ -2709,6 +2742,9 @@ declare module "question_custom" {
2709
2742
  private questionWrapper;
2710
2743
  private hasJSONTitle;
2711
2744
  getTemplate(): string;
2745
+ getDynamicProperties(): Array<JsonObjectProperty>;
2746
+ getDynamicType(): string;
2747
+ getOriginalObj(): Base;
2712
2748
  protected createWrapper(): void;
2713
2749
  protected getElement(): SurveyElement;
2714
2750
  onAnyValueChanged(name: string, questionName: string): void;
@@ -2733,6 +2769,7 @@ declare module "question_custom" {
2733
2769
  protected getValueCore(): any;
2734
2770
  private isSettingValueChanged;
2735
2771
  protected setValueChangedDirectly(val: boolean): void;
2772
+ private createDynamicProperties;
2736
2773
  protected initElement(el: SurveyElement): void;
2737
2774
  updateElementCss(reNew?: boolean): void;
2738
2775
  protected updateElementCssCore(cssClasses: any): void;
@@ -3973,6 +4010,8 @@ declare module "question_baseselect" {
3973
4010
  private isChoicesLoaded;
3974
4011
  private enableOnLoadingChoices;
3975
4012
  private noneItemValue;
4013
+ private refuseItemValue;
4014
+ private dontKnowItemValue;
3976
4015
  private newItemValue;
3977
4016
  private canShowOptionItemCallback;
3978
4017
  private waitingGetChoiceDisplayValueResponse;
@@ -4016,6 +4055,7 @@ declare module "question_baseselect" {
4016
4055
  * When users select the "None" item in multi-select questions, all other items become unselected.
4017
4056
  * @see noneItem
4018
4057
  * @see noneText
4058
+ * @see [settings.noneItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#noneItemValue)
4019
4059
  * @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
4020
4060
  */
4021
4061
  get showNoneItem(): boolean;
@@ -4034,6 +4074,53 @@ declare module "question_baseselect" {
4034
4074
  get noneText(): string;
4035
4075
  set noneText(val: string);
4036
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;
4037
4124
  /**
4038
4125
  * A Boolean expression that is evaluated against each choice item. If the expression evaluates to `false`, the choice item becomes hidden.
4039
4126
  *
@@ -4283,7 +4370,7 @@ declare module "question_baseselect" {
4283
4370
  protected addNonChoiceItem(dict: Array<{
4284
4371
  index: number;
4285
4372
  item: ItemValue;
4286
- }>, item: ItemValue, order: Array<number>): void;
4373
+ }>, item: ItemValue, isAddAll: boolean, showItem: boolean, order: Array<number>): void;
4287
4374
  protected canShowOptionItem(item: ItemValue, isAddAll: boolean, hasItem: boolean): boolean;
4288
4375
  isItemInList(item: ItemValue): boolean;
4289
4376
  protected get isAddDefaultItems(): boolean;
@@ -4295,6 +4382,9 @@ declare module "question_baseselect" {
4295
4382
  private getItemDisplayValue;
4296
4383
  private getFilteredChoices;
4297
4384
  protected get activeChoices(): Array<ItemValue>;
4385
+ get isMessagePanelVisible(): boolean;
4386
+ set isMessagePanelVisible(val: boolean);
4387
+ private get isEmptyActiveChoicesInDesign();
4298
4388
  getCarryForwardQuestion(data?: ISurveyData): Question;
4299
4389
  protected getIsReadyDependsOn(): Array<Question>;
4300
4390
  private getQuestionWithChoices;
@@ -4307,10 +4397,14 @@ declare module "question_baseselect" {
4307
4397
  private getChoicesFromSelectQuestion;
4308
4398
  private copyChoiceItem;
4309
4399
  protected get hasActiveChoices(): boolean;
4310
- protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
4400
+ protected isBuiltInChoice(item: ItemValue): boolean;
4401
+ isNoneItem(item: ItemValue): boolean;
4402
+ protected getNoneItems(): Array<ItemValue>;
4311
4403
  protected getChoices(): Array<ItemValue>;
4312
4404
  supportOther(): boolean;
4313
4405
  supportNone(): boolean;
4406
+ supportRefuse(): boolean;
4407
+ supportDontKnow(): boolean;
4314
4408
  protected isSupportProperty(propName: string): boolean;
4315
4409
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
4316
4410
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
@@ -4343,6 +4437,7 @@ declare module "question_baseselect" {
4343
4437
  private randomizeArray;
4344
4438
  private get hasChoicesUrl();
4345
4439
  clearIncorrectValues(): void;
4440
+ private canClearIncorrectValues;
4346
4441
  protected hasValueToClearIncorrectValues(): boolean;
4347
4442
  protected clearValueIfInvisibleCore(reason: string): void;
4348
4443
  /**
@@ -5026,7 +5121,6 @@ declare module "question_matrixdropdowncolumn" {
5026
5121
  private getProperties;
5027
5122
  private removeProperties;
5028
5123
  private addProperties;
5029
- private addProperty;
5030
5124
  }
5031
5125
  }
5032
5126
  declare module "dragdrop/engine" {
@@ -5671,7 +5765,7 @@ declare module "themes" {
5671
5765
  */
5672
5766
  backgroundOpacity?: number;
5673
5767
  /**
5674
- * 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"`.
5675
5769
  */
5676
5770
  header?: IHeader;
5677
5771
  /**
@@ -5698,7 +5792,7 @@ declare module "themes" {
5698
5792
  /**
5699
5793
  * A survey header configuration interface.
5700
5794
  *
5701
- * 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"`.
5702
5796
  */
5703
5797
  export interface IHeader {
5704
5798
  /**
@@ -7243,6 +7337,20 @@ declare module "survey-events-api" {
7243
7337
  */
7244
7338
  skip: number;
7245
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
+ }
7246
7354
  export interface GetChoiceDisplayValueEvent extends QuestionEventMixin {
7247
7355
  /**
7248
7356
  * A method that you should call to assign display texts to the question.
@@ -7631,7 +7739,7 @@ declare module "page" {
7631
7739
  protected canShowPageNumber(): boolean;
7632
7740
  protected canShowTitle(): boolean;
7633
7741
  /**
7634
- * 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`.
7635
7743
  *
7636
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).
7637
7745
  */
@@ -7639,7 +7747,7 @@ declare module "page" {
7639
7747
  set navigationTitle(val: string);
7640
7748
  get locNavigationTitle(): LocalizableString;
7641
7749
  /**
7642
- * 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`.
7643
7751
  */
7644
7752
  get navigationDescription(): string;
7645
7753
  set navigationDescription(val: string);
@@ -8546,6 +8654,50 @@ declare module "surveyTaskManager" {
8546
8654
  private taskFinished;
8547
8655
  }
8548
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
+ }
8549
8701
  declare module "surveyToc" {
8550
8702
  import { Action } from "actions/action";
8551
8703
  import { ListModel } from "list";
@@ -8588,7 +8740,7 @@ declare module "survey" {
8588
8740
  import { ActionContainer } from "actions/container";
8589
8741
  import { QuestionPanelDynamicModel } from "question_paneldynamic";
8590
8742
  import { Notifier } from "notifier";
8591
- 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";
8592
8744
  import { QuestionMatrixDropdownModelBase } from "question_matrixdropdownbase";
8593
8745
  import { QuestionMatrixDynamicModel } from "question_matrixdynamic";
8594
8746
  import { QuestionFileModel } from "question_file";
@@ -9084,6 +9236,12 @@ declare module "survey" {
9084
9236
  * [View Demo](https://surveyjs.io/form-library/examples/lazy-loading-dropdown/ (linkStyle))
9085
9237
  */
9086
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>;
9087
9245
  /**
9088
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.
9089
9247
  *
@@ -9319,17 +9477,7 @@ declare module "survey" {
9319
9477
  containerCss: string;
9320
9478
  fitToContainer: boolean;
9321
9479
  /**
9322
- * Specifies whether the survey header uses only basic appearance settings or applies advanced settings from the survey theme.
9323
- *
9324
- * Possible values:
9325
- *
9326
- * - `"basic"` (default)\
9327
- * 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.).
9328
- *
9329
- * - `"advanced"`\
9330
- * 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.
9331
- *
9332
- * [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.
9333
9481
  */
9334
9482
  headerView: "advanced" | "basic";
9335
9483
  protected insertAdvancedHeader(advHeader: Cover): void;
@@ -9990,15 +10138,21 @@ declare module "survey" {
9990
10138
  */
9991
10139
  get showQuestionNumbers(): string | boolean;
9992
10140
  set showQuestionNumbers(value: string | boolean);
10141
+ private progressBarValue;
10142
+ get progressBar(): any;
9993
10143
  /**
9994
10144
  * Controls the visibility of the progress bar and specifies its position.
9995
10145
  *
9996
10146
  * Possible values:
9997
10147
  *
9998
10148
  * - `"off"` (default) - Hides the progress bar.
9999
- * - `"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.
10000
10151
  * - `"bottom"` - Displays the progress bar below survey content.
10001
- * - `"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.
10002
10156
  *
10003
10157
  * [View Demo](https://surveyjs.io/form-library/examples/navigation-default/ (linkStyle))
10004
10158
  * @see progressBarType
@@ -10015,13 +10169,30 @@ declare module "survey" {
10015
10169
  * - `"questions"` - The number of answered questions.
10016
10170
  * - `"requiredQuestions"` - The number of answered [required questions](https://surveyjs.io/form-library/documentation/api-reference/question#isRequired).
10017
10171
  * - `"correctQuestions"` - The number of correct questions in a [quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
10018
- * - `"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.
10019
10175
  *
10020
10176
  * [View Demo](https://surveyjs.io/form-library/examples/navigation-buttons/ (linkStyle))
10021
10177
  * @see progressValue
10022
10178
  */
10023
10179
  get progressBarType(): string;
10024
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;
10025
10196
  get isShowProgressBarOnTop(): boolean;
10026
10197
  get isShowProgressBarOnBottom(): boolean;
10027
10198
  getProgressTypeComponent(): string;
@@ -10706,7 +10877,7 @@ declare module "survey" {
10706
10877
  getUpdatedMatrixRowActions(question: QuestionMatrixDropdownModelBase, row: any, actions: Array<IAction>): IAction[];
10707
10878
  scrollElementToTop(element: ISurveyElement, question: Question, page: PageModel, id: string, scrollIfVisible?: boolean): any;
10708
10879
  /**
10709
- * Uploads a file to server.
10880
+ * Uploads files to a server.
10710
10881
  *
10711
10882
  * The following code shows how to call this method:
10712
10883
  *
@@ -10925,6 +11096,10 @@ declare module "survey" {
10925
11096
  private conditionRunnerCounter;
10926
11097
  private conditionUpdateVisibleIndexes;
10927
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;
10928
11103
  private runConditions;
10929
11104
  private runConditionOnValueChanged;
10930
11105
  private runConditionsCore;
@@ -10956,6 +11131,7 @@ declare module "survey" {
10956
11131
  private updateVisibleIndexes;
10957
11132
  private updatePageVisibleIndexes;
10958
11133
  fromJSON(json: any, options?: ILoadFromJSONOptions): void;
11134
+ startLoadingFromJson(json?: any): void;
10959
11135
  setJsonObject(jsonObj: any): void;
10960
11136
  private isEndLoadingFromJson;
10961
11137
  endLoadingFromJson(): void;
@@ -11300,7 +11476,7 @@ declare module "survey" {
11300
11476
  *
11301
11477
  * This method accepts an object with the following layout element properties:
11302
11478
  *
11303
- * - `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"`\
11304
11480
  * A layout element identifier. You can use possible values to access and relocate or customize predefined layout elements.
11305
11481
  *
11306
11482
  * - `container`: `"header"` | `"footer"` | `"left"` | `"right"` | `"contentTop"` | `"contentBottom"`\
@@ -13738,10 +13914,14 @@ declare module "base-interfaces" {
13738
13914
  export interface ILoadFromJSONOptions {
13739
13915
  validatePropertyValues?: boolean;
13740
13916
  }
13917
+ export interface ISaveToJSONOptions {
13918
+ storeDefaults?: boolean;
13919
+ version?: string;
13920
+ }
13741
13921
  }
13742
13922
  declare module "jsonobject" {
13743
13923
  import { Base } from "base";
13744
- import { ILoadFromJSONOptions } from "base-interfaces";
13924
+ import { ILoadFromJSONOptions, ISaveToJSONOptions } from "base-interfaces";
13745
13925
  export interface IPropertyDecoratorOptions<T = any> {
13746
13926
  defaultValue?: T;
13747
13927
  defaultSource?: string;
@@ -13813,6 +13993,7 @@ declare module "jsonobject" {
13813
13993
  minValue: any;
13814
13994
  private dataListValue;
13815
13995
  layout: string;
13996
+ version: string;
13816
13997
  onSerializeValue: (obj: any) => any;
13817
13998
  onGetValue: (obj: any) => any;
13818
13999
  onSettingValue: (obj: any, value: any) => any;
@@ -13860,6 +14041,9 @@ declare module "jsonobject" {
13860
14041
  isVisible(layout: string, obj?: any): boolean;
13861
14042
  get visible(): boolean;
13862
14043
  set visible(val: boolean);
14044
+ isAvailableInVersion(ver: string): boolean;
14045
+ getSerializedName(ver: string): string;
14046
+ private isAvailableInVersionCore;
13863
14047
  get isLocalizable(): boolean;
13864
14048
  set isLocalizable(val: boolean);
13865
14049
  get dataList(): Array<string>;
@@ -13933,7 +14117,10 @@ declare module "jsonobject" {
13933
14117
  overrideClassCreator(name: string, creator: () => any): void;
13934
14118
  getProperties(className: string): Array<JsonObjectProperty>;
13935
14119
  getPropertiesByObj(obj: any): Array<JsonObjectProperty>;
14120
+ addDynamicPropertiesIntoObj(dest: any, src: any, props: Array<JsonObjectProperty>): void;
14121
+ private addDynamicPropertyIntoObj;
13936
14122
  getDynamicPropertiesByObj(obj: any, dynamicType?: string): Array<JsonObjectProperty>;
14123
+ getDynamicPropertiesByTypes(objType: string, dynamicType: string, invalidNames?: Array<string>): Array<JsonObjectProperty>;
13937
14124
  hasOriginalProperty(obj: Base, propName: string): boolean;
13938
14125
  getOriginalProperty(obj: Base, propName: string): JsonObjectProperty;
13939
14126
  getProperty(className: string, propertyName: string): JsonObjectProperty;
@@ -14018,15 +14205,16 @@ declare module "jsonobject" {
14018
14205
  errors: JsonError[];
14019
14206
  lightSerializing: boolean;
14020
14207
  options: ILoadFromJSONOptions;
14021
- toJsonObject(obj: any, storeDefaults?: boolean): any;
14208
+ toJsonObject(obj: any, options?: ISaveToJSONOptions | boolean): any;
14022
14209
  toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
14023
14210
  toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
14024
- toJsonObjectCore(obj: any, property: JsonObjectProperty, storeDefaults?: boolean): any;
14211
+ toJsonObjectCore(obj: any, property: JsonObjectProperty, options?: ISaveToJSONOptions | boolean): any;
14025
14212
  private getDynamicProperties;
14026
14213
  private addDynamicProperties;
14027
14214
  private propertiesToJson;
14028
- valueToJson(obj: any, result: any, property: JsonObjectProperty, storeDefaults?: boolean): void;
14215
+ valueToJson(obj: any, result: any, prop: JsonObjectProperty, options?: ISaveToJSONOptions): void;
14029
14216
  valueToObj(value: any, obj: any, property: JsonObjectProperty, jsonObj?: any, options?: ILoadFromJSONOptions): void;
14217
+ private removePosOnValueToJson;
14030
14218
  private removePos;
14031
14219
  private removePosFromObj;
14032
14220
  private isValueArray;
@@ -14050,7 +14238,7 @@ declare module "base" {
14050
14238
  import { HashTable } from "helpers";
14051
14239
  import { JsonObjectProperty } from "jsonobject";
14052
14240
  import { ItemValue } from "itemvalue";
14053
- import { IElement, IFindElement, IProgressInfo, ISurvey, ILoadFromJSONOptions } from "base-interfaces";
14241
+ import { IElement, IFindElement, IProgressInfo, ISurvey, ILoadFromJSONOptions, ISaveToJSONOptions } from "base-interfaces";
14054
14242
  import { ExpressionRunner } from "conditions";
14055
14243
  export class Bindings {
14056
14244
  private obj;
@@ -14220,7 +14408,7 @@ declare module "base" {
14220
14408
  * Returns a JSON object that corresponds to the current SurveyJS object.
14221
14409
  * @see fromJSON
14222
14410
  */
14223
- toJSON(): any;
14411
+ toJSON(options?: ISaveToJSONOptions): any;
14224
14412
  /**
14225
14413
  * Assigns a new configuration to the current SurveyJS object. This configuration is taken from a passed JSON object.
14226
14414
  *
@@ -14384,10 +14572,7 @@ declare module "utils/popup" {
14384
14572
  export class PopupUtils {
14385
14573
  static bottomIndent: number;
14386
14574
  static calculatePosition(targetRect: ClientRect, height: number, width: number, verticalPosition: VerticalPosition, horizontalPosition: HorizontalPosition, showPointer: boolean, positionMode?: PositionMode): INumberPosition;
14387
- static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number): {
14388
- height: number;
14389
- top: number;
14390
- };
14575
+ static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number, verticalPosition: VerticalPosition): any;
14391
14576
  static updateHorizontalDimensions(left: number, width: number, windowWidth: number, horizontalPosition: HorizontalPosition, positionMode?: PositionMode, margins?: {
14392
14577
  left: number;
14393
14578
  right: number;
@@ -14828,7 +15013,7 @@ declare module "settings" {
14828
15013
  * @param message A message to be displayed in the confirm dialog window.
14829
15014
  * @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
14830
15015
  */
14831
- confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string) => boolean;
15016
+ confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string) => boolean;
14832
15017
  /**
14833
15018
  * A minimum width value for all survey elements.
14834
15019
  *
@@ -14878,15 +15063,27 @@ declare module "settings" {
14878
15063
  */
14879
15064
  showItemsInOrder: string;
14880
15065
  /**
14881
- * 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.
14882
15067
  *
14883
15068
  * Default value: `"none"`
14884
15069
  */
14885
15070
  noneItemValue: string;
14886
15071
  /**
14887
- * 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.
14888
15073
  *
14889
- * 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] }`
14890
15087
  *
14891
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.
14892
15089
  *
@@ -14907,6 +15104,8 @@ declare module "settings" {
14907
15104
  specialChoicesOrder: {
14908
15105
  selectAllItem: number[];
14909
15106
  noneItem: number[];
15107
+ refuseItem: number[];
15108
+ dontKnowItem: number[];
14910
15109
  otherItem: number[];
14911
15110
  };
14912
15111
  /**
@@ -14961,6 +15160,12 @@ declare module "settings" {
14961
15160
  * Default value: `true`
14962
15161
  */
14963
15162
  showMaxLengthIndicator: boolean;
15163
+ /**
15164
+ * Set to `false` to disable animations
15165
+ *
15166
+ * Default value: `true`
15167
+ */
15168
+ animationEnabled: boolean;
14964
15169
  /**
14965
15170
  * An object that specifies heading levels (`<h1>`, `<h2>`, etc.) to use when rendering survey, page, panel, and question titles.
14966
15171
  *
@@ -14978,6 +15183,7 @@ declare module "settings" {
14978
15183
  inputTypes: string[];
14979
15184
  dataList: string[];
14980
15185
  };
15186
+ legacyProgressBarView: boolean;
14981
15187
  };
14982
15188
  }
14983
15189
  declare module "question_matrixdropdown" {
@@ -15044,6 +15250,7 @@ declare module "dropdownListModel" {
15044
15250
  readonly loadingItemHeight = 40;
15045
15251
  private _markdownMode;
15046
15252
  private _popupModel;
15253
+ private filteredItems;
15047
15254
  focused: boolean;
15048
15255
  private get focusFirstInputSelector();
15049
15256
  protected readonly selectedItemSelector = ".sv-list__item--selected";
@@ -15208,8 +15415,22 @@ declare module "question_dropdown" {
15208
15415
  allowClear: boolean;
15209
15416
  /**
15210
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)
15211
15422
  */
15212
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";
15213
15434
  inputHasValue: boolean;
15214
15435
  readOnlyText: string;
15215
15436
  /**
@@ -15373,6 +15594,11 @@ declare module "question_matrix" {
15373
15594
  protected isNewValueCorrect(val: any): boolean;
15374
15595
  protected processRowsOnSet(newRows: Array<any>): MatrixRowModel[];
15375
15596
  get visibleRows(): Array<MatrixRowModel>;
15597
+ /**
15598
+ * An array of matrix cells. Use this array to get or set cell values.
15599
+ *
15600
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-matrix-rubric/ (linkStyle))
15601
+ */
15376
15602
  get cells(): MatrixCells;
15377
15603
  set cells(value: MatrixCells);
15378
15604
  get hasCellText(): boolean;
@@ -15501,7 +15727,7 @@ declare module "question_empty" {
15501
15727
  }
15502
15728
  }
15503
15729
  declare module "question_checkbox" {
15504
- import { QuestionCheckboxBase, QuestionSelectBase } from "question_baseselect";
15730
+ import { QuestionCheckboxBase } from "question_baseselect";
15505
15731
  import { ItemValue } from "itemvalue";
15506
15732
  import { LocalizableString } from "localizablestring";
15507
15733
  import { IQuestion } from "base-interfaces";
@@ -15619,6 +15845,7 @@ declare module "question_checkbox" {
15619
15845
  protected getCommentFromValue(newValue: any): string;
15620
15846
  protected setOtherValueIntoValue(newValue: any): any;
15621
15847
  private getFirstUnknownIndex;
15848
+ protected removeNoneItemsValues(value: Array<any>, newValue: Array<any>): void;
15622
15849
  private noneIndexInArray;
15623
15850
  protected canUseFilteredChoices(): boolean;
15624
15851
  protected supportSelectAll(): boolean;
@@ -15626,7 +15853,7 @@ declare module "question_checkbox" {
15626
15853
  index: number;
15627
15854
  item: ItemValue;
15628
15855
  }>, isAddAll: boolean): void;
15629
- protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
15856
+ protected isBuiltInChoice(item: ItemValue): boolean;
15630
15857
  isItemInList(item: ItemValue): boolean;
15631
15858
  protected getDisplayValueCore(keysAsText: boolean, value: any): any;
15632
15859
  protected clearIncorrectValuesCore(): void;
@@ -15788,7 +16015,7 @@ declare module "question_tagbox" {
15788
16015
  }
15789
16016
  }
15790
16017
  declare module "question_imagepicker" {
15791
- import { QuestionCheckboxBase, QuestionSelectBase } from "question_baseselect";
16018
+ import { QuestionCheckboxBase } from "question_baseselect";
15792
16019
  import { ItemValue } from "itemvalue";
15793
16020
  import { ILocalizableOwner, LocalizableString } from "localizablestring";
15794
16021
  export class ImageItemValue extends ItemValue implements ILocalizableOwner {
@@ -15827,6 +16054,8 @@ declare module "question_imagepicker" {
15827
16054
  get isCompositeQuestion(): boolean;
15828
16055
  supportOther(): boolean;
15829
16056
  supportNone(): boolean;
16057
+ supportRefuse(): boolean;
16058
+ supportDontKnow(): boolean;
15830
16059
  isAnswerCorrect(): boolean;
15831
16060
  /**
15832
16061
  * Specifies whether users can select multiple images or videos.
@@ -15897,7 +16126,7 @@ declare module "question_imagepicker" {
15897
16126
  set contentMode(val: string);
15898
16127
  protected convertDefaultValue(val: any): any;
15899
16128
  get inputType(): "checkbox" | "radio";
15900
- protected isBuiltInChoice(item: ItemValue, question: QuestionSelectBase): boolean;
16129
+ protected isBuiltInChoice(item: ItemValue): boolean;
15901
16130
  protected addToVisibleChoices(items: Array<ItemValue>, isAddAll: boolean): void;
15902
16131
  getSelectBaseRootCss(): string;
15903
16132
  private isResponsiveValue;
@@ -16044,10 +16273,13 @@ declare module "question_ranking" {
16044
16273
  protected supportSelectAll(): boolean;
16045
16274
  supportOther(): boolean;
16046
16275
  supportNone(): boolean;
16276
+ supportRefuse(): boolean;
16277
+ supportDontKnow(): boolean;
16047
16278
  private handleArrowKeys;
16048
16279
  handleKeydownSelectToRank(event: KeyboardEvent, movedElement: ItemValue): void;
16049
16280
  private setValueAfterKeydown;
16050
16281
  private focusItem;
16282
+ isValueSetByUser: boolean;
16051
16283
  setValue: () => void;
16052
16284
  getIconHoverCss(): string;
16053
16285
  getIconFocusCss(): string;
@@ -16070,6 +16302,7 @@ declare module "question_ranking" {
16070
16302
  */
16071
16303
  get selectToRankEnabled(): boolean;
16072
16304
  set selectToRankEnabled(val: boolean);
16305
+ carryForwardStartUnranked: boolean;
16073
16306
  /**
16074
16307
  * Specifies the layout of the ranked and unranked areas. Applies when [`selectToRankEnabled`](https://surveyjs.io/form-library/documentation/api-reference/ranking-question-model#selectToRankEnabled) is `true`.
16075
16308
  *
@@ -16597,6 +16830,8 @@ declare module "question_boolean" {
16597
16830
  protected supportResponsiveness(): boolean;
16598
16831
  protected getCompactRenderAs(): string;
16599
16832
  protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer;
16833
+ get isNewA11yStructure(): boolean;
16834
+ get a11y_input_ariaRole(): string;
16600
16835
  }
16601
16836
  }
16602
16837
  declare module "question_image" {
@@ -16693,17 +16928,6 @@ declare module "surveyProgress" {
16693
16928
  static getProgressTextUnderBarCss(css: any): string;
16694
16929
  }
16695
16930
  }
16696
- declare module "surveyProgressButtons" {
16697
- import { SurveyModel } from "survey";
16698
- export class SurveyProgressButtonsModel {
16699
- private survey;
16700
- constructor(survey: SurveyModel);
16701
- isListElementClickable(index: number): boolean;
16702
- getListElementCss(index: number): string;
16703
- getScrollButtonCss(hasScroller: boolean, isLeftScroll: boolean): string;
16704
- clickListElement(index: number): void;
16705
- }
16706
- }
16707
16931
  declare module "popup-survey" {
16708
16932
  import { Base } from "base";
16709
16933
  import { SurveyModel } from "survey";
@@ -17003,7 +17227,7 @@ declare module "entries/chunks/model" {
17003
17227
  export { SurveyTimerModel } from "surveyTimerModel";
17004
17228
  export * from "surveyToc";
17005
17229
  export { SurveyProgressModel } from "surveyProgress";
17006
- export { SurveyProgressButtonsModel } from "surveyProgressButtons";
17230
+ export { ProgressButtons, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from "progress-buttons";
17007
17231
  export * from "themes";
17008
17232
  export { SurveyModel } from "survey";
17009
17233
  export * from "survey-events-api";
@@ -19484,6 +19708,8 @@ declare module "localization/arabic" {
19484
19708
  startSurveyText: string;
19485
19709
  otherItemText: string;
19486
19710
  noneItemText: string;
19711
+ refuseItemText: string;
19712
+ dontKnowItemText: string;
19487
19713
  selectAllItemText: string;
19488
19714
  progressText: string;
19489
19715
  indexText: string;
@@ -19588,6 +19814,8 @@ declare module "localization/basque" {
19588
19814
  startSurveyText: string;
19589
19815
  otherItemText: string;
19590
19816
  noneItemText: string;
19817
+ refuseItemText: string;
19818
+ dontKnowItemText: string;
19591
19819
  selectAllItemText: string;
19592
19820
  progressText: string;
19593
19821
  indexText: string;
@@ -19692,6 +19920,8 @@ declare module "localization/bulgarian" {
19692
19920
  startSurveyText: string;
19693
19921
  otherItemText: string;
19694
19922
  noneItemText: string;
19923
+ refuseItemText: string;
19924
+ dontKnowItemText: string;
19695
19925
  selectAllItemText: string;
19696
19926
  progressText: string;
19697
19927
  indexText: string;
@@ -19796,6 +20026,8 @@ declare module "localization/catalan" {
19796
20026
  startSurveyText: string;
19797
20027
  otherItemText: string;
19798
20028
  noneItemText: string;
20029
+ refuseItemText: string;
20030
+ dontKnowItemText: string;
19799
20031
  selectAllItemText: string;
19800
20032
  progressText: string;
19801
20033
  indexText: string;
@@ -19900,6 +20132,8 @@ declare module "localization/croatian" {
19900
20132
  startSurveyText: string;
19901
20133
  otherItemText: string;
19902
20134
  noneItemText: string;
20135
+ refuseItemText: string;
20136
+ dontKnowItemText: string;
19903
20137
  selectAllItemText: string;
19904
20138
  progressText: string;
19905
20139
  indexText: string;
@@ -20004,6 +20238,8 @@ declare module "localization/czech" {
20004
20238
  startSurveyText: string;
20005
20239
  otherItemText: string;
20006
20240
  noneItemText: string;
20241
+ refuseItemText: string;
20242
+ dontKnowItemText: string;
20007
20243
  selectAllItemText: string;
20008
20244
  progressText: string;
20009
20245
  indexText: string;
@@ -20108,6 +20344,8 @@ declare module "localization/danish" {
20108
20344
  startSurveyText: string;
20109
20345
  otherItemText: string;
20110
20346
  noneItemText: string;
20347
+ refuseItemText: string;
20348
+ dontKnowItemText: string;
20111
20349
  selectAllItemText: string;
20112
20350
  progressText: string;
20113
20351
  indexText: string;
@@ -20212,6 +20450,8 @@ declare module "localization/dutch" {
20212
20450
  startSurveyText: string;
20213
20451
  otherItemText: string;
20214
20452
  noneItemText: string;
20453
+ refuseItemText: string;
20454
+ dontKnowItemText: string;
20215
20455
  selectAllItemText: string;
20216
20456
  progressText: string;
20217
20457
  indexText: string;
@@ -20317,6 +20557,8 @@ declare module "localization/estonian" {
20317
20557
  startSurveyText: string;
20318
20558
  otherItemText: string;
20319
20559
  noneItemText: string;
20560
+ refuseItemText: string;
20561
+ dontKnowItemText: string;
20320
20562
  selectAllItemText: string;
20321
20563
  progressText: string;
20322
20564
  indexText: string;
@@ -20421,6 +20663,8 @@ declare module "localization/finnish" {
20421
20663
  startSurveyText: string;
20422
20664
  otherItemText: string;
20423
20665
  noneItemText: string;
20666
+ refuseItemText: string;
20667
+ dontKnowItemText: string;
20424
20668
  selectAllItemText: string;
20425
20669
  progressText: string;
20426
20670
  indexText: string;
@@ -20525,6 +20769,8 @@ declare module "localization/french" {
20525
20769
  startSurveyText: string;
20526
20770
  otherItemText: string;
20527
20771
  noneItemText: string;
20772
+ refuseItemText: string;
20773
+ dontKnowItemText: string;
20528
20774
  selectAllItemText: string;
20529
20775
  progressText: string;
20530
20776
  indexText: string;
@@ -20629,6 +20875,8 @@ declare module "localization/georgian" {
20629
20875
  startSurveyText: string;
20630
20876
  otherItemText: string;
20631
20877
  noneItemText: string;
20878
+ refuseItemText: string;
20879
+ dontKnowItemText: string;
20632
20880
  selectAllItemText: string;
20633
20881
  progressText: string;
20634
20882
  indexText: string;
@@ -20733,6 +20981,8 @@ declare module "localization/german" {
20733
20981
  startSurveyText: string;
20734
20982
  otherItemText: string;
20735
20983
  noneItemText: string;
20984
+ refuseItemText: string;
20985
+ dontKnowItemText: string;
20736
20986
  selectAllItemText: string;
20737
20987
  progressText: string;
20738
20988
  indexText: string;
@@ -20837,6 +21087,8 @@ declare module "localization/greek" {
20837
21087
  startSurveyText: string;
20838
21088
  otherItemText: string;
20839
21089
  noneItemText: string;
21090
+ refuseItemText: string;
21091
+ dontKnowItemText: string;
20840
21092
  selectAllItemText: string;
20841
21093
  progressText: string;
20842
21094
  indexText: string;
@@ -20941,6 +21193,8 @@ declare module "localization/hebrew" {
20941
21193
  startSurveyText: string;
20942
21194
  otherItemText: string;
20943
21195
  noneItemText: string;
21196
+ refuseItemText: string;
21197
+ dontKnowItemText: string;
20944
21198
  selectAllItemText: string;
20945
21199
  progressText: string;
20946
21200
  indexText: string;
@@ -21045,6 +21299,8 @@ declare module "localization/hindi" {
21045
21299
  startSurveyText: string;
21046
21300
  otherItemText: string;
21047
21301
  noneItemText: string;
21302
+ refuseItemText: string;
21303
+ dontKnowItemText: string;
21048
21304
  selectAllItemText: string;
21049
21305
  progressText: string;
21050
21306
  indexText: string;
@@ -21149,6 +21405,8 @@ declare module "localization/hungarian" {
21149
21405
  startSurveyText: string;
21150
21406
  otherItemText: string;
21151
21407
  noneItemText: string;
21408
+ refuseItemText: string;
21409
+ dontKnowItemText: string;
21152
21410
  selectAllItemText: string;
21153
21411
  progressText: string;
21154
21412
  indexText: string;
@@ -21253,6 +21511,8 @@ declare module "localization/icelandic" {
21253
21511
  startSurveyText: string;
21254
21512
  otherItemText: string;
21255
21513
  noneItemText: string;
21514
+ refuseItemText: string;
21515
+ dontKnowItemText: string;
21256
21516
  selectAllItemText: string;
21257
21517
  progressText: string;
21258
21518
  indexText: string;
@@ -21357,6 +21617,8 @@ declare module "localization/indonesian" {
21357
21617
  startSurveyText: string;
21358
21618
  otherItemText: string;
21359
21619
  noneItemText: string;
21620
+ refuseItemText: string;
21621
+ dontKnowItemText: string;
21360
21622
  selectAllItemText: string;
21361
21623
  progressText: string;
21362
21624
  indexText: string;
@@ -21461,6 +21723,8 @@ declare module "localization/italian" {
21461
21723
  startSurveyText: string;
21462
21724
  otherItemText: string;
21463
21725
  noneItemText: string;
21726
+ refuseItemText: string;
21727
+ dontKnowItemText: string;
21464
21728
  selectAllItemText: string;
21465
21729
  progressText: string;
21466
21730
  indexText: string;
@@ -21565,6 +21829,8 @@ declare module "localization/japanese" {
21565
21829
  startSurveyText: string;
21566
21830
  otherItemText: string;
21567
21831
  noneItemText: string;
21832
+ refuseItemText: string;
21833
+ dontKnowItemText: string;
21568
21834
  selectAllItemText: string;
21569
21835
  progressText: string;
21570
21836
  indexText: string;
@@ -21669,6 +21935,8 @@ declare module "localization/kazakh" {
21669
21935
  startSurveyText: string;
21670
21936
  otherItemText: string;
21671
21937
  noneItemText: string;
21938
+ refuseItemText: string;
21939
+ dontKnowItemText: string;
21672
21940
  selectAllItemText: string;
21673
21941
  progressText: string;
21674
21942
  indexText: string;
@@ -21773,6 +22041,8 @@ declare module "localization/korean" {
21773
22041
  startSurveyText: string;
21774
22042
  otherItemText: string;
21775
22043
  noneItemText: string;
22044
+ refuseItemText: string;
22045
+ dontKnowItemText: string;
21776
22046
  selectAllItemText: string;
21777
22047
  progressText: string;
21778
22048
  indexText: string;
@@ -21877,6 +22147,8 @@ declare module "localization/latvian" {
21877
22147
  startSurveyText: string;
21878
22148
  otherItemText: string;
21879
22149
  noneItemText: string;
22150
+ refuseItemText: string;
22151
+ dontKnowItemText: string;
21880
22152
  selectAllItemText: string;
21881
22153
  progressText: string;
21882
22154
  indexText: string;
@@ -21981,6 +22253,8 @@ declare module "localization/lithuanian" {
21981
22253
  startSurveyText: string;
21982
22254
  otherItemText: string;
21983
22255
  noneItemText: string;
22256
+ refuseItemText: string;
22257
+ dontKnowItemText: string;
21984
22258
  selectAllItemText: string;
21985
22259
  progressText: string;
21986
22260
  indexText: string;
@@ -22085,6 +22359,8 @@ declare module "localization/macedonian" {
22085
22359
  startSurveyText: string;
22086
22360
  otherItemText: string;
22087
22361
  noneItemText: string;
22362
+ refuseItemText: string;
22363
+ dontKnowItemText: string;
22088
22364
  selectAllItemText: string;
22089
22365
  progressText: string;
22090
22366
  indexText: string;
@@ -22189,6 +22465,8 @@ declare module "localization/malay" {
22189
22465
  startSurveyText: string;
22190
22466
  otherItemText: string;
22191
22467
  noneItemText: string;
22468
+ refuseItemText: string;
22469
+ dontKnowItemText: string;
22192
22470
  selectAllItemText: string;
22193
22471
  progressText: string;
22194
22472
  indexText: string;
@@ -22293,6 +22571,8 @@ declare module "localization/norwegian" {
22293
22571
  startSurveyText: string;
22294
22572
  otherItemText: string;
22295
22573
  noneItemText: string;
22574
+ refuseItemText: string;
22575
+ dontKnowItemText: string;
22296
22576
  selectAllItemText: string;
22297
22577
  progressText: string;
22298
22578
  indexText: string;
@@ -22397,6 +22677,8 @@ declare module "localization/persian" {
22397
22677
  startSurveyText: string;
22398
22678
  otherItemText: string;
22399
22679
  noneItemText: string;
22680
+ refuseItemText: string;
22681
+ dontKnowItemText: string;
22400
22682
  selectAllItemText: string;
22401
22683
  progressText: string;
22402
22684
  indexText: string;
@@ -22501,6 +22783,8 @@ declare module "localization/polish" {
22501
22783
  startSurveyText: string;
22502
22784
  otherItemText: string;
22503
22785
  noneItemText: string;
22786
+ refuseItemText: string;
22787
+ dontKnowItemText: string;
22504
22788
  selectAllItemText: string;
22505
22789
  progressText: string;
22506
22790
  indexText: string;
@@ -22605,6 +22889,8 @@ declare module "localization/portuguese" {
22605
22889
  startSurveyText: string;
22606
22890
  otherItemText: string;
22607
22891
  noneItemText: string;
22892
+ refuseItemText: string;
22893
+ dontKnowItemText: string;
22608
22894
  selectAllItemText: string;
22609
22895
  progressText: string;
22610
22896
  indexText: string;
@@ -22712,6 +22998,8 @@ declare module "localization/portuguese-br" {
22712
22998
  startSurveyText: string;
22713
22999
  otherItemText: string;
22714
23000
  noneItemText: string;
23001
+ refuseItemText: string;
23002
+ dontKnowItemText: string;
22715
23003
  selectAllItemText: string;
22716
23004
  progressText: string;
22717
23005
  indexText: string;
@@ -22819,6 +23107,8 @@ declare module "localization/russian" {
22819
23107
  startSurveyText: string;
22820
23108
  otherItemText: string;
22821
23109
  noneItemText: string;
23110
+ refuseItemText: string;
23111
+ dontKnowItemText: string;
22822
23112
  selectAllItemText: string;
22823
23113
  progressText: string;
22824
23114
  indexText: string;
@@ -22923,6 +23213,8 @@ declare module "localization/serbian" {
22923
23213
  startSurveyText: string;
22924
23214
  otherItemText: string;
22925
23215
  noneItemText: string;
23216
+ refuseItemText: string;
23217
+ dontKnowItemText: string;
22926
23218
  selectAllItemText: string;
22927
23219
  progressText: string;
22928
23220
  indexText: string;
@@ -23027,6 +23319,8 @@ declare module "localization/simplified-chinese" {
23027
23319
  startSurveyText: string;
23028
23320
  otherItemText: string;
23029
23321
  noneItemText: string;
23322
+ refuseItemText: string;
23323
+ dontKnowItemText: string;
23030
23324
  selectAllItemText: string;
23031
23325
  progressText: string;
23032
23326
  indexText: string;
@@ -23131,6 +23425,8 @@ declare module "localization/slovak" {
23131
23425
  startSurveyText: string;
23132
23426
  otherItemText: string;
23133
23427
  noneItemText: string;
23428
+ refuseItemText: string;
23429
+ dontKnowItemText: string;
23134
23430
  selectAllItemText: string;
23135
23431
  progressText: string;
23136
23432
  indexText: string;
@@ -23235,6 +23531,8 @@ declare module "localization/spanish" {
23235
23531
  startSurveyText: string;
23236
23532
  otherItemText: string;
23237
23533
  noneItemText: string;
23534
+ refuseItemText: string;
23535
+ dontKnowItemText: string;
23238
23536
  selectAllItemText: string;
23239
23537
  progressText: string;
23240
23538
  indexText: string;
@@ -23339,6 +23637,8 @@ declare module "localization/swahili" {
23339
23637
  startSurveyText: string;
23340
23638
  otherItemText: string;
23341
23639
  noneItemText: string;
23640
+ refuseItemText: string;
23641
+ dontKnowItemText: string;
23342
23642
  selectAllItemText: string;
23343
23643
  progressText: string;
23344
23644
  indexText: string;
@@ -23443,6 +23743,8 @@ declare module "localization/swedish" {
23443
23743
  startSurveyText: string;
23444
23744
  otherItemText: string;
23445
23745
  noneItemText: string;
23746
+ refuseItemText: string;
23747
+ dontKnowItemText: string;
23446
23748
  selectAllItemText: string;
23447
23749
  progressText: string;
23448
23750
  indexText: string;
@@ -23611,6 +23913,8 @@ declare module "localization/thai" {
23611
23913
  startSurveyText: string;
23612
23914
  otherItemText: string;
23613
23915
  noneItemText: string;
23916
+ refuseItemText: string;
23917
+ dontKnowItemText: string;
23614
23918
  selectAllItemText: string;
23615
23919
  progressText: string;
23616
23920
  indexText: string;
@@ -23715,6 +24019,8 @@ declare module "localization/traditional-chinese" {
23715
24019
  startSurveyText: string;
23716
24020
  otherItemText: string;
23717
24021
  noneItemText: string;
24022
+ refuseItemText: string;
24023
+ dontKnowItemText: string;
23718
24024
  selectAllItemText: string;
23719
24025
  progressText: string;
23720
24026
  indexText: string;
@@ -23819,6 +24125,8 @@ declare module "localization/turkish" {
23819
24125
  startSurveyText: string;
23820
24126
  otherItemText: string;
23821
24127
  noneItemText: string;
24128
+ refuseItemText: string;
24129
+ dontKnowItemText: string;
23822
24130
  selectAllItemText: string;
23823
24131
  progressText: string;
23824
24132
  indexText: string;
@@ -23923,6 +24231,8 @@ declare module "localization/ukrainian" {
23923
24231
  startSurveyText: string;
23924
24232
  otherItemText: string;
23925
24233
  noneItemText: string;
24234
+ refuseItemText: string;
24235
+ dontKnowItemText: string;
23926
24236
  selectAllItemText: string;
23927
24237
  progressText: string;
23928
24238
  indexText: string;
@@ -24027,6 +24337,8 @@ declare module "localization/vietnamese" {
24027
24337
  startSurveyText: string;
24028
24338
  otherItemText: string;
24029
24339
  noneItemText: string;
24340
+ refuseItemText: string;
24341
+ dontKnowItemText: string;
24030
24342
  selectAllItemText: string;
24031
24343
  progressText: string;
24032
24344
  indexText: string;
@@ -24131,6 +24443,8 @@ declare module "localization/welsh" {
24131
24443
  startSurveyText: string;
24132
24444
  otherItemText: string;
24133
24445
  noneItemText: string;
24446
+ refuseItemText: string;
24447
+ dontKnowItemText: string;
24134
24448
  selectAllItemText: string;
24135
24449
  progressText: string;
24136
24450
  indexText: string;
@@ -24235,6 +24549,8 @@ declare module "localization/telugu" {
24235
24549
  startSurveyText: string;
24236
24550
  otherItemText: string;
24237
24551
  noneItemText: string;
24552
+ refuseItemText: string;
24553
+ dontKnowItemText: string;
24238
24554
  selectAllItemText: string;
24239
24555
  progressText: string;
24240
24556
  indexText: string;
@@ -24429,8 +24745,12 @@ declare module "react/reactquestion_comment" {
24429
24745
  protected renderElement(): JSX.Element;
24430
24746
  }
24431
24747
  export class SurveyQuestionCommentItem extends ReactSurveyElement {
24432
- private getStateComment;
24748
+ private control;
24433
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;
24434
24754
  protected canRender(): boolean;
24435
24755
  protected onCommentChange(event: any): void;
24436
24756
  protected onCommentInput(event: any): void;
@@ -25567,7 +25887,7 @@ declare module "react/reactquestion_paneldynamic" {
25567
25887
  protected renderButton(): JSX.Element | null;
25568
25888
  }
25569
25889
  }
25570
- declare module "react/reactSurveyProgress" {
25890
+ declare module "react/progress" {
25571
25891
  import { SurveyNavigationBase } from "react/reactSurveyNavigationBase";
25572
25892
  export class SurveyProgress extends SurveyNavigationBase {
25573
25893
  constructor(props: any);
@@ -25577,21 +25897,21 @@ declare module "react/reactSurveyProgress" {
25577
25897
  render(): JSX.Element;
25578
25898
  }
25579
25899
  }
25580
- declare module "react/reactSurveyProgressButtons" {
25581
- import { PageModel } from "entries/core";
25900
+ declare module "react/progressButtons" {
25901
+ import { ProgressButtons, PageModel, IProgressButtonsViewModel } from "entries/core";
25582
25902
  import { SurveyNavigationBase } from "react/reactSurveyNavigationBase";
25583
- export class SurveyProgressButtons extends SurveyNavigationBase {
25584
- private progressButtonsModel;
25585
- private updateScroller;
25903
+ export class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {
25904
+ private respManager;
25586
25905
  private listContainerRef;
25587
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;
25588
25912
  render(): JSX.Element;
25589
25913
  protected getListElements(): JSX.Element[];
25590
25914
  protected renderListElement(page: PageModel, index: number): JSX.Element;
25591
- protected isListElementClickable(index: number): boolean;
25592
- protected getListElementCss(index: number): string;
25593
- protected clickListElement(index: number): void;
25594
- protected getScrollButtonCss(isLeftScroll: boolean): string;
25595
25915
  protected clickScrollButton(listContainerElement: Element | null, isLeftScroll: boolean): void;
25596
25916
  componentDidMount(): void;
25597
25917
  componentWillUnmount(): void;
@@ -25635,7 +25955,7 @@ declare module "react/components/list/list" {
25635
25955
  emptyContent(): JSX.Element;
25636
25956
  }
25637
25957
  }
25638
- declare module "react/reactSurveyProgressToc" {
25958
+ declare module "react/progressToc" {
25639
25959
  import { SurveyNavigationBase } from "react/reactSurveyNavigationBase";
25640
25960
  export class SurveyProgressToc extends SurveyNavigationBase {
25641
25961
  render(): JSX.Element;
@@ -25909,9 +26229,9 @@ declare module "entries/react-ui-model" {
25909
26229
  export { SurveyQuestionMatrixDropdown } from "react/reactquestion_matrixdropdown";
25910
26230
  export { SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton } from "react/reactquestion_matrixdynamic";
25911
26231
  export { SurveyQuestionPanelDynamic } from "react/reactquestion_paneldynamic";
25912
- export { SurveyProgress } from "react/reactSurveyProgress";
25913
- export { SurveyProgressButtons } from "react/reactSurveyProgressButtons";
25914
- export { SurveyProgressToc } from "react/reactSurveyProgressToc";
26232
+ export { SurveyProgress } from "react/progress";
26233
+ export { SurveyProgressButtons } from "react/progressButtons";
26234
+ export { SurveyProgressToc } from "react/progressToc";
25915
26235
  export { SurveyQuestionRating } from "react/reactquestion_rating";
25916
26236
  export { SurveyQuestionRatingDropdown } from "react/rating-dropdown";
25917
26237
  export { SurveyQuestionExpression } from "react/reactquestion_expression";