survey-react-ui 1.9.108 → 1.9.110
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/package.json +2 -2
- package/survey-react-ui.js +332 -147
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
- package/typings/entries/react-ui-model.d.ts +2 -0
- package/typings/react/components/cover.d.ts +17 -0
- package/typings/react/components/file-actions/file-choose-button.d.ts +8 -0
- package/typings/react/reactquestion_file.d.ts +3 -2
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.110
|
|
3
3
|
* Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -133,7 +133,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
133
133
|
/*!***************************************!*\
|
|
134
134
|
!*** ./src/entries/react-ui-model.ts ***!
|
|
135
135
|
\***************************************/
|
|
136
|
-
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, 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, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
|
136
|
+
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, 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, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, CoverCellComponent, CoverComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
|
137
137
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
138
138
|
|
|
139
139
|
"use strict";
|
|
@@ -234,165 +234,173 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
234
234
|
/* harmony import */ var _react_reactquestion_file__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../react/reactquestion_file */ "./src/react/reactquestion_file.tsx");
|
|
235
235
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionFile", function() { return _react_reactquestion_file__WEBPACK_IMPORTED_MODULE_25__["SurveyQuestionFile"]; });
|
|
236
236
|
|
|
237
|
-
/* harmony import */ var
|
|
238
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
237
|
+
/* harmony import */ var _react_components_file_actions_file_choose_button__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../react/components/file-actions/file-choose-button */ "./src/react/components/file-actions/file-choose-button.tsx");
|
|
238
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFileChooseButton", function() { return _react_components_file_actions_file_choose_button__WEBPACK_IMPORTED_MODULE_26__["SurveyFileChooseButton"]; });
|
|
239
239
|
|
|
240
|
-
/* harmony import */ var
|
|
241
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
240
|
+
/* harmony import */ var _react_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../react/reactquestion_multipletext */ "./src/react/reactquestion_multipletext.tsx");
|
|
241
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMultipleText", function() { return _react_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_27__["SurveyQuestionMultipleText"]; });
|
|
242
242
|
|
|
243
|
-
/* harmony
|
|
243
|
+
/* harmony import */ var _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../react/reactquestion_radiogroup */ "./src/react/reactquestion_radiogroup.tsx");
|
|
244
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadiogroup", function() { return _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_28__["SurveyQuestionRadiogroup"]; });
|
|
244
245
|
|
|
245
|
-
/* harmony
|
|
246
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionText", function() { return _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_28__["SurveyQuestionText"]; });
|
|
246
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadioItem", function() { return _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_28__["SurveyQuestionRadioItem"]; });
|
|
247
247
|
|
|
248
|
-
/* harmony import */ var
|
|
249
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
248
|
+
/* harmony import */ var _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../react/reactquestion_text */ "./src/react/reactquestion_text.tsx");
|
|
249
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionText", function() { return _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_29__["SurveyQuestionText"]; });
|
|
250
250
|
|
|
251
|
-
/* harmony import */ var
|
|
252
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
251
|
+
/* harmony import */ var _react_boolean__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../react/boolean */ "./src/react/boolean.tsx");
|
|
252
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBoolean", function() { return _react_boolean__WEBPACK_IMPORTED_MODULE_30__["SurveyQuestionBoolean"]; });
|
|
253
253
|
|
|
254
|
-
/* harmony import */ var
|
|
255
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
254
|
+
/* harmony import */ var _react_boolean_checkbox__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../react/boolean-checkbox */ "./src/react/boolean-checkbox.tsx");
|
|
255
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanCheckbox", function() { return _react_boolean_checkbox__WEBPACK_IMPORTED_MODULE_31__["SurveyQuestionBooleanCheckbox"]; });
|
|
256
256
|
|
|
257
|
-
/* harmony import */ var
|
|
258
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
257
|
+
/* harmony import */ var _react_boolean_radio__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../react/boolean-radio */ "./src/react/boolean-radio.tsx");
|
|
258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanRadio", function() { return _react_boolean_radio__WEBPACK_IMPORTED_MODULE_32__["SurveyQuestionBooleanRadio"]; });
|
|
259
259
|
|
|
260
|
-
/* harmony import */ var
|
|
261
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
260
|
+
/* harmony import */ var _react_reactquestion_empty__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../react/reactquestion_empty */ "./src/react/reactquestion_empty.tsx");
|
|
261
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEmpty", function() { return _react_reactquestion_empty__WEBPACK_IMPORTED_MODULE_33__["SurveyQuestionEmpty"]; });
|
|
262
262
|
|
|
263
|
-
/* harmony
|
|
263
|
+
/* harmony import */ var _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../react/reactquestion_matrixdropdownbase */ "./src/react/reactquestion_matrixdropdownbase.tsx");
|
|
264
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownCell", function() { return _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_34__["SurveyQuestionMatrixDropdownCell"]; });
|
|
264
265
|
|
|
265
|
-
/* harmony
|
|
266
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdown", function() { return _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_34__["SurveyQuestionMatrixDropdown"]; });
|
|
266
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownBase", function() { return _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_34__["SurveyQuestionMatrixDropdownBase"]; });
|
|
267
267
|
|
|
268
|
-
/* harmony import */ var
|
|
269
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
268
|
+
/* harmony import */ var _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../react/reactquestion_matrixdropdown */ "./src/react/reactquestion_matrixdropdown.tsx");
|
|
269
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdown", function() { return _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_35__["SurveyQuestionMatrixDropdown"]; });
|
|
270
270
|
|
|
271
|
-
/* harmony
|
|
271
|
+
/* harmony import */ var _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../react/reactquestion_matrixdynamic */ "./src/react/reactquestion_matrixdynamic.tsx");
|
|
272
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamic", function() { return _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_36__["SurveyQuestionMatrixDynamic"]; });
|
|
272
273
|
|
|
273
|
-
/* harmony
|
|
274
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_36__["SurveyQuestionPanelDynamic"]; });
|
|
274
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicAddButton", function() { return _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_36__["SurveyQuestionMatrixDynamicAddButton"]; });
|
|
275
275
|
|
|
276
|
-
/* harmony import */ var
|
|
277
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
276
|
+
/* harmony import */ var _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../react/reactquestion_paneldynamic */ "./src/react/reactquestion_paneldynamic.tsx");
|
|
277
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_37__["SurveyQuestionPanelDynamic"]; });
|
|
278
278
|
|
|
279
|
-
/* harmony import */ var
|
|
280
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
279
|
+
/* harmony import */ var _react_reactSurveyProgress__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../react/reactSurveyProgress */ "./src/react/reactSurveyProgress.tsx");
|
|
280
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return _react_reactSurveyProgress__WEBPACK_IMPORTED_MODULE_38__["SurveyProgress"]; });
|
|
281
281
|
|
|
282
|
-
/* harmony import */ var
|
|
283
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
282
|
+
/* harmony import */ var _react_reactSurveyProgressButtons__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../react/reactSurveyProgressButtons */ "./src/react/reactSurveyProgressButtons.tsx");
|
|
283
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return _react_reactSurveyProgressButtons__WEBPACK_IMPORTED_MODULE_39__["SurveyProgressButtons"]; });
|
|
284
284
|
|
|
285
|
-
/* harmony import */ var
|
|
286
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
285
|
+
/* harmony import */ var _react_reactSurveyProgressToc__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../react/reactSurveyProgressToc */ "./src/react/reactSurveyProgressToc.tsx");
|
|
286
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return _react_reactSurveyProgressToc__WEBPACK_IMPORTED_MODULE_40__["SurveyProgressToc"]; });
|
|
287
287
|
|
|
288
|
-
/* harmony import */ var
|
|
289
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
288
|
+
/* harmony import */ var _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../react/reactquestion_rating */ "./src/react/reactquestion_rating.tsx");
|
|
289
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRating", function() { return _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_41__["SurveyQuestionRating"]; });
|
|
290
290
|
|
|
291
|
-
/* harmony import */ var
|
|
292
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
291
|
+
/* harmony import */ var _react_rating_dropdown__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../react/rating-dropdown */ "./src/react/rating-dropdown.tsx");
|
|
292
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRatingDropdown", function() { return _react_rating_dropdown__WEBPACK_IMPORTED_MODULE_42__["SurveyQuestionRatingDropdown"]; });
|
|
293
293
|
|
|
294
|
-
/* harmony import */ var
|
|
295
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
294
|
+
/* harmony import */ var _react_reactquestion_expression__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../react/reactquestion_expression */ "./src/react/reactquestion_expression.tsx");
|
|
295
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionExpression", function() { return _react_reactquestion_expression__WEBPACK_IMPORTED_MODULE_43__["SurveyQuestionExpression"]; });
|
|
296
296
|
|
|
297
|
-
/* harmony
|
|
297
|
+
/* harmony import */ var _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../react/react-popup-survey */ "./src/react/react-popup-survey.tsx");
|
|
298
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurvey", function() { return _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_44__["PopupSurvey"]; });
|
|
298
299
|
|
|
299
|
-
/* harmony
|
|
300
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactQuestionFactory", function() { return _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_44__["ReactQuestionFactory"]; });
|
|
300
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindow", function() { return _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_44__["SurveyWindow"]; });
|
|
301
301
|
|
|
302
|
-
/* harmony import */ var
|
|
303
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
302
|
+
/* harmony import */ var _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../react/reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
|
|
303
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactQuestionFactory", function() { return _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_45__["ReactQuestionFactory"]; });
|
|
304
304
|
|
|
305
|
-
/* harmony import */ var
|
|
306
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
305
|
+
/* harmony import */ var _react_element_factory__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../react/element-factory */ "./src/react/element-factory.tsx");
|
|
306
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactElementFactory", function() { return _react_element_factory__WEBPACK_IMPORTED_MODULE_46__["ReactElementFactory"]; });
|
|
307
307
|
|
|
308
|
-
/* harmony import */ var
|
|
309
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
308
|
+
/* harmony import */ var _react_imagepicker__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../react/imagepicker */ "./src/react/imagepicker.tsx");
|
|
309
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImagePicker", function() { return _react_imagepicker__WEBPACK_IMPORTED_MODULE_47__["SurveyQuestionImagePicker"]; });
|
|
310
310
|
|
|
311
|
-
/* harmony import */ var
|
|
312
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
311
|
+
/* harmony import */ var _react_image__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../react/image */ "./src/react/image.tsx");
|
|
312
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImage", function() { return _react_image__WEBPACK_IMPORTED_MODULE_48__["SurveyQuestionImage"]; });
|
|
313
313
|
|
|
314
|
-
/* harmony import */ var
|
|
315
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
314
|
+
/* harmony import */ var _react_signaturepad__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../react/signaturepad */ "./src/react/signaturepad.tsx");
|
|
315
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionSignaturePad", function() { return _react_signaturepad__WEBPACK_IMPORTED_MODULE_49__["SurveyQuestionSignaturePad"]; });
|
|
316
316
|
|
|
317
|
-
/* harmony import */ var
|
|
318
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
317
|
+
/* harmony import */ var _react_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../react/reactquestion_buttongroup */ "./src/react/reactquestion_buttongroup.tsx");
|
|
318
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionButtonGroup", function() { return _react_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_50__["SurveyQuestionButtonGroup"]; });
|
|
319
319
|
|
|
320
|
-
/* harmony
|
|
320
|
+
/* harmony import */ var _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../react/reactquestion_custom */ "./src/react/reactquestion_custom.tsx");
|
|
321
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionCustom", function() { return _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_51__["SurveyQuestionCustom"]; });
|
|
321
322
|
|
|
322
|
-
/* harmony
|
|
323
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popup", function() { return _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_51__["Popup"]; });
|
|
323
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionComposite", function() { return _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_51__["SurveyQuestionComposite"]; });
|
|
324
324
|
|
|
325
|
-
/* harmony import */ var
|
|
326
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
325
|
+
/* harmony import */ var _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../react/components/popup/popup */ "./src/react/components/popup/popup.tsx");
|
|
326
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popup", function() { return _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_52__["Popup"]; });
|
|
327
327
|
|
|
328
|
-
/* harmony import */ var
|
|
329
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
328
|
+
/* harmony import */ var _react_components_list_list__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../react/components/list/list */ "./src/react/components/list/list.tsx");
|
|
329
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "List", function() { return _react_components_list_list__WEBPACK_IMPORTED_MODULE_53__["List"]; });
|
|
330
330
|
|
|
331
|
-
/* harmony import */ var
|
|
332
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
331
|
+
/* harmony import */ var _react_components_title_title_actions__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../react/components/title/title-actions */ "./src/react/components/title/title-actions.tsx");
|
|
332
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleActions", function() { return _react_components_title_title_actions__WEBPACK_IMPORTED_MODULE_54__["TitleActions"]; });
|
|
333
333
|
|
|
334
|
-
/* harmony import */ var
|
|
335
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
334
|
+
/* harmony import */ var _react_components_title_title_element__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../react/components/title/title-element */ "./src/react/components/title/title-element.tsx");
|
|
335
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleElement", function() { return _react_components_title_title_element__WEBPACK_IMPORTED_MODULE_55__["TitleElement"]; });
|
|
336
336
|
|
|
337
|
-
/* harmony import */ var
|
|
338
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
337
|
+
/* harmony import */ var _react_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../react/components/action-bar/action-bar */ "./src/react/components/action-bar/action-bar.tsx");
|
|
338
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyActionBar", function() { return _react_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_56__["SurveyActionBar"]; });
|
|
339
339
|
|
|
340
|
-
/* harmony import */ var
|
|
341
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
340
|
+
/* harmony import */ var _react_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../react/components/survey-header/logo-image */ "./src/react/components/survey-header/logo-image.tsx");
|
|
341
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LogoImage", function() { return _react_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_57__["LogoImage"]; });
|
|
342
342
|
|
|
343
|
-
/* harmony import */ var
|
|
344
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
343
|
+
/* harmony import */ var _react_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../react/components/survey-header/survey-header */ "./src/react/components/survey-header/survey-header.tsx");
|
|
344
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyHeader", function() { return _react_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_58__["SurveyHeader"]; });
|
|
345
345
|
|
|
346
|
-
/* harmony import */ var
|
|
347
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
346
|
+
/* harmony import */ var _react_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../react/components/svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
|
347
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SvgIcon", function() { return _react_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_59__["SvgIcon"]; });
|
|
348
348
|
|
|
349
|
-
/* harmony import */ var
|
|
350
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
349
|
+
/* harmony import */ var _react_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../react/components/matrix-actions/remove-button/remove-button */ "./src/react/components/matrix-actions/remove-button/remove-button.tsx");
|
|
350
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicRemoveButton", function() { return _react_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_60__["SurveyQuestionMatrixDynamicRemoveButton"]; });
|
|
351
351
|
|
|
352
|
-
/* harmony import */ var
|
|
353
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
352
|
+
/* harmony import */ var _react_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../react/components/matrix-actions/detail-button/detail-button */ "./src/react/components/matrix-actions/detail-button/detail-button.tsx");
|
|
353
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDetailButton", function() { return _react_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_61__["SurveyQuestionMatrixDetailButton"]; });
|
|
354
354
|
|
|
355
|
-
/* harmony import */ var
|
|
356
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
355
|
+
/* harmony import */ var _react_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../react/components/matrix-actions/drag-drop-icon/drag-drop-icon */ "./src/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.tsx");
|
|
356
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicDragDropIcon", function() { return _react_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_62__["SurveyQuestionMatrixDynamicDragDropIcon"]; });
|
|
357
357
|
|
|
358
|
-
/* harmony import */ var
|
|
359
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
358
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-add-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-add-btn.tsx");
|
|
359
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicAddButton", function() { return _react_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_63__["SurveyQuestionPanelDynamicAddButton"]; });
|
|
360
360
|
|
|
361
|
-
/* harmony import */ var
|
|
362
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
361
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-remove-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-remove-btn.tsx");
|
|
362
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicRemoveButton", function() { return _react_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_64__["SurveyQuestionPanelDynamicRemoveButton"]; });
|
|
363
363
|
|
|
364
|
-
/* harmony import */ var
|
|
365
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
364
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-prev-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-prev-btn.tsx");
|
|
365
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicPrevButton", function() { return _react_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_65__["SurveyQuestionPanelDynamicPrevButton"]; });
|
|
366
366
|
|
|
367
|
-
/* harmony import */ var
|
|
368
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
367
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-next-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-next-btn.tsx");
|
|
368
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicNextButton", function() { return _react_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_66__["SurveyQuestionPanelDynamicNextButton"]; });
|
|
369
369
|
|
|
370
|
-
/* harmony import */ var
|
|
371
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
370
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-progress-text */ "./src/react/components/paneldynamic-actions/paneldynamic-progress-text.tsx");
|
|
371
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicProgressText", function() { return _react_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_67__["SurveyQuestionPanelDynamicProgressText"]; });
|
|
372
372
|
|
|
373
|
-
/* harmony import */ var
|
|
374
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
373
|
+
/* harmony import */ var _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../react/components/survey-actions/survey-nav-button */ "./src/react/components/survey-actions/survey-nav-button.tsx");
|
|
374
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyNavigationButton", function() { return _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_68__["SurveyNavigationButton"]; });
|
|
375
375
|
|
|
376
|
-
/* harmony import */ var
|
|
377
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
376
|
+
/* harmony import */ var _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../react/components/matrix/row */ "./src/react/components/matrix/row.tsx");
|
|
377
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRow", function() { return _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_69__["MatrixRow"]; });
|
|
378
378
|
|
|
379
|
-
/* harmony import */ var
|
|
380
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
379
|
+
/* harmony import */ var _react_components_skeleton__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../react/components/skeleton */ "./src/react/components/skeleton.tsx");
|
|
380
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return _react_components_skeleton__WEBPACK_IMPORTED_MODULE_70__["Skeleton"]; });
|
|
381
381
|
|
|
382
|
-
/* harmony import */ var
|
|
383
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
382
|
+
/* harmony import */ var _react_components_notifier__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../react/components/notifier */ "./src/react/components/notifier.tsx");
|
|
383
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NotifierComponent", function() { return _react_components_notifier__WEBPACK_IMPORTED_MODULE_71__["NotifierComponent"]; });
|
|
384
384
|
|
|
385
|
-
/* harmony import */ var
|
|
386
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
385
|
+
/* harmony import */ var _react_components_components_container__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../react/components/components-container */ "./src/react/components/components-container.tsx");
|
|
386
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentsContainer", function() { return _react_components_components_container__WEBPACK_IMPORTED_MODULE_72__["ComponentsContainer"]; });
|
|
387
387
|
|
|
388
|
-
/* harmony import */ var
|
|
389
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
388
|
+
/* harmony import */ var _react_components_character_counter__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../react/components/character-counter */ "./src/react/components/character-counter.tsx");
|
|
389
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return _react_components_character_counter__WEBPACK_IMPORTED_MODULE_73__["CharacterCounterComponent"]; });
|
|
390
390
|
|
|
391
|
-
/* harmony import */ var
|
|
392
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
391
|
+
/* harmony import */ var _react_components_cover__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../react/components/cover */ "./src/react/components/cover.tsx");
|
|
392
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCellComponent", function() { return _react_components_cover__WEBPACK_IMPORTED_MODULE_74__["CoverCellComponent"]; });
|
|
393
393
|
|
|
394
|
-
/* harmony
|
|
395
|
-
|
|
394
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverComponent", function() { return _react_components_cover__WEBPACK_IMPORTED_MODULE_74__["CoverComponent"]; });
|
|
395
|
+
|
|
396
|
+
/* harmony import */ var _react_string_viewer__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../react/string-viewer */ "./src/react/string-viewer.tsx");
|
|
397
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_75__["SurveyLocStringViewer"]; });
|
|
398
|
+
|
|
399
|
+
/* harmony import */ var _react_string_editor__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../react/string-editor */ "./src/react/string-editor.tsx");
|
|
400
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _react_string_editor__WEBPACK_IMPORTED_MODULE_76__["SurveyLocStringEditor"]; });
|
|
401
|
+
|
|
402
|
+
/* harmony import */ var _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../react/components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
|
|
403
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_77__["LoadingIndicatorComponent"]; });
|
|
396
404
|
|
|
397
405
|
// react
|
|
398
406
|
|
|
@@ -468,6 +476,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
468
476
|
|
|
469
477
|
|
|
470
478
|
|
|
479
|
+
|
|
480
|
+
|
|
471
481
|
|
|
472
482
|
|
|
473
483
|
|
|
@@ -481,7 +491,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
481
491
|
/*!*********************************!*\
|
|
482
492
|
!*** ./src/entries/react-ui.ts ***!
|
|
483
493
|
\*********************************/
|
|
484
|
-
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, 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, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model, ResponsivityManager, VerticalResponsivityManager, unwrap */
|
|
494
|
+
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, 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, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, CoverCellComponent, CoverComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model, ResponsivityManager, VerticalResponsivityManager, unwrap */
|
|
485
495
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
486
496
|
|
|
487
497
|
"use strict";
|
|
@@ -557,6 +567,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
557
567
|
|
|
558
568
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionFile", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SurveyQuestionFile"]; });
|
|
559
569
|
|
|
570
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFileChooseButton", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SurveyFileChooseButton"]; });
|
|
571
|
+
|
|
560
572
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMultipleText", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SurveyQuestionMultipleText"]; });
|
|
561
573
|
|
|
562
574
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadiogroup", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SurveyQuestionRadiogroup"]; });
|
|
@@ -661,6 +673,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
661
673
|
|
|
662
674
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["CharacterCounterComponent"]; });
|
|
663
675
|
|
|
676
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCellComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["CoverCellComponent"]; });
|
|
677
|
+
|
|
678
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["CoverComponent"]; });
|
|
679
|
+
|
|
664
680
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SurveyLocStringViewer"]; });
|
|
665
681
|
|
|
666
682
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SurveyLocStringEditor"]; });
|
|
@@ -696,7 +712,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
696
712
|
|
|
697
713
|
|
|
698
714
|
|
|
699
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.
|
|
715
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.110", "survey-react-ui");
|
|
700
716
|
|
|
701
717
|
|
|
702
718
|
/***/ }),
|
|
@@ -1462,6 +1478,169 @@ _element_factory__WEBPACK_IMPORTED_MODULE_1__["ReactElementFactory"].Instance.re
|
|
|
1462
1478
|
});
|
|
1463
1479
|
|
|
1464
1480
|
|
|
1481
|
+
/***/ }),
|
|
1482
|
+
|
|
1483
|
+
/***/ "./src/react/components/cover.tsx":
|
|
1484
|
+
/*!****************************************!*\
|
|
1485
|
+
!*** ./src/react/components/cover.tsx ***!
|
|
1486
|
+
\****************************************/
|
|
1487
|
+
/*! exports provided: CoverCellComponent, CoverComponent */
|
|
1488
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1489
|
+
|
|
1490
|
+
"use strict";
|
|
1491
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1492
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CoverCellComponent", function() { return CoverCellComponent; });
|
|
1493
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CoverComponent", function() { return CoverComponent; });
|
|
1494
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
1495
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1496
|
+
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
|
1497
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../element-factory */ "./src/react/element-factory.tsx");
|
|
1498
|
+
/* harmony import */ var _title_title_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./title/title-element */ "./src/react/components/title/title-element.tsx");
|
|
1499
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
1500
|
+
var extendStatics = function (d, b) {
|
|
1501
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1502
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1503
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
1504
|
+
return extendStatics(d, b);
|
|
1505
|
+
};
|
|
1506
|
+
return function (d, b) {
|
|
1507
|
+
if (typeof b !== "function" && b !== null)
|
|
1508
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1509
|
+
extendStatics(d, b);
|
|
1510
|
+
function __() { this.constructor = d; }
|
|
1511
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1512
|
+
};
|
|
1513
|
+
})();
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
var CoverCellComponent = /** @class */ (function (_super) {
|
|
1519
|
+
__extends(CoverCellComponent, _super);
|
|
1520
|
+
function CoverCellComponent() {
|
|
1521
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1522
|
+
}
|
|
1523
|
+
Object.defineProperty(CoverCellComponent.prototype, "model", {
|
|
1524
|
+
get: function () {
|
|
1525
|
+
return this.props.model;
|
|
1526
|
+
},
|
|
1527
|
+
enumerable: false,
|
|
1528
|
+
configurable: true
|
|
1529
|
+
});
|
|
1530
|
+
CoverCellComponent.prototype.renderLogoImage = function () {
|
|
1531
|
+
var componentName = this.model.survey.getElementWrapperComponentName(this.model.survey, "logo-image");
|
|
1532
|
+
var componentData = this.model.survey.getElementWrapperComponentData(this.model.survey, "logo-image");
|
|
1533
|
+
return _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement(componentName, {
|
|
1534
|
+
data: componentData,
|
|
1535
|
+
});
|
|
1536
|
+
};
|
|
1537
|
+
CoverCellComponent.prototype.render = function () {
|
|
1538
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.css, style: this.model.style },
|
|
1539
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-cover__cell-content", style: this.model.contentStyle },
|
|
1540
|
+
this.model.showLogo ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-cover__logo" }, this.renderLogoImage())) : null,
|
|
1541
|
+
this.model.showTitle ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-cover__title", style: { maxWidth: this.model.textWidth } },
|
|
1542
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__["TitleElement"], { element: this.model.survey }))) : null,
|
|
1543
|
+
this.model.showDescription ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-cover__description", style: { maxWidth: this.model.textWidth } },
|
|
1544
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h5", { className: this.model.survey.css.description }, _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"].renderLocString(this.model.survey.locDescription)))) : null)));
|
|
1545
|
+
};
|
|
1546
|
+
return CoverCellComponent;
|
|
1547
|
+
}(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component));
|
|
1548
|
+
|
|
1549
|
+
var CoverComponent = /** @class */ (function (_super) {
|
|
1550
|
+
__extends(CoverComponent, _super);
|
|
1551
|
+
function CoverComponent() {
|
|
1552
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1553
|
+
}
|
|
1554
|
+
Object.defineProperty(CoverComponent.prototype, "model", {
|
|
1555
|
+
get: function () {
|
|
1556
|
+
return this.props.model;
|
|
1557
|
+
},
|
|
1558
|
+
enumerable: false,
|
|
1559
|
+
configurable: true
|
|
1560
|
+
});
|
|
1561
|
+
CoverComponent.prototype.getStateElement = function () {
|
|
1562
|
+
return this.model;
|
|
1563
|
+
};
|
|
1564
|
+
CoverComponent.prototype.renderElement = function () {
|
|
1565
|
+
this.model.survey = this.props.survey;
|
|
1566
|
+
if (!(this.props.survey.titleView === "cover" && this.props.survey.renderedHasHeader)) {
|
|
1567
|
+
return null;
|
|
1568
|
+
}
|
|
1569
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.coverClasses, style: { height: this.model.renderedHeight, backgroundColor: this.model.backgroundColor } },
|
|
1570
|
+
this.model.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { style: this.model.backgroundImageStyle, className: this.model.backgroundImageClasses }) : null,
|
|
1571
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.contentClasses }, this.model.cells.map(function (cell, index) { return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(CoverCellComponent, { key: index, model: cell }); }))));
|
|
1572
|
+
};
|
|
1573
|
+
return CoverComponent;
|
|
1574
|
+
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"]));
|
|
1575
|
+
|
|
1576
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.registerElement("sv-cover", function (props) {
|
|
1577
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(CoverComponent, props);
|
|
1578
|
+
});
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
/***/ }),
|
|
1582
|
+
|
|
1583
|
+
/***/ "./src/react/components/file-actions/file-choose-button.tsx":
|
|
1584
|
+
/*!******************************************************************!*\
|
|
1585
|
+
!*** ./src/react/components/file-actions/file-choose-button.tsx ***!
|
|
1586
|
+
\******************************************************************/
|
|
1587
|
+
/*! exports provided: SurveyFileChooseButton */
|
|
1588
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1589
|
+
|
|
1590
|
+
"use strict";
|
|
1591
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1592
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyFileChooseButton", function() { return SurveyFileChooseButton; });
|
|
1593
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
1594
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1595
|
+
/* harmony import */ var _reactSurvey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../reactSurvey */ "./src/react/reactSurvey.tsx");
|
|
1596
|
+
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
|
1597
|
+
/* harmony import */ var _svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
|
1598
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../element-factory */ "./src/react/element-factory.tsx");
|
|
1599
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
1600
|
+
var extendStatics = function (d, b) {
|
|
1601
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1602
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1603
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
1604
|
+
return extendStatics(d, b);
|
|
1605
|
+
};
|
|
1606
|
+
return function (d, b) {
|
|
1607
|
+
if (typeof b !== "function" && b !== null)
|
|
1608
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1609
|
+
extendStatics(d, b);
|
|
1610
|
+
function __() { this.constructor = d; }
|
|
1611
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1612
|
+
};
|
|
1613
|
+
})();
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
var SurveyFileChooseButton = /** @class */ (function (_super) {
|
|
1620
|
+
__extends(SurveyFileChooseButton, _super);
|
|
1621
|
+
function SurveyFileChooseButton(props) {
|
|
1622
|
+
return _super.call(this, props) || this;
|
|
1623
|
+
}
|
|
1624
|
+
Object.defineProperty(SurveyFileChooseButton.prototype, "question", {
|
|
1625
|
+
get: function () {
|
|
1626
|
+
return (this.props.item && this.props.item.data.question) || this.props.data.question;
|
|
1627
|
+
},
|
|
1628
|
+
enumerable: false,
|
|
1629
|
+
configurable: true
|
|
1630
|
+
});
|
|
1631
|
+
SurveyFileChooseButton.prototype.render = function () {
|
|
1632
|
+
return Object(_reactSurvey__WEBPACK_IMPORTED_MODULE_1__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("label", { role: "button", tabIndex: 0, className: this.question.getChooseFileCss(), htmlFor: this.question.inputId, "aria-label": this.question.chooseButtonText },
|
|
1633
|
+
(!!this.question.cssClasses.chooseFileIconId) ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { title: this.question.chooseButtonText, iconName: this.question.cssClasses.chooseFileIconId, size: "auto" }) : null,
|
|
1634
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", null, this.question.chooseButtonText)));
|
|
1635
|
+
};
|
|
1636
|
+
return SurveyFileChooseButton;
|
|
1637
|
+
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__["ReactSurveyElement"]));
|
|
1638
|
+
|
|
1639
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_4__["ReactElementFactory"].Instance.registerElement("sv-file-choose-btn", function (props) {
|
|
1640
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(SurveyFileChooseButton, props);
|
|
1641
|
+
});
|
|
1642
|
+
|
|
1643
|
+
|
|
1465
1644
|
/***/ }),
|
|
1466
1645
|
|
|
1467
1646
|
/***/ "./src/react/components/list/list-item.tsx":
|
|
@@ -3954,7 +4133,7 @@ var SurveyElementHeader = /** @class */ (function (_super) {
|
|
|
3954
4133
|
? _reactquestion_element__WEBPACK_IMPORTED_MODULE_3__["SurveyElementBase"].renderQuestionDescription(this.element)
|
|
3955
4134
|
: null;
|
|
3956
4135
|
var additionalTitleToolbarElement = !!element.additionalTitleToolbar ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_1__["SurveyActionBar"], { model: element.additionalTitleToolbar }) : null;
|
|
3957
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: element.cssHeader, onClick: element.clickTitleFunction },
|
|
4136
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: element.cssHeader, onClick: function (e) { return element.clickTitleFunction && element.clickTitleFunction(e.nativeEvent); } },
|
|
3958
4137
|
title,
|
|
3959
4138
|
description,
|
|
3960
4139
|
additionalTitleToolbarElement));
|
|
@@ -5234,7 +5413,7 @@ var Survey = /** @class */ (function (_super) {
|
|
|
5234
5413
|
renderResult = this.renderSurvey();
|
|
5235
5414
|
}
|
|
5236
5415
|
var backgroundImage = !!this.survey.renderBackgroundImage ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.rootBackgroundImage, style: this.survey.backgroundImageStyle }) : null;
|
|
5237
|
-
var header = react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_5__["SurveyHeader"], { survey: this.survey });
|
|
5416
|
+
var header = this.survey.titleView === "title" ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_5__["SurveyHeader"], { survey: this.survey }) : null;
|
|
5238
5417
|
var onSubmit = function (event) {
|
|
5239
5418
|
event.preventDefault();
|
|
5240
5419
|
};
|
|
@@ -5274,7 +5453,8 @@ var Survey = /** @class */ (function (_super) {
|
|
|
5274
5453
|
return null;
|
|
5275
5454
|
var htmlValue = { __html: this.survey.processedCompletedHtml };
|
|
5276
5455
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
|
5277
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedCss })
|
|
5456
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedCss }),
|
|
5457
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "completePage", needRenderWrapper: false })));
|
|
5278
5458
|
};
|
|
5279
5459
|
Survey.prototype.renderCompletedBefore = function () {
|
|
5280
5460
|
var htmlValue = { __html: this.survey.processedCompletedBeforeHtml };
|
|
@@ -7401,8 +7581,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7401
7581
|
/* harmony import */ var _components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
|
7402
7582
|
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
|
7403
7583
|
/* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
|
|
7404
|
-
/* harmony import */ var
|
|
7405
|
-
/* harmony import */ var
|
|
7584
|
+
/* harmony import */ var _components_loading_indicator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
|
|
7585
|
+
/* harmony import */ var _components_action_bar_action_bar_item__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/action-bar/action-bar-item */ "./src/react/components/action-bar/action-bar-item.tsx");
|
|
7586
|
+
/* harmony import */ var _entries_react_ui_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../entries/react-ui-model */ "./src/entries/react-ui-model.ts");
|
|
7406
7587
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
7407
7588
|
var extendStatics = function (d, b) {
|
|
7408
7589
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -7425,6 +7606,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
7425
7606
|
|
|
7426
7607
|
|
|
7427
7608
|
|
|
7609
|
+
|
|
7428
7610
|
var SurveyQuestionFile = /** @class */ (function (_super) {
|
|
7429
7611
|
__extends(SurveyQuestionFile, _super);
|
|
7430
7612
|
function SurveyQuestionFile(props) {
|
|
@@ -7437,54 +7619,43 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
|
|
|
7437
7619
|
enumerable: false,
|
|
7438
7620
|
configurable: true
|
|
7439
7621
|
});
|
|
7440
|
-
SurveyQuestionFile.prototype.renderLoadingIndicator = function () {
|
|
7441
|
-
return this.question.showLoadingIndicator ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_loading_indicator__WEBPACK_IMPORTED_MODULE_6__["LoadingIndicatorComponent"], null) : null;
|
|
7442
|
-
};
|
|
7443
7622
|
SurveyQuestionFile.prototype.renderElement = function () {
|
|
7444
7623
|
var _this = this;
|
|
7445
|
-
var preview = this.renderPreview();
|
|
7446
|
-
var
|
|
7447
|
-
var
|
|
7624
|
+
var preview = this.question.allowShowPreview ? this.renderPreview() : null;
|
|
7625
|
+
var loadingIndicator = this.question.showLoadingIndicator ? this.renderLoadingIndicator() : null;
|
|
7626
|
+
var video = this.question.isPlayingVideo ? this.renderVideo() : null;
|
|
7627
|
+
var fileDecorator = this.question.showFileDecorator ? this.renderFileDecorator() : null;
|
|
7448
7628
|
var clearButton = this.question.showRemoveButton ? this.renderClearButton(this.question.cssClasses.removeButton) : null;
|
|
7449
7629
|
var clearButtonBottom = this.question.showRemoveButtonBottom ? this.renderClearButton(this.question.cssClasses.removeButtonBottom) : null;
|
|
7450
7630
|
var fileNavigator = this.question.fileNavigatorVisible ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_1__["SurveyActionBar"], { model: this.question.fileNavigator })) : null;
|
|
7451
|
-
fileInput = (this.isDisplayMode ?
|
|
7452
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "file", disabled: this.isDisplayMode, className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, onChange: !this.isDisplayMode ? this.question.doChange : (function () { }), multiple: this.question.allowMultiple, placeholder: this.question.title, accept: this.question.acceptedTypes })
|
|
7453
|
-
:
|
|
7454
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "file", disabled: this.isDisplayMode, tabIndex: -1, className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, onChange: !this.isDisplayMode ? this.question.doChange : (function () { }), "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, multiple: this.question.allowMultiple, title: this.question.inputTitle, accept: this.question.acceptedTypes, capture: this.question.renderCapture }));
|
|
7631
|
+
var fileInput = (this.isDisplayMode ?
|
|
7632
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "file", disabled: this.isDisplayMode, className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, onChange: !this.isDisplayMode ? this.question.doChange : (function () { }), multiple: this.question.allowMultiple, placeholder: this.question.title, accept: this.question.acceptedTypes }) : this.question.hasFileUI ?
|
|
7633
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "file", disabled: this.isDisplayMode, tabIndex: -1, className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, onChange: !this.isDisplayMode ? this.question.doChange : (function () { }), "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, multiple: this.question.allowMultiple, title: this.question.inputTitle, accept: this.question.acceptedTypes, capture: this.question.renderCapture }) : null);
|
|
7455
7634
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.fileRootCss },
|
|
7456
7635
|
fileInput,
|
|
7457
7636
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.dragArea, onDrop: this.question.onDrop, onDragOver: this.question.onDragOver, onDragLeave: this.question.onDragLeave, onDragEnter: this.question.onDragEnter },
|
|
7458
7637
|
fileDecorator,
|
|
7638
|
+
loadingIndicator,
|
|
7639
|
+
video,
|
|
7459
7640
|
clearButton,
|
|
7460
7641
|
preview,
|
|
7461
7642
|
clearButtonBottom,
|
|
7462
7643
|
fileNavigator)));
|
|
7463
7644
|
};
|
|
7464
7645
|
SurveyQuestionFile.prototype.renderFileDecorator = function () {
|
|
7465
|
-
var
|
|
7466
|
-
var
|
|
7646
|
+
var chooseButton = this.question.showChooseButton ? this.renderChooseButton() : null;
|
|
7647
|
+
var actionsContainer = this.question.actionsContainerVisible ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_1__["SurveyActionBar"], { model: this.question.actionsContainer }) : null;
|
|
7648
|
+
var noFileChosen = this.question.isEmpty() ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.noFileChosen }, this.question.noFileChosenCaption)) : null;
|
|
7467
7649
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getFileDecoratorCss() },
|
|
7468
|
-
loadingIndicator,
|
|
7469
|
-
chooseButton));
|
|
7470
|
-
};
|
|
7471
|
-
SurveyQuestionFile.prototype.renderChooseButton = function () {
|
|
7472
|
-
var noFileChosen = null;
|
|
7473
|
-
var chooseFile = null;
|
|
7474
|
-
if (!this.question.showChooseButton)
|
|
7475
|
-
return null;
|
|
7476
|
-
chooseFile = this.question.isReadOnly ? null : Object(_reactSurvey__WEBPACK_IMPORTED_MODULE_5__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("label", { role: "button", tabIndex: 0, className: this.question.getChooseFileCss(), htmlFor: this.question.inputId, "aria-label": this.question.chooseButtonText },
|
|
7477
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, this.question.chooseButtonText),
|
|
7478
|
-
(!!this.question.cssClasses.chooseFileIconId) ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { title: this.question.chooseButtonText, iconName: this.question.cssClasses.chooseFileIconId, size: "auto" }) : null));
|
|
7479
|
-
if (this.question.isEmpty()) {
|
|
7480
|
-
noFileChosen = (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.noFileChosen }, this.question.noFileChosenCaption));
|
|
7481
|
-
}
|
|
7482
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
|
7483
7650
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.question.renderedPlaceholder),
|
|
7484
7651
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.wrapper },
|
|
7485
|
-
|
|
7652
|
+
chooseButton,
|
|
7653
|
+
actionsContainer,
|
|
7486
7654
|
noFileChosen)));
|
|
7487
7655
|
};
|
|
7656
|
+
SurveyQuestionFile.prototype.renderChooseButton = function () {
|
|
7657
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_entries_react_ui_model__WEBPACK_IMPORTED_MODULE_7__["SurveyFileChooseButton"], { data: { question: this.question } });
|
|
7658
|
+
};
|
|
7488
7659
|
SurveyQuestionFile.prototype.renderClearButton = function (className) {
|
|
7489
7660
|
return !this.question.isUploading ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("button", { type: "button", onClick: this.question.doClean, className: className },
|
|
7490
7661
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, this.question.clearButtonCaption),
|
|
@@ -7499,10 +7670,19 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
|
|
|
7499
7670
|
_this.question.doDownloadFile(event, val);
|
|
7500
7671
|
}, title: val.name, download: val.name, style: { width: this.question.imageWidth } }, val.name)));
|
|
7501
7672
|
};
|
|
7673
|
+
SurveyQuestionFile.prototype.renderLoadingIndicator = function () {
|
|
7674
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.loadingIndicator },
|
|
7675
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_loading_indicator__WEBPACK_IMPORTED_MODULE_5__["LoadingIndicatorComponent"], null));
|
|
7676
|
+
};
|
|
7677
|
+
SurveyQuestionFile.prototype.renderVideo = function () {
|
|
7678
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.videoContainer },
|
|
7679
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar_item__WEBPACK_IMPORTED_MODULE_6__["SurveyAction"], { item: this.question.changeCameraAction }),
|
|
7680
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar_item__WEBPACK_IMPORTED_MODULE_6__["SurveyAction"], { item: this.question.closeCameraAction }),
|
|
7681
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("video", { autoPlay: true, playsInline: true, id: this.question.videoId, className: this.question.cssClasses.video }),
|
|
7682
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar_item__WEBPACK_IMPORTED_MODULE_6__["SurveyAction"], { item: this.question.takePictureAction })));
|
|
7683
|
+
};
|
|
7502
7684
|
SurveyQuestionFile.prototype.renderPreview = function () {
|
|
7503
7685
|
var _this = this;
|
|
7504
|
-
if (!this.question.allowShowPreview)
|
|
7505
|
-
return null;
|
|
7506
7686
|
var previews = this.question.previewValue.map(function (val, index) {
|
|
7507
7687
|
if (!val)
|
|
7508
7688
|
return null;
|
|
@@ -7510,7 +7690,7 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
|
|
|
7510
7690
|
_this.renderFileSign(_this.question.cssClasses.fileSign, val),
|
|
7511
7691
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: _this.question.cssClasses.imageWrapper },
|
|
7512
7692
|
_this.question.canPreviewImage(val) ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("img", { src: val.content, style: { height: _this.question.imageHeight, width: _this.question.imageWidth }, alt: "File preview" })) : (_this.question.cssClasses.defaultImage ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { iconName: _this.question.cssClasses.defaultImageIconId, size: "auto", className: _this.question.cssClasses.defaultImage })) : null),
|
|
7513
|
-
val.name && !_this.question.isReadOnly ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: _this.question.
|
|
7693
|
+
val.name && !_this.question.isReadOnly ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: _this.question.getRemoveButtonCss(), onClick: function () { return _this.question.doRemoveFile(val); } },
|
|
7514
7694
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: _this.question.cssClasses.removeFile }, _this.question.removeFileCaption),
|
|
7515
7695
|
(_this.question.cssClasses.removeFileSvgIconId) ?
|
|
7516
7696
|
(react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { title: _this.question.removeFileCaption, iconName: _this.question.cssClasses.removeFileSvgIconId, size: "auto", className: _this.question.cssClasses.removeFileSvg })) : null)) : null),
|
|
@@ -8308,7 +8488,7 @@ var SurveyQuestionMatrixDynamic = /** @class */ (function (_super) {
|
|
|
8308
8488
|
SurveyQuestionMatrixDynamic.prototype.renderNoRowsContent = function (cssClasses) {
|
|
8309
8489
|
var text = this.renderLocString(this.matrix.locEmptyRowsText);
|
|
8310
8490
|
var textDiv = react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.emptyRowsText }, text);
|
|
8311
|
-
var btn = this.renderAddRowButton(cssClasses, true);
|
|
8491
|
+
var btn = this.matrix.renderedTable.showAddRow ? this.renderAddRowButton(cssClasses, true) : undefined;
|
|
8312
8492
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.emptyRowsSection },
|
|
8313
8493
|
textDiv,
|
|
8314
8494
|
btn));
|
|
@@ -10593,6 +10773,7 @@ var settings = {
|
|
|
10593
10773
|
* Specifies how to render the input field of [Text](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model) questions in [read-only](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#readOnly) mode: as a disabled `<input>` element or as a `<div>` element with a non-editable question value within it.
|
|
10594
10774
|
*/
|
|
10595
10775
|
readOnly: {
|
|
10776
|
+
enableValidation: false,
|
|
10596
10777
|
commentRenderMode: "textarea",
|
|
10597
10778
|
textRenderMode: "input"
|
|
10598
10779
|
},
|
|
@@ -11072,7 +11253,7 @@ var VerticalResponsivityManager = /** @class */ (function (_super) {
|
|
|
11072
11253
|
/*!****************************!*\
|
|
11073
11254
|
!*** ./src/utils/utils.ts ***!
|
|
11074
11255
|
\****************************/
|
|
11075
|
-
/*! exports provided: unwrap, getRenderedSize, getRenderedStyleSize, doKey2ClickBlur, doKey2ClickUp, doKey2ClickDown, sanitizeEditableContent, Logger, mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild */
|
|
11256
|
+
/*! exports provided: unwrap, getRenderedSize, getRenderedStyleSize, doKey2ClickBlur, doKey2ClickUp, doKey2ClickDown, sanitizeEditableContent, Logger, mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild */
|
|
11076
11257
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11077
11258
|
|
|
11078
11259
|
"use strict";
|
|
@@ -11102,6 +11283,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11102
11283
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "findScrollableParent", function() { return findScrollableParent; });
|
|
11103
11284
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "scrollElementByChildId", function() { return scrollElementByChildId; });
|
|
11104
11285
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "navigateToUrl", function() { return navigateToUrl; });
|
|
11286
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wrapUrlForBackgroundImage", function() { return wrapUrlForBackgroundImage; });
|
|
11105
11287
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return createSvg; });
|
|
11106
11288
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getIconNameFromProxy", function() { return getIconNameFromProxy; });
|
|
11107
11289
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "increaseHeightByContent", function() { return increaseHeightByContent; });
|
|
@@ -11252,6 +11434,9 @@ function navigateToUrl(url) {
|
|
|
11252
11434
|
return;
|
|
11253
11435
|
window.location.href = url;
|
|
11254
11436
|
}
|
|
11437
|
+
function wrapUrlForBackgroundImage(url) {
|
|
11438
|
+
return !!url ? ["url(", url, ")"].join("") : "";
|
|
11439
|
+
}
|
|
11255
11440
|
function getIconNameFromProxy(iconName) {
|
|
11256
11441
|
if (!iconName)
|
|
11257
11442
|
return iconName;
|