survey-react 1.12.26 → 1.12.28

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.26
2
+ * surveyjs - Survey JavaScript library v1.12.28
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.26
2
+ * surveyjs - Survey JavaScript library v1.12.28
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.26",
3
+ "version": "1.12.28",
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.26
2
+ * surveyjs - Survey JavaScript library v1.12.28
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.26
2
+ * surveyjs - Survey JavaScript library v1.12.28
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
@@ -9064,6 +9064,7 @@ declare module "packages/survey-core/src/mask/input_element_adapter" {
9064
9064
  private inputMaskInstance;
9065
9065
  private inputElement;
9066
9066
  private prevUnmaskedValue;
9067
+ private setInputValue;
9067
9068
  constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: any);
9068
9069
  inputMaskInstancePropertyChangedHandler: (sender: any, options: any) => void;
9069
9070
  clickHandler: (event: any) => void;
@@ -11970,8 +11971,10 @@ declare module "packages/survey-core/src/survey" {
11970
11971
  private createRootPage;
11971
11972
  private disposeContainerPage;
11972
11973
  private updatePagesContainer;
11973
- private currentSingleQuestionValue;
11974
+ private currentSingleElementValue;
11974
11975
  private getSingleQuestions;
11976
+ get currentSingleElement(): IElement;
11977
+ set currentSingleElement(val: IElement);
11975
11978
  get currentSingleQuestion(): Question;
11976
11979
  set currentSingleQuestion(val: Question);
11977
11980
  private changeCurrentPageFromPreview;
@@ -12292,6 +12295,7 @@ declare module "packages/survey-core/src/survey" {
12292
12295
  * @see getQuestionByName
12293
12296
  */
12294
12297
  getAllQuestions(visibleOnly?: boolean, includeDesignTime?: boolean, includeNested?: boolean): Array<Question>;
12298
+ private getNestedQuestionsByQuestionArray;
12295
12299
  /**
12296
12300
  * 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).
12297
12301
  *
@@ -13506,6 +13510,7 @@ declare module "packages/survey-core/src/question" {
13506
13510
  get visible(): boolean;
13507
13511
  set visible(val: boolean);
13508
13512
  protected onVisibleChanged(): void;
13513
+ private onVisibleChangedCore;
13509
13514
  protected notifyStateChanged(prevState: string): void;
13510
13515
  updateElementVisibility(): void;
13511
13516
  private updateIsVisibleProp;
@@ -13603,11 +13608,12 @@ declare module "packages/survey-core/src/question" {
13603
13608
  private setValueExpressionRunner;
13604
13609
  private ensureSetValueExpressionRunner;
13605
13610
  private runSetValueExpression;
13606
- private checkExpressionIf;
13611
+ private getSetValueExpressionRunner;
13607
13612
  private triggersInfo;
13608
13613
  private addTriggerInfo;
13609
13614
  private runTriggerInfo;
13610
13615
  private canExecuteTriggerByKeys;
13616
+ private canExecuteTriggerByKeysCore;
13611
13617
  runTriggers(name: string, value: any, keys?: any): void;
13612
13618
  private runConditions;
13613
13619
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
@@ -15189,7 +15195,7 @@ declare module "packages/survey-core/src/base-interfaces" {
15189
15195
  isDisplayMode: boolean;
15190
15196
  isDesignMode: boolean;
15191
15197
  areInvisibleElementsShowing: boolean;
15192
- currentSingleQuestion: IQuestion;
15198
+ currentSingleElement: IElement;
15193
15199
  areEmptyElementsHidden: boolean;
15194
15200
  isLoadingFromJson: boolean;
15195
15201
  isUpdateValueTextOnTyping: boolean;
@@ -15314,6 +15320,7 @@ declare module "packages/survey-core/src/base-interfaces" {
15314
15320
  isReadOnly: boolean;
15315
15321
  isPage: boolean;
15316
15322
  isPanel: boolean;
15323
+ isQuestion: boolean;
15317
15324
  containsErrors: boolean;
15318
15325
  parent: IPanel;
15319
15326
  skeletonComponentName: string;
@@ -28096,12 +28103,15 @@ declare module "packages/survey-react-ui/src/reactquestion_element" {
28096
28103
  protected get changedStatePropName(): string | undefined;
28097
28104
  private makeBaseElementsReact;
28098
28105
  private unMakeBaseElementsReact;
28106
+ private unMakeBaseElementsReactive;
28099
28107
  protected disableStateElementsRerenderEvent(els: Array<Base>): void;
28100
28108
  protected getStateElements(): Array<Base>;
28101
28109
  protected getStateElement(): Base | null;
28102
28110
  protected get isDisplayMode(): boolean;
28103
28111
  protected renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
28104
28112
  private canMakeReact;
28113
+ private propertyValueChangedHandler;
28114
+ protected isCurrentStateElement(stateElement: Base): boolean;
28105
28115
  private makeBaseElementReact;
28106
28116
  protected canUsePropInState(key: string): boolean;
28107
28117
  private unMakeBaseElementReact;