survey-react 1.12.23 → 1.12.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react",
3
- "version": "1.12.23",
3
+ "version": "1.12.25",
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.23
2
+ * surveyjs - Survey JavaScript library v1.12.25
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.23
2
+ * surveyjs - Survey JavaScript library v1.12.25
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
@@ -42,6 +42,7 @@ declare module "packages/survey-core/src/helpers" {
42
42
  * @param value
43
43
  */
44
44
  static isValueEmpty(value: any): boolean;
45
+ static isValueUndefined(value: any): boolean;
45
46
  static isArrayContainsEqual(x: any, y: any): boolean;
46
47
  static isArraysEqual(x: any, y: any, ignoreOrder?: boolean, caseSensitive?: boolean, trimStrings?: boolean): boolean;
47
48
  static compareStrings(x: string, y: string): number;
@@ -2513,7 +2514,15 @@ declare module "packages/survey-core/src/trigger" {
2513
2514
  protected canBeExecuted(isOnNextPage: boolean): boolean;
2514
2515
  protected canBeExecutedOnComplete(): boolean;
2515
2516
  protected isExecutingOnNextPage: boolean;
2516
- checkExpression(isOnNextPage: boolean, isOnComplete: boolean, keys: any, values: HashTable<any>, properties?: HashTable<any>): void;
2517
+ protected isExecutingOnNavigation: boolean;
2518
+ checkExpression(options: {
2519
+ isOnNextPage: boolean;
2520
+ isOnComplete: boolean;
2521
+ isOnNavigation: boolean;
2522
+ keys: any;
2523
+ values: HashTable<any>;
2524
+ properties?: HashTable<any>;
2525
+ }): void;
2517
2526
  protected canSuccessOnEmptyExpression(): boolean;
2518
2527
  check(value: any): void;
2519
2528
  get requireValidQuestion(): boolean;
@@ -4581,6 +4590,7 @@ declare module "packages/survey-core/src/question_baseselect" {
4581
4590
  protected getCommentElementsId(): Array<string>;
4582
4591
  protected getItemValueType(): string;
4583
4592
  createItemValue(value: any, text?: string): ItemValue;
4593
+ hasErrors(fireCallback?: boolean, rec?: any): boolean;
4584
4594
  get isUsingCarryForward(): boolean;
4585
4595
  get carryForwardQuestionType(): string;
4586
4596
  private setCarryForwardQuestionType;
@@ -4938,7 +4948,7 @@ declare module "packages/survey-core/src/question_baseselect" {
4938
4948
  protected getDisplayArrayValue(keysAsText: boolean, value: any, onGetValueCallback?: (index: number) => any): string;
4939
4949
  private getItemDisplayValue;
4940
4950
  private getFilteredChoices;
4941
- protected get activeChoices(): Array<ItemValue>;
4951
+ private get activeChoices();
4942
4952
  get isMessagePanelVisible(): boolean;
4943
4953
  set isMessagePanelVisible(val: boolean);
4944
4954
  private get isEmptyActiveChoicesInDesign();
@@ -11959,6 +11969,7 @@ declare module "packages/survey-core/src/survey" {
11959
11969
  private disposeContainerPage;
11960
11970
  private updatePagesContainer;
11961
11971
  private currentSingleQuestionValue;
11972
+ private getSingleQuestions;
11962
11973
  get currentSingleQuestion(): Question;
11963
11974
  set currentSingleQuestion(val: Question);
11964
11975
  private changeCurrentPageFromPreview;
@@ -16035,7 +16046,6 @@ declare module "packages/survey-core/src/base" {
16035
16046
  equals(obj: Base): boolean;
16036
16047
  protected equalsCore(obj: Base): boolean;
16037
16048
  protected trimValue(value: any): any;
16038
- protected isPropertyEmpty(value: any): boolean;
16039
16049
  static createPropertiesHash(): {};
16040
16050
  private propertyHash;
16041
16051
  private localizableStrings;
@@ -16171,6 +16181,7 @@ declare module "packages/survey-core/src/base" {
16171
16181
  * @param defaultValue *(Optional)* A value to return if the property is not found or does not have a value.
16172
16182
  */
16173
16183
  getPropertyValue(name: string, defaultValue?: any, calcFunc?: () => any): any;
16184
+ protected isValueUndefined(value: any): boolean;
16174
16185
  getDefaultPropertyValue(name: string): any;
16175
16186
  hasDefaultPropertyValue(name: string): boolean;
16176
16187
  resetPropertyValue(name: string): void;
@@ -18176,7 +18187,7 @@ declare module "packages/survey-core/src/dragdrop/choices" {
18176
18187
  onShortcutCreated: (node: HTMLElement) => void;
18177
18188
  private createImagePickerShortcut;
18178
18189
  protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
18179
- private getVisibleChoices;
18190
+ private getChoices;
18180
18191
  protected doDragOver: () => any;
18181
18192
  protected isDropTargetValid(dropTarget: ItemValue, dropTargetNode?: HTMLElement): boolean;
18182
18193
  protected doBanDropHere: () => any;
@@ -19386,7 +19397,7 @@ declare module "packages/survey-core/src/mask/mask_numeric" {
19386
19397
  getUnmaskedValue(src: string): any;
19387
19398
  processInput(args: ITextInputParams): IMaskedInputResult;
19388
19399
  getType(): string;
19389
- protected isPropertyEmpty(value: any): boolean;
19400
+ protected isValueUndefined(value: any): boolean;
19390
19401
  }
19391
19402
  }
19392
19403
  declare module "packages/survey-core/src/mask/mask_datetime" {
@@ -27549,6 +27560,118 @@ declare module "packages/survey-core/src/localization/philippines" {
27549
27560
  cancel: string;
27550
27561
  };
27551
27562
  }
27563
+ declare module "packages/survey-core/src/localization/slovenian" {
27564
+ export var slovenianStrings: {
27565
+ pagePrevText: string;
27566
+ pageNextText: string;
27567
+ completeText: string;
27568
+ previewText: string;
27569
+ editText: string;
27570
+ startSurveyText: string;
27571
+ otherItemText: string;
27572
+ noneItemText: string;
27573
+ refuseItemText: string;
27574
+ dontKnowItemText: string;
27575
+ selectAllItemText: string;
27576
+ deselectAllItemText: string;
27577
+ progressText: string;
27578
+ indexText: string;
27579
+ panelDynamicProgressText: string;
27580
+ panelDynamicTabTextFormat: string;
27581
+ questionsProgressText: string;
27582
+ emptySurvey: string;
27583
+ completingSurvey: string;
27584
+ completingSurveyBefore: string;
27585
+ loadingSurvey: string;
27586
+ placeholder: string;
27587
+ ratingOptionsCaption: string;
27588
+ value: string;
27589
+ requiredError: string;
27590
+ requiredErrorInPanel: string;
27591
+ requiredInAllRowsError: string;
27592
+ eachRowUniqueError: string;
27593
+ numericError: string;
27594
+ minError: string;
27595
+ maxError: string;
27596
+ textNoDigitsAllow: string;
27597
+ textMinLength: string;
27598
+ textMaxLength: string;
27599
+ textMinMaxLength: string;
27600
+ minRowCountError: string;
27601
+ minSelectError: string;
27602
+ maxSelectError: string;
27603
+ numericMinMax: string;
27604
+ numericMin: string;
27605
+ numericMax: string;
27606
+ invalidEmail: string;
27607
+ invalidExpression: string;
27608
+ urlRequestError: string;
27609
+ urlGetChoicesError: string;
27610
+ exceedMaxSize: string;
27611
+ noUploadFilesHandler: string;
27612
+ otherRequiredError: string;
27613
+ uploadingFile: string;
27614
+ loadingFile: string;
27615
+ chooseFile: string;
27616
+ noFileChosen: string;
27617
+ filePlaceholder: string;
27618
+ confirmDelete: string;
27619
+ keyDuplicationError: string;
27620
+ addColumn: string;
27621
+ addRow: string;
27622
+ removeRow: string;
27623
+ noRowsText: string;
27624
+ addPanel: string;
27625
+ removePanel: string;
27626
+ showDetails: string;
27627
+ hideDetails: string;
27628
+ choices_Item: string;
27629
+ choices_Choice: string;
27630
+ matrix_column: string;
27631
+ matrix_row: string;
27632
+ multipletext_itemname: string;
27633
+ savingData: string;
27634
+ savingDataError: string;
27635
+ savingDataSuccess: string;
27636
+ savingExceedSize: string;
27637
+ saveAgainButton: string;
27638
+ timerMin: string;
27639
+ timerSec: string;
27640
+ timerSpentAll: string;
27641
+ timerSpentPage: string;
27642
+ timerSpentSurvey: string;
27643
+ timerLimitAll: string;
27644
+ timerLimitPage: string;
27645
+ timerLimitSurvey: string;
27646
+ clearCaption: string;
27647
+ signaturePlaceHolder: string;
27648
+ signaturePlaceHolderReadOnly: string;
27649
+ chooseFileCaption: string;
27650
+ takePhotoCaption: string;
27651
+ photoPlaceholder: string;
27652
+ fileOrPhotoPlaceholder: string;
27653
+ replaceFileCaption: string;
27654
+ removeFileCaption: string;
27655
+ booleanCheckedLabel: string;
27656
+ booleanUncheckedLabel: string;
27657
+ confirmRemoveFile: string;
27658
+ confirmRemoveAllFiles: string;
27659
+ questionTitlePatternText: string;
27660
+ modalCancelButtonText: string;
27661
+ modalApplyButtonText: string;
27662
+ filterStringPlaceholder: string;
27663
+ emptyMessage: string;
27664
+ noEntriesText: string;
27665
+ noEntriesReadonlyText: string;
27666
+ tabTitlePlaceholder: string;
27667
+ more: string;
27668
+ tagboxDoneButtonCaption: string;
27669
+ selectToRankEmptyRankedAreaText: string;
27670
+ selectToRankEmptyUnrankedAreaText: string;
27671
+ ok: string;
27672
+ cancel: string;
27673
+ };
27674
+ }
27552
27675
  declare module "packages/survey-core/entries/chunks/localization" {
27553
27676
  import "packages/survey-core/src/localization/arabic";
27554
27677
  import "packages/survey-core/src/localization/basque";
@@ -27601,6 +27724,7 @@ declare module "packages/survey-core/entries/chunks/localization" {
27601
27724
  import "packages/survey-core/src/localization/welsh";
27602
27725
  import "packages/survey-core/src/localization/telugu";
27603
27726
  import "packages/survey-core/src/localization/philippines";
27727
+ import "packages/survey-core/src/localization/slovenian";
27604
27728
  }
27605
27729
  declare module "src/entries/chunks/localization" {
27606
27730
  import "packages/survey-core/entries/chunks/localization";