survey-creator-js 2.5.16 → 3.0.0-beta.1

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 v2.5.16
2
+ * SurveyJS Creator v3.0.0-beta.1
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
@@ -2911,36 +2911,6 @@ ReactQuestionFactory.Instance.registerQuestion("fileedit", (props) => {
2911
2911
  return React.createElement(SurveyQuestionFileEditor, props);
2912
2912
  });
2913
2913
 
2914
- class SurveyQuestionTextWithReset extends SurveyQuestionElementBase {
2915
- get question() {
2916
- return this.questionBase;
2917
- }
2918
- renderElement() {
2919
- const textElement = this.renderInput();
2920
- const resetButton = this.renderResetButton();
2921
- return (React.createElement("div", { className: this.question.getRootClass() },
2922
- textElement,
2923
- resetButton));
2924
- }
2925
- renderInput() {
2926
- return ReactQuestionFactory.Instance.createQuestion(this.question.wrappedQuestionTemplate, {
2927
- question: this.question,
2928
- isDisplayMode: this.question.isInputReadOnly,
2929
- creator: this,
2930
- });
2931
- }
2932
- renderResetButton() {
2933
- return (React.createElement("button", { className: this.question.cssClasses.resetButton, disabled: this.question.resetValueAdorner.isDisabled, title: this.question.resetValueAdorner.caption, onClick: () => this.question.resetValueAdorner.resetValue() },
2934
- React.createElement(SvgIcon, { iconName: this.question.cssClasses.resetButtonIcon, size: "auto" })));
2935
- }
2936
- }
2937
- ReactQuestionFactory.Instance.registerQuestion("textwithreset", (props) => {
2938
- return React.createElement(SurveyQuestionTextWithReset, props);
2939
- });
2940
- ReactQuestionFactory.Instance.registerQuestion("commentwithreset", (props) => {
2941
- return React.createElement(SurveyQuestionTextWithReset, props);
2942
- });
2943
-
2944
2914
  class SurveyQuestionBooleanSwitch extends SurveyQuestionElementBase {
2945
2915
  renderElement() {
2946
2916
  const button = attachKey2click(React.createElement("div", { className: "spg-boolean-switch__button" + (this.questionBase.booleanValue ? " spg-boolean-switch__button--checked" : ""), tabIndex: 0, role: "checkbox", "aria-checked": this.questionBase.booleanValue || false, "aria-required": this.questionBase.a11y_input_ariaRequired, "aria-label": this.questionBase.a11y_input_ariaLabel, "aria-labelledby": this.questionBase.a11y_input_ariaLabelledBy, "aria-invalid": this.questionBase.a11y_input_ariaInvalid, "aria-errormessage": this.questionBase.a11y_input_ariaErrormessage },
@@ -2960,8 +2930,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
2960
2930
  RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
2961
2931
 
2962
2932
  let Version;
2963
- Version = `${"2.5.16"}`;
2964
- checkLibraryVersion(`${"2.5.16"}`, "survey-creator-react");
2933
+ Version = `${"3.0.0-beta.1"}`;
2934
+ checkLibraryVersion(`${"3.0.0-beta.1"}`, "survey-creator-react");
2965
2935
 
2966
2936
  function renderSurveyCreator(creator, element, props = {}) {
2967
2937
  let node = element;
@@ -2990,5 +2960,5 @@ if (typeof window !== "undefined") {
2990
2960
  }
2991
2961
  }
2992
2962
 
2993
- 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, renderSurveyCreator };
2963
+ 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, SurveyResults, SurveyResultsByRow, SurveySimulator, SwitcherComponent, TabButtonComponent, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicAddButtonComponent, TabLogicComponent, TabPreviewSurveyComponent, TabPreviewTestSurveyAgainComponent, TabThemeSurveyComponent, TabTranslationComponent, TabbedMenuComponent, TabbedMenuItemComponent, ToolboxList, TranslateFromAction, TranslationLineSkeleton, Version, renderSurveyCreator };
2994
2964
  //# sourceMappingURL=survey-creator-js.mjs.map