survey-creator-react 2.5.11 → 2.5.12

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator React v2.5.11
2
+ * SurveyJS Creator React v2.5.12
3
3
  * (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -247,7 +247,7 @@ class SurveyCreator extends SurveyCreatorModel {
247
247
  return (React.createElement("div", { key: key },
248
248
  React.createElement("span", { className: cssClasses.error.icon, "aria-hidden": "true" }),
249
249
  React.createElement("span", { className: cssClasses.error.item },
250
- React.createElement(SurveyLocStringViewer, { locStr: error.locText }))));
250
+ React.createElement(SurveyLocStringViewer, { model: error.locText }))));
251
251
  }
252
252
  questionTitleLocation() {
253
253
  return this.survey.questionTitleLocation;
@@ -1357,7 +1357,7 @@ class SurveyResultsByRow extends CreatorModelElement {
1357
1357
  React.createElement("td", { key: 1, style: { paddingLeft: this.row.textMargin }, className: "svd-dark-border-color" },
1358
1358
  this.row.isNode ? (React.createElement("span", { style: { left: this.row.markerMargin }, className: "svd-test-results__marker " + (this.row.collapsed ? "" : "svd-test-results__marker--expanded") },
1359
1359
  React.createElement(SvgIcon, { iconName: "icon-expand_16x16", size: 16 }))) : null,
1360
- this.row.question ? React.createElement(SurveyLocStringViewer, { locStr: this.row.question.locTitle }) : React.createElement("span", null, this.row.title)),
1360
+ this.row.question ? React.createElement(SurveyLocStringViewer, { model: this.row.question.locTitle }) : React.createElement("span", null, this.row.title)),
1361
1361
  React.createElement("td", { key: 2, className: this.row.isNode ? "svd-test-results__node-value" : "svd-dark-border-color" }, this.row.getString(this.row.displayValue)))),
1362
1362
  this.row.isNode && !this.row.collapsed ? SurveyResults.renderRows(this.row.data) : null));
1363
1363
  }
@@ -2039,10 +2039,10 @@ class SurveyLocStringEditor extends CreatorModelElement {
2039
2039
  return ["creator", "locString"];
2040
2040
  }
2041
2041
  get locString() {
2042
- return this.props.locStr.locStr;
2042
+ return this.props.model.locStr;
2043
2043
  }
2044
2044
  get creator() {
2045
- return this.props.locStr.creator;
2045
+ return this.props.model.creator;
2046
2046
  }
2047
2047
  get style() {
2048
2048
  return this.props.style;
@@ -2131,7 +2131,7 @@ class QuestionErrorComponent extends React.Component {
2131
2131
  return (React.createElement("div", null,
2132
2132
  React.createElement(SvgIcon, { "aria-hidden": "true", iconName: "icon-alert_24x24", size: "24", className: this.props.cssClasses.error.icon }),
2133
2133
  React.createElement("span", { className: this.props.cssClasses.error.item || undefined },
2134
- React.createElement(SurveyLocStringViewer, { locStr: this.props.error.locText }))));
2134
+ React.createElement(SurveyLocStringViewer, { model: this.props.error.locText }))));
2135
2135
  }
2136
2136
  }
2137
2137
  ReactElementFactory.Instance.registerElement("svc-question-error", (props) => {
@@ -2947,8 +2947,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
2947
2947
  RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
2948
2948
 
2949
2949
  let Version;
2950
- Version = `${"2.5.11"}`;
2951
- checkLibraryVersion(`${"2.5.11"}`, "survey-creator-react");
2950
+ Version = `${"2.5.12"}`;
2951
+ checkLibraryVersion(`${"2.5.12"}`, "survey-creator-react");
2952
2952
 
2953
2953
  export { ActionButton, AdaptiveToolbox, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, ComponentContainer, CreatorSurveyPageComponent, ImageItemValueAdornerComponent, ItemValueAdornerComponent, LogoImageComponent, MatrixCellAdornerComponent, PanelAdornerComponent, PropertyGridComponent, PropertyGridPlaceholderComponent, QuestionAdornerComponent, QuestionBanner, QuestionDropdownAdornerComponent, QuestionEditorContentComponent, QuestionErrorComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, QuestionWrapperFooter, QuestionWrapperHeader, ReactDragEvent, ReactMouseEvent, RowWrapper, SearchComponent, SideBarDefaultHeader, SidebarComponent, SurveyCreator, SurveyCreatorComponent, SurveyCreatorToolboxCategory, SurveyCreatorToolboxItem, SurveyCreatorToolboxItemGroup, SurveyCreatorToolboxTool, SurveyElementEmbeddedSurvey, SurveyLocStringEditor, SurveyLogicOpertor, SurveyNavigation, SurveyQuestionBooleanSwitch, SurveyQuestionColor, SurveyQuestionFileEditor, SurveyQuestionLinkValue, SurveyQuestionSpinEditor, SurveyQuestionTextWithReset, SurveyResults, SurveyResultsByRow, SurveySimulator, SwitcherComponent, TabButtonComponent, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicAddButtonComponent, TabLogicComponent, TabPreviewSurveyComponent, TabPreviewTestSurveyAgainComponent, TabThemeSurveyComponent, TabTranslationComponent, TabbedMenuComponent, TabbedMenuItemComponent, ToolboxList, TranslateFromAction, TranslationLineSkeleton, Version };
2954
2954
  //# sourceMappingURL=survey-creator-react.mjs.map