survey-react-ui 2.5.4 → 2.5.6
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/fesm/survey-react-ui.mjs +32 -8
- package/fesm/survey-react-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-react-ui.js +158 -86
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +1 -1
- package/survey-react-ui.min.js.LICENSE.txt +2 -2
- package/typings/entries/react-ui-model.d.ts +1 -0
- package/typings/src/reactquestion_imagemap.d.ts +10 -0
package/fesm/survey-react-ui.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
3
|
-
* Copyright (c) 2015-
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.5.6
|
|
3
|
+
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -1114,8 +1114,8 @@ class PopupModal extends SurveyElementBase {
|
|
|
1114
1114
|
PopupModal.modalDescriptors = [];
|
|
1115
1115
|
|
|
1116
1116
|
/*!
|
|
1117
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
1118
|
-
* Copyright (c) 2015-
|
|
1117
|
+
* surveyjs - Survey JavaScript library v2.5.6
|
|
1118
|
+
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1119
1119
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1120
1120
|
*/
|
|
1121
1121
|
|
|
@@ -1184,8 +1184,8 @@ var iconsV1 = {
|
|
|
1184
1184
|
};
|
|
1185
1185
|
|
|
1186
1186
|
/*!
|
|
1187
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
1188
|
-
* Copyright (c) 2015-
|
|
1187
|
+
* surveyjs - Survey JavaScript library v2.5.6
|
|
1188
|
+
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1189
1189
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1190
1190
|
*/
|
|
1191
1191
|
|
|
@@ -5550,6 +5550,30 @@ ReactQuestionFactory.Instance.registerQuestion("imagepicker", (props) => {
|
|
|
5550
5550
|
return React.createElement(SurveyQuestionImagePicker, props);
|
|
5551
5551
|
});
|
|
5552
5552
|
|
|
5553
|
+
class SurveyQuestionImageMap extends SurveyQuestionElementBase {
|
|
5554
|
+
constructor(props) {
|
|
5555
|
+
super(props);
|
|
5556
|
+
this.state = { width: undefined, height: undefined, scale: undefined };
|
|
5557
|
+
}
|
|
5558
|
+
get question() {
|
|
5559
|
+
return this.questionBase;
|
|
5560
|
+
}
|
|
5561
|
+
componentDidMount() {
|
|
5562
|
+
super.componentDidMount();
|
|
5563
|
+
}
|
|
5564
|
+
componentWillUnmount() {
|
|
5565
|
+
super.componentWillUnmount();
|
|
5566
|
+
}
|
|
5567
|
+
renderElement() {
|
|
5568
|
+
return (React.createElement("div", { className: this.question.cssClasses.root, ref: (root) => (this.setControl(root)) },
|
|
5569
|
+
React.createElement("img", { className: this.question.cssClasses.bg, id: `${this.question.id}-bg`, src: this.question.imageLink, role: "presentation" }),
|
|
5570
|
+
React.createElement("svg", { className: this.question.cssClasses.svg, id: `${this.question.id}-svg` })));
|
|
5571
|
+
}
|
|
5572
|
+
}
|
|
5573
|
+
ReactQuestionFactory.Instance.registerQuestion("imagemap", (props) => {
|
|
5574
|
+
return React.createElement(SurveyQuestionImageMap, props);
|
|
5575
|
+
});
|
|
5576
|
+
|
|
5553
5577
|
class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
5554
5578
|
constructor(props) {
|
|
5555
5579
|
super(props);
|
|
@@ -6175,7 +6199,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
|
|
|
6175
6199
|
return React.createElement(SurveyLocStringEditor, props);
|
|
6176
6200
|
});
|
|
6177
6201
|
|
|
6178
|
-
checkLibraryVersion(`${"2.5.
|
|
6202
|
+
checkLibraryVersion(`${"2.5.6"}`, "survey-react-ui");
|
|
6179
6203
|
|
|
6180
|
-
export { CharacterCounterComponent, ComponentsContainer, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Scroll, Skeleton, SliderLabelItem, Survey, SurveyActionBar, SurveyElementBase, SurveyElementErrors, SurveyFileChooseButton, SurveyFileItem, SurveyFilePreview, SurveyFlowPanel, SurveyHeader, SurveyLocStringEditor, SurveyLocStringViewer, SurveyNavigationBase, SurveyNavigationButton, SurveyPage, SurveyPanel, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionButtonGroup, SurveyQuestionButtonGroupDropdown, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionComment, SurveyQuestionCommentItem, SurveyQuestionComposite, SurveyQuestionCustom, SurveyQuestionDropdown, SurveyQuestionDropdownBase, SurveyQuestionDropdownSelect, SurveyQuestionElementBase, SurveyQuestionEmpty, SurveyQuestionExpression, SurveyQuestionFile, SurveyQuestionHtml, SurveyQuestionImage, SurveyQuestionImagePicker, SurveyQuestionMatrix, SurveyQuestionMatrixCell, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixRow, SurveyQuestionMultipleText, SurveyQuestionOptionItem, SurveyQuestionPanelDynamic, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicProgressText, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionRadioItem, SurveyQuestionRadiogroup, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionSignaturePad, SurveyQuestionSlider, SurveyQuestionTagbox, SurveyQuestionTagboxItem, SurveyQuestionText, SurveyRow, SurveyTimerPanel, SurveyWindow, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click };
|
|
6204
|
+
export { CharacterCounterComponent, ComponentsContainer, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Scroll, Skeleton, SliderLabelItem, Survey, SurveyActionBar, SurveyElementBase, SurveyElementErrors, SurveyFileChooseButton, SurveyFileItem, SurveyFilePreview, SurveyFlowPanel, SurveyHeader, SurveyLocStringEditor, SurveyLocStringViewer, SurveyNavigationBase, SurveyNavigationButton, SurveyPage, SurveyPanel, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionButtonGroup, SurveyQuestionButtonGroupDropdown, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionComment, SurveyQuestionCommentItem, SurveyQuestionComposite, SurveyQuestionCustom, SurveyQuestionDropdown, SurveyQuestionDropdownBase, SurveyQuestionDropdownSelect, SurveyQuestionElementBase, SurveyQuestionEmpty, SurveyQuestionExpression, SurveyQuestionFile, SurveyQuestionHtml, SurveyQuestionImage, SurveyQuestionImageMap, SurveyQuestionImagePicker, SurveyQuestionMatrix, SurveyQuestionMatrixCell, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixRow, SurveyQuestionMultipleText, SurveyQuestionOptionItem, SurveyQuestionPanelDynamic, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicProgressText, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionRadioItem, SurveyQuestionRadiogroup, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionSignaturePad, SurveyQuestionSlider, SurveyQuestionTagbox, SurveyQuestionTagboxItem, SurveyQuestionText, SurveyRow, SurveyTimerPanel, SurveyWindow, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click };
|
|
6181
6205
|
//# sourceMappingURL=survey-react-ui.mjs.map
|