survey-creator-react 1.11.1 → 1.11.3
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 +4 -4
- package/survey-creator-react.js +207 -133
- package/survey-creator-react.js.map +1 -1
- package/survey-creator-react.min.js +2 -2
- package/typings/entries/index.d.ts +3 -2
- package/typings/tabs/Translation.d.ts +9 -9
- package/typings/tabs/TranslationLineSkeleton.d.ts +4 -4
- package/typings/tabs/translation/TranslateFromAction.d.ts +10 -0
- package/typings/tabs/translation/Translation.d.ts +9 -0
- package/typings/tabs/translation/TranslationLineSkeleton.d.ts +4 -0
- package/typings/toolbox/AdaptiveToolbox.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-react",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.3",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"ace-builds": "^1.4.12",
|
|
30
30
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0",
|
|
31
31
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0",
|
|
32
|
-
"survey-core": "1.11.
|
|
33
|
-
"survey-react-ui": "1.11.
|
|
34
|
-
"survey-creator-core": "1.11.
|
|
32
|
+
"survey-core": "1.11.3",
|
|
33
|
+
"survey-react-ui": "1.11.3",
|
|
34
|
+
"survey-creator-core": "1.11.3"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"ace-builds": {
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.11.
|
|
2
|
+
* SurveyJS Creator React v1.11.3
|
|
3
3
|
* (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -3236,7 +3236,7 @@ var __spreadArrays = function () {
|
|
|
3236
3236
|
/*!******************************!*\
|
|
3237
3237
|
!*** ./src/entries/index.ts ***!
|
|
3238
3238
|
\******************************/
|
|
3239
|
-
/*! exports provided: Version, SurveyCreatorComponent, SurveyCreator, RowWrapper, QuestionAdornerComponent, QuestionWrapperHeader, QuestionWrapperFooter, QuestionBanner, QuestionDropdownAdornerComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CreatorSurveyPageComponent, PanelAdornerComponent, LogoImageComponent, SurveyQuestionLinkValue, SurveyElementEmbeddedSurvey, QuestionEditorContentComponent, ItemValueAdornerComponent, ImageItemValueAdornerComponent, MatrixCellAdornerComponent, SurveyResults, SurveyResultsByRow, SurveyCreatorToolboxTool, SurveyCreatorToolboxItem, SurveyCreatorToolboxCategory, Toolbox, AdaptiveToolbox, TabbedMenuComponent, TabbedMenuItemComponent, SurveyNavigation, SidebarComponent, TranslationLineSkeleton, ActionButton, SurveyLocStringEditor, SurveyLogicOpertor, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicAddButtonComponent, TabLogicComponent, TabPreviewTestSurveyAgainComponent, TabPreviewSurveyComponent, TabThemeSurveyComponent, TabTranslationComponent, SurveySimulator, ReactMouseEvent, ReactDragEvent, PropertyGridComponent, SearchComponent, SwitcherComponent, SurveyQuestionSpinEditor, SurveyQuestionColor, SurveyQuestionFileEditor, SurveyQuestionTextWithReset, editorLocalization, localization, settings, svgBundle, SurveyLogic, SurveyLogicUI, SurveyQuestionEditorDefinition, ToolboxToolViewModel, PropertyGridEditorCollection, StylesManager */
|
|
3239
|
+
/*! exports provided: Version, SurveyCreatorComponent, SurveyCreator, RowWrapper, QuestionAdornerComponent, QuestionWrapperHeader, QuestionWrapperFooter, QuestionBanner, QuestionDropdownAdornerComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CreatorSurveyPageComponent, PanelAdornerComponent, LogoImageComponent, SurveyQuestionLinkValue, SurveyElementEmbeddedSurvey, QuestionEditorContentComponent, ItemValueAdornerComponent, ImageItemValueAdornerComponent, MatrixCellAdornerComponent, SurveyResults, SurveyResultsByRow, SurveyCreatorToolboxTool, SurveyCreatorToolboxItem, SurveyCreatorToolboxCategory, Toolbox, AdaptiveToolbox, TabbedMenuComponent, TabbedMenuItemComponent, SurveyNavigation, SidebarComponent, TranslationLineSkeleton, TranslateFromAction, ActionButton, SurveyLocStringEditor, SurveyLogicOpertor, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicAddButtonComponent, TabLogicComponent, TabPreviewTestSurveyAgainComponent, TabPreviewSurveyComponent, TabThemeSurveyComponent, TabTranslationComponent, SurveySimulator, ReactMouseEvent, ReactDragEvent, PropertyGridComponent, SearchComponent, SwitcherComponent, SurveyQuestionSpinEditor, SurveyQuestionColor, SurveyQuestionFileEditor, SurveyQuestionTextWithReset, editorLocalization, localization, settings, svgBundle, SurveyLogic, SurveyLogicUI, SurveyQuestionEditorDefinition, ToolboxToolViewModel, PropertyGridEditorCollection, StylesManager */
|
|
3240
3240
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3241
3241
|
|
|
3242
3242
|
"use strict";
|
|
@@ -3337,103 +3337,106 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3337
3337
|
/* harmony import */ var _SideBar__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../SideBar */ "./src/SideBar.tsx");
|
|
3338
3338
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SidebarComponent", function() { return _SideBar__WEBPACK_IMPORTED_MODULE_28__["SidebarComponent"]; });
|
|
3339
3339
|
|
|
3340
|
-
/* harmony import */ var
|
|
3341
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TranslationLineSkeleton", function() { return
|
|
3340
|
+
/* harmony import */ var _tabs_translation_TranslationLineSkeleton__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../tabs/translation/TranslationLineSkeleton */ "./src/tabs/translation/TranslationLineSkeleton.tsx");
|
|
3341
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TranslationLineSkeleton", function() { return _tabs_translation_TranslationLineSkeleton__WEBPACK_IMPORTED_MODULE_29__["TranslationLineSkeleton"]; });
|
|
3342
3342
|
|
|
3343
|
-
/* harmony import */ var
|
|
3344
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3343
|
+
/* harmony import */ var _tabs_translation_TranslateFromAction__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../tabs/translation/TranslateFromAction */ "./src/tabs/translation/TranslateFromAction.tsx");
|
|
3344
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TranslateFromAction", function() { return _tabs_translation_TranslateFromAction__WEBPACK_IMPORTED_MODULE_30__["TranslateFromAction"]; });
|
|
3345
3345
|
|
|
3346
|
-
/* harmony import */ var
|
|
3347
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3346
|
+
/* harmony import */ var _ActionButton__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../ActionButton */ "./src/ActionButton.tsx");
|
|
3347
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ActionButton", function() { return _ActionButton__WEBPACK_IMPORTED_MODULE_31__["ActionButton"]; });
|
|
3348
3348
|
|
|
3349
|
-
/* harmony import */ var
|
|
3350
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3349
|
+
/* harmony import */ var _StringEditor__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../StringEditor */ "./src/StringEditor.tsx");
|
|
3350
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _StringEditor__WEBPACK_IMPORTED_MODULE_32__["SurveyLocStringEditor"]; });
|
|
3351
3351
|
|
|
3352
|
-
/* harmony import */ var
|
|
3353
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3352
|
+
/* harmony import */ var _tabs_logic_operator__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../tabs/logic-operator */ "./src/tabs/logic-operator.tsx");
|
|
3353
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLogicOpertor", function() { return _tabs_logic_operator__WEBPACK_IMPORTED_MODULE_33__["SurveyLogicOpertor"]; });
|
|
3354
3354
|
|
|
3355
|
-
/* harmony import */ var
|
|
3356
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3355
|
+
/* harmony import */ var _tabs_Designer__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../tabs/Designer */ "./src/tabs/Designer.tsx");
|
|
3356
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabDesignerComponent", function() { return _tabs_Designer__WEBPACK_IMPORTED_MODULE_34__["TabDesignerComponent"]; });
|
|
3357
3357
|
|
|
3358
|
-
/* harmony import */ var
|
|
3359
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3358
|
+
/* harmony import */ var _tabs_JsonEditorAce__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../tabs/JsonEditorAce */ "./src/tabs/JsonEditorAce.tsx");
|
|
3359
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabJsonEditorAceComponent", function() { return _tabs_JsonEditorAce__WEBPACK_IMPORTED_MODULE_35__["TabJsonEditorAceComponent"]; });
|
|
3360
3360
|
|
|
3361
|
-
/* harmony
|
|
3361
|
+
/* harmony import */ var _tabs_JsonEditorTextarea__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../tabs/JsonEditorTextarea */ "./src/tabs/JsonEditorTextarea.tsx");
|
|
3362
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabJsonEditorErrorsComponent", function() { return _tabs_JsonEditorTextarea__WEBPACK_IMPORTED_MODULE_36__["TabJsonEditorErrorsComponent"]; });
|
|
3362
3363
|
|
|
3363
|
-
/* harmony
|
|
3364
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabLogicAddButtonComponent", function() { return _tabs_Logic__WEBPACK_IMPORTED_MODULE_36__["TabLogicAddButtonComponent"]; });
|
|
3364
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabJsonEditorTextareaComponent", function() { return _tabs_JsonEditorTextarea__WEBPACK_IMPORTED_MODULE_36__["TabJsonEditorTextareaComponent"]; });
|
|
3365
3365
|
|
|
3366
|
-
/* harmony
|
|
3366
|
+
/* harmony import */ var _tabs_Logic__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../tabs/Logic */ "./src/tabs/Logic.tsx");
|
|
3367
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabLogicAddButtonComponent", function() { return _tabs_Logic__WEBPACK_IMPORTED_MODULE_37__["TabLogicAddButtonComponent"]; });
|
|
3367
3368
|
|
|
3368
|
-
/* harmony
|
|
3369
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabPreviewTestSurveyAgainComponent", function() { return _tabs_Preview__WEBPACK_IMPORTED_MODULE_37__["TabPreviewTestSurveyAgainComponent"]; });
|
|
3369
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabLogicComponent", function() { return _tabs_Logic__WEBPACK_IMPORTED_MODULE_37__["TabLogicComponent"]; });
|
|
3370
3370
|
|
|
3371
|
-
/* harmony
|
|
3371
|
+
/* harmony import */ var _tabs_Preview__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../tabs/Preview */ "./src/tabs/Preview.tsx");
|
|
3372
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabPreviewTestSurveyAgainComponent", function() { return _tabs_Preview__WEBPACK_IMPORTED_MODULE_38__["TabPreviewTestSurveyAgainComponent"]; });
|
|
3372
3373
|
|
|
3373
|
-
/* harmony
|
|
3374
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabThemeSurveyComponent", function() { return _tabs_Theme__WEBPACK_IMPORTED_MODULE_38__["TabThemeSurveyComponent"]; });
|
|
3374
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabPreviewSurveyComponent", function() { return _tabs_Preview__WEBPACK_IMPORTED_MODULE_38__["TabPreviewSurveyComponent"]; });
|
|
3375
3375
|
|
|
3376
|
-
/* harmony import */ var
|
|
3377
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3376
|
+
/* harmony import */ var _tabs_Theme__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../tabs/Theme */ "./src/tabs/Theme.tsx");
|
|
3377
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabThemeSurveyComponent", function() { return _tabs_Theme__WEBPACK_IMPORTED_MODULE_39__["TabThemeSurveyComponent"]; });
|
|
3378
3378
|
|
|
3379
|
-
/* harmony import */ var
|
|
3380
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3379
|
+
/* harmony import */ var _tabs_translation_Translation__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../tabs/translation/Translation */ "./src/tabs/translation/Translation.tsx");
|
|
3380
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabTranslationComponent", function() { return _tabs_translation_Translation__WEBPACK_IMPORTED_MODULE_40__["TabTranslationComponent"]; });
|
|
3381
3381
|
|
|
3382
|
-
/* harmony import */ var
|
|
3383
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3382
|
+
/* harmony import */ var _tabs_SurveySimulator__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../tabs/SurveySimulator */ "./src/tabs/SurveySimulator.tsx");
|
|
3383
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveySimulator", function() { return _tabs_SurveySimulator__WEBPACK_IMPORTED_MODULE_41__["SurveySimulator"]; });
|
|
3384
3384
|
|
|
3385
|
-
/* harmony
|
|
3385
|
+
/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../events */ "./src/events.ts");
|
|
3386
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactMouseEvent", function() { return _events__WEBPACK_IMPORTED_MODULE_42__["ReactMouseEvent"]; });
|
|
3386
3387
|
|
|
3387
|
-
/* harmony
|
|
3388
|
-
/* empty/unused harmony star reexport *//* harmony import */ var _PropertyGrid__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../PropertyGrid */ "./src/PropertyGrid.tsx");
|
|
3389
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridComponent", function() { return _PropertyGrid__WEBPACK_IMPORTED_MODULE_43__["PropertyGridComponent"]; });
|
|
3388
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactDragEvent", function() { return _events__WEBPACK_IMPORTED_MODULE_42__["ReactDragEvent"]; });
|
|
3390
3389
|
|
|
3391
|
-
/* harmony import */ var
|
|
3392
|
-
/* harmony reexport
|
|
3390
|
+
/* harmony import */ var _ObjectSelector__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../ObjectSelector */ "./src/ObjectSelector.tsx");
|
|
3391
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _PropertyGrid__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../PropertyGrid */ "./src/PropertyGrid.tsx");
|
|
3392
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridComponent", function() { return _PropertyGrid__WEBPACK_IMPORTED_MODULE_44__["PropertyGridComponent"]; });
|
|
3393
3393
|
|
|
3394
|
-
/* harmony import */ var
|
|
3395
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3394
|
+
/* harmony import */ var _Search__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../Search */ "./src/Search.tsx");
|
|
3395
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SearchComponent", function() { return _Search__WEBPACK_IMPORTED_MODULE_45__["SearchComponent"]; });
|
|
3396
3396
|
|
|
3397
|
-
/* harmony import */ var
|
|
3398
|
-
/*
|
|
3399
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionSpinEditor", function() { return _custom_questions_SpinEditor__WEBPACK_IMPORTED_MODULE_47__["SurveyQuestionSpinEditor"]; });
|
|
3397
|
+
/* harmony import */ var _Switcher__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../Switcher */ "./src/Switcher.tsx");
|
|
3398
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SwitcherComponent", function() { return _Switcher__WEBPACK_IMPORTED_MODULE_46__["SwitcherComponent"]; });
|
|
3400
3399
|
|
|
3401
|
-
/* harmony import */ var
|
|
3402
|
-
/* empty/unused harmony star reexport *//* harmony import */ var
|
|
3403
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3400
|
+
/* harmony import */ var _tabs_JsonErrorItem__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../tabs/JsonErrorItem */ "./src/tabs/JsonErrorItem.tsx");
|
|
3401
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _custom_questions_SpinEditor__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../custom-questions/SpinEditor */ "./src/custom-questions/SpinEditor.tsx");
|
|
3402
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionSpinEditor", function() { return _custom_questions_SpinEditor__WEBPACK_IMPORTED_MODULE_48__["SurveyQuestionSpinEditor"]; });
|
|
3404
3403
|
|
|
3405
|
-
/* harmony import */ var
|
|
3406
|
-
/* harmony reexport
|
|
3404
|
+
/* harmony import */ var _custom_questions_ColorItem__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../custom-questions/ColorItem */ "./src/custom-questions/ColorItem.tsx");
|
|
3405
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _custom_questions_ColorQuestion__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../custom-questions/ColorQuestion */ "./src/custom-questions/ColorQuestion.tsx");
|
|
3406
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionColor", function() { return _custom_questions_ColorQuestion__WEBPACK_IMPORTED_MODULE_50__["SurveyQuestionColor"]; });
|
|
3407
3407
|
|
|
3408
|
-
/* harmony import */ var
|
|
3409
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3408
|
+
/* harmony import */ var _custom_questions_FileEditQuestion__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../custom-questions/FileEditQuestion */ "./src/custom-questions/FileEditQuestion.tsx");
|
|
3409
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionFileEditor", function() { return _custom_questions_FileEditQuestion__WEBPACK_IMPORTED_MODULE_51__["SurveyQuestionFileEditor"]; });
|
|
3410
3410
|
|
|
3411
|
-
/* harmony import */ var
|
|
3412
|
-
/* harmony
|
|
3413
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "editorLocalization", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_52__["editorLocalization"]; });
|
|
3411
|
+
/* harmony import */ var _custom_questions_TextWithResetQuestion__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../custom-questions/TextWithResetQuestion */ "./src/custom-questions/TextWithResetQuestion.tsx");
|
|
3412
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTextWithReset", function() { return _custom_questions_TextWithResetQuestion__WEBPACK_IMPORTED_MODULE_52__["SurveyQuestionTextWithReset"]; });
|
|
3414
3413
|
|
|
3415
|
-
/* harmony
|
|
3414
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! survey-creator-core */ "survey-creator-core");
|
|
3415
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_53___default = /*#__PURE__*/__webpack_require__.n(survey_creator_core__WEBPACK_IMPORTED_MODULE_53__);
|
|
3416
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "editorLocalization", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["editorLocalization"]; });
|
|
3416
3417
|
|
|
3417
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3418
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "localization", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["localization"]; });
|
|
3418
3419
|
|
|
3419
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3420
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["settings"]; });
|
|
3420
3421
|
|
|
3421
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3422
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "svgBundle", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["svgBundle"]; });
|
|
3422
3423
|
|
|
3423
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3424
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLogic", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["SurveyLogic"]; });
|
|
3424
3425
|
|
|
3425
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3426
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLogicUI", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["SurveyLogicUI"]; });
|
|
3426
3427
|
|
|
3427
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3428
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEditorDefinition", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["SurveyQuestionEditorDefinition"]; });
|
|
3428
3429
|
|
|
3429
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3430
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ToolboxToolViewModel", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["ToolboxToolViewModel"]; });
|
|
3430
3431
|
|
|
3431
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3432
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCollection", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["PropertyGridEditorCollection"]; });
|
|
3432
3433
|
|
|
3433
|
-
/* harmony
|
|
3434
|
-
|
|
3434
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_53__["StylesManager"]; });
|
|
3435
|
+
|
|
3436
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3437
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_54___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_54__);
|
|
3435
3438
|
var Version;
|
|
3436
|
-
Version = "".concat("1.11.
|
|
3439
|
+
Version = "".concat("1.11.3");
|
|
3437
3440
|
// import "@survey/creator/survey-creator-core.css";
|
|
3438
3441
|
|
|
3439
3442
|
|
|
@@ -3480,6 +3483,7 @@ Version = "".concat("1.11.1");
|
|
|
3480
3483
|
|
|
3481
3484
|
|
|
3482
3485
|
|
|
3486
|
+
|
|
3483
3487
|
|
|
3484
3488
|
|
|
3485
3489
|
//custom questions
|
|
@@ -3496,7 +3500,7 @@ Version = "".concat("1.11.1");
|
|
|
3496
3500
|
|
|
3497
3501
|
|
|
3498
3502
|
|
|
3499
|
-
Object(
|
|
3503
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_54__["checkLibraryVersion"])("".concat("1.11.3"), "survey-creator-react");
|
|
3500
3504
|
|
|
3501
3505
|
|
|
3502
3506
|
/***/ }),
|
|
@@ -4268,10 +4272,112 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.reg
|
|
|
4268
4272
|
|
|
4269
4273
|
/***/ }),
|
|
4270
4274
|
|
|
4271
|
-
/***/ "./src/tabs/
|
|
4272
|
-
|
|
4273
|
-
!*** ./src/tabs/
|
|
4274
|
-
|
|
4275
|
+
/***/ "./src/tabs/logic-operator.tsx":
|
|
4276
|
+
/*!*************************************!*\
|
|
4277
|
+
!*** ./src/tabs/logic-operator.tsx ***!
|
|
4278
|
+
\*************************************/
|
|
4279
|
+
/*! exports provided: SurveyLogicOpertor */
|
|
4280
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4281
|
+
|
|
4282
|
+
"use strict";
|
|
4283
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4284
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyLogicOpertor", function() { return SurveyLogicOpertor; });
|
|
4285
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
4286
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4287
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4288
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
4289
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_2__);
|
|
4290
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-creator-core */ "survey-creator-core");
|
|
4291
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_creator_core__WEBPACK_IMPORTED_MODULE_3__);
|
|
4292
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
4293
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_4__);
|
|
4294
|
+
|
|
4295
|
+
|
|
4296
|
+
|
|
4297
|
+
|
|
4298
|
+
|
|
4299
|
+
var SurveyLogicOpertor = /** @class */ (function (_super) {
|
|
4300
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(SurveyLogicOpertor, _super);
|
|
4301
|
+
function SurveyLogicOpertor(props) {
|
|
4302
|
+
return _super.call(this, props) || this;
|
|
4303
|
+
}
|
|
4304
|
+
SurveyLogicOpertor.prototype.renderInput = function () {
|
|
4305
|
+
var q = this.question;
|
|
4306
|
+
Object(survey_creator_core__WEBPACK_IMPORTED_MODULE_3__["initLogicOperator"])(q);
|
|
4307
|
+
var text = (q.selectedItemLocText) ? this.renderLocString(q.selectedItemLocText) : "";
|
|
4308
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: this.question.inputId, className: q.getControlClass(), tabIndex: this.question.isInputReadOnly ? undefined : 0,
|
|
4309
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
4310
|
+
// @ts-ignore
|
|
4311
|
+
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onKeyUp: this.keyhandler, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy },
|
|
4312
|
+
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.question.cssClasses.controlValue },
|
|
4313
|
+
text,
|
|
4314
|
+
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null, q.readOnlyText)),
|
|
4315
|
+
this.createClearButton()));
|
|
4316
|
+
};
|
|
4317
|
+
return SurveyLogicOpertor;
|
|
4318
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_4__["SurveyQuestionDropdown"]));
|
|
4319
|
+
|
|
4320
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_4__["ReactQuestionFactory"].Instance.registerQuestion("sv-logic-operator", function (props) {
|
|
4321
|
+
return react__WEBPACK_IMPORTED_MODULE_1__["createElement"](SurveyLogicOpertor, props);
|
|
4322
|
+
});
|
|
4323
|
+
survey_core__WEBPACK_IMPORTED_MODULE_2__["RendererFactory"].Instance.registerRenderer("dropdown", "logicoperator", "sv-logic-operator");
|
|
4324
|
+
|
|
4325
|
+
|
|
4326
|
+
/***/ }),
|
|
4327
|
+
|
|
4328
|
+
/***/ "./src/tabs/translation/TranslateFromAction.tsx":
|
|
4329
|
+
/*!******************************************************!*\
|
|
4330
|
+
!*** ./src/tabs/translation/TranslateFromAction.tsx ***!
|
|
4331
|
+
\******************************************************/
|
|
4332
|
+
/*! exports provided: TranslateFromAction */
|
|
4333
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4334
|
+
|
|
4335
|
+
"use strict";
|
|
4336
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4337
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TranslateFromAction", function() { return TranslateFromAction; });
|
|
4338
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
4339
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4340
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4341
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
4342
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
4343
|
+
|
|
4344
|
+
|
|
4345
|
+
|
|
4346
|
+
var TranslateFromAction = /** @class */ (function (_super) {
|
|
4347
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(TranslateFromAction, _super);
|
|
4348
|
+
function TranslateFromAction() {
|
|
4349
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4350
|
+
}
|
|
4351
|
+
Object.defineProperty(TranslateFromAction.prototype, "item", {
|
|
4352
|
+
get: function () {
|
|
4353
|
+
return this.props.item;
|
|
4354
|
+
},
|
|
4355
|
+
enumerable: false,
|
|
4356
|
+
configurable: true
|
|
4357
|
+
});
|
|
4358
|
+
TranslateFromAction.prototype.getStateElement = function () {
|
|
4359
|
+
return this.item;
|
|
4360
|
+
};
|
|
4361
|
+
TranslateFromAction.prototype.renderElement = function () {
|
|
4362
|
+
var item = this.item;
|
|
4363
|
+
return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: item.data.containerCss },
|
|
4364
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", { className: item.data.additionalTitleCss }, item.data.additionalTitle),
|
|
4365
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement("sv-action-bar-item-dropdown", { item: this.item })));
|
|
4366
|
+
};
|
|
4367
|
+
return TranslateFromAction;
|
|
4368
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["SurveyElementBase"]));
|
|
4369
|
+
|
|
4370
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.registerElement("svc-translate-from-action", function (props) {
|
|
4371
|
+
return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(TranslateFromAction, props);
|
|
4372
|
+
});
|
|
4373
|
+
|
|
4374
|
+
|
|
4375
|
+
/***/ }),
|
|
4376
|
+
|
|
4377
|
+
/***/ "./src/tabs/translation/Translation.tsx":
|
|
4378
|
+
/*!**********************************************!*\
|
|
4379
|
+
!*** ./src/tabs/translation/Translation.tsx ***!
|
|
4380
|
+
\**********************************************/
|
|
4275
4381
|
/*! exports provided: TabTranslationComponent */
|
|
4276
4382
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4277
4383
|
|
|
@@ -4293,7 +4399,7 @@ var TabTranslationComponent = /** @class */ (function (_super) {
|
|
|
4293
4399
|
}
|
|
4294
4400
|
Object.defineProperty(TabTranslationComponent.prototype, "model", {
|
|
4295
4401
|
get: function () {
|
|
4296
|
-
return this.props.data;
|
|
4402
|
+
return this.props.data || this.props.model;
|
|
4297
4403
|
},
|
|
4298
4404
|
enumerable: false,
|
|
4299
4405
|
configurable: true
|
|
@@ -4330,10 +4436,10 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.reg
|
|
|
4330
4436
|
|
|
4331
4437
|
/***/ }),
|
|
4332
4438
|
|
|
4333
|
-
/***/ "./src/tabs/TranslationLineSkeleton.tsx":
|
|
4334
|
-
|
|
4335
|
-
!*** ./src/tabs/TranslationLineSkeleton.tsx ***!
|
|
4336
|
-
|
|
4439
|
+
/***/ "./src/tabs/translation/TranslationLineSkeleton.tsx":
|
|
4440
|
+
/*!**********************************************************!*\
|
|
4441
|
+
!*** ./src/tabs/translation/TranslationLineSkeleton.tsx ***!
|
|
4442
|
+
\**********************************************************/
|
|
4337
4443
|
/*! exports provided: TranslationLineSkeleton */
|
|
4338
4444
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4339
4445
|
|
|
@@ -4364,59 +4470,6 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.reg
|
|
|
4364
4470
|
});
|
|
4365
4471
|
|
|
4366
4472
|
|
|
4367
|
-
/***/ }),
|
|
4368
|
-
|
|
4369
|
-
/***/ "./src/tabs/logic-operator.tsx":
|
|
4370
|
-
/*!*************************************!*\
|
|
4371
|
-
!*** ./src/tabs/logic-operator.tsx ***!
|
|
4372
|
-
\*************************************/
|
|
4373
|
-
/*! exports provided: SurveyLogicOpertor */
|
|
4374
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4375
|
-
|
|
4376
|
-
"use strict";
|
|
4377
|
-
__webpack_require__.r(__webpack_exports__);
|
|
4378
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyLogicOpertor", function() { return SurveyLogicOpertor; });
|
|
4379
|
-
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
4380
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4381
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4382
|
-
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
4383
|
-
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_2__);
|
|
4384
|
-
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-creator-core */ "survey-creator-core");
|
|
4385
|
-
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_creator_core__WEBPACK_IMPORTED_MODULE_3__);
|
|
4386
|
-
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
4387
|
-
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_4__);
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
var SurveyLogicOpertor = /** @class */ (function (_super) {
|
|
4394
|
-
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(SurveyLogicOpertor, _super);
|
|
4395
|
-
function SurveyLogicOpertor(props) {
|
|
4396
|
-
return _super.call(this, props) || this;
|
|
4397
|
-
}
|
|
4398
|
-
SurveyLogicOpertor.prototype.renderInput = function () {
|
|
4399
|
-
var q = this.question;
|
|
4400
|
-
Object(survey_creator_core__WEBPACK_IMPORTED_MODULE_3__["initLogicOperator"])(q);
|
|
4401
|
-
var text = (q.selectedItemLocText) ? this.renderLocString(q.selectedItemLocText) : "";
|
|
4402
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: this.question.inputId, className: q.getControlClass(), tabIndex: this.question.isInputReadOnly ? undefined : 0,
|
|
4403
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
4404
|
-
// @ts-ignore
|
|
4405
|
-
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onKeyUp: this.keyhandler, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy },
|
|
4406
|
-
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.question.cssClasses.controlValue },
|
|
4407
|
-
text,
|
|
4408
|
-
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null, q.readOnlyText)),
|
|
4409
|
-
this.createClearButton()));
|
|
4410
|
-
};
|
|
4411
|
-
return SurveyLogicOpertor;
|
|
4412
|
-
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_4__["SurveyQuestionDropdown"]));
|
|
4413
|
-
|
|
4414
|
-
survey_react_ui__WEBPACK_IMPORTED_MODULE_4__["ReactQuestionFactory"].Instance.registerQuestion("sv-logic-operator", function (props) {
|
|
4415
|
-
return react__WEBPACK_IMPORTED_MODULE_1__["createElement"](SurveyLogicOpertor, props);
|
|
4416
|
-
});
|
|
4417
|
-
survey_core__WEBPACK_IMPORTED_MODULE_2__["RendererFactory"].Instance.registerRenderer("dropdown", "logicoperator", "sv-logic-operator");
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
4473
|
/***/ }),
|
|
4421
4474
|
|
|
4422
4475
|
/***/ "./src/toolbox/AdaptiveToolbox.tsx":
|
|
@@ -4437,6 +4490,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4437
4490
|
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
4438
4491
|
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__);
|
|
4439
4492
|
/* harmony import */ var _Toolbox__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Toolbox */ "./src/toolbox/Toolbox.tsx");
|
|
4493
|
+
/* harmony import */ var _ToolboxItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ToolboxItem */ "./src/toolbox/ToolboxItem.tsx");
|
|
4494
|
+
/* harmony import */ var src_Search__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/Search */ "./src/Search.tsx");
|
|
4495
|
+
|
|
4496
|
+
|
|
4440
4497
|
|
|
4441
4498
|
|
|
4442
4499
|
|
|
@@ -4452,22 +4509,39 @@ var AdaptiveToolbox = /** @class */ (function (_super) {
|
|
|
4452
4509
|
AdaptiveToolbox.prototype.componentDidMount = function () {
|
|
4453
4510
|
_super.prototype.componentDidMount.call(this);
|
|
4454
4511
|
var container = this.rootRef.current;
|
|
4512
|
+
this.toolbox.setRootElement(container);
|
|
4455
4513
|
if (!container)
|
|
4456
4514
|
return;
|
|
4457
|
-
this.manager = new survey_core__WEBPACK_IMPORTED_MODULE_2__["VerticalResponsivityManager"](
|
|
4515
|
+
this.manager = new survey_core__WEBPACK_IMPORTED_MODULE_2__["VerticalResponsivityManager"](this.toolbox.containerElement, this.toolbox, this.toolbox.itemSelector, null, undefined, function (callback) { return setTimeout(callback); });
|
|
4458
4516
|
};
|
|
4459
4517
|
AdaptiveToolbox.prototype.componentWillUnmount = function () {
|
|
4460
4518
|
this.manager && (this.manager.dispose());
|
|
4461
4519
|
_super.prototype.componentWillUnmount.call(this);
|
|
4462
4520
|
};
|
|
4521
|
+
AdaptiveToolbox.prototype.renderSearch = function () {
|
|
4522
|
+
var searchButton = this.toolbox.isCompactRendered ?
|
|
4523
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_1___default.a.Fragment, null,
|
|
4524
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_ToolboxItem__WEBPACK_IMPORTED_MODULE_5__["SurveyCreatorToolboxTool"], { item: this.toolbox.searchItem, creator: this.creator, isCompact: this.toolbox.isCompactRendered, key: "searchitem" }),
|
|
4525
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-toolbox__category-separator svc-toolbox__category-separator--search" })) :
|
|
4526
|
+
null;
|
|
4527
|
+
return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-toolbox__search-container" },
|
|
4528
|
+
searchButton,
|
|
4529
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(src_Search__WEBPACK_IMPORTED_MODULE_6__["SearchComponent"], { model: this.toolbox.searchManager })));
|
|
4530
|
+
};
|
|
4463
4531
|
AdaptiveToolbox.prototype.render = function () {
|
|
4532
|
+
var _this = this;
|
|
4464
4533
|
if (!this.toolbox.hasActions)
|
|
4465
4534
|
return null;
|
|
4466
|
-
var
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
:
|
|
4535
|
+
var search = this.toolbox.showSearch ? this.renderSearch() : null;
|
|
4536
|
+
var placeholder = this.toolbox.showPlaceholder ? react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-toolbox__placeholder" }, this.toolbox.toolboxNoResultsFound) : null;
|
|
4537
|
+
return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { ref: this.rootRef, className: this.toolbox.classNames },
|
|
4538
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { onBlur: function (e) { return _this.toolbox.focusOut(e); }, className: "svc-toolbox__panel" },
|
|
4539
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-toolbox__scroller" },
|
|
4540
|
+
search,
|
|
4541
|
+
placeholder,
|
|
4542
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-toolbox__container" }, (this.toolbox.showInSingleCategory) ?
|
|
4543
|
+
(react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-toolbox__category" }, this.renderItems(this.toolbox.renderedActions, this.toolbox.isCompactRendered)))
|
|
4544
|
+
: this.renderCategories())))));
|
|
4471
4545
|
};
|
|
4472
4546
|
return AdaptiveToolbox;
|
|
4473
4547
|
}(_Toolbox__WEBPACK_IMPORTED_MODULE_4__["Toolbox"]));
|