survey-react 1.12.17 → 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
@@ -5930,7 +5930,7 @@ declare module "packages/survey-core/src/question_matrixdropdownrendered" {
5930
5930
  get hasQuestion(): boolean;
5931
5931
  get hasTitle(): boolean;
5932
5932
  get hasPanel(): boolean;
5933
- get id(): number;
5933
+ get id(): string;
5934
5934
  get item(): ItemValue;
5935
5935
  set item(val: ItemValue);
5936
5936
  get isChoice(): boolean;
@@ -5965,7 +5965,7 @@ declare module "packages/survey-core/src/question_matrixdropdownrendered" {
5965
5965
  private idValue;
5966
5966
  cells: Array<QuestionMatrixDropdownRenderedCell>;
5967
5967
  constructor(cssClasses: any, isDetailRow?: boolean);
5968
- get id(): number;
5968
+ get id(): string;
5969
5969
  get attributes(): {
5970
5970
  "data-sv-drop-target-matrix-row"?: undefined;
5971
5971
  } | {
@@ -10528,6 +10528,8 @@ declare module "packages/survey-core/src/survey" {
10528
10528
  onElementWrapperComponentName: EventBase<SurveyModel, any>;
10529
10529
  onElementWrapperComponentData: EventBase<SurveyModel, any>;
10530
10530
  constructor(jsonObj?: any, renderedElement?: any);
10531
+ get sjsVersion(): string;
10532
+ set sjsVersion(val: string);
10531
10533
  processClosedPopup(question: IQuestion, popupModel: PopupModel<any>): void;
10532
10534
  protected createTryAgainAction(): IAction;
10533
10535
  private createHtmlLocString;
@@ -16377,6 +16379,7 @@ declare module "packages/survey-core/src/settings" {
16377
16379
  * ```
16378
16380
  */
16379
16381
  export var settings: {
16382
+ version: string;
16380
16383
  /**
16381
16384
  * An object that configures survey appearance when the survey is being designed in Survey Creator.
16382
16385
  *
@@ -22449,6 +22452,89 @@ declare module "packages/survey-core/src/localization/bulgarian" {
22449
22452
  cancel: string;
22450
22453
  };
22451
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
+ }
22452
22538
  declare module "packages/survey-core/src/localization/catalan" {
22453
22539
  export var catalanSurveyStrings: {
22454
22540
  pagePrevText: string;
@@ -27408,6 +27494,7 @@ declare module "packages/survey-core/entries/chunks/localization" {
27408
27494
  import "packages/survey-core/src/localization/arabic";
27409
27495
  import "packages/survey-core/src/localization/basque";
27410
27496
  import "packages/survey-core/src/localization/bulgarian";
27497
+ import "packages/survey-core/src/localization/burmese";
27411
27498
  import "packages/survey-core/src/localization/catalan";
27412
27499
  import "packages/survey-core/src/localization/croatian";
27413
27500
  import "packages/survey-core/src/localization/czech";
package/survey.react.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.17
3
- * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
2
+ * surveyjs - Survey JavaScript library v1.12.18
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
  */
6
6
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -1703,7 +1703,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
1703
1703
 
1704
1704
  /***/ "./src/entries/react.ts":
1705
1705
  /*!********************************************!*\
1706
- !*** ./src/entries/react.ts + 287 modules ***!
1706
+ !*** ./src/entries/react.ts + 288 modules ***!
1707
1707
  \********************************************/
1708
1708
  /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionFilePage, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, getLocaleString, getLocaleStrings, setupLocale, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, prepareElementForVerticalAnimation, cleanHtmlElementAfterAnimation, classesToSelector, renamedIcons, getIconNameFromProxy, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, TextAreaModel, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, StylesManager, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgThemeSets, addIconsToThemeSet, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, activateLazyRenderingChecks, createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model, bootstrapThemeName, bootstrapThemeColors, bootstrapThemeCssRules, bootstrapMaterialThemeName, bootstrapMaterialThemeColors, bootstrapMaterialThemeCssRules, defaultBootstrapCss, defaultBootstrapMaterialCss, Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, RatingItem, RatingItemStar, RatingItemSmiley, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, ListItemContent, ListItemGroup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, QuestionErrorComponent, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent, PopupModal */
1709
1709
  /*! ModuleConcatenation bailout: Cannot concat with external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"} (<- Module is not an ECMAScript module) */
@@ -16749,6 +16749,7 @@ var columnWidthsByType = {
16749
16749
  * ```
16750
16750
  */
16751
16751
  var settings = {
16752
+ version: "",
16752
16753
  /**
16753
16754
  * An object that configures survey appearance when the survey is being designed in Survey Creator.
16754
16755
  *
@@ -27663,6 +27664,9 @@ var question_matrixdropdownrendered_spreadArray = (undefined && undefined.__spre
27663
27664
 
27664
27665
 
27665
27666
 
27667
+ function getId(id, isError, isDetail) {
27668
+ return id + (isError ? "-error" : "") + (isDetail ? "-detail" : "");
27669
+ }
27666
27670
  var question_matrixdropdownrendered_QuestionMatrixDropdownRenderedCell = /** @class */ (function () {
27667
27671
  function QuestionMatrixDropdownRenderedCell() {
27668
27672
  this.minWidth = "";
@@ -27705,7 +27709,11 @@ var question_matrixdropdownrendered_QuestionMatrixDropdownRenderedCell = /** @cl
27705
27709
  });
27706
27710
  Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype, "id", {
27707
27711
  get: function () {
27708
- return this.idValue;
27712
+ var id = this.question ? this.question.id : this.idValue.toString();
27713
+ if (this.isChoice) {
27714
+ id += "-" + (Number.isInteger(this.choiceIndex) ? "index" + this.choiceIndex.toString() : this.item.id);
27715
+ }
27716
+ return getId(id, this.isErrorsCell, this.isDetailRowCell);
27709
27717
  },
27710
27718
  enumerable: false,
27711
27719
  configurable: true
@@ -27887,7 +27895,8 @@ var question_matrixdropdownrendered_QuestionMatrixDropdownRenderedRow = /** @cla
27887
27895
  }
27888
27896
  Object.defineProperty(QuestionMatrixDropdownRenderedRow.prototype, "id", {
27889
27897
  get: function () {
27890
- return this.idValue;
27898
+ var _a;
27899
+ return getId(((_a = this.row) === null || _a === void 0 ? void 0 : _a.id) || this.idValue.toString(), this.isErrorsRow, this.isDetailRow);
27891
27900
  },
27892
27901
  enumerable: false,
27893
27902
  configurable: true
@@ -40236,6 +40245,7 @@ var survey_decorate = (undefined && undefined.__decorate) || function (decorator
40236
40245
 
40237
40246
 
40238
40247
 
40248
+
40239
40249
  /**
40240
40250
  * The `SurveyModel` object contains properties and methods that allow you to control the survey and access its elements.
40241
40251
  *
@@ -41256,6 +41266,16 @@ var survey_SurveyModel = /** @class */ (function (_super) {
41256
41266
  enumerable: false,
41257
41267
  configurable: true
41258
41268
  });
41269
+ Object.defineProperty(SurveyModel.prototype, "sjsVersion", {
41270
+ get: function () {
41271
+ return this.getPropertyValue("sjsVersion");
41272
+ },
41273
+ set: function (val) {
41274
+ this.setPropertyValue("sjsVersion", val);
41275
+ },
41276
+ enumerable: false,
41277
+ configurable: true
41278
+ });
41259
41279
  SurveyModel.prototype.processClosedPopup = function (question, popupModel) {
41260
41280
  throw new Error("Method not implemented.");
41261
41281
  };
@@ -43980,7 +44000,9 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43980
44000
  this.currentPageNo = index;
43981
44001
  return true;
43982
44002
  }
43983
- for (var i = this.currentPageNo; i < index; i++) {
44003
+ if (!this.validateCurrentPage())
44004
+ return false;
44005
+ for (var i = this.currentPageNo + 1; i < index; i++) {
43984
44006
  var page_1 = this.visiblePages[i];
43985
44007
  if (!page_1.validate(true, true))
43986
44008
  return false;
@@ -44412,7 +44434,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
44412
44434
  get: function () {
44413
44435
  if (this.isDesignMode)
44414
44436
  return "none";
44415
- var page = this.currentPage;
44437
+ var page = this.activePage;
44416
44438
  if (!page)
44417
44439
  return "none";
44418
44440
  if (page.navigationButtonsVisibility === "show") {
@@ -44876,7 +44898,13 @@ var survey_SurveyModel = /** @class */ (function (_super) {
44876
44898
  }
44877
44899
  if (!page)
44878
44900
  return true;
44879
- var res = !page.validate(true, isFocuseOnFirstError);
44901
+ var res = false;
44902
+ if (this.currentSingleQuestion) {
44903
+ res = !this.currentSingleQuestion.validate(true);
44904
+ }
44905
+ else {
44906
+ res = !page.validate(true, isFocuseOnFirstError);
44907
+ }
44880
44908
  this.fireValidatedErrorsOnPage(page);
44881
44909
  return res;
44882
44910
  };
@@ -45216,7 +45244,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
45216
45244
  configurable: true
45217
45245
  });
45218
45246
  SurveyModel.prototype.onQuestionsOnPageModeChanged = function (oldValue) {
45219
- if (this.isShowingPreview)
45247
+ if (this.isShowingPreview || this.isDesignMode)
45220
45248
  return;
45221
45249
  this.currentSingleQuestion = undefined;
45222
45250
  if (oldValue === "singlePage") {
@@ -47130,6 +47158,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
47130
47158
  return;
47131
47159
  this.questionHashesClear();
47132
47160
  this.jsonErrors = null;
47161
+ this.sjsVersion = undefined;
47133
47162
  var jsonConverter = new jsonobject_JsonObject();
47134
47163
  jsonConverter.toObject(json, this, options);
47135
47164
  if (jsonConverter.errors.length > 0) {
@@ -47137,6 +47166,13 @@ var survey_SurveyModel = /** @class */ (function (_super) {
47137
47166
  }
47138
47167
  this.onStateAndCurrentPageChanged();
47139
47168
  this.updateState();
47169
+ if (!!this.sjsVersion && !!settings.version) {
47170
+ if (helpers_Helpers.compareVerions(this.sjsVersion, settings.version) > 0) {
47171
+ ConsoleWarnings.warn("The version of the survey JSON schema (v"
47172
+ + this.sjsVersion + ") is newer than your current Form Library version ("
47173
+ + settings.version + "). Please update the Form Library to make sure that all survey features work as expected.");
47174
+ }
47175
+ }
47140
47176
  };
47141
47177
  SurveyModel.prototype.startLoadingFromJson = function (json) {
47142
47178
  _super.prototype.startLoadingFromJson.call(this, json);
@@ -48583,6 +48619,9 @@ var survey_SurveyModel = /** @class */ (function (_super) {
48583
48619
  var isNeedWaitForPageRendered = this.activePage !== question.page && !question.page.isStartPage;
48584
48620
  if (isNeedWaitForPageRendered) {
48585
48621
  this.currentPage = question.page;
48622
+ if (this.isSingleVisibleQuestion && !this.isDesignMode) {
48623
+ this.currentSingleQuestion = question;
48624
+ }
48586
48625
  }
48587
48626
  if (!isNeedWaitForPageRendered) {
48588
48627
  this.focusQuestionInfo();
@@ -49121,6 +49160,7 @@ Serializer.addClass("survey", [
49121
49160
  name: "calculatedValues:calculatedvalues",
49122
49161
  className: "calculatedvalue", isArray: true
49123
49162
  },
49163
+ { name: "sjsVersion", visible: false },
49124
49164
  { name: "surveyId", visible: false },
49125
49165
  { name: "surveyPostId", visible: false },
49126
49166
  { name: "surveyShowDataSaving:boolean", visible: false },
@@ -72475,10 +72515,12 @@ Serializer.addClass("currencymask", [
72475
72515
  // import "../../src/main.scss";
72476
72516
  //import "../../src/modern.scss";
72477
72517
 
72518
+
72478
72519
  var Version;
72479
72520
  var ReleaseDate;
72480
- Version = "" + "1.12.17";
72481
- ReleaseDate = "" + "2024-12-30";
72521
+ Version = "" + "1.12.18";
72522
+ settings.version = Version;
72523
+ ReleaseDate = "" + "2025-01-10";
72482
72524
  function checkLibraryVersion(ver, libraryName) {
72483
72525
  if (Version != ver) {
72484
72526
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -75765,6 +75807,91 @@ setupLocale({ localeCode: "bg", strings: bulgarianStrings, nativeName: "бълг
75765
75807
  // signaturePlaceHolderReadOnly: "No signature" => "Няма подпис"// tabTitlePlaceholder: "New Panel" => "Нов панел"// deselectAllItemText: "Deselect all" => "Премахване на избора на всички"
75766
75808
  // textNoDigitsAllow: "Numbers are not allowed." => "Номерата не са позволени."
75767
75809
 
75810
+ // CONCATENATED MODULE: ./packages/survey-core/src/localization/burmese.ts
75811
+
75812
+ var burmeseStrings = {
75813
+ pagePrevText: "နောက်သို့",
75814
+ pageNextText: "ရှေ့သို့",
75815
+ completeText: "ပြီးဆုံးပါပြီ",
75816
+ previewText: "ကြိုတင်ကြည့်ရှုရန်",
75817
+ editText: "တည်းဖြတ်ရန်",
75818
+ startSurveyText: "စတင်ရန်",
75819
+ otherItemText: "အခြား (ဖော်ပြပါ)",
75820
+ noneItemText: "ဘာမျှမရှိပါ",
75821
+ refuseItemText: "ဖြေဆိုရန်ငြင်းဆန်သည်",
75822
+ dontKnowItemText: "မသိပါ",
75823
+ selectAllItemText: "အားလုံးရွေးချယ်ပါ",
75824
+ deselectAllItemText: "အားလုံးမရွေးချယ်ပါ",
75825
+ progressText: "စာမျက်နှာ {0}/{1}",
75826
+ indexText: "{0}/{1}",
75827
+ panelDynamicProgressText: "{0}/{1}",
75828
+ panelDynamicTabTextFormat: "ပန်းနယ် {panelIndex}",
75829
+ questionsProgressText: "မေးခွန်းများ {0}/{1} ဖြေဆိုပြီးပြီ",
75830
+ emptySurvey: "ဒီစစ်တမ်းတွင် မြင်သာမေးခွန်းများမရှိပါ။",
75831
+ completingSurvey: "စစ်တမ်းကိုပြီးမြောက်စွာဖြေဆိုပေးခဲ့သည့်အတွက်ကျေးဇူးတင်ပါသည်။",
75832
+ completingSurveyBefore: "ဒီစစ်တမ်းကို မျှဝေပြီးသားဖြေဆိုထားပါသည်။",
75833
+ loadingSurvey: "စစ်တမ်းကိုလုပ်ဆောင်နေသည်...",
75834
+ placeholder: "ရွေးချယ်ပါ...",
75835
+ ratingOptionsCaption: "ရွေးချယ်ပါ...",
75836
+ value: "တန်ဖိုး",
75837
+ requiredError: "ဖြေဆိုရန်လိုအပ်ပါသည်။",
75838
+ requiredErrorInPanel: "ဖြေဆိုရန်လိုအပ်ပါသည် - အနည်းဆုံးတစ်ခုကိုဖြေဆိုပါ။",
75839
+ requiredInAllRowsError: "အတန်းအားလုံးတွင်ဖြေဆိုရန်လိုအပ်ပါသည်။",
75840
+ eachRowUniqueError: "အတန်းတိုင်းတွင်ထပ်တူဖြေဆိုမှုမရှိရပါ။",
75841
+ numericError: "တန်ဖိုးသည်ကိန်းဂဏန်းဖြစ်ရပါမည်။",
75842
+ minError: "တန်ဖိုးသည် {0} ထက်မနည်းရပါ။",
75843
+ maxError: "တန်ဖိုးသည် {0} ထက်မကျော်ရပါ။",
75844
+ textNoDigitsAllow: "ကိန်းဂဏန်းများကိုခွင့်မပြုပါ။",
75845
+ textMinLength: "အနည်းဆုံး {0} လုံးဖြည့်စွက်ပါ။",
75846
+ textMaxLength: "အများဆုံး {0} လုံးထိသာဖြည့်စွက်ပါ။",
75847
+ textMinMaxLength: "အနည်းဆုံး {0} နှင့်အများဆုံး {1} လုံးဖြည့်စွက်ပါ။",
75848
+ minRowCountError: "အနည်းဆုံး {0} အတန်းဖြည့်စွက်ပါ။",
75849
+ minSelectError: "အနည်းဆုံး {0} ရွေးချယ်ချက်များရွေးပါ။",
75850
+ maxSelectError: "အများဆုံး {0} ရွေးချယ်ချက်များသာရွေးပါ။",
75851
+ numericMinMax: "‘{0}’ သည် {1} နှင့် {2} အကြားဖြစ်ရမည်။",
75852
+ numericMin: "‘{0}’ သည် {1} ထက်မနည်းရပါ။",
75853
+ numericMax: "‘{0}’ သည် {1} ထက်မကျော်ရပါ။",
75854
+ invalidEmail: "တရားဝင်သော အီးမေးလ်လိပ်စာကိုရိုက်ထည့်ပါ။",
75855
+ invalidExpression: "အထောက်အထား {0} သည် 'true' ပြန်သင့်သည်။",
75856
+ urlRequestError: "တောင်းဆိုမှုတွင် အမှား '{0}' ဖြစ်ခဲ့သည်။ {1}",
75857
+ urlGetChoicesError: "တောင်းဆိုမှုတွင်ဒေတာမရှိပါ။ သို့မဟုတ် 'path' ပိုင်ဆိုင်မှုမှာမှားနေပါသည်။",
75858
+ exceedMaxSize: "ဖိုင်အရွယ်အစားသည် {0} ထက်မကျော်ရပါ။",
75859
+ noUploadFilesHandler: "ဖိုင်များကိုအပ်လုဒ်လုပ်၍မရနိုင်ပါ။",
75860
+ otherRequiredError: "ဖြေဆိုရန်လိုအပ်ပါသည်။ တန်ဖိုးတစ်ခုရိုက်ထည့်ပါ။",
75861
+ uploadingFile: "ဖိုင်တင်နေသည်။ မိနစ်ပိုင်းစောင့်ပြီးပြန်ကြိုးစားပါ။",
75862
+ loadingFile: "တင်နေသည်...",
75863
+ chooseFile: "ဖိုင်(များ) ရွေးချယ်ပါ...",
75864
+ noFileChosen: "ဖိုင်မရွေးရသေးပါ",
75865
+ filePlaceholder: "ဖိုင်တစ်ခုအားဤနေရာတွင်ဆွဲချပြီးအောက်တွင်ရှိသောခလုတ်ကိုနှိပ်ပါ။",
75866
+ confirmDelete: "ဤမှတ်တမ်းကိုဖျက်မည်မှာ သေချာပါသလား?",
75867
+ keyDuplicationError: "ဤတန်ဖိုးသည်ထူးခြားဖြစ်ရပါမည်။",
75868
+ addColumn: "ကော်လံထည့်ရန်",
75869
+ addRow: "တန်းထည့်ရန်",
75870
+ removeRow: "ဖယ်ရှားရန်",
75871
+ emptyRowsText: "တန်းများမရှိပါ။",
75872
+ addPanel: "အသစ်ထည့်ပါ",
75873
+ removePanel: "ဖယ်ရှားပါ",
75874
+ showDetails: "အသေးစိတ်ပြရန်",
75875
+ hideDetails: "အသေးစိတ်ဖျောက်ရန်",
75876
+ choices_Item: "အရာ",
75877
+ matrix_column: "ကော်လံ",
75878
+ matrix_row: "တန်း",
75879
+ multipletext_itemname: "စာသား",
75880
+ savingData: "ရလဒ်များကိုဆာဗာတွင်သိမ်းဆည်းနေသည်...",
75881
+ savingDataError: "အမှားတစ်ခုဖြစ်ပြီး ရလဒ်များကိုသိမ်းဆည်း၍မရနိုင်ပါ။",
75882
+ savingDataSuccess: "ရလဒ်များကိုအောင်မြင်စွာသိမ်းဆည်းပြီးပါပြီ။",
75883
+ savingExceedSize: "သင့်ဖြေဆိုမှုသည် 64KB ကျော်နေပါသည်။",
75884
+ saveAgainButton: "ထပ်ကြိုးစားရန်",
75885
+ timerMin: "မိနစ်",
75886
+ timerSec: "စက္ကန့်",
75887
+ clearCaption: "ရှင်းလင်းရန်",
75888
+ signaturePlaceHolder: "ဤနေရာတွင်လက်မှတ်ရေးပါ",
75889
+ confirmRemoveFile: "ဤဖိုင်အားဖယ်ရှားမည်မှာ သေချာပါသလား: {0}?",
75890
+ ok: "အိုကေ",
75891
+ cancel: "ပယ်ဖျက်ပါ"
75892
+ };
75893
+ setupLocale({ localeCode: "mm", strings: burmeseStrings, nativeName: "မြန်မာ", englishName: "Burmese" });
75894
+
75768
75895
  // CONCATENATED MODULE: ./packages/survey-core/src/localization/catalan.ts
75769
75896
 
75770
75897
  var catalanSurveyStrings = {
@@ -82403,6 +82530,7 @@ setupLocale({ localeCode: "fil", strings: philippinesStrings, nativeName: "filip
82403
82530
 
82404
82531
 
82405
82532
 
82533
+
82406
82534
 
82407
82535
 
82408
82536
  // CONCATENATED MODULE: ./src/entries/chunks/localization.ts
@@ -86784,13 +86912,14 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
86784
86912
  return external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", null, this.question.readOnlyText);
86785
86913
  };
86786
86914
  SurveyQuestionDropdownBase.prototype.renderSelect = function (cssClasses) {
86915
+ var _this = this;
86787
86916
  var _a, _b;
86788
86917
  var selectElement = null;
86789
86918
  if (this.question.isReadOnly) {
86790
86919
  var text = (this.question.selectedItemLocText) ? this.renderLocString(this.question.selectedItemLocText) : "";
86791
86920
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
86792
86921
  // @ts-ignore
86793
- selectElement = external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { id: this.question.inputId, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass() },
86922
+ selectElement = external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { id: this.question.inputId, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: function (div) { return (_this.setControl(div)); } },
86794
86923
  text,
86795
86924
  this.renderReadOnlyElement());
86796
86925
  }
@@ -86824,7 +86953,7 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
86824
86953
  return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
86825
86954
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
86826
86955
  // @ts-ignore
86827
- disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
86956
+ disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
86828
86957
  dropdownListModel.showHintPrefix ?
86829
86958
  (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: this.question.cssClasses.hintPrefix },
86830
86959
  external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("span", null, dropdownListModel.hintStringPrefix))) : null,
@@ -87013,7 +87142,7 @@ var reactquestion_tagbox_SurveyQuestionTagbox = /** @class */ (function (_super)
87013
87142
  return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
87014
87143
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
87015
87144
  // @ts-ignore
87016
- disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
87145
+ disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
87017
87146
  external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: this.question.cssClasses.controlValue },
87018
87147
  items,
87019
87148
  external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](tagbox_filter_TagboxFilterString, { model: dropdownMultiSelectListModel, question: this.question })),
@@ -88717,13 +88846,13 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
88717
88846
  var matrixrow = [];
88718
88847
  var cells = row.cells;
88719
88848
  for (var i = 0; i < cells.length; i++) {
88720
- matrixrow.push(this.renderCell(cells[i], i, cssClasses, reason));
88849
+ matrixrow.push(this.renderCell(cells[i], cssClasses, reason));
88721
88850
  }
88722
88851
  var key = "row" + keyValue;
88723
88852
  return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](external_root_React_commonjs2_react_commonjs_react_amd_react_["Fragment"], { key: key }, (reason == "row-footer") ? external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("tr", null, matrixrow) : external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](row_MatrixRow, { model: row, parentMatrix: this.question }, matrixrow)));
88724
88853
  };
88725
- SurveyQuestionMatrixTable.prototype.renderCell = function (cell, index, cssClasses, reason) {
88726
- var key = "cell" + index;
88854
+ SurveyQuestionMatrixTable.prototype.renderCell = function (cell, cssClasses, reason) {
88855
+ var key = "cell" + cell.id;
88727
88856
  if (cell.hasQuestion) {
88728
88857
  return (external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell, { key: key, cssClasses: cssClasses, cell: cell, creator: this.creator, reason: reason }));
88729
88858
  }
@@ -89796,7 +89925,7 @@ var list_item_ListItem = /** @class */ (function (_super) {
89796
89925
  var className = this.model.getItemClass(this.item);
89797
89926
  var itemContent = this.item.component || this.model.itemComponent;
89798
89927
  var newElement = ReactElementFactory.Instance.createElement(itemContent, { item: this.item, key: this.item.id, model: this.model });
89799
- var contentWrap = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", { style: this.model.getItemStyle(this.item), className: this.model.cssClasses.itemBody, title: this.item.locTitle.calculatedText, onMouseOver: function (event) { _this.model.onItemHover(_this.item); }, onMouseLeave: function (event) { _this.model.onItemLeave(_this.item); } }, newElement);
89928
+ var contentWrap = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", { style: this.model.getItemStyle(this.item), className: this.model.cssClasses.itemBody, title: this.item.getTooltip(), onMouseOver: function (event) { _this.model.onItemHover(_this.item); }, onMouseLeave: function (event) { _this.model.onItemLeave(_this.item); } }, newElement);
89800
89929
  var separator = this.item.needSeparator ? external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", { className: this.model.cssClasses.itemSeparator }) : null;
89801
89930
  var isVisible = this.model.isItemVisible(this.item);
89802
89931
  var style = {
@@ -90476,7 +90605,7 @@ var imagepicker_SurveyQuestionImagePickerItem = /** @class */ (function (_super)
90476
90605
  external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: this.question.cssClasses.itemDecorator },
90477
90606
  external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("div", { className: this.question.cssClasses.imageContainer },
90478
90607
  !!this.question.cssClasses.checkedItemDecorator ?
90479
- external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("span", { className: this.question.cssClasses.checkedItemDecorator }, !!this.question.cssClasses.checkedItemSvgIconId ? external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](svg_icon_SvgIcon, { size: "auto", className: this.question.cssClasses.checkedItemSvgIcon, iconName: this.question.cssClasses.checkedItemSvgIconId }) : null) : null,
90608
+ external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"]("span", { className: this.question.cssClasses.checkedItemDecorator, "aria-hidden": "true" }, !!this.question.cssClasses.checkedItemSvgIconId ? external_root_React_commonjs2_react_commonjs_react_amd_react_["createElement"](svg_icon_SvgIcon, { size: "auto", className: this.question.cssClasses.checkedItemSvgIcon, iconName: this.question.cssClasses.checkedItemSvgIconId }) : null) : null,
90480
90609
  control),
90481
90610
  text))));
90482
90611
  return renderedItem;