survey-react 1.12.25 → 1.12.27

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/modern.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.25
2
+ * surveyjs - Survey JavaScript library v1.12.27
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/modern.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.25
2
+ * surveyjs - Survey JavaScript library v1.12.27
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react",
3
- "version": "1.12.25",
3
+ "version": "1.12.27",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
package/survey.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.25
2
+ * surveyjs - Survey JavaScript library v1.12.27
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/survey.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.25
2
+ * surveyjs - Survey JavaScript library v1.12.27
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/survey.react.d.ts CHANGED
@@ -974,7 +974,7 @@ declare module "packages/survey-core/src/utils/utils" {
974
974
  rootElement?: HTMLElement;
975
975
  cssClass?: string;
976
976
  }
977
- export function showConfirmDialog(message: string, callback: (res: boolean) => void, options: IConfirmDialogOptions): boolean;
977
+ export function showConfirmDialog(message: string, callback: (res: boolean) => void, options?: IConfirmDialogOptions): boolean;
978
978
  export function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
979
979
  function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
980
980
  export function compareArrays<T>(oldValue: Array<T>, newValue: Array<T>, getKey: (item: T) => any): {
@@ -2045,6 +2045,8 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
2045
2045
  imagepicker: {
2046
2046
  mainRoot: string;
2047
2047
  root: string;
2048
+ rootResponsive: string;
2049
+ rootStatic: string;
2048
2050
  rootColumn: string;
2049
2051
  item: string;
2050
2052
  itemOnError: string;
@@ -9062,6 +9064,7 @@ declare module "packages/survey-core/src/mask/input_element_adapter" {
9062
9064
  private inputMaskInstance;
9063
9065
  private inputElement;
9064
9066
  private prevUnmaskedValue;
9067
+ private setInputValue;
9065
9068
  constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: any);
9066
9069
  inputMaskInstancePropertyChangedHandler: (sender: any, options: any) => void;
9067
9070
  clickHandler: (event: any) => void;
@@ -12290,6 +12293,7 @@ declare module "packages/survey-core/src/survey" {
12290
12293
  * @see getQuestionByName
12291
12294
  */
12292
12295
  getAllQuestions(visibleOnly?: boolean, includeDesignTime?: boolean, includeNested?: boolean): Array<Question>;
12296
+ private getNestedQuestionsByQuestionArray;
12293
12297
  /**
12294
12298
  * Returns an array of quiz questions. A question counts if it is visible, has an input field, and specifies [`correctAnswer`](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#correctAnswer).
12295
12299
  *
@@ -13504,6 +13508,7 @@ declare module "packages/survey-core/src/question" {
13504
13508
  get visible(): boolean;
13505
13509
  set visible(val: boolean);
13506
13510
  protected onVisibleChanged(): void;
13511
+ private onVisibleChangedCore;
13507
13512
  protected notifyStateChanged(prevState: string): void;
13508
13513
  updateElementVisibility(): void;
13509
13514
  private updateIsVisibleProp;
@@ -13601,11 +13606,12 @@ declare module "packages/survey-core/src/question" {
13601
13606
  private setValueExpressionRunner;
13602
13607
  private ensureSetValueExpressionRunner;
13603
13608
  private runSetValueExpression;
13604
- private checkExpressionIf;
13609
+ private getSetValueExpressionRunner;
13605
13610
  private triggersInfo;
13606
13611
  private addTriggerInfo;
13607
13612
  private runTriggerInfo;
13608
13613
  private canExecuteTriggerByKeys;
13614
+ private canExecuteTriggerByKeysCore;
13609
13615
  runTriggers(name: string, value: any, keys?: any): void;
13610
13616
  private runConditions;
13611
13617
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
@@ -15019,6 +15025,7 @@ declare module "packages/survey-core/src/question_matrixdropdownbase" {
15019
15025
  protected getConditionObjectRowText(index: number): string;
15020
15026
  protected getConditionObjectsRowIndeces(): Array<number>;
15021
15027
  getProgressInfo(): IProgressInfo;
15028
+ protected getIsRequireToGenerateRows(): boolean;
15022
15029
  protected updateProgressInfoByValues(res: IProgressInfo): void;
15023
15030
  protected updateProgressInfoByRow(res: IProgressInfo, rowValue: any): void;
15024
15031
  private getCellQuestions;
@@ -17115,6 +17122,7 @@ declare module "packages/survey-core/src/question_matrixdropdown" {
17115
17122
  protected createMatrixRow(item: ItemValue, value: any): MatrixDropdownRowModel;
17116
17123
  protected getFilteredDataCore(): any;
17117
17124
  protected getSearchableItemValueKeys(keys: Array<string>): void;
17125
+ protected getIsRequireToGenerateRows(): boolean;
17118
17126
  protected updateProgressInfoByValues(res: IProgressInfo): void;
17119
17127
  }
17120
17128
  }
@@ -18169,6 +18177,14 @@ declare module "packages/survey-core/src/question_imagepicker" {
18169
18177
  onContentLoaded: (item: ImageItemValue, event: any) => void;
18170
18178
  private responsiveColCount;
18171
18179
  protected getCurrentColCount(): number;
18180
+ gridColCount: number;
18181
+ getContainerStyle(): {
18182
+ gridAutoFlow?: undefined;
18183
+ gridTemplateColumns?: undefined;
18184
+ } | {
18185
+ gridAutoFlow: string;
18186
+ gridTemplateColumns: string;
18187
+ };
18172
18188
  protected processResponsiveness(_: number, availableWidth: number): boolean;
18173
18189
  triggerResponsiveness(hard?: boolean): void;
18174
18190
  private gapBetweenItems;
@@ -28084,12 +28100,15 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
28084
28100
  protected get changedStatePropName(): string | undefined;
28085
28101
  private makeBaseElementsReact;
28086
28102
  private unMakeBaseElementsReact;
28103
+ private unMakeBaseElementsReactive;
28087
28104
  protected disableStateElementsRerenderEvent(els: Array<Base>): void;
28088
28105
  protected getStateElements(): Array<Base>;
28089
28106
  protected getStateElement(): Base | null;
28090
28107
  protected get isDisplayMode(): boolean;
28091
28108
  protected renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
28092
28109
  private canMakeReact;
28110
+ private propertyValueChangedHandler;
28111
+ protected isCurrentStateElement(stateElement: Base): boolean;
28093
28112
  private makeBaseElementReact;
28094
28113
  protected canUsePropInState(key: string): boolean;
28095
28114
  private unMakeBaseElementReact;