survey-creator-react 3.2.3 → 3.2.4
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 v3.2.
|
|
2
|
+
* SurveyJS Creator v3.2.4
|
|
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
|
|
@@ -117,6 +117,7 @@ class TabbedMenuItemComponent extends SurveyElementBase {
|
|
|
117
117
|
"aria-selected": item.active,
|
|
118
118
|
"aria-controls": "scrollableDiv-" + item.id,
|
|
119
119
|
className: item.getRootCss(),
|
|
120
|
+
"data-sv-tooltip": item.hasIcon ? item.tooltip || item.title : void 0,
|
|
120
121
|
onClick: () => item.doAction()
|
|
121
122
|
},
|
|
122
123
|
item.hasTitle ? /* @__PURE__ */ React.createElement("span", { className: item.getTitleCss() }, item.title) : null,
|
|
@@ -583,7 +584,8 @@ class ActionButton extends SurveyElementBase {
|
|
|
583
584
|
}
|
|
584
585
|
this.props.click();
|
|
585
586
|
},
|
|
586
|
-
title: this.props.title
|
|
587
|
+
title: this.props.title,
|
|
588
|
+
"data-sv-tooltip": this.props.title
|
|
587
589
|
},
|
|
588
590
|
this.props.text
|
|
589
591
|
)
|
|
@@ -605,7 +607,8 @@ class ActionButton extends SurveyElementBase {
|
|
|
605
607
|
}
|
|
606
608
|
this.props.click();
|
|
607
609
|
},
|
|
608
|
-
title: this.props.title
|
|
610
|
+
title: this.props.title,
|
|
611
|
+
"data-sv-tooltip": this.props.title
|
|
609
612
|
},
|
|
610
613
|
/* @__PURE__ */ React.createElement(SvgIcon, { size: "auto", iconName: this.props.iconName })
|
|
611
614
|
)
|
|
@@ -1370,7 +1373,8 @@ class ItemValueAdornerComponent extends CreatorModelElement {
|
|
|
1370
1373
|
const button = this.model.allowAdd ? this.renderButton(this.model.addAction) : /* @__PURE__ */ React.createElement(React.Fragment, null, " ", this.model.isDraggable ? /* @__PURE__ */ React.createElement(
|
|
1371
1374
|
"span",
|
|
1372
1375
|
{
|
|
1373
|
-
className: "svc-item-value-controls__drag"
|
|
1376
|
+
className: "svc-item-value-controls__drag",
|
|
1377
|
+
"data-sv-tooltip": this.model.dragTooltip
|
|
1374
1378
|
},
|
|
1375
1379
|
/* @__PURE__ */ React.createElement(SvgIcon, { className: "svc-item-value-controls__drag-icon", size: "auto", iconName: "icon-drag-24x24", title: this.model.dragTooltip })
|
|
1376
1380
|
) : null, this.model.allowRemove ? this.renderButton(this.model.removeAction) : null);
|
|
@@ -3198,6 +3202,7 @@ class SwitcherComponent extends SurveyElementBase {
|
|
|
3198
3202
|
disabled: this.item.disabled,
|
|
3199
3203
|
onClick: (args) => this.item.action(this.item, this.item.getIsTrusted(args)),
|
|
3200
3204
|
title: tooltip,
|
|
3205
|
+
"data-sv-tooltip": tooltip,
|
|
3201
3206
|
"aria-checked": this.item.ariaChecked,
|
|
3202
3207
|
"aria-expanded": this.item.ariaExpanded,
|
|
3203
3208
|
role: this.item.ariaRole
|
|
@@ -3311,7 +3316,7 @@ let ItemTemplateComponent$1 = class ItemTemplateComponent extends SurveyElementB
|
|
|
3311
3316
|
return attachKey2click(/* @__PURE__ */ React.createElement("button", { type: "button", onClick: (event) => {
|
|
3312
3317
|
event.stopPropagation();
|
|
3313
3318
|
item.data.fixError();
|
|
3314
|
-
}, title: item.data.fixButtonTitle, className: "svc-json-error__fix-button" }, /* @__PURE__ */ React.createElement(SvgIcon, { iconName: item.data.fixButtonIcon, size: "auto" })));
|
|
3319
|
+
}, title: item.data.fixButtonTitle, "data-sv-tooltip": item.data.fixButtonTitle, className: "svc-json-error__fix-button" }, /* @__PURE__ */ React.createElement(SvgIcon, { iconName: item.data.fixButtonIcon, size: "auto" })));
|
|
3315
3320
|
}
|
|
3316
3321
|
};
|
|
3317
3322
|
ReactElementFactory.Instance.registerElement(
|
|
@@ -3617,6 +3622,7 @@ class SurveyQuestionFileEditorButton extends SurveyElementBase {
|
|
|
3617
3622
|
onClick: (event) => this.question.chooseFiles(event.nativeEvent),
|
|
3618
3623
|
className: this.item.getActionBarItemCss(),
|
|
3619
3624
|
htmlFor: this.question.inputId,
|
|
3625
|
+
"data-sv-tooltip": this.item.title,
|
|
3620
3626
|
"aria-label": this.question.chooseButtonCaption
|
|
3621
3627
|
},
|
|
3622
3628
|
/* @__PURE__ */ React.createElement(SvgIcon, { iconName: this.item.iconName, size: "auto", title: this.item.title, className: this.item.cssClasses.itemIcon }),
|
|
@@ -3650,8 +3656,8 @@ ReactElementFactory.Instance.registerElement("sv-fileedit-button", (props) => {
|
|
|
3650
3656
|
});
|
|
3651
3657
|
|
|
3652
3658
|
let Version;
|
|
3653
|
-
Version = `${"3.2.
|
|
3654
|
-
checkLibraryVersion(`${"3.2.
|
|
3659
|
+
Version = `${"3.2.4"}`;
|
|
3660
|
+
checkLibraryVersion(`${"3.2.4"}`, "survey-creator-react");
|
|
3655
3661
|
|
|
3656
3662
|
export { ActionButton, AdaptiveToolbox, AddQuestionButtonComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CollabRowComponent, ComponentContainer, CreatorSurveyPageComponent, FloatingPanelComponent, IconItem, ImageItemValueAdornerComponent, ItemValueAdornerComponent, LogoImageComponent, MatrixCellAdornerComponent, PanelAdornerComponent, PropertyGridComponent, PropertyGridPlaceholderComponent, QuestionAdornerComponent, QuestionBanner, QuestionDropdownAdornerComponent, QuestionEditorContentComponent, QuestionErrorComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, QuestionWrapperFooter, QuestionWrapperHeader, ReactDragEvent, ReactMouseEvent, RowWrapper, SearchComponent, SideBarDefaultHeader, SideBarLaunchCard, SidebarComponent, SurveyCreator, SurveyCreatorComponent, SurveyCreatorToolboxCategory, SurveyCreatorToolboxItem, SurveyCreatorToolboxItemGroup, SurveyCreatorToolboxTool, SurveyElementEmbeddedSurvey, SurveyLocStringEditor, SurveyLogicOpertor, SurveyNavigation, SurveyQuestionColor, SurveyQuestionFileEditor, SurveyQuestionFileEditorButton, SurveyQuestionLinkValue, SurveyQuestionSpinEditor, SurveyResults, SurveyResultsByRow, SurveySimulator, SurveySpinEditorButton, SwitcherComponent, TabButtonComponent, TabContainerComponent, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicComponent, TabPreviewSurveyComponent, TabThemeSurveyComponent, TabTranslationComponent, TabbedMenuComponent, TabbedMenuItemComponent, ToolboxList, TranslateFromAction, TranslationDropdownQuestionComponent, TranslationLineSkeleton, TranslationLocaleItemComponent, VariablesViewerComponent, Version };
|
|
3657
3663
|
//# sourceMappingURL=survey-creator-react.mjs.map
|