survey-react 1.12.16 → 1.12.18

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
@@ -999,7 +999,7 @@ declare module "packages/survey-core/src/utils/utils" {
999
999
  export function setPropertiesOnElementForAnimation(el: HTMLElement, styles: any, prefix?: string): void;
1000
1000
  export function prepareElementForVerticalAnimation(el: HTMLElement): void;
1001
1001
  export function cleanHtmlElementAfterAnimation(el: HTMLElement): void;
1002
- export function roundTo2Decimals(number: number): number;
1002
+ export function floorTo2Decimals(number: number): number;
1003
1003
  export { mergeValues, updateListCssValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, activateLazyRenderingChecks, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles, isBase64URL, renamedIcons };
1004
1004
  }
1005
1005
  declare module "packages/survey-core/src/actions/container" {
@@ -2417,6 +2417,7 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
2417
2417
  itemBody: string;
2418
2418
  itemSelected: string;
2419
2419
  itemFocused: string;
2420
+ itemHovered: string;
2420
2421
  };
2421
2422
  actionBar: {
2422
2423
  root: string;
@@ -3404,7 +3405,7 @@ declare module "packages/survey-core/src/panel" {
3404
3405
  private questionsValue;
3405
3406
  private _columns;
3406
3407
  private _columnsReady;
3407
- layoutColumns: Array<PanelLayoutColumnModel>;
3408
+ gridLayoutColumns: Array<PanelLayoutColumnModel>;
3408
3409
  addElementCallback: (element: IElement) => void;
3409
3410
  removeElementCallback: (element: IElement) => void;
3410
3411
  onGetQuestionTitleLocation: () => string;
@@ -3656,6 +3657,7 @@ declare module "packages/survey-core/src/panel" {
3656
3657
  getQuestionTitleWidth(): string;
3657
3658
  get columns(): Array<PanelLayoutColumnModel>;
3658
3659
  protected generateColumns(): void;
3660
+ updateGridColumns(): void;
3659
3661
  getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
3660
3662
  protected getStartIndex(): string;
3661
3663
  getQuestionStartIndex(): string;
@@ -3897,7 +3899,7 @@ declare module "packages/survey-core/src/panel" {
3897
3899
  * @see visibleIf
3898
3900
  */
3899
3901
  get no(): string;
3900
- protected setNo(visibleIndex: number): void;
3902
+ private calcNo;
3901
3903
  protected notifyStateChanged(prevState: string): void;
3902
3904
  protected createLocTitleProperty(): LocalizableString;
3903
3905
  protected beforeSetVisibleIndex(index: number): number;
@@ -5928,7 +5930,7 @@ declare module "packages/survey-core/src/question_matrixdropdownrendered" {
5928
5930
  get hasQuestion(): boolean;
5929
5931
  get hasTitle(): boolean;
5930
5932
  get hasPanel(): boolean;
5931
- get id(): number;
5933
+ get id(): string;
5932
5934
  get item(): ItemValue;
5933
5935
  set item(val: ItemValue);
5934
5936
  get isChoice(): boolean;
@@ -5963,7 +5965,7 @@ declare module "packages/survey-core/src/question_matrixdropdownrendered" {
5963
5965
  private idValue;
5964
5966
  cells: Array<QuestionMatrixDropdownRenderedCell>;
5965
5967
  constructor(cssClasses: any, isDetailRow?: boolean);
5966
- get id(): number;
5968
+ get id(): string;
5967
5969
  get attributes(): {
5968
5970
  "data-sv-drop-target-matrix-row"?: undefined;
5969
5971
  } | {
@@ -7485,7 +7487,11 @@ declare module "packages/survey-core/src/survey-events-api" {
7485
7487
  /**
7486
7488
  * An array of [actions](https://surveyjs.io/form-library/documentation/iaction) associated with the processed element.
7487
7489
  */
7488
- titleActions: Array<IAction>;
7490
+ actions: Array<IAction>;
7491
+ /**
7492
+ * Obsolete. Use `options.actions` instead.
7493
+ */
7494
+ titleActions?: Array<IAction>;
7489
7495
  }
7490
7496
  export interface GetActionsEventMixin {
7491
7497
  /**
@@ -7841,7 +7847,13 @@ declare module "packages/survey-core/src/survey-events-api" {
7841
7847
  */
7842
7848
  number: string;
7843
7849
  }
7844
- export interface ProgressTextEvent {
7850
+ export interface GetPanelNumberEvent extends PanelEventMixin {
7851
+ /**
7852
+ * A panel number. Note that this is a string value that contains not only the number itself but also the characters that separate the number from the panel title: `"1. "`, `"2. "`, etc. You can change this parameter's value.
7853
+ */
7854
+ number: string;
7855
+ }
7856
+ export interface GetProgressTextEvent {
7845
7857
  /**
7846
7858
  * The number of questions with input fields. [Image](https://surveyjs.io/form-library/examples/add-image-and-video-to-survey/), [HTML](https://surveyjs.io/form-library/examples/questiontype-html/), and [Expression](https://surveyjs.io/form-library/examples/questiontype-expression/) questions are not counted.
7847
7859
  */
@@ -7863,6 +7875,8 @@ declare module "packages/survey-core/src/survey-events-api" {
7863
7875
  */
7864
7876
  text: string;
7865
7877
  }
7878
+ export interface ProgressTextEvent extends GetProgressTextEvent {
7879
+ }
7866
7880
  export interface TextProcessingEvent {
7867
7881
  /**
7868
7882
  * The name of the property that contains the text to process.
@@ -8345,17 +8359,27 @@ declare module "packages/survey-core/src/survey-events-api" {
8345
8359
  }
8346
8360
  export interface IsAnswerCorrectEvent extends QuestionEventMixin {
8347
8361
  /**
8348
- * The number of correct answers in a matrix where each row is considered as one quiz question.
8362
+ * A Boolean property that specifies whether the answer is correct (`true`) or incorrect (`false`). Use the `options.question.value` and `options.question.correctAnswer` properties to check the answer.
8349
8363
  */
8350
- correctAnswers: number;
8364
+ result: boolean;
8351
8365
  /**
8352
- * The number of incorrect answers in a matrix where each row is considered as one quiz question.
8366
+ * Obsolete. Use `options.correctAnswerCount` instead.
8353
8367
  */
8354
- incorrectAnswers: number;
8368
+ correctAnswers?: number;
8355
8369
  /**
8356
- * A Boolean property that specifies whether the answer is correct (`true`) or incorrect (`false`). Use the `options.question.value` and `options.question.correctAnswer` properties to check the answer.
8370
+ * Obsolete. Use `options.incorrectAnswerCount` instead.
8357
8371
  */
8358
- result: boolean;
8372
+ incorrectAnswers?: number;
8373
+ }
8374
+ export interface CheckAnswerCorrectEvent extends IsAnswerCorrectEvent {
8375
+ /**
8376
+ * The number of correct answers in a matrix where each row is considered as one quiz question.
8377
+ */
8378
+ correctAnswerCount: number;
8379
+ /**
8380
+ * The number of incorrect answers in a matrix where each row is considered as one quiz question.
8381
+ */
8382
+ incorrectAnswerCount: number;
8359
8383
  }
8360
8384
  export interface DragDropAllowEvent {
8361
8385
  /**
@@ -8406,9 +8430,9 @@ declare module "packages/survey-core/src/survey-events-api" {
8406
8430
  */
8407
8431
  elementId: string;
8408
8432
  /**
8409
- * A Boolean property that you can set to `true` if you want to cancel the scroll operation.
8433
+ * Obsolete. Use `options.allow` instead.
8410
8434
  */
8411
- cancel: boolean;
8435
+ cancel?: boolean;
8412
8436
  /**
8413
8437
  * Obsolete. Use `options.element` instead.
8414
8438
  */
@@ -8418,6 +8442,12 @@ declare module "packages/survey-core/src/survey-events-api" {
8418
8442
  */
8419
8443
  page?: PageModel;
8420
8444
  }
8445
+ export interface ScrollToTopEvent extends ScrollingElementToTopEvent {
8446
+ /**
8447
+ * A Boolean property that you can set to `false` if you want to cancel the scroll operation.
8448
+ */
8449
+ allow: boolean;
8450
+ }
8421
8451
  export interface GetQuestionTitleActionsEvent extends QuestionEventMixin, GetTitleActionsEventMixin {
8422
8452
  }
8423
8453
  export interface GetPanelTitleActionsEvent extends PanelEventMixin, GetTitleActionsEventMixin {
@@ -9751,7 +9781,7 @@ declare module "packages/survey-core/src/survey" {
9751
9781
  import { ActionContainer } from "packages/survey-core/src/actions/container";
9752
9782
  import { QuestionPanelDynamicModel } from "packages/survey-core/src/question_paneldynamic";
9753
9783
  import { Notifier } from "packages/survey-core/src/notifier";
9754
- 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, GetQuestionNumberEvent, GetPageNumberEvent, ProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent } from "packages/survey-core/src/survey-events-api";
9784
+ 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, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "packages/survey-core/src/survey-events-api";
9755
9785
  import { QuestionMatrixDropdownModelBase } from "packages/survey-core/src/question_matrixdropdownbase";
9756
9786
  import { QuestionMatrixDynamicModel } from "packages/survey-core/src/question_matrixdynamic";
9757
9787
  import { QuestionFileModel } from "packages/survey-core/src/question_file";
@@ -10068,9 +10098,16 @@ declare module "packages/survey-core/src/survey" {
10068
10098
  */
10069
10099
  onGetQuestionNumber: EventBase<SurveyModel, GetQuestionNumberEvent>;
10070
10100
  /**
10071
- * This event is obsolete. Use the [`onGetQuestionNumber`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetQuestionNumber) event instead.
10101
+ * Obsolete. Use the [`onGetQuestionNumber`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetQuestionNumber) event instead.
10102
+ * @deprecated
10072
10103
  */
10073
10104
  onGetQuestionNo: EventBase<SurveyModel, GetQuestionNumberEvent>;
10105
+ /**
10106
+ * An event that is raised before the survey calculates a panel number. Handle this event to modify panel numbers.
10107
+ *
10108
+ * This event is raised only for the panels with a [specified title](https://surveyjs.io/form-library/documentation/api-reference/panel-model#title) and [visible number](https://surveyjs.io/form-library/documentation/api-reference/panel-model#showNumber).
10109
+ */
10110
+ onGetPanelNumber: EventBase<SurveyModel, GetPanelNumberEvent>;
10074
10111
  /**
10075
10112
  * An event that is raised before the survey calculates a page number. Handle this event to modify page numbers.
10076
10113
  *
@@ -10086,6 +10123,11 @@ declare module "packages/survey-core/src/survey" {
10086
10123
  * @see showProgressBar
10087
10124
  * @see progressBarType
10088
10125
  */
10126
+ onGetProgressText: EventBase<SurveyModel, GetProgressTextEvent>;
10127
+ /**
10128
+ * Obsolete. Use the [`onGetProgressText`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetProgressText) event instead.
10129
+ * @deprecated
10130
+ */
10089
10131
  onProgressText: EventBase<SurveyModel, ProgressTextEvent>;
10090
10132
  /**
10091
10133
  * An event that is raised to convert Markdown content to HTML.
@@ -10288,7 +10330,8 @@ declare module "packages/survey-core/src/survey" {
10288
10330
  */
10289
10331
  onMatrixRowAdding: EventBase<SurveyModel, MatrixBeforeRowAddedEvent>;
10290
10332
  /**
10291
- * This event is obsolete. Use the [`onMatrixRowAdding`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRowAdding) event instead.
10333
+ * Obsolete. Use the [`onMatrixRowAdding`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRowAdding) event instead.
10334
+ * @deprecated
10292
10335
  */
10293
10336
  onMatrixBeforeRowAdded: EventBase<SurveyModel, MatrixBeforeRowAddedEvent>;
10294
10337
  /**
@@ -10308,7 +10351,8 @@ declare module "packages/survey-core/src/survey" {
10308
10351
  */
10309
10352
  onMatrixRenderRemoveButton: EventBase<SurveyModel, MatrixAllowRemoveRowEvent>;
10310
10353
  /**
10311
- * This event is obsolete. Use the [`onMatrixRenderRemoveButton`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
10354
+ * Obsolete. Use the [`onMatrixRenderRemoveButton`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
10355
+ * @deprecated
10312
10356
  */
10313
10357
  onMatrixAllowRemoveRow: EventBase<SurveyModel, MatrixAllowRemoveRowEvent>;
10314
10358
  /**
@@ -10331,7 +10375,8 @@ declare module "packages/survey-core/src/survey" {
10331
10375
  */
10332
10376
  onAfterRenderMatrixCell: EventBase<SurveyModel, MatrixAfterCellRenderEvent>;
10333
10377
  /**
10334
- * This event is obsolete. Use the [`onAfterRenderMatrixCell`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onAfterRenderMatrixCell) event instead.
10378
+ * Obsolete. Use the [`onAfterRenderMatrixCell`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onAfterRenderMatrixCell) event instead.
10379
+ * @deprecated
10335
10380
  */
10336
10381
  onMatrixAfterCellRender: EventBase<SurveyModel, MatrixAfterCellRenderEvent>;
10337
10382
  /**
@@ -10405,6 +10450,11 @@ declare module "packages/survey-core/src/survey" {
10405
10450
  /**
10406
10451
  * An event that is raised to define whether a question answer is correct. Applies only to [quiz surveys](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
10407
10452
  */
10453
+ onCheckAnswerCorrect: EventBase<SurveyModel, CheckAnswerCorrectEvent>;
10454
+ /**
10455
+ * Obsolete. Use the [`onCheckAnswerCorrect`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onCheckAnswerCorrect) event instead.
10456
+ * @deprecated
10457
+ */
10408
10458
  onIsAnswerCorrect: EventBase<SurveyModel, IsAnswerCorrectEvent>;
10409
10459
  /**
10410
10460
  * An event that is raised when users drag and drop survey elements while designing the survey in [Survey Creator](https://surveyjs.io/survey-creator/documentation/overview). Use this event to control drag and drop operations.
@@ -10414,6 +10464,11 @@ declare module "packages/survey-core/src/survey" {
10414
10464
  /**
10415
10465
  * An event this is raised before a survey element (usually page) is scrolled to the top. Use this event to cancel the scroll operation.
10416
10466
  */
10467
+ onScrollToTop: EventBase<SurveyModel, ScrollToTopEvent>;
10468
+ /**
10469
+ * Obsolete. Use the [`onScrollToTop`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onScrollToTop) event instead.
10470
+ * @deprecated
10471
+ */
10417
10472
  onScrollingElementToTop: EventBase<SurveyModel, ScrollingElementToTopEvent>;
10418
10473
  onLocaleChangedEvent: EventBase<SurveyModel, {}>;
10419
10474
  /**
@@ -10453,10 +10508,7 @@ declare module "packages/survey-core/src/survey" {
10453
10508
  * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
10454
10509
  */
10455
10510
  onGetMatrixRowActions: EventBase<SurveyModel, GetMatrixRowActionsEvent>;
10456
- /**
10457
- * An event that is raised after a survey element is [expanded or collapsed](https://surveyjs.io/form-library/documentation/api-reference/question#state).
10458
- */
10459
- onElementContentVisibilityChanged: EventBase<SurveyModel, ElementContentVisibilityChangedEvent>;
10511
+ onElementContentVisibilityChanged: EventBase<SurveyModel, any>;
10460
10512
  /**
10461
10513
  * An event that is raised before an [Expression](https://surveyjs.io/form-library/documentation/api-reference/expression-model) question displays a value. Use this event to override the display value.
10462
10514
  */
@@ -10476,6 +10528,8 @@ declare module "packages/survey-core/src/survey" {
10476
10528
  onElementWrapperComponentName: EventBase<SurveyModel, any>;
10477
10529
  onElementWrapperComponentData: EventBase<SurveyModel, any>;
10478
10530
  constructor(jsonObj?: any, renderedElement?: any);
10531
+ get sjsVersion(): string;
10532
+ set sjsVersion(val: string);
10479
10533
  processClosedPopup(question: IQuestion, popupModel: PopupModel<any>): void;
10480
10534
  protected createTryAgainAction(): IAction;
10481
10535
  private createHtmlLocString;
@@ -10524,7 +10578,8 @@ declare module "packages/survey-core/src/survey" {
10524
10578
  containerCss: string;
10525
10579
  fitToContainer: boolean;
10526
10580
  /**
10527
- * This property is obsolete. Use the [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/itheme#headerView) property within a theme instead.
10581
+ * Obsolete. Use the [`headerView`](https://surveyjs.io/form-library/documentation/api-reference/itheme#headerView) property within a theme instead.
10582
+ * @deprecated
10528
10583
  */
10529
10584
  headerView: "advanced" | "basic";
10530
10585
  protected insertAdvancedHeader(advHeader: Cover): void;
@@ -11218,6 +11273,7 @@ declare module "packages/survey-core/src/survey" {
11218
11273
  get locQuestionTitleTemplate(): LocalizableString;
11219
11274
  getUpdatedQuestionTitle(question: Question, title: string): string;
11220
11275
  getUpdatedQuestionNo(question: Question, no: string): string;
11276
+ getUpdatedPanelNo(panel: PanelModel, no: string): string;
11221
11277
  getUpdatedPageNo(page: PageModel, no: string): string;
11222
11278
  /**
11223
11279
  * Specifies whether page titles contain page numbers.
@@ -11664,7 +11720,8 @@ declare module "packages/survey-core/src/survey" {
11664
11720
  */
11665
11721
  deleteCookie(): void;
11666
11722
  /**
11667
- * This property is obsolete. Use the [`validationEnabled`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#validationEnabled) property instead.
11723
+ * Obsolete. Use the [`validationEnabled`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#validationEnabled) property instead.
11724
+ * @deprecated
11668
11725
  */
11669
11726
  get ignoreValidation(): boolean;
11670
11727
  set ignoreValidation(val: boolean);
@@ -11773,6 +11830,11 @@ declare module "packages/survey-core/src/survey" {
11773
11830
  * @see isCurrentPageValid
11774
11831
  * @see nextPage
11775
11832
  */
11833
+ tryComplete(): boolean;
11834
+ /**
11835
+ * Obsolete. Use the [`tryComplete`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#tryComplete) method instead.
11836
+ * @deprecated
11837
+ */
11776
11838
  completeLastPage(): boolean;
11777
11839
  private isNavigationButtonPressed;
11778
11840
  navigationMouseDown(): boolean;
@@ -11946,7 +12008,7 @@ declare module "packages/survey-core/src/survey" {
11946
12008
  get processedLoadingHtml(): string;
11947
12009
  getProgressInfo(): IProgressInfo;
11948
12010
  /**
11949
- * Returns text displayed by the progress bar (for instance, "Page 2 of 3" or "Answered 3/8 questions"). Handle the [`onProgressText`](#onProgressText) event to change this text.
12011
+ * Returns text displayed by the progress bar (for instance, "Page 2 of 3" or "Answered 3/8 questions"). Handle the [`onGetProgressText`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetProgressText) event to change this text.
11950
12012
  * @see progressValue
11951
12013
  * @see showProgressBar
11952
12014
  * @see progressBarType
@@ -12027,6 +12089,7 @@ declare module "packages/survey-core/src/survey" {
12027
12089
  elementContentVisibilityChanged(element: ISurveyElement): void;
12028
12090
  getUpdatedPanelFooterActions(panel: PanelModel, actions: Array<IAction>, question?: QuestionPanelDynamicModel): Array<IAction>;
12029
12091
  getUpdatedElementTitleActions(element: ISurveyElement, titleActions: Array<IAction>): Array<IAction>;
12092
+ private getTitleActionsResult;
12030
12093
  private getUpdatedQuestionTitleActions;
12031
12094
  private getUpdatedPanelTitleActions;
12032
12095
  private getUpdatedPageTitleActions;
@@ -12142,13 +12205,6 @@ declare module "packages/survey-core/src/survey" {
12142
12205
  */
12143
12206
  getQuestionsByValueName(valueName: string, caseInsensitive?: boolean): Array<Question>;
12144
12207
  getCalculatedValueByName(name: string): CalculatedValue;
12145
- /**
12146
- * Returns an array of questions with specified [names](https://surveyjs.io/form-library/documentation/api-reference/question#name).
12147
- * @param names An array of question names.
12148
- * @param caseInsensitive *(Optional)* A Boolean value that specifies case sensitivity when searching for the questions. Default value: `false` (uppercase and lowercase letters are treated as distinct).
12149
- * @returns An array of questions with specified names
12150
- * @see getAllQuestions
12151
- */
12152
12208
  getQuestionsByNames(names: string[], caseInsensitive?: boolean): IQuestion[];
12153
12209
  /**
12154
12210
  * Returns a page to which a specified survey element (question or panel) belongs.
@@ -12165,10 +12221,6 @@ declare module "packages/survey-core/src/survey" {
12165
12221
  * @param name A page [name](https://surveyjs.io/form-library/documentation/api-reference/page-model#name).
12166
12222
  */
12167
12223
  getPageByName(name: string): PageModel;
12168
- /**
12169
- * Returns an array of pages with specified names.
12170
- * @param names An array of page names.
12171
- */
12172
12224
  getPagesByNames(names: string[]): PageModel[];
12173
12225
  /**
12174
12226
  * Returns a list of all [questions](https://surveyjs.io/form-library/documentation/api-reference/question) in the survey.
@@ -12420,7 +12472,7 @@ declare module "packages/survey-core/src/survey" {
12420
12472
  * For more information about quizzes, refer to the following tutorial: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
12421
12473
  * @returns The number of correct answers in a quiz.
12422
12474
  * @see getQuizQuestionCount
12423
- * @see getInCorrectAnswerCount
12475
+ * @see getIncorrectAnswerCount
12424
12476
  */
12425
12477
  getCorrectAnswerCount(): number;
12426
12478
  /**
@@ -12434,6 +12486,7 @@ declare module "packages/survey-core/src/survey" {
12434
12486
  */
12435
12487
  getQuizQuestionCount(): number;
12436
12488
  getInCorrectedAnswerCount(): number;
12489
+ getInCorrectAnswerCount(): number;
12437
12490
  /**
12438
12491
  * Returns the number of incorrect answers in a quiz.
12439
12492
  *
@@ -12441,7 +12494,7 @@ declare module "packages/survey-core/src/survey" {
12441
12494
  * @returns The number of incorrect answers in a quiz.
12442
12495
  * @see getCorrectAnswerCount
12443
12496
  */
12444
- getInCorrectAnswerCount(): number;
12497
+ getIncorrectAnswerCount(): number;
12445
12498
  onCorrectQuestionAnswer(question: IQuestion, options: any): void;
12446
12499
  private getCorrectedAnswerCountCore;
12447
12500
  getCorrectedAnswers(): number;
@@ -12504,6 +12557,7 @@ declare module "packages/survey-core/src/survey" {
12504
12557
  get showTimerPanelMode(): string;
12505
12558
  set showTimerPanelMode(val: string);
12506
12559
  gridLayoutEnabled: boolean;
12560
+ updateGridColumns(): void;
12507
12561
  /**
12508
12562
  * Specifies how to calculate the survey width.
12509
12563
  *
@@ -13967,7 +14021,7 @@ declare module "packages/survey-core/src/question" {
13967
14021
  /**
13968
14022
  * A correct answer to this question. Specify this property if you want to [create a quiz](https://surveyjs.io/form-library/documentation/design-survey-create-a-quiz).
13969
14023
  * @see SurveyModel.getCorrectAnswerCount
13970
- * @see SurveyModel.getInCorrectAnswerCount
14024
+ * @see SurveyModel.getIncorrectAnswerCount
13971
14025
  */
13972
14026
  get correctAnswer(): any;
13973
14027
  set correctAnswer(val: any);
@@ -15093,6 +15147,7 @@ declare module "packages/survey-core/src/base-interfaces" {
15093
15147
  questionTitlePattern: string;
15094
15148
  getUpdatedQuestionTitle(question: IQuestion, title: string): string;
15095
15149
  getUpdatedQuestionNo(question: IQuestion, no: string): string;
15150
+ getUpdatedPanelNo(question: IPanel, no: string): string;
15096
15151
  getUpdatedPageNo(question: IPage, no: string): string;
15097
15152
  getUpdatedElementTitleActions(element: ISurveyElement, titleActions: Array<IAction>): Array<IAction>;
15098
15153
  getUpdatedMatrixRowActions(question: QuestionMatrixDropdownModelBase, row: MatrixDropdownRowModelBase, actions: Array<IAction>): Array<IAction>;
@@ -16324,6 +16379,7 @@ declare module "packages/survey-core/src/settings" {
16324
16379
  * ```
16325
16380
  */
16326
16381
  export var settings: {
16382
+ version: string;
16327
16383
  /**
16328
16384
  * An object that configures survey appearance when the survey is being designed in Survey Creator.
16329
16385
  *
@@ -17965,6 +18021,7 @@ declare module "packages/survey-core/src/question_imagepicker" {
17965
18021
  */
17966
18022
  get imageHeight(): number;
17967
18023
  set imageHeight(val: number);
18024
+ get imageScale(): number;
17968
18025
  private responsiveImageHeight;
17969
18026
  get renderedImageHeight(): number;
17970
18027
  /**
@@ -22395,6 +22452,89 @@ declare module "packages/survey-core/src/localization/bulgarian" {
22395
22452
  cancel: string;
22396
22453
  };
22397
22454
  }
22455
+ declare module "packages/survey-core/src/localization/burmese" {
22456
+ export var burmeseStrings: {
22457
+ pagePrevText: string;
22458
+ pageNextText: string;
22459
+ completeText: string;
22460
+ previewText: string;
22461
+ editText: string;
22462
+ startSurveyText: string;
22463
+ otherItemText: string;
22464
+ noneItemText: string;
22465
+ refuseItemText: string;
22466
+ dontKnowItemText: string;
22467
+ selectAllItemText: string;
22468
+ deselectAllItemText: string;
22469
+ progressText: string;
22470
+ indexText: string;
22471
+ panelDynamicProgressText: string;
22472
+ panelDynamicTabTextFormat: string;
22473
+ questionsProgressText: string;
22474
+ emptySurvey: string;
22475
+ completingSurvey: string;
22476
+ completingSurveyBefore: string;
22477
+ loadingSurvey: string;
22478
+ placeholder: string;
22479
+ ratingOptionsCaption: string;
22480
+ value: string;
22481
+ requiredError: string;
22482
+ requiredErrorInPanel: string;
22483
+ requiredInAllRowsError: string;
22484
+ eachRowUniqueError: string;
22485
+ numericError: string;
22486
+ minError: string;
22487
+ maxError: string;
22488
+ textNoDigitsAllow: string;
22489
+ textMinLength: string;
22490
+ textMaxLength: string;
22491
+ textMinMaxLength: string;
22492
+ minRowCountError: string;
22493
+ minSelectError: string;
22494
+ maxSelectError: string;
22495
+ numericMinMax: string;
22496
+ numericMin: string;
22497
+ numericMax: string;
22498
+ invalidEmail: string;
22499
+ invalidExpression: string;
22500
+ urlRequestError: string;
22501
+ urlGetChoicesError: string;
22502
+ exceedMaxSize: string;
22503
+ noUploadFilesHandler: string;
22504
+ otherRequiredError: string;
22505
+ uploadingFile: string;
22506
+ loadingFile: string;
22507
+ chooseFile: string;
22508
+ noFileChosen: string;
22509
+ filePlaceholder: string;
22510
+ confirmDelete: string;
22511
+ keyDuplicationError: string;
22512
+ addColumn: string;
22513
+ addRow: string;
22514
+ removeRow: string;
22515
+ emptyRowsText: string;
22516
+ addPanel: string;
22517
+ removePanel: string;
22518
+ showDetails: string;
22519
+ hideDetails: string;
22520
+ choices_Item: string;
22521
+ matrix_column: string;
22522
+ matrix_row: string;
22523
+ multipletext_itemname: string;
22524
+ savingData: string;
22525
+ savingDataError: string;
22526
+ savingDataSuccess: string;
22527
+ savingExceedSize: string;
22528
+ saveAgainButton: string;
22529
+ timerMin: string;
22530
+ timerSec: string;
22531
+ clearCaption: string;
22532
+ signaturePlaceHolder: string;
22533
+ confirmRemoveFile: string;
22534
+ ok: string;
22535
+ cancel: string;
22536
+ };
22537
+ }
22398
22538
  declare module "packages/survey-core/src/localization/catalan" {
22399
22539
  export var catalanSurveyStrings: {
22400
22540
  pagePrevText: string;
@@ -27354,6 +27494,7 @@ declare module "packages/survey-core/entries/chunks/localization" {
27354
27494
  import "packages/survey-core/src/localization/arabic";
27355
27495
  import "packages/survey-core/src/localization/basque";
27356
27496
  import "packages/survey-core/src/localization/bulgarian";
27497
+ import "packages/survey-core/src/localization/burmese";
27357
27498
  import "packages/survey-core/src/localization/catalan";
27358
27499
  import "packages/survey-core/src/localization/croatian";
27359
27500
  import "packages/survey-core/src/localization/czech";